Rich Harris
2925a00eff
add cssHash option ( #6026 )
...
* Allow to customize the css scope class
* Pass component name to scope class generator
* Move Stylesheet arguments into an object
* Refactor to cssHash
* Please the almighty linter
* pass hash function to cssHash
* update test
* document cssHash option
Co-authored-by: Christian Kaisermann <christian@kaisermann.me>
4 years ago
Alexis Ménard
ebbdb4277c
Tutorial : a better explanation of component events ( #4639 )
...
* feat(tutorial): better explanation of component events
Co-Authored-By: Antony Jones <ant@enzy.org>
4 years ago
Daniel Sandoval
8db3e8d029
"What's new in Svelte" February newsletter ( #5925 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
4 years ago
Ben McCann
55b11b0664
docs: define component before demonstrating usage ( #5921 )
4 years ago
halfnelson
a7eff8894f
add `foreign` namespace to preserve attribute case and skip HTML-specific a11y validations ( #5652 )
4 years ago
Domenik Reitzner
32775a699d
Make TypeScript integration more visible ( #5871 )
4 years ago
Daniel Sandoval
a8af2fa4e6
"What's new in Svelte" January newsletter ( #5827 )
4 years ago
kindoflew
bf35353170
site: fix formatMobile in chart examples ( #5787 )
4 years ago
Liam Egan
1046ca71a7
Remove duplicate sentence ( #5751 )
4 years ago
Aswin Vayiravan
f1b7c08a09
changed to colour names instead of hex codes for readability ( #5772 )
4 years ago
Ben McCann
3561bf2b96
Update testing FAQ ( #5744 )
4 years ago
Aswin Vayiravan
76d4580bcc
Changing hex codes to colour names to improve readability of the tutorial. ( #5761 )
4 years ago
Adam Rackis
e5aa04ed49
Add clarification on what makes a reactive block reactive to docs. ( #5729 )
...
* Add clarification on what makes a reactive block reactive to docs.
* Tweak reactive explanation
4 years ago
Conduitry
e02c291050
-> v3.31.0
4 years ago
Simon H
79214ccb0d
Revert typed SvelteComponent, add SvelteComponentTyped instead ( #5738 )
4 years ago
Aswin Vayiravan
307b86b030
Renamed 'Now' to 'Vercel' ( #5737 )
4 years ago
Daniel Sandoval
625e3056bf
"What's new in Svelte" December newsletter ( #5706 )
4 years ago
pushkin
01ead95cbe
add hasContext lifecycle function ( #5690 )
4 years ago
pushkin
1fa46fde4f
Correct `onDestroy` behavior description ( #5590 )
...
* Update 03-run-time.md
* Update site/content/docs/03-run-time.md
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
4 years ago
Phippsy
96ac898370
docs: mention that degit requires Git ( #5532 )
4 years ago
Kevin Åberg Kultalahti
daec25604f
docs: add conditional slot example ( #5383 )
4 years ago
fivem
ddd79e3f9d
tutorial: remove unneccessary performance.now() call inside raf ( #5513 )
4 years ago
swyx
e750b7284e
document await...catch shorthand ( #5682 )
4 years ago
Kieran Barker
795e5855ba
blog: fix link to Svelte package on npm ( #5669 )
4 years ago
Andy Bruère
4e114d3b0d
docs: remove broken link to easing function ( #5635 )
4 years ago
Rich Harris
80300f9702
update pubdate
4 years ago
Rich Harris
703ffe94dc
draft blog post about sveltekit ( #5638 )
...
* draft blog post about sveltekit
* make language less scary
* mention SvelteKit sooner
* expand on TS support
* tweak migration section
* change publication date
* replace video link with an embed
* small tweak
4 years ago
Simon H
fb8ef740fa
Blog post: Fix link
4 years ago
hmt
2db9cc2bc9
Some typos [ci-skip] ( #5632 )
4 years ago
Daniel Sandoval
33d1fc741a
"What's new in Svelte" November newsletter ( #5554 )
...
* outline and showcase so far
* respond to feedback, fill out features
* Update site/content/blog/2020-11-01-whats-new-in-svelte-november-2020.md
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* Update site/content/blog/2020-11-01-whats-new-in-svelte-november-2020.md
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
* Update number of speakers
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
4 years ago
Cameron Messinides
169fd8497c
docs: add documentation for $$slots ( #5277 )
4 years ago
izumiiii
9e0556cf70
docs: fix a11y warning in media elements example ( #5606 )
4 years ago
Irshad Ali
f3adbb2679
docs: fix a11y warning in media elements tutorial ( #5523 )
4 years ago
Daniel Power
379a4454c1
tutorial: move function declaration before reference ( #5491 )
4 years ago
Jessa Marie Pedrola
10f68289ba
Add more video courses links in FAQ ( #5490 )
4 years ago
Tan Li Hau
ebbbc0d298
docs: add missing `easing` option to `fade` ( #5495 )
4 years ago
Daniel Sandoval
324f74b427
"What's new in Svelte" October newsletter ( #5429 )
4 years ago
Tan Li Hau
fa7c780bad
{#key} block ( #5397 )
...
Co-authored-by: Conduitry <git@chor.date>
4 years ago
Tan Li Hau
a1651ca271
add nonpassive event modifier ( #5442 )
...
Co-authored-by: filipot <filipot@stud.ntnu.no>
4 years ago
Simon H
4c135b0b8d
Update editor recommendations of old blog post ( #5434 )
4 years ago
Cal Jacobson
6c8bd6e5aa
Include link to VS Code extension in tutorial ( #5231 )
4 years ago
Shriji
bd2175b67b
Add list of books to FAQ ( #5404 )
4 years ago
infuzz
5f422d8ddb
Link to more video courses in FAQ ( #5396 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
4 years ago
lonevox
3255f8b662
site: change "on to" to "onto" in tutorial 03 ( #5386 )
4 years ago
Eugene Hwang
ae971f80ae
docs: adjust explanations of `$$props` and `$$restProps` ( #5368 )
4 years ago
Cam Jackson
80e474a244
site: Replace "active" with "selected" as an example class name ( #5309 )
4 years ago
Simon H
8adb47401e
site: Fix blog JS type checking suggestion ( #5306 )
4 years ago
Venkateshwaran Selvaraj
ad8d8564ec
Adding Rich Harris's Frontend Masters course on FAQ page ( #5180 )
...
* Adding Rich Harris's Frontend Masters course on FAQ page
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
4 years ago
Luca Bonavita
8f17d6c78c
docs: document `bind:files` ( #5141 )
4 years ago
Ben McCann
1398affa53
Update TypeScript blog post with info about Sapper ( #5249 )
4 years ago
Ben McCann
cf57050f49
Mention "import type" in TypeScript FAQ ( #5243 )
...
* Mention "import type" in TypeScript FAQ
* Update site/content/faq/500-what-about-typescript-support.md
Co-authored-by: Christian Kaisermann <christian@kaisermann.me>
4 years ago
Charles Rosaaen
231e4a0b3c
site: update link in blog for SCode extension ( #5232 )
4 years ago
João Paulo
a0ed7040f1
site: clarify file -> module in <svelte:self> tutorial ( #5171 )
4 years ago
Conduitry
f4f16da455
site: use relative link to tutorial in FAQ entry
4 years ago
rmacklin
40987b7780
site: update links in the Sapper intro blog post ( #5189 )
4 years ago
Rich Harris
4b7c16e33a
tweak blog post anchor style to be less noisy
4 years ago
Orta Therox
f6152002eb
Initial stab at a TypeScript blog post ( #5101 )
...
* Initial stab at a blog post
* Update site/content/blog/2020-06-04-svelte-and-typescript.md
Co-authored-by: pngwn <hello@pngwn.io>
* Update 2020-06-04-svelte-and-typescript.md
* Apply suggestions from code review
Co-authored-by: halfnelson <dpershouse@gmail.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
* Tighten the post
* Fix degit sample
* Feedback
* More feeedback
* Handle feedback
* Handle all the feedback in the PR
* Add a note about the should work
* Change date
* code style consistency, fix syntax error
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: halfnelson <dpershouse@gmail.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
4 years ago
Luca Bonavita
c31a4b56d0
site: rephrase to clarify that actions can have just one parameter.
...
Closes #5173
4 years ago
Lev Maximov
fd0b47d0da
site: use https in link in blog ( #5148 )
4 years ago
Stanislav Lashmanov
5c6730e382
Simplify each block bindings example ( #5094 )
...
No need for CSS here, the same effect could be achieved with just a `disabled` binding.
4 years ago
Orta Therox
8a8177b897
site: add FAQ entry for how to document a svelte component ( #5131 )
4 years ago
Luca Bonavita
c2788de652
site: remove an obsolete TODO in blog post ( #5135 )
4 years ago
Adam Ho
b56829c7b8
site: fix blog typo ( #5090 )
4 years ago
Orta Therox
9975169539
Update docs now the lang tools stuff is in prod ( #5081 )
4 years ago
Antony Jones
dc73b735ce
docs: clarify onMount with non-synchronous handlers ( #5053 )
4 years ago
Richard Harris
1644f207b1
make canvas example more fun
4 years ago
Ben McCann
34e87ce579
site: faq: svelte-preprocess is now an official project ( #4997 )
4 years ago
Matt Wolff
5b2b58f46f
docs: media binding tweaks ( #4967 )
4 years ago
Ben McCann
85dad45668
site: faq: document how to declare reactive variable type ( #4973 )
4 years ago
Roman Kosov
a4dadf82be
site: fix some mixed content ( #4926 )
5 years ago
Ben McCann
4124ec535e
site: update FAQ to point to svelte-check ( #4916 )
5 years ago
Alessandro (Ale) Segala
81b6c0b986
docs: adjust readable store example ( #4903 )
5 years ago
Daniel Imfeld
f624d6e292
docs: `value` cannot be set via spread for indirectly bound values ( #4832 )
5 years ago
Matt Wolff
97db5cc7f7
docs: add blur to list of svelte/transition exports
5 years ago
Ben McCann
745c777806
site: move .dev TLD info from FAQ to readme ( #4883 )
5 years ago
Robert Hall
7fe1384f43
Property "muted" for <audio> and <video> ( #4690 )
...
* Audio two-way `muted` bind property
Loosely based on a37ee81676
?w=1
* Documentation
* fix test
* dont bother coercing muted, it happens automatically
Co-authored-by: Richard Harris <richard.a.harris@gmail.com>
5 years ago
Billy Levin
0cd40b79c8
invalidate -> update ( #4793 )
5 years ago
pngwn
d5e95594e9
feat(site): add svelte syntax highlighting ( #4851 )
5 years ago
Ben McCann
5ac8a1d07a
docs: link to list of community preprocessors ( #4817 )
5 years ago
Antony Jones
9be3310431
site: add FAQs page ( #4823 )
5 years ago
Joseph Abrahamson
5efeeecee8
docs: clarify store contract type signature ( #4539 )
5 years ago
Daniel Imfeld
a658fedb83
docs/tests: use event.key instead of event.which ( #4758 )
5 years ago
JocelynLi
b3364424d7
docs: tweak tutorial/default-values wording ( #4600 )
5 years ago
MichalBednarczyk
edeeb05a6c
docs: {#each} with key but without index ( #4721 )
5 years ago
Antony Jones
0e61e51358
docs: add v2 site link ( #4745 )
5 years ago
Conduitry
35a910eea2
docs: fix link to animate section
5 years ago
Eddy
75ae49312f
docs: fix link to transition section ( #4748 )
5 years ago
Daniel Imfeld
676d57b5f7
docs: clarify that all elements in an outroing block remain until the transition finishes ( #4684 )
5 years ago
pushkin
467fc84d7d
docs: mention |self modifier in reference section ( #4709 )
5 years ago
Daniel Imfeld
cc3c7fa9f4
docs: fix CSS typo in example ( #4685 )
5 years ago
Conduitry
0d263cc1ea
docs: use Node.TEXT_NODE in more places
5 years ago
John Abraham
8ddb073199
docs: add note to tutorial on Capitalised component variable names ( #4505 )
5 years ago
Ademola
7be80e96c6
docs: make text node type in example more explicit ( #4663 )
5 years ago
Robin Cussol
ece61381de
fix(examples): hide "undefined" domain in HN example ( #4643 )
...
* fix(examples): hide "undefined" domain in HN example
This commit introduces a null-undefined check against the domain of the HN items in the Hacker News example.
* Update site/content/examples/21-miscellaneous/01-hacker-news/Item.svelte
Co-Authored-By: Antony Jones <ant@enzy.org>
Co-authored-by: Antony Jones <ant@enzy.org>
5 years ago
Robin Cussol
df3ae85b42
fix(examples): use correct URL for Ask HN posts ( #4640 )
5 years ago
Tim Gates
89f30dae36
docs: Fix simple typo, specificy -> specify ( #4637 )
5 years ago
Tan Li Hau
91d758e35b
introduce $$restProps ( #4489 )
5 years ago
keke
48721520bd
docs: fix self-closing <svelte:options> tag ( #4524 )
5 years ago
Conduitry
addea43e4f
docs: describe falsy and nullish attribute behavior ( #4498 )
5 years ago
Conduitry
f244b80f7a
docs: referenced_from_script var value ( #4486 )
5 years ago