Commit Graph

349 Commits (afd38494b48df458c592b14da461b4b672872abc)

Author SHA1 Message Date
Karl Erik Hofseth afd38494b4
fix: provide a workaround for `unsafe-inline` CSP that also works in Safari (#7800)
3 years ago
Robin Munn 19e163f59d
feat: pass update function to store setup callbacks (#6750)
3 years ago
Ramon Snir ea73930132
fix: allow $store to be used with changing values including nullish values (#7947)
3 years ago
Simon H d083f8a3f2
feat: custom elements rework (#8457)
3 years ago
Simon H 572f5372d4
breaking: deprecate SvelteComponentTyped, add generics to SvelteComponent (#8512)
3 years ago
Tan Li Hau df2f656557
feat: improve hydration, claim static html elements using innerHTML instead of deopt to claiming every nodes (#7426)
3 years ago
Rafi Strauss f30faa702d
feat: improve duplicate key error for keyed each blocks (#8411)
3 years ago
Chris Kerr 236ffa833d breaking: update onMount type definition to prevent async function return (#8136)
3 years ago
Tan Li Hau c81522f992 breaking: conditional ActionReturn type if Parameter is void (#7442)
3 years ago
Hofer Ivan 8e51b51dfc breaking: improve types for `createEventDispatcher` (#7224)
3 years ago
Ben McCann 2813814396 chore: upgrade rollup (#8491)
3 years ago
Ben McCann d7cffa6840 chore: upgrade to TypeScript 5 (#8488)
3 years ago
Pat Cavit 54bb1f42ee breaking: send in/out to transition fn (#8318)
3 years ago
gtmnayan 6e1674e249
docs: fix type signature for StartStopNotifier (#8509)
3 years ago
Simon H 9425f18e52
fix: observer PR cleanup (#8484)
3 years ago
Cymaera 0adc09da97
feat: add support for resize observer bindings (#8022)
3 years ago
Simon H 3a7685fef5
fix: special-case width/height attribute during spread (#8412)
3 years ago
esthe 95c46552fe
feat: make `preserveComments` effective in DOM renderer (#7182)
3 years ago
Snaipe d49b568019
fix: allow use of document root as target in typescript (#7554)
3 years ago
Yuichiro Yamashita a2170f5bd5
fix: use `wholeText` for only `contenteditable` for `set_data` (#8394)
3 years ago
Bob Fanger 6aee49bad3
feat: css units in fly & blur transitions (#7623)
3 years ago
Jon Rouleau 127b61a465
fix: derived store restarting when unsubscribed from another store with a shared ancestor (#8368)
3 years ago
Tan Li Hau c99dd2e045
fix: binding group with if block (#8373)
3 years ago
Theodore Brown c7dcfac883
fix: select option with selected attribute when initial state is undefined (#8371)
3 years ago
Conduitry 80e6e28204
chore: mark Promise.resolve() as pure to appease Agadoo (#8366)
3 years ago
Tan Li Hau 0966d1d282
feat: improve `bind:group` behavior (#7892)
3 years ago
Tan Li Hau c611f318d2
feat: add stopImmediatePropagation event modifier (#8341)
3 years ago
lidlanca aa15a64cbe
fix: account for `<template>` tag in `{@html}` (#7364)
3 years ago
Tan Li Hau f6dc86f02c
feat: optimise svelte-element output code for static tag and static attribute (#8161)
3 years ago
Theodor Steiner c7bbe55b9f
feat: introduce axis parameter to allow for horizontal slide transition (#6183)
3 years ago
Theodore Brown 8cf037c904
fix: select first enabled option by default when initial value is undefined (#8331)
3 years ago
Alvin Ramskogler 9f89a92d31
feat: add `readonly` method to convert writable store to readonly (#6518)
3 years ago
Simon H 0bdb59c2e2
fix: compute rect directly before crossfading (#8314)
3 years ago
Jos de Jong e5b0b6235d
fix: ensure `bind:offsetHeight` updates (#8096)
3 years ago
Yuichiro Yamashita a0cedf8d82
fix: flush remaining `afterUpdate` before `destroy` (#7516)
3 years ago
Ben Bucksch f6ef6a9349
fix: don't throw when calling writable() unsubscribe twice (#8186)
3 years ago
Yuichiro Yamashita 4b84c4df3a
[fix] Improve `is_promise` handling (#8162)
3 years ago
Yuichiro Yamashita e1a1c7fa87
[chore] Fix CI (#8160)
3 years ago
Simon H 762d0429b1
[fix] propagate bindings correctly (#8114)
3 years ago
Gus Wezerek a5d6713c8e
Fix bug with transition draw when delay is passed (#8094)
3 years ago
Yuichiro Yamashita 94e51df07b
[fix] escape style attribute for SSR (#8087)
3 years ago
Simon H 4c5469b1ee
[fix] don't run binding init unnecessarily (#7981)
3 years ago
Pat Cavit 84d61c61f8
[feat] Add options w/ direction to transitions (#8068)
3 years ago
byt3r 84ea242666
[fix] check parentNode exists before removing child (#6910)
3 years ago
Josh Soref b265bc6f0f
[chore] fix spelling and typos (#7974)
3 years ago
Samuel Stroschein 220325cd9f
[docs] add inline documentation to svelte runtime functions (#7846)
3 years ago
Tan Li Hau 81d4dbad99
[fix] call `on_destroy` if unmounted called immediately before `on_mount` (#7860)
3 years ago
Yuichiro Yamashita 01a91163a9
[fix] Improve error message if `this` attribute of `<svelte:component>` is not valid (#7551)
3 years ago
Simon H c12704c301
[fix] typings for #7863
3 years ago
Xiao Chuan ee5479d00e
[fix] fix ctx and dirty type (#7832)
3 years ago