Simon H
1ffce92d90
docs: note before/afterUpdate breaking change ( #14567 )
...
...about slotted content behavior
Related to #14564
3 months ago
Ben McCann
4b802dbed3
docs: add a mobile app FAQ ( #14559 )
...
* docs: add a mobile app FAQ
* Update 99-faq.md
3 months ago
Simon H
3d36e15ddd
docs: add tsconfig.json info to TS docs ( #14519 )
...
Also fix adjacent code examples
closes #14187
3 months ago
Rob B
97185eb3d5
docs Update 03-typescript.md ( #14382 )
...
* Update 03-typescript.md
Fix TS error: Cannot invoke an object which is possibly 'undefined'.
* Update 03-typescript.md
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev>
3 months ago
Gwen Le Bihan
24ebbcbbc1
docs: use e.detail instead of e.details in migration examples ( #14340 )
3 months ago
CJSnyman
6534742ae1
docs: fix grammar ( #14244 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
4 months ago
Rich Harris
5ce1159ec3
Update 03-typescript.md ( #14197 )
4 months ago
Scott
26d109cb11
docs: `SvelteHTMLElements` can be used for creating component wrapper ( #14162 )
4 months ago
Pig Fang
3d67cd53db
docs: fix migration guide typo ( #14155 )
4 months ago
Simon H
a952860232
docs: more docs on TS types ( #14065 )
...
* docs: more docs on TS types
and a few related changes/enhancements
closes #13940
* Apply suggestions from code review
* adjust
* Apply suggestions from code review
* Update documentation/docs/07-misc/03-typescript.md
* Update documentation/docs/07-misc/03-typescript.md
* Update documentation/docs/07-misc/03-typescript.md
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
Rich Harris
82b87b361e
docs: fix syntax error ( #14106 )
4 months ago
Simon H
aac4cbd1f1
docs: note browser condition earlier ( #14096 )
...
* docs: note browser condition earlier
The browser condition is also necessary to test runes, so it makes sense to add it to the first occurence to the vite config. Also add a note about more fine-grained alias conditions.
Closes #13961
* Update documentation/docs/07-misc/02-testing.md
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
Simon H
7d11fa8da2
fix: recognize all custom element prop definitions ( #14084 )
...
We didn't account for the `$props` rune being writtin in a way that makes some props unknown, and they would only be visible through the `customElement.props` definition. This changes the iteration to account for that and also adds a note to the documentation that you need to list out the properties explicitly.
fixes #13785
4 months ago
Abu
ca58039e3e
docs: fix type ( #14064 )
...
this slot name should be `footer` instead it was `header`
4 months ago
george looshch
5ab65e3d59
docs: consistently capitalize DOM in the Svelte 5 migration guide ( #13957 ) ( #13958 )
...
Make the casing of the word ‘DOM’ in the Svelte 5 migration guide
consistent.
4 months ago
Harry Allen
86ef18165f
docs: fix code example ( #13847 )
4 months ago
Houssam Elbadissi
3d3c98f3b0
docs: cleanup some leftover `>` symbols ( #13846 )
...
I assume they were accidentally left there because they used to be separate lines each with their own `>` at the beginning of the line, but whoever collapsed them into one line forgot to remove the extra arrow.
Whatever the case is, this commit removes (probably) all of these leftover `>` symbols.
4 months ago
Alex
134049f6d3
docs: clarifying wording in explanation of state rune in v5 migration guide. ( #13839 )
...
Co-authored-by: Bustos, Alex <alex.bustos@gtri.gatech.edu>
4 months ago
Simon H
96e2d5a395
docs: provide info about wrapper components ( #13826 )
...
closes #13006
4 months ago
Ben McCann
0b178cecce
chore: update all learn.svelte.dev links and a couple of others ( #13803 )
4 months ago
Jayden W
d16a9da153
docs: fix TODO to add link to tutorial in migration guide ( #13796 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
4 months ago
brunnerh
708fd9c4be
docs: fix various typos ( #13801 )
4 months ago
brunnerh
779b730a80
docs: fix typos in createEventDispatcher migration rationale ( #13800 )
4 months ago
wackbyte
0fd1a45131
docs: fix generic props type ( #13792 )
4 months ago
Rich Harris
e7d181ddb3
make links internal ( #13789 )
4 months ago
Rich Harris
4f6bb41030
More docs stuff ( #13769 )
...
* fix
* link
* more docs stuff
* more
* more
* fix
* more
* more
* fix
* fix
* more
* ffs
* FML
4 months ago
Simon H
4c7cfff434
docs: legacy docs ( #13756 )
...
* docs: legacy docs
add docs on old syntax
* rename section
* tweaks
* tweak
* tweaks
* tweaks
* tweaks
* fix link
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 months ago
brunnerh
ef205d960e
docs: fix typos ( #13752 )
...
- remove copy pasted argument from $set
- fix typo
4 months ago
Rich Harris
fd78385447
chore: restructure docs for new site ( #13699 )
4 months ago