Commit Graph

1199 Commits (786505d6bc52ce9ad072f1c44cacfeb4f3bd58ab)

Author SHA1 Message Date
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
Tan Li Hau 815bc7ef6e
fix: test cases should fail when it should fail (#7139)
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
Yuichiro Yamashita 966c03a317
[chore] fix test flakiness (#7076)
3 years ago
Tan Li Hau 6ecc3e4d6a
[feat] opt-out loopGuard for async loops (#6963)
3 years ago
Robin Munn 5a8851436f
[fix] bind:this during onMount in manually-created component (#6920)
3 years ago
Yuichiro Yamashita a5968dd2d0
[chore] adjust @typescript-eslint/no-unused-vars lint config (#6798)
3 years ago
Conduitry 10ce5c95fd
[fix] handle promise rejections for {#await} in SSR (#6790)
3 years ago
Conduitry 67b53bfe6d
[fix] prefer context from constructor options (#6759)
3 years ago
Bjorn Lu 79df74b087
[fix] run else-if reactive function on re-renders (#6727)
3 years ago