Commit Graph

1234 Commits (f0cdf77e159f588fbb19bb2872d59f417ed0c4dd)

Author SHA1 Message Date
Pat Cavit 54bb1f42ee breaking: send in/out to transition fn (#8318)
2 years ago
xxkl1 b95ae0ef3c fix: html space entities lost in component slot (#8464)
2 years ago
Simon H 3a7685fef5
fix: special-case width/height attribute during spread (#8412)
2 years ago
Yuichiro Yamashita 5a934e9f43
fix: escape <textarea value={...}> attribute properly (#8434)
2 years ago
Filip Ambrosius 1333be0c6a
fix: Regression `itemscope` as `boolean_attribute` (#8414)
2 years ago
Nguyen Tran dadd6fe945
fix: resolve computed_prop_# collision (#8418)
2 years ago
Yuichiro Yamashita a2170f5bd5
fix: use `wholeText` for only `contenteditable` for `set_data` (#8394)
2 years ago
Dave Lunny f56fe33931
feat: `bind:innerText` for `contenteditable` (#4291)
2 years ago
Simon H 68e492eaff
fix: revert buggy reactive vars optimization (#8382)
2 years ago
Nguyen Tran a1e8421368
fix: object destructuring picks up computed properties (#8386)
2 years ago
Henrik Giesel 4b0b471ee1
feat: add back `<svelte:document>` (#7149)
2 years ago
gtmnayan 7578af3a11
fix: retain style directive value after style attribute is updated (#7610)
2 years ago
Nguyen Tran a6c329f489
fix: object destructring picks up literal properties (#8357)
2 years ago
Tan Li Hau c99dd2e045
fix: binding group with if block (#8373)
2 years ago
Theodore Brown c7dcfac883
fix: select option with selected attribute when initial state is undefined (#8371)
2 years ago
Tan Li Hau 0966d1d282
feat: improve `bind:group` behavior (#7892)
2 years ago
Tan Li Hau fbaf3cfc12
fix: call `<svelte:component>` update to `this` only when it's dirty (#4192)
2 years ago
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