Commit Graph

2720 Commits (b48c12b8594e5653cd333f6de3bce53e2c54c373)

Author SHA1 Message Date
Tom Adler e3dc396e01
fix: make dialog element and role interactive (#15429)
8 months ago
Rich Harris b82692af2f
feat: add `idPrefix` to `render` (#15428)
8 months ago
github-actions[bot] 7ce2dfc622
Version Packages (#15402)
8 months ago
adiGuba 2032049e47
chore: Reduce hydration comment for {:else if} (#15250)
8 months ago
Rich Harris 5bcdb13f26 fix
8 months ago
Rich Harris 49480f0b69 try this
8 months ago
Rich Harris 31882d1d2d add `$effect.pending()`
8 months ago
Rich Harris a0a4d4f598 fix
8 months ago
Rich Harris ee71311e9d fix
8 months ago
Paolo Ricciuti 474c588067
fix: disallow `bind:group` to snippet parameters (#15401)
8 months ago
Rich Harris 94da28f97c skip test
8 months ago
Rich Harris 47a1693578 fix
8 months ago
github-actions[bot] e4987d2a9f
Version Packages (#15383)
8 months ago
adiGuba fe343e9c50
fix: catch error on @const tag in svelte:boundary in DEV mode (#15369)
8 months ago
Rich Harris be82332ac8
chore: simplify `process_effects` (#15397)
8 months ago
adiGuba 8fb2fb70e1
fix : bug "$0 is not defined" with svelte:element and a single class with a function call (#15396)
8 months ago
Rich Harris 52d4ade90f simplify
8 months ago
Rich Harris eb8c8e62e7 simplify
8 months ago
Rich Harris 8a96f23883 tidy
8 months ago
Rich Harris 3c350dbb94 fix
8 months ago
Rich Harris 9b36b6be53 add callsite to effect tree logs
8 months ago
Rich Harris ac3385715c fix
8 months ago
Rich Harris f90132c916 fix
8 months ago
Rich Harris 4e417e1ee2 fix
8 months ago
Rich Harris a5275b2405 update test, remove unnecessary suspend
8 months ago
Rich Harris b18cd46982 update tests
8 months ago
adiGuba cf56973bf0
fix: class:directive not working with $$restProps (#15389)
8 months ago
Rich Harris 710ae6285a fix
8 months ago
Rich Harris 2b2cdf13c5 fix
8 months ago
Rich Harris 57232ee364 fix
8 months ago
Rich Harris 9e877be638 fix
8 months ago
Rich Harris b0b37e6a84 partial fix
8 months ago
Ben McCann da98c894b8
chore: switch to `tinyglobby` (#15388)
8 months ago
Paolo Ricciuti 3d59e84a65
fix: allow double hyphen css selector names (#15384)
8 months ago
Rich Harris 807a585c90 tidy up
8 months ago
Rich Harris fde316fcc8 fix
8 months ago
Paolo Ricciuti c2ec0d9ac2
fix: allow for duplicate `var` declarations (#15382)
8 months ago
Rich Harris ba68a937af update test
8 months ago
Rich Harris 7e0fdb5261 update tests
8 months ago
Rich Harris f77df36ff1 WIP
8 months ago
Rich Harris 8e90bb2f04 remove unused test
8 months ago
Rich Harris 29906c5b2a partial fix
8 months ago
Rich Harris c6d9110b78 some progress
8 months ago
Rich Harris 97587c3284 WIP
8 months ago
Rich Harris 1f4be94486 move some stuff
8 months ago
Rich Harris dd9bb711d2 merge async
8 months ago
Rich Harris 92b03ce50b merge main
8 months ago
Rich Harris cbc227c75e more
8 months ago
Rich Harris db947906f9 more
8 months ago
Rich Harris ed50a6bb3f more
8 months ago
Rich Harris 5d9bd7f1ef more
8 months ago
Rich Harris 527deea929 more
8 months ago
Rich Harris 892dc82aa2 rename
8 months ago
Rich Harris f9eb2f9f9d mirror some changes from main
8 months ago
github-actions[bot] bbeeed421b
Version Packages (#15380)
8 months ago
Rich Harris 5f3b4d5421
chore: DRY out assignment validation (#15360)
8 months ago
Rich Harris 51337f22bd
chore: simplify flushing (#15348)
8 months ago
Rich Harris 7958eb74df
chore: remove unnecessary `binding.is_called` property (#15361)
8 months ago
Rich Harris 1b882fb1b5
chore: remove reactive_statements from state (#15363)
8 months ago
Rich Harris bfeb9ad448
chore: create `binding.updated` getter (#15362)
8 months ago
Rich Harris 53d1b17ce9
remove some unused exports (#15365)
8 months ago
Rich Harris 52d6ed1c73
remove instance_scope (#15364)
8 months ago
github-actions[bot] 220c2418d1
Version Packages (#15358)
8 months ago
adiGuba d4360af751
chore: rewrite set_class() to handle directives (#15352)
8 months ago
Alexis 5a946e7905
fix: Allow @const inside #key (#15377)
8 months ago
Rich Harris 3c4a8d425b
chore: make Binding a class (#15359)
8 months ago
adiGuba 1e1aea4063
chore: remove unnecessary `?? ''` on some expressions (#15287)
8 months ago
Rich Harris c582b5d3b5
chore: simplify flush_sync (#15346)
8 months ago
Rich Harris 0e4f041ae2 WIP
8 months ago
Rich Harris 8aaa5688e4 Merge branch 'async' into async-global-coordination
8 months ago
Rich Harris 6f32d21310 merge main
8 months ago
Rich Harris 2fbf29025e WIP
8 months ago
Rich Harris 0bc2af265d WIP
8 months ago
Rich Harris 120b086b85 WIP
8 months ago
Rich Harris b18247be38 WIP
9 months ago
github-actions[bot] 9873443337
Version Packages (#15304)
9 months ago
Paolo Ricciuti d8e78f7f57
fix: `muted` reactive without `bind` and select/autofocus attributes … (#15326)
9 months ago
Simon H 9091e7e930
fix: fire delegated events on target even it was disabled in the meantime (#15319)
9 months ago
Ranjan Purbey 575900de88
fix: Add more checks to determine if element is non-static (#15259)
9 months ago
tomoam 073f4d8911
fix: prevent writable store value from becoming a proxy when reassigning using $-prefix (#15283)
9 months ago
Paolo Ricciuti dde8603872
fix: do not warn for `binding_property_non_reactive` if binding is a store in an each (#15318)
9 months ago
Ben McCann 87d7cc7d89
chore: add missing await in tests (#15301)
9 months ago
adiGuba c40392c1e8
chore: remove options.uid in render() (#15302)
9 months ago
github-actions[bot] 32b78c9954
Version Packages (#15279)
9 months ago
Simon H 7e3253745e
fix: ensure AST analysis on `svelte.js` modules succeeds (#15297)
9 months ago
Paolo Ricciuti 8b977253f3
chore: fix `$props.id` tests (#15294)
9 months ago
Paolo Ricciuti b6bf735a23
fix: correctly ssr component in `svelte:head` with `$props.id()` or `css='injected'` (#15291)
9 months ago
Rich Harris 7923b5a754 simplify
9 months ago
Rich Harris 9d7d045310 create separate effect type for async deriveds, as they are not blocks
9 months ago
Rich Harris ef28490c07 merge main
9 months ago
Caique Torres 21dadfc997
fix: ignore typescript abstract methods during code transformation (#15267)
9 months ago
github-actions[bot] 23ecc364da
Version Packages (#15271)
9 months ago
Dominic Gannaway f747c412f4
chore: tweak effect self invalidation logic (#15275)
9 months ago
Paolo Ricciuti 5e52825d60
fix: take private and public into account for `constant_assignment` of derived state (#15276)
9 months ago
Paolo Ricciuti 18481386f3
fix: use `importNode` to clone templates for Firefox (#15272)
9 months ago
Simon H a3e49b6110
fix: recurse into `$derived` for ownership validation (#15166)
9 months ago
adiGuba afae274587
fix: value/checked not correctly set using spread (#15239)
9 months ago
Rich Harris a4540f8f2b merge main
9 months ago
adiGuba 85f83ec435
feat: $props.id(), a SSR-safe ID generation (#15185)
9 months ago
Rich Harris 73220b8667
chore: simplify process_effects (#15270)
9 months ago
Rich Harris df027d0f34 shuffle
9 months ago
Rich Harris 30cd46de11 more
9 months ago
Rich Harris 63be623021 unused
9 months ago
Rich Harris 3b9349e51a tweak
9 months ago
Rich Harris 67b5c09fb3 more
9 months ago
Rich Harris 58dc13efb1 unused
9 months ago
Rich Harris 1f58d6b7e4 simplify
9 months ago
Rich Harris 9cc52e27d2 simplify
9 months ago
Rich Harris 4c0405390a more
9 months ago
Rich Harris 1e56ce2c25 unused
9 months ago
Rich Harris 8c727cced5 more
9 months ago
Rich Harris 6b058526f3 more
9 months ago
Rich Harris 4a9ff233cd more
9 months ago
Rich Harris 7e26a83775 simplify
9 months ago
Rich Harris 72ab4fc21a more
9 months ago
Rich Harris 85fa872796 unused
9 months ago
Rich Harris eb465b56ed more
9 months ago
Rich Harris e9962194f8 more
9 months ago
Rich Harris 2e65e6eb54 more
9 months ago
Rich Harris 31a9844ba9 more
9 months ago
Rich Harris 66f0f1b803 more
9 months ago
Rich Harris 7b2c677474 unused
9 months ago
Rich Harris fe3b177d97 more
9 months ago
github-actions[bot] 280d8c74cc
Version Packages (#15263)
9 months ago
Dominic Gannaway b602c59a22
fix: when re-connecting unowned deriveds, remove their unowned flag (#15255)
9 months ago
Rich Harris ba957b625f unused
9 months ago
Rich Harris 7bf7e0dd78 start converting boundary to a class
9 months ago
Paolo Ricciuti 02788f8e62
fix: allow mutation of private derived state (#15228)
9 months ago
Rich Harris 7bd6969711 fix
9 months ago
github-actions[bot] c4d4349d0a
Version Packages (#15234)
9 months ago
Simon H 4883fd2c83
fix: hydrate `href` that is part of spread attributes (#15226)
9 months ago
Dominic Gannaway f2c83e5db7
fix: ensure unowned derived dependencies are not duplicated when reac… (#15232)
9 months ago
Rich Harris 3289ac3ad1 slightly better waterfall warning
9 months ago
Rich Harris 0b9bfc9a31 async derived cannot use $derived.by
9 months ago
Rich Harris 461c081cd1 error handling
9 months ago
Rich Harris 69a1902a22 small fix
9 months ago
github-actions[bot] b0c4fa5246
Version Packages (#15216)
9 months ago
Simon H 3b7066f5c6
fix: ensure custom element updates don't run in hydration mode (#15217)
9 months ago
Simon H 6f392d679b
fix: properly set `value` property of custom elements (#15206)
9 months ago
dependabot[bot] 872ee51378
chore(deps-dev): bump vitest from 2.0.5 to 2.1.9 (#15220)
9 months ago
Rich Harris 726b3f1b85 delay initial async derived resolution if invalidated during init
9 months ago
Rich Harris 2703ac6096 fix heuristic for transforming await expressions on server
9 months ago
Rich Harris bcdddc6efb fix member expressions for real
9 months ago
Rich Harris 994afafbd9 Revert "fix await member expressions"
9 months ago
Rich Harris 68a10b73b9 Merge branch 'main' into async
9 months ago
Dominic Gannaway d39d8c0675
fix: ensure tracking returns true, even if in unowned (#15214)
9 months ago
Dominic Gannaway ae8bd6f222 fix await member expressions
9 months ago
Rich Harris 990634d15f remove old comment
9 months ago
Rich Harris ff5d9fec07 pending_items -> offscreen_items
9 months ago
Rich Harris 80550468f9 dont reconnect deriveds inside destroyed effects
9 months ago
Rich Harris b64cfc6231 update comment
9 months ago
Rich Harris 5f2abc8fb4 skip adding dependencies for destroyed effects
9 months ago
Rich Harris cc7bc3279e merge main
9 months ago
github-actions[bot] 64f86ee9d4
Version Packages (#15190)
9 months ago
Dominic Gannaway e0b3dc020c
chore: remove unused code from signal logic (#15195)
9 months ago
Rich Harris 0dc84ab2a2 only suspend in top-level async deriveds
9 months ago
Rich Harris 80b713a85e abort component if already destroyed
9 months ago
pgliang001 e12fe8795c
chore: simplify assignment expression (#15177)
9 months ago
7nik 5b30fbfb0b
fix: encounter svelte:element in blocks as sibling during pruning css (#15165)
9 months ago
Rich Harris 0a5628f456 improve waterfall detection
9 months ago
Rich Harris c56ee71653 add showPendingAfter and showPendingFor
9 months ago
Rich Harris c9d61951c6 make purpose explicit
9 months ago
Rich Harris d155191556 fix
9 months ago
Rich Harris 5969b0919c waterfall detection
9 months ago
Rich Harris 51e50ecb3f add test, tidy up
9 months ago
Rich Harris 148ffd2783 warn on reactivity loss
9 months ago
Rich Harris 09cf66ccff simplify
9 months ago
Rich Harris 7e337bc21e unused
9 months ago
Rich Harris a405d477f7 remove unnecessary TEMPLATE_EFFECT distinction
9 months ago
Rich Harris 5f61b08849 simplify
9 months ago
Rich Harris 6e1a33162c tidy up
9 months ago
Rich Harris 0ace243a5f fix
9 months ago
Rich Harris 6025193b98 partial fix
9 months ago
Rich Harris 012cdebed6 fix
9 months ago
Rich Harris 028dba829f each blocks work!
9 months ago
Rich Harris 010108a38c hoist commit logic
9 months ago
Rich Harris 952ea25ed1 failing test
9 months ago
Rich Harris b5df097f7b fixes
9 months ago
Rich Harris f2002ce682 fix
9 months ago
Rich Harris c270c76779 fix timing
9 months ago
Rich Harris af2224ebb3 tidy up
9 months ago
Rich Harris 2e49f7ce1e tidy
9 months ago
Rich Harris 176ec0d67b fix
9 months ago
Rich Harris 70fa1033de simplify
9 months ago
Rich Harris ffc4f1b037 mostly working
9 months ago
Rich Harris 303d738374 add should_defer_append flag
9 months ago
Rich Harris da5ff8809a cordon off hydration code
9 months ago
Rich Harris 877a417c17 move code
9 months ago
Rich Harris 3763ff39af Merge branch 'aa' into aa-coordination
9 months ago
Rich Harris 4588ad6366 Merge branch 'main' into aa
9 months ago
Rich Harris 9d9198af9e tweak
9 months ago
Rich Harris 5b0b9eb261 debugging utils
9 months ago
Dominic Gannaway 6117037b64 fix HMR bug
9 months ago
github-actions[bot] 04addca428
Version Packages (#15156)
9 months ago
Rich Harris 2be3823e3a
chore: remove inert check from each block reconciliation (#15143)
9 months ago
Dominic Gannaway a79dfb5a19 fix conflict
9 months ago
Dominic Gannaway 7bef5963bd
fix: ensure reactions are correctly attached for unowned deriveds (#15158)
9 months ago
Simon H 970aa7cfaa
fix: prevent false-positive ownership validations due to hot reload (#15154)
9 months ago
Simon H 83f00ebbd6
fix: don't error on slot prop inside block inside other component (#15148)
9 months ago
Simon H b8607f8765
fix: silence a11y attribute warnings when spread attributes present (#15150)
9 months ago