Ben McCann
e7e14547e1
format
11 months ago
Ben McCann
8cc7422a61
merge main
11 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
11 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`
11 months ago
Simon H
92408e1506
fix: get spread + bind working ( #10091 )
...
fixes #10033
11 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
11 months ago
Dominic Gannaway
ebbb5dd655
fix: improve internal signal dependency checking logic ( #10111 )
11 months ago
Ben McCann
623c7c7b46
tweak comment
11 months ago
Ben McCann
0398a0dc6f
format
11 months ago
Ben McCann
27cfdde137
handle context=module variables
11 months ago
Ben McCann
bc62554204
notes
11 months ago
Ben McCann
acb4455726
cleanup
11 months ago
Ben McCann
c0c653b18b
custom elements
11 months ago
Ben McCann
9429dc8eeb
implement inlining for template text nodes
11 months ago
Ben McCann
d224156ec8
clarify test
11 months ago
github-actions[bot]
0c58524d23
Version Packages (next) ( #10070 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
11 months ago
Ben McCann
f43965e6d5
add details
11 months ago
Dominic Gannaway
ddd7926240
fix: improve key block reactivity detection ( #10092 )
11 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>
11 months ago
Dominic Gannaway
94aab90bd1
fix: improve text node output ( #10081 )
...
* fix: improve text node output
* revert
11 months ago
Fritz Lin
e9b0908ed8
docs: add missing on:click to immutable example ( #10079 )
11 months ago
navorite
3c6977add3
fix: improve style parser whitespace handling ( #10077 )
...
allow whitespace, allow comments
fixes #10073
11 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
11 months ago
Simon Holthausen
877ff1ee7d
fix: provide `unstate` in server environment
...
fixes #10016
11 months ago
Simon Holthausen
2a0097e4ee
docs: note null/undefined breaking change
...
closes #10043
11 months ago
Ben McCann
8e17fa741f
merge main
11 months ago
Simon H
2133d7d67a
fix: support TS satisfies operator ( #10068 )
...
fixes #9606
11 months ago
github-actions[bot]
fa8aa2d481
Version Packages (next) ( #10052 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
11 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
11 months ago
Simon H
15d6308d60
fix: catch delegated events from elements moved outside the container ( #10060 )
...
fixes #9777
11 months ago
Ben McCann
02789dfbe7
regnerate types
11 months ago
Ben McCann
3e1f4c7a0c
Merge branch 'main' into hoist-unmodified-var
11 months ago
Ben McCann
6ffb21bacc
mostly implement inlining for template text nodes
11 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.
11 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
11 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
11 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
11 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.
11 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>
11 months ago
navorite
d56223b162
fix: improve script `lang` attribute detection ( #10046 )
...
closes #10038
11 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>
11 months ago
Jason Chase
60575ad494
docs: fix typo in snippets doc ( #10030 )
...
"Declare" should be "Declared" (past tense)
11 months ago
Dennis Kamau
c53e26f2d0
chore: update copyright year to include 2024 ( #10047 )
11 months ago
Ben McCann
d36f460a54
test case and fix
11 months ago
Ben McCann
0c3043c51c
remove extra character
11 months ago
Ben McCann
098462d6ea
expand test to set stage for inlining text nodes
11 months ago
Ben McCann
fcb076b6c1
inline variables in module scope
11 months ago
Ben McCann
eec1110b80
add todo
11 months ago
Ben McCann
2169608d89
fix
11 months ago
Ben McCann
c53ae0c600
remove unused imports
11 months ago