Commit Graph

3201 Commits (f9efb4d9920ff76b4b22bec8443ee2049a05cf26)

Author SHA1 Message Date
Ming07 1f021226c5
[fix] named slots breaks svelte-ignore comments (#8105)
3 years ago
Gus Wezerek a5d6713c8e
Fix bug with transition draw when delay is passed (#8094)
3 years ago
wackbyte 094483b397
[fix] say "nonnegative" instead of "positive" tabIndex for `a11y-no-noninteractive-tabindex` (#8126)
3 years ago
Ramon Snir f84c00edb9
[fix] static svelte:element not replaced with tag in production mode (#7938)
3 years ago
Yuichiro Yamashita 94e51df07b
[fix] escape style attribute for SSR (#8087)
3 years ago
Tan Li Hau 2f61907ec1
[fix] allow invalidating variables from @const declared function (#7858)
3 years ago
Simon H 4c5469b1ee
[fix] don't run binding init unnecessarily (#7981)
3 years ago
Bert B ed3ac92ec0
[fix] Suppress `a11y-no-noninteractive-tabindex` warning if an element has a `tabpanel` (#8025)
3 years ago
Torsten Dittmann 676716979a
[fix] a11y - allow fallback roles (#8045)
3 years ago
Pat Cavit 84d61c61f8
[feat] Add options w/ direction to transitions (#8068)
3 years ago
Simon H f4779eee4a
[fix] don't emit css option deprecation warning for now (#8012)
3 years ago
Dominik G ee480bded6
[fix] only read static value for rel attribute validation (#8003)
3 years ago
Maximiliano Ruani 773dedf714
[feat] Compiler option css: 'none' support (#7914)
3 years ago
byt3r 84ea242666
[fix] check parentNode exists before removing child (#6910)
3 years ago
Josh Soref b265bc6f0f
[chore] fix spelling and typos (#7974)
3 years ago
Sid 8921c04a21
[chore] Upgrade css-tree version to 2.1.0 (#7572)
3 years ago
Tan Li Hau e8b4997bb5
[fix] duplicate meta tags during hydration (#7941)
3 years ago
Billy Levin 88ed9931f2
warn on assignment to const (#4960)
3 years ago
Joffrey LEVEUGLE c7c6c05c7f
[feat] add security warning for anchor element (rel attribute) (#6289)
3 years ago
gtmnayan bee1851faa
[feat] `|important` modifier for style directive (#7489)
3 years ago
Hofer Ivan 739bfaec12
[chore] add missing types to `compiler/compile/render_dom` functions and variables (#7777)
3 years ago
Hofer Ivan 0eba57113b
[chore]: store regexp as variable instead of defining it inline (#7716)
3 years ago
metonym 26a428972b
[fix] "not interactive" -> "noninteractive" (#7930)
3 years ago
Samuel Stroschein 220325cd9f
[docs] add inline documentation to svelte runtime functions (#7846)
3 years ago
Tan Li Hau 8de7931c64
[feat] better error message for invalid logic block placement (#7862)
3 years ago
Tan Li Hau 158ec43d99
[fix] do not warn about missing props for bindings (#6583)
3 years ago
Tan Li Hau 81d4dbad99
[fix] call `on_destroy` if unmounted called immediately before `on_mount` (#7860)
3 years ago
Tan Li Hau 5c5bc27d97
[feat] Support style props for SVG components (#7859)
3 years ago
Yuichiro Yamashita 01a91163a9
[fix] Improve error message if `this` attribute of `<svelte:component>` is not valid (#7551)
3 years ago
Simon H c12704c301
[fix] typings for #7863
3 years ago
Xiao Chuan ee5479d00e
[fix] fix ctx and dirty type (#7832)
3 years ago
Tan Li Hau b20fb114a6
allow nullish values for component event handlers (#7863)
3 years ago
Yuichiro Yamashita 433460ec2d
[feat] skip custom element check if <svelte:element> uses under svg (#7869)
3 years ago
Yuichiro Yamashita 5adac302c0
[fix] call attribute bindings for custom element if <svelte:element> render custom element (#7766)
3 years ago
metonym 980aff8a4a
[fix] omit a11y warning for native checkbox/radio inputs (#7838)
3 years ago
MCMXC 82013aa161
feat(a11y): add click-events-have-key-events rule (#5073)
3 years ago
Yuichiro Yamashita e2538c594b
[feat] support `--style-props` for `<svelte:component>` (#7468)
3 years ago
tanhauhau 899d0cc67c update docs for a11y-no-noninteractive-tabindex and rename from a11y-no-nointeractive-tabindex -> a11y-no-noninteractive-tabindex
3 years ago
Shinobu Hayashi 2cd661156e
[feat] Add a11y rule to check no tabindex in nointeractive element (#6693)
3 years ago
Vaibhav Rai 78b81277e7
[fix]: Warn user when binding rest operator (#7526)
3 years ago
Mathias Picker 6ec8ecf799
[fix] render of svg elements when using svelte:element (#7695)
3 years ago
Tan Li Hau e2ef2b8731
apply class for dynamic elements (#7652)
3 years ago
Yuichiro Yamashita a5ca0ad65b
[fix] added support for inert (remove duplicated code) (#7785)
3 years ago
Yuichiro Yamashita 1e2a55c88e
throw warning instead of error (#7834)
3 years ago
Maximiliano Ruani 8ffc8fd77b
[fix] Fix hydration duplicate `svelte:head` tag issue with `@html` expressions and nested components (#7745)
3 years ago
Yuichiro Yamashita 07d6d179ab
[fix] style manager transition regression (#7831)
3 years ago
Yuichiro Yamashita feb8dfce61
[fix] add all global objects / functions (#7786)
3 years ago
Simon H efe1df0e23
[fix] Only show lowercase component warning for non-html/svg elements (#7826)
3 years ago
Simon H bddd795746
[feat] enhance action typings (#7805)
3 years ago
Yosuke Ota 8d26b4a19d
[chore] improve performance by using `trimRight()` instead of regex replace (#7706)
3 years ago
Yuichiro Yamashita 3570a5361e
[fix] Apply class directive properly after half way transition (#7765)
3 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
Simon H 6f57571507
[feat] add convenience types ComponentType and ComponentProps (#6770)
3 years ago
Maurício Kishi f8605d6acb
[fix] harden attribute escaping during ssr (#7530)
3 years ago
Yuichiro Yamashita 6776fe03fd
fix to apply class directive for svelte:element (#7531)
3 years ago
Matteo Baccan 0ed6ebef9d
[fix] remove duplicate semicolon (#7534)
3 years ago
Rich Harris e7a2350550
Faster SSR (#5701)
3 years ago
Ben McCann 34eb6efedc
[chore] upgrade to eslint 8 (#7506)
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
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
Bjorn Lu 0f94c890f5
[feat] dispatch cancelable custom events (#7064)
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
maxlath f58382b22a
add Symbol to globals (#7419)
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)
4 years ago
Geoff Rich 0a3353b671
[fix] do not collapse whitespace-only css vars (#7303)
4 years ago
rgossiaux e2adf6a211
fix: do not generate unused-export-let inside <script context="module"> (#7232)
4 years ago
Frozen FIsh 555cdf3da2
[docs] fix typo (#7323)
4 years ago
Ignatius Bagus 78131b9f98
[feat] TS interfaces for typing actions (#7121)
4 years ago
Jacob Størdahl b6441eb655
[fix] add aria-description aria_attributes - (#7302)
4 years ago
Yosuke Ota 7463d51301
[fix]: keep space in `<pre>` or when `preserveWhitespace: true` (#6990)
4 years ago
Efe Selim Küçük 587f94eb65
[feat] Better error message for inline component style directive (#7187)
4 years ago
Ignatius Bagus d35fc9f842
[fix] add `FormData` as a known global (#7199)
4 years ago
metonym b9325ed3c4
[fix] type Ast css/instance/module properties as optional (#7204)
4 years ago