Commit Graph

1217 Commits (c611f318d2fcc951f05df3cb17db95d60e34609b)

Author SHA1 Message Date
Tan Li Hau c611f318d2
feat: add stopImmediatePropagation event modifier (#8341)
2 years ago
xxkl1 f34abc5689
fix: decode html entities correctly (#8047)
2 years ago
lidlanca aa15a64cbe
fix: account for `<template>` tag in `{@html}` (#7364)
2 years ago
Tan Li Hau f6dc86f02c
feat: optimise svelte-element output code for static tag and static attribute (#8161)
2 years ago
David Hunt 4e8efd3c1e
fix: fixes sveltejs/svelte#8214 `bind:group` to `undefined` (#8215)
2 years ago
Vaibhav Rai 26104eaaba
fix: no error assigning to a `const` property (#7966)
2 years ago
4eb0da 9edd2df0d3
fix: check each_blocks is empty on mount (#7505)
2 years ago
Nico Beierle 474a13ad90
fix: prevent undefined value when remount keyed input element with spread props (#7699)
2 years ago
Theodore Brown 8cf037c904
fix: select first enabled option by default when initial value is undefined (#8331)
2 years ago
adiGuba 69c199feac
fix: race condition in `svelte:element` with transition #7948 (#7949)
2 years ago
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)
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