paoloricciuti
4b22a09709
chore: install before generating snapshots
19 hours ago
paoloricciuti
b3eeee08b6
fix: thunkify deriveds on the server
19 hours ago
Rich Harris
76ce303b0a
chore: bump esrap ( #14969 )
...
* chore: bump esrap
* fix
* bump again
23 hours ago
Paolo Ricciuti
9b6e65fbeb
fix: correctly transform `pre` with no content ( #14973 )
...
Closes #14971
1 day ago
Paolo Ricciuti
41fb51349e
fix: store access on component destroy ( #14968 )
...
Co-authored-by: Oscar Dominguez <dominguez.celada@gmail.com>
1 day 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>
2 days ago
github-actions[bot]
dc8ae825b8
Version Packages ( #14965 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 days 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>
2 days ago
github-actions[bot]
b7400ae93b
Version Packages ( #14959 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 days ago
Rich Harris
c0842d1459
fix: properly add owners to function bindings ( #14962 )
...
Closes #14956
2 days 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 days 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 days 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 days 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 days 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 days ago
github-actions[bot]
80d9f9996f
Version Packages ( #14953 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3 days ago
Simon H
9aae463ae1
fix: silence false-positive statel value warning ( #14958 )
...
fixes #14687
3 days 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 days ago
Rich Harris
ce4f9722da
fix: remove bindable prop validation ( #14946 )
3 days ago
github-actions[bot]
9b71eea35d
Version Packages ( #14943 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3 days 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 days ago
Rich Harris
4d2cb2734b
fix: prevent long delays causing erratic spring behaviour ( #14940 )
3 days ago
Rich Harris
d245bab63a
feat: allow non-numeric values to be tweened by snapping immediately to new value ( #14941 )
3 days ago
Rich Harris
adee13d98c
fix: account for min-width/height in `slide` transition ( #14942 )
3 days ago
Rich Harris
ce2566d4c4
docs: simplify `$effect.tracking()` docs ( #14939 )
3 days ago
Dominic Gannaway
9c20eb4815
chore: improve signal performance by reducing duplicate deps ( #14945 )
...
* chore: expand benchmark iterations
* chore: improve signal performance by reducing duplicate deps
* feedback
* oops
3 days ago
Dominic Gannaway
deb362fe51
chore: expand benchmark iterations ( #14944 )
4 days ago
Caique Torres
48e3db21c1
fix: default values in object destructuring ( #14554 )
...
* fix: enhance string/expression length check and fix closing character issues
* docs: add documentation for unterminated_string_constant error
* test: add tests for object destructuring with default values in "each" blocks
* Update .changeset/clean-planets-rush.md
* refactor: clean up unnecessary comments and whitespace
* fix: resolve formatting issues
* simplify
* tweak
* regenerate
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 days ago
github-actions[bot]
4aadb34c02
Version Packages ( #14924 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4 days ago
Rich Harris
19038d19cb
docs: add section on update propagation ( #14938 )
4 days ago
Simon H
08061c85da
fix: guard against `customElements` being unavailable in browser extension contexts ( #14933 )
...
fixes #14739
4 days ago
Simon H
34628b9c90
docs: note custom elements on caveat ( #14934 )
...
closes #14727
4 days ago
Simon H
8241096b06
fix: treat `inert` as a boolean attribute ( #14935 )
...
* fix: treat `inert` as a boolean attribute
fixes #14731
* remove solo: true
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 days ago
Matthijs
c8865bb4a7
fix: make Tween with duration 0 set current to target immediately ( #14937 )
...
* fix: Make Tween duration 0 set current to target immediately
* Run prettier on test file
* tweak
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 days ago
Simon H
a1f371e786
docs: add code of files being tested ( #14925 )
...
* docs: add code of files being tested
closes #14900
* fix
* Apply suggestions from code review
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Update documentation/docs/07-misc/02-testing.md
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* Apply suggestions from code review
Co-authored-by: Rich Harris <rich.harris@vercel.com>
* rename import
* from https://github.com/sveltejs/svelte.dev/pull/1094
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 days ago
Rich Harris
77378688b9
fix: remove leading newline from `<pre>` contents ( #14922 )
...
... if it's not followed by another newline, according to the spec
Fixes #14767
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
4 days ago
Rich Harris
08a9d123e8
chore: use codePointAt instead of implementing it ourselves ( #14923 )
...
seems to be some sort of codePointAt polyfill from ancient times before that was available on String.prototype
4 days ago
Felipe
8201d7ad8b
docs: Switch typing of Action<Parameter> from null to undefined in 12-use.md ( #14798 )
...
* Update 12-use.md -
* Remove unecessary line in Action typing example
* drive-by formatting fix
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 days ago
github-actions[bot]
fb67bad5b0
Version Packages ( #14921 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 days ago
Paolo Ricciuti
72a6c7263c
fix: don't throw `bind_invalid_export` if there's also a bindable prop with the same name ( #14813 )
5 days ago
Dominic Gannaway
cd1adbc4e6
fix: ensure logic blocks keep consistent namespacing ( #14817 )
...
* fix: ensure logic blocks keep consitent namespacing
* lint
* add test
* handle `<title>` ambiguity the same as `<a>`
* update changeset
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 days ago
ottomated
793f6f3b11
add note about svelte/elements to $props docs ( #14829 )
5 days ago
github-actions[bot]
f5c285080c
Version Packages ( #14918 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 days ago
Max Katz
1734d74f51
chore: update copyright year ( #14889 )
...
Co-authored-by: Max Katz <zrxmax@icloud.com>
5 days ago
Matthijs
a646780109
fix: Make Tween work with continuous target changes ( #14895 )
...
* Read previous_value at a later stage in Tween.set
* Add changeset
* tweak
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 days ago
Dominic Gannaway
dbdb8cd7fd
fix: use cached indexOf array prototype method internally ( #14912 )
5 days ago
github-actions[bot]
a8ca375c57
Version Packages ( #14908 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 days ago
Simon H
ab91c5cddb
docs: tweak links ( #14915 )
...
Remove one that is unnecessary, and make another one appear nice in markdown.
5 days ago
Simon H
2e2b440954
fix: apply `clsx` logic to custom element `class` attributes ( #14907 )
...
Fixes #14902
5 days ago
Paolo Ricciuti
c4e9faad52
fix: correctly parse `each` with loose parser ( #14887 )
...
* fix: correctly parse `each` with loose parser
* chore: fix lint
* chore: remove unused imports
* Apply suggestions from code review
* chore: fix lint
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
5 days ago