Commit Graph

2186 Commits (973b51d16891567851c89f88d03c8aa71e0084a4)

Author SHA1 Message Date
Rich Harris 0ec251f09d
chore: remove outdated TODO comment (#14664)
11 months ago
github-actions[bot] a5a4649743
Version Packages (#14679)
11 months ago
Simon H 68d266e0f8
fix: remove overzealous `reactive_declaration_non_reactive_property` warning (#14663)
11 months ago
Paolo Ricciuti ea6fd95332
fix: account for global block in `is_empty` (#14677)
11 months ago
github-actions[bot] b0374f8863
Version Packages (#14662)
11 months ago
Rich Harris d43a10ba7a
feat: add `svelte/reactivity/window` module (#14660)
11 months ago
Simon H a2539cfe1f
fix: correctly set custom element props (#14508)
11 months ago
github-actions[bot] cb5734ae66
Version Packages (#14652)
11 months ago
grieben a26b6d80ef
fix: overwrite #last_value when Spring is `.set()` with `{instant: true}` (#14656)
11 months ago
Dominic Gannaway fb879dd702
fix: ensure $state.snapshot clones holey arrays correctly (#14657)
11 months ago
Paolo Ricciuti ab1f7f437e
fix: transform everything that is not a selector inside `:global` (#14577)
11 months ago
Simon H 88184cd769
fix: don't emit assignment warnings for bindings (#14651)
11 months ago
Dominic Gannaway 66e30d3288
fix: ensure snippet hoisting works in the correct scope (#14642)
11 months ago
Dominic Gannaway 9cfd2e20ab
fix: restore input binding selection position (#14649)
11 months ago
github-actions[bot] 8bee23e387
Version Packages (#14631)
12 months ago
Simon H cfc1fb7de8
chore: provide links to documentation for errors/warnings (#14629)
12 months ago
Rich Harris 3dcd5a4a3e
fix docs (#14635)
12 months ago
Simon H c6fca02009
docs: more details for errors/warnings on the site (#14632)
12 months ago
Paolo Ricciuti 11764632b9
fix: deconflict `get_name` for literal class properties (#14607)
12 months ago
Paolo Ricciuti 38171f60ea
fix: allow exports with source from script module even if no bind is present (#14620)
12 months ago
github-actions[bot] 0a10c59517
Version Packages (#14628)
12 months ago
Paolo Ricciuti c66bf178aa
fix: mark subtree dynamic for bind with sequence expressions (#14626)
12 months ago
github-actions[bot] 301744f1f7
Version Packages (#14598)
12 months ago
Dominic Gannaway 5771b455c0
feat: add support for bind getter/setters (#14307)
12 months ago
Rich Harris 1a0b822f48
fix: always run `if` block code the first time (#14597)
12 months ago
github-actions[bot] 98286349b2
Version Packages (#14593)
12 months ago
Rich Harris 65fdcec55d
chore: regenerate types (#14592)
12 months ago
Rich Harris 8433a7169b
fix: reinstate `prefersReducedMotion` (#14586)
12 months ago
Rich Harris 7086709767
add since tag to Spring (#14585)
12 months ago
github-actions[bot] 947d4adf3b
Version Packages (#14583)
12 months ago
Rich Harris 80ffcc3fe1
feat: add Spring and Tween classes (#11519)
12 months ago
github-actions[bot] 60c0dc7a2d
Version Packages (#14576)
12 months ago
Simon H ca67aa1b34
fix: ensure bindings always take precedence over spreads (#14575)
12 months ago
Rich Harris 6a6b4ec36a
fix deprecation notices (#14574)
12 months ago
github-actions[bot] 7f5172745d
Version Packages (#14570)
12 months ago
Simon H 0a9890bb1e
feat: provide `MediaQuery` / `prefersReducedMotion` (#14422)
12 months ago
Simon H 73b3cf72d0
fix: treat `undefined` and `null` the same for the initial input value (#14562)
12 months ago
github-actions[bot] 85dec47a5e
Version Packages (#14557)
12 months ago
Dominic Gannaway a220330011
chore: make if blocks tree-shakable (#14549)
12 months ago
github-actions[bot] 51c9eac577
Version Packages (#14556)
12 months ago
Simon H a151ae1804
fix: handle static form values in combination with default values (#14555)
12 months ago
github-actions[bot] c0746e0e73
Version Packages (#14552)
12 months ago
Simon H a57e747cbb
feat: default values for form elements (#14289)
12 months ago
github-actions[bot] c55af4aa83
Version Packages (#14548)
12 months ago
Simon H 86ae349bcc
fix: better error messages for invalid HTML trees (#14445)
12 months ago
Rich Harris 4e77bdef74
fix: respect the unidirectional nature of time (#14541)
12 months ago
adiGuba d511104ee0
chore: make test more robust (#14550)
12 months ago
Paolo Ricciuti 1f973b1770
fix: remove spreaded event handlers when they become nullish (#14546)
12 months ago
Rich Harris 4c4f18b24c
chore: fix docs (#14538)
12 months ago
github-actions[bot] 3d9122fcc4
Version Packages (#14537)
12 months ago
Rich Harris fe0bd299a5
fix: proxify values when assigning using `||=`, `&&=` and `??=` operators (#14273)
12 months ago
Simon H bbee1fc7e0
fix: don't try to add owners to non-`$state` class fields (#14533)
12 months ago
Dominic Gannaway b5588523fc
fix: capture infinite_loop_guard in error boundary (#14534)
12 months ago
github-actions[bot] a65e68ca37
Version Packages (#14530)
12 months ago
github-actions[bot] d595cc16fb
Version Packages (#14529)
12 months ago
Rich Harris 2f8eda94f3
fix: ensure SvelteDate cached methods have correct reactive context (#14525)
12 months ago
Paolo Ricciuti 39275684e5
fix: don't throw with nullish actions (#13559)
12 months ago
Rich Harris a5de086f95
feat: turn `reactive_declaration_non_reactive_property` into a runtime warning (#14192)
12 months ago
Rich Harris aac929d503
fix: leave update expressions untransformed unless a transformer is provided (#14507)
12 months ago
Dominic Gannaway 94694a5e63
chore: add test for binding event reactive context (#14522)
12 months ago
github-actions[bot] e722ef6b15
Version Packages (#14510)
12 months ago
Dominic Gannaway 4d2f2fb8e6
feat: allow snippets to be exported from module scripts (#14315)
12 months ago
Rich Harris 2e57612ef4
chore: fix typo (#14513)
12 months ago
Simon H b72fd2b3cd
fix: ignore TypeScript generics on variables (#14509)
12 months ago
github-actions[bot] a091fb5ce6
Version Packages (#14501)
12 months ago
Simon H a283083751
feat: each without as (#14396)
12 months ago
github-actions[bot] a39605ec7a
Version Packages (#14499)
12 months ago
Rich Harris ef640c3b46
fix: render attributes during SSR regardless of case (#14492)
12 months ago
Rich Harris 83cec2f3d1
chore: better SSR output for <svelte:element> (#14493)
12 months ago
Rich Harris 1f25bd4f47
fix: correctly prune CSS for elements inside snippets (#14494)
12 months ago
github-actions[bot] 99b4cfbb51
Version Packages (#14489)
12 months ago
ComputerGuy 945b625e95
fix: Prevent `$state` `bigint`s incrementing and decrementing from throwing (#14485)
12 months ago
Rich Harris fe15ad4ae8
fix: treat spread elements the same as call expressions (#14488)
12 months ago
github-actions[bot] f75a9a566e
Version Packages (#14486)
12 months ago
Dominic Gannaway ed7ebcde1e
feat: add error boundaries (#14211)
12 months ago
Romain l'Ourson f2eed15c02
docs: fix scale description (#14454)
12 months ago
github-actions[bot] 6dd60b5685
Version Packages (#14477)
12 months ago
Ben McCann 4c88431228
fix: upgrade to esm-env 1.2.1 to fix issues with non-Vite setups (#14470)
12 months ago
Rich Harris 00aaad16b2
fix: generate correct code when encountering object expression statement (#14480)
12 months ago
Rich Harris a60e837e44
fix: prevent infinite loops when pruning CSS (#14474)
12 months ago
github-actions[bot] ca3690f7df
Version Packages (#14464)
12 months ago
Simon H d62e7bdbe1
fix: ignore text and expressions outside the template when validating HTML (#14468)
12 months ago
Rich Harris c4ac0e01e7
fix: better account for render tags when pruning CSS (#14456)
12 months ago
github-actions[bot] dcef8ff45a
Version Packages (#14451)
12 months ago
Simon H d6fc176fcb
fix: strip exported TypeScript function overloads (#14458)
12 months ago
Ben McCann 41e47a4c00
chore: upgrade esm-env for Vite 6 support (#14460)
12 months ago
Rich Harris e9ff665bea
chore: minor css-prune.js tweaks (#14457)
12 months ago
Paolo Ricciuti 19d80ad63c
fix: css pruning producing invalid css (#14448)
12 months ago
Ben McCann 4f318e6ad6
chore: remove unused dep and upgrade another one (#14449)
12 months ago
Rich Harris 1a8aab0e38
chore: remove `node.parent` and `node.prev` (#14447)
12 months ago
github-actions[bot] 3a6bf1041b
Version Packages (#14444)
12 months ago
Dominic Gannaway 45417a36ce
fix: addresses memory leak when creating deriveds inside untrack (#14443)
12 months ago
Rich Harris a6ad5af0bb
fix: disregard TypeScript nodes when pruning CSS (#14446)
12 months ago
Simon H 3fa08d565c
fix: show `:then` block for `null` value (#14440)
12 months ago
Simon H 9e9fb2463c
fix: relax parent validation (#14442)
12 months ago
Rich Harris 4f0dde5207
chore: simplify css pruning slightly (#14432)
12 months ago
Rich Harris 1912459308
chore: initialize snippet binding correctly (#14430)
12 months ago
Rich Harris d2ce0a79ae
remove stylesheet property from state (#14429)
12 months ago
github-actions[bot] 2b5c0e791e
Version Packages (#14383)
12 months ago
Dominic Gannaway 63484aff9b
fix: ensure last empty text node correctly hydrates (#14425)
12 months ago
Rich Harris 37e6c7f26b
fix: correctly prune key/each blocks (#14403)
1 year ago
Theodor Steiner e721d96d32
fix: export temporary LegacyComponentType (#14256) (#14257)
1 year ago
Rich Harris 046900876f
chore: remove references to node.parent (#14395)
1 year ago
Dominic Gannaway dd9abea2a1
fix: ensure spread attribute events are attached synchronously (#14387)
1 year ago
github-actions[bot] 6e391fce59
Version Packages (#14380)
1 year ago
Paolo Ricciuti 520055cf5c
fix: always use set for private identifiers (#14378)
1 year ago
github-actions[bot] 85ec6fa276
Version Packages (#14377)
1 year ago
Dominic Gannaway 9d12fd1a01
chore: remove template expression inlining (#14374)
1 year ago
github-actions[bot] f616c22053
Version Packages (#14366)
1 year ago
Dominic Gannaway 811c8d32eb
fix: correctly handle srcObject attribute on video elements (#14369)
1 year ago
Frédéric Crozatier 7bd1cdf427
feat: add content-visibility: auto state change event (#14373)
1 year ago
Simon H 4dfa0e31fe
fix: tighten up `export default` validation (#14368)
1 year ago
Simon H 4c98c2e4a6
chore: consolidate checks for never-static attributes (#14372)
1 year ago
Paolo Ricciuti 32a1453805
fix: include method definitions in class private fields (#14365)
1 year ago
Rich Harris ce471310c4
chore: remove some unused code (#14363)
1 year ago
github-actions[bot] 53cc60085e
Version Packages (#14362)
1 year ago
Dominic Gannaway 747d40833b
fix: ensure is_pure takes into account runes (#14333)
1 year ago
Dominic Gannaway 741106879b
fix: ensure internal cloning can work circular values (#14347)
1 year ago
Dominic Gannaway 6e8267f462
fix: correctly update dynamic member expressions (#14359)
1 year ago
Santiago Cézar 012166ec3c
fix: convert input value to number on hydration (#14349)
1 year ago
github-actions[bot] b145035a00
Version Packages (#14348)
1 year ago
Dominic Gannaway 1c454c236e
fix: ensure dynamic call expressions correctly generate output (#14345)
1 year ago
github-actions[bot] 396ea2ef37
Version Packages (#14328)
1 year ago
Dominic Gannaway 3a69b4c415
fix: ensure inline object literals are correctly serialised (#14325)
1 year ago
github-actions[bot] 95ab85fad7
Version Packages (#14304)
1 year ago
Simon H 94471ca38e
fix: avoid relying on Node specifics within compiler (#14314)
1 year ago
Paolo Ricciuti 1f0700f5c5
fix: mark subtree dynamic for img with loading attribute (#14317)
1 year ago
Simon H efc65d4e0c
fix: mark pseudo classes nested inside `:not` as used (#14303)
1 year ago
Simon H e379319626
fix: ensure props passed to components via mount are updateable (#14210)
1 year ago
Dominic Gannaway 7fd3774015
fix: disallow invalid attributes for `<svelte:window>` and `<svelte:document>` (#14228)
1 year ago
github-actions[bot] 312dd51acc
Version Packages (#14302)
1 year ago
Paolo Ricciuti 8a8e6f70e8
fix: avoid marking subtree as dynamic for inlined attributes (#14269)
1 year ago
github-actions[bot] 6a7146bee7
Version Packages (#14287)
1 year ago
Simon H 320ebd24d8
fix: bump `is-reference` dependency to fix `import.meta` bug (#14286)
1 year ago
Simon H 45fa678242
fix: account for `:has(...)` as part of `:root` (#14229)
1 year ago
Rich Harris ac9b7de058
fix: use strict equality for key block comparisons in runes mode (#14285)
1 year ago
Dominic Gannaway 25d9aa1828
chore: simplify signal capturing logic (#14281)
1 year ago
github-actions[bot] f5a7d49216
Version Packages (#14274)
1 year ago
Torsten Dittmann 033061842d
fix: named slots with reserved keywords during migration (#14278)
1 year ago
Simon H 36ece1c381
fix: don't wrap pseudo classes inside `:global(...)` with another `:global(...)` (#14267)
1 year ago
github-actions[bot] 4a85c4157d
Version Packages (#14262)
1 year ago
Paolo Ricciuti 0fa43e216d
fix: consider static attributes that are inlined in the template (#14249)
1 year ago
github-actions[bot] 832499fee8
Version Packages (#14251)
1 year ago
Paolo Ricciuti 653f4accbd
fix: migration script messing with attributes (#14260)
1 year ago
Paolo Ricciuti ae9f53a3bd
fix: account for mutations in script module in ownership check (#14253)
1 year ago
Paolo Ricciuti 7bc94b9984
fix: do not treat reassigned synthetic binds as state in runes mode (#14236)
1 year ago
Paolo Ricciuti d207666ec3
fix: consider img with loading attribute not static (#14237)
1 year ago
github-actions[bot] 4bcd01b994
Version Packages (#14207)
1 year ago
Paolo Ricciuti 1060bea6e1
fix: consider `valueOf` in the reactive methods of `SvelteDate` (#14227)
1 year ago
Paolo Ricciuti f0c2d4c698
fix: account for shadowing children slot during migration (#14224)
1 year ago