Bjorn Lu
0f94c890f5
[feat] dispatch cancelable custom events ( #7064 )
3 years ago
josh-brainbox
1e0c10bebc
[docs] fix tutorial/keyed-each-blocks ( #7218 )
3 years ago
gtmnayan
afd3f4e5a9
[feat] Make setContext return the value that was passed in ( #7432 )
...
* return value from setContext
* update docs
* Add test
* eof new line
* pacify the linter
* const and tabs
3 years ago
Kazuma Oe
707455fa8b
[docs] add `<svelte:element>` example ( #7439 )
3 years ago
Yuichiro Yamashita
e0d93254fd
[feature] Dynamic elements implementation <svelte:element> ( #6898 )
...
Closes #2324
Co-authored-by: Alfred Ringstad <alfred.ringstad@hyperlab.se>
Co-authored-by: Simon Holthausen <simon.holthausen@accso.de>
Co-authored-by: tanhauhau <lhtan93@gmail.com>
3 years ago
Dominik G
6ef0aa2944
[docs] add link to vitest svelte example to test faq ( #7281 )
3 years ago
Simon H
31eb623779
[docs] add note about initially selected value
...
Closes #7430
3 years ago
Ben McCann
3c11c480b9
[docs] clarify css option ( #7271 )
3 years ago
TzuHsuan
535a1fc20d
Change top level requirement wording ( #7336 )
...
Changed the wording to be more consistent between `<svelte:window>`, `<svelte:body>` and `<svelte:head>`.
Chose "may only appear" over "has to appear" as the latter could be misinterpreted as a compulsory element
3 years ago
Ben McCann
42905c757f
[docs] update bundler documentation ( #7414 )
...
* [docs] update bundler documentation
* Update site/content/docs/04-compile-time.md
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
3 years ago
Angie Byron
5f020cc91e
[docs] Fix REPL instructions ( #7413 )
...
Closes #7412
3 years ago
Janosh Riebesell
6a663490b5
[docs] fix typos in whats-new-in-svelte-april-2022.md ( #7417 )
3 years ago
Daniel Sandoval
687a26b784
[docs] "What's new in Svelte" April newsletter ( #7377 )
3 years ago
Raúl Sáez
9d4ff6738a
[docs] Correct default port on blog posts ( #7372 )
3 years ago
Isabel Leccese
2f71bc9333
[docs] fix typo ( #7344 )
3 years ago
tomoam
9b7b8149e4
[docs] add `-` to the beginning of the line ( #7328 )
3 years ago
Daniel Sandoval
a9e6087113
[docs] "What's new in Svelte" March newsletter ( #7293 )
3 years ago
Nick Cummings
f24614cd52
[docs] Add missing parent element to code example. ( #7309 )
...
The div is part of the code, but not part of the code snippet of the text
3 years ago
opensas
252895d42a
[docs] improve actions tutorial presentation ( #7283 )
3 years ago
T•Ø•R•Ü•S
f287bbe80d
[doc] fixed seemingly erroneous capitalization of noun ( #7273 )
3 years ago
Ignatius Bagus
ec0922219d
[docs] update to multi-page docs links ( #7249 )
3 years ago
Geoff Rich
a4a1c3c272
[docs] set language on FAQ code blocks ( #7237 )
3 years ago
Ignatius Bagus
1f9efeac54
[blog] fix link formatting
3 years ago
Daniel Sandoval
ec903ca7bc
[docs] "What's new in Svelte" February newsletter ( #7202 )
3 years ago
Geoff Rich
fc2470494d
[docs] fix broken links ( #7194 )
3 years ago
Geoff Rich
d1b3f462a5
[docs] add docs for a11y-no-redundant-roles ( #7195 )
3 years ago
NazarLazarchuk
e460acc8f1
[docs] Rename a variable `count_value` to `countValue` in the `Stores` section ( #7180 )
3 years ago
Rene Kootstra
4a78137a2a
[docs] fix #each in window-bindings example ( #7181 )
3 years ago
Ignatius Bagus
630ec4b32d
[blog] fix rss feed link
...
Fixes https://github.com/sveltejs/sites/issues/279
3 years ago
Arad Aral
787c34ceec
[docs] Use symbols for context keys in tutorial ( #7046 )
...
Closes #6870
3 years ago
GHOST
7f5eecb84b
[blog] update sirens ( #7142 )
3 years ago
Geoff Rich
fffe66a6a0
[blog] fix Netlify link ( #7138 )
3 years ago
Bjorn Lu
cc445839e3
[docs] explain initial value for bind scroll ( #7065 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
3 years ago
Ben McCann
54f277cd8e
[blog] remove heading to align with other blog posts
3 years ago
Ben McCann
17b1c587c2
[blog] Accelerating Svelte's Development ( #7118 )
3 years ago
Tan Li Hau
b5aaa6641b
[feat] implement constants in markup ( #6413 )
3 years ago
Simon H
26f767e873
[docs] add note about the AST not being public API ( #7113 )
3 years ago
Paul Murray
8a47b5ec9e
[feat] Style directives ( #5923 )
...
* add Style node, interfaces
* style-directives: add parser and runtime test
* style-directives: push styles in to styles array on Element
* style-directives: minimal ssr work
* style-directives: ssr add_styles
* style-directive: tests
* style-directives: work in progress
* obviously incorrect hard-coded color
* tweak
* style directive interface
* style-directives: get text from info in Style node
* style-directives: add_styles func in ElementWrapper
* style-directives: ssr rendering
* handle text-only style directive in tag.ts
* style-directives: handle spread styles in ssr
* style-directives: more parser tests
* style-directives: more inline tests
* style-directives: remove solo tests
* style-directives: cleanup
* style-directives: tweak spread ssr internal
* style-directives: push updater into update chunks; add dynamic test;
* remove .solo
* check for dynamic dependencies before adding update chunk
* add test of multiple styles; remove null styles;
* style-directives: docs; more tests of multiple styles
* style-directives: use camelcase
* style-directives: cleanup
* style-directives: fix mustache template case with template literal
* style-directives: use ternary
* style-directives: linting
* style-directives: remove "text" from interface
* style-directives: actually, remove StyleDirective interface entriely
* add more test, fix test for ssr
* fix lint and tidy up
* add test for css variables
* fix linting errors
Co-authored-by: pmurray73 <pmurray73@bloomberg.net>
Co-authored-by: Tan Li Hau <lhtan93@gmail.com>
3 years ago
Austin Walela
6bfd2724a0
[docs] update links to Blender Studio ( #7098 )
3 years ago
Yongwook Choi
eb663d5cae
[docs] force externalize chatroom link ( #7097 )
3 years ago
Daniel Sandoval
ca2aedfb6c
[docs] "What's new in Svelte" January newsletter ( #7074 )
3 years ago
Ignatius Bagus
99a04c464d
[docs] mention tweened duration as function
...
Resolves #3353
3 years ago
Maxi Ferreira
72d40e99b0
[docs] fix typo in Context API tutorial ( #7063 )
3 years ago
Enrico Spinielli
6f2ebaa76d
[docs] use proper symbol for Celsius and Fahrenheit ( #7061 )
3 years ago
Tyler Smith
84669b5a6c
[docs] Updated link to the ease visualizer in the docs ( #7054 )
3 years ago
Ignatius Bagus
f73dc07980
[docs] absolute sibling links ( #7051 )
3 years ago
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