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
Hong-Kuan Wu
835362af88
fix: check url and search input field values before updating ( #7111 )
...
Fixes #7027
2 years ago
Alvin Ramskogler
9f89a92d31
feat: add `readonly` method to convert writable store to readonly ( #6518 )
2 years ago
Simon H
0bdb59c2e2
fix: compute rect directly before crossfading ( #8314 )
...
closes #4344
fixes #4111
2 years ago
Jos de Jong
e5b0b6235d
fix: ensure `bind:offsetHeight` updates ( #8096 )
...
fixes #4233 by calling the callback after the iframe loads, which may be asynchronous
---------
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2 years ago
Simon H
709264a94c
chore: update changelog
2 years ago
Tan Li Hau
53de73d08c
feat: simpler output for reactive vars if dependencies are all static ( #7942 )
2 years ago
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>
2 years ago
ngtr6788
3559997223
feat: implement a11y `aria-activedescendant-has-tabindex` ( #8172 )
...
#820
2 years ago
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>
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
Yuichiro Yamashita
a0cedf8d82
fix: flush remaining `afterUpdate` before `destroy` ( #7516 )
...
fixes #7476
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
Simon H
87424b3137
chore: update changelog
2 years ago
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>
2 years ago
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>
2 years ago
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>
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
Simon H
d5e46d647e
chore: update changelog
2 years ago
Andrew Walker
b0fed256f7
feat: Add -replacestate/-keepfocus to SvelteKit anchor tag props ( #8281 )
2 years ago
Puru Vijay
df2bb23af4
feat: search and backlink compatability ( #8286 )
...
* Copy the right files
* Finish search
* FIx accessibility issues
* Add original site compatibility back in
* Remove console.log
* Reorganize imports
* Minor refactor
* Fix undefined heading issue
* Replace state on redirect
* Don't redirect to docs/introduction from navbar
* Cleanup search
* Cleanup some more(html entities)
* Remove console log
* Minor style tweaks
* Put search in middle
2 years ago
Puru Vijay
1b12546afe
Merge remote-tracking branch 'origin/master' into sites
2 years ago
Lioness100
5a3a1e488a
fix: correct typos in variable names ( #8257 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
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
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>
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
Puru Vijay
dd960327f2
Update deps
2 years ago
Puru Vijay
79db9b180d
feat: Proper dark mode ( #8274 )
...
* Push
* Update svelte REPL
* Light mode fixes
* Fox height issues
* Moar dark mode fixes
* More changes
* Fix zen mode height issue
2 years ago
Puru Vijay
f4c593f28f
Merge remote-tracking branch 'origin/sites' into sites
2 years ago
Puru Vijay
a3f3602846
Merge remote-tracking branch 'origin/master' into sites
2 years ago
Puru Vijay
69349319eb
feat: multi-page docs ( #8253 )
...
* Rename markdown to blog
* Multi-page docs
* Ignore missing ID for now
* heading
* Add code snippets(temporary)
* /docs redirects to introduction
* Remove ukraine petition
* OnThisPage
* Remove console.log
* Update deps
* Fix accessibility warning
* Update site-kit
2 years ago
Ben McCann
82d2982845
chore: update PR template ( #8255 )
2 years ago
Satvik
6ac24f1d5c
[docs] add missing semicolon ( #8190 )
2 years ago
Tim McCabe
cb972ecdba
[chore] fix `a11y-no-nointeractive-tabindex` typo ( #8252 )
2 years ago
Puru Vijay
7afee765fc
Add blurb back in
2 years ago
Puru Vijay
60806f74b9
[feat]: Move svelte.dev here ( #8237 )
...
* Push
* Remove `rootDir`
* Use tsconfig instead of jsconfig
* Push recent changes
* Better dark mode
* empty commit to try and trigger a deploy
* bump kit
* Fix site-kit dep
* Comment out blurb
* Update site-kit to 3.2.1
* Externalise sourcemap-codec
* Install sourcemap-codec as dep
---------
Co-authored-by: Rich Harris <hello@rich-harris.dev>
2 years ago
Rich Harris
952ca44fb1
empty commit to try and trigger a deploy
2 years ago
Puru Vijay
7d3f565f3f
Merge remote-tracking branch 'origin/master' into sites
2 years ago
Ben McCann
e875a76ad1
update changelog
2 years ago
Ben McCann
34ae6aaf1f
fix: make `noreferrer` warning less zealous ( #8230 )
...
Co-authored-by: Yuichiro Yamashita <xydybaseball@gmail.com>
2 years ago
Ben McCann
eb90a15c29
update changelog
2 years ago
Jay Harris
4f42daeff7
feat: `trusted-types` CSP compatibility for Web Components ( #8135 )
2 years ago
Gabriel Francisco
79fa5b36a1
Update license year ( #8227 )
2 years ago