Skip to content

Commit 0a9f16c

Browse files
authored
Merge pull request #28 from tbela99/v.next
## Parsing - [x] allow async node visitors - [x] adding declaration parsing helper async parseDeclarations(source: string): Promise<AstDeclarations[]> ## CSS Color level 4 - [x] lch() - [x] oklch() - [x] lab() - [x] oklab() - [x] color() ## CSS Color level 5 - [x] color-mix() - [x] relative color
2 parents 3b25b77 + 6791916 commit 0a9f16c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+17035
-6468
lines changed

.gitattributes

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/test/ export-ignore
22
/docs/ export-ignore
3-
/build.sh export-ignore
4-
/Writerside export-ignore
3+
/build.sh export-ignore linguist-vendored
4+
/Writerside export-ignore linguist-vendored
55
/benchmark
66
/tools/ export-ignore
77
/happydom.ts export-ignore
@@ -13,7 +13,7 @@
1313
/rollup.config.mjs export-ignore
1414
/tsconfig.json export-ignore
1515
# exclude all files in test/ from stats
16-
/rollup.config.mjs linguist-vendored
16+
/rollup.config.js linguist-vendored
1717
/test/** linguist-vendored
1818
/docs/** linguist-vendored
1919
/tools/** linguist-vendored

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
# Changelog
22

3-
### V0.3.0
3+
## V0.4.0
4+
5+
Parsing
6+
7+
- [x] allow async node visitors
8+
- [x] adding declaration parsing helper async parseDeclarations(source: string): Promise<AstDeclarations[]>
9+
10+
CSS color level 4 & 5
11+
12+
- [x] color space: srgb, srgb-linear, display-p3, prophoto-rgb, a98-rgb, rec2020, xyz, xyz-d50
13+
- [x] color-mix()
14+
- [x] color()
15+
- [x] relative color
16+
- [x] lab()
17+
- [x] lch()
18+
- [x] oklab()
19+
- [x] oklch()
20+
21+
## V0.3.0
422

523
### shorthands
624

LICENSE renamed to LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 Thierry Bela
3+
Copyright (c) 2024 Thierry Bela
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)