Commit Graph

770 Commits (a71b8b99585bd636dd0e3ea250c9a092afb0533d)

Author SHA1 Message Date
Ignatius Bagus 2012124e87
[fix] foreign namespace hash link () 3 years ago
James Bradbury 84a4ef07c9
[feat] add a11y-no-redundant-roles check () 3 years ago
Bassam Ismail c663104937
[fix] prevent cursor jump for all text inputs () 3 years ago
Tan Li Hau 6ecc3e4d6a
[feat] opt-out loopGuard for async loops () 3 years ago
Josh Duff 0b2d700e98
[fix] Add URLSearchParams to list of globals () 3 years ago
Aykut Kardaş 2c8e77bf90
[refactor] refactor trim utils and write tests () 3 years ago
Bjorn Lu bc34862060
[fix] update preprocessor types () 3 years ago
Bjorn Lu be1eff0305
[feat] add enableSourcemap option () 3 years ago
Vaibhav Rai b6b7f5c8a4
[fix] properly respect sveltePath when rewriting user imports () 4 years ago
Conduitry 10ce5c95fd
[fix] handle promise rejections for {#await} in SSR () 4 years ago
Ben McCann dbbac2837e
[chore] upgrade eslint packages () 4 years ago
Bjorn Lu b845307698
[fix] handle preprocess with empty sourcemaps () 4 years ago
Bjorn Lu 79df74b087
[fix] run else-if reactive function on re-renders () 4 years ago
Simon H 98aefd3cf6
[fix] make Source type in preprocess private () 4 years ago
Shinobu Hayashi f1f7d90240
[fix] handle AssignmentPattern with ObjectPattern in rewrite_identifier () 4 years ago
Yuichiro Yamashita fc4797c6f8
[fix] only use optimized 'src' handling for 'html' namespace () 4 years ago
Shinobu Hayashi fc9241fea9
[fix] handle undefined select value with spread () 4 years ago
trevyn da816e6db7
add `BigInt` as known global () 4 years ago
tomoam 907223cc78
[fix] only rely on `element`/`svg_element` functions if a hydrating component needs them () 4 years ago
Tan Li Hau f25a995f7b
collapse whitespace in class and style attributes () 4 years ago
Vignesh c216707c3e
add HTMLElement and SVGElement as known globals () 4 years ago
Tan Li Hau ce550adef6
[feat] allow use:actions on <svelte:body> () 4 years ago
Tan Li Hau 64b882e3c5
[feat] improve parser errors () 4 years ago
Oliver Ford f48239914d
[fix] warning on reactive use of module const () () 4 years ago
Dominik G e94d1f50bc
[fix] use consistent relative source filename for js sourcemaps () 4 years ago
Tan Li Hau e1d0d00ebb
[feat] allow shorthand {#await ... then/catch} () 4 years ago
Tan Li Hau b720f0e620
[feat] support destructured declaration of props () 4 years ago
Tan Li Hau c550f604f2
[feat] enable export ... from () 4 years ago
Luke Rhoads 4d677d5643
[chore] add space to improve formatting in type definitions file () 4 years ago
Conduitry bc1556fff3 fix lint 4 years ago
Tan Li Hau d75ed6a003
[fix] slot data for cancelled transition () 4 years ago
Yuichiro Yamashita c8732c8a27
[fix] create in transition even if intro is initialized () 4 years ago
Tan Li Hau ee769101fc
[fix] applying :global for > combinator () 4 years ago
Yuichiro Yamashita fd8c5885c8
[fix] create AST node of empty string for empty attribute values () 4 years ago
Bjorn Lu 71c29bbf35
[fix] dynamic autofocus () 4 years ago
Simon H 4ca2af41df
[fix] add filename to combined source map if needed () 4 years ago
Tan Li Hau b23d267f1f
[fix] improper :global() style encapsulation () 4 years ago
Tan Li Hau 365b5e300c
[fix] store reactivity in reactive declarations () 4 years ago
Tan Li Hau 8c66acfa92
fix one-way <select> bind with spread () 4 years ago
Tan Li Hau c54d57b0d9
don't scope :root selector () 4 years ago
Tan Li Hau f906180435
fix binding when updating through accessors () 4 years ago
Tan Li Hau ef14280e28
use simpler insert and append functions when not compiling with hydration () 4 years ago
Yuichiro Yamashita d9da22ac04
fix AST .end index for expressions in attributes () 4 years ago
Hofer Ivan 5cfefeb6e7
support rendering components in a shadow dom () 4 years ago
Hasan Altan Birler ecbd96af95
[fix] hydration improvements () 4 years ago
Tan Li Hau cb189ad0ec
[chore] update code-red, estree-walker, is-reference () 4 years ago
Ben McCann f6a9804275
Upgrade Periscopic () 4 years ago
Maxime LUCE 0cf5511ae0
[feat] Add errorMode option to compile to allow continuing on errors (and mark them as warnings) () 4 years ago
Tan Li Hau fd031105aa
[fix] do not warn if module variables are not the only dependencies in reactive statements () 4 years ago
Simon H a8c35daa9a
[fix] be able to silence more warnings () 4 years ago
Ben McCann 52b67a0497
[chore] fix duplicate import of periscopic () 4 years ago
Tan Li Hau 2818567925
fix input value 0 for ssr () 4 years ago
Tan Li Hau 23f8f4ba6d
[feat] centralise parse errors () 4 years ago
Tan Li Hau 6a582af839
[fix] script style end parsing () 4 years ago
Aleksander Szołowicz 999032835b
fix typos, use shorthanded imports () 4 years ago
Tan Li Hau ebaa891e69
[chore] update code-red@0.2.0 () 4 years ago
Tan Li Hau 2cec6a94bc
[feat] sourcemap markup () 4 years ago
Jonnie 7bcbe67939
add ssr for group bindings () 4 years ago
Tan Li Hau f60cb22a9d
standalone :global() with multiple selectors shouldn't be treated as error () 4 years ago
Simon H b662c7fd41
[chore] move compiler warnings/errors to dedicate files () 4 years ago
Geoff Rich 391258aa10
Remove caption warning on <audio> () 4 years ago
Tan Li Hau 95f3f1c0b3
fix ci after merge conflicts () 4 years ago
Geoff Rich e73f641ca5
Remove deprecated a11y-no-onchange warning () 4 years ago
Tan Li Hau fca6a6d38a
:global() with pseudo element should be considered as global () 4 years ago
Tan Li Hau 98ddf8b588
update periscopic () 4 years ago
Ignatius Bagus 8c3fb922d8
only check selector that are direct children of `:global` () 4 years ago
Maxime LUCE aedf69c1cf
Add compilation variables report option to allow getting all variables (even undeclared or internal) () 4 years ago
Luis Confraria 554d5dd391
Fix preserveComments on ssr () 4 years ago
Anthony Le Goas 58790a9281
a11y: check if mouse events are accompanied by key events () 4 years ago
Mohammed Al-Qurafi 1b33248ead
- Throw a compile error when passing an empty directive name () 4 years ago
zerdox 0df9233fb1
Fix wrong "slot" property warning (runtime) () 4 years ago
Dennis Kaspar b464320607
Add trusted modifier () 4 years ago
Roy Choo 228832c9a3
fix: :global(...):some-pseudoclass should be considered global () 4 years ago
Tan Li Hau a6055b34d9
fix slot props not updated when transition aborted () 4 years ago
Tan Li Hau 7d39e676c5
bind this in bubbled events () 4 years ago
Tan Li Hau bbcc1e7479
disallow multiple selectors inside :global() () 4 years ago
Tan Li Hau bce3641e92
fix escaping attributes in spread in SSR () 4 years ago
Tan Li Hau 3acaa03f6f
fix textarea end tag parsing () 4 years ago
Bjørn de6d0c66d3
Add a more descriptive message for the error generated by an empty shorthand attribute () 4 years ago
Tan Li Hau 3f990a96ba
Use SSR rendered as initial html for runtime hydration test () 4 years ago
Tan Li Hau ebd21ae6d3
fix updating of slot contents when aborting transition () 4 years ago
Térence Hollander 842b8412b6
fix(a11y): do not warn if href value is dynamic () 4 years ago
Tan Li Hau 02b49a1bb4
implement passing CSS custom properties to components () 4 years ago
Tan Li Hau 3d1af7fb68
support :global() in compound selector () 4 years ago
Lyu, Wei-Da 00e58e7bc8
Fix {#await} block scope when updating () 4 years ago
halfnelson 4633697214
Don't auto change to svg namespace when in foreign namespace () 4 years ago
Maxime LUCE 08047c14b6
Pass full markup source to preprocessors () 4 years ago
Ben McCann 31cb5206e0 Remove trailing whitespace 4 years ago
Conduitry 286c60da4d
fix missing slotted elements in AST () 4 years ago
Luke Edwards e5a5eaeef0
fix: revert breaking change for `compiler/preprocess` types location () 4 years ago
Tan Li Hau 1d6e20f2a9
implement <svelte:fragment> () 4 years ago
Rich Harris 2925a00eff
add cssHash option () 4 years ago
Tan Li Hau d17a90cc44
allow destructured defaults to refer to variables () 4 years ago
Tan Li Hau b764374b62
no warning on contextual-store if declaring it as a parameter / variable () 4 years ago
Pontus Lundin d4f98fb63a
Call onMount when connected & clean up when disconnected for custom element () 4 years ago
Tan Li Hau e8094df779
fix remove of lone :host selectors () 4 years ago
pushkine a9c1dc9b59
fix extra invalidation with component prop binding to object property () 4 years ago
Tan Li Hau 8867bc31c2
update css-tree@^1.1.2 () 4 years ago
Tan Li Hau 44f41c9edd
fix :host and :global css scoping () 4 years ago
Tan Li Hau 6589aa2548
warn module variables are nonreactive and make them truly nonreactive () 4 years ago
Saurav Sahu 87417e5a7b
fix: "foreign" namespace elements should still allow binding 'this' () 4 years ago
J Delaney 4f05cc3e3c
don't create class update functions when dependencies aren't reactive () 4 years ago
Tan Li Hau 6207596175
fix extraneous store subscription in SSR () 4 years ago
Anders Lorentsen acf60d88a0
error on empty name in `class:` directive () 4 years ago
Ben McCann 37b1a20c17
Add spaces next to infix operators () 4 years ago
halfnelson a7eff8894f
add `foreign` namespace to preserve attribute case and skip HTML-specific a11y validations () 4 years ago
pushkine 13e3d755da
allow duplicates of the same action on an element () 4 years ago
Andreas Ehrencrona abf11bb02b
Refactored preprocess for readability () 4 years ago
milahu 0d19f67ec4
Parse attached sourcemap from preprocessor () 4 years ago
Tan Li Hau 734257001d
deconflict conextual action variable () 4 years ago
Tan Li Hau 9cc21e3c09
fix removing elements that are currently transitioning out () 4 years ago
Tan Li Hau 82fcdfc2fa
rework SSR store autosubscription () 4 years ago
Tan Li Hau 1da4105d65
fix deep object property as action () 4 years ago
Tan Li Hau 08cb3142e9
keep each block value () 4 years ago
Tan Li Hau 63669330f6
maintain context for keyed each () 4 years ago
Tan Li Hau a41c7644e6
shift injected declarations to the top () 4 years ago
Tan Li Hau 2d5d6b05ed
warn if React attributes are used () 4 years ago
Tan Li Hau 662d9b44e6
fix checkbox bind:group when index depends on another context () 4 years ago
Ben Welsh 9927d16b92
add ARIA graphics roles as known () 4 years ago
Andreas Ehrencrona 9d9d7bc355
Added types to Node subclasses () 4 years ago
dmitrage 68538c61eb
Fix various issues with preprocess source maps () 4 years ago
milahu 3d68ceaf8f
support using decoded sourcemaps from SourceMapGenerator () 4 years ago
Tan Li Hau 9331398299
support spread into slot props () 4 years ago
Tan Li Hau 1cc5bdb9ca
reactive dependency not referenced can't set to undefined initially () 4 years ago
Tan Li Hau 24c44b9177
fix order of html tags with {#if} in {#key} block () 4 years ago
Ben McCann 67dea941bb
Fix eslint issue () 4 years ago
halfnelson dcfbd69516
Preprocessor sourcemap support () 4 years ago
Tan Li Hau 7949d8efac
support $$slots in custom elements () 4 years ago
Ben McCann 240f5410f3
Curly brace cleanup and enforcement () 4 years ago
Mikail Khan 9745b61aab
fixed typo in each loop animation error () 4 years ago
Tan Li Hau 148b6105ed
fix else block transition update () 4 years ago
Tan Li Hau 5d7ffdb8a7
fix function slot props based on context () 4 years ago
Tan Li Hau 6fa3e91b5d
support $$props and $$restProps for custom elements () 4 years ago
Tan Li Hau cfc73be90f
add Node and Element as known globals () 4 years ago
Ben McCann 7ea6a2994a
Curly braces linting fixes () 4 years ago
Jesse Skinner a4e4bd0f53
get context at start of {#if} update block instead of at the end () 4 years ago
Damián Pumar 5d480c5d5a
fix compiler hanging on <slot slot="..."> () 4 years ago
Andreas Ehrencrona ddf13211af
Updated to ESLint config 5.4.0 () 4 years ago
Oscar Mattsson dc717bd7d1
Fixed outdated typescriptlang.org link in comment () 4 years ago
Andreas Ehrencrona aa759f44fc
add missing end AST property to non-top-level <style> tags () 5 years ago
Andreas Ehrencrona e508fb7b8b
fix indentation and remove unused variables () 5 years ago
Ben McCann 229a16d6e7
upgrade ESLint config () 5 years ago
Tan Li Hau 2d88dc460e
warn for possible use of component without uppercase tag name () 5 years ago
Tan Li Hau 2c5f1c466e
add typings to `get_store_value` () 5 years ago
Tan Li Hau 8056829a91
allow <slot> to be part of a slot () 5 years ago
Tan Li Hau 3970def5eb
fix sibling combinators with spread attributes () 5 years ago
Tan Li Hau 296e81af4d
add EventSource to the known globals () 5 years ago
Tan Li Hau fa7c780bad
{#key} block () 5 years ago
Tan Li Hau 967b88186b
scope CSS sibling combinators () 5 years ago
Tan Li Hau a1651ca271
add nonpassive event modifier () 5 years ago