Dominic Gannaway
fa99fa0985
different direction
2 days ago
Dominic Gannaway
11e4ba017e
feat: add support for bind getters/setters
2 days ago
Rich Harris
ac9b7de058
fix: use strict equality for key block comparisons in runes mode ( #14285 )
...
fixes #14283
3 days ago
Dominic Gannaway
25d9aa1828
chore: simplify signal capturing logic ( #14281 )
3 days ago
github-actions[bot]
f5a7d49216
Version Packages ( #14274 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
3 days ago
Torsten Dittmann
033061842d
fix: named slots with reserved keywords during migration ( #14278 )
...
Fixes named slots with a reserved keyword not working anymore after migration. Re-uses the @migration-task logic for invalid identifiers.
Fixes #14277
4 days ago
Simon H
36ece1c381
fix: don't wrap pseudo classes inside `:global(...)` with another `:global(...)` ( #14267 )
...
fixes #14088
4 days ago
github-actions[bot]
4a85c4157d
Version Packages ( #14262 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 days ago
Paolo Ricciuti
0fa43e216d
fix: consider static attributes that are inlined in the template ( #14249 )
...
* fix: consider static attributes that are inlined in the template
* fix: use `is_inlinable_expression`
* fix: move check for inlinable expression as last
* fix: simplify and correct
* chore: accept single node in `is_inlinable_expression`
* chore: update comment
* chore: add snapshots for non static nodes
5 days ago
github-actions[bot]
832499fee8
Version Packages ( #14251 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 days ago
Paolo Ricciuti
653f4accbd
fix: migration script messing with attributes ( #14260 )
5 days ago
Paolo Ricciuti
ae9f53a3bd
fix: account for mutations in script module in ownership check ( #14253 )
5 days ago
Paolo Ricciuti
7bc94b9984
fix: do not treat reassigned synthetic binds as state in runes mode ( #14236 )
...
* fix: do not treat reassigned synthetic binds as state in runes mode
* fix: avoid calling checks if we are in runes mode
5 days ago
Paolo Ricciuti
d207666ec3
fix: consider img with loading attribute not static ( #14237 )
...
* fix: consider img with loading attribute not static
* chore: add comment for `is_static_element`
* chore: better comment
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
6 days ago
Hosam Sultan
1e5a385c96
docs: fix typo ( #14232 )
6 days ago
CJSnyman
6534742ae1
docs: fix grammar ( #14244 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
6 days ago
github-actions[bot]
4bcd01b994
Version Packages ( #14207 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 week ago
Paolo Ricciuti
1060bea6e1
fix: consider `valueOf` in the reactive methods of `SvelteDate` ( #14227 )
1 week ago
Paolo Ricciuti
f0c2d4c698
fix: account for shadowing children slot during migration ( #14224 )
...
Fixes #14171
1 week ago
Simon H
31e6bbb646
fix: add `lang="ts"` attribute during migration if needed ( #14222 )
...
* fix: add `lang="ts"` attribute during migration if needed
fixes #14219
* fix
1 week ago
Paolo Ricciuti
438de04fb2
fix: add migration task when there's a variable named that would conflict with a rune ( #14216 )
...
Closes #14215
1 week ago
Simon H
870745fc53
fix: handle sibling combinators within `:has` ( #14213 )
...
We didn't collect sibling elements of a given element to then check the `:has` selectors. This adds the logic for that. Fixes #14072
1 week ago
Paolo Ricciuti
53af138d58
fix: read index as a source in legacy keyed each block ( #14208 )
...
Fixes #14203
1 week ago
Paolo Ricciuti
ea0d80e195
fix: consider variables with synthetic store sub as state ( #14195 )
...
Fixes #14183
1 week ago
Simon H
1eed645919
fix: ensure explicit nesting selector is always applied ( #14193 )
...
Previously, we were applying an explicit nesting selector to the start of a relative selector chain only when starting the traversal. Prepending the selector is important because it ensures we traverse upwards to the parent rule when the current selectors all matched and there's still more to do. But we forgot to do the prepend for parent rules, which meant that if we were nested two levels deep, we would stop too early. This fix ensures we prepend in that case, too.
Fixes #14178
1 week ago
github-actions[bot]
d7caf0833c
Version Packages ( #14184 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 week ago
Dominic Gannaway
7eb4cb91d7
chore: ensure binding events are without context ( #14194 )
...
* chore: ensure binding events are without context
* doh
1 week ago
Rich Harris
5ce1159ec3
Update 03-typescript.md ( #14197 )
1 week ago
Paolo Ricciuti
44a833fafe
fix: restore active reaction if then block throws ( #14191 )
1 week ago
Dominic Gannaway
f1aeaf19e5
feat: adds legacy mode flag ( #14180 )
...
* feat: adds legacy mode flag
* feedback
* feedback and tweaks
* feedback and tweaks
* tweaks
* tweaks
* tweaks
* tweaks
1 week ago
Scott
26d109cb11
docs: `SvelteHTMLElements` can be used for creating component wrapper ( #14162 )
1 week ago
Simon H
9b2a8f15fb
fix: ignore `as` type expressions on property definitions ( #14181 )
...
fixes #14179
1 week ago
github-actions[bot]
c49949621b
Version Packages ( #14167 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 week ago
Simon H
aa23415179
fix: remove scoping for most `:not` selectors ( #14177 )
...
fixes #14168
This reverts the whole "selectors inside `:not` are scoped" logic. Scoping is done so that styles don't bleed. But within `:not`,everything is reversed, which means scoping the selectors now means they are more likely to bleed. That is the opposite of what we want to achieve, therefore we should just leave those selectors alone.
The exception are `:not` selectors with descendant selectors, as that means "look up the tree" and we need to scope all ancestor elements in that case.
1 week ago
Rich Harris
d03337707f
empty commit to trigger docs workflow
1 week ago
Rich Harris
8c549f78bc
empty commit to trigger docs workflow
1 week ago
Caique Torres
5077061695
fix: issue with implicit public modifier causing undefined properties ( #14153 )
...
closes #14152
1 week ago
github-actions[bot]
ecc9b97a5b
Version Packages ( #14097 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2 weeks ago
Rich Harris
927319c139
fix: update links in JSDoc ( #14165 )
2 weeks ago
Paolo Ricciuti
e786729555
fix: find the right sha for logging ( #14159 )
2 weeks ago
Paolo Ricciuti
0c853208ce
fix: we are getting there...this should be it ( #14158 )
2 weeks ago
Paolo Ricciuti
16a40a8bce
fix: use both correct paths ( #14157 )
...
* fix: try to read from right folder
* fix: use both correct paths
2 weeks ago
Paolo Ricciuti
f1f4c29a99
fix: `pkg.pr.new` comment workflow ( #14156 )
...
* fix: `pkg.pr.new` comment workflow
* chore: remove path from initial workflow and add ls
* chore: add path back since it's mandatory
2 weeks ago
Paolo Ricciuti
0ce4b559f2
chore: add custom comment with link to playground for `pkg.pr.new` ( #14151 )
...
* chore: add custom comment with link to playground for `pkg.pr.new`
* chore: small updates to the script output
* chore: refine comment a bit, include multiple packages
* tweak comment
* chore: two steps workflow
* chore: update workflow
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
2 weeks ago
Pig Fang
3d67cd53db
docs: fix migration guide typo ( #14155 )
2 weeks ago
Gonzalo Ruiz
e6dd871819
fix: ensure migrate keeps inline/trailing comments in $props type definition and produces non-broken code ( #14143 )
...
* feat[sv migrate]: keep inline/trailing comments when migrating export let types to type definition
* test: add tests for inline comment migration
* chore: add changeset
* fix: migrate trailing multiline comment parsing no longer results in broken code, FIXES PR #14143#issuecomment-2455702689
* test: add migrate test with same-line trailing multiline comments and same-line leading multiline comments
* chore: add changeset
* fix: lint
---------
Co-authored-by: Gonzalo Ruiz <rgon@rgon.es>
Co-authored-by: paoloricciuti <ricciutipaolo@gmail.com>
2 weeks ago
Simon H
7dbe812fc9
fix: ensure non-matching elements are scoped for `:not(...)` selector ( #13999 )
...
If the contents of a `:not` selector don't match, then it's actually a match for `:not` because it's inverted. Therefore, we need to scope such elements. We're also making sure that contents of `:not` that never match actually count as a used (because the result is negated), and as such the contents of `:not` that always match are actually marked as unused.
Fixes #13974
2 weeks ago
wackbyte
57e27ae90e
fix: only output the key for each_key_duplicate ( #14147 )
...
Fixes #14146
2 weeks ago
Christoph Sanz
87d83ffa39
Add same note as in tutorial to doc. ( #14136 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
2 weeks ago
Rich Harris
c6904e892f
use pull_request_target ( #14148 )
2 weeks ago