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 |
|
Donny/강동윤
|
650e1494d4
|
fix: Migrate dependencies (#2307)
*:
- Migrate from `log` to `tracing`. (#2284)
- Migrate from `fxhash` to `rustc-hash`.
swc_common:
- Add a cargo feature named `debug`.
|
2021-09-27 09:19:15 +00:00 |
|
Kitson Kelly
|
87f30b21a3
|
feat(common): Add variants to FileName (#2202)
|
2021-09-03 13:55:31 +09:00 |
|
강동윤
|
a8cb554be5
|
feat: Expose .take() (#2190)
swc_common:
- Add `Take`. (#2189)
swc_ecma_ast:
- Implement `Take` for ast nodes.
swc_ecma_transforms_base:
- Remove `MapWithMut`.
|
2021-08-31 14:45:48 +00:00 |
|
강동윤
|
c05a724d84
|
feat(css): Port stylis (#2131)
swc_css_ast:
- Add `Value::Comma`.
swc_css_parser:
- Implement more `Parse<T>`.
- Fix parsing of values separated with comma.
swc_css_codegen:
- Fix escaping.
- Fix codegen of `!important`.
swc_stylis:
- Port prefixer.
|
2021-08-23 12:42:13 +00:00 |
|
강동윤
|
7381644f6b
|
feat(css): Implement codegen for css (#2115)
swc_css_ast:
- Remove unused tokens.
- `SubclassSelector::PseudoClass` => `SubclassSelector::Pseudo`.
- Fix `AttrSelectorOp`
- `AttrSelector.value`: `Option<Text>` => `Option<Str>`.
swc_css_codegen:
- Implement a code generator.
swc_css_parser:
- Implement `Parse<Stylesheet>` for the parser.
- Fix parsing of pseudo selectors.
- Fix parsing of unknown at-rules.
|
2021-08-20 12:38:15 +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 |
|