Commit Graph

7 Commits

Author SHA1 Message Date
Alexander Akait
5234530cd5
fix(css/ast): Use correct type for units (#2464) 2021-10-19 17:32:59 +09:00
Alexander Akait
4f2dbd816c
fix(css/parser): Fix parsing of numbers (#2444) 2021-10-17 23:24:28 +09:00
Alexander Akait
a5592e3207
feat(css/ast): Add raw to Str (#2295) 2021-10-10 10:43:11 +09:00
Alexander Akait
4ff1b7568c
feat(css/ast): Add raw to Text (#2361) 2021-10-07 20:32:54 +09:00
Donny/강동윤
b206404d94
feat(css): Recover from invalid properties (#2312)
swc_css_ast:
 - Add `DeclBlockItem`.
 - Change `DeclBlock.properties` to `DeclBlock.items`.

swc_css_parser:
 - Add a way to recovered errors.
2021-09-28 09:58:56 +00:00
강동윤
0d63470eba
feat(css): Groundwork for css processor (#2105)
swc_css_ast:
 - Rename `Values` to `SpaceValues`.

swc_css_parser:
 - Add `parse_str`.
 - Make `ErrorKind` `#[non_exhaustive]`.
 - Fix span.

swc_css_visit:
 - Create visitors.
2021-08-20 07:48:08 +00:00
강동윤
d39acd1d11
feat(css): Implement parser (#2074) 2021-08-19 05:16:32 +00:00