Commit Graph

20 Commits

Author SHA1 Message Date
Donny/강동윤
02cd7c2608
fix(css/modules): Fix handling of :global() selector (#8219)
**Related issue:**

 - Closes #8179
2023-11-06 00:51:09 +00:00
Donny/강동윤
aeb9cafd11
fix(css/modules): Allow out-of-order class names for composes (#8218)
**Related issue:**

 - Closes #7910
2023-11-04 01:35:59 +00:00
Donny/강동윤
84cec8766d
refactor(atoms): Remove usage of js_word! to drop string-cache (#7976)
**Description:**

This PR is to prepare removal of `string-cache`. Actually, this PR does not remove it. Instead, this PR only removes direct usages of `js_word!`s, especially in patterns.



**Related issue:**

 - #4946.
2023-10-08 00:39:51 +00:00
Brandon Dail
05ca19b844
fix(css/modules): Support composes when using multiple subclass selectors (#7949) 2023-09-14 02:14:58 +00:00
Kei Sakamoto
0db25a252c
fix(css/modules): Aggregate class names when composes is chained. (#7917)
**Description:**

aggregate class names when composes is chained.

**Related issue:**

 - Closes #7737
 - https://github.com/web-infra-dev/rspack/issues/3875
2023-09-06 19:24:26 +09:00
Kei Sakamoto
11b4679231
fix(css/modules): Preserve attr selectors used with :global (#7670)
**Related issue:**

 - Closes #7669
2023-07-19 05:20:37 +00:00
suxin2017
f0ab5b39f7
fix(css/modules): Fix :local and :global (#7600)
**Related issue:**

 - Close #7599.
2023-06-30 02:53:10 +00:00
suxin2017
d370324cfd
fix(css/modules): Don't drop the correct selector (#7450)
**Related issue:**

 - Closes #7447.
2023-05-25 05:38:41 +00:00
Donny/강동윤
df7b4e71d2
feat(css/modules): Preserve spans of CSS class names (#7185)
**Description:**

x-ref: https://vercel.slack.com/archives/D03JF6EG45S/p1680280923015879
2023-04-01 06:15:25 +00:00
Hikaru Terazono (3c1u)
4771aa206a
fix(css/modules): Fix CSS animation on CSS Modules (#6969) 2023-02-21 14:36:22 +09:00
Ah
f85ea9cb57
fix(css/modules): Fix interop of & and :global (#6900) 2023-02-08 04:34:38 +00:00
Alexander Akait
1fc97a7cea
feat(css/parser): Normalize declaration and important (#6663) 2022-12-16 02:34:18 +00:00
Donny/강동윤
b4eef53680
feat(css/ast): Make AST intuitive (#6606) 2022-12-09 02:27:19 +00:00
Alexander Akait
8633d27df0
perf(css/ast): Reduce token size (#6569) 2022-12-06 01:58:29 +00:00
Alexander Akait
f4832247bc
fix(css/parser): Fix parsing of supports() (#6333) 2022-11-08 01:32:48 +00:00
Donny/강동윤
1196d60182
feat(css/modules): Add a lifetime to config parameter (#6144) 2022-10-14 01:40:50 +00:00
Alexander Akait
39cfade7f8
fix(css/modules): Fix parsing and refactor code (#6132) 2022-10-13 12:17:11 +09:00
Donny/강동윤
51e935eb4a
feat(css/modules): Support :global in @keyframes (#6046) 2022-10-05 08:57:43 +00:00
Donny/강동윤
10d0f8e001
feat(css/modules): Support :local and :global (#6045)
**Description:**

This PR adds support for `:local` and `:global` directives.
2022-10-05 07:33:40 +00:00
Donny/강동윤
2cce1c82b2
feat(css/modules): Implement css modules (#6000) 2022-10-05 05:48:28 +00:00