Daniel Sandoval
df2e927b46
[docs] "What's new in Svelte" November newsletter ( #7986 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2 years ago
Josh Soref
b265bc6f0f
[chore] fix spelling and typos ( #7974 )
2 years ago
Neagu Mihai
146e7a6310
fix: Remove Security Message ( #7959 )
2 years ago
Josiah Nieves
0a7cf0e73e
[docs] fix typo "bellow" vs "below" ( #7955 )
2 years ago
Yuri
1de2c02535
Ensure onmouseleave event fires in Hoverable example ( #7873 )
...
Fixes the browser-quirk-related issue described in #6520 and #7867 , based on a [suggestion](https://github.com/sveltejs/svelte/issues/7867#issuecomment-1248993436 ) by @Prinzhorn.
Tested in the editable example area on the Svelte site: https://svelte.dev/examples/slot-props
2 years ago
gtmnayan
bee1851faa
[feat] `|important` modifier for style directive ( #7489 )
...
* important modifier for style directive
* docs
* Exclude third param if false
third param for set_style is optional
* Remove unused test
Runtime test doesn't work because of weird behaviour of computed style
the puppeteer test should cover it
* remove unnecessary test
Co-authored-by: tanhauhau <lhtan93@gmail.com>
2 years ago
Don Alfons
1ca83c2050
[docs] Improve grammar ( #7923 )
...
* [docs] Improve grammar
* revert spelling changes
Co-authored-by: tanhauhau <lhtan93@gmail.com>
2 years ago
metonym
26a428972b
[fix] "not interactive" -> "noninteractive" ( #7930 )
2 years ago
Ben McCann
1c659193a0
[docs] update SvelteKit status ( #7919 )
2 years ago
Geoff Rich
ff2759e143
[docs] fix typo in getting started ( #7918 )
2 years ago
Marcos Mercuri
ce569f97eb
[docs] Add clarification on how reactivity works ( #7819 )
...
* Add clarification on how reactivity works
Based on the fact that there are multiple issues were opened related to a perceived bug on the reactive variables, I thought it would be good to add a clarification on the docs. Part of the text is taken from [this comment](https://github.com/sveltejs/svelte/issues/7818#issuecomment-1230374639 ) that I found super useful.
* Reword based on PR comments
2 years ago
Tan Li Hau
5c5bc27d97
[feat] Support style props for SVG components ( #7859 )
2 years ago
Shawn
be70a898f3
[docs] fix link redirect to discord ( #7911 )
...
* fix link redirect to discord
* fix link redirect to discord
2 years ago
Ben McCann
7d20194d8a
[docs] create getting started guide outside blog ( #7812 )
2 years ago
Daniel Sandoval
0b46c72cad
[docs] "What's new in Svelte" October newsletter ( #7898 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
Co-authored-by: Lyu, Wei-Da <36730922+jasonlyu123@users.noreply.github.com>
Co-authored-by: Willow (GHOST) <ghostdevbusiness@gmail.com>
2 years ago
MCMXC
82013aa161
feat(a11y): add click-events-have-key-events rule ( #5073 )
...
* feat(a11y): add click-events-have-key-events rule
Signed-off-by: mhatvan <markus_hatvan@aon.at>
* Fine-tune click-events-have-key-events rule
Signed-off-by: mhatvan <markus_hatvan@aon.at>
* Implement PR feedback
Signed-off-by: Markus Hatvan <markus_hatvan@aon.at>
* Implement PR feedback
Signed-off-by: Markus Hatvan <markus_hatvan@aon.at>
* slight refactor to use existing utils
* update docs
* fix rebase conflicts
Signed-off-by: mhatvan <markus_hatvan@aon.at>
Signed-off-by: Markus Hatvan <markus_hatvan@aon.at>
Co-authored-by: tanhauhau <lhtan93@gmail.com>
Co-authored-by: dsfx3d <dsfx3d@gmail.com>
2 years ago
tanhauhau
899d0cc67c
update docs for a11y-no-noninteractive-tabindex and rename from a11y-no-nointeractive-tabindex -> a11y-no-noninteractive-tabindex
2 years ago
Ben McCann
7ac3854613
[docs] remove beta label from SvelteKit mention ( #7853 )
2 years ago
schelv
f3f3d074c5
[docs] use KeyboardEvent.code ( #7809 )
2 years ago
Daniel Sandoval
0ed453dc11
[docs] "What's new in Svelte" September newsletter ( #7814 )
2 years ago
Ben McCann
a8616701e7
[docs] clarify reactivity rules ( #7802 )
2 years ago
孟世博
d5efa2e446
[docs] Typescript -> TypeScript ( #7797 )
...
* [docs] fix spellings error
* fix ts
2 years ago
Tan Li Hau
012d639b42
Update 05-accessibility-warnings.md
...
reorder a11y warnings
2 years ago
Daniel Sandoval
8513e299ef
[docs] "What's new in Svelte" August newsletter ( #7741 )
2 years ago
Script Raccoon
474ed42b24
[fix] typo in transition docs ( #7739 )
2 years ago
Mlocik97
52f5005cfd
[docs] update port in "Svelte for new developers" blog. ( #7697 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2 years ago
Anthony Le Goas
b517df14e4
[feat] check noninteractive roles on interactive elements ( #5955 )
...
* check noninteractive roles on interactive elements
* refactor to match the eslint-plugin-jsx-a11y implementation
* update test case
Co-authored-by: tanhauhau <lhtan93@gmail.com>
2 years ago
Ben McCann
379a963d01
[docs] npm create needs @latest tag ( #7687 )
2 years ago
Simon Dao
60024effa8
[docs] update intro sentence of reactive declarations tutorial ( #7467 )
2 years ago
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>
2 years ago
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>
2 years ago
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".
2 years ago
Daniel Sandoval
31e5f8b5de
[docs] "What's new in Svelte" July newsletter ( #7637 )
3 years ago
Heechul Ryu
2f562d9e28
[docs] use npm create instead of npm init ( #7641 )
3 years ago
hmt
d7557e11a2
[docs] remove v2 -> v3 converter mention ( #7597 )
...
Was never finished
3 years ago
Adam Alexander
cab5e7346d
[docs] fix typo in 02-template-syntax.md ( #7593 )
...
Tiny typo.
3 years ago
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>
3 years ago
Ben McCann
9dc308a745
cleanup PR links in last blog post
3 years ago
Daniel Sandoval
d9cc0ffc8f
[docs] "What's new in Svelte" June newsletter ( #7565 )
3 years ago
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>
3 years ago
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>
3 years ago
Hyunseung Lee
0580c2d90d
Update introduction/dynamic-attributes ( #7498 )
3 years ago
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>
3 years ago
Yuichiro Yamashita
0d017f4820
[fix] rendering void tag for `<svelte:element>` ( #7453 )
3 years ago
Tan Li Hau
a2de3894c0
[feat] support const tag for if block ( #7451 )
3 years ago
Yuichiro Yamashita
11ada98565
[docs] fix sentences in `<svelte:element>` ( #7484 )
3 years ago
tanhauhau
0a086c85e4
Merge branch 'tanhauhau/gh-328'
3 years ago
tanhauhau
3e5846c7c5
update api
3 years ago
Tan Li Hau
666929a6d9
use own api to replace jsonplaceholder.typicode.com ( #7472 )
3 years ago
tanhauhau
bc81291afc
use own api to replace jsonplaceholder.typicode.com
3 years ago
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>
3 years ago
Thad Guidry
f2029ff110
[docs] Improve clarity of 2 files to edit and improve learning ( #7285 )
3 years ago
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>
3 years ago
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.
3 years ago
Ben McCann
94f0d7c478
[docs] FAQ cleanup ( #7452 )
3 years ago
gtmnayan
39d2dfcbcd
[docs] style directive tutorial ( #7161 )
3 years ago
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