Commit Graph

325 Commits (state-onchange)

Author SHA1 Message Date
Simon H a283083751
feat: each without as (#14396)
9 months ago
Rich Harris 9fcfd7f0d1
docs: note when boundaries were added (#14487)
9 months ago
Dominic Gannaway ed7ebcde1e
feat: add error boundaries (#14211)
9 months ago
Rob B 97185eb3d5
docs Update 03-typescript.md (#14382)
10 months ago
Gwen Le Bihan 24ebbcbbc1
docs: use e.detail instead of e.details in migration examples (#14340)
10 months ago
Simon H 6373641045
docs: add example to "state instead of stores" (#14310)
10 months ago
Dominic Gannaway 7fd3774015
fix: disallow invalid attributes for `<svelte:window>` and `<svelte:document>` (#14228)
10 months ago
Hosam Sultan 1e5a385c96
docs: fix typo (#14232)
10 months ago
CJSnyman 6534742ae1
docs: fix grammar (#14244)
10 months ago
Rich Harris 5ce1159ec3
Update 03-typescript.md (#14197)
10 months ago
Scott 26d109cb11
docs: `SvelteHTMLElements` can be used for creating component wrapper (#14162)
10 months ago
Pig Fang 3d67cd53db
docs: fix migration guide typo (#14155)
10 months ago
Christoph Sanz 87d83ffa39
Add same note as in tutorial to doc. (#14136)
10 months ago
Simon H 8731f4f780
docs: note what the value of `this` can be on `svelte:element` (#14117)
10 months ago
Simon H a952860232
docs: more docs on TS types (#14065)
10 months ago
Tim Deschryver 8d0937a534
docs: fix compilation error (#14121)
10 months ago
Ahmad S. 304d88edd0
docs: fix `$effect` section examples (#13911)
10 months ago
Rich Harris 96c299afc6
differentiate between 'effect' and `$effect` (#14105)
10 months ago
Rich Harris 82b87b361e
docs: fix syntax error (#14106)
10 months ago
Simon H aac4cbd1f1
docs: note browser condition earlier (#14096)
10 months ago
Conduitry 535ea44b9d
chore: replace non-breaking spaces (#14098)
10 months ago
Simon H 7d11fa8da2
fix: recognize all custom element prop definitions (#14084)
10 months ago
Rich Harris 6a2c28c590
docs: tweak untrack description, provide an example of usage (#14085)
10 months ago
Conduitry 2ab70041fd
chore: mark markdown output from process-messages as generated (#13913)
10 months ago
Rich Harris ffbd5c971e
docs: fix runtime-warnings page (#14077)
10 months ago
Rich Harris 9cd476881d
fix props docs (#14079)
10 months ago
Rich Harris 0ed914b2e5
docs: improve lazy import example (#14076)
10 months ago
Abu ca58039e3e
docs: fix type (#14064)
10 months ago
Bernie Sumption 217ef2062d
docs: clarify when prop values are deeply reactive (#13994)
10 months ago
Devr 6a1b5dd004
docs : add an example of using dynamic components (#13993)
10 months ago
Rich Harris 6b6445a934
add parameters to `in:fly` (#14057)
10 months ago
gubo97000 0efe031edc
Update 07-$inspect.md (#14048)
10 months ago
Dave Snider ee2f4a209b
docs: Update in and out docs to show the imports (#14050)
10 months ago
Rich Harris 4157db94c4
fix: correct typo in compiler error messages (#14044)
10 months ago
Conduitry 6ad8240464
docs: fix various typos in reference docs (#14011)
10 months ago
Simon H e487f61262
docs: mark deprecated options as such (#13989)
10 months ago
Simon H b3437e6020
docs: note old site (#13996)
10 months ago
Rich Harris 777d059b10
docs: update heading level in `02-getting-started.md` (#13997)
10 months ago
Richard Smith e99e865291
docs: update links to point to new site (#13986)
10 months ago
Tee Ming 430c2bb129
docs: use `$effect.pre` instead of `beforeUpdate` (#13955)
10 months ago
Max Duval ac6d8c0bf4
docs: fix small typo (#13967)
10 months ago
george looshch 5ab65e3d59
docs: consistently capitalize DOM in the Svelte 5 migration guide (#13957) (#13958)
10 months ago
Stephane feb2d85f46
docs: clarify why we need to use the derived rune (#13919)
11 months ago
Conduitry 107be28890
docs: fix outdated $effect.tracking() demo (#13906)
11 months ago
plgingras88 18e2284e74
docs: fix setContext/getContext typo (#13901)
11 months ago
Harry Allen 86ef18165f
docs: fix code example (#13847)
11 months ago
Houssam Elbadissi 3d3c98f3b0
docs: cleanup some leftover `>` symbols (#13846)
11 months ago
Simon H 594e3ab311
docs: note TS caveat about module exports (#13842)
11 months ago
Alex 134049f6d3
docs: clarifying wording in explanation of state rune in v5 migration guide. (#13839)
11 months ago
Simon H 96e2d5a395
docs: provide info about wrapper components (#13826)
11 months ago
Ben McCann 0b178cecce
chore: update all learn.svelte.dev links and a couple of others (#13803)
11 months ago
brunnerh 69f6b58bd4
docs: Reference `svelte/reactivity` from `$state`. (#13571)
11 months ago
Emanuele Picchirallo 6257203c22
docs: specify script language and add `npm install` step to installation guide (#13804)
11 months ago
Simon H 7ecc6c076c
docs: fix code example (#13810)
11 months ago
Jayden W d16a9da153
docs: fix TODO to add link to tutorial in migration guide (#13796)
11 months ago
brunnerh 708fd9c4be
docs: fix various typos (#13801)
11 months ago
brunnerh 779b730a80
docs: fix typos in createEventDispatcher migration rationale (#13800)
11 months ago
wackbyte 0fd1a45131
docs: fix generic props type (#13792)
11 months ago
Conduitry dbba2b0d27
docs: fix demo links to playground (#13788)
11 months ago
Dmytro Cheglakov be131575d8
docs: fix typo in the snippet closing tag (#13782)
11 months ago
Rich Harris e7d181ddb3
make links internal (#13789)
11 months ago
Rich Harris 4f6bb41030
More docs stuff (#13769)
11 months ago
Simon H 4c7cfff434
docs: legacy docs (#13756)
11 months ago
Paolo Ricciuti 8ff2af52d3
fix: show filename information in `legacy_recursive_reactive_block` (#13764)
11 months ago
brunnerh ef205d960e
docs: fix typos (#13752)
11 months ago
Rich Harris fd78385447
chore: restructure docs for new site (#13699)
11 months ago
Ahmad S. 618d89c368
docs: replace `<div>` with `<svelte-css-wrapper>` for style props (#13706)
11 months ago
Dominic Gannaway ae10f4d37c
breaking: state mutations inside the template are no longer allowed (#13660)
11 months ago
Dominic Gannaway 139114bdcb
fix: ensure legacy run utility does not cause cycles (#13643)
11 months ago
Dominic Gannaway 2070c8a166
breaking: disallow state mutations in logic block expression (#13625)
11 months ago
Rich Harris 94aea0f624 gah missed a spot
11 months ago
Rich Harris caaf74b854
docs: more fixes (#13608)
11 months ago
Rich Harris 6534f507ce
docs: add/fix some more stuff (#13585)
11 months ago
Rich Harris 941db36b01
fix (#13581)
11 months ago
Rich Harris 5ee3ae4369
update diffs (#13575)
11 months ago
Rich Harris 3f0b41b252
docs: annotate notes as such (#13564)
11 months ago
Simon H 4578d4f25a
docs: generate pages for compiler/runtime warnings/errors (#13557)
11 months ago
Rich Harris 1c8d1ca124
docs: various fixes (#13560)
11 months ago
Rich Harris 2b0741fa11
docs: add error annotation (#13533)
11 months ago
Rich Harris 233bbecf55
chore: rename placeholder file (#13520)
11 months ago
Simon Holthausen dfb8eee1cc docs: some module intro comments
11 months ago
Rich Harris 56621a2b36
docs: add legacy callouts (#13428)
11 months ago
Simon H 5dbe763792
fix: don't make wheel events passive by default (#13322)
12 months ago
brunnerh 9204d699d5
docs: fixes relating to `bind:files` & note on `FileList` API (#13235)
12 months ago
Simon H e5c840c87b
docs: adjust `bind:files` section (#13230)
12 months ago
Simon Holthausen 36137e0e93 docs: tweaks
12 months ago
Simon Holthausen 25f67df911 docs: adjust placeholder syntax
12 months ago
Simon H 29f29878c3
docs: note effects lifecycle (#12993)
1 year ago
Rich Harris 213258b024
docs: add note on when effects re-run (#12961)
1 year ago
Rich Harris 803ebd5676 typo
1 year ago
Rich Harris 9f962d6f81
breaking: remove `$state.link` (#12943)
1 year ago
Simon H 732dbf7fa9
breaking: deprecate `context="module"` in favor of `module` (#12948)
1 year ago
Rich Harris 0b51ff04b0
breaking: remove `$state.link` callback (#12942)
1 year ago
Rich Harris 78677e40ef
fix: align list of passive events with browser defaults, and add documentation (#12933)
1 year ago
Dominic Gannaway 63ec2e2e88
feat: adds $state.link rune (#12545)
1 year ago
Rich Harris 0812b10100
breaking: overhaul proxies, remove `$state.is` (#12916)
1 year ago
Rich Harris 9ba370f305
docs: replace `$state.frozen` docs with `$state.raw` (#12812)
1 year ago
Theodor Steiner 7ae21ea97d
feat: make <svelte:option> customElement configuration's tag property optional (#12751) (#12754)
1 year ago
Rich Harris 2e8a205161
chore: remove outdated comment (#12632)
1 year ago
Rich Harris 04a211e1e1
chore: VSCode -> VS Code (#12631)
1 year ago
Simon H dba4dfaff8
docs: add testing section (#12600)
1 year ago
Rich Harris ba5f5f38b1
chore: tweak event delegation docs (#12607)
1 year ago
Simon H 13d86e9019
feat: allow `:global` in more places (alternative) (#12560)
1 year ago
Rich Harris e2f17c8a7b
chore: tweak xmlns docs (#12606)
1 year ago
Dominic Gannaway afa3128d2f
breaking: avoid flushing queued updates on mount/hydrate (#12602)
1 year ago
Simon H 6223a7e87e
docs: event delegation tweaks (#12597)
1 year ago
Simon H bc78391bdc
docs: mention xmlns attribute for `<svelte:element>` (#12598)
1 year ago
Simon H 2698716bdf
docs: fine-tune $props types info (#12534)
1 year ago
Simon H 73d97f7af9
docs: fix `$effect.pre` code example (#12444)
1 year ago
Rich Harris efe3b39d09
docs: tweak snapshot example (#12426)
1 year ago
Rich Harris 8d3c0266ce
breaking: use `structuredClone` inside `$state.snapshot` (#12413)
1 year ago
Ben McCann 145d67a489
docs: copy Svelte 5 docs from omnisite (#12317)
1 year ago
wackbyte c0c1a56675
feat: bind `activeElement` and `pointerLockElement` in `<svelte:document>` (#11879)
1 year ago
Mostafa Kheibary e16591abe8
docs: Change all the word "initialization" to "initialisation" (#10708)
2 years ago
Dathan 282d62baae
Fix typo and grammar in 01-svelte-components.md (#10737)
2 years ago
Ben McCann 4942d6b9cc
docs: update routing FAQ with some more recent options (#10452)
2 years ago
Simon H c6c934afb2
chore: cleanup (#9381)
2 years ago
Ben McCann 895612514c
fix: improve a11y-click-events-have-key-events message (#9358)
2 years ago
Ravi van Rooijen 1ed9182025
docs: mention `{#await}` on non-Promise values short-circuiting to the fullfilled branch (#9324)
2 years ago
Ben McCann 8e85b3fa9e
docs: remove typescript faq (#9108)
2 years ago
Puru Vijay 1a28d58b5d
feat: Copy code button (#8995)
2 years ago
Conduitry 16504d1f52
docs: add FAQ about why you can't keep unused styles (#9193)
2 years ago
Jack Farley 9073241daa
docs: mention escaping of curly braces (#8560)
2 years ago
Brittney Postma 2691e19b6b
docs: use latest tag when creating vite template (#9151)
2 years ago
Simon H d2ed2ca329
docs: note ambient module info (#9106)
2 years ago
Romain l'Ourson da3cc6c0a0
fix: typo (#9102)
2 years ago
Andy Pan 037b6ce312
docs: Fix a regression for a quoted-attribute example (#9103)
2 years ago
github-actions[bot] 50c270a54d
Version Packages (#9096)
2 years ago
Lyu, Wei-Da 05f99d20f9
feat: move svelteHTML to load the correct svelte/element (#9070)
2 years ago
Alpay ea2b5700ca
docs: fix link (#9071)
2 years ago
Ben McCann ce047651e5
docs: update component directives page (#9040)
2 years ago
Ben McCann d6abd0a604
docs: clarify performance concerns around props and restProps (#9047)
2 years ago
Kai Erik Niermann 5cd4f7750e
docs: add parenthesis back to regex literal example (#9027)
2 years ago
Jo Burgard 3dccf711f8
Fix error in example in 03-typescript.md (#9001)
2 years ago
Simon H 657f11376c
feat: add ability to extend custom element class (#8991)
2 years ago
Romain l'Ourson c1d3d58088
docs: remove compiler duplicate paragraph (#8980)
2 years ago
Fanny f41ff96c3a
docs: fix typo (#8966)
2 years ago
gtmnayan afcf853b65
docs: update migration guide bundler conditions section (#8965)
2 years ago
Dana Woodman 398904894e
docs: Make "unquoted" example actually unquoted (#8937)
2 years ago
Enrico Sacchetti 02099d9d75
docs: update Typescript elements link (#8938)
2 years ago
Simon H 132dd7906a
docs: preprocessor migration details (#8927)
2 years ago
Puru Vijay 70426be84a
feat(site): Deploy to edge (#8873)
2 years ago
Simon Holthausen d516bb06e1 docs: add eslint migration
2 years ago
Simon H b9328a5077
docs: more details on transition migration
2 years ago
Brad Dougherty cfa5447ea5
docs: fix typo in v4 migration guide (#8890)
2 years ago
Simon H b0a3fa1766
fix: ensure createEventDispatcher and ActionReturn work with generic function types (#8872)
2 years ago
Simon Holthausen 1c7ed55385 docs: add a11y-no-static-element-interactions
2 years ago
Not-Jayden e3422e182b
docs: Don't recommend TypeScript type assertions for reactive declarations (#8824)
2 years ago
Gwang Jin Kim d3297e2a25
docs: Remove duplicate note (#8843)
2 years ago
Theodore Brown 223db7f19d
docs: fix TypeScript event name typos (#8844)
2 years ago
iamkneel 7dea31327e
docs: format "MutationObserver" as code (#8830)
2 years ago
Cesar Napoleon Mejia Leiva a83e438b5e
docs: fix style directive with important modifier example (#8802)
2 years ago
Martin Hobert 5ddf4ca779
docs: fix attribute example in basic markup (#8813)
2 years ago
gtmnayan ea18bd7e98
docs: use `@latest` on the migrate command (#8814)
2 years ago
Simon H 797b711e3a
docs: tweaks (#8798)
2 years ago
Simon Holthausen 23fc113d31 docs: note type enhancements breaking change
2 years ago
Ben McCann b582baa570
docs: list minimum versions for r-p-s and svelte-loader (#8788)
2 years ago
Puru Vijay 3c8a07136a
fix(site): renderer new link format (#8787)
2 years ago
Puru Vijay 22cc4756e0
feat(site): site-kit renderer (#8757)
2 years ago
Puru Vijay cf32fa2497
fix(site): update tutorial links (#8780)
2 years ago
Ben McCann be5742aefe docs: update link
2 years ago
Simon H 203490c3e4
breaking: use `CustomEvent` constructor instead of deprecated `createEvent` method (#8775)
2 years ago
gtmnayan 914529fa76
feat: smaller destructor chunk (#8763)
2 years ago
Puru Vijay 88504ee90a
docs(sites): Auto-generated CompileOptions (#8756)
2 years ago
Puru Vijay 67b4e4ff1c
docs: normalize svelte compiler headings (#8755)
2 years ago
Simon H 75917ee1a5
docs: migration page (#8739)
2 years ago
Simon H 4e569d1895
docs: Svelte 3/4 differences (#8740)
2 years ago
Puru Vijay 62bef809b2 Merge remote-tracking branch 'origin/version-4' into sites
2 years ago
Rich Harris b1cafc4573
update type generation script (#8712)
2 years ago
Puru Vijay aa5bb4a3db
feat: Better docs nav (#8605)
2 years ago
Rich Harris 27538fc598
tweak docs content (#8675)
2 years ago
Rich Harris 83d56713ef
move FAQ to /docs/faq (#8672)
2 years ago
Puru Vijay bd51e6f3ea Merge remote-tracking branch 'origin/version-4' into sites
2 years ago
Puru Vijay 4cde4eaada
docs(site-2): Action, TypeScript (#8588)
2 years ago
Puru Vijay 993b40201c
feat(site-2): New Markdown renderer, FAQ, Blog, Tutorial, Docs, (#8603)
2 years ago