Donny/강동윤
|
a7357ab517
|
chore: Update rustc (#2332)
|
2021-10-01 12:11:17 +00:00 |
|
Donny/강동윤
|
9f4c5b7ba5
|
fix(css/parser): Fix error recovery logic of property values (#2331)
swc_css_parser:
- Fix `state` used for error recovery.
|
2021-10-01 11:04:24 +00:00 |
|
Donny/강동윤
|
ce40ff73a7
|
feat(css/parser): Implement more error recovery (#2316)
swc_css_parser:
- Recover from wrong properties like `flex-basis: __styled-jsx-placeholder__2%;`.
|
2021-09-29 05:38:49 +00:00 |
|
Donny/강동윤
|
36c83127e8
|
fix(css): Reexport codegen from swc_css (#2314)
swc_css:
- Reexport `swc_css_codegen`.
|
2021-09-28 13:32:35 +00: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 |
|
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 |
|
Alexander Akait
|
8af2173a33
|
test(css/parser): Add tests for comments in selectors (#2293)
|
2021-09-24 17:09:57 +09:00 |
|
Alexander Akait
|
2a565e8464
|
test(css/parser): Add tests for @page at-rule (#2296)
|
2021-09-24 16:12:08 +09:00 |
|
Alexander Akait
|
75c930caf1
|
fix(css/ast): Fix typo (#2298)
|
2021-09-24 15:48:31 +09:00 |
|
Alexander Akait
|
2f4da9a8ff
|
fix(css/parser): Fix parsing of !important (#2286)
|
2021-09-23 20:50:16 +09:00 |
|
Alexander Akait
|
b5ad03d0b1
|
fix(css/parser): Fix parsing of url (#2280)
swc_css_parser:
- Fix parsing of url values with space.
|
2021-09-21 23:52:28 +09:00 |
|
Alexander Akait
|
9eb45e8515
|
fix(css/parser): Allow @at-rules to be lowercased (#2274)
swc_css_parser:
- Allow lowercase for @at-rules.
|
2021-09-21 16:55:46 +09:00 |
|
강동윤
|
a9573b9a5f
|
fix(css/parser): Fix parsing of selectors (#2221)
swc_css_parser:
- Allow parsing `foo` as selector.
|
2021-09-09 05:36:56 +00:00 |
|
강동윤
|
d8ae4c4e90
|
fix(css/parser): Fix parsing of selectors (#2217)
swc_css_parser:
- Remove `Parse<CompoundSelector>` implementation.
- Add `Parse<ComplexSelector>` implementation.
- Add `Parse<Vec<ComplexSelector>>` implementation.
- Verify tokens input.
|
2021-09-08 01:19:14 +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 |
|
강동윤
|
8c57cf0537
|
feat(css/parser): Improve parser api (#2147)
swc_css_parser:
- Add `parse_tokens`.
- Implement `Parse<CompoundSelector>` for the parser.
|
2021-08-25 02:46:17 +00:00 |
|
강동윤
|
81061a91bb
|
fix(css): Fixup (#2138)
|
2021-08-23 14:03:08 +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 |
|
강동윤
|
d39acd1d11
|
feat(css): Implement parser (#2074)
|
2021-08-19 05:16:32 +00:00 |
|