Commit Graph

178 Commits (3a675797ea7c581ed52935e415a2850b8b68553d)

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)
2 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)
3 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
Andreas Ehrencrona e508fb7b8b
fix indentation and remove unused variables (#5479)
4 years ago
Ben McCann 229a16d6e7
upgrade ESLint config (#5472)
4 years ago
Ben McCann 0645631b28
Use TypeScript in tests (#5433)
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
pushkin 0da70f46b9
handle line ending differences in tests (#4915)
4 years ago
Tan Li Hau 37cc5888f8
dry {#each}/{#await} destructuring (#4596)
4 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
Tan Li Hau d8b9274697 update test snapshot with --update flag
5 years ago
Tan Li Hau 3d46405481 skip missing input files
5 years ago
Tan Li Hau 5dbb08d19b allow solo for test suite (#3747)
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
5 years ago
Timothy Johnson ef59c32099 Fixes #2714
5 years ago
mrkishi af85d14557
allow end tag omission in blocks
5 years ago