0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-30 00:46:29 +01:00
Commit Graph

7033 Commits

Author SHA1 Message Date
Simon H
709264a94c
chore: update changelog 2023-02-22 20:08:46 +01:00
Tan Li Hau
53de73d08c
feat: simpler output for reactive vars if dependencies are all static (#7942) 2023-02-22 20:02:42 +01:00
Vaibhav
c9a269c149
fix: silence no content a11y warning if the tag has an aria-label (#8299)
fixes #8296

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-02-22 17:19:33 +01:00
ngtr6788
3559997223
feat: implement a11y aria-activedescendant-has-tabindex (#8172)
#820
2023-02-22 17:14:21 +01:00
Simon H
a71b8b9958
chore: improve parser performance (#8303)
- fast path for attribute quote marks common case
- all regexes exclusively passed into read or match_regex which are only successful if matched at the beginning are altered so that the regex has this condition built in, preventing it from searching past the start index

---------

Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-02-22 16:18:36 +01:00
brunnerh
e3e912ab58
Fix accessibility of options tutorial. (#8308)
Use button instead of non-interactive element (div).
(Removes a Svelte a11y warning.)
2023-02-22 09:51:26 +01:00
Yuichiro Yamashita
a0cedf8d82
fix: flush remaining afterUpdate before destroy (#7516)
fixes #7476
2023-02-22 09:46:49 +01:00
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>
2023-02-21 20:00:15 +01:00
Simon H
87424b3137
chore: update changelog 2023-02-21 18:14:15 +01:00
Carlos Ivanchuk
aa9b2dd5f3
fix: omit a11y warning on <video> when aria-hidden="true" (#7880)
Related to #5967. Closes #7874

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-02-21 17:27:49 +01:00
Valter Kraemer
2a5b488386
fix: empty value attribute selector doesn't produce "Unused CSS selector" warning (#8122)
Fixes: #8042

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-02-21 15:21:48 +01:00
Ben Bucksch
f6ef6a9349
fix: don't throw when calling writable() unsubscribe twice (#8186)
Fixes one case of #4765

---------

Co-authored-by: Ben Bucksch <bbucksch@jw.org>
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-02-21 13:52:39 +01:00
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>
2023-02-21 13:13:50 +01:00
Simon H
324b791d81
docs: note #if to wrap text only
taken from #7070
2023-02-21 13:04:12 +01:00
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
Simon H
d5e46d647e
chore: update changelog 2023-02-21 11:24:53 +01:00
Andrew Walker
b0fed256f7
feat: Add -replacestate/-keepfocus to SvelteKit anchor tag props (#8281) 2023-02-21 11:23:13 +01:00
Lioness100
5a3a1e488a
fix: correct typos in variable names (#8257)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-02-14 10:36:48 -08: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
dependabot[bot]
d9253963f7
Bump qs from 6.5.2 to 6.5.3 (#8090)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 09:05:19 -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
Ben McCann
82d2982845
chore: update PR template (#8255) 2023-02-05 06:20:51 -08:00
Satvik
6ac24f1d5c
[docs] add missing semicolon (#8190) 2023-02-05 21:00:54 +09:00
Tim McCabe
cb972ecdba
[chore] fix a11y-no-nointeractive-tabindex typo (#8252) 2023-02-05 20:23:43 +09:00
Ben McCann
e875a76ad1 update changelog 2023-01-28 08:51:35 -08:00
Ben McCann
34ae6aaf1f
fix: make noreferrer warning less zealous (#8230)
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-01-28 08:50:14 -08:00
Ben McCann
eb90a15c29 update changelog 2023-01-27 16:27:19 -08:00
Jay Harris
4f42daeff7
feat: trusted-types CSP compatibility for Web Components (#8135) 2023-01-27 16:25:04 -08:00
Gabriel Francisco
79fa5b36a1
Update license year (#8227) 2023-01-27 11:22:52 -05:00
Yuichiro Yamashita
967e9f51ff
chore: add Node18 for CI (#8078) 2023-01-11 18:11:14 -08:00
Conduitry
3b3e1c839c -> v3.55.1 2023-01-10 12:17:09 -05:00
Simon H
492d7d6f67
update changelog 2023-01-10 09:41:59 +01:00
Emil Tholin
b06e435684
[fix] Spread component props immutably during SSR (#8176)
By passing an empty object literal as first argument to Object.assign we can avoid having objects spread as props on a component being mutated during SSR.

Fixes #8171
2023-01-10 09:39:50 +01:00
Josh
aa98397440
[docs] fix typo (#8180) 2023-01-10 09:38:47 +01:00
Simon H
be38cec3c1
update changelog 2023-01-10 09:38:16 +01:00
Chris Reade
7e6acbece3
[fix] Adding part HTML attribute to typings (#8182)
fixes #8181
2023-01-10 09:36:51 +01:00
cunzaizhuyi
f0dcf1416c
[chore] shorten import statement (#8178) 2023-01-09 08:37:28 -08:00
dependabot[bot]
1f8e53a37f
Bump json5 from 1.0.1 to 1.0.2 (#8175)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 08:35:13 -08:00
Yuichiro Yamashita
dd11917fe5
Update CHANGELOG.md 2023-01-03 12:49:02 +09:00
Yuichiro Yamashita
4b84c4df3a
[fix] Improve is_promise handling (#8162)
* correctly handle promises that are of function type

* add License

Co-authored-by: Vilsol <me@vil.so>
2023-01-03 12:48:06 +09:00
Yuichiro Yamashita
e1a1c7fa87
[chore] Fix CI (#8160)
* ci build

* fix test

* add test for #7938
2023-01-02 15:55:14 +09:00
Yuichiro Yamashita
26c0d3f17d
Update CHANGELOG.md 2023-01-02 15:47:14 +09:00
Simon H
762d0429b1
[fix] propagate bindings correctly (#8114)
Fixes #8103 introduced through #7981
Keeps the infinite loop from happening but reopens #6298 and #5689
2023-01-02 14:51:01 +09:00
Tan Li Hau
1d658e7501
Update CHANGELOG.md 2023-01-02 10:51:01 +08:00
Mathias Picker
c9e98e6bba
[fix]: remove double up initialization on svelte:element (#8142)
* fixed double up initialization on svelte:element elements

* updated test and fixed bug

* update other svelte:element test

* removed whitespace

* refactor

* correctly update expected ouput resulting from #7938

* remove .solo

Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2023-01-02 10:48:34 +08:00