Commit Graph

448 Commits (custom-condition)

Author SHA1 Message Date
Paolo Ricciuti b7179abf61
Merge branch 'main' into svelte-custom-renderer
5 months ago
Wesley bd29b9ef2b
docs: document $state.snapshot toJSON behavior (#18154)
5 months ago
Paolo Ricciuti d333a7f0bb
Merge branch 'main' into svelte-custom-renderer
5 months ago
Rohan Santhosh Kumar 48dc9b40c0
docs: fix spacing around option tag in bind docs (#18114)
5 months ago
Paolo Ricciuti 20bd0cfc13
Merge branch 'main' into svelte-custom-renderer
6 months ago
Rich Harris 0e9e76f292
fix: freeze deriveds once their containing effects are destroyed (#17921)
6 months ago
Paolo Ricciuti d7e01b7634
Merge branch 'main' into svelte-custom-renderer
6 months ago
Matia 7a2a17557c
docs: add CSS custom properties section to style directive (#18065)
6 months ago
paoloricciuti 883611fd8b chore: remove duplicate error
6 months ago
paoloricciuti 7d37884d38 fix: throw error if snippet is rendered in renderer different from compiler
6 months ago
Paolo Ricciuti 63d87445db
Merge branch 'main' into svelte-custom-renderer
6 months ago
Rich Harris ff3495dc05
fix: disallow `--` in `idPrefix` (#18038)
6 months ago
Scott Wu 51629ec7bd
docs: update references to `vite-plugin-svelte` (#18027)
6 months ago
paoloricciuti 13ae09b861 fix: throw descriptive error if using `createRawSnippet` using custom renderer
6 months ago
paoloricciuti df42e4babd fix: add validations for `svelte:dom` elements
6 months ago
paoloricciuti 098cdebe95 fix: disallow css injected with custom renderer
6 months ago
Rohit Nair P 4879f9da99
fix: improve duplicate module import error message (#18016)
6 months ago
Rich Harris 54ba176d2c
docs: 'open in playground' links (#17983)
6 months ago
Razin Shafayet b90a5dfb61
docs: clarify `$derived` `await` behavior and dependency tracking (#17696)
6 months ago
吴杨帆 0c669d9bc9
docs: recommend createContext as the primary method for context (#17959)
6 months ago
Rich Harris a513da0445
chore: add invariant utility (#17929)
7 months ago
Theodore Brown f598b4b3c0
fix:typo in best practices documentation (#17915)
7 months ago
Rohan Santhosh 51d305d18a
docs: fix usable spelling in migration guide (#17889)
7 months ago
Paolo Ricciuti ef95f34ae1
docs: add skill true frontmatter (#17877)
7 months ago
Rich Harris 6e9b2a6fd8
docs: best practices (#17804)
7 months ago
Gautier Ben Aïm 10380c2309
docs: fix list item (#17815)
7 months ago
Rich Harris 04ba134d33
docs: flesh out `attribute_invalid_sequence_expression` message (#17789)
7 months ago
Gautier Ben Aïm d83e4be1f0
docs: document the {' '} trick (#17806)
7 months ago
Andre Hora 9360563c94
docs: remove reference to archived https://github.com/sveltejs/template (#17779)
7 months ago
Theodor Steiner c98ce6945d
docs: migrate <svelte:document> to use attachment instead of action (#17749)
7 months ago
Simon H 2661513cd3
feat: allow error boundaries to work on the server (#17672)
7 months ago
Elliott Johnson 73098bb26c
Merge commit from fork
7 months ago
Rich Harris 2287ad005a
fix: detect and error on non-idempotent each block keys in dev mode (#17732)
8 months ago
Rich Harris 7cdd8740c6
docs: clarify that each blocks use Array.from (#17691)
8 months ago
Rich Harris f09785424b
docs: add crosslinks (#17663)
8 months ago
Michel Heusschen 6ad6eb1bbf
docs: add section on conditional attachments (#17599)
8 months ago
Artyom Alekseevich 01db7b8c2a
fix: update migration guide to reflect current passive events (#17631)
8 months ago
Artyom Alekseevich 989492f057
fix: use "set up" (verb) instead of "setup" (noun) in comments (#17632)
8 months ago
Rich Harris fcbd3e325a
feat: allow use of createContext when instantiating components programmatically (#17575)
8 months ago
GiantDragon9090 08448c501b
docs: update FAQ to mention SvelteKit hash-based routing support (#17546)
8 months ago
Rich Harris a66f453b56
docs: tweaking getting started instructions (#17566)
8 months ago
Bladesheng 0cbf718aef
feat: allow passing `ShadowRootInit` to custom element `shadow` options (#17088)
8 months ago
Gokul c041d122ba
docs: add note about typing children as Snippet in $props (#17534)
8 months ago
Pooh 7ab62a5878
docs: fix <svelte:boundary> tag in const_tag_invalid_placement message (#17501)
8 months ago
Elliott Johnson c86c4fdca1
feat: Add CSP support for `hydratable` (#17338)
10 months ago
Razin Shafayet 866ae6cdc7
docs: update #each to reflect support for null and undefined (#17339)
10 months ago
Davi Oliveira da Silva 5efbfa8e2b
docs: Updated docs to include usage of $bindable for bidirectional bindings and its possible riscs (#17121)
10 months ago
Ben McCann ad91827a23
docs: update link to sveltesociety (#17320)
10 months ago
dev-singh12 ba9de6a47b
docs: update outdated Svelte Society editor support link URL (#17292)
10 months ago
ComputerGuy bec7ca7918
fix: throw on invalid `{@tag}`s (#17256)
10 months ago
Alejandro Torres 3c63b12ccd
chore: fix typos in code comments and documentation (#17187)
10 months ago
t11r 707b6b8c20
docs: improve typography (#17222)
10 months ago
Rich Harris 99362b029b
—
10 months ago
Elliott Johnson c2a110cd81
feat: `hydratable` (#17154)
10 months ago
Simon H 84b261886b
chore: lift "flushSync cannot be called in effects" restriction (#17139)
10 months ago
Simon H 91486fa807
fix: take async into account for bindings/transitions/animations/attachments (#17198)
10 months ago
Rich Harris 657ec89caa
fix: ignore fork `discard()` after `commit()` (#17034)
11 months ago
Rich Harris c08ecba1b7
feat: forking (#17004)
11 months ago
Rich Harris 4b32d6d8b3
fix: make `$inspect` logs come from the callsite (#17001)
11 months ago
Rich Harris 53f2693b3b
feat: `$state.eager(value)` (#16849)
12 months ago
Rich Harris 9b5fb3f430
fix: error if `each` block has `key` but no `as` clause (#16966)
12 months ago
Rich Harris d6d13ced08
docs: improve createContext documentation (#16952)
12 months ago
Rich Harris ec99d7bc4c
fix docs (#16953)
12 months ago
Elliott Johnson 9cdd76e3a3
chore: Remove annoying sync-async warning (#16949)
12 months ago
Rich Harris f3c55e8e6c
feat: add `createContext` utility for type-safe context (#16948)
12 months ago
Rich Harris b05e12fd63
fix code block (#16937)
12 months ago
Ben McCann ba782f9fde
docs: link to custom renderer issue in Svelte Native discussion (#16896)
12 months ago
Hyunbin Seo b91f9de129
docs: await no longer need pending (#16900)
12 months ago
7nik 93012e1e6f
fix: track the user's getter of `bind:this` (#16916)
12 months ago
Ben McCann 30e2b23b59
docs: update one more link to the packages page (#16883)
1 year ago
Ben McCann 01fc47d155
docs: link to new packages page (#16882)
1 year ago
Michael Shilman fdb01fd966
docs: Promote Storybook testing to h2 (#16792)
1 year ago
Yuki Ishii 4f653ddcea
fix: update error message to clarify usage with radio inputs (#16874)
1 year ago
Jakub Kolesár 46c10d0476
fix: missing title warning for buttons and anchor tags (#16872)
1 year ago
Conduitry e0dba165b4
docs: remove reference to SSR being synchronous (#16861)
1 year ago
Tee Ming c75e862677
Update 19-await-expressions.md (#16827)
1 year ago
Rich Harris 7d9962a572
docs: update await expressions documentation (#16822)
1 year ago
Rich Harris 6076bab730
fix: issue `state_proxy_unmount` warning when unmounting a state proxy (#16747)
1 year ago
Elliott Johnson b8fd326d96
feat: async SSR (#16748)
1 year ago
Kyle Gach 08b3b66865
docs: add testing with storybook (#16701)
1 year ago
Jinay Patel 9d1aa699b6
Docs: Updated the custom elements documentation to include $host (#16686)
1 year ago
Simon H a60995abef
fix: allow async `{@const}` in more places (#16643)
1 year ago
Justin Paige 9efe672df2
Update 18-class.md (#16558)
1 year ago
Rich Harris e7e8a9c7b7
docs: remove 'thus', fix some phrasing (#16559)
1 year ago
Anthony a3f18351af
docs: corrections (#16550)
1 year ago
ComputerGuy 8067841170
docs: add note about attachments to `svelte/action` docs (#16537)
1 year ago
fkobi 1773df9484
docs: use sh instead of bash in source blocks (#16506)
1 year ago
ComputerGuy b0f9ea3ae6
fix: throw on duplicate class field declarations (#16502)
1 year ago
Simon H 65e5249296
docs: remove mention of deprecated way to enhance typings (#16416)
1 year ago
Ray Thurn Void 9e1e7139fb
fix: robustify reset calls in error boundaries (#16171)
1 year ago
Rich Harris b8b662a1ad
docs: make link to svelte/reactivity more prominent (#16410)
1 year ago
Rich Harris e5e6c0cd12
fix docs (#16409)
1 year ago
Rich Harris b17557cd91
docs: fix typo (#16408)
1 year ago
Rich Harris a67b5862f1
fix: more informative error when effects run in an infinite loop (#16405)
1 year ago
Rich Harris ead4091202
docs: diligently describe destructured derived declarations (#16400)
1 year ago
Rich Harris 9f591223b1
docs: async stuff (#16376)
1 year ago
Rich Harris 79904b7113
docs: tweak (#16369)
1 year ago
Rich Harris 2e49783afa
docs: fix code snippets (#16367)
1 year ago
Rich Harris 0672e48223
feat: allow `await` in components (#15844)
1 year ago
ComputerGuy 58baf80a70
docs: add note about proxying state proxies (#16354)
1 year ago