Donny/강동윤
a417ff4d86
feat(allocator): Add maybe
types ( #9278 )
2024-07-19 13:22:34 +09:00
Donny/강동윤
2405dc6ba0
fix(css/modules): Fix :global
selectors without preceding whitespace ( #8926 )
...
**Related issue:**
- Closes #8461
2024-05-07 08:43:41 +00:00
Donny/강동윤
7014c63625
fix(css/modules): Allow any order of composes ( #8930 )
...
**Related issue:**
- Closes #8240
2024-05-07 05:52:49 +00:00
Donny/강동윤
85be8a4de1
refactor(css/parser): Remove value normalization ( #8434 )
...
**Related issue :**
- https://linear.app/vercel/issue/PACK-2154
2024-01-03 20:40:51 +00:00
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/강동윤
d1097ccb59
feat(css/parser): Store lexed comments ( #8091 )
...
**Description:**
For now, we leave every comment as a leading comment. As logic for determining leading vs trailing is quite complex, I'll do it with another PR.
2023-10-10 11:42:20 +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/강동윤
6b92eecd39
test(css/module): Add a test for a fixed issue ( #7399 )
...
**Related issue:**
- Closes #6897 .
2023-05-17 03:55:24 +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
Donny/강동윤
0259a7465f
build(cargo): Update rustc
to nightly-2023-03-20
( #7170 )
...
**Description:**
This PR also updates `rkyv` to `=0.7.40`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6807 .
2023-03-30 08:06:02 +00:00
Donny/강동윤
12546c853a
build(cargo): Revert rustc upgrade ( #7162 )
...
**Description:**
The `rkyv` bug is not fixed.
2023-03-29 17:48:45 +09:00
Donny/강동윤
e445502072
build(cargo): Update rustc
to nightly-2023-03-28
( #7154 )
...
**Description:**
This PR also updates `rkyv` to `=0.7.40`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6807 .
2023-03-29 06:24:19 +00:00
Donny/강동윤
60f74ea076
fix(css/parser): Fix parsing of :global(> *)
( #7082 )
2023-03-16 11:17:02 +09:00
Donny/강동윤
7849a2d75d
fix(css/codegen): Respect raw
of Str
( #7078 )
2023-03-14 01:19:09 +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
43e75194e5
feat(css/parser): Normalize at-rules ( #6705 )
2023-01-14 08:58:24 +00:00
Alexander Akait
ebebd60875
refactor(css/codegen): Do not use raw
( #6674 )
2022-12-22 01:36:36 +00:00
Alexander Akait
2571070148
feat(css/parser): Normalize and improve function name ( #6667 )
2022-12-20 12:43:58 +00:00
Alexander Akait
1840e748af
refactor(css/compat): Merge nesting into the compiler ( #6686 )
2022-12-20 10:51:27 +00:00
Alexander Akait
649438b76a
feat(css/parser): Normalize selector AST ( #6657 )
2022-12-15 06:55:22 +00:00
Alexander Akait
7d3aa66bb8
perf(html/minifier): Reduce allocations ( #6623 )
2022-12-13 12:34:55 +09:00
Donny/강동윤
b4eef53680
feat(css/ast): Make AST intuitive ( #6606 )
2022-12-09 02:27:19 +00:00
Alexander Akait
f4832247bc
fix(css/parser): Fix parsing of supports()
( #6333 )
2022-11-08 01:32:48 +00:00
Alexander Akait
0bc682f529
feat(css/parser): Improve error recovery ( #6336 )
2022-11-03 06:30:09 +00:00
Donny/강동윤
0967e8f06d
chore(ci): Enforce clippy for all targets ( #6299 )
2022-10-31 16:59:29 +09:00
Alexander Akait
6cafeb2bcc
refactor(css/parser): Refactor even more ( #6288 )
2022-10-29 08:28:39 +00:00
Alexander Akait
a0e4684476
refactor(css/parser): Refactor more ( #6251 )
2022-10-26 19:22:27 +09: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