Commit Graph

1194 Commits (ff6e1c39d0ff783a06a2303328a7360d2206b778)

Author SHA1 Message Date
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)
2 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
Shinobu Hayashi f1f7d90240
[fix] handle AssignmentPattern with ObjectPattern in rewrite_identifier (#6715)
3 years ago
Shinobu Hayashi fc9241fea9
[fix] handle undefined select value with spread (#6687)
3 years ago
Theodore Brown 8cb72d9716
[fix] set selectedIndex to -1 when no option matches bound <select> value (#6170)
3 years ago
Hasan Altan Birler 100561c336
[fix] hydration append issue (#6602)
3 years ago
Tan Li Hau ce550adef6
[feat] allow use:actions on <svelte:body> (#6608)
3 years ago