Commit Graph

280 Commits (warn-attachments-legacy-member-access)

Author SHA1 Message Date
adiGuba 0d5d9ab760
docs: fix two element_invalid_self_closing_tag warning in example (#15324)
7 months ago
Eric Liu 75f81991c2
docs(bindable): fix `file:` annotation for App.svelte (#15314)
7 months ago
Kid 5fe0272868
docs: remove duplicate `onDestroy` description (#15274)
7 months ago
adiGuba 85f83ec435
feat: $props.id(), a SSR-safe ID generation (#15185)
7 months ago
Simon H 502b585ed2
docs: enhance migration docs about accessors (#15138)
7 months ago
Scott Wu e1014e3016
Update 11-bind.md (#15192)
7 months ago
tomoam e83ab1c038
docs: fix typos and a link (#15135)
7 months ago
Scott Wu 674f81b5ce
[docs] clarify that `$effect` analyzes functions deeply (#15144)
7 months ago
Simon H 6df59055e7
docs: more examples on what is outside the rendering process (#15157)
7 months ago
Puru Vijay 2aefc5430d
feat(elements): Expose ClassValue (#15035)
8 months ago
Paolo Ricciuti 99fdc3f0ab
docs: update error message for `const_tag_invalid_placement` (#15003)
8 months ago
Paolo Ricciuti a129592e5b
feat: allow const tag inside `svelte:boundary` (#14993)
8 months ago
Matei Trandafir 3e11b89244
docs: improve section for snippets-slots interop (#13869)
8 months ago
Gonzalo Ruiz d15aea4e18
docs: clarify svelte:component migration, avoids common gotcha (#13835)
8 months ago
Basti Ortiz bf80c10625
docs: clarify example on dynamic dependency tracking (#13767)
8 months ago
Simon H a2565efa37
docs: tweak "invalid assignment" compiler error message (#14955)
8 months ago
Rich Harris d41801c75f
feat: warn on using `slide` transition with invalid `display` styles (#14936)
8 months ago
Rich Harris ce2566d4c4
docs: simplify `$effect.tracking()` docs (#14939)
8 months ago
Caique Torres 48e3db21c1
fix: default values in object destructuring (#14554)
8 months ago
Rich Harris 19038d19cb
docs: add section on update propagation (#14938)
8 months ago
Simon H 34628b9c90
docs: note custom elements on caveat (#14934)
8 months ago
Simon H a1f371e786
docs: add code of files being tested (#14925)
8 months ago
Felipe 8201d7ad8b
docs: Switch typing of Action<Parameter> from null to undefined in 12-use.md (#14798)
8 months ago
ottomated 793f6f3b11
add note about svelte/elements to $props docs (#14829)
8 months ago
Rich Harris 97f3aa9151
docs: fix links in some errors/warnings (#14825)
9 months ago
Simon H 015210a1a8
feat: allow objects/arrays for class attribute (#14714)
9 months ago
Rich Harris bfa0b34663
add self-closing-tags info (#14758)
9 months ago
joakim d7e4bd2c66
Link to migration guide from <svelte:component> documentation (#14737)
9 months ago
Dominic Gannaway 5483495c8d
feat: add $inspect.trace rune (#14290)
9 months ago
Rich Harris b0e3c5b438
feat: add outro option to unmount (#14540)
9 months ago
waedi 65db409860
docs: typo in ## script_context_deprecated (#14694)
9 months ago
James Glenn 432db95358
docs: Update the linked playgrounds in the snippet docs (#14676)
9 months ago
Simon H 68d266e0f8
fix: remove overzealous `reactive_declaration_non_reactive_property` warning (#14663)
9 months ago
Rich Harris d43a10ba7a
feat: add `svelte/reactivity/window` module (#14660)
9 months ago
Rich Harris 3dcd5a4a3e
fix docs (#14635)
9 months ago
Simon H c6fca02009
docs: more details for errors/warnings on the site (#14632)
9 months ago
Rich Harris c1c59e77a5
docs: where the hell did this come from? (#14613)
9 months ago
Dominic Gannaway 5771b455c0
feat: add support for bind getter/setters (#14307)
9 months ago
brunnerh ad87572adc
docs: Import .svelte.js files with explicit extension. (#14584)
9 months ago
Simon H 1ffce92d90
docs: note before/afterUpdate breaking change (#14567)
9 months ago
Ben McCann 4b802dbed3
docs: add a mobile app FAQ (#14559)
9 months ago
Rich Harris 350811ed8c
docs: note when defaultValue support was added (#14553)
9 months ago
Simon H a57e747cbb
feat: default values for form elements (#14289)
9 months ago
Simon H 86ae349bcc
fix: better error messages for invalid HTML trees (#14445)
9 months ago
Rich Harris 348185794d
docs: tweak slot docs (#14543)
9 months ago
Rich Harris 4c4f18b24c
chore: fix docs (#14538)
9 months ago
Rich Harris fe0bd299a5
fix: proxify values when assigning using `||=`, `&&=` and `??=` operators (#14273)
9 months ago
Paolo Ricciuti d5a28a01a1
docs: fix typo in `$state` (#14535)
9 months ago
Rich Harris a5de086f95
feat: turn `reactive_declaration_non_reactive_property` into a runtime warning (#14192)
9 months ago
Rich Harris 87863da6ff
docs: how to javascript (#14528)
9 months ago
Rich Harris 8ad9295535
docs: hints on preserving reactivity (#14514)
9 months ago
Simon H 3d36e15ddd
docs: add tsconfig.json info to TS docs (#14519)
9 months ago
Rich Harris 7142fa0b5c
docs: note requirement on 5.5.0 to export snippets (#14523)
9 months ago
Dominic Gannaway 4d2f2fb8e6
feat: allow snippets to be exported from module scripts (#14315)
9 months ago
SukeshP1995 abb90d8737
docs: fix grammatical error (#14500)
9 months ago
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)
11 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