Commit Graph

2008 Commits (source-to-state-in-class-belt-and-braces)

Author SHA1 Message Date
Simon H a051f96ed6
fix: relax `:global` selector list validation (#15762)
5 months ago
github-actions[bot] 7aed6beeaa
Version Packages (#15756)
5 months ago
Simon H 26e574f27f
fix: ignore mutation validation for props that are not proxies in more cases (#15759)
5 months ago
Simon H bdf033e30f
fix: allow self-closing tags within math namespace (#15761)
5 months ago
Paolo Ricciuti fd0bc29973
fix: correctly validate head snippets on the server (#15755)
5 months ago
github-actions[bot] 3153384928
Version Packages (#15751)
5 months ago
Paolo Ricciuti 69a427518d
fix: correctly validate `undefined` snippet params with default value (#15750)
5 months ago
github-actions[bot] fd57eb362d
Version Packages (#15737)
5 months ago
Rich Harris 95a020acea
fix: update `state_referenced_locally` message (#15733)
5 months ago
github-actions[bot] 02448a9acd
Version Packages (#15731)
5 months ago
Paolo Ricciuti 01171096ce
feat: add `css.hasGlobal` to `compile` output (#15450)
5 months ago
ComputerGuy ec1d85c89e
fix: add snippet argument validation in dev (#15521)
5 months ago
github-actions[bot] 0020e597e2
Version Packages (#15729)
5 months ago
Paolo Ricciuti 0d233e58cf
fix: don't transform reassigned state in labeled statement in `$derived` (#15725)
5 months ago
Dominic Gannaway 9cafdd89d0
fix: improve internal_set versioning mechanic (#15724)
5 months ago
github-actions[bot] c2c83b67f3
Version Packages (#15726)
5 months ago
Rich Harris 6d195f0350
fix: handle hydration mismatches in await blocks (#15708)
5 months ago
Paolo Ricciuti 6c97a78049
fix: prevent ownership warnings if the fallback of a bindable is used (#15720)
5 months ago
github-actions[bot] 475b5dbe83
Version Packages (#15712)
5 months ago
Paolo Ricciuti 966ccfbe74
fix: set deriveds as `CLEAN` if they are assigned to (#15592)
5 months ago
7nik 708f541ad8
fix: better scope `:global()` with nesting selector `&` (#15671)
5 months ago
github-actions[bot] 7694818f9c
Version Packages (#15705)
5 months ago
Simon H 98d14ece66
fix: rework binding ownership validation (#15678)
5 months ago
Rich Harris caf62ee687
fix: allow `$.state` and `$.derived` to be treeshaken (#15702)
5 months ago
github-actions[bot] 7b850d3fba
Version Packages (#15696)
5 months ago
Dominic Gannaway 3d0bc34149
fix: address untracked_writes memory leak (#15694)
5 months ago
github-actions[bot] c544a59351
Version Packages (#15665)
5 months ago
Dominic Gannaway 80557bbc1c
fix: ensure clearing of old values happens independent of root flushes (#15664)
5 months ago
github-actions[bot] 5b9053d111
Version Packages (#15650)
5 months ago
Simon H 959f593487
fix: ignore generic type arguments while creating AST (#15659)
5 months ago
7nik e035e2838f
Fix: consider component and its snippets during css pruning (#15630)
5 months ago
github-actions[bot] c822f9b0bf
Version Packages (#15649)
5 months ago
ComputerGuy ec91cacab2
init (#15628)
5 months ago
Simon H 97542048df
fix: silence assignment warning on more function bindings (#15644)
5 months ago
Simon H 046145fdd7
fix: make sure CSS is preserved during SSR with bindings (#15645)
5 months ago
github-actions[bot] d6d99ca2fd
Version Packages (#15647)
5 months ago
Simon H b93d004d98
fix: ensure `undefined` class still applies scoping class, if necessary (#15643)
5 months ago
Simon H 6f8068637c
fix: support TS type assertions (#15642)
5 months ago
github-actions[bot] f498a21063
Version Packages (#15587)
5 months ago
Paolo Ricciuti 3080c1334e
fix: prevent state runes from being called with spread (#15585)
6 months ago
github-actions[bot] 7fe9bf524b
Version Packages (#15582)
6 months ago
Paolo Ricciuti 33d118f8a2
feat: migrate reassigned deriveds to `$derived` (#15581)
6 months ago
github-actions[bot] c1ae8953aa
Version Packages (#15580)
6 months ago
Blade Barringer d1bd32ec9e
fix: allow get_proxied_value to return original value when error (#15577)
6 months ago
github-actions[bot] 6e343b9ad7
Version Packages (#15578)
6 months ago
Rich Harris 5a8fa69dbf
feat: make deriveds writable (#15570)
6 months ago
github-actions[bot] 2d3b65dfbd
Version Packages (#15575)
6 months ago
Dominic Gannaway 1f37c02f91
fix: ensure toStore root effect is connected to correct parent effect (#15574)
6 months ago
Paolo Ricciuti ade66c6fea
fix: use `get` in constructor for deriveds (#15300)
6 months ago
github-actions[bot] e25c281296
Version Packages (#15551)
6 months ago
Rich Harris d2e79326c7
fix: don't depend on deriveds created inside the current reaction (#15564)
6 months ago
Dominic Gannaway 1d10a65b78
fix: check if DOM prototypes are extensible (#15569)
6 months ago
Robert Gieseke 1a5fb8fd51
fix: Keep inlined JSDoc comments in property conversion of svelte-migrate (#15567)
6 months ago
Rich Harris 6915c12b58
feat: allow state created in deriveds/effects to be written/read locally without self-invalidation (#15553)
6 months ago
Rich Harris c436b6cdbe
fix: simplify set calls for proxyable values (#15548)
6 months ago
github-actions[bot] 190c0c7653
Version Packages (#15536)
6 months ago
Paolo Ricciuti 5b9f0df8ee
fix: don't hoist listeners that access non hoistable snippets (#15534)
6 months ago
github-actions[bot] 74917ae703
Version Packages (#15501)
6 months ago
adiGuba 32ee6c1bc2
rune_invalid_arguments_length (#15516)
6 months ago
7nik 8e9a21e374
fix: correctly match `:has()`'s selector during css pruning (#15277)
6 months ago
Éric NICOLAS f227cfcea8
fix: Allow global-like pseudo-selectors refinement (#15313)
6 months ago
Ben McCann e74fbcbbac
chore: don't distribute unused types definitions (#15473)
6 months ago
ComputerGuy 489f463d7b
fix: replace `undefined` with `void 0` to avoid edge case (#15511)
6 months ago
Dominic Gannaway 5d3aa2bda4
fix: ensure transient writes to tracked parent effects works as expected (#15506)
6 months ago
D.V. Colomban b27ca425c7
fix: add files and group properties to HTMLInputAttributes (#15492)
6 months ago
github-actions[bot] a1257c17f5
Version Packages (#15493)
6 months ago
Dominic Gannaway 110d42062f
fix: on teardown, use the last known value for the signal before the set (#15469)
6 months ago
github-actions[bot] e2bbc560e4
Version Packages (#15466)
6 months ago
Rich Harris eaf0087d7c
fix: skip `log_if_contains_state` if only logging literals (#15468)
6 months ago
Trevor N. Suarez 3326bd8ae7
feat: Add `closedby` to `HTMLDialogAttributes` (dialog element) (#15458)
6 months ago
adiGuba c5912aad71
fix: null and warnings for local handlers (#15460)
6 months ago
github-actions[bot] d513304dd0
Version Packages (#15453)
6 months ago
adiGuba ae615ae2ac
chore: memoize clsx() (alternative) (#15456)
6 months ago
adiGuba 30562b8780
chore: rewrite set_style() to handle directives (#15418)
6 months ago
adiGuba 2f685c1dba
fix: spreading style is not consistent with attribute (#15323)
6 months ago
Rich Harris 2d3818463a
chore: check namespace inside set attributes (#15443)
6 months ago
github-actions[bot] 43ff3047ac
Version Packages (#15452)
6 months ago
Rich Harris 76f5ecfdab
fix: never deduplicate expressions in templates (#15451)
6 months ago
github-actions[bot] 0abd7f2a7f
Version Packages (#15447)
6 months ago
Rich Harris 3fc2007836
fix: run effect roots in tree order (#15446)
6 months ago
github-actions[bot] 3b465a7172
Version Packages (#15444)
6 months ago
Paolo Ricciuti 181fb2ad49
fix: correctly set `is_updating` before flushing root effects (#15442)
6 months ago
github-actions[bot] cd56c1d60e
Version Packages (#15433)
6 months ago
Simon H ef7fd96ccf
fix: switch to our fork acorn typescript plugin (#15393)
6 months ago
github-actions[bot] 0f2633736d
Version Packages (#15431)
6 months ago
Tom Adler e3dc396e01
fix: make dialog element and role interactive (#15429)
6 months ago
Rich Harris b82692af2f
feat: add `idPrefix` to `render` (#15428)
6 months ago
github-actions[bot] 7ce2dfc622
Version Packages (#15402)
6 months ago
adiGuba 2032049e47
chore: Reduce hydration comment for {:else if} (#15250)
6 months ago
Paolo Ricciuti 474c588067
fix: disallow `bind:group` to snippet parameters (#15401)
6 months ago
github-actions[bot] e4987d2a9f
Version Packages (#15383)
6 months ago
adiGuba fe343e9c50
fix: catch error on @const tag in svelte:boundary in DEV mode (#15369)
6 months ago
adiGuba 8fb2fb70e1
fix : bug "$0 is not defined" with svelte:element and a single class with a function call (#15396)
6 months ago
adiGuba cf56973bf0
fix: class:directive not working with $$restProps (#15389)
6 months ago
Paolo Ricciuti 3d59e84a65
fix: allow double hyphen css selector names (#15384)
6 months ago
Paolo Ricciuti c2ec0d9ac2
fix: allow for duplicate `var` declarations (#15382)
6 months ago
github-actions[bot] bbeeed421b
Version Packages (#15380)
6 months ago
Rich Harris 51337f22bd
chore: simplify flushing (#15348)
6 months ago
Rich Harris 7958eb74df
chore: remove unnecessary `binding.is_called` property (#15361)
6 months ago
github-actions[bot] 220c2418d1
Version Packages (#15358)
6 months ago
adiGuba d4360af751
chore: rewrite set_class() to handle directives (#15352)
6 months ago
Alexis 5a946e7905
fix: Allow @const inside #key (#15377)
6 months ago
adiGuba 1e1aea4063
chore: remove unnecessary `?? ''` on some expressions (#15287)
6 months ago
github-actions[bot] 9873443337
Version Packages (#15304)
7 months ago
Paolo Ricciuti d8e78f7f57
fix: `muted` reactive without `bind` and select/autofocus attributes … (#15326)
7 months ago
Simon H 9091e7e930
fix: fire delegated events on target even it was disabled in the meantime (#15319)
7 months ago
Ranjan Purbey 575900de88
fix: Add more checks to determine if element is non-static (#15259)
7 months ago
tomoam 073f4d8911
fix: prevent writable store value from becoming a proxy when reassigning using $-prefix (#15283)
7 months ago
Paolo Ricciuti dde8603872
fix: do not warn for `binding_property_non_reactive` if binding is a store in an each (#15318)
7 months ago
adiGuba c40392c1e8
chore: remove options.uid in render() (#15302)
7 months ago
github-actions[bot] 32b78c9954
Version Packages (#15279)
7 months ago
Simon H 7e3253745e
fix: ensure AST analysis on `svelte.js` modules succeeds (#15297)
7 months ago
Paolo Ricciuti b6bf735a23
fix: correctly ssr component in `svelte:head` with `$props.id()` or `css='injected'` (#15291)
7 months ago
Caique Torres 21dadfc997
fix: ignore typescript abstract methods during code transformation (#15267)
7 months ago
github-actions[bot] 23ecc364da
Version Packages (#15271)
7 months ago
Dominic Gannaway f747c412f4
chore: tweak effect self invalidation logic (#15275)
7 months ago
Paolo Ricciuti 5e52825d60
fix: take private and public into account for `constant_assignment` of derived state (#15276)
7 months ago
Paolo Ricciuti 18481386f3
fix: use `importNode` to clone templates for Firefox (#15272)
7 months ago
Simon H a3e49b6110
fix: recurse into `$derived` for ownership validation (#15166)
7 months ago
adiGuba afae274587
fix: value/checked not correctly set using spread (#15239)
7 months ago
adiGuba 85f83ec435
feat: $props.id(), a SSR-safe ID generation (#15185)
7 months ago
github-actions[bot] 280d8c74cc
Version Packages (#15263)
7 months ago
Dominic Gannaway b602c59a22
fix: when re-connecting unowned deriveds, remove their unowned flag (#15255)
7 months ago
Paolo Ricciuti 02788f8e62
fix: allow mutation of private derived state (#15228)
7 months ago
github-actions[bot] c4d4349d0a
Version Packages (#15234)
7 months ago
Simon H 4883fd2c83
fix: hydrate `href` that is part of spread attributes (#15226)
7 months ago
Dominic Gannaway f2c83e5db7
fix: ensure unowned derived dependencies are not duplicated when reac… (#15232)
7 months ago
github-actions[bot] b0c4fa5246
Version Packages (#15216)
7 months ago
Simon H 3b7066f5c6
fix: ensure custom element updates don't run in hydration mode (#15217)
7 months ago
Simon H 6f392d679b
fix: properly set `value` property of custom elements (#15206)
7 months ago
Dominic Gannaway d39d8c0675
fix: ensure tracking returns true, even if in unowned (#15214)
7 months ago
github-actions[bot] 64f86ee9d4
Version Packages (#15190)
7 months ago
Dominic Gannaway e0b3dc020c
chore: remove unused code from signal logic (#15195)
7 months ago
7nik 5b30fbfb0b
fix: encounter svelte:element in blocks as sibling during pruning css (#15165)
7 months ago
github-actions[bot] 04addca428
Version Packages (#15156)
7 months ago
Dominic Gannaway 7bef5963bd
fix: ensure reactions are correctly attached for unowned deriveds (#15158)
7 months ago
Simon H 970aa7cfaa
fix: prevent false-positive ownership validations due to hot reload (#15154)
7 months ago
Simon H 83f00ebbd6
fix: don't error on slot prop inside block inside other component (#15148)
7 months ago
Simon H b8607f8765
fix: silence a11y attribute warnings when spread attributes present (#15150)
7 months ago
Simon H f5406c952e
fix: widen ownership when calling setContext (#15153)
7 months ago
7nik 522557559f
fix: do not prune selectors like `:global(.foo):has(.scoped)` (#15140)
7 months ago
github-actions[bot] c8bbb15693
Version Packages (#15139)
7 months ago
Dominic Gannaway 13a6d555c0
fix: improve derived connection to ownership graph (#15137)
7 months ago
7nik 9410ad0318
fix: correctly look for sibling elements inside blocks and components (#15106)
7 months ago
github-actions[bot] b2c8224a73
Version Packages (#15118)
7 months ago
Dominic Gannaway fc4dd2dec4
fix: lazily connect derievds (in deriveds) to their parent (#15129)
7 months ago
Elliott Johnson 3f8ce21f47
fix: Add `bind:focused` to `HTMLAttributes` (#15122)
7 months ago
Rich Harris 0e0f01ee1c
fix: disallow $state/$derived in const tags (#15115)
7 months ago
github-actions[bot] 357e1a74b4
Version Packages (#15088)
7 months ago
Trevor N. Suarez d47f4f5908
fix: expand boolean attribute support (#15095)
7 months ago
Edoardo Cavazza d17f5c748d
fix: add check for is attribute (#15086)
7 months ago
Rich Harris 7740d4576b
fix: optimise || expressions in template (#15092)
7 months ago
Theodore Brown c2e805f05c
fix: consistently set value to blank string when value attribute is undefined (#15057)
7 months ago
Rich Harris 8bba70b8e3
fix: avoid double deriveds in component props (#15089)
7 months ago
Trevor N. Suarez eee808fb79
fix: correctly handle `novalidate` attribute casing (#15083)
7 months ago
Paolo Ricciuti 7da86ef80c
fix: don't throw for `undefined` non delegated event handlers (#15087)
7 months ago
github-actions[bot] ee024ffd0e
Version Packages (#15080)
7 months ago
Dominic Gannaway 09510c8c5c
fix: address regression with untrack (#15079)
8 months ago
github-actions[bot] c75f1f5f2f
Version Packages (#15052)
8 months ago
Paolo Ricciuti 5ad6a0cdc3
fix: initialize `files` bind on hydration (#15059)
8 months ago
Dominic Gannaway 2ad519542d
fix: ensure untrack correctly retains the active reaction (#15065)
8 months ago
ComputerGuy 5f6525f416
fix: omit unnecessary nullish coallescing in template expressions (#15056)
8 months ago
Rich Harris 700029bd4d
fix: more efficient template effect grouping (#15050)
8 months ago
github-actions[bot] a9d1f46dbb
Version Packages (#15021)
8 months ago
Rich Harris 509ba568f3
fix: create fewer deriveds for concatenated strings (#15041)
8 months ago
Puru Vijay 2aefc5430d
feat(elements): Expose ClassValue (#15035)
8 months ago
Paolo Ricciuti 973b51d168
fix: correctly parse leading comments in function binding (#15020)
8 months ago
github-actions[bot] 1d3c4397b2
Version Packages (#15010)
8 months ago
Rich Harris ff79704ab8
fix: bump esrap (#15015)
8 months ago
Dominic Gannaway 5419610833
fix: ensure resume effects are scheduled in topological order (#15012)
8 months ago
Paolo Ricciuti 360ee70dcb
fix: remove listener on `bind_current_time` teardown (#15013)
8 months ago
Paolo Ricciuti dfa97a5e64
feat: allow every children in `template` tags (#15007)
8 months ago
github-actions[bot] a1698c63ec
Version Packages (#15001)
8 months ago
Dominic Gannaway dae4c5f5e1
fix: ensure signal write invalidation within effects is consistent (#14989)
8 months ago
Paolo Ricciuti a129592e5b
feat: allow const tag inside `svelte:boundary` (#14993)
8 months ago
github-actions[bot] efa5acf24e
Version Packages (#14970)
8 months ago
Paolo Ricciuti 8a1acac084
fix: never consider inert boundary effects (#14999)
8 months ago
Paolo Ricciuti 9b6e65fbeb
fix: correctly transform `pre` with no content (#14973)
8 months ago
Paolo Ricciuti 41fb51349e
fix: store access on component destroy (#14968)
8 months ago
Dominic Gannaway dbe5818560
fix: wrap each block expression in derived to encapsulte effects (#14967)
8 months ago
github-actions[bot] dc8ae825b8
Version Packages (#14965)
8 months ago
Dominic Gannaway bdc02008e4
fix: reset dependency read versions after reaction execution (#14964)
8 months ago
github-actions[bot] b7400ae93b
Version Packages (#14959)
8 months ago
Rich Harris c0842d1459
fix: properly add owners to function bindings (#14962)
8 months ago
Rich Harris 68cffa8489
fix: apply `overflow: hidden` style when transitioning elements, where necessary (#14930)
8 months ago
Rich Harris 79a67c9561
fix: account for parent scale when animating elements (#14957)
8 months ago
github-actions[bot] 80d9f9996f
Version Packages (#14953)
8 months ago
Simon H 9aae463ae1
fix: silence false-positive statel value warning (#14958)
8 months ago
Simon H a2565efa37
docs: tweak "invalid assignment" compiler error message (#14955)
8 months ago
Rich Harris ce4f9722da
fix: remove bindable prop validation (#14946)
8 months ago
github-actions[bot] 9b71eea35d
Version Packages (#14943)
8 months ago
Rich Harris d41801c75f
feat: warn on using `slide` transition with invalid `display` styles (#14936)
8 months ago
Rich Harris 4d2cb2734b
fix: prevent long delays causing erratic spring behaviour (#14940)
8 months ago
Rich Harris d245bab63a
feat: allow non-numeric values to be tweened by snapping immediately to new value (#14941)
8 months ago
Rich Harris adee13d98c
fix: account for min-width/height in `slide` transition (#14942)
8 months ago
Dominic Gannaway 9c20eb4815
chore: improve signal performance by reducing duplicate deps (#14945)
8 months ago
Caique Torres 48e3db21c1
fix: default values in object destructuring (#14554)
8 months ago
github-actions[bot] 4aadb34c02
Version Packages (#14924)
8 months ago
Simon H 08061c85da
fix: guard against `customElements` being unavailable in browser extension contexts (#14933)
8 months ago
Simon H 8241096b06
fix: treat `inert` as a boolean attribute (#14935)
8 months ago