S. Elliott Johnson
6e97647f5c
fix: changesets
8 months ago
S. Elliott Johnson
55a57b40f6
Update packages/svelte/src/compiler/phases/1-parse/utils/bracket.js
...
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
8 months ago
S. Elliott Johnson
83973edb2b
Update packages/svelte/package.json
...
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
8 months ago
S. Elliott Johnson
88b06c7c42
Update .changeset/curvy-cups-cough.md
...
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
8 months ago
S. Elliott Johnson
486370e4ee
Merge remote-tracking branch 'origin' into elliott/variadic-snippets
8 months ago
S. Elliott Johnson
eb26b84df6
feat: Use more efficient parsing for @const
8 months ago
S. Elliott Johnson
a7be93c538
feat: More unit tests
8 months ago
S. Elliott Johnson
31b78f09d7
feat: exclude test files from publish
8 months ago
S. Elliott Johnson
1dc662aa4d
feat: Better bracket matching, unit tests
8 months ago
Dominic Gannaway
d16f17c306
fix: improve signal consumer tracking behavior ( #10121 )
8 months ago
github-actions[bot]
092370b43f
Version Packages (next) ( #10112 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 months ago
Simon H
527d099a09
fix: transform `{@render ...}` expression ( #10116 )
...
fixes #10059
8 months ago
Dominic Gannaway
05789daff9
fix: allow transition undefined payload + microtask queue handling ( #10117 )
...
* fix: allow transition undefined payload
* cleanup
* cleanup
* add microtask queue handling
8 months ago
Simon H
b3d185da29
fix: correctly call exported state ( #10114 )
...
fixes #10104
also cleans up related code and adds support for destructuring `$state.frozen`
8 months ago
Simon H
92408e1506
fix: get spread + bind working ( #10091 )
...
fixes #10033
8 months ago
Dominic Gannaway
6acf7f3fc3
fix: apply key animations on proxied arrays ( #10113 )
...
* fix: apply key animations on proxed arrays
* fix: apply key animations on proxed arrays
* fix: apply key animations on proxed arrays
8 months ago
Dominic Gannaway
ebbb5dd655
fix: improve internal signal dependency checking logic ( #10111 )
8 months ago
S. Elliott Johnson
79536e4875
document function
8 months ago
S. Elliott Johnson
d7dac4eac2
feat: The Final Solution
8 months ago
S. Elliott Johnson
106514514d
fix: Turns out javascript parameters are optional
8 months ago
S. Elliott Johnson
bc917fe9a4
feat: Test it
8 months ago
S. Elliott Johnson
99ed291434
types
8 months ago
S. Elliott Johnson
e6ddbba9ef
dumb
8 months ago
S. Elliott Johnson
7158321369
Merge branch 'elliott/variadic-snippets' of github.com:sveltejs/svelte into elliott/variadic-snippets
8 months ago
S. Elliott Johnson
cfee4356b3
fix: Hopefully default param values now work
8 months ago
S. Elliott Johnson
c4509b2de8
Merge remote-tracking branch 'origin' into elliott/variadic-snippets
8 months ago
github-actions[bot]
0c58524d23
Version Packages (next) ( #10070 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 months ago
Dominic Gannaway
ddd7926240
fix: improve key block reactivity detection ( #10092 )
8 months ago
Dominic Gannaway
86eae7e77d
fix: loosen input in button error ( #10083 )
...
The validation exists to error on html that would result in the browser repairing it, causing hydration errors. input is never moved, so we can remove it from the array
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
8 months ago
Dominic Gannaway
94aab90bd1
fix: improve text node output ( #10081 )
...
* fix: improve text node output
* revert
8 months ago
Fritz Lin
e9b0908ed8
docs: add missing on:click to immutable example ( #10079 )
8 months ago
navorite
3c6977add3
fix: improve style parser whitespace handling ( #10077 )
...
allow whitespace, allow comments
fixes #10073
8 months ago
Simon H
570884eabd
fix: spread attributes reactivity improvements ( #10071 )
...
- the objects could contain getters with reactive values, so we play it safe and assume they're always reactive - fixes #10065
- isolate spreads with call expression similar to how we do it with other effects -fixes #10013
8 months ago
Simon Holthausen
877ff1ee7d
fix: provide `unstate` in server environment
...
fixes #10016
8 months ago
Simon Holthausen
2a0097e4ee
docs: note null/undefined breaking change
...
closes #10043
8 months ago
Simon H
2133d7d67a
fix: support TS satisfies operator ( #10068 )
...
fixes #9606
8 months ago
github-actions[bot]
fa8aa2d481
Version Packages (next) ( #10052 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
8 months ago
Dominic Gannaway
5f3fcaf88a
fix: bail-out event handler referencing each index ( #10063 )
...
* fix: bail-out event handler referencing each index
* lint
* ts
* types
8 months ago
Simon H
15d6308d60
fix: catch delegated events from elements moved outside the container ( #10060 )
...
fixes #9777
8 months ago
S. Elliott Johnson
36601effe9
Update packages/svelte/src/compiler/phases/1-parse/state/tag.js
...
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
8 months ago
S. Elliott Johnson
381fd7b813
Update packages/svelte/src/compiler/phases/1-parse/state/tag.js
...
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
8 months ago
Simon H
8a8505928e
fix: deeply unstate objects passed to inspect ( #10056 )
...
When doing `$inspect({ x, y })`, both `x` and `y` are now unstated if they are signals, compared to before where `unstate` was only called on the top level object, leaving the proxies in place which results in a worse debugging experience.
Also improved typings which makes it easier to find related code paths.
8 months ago
Simon H
e46a71e8a3
fix: handle pseudo class elements with content ( #10055 )
...
closes #9398 (the other things in that issue are already addressed)
closes #10019
8 months ago
navorite
6d65b2f8ad
fix: improve parsing of `:nth-of-type(xn+b)` ( #9970 )
...
closes #9969
this also fixes the following along the way:
the + in nth-of-type(+xn-b) would be parsed as a combinator.
invalid cases like these are not allowed anymore:
b(+/-)b
-ax
-ax-b
-b
8 months ago
Dominic Gannaway
1e33ed5bb9
fix: ensure if block is executed in correct order ( #10053 )
...
* fix: ensure if block is executed in correct order
* alternative approach
* improve algo
* optimize
* lint
8 months ago
Simon H
98a72f5068
chore: check in types ( #9863 )
...
To ensure that changes to code/types doesn't result in unwanted changes in type generation, or that bumps to dts-buddy don't cause unwanted regressions, we're checking in the generated types. Types should be committed as-is (don't format it with prettier!). CI is enhanced to check that git sees no changed files after generating the types, which would mean types have changed.
8 months ago
navorite
abc126630a
fix: add types for popover attributes and events ( #10041 )
...
closes #10036 , this also moves the HTMLDetailsElement toggle event to its interface as it was conflicting with HTMLElement popover toggle event.
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
8 months ago
navorite
d56223b162
fix: improve script `lang` attribute detection ( #10046 )
...
closes #10038
8 months ago
Jeremy Deutsch
346041f454
chore: skip generating $.proxy() calls for more expressions ( #9979 )
...
* chore: skip emitting $.proxy() calls for more expressions
* Update pretty-ties-help.md
---------
Co-authored-by: Dominic Gannaway <trueadm@users.noreply.github.com>
8 months ago
Jason Chase
60575ad494
docs: fix typo in snippets doc ( #10030 )
...
"Declare" should be "Declared" (past tense)
8 months ago