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

714 Commits

Author SHA1 Message Date
Bert B
c2ae05abcf
[docs] update link for community preprocessors (#6897) 2021-11-03 10:20:25 -04:00
Conduitry
cbbf002a8e
[docs] use new named export for marked 4 in examples (#6893) 2021-11-02 15:57:46 -04:00
Daniel Sandoval
530b6ae57d
[docs] "What's new in Svelte" November newsletter (#6888) 2021-11-02 17:11:25 +01:00
Nayan Gautam
990c21f7f3
[docs] Replace double tildes with Math.trunc in tutorials (#6880)
Using double tildes for truncating fractional numbers isn't readable for people who haven't encountered it before
2021-10-25 11:26:12 +02:00
Andrew Healey
b2d23e9d11
Fix broken link to "The Svelte Handbook" (#6878) 2021-10-24 16:51:55 +08:00
Ben McCann
b8efbb4cca
[docs] convert spaces to tabs 2021-10-21 19:28:44 -07:00
gunggmee
64435d1553
[docs] remove confusing assignment from stores tutorial (#6867)
Tutorial on writable stores contains unexplained and unused assignment
which might cause confusion.

Proper explanations on `unsubscribe` is in the next step of the tutorial.
2021-10-21 11:51:08 +02:00
Alexander Prinzhorn
6f8a6fe90b
[docs] Improve wording for animate docs (#6813) 2021-10-20 09:42:39 -07:00
Ignatius Bagus
76fa68d82f
[docs] update spring precision value (#6865) 2021-10-20 14:12:19 +02:00
Conduitry
883c47b45d [site] fix escaping in table of compiler options 2021-10-17 13:16:12 -04:00
Bjorn Lu
be1eff0305
[feat] add enableSourcemap option (#6835) 2021-10-17 13:04:35 -04:00
Mohamed Haddi
0d7c583364
[docs] align input controls (#6831) 2021-10-10 10:11:10 -07:00
DoctorNefario
55130be026
[docs] use 'transition' directive for custom JS transitions (#6796)
This prevents transition jumping when visibility is repeatedly toggled
2021-10-07 16:08:26 -04:00
Ben McCann
547fbc6ebd
[docs] what is rendered when for #await (#6788) 2021-10-01 08:23:04 +02:00
Daniel Sandoval
54ba76c1f0
[docs] "What's new in Svelte" October newsletter (#6774)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Bjorn Lu <34116392+bluwy@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2021-09-30 17:16:03 +02:00
zhoulixiang
e82cf3f6d7
[docs] update links to babeljs.io and buble.surge.sh to use https (#6787) 2021-09-29 09:59:51 -07:00
zhoulixiang
ca94762fe9
[docs] update link to rollup.org to use https (#6781) 2021-09-28 08:19:26 -07:00
Simon H
88204355d3
[docs] clarify readable callback timing (#6725)
#6724
2021-09-15 19:03:50 +02:00
Geoff Rich
7e156c014e
[docs] document details binding (#6700) 2021-09-10 10:02:45 -04:00
João Paulo
0027a41934
[docs] Fix typo in $$slots docs (#6709) 2021-09-10 10:00:56 -04:00
mellanslag-de
4f9a260ab1
[fix] Update outdated line number in tutorial text (#6689) 2021-09-02 13:53:00 +02:00
gunggmee
dc11e4487e
[docs] Fix a minor bug in binding tutorial (#6698)
To calculate y coordinate of `imageData`, we should divide the index with
`canvas.width` not with `canvas.height`. The current code works because the
shape of canvas is square.
2021-09-02 13:48:49 +02:00
Daniel Sandoval
4d30ef34e3
[docs] "What's new in Svelte" September newsletter (#6691) 2021-09-01 20:25:13 +02:00
Andrey Bienkowski
5a9cb770d8
[docs] Promote prettier-plugin-svelte (#6695) 2021-09-01 12:44:29 +02:00
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