Commit Graph

112 Commits (c611f318d2fcc951f05df3cb17db95d60e34609b)

Author SHA1 Message Date
Maximiliano Ruani 773dedf714
[feat] Compiler option css: 'none' support (#7914)
2 years ago
Sid 8921c04a21
[chore] Upgrade css-tree version to 2.1.0 (#7572)
2 years ago
gtmnayan bee1851faa
[feat] `|important` modifier for style directive (#7489)
2 years ago
Yuichiro Yamashita e0d93254fd
[feature] Dynamic elements implementation <svelte:element> (#6898)
3 years ago
Simon H 7044a32a2b
[fix] adjust style directive AST (#7127)
3 years ago
Paul Murray 8a47b5ec9e
[feat] Style directives (#5923)
3 years ago
Tan Li Hau 64b882e3c5
[feat] improve parser errors (#6612)
3 years ago
Yuichiro Yamashita fd8c5885c8
[fix] create AST node of empty string for empty attribute values (#6539)
3 years ago
Yuichiro Yamashita d9da22ac04
fix AST .end index for expressions in attributes (#6542)
3 years ago
Simon H a8c35daa9a
[fix] be able to silence more warnings (#6504)
3 years ago
Tan Li Hau 23f8f4ba6d
[feat] centralise parse errors (#6519)
3 years ago
Tan Li Hau 6a582af839
[fix] script style end parsing (#6511)
3 years ago
Mohammed Al-Qurafi 1b33248ead
#6299 - Throw a compile error when passing an empty directive name (#6300)
3 years ago
Tan Li Hau 3acaa03f6f
fix textarea end tag parsing (#6424)
3 years ago
Bjørn de6d0c66d3
Add a more descriptive message for the error generated by an empty shorthand attribute (#6217)
3 years ago
Conduitry 286c60da4d
fix missing slotted elements in AST (#6148)
4 years ago
Tan Li Hau 1d6e20f2a9
implement <svelte:fragment> (#4556)
4 years ago
Tan Li Hau 8867bc31c2
update css-tree@^1.1.2 (#5958)
4 years ago
Anders Lorentsen acf60d88a0
error on empty name in `class:` directive (#5939)
4 years ago
pushkine 13e3d755da
allow duplicates of the same action on an element (#5875)
4 years ago
Andreas Ehrencrona aa759f44fc
add missing end AST property to non-top-level <style> tags (#5487)
4 years ago
Tan Li Hau 3dad14f0e1
better error message for mismatched tags due to autoclosing (#5060)
4 years ago
Tan Li Hau 2450dd1ff0
update acorn@^7.3.1 for optional chaining support (#5013)
4 years ago
Cameron Messinides e46e1afea5
throw parser error when :global() appears without a selector (#4936)
4 years ago
Tan Li Hau 37cc5888f8
dry {#each}/{#await} destructuring (#4596)
5 years ago
Tan Li Hau 7d1e4e82ff
support destructuring in await (#4548)
5 years ago
Tan Li Hau a66437b3c1
allow <svelte:self> to be part of a slot (#4532)
5 years ago
Conduitry 59a5d4a52c fix tests
5 years ago
Conduitry f5f489984f
fix handling of reserved keywords when parsing (#4390)
5 years ago
Tan Li Hau 2195832ecc better error messages for else, elseif, then, catch with unclosed tag (#4136)
5 years ago
Conduitry 5076613256
disallow simultaneous foo / {foo} / bind:foo (#4343)
5 years ago
Conduitry f12340acf0
preserve js comments where possible (#4293)
5 years ago
Li Hau Tan a31fea139b then and catch block expect await, optional then block
5 years ago
Rich Harris b9f14846b0
Structured code generation (#3539)
5 years ago
Rich Harris 961021a73b
Merge pull request #2809 from mrkishi/closing-tags
5 years ago
Conduitry 71be8a6683 update dependencies
5 years ago
Richard Harris 506e2da680 update test
5 years ago
Richard Harris 5648269485 Merge branch 'master' of github.com:sveltejs/svelte into closing-tags
5 years ago
Thomas Ghysels c9e3762638 Fix parsing ambiguous HTML entities (#3071)
5 years ago
Mikhail Korepanov ea74bfec55 Allow whitespace after = in attributes (#3026)
5 years ago
Richard Harris b7f9c9c954 always add raw property to text nodes
6 years ago
Timothy Johnson ef59c32099 Fixes #2714
6 years ago
mrkishi af85d14557
allow end tag omission in blocks
6 years ago
Rich Harris 5a536aafa2
Merge pull request #2658 from MikeMatrix/each-block-rest-destructuring
6 years ago
Michael Braun c477f50b9a Experimenting with array destructuring in each-blocks
6 years ago
Emil Tholin 7ec1bdb712 Don't show 'Empty block' warnings for non-existent await branches
6 years ago
Richard Harris ca0e5df0d8 update parser and js tests
6 years ago
Conduitry bee6fe7ebc require whitespace after `{@html` (#2154)
6 years ago
Richard Harris 6c85f6a6b5 change :elseif to :else if - fixes #2137
6 years ago
Richard Harris 3953c2dbfc error on invalid compiler options — closes #2094
6 years ago