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

1230 Commits

Author SHA1 Message Date
kwangure
39901986d6
[feat]: Add A11y aria-proptypes check (#6978)
* Add aria prop type list

* feat: check aria attribute types

* feat: add proptype tests

* Add documentation

* use aria-query

Co-authored-by: Nurassyl Zekenov <nurassyl@snoonu.com>
Co-authored-by: mka_882@yahoo.com <mka_882@yahoo.com>
Co-authored-by: tanhauhau <lhtan93@gmail.com>
Co-authored-by: David Mosher <davidmosher@gmail.com>
2022-07-11 09:40:12 +08:00
Mel
1d19aebe38
a11y: Add role-has-required-aria-props rule (#5852)
* Check required props for ARIA roles

* Test required ARIA props check

* Properly indent with tabs in test

* swtich to use aria-query

* fix validation test

* update docs

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-07-11 02:23:41 +08:00
Sepehr Safari
c01dc62314
[docs] fix typo (#7672)
* [docs] fix typo

Fixed "quckly" to "quickly"

* [docs] fix typo

Fixed "beend" to "been".

* [docs] fix typo

Fixed "propsoal" to "proposal".
2022-07-10 15:22:00 +08:00
Daniel Sandoval
31e5f8b5de
[docs] "What's new in Svelte" July newsletter (#7637) 2022-07-01 17:17:52 +02:00
Heechul Ryu
2f562d9e28
[docs] use npm create instead of npm init (#7641) 2022-06-30 09:07:16 +09:00
hmt
d7557e11a2
[docs] remove v2 -> v3 converter mention (#7597)
Was never finished
2022-06-25 19:56:06 +02:00
Adam Alexander
cab5e7346d
[docs] fix typo in 02-template-syntax.md (#7593)
Tiny typo.
2022-06-08 14:07:51 +02:00
Rich Harris
7630a25db5
[docs] update getting started info (#7573)
* update getting started info

* Update site/content/blog/2019-04-16-svelte-for-new-developers.md

Co-authored-by: Conduitry <git@chor.date>

* Update site/content/tutorial/01-introduction/07-making-an-app/text.md

Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>

* Update site/content/blog/2019-04-16-svelte-for-new-developers.md

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Conduitry <git@chor.date>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
2022-06-03 10:11:27 -04:00
Ben McCann
9dc308a745
cleanup PR links in last blog post 2022-05-31 14:46:37 -07:00
Daniel Sandoval
d9cc0ffc8f
[docs] "What's new in Svelte" June newsletter (#7565) 2022-05-31 13:09:28 -07:00
gtmnayan
5242ab9a72
[docs] Fix statement about the order of bind: and on: (#7357)
* Fix statement about order of bind: and on:

* It's just an example

* Revert and modify

* Update site/content/docs/02-template-syntax.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

* Update site/content/docs/02-template-syntax.md

Co-authored-by: Tan Li Hau <tanhauhau@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-05-18 10:13:05 +08:00
Stephanie Tuerk
8b828a4301
[docs] clarify array methods that won't trigger reactivity (#7073)
Co-authored-by: Tan Li Hau <tanhauhau@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Gabor Szabo <gabor@szabgab.com>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
2022-05-17 10:26:27 -07:00
Hyunseung Lee
0580c2d90d
Update introduction/dynamic-attributes (#7498) 2022-05-04 21:32:46 +08:00
Daniel Sandoval
970b9436c8
[docs] "What's new in Svelte" May newsletter (#7483)
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-05-03 14:21:17 -07:00
Yuichiro Yamashita
0d017f4820
[fix] rendering void tag for <svelte:element> (#7453) 2022-04-30 14:37:09 -04:00
Tan Li Hau
a2de3894c0
[feat] support const tag for if block (#7451) 2022-04-30 14:34:58 -04:00
Yuichiro Yamashita
11ada98565
[docs] fix sentences in <svelte:element> (#7484) 2022-04-25 15:09:30 +02:00
tanhauhau
0a086c85e4 Merge branch 'tanhauhau/gh-328' 2022-04-20 12:52:45 +08:00
tanhauhau
3e5846c7c5 update api 2022-04-20 12:52:22 +08:00
Tan Li Hau
666929a6d9
use own api to replace jsonplaceholder.typicode.com (#7472) 2022-04-20 12:48:55 +08:00
tanhauhau
bc81291afc use own api to replace jsonplaceholder.typicode.com 2022-04-20 12:27:48 +08:00
Tan Li Hau
d554cdbb25
[docs] add more examples on the spring store API docs (#7463)
* add more examples on the spring store API docs

* Update site/content/docs/03-run-time.md

Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>

* Update site/content/docs/03-run-time.md

Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>

Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>
2022-04-20 09:29:34 +08:00
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