Commit Graph

54 Commits

Author SHA1 Message Date
Alexander Akait
a4bc0927a0
feat(css): Supports more color notations (#4009) 2022-03-14 14:30:09 +00:00
Alexander Akait
ece8d962f8
fix(css/codegen): Fix source maps (#3997) 2022-03-14 02:55:18 +09:00
Alexander Akait
516dbc65dc
feat(css/codegen): Fix source maps and ast defs (#3974) 2022-03-11 16:54:33 +00:00
Donny/강동윤
c6b5371c51
fix(es/lints): Don't visit types while collecting const (#3967) 2022-03-11 17:41:28 +09:00
Alexander Akait
5a6ebd36ee
feat(css/codegen): Support source map (#3958) 2022-03-11 05:22:14 +00:00
Alexander Akait
c84bf133a6
feat(css): Improve error recovery (#3853) 2022-03-05 11:58:40 +00:00
Alexander Akait
e3a5c142d5
fix(css/codegen): Fix the output of SimpleBlock (#3838) 2022-03-03 22:34:57 +00:00
Alexander Akait
3df887ca37
feat(css): Support color functions (#3836) 2022-03-04 06:24:22 +09:00
Alexander Akait
fbb98aa73c
feat(css/parser): Improve error recovery (#3828) 2022-03-03 15:05:12 +00:00
Alexander Akait
30cd29b0f0
fix(css/parser): Fix parsing of ; in values (#3821) 2022-03-02 15:51:52 +00:00
Alexander Akait
7ba5861a33
fix(css/codegen): Fix codegen of preserved tokens (#3819) 2022-03-02 15:17:17 +00:00
Alexander Akait
3ec45a6858
feat(css/ast): Union Value and ComponentValue (#3804) 2022-03-01 15:26:17 +00:00
Alexander Akait
189707a1fd
test(css/parser): Add css files for material design (#3777) 2022-02-28 21:17:50 +09:00
Alexander Akait
f258ee4729
fix(css): Fix processing of integers (#3752) 2022-02-26 13:51:59 +00:00
Alexander Akait
9b92eba636
feat(css/ast): Allow more syntax for @supports at-rule (#3740) 2022-02-25 18:01:38 +00:00
Alexander Akait
f5c5e77612
feat(css/ast): Support more selectors (#3729) 2022-02-25 02:05:12 +00:00
Alexander Akait
321ee756d9
refactor(css/ast): Fix the type definitions for an plus b syntax (#3682) 2022-02-23 16:20:40 +00:00
Alexander Akait
003a7b85a4
feat(css/ast): Improve parsing of colors (#3680) 2022-02-22 19:45:33 +00:00
Alexander Akait
fab6473183
feat(css/minifier): Compress urls (#3666) 2022-02-22 11:44:24 +00:00
Alexander Akait
8271566d21
feat(css/codegen): Improve minification of selectors (#3624) 2022-02-19 01:27:32 +09:00
Alexander Akait
b7dcccc748
fix(css/parser): Fix parsing of component values (#3611) 2022-02-17 14:20:17 +00:00
Alexander Akait
5420bccc59
fix(css): Fix recovery mode for functions (#3600) 2022-02-17 13:36:50 +09:00
Alexander Akait
b01916531f
test(css/codegen): Add tests for custom properties in at-rules (#3596) 2022-02-16 16:31:07 +00:00
Alexander Akait
e97074b6c3
feat(css/ast): Use SimpleBlock in more places (#3575) 2022-02-16 12:40:16 +09:00
Alexander Akait
3399702b73
feat(css/ast): Use SimpleBlock for @document at-rule (#3564) 2022-02-15 03:33:54 +00:00
Alexander Akait
08dd695c67
test(css/codegen): Add tests (#3563) 2022-02-15 01:22:36 +09:00
Alexander Akait
d5aee470cb
refactor(css/parser): Remove parse_values, which is not used (#3552) 2022-02-14 08:34:26 +00:00
Alexander Akait
b311aced89
feat(css/ast): Use correct type for calc (#3549) 2022-02-14 06:19:02 +00:00
Alexander Akait
cfb2248a2e
fix(css/ast): Use SimpleBlock in more types (#3535) 2022-02-12 14:28:00 +09:00
Alexander Akait
37c49e876c
refactor(css/ast): Unify SimpleBlock and Block completely (#3531) 2022-02-11 22:31:51 +09:00
Alexander Akait
57f6a581fa
refactor(css/ast): Unify SimpleBlock and Block (#3519) 2022-02-11 03:58:26 +00:00
Alexander Akait
69cfe395c7
feat(css/minifier): Implement more rules (#3522) 2022-02-11 12:33:08 +09:00
Alexander Akait
ebd71d565d
test(css/codegen): Add tests for multiple keyframe selectors (#3509) 2022-02-10 05:39:54 +00:00
Donny/강동윤
9b76783281
refactor(common): Cleanup & rustfmt (#3495)
swc_common:
 - Merge identical source codes.

swc_css_parser:
 - Deny `clippy::all`.
 - Fix lints.
2022-02-09 06:33:32 +00:00
Alexander Akait
fd5668c32f
feat(css): Add support for @property at-rule (#3470) 2022-02-08 11:27:54 +00:00
Alexander Akait
e6f4fbf056
feat(css/ast): Add types for @counter-style at-rule (#3469) 2022-02-08 13:52:14 +09:00
Alexander Akait
df08e4cfd7
fix(css/ast): Fix type definitions for @document at-rule (#3468) 2022-02-08 00:41:56 +09:00
Alexander Akait
0ca036a962
feat(css/codegen): Improve minification for page rules (#3467) 2022-02-07 14:54:42 +00:00
Alexander Akait
81850c2b30
feat(css/codegen): Implement minification of identifiers (#3466) 2022-02-07 14:29:38 +00:00
Alexander Akait
4853821d00
fix(css): Fix parsing of @page at-rule (#3356) 2022-02-06 20:22:30 +00:00
Alexander Akait
38879de8de
refactor(css/ast): Change AST for !important (#3440) 2022-02-05 23:22:47 +09:00
Alexander Akait
eeedd71705
feat(css/codegen): Implement minification of hex colors (#3453) 2022-02-05 05:02:10 +00:00
Alexander Akait
49564d9b5d
feat(css/ast): Improve types related to url tokens (#3444) 2022-02-04 04:05:44 +00:00
Alexander Akait
f1410fc09b
feat(css/lexer): Implement error recovery for functions (#3445) 2022-02-04 12:29:56 +09:00
Alexander Akait
73efd72cbe
test(css/codegen): Verify AST is not broken after minification (#3430) 2022-02-03 12:50:13 +09:00
Alexander Akait
340844ae6e
feat(css/codegen): Improve minification of numbers (#3423) 2022-02-02 12:59:39 +09:00
Alexander Akait
30c29a30cf
feat(css): Improve codegen where minify: true (#3414)
swc_css_codegen:
 - Improve minification.

swc_css_parser:
 - Add parsing rule for `sum`.
2022-02-01 12:30:44 +00:00
Alexander Akait
75a14f98b7
fix(css): Allow empty @media at-rule (#3404) 2022-01-30 22:49:09 +09:00
Alexander Akait
2dc31d9d14
feat(css/ast): Add / to the delimiters (#3402) 2022-01-30 04:49:48 +00:00
Alexander Akait
64383e385c
test(css/codegen): Add more tests (#3405) 2022-01-30 12:37:21 +09:00