Commit Graph

3236 Commits (c4261abfde96f10576b860ccab82951bf2cc35ef)

Author SHA1 Message Date
Theodor Steiner c7bbe55b9f
feat: introduce axis parameter to allow for horizontal slide transition (#6183)
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
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
Ben McCann ca531519a8
chore: switch to @jridgewell/sourcemap-codec (#8321)
2 years ago
Tan Li Hau d16dd5d7ca
feat: add naturalWidth and naturalHeight bindings (#7857)
2 years ago
Hong-Kuan Wu 835362af88
fix: check url and search input field values before updating (#7111)
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)
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
Simon H a71b8b9958
chore: improve parser performance (#8303)
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
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
cunzaizhuyi f0dcf1416c
[chore] shorten import statement (#8178)
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
Gus Wezerek a5d6713c8e
Fix bug with transition draw when delay is passed (#8094)
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 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
Simon H f4779eee4a
[fix] don't emit css option deprecation warning for now (#8012)
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
byt3r 84ea242666
[fix] check parentNode exists before removing child (#6910)
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
Hofer Ivan 739bfaec12
[chore] add missing types to `compiler/compile/render_dom` functions and variables (#7777)
2 years ago
Hofer Ivan 0eba57113b
[chore]: store regexp as variable instead of defining it inline (#7716)
2 years ago
metonym 26a428972b
[fix] "not interactive" -> "noninteractive" (#7930)
2 years ago
Samuel Stroschein 220325cd9f
[docs] add inline documentation to svelte runtime functions (#7846)
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
Simon H c12704c301
[fix] typings for #7863
2 years ago
Xiao Chuan ee5479d00e
[fix] fix ctx and dirty type (#7832)
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 a5ca0ad65b
[fix] added support for inert (remove duplicated code) (#7785)
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
Yuichiro Yamashita feb8dfce61
[fix] add all global objects / functions (#7786)
2 years ago
Simon H efe1df0e23
[fix] Only show lowercase component warning for non-html/svg elements (#7826)
2 years ago
Simon H bddd795746
[feat] enhance action typings (#7805)
2 years ago
Yosuke Ota 8d26b4a19d
[chore] improve performance by using `trimRight()` instead of regex replace (#7706)
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)
3 years ago
Tal500 816409a27b
[fix] Use `Node.parentNode` instead `Node.parentElement` for legacy browser support (#7724)
3 years ago
metonym 439bbf87e3
[feat] add SveltePreprocessor utility type (#7742)
3 years ago
qinmu 5dd703fe81
[fix] handle arrow function on slot inside svelte:fragment (#7667)
3 years ago
Hofer Ivan bb02a22d3e
[feat] add convenience type for `ComponentEvents` (#7702)
3 years ago
Tan Li Hau 91b20b9c2e
[fix] error when using combinator incorrectly (#7650)
3 years ago
Anthony Le Goas b517df14e4
[feat] check noninteractive roles on interactive elements (#5955)
3 years ago
Tan Li Hau 26d1455b27
fixed removal of empty stylesheets created from transitions (#7662)
3 years ago
Anthony Le Goas f5111ef436
[feat] add a11y check on abstract roles (#6241)
3 years ago
kwangure 39901986d6
[feat]: Add A11y aria-proptypes check (#6978)
3 years ago
Mel 1d19aebe38
a11y: Add role-has-required-aria-props rule (#5852)
3 years ago
Simon H 0fa0a38d51
[fix] export CompileOptions (#7658)
3 years ago
kindoflew 7e1691cd62
[fix] support @layer (#7514)
3 years ago
qinmu 02f60fbebf
[fix]destroy empty component (#7492)
3 years ago