Commit Graph

2785 Commits (202d119e9a22267c2d31bb24c466b861004724f7)

Author SHA1 Message Date
Nguyen Tran 26c38e750c
feat: add a11y `no-noninteractive-element-to-interactive-role` (#8167)
1 year ago
Jon Rouleau 127b61a465
fix: derived store restarting when unsubscribed from another store with a shared ancestor (#8368)
1 year ago
Tan Li Hau c99dd2e045
fix: binding group with if block (#8373)
1 year ago
Theodore Brown c7dcfac883
fix: select option with selected attribute when initial state is undefined (#8371)
1 year ago
Lyu, Wei-Da 5c14bc5f01
fix: support es2022 class features (#8355)
1 year ago
Ben McCann 5b2fa1f247
chore: upgrade magic-string (#8339)
2 years ago
Tan Li Hau 0966d1d282
feat: improve `bind:group` behavior (#7892)
2 years ago
Tan Li Hau d525901556
fix validation for global compound selector (#8344)
2 years ago
Tan Li Hau fbaf3cfc12
fix: call `<svelte:component>` update to `this` only when it's dirty (#4192)
2 years ago
Brad Dougherty dd371f58fe
feat: add readyState binding for media elements (#6843)
2 years ago
Tan Li Hau c611f318d2
feat: add stopImmediatePropagation event modifier (#8341)
2 years ago
Roy Choo acbf8135a8
fix: add global compound selector validation (#6322)
2 years ago
Nguyen Tran ed575cc927
fix: make svelte-ignore work above components (#8338)
2 years ago
xxkl1 f34abc5689
fix: decode html entities correctly (#8047)
2 years ago
lidlanca aa15a64cbe
fix: account for `<template>` tag in `{@html}` (#7364)
2 years ago
Simon H 60db05da86
fix: hide some a11y warnings for `<svelte:element>` tags (#8335)
2 years ago
Tan Li Hau f6dc86f02c
feat: optimise svelte-element output code for static tag and static attribute (#8161)
2 years ago
Cory Virok 32a94fcfc5
chore: implemented a small runtime optimization for SSR (#7539)
2 years ago
David Hunt 4e8efd3c1e
fix: fixes sveltejs/svelte#8214 `bind:group` to `undefined` (#8215)
2 years ago
Vaibhav Rai 26104eaaba
fix: no error assigning to a `const` property (#7966)
2 years ago
4eb0da 9edd2df0d3
fix: check each_blocks is empty on mount (#7505)
2 years ago
Nico Beierle 474a13ad90
fix: prevent undefined value when remount keyed input element with spread props (#7699)
2 years ago
Theodore Brown 8cf037c904
fix: select first enabled option by default when initial value is undefined (#8331)
2 years ago
adiGuba 69c199feac
fix: race condition in `svelte:element` with transition #7948 (#7949)
2 years ago
Yuichiro Yamashita 60a205edb8
fix: don't set selected option(s) if value is unbound or not passed (#8329)
2 years ago
Nguyen Tran b56dfe51a8
feat: add a11y `role-supports-aria-props` (#8195)
2 years ago
Yuichiro Yamashita 5f99ae76ce
chore: Reduce number of lines of expected files (#8325)
2 years ago
Simon H 636290af95
fix: remove indeterminate from boolean attributes (#8334)
2 years ago
Yuichiro Yamashita 1f3d2f7646
fix: better handling of inert attribute (add tests) (#7944)
2 years ago
Tan Li Hau d16dd5d7ca
feat: add naturalWidth and naturalHeight bindings (#7857)
2 years ago
Alvin Ramskogler 9f89a92d31
feat: add `readonly` method to convert writable store to readonly (#6518)
2 years ago
Jos de Jong e5b0b6235d
fix: ensure `bind:offsetHeight` updates (#8096)
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)
2 years ago
ngtr6788 3559997223
feat: implement a11y `aria-activedescendant-has-tabindex` (#8172)
2 years ago
Yuichiro Yamashita a0cedf8d82
fix: flush remaining `afterUpdate` before `destroy` (#7516)
2 years ago
Carlos Ivanchuk aa9b2dd5f3
fix: omit a11y warning on `<video>` when `aria-hidden="true"` (#7880)
2 years ago
Valter Kraemer 2a5b488386
fix: empty value attribute selector doesn't produce "Unused CSS selector" warning (#8122)
2 years ago
Ben Bucksch f6ef6a9349
fix: don't throw when calling writable() unsubscribe twice (#8186)
2 years ago
Lioness100 5a3a1e488a
fix: correct typos in variable names (#8257)
2 years ago
Tim McCabe cb972ecdba
[chore] fix `a11y-no-nointeractive-tabindex` typo (#8252)
2 years ago
Ben McCann 34ae6aaf1f
fix: make `noreferrer` warning less zealous (#8230)
2 years ago
Jay Harris 4f42daeff7
feat: `trusted-types` CSP compatibility for Web Components (#8135)
2 years ago
Emil Tholin b06e435684
[fix] Spread component props immutably during SSR (#8176)
2 years ago
Yuichiro Yamashita 4b84c4df3a
[fix] Improve `is_promise` handling (#8162)
2 years ago
Yuichiro Yamashita e1a1c7fa87
[chore] Fix CI (#8160)
2 years ago
Simon H 762d0429b1
[fix] propagate bindings correctly (#8114)
2 years ago
Mathias Picker c9e98e6bba
[fix]: remove double up initialization on svelte:element (#8142)
2 years ago
Ming07 1f021226c5
[fix] named slots breaks svelte-ignore comments (#8105)
2 years ago
wackbyte 094483b397
[fix] say "nonnegative" instead of "positive" tabIndex for `a11y-no-noninteractive-tabindex` (#8126)
2 years ago
Ramon Snir f84c00edb9
[fix] static svelte:element not replaced with tag in production mode (#7938)
2 years ago
Yuichiro Yamashita de6821a1de
[ chore] disable puppeteer on Linux for Node8 and 10 (#8155)
2 years ago
Yuichiro Yamashita 94e51df07b
[fix] escape style attribute for SSR (#8087)
2 years ago
Tan Li Hau 2f61907ec1
[fix] allow invalidating variables from @const declared function (#7858)
2 years ago
Simon H 4c5469b1ee
[fix] don't run binding init unnecessarily (#7981)
2 years ago
Bert B ed3ac92ec0
[fix] Suppress `a11y-no-noninteractive-tabindex` warning if an element has a `tabpanel` (#8025)
2 years ago
Torsten Dittmann 676716979a
[fix] a11y - allow fallback roles (#8045)
2 years ago
Pat Cavit 84d61c61f8
[feat] Add options w/ direction to transitions (#8068)
2 years ago
Dominik G ee480bded6
[fix] only read static value for rel attribute validation (#8003)
2 years ago
Maximiliano Ruani 773dedf714
[feat] Compiler option css: 'none' support (#7914)
2 years ago
Josh Soref b265bc6f0f
[chore] fix spelling and typos (#7974)
2 years ago
Sid 8921c04a21
[chore] Upgrade css-tree version to 2.1.0 (#7572)
2 years ago
Tan Li Hau e8b4997bb5
[fix] duplicate meta tags during hydration (#7941)
2 years ago
Billy Levin 88ed9931f2
warn on assignment to const (#4960)
2 years ago
Joffrey LEVEUGLE c7c6c05c7f
[feat] add security warning for anchor element (rel attribute) (#6289)
2 years ago
gtmnayan bee1851faa
[feat] `|important` modifier for style directive (#7489)
2 years ago
metonym 26a428972b
[fix] "not interactive" -> "noninteractive" (#7930)
2 years ago
Tan Li Hau 8de7931c64
[feat] better error message for invalid logic block placement (#7862)
2 years ago
Tan Li Hau 158ec43d99
[fix] do not warn about missing props for bindings (#6583)
2 years ago
Tan Li Hau 81d4dbad99
[fix] call `on_destroy` if unmounted called immediately before `on_mount` (#7860)
2 years ago
Tan Li Hau 5c5bc27d97
[feat] Support style props for SVG components (#7859)
2 years ago
Yuichiro Yamashita 01a91163a9
[fix] Improve error message if `this` attribute of `<svelte:component>` is not valid (#7551)
2 years ago
Tan Li Hau b20fb114a6
allow nullish values for component event handlers (#7863)
2 years ago
Yuichiro Yamashita 433460ec2d
[feat] skip custom element check if <svelte:element> uses under svg (#7869)
2 years ago
Yuichiro Yamashita 5adac302c0
[fix] call attribute bindings for custom element if <svelte:element> render custom element (#7766)
2 years ago
metonym 980aff8a4a
[fix] omit a11y warning for native checkbox/radio inputs (#7838)
2 years ago
MCMXC 82013aa161
feat(a11y): add click-events-have-key-events rule (#5073)
2 years ago
Yuichiro Yamashita e2538c594b
[feat] support `--style-props` for `<svelte:component>` (#7468)
2 years ago
tanhauhau 899d0cc67c update docs for a11y-no-noninteractive-tabindex and rename from a11y-no-nointeractive-tabindex -> a11y-no-noninteractive-tabindex
2 years ago
Shinobu Hayashi 2cd661156e
[feat] Add a11y rule to check no tabindex in nointeractive element (#6693)
2 years ago
Vaibhav Rai 78b81277e7
[fix]: Warn user when binding rest operator (#7526)
2 years ago
Mathias Picker 6ec8ecf799
[fix] render of svg elements when using svelte:element (#7695)
2 years ago
Tan Li Hau e2ef2b8731
apply class for dynamic elements (#7652)
2 years ago
Yuichiro Yamashita 1e2a55c88e
throw warning instead of error (#7834)
2 years ago
Maximiliano Ruani 8ffc8fd77b
[fix] Fix hydration duplicate `svelte:head` tag issue with `@html` expressions and nested components (#7745)
2 years ago
Yuichiro Yamashita 07d6d179ab
[fix] style manager transition regression (#7831)
2 years ago
Simon H efe1df0e23
[fix] Only show lowercase component warning for non-html/svg elements (#7826)
2 years ago
Yuichiro Yamashita 3570a5361e
[fix] Apply class directive properly after half way transition (#7765)
2 years ago
Niko Simonson 419641bb3e
Recursively check label children for input control (#5323)
2 years ago
qinmu 5dd703fe81
[fix] handle arrow function on slot inside svelte:fragment (#7667)
2 years ago
Tan Li Hau 91b20b9c2e
[fix] error when using combinator incorrectly (#7650)
2 years ago
Anthony Le Goas b517df14e4
[feat] check noninteractive roles on interactive elements (#5955)
2 years ago
Tan Li Hau 26d1455b27
fixed removal of empty stylesheets created from transitions (#7662)
2 years ago
Tan Li Hau 2db60a77e1
rename test files from svelte-slot -> svelte-fragment (#7679)
2 years ago
Anthony Le Goas f5111ef436
[feat] add a11y check on abstract roles (#6241)
2 years ago
kwangure 39901986d6
[feat]: Add A11y aria-proptypes check (#6978)
2 years ago
Mel 1d19aebe38
a11y: Add role-has-required-aria-props rule (#5852)
2 years ago
kindoflew 7e1691cd62
[fix] support @layer (#7514)
2 years ago
qinmu 02f60fbebf
[fix]destroy empty component (#7492)
2 years ago
Maurício Kishi f8605d6acb
[fix] harden attribute escaping during ssr (#7530)
2 years ago