Commit Graph

16 Commits

Author SHA1 Message Date
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/강동윤
d89b60a000
fix(css/parser): Fix parsing of hsla(var(--foo), 1) (#8443)
**Description:**

```css
.test {
    border-color: hsla(var(--ds-gray-200-value), 1);
}
```

should be compiled as

```css

.test {
    border-color: hsla(var(--ds-gray-200-value), 1);
}
```

Previously, it was

```
.test {
    border-color: hsla(var(--ds-gray-200-value),);
}

```


**Related issue:**

 - https://linear.app/vercel/issue/PACK-2175
2023-12-23 12:39:54 +09: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
Donny/강동윤
150c2b6fba
fix(css/codegen): Preserve raw of numbers (#7131)
**Description:**

x-ref: https://vercel.slack.com/archives/C03EWR7LGEN/p1679513958649249
2023-03-23 09:12:07 +00:00
Donny/강동윤
7849a2d75d
fix(css/codegen): Respect raw of Str (#7078) 2023-03-14 01:19:09 +00:00
Alexander Akait
ebebd60875
refactor(css/codegen): Do not use raw (#6674) 2022-12-22 01:36:36 +00:00
Alexander Akait
1840e748af
refactor(css/compat): Merge nesting into the compiler (#6686) 2022-12-20 10:51:27 +00:00
Alexander Akait
b23cf50f4f
feat(css/compat): Support hwb color (#6687) 2022-12-20 08:22:28 +00:00
Alexander Akait
352896f4cb
feat(css/compat): Support not with multiple arguments (#6668) 2022-12-19 04:51:56 +00:00
Alexander Akait
39afc4627e
feat(css/compat): Support function notation (#6651) 2022-12-16 03:16:53 +00:00
Alexander Akait
b257d5d591
feat(css/parser): Normalize hex colors (#6652) 2022-12-15 04:34:07 +00:00
Alexander Akait
fe06b8061c
feat(css/compat): Support color with hex alpha (#6643) 2022-12-14 05:21:17 +00:00
Alexander Akait
704b3ceb9c
feat(css/compat): Implement compat pass for media ranges (#6631)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-12-13 07:28:02 +00:00
Donny/강동윤
a5f7b4b8aa
feat(css/compat): Support custom media queries (#6625)
Co-authored-by: alexander.akait <sheo13666q@gmail.com>
2022-12-13 04:58:34 +00:00
Alexander Akait
e0967efa6e
feat(css/parser): Support new nesting spec (#6337) 2022-11-03 15:08:23 +00:00
Donny/강동윤
347d4b7602
feat(css/compat): Implement transform for nested css (#6077) 2022-10-07 05:18:14 +00:00