Commit Graph

79 Commits

Author SHA1 Message Date
Donny/강동윤
50db276d82
build(repo): Downgrade rustc (#4674) 2022-05-15 19:28:55 +00:00
Alexander Akait
6696a93b5c
refactor(css/ast): Union all at-rules to one at-rule in AST (#4189) 2022-04-01 20:53:23 +09:00
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
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
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
815a489dcf
refactor(css/ast): Simplify AST types (#3753) 2022-02-27 14:52:32 +00:00
Alexander Akait
91cf965e07
feat(css/ast): Improve type definitions for unicode ranges (#3757) 2022-02-27 14:16:22 +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
Donny/강동윤
e35d73adf4
chore(clippy): Improve config (#3691) 2022-02-23 06:07:42 +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
a20ed34e6b
feat(css/ast): Use SimpleBlock for @keyframes (#3577) 2022-02-16 13:49:00 +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
aed622be2f
refactor(css/ast): Rename tokens to match spec (#3553) 2022-02-14 13:05:16 +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
92a3cb9609
refactor(css/ast): Remove Tokens in favor of Vec<TokenAndSpan> (#3507) 2022-02-10 11:25:19 +00:00
Alexander Akait
cbe302b99d
feat(css): Support urange syntax (#3491) 2022-02-09 12:23:14 +00:00
Alexander Akait
460f846934
refactor(css/ast): Rename types to match specification (#3484) 2022-02-09 19:43:15 +09: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
dc939c65af
feat(css/ast): Add types for all dimensions (#3477) 2022-02-08 11:57:57 +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
69660fd161
refactor(css/ast): Remove unused types (#3465) 2022-02-07 21:34:41 +09:00
Alexander Akait
4853821d00
fix(css): Fix parsing of @page at-rule (#3356) 2022-02-06 20:22:30 +00:00
Alexander Akait
cd87d965f3
refactor(css/ast): Refactor types related to selectors (#3460) 2022-02-06 04:24:51 +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
5c1b02182d
refactor(css/ast): Refactor types related to @keyframes at-rule (#3441) 2022-02-04 05:10:35 +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
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
eeedd9adf5
refactor(css/ast): Rename property to name (#3410) 2022-01-31 05:02:30 +00:00