wackbyte
c0c1a56675
feat: bind activeElement
and pointerLockElement
in <svelte:document>
( #11879 )
...
* feat: bind `activeElement` and `pointerLockElement` in `<svelte:document>`
* add test, use focusin/focusout rather than focus/blur
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
2024-06-04 13:36:15 -04:00
Mostafa Kheibary
e16591abe8
docs: Change all the word "initialization" to "initialisation" ( #10708 )
...
* Docs: Change all initizlisation to initialisation
* Reverted to "initialization" when asserting errors with specific message
* Reverted to "initialization" where related to specific error message
2024-03-10 17:11:21 -04:00
Dathan
282d62baae
Fix typo and grammar in 01-svelte-components.md ( #10737 )
2024-03-10 16:54:52 -04:00
Ben McCann
4942d6b9cc
docs: update routing FAQ with some more recent options ( #10452 )
...
* docs: update routing FAQ with some more recent options
* Update documentation/docs/05-misc/01-faq.md
Co-authored-by: Conduitry <git@chor.date>
* Update documentation/docs/05-misc/01-faq.md
---------
Co-authored-by: Conduitry <git@chor.date>
2024-02-13 13:30:41 -05:00
Chien Tran
976e807a3f
docs: rename svelte 5 discord channel ( #10431 )
...
* rename svelte 5 discord channel
* changeset
* Delete .changeset/stupid-insects-help.md
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev>
2024-02-08 12:18:27 -05:00
Ben McCann
aecd47e8df
chore: upgrade prettier to 3.1 ( #10134 )
2024-01-11 12:52:13 -08:00
Fritz Lin
e9b0908ed8
docs: add missing on:click to immutable example ( #10079 )
2024-01-04 13:42:09 +01:00
Arpit Jalan
3f56baf760
blog: fix typo in 'svelte.dev: A complete overhaul' blog entry ( #9438 )
2023-11-14 11:08:38 -08:00
Simon H
c6c934afb2
chore: cleanup ( #9381 )
...
* lets see if this works
* fix versions
* sigh
* debugging ci is sooo fun
* oh wow
* fix stuff, changelog, add back readme
* appease prettier
* format stuff
2023-11-10 16:46:40 +01:00
Simon Holthausen
fe8a9ce31d
breaking: init Svelte 5
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
Co-authored-by: Dominic Gannaway <dg@domgan.com>
2023-11-10 15:48:23 +01:00
Pedro Coelho
ac7505d81b
docs: update text color in animate example ( #9374 )
2023-11-07 12:54:34 -08:00
Vardhaman Bhandari
2a6f9e3bb7
docs: fix typo in blog ( #9373 )
2023-11-05 16:40:38 -08:00
Dani Sandoval
3a842e3da4
docs: "What's new in Svelte" November newsletter ( #9360 )
...
* november draft
* Apply suggestions from code review
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Stanislav Khromov <stanislav.khromov+github@gmail.com>
* add version number to kit suggestion
* add svelte summit blurb
* update title, move summit to intro, add deno note
* Update documentation/blog/2023-11-01-whats-new-in-svelte-november-2023.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Stanislav Khromov <stanislav.khromov+github@gmail.com>
2023-10-31 20:27:22 +01:00
Ben McCann
54233adb63
docs: clarify "obsolete" in runes blog post ( #9364 )
2023-10-30 22:42:25 -04:00
Ben McCann
895612514c
fix: improve a11y-click-events-have-key-events message ( #9358 )
2023-10-30 09:43:24 -07:00
Min Kim
4b911045b0
docs: fix else if blocks on tutorial ( #9336 )
2023-10-19 15:46:51 +02:00
Ravi van Rooijen
1ed9182025
docs: mention {#await}
on non-Promise values short-circuiting to the fullfilled branch ( #9324 )
...
Fixes #9323
2023-10-19 09:27:47 +02:00
Willow (GHOST)
e42b961bd2
Add Hacktoberfest blog post ( #9280 )
2023-10-03 06:59:33 -07:00
Dani Sandoval
050592d2e1
docs: "What's new in Svelte" October newsletter ( #9271 )
2023-09-30 22:30:24 -07:00
Simon H
68b40effb2
site: runes banner ( #9228 )
...
* site: runes banner
* well I should get the title right, shouldnt I?
* padding
* fix typo
* tweak
2023-09-20 11:02:36 -04:00
Rich Harris
c50ad34b06
introducing runes ( #9227 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
2023-09-20 09:56:54 -04:00
Ben McCann
8e85b3fa9e
docs: remove typescript faq ( #9108 )
2023-09-16 11:45:15 -07:00
Puru Vijay
1a28d58b5d
feat: Copy code button ( #8995 )
...
* Push
* Bump site-kit
* Add headers to primary snippets
* Update deps
* Bump deos
* redploy
* Back to normal
* Push
* Bump deps
* site: fix rendering of promise in deprecation warning (#9191 )
* copy: true
* Bump site-kit
* Use cache
2023-09-16 20:00:16 +05:30
Conduitry
16504d1f52
docs: add FAQ about why you can't keep unused styles ( #9193 )
2023-09-15 16:34:49 -07:00
Jack Farley
9073241daa
docs: mention escaping of curly braces ( #8560 )
2023-09-15 16:26:19 -07:00
Dani Sandoval
effeb7abba
docs: "What's new in Svelte" September newsletter ( #9158 )
...
* first draft. sept
* address pr feedback
* forgot a Joy of Code video!
2023-09-04 08:47:43 +02:00
Geoff Rich
0041f11732
site: add view transitions blog post ( #9162 )
...
* site: add view transitions blog post
* Link live demo
* Apply suggestions from code review
Co-authored-by: Geoff Rich <4992896+geoffrich@users.noreply.github.com>
---------
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
2023-08-31 11:36:38 -04:00
Brittney Postma
2691e19b6b
docs: use latest tag when creating vite template ( #9151 )
2023-08-28 07:33:12 -07:00
gtmnayan
213db5d20a
docs: fix easings example glitch ( #9114 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-08-25 09:04:08 -07:00
Simon H
d2ed2ca329
docs: note ambient module info ( #9106 )
2023-08-15 16:07:33 +02:00
Romain l'Ourson
da3cc6c0a0
fix: typo ( #9102 )
2023-08-13 20:35:42 -07:00
Andy Pan
037b6ce312
docs: Fix a regression for a quoted-attribute example ( #9103 )
...
* Fix a doc regression for a quoted-attribute example
* Prettier ignore
---------
Co-authored-by: Puru Vijay <47742487+PuruVJ@users.noreply.github.com>
2023-08-13 13:26:29 +05:30
Eric Liu
3597cedbd8
docs: fix typo in August newsletter ( #9100 )
2023-08-12 21:04:51 +02:00
github-actions[bot]
50c270a54d
Version Packages ( #9096 )
...
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-08-11 16:32:25 +02:00
Lyu, Wei-Da
05f99d20f9
feat: move svelteHTML to load the correct svelte/element ( #9070 )
...
Make IntrinsicElements extends SvelteHTMLElements
so it can be extend with declare module
converting to module so it can extend without needing another type alias
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-08-11 15:54:20 +02:00
Alpay
ea2b5700ca
docs: fix link ( #9071 )
2023-08-04 14:54:54 +05:30
Dani Sandoval
abf257306b
docs: "What's new in Svelte" August newsletter ( #9034 )
2023-07-31 17:29:15 +02:00
Ben McCann
ce047651e5
docs: update component directives page ( #9040 )
2023-07-28 12:11:14 +02:00
Ben McCann
d6abd0a604
docs: clarify performance concerns around props and restProps ( #9047 )
...
* docs: clarify performance concerns around props and restProps
* Update documentation/docs/02-template-syntax/02-basic-markup.md
2023-07-27 20:50:46 +02:00
Kai Erik Niermann
5cd4f7750e
docs: add parenthesis back to regex literal example ( #9027 )
...
* fix: added parenthesis to literal notation example
* add prettier-ignore
---------
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
2023-07-24 10:47:52 +05:45
Posandu Mapa
7af165de09
docs: make transition global in deferred transition example ( #9020 )
2023-07-21 11:24:25 -07:00
Jo Burgard
3dccf711f8
Fix error in example in 03-typescript.md ( #9001 )
2023-07-19 22:37:38 +02:00
Simon H
657f11376c
feat: add ability to extend custom element class ( #8991 )
...
This should help everyone who has special needs and use cases around custom elements. Since Svelte components are wrapped and only run on connectedCallback, it makes sense to expose the custom element class for modification before that.
- fixes #8954 / closes #8955 - use extend to attach the function manually and save possible values to a prop
- closes #8473 / closes #4168 - use extend to set the proper static attribute and then call attachInternals in the constructor
- closes #8472 - use extend to attach anything custom you need
- closes #3091 - pass `this` to a prop of your choice and use it inside your component
- add some doc for #8987
2023-07-18 18:21:19 +02:00
SpokenTurnip99
479e8744c5
docs: change fade to fly to match the tutorial ( #8982 )
...
In Transitions / Key Blocks the documentation showed a fade transition and this was not in sync with the tutorial which used a fly transition.
2023-07-18 12:17:41 +02:00
Aymeric-Henry
13286cfe42
fix(styling): fix styling on documentation for lesson 8-h ( #8990 )
2023-07-18 15:33:31 +05:30
gubo97000
d2d219f8ca
docs: changed path color for better visibility with dark theme ( #8957 )
2023-07-17 13:00:53 +05:30
Prajapati omkar
3c0bdcdb72
fix: css in examples directory. ( #8977 )
...
* Update App.svelte
CSS Fixes in span element.
* Add space
---------
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-07-17 12:49:36 +05:30
Romain l'Ourson
c1d3d58088
docs: remove compiler duplicate paragraph ( #8980 )
...
Co-authored-by: Romain Crestey <romain.crestey@radiofrance.com>
2023-07-16 09:30:01 +02:00
Fanny
f41ff96c3a
docs: fix typo ( #8966 )
2023-07-13 11:50:30 +02:00
gtmnayan
afcf853b65
docs: update migration guide bundler conditions section ( #8965 )
...
#8953 / #8961
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-07-13 11:26:00 +02:00