Commit Graph

2447 Commits (ef48d35a15fc104efd6ee5cf13eceea3ace4ae0d)

Author SHA1 Message Date
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)
6 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 78d238c5a3
chore: revert version check in migrate (#15583)
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
Rich Harris 842a7c6995
docs: update state_unsafe_mutation message (#15539)
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
Rich Harris 6b23a7c477
chore: camelCase -> snake_case (#15573)
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
Rich Harris 99ca7a4d7f
chore: create stack lazily when proxying value (#15547)
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
Simon H aaeda65f2f
docs: add docs on state_unsafe_mutation error (#14932)
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
Rich Harris 18d71fd528
chore: reuse expression nodes (#15513)
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
Simon H 1cc5bcdc99
chore: clarify fuzzyset adaption (#15491)
6 months ago
Rich Harris 1c0e24013f
chore: reuse is_function helper (#15467)
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
Ben McCann 2c4d85bcec
docs: address `$effect` feedback (#15107)
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
Rich Harris be82332ac8
chore: simplify `process_effects` (#15397)
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
Ben McCann da98c894b8
chore: switch to `tinyglobby` (#15388)
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 5f3b4d5421
chore: DRY out assignment validation (#15360)
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
Rich Harris 1b882fb1b5
chore: remove reactive_statements from state (#15363)
6 months ago
Rich Harris bfeb9ad448
chore: create `binding.updated` getter (#15362)
6 months ago
Rich Harris 53d1b17ce9
remove some unused exports (#15365)
6 months ago
Rich Harris 52d6ed1c73
remove instance_scope (#15364)
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
Rich Harris 3c4a8d425b
chore: make Binding a class (#15359)
7 months ago
adiGuba 1e1aea4063
chore: remove unnecessary `?? ''` on some expressions (#15287)
7 months ago
Rich Harris c582b5d3b5
chore: simplify flush_sync (#15346)
7 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
Ben McCann 87d7cc7d89
chore: add missing await in tests (#15301)
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 8b977253f3
chore: fix `$props.id` tests (#15294)
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
Rich Harris 73220b8667
chore: simplify process_effects (#15270)
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
dependabot[bot] 872ee51378
chore(deps-dev): bump vitest from 2.0.5 to 2.1.9 (#15220)
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
pgliang001 e12fe8795c
chore: simplify assignment expression (#15177)
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
Rich Harris 2be3823e3a
chore: remove inert check from each block reconciliation (#15143)
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
Rich Harris 8e83127e1a
chore: move more code (#15133)
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
Rich Harris 5e9b29c351
chore: move context code into new module (#15132)
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
Rich Harris e3d4a0fa8e
chore: tweak render tag logic (#15109)
7 months ago
Rich Harris 24b6fab58b
chore: construct analysis before module walk (#15108)
7 months ago
Rich Harris e9cc7dc9a1
chore: tweak each block code (#15094)
8 months ago
Trevor N. Suarez d47f4f5908
fix: expand boolean attribute support (#15095)
8 months ago
Edoardo Cavazza d17f5c748d
fix: add check for is attribute (#15086)
8 months ago