Puru Vijay
12f4f6c457
Merge remote-tracking branch 'origin/master' into sites
2 years ago
Cas
c4261abfde
feat: document fullscreenElement and visibilityState bindings ( #8507 )
2 years ago
abirtley
a74caf1381
docs: Clarify when bind:group does not work ( #8540 )
...
Clarify documentation around when bind:group does and does not work. See issue #2308
2 years ago
xxkl1
b7359c8361
feat: add window bind devicePixelRatio support ( #8534 )
...
closes : #8285
add window bind devicePixelRatio support, change devicePixelRatio on window resize.
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2 years ago
Puru Vijay
1e9e843ca5
Merge
2 years ago
James Scott-Brown
1770fc140a
docs: clarify statement about initial values for props ( #8477 )
2 years ago
Puru Vijay
59b7c4400e
Merge remote-tracking branch 'origin/master' into sites
2 years ago
Puru Vijay
36658da3f2
Fix broken links
2 years ago
Ben McCann
009ce45e63
site: tweak content layout ( #8483 )
2 years ago
James Scott-Brown
cd690e025b
docs: clarify meaning of "this" in a comment ( #8478 )
2 years ago
Puru Vijay
beb3f653ee
docs(site-2): CJS to ESM for code snippets ( #8449 )
2 years ago
Puru Vijay
b569018fef
feat(site-2): Split docs ( #8435 )
...
* Update links
* Move blog to site/content
* Update site/content/docs/02-component-format.md
* Fix docs links
* Add global prettierrc
* Auto format
* Fix git merge artifact
* Fix errors
* Update html to svelte(remaining ones)
* Add 2 blog posts
* Modify prettierrc
* Minor design fix
* Switch package lock to spaces, prettier ignore
* Regenerate package lock
* prettier format
* Push
* Remove console.logs
* Minor fixes
* Fix search
* Fix heading <code> style
* Fix search some more
* Code cleanup
* Update deps
* Move content around
* Allow drafts
* Redirect logic
* Don't render anything on docs if /docs
* Shorten the regex patterns
* Fix some more
* Hack the build into working
* Modernize docs links
* Add content to introduction
* Modify the content
* fix content links
* Reduce duplication in redirect regex
* Differences from Kit page
* Fix link
* Make OnThisPage visible on all docs
* Misc changes
* Move differences page to introduction
* Run prettier
* Prerender examples api routes
* Modify introdution page
* replace positions of readonly and get
* Minor blog style enhancement
---------
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
2 years ago
Puru Vijay
db2d07f236
feat(site-2): Update links, move blog out of SK folder to content ( #8289 )
...
* Update links
* Move blog to site/content
* Update site/content/docs/02-component-format.md
* Fix docs links
* Add global prettierrc
* Auto format
* Fix git merge artifact
* Fix errors
* Update html to svelte(remaining ones)
* Add 2 blog posts
* Modify prettierrc
* Minor design fix
* Switch package lock to spaces, prettier ignore
* Regenerate package lock
* prettier format
* Update deps
* Hack the build into working
* add missing blog post
---------
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
Co-authored-by: Rich Harris <git@rich-harris.dev>
2 years ago
Nguyen Tran
fed93ab9e1
feat: add a11y `interactive-supports-focus` ( #8392 )
...
#820
2 years ago
Dave Lunny
f56fe33931
feat: `bind:innerText` for `contenteditable` ( #4291 )
...
closes #3311
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2 years ago
Henrik Giesel
4b0b471ee1
feat: add back `<svelte:document>` ( #7149 )
...
Closes #3310
---------
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
Bob Fanger
6aee49bad3
feat: css units in fly & blur transitions ( #7623 )
...
Closes #6050
---------
Co-authored-by: Bob Fanger <b.fanger@wearetriple.com>
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
Nguyen Tran
26c38e750c
feat: add a11y `no-noninteractive-element-to-interactive-role` ( #8167 )
...
Part of #820
2 years ago
Brandon McConnell
e2b9df1888
docs: update 06-accessibility-warnings.md ( #8342 )
...
Convert recommended events to use Svelte syntax, and include deprecation warning re https://developer.mozilla.org/en-US/docs/Web/API/Element/keypress_event
2 years ago
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