Commit Graph

3085 Commits (ecb29aa8cff53b33a4c8b5a49d774bfd7ef04f08)

Author SHA1 Message Date
Maurício Kishi f8605d6acb
[fix] harden attribute escaping during ssr (#7530)
3 years ago
Yuichiro Yamashita 6776fe03fd
fix to apply class directive for svelte:element (#7531)
4 years ago
Matteo Baccan 0ed6ebef9d
[fix] remove duplicate semicolon (#7534)
4 years ago
Rich Harris e7a2350550
Faster SSR (#5701)
4 years ago
Ben McCann 34eb6efedc
[chore] upgrade to eslint 8 (#7506)
4 years ago
Yuichiro Yamashita 0d017f4820
[fix] rendering void tag for `<svelte:element>` (#7453)
4 years ago
Tan Li Hau a2de3894c0
[feat] support const tag for if block (#7451)
4 years ago
Yuichiro Yamashita 1f1750e72e
[fix] always use `set_attributes` for attribute of `<svelte:element>` (#7486)
4 years ago
Yuji Sugiura a068719208
[fix] do not be over-eager in removing unused CSS for dialog[open] (#7495)
4 years ago
Yuichiro Yamashita 1803290864
[fix] Specify svg namespace if {@html} is used in svg (#7464)
4 years ago
lidlanca fb341cca2c
[fix] textContent should not be set for <template> element. (#7297)
4 years ago
Bob Fanger 0b0221de99
[fix] Local transitions from #key blocks (#7286)
4 years ago
Yosuke Ota 3a238fe057
[fix] strip leading newline after `<pre>` and `<textarea>` (#7280)
4 years ago
Tan Li Hau 4aff59b080
[fix] correctly track dependencies of let: bindings (#7448)
4 years ago
Henning Groß 9276f85768
[feat] improve error message for animate used in a non-keyed each block (#6838)
4 years ago
Bjorn Lu 0f94c890f5
[feat] dispatch cancelable custom events (#7064)
4 years ago
Tan Li Hau d9687da632
each animate allow having comment siblings (#7435)
4 years ago
Tan Li Hau e50be669cc
fix const declared without let: binding get ignored (#7434)
4 years ago
gtmnayan afd3f4e5a9
[feat] Make setContext return the value that was passed in (#7432)
4 years ago
Yuichiro Yamashita eca1a652fb
[fix] better context checks for identifiers in const tags (#7222)
4 years ago
Yuichiro Yamashita e0d93254fd
[feature] Dynamic elements implementation <svelte:element> (#6898)
4 years ago
Tan Li Hau 89fda7edae
[fix] add key dependencies into block dependencies (#7422)
4 years ago
maxlath f58382b22a
add Symbol to globals (#7419)
4 years ago
Pat Cavit 9f4602ac6f
[fix] style: directive should prevent innerHTML optimization (#7390)
4 years ago
Maurício Kishi cdd3575026
[fix] attribute escaping during ssr (#7333)
4 years ago
Geoff Rich 0a3353b671
[fix] do not collapse whitespace-only css vars (#7303)
4 years ago
rgossiaux e2adf6a211
fix: do not generate unused-export-let inside <script context="module"> (#7232)
4 years ago
Frozen FIsh 555cdf3da2
[docs] fix typo (#7323)
4 years ago
Ignatius Bagus 78131b9f98
[feat] TS interfaces for typing actions (#7121)
4 years ago
Jacob Størdahl b6441eb655
[fix] add aria-description aria_attributes - (#7302)
4 years ago
Yosuke Ota 7463d51301
[fix]: keep space in `<pre>` or when `preserveWhitespace: true` (#6990)
4 years ago
Efe Selim Küçük 587f94eb65
[feat] Better error message for inline component style directive (#7187)
4 years ago
Ignatius Bagus d35fc9f842
[fix] add `FormData` as a known global (#7199)
4 years ago
metonym b9325ed3c4
[fix] type Ast css/instance/module properties as optional (#7204)
4 years ago
Simon H be3d82733f
[fix] prevent maximum call stack size exceeded error on large pages (#7203)
4 years ago
Yuichiro Yamashita 5665f711fd
[fix] raise compile error if variable name is same as imported variable name (#7145)
4 years ago
Yuichiro Yamashita 00e394e3c8
[fix] fix crash when using arrow functions in {@const} (#7144)
4 years ago
Andreas Ehrencrona a4e4027f79
Handle whitespace inside #each with animation (#5477)
4 years ago
Tan Li Hau dc06ea916e
fix: style directive not reactive in {#each} loop (#7140)
4 years ago
Eric Liu 7b07e6e243
[fix] export FlipParams interface from "svelte/animate" (#7104)
4 years ago
Simon H 7044a32a2b
[fix] adjust style directive AST (#7127)
4 years ago
GHOST c67f8ef14c
[fix] handle kebab case style directives (#7123)
4 years ago
Tan Li Hau b5aaa6641b
[feat] implement constants in markup (#6413)
4 years ago
Hofer Ivan 806cba2b75
[fix] ensure style manager instances don't conflict with each other (#7114)
4 years ago
Yuichiro Yamashita 895b4c6721
[fix] hydrate correct elements when using `@html` (#6946)
4 years ago
Paul Murray 8a47b5ec9e
[feat] Style directives (#5923)
4 years ago
Tan Li Hau 5e40277167
[feat] add reference for default values in destructuring context (#7007)
4 years ago
Tan Li Hau 9f2b5afdf7
[fix] binding member expression should only invalidate the object, not the member property (#7008)
4 years ago
Tan Li Hau 2f0f330b76
[fix] {:else if} value incorrectly cached (#7043)
4 years ago
pngwn 4240455e02
[fix] ensure truthy non-boolean attributes are rendered correctly in SSR (#7066)
4 years ago