Brad Dougherty
dd371f58fe
feat: add readyState binding for media elements ( #6843 )
...
Closes #6666
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2 years ago
Tan Li Hau
c611f318d2
feat: add stopImmediatePropagation event modifier ( #8341 )
...
Closes #5085
---------
Co-authored-by: Marcin Wicha <23581770+marcin-wicha@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2 years ago
Theodor Steiner
c7bbe55b9f
feat: introduce axis parameter to allow for horizontal slide transition ( #6183 )
...
---------
Co-authored-by: Tan Li Hau <tanhauhau@users.noreply.github.com>
2 years ago
Nguyen Tran
b56dfe51a8
feat: add a11y `role-supports-aria-props` ( #8195 )
...
#820
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2 years ago
Yuichiro Yamashita
3423bf6b30
add docs ( #8326 )
2 years ago
Tan Li Hau
d16dd5d7ca
feat: add naturalWidth and naturalHeight bindings ( #7857 )
...
Closes #7771
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2 years ago
Alvin Ramskogler
9f89a92d31
feat: add `readonly` method to convert writable store to readonly ( #6518 )
2 years ago
ngtr6788
3559997223
feat: implement a11y `aria-activedescendant-has-tabindex` ( #8172 )
...
#820
2 years ago
Simon H
324b791d81
docs: note #if to wrap text only
...
taken from #7070
2 years ago
Maxime Dupont
4dd12c0c61
docs: fix fly animation description ( #8236 )
2 years ago
James Scott-Brown
acba4b72e2
docs: clarify bindings for `<select multiple>` ( #8260 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2 years ago
Alicia Sykes
0598c989a0
docs: corrects syntax error in transition code sample ( #8169 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2 years ago
Kyrre Gjerstad
d7e4b1c8fc
docs: fix minor typos ( #8268 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2 years ago
James Scott-Brown
ff5c14dc71
docs: format `window.navigator.onLine` reference as code ( #8262 )
2 years ago
James Scott-Brown
7706a5f713
docs: link to MDN page on void elements ( #8261 )
2 years ago
Satvik
6ac24f1d5c
[docs] add missing semicolon ( #8190 )
2 years ago
wackbyte
094483b397
[fix] say "nonnegative" instead of "positive" tabIndex for `a11y-no-noninteractive-tabindex` ( #8126 )
2 years ago
Geoff Rich
6a23d9b65f
[docs] fix transition direction options ( #8133 )
2 years ago
Nilesh
ad8dbfb9b9
[docs] Add comment about generating a Svelte project without Kit ( #8115 )
2 years ago
Ben McCann
a0a6bd1f54
[docs] add some basic docs about bundler plugins ( #8092 )
2 years ago
Yuichiro Yamashita
cc52dc442b
[docs] add explanation about property binding order ( #7833 )
...
* update document
* update sentence and position
* update the sentence
* update
2 years ago
Pat Cavit
84d61c61f8
[feat] Add options w/ direction to transitions ( #8068 )
2 years ago
Maximiliano Ruani
773dedf714
[feat] Compiler option css: 'none' support ( #7914 )
2 years ago
Josiah Nieves
0a7cf0e73e
[docs] fix typo "bellow" vs "below" ( #7955 )
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
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
a8616701e7
[docs] clarify reactivity rules ( #7802 )
2 years ago
Tan Li Hau
012d639b42
Update 05-accessibility-warnings.md
...
reorder a11y warnings
2 years ago
Script Raccoon
474ed42b24
[fix] typo in transition docs ( #7739 )
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
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
Adam Alexander
cab5e7346d
[docs] fix typo in 02-template-syntax.md ( #7593 )
...
Tiny typo.
2 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
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
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
Bjorn Lu
0f94c890f5
[feat] dispatch cancelable custom events ( #7064 )
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
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