Skip to content

Commit 03cb482

Browse files
committed
Merge remote-tracking branch 'origin/main' into dependabot/npm_and_yarn/production-dependencies-5d6ce45227
2 parents 5ddaed5 + a2e7fbe commit 03cb482

34 files changed

Lines changed: 632 additions & 402 deletions

File tree

package-lock.json

Lines changed: 205 additions & 205 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"@babel/core": "^7.28.5",
3030
"@babel/preset-env": "^7.28.5",
3131
"@eslint/js": "^9.39.1",
32-
"@microsoft/api-documenter": "^7.27.4",
33-
"@microsoft/api-extractor": "^7.54.0",
32+
"@microsoft/api-documenter": "^7.28.0",
33+
"@microsoft/api-extractor": "^7.55.0",
3434
"@rollup/plugin-babel": "^6.1.0",
3535
"@rollup/plugin-commonjs": "^29.0.0",
3636
"@rollup/plugin-node-resolve": "^16.0.3",
@@ -39,11 +39,11 @@
3939
"@stryker-mutator/core": "^9.3.0",
4040
"eslint": "^9.39.1",
4141
"globals": "^16.5.0",
42-
"knip": "^5.67.1",
43-
"rollup": "^4.52.5",
42+
"knip": "^5.69.1",
43+
"rollup": "^4.53.2",
4444
"tslib": "^2.8.0",
4545
"typescript": "^5.9.3",
46-
"typescript-eslint": "^8.46.3"
46+
"typescript-eslint": "^8.46.4"
4747
},
4848
"scripts": {
4949
"everything": "npm run lint && npm run knip && npm run build && npm run docs && npm run test",

packages/cascade-layer-name-parser/docs/cascade-layer-name-parser.api.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,22 @@
113113
"tagName": "@virtual",
114114
"syntaxKind": "modifier"
115115
},
116+
{
117+
"tagName": "@jsx",
118+
"syntaxKind": "block"
119+
},
120+
{
121+
"tagName": "@jsxRuntime",
122+
"syntaxKind": "block"
123+
},
124+
{
125+
"tagName": "@jsxFrag",
126+
"syntaxKind": "block"
127+
},
128+
{
129+
"tagName": "@jsxImportSource",
130+
"syntaxKind": "block"
131+
},
116132
{
117133
"tagName": "@betaDocumentation",
118134
"syntaxKind": "modifier"

packages/color-helpers/docs/color-helpers.api.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,22 @@
113113
"tagName": "@virtual",
114114
"syntaxKind": "modifier"
115115
},
116+
{
117+
"tagName": "@jsx",
118+
"syntaxKind": "block"
119+
},
120+
{
121+
"tagName": "@jsxRuntime",
122+
"syntaxKind": "block"
123+
},
124+
{
125+
"tagName": "@jsxFrag",
126+
"syntaxKind": "block"
127+
},
128+
{
129+
"tagName": "@jsxImportSource",
130+
"syntaxKind": "block"
131+
},
116132
{
117133
"tagName": "@betaDocumentation",
118134
"syntaxKind": "modifier"

packages/css-calc/docs/css-calc.api.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,22 @@
113113
"tagName": "@virtual",
114114
"syntaxKind": "modifier"
115115
},
116+
{
117+
"tagName": "@jsx",
118+
"syntaxKind": "block"
119+
},
120+
{
121+
"tagName": "@jsxRuntime",
122+
"syntaxKind": "block"
123+
},
124+
{
125+
"tagName": "@jsxFrag",
126+
"syntaxKind": "block"
127+
},
128+
{
129+
"tagName": "@jsxImportSource",
130+
"syntaxKind": "block"
131+
},
116132
{
117133
"tagName": "@betaDocumentation",
118134
"syntaxKind": "modifier"

packages/css-color-parser/docs/css-color-parser.api.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,22 @@
113113
"tagName": "@virtual",
114114
"syntaxKind": "modifier"
115115
},
116+
{
117+
"tagName": "@jsx",
118+
"syntaxKind": "block"
119+
},
120+
{
121+
"tagName": "@jsxRuntime",
122+
"syntaxKind": "block"
123+
},
124+
{
125+
"tagName": "@jsxFrag",
126+
"syntaxKind": "block"
127+
},
128+
{
129+
"tagName": "@jsxImportSource",
130+
"syntaxKind": "block"
131+
},
116132
{
117133
"tagName": "@betaDocumentation",
118134
"syntaxKind": "modifier"

packages/css-parser-algorithms/docs/css-parser-algorithms.api.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,22 @@
113113
"tagName": "@virtual",
114114
"syntaxKind": "modifier"
115115
},
116+
{
117+
"tagName": "@jsx",
118+
"syntaxKind": "block"
119+
},
120+
{
121+
"tagName": "@jsxRuntime",
122+
"syntaxKind": "block"
123+
},
124+
{
125+
"tagName": "@jsxFrag",
126+
"syntaxKind": "block"
127+
},
128+
{
129+
"tagName": "@jsxImportSource",
130+
"syntaxKind": "block"
131+
},
116132
{
117133
"tagName": "@betaDocumentation",
118134
"syntaxKind": "modifier"

packages/css-syntax-patches-for-csstree/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changes to CSS Syntax Patches For CSSTree
22

3+
### Unreleased (patch)
4+
5+
- Patch `clip: rect()` to preserve legacy syntax
6+
- Patch color functions to support relative color component keywords
7+
8+
39
### 1.0.17
410

511
_November 21, 2025_

packages/css-syntax-patches-for-csstree/dist/index.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
"caret": "<'caret-color'> || <'caret-animation'> || <'caret-shape'>",
166166
"caret-animation": "auto | manual",
167167
"clear": "| block-start | block-end | top | bottom | both-inline | both-block",
168-
"clip": "rect( <top> , <right> , <bottom> , <left> ) | auto",
168+
"clip": "rect( <top> , <right> , <bottom> , <left> ) | rect( <top> <right> <bottom> <left> ) | auto",
169169
"color-adjust": "<'print-color-adjust'>",
170170
"color-interpolation": "auto | sRGB | linearRGB",
171171
"column-count": "auto | <integer [1,∞]>",
@@ -508,7 +508,7 @@
508508
"types": {
509509
"dashed-ident": "<custom-property-name>",
510510
"unicode-range-token": "<urange>",
511-
"alpha()": "alpha( [ from <color> ] [ / [ <alpha-value> | none ] ]? )",
511+
"alpha()": "alpha( [ from <color> ] [ / [ <alpha-value> | alpha | none ] ]? )",
512512
"anchor-size()": "anchor-size( [ <anchor-name> || <anchor-size> ]? , <length-percentage>? )",
513513
"anchor()": "anchor( <anchor-name>? && <anchor-side> , <length-percentage>? )",
514514
"anchored-feature": "fallback : <'position-try-fallbacks'>",
@@ -561,7 +561,7 @@
561561
"color-stop-angle": "[ <angle-percentage> | <zero> ]{1,2}",
562562
"color-stop-list": "<linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]#?",
563563
"color-stripe": "<color> && [ <length-percentage> | <flex> ]?",
564-
"color()": "color( [ from <color> ]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
564+
"color()": "color( [ from <color> ]? [ <custom-params> | [ <predefined-rgb> [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? ] | [ <xyz-space> [ <number> | <percentage> | x | y | z | alpha | none ]{3} [ / [ <alpha-value> | x | y | z | alpha | none ] ]? ] ] )",
565565
"colorspace-params": "[ <custom-params> | <predefined-rgb-params> | <xyz-params> ]",
566566
"command-end-point": "[ to <position> | by <coordinate-pair> ]",
567567
"compat-special": "textfield | menulist-button",
@@ -632,7 +632,7 @@
632632
"hsl()": "[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]",
633633
"hsla()": "[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]",
634634
"hue-rotate()": "hue-rotate( [ <angle> | <zero> ]? )",
635-
"hwb()": "hwb( [ from <color> ]? [ <hue> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
635+
"hwb()": "hwb( [ from <color> ]? [ <hue> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ <percentage> | <number> | h | w | b | alpha | none ] [ / [ <alpha-value> | h | w | b | alpha | none ] ]? )",
636636
"ictcp()": "ictcp( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
637637
"ident-arg": "<string> | <integer> | <ident>",
638638
"ident()": "ident( <ident-arg>+ )",
@@ -658,9 +658,9 @@
658658
"jzazbz()": "jzazbz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
659659
"jzczhz()": "jzczhz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )",
660660
"keyframe-selector": "from | to | <percentage [0,100]> | <timeline-range-name> <percentage>",
661-
"lab()": "lab( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
661+
"lab()": "lab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )",
662662
"layout-box": "<visual-box> | margin-box",
663-
"lch()": "lch( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )",
663+
"lch()": "lch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )",
664664
"legacy-border-radius-syntax": "<length-percentage [0,∞]>{1,2}",
665665
"legacy-hsl-syntax": "hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )",
666666
"legacy-hsla-syntax": "hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",
@@ -691,15 +691,15 @@
691691
"mf-gt": "'>' '='?",
692692
"mf-lt": "'<' '='?",
693693
"mf-range": "<mf-name> <mf-comparison> <mf-value> | <mf-value> <mf-comparison> <mf-name> | <mf-value> <mf-lt> <mf-name> <mf-lt> <mf-value> | <mf-value> <mf-gt> <mf-name> <mf-gt> <mf-value>",
694-
"modern-hsl-syntax": "hsl( [ from <color> ]? [ <hue> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
695-
"modern-hsla-syntax": "hsla( [ from <color> ]? [ <hue> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
696-
"modern-rgb-syntax": "rgb( [ from <color> ]? [ <number> | <percentage> | none ]{3} [ / [ <alpha-value> | none ] ]? )",
697-
"modern-rgba-syntax": "rgba( [ from <color> ]? [ <number> | <percentage> | none ]{3} [ / [ <alpha-value> | none ] ]? )",
694+
"modern-hsl-syntax": "hsl( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )",
695+
"modern-hsla-syntax": "hsla( [ from <color> ]? [ <hue> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ <percentage> | <number> | h | s | l | alpha | none ] [ / [ <alpha-value> | h | s | l | alpha | none ] ]? )",
696+
"modern-rgb-syntax": "rgb( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )",
697+
"modern-rgba-syntax": "rgba( [ from <color> ]? [ <number> | <percentage> | r | g | b | alpha | none ]{3} [ / [ <alpha-value> | r | g | b | alpha | none ] ]? )",
698698
"move-command": "move <command-end-point>",
699699
"mq-boolean": "<integer [0,1]>",
700700
"number-optional-number": "<number> <number>?",
701-
"oklab()": "oklab( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
702-
"oklch()": "oklch( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )",
701+
"oklab()": "oklab( [ from <color> ]? [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ <percentage> | <number> | l | a | b | alpha | none ] [ / [ <alpha-value> | l | a | b | alpha | none ] ]? )",
702+
"oklch()": "oklch( [ from <color> ]? [ <percentage> | <number> | l | c | h | alpha | none ] [ <percentage> | <number> | l | c | h | alpha | none ] [ <hue> | l | c | h | alpha | none ] [ / [ <alpha-value> | l | c | h | alpha | none ] ]? )",
703703
"opacity-value": "<number> | <percentage>",
704704
"opacity()": "opacity( [ <number> | <percentage> ]? )",
705705
"opentype-tag": "<string>",

packages/css-syntax-patches-for-csstree/patches/webref-over-csstree-properties.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1678,12 +1678,15 @@
16781678
"type": "modified",
16791679
"comment": "",
16801680
"syntax-b": "<shape> | auto",
1681-
"syntax-a": "rect( <top> , <right> , <bottom> , <left> ) | auto",
1682-
"syntax-m": "rect( <top> , <right> , <bottom> , <left> ) | auto",
1681+
"syntax-a": "rect( <top> , <right> , <bottom> , <left> ) | rect( <top> <right> <bottom> <left> ) | auto",
1682+
"syntax-m": "rect( <top> , <right> , <bottom> , <left> ) | rect( <top> <right> <bottom> <left> ) | auto",
16831683
"tests": {
16841684
"passing": [
16851685
{
16861686
"value": "rect(1px, 2px, 3px, 4px)"
1687+
},
1688+
{
1689+
"value": "rect(1px 2px 3px 4px)"
16871690
}
16881691
],
16891692
"failing": []

0 commit comments

Comments
 (0)