Commit Graph

384 Commits (6914710977d41571f79e4eef7aefdb3ce4e79595)

Author SHA1 Message Date
Rich Harris f3c55e8e6c
feat: add `createContext` utility for type-safe context (#16948)
6 months ago
Rich Harris b05e12fd63
fix code block (#16937)
6 months ago
Ben McCann ba782f9fde
docs: link to custom renderer issue in Svelte Native discussion (#16896)
6 months ago
Hyunbin Seo b91f9de129
docs: await no longer need pending (#16900)
6 months ago
7nik 93012e1e6f
fix: track the user's getter of `bind:this` (#16916)
6 months ago
Ben McCann 30e2b23b59
docs: update one more link to the packages page (#16883)
7 months ago
Ben McCann 01fc47d155
docs: link to new packages page (#16882)
7 months ago
Michael Shilman fdb01fd966
docs: Promote Storybook testing to h2 (#16792)
7 months ago
Yuki Ishii 4f653ddcea
fix: update error message to clarify usage with radio inputs (#16874)
7 months ago
Jakub Kolesár 46c10d0476
fix: missing title warning for buttons and anchor tags (#16872)
7 months ago
Conduitry e0dba165b4
docs: remove reference to SSR being synchronous (#16861)
7 months ago
Tee Ming c75e862677
Update 19-await-expressions.md (#16827)
7 months ago
Rich Harris 7d9962a572
docs: update await expressions documentation (#16822)
7 months ago
Rich Harris 6076bab730
fix: issue `state_proxy_unmount` warning when unmounting a state proxy (#16747)
7 months ago
Elliott Johnson b8fd326d96
feat: async SSR (#16748)
7 months ago
Kyle Gach 08b3b66865
docs: add testing with storybook (#16701)
8 months ago
Jinay Patel 9d1aa699b6
Docs: Updated the custom elements documentation to include $host (#16686)
8 months ago
Simon H a60995abef
fix: allow async `{@const}` in more places (#16643)
8 months ago
Justin Paige 9efe672df2
Update 18-class.md (#16558)
9 months ago
Rich Harris e7e8a9c7b7
docs: remove 'thus', fix some phrasing (#16559)
9 months ago
Anthony a3f18351af
docs: corrections (#16550)
9 months ago
ComputerGuy 8067841170
docs: add note about attachments to `svelte/action` docs (#16537)
9 months ago
fkobi 1773df9484
docs: use sh instead of bash in source blocks (#16506)
9 months ago
ComputerGuy b0f9ea3ae6
fix: throw on duplicate class field declarations (#16502)
9 months ago
Simon H 65e5249296
docs: remove mention of deprecated way to enhance typings (#16416)
9 months ago
Ray Thurn Void 9e1e7139fb
fix: robustify reset calls in error boundaries (#16171)
9 months ago
Rich Harris b8b662a1ad
docs: make link to svelte/reactivity more prominent (#16410)
9 months ago
Rich Harris e5e6c0cd12
fix docs (#16409)
9 months ago
Rich Harris b17557cd91
docs: fix typo (#16408)
9 months ago
Rich Harris a67b5862f1
fix: more informative error when effects run in an infinite loop (#16405)
9 months ago
Rich Harris ead4091202
docs: diligently describe destructured derived declarations (#16400)
9 months ago
Rich Harris 9f591223b1
docs: async stuff (#16376)
9 months ago
Rich Harris 79904b7113
docs: tweak (#16369)
9 months ago
Rich Harris 2e49783afa
docs: fix code snippets (#16367)
9 months ago
Rich Harris 0672e48223
feat: allow `await` in components (#15844)
9 months ago
ComputerGuy 58baf80a70
docs: add note about proxying state proxies (#16354)
9 months ago
Rich Harris b673145659
feat: add `getAbortSignal()` (#16266)
10 months ago
brunnerh facf528cb8
docs: Simplify TS config docs (#16236)
10 months ago
Paolo Ricciuti c4b32c2bff
fix: untrack `$inspect.with` and add check for unsafe mutation (#16209)
10 months ago
Elliott Johnson d99d872519
fix: Make docs example not infinitely recurse (#16183)
10 months ago
7nik 5c5536eaa1
docs: clarify style precedence (#16158)
10 months ago
Paolo Ricciuti cc8d2f6c80
docs: add note on `Object.create` (#16124)
11 months ago
Jack Goodall 77a5d68675
also mention that `:has` is scoped in the migration guide (#16061)
11 months ago
Lol Mettam f969628394
Update 04-svelte-body.md (#16027)
11 months ago
Paolo Ricciuti 37488fa65c
fix: warn when using rest or identifier in custom elements without props option (#16003)
11 months ago
ComputerGuy f9d0df6041
docs: add link to lvalue info on `bind:` docs (#16008)
11 months ago
Paolo Ricciuti fbb6444fd8
fix: allow using typescript in `customElement.extend` option (#16001)
11 months ago
Mithi Sevilla 8860ca6c1d
docs: Improve sample code in `When not to use $effect` section (#15994)
11 months ago
Rich Harris 08346b51f2
docs: move some `$state` information around (#15969)
11 months ago
Rich Harris 8e16c777e0
docs: improve bind:group example (#15968)
11 months ago
Gautier Ben Aïm de8094910d
fix(14815): warn when an invalid <select multiple> value is given (#14816)
11 months ago
7nik c66a43940a
feat: warn on implicitly closed tags (#15932)
11 months ago
Paolo Ricciuti 7183886a73
feat: attachments `fromAction` utility (#15933)
11 months ago
Rich Harris 22a0211cbb
docs: clarify when attachments re-run (#15927)
11 months ago
Elliott Johnson d103adff9c
feat: State declarations in class constructors (#15820)
11 months ago
Christian Decker 42e7e8168d
chore: fix docs typo in 02-context.md (#15944)
11 months ago
Rich Harris 17a7cf51e4
docs: clarify ordering of attributes with spread (#15917)
11 months ago
Rich Harris ae71152013
docs: clarify keyed each blocks (#15923)
11 months ago
Scott Wu 623cfb0653
docs: Clarify when is a variable proxied (#15804)
11 months ago
Rich Harris 43e32ba2ce
docs: update attach example (#15920)
11 months ago
Rich Harris b93a617aa8
feat: attachments (#15000)
11 months ago
7nik 8fc8bc79d1
docs: add missing bindings (#15834)
11 months ago
Tristan b6fe1cca3c
docs: remove dead link in 07-misc/99-faq.md (#15906)
11 months ago
Ben McCann 8866851e2c
docs: add links to new CLI add-on documentation (#15835)
11 months ago
ComputerGuy aa041a9e65
fix: warn on bidirectional control characters, fix various issues with template expressions (#15893)
11 months ago
Ben McCann 0ace76d8f1
docs: clarify `$inspect.trace` docs (#15858)
12 months ago
7nik d8c6afde94
fix: emit error on wrong placement of the `:global` block selector (#15794)
1 year ago
Rich Harris 262b281c91
docs: add inline documentation for svelte/reactivity (#15722)
1 year ago
Elliott Johnson e079ac92b8
fix: Throw on unrendered snippets in `dev` (#15766)
1 year ago
Simon H a051f96ed6
fix: relax `:global` selector list validation (#15762)
1 year ago
Rich Harris db111f61ea
docs: headers for snippet prop section (#15745)
1 year ago
Rich Harris de4376235c
docs: add some missing details around string coercion and handling of nullish values (#15739)
1 year ago
Rich Harris 9b2507131c
chore: remove unused documentation markdown files (#15738)
1 year ago
Rich Harris 95a020acea
fix: update `state_referenced_locally` message (#15733)
1 year ago
ComputerGuy ec1d85c89e
fix: add snippet argument validation in dev (#15521)
1 year ago
Rich Harris c23f15134e
chore: remove stack-based module boundaries (#15711)
1 year ago
Rich Harris 93110a3246
docs: explain restriction on exporting reassigned state (#15713)
1 year ago
Ben McCann 0ff3d74520
docs: update `$effect` examples (#15463)
1 year ago
Min Idzelis 0ca1f4a37e
docs: raise importance of global vs local transitions (#15479)
1 year ago
Simon H 98d14ece66
fix: rework binding ownership validation (#15678)
1 year ago
Simon Lund 6a668c4daf
docs:Update 02-context.md (#15700)
1 year ago
James Scott-Brown 8e21c41c27
Link from $host directive docs to custom elements docs (#15686)
1 year ago
Rich Harris 3682371fb6
chore: doc fix (#15651)
1 year ago
Ben McCann 04257925d2
docs: clarify what you can build with SvelteKit (#15461)
1 year ago
Scott Wu f49856449d
docs: add a reference to the official hash router (#15611)
1 year ago
Paolo Ricciuti 3080c1334e
fix: prevent state runes from being called with spread (#15585)
1 year ago
Rich Harris ef98ccae8b doh
1 year ago
Rich Harris 441108b8ff fix docs
1 year ago
Rich Harris 5a8fa69dbf
feat: make deriveds writable (#15570)
1 year ago
Rich Harris 842a7c6995
docs: update state_unsafe_mutation message (#15539)
1 year ago
Rich Harris 83d0c5894d
docs: add note on effect-local state (#15572)
1 year ago
Rich Harris 6915c12b58
feat: allow state created in deriveds/effects to be written/read locally without self-invalidation (#15553)
1 year ago
Rich Harris 701f085c82
docs: rewrite context docs (#15541)
1 year ago
Rich Harris 8f940ee0ff
docs: use function bindings in "when not to use effect" (#15544)
1 year ago
henrykrinkle01 0af6f20c77
Fix grammar (#15533)
1 year ago
Rich Harris e5881eade3
chore: tweak migration doc diff blocks (#15527)
1 year ago
Garik Asplund f30d75ab7e
updated -> to → in v5-migration-guide (#15526)
1 year ago
Simon H aaeda65f2f
docs: add docs on state_unsafe_mutation error (#14932)
1 year ago
Scott Wu dab1a1b467
docs: Update 99-faq.md (#15510)
1 year ago
Maple dbd4617ac4
docs: correct toggle function in lifecycle hooks example (#15486)
1 year ago