Ignatius Bagus
7db797eb1b
[docs] absolute assets links ( #7049 )
3 years ago
Ignatius Bagus
04890c73d2
[docs] absolute and future proof links ( #7038 )
3 years ago
Conduitry
35376f2487
[docs] fix path to /tutorial/image.gif ( #7033 )
3 years ago
Rich Harris
7521bd55b5
[docs] fix hash fragments ( #7025 )
...
* fix hash fragments
* remove link hack
3 years ago
Ben McCann
c2847b7d30
Remove site - new home at sveltejs/sites ( #6994 )
3 years ago
Dustin Wyatt
683c39adb7
[docs] Clarify that VS Code isn't the only supported IDE ( #6989 )
3 years ago
Dominik Leicht
67f79dd934
[docs] simplify template literals to string primitives ( #6806 )
3 years ago
pngwn
791e40d070
fix: use correct yaml syntax in blog posts ( #6984 )
3 years ago
Ben McCann
0c2d1b8ef1
[fix] allow site to run again after marked upgrade ( #6982 )
3 years ago
Joshua Nussbaum
6b48f0c1de
[site] REPL dirty tracking ( #6153 )
3 years ago
Yuichiro Yamashita
f647adfa0c
[chore] Make changing the name of a REPL obvious ( #6808 )
3 years ago
Ben McCann
c2149e8529
[site] only show 20 avatars instead of current massive wall ( #6974 )
3 years ago
Conduitry
fe36911017
[docs] fix chat link ( #6976 )
3 years ago
Daniel Sandoval
51459874fe
[docs] "What's new in Svelte" December newsletter ( #6965 )
3 years ago
Fabrizio Calderan
2c7986034d
[docs] A reference of the field variable is missing in the sidebar ( #6815 )
3 years ago
gtmnayan
6ff1aed8d5
[docs] Use a simpler demo for the first actions tutorial ( #5014 ) ( #6962 )
...
* Change actions tutorial
* Rename files containing action functions
* Move old pannable example to separate directory
* Add new tutorial to examples
* Update title of the pannable example
* Add thumbnail for pannable action example
* I can't remember all css properties, okay?
* Fix order of style tag in new example
* Inline outclick handlers
* Rename pannable example
* Fix formatting
Co-authored-by: Nayan Gautam <50981692+698969@users.noreply.github.com>
3 years ago
mjvandermeulen
81fc3f898a
[docs] clarified definition of "local transition" in tutorial ( #6895 )
3 years ago
Ivan
4018b548f3
[docs] fix link to Svelte Society community-maintained tools ( #6957 )
3 years ago
Rich Harris
909ba1778a
update arctic sea ice extent chart ( #6922 )
3 years ago
Ben McCann
9cd3f2e049
site: disable Vite vendor chunk ( #6935 )
3 years ago
Dmitriy Fishman
f50d9b9f34
[docs] Fix a typo in 03-run-time.md ( #6933 )
3 years ago
Dmitriy Fishman
fd466d7221
[docs] fix typo in 02-template-syntax.md ( #6929 )
3 years ago
Jim Hunziker
78e02565d2
[docs] fix link to community-maintained tools ( #6917 )
3 years ago
Ben McCann
fe39272fe8
[docs] clarify which routers have SSR support ( #6905 )
3 years ago
gtmnayan
7681ed0a45
[docs] Document the effect of the order of bind: and on: ( #6887 )
3 years ago
Aykut Kardaş
4cc439aaad
[docs] update 03-each-blocks sample for readable ( #6907 )
3 years ago
Ignatius Bagus
2484acea26
[docs] use svelte:header + event for link load ( #6903 )
3 years ago
Ben McCann
e3380e3ccb
[docs] update router FAQ ( #6902 )
3 years ago
Bert B
c2ae05abcf
[docs] update link for community preprocessors ( #6897 )
3 years ago
Conduitry
373468035c
[docs] fix redirects from legacy /repl page ( #6894 )
3 years ago
Conduitry
cbbf002a8e
[docs] use new named export for marked 4 in examples ( #6893 )
3 years ago
Daniel Sandoval
530b6ae57d
[docs] "What's new in Svelte" November newsletter ( #6888 )
3 years ago
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
3 years ago
Andrew Healey
b2d23e9d11
Fix broken link to "The Svelte Handbook" ( #6878 )
3 years ago
Ben McCann
b8efbb4cca
[docs] convert spaces to tabs
3 years ago
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.
3 years ago
Alexander Prinzhorn
6f8a6fe90b
[docs] Improve wording for `animate` docs ( #6813 )
3 years ago
Ignatius Bagus
76fa68d82f
[docs] update spring precision value ( #6865 )
3 years ago
Ben McCann
42076a7502
[site] migrate to SvelteKit ( #6811 )
...
Co-authored-by: Conduitry <git@chor.date>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
3 years ago
Conduitry
883c47b45d
[site] fix escaping in table of compiler options
3 years ago
Bjorn Lu
be1eff0305
[feat] add enableSourcemap option ( #6835 )
3 years ago
Mohamed Haddi
0d7c583364
[docs] align input controls ( #6831 )
3 years ago
DoctorNefario
55130be026
[docs] use 'transition' directive for custom JS transitions ( #6796 )
...
This prevents transition jumping when visibility is repeatedly toggled
3 years ago
Ben McCann
7b7c312801
Add survey results to homepage ( #6792 )
3 years ago
Guillaume
ce174aa0b9
Fix img overflow in WhoIsUsingSvelte on Safari ( #6799 )
3 years ago
Ben McCann
547fbc6ebd
[docs] what is rendered when for #await ( #6788 )
3 years ago
Conduitry
83bb3e2757
[site] convert to ESM ( #6795 )
3 years ago
Ben McCann
72a7d1c034
site: complete conversion back to CJS
3 years ago
Conduitry
ada0767ff2
Revert "Convert site to ESM ( #6772 )"
...
This reverts commit e45d180162
.
3 years ago
Ben McCann
0d4ad364be
Add OpenCollective donors to site ( #6793 )
3 years ago
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>
3 years ago
zhoulixiang
e82cf3f6d7
[docs] update links to babeljs.io and buble.surge.sh to use https ( #6787 )
3 years ago
zhoulixiang
ca94762fe9
[docs] update link to rollup.org to use https ( #6781 )
3 years ago
Ben McCann
e45d180162
Convert site to ESM ( #6772 )
3 years ago
dependabot[bot]
cfc880bb31
Bump prismjs from 1.24.0 to 1.25.0 in /site ( #6749 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.24.0 to 1.25.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.24.0...v1.25.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>
3 years ago
Simon H
88204355d3
[docs] clarify readable callback timing ( #6725 )
...
#6724
3 years ago
Geoff Rich
7e156c014e
[docs] document details binding ( #6700 )
3 years ago
João Paulo
0027a41934
[docs] Fix typo in $$slots docs ( #6709 )
3 years ago
mellanslag-de
4f9a260ab1
[fix] Update outdated line number in tutorial text ( #6689 )
3 years ago
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.
3 years ago
Daniel Sandoval
4d30ef34e3
[docs] "What's new in Svelte" September newsletter ( #6691 )
3 years ago
Andrey Bienkowski
5a9cb770d8
[docs] Promote prettier-plugin-svelte ( #6695 )
3 years ago
duarte-pompeu
8d3f4512f6
[docs] Fix the speed of the typewriter example to scale correctly ( #6568 )
3 years ago
Shinobu Hayashi
5df60e75a7
chore(docs): update Component-format script-markup-style order ( #6682 )
3 years ago
Geoff Rich
71cf6002f4
[docs] fix css in js embed ( #6669 )
...
pin emotion version to keep this from happening again
3 years ago
fsinn
e5c04bfd2f
docs: Selecting multiple elements in <select multiple> on MacOS with command key ( #6636 )
3 years ago
James Pickard
d85ac7eaa6
[docs] clarify reactivity tutorial text ( #6628 )
3 years ago
Ben McCann
268bc71724
Replace sveltejs/integrations with sveltesociety.dev ( #6626 )
3 years ago
Tommy Groshong
a232d68a41
docs: small spelling fixes in docs and comments ( #6653 )
3 years ago
Diego Ramos
d26c48a518
[docs] disable text select on falling emojis ( #6654 )
3 years ago
pngwn
db3101fa24
docs: fix heading levels ( #6655 )
3 years ago
btvoidx
b1621d697d
[fix] Prevent layout shifting on hovering "Who's using Svelte?" ( #6639 )
3 years ago
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>
3 years ago
Conduitry
1c58fa91cc
[docs] various adjustments to template syntax docs ( #6619 )
3 years ago
Tan Li Hau
ce550adef6
[feat] allow use:actions on <svelte:body> ( #6608 )
3 years ago
Samuel Plumppu
172f294cb6
docs: Fix property name typo for event.isTrusted ( #6596 )
3 years ago
Daniel Sandoval
b554e343e8
[docs] "What's new in Svelte" August newsletter ( #6604 )
3 years ago
Dennis Dudek
a3fb765d6f
[docs] add trusted modifier to list of modifiers in tutorial and docs ( #6566 )
3 years ago
Konstantin BIFERT
18780fac00
[docs] replace shift by the correct key to hold: control ( #6573 )
3 years ago
Stephane
63f592e713
[docs] Add clarification about reactivity and arrays ( #6547 )
3 years ago
Hofer Ivan
5cfefeb6e7
support rendering components in a shadow dom ( #5870 )
3 years ago
Ben McCann
16d562fcf6
site: bump Svelte version
3 years ago
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>
3 years ago
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
3 years ago
Simon H
931738e821
[docs] mention that afterUpdate runs after onMount
...
Closes #4273
3 years ago
Ashish Kapoor
ddde34aeb9
[docs] Multi select works by pressing and holding shift key ( #6532 )
...
For better understanding.
3 years ago
Antony Jones
fdd3d4b448
be a bit smarter about building the site locally ( #5262 )
...
Co-authored-by: Antony Jones <antony@beyonk.com>
3 years ago
Simon H
53e0754d3b
[docs] remove unnecessary immutable option from App.svelte
...
Closes #5976
3 years ago
Simon H
937c7c9c4a
[docs] document $store behavior more explicitely
...
Closes #4677
3 years ago
David Dawkins
e7cbea64e0
[docs] fix padding in svg bar chart example ( #5945 )
...
Fixes #5941
3 years ago
Ignatius Bagus
5334f4ad1b
docs: mention usage of regexp literal in text expressions ( #5640 )
3 years ago
Conduitry
64c162c6b7
docs: adjust formatting in compiler options table
3 years ago
Geoff Rich
2842227cf0
docs: fix heading level a11y issue ( #5679 )
3 years ago
Eirik Vågeskar
854a7de451
[docs] Add tutorial step for key blocks ( #6420 )
3 years ago
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).
3 years ago
decaylala
8457a73cef
[docs] adjust function name ( #6495 )
3 years ago
Ben McCann
f2fa7b2186
[docs] bump site-kit version
3 years ago
Geoff Rich
a35506b5eb
[docs] update a11y docs ( #6487 )
3 years ago
Joakim Berglund
ecc3c08999
Trackpad and touch support in media example ( #5912 )
3 years ago
Jatin Hemnani
c4f4a3dc2e
[docs] added transition on toggling folder in tutorial ( #6453 )
3 years ago