Commit Graph

373 Commits (d4417cb24569fcc89ab3c8a1168ac2822b456ad6)

Author SHA1 Message Date
Ben McCann 0ace76d8f1
docs: clarify `$inspect.trace` docs (#15858)
4 months ago
7nik d8c6afde94
fix: emit error on wrong placement of the `:global` block selector (#15794)
5 months ago
Rich Harris 262b281c91
docs: add inline documentation for svelte/reactivity (#15722)
5 months ago
Elliott Johnson e079ac92b8
fix: Throw on unrendered snippets in `dev` (#15766)
5 months ago
Simon H a051f96ed6
fix: relax `:global` selector list validation (#15762)
5 months ago
Rich Harris db111f61ea
docs: headers for snippet prop section (#15745)
5 months ago
Rich Harris de4376235c
docs: add some missing details around string coercion and handling of nullish values (#15739)
5 months ago
Rich Harris 9b2507131c
chore: remove unused documentation markdown files (#15738)
5 months ago
Rich Harris 95a020acea
fix: update `state_referenced_locally` message (#15733)
5 months ago
ComputerGuy ec1d85c89e
fix: add snippet argument validation in dev (#15521)
5 months ago
Rich Harris c23f15134e
chore: remove stack-based module boundaries (#15711)
5 months ago
Rich Harris 93110a3246
docs: explain restriction on exporting reassigned state (#15713)
5 months ago
Ben McCann 0ff3d74520
docs: update `$effect` examples (#15463)
5 months ago
Min Idzelis 0ca1f4a37e
docs: raise importance of global vs local transitions (#15479)
5 months ago
Simon H 98d14ece66
fix: rework binding ownership validation (#15678)
5 months ago
Simon Lund 6a668c4daf
docs:Update 02-context.md (#15700)
5 months ago
James Scott-Brown 8e21c41c27
Link from $host directive docs to custom elements docs (#15686)
5 months ago
Rich Harris 3682371fb6
chore: doc fix (#15651)
5 months ago
Ben McCann 04257925d2
docs: clarify what you can build with SvelteKit (#15461)
5 months ago
Scott Wu f49856449d
docs: add a reference to the official hash router (#15611)
5 months ago
Paolo Ricciuti 3080c1334e
fix: prevent state runes from being called with spread (#15585)
6 months ago
Rich Harris ef98ccae8b doh
6 months ago
Rich Harris 441108b8ff fix docs
6 months ago
Rich Harris 5a8fa69dbf
feat: make deriveds writable (#15570)
6 months ago
Rich Harris 842a7c6995
docs: update state_unsafe_mutation message (#15539)
6 months ago
Rich Harris 83d0c5894d
docs: add note on effect-local state (#15572)
6 months ago
Rich Harris 6915c12b58
feat: allow state created in deriveds/effects to be written/read locally without self-invalidation (#15553)
6 months ago
Rich Harris 701f085c82
docs: rewrite context docs (#15541)
6 months ago
Rich Harris 8f940ee0ff
docs: use function bindings in "when not to use effect" (#15544)
6 months ago
henrykrinkle01 0af6f20c77
Fix grammar (#15533)
6 months ago
Rich Harris e5881eade3
chore: tweak migration doc diff blocks (#15527)
6 months ago
Garik Asplund f30d75ab7e
updated -> to → in v5-migration-guide (#15526)
6 months ago
Simon H aaeda65f2f
docs: add docs on state_unsafe_mutation error (#14932)
6 months ago
Scott Wu dab1a1b467
docs: Update 99-faq.md (#15510)
6 months ago
Maple dbd4617ac4
docs: correct toggle function in lifecycle hooks example (#15486)
6 months ago
Ben McCann 2c4d85bcec
docs: address `$effect` feedback (#15107)
6 months ago
Pavel Nedrigailov e591e872aa
Update 01-basic-markup.md with new svelte-ignore syntax (#15394)
6 months ago
Matthew Carroll 016421533d
Fix Rune phonetic spelling (#15445)
6 months ago
Paolo Ricciuti 474c588067
fix: disallow `bind:group` to snippet parameters (#15401)
6 months ago
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
Conduitry 610bc98f66
chore: remove obsolete site content (#13818)
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