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
btvoidx
b1621d697d
[fix] Prevent layout shifting on hovering "Who's using Svelte?" ( #6639 )
2021-08-13 06:18:36 -07:00
dependabot[bot]
5f693c84ee
Bump path-parse from 1.0.6 to 1.0.7 in /site ( #6635 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-12 15:58:47 -07: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
Ben McCann
16d562fcf6
site: bump Svelte version
2021-07-21 08:35:22 -07: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
Antony Jones
fdd3d4b448
be a bit smarter about building the site locally ( #5262 )
...
Co-authored-by: Antony Jones <antony@beyonk.com>
2021-07-12 11:43:03 -07: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
Adam Bates
f2ca8bc64b
[docs] Fixed typo 'site-repl' -> 'svelte-repl', with minor change to a sentence's structure ( #6498 )
...
(used to look like a list of 4, when really it's a list of 2).
2021-07-06 16:31:42 +02:00
decaylala
8457a73cef
[docs] adjust function name ( #6495 )
2021-07-05 12:10:29 +02:00
Ben McCann
f2fa7b2186
[docs] bump site-kit version
2021-07-04 20:31:04 -07: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
dependabot[bot]
487190fd93
Bump prismjs from 1.23.0 to 1.24.0 in /site ( #6467 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.24.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-28 15:10:07 -07:00
Caleb Chiesa
98ece151b3
Fix typo in stores tutorial ( #6461 )
2021-06-28 06:18:47 -07:00
Ben McCann
2357e642e3
Rename menu item from API to Docs ( #6456 )
2021-06-28 14:49:28 +08: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
Ben McCann
c584af34ec
site: fix falling back to default port ( #5382 )
2021-06-26 13:54:41 -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
Robert Hall
17c5402e31
Cleanup logos on homepage ( #6409 )
2021-06-18 19:09:03 -07:00
pngwn
8dd9c1b098
docs: make yaml frontmatter in blogs valid ( #6206 )
2021-06-15 11:51:45 -07:00
Ben McCann
c441fb1ad1
Bump site-kit ( #6407 )
2021-06-15 11:51:09 -07:00
Rui Sousa
9051ee011e
Fix ScreenToggle button styling so text is centered ( #6394 )
2021-06-15 08:53:53 -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
gltchitm
7c21f919ad
site: filter out bot contributors ( #6352 )
2021-05-27 12:08:23 -07:00
Konstantin Nosov
fd9eea28f2
remove redundant CSS ( #6355 )
2021-05-26 11:13:37 -07:00
Konstantin Nosov
2ce3a58188
combine padding specifications ( #6354 )
2021-05-26 11:13:16 -07:00
dependabot[bot]
7c4a08e109
Bump browserslist from 4.16.0 to 4.16.6 in /site ( #6361 )
...
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.16.0 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.0...4.16.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 11:07:55 -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
dependabot[bot]
cd893cda41
Bump hosted-git-info from 2.8.8 to 2.8.9 in /site ( #6318 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 15:19:12 -07:00
dependabot[bot]
a1600ff68e
Bump lodash from 4.17.20 to 4.17.21 in /site ( #6309 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 21:35:23 -07: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
Mlocik97
697d4c7f51
Add link to SvelteKit to Svelte website. ( #6161 )
2021-04-21 13:36:51 -07: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
Mitchell Austin
00acbf2117
Tutorial: remove outline on scrollbar thumb ( #6090 )
2021-03-30 11:30:29 -07: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
Shriji
c3caa29590
Change color on 404 page ( #5932 )
...
The colors on broken pages have `#da106e` and is not a part of `theme-default` in site-kit.
2021-01-31 07:01:01 +08: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
a49375696f
Handle new format for "who is using svelte" ( #5918 )
2021-01-22 12:28:01 -08:00
Domenik Reitzner
32775a699d
Make TypeScript integration more visible ( #5871 )
2021-01-17 21:24:48 -08:00
Ben McCann
bef85a92f9
site: bump dependencies to fix building in production mode ( #5846 )
2021-01-01 19:15:48 -05:00
Daniel Sandoval
a8af2fa4e6
"What's new in Svelte" January newsletter ( #5827 )
2020-12-31 13:48:20 -08:00
Ben McCann
e7edd7cc23
site: remove cypress leftovers and upgrade dependencies ( #5824 )
2020-12-29 06:02:49 -08:00
Geoff Rich
6aaa105093
site a11y: add missing h1s ( #5715 )
2020-12-24 17:54:03 -05:00
kindoflew
bf35353170
site: fix formatMobile in chart examples ( #5787 )
2020-12-24 17:52:06 -05:00
Luke Edwards
945f741298
fix(site): ensure "text/plain" on error response ( #5821 )
...
- Closes #5820
2020-12-24 17:46:39 -05:00
Shriji
06ab7a1b9c
Update ScreenToggle.svelte ( #5629 )
...
weird padding on button
2020-12-14 14:39:18 +00: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
Shriji
910348fd0d
site: example image missing for conditional slot ( #5723 )
...
a minor fix
https://github.com/sveltejs/svelte/pull/5383#issuecomment-733890140
2020-11-28 19:41:15 +08: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
Geoff Rich
02e560c9da
docs a11y: increase color contrast in code block syntax highlighting ( #5681 )
2020-11-16 10:59:56 -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
Kevin Åberg Kultalahti
24b8e9e2d6
site: remove Svelte Summit banner ( #5545 )
2020-10-19 09:40:57 -04:00
pngwn
0c53b5b79d
site: add svelte summit banner with link ( #5537 )
2020-10-18 08:26:08 -04: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
Rohan Kokane
5f938535a1
Fix scrollbar being hidden by header on site ( #5342 )
2020-09-15 08:54:42 -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
Rich Harris
04498769b5
bump site-kit version
2020-09-13 09:00:16 -04:00
lonevox
3255f8b662
site: change "on to" to "onto" in tutorial 03 ( #5386 )
2020-09-11 17:51:59 -04:00
Ben McCann
d9364c4e9c
site: standardize building command ( #5380 )
2020-09-10 19:55:41 -04:00
Conduitry
8271658fa8
site: revert to sapper@0.27
2020-09-10 19:54:50 -04:00
dependabot[bot]
d201c5bfb3
Bump node-fetch from 2.6.0 to 2.6.1 in /site ( #5377 )
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 12:42:32 -07: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
Conduitry
b1c67a16c6
site: update to sapper@0.28.6
2020-09-09 09:45:52 -04:00
Conduitry
1503f644d4
site: update to sapper@0.28.5
2020-09-06 19:31:54 -04:00
Ben McCann
c8c50b5ba8
site: copy preserveEntrySignatures settings from template ( #5356 )
2020-09-04 22:54:00 -04:00
Ben McCann
9db8773070
Update site dependencies ( #5354 )
2020-09-04 15:50:27 -04:00
Conduitry
f1838ed8aa
site: bump svelte-repl
2020-09-04 07:55:28 -04:00
Ben McCann
e0f937d33e
Add a script for copy-workers ( #5338 )
2020-09-01 11:02:03 -07:00
Simon H
8adb47401e
site: Fix blog JS type checking suggestion ( #5306 )
2020-08-26 10:10:21 -04:00
Wolfr
dccdb9f130
site: show REPL input/output toggle on iOS without scrolling ( #5175 )
2020-08-12 17:43:45 -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
dependabot[bot]
5d5a608d32
Bump prismjs from 1.17.1 to 1.21.0 in /site ( #5250 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.17.1 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.17.1...v1.21.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-12 16:07:36 -04:00
Luca Bonavita
8f17d6c78c
docs: document bind:files
( #5141 )
2020-08-12 16:05:59 -04:00
Rich Harris
a1cb70dde4
bump site-kit version
2020-08-10 23:15:12 -04:00
Rich Harris
4c449a741f
bump site-kit version
2020-08-10 22:53:06 -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
M. Habib Rosyad
1f87f5fb20
site: fix escaping in RSS feed ( #5214 )
2020-07-28 14:48:16 -04:00
rmacklin
40987b7780
site: update links in the Sapper intro blog post ( #5189 )
2020-07-23 20:10:41 -04:00
Rich Harris
fb8bab8164
diff highlighting
2020-07-21 11:04:56 -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
Benjamin Schachter
25e9e684f6
site: explain how to use site-kit
and site-repl
( #5163 )
...
Co-authored-by: Luca Bonavita <mindrones@users.noreply.github.com>
2020-07-20 12:32:10 +01:00
dependabot[bot]
8096bbd4a0
Bump lodash from 4.17.15 to 4.17.19 in /site ( #5155 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 11:57:30 +01:00
Wolfr
b54538e44f
Fixes #5153 ( #5154 )
2020-07-17 11:54:41 +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
Rich Harris
db0b3b3dfc
bump svelte-repl
2020-06-27 17:47:04 -04:00
Rich Harris
82b1025d44
fix regex used to build docs
2020-06-27 16:45:36 -04:00
Rich Harris
ab370963f5
merge
2020-06-27 15:22:25 -04:00
Rich Harris
324d18d9c2
update site-kit
2020-06-27 15:21:52 -04:00
Conduitry
9c0507e308
site: bump svelte-repl
2020-06-27 10:27:07 -04:00
Bassam Ismail
0520a10dc0
site: check if mapbox key is set before generating the production build ( #5057 )
2020-06-24 20:43:03 -04:00
Sam Saccone
2d5f1a6aa3
[a11y] Make anchor tag tutorial nav accessible ( #5055 )
...
Since the anchor tags only contain svg icons it makes these navigational elements not accessible by screen readers.
> aria-label. Providing a descriptive text label lets a user distinguish the link from links in the Web page that lead to other destinations and helps the user determine whether to follow the link. In some assistive technologies the aria-label value will show in the list of links instead of the actual link text.
https://www.w3.org/WAI/GL/wiki/Using_aria-label_for_link_purpose
2020-06-23 16:20:52 -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
Rich Harris
8bb0c80c2c
remove BLM banner ( #5007 )
2020-06-12 06:04:40 -04:00
Antony Jones
90794167fe
Remove duplicate site build instructions ( #4824 )
2020-06-10 08:47:31 -04:00
Ben McCann
34e87ce579
site: faq: svelte-preprocess is now an official project ( #4997 )
2020-06-09 19:21:03 -04:00
Conduitry
b32bcccee4
site: remove BLM filter, but leave banner ( #4994 )
2020-06-08 21:14:12 -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
Luke Edwards
dba6e5efad
fix(site): add padding-bottom for banner space ( #4958 )
2020-06-02 14:40:45 -04:00
Richard Harris
80eb8ee1b5
workaround the monumental stupidity of the css filter specification
2020-06-02 11:59:25 -04:00
Richard Harris
0221f52e2b
additional donation links
2020-06-02 10:13:37 -04:00
swyx
fa95942290
add BLM footer
2020-06-02 21:25:41 +08: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
Conduitry
c9020d35b7
site: bump @sveltejs/svelte-repl
2020-05-15 06:19:56 -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
Stephen Demjanenko
e3fef0f740
site: fix scaling in script to get example thumbnails ( #4727 )
2020-04-27 09:15:28 -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