@csstools/css-syntax-patches-for-csstree 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -3
- package/dist/index.json +14 -14
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Changes to CSS Syntax Patches For CSSTree
|
|
2
2
|
|
|
3
|
-
### 1.0.
|
|
3
|
+
### 1.0.19
|
|
4
4
|
|
|
5
|
-
_November
|
|
5
|
+
_November 26, 2025_
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- Patch `calc-size()` to allow the `size` keyword
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/packages/css-syntax-patches-for-csstree/CHANGELOG.md)
|
package/dist/index.json
CHANGED
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"caret": "<'caret-color'> || <'caret-animation'> || <'caret-shape'>",
|
|
166
166
|
"caret-animation": "auto | manual",
|
|
167
167
|
"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",
|
|
169
169
|
"color-adjust": "<'print-color-adjust'>",
|
|
170
170
|
"color-interpolation": "auto | sRGB | linearRGB",
|
|
171
171
|
"column-count": "auto | <integer [1,∞]>",
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
"types": {
|
|
509
509
|
"dashed-ident": "<custom-property-name>",
|
|
510
510
|
"unicode-range-token": "<urange>",
|
|
511
|
-
"alpha()": "alpha( [ from <color> ] [ / [ <alpha-value> | none ] ]? )",
|
|
511
|
+
"alpha()": "alpha( [ from <color> ] [ / [ <alpha-value> | alpha | none ] ]? )",
|
|
512
512
|
"anchor-size()": "anchor-size( [ <anchor-name> || <anchor-size> ]? , <length-percentage>? )",
|
|
513
513
|
"anchor()": "anchor( <anchor-name>? && <anchor-side> , <length-percentage>? )",
|
|
514
514
|
"anchored-feature": "fallback : <'position-try-fallbacks'>",
|
|
@@ -546,8 +546,8 @@
|
|
|
546
546
|
"calc-keyword": "e | pi | infinity | -infinity | NaN",
|
|
547
547
|
"calc-mix()": "calc-mix( [ <calc-sum> <percentage [0,100]>? ]# )",
|
|
548
548
|
"calc-product": "<calc-value> [ [ '*' | / ] <calc-value> ]*",
|
|
549
|
-
"calc-size-basis": "[ <size-keyword> | <calc-size()> |
|
|
550
|
-
"calc-size()": "calc-size( <calc-size-basis> , <calc-sum> )",
|
|
549
|
+
"calc-size-basis": "[ <size-keyword> | <calc-size()> | <calc-sum> ]",
|
|
550
|
+
"calc-size()": "calc-size( [ [ <calc-size-basis> , [ <calc-sum> | size ] ] | [ any , <calc-sum> ] ] )",
|
|
551
551
|
"calc-value": "<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )",
|
|
552
552
|
"cf-image": "[ <image> | <color> ] && <percentage [0,100]>?",
|
|
553
553
|
"circle()": "circle( <radial-size>? [ at <position> ]? )",
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
"color-stop-angle": "[ <angle-percentage> | <zero> ]{1,2}",
|
|
562
562
|
"color-stop-list": "<linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]#?",
|
|
563
563
|
"color-stripe": "<color> && [ <length-percentage> | <flex> ]?",
|
|
564
|
-
"color()": "color( [ from <color> ]? <
|
|
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 ] ]? ] ] )",
|
|
565
565
|
"colorspace-params": "[ <custom-params> | <predefined-rgb-params> | <xyz-params> ]",
|
|
566
566
|
"command-end-point": "[ to <position> | by <coordinate-pair> ]",
|
|
567
567
|
"compat-special": "textfield | menulist-button",
|
|
@@ -632,7 +632,7 @@
|
|
|
632
632
|
"hsl()": "[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]",
|
|
633
633
|
"hsla()": "[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]",
|
|
634
634
|
"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 ] ]? )",
|
|
636
636
|
"ictcp()": "ictcp( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
|
|
637
637
|
"ident-arg": "<string> | <integer> | <ident>",
|
|
638
638
|
"ident()": "ident( <ident-arg>+ )",
|
|
@@ -658,9 +658,9 @@
|
|
|
658
658
|
"jzazbz()": "jzazbz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
|
|
659
659
|
"jzczhz()": "jzczhz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )",
|
|
660
660
|
"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 ] ]? )",
|
|
662
662
|
"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 ] ]? )",
|
|
664
664
|
"legacy-border-radius-syntax": "<length-percentage [0,∞]>{1,2}",
|
|
665
665
|
"legacy-hsl-syntax": "hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )",
|
|
666
666
|
"legacy-hsla-syntax": "hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",
|
|
@@ -691,15 +691,15 @@
|
|
|
691
691
|
"mf-gt": "'>' '='?",
|
|
692
692
|
"mf-lt": "'<' '='?",
|
|
693
693
|
"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 ] ]? )",
|
|
698
698
|
"move-command": "move <command-end-point>",
|
|
699
699
|
"mq-boolean": "<integer [0,1]>",
|
|
700
700
|
"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 ] ]? )",
|
|
703
703
|
"opacity-value": "<number> | <percentage>",
|
|
704
704
|
"opacity()": "opacity( [ <number> | <percentage> ]? )",
|
|
705
705
|
"opentype-tag": "<string>",
|