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

714 Commits

Author SHA1 Message Date
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>
2023-02-21 12:07:33 +01:00
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>
2023-02-21 11:54:00 +01:00
Maxime Dupont
4dd12c0c61
docs: fix fly animation description (#8236) 2023-02-21 11:33:01 +01:00
James Scott-Brown
acba4b72e2
docs: clarify bindings for <select multiple> (#8260)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-02-14 10:04:49 -08:00
Alicia Sykes
0598c989a0
docs: corrects syntax error in transition code sample (#8169)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-02-14 08:57:07 -08:00
Kyrre Gjerstad
d7e4b1c8fc
docs: fix minor typos (#8268)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-02-14 08:25:23 -08:00
James Scott-Brown
ff5c14dc71
docs: format window.navigator.onLine reference as code (#8262) 2023-02-14 08:19:57 -08:00
James Scott-Brown
7706a5f713
docs: link to MDN page on void elements (#8261) 2023-02-14 08:18:06 -08:00
Satvik
6ac24f1d5c
[docs] add missing semicolon (#8190) 2023-02-05 21:00:54 +09:00
Josh
aa98397440
[docs] fix typo (#8180) 2023-01-10 09:38:47 +01:00
wackbyte
094483b397
[fix] say "nonnegative" instead of "positive" tabIndex for a11y-no-noninteractive-tabindex (#8126) 2023-01-02 09:39:55 +08:00
Simon H
b8f32c0b1a
[docs] clear timeout on destroy
backported from https://github.com/sveltejs/learn.svelte.dev/pull/166
2022-12-22 17:47:52 +01:00
Geoff Rich
6a23d9b65f
[docs] fix transition direction options (#8133) 2022-12-22 09:39:36 +09:00
Rich Harris
b8bc1be0a8
remove blog content. it now lives in sites repo (#8117) 2022-12-20 08:09:50 -08:00
gaac510
eef125f6c1
[docs] update outdated SvelteKit release info (#8128)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2022-12-19 22:47:31 +01:00
Simon H
670f458056
[docs] adjust code snippet to conform with previous one
Backported from https://github.com/sveltejs/learn.svelte.dev/pull/143
2022-12-16 10:33:36 +01:00
Nilesh
ad8dbfb9b9
[docs] Add comment about generating a Svelte project without Kit (#8115) 2022-12-15 13:47:02 +01:00
Ben McCann
a0a6bd1f54
[docs] add some basic docs about bundler plugins (#8092) 2022-12-07 11:04:50 -08:00
Yuichiro Yamashita
cc52dc442b
[docs] add explanation about property binding order (#7833)
* update document

* update sentence and position

* update the sentence

* update
2022-12-05 23:18:29 +08:00
Daniel Huang
f45b823770
[docs] fix inconsistent margin in svelte/motion spring tutorial (#8081) 2022-12-06 00:14:11 +09:00
Pat Cavit
84d61c61f8
[feat] Add options w/ direction to transitions (#8068) 2022-12-05 22:43:59 +09:00
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>
2022-12-04 00:42:34 +09:00
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
2022-12-03 23:55:51 +09:00
Christian Bromann
e86c0c610b
[docs] Add WebdriverIO as alternative testing solution 2022-12-03 14:03:45 +09:00
Dani Sandoval
1852bc4640
[docs] "What's new in Svelte" December newsletter (#8064) 2022-12-02 11:48:30 +01:00
Maximiliano Ruani
773dedf714
[feat] Compiler option css: 'none' support (#7914) 2022-11-09 10:21:38 -08:00
tomoam
d39920fb10
[docs] fix link in November newsletter (#7998) 2022-11-07 18:15:25 +09:00
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>
2022-10-31 21:20:54 +01:00
Josh Soref
b265bc6f0f
[chore] fix spelling and typos (#7974) 2022-10-27 08:09:18 -07:00
Neagu Mihai
146e7a6310
fix: Remove Security Message (#7959) 2022-10-20 20:04:35 +02:00
Josiah Nieves
0a7cf0e73e
[docs] fix typo "bellow" vs "below" (#7955) 2022-10-16 19:45:03 -07:00
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
2022-10-16 16:25:39 +08:00
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>
2022-10-13 21:52:06 +08:00
Don Alfons
1ca83c2050
[docs] Improve grammar (#7923)
* [docs] Improve grammar

* revert spelling changes

Co-authored-by: tanhauhau <lhtan93@gmail.com>
2022-10-13 21:01:58 +08:00
metonym
26a428972b
[fix] "not interactive" -> "noninteractive" (#7930) 2022-10-13 20:49:00 +08:00
Ben McCann
1c659193a0
[docs] update SvelteKit status (#7919) 2022-10-07 16:34:31 -07:00
Geoff Rich
ff2759e143
[docs] fix typo in getting started (#7918) 2022-10-07 16:25:19 -07:00
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
2022-10-06 17:23:29 +08:00
Tan Li Hau
5c5bc27d97
[feat] Support style props for SVG components (#7859) 2022-10-06 01:18:37 +09:00
Shawn
be70a898f3
[docs] fix link redirect to discord (#7911)
* fix link redirect to discord

* fix link redirect to discord
2022-10-05 22:44:08 +08:00
Ben McCann
7d20194d8a
[docs] create getting started guide outside blog (#7812) 2022-10-04 21:38:58 -07:00
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>
2022-09-30 10:57:42 -07:00
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>
2022-09-13 21:22:10 +08:00
tanhauhau
899d0cc67c update docs for a11y-no-noninteractive-tabindex and rename from a11y-no-nointeractive-tabindex -> a11y-no-noninteractive-tabindex 2022-09-13 19:16:58 +08:00
Ben McCann
7ac3854613
[docs] remove beta label from SvelteKit mention (#7853) 2022-09-10 14:00:50 -07:00
schelv
f3f3d074c5
[docs] use KeyboardEvent.code (#7809) 2022-09-04 01:06:57 +09:00
Daniel Sandoval
0ed453dc11
[docs] "What's new in Svelte" September newsletter (#7814) 2022-09-01 15:42:09 -07:00
Ben McCann
a8616701e7
[docs] clarify reactivity rules (#7802) 2022-08-29 21:47:20 +02:00
孟世博
d5efa2e446
[docs] Typescript -> TypeScript (#7797)
* [docs] fix spellings error

* fix ts
2022-08-19 13:30:22 +09:00
Tan Li Hau
012d639b42
Update 05-accessibility-warnings.md
reorder a11y warnings
2022-08-09 00:05:51 +08:00