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
Mike Randazzo
487fedce6c
docs: describe that `bind:value` creates a two-way binding ( #8311 )
...
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.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
brunnerh
e3e912ab58
Fix accessibility of options tutorial. ( #8308 )
...
Use button instead of non-interactive element (div).
(Removes a Svelte a11y warning.)
2 years ago
Rémi Marche
57d869d028
[docs] move `@html` tutorial to end (partly fixing #7253 ) ( #7254 )
...
* Move @html tutorial to end
* move debug and html tag into one section
* rename
---------
Co-authored-by: Rémi Marche <35939574+Marr11317@users.noreply.github.com>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2 years ago
Jhorman Ruswel ㅠㅠ
85f882f23d
docs: update Keyed Each Blocks tutorial ( #8188 )
...
log which element is removed
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2 years ago
Simon H
324b791d81
docs: note #if to wrap text only
...
taken from #7070
2 years ago
Hyunbin
213049cc2e
docs: update dialog example ( #8200 )
...
* feat: update dialog example
* button always autofocusses, allows us to simplify
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2 years ago
Mike Plummer
7a6eee51e0
docs: Expand testing FAQ section ( #8205 )
...
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
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
Josh
aa98397440
[docs] fix typo ( #8180 )
2 years ago
wackbyte
094483b397
[fix] say "nonnegative" instead of "positive" tabIndex for `a11y-no-noninteractive-tabindex` ( #8126 )
2 years ago
Simon H
b8f32c0b1a
[docs] clear timeout on destroy
...
backported from https://github.com/sveltejs/learn.svelte.dev/pull/166
2 years ago
Geoff Rich
6a23d9b65f
[docs] fix transition direction options ( #8133 )
2 years ago
Rich Harris
b8bc1be0a8
remove blog content. it now lives in sites repo ( #8117 )
2 years ago
gaac510
eef125f6c1
[docs] update outdated SvelteKit release info ( #8128 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2 years ago
Simon H
670f458056
[docs] adjust code snippet to conform with previous one
...
Backported from https://github.com/sveltejs/learn.svelte.dev/pull/143
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
Daniel Huang
f45b823770
[docs] fix inconsistent margin in svelte/motion spring tutorial ( #8081 )
2 years ago
Pat Cavit
84d61c61f8
[feat] Add options w/ direction to transitions ( #8068 )
2 years ago
Sanguansak Petchmeesri
14f33cfe61
[docs] add rel noreferrer to fix warning in tutorial ( #8024 )
...
Co-authored-by: vaishnav <vaishnav240204@gmail.com>
Co-authored-by: Alfredo Vecino <fredovecino@gmail.com>
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2 years ago
Janosh Riebesell
8b462fd7da
[docs] Fix 3.52.0 a11y warning in svelte-self tutorial ( #7988 )
...
* fix svelte 3.52 a11y warning
* replace span with button and drop on:keyup
2 years ago
Christian Bromann
e86c0c610b
[docs] Add WebdriverIO as alternative testing solution
2 years ago
Dani Sandoval
1852bc4640
[docs] "What's new in Svelte" December newsletter ( #8064 )
2 years ago
Maximiliano Ruani
773dedf714
[feat] Compiler option css: 'none' support ( #7914 )
2 years ago
tomoam
d39920fb10
[docs] fix link in November newsletter ( #7998 )
2 years ago
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