Rich Harris
8bba70b8e3
fix: avoid double deriveds in component props ( #15089 )
...
* fix: prevent double deriveds in component props
* unused
* reuse mechanism
* move code to where it is used
* changeset
2 months ago
Trevor N. Suarez
eee808fb79
fix: correctly handle `novalidate` attribute casing ( #15083 )
...
This PR fixes #15082 by correctly handling the HTML element novalidate attribute casing through noValidate DOM property mapping.
2 months ago
Paolo Ricciuti
7da86ef80c
fix: don't throw for `undefined` non delegated event handlers ( #15087 )
...
* fix: don't throw for `undefined` non delegated event handlers
* chore: update typings
2 months ago
github-actions[bot]
ee024ffd0e
Version Packages ( #15080 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
Dominic Gannaway
09510c8c5c
fix: address regression with untrack ( #15079 )
...
* fix: address regression with untrack
* add test
2 months ago
github-actions[bot]
c75f1f5f2f
Version Packages ( #15052 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
Paolo Ricciuti
5ad6a0cdc3
fix: initialize `files` bind on hydration ( #15059 )
2 months ago
Dominic Gannaway
2ad519542d
fix: ensure untrack correctly retains the active reaction ( #15065 )
...
* fix: ensure untrack correctly retains the active reaction
* fix: ensure untrack correctly retains the active reaction
2 months ago
ComputerGuy
de94159238
docs: update README banner ( #15063 )
...
* fix
* update banner image
this is an empty commit whose name will be shown in the commit history (if someone looks at the commit history they should be able to understand what commit does what).
* chore: fix spacing
* chore: fix spacing
---------
Co-authored-by: Paolo Ricciuti <ricciutipaolo@gmail.com>
2 months ago
ComputerGuy
5f6525f416
fix: omit unnecessary nullish coallescing in template expressions ( #15056 )
...
* omit unnecessary nullish coallescing in template expressions
* add tests
2 months ago
Rich Harris
700029bd4d
fix: more efficient template effect grouping ( #15050 )
...
* WIP
* drive-by
* group attribute updates
* fix
* more
* unused
* more
* WIP
* unused
* simplify
* simplify
* simplify
* more
* unused
* unused
* more
* tweak
* update how class/style directives are handled
* more
* more
* simplify
* changeset
2 months ago
github-actions[bot]
a9d1f46dbb
Version Packages ( #15021 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 months ago
Rich Harris
509ba568f3
fix: create fewer deriveds for concatenated strings ( #15041 )
...
* fix: create fewer deriveds for concatenated strings
* stringified_text -> expression
2 months ago
Puru Vijay
2aefc5430d
feat(elements): Expose ClassValue ( #15035 )
...
* Push
* Cleanup
* Add changeset
* Remove redundant string
* Update documentation/docs/03-template-syntax/18-class.md
Co-authored-by: Paolo Ricciuti <ricciutipaolo@gmail.com>
* Update documentation/docs/03-template-syntax/18-class.md
---------
Co-authored-by: Paolo Ricciuti <ricciutipaolo@gmail.com>
2 months ago
Paolo Ricciuti
973b51d168
fix: correctly parse leading comments in function binding ( #15020 )
...
* fix: correctly parse leading comments in function binding
* chore: fix lint
3 months ago
github-actions[bot]
1d3c4397b2
Version Packages ( #15010 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3 months ago
Rich Harris
ff79704ab8
fix: bump esrap ( #15015 )
...
* chore: bump esrap
* changeset
3 months ago
Dominic Gannaway
5419610833
fix: ensure resume effects are scheduled in topological order ( #15012 )
...
* fix: ensure resume effects are scheduled in topological order
* fix: ensure resume effects are scheduled in topological order
3 months ago
Paolo Ricciuti
360ee70dcb
fix: remove listener on `bind_current_time` teardown ( #15013 )
...
Fixes #15008
3 months ago
Paolo Ricciuti
dfa97a5e64
feat: allow every children in `template` tags ( #15007 )
...
* feat: allow every children in `template` tags
* Update .changeset/dry-mails-return.md
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
github-actions[bot]
a1698c63ec
Version Packages ( #15001 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3 months ago
Dominic Gannaway
dae4c5f5e1
fix: ensure signal write invalidation within effects is consistent ( #14989 )
...
* fix: ensure signal write invalidation within effects is persistent
* fix: ensure signal write invalidation within effects is persistent
* fix: ensure signal write invalidation within effects is persistent
* address feedback
3 months ago
Paolo Ricciuti
99fdc3f0ab
docs: update error message for `const_tag_invalid_placement` ( #15003 )
3 months ago
Paolo Ricciuti
a129592e5b
feat: allow const tag inside `svelte:boundary` ( #14993 )
...
* feat: allow const tag inside `svelte:boundary`
* chore: add better test
* docs: update docs for `@const`
3 months ago
github-actions[bot]
efa5acf24e
Version Packages ( #14970 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3 months ago
Paolo Ricciuti
8a1acac084
fix: never consider inert boundary effects ( #14999 )
...
* fix: never consider inert boundary effects
* chore: inline bitwise
3 months ago
Dominic Gannaway
36ef59df1f
chore: improve test cases ( #14984 )
...
* chore: improve test cases
* lint
3 months ago
eyalkutz
ab3290fa87
Remove out-of-date note from CONTRIBUTING.md ( #14986 )
3 months ago
Rich Harris
76ce303b0a
chore: bump esrap ( #14969 )
...
* chore: bump esrap
* fix
* bump again
3 months ago
Paolo Ricciuti
9b6e65fbeb
fix: correctly transform `pre` with no content ( #14973 )
...
Closes #14971
3 months ago
Paolo Ricciuti
41fb51349e
fix: store access on component destroy ( #14968 )
...
Co-authored-by: Oscar Dominguez <dominguez.celada@gmail.com>
3 months ago
Dominic Gannaway
dbe5818560
fix: wrap each block expression in derived to encapsulte effects ( #14967 )
...
* fix: wrap each block expression in derived to encapsulte effects
* add test
* Update .changeset/tender-apples-scream.md
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
github-actions[bot]
dc8ae825b8
Version Packages ( #14965 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3 months ago
Dominic Gannaway
bdc02008e4
fix: reset dependency read versions after reaction execution ( #14964 )
...
* fix: reset dependency read versions after reaction execution
* fix: reset dependency read versions after reaction execution
* fix: reset dependency read versions after reaction execution
* fix: reset dependency read versions after reaction execution
* fix: reset dependency read versions after reaction execution
* chore: add test
* changeset
---------
Co-authored-by: paoloricciuti <ricciutipaolo@gmail.com>
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
github-actions[bot]
b7400ae93b
Version Packages ( #14959 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3 months ago
Rich Harris
c0842d1459
fix: properly add owners to function bindings ( #14962 )
...
Closes #14956
3 months ago
Rich Harris
68cffa8489
fix: apply `overflow: hidden` style when transitioning elements, where necessary ( #14930 )
...
* fix: apply `overflow: hidden` style when transitioning elements, where necessary
* notes to self
3 months ago
Matei Trandafir
3e11b89244
docs: improve section for snippets-slots interop ( #13869 )
...
* docs: improve section for snippets-slots interop
* tweak
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
Gonzalo Ruiz
d15aea4e18
docs: clarify svelte:component migration, avoids common gotcha ( #13835 )
...
* docs: clarify svelte:component migration to avoid lowercase component name gotcha
* docs: move <svelte:component> section out of Breaking Changes, since it is not breaking. Change links.
* docs: move migration dot notation component initialization notes to svelte:component section
* tweaks
* fix link
---------
Co-authored-by: Gonzalo Ruiz <rgon@rgon.es>
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
Basti Ortiz
bf80c10625
docs: clarify example on dynamic dependency tracking ( #13767 )
...
* docs(effect): clarify example on dynamic dependency tracking
* use an if block, it's clearer
* fix
* toggle
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
Rich Harris
79a67c9561
fix: account for parent scale when animating elements ( #14957 )
...
* WIP fix flip
* fix: account for parent scale when animating elements
3 months ago
github-actions[bot]
80d9f9996f
Version Packages ( #14953 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3 months ago
Simon H
9aae463ae1
fix: silence false-positive statel value warning ( #14958 )
...
fixes #14687
3 months ago
Simon H
a2565efa37
docs: tweak "invalid assignment" compiler error message ( #14955 )
...
* docs: tweak "invalid assignment" compiler error message
fixes #14702
* tweak wording
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
Rich Harris
ce4f9722da
fix: remove bindable prop validation ( #14946 )
3 months ago
github-actions[bot]
9b71eea35d
Version Packages ( #14943 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3 months ago
Rich Harris
d41801c75f
feat: warn on using `slide` transition with invalid `display` styles ( #14936 )
...
* feat: warn on using `slide` transition with table elements
* more generic
* more generic
3 months ago
Rich Harris
4d2cb2734b
fix: prevent long delays causing erratic spring behaviour ( #14940 )
3 months ago
Rich Harris
d245bab63a
feat: allow non-numeric values to be tweened by snapping immediately to new value ( #14941 )
3 months ago
Rich Harris
adee13d98c
fix: account for min-width/height in `slide` transition ( #14942 )
3 months ago