Commit Graph

536 Commits (9f823b95e31eee93e1ed03d5e9f34cd16fade5b7)

Author SHA1 Message Date
Simon H 3c2e656187
fix: tweak css nth regex (#9806)
2 years ago
Rich Harris 62c9292947
feat: make fallback prop values readonly (#9789)
2 years ago
Rich Harris bd8f7db754
check runtime errors (#9791)
2 years ago
Rich Harris 24777c335a
feat: disallow fallback values with bindings in runes mode (#9784)
2 years ago
Dominic Gannaway c7e626ebbb
feat: add unstate utility function (#9776)
2 years ago
Dominic Gannaway f1954d034b
fix: ensure proxied array length is updated (#9782)
2 years ago
Rich Harris 10aacfa603
chore: remove `exposable` (#9783)
2 years ago
Dominic Gannaway 25abca78b2
fix: ensure transitions properly cancel on completion (#9778)
2 years ago
Simon H ef158ff729
fix: apply event attribute validation to elements only (#9772)
2 years ago
Rich Harris ede5dab230
chore: fix compiler-errors test suite (#9754)
2 years ago
Rich Harris 75fc09a79e
Proxied state (#9739)
2 years ago
Dominic Gannaway f0c47c31bc
fix: allow duplicate snippet declaration names (#9759)
2 years ago
Dominic Gannaway ef5bcfe542
fix: ensure event handlers containing arguments are not hoisted (#9758)
2 years ago
Dominic Gannaway 2017af407d
fix: ensure computed props are cached with derived (#9757)
2 years ago
Simon H 402a322317
chore: more validation errors (#9723)
2 years ago
Rich Harris 765d01d76c
correctly inspect derived values (#9731)
2 years ago
Dominic Gannaway 2fa06447cf
fix: improve template text node serialization (#9722)
2 years ago
Dominic Gannaway 7eba35b9d1
fix: improve infinite loop capturing (#9721)
2 years ago
Simon H cb1ea1f2db
fix: ensure `$$slots` exists in runes mode (#9718)
2 years ago
Simon H 4a8f0bc7e7
fix: keep fallback value after spread update not setting that prop (#9717)
2 years ago
Simon H 65fa717ccd
fix: port over props that were set prior to initialization (#9704)
2 years ago
Simon H f88895e955
fix: allow `bind:this` with dynamic type on inputs (#9713)
2 years ago
Simon H 2416587215
fix: ensure implicit children snippet renders correctly (#9706)
2 years ago
Rich Harris bde42d5676
`$inspect` rune (#9705)
2 years ago
Simon H aabab263ee
fix: handle ts expressions when dealing with runes (#9681)
2 years ago
Dominic Gannaway 81d3e47d1c
feat: add $effect.root rune (#9638)
2 years ago
Rich Harris 5836c1cdbd
chore: improve output for `<svelte:element>` (#9648)
2 years ago
Rich Harris 6e863e617c
feat: warn on referenced mutated nonstate (#9669)
2 years ago
Rich Harris 9c44fd7854
feat: ignore href when hydrating (#9662)
2 years ago
Yuichiro Yamashita da1aa7c4a8
feat: support type annotations in `{@const ...}` tag (#9609)
2 years ago
Simon H 617d63dd90
fix: take event attributes into account when checking a11y (#9664)
2 years ago
Simon H 83fd001157
fix: prevent reactive snippet from reinitializing unnecessarily (#9665)
2 years ago
Simon H 7f237c2e41
fix: omit this bind this arg if we know it's not a signal (#9635)
2 years ago
Dominic Gannaway dee5bed829
fix: improve each block index handling (#9644)
2 years ago
Simon Holthausen 63e5831846 fix: adjust mount and createRoot types
2 years ago
Simon Holthausen a3bc7d5698 fix: type-level back-compat for default slot and children prop
2 years ago
Simon H 78a69acfa1
fix: dont error on stores looking like runes when runes explicitly turned off (#9615)
2 years ago
Simon H 72d3a2a8ce
fix: better attribute casing logic (#9626)
2 years ago
Dominic Gannaway ef68b66dee
fix: improve member expression mutation logic (#9625)
2 years ago
Dominic Gannaway d8d9be39d3
fix: apply correct snippet scope (#9623)
2 years ago
Dominic Gannaway 509f92d29e
fix: correctly assign bind:this with multiples (#9617)
2 years ago
Dominic Gannaway 8118efd115
fix: handle undefined bubble events (#9614)
2 years ago
Rich Harris 0283e50070
chore: reuse common templates (#9601)
2 years ago
Simon H 13c6c273c6
fix: prevent false positives when detecting runes mode (#9599)
2 years ago
Rich Harris 1f4ae5ef45
chore: remove some unused code (#9593)
2 years ago
Dominic Gannaway cf9130613d
feat: add $effect.active rune (#9591)
2 years ago
Rich Harris 13aef5245b
put nested class warning on the declaration, not the usage site (#9592)
2 years ago
Dominic Gannaway eb0b4dc6e5
chore: add inline new class warning (#9583)
2 years ago
Simon H 1003acccc4
feat: add Snippet type (#9584)
2 years ago
Dominic Gannaway da15806136
fix: adjust event delegation heuristics (#9581)
2 years ago
Theodore Brown c011db178b
fix: select enabled option with null value when it matches bound value (#9550)
2 years ago
Rich Harris 1bc89b5eb6
fix: deconflict generated names against globals (#9570)
2 years ago
Rich Harris 945a90b56c
fix: disallow static state fields (#9577)
2 years ago
Rich Harris 1c48d7cbdc
Typescript each indexed (#9567)
2 years ago
Rich Harris 225a5bfe50
set expression end to typeAnnotation end where appropriate (#9566)
2 years ago
Rich Harris 459e4ff006
feat: native TypeScript support (#9482)
2 years ago
Simon H 9926347ad9
fix: adjust static attribute regex (#9552)
2 years ago
gtmnayan 550cecf311
chore: shave off more bytes (#9540)
2 years ago
Dominic Gannaway b0588d7888
fix: address intro transition bugs (#9528)
2 years ago
Dominic Gannaway 298da65ed6
chore: more signal fine-tuning (#9531)
2 years ago
Dominic Gannaway f886bc133e
fix: handle intro global transition propagation correctly (#9515)
2 years ago
Dominic Gannaway 3b2e6eac9a
fix: address unowned propagation signal issue (#9510)
2 years ago
Dominic Gannaway 378093941d
fix: ensure we visit assignments during compilation (#9511)
2 years ago
Simon H 4418ba6535
fix: add top level snippets to instance scope (#9467)
2 years ago
Simon H 1beb5e8dc9
fix: tweak script/style tag parsing/preprocessing logic (#9502)
2 years ago
Rich Harris c827b0c772
fix: only treat instance context exports as accessors (#9500)
2 years ago
Rich Harris ede1edd314
fix: emit useful error on invalid binding to derived state (#9497)
2 years ago
Tee Ming 37f249350c
allow setting files (#9463)
2 years ago
Dominic Gannaway 60c273eb76
Revert "fix: address bug in before/after update" (#9480)
2 years ago
Simon H c1f6ee096d
fix: handle dynamic selects with falsy select values (#9471)
2 years ago
Rich Harris d749685b0f
fix: rework directive name handling (#9470)
2 years ago
Paolo Ricciuti 6f3dc04c82
fix: allow member access on directives (#9462)
2 years ago
Dominic Gannaway 9eb969ddd4
fix: address bug in before/after update (#9448)
2 years ago
Rich Harris 6f6c3a0787
fix: only escape attribute values for elements, not components (#9456)
2 years ago
Paolo Ricciuti e90ded677e
fix: allow svelte:self in snippets (#9439)
2 years ago
Dominic Gannaway 73ae5ef5bc
fix: tighten up event attributes and hoisting logic (#9433)
2 years ago
Dominic Gannaway cf63220a0e
fix: ensure keyed fallback to indexed (#9441)
2 years ago
Dominic Gannaway da37c928ef
fix: support dynamic attributes containing call expressions (#9443)
2 years ago
Simon H 9aa06bdf9e
fix: check that snippet is not rendered as a component (#9423)
2 years ago
Dominic Gannaway 5768df1300
chore: remove selector api (#9426)
2 years ago
Dominic Gannaway 17e6c4f834
fix: address runtime effect issues (#9417)
2 years ago
Simon H 9a99554379
breaking: remove Component type, keep using SvelteComponent instead (#9413)
2 years ago
gtmnayan 7a84e78b4d
fix: add snippet symbol to children prop (#9395)
2 years ago
Rich Harris 2aacfad9ae
fix: exclude internal props from spread attributes (#9384)
2 years ago
Simon Holthausen 51394a4834 docs: note more breaking changes
2 years ago
Simon Holthausen fe8a9ce31d breaking: init Svelte 5
2 years ago