0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
Commit Graph

740 Commits

Author SHA1 Message Date
duarte-pompeu
8d3f4512f6
[docs] Fix the speed of the typewriter example to scale correctly (#6568) 2021-08-27 19:50:44 -07:00
Shinobu Hayashi
5df60e75a7
chore(docs): update Component-format script-markup-style order (#6682) 2021-08-25 15:20:07 +02:00
Geoff Rich
71cf6002f4
[docs] fix css in js embed (#6669)
pin emotion version to keep this from happening again
2021-08-20 09:01:28 +02:00
fsinn
e5c04bfd2f
docs: Selecting multiple elements in <select multiple> on MacOS with command key (#6636) 2021-08-17 12:58:13 -07:00
James Pickard
d85ac7eaa6
[docs] clarify reactivity tutorial text (#6628) 2021-08-16 16:39:37 -07:00
Ben McCann
268bc71724
Replace sveltejs/integrations with sveltesociety.dev (#6626) 2021-08-16 15:25:52 -07:00
Tommy Groshong
a232d68a41
docs: small spelling fixes in docs and comments (#6653) 2021-08-15 13:27:43 -07:00
Diego Ramos
d26c48a518
[docs] disable text select on falling emojis (#6654) 2021-08-15 13:26:42 -07:00
pngwn
db3101fa24
docs: fix heading levels (#6655) 2021-08-15 17:28:49 +01:00
Conduitry
1c58fa91cc
[docs] various adjustments to template syntax docs (#6619) 2021-08-08 09:43:43 -07:00
Tan Li Hau
ce550adef6
[feat] allow use:actions on <svelte:body> (#6608) 2021-08-04 12:19:13 -04:00
Samuel Plumppu
172f294cb6
docs: Fix property name typo for event.isTrusted (#6596) 2021-08-03 15:19:56 -07:00
Daniel Sandoval
b554e343e8
[docs] "What's new in Svelte" August newsletter (#6604) 2021-08-01 17:00:28 -07:00
Dennis Dudek
a3fb765d6f
[docs] add trusted modifier to list of modifiers in tutorial and docs (#6566) 2021-07-26 09:36:46 -07:00
Konstantin BIFERT
18780fac00
[docs] replace shift by the correct key to hold: control (#6573) 2021-07-26 06:46:27 -07:00
Stephane
63f592e713
[docs] Add clarification about reactivity and arrays (#6547) 2021-07-23 13:21:37 -07:00
Hofer Ivan
5cfefeb6e7
support rendering components in a shadow dom (#5870) 2021-07-21 15:51:31 -04:00
Tan Li Hau
222a9dd2c6
[feat] get all contexts (#6528)
* get all contexts

* docs

* explicit return type

* allow specifying return type through generic parameter

* Update site/content/docs/03-run-time.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2021-07-21 12:59:00 +08:00
Maxime LUCE
0cf5511ae0
[feat] Add errorMode option to compile to allow continuing on errors (and mark them as warnings) (#6194)
This PR adds a new option errorMode to CompileOptions to allow continuing the compilation process when errors occured.
When set to warn, this new option will indicate to Svelte that it should log errors as warnings and continue compilation.

This allows (notably) preprocessors to compile the markup to detect vars in markup before preprocessing (in this case: script and style tags are stripped so it can produce a lot of errors).

This PR is part of a work on the svelte-preprocess side to improve the preprocessing of TypeScript files: https://github.com/sveltejs/svelte-preprocess/issues/318

- allow compiler to pass error as warnings
- enforce stops after errors during compilation (for type-checking, TS doesn't know the error method throws)
- should review Element.ts:302
- added a test case for errorMode
- added documentation
2021-07-17 13:37:29 +02:00
Simon H
931738e821
[docs] mention that afterUpdate runs after onMount
Closes #4273
2021-07-14 13:45:34 +02:00
Ashish Kapoor
ddde34aeb9
[docs] Multi select works by pressing and holding shift key (#6532)
For better understanding.
2021-07-14 10:24:16 +02:00
Simon H
53e0754d3b
[docs] remove unnecessary immutable option from App.svelte
Closes #5976
2021-07-12 14:51:15 +02:00
Simon H
937c7c9c4a
[docs] document $store behavior more explicitely
Closes #4677
2021-07-12 10:24:32 +02:00
David Dawkins
e7cbea64e0
[docs] fix padding in svg bar chart example (#5945)
Fixes #5941
2021-07-12 10:13:54 +02:00
Ignatius Bagus
5334f4ad1b
docs: mention usage of regexp literal in text expressions (#5640) 2021-07-09 21:16:37 -07:00
Conduitry
64c162c6b7 docs: adjust formatting in compiler options table 2021-07-08 10:48:49 -04:00
Geoff Rich
2842227cf0
docs: fix heading level a11y issue (#5679) 2021-07-08 06:55:03 -07:00
Eirik Vågeskar
854a7de451
[docs] Add tutorial step for key blocks (#6420) 2021-07-08 06:43:59 -07:00
decaylala
8457a73cef
[docs] adjust function name (#6495) 2021-07-05 12:10:29 +02:00
Geoff Rich
a35506b5eb
[docs] update a11y docs (#6487) 2021-07-02 18:40:27 +02:00
Joakim Berglund
ecc3c08999
Trackpad and touch support in media example (#5912) 2021-07-02 08:20:44 -07:00
Jatin Hemnani
c4f4a3dc2e
[docs] added transition on toggling folder in tutorial (#6453) 2021-07-02 08:14:08 -07:00
Odee
287cccc450
[docs] Update auto-subscriptions tutorial to explicitly say that subscribe returns unsubscribe (#6448) 2021-07-02 08:12:11 -07:00
Daniel Sandoval
a6fbf7faf5
[docs] "What's new in Svelte" July newsletter (#6459) 2021-07-01 15:22:40 +02:00
Lukas Möller
2a9f9d7bb0
Remove unused toggle prop from example (#5124) 2021-06-29 08:54:06 -07:00
Geoff Rich
e73f641ca5
Remove deprecated a11y-no-onchange warning (#6457) 2021-06-29 10:46:03 -04:00
Maxime LUCE
aedf69c1cf
Add compilation variables report option to allow getting all variables (even undeclared or internal) (#6192)
* feat: add compilation variables report option

* test: add full var report test

* docs: document varsReport compile option
2021-06-29 09:43:52 +08:00
Caleb Chiesa
98ece151b3
Fix typo in stores tutorial (#6461) 2021-06-28 06:18:47 -07:00
Simon H
92fba761a8
docs: clarify writable value is lost when destroyed
Closes #4610
Closes #4407
2021-06-27 18:58:38 +02:00
swyx
e43778a0c4
document new style props feature in Svelte 3.38 (#6378) 2021-06-27 18:13:07 +02:00
EmNudge
0e18b1311e
docs: clarified readonly prop access (#5825) 2021-06-27 18:05:53 +02:00
Ophir LOJKINE
f797482e27
Add documentation for crossfade (#6196) 2021-06-27 18:01:26 +02:00
fivem
bca46b9f70
tutorial: In the onDestroy example, explicitly show the memory leak (#5515) 2021-06-26 21:13:25 -07:00
The Jared Wilcurt
7115601cd3
Docs: Accurately name function (#4060) 2021-06-26 20:23:30 +02:00
Simon Scharf
f99deeb67b
docs: remove type property from special elements tutorial (#4715)
Instead, determine type based on the existence of the files property. Removes console warnings
2021-06-26 20:18:09 +02:00
Stephane
f9b796cabe
Add tutorial for component binding (#5009)
Closes #5008

Co-authored-by: Stephane Vanraes <stephane.vanraes@fjordline.com>
Co-authored-by: pngwn <pnda007@gmail.com>
2021-06-26 20:09:49 +02:00
Outvi V
92422fdee2
doc: Add notes to stress call-context-during-initialisation (#5631) 2021-06-26 20:05:17 +02:00
Nguyễn Đức Hào
0f92863033
tutorial: add name attribute to inputs (#5649) 2021-06-26 19:57:48 +02:00
Aswin Vayiravan
4b4717b351
Reorder text area and output to improve visibility (#5790) 2021-06-26 19:55:35 +02:00
Geoff Rich
7bf3f20dc3
Add docs for compound :global selector (#6271)
* Add docs for compound :global selector

Co-authored-by: Antony Jones <ant@enzy.org>
2021-06-26 17:56:10 +01:00
Tan Li Hau
142de015eb
add accessibility warnings to the docs (#5316) 2021-06-26 12:09:40 -04:00
Tan Li Hau
25a48be0ef
update docs for style tag in elements (#6415) 2021-06-26 12:09:00 -04:00
Ersin Ertan
0e1d54efdf
Add Vite to intro's officially maintained plug-ins (#6446) 2021-06-25 14:50:57 +02:00
Dominik G
2c488f4d61
docs: update documentation for preprocessor sourcemap output (#6438) 2021-06-24 07:03:13 -07:00
pngwn
8dd9c1b098
docs: make yaml frontmatter in blogs valid (#6206) 2021-06-15 11:51:45 -07:00
Debargha Roy
8f6bb14e69
Minor update to svelte:body-tutorial (#6376)
Switch style/html order
2021-06-02 09:06:07 +02:00
Andrew Lee
791104d9fe
Adjust store unsubscribe tutorial section (#5975)
The `unsubscribe` function in the first step was without any usage, which lead to confusion
2021-06-01 14:19:30 +02:00
Daniel Sandoval
2ae79f6815
"What's new in Svelte" June newsletter (#6356) 2021-05-30 15:35:40 +02:00
Simon H
e27d71f0cf
docs: fix typo 2021-05-30 12:33:20 +02:00
Kai
1a1f36edcf
Tutorial: Description fix - each block bindings (#5974)
The chapter highlights event binding in `each` block which is missing within the snippet. Thus it seems reasonable to include it within the description snippet block.
2021-05-29 19:56:17 +02:00
Paul Murray
ad29604d6b
Docs: Rename slot let section (#6018)
The title of this section was a bit confusing, since `<slot let:name={value} />` is not actually the correct syntax
2021-05-29 19:46:20 +02:00
Dan Kozlov
cc58f60002
Add a note that bind:files is readonly (#6099) 2021-05-29 19:44:25 +02:00
Stephane
b1d09a4aa2
Clarify that special elements have to be top level (#6240) 2021-05-29 19:36:35 +02:00
Bashu Naimi-Roy
8184bd5219
docs: update Keyed Each Blocks tutorial (#6358) 2021-05-29 19:31:11 +02:00
Simon H
4acfb05315
Docs: Clarify that @html does not compile Svelte code (#6349) 2021-05-29 18:44:42 +02:00
Konstantin Nosov
fd9eea28f2
remove redundant CSS (#6355) 2021-05-26 11:13:37 -07:00
Ignatius Bagus
b295d68ec6
fix types: allow writable/readable empty initialization (#6293)
Fixes #6291
Fixes #6345

Both writable and readable initialized without any arguments are already valid, but TS complains about it. This makes both allowed to be emptily initialized. It's also possible to invoke readable with one argument only.
2021-05-20 15:31:51 +02:00
Adam Alexander
3301b09619
Fix tutorial instructions refer to wrong line number in code (#6342)
Instructions refer to wrong line number

Video element is not on line 116, it's on line 58
2021-05-19 11:40:42 +02:00
Ajit Krishna
b11f5b12f5
Update <svelte:options> copy (#6339)
<svelte:options> is not the last lesson in "Special Elements"
2021-05-18 16:27:44 +02:00
Lawrence Logoh
58b897fc83
updated select-bindings text.md (#6333)
Referenced line is now 20 instead of 24
2021-05-16 14:16:24 +02:00
Walker Lockard
19e4a4fdf3
Update tutorial text.md (#6329)
The component referenced in text.md is no longer on line 33 of the provided code.
2021-05-16 08:39:39 +02:00
Alex Iglesias
341160f782
[Tutorial] Update Chapter 19 to reference SvelteKit (#6284) 2021-05-03 08:27:11 -07:00
Daniel Sandoval
7b6526ed70
"What's new in Svelte" May newsletter (#6243) 2021-05-01 18:35:42 +02:00
BabakFP
ec2540787a
Changing tutorial/example order from script-style-html to script-html-style (#6213)
Also change button style in one tutorial
2021-04-22 18:05:13 +02:00
Mauricio Paternina
27234275c0
tutorial: fix custombutton colors for a11y contrast (#6212) 2021-04-21 09:46:00 -07:00
Maxime LUCE
08047c14b6
Pass full markup source to preprocessors (#6169) 2021-04-12 18:00:38 +02:00
Geoff Rich
a55295de8c
docs: mention that svelte:self can be in a slot (#6184) 2021-04-12 08:01:41 +08:00
Daniel Sandoval
c7e820e08f
"What's new in Svelte" April newsletter (#6129) 2021-04-01 12:48:31 +02:00
Peter Boling
5ba7d35921
site: improve grammar in tutorial comment (#6156) 2021-03-31 11:16:23 -04:00
Tan Li Hau
6c5257beb2
allow passing in context in constructor (#6032)
Co-authored-by: Conduitry <git@chor.date>
2021-03-31 11:07:32 -04:00
Mark A Shuttleworth
e84e356ca5
site: fix grammatical issue in tutorial/update (#6136) 2021-03-29 22:47:54 -04:00
Stephane
47e1eeed56
Add documentation and tutorial for svelte:fragment (#6097) 2021-03-29 23:01:29 +02:00
Alaric von Teplitz
ddfe920ede
Spelling error fix. (#6131) 2021-03-28 17:45:34 +02:00
Stephane
42a9431e70
Link to Svelte Society instead of old Community site (#6043) 2021-03-24 13:45:49 +01:00
Ben McCann
f20c5ede30
Update FAQ for SvelteKit beta (#6124) 2021-03-24 13:36:22 +01:00
Rich Harris
798d1f9b5a add "what is sveltekit" section 2021-03-23 15:24:58 -04:00
Rich Harris
1a906dffe1 tweak aside placement 2021-03-23 14:02:08 -04:00
Rich Harris
5655e46dac fix blog post date 2021-03-23 14:00:05 -04:00
Rich Harris
4b8ddc3469
SvelteKit beta launch post (#6120)
* kit beta announcement post

* tweak
2021-03-23 11:37:36 -04:00
Geoff Rich
ce3a579125
docs: update 7gui example links (#6052) 2021-03-05 11:29:03 -05:00
Daniel Sandoval
22355a3a34
"What's new in Svelte" March newsletter (#6033)
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Don Denton <don@happycollision.com>
2021-03-01 16:55:42 +01:00
Simon H
423a7f2e61
Add "Where can I get support?" to FAQ (#6036)
* Add "Where can I get support?" to docs

Related to the discussion in #6035
2021-03-01 14:45:51 +00:00
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>
2021-02-25 18:06:38 -05:00
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>
2021-02-04 10:10:34 +00:00
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>
2021-02-01 14:37:25 +01:00
Ben McCann
55b11b0664
docs: define component before demonstrating usage (#5921) 2021-01-26 09:50:53 +08:00
halfnelson
a7eff8894f
add foreign namespace to preserve attribute case and skip HTML-specific a11y validations (#5652) 2021-01-25 16:25:10 -05:00
Domenik Reitzner
32775a699d
Make TypeScript integration more visible (#5871) 2021-01-17 21:24:48 -08:00
Daniel Sandoval
a8af2fa4e6
"What's new in Svelte" January newsletter (#5827) 2020-12-31 13:48:20 -08:00
kindoflew
bf35353170
site: fix formatMobile in chart examples (#5787) 2020-12-24 17:52:06 -05:00
Liam Egan
1046ca71a7
Remove duplicate sentence (#5751) 2020-12-14 14:38:24 +00:00
Aswin Vayiravan
f1b7c08a09
changed to colour names instead of hex codes for readability (#5772) 2020-12-11 15:55:22 -08:00
Ben McCann
3561bf2b96
Update testing FAQ (#5744) 2020-12-09 14:52:53 -08:00
Aswin Vayiravan
76d4580bcc
Changing hex codes to colour names to improve readability of the tutorial. (#5761) 2020-12-09 07:10:21 -08:00
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
2020-12-06 20:54:29 +08:00
Conduitry
e02c291050 -> v3.31.0 2020-12-02 15:55:14 -05:00
Simon H
79214ccb0d
Revert typed SvelteComponent, add SvelteComponentTyped instead (#5738) 2020-12-02 15:53:18 -05:00
Aswin Vayiravan
307b86b030
Renamed 'Now' to 'Vercel' (#5737) 2020-12-01 19:46:09 -08:00
Daniel Sandoval
625e3056bf
"What's new in Svelte" December newsletter (#5706) 2020-12-01 16:16:23 +01:00
pushkin
01ead95cbe
add hasContext lifecycle function (#5690) 2020-11-23 11:29:01 -05:00
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>
2020-11-19 07:30:47 +08:00
Phippsy
96ac898370
docs: mention that degit requires Git (#5532) 2020-11-18 12:24:43 -05:00
Kevin Åberg Kultalahti
daec25604f
docs: add conditional slot example (#5383) 2020-11-18 09:41:47 -05:00
fivem
ddd79e3f9d
tutorial: remove unneccessary performance.now() call inside raf (#5513) 2020-11-18 07:34:44 -05:00
swyx
e750b7284e
document await...catch shorthand (#5682) 2020-11-17 18:41:35 +08:00
Kieran Barker
795e5855ba
blog: fix link to Svelte package on npm (#5669) 2020-11-10 08:13:29 -05:00
Andy Bruère
4e114d3b0d
docs: remove broken link to easing function (#5635) 2020-11-09 09:51:26 -05:00
Rich Harris
80300f9702 update pubdate 2020-11-04 21:28:35 -05:00
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
2020-11-04 01:00:17 -05:00
Simon H
fb8ef740fa
Blog post: Fix link 2020-11-02 08:41:30 +01:00
hmt
2db9cc2bc9
Some typos [ci-skip] (#5632) 2020-11-02 07:51:03 +08:00
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>
2020-11-01 10:13:10 +01:00
Cameron Messinides
169fd8497c
docs: add documentation for $$slots (#5277) 2020-10-29 16:24:39 -04:00
izumiiii
9e0556cf70
docs: fix a11y warning in media elements example (#5606) 2020-10-28 12:23:47 -04:00
Irshad Ali
f3adbb2679
docs: fix a11y warning in media elements tutorial (#5523) 2020-10-22 12:45:45 -04:00
Daniel Power
379a4454c1
tutorial: move function declaration before reference (#5491) 2020-10-21 15:22:00 -07:00
Jessa Marie Pedrola
10f68289ba
Add more video courses links in FAQ (#5490) 2020-10-20 08:40:24 -07:00
Tan Li Hau
ebbbc0d298
docs: add missing easing option to fade (#5495) 2020-10-04 07:52:56 -04:00
Daniel Sandoval
324f74b427
"What's new in Svelte" October newsletter (#5429) 2020-10-01 07:29:46 +02:00
Tan Li Hau
fa7c780bad
{#key} block (#5397)
Co-authored-by: Conduitry <git@chor.date>
2020-09-25 10:12:49 -04:00
Tan Li Hau
a1651ca271
add nonpassive event modifier (#5442)
Co-authored-by: filipot <filipot@stud.ntnu.no>
2020-09-24 15:54:54 -04:00
Simon H
4c135b0b8d
Update editor recommendations of old blog post (#5434) 2020-09-22 16:24:13 -07:00
Cal Jacobson
6c8bd6e5aa
Include link to VS Code extension in tutorial (#5231) 2020-09-20 20:49:18 -07:00
Shriji
bd2175b67b
Add list of books to FAQ (#5404) 2020-09-15 08:53:46 -07:00
infuzz
5f422d8ddb
Link to more video courses in FAQ (#5396)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2020-09-15 08:49:07 -07:00
lonevox
3255f8b662
site: change "on to" to "onto" in tutorial 03 (#5386) 2020-09-11 17:51:59 -04:00
Eugene Hwang
ae971f80ae
docs: adjust explanations of $$props and $$restProps (#5368) 2020-09-10 15:31:28 -04:00
Cam Jackson
80e474a244
site: Replace "active" with "selected" as an example class name (#5309) 2020-09-10 15:28:59 -04:00
Simon H
8adb47401e
site: Fix blog JS type checking suggestion (#5306) 2020-08-26 10:10:21 -04:00
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>
2020-08-12 13:11:43 -07:00
Luca Bonavita
8f17d6c78c
docs: document bind:files (#5141) 2020-08-12 16:05:59 -04:00
Ben McCann
1398affa53
Update TypeScript blog post with info about Sapper (#5249) 2020-08-07 15:01:58 -07:00
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>
2020-08-07 12:16:10 +01:00
Charles Rosaaen
231e4a0b3c
site: update link in blog for SCode extension (#5232) 2020-08-03 15:48:35 -04:00
João Paulo
a0ed7040f1
site: clarify file -> module in <svelte:self> tutorial (#5171) 2020-07-30 11:43:45 -04:00
Conduitry
f4f16da455 site: use relative link to tutorial in FAQ entry 2020-07-28 16:39:17 -04:00
rmacklin
40987b7780
site: update links in the Sapper intro blog post (#5189) 2020-07-23 20:10:41 -04:00
Rich Harris
4b7c16e33a tweak blog post anchor style to be less noisy 2020-07-21 10:54:34 -04:00
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>
2020-07-21 10:28:26 -04:00
Luca Bonavita
c31a4b56d0 site: rephrase to clarify that actions can have just one parameter.
Closes #5173
2020-07-21 15:12:59 +01:00
Lev Maximov
fd0b47d0da
site: use https in link in blog (#5148) 2020-07-14 16:13:19 -04:00
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.
2020-07-14 18:27:42 +01:00
Orta Therox
8a8177b897
site: add FAQ entry for how to document a svelte component (#5131) 2020-07-13 11:46:24 -04:00
Luca Bonavita
c2788de652
site: remove an obsolete TODO in blog post (#5135) 2020-07-13 11:40:33 -04:00
Adam Ho
b56829c7b8
site: fix blog typo (#5090) 2020-06-30 10:44:44 -04:00
Orta Therox
9975169539
Update docs now the lang tools stuff is in prod (#5081) 2020-06-28 09:05:04 -04:00
Antony Jones
dc73b735ce
docs: clarify onMount with non-synchronous handlers (#5053) 2020-06-23 10:53:49 -04:00
Richard Harris
1644f207b1 make canvas example more fun 2020-06-16 08:16:28 -04:00
Ben McCann
34e87ce579
site: faq: svelte-preprocess is now an official project (#4997) 2020-06-09 19:21:03 -04:00
Matt Wolff
5b2b58f46f
docs: media binding tweaks (#4967) 2020-06-08 10:49:14 -04:00
Ben McCann
85dad45668
site: faq: document how to declare reactive variable type (#4973) 2020-06-08 09:03:07 -04:00
Roman Kosov
a4dadf82be
site: fix some mixed content (#4926) 2020-05-29 10:10:19 -04:00
Ben McCann
4124ec535e
site: update FAQ to point to svelte-check (#4916) 2020-05-27 13:01:14 -04:00
Alessandro (Ale) Segala
81b6c0b986
docs: adjust readable store example (#4903) 2020-05-25 16:56:31 -04:00
Daniel Imfeld
f624d6e292
docs: value cannot be set via spread for indirectly bound values (#4832) 2020-05-21 16:37:29 -04:00
Matt Wolff
97db5cc7f7
docs: add blur to list of svelte/transition exports 2020-05-21 16:33:58 -04:00
Ben McCann
745c777806
site: move .dev TLD info from FAQ to readme (#4883) 2020-05-21 16:29:55 -04:00
Robert Hall
7fe1384f43
Property "muted" for <audio> and <video> (#4690)
* Audio two-way `muted` bind property

Loosely based on a37ee81676

* Documentation

* fix test

* dont bother coercing muted, it happens automatically

Co-authored-by: Richard Harris <richard.a.harris@gmail.com>
2020-05-18 21:37:03 -04:00
Billy Levin
0cd40b79c8
invalidate -> update (#4793) 2020-05-17 12:04:37 -04:00
pngwn
d5e95594e9
feat(site): add svelte syntax highlighting (#4851) 2020-05-17 12:03:22 -04:00
Ben McCann
5ac8a1d07a
docs: link to list of community preprocessors (#4817) 2020-05-13 07:53:06 -04:00
Antony Jones
9be3310431
site: add FAQs page (#4823) 2020-05-13 07:49:25 -04:00
Joseph Abrahamson
5efeeecee8
docs: clarify store contract type signature (#4539) 2020-05-03 12:13:15 -04:00
Daniel Imfeld
a658fedb83
docs/tests: use event.key instead of event.which (#4758) 2020-05-01 19:34:54 -04:00
JocelynLi
b3364424d7
docs: tweak tutorial/default-values wording (#4600) 2020-04-29 17:19:21 -04:00
MichalBednarczyk
edeeb05a6c
docs: {#each} with key but without index (#4721) 2020-04-29 15:48:45 -04:00
Antony Jones
0e61e51358
docs: add v2 site link (#4745) 2020-04-29 15:38:58 -04:00
Conduitry
35a910eea2 docs: fix link to animate section 2020-04-29 15:17:29 -04:00
Eddy
75ae49312f
docs: fix link to transition section (#4748) 2020-04-29 15:14:55 -04:00
Daniel Imfeld
676d57b5f7
docs: clarify that all elements in an outroing block remain until the transition finishes (#4684) 2020-04-24 09:20:31 -04:00
pushkin
467fc84d7d
docs: mention |self modifier in reference section (#4709) 2020-04-23 09:08:42 -04:00
Daniel Imfeld
cc3c7fa9f4
docs: fix CSS typo in example (#4685) 2020-04-18 06:38:36 -04:00
Conduitry
0d263cc1ea docs: use Node.TEXT_NODE in more places 2020-04-12 13:30:39 -04:00
John Abraham
8ddb073199
docs: add note to tutorial on Capitalised component variable names (#4505) 2020-04-12 13:25:32 -04:00
Ademola
7be80e96c6
docs: make text node type in example more explicit (#4663) 2020-04-12 13:17:54 -04:00
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>
2020-04-07 09:30:48 -04:00
Robin Cussol
df3ae85b42
fix(examples): use correct URL for Ask HN posts (#4640) 2020-04-07 09:30:33 -04:00
Tim Gates
89f30dae36
docs: Fix simple typo, specificy -> specify (#4637) 2020-04-06 06:45:27 -04:00
Tan Li Hau
91d758e35b
introduce $$restProps (#4489) 2020-03-09 22:22:39 -04:00
keke
48721520bd
docs: fix self-closing <svelte:options> tag (#4524) 2020-03-08 09:36:11 -04:00
Conduitry
addea43e4f
docs: describe falsy and nullish attribute behavior (#4498) 2020-03-02 09:01:00 -05:00
Conduitry
f244b80f7a
docs: referenced_from_script var value (#4486) 2020-02-28 23:07:34 -05:00
Jesse Skinner
20e079007c
docs: clarify default prop behaviour (#4460) 2020-02-28 08:47:21 -05:00
Antony Jones
7831766fa0
site: turn fancybutton into custombutton (#4476) 2020-02-27 06:40:42 -05:00
Matthew Dempsky
a53da7e4b0
site: clearer examples for <slot let:name> (#4125) 2020-02-22 23:40:07 -05:00
Jesse Skinner
c992f7a2d2
docs: reword to avoid "outroing" (#4434) 2020-02-20 08:49:34 -05:00
Kevin Tewouda
2b3c2daafb
blog: svelte-for-new-developers: list commands for Windows (#4391) 2020-02-15 12:35:54 -05:00
PKlknr
7fdae5f8a8
docs: add await in front of preprocess examples (#4404) 2020-02-12 08:45:06 -05:00
Conduitry
83d461f537
site: clarify preserveWhitespace (#4341)
* site: clarify preserveWhitespace

* Update 04-compile-time.md

Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
2020-01-31 14:55:13 -05:00
Wolfr
70d1795088 site: Remove WIP message, but still reference the chat room. (#4329) 2020-01-27 14:41:18 -05:00
Conduitry
3ba4f8abca site: fix a couple absolute links 2020-01-22 20:11:45 -05:00
Conduitry
7494509dfd
only attach SSR <head> markers when hydratable: true (#4260) 2020-01-14 12:11:52 -05:00
Kevin Åberg Kultalahti
3d9655a2a1 site: add documentation for global keyframes (#4232) 2020-01-08 17:19:19 -05:00
Conduitry
14154fce36
site: document Observable interop (#2571) 2020-01-07 17:26:57 -05:00
Conduitry
252ec8ceca site: missing space 2020-01-07 16:37:14 -05:00
trbrc
45933f9700 site: Clearer documentation of store contract (#4216) 2020-01-07 15:07:07 -05:00
Josh Duff
00e39c767a site: Explain how each blocks work a bit more (#4118) 2020-01-06 17:59:31 -05:00
Thomas Ferro
fe750d2606 Doc (#4172): Fixing the unclear slot with fallback content example 2020-01-05 16:08:46 -05:00
Gautam krishna R
7ff0c83191 site: update instructions for jetbrains IDEs (#4052)
* Updated instruction for jetbrains IDEs

added instruction to use plugins instead of treating svelte as html

* Updated JetBrains WebStorm description
2020-01-05 06:32:06 -05:00
Vulwsztyn
fb6d570b92 tutorial 12.a inconsistency fix
Update of tutorial page 12.a making it match with "Show me" result
2019-12-21 22:01:59 -05:00
Yugo Ogura
11002c93fe site: fix wrong link to tweened (#4137) 2019-12-21 05:01:35 -05:00
Sebastian Stephan
4e51d35dd8 site: fix link to realworld demo in blogpost (#4028)
* Fix link to realworld demo in blogpost

* link to repo instead
2019-12-04 12:57:23 -05:00
Rich Harris
193f9e1e1e
Merge pull request #3955 from joncfoo/patch-1
Document $: in the tutorial
2019-11-29 21:12:33 -05:00
Rich Harris
ae8684ffff
Update text.md 2019-11-29 21:11:44 -05:00
Conduitry
3d0a5f8c37 site: update links to rollup-plugin-svelte repo 2019-11-25 13:30:36 -05:00
Richard Harris
d1146281ef only mention official plugins, link to integrations for others. closes #3970 2019-11-23 18:34:58 -05:00
Jonathan Curran
d8e625c439
Document $: in the tutorial
This change re-words some of the prose so that the label syntax is spoken of in _unfamiliar_ terms rather than _alien_ as it is valid syntax and not some svelte-specific feature/functionality.
2019-11-19 17:49:46 +01:00
Rich Harris
0aceccc31b Merge branch 'master' of github.com:sveltejs/svelte 2019-11-18 10:52:04 -05:00
Rich Harris
1dead6fa9d typo 2019-11-18 10:52:02 -05:00
Rich Harris
5721ae3aeb
Merge pull request #3943 from Conduitry/gh-2505
site: add font fallback for Comic Sans MS
2019-11-18 10:45:39 -05:00
Rich Harris
a4658e2d42 document new media element bindings 2019-11-18 10:43:05 -05:00
AlexxNB
2285ee222a fix 'action with param' example and tutorial 2019-11-18 12:47:30 +03:00
Conduitry
78eea640d3 site: add font fallback for Comic Sans MS (#2505) 2019-11-17 17:22:21 -05:00
Rich Harris
bbf47501d5 linux instructions 2019-11-15 17:54:04 -05:00
Rich Harris
5dfc7094d8 add blog post 2019-11-15 16:19:51 -05:00
Rich Harris
054f409950
better tutorial for parameterised actions (#3930)
* better tutorial for parameterised actions

* update example alongside tutorial

* update thumbnail
2019-11-15 12:03:15 -05:00
Rich Harris
331bb39c0a
Merge pull request #3826 from vascoosx/crud-example-update-fix
Fix crud example update error after searching
2019-11-14 16:55:42 -05:00
Rich Harris
3889ec499e
simpler fix 2019-11-14 16:55:34 -05:00
Tan Li Hau
b382b9a9c6 add loopGuardTimeout options 2019-11-11 22:50:48 +08:00
Shakhbulat Gazgireev
31a81d3553 Site: add editor file association instructions (#3888) 2019-11-10 08:16:39 -05:00
Richard Harris
1dfd42c3f4 tweak wording 2019-11-09 15:07:01 -05:00
Richard Harris
98c76ec7e8 Merge branch 'master' of https://github.com/SrZorro/svelte into SrZorro-master 2019-11-09 15:01:53 -05:00
Rich Harris
0f602a17c2
Merge pull request #3874 from el1f/example-logotype
✏️ outdated logotype on svg-transition example
2019-11-09 14:57:48 -05:00
Rich Harris
7ab26f872b
Make font-weight 400, add to stylesheet 2019-11-09 14:57:14 -05:00
Conduitry
de80ae72c3 site: clarify bind component prop docs (#3484) 2019-11-09 14:32:22 -05:00
Alex Simonides
a83b2fa6d7 #3864: Update Penner easing functions link (#3865) 2019-11-09 14:09:47 -05:00
Ayoub
752c09cf53 ✏️ outdated logotype on svg-transition example 2019-11-08 02:24:34 +01:00
Rich Harris
e467c92564 fix logo-mask url, remove unused file 2019-11-06 11:49:40 -05:00
Fox
b750aaa46d
site/tutorials - Added extra explanation for object reactivity 2019-11-06 15:42:59 +01:00
Leonardo Di Vittorio
1b8a1b22a6 fix: svelte-logo-mask correct file name 2019-11-06 15:20:51 +01:00
red-meadow
3174d3cc59 Minor tutorial fix (#3843) 2019-11-03 09:25:46 -05:00
Shunichi Hato
b704531a2e Make selection reactive with search 2019-11-03 13:58:35 +09:00
Shunichi Hato
4918faf605 Fix crud example update error when filtering
because the index `i` in update refers to the index in the original
2019-10-31 17:28:56 +09:00
Rich Harris
1324a57786
oops, remove some debugging code 2019-10-29 12:55:41 -04:00
Rich Harris
e931a56854
Merge pull request #3762 from sveltejs/gh-3761
allow spring/tweened values to be initially undefined
2019-10-28 07:18:12 -04:00
Richard Harris
e8f5b24143 docs and a fix for #3761 2019-10-27 21:10:12 -04:00
Richard Harris
e55bf4013d remove some unused code 2019-10-27 18:36:19 -04:00
Richard Harris
fe3412828c make modal more accessible 2019-10-27 18:26:06 -04:00
Richard Harris
1b245a48c2 Merge branch 'patch-1' of https://github.com/SteveALee/svelte into SteveALee-patch-1 2019-10-27 18:24:32 -04:00
Steve Lee
1668316621
Fix script end tag 2019-10-27 18:44:57 +00:00