Ben McCann
0398a0dc6f
format
8 months ago
Ben McCann
27cfdde137
handle context=module variables
8 months ago
Ben McCann
bc62554204
notes
8 months ago
Ben McCann
acb4455726
cleanup
8 months ago
Ben McCann
c0c653b18b
custom elements
8 months ago
Ben McCann
9429dc8eeb
implement inlining for template text nodes
8 months ago
Ben McCann
d224156ec8
clarify test
8 months ago
Ben McCann
f43965e6d5
add details
8 months ago
Ben McCann
8e17fa741f
merge main
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
Ben McCann
02789dfbe7
regnerate types
8 months ago
Ben McCann
3e1f4c7a0c
Merge branch 'main' into hoist-unmodified-var
8 months ago
Ben McCann
6ffb21bacc
mostly implement inlining for template text nodes
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)
9 months ago
Dennis Kamau
c53e26f2d0
chore: update copyright year to include 2024 ( #10047 )
9 months ago
Ben McCann
d36f460a54
test case and fix
9 months ago
Ben McCann
0c3043c51c
remove extra character
9 months ago
Ben McCann
098462d6ea
expand test to set stage for inlining text nodes
9 months ago
Ben McCann
fcb076b6c1
inline variables in module scope
9 months ago
Ben McCann
eec1110b80
add todo
9 months ago
Ben McCann
2169608d89
fix
9 months ago
Ben McCann
c53ae0c600
remove unused imports
9 months ago
Ben McCann
0cddd53bd4
remove accidental code
9 months ago
Ben McCann
f5151b839b
remove extra blank line
9 months ago
Ben McCann
b0900386f1
fixes
9 months ago
Ben McCann
0bd0c4e77e
fix
9 months ago
Ben McCann
dfe7df0822
update get template
9 months ago
Ben McCann
ba87d707ee
shorter changeset
9 months ago
Ben McCann
a01d4f86ce
cleanup
9 months ago
Ben McCann
57f1977051
inline into template attributes
9 months ago
Ben McCann
e0af98ba51
perf: hoist variables which are not mutated or reassigned
9 months ago
github-actions[bot]
6307a3322c
Version Packages (next) ( #10005 )
...
* Version Packages (next)
* Apply suggestions from code review
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
9 months ago
Rich Harris
69f2840e28
#9985 , but simpler ( #10009 )
...
* #9985 , but simpler
* oops
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
9 months ago
Rich Harris
2ad5e53d53
remove unnecessary test ( #10008 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
9 months ago
Holger Dal Mogensen
8a013c4cc6
fix: transition parameters are not reactive ( #9836 )
...
* test: add tests of transitions in new runtime
* fix: move evaluation of props
* format
* add changeset
9 months ago
S. Elliott Johnson
180b3322b2
feat: minor type improvements ( #9989 )
9 months ago
Tom
c0a357c262
fix: support hydrating around `<noscript>` ( #9953 )
...
* add test
* fix: support hydrating around `<noscript>`
* changeset
9 months ago
Nguyen Tran
bd34367660
fix: Add some tests to avoid regression on #8559 ( #9956 )
...
* Add some tests to avoid regression
* Add runes test and remove extra tests
9 months ago
Nguyen Tran
b31946eb08
fix: Backtick now displays with templates ( #9973 )
...
* Add a test for backtick in template
* Put sanitize_template_string and use it everywhere
* Prettier
* Add changeset
9 months ago