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

636 Commits

Author SHA1 Message Date
Thad Guidry
f2029ff110
[docs] Improve clarity of 2 files to edit and improve learning (#7285) 2022-04-16 11:01:36 +02:00
Jan
09b5afc8fe
[docs] Remove draft status of setting-up-your-editor blog-entry to fix broken link (#7310)
* site: add missing word

* comment out link to setting up your editor blog post

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-04-16 09:39:01 +08:00
Benjamin Bender
9778eef6db
[docs] fix link to webpack-loader (#7460)
Change link for Webpack-loader from svelte-loader-hot, which is deprecated, to official svelte-loader.
2022-04-14 16:04:12 +02:00
Ben McCann
94f0d7c478
[docs] FAQ cleanup (#7452) 2022-04-14 17:27:16 +08:00
gtmnayan
39d2dfcbcd
[docs] style directive tutorial (#7161) 2022-04-12 11:01:32 -07:00
Bjorn Lu
0f94c890f5
[feat] dispatch cancelable custom events (#7064) 2022-04-12 22:52:22 +08:00
josh-brainbox
1e0c10bebc
[docs] fix tutorial/keyed-each-blocks (#7218) 2022-04-11 09:36:17 +02:00
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
2022-04-11 08:50:28 +08:00
Kazuma Oe
707455fa8b
[docs] add <svelte:element> example (#7439) 2022-04-10 23:50:15 +08:00
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>
2022-04-08 16:54:55 +02:00
Dominik G
6ef0aa2944
[docs] add link to vitest svelte example to test faq (#7281) 2022-04-08 11:22:30 +02:00
Simon H
31eb623779
[docs] add note about initially selected value
Closes #7430
2022-04-08 10:01:22 +02:00
Ben McCann
3c11c480b9
[docs] clarify css option (#7271) 2022-04-08 10:25:31 +08:00
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
2022-04-08 10:22:01 +08:00
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>
2022-04-08 10:20:46 +08:00
Angie Byron
5f020cc91e
[docs] Fix REPL instructions (#7413)
Closes #7412
2022-04-06 14:39:57 +02:00
Janosh Riebesell
6a663490b5
[docs] fix typos in whats-new-in-svelte-april-2022.md (#7417) 2022-04-04 11:06:21 +02:00
Daniel Sandoval
687a26b784
[docs] "What's new in Svelte" April newsletter (#7377) 2022-04-01 14:02:18 +02:00
Raúl Sáez
9d4ff6738a
[docs] Correct default port on blog posts (#7372) 2022-03-17 09:06:27 -04:00
Isabel Leccese
2f71bc9333
[docs] fix typo (#7344) 2022-03-06 16:46:48 +01:00
tomoam
9b7b8149e4
[docs] add - to the beginning of the line (#7328) 2022-03-02 11:21:24 +08:00
Daniel Sandoval
a9e6087113
[docs] "What's new in Svelte" March newsletter (#7293) 2022-03-01 15:16:20 +01:00
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
2022-02-25 09:16:13 +01:00
opensas
252895d42a
[docs] improve actions tutorial presentation (#7283) 2022-02-17 23:14:43 +01:00
T•Ø•R•Ü•S
f287bbe80d
[doc] fixed seemingly erroneous capitalization of noun (#7273) 2022-02-16 16:09:43 -08:00
Ignatius Bagus
ec0922219d
[docs] update to multi-page docs links (#7249) 2022-02-14 05:45:04 -08:00
Geoff Rich
a4a1c3c272
[docs] set language on FAQ code blocks (#7237) 2022-02-09 09:12:07 -08:00
Ignatius Bagus
1f9efeac54
[blog] fix link formatting 2022-02-02 17:33:53 +07:00
Daniel Sandoval
ec903ca7bc
[docs] "What's new in Svelte" February newsletter (#7202) 2022-02-02 09:55:30 +01:00
Geoff Rich
fc2470494d
[docs] fix broken links (#7194) 2022-02-01 13:43:28 -08:00
Geoff Rich
d1b3f462a5
[docs] add docs for a11y-no-redundant-roles (#7195) 2022-01-27 21:47:03 +01:00
NazarLazarchuk
e460acc8f1
[docs] Rename a variable count_value to countValue in the Stores section (#7180) 2022-01-27 11:13:25 +01:00
Rene Kootstra
4a78137a2a
[docs] fix #each in window-bindings example (#7181) 2022-01-26 08:44:14 -08:00
Ignatius Bagus
630ec4b32d
[blog] fix rss feed link
Fixes https://github.com/sveltejs/sites/issues/279
2022-01-24 20:17:44 +07:00
Arad Aral
787c34ceec
[docs] Use symbols for context keys in tutorial (#7046)
Closes #6870
2022-01-16 09:32:13 +01:00
GHOST
7f5eecb84b
[blog] update sirens (#7142) 2022-01-14 21:52:43 +01:00
Geoff Rich
fffe66a6a0
[blog] fix Netlify link (#7138) 2022-01-14 17:00:03 +01:00
Bjorn Lu
cc445839e3
[docs] explain initial value for bind scroll (#7065)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-01-14 13:10:33 +08:00
Ben McCann
54f277cd8e
[blog] remove heading to align with other blog posts 2022-01-13 17:09:21 -08:00
Ben McCann
17b1c587c2
[blog] Accelerating Svelte's Development (#7118) 2022-01-13 16:28:40 -08:00
Tan Li Hau
b5aaa6641b
[feat] implement constants in markup (#6413) 2022-01-11 17:10:09 -05:00
Simon H
26f767e873
[docs] add note about the AST not being public API (#7113) 2022-01-09 10:01:40 +01:00
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>
2022-01-08 11:09:11 -05:00
Austin Walela
6bfd2724a0
[docs] update links to Blender Studio (#7098) 2022-01-05 00:10:34 +08:00
Yongwook Choi
eb663d5cae
[docs] force externalize chatroom link (#7097) 2022-01-04 14:14:42 +07:00
Daniel Sandoval
ca2aedfb6c
[docs] "What's new in Svelte" January newsletter (#7074) 2022-01-01 15:47:02 +01:00
Ignatius Bagus
99a04c464d
[docs] mention tweened duration as function
Resolves #3353
2021-12-28 13:17:44 +07:00
Maxi Ferreira
72d40e99b0
[docs] fix typo in Context API tutorial (#7063) 2021-12-28 14:03:36 +08:00
Enrico Spinielli
6f2ebaa76d
[docs] use proper symbol for Celsius and Fahrenheit (#7061) 2021-12-27 19:40:47 +01:00
Tyler Smith
84669b5a6c
[docs] Updated link to the ease visualizer in the docs (#7054) 2021-12-26 20:23:12 -08:00