Commit Graph

2755 Commits (f0cdf77e159f588fbb19bb2872d59f417ed0c4dd)

Author SHA1 Message Date
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
Yuichiro Yamashita 6776fe03fd
fix to apply class directive for svelte:element (#7531)
3 years ago
Yuichiro Yamashita 0d017f4820
[fix] rendering void tag for `<svelte:element>` (#7453)
3 years ago
Tan Li Hau a2de3894c0
[feat] support const tag for if block (#7451)
3 years ago
Yuichiro Yamashita 1f1750e72e
[fix] always use `set_attributes` for attribute of `<svelte:element>` (#7486)
3 years ago
Yuji Sugiura a068719208
[fix] do not be over-eager in removing unused CSS for dialog[open] (#7495)
3 years ago
Yuichiro Yamashita 1803290864
[fix] Specify svg namespace if {@html} is used in svg (#7464)
3 years ago
Yuichiro Yamashita eb37f4a285
[chore] fix lint (#7466)
3 years ago
lidlanca fb341cca2c
[fix] textContent should not be set for <template> element. (#7297)
3 years ago
Bob Fanger 0b0221de99
[fix] Local transitions from #key blocks (#7286)
3 years ago
Yosuke Ota 3a238fe057
[fix] strip leading newline after `<pre>` and `<textarea>` (#7280)
3 years ago
Tan Li Hau 4aff59b080
[fix] correctly track dependencies of let: bindings (#7448)
3 years ago
Henning Groß 9276f85768
[feat] improve error message for animate used in a non-keyed each block (#6838)
3 years ago
Tan Li Hau d9687da632
each animate allow having comment siblings (#7435)
3 years ago
Tan Li Hau e50be669cc
fix const declared without let: binding get ignored (#7434)
3 years ago
gtmnayan afd3f4e5a9
[feat] Make setContext return the value that was passed in (#7432)
3 years ago
Yuichiro Yamashita eca1a652fb
[fix] better context checks for identifiers in const tags (#7222)
3 years ago
Yuichiro Yamashita e0d93254fd
[feature] Dynamic elements implementation <svelte:element> (#6898)
3 years ago
Tan Li Hau 89fda7edae
[fix] add key dependencies into block dependencies (#7422)
3 years ago
Pat Cavit 9f4602ac6f
[fix] style: directive should prevent innerHTML optimization (#7390)
3 years ago
Maurício Kishi cdd3575026
[fix] attribute escaping during ssr (#7333)
3 years ago
Geoff Rich 0a3353b671
[fix] do not collapse whitespace-only css vars (#7303)
3 years ago
rgossiaux e2adf6a211
fix: do not generate unused-export-let inside <script context="module"> (#7232)
3 years ago
Yosuke Ota 7463d51301
[fix]: keep space in `<pre>` or when `preserveWhitespace: true` (#6990)
3 years ago
Efe Selim Küçük 587f94eb65
[feat] Better error message for inline component style directive (#7187)
3 years ago
Yuichiro Yamashita 5665f711fd
[fix] raise compile error if variable name is same as imported variable name (#7145)
3 years ago
Yuichiro Yamashita 00e394e3c8
[fix] fix crash when using arrow functions in {@const} (#7144)
3 years ago
Andreas Ehrencrona a4e4027f79
Handle whitespace inside #each with animation (#5477)
3 years ago
Tan Li Hau dc06ea916e
fix: style directive not reactive in {#each} loop (#7140)
3 years ago
Tan Li Hau 815bc7ef6e
fix: test cases should fail when it should fail (#7139)
3 years ago
Simon H 7044a32a2b
[fix] adjust style directive AST (#7127)
3 years ago