Commit Graph

1147 Commits (60a205edb8ac8ee6022eae968b5f53893445b137)

Author SHA1 Message Date
Yuichiro Yamashita 60a205edb8
fix: don't set selected option(s) if value is unbound or not passed (#8329)
2 years ago
Simon H 636290af95
fix: remove indeterminate from boolean attributes (#8334)
2 years ago
Yuichiro Yamashita 1f3d2f7646
fix: better handling of inert attribute (add tests) (#7944)
2 years ago
Yuichiro Yamashita a0cedf8d82
fix: flush remaining `afterUpdate` before `destroy` (#7516)
2 years ago
Emil Tholin b06e435684
[fix] Spread component props immutably during SSR (#8176)
2 years ago
Yuichiro Yamashita 4b84c4df3a
[fix] Improve `is_promise` handling (#8162)
2 years ago
Simon H 762d0429b1
[fix] propagate bindings correctly (#8114)
2 years ago
Ramon Snir f84c00edb9
[fix] static svelte:element not replaced with tag in production mode (#7938)
2 years ago
Yuichiro Yamashita 94e51df07b
[fix] escape style attribute for SSR (#8087)
2 years ago
Tan Li Hau 2f61907ec1
[fix] allow invalidating variables from @const declared function (#7858)
2 years ago
Simon H 4c5469b1ee
[fix] don't run binding init unnecessarily (#7981)
2 years ago
Pat Cavit 84d61c61f8
[feat] Add options w/ direction to transitions (#8068)
2 years ago
Josh Soref b265bc6f0f
[chore] fix spelling and typos (#7974)
2 years ago
Tan Li Hau 158ec43d99
[fix] do not warn about missing props for bindings (#6583)
2 years ago
Tan Li Hau 81d4dbad99
[fix] call `on_destroy` if unmounted called immediately before `on_mount` (#7860)
2 years ago
Yuichiro Yamashita 01a91163a9
[fix] Improve error message if `this` attribute of `<svelte:component>` is not valid (#7551)
2 years ago
Tan Li Hau b20fb114a6
allow nullish values for component event handlers (#7863)
2 years ago
Yuichiro Yamashita 433460ec2d
[feat] skip custom element check if <svelte:element> uses under svg (#7869)
2 years ago
Yuichiro Yamashita 1e2a55c88e
throw warning instead of error (#7834)
2 years ago
Yuichiro Yamashita 07d6d179ab
[fix] style manager transition regression (#7831)
2 years ago
Yuichiro Yamashita 3570a5361e
[fix] Apply class directive properly after half way transition (#7765)
2 years ago
qinmu 5dd703fe81
[fix] handle arrow function on slot inside svelte:fragment (#7667)
2 years ago
Tan Li Hau 26d1455b27
fixed removal of empty stylesheets created from transitions (#7662)
2 years ago
Tan Li Hau 2db60a77e1
rename test files from svelte-slot -> svelte-fragment (#7679)
2 years ago
qinmu 02f60fbebf
[fix]destroy empty component (#7492)
3 years ago
Yuichiro Yamashita 6776fe03fd
fix to apply class directive for svelte:element (#7531)
3 years ago
Yuichiro Yamashita 0d017f4820
[fix] rendering void tag for `<svelte:element>` (#7453)
3 years ago
Tan Li Hau a2de3894c0
[feat] support const tag for if block (#7451)
3 years ago
Yuichiro Yamashita 1f1750e72e
[fix] always use `set_attributes` for attribute of `<svelte:element>` (#7486)
3 years ago
Yuichiro Yamashita 1803290864
[fix] Specify svg namespace if {@html} is used in svg (#7464)
3 years ago
Yuichiro Yamashita eb37f4a285
[chore] fix lint (#7466)
3 years ago
lidlanca fb341cca2c
[fix] textContent should not be set for <template> element. (#7297)
3 years ago
Bob Fanger 0b0221de99
[fix] Local transitions from #key blocks (#7286)
3 years ago
Yosuke Ota 3a238fe057
[fix] strip leading newline after `<pre>` and `<textarea>` (#7280)
3 years ago
Tan Li Hau 4aff59b080
[fix] correctly track dependencies of let: bindings (#7448)
3 years ago
Tan Li Hau e50be669cc
fix const declared without let: binding get ignored (#7434)
3 years ago
gtmnayan afd3f4e5a9
[feat] Make setContext return the value that was passed in (#7432)
3 years ago
Yuichiro Yamashita eca1a652fb
[fix] better context checks for identifiers in const tags (#7222)
3 years ago
Yuichiro Yamashita e0d93254fd
[feature] Dynamic elements implementation <svelte:element> (#6898)
3 years ago
Tan Li Hau 89fda7edae
[fix] add key dependencies into block dependencies (#7422)
3 years ago
Pat Cavit 9f4602ac6f
[fix] style: directive should prevent innerHTML optimization (#7390)
3 years ago
Yosuke Ota 7463d51301
[fix]: keep space in `<pre>` or when `preserveWhitespace: true` (#6990)
3 years ago
Yuichiro Yamashita 00e394e3c8
[fix] fix crash when using arrow functions in {@const} (#7144)
3 years ago
Tan Li Hau dc06ea916e
fix: style directive not reactive in {#each} loop (#7140)
3 years ago
GHOST c67f8ef14c
[fix] handle kebab case style directives (#7123)
3 years ago
Tan Li Hau b5aaa6641b
[feat] implement constants in markup (#6413)
3 years ago
Paul Murray 8a47b5ec9e
[feat] Style directives (#5923)
3 years ago
Tan Li Hau 9f2b5afdf7
[fix] binding member expression should only invalidate the object, not the member property (#7008)
3 years ago
Tan Li Hau 2f0f330b76
[fix] {:else if} value incorrectly cached (#7043)
3 years ago
pngwn 4240455e02
[fix] ensure truthy non-boolean attributes are rendered correctly in SSR (#7066)
3 years ago