@csstools/css-syntax-patches-for-csstree 1.1.0 → 1.1.2
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 -4
- package/dist/index.json +23 -8
- package/package.json +9 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
# Changes to CSS Syntax Patches For CSSTree
|
|
2
2
|
|
|
3
|
-
### 1.1.
|
|
3
|
+
### 1.1.2
|
|
4
4
|
|
|
5
|
-
_March
|
|
5
|
+
_March 26, 2026_
|
|
6
6
|
|
|
7
|
-
- Update `
|
|
8
|
-
- Update `@webref/css` to [`v8.4.0`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%408.4.0)
|
|
7
|
+
- Update `@webref/css` to [`v8.5.1`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%408.5.1)
|
|
9
8
|
|
|
10
9
|
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/packages/css-syntax-patches-for-csstree/CHANGELOG.md)
|
package/dist/index.json
CHANGED
|
@@ -206,6 +206,7 @@
|
|
|
206
206
|
"fill-position": "<position>#",
|
|
207
207
|
"fill-repeat": "<repeat-style>#",
|
|
208
208
|
"fill-size": "<bg-size>#",
|
|
209
|
+
"filter": "none | <filter-value-list>",
|
|
209
210
|
"flex-grow": "<number [0,∞]>",
|
|
210
211
|
"flex-shrink": "<number [0,∞]>",
|
|
211
212
|
"float": "| block-start | block-end | snap-block | snap-block( <length> , [ start | end | near ]? ) | snap-inline | snap-inline( <length> , [ left | right | near ]? ) | top | bottom | footnote",
|
|
@@ -231,7 +232,7 @@
|
|
|
231
232
|
"hyphenate-limit-last": "none | always | column | page | spread",
|
|
232
233
|
"hyphenate-limit-lines": "no-limit | <integer>",
|
|
233
234
|
"hyphenate-limit-zone": "<length-percentage>",
|
|
234
|
-
"image-animation": "normal | paused | running",
|
|
235
|
+
"image-animation": "normal | paused | stopped | running",
|
|
235
236
|
"image-orientation": "from-image | none | [ <angle> || flip ]",
|
|
236
237
|
"image-rendering": "auto | smooth | high-quality | pixelated | crisp-edges | <-non-standard-image-rendering>",
|
|
237
238
|
"initial-letter": "normal | <number [1,∞]> <integer [1,∞]> | <number [1,∞]> && [ drop | raise ]?",
|
|
@@ -329,6 +330,7 @@
|
|
|
329
330
|
"rule-width": "<'column-rule-width'>",
|
|
330
331
|
"rx": "<length-percentage> | auto",
|
|
331
332
|
"ry": "<length-percentage> | auto",
|
|
333
|
+
"scroll-marker-group": "none | [ [ before | after ] || [ links | tabs ] ]",
|
|
332
334
|
"scroll-padding": "[ auto | <length-percentage [0,∞]> ]{1,4}",
|
|
333
335
|
"scroll-padding-block": "[ auto | <length-percentage [0,∞]> ]{1,2}",
|
|
334
336
|
"scroll-padding-block-end": "auto | <length-percentage [0,∞]>",
|
|
@@ -402,7 +404,7 @@
|
|
|
402
404
|
"user-select": "auto | text | none | contain | all",
|
|
403
405
|
"vertical-align": "[ first | last ] || <'alignment-baseline'> || <'baseline-shift'>",
|
|
404
406
|
"view-transition-group": "normal | contain | nearest | <custom-ident>",
|
|
405
|
-
"view-transition-scope": "none |
|
|
407
|
+
"view-transition-scope": "none | all",
|
|
406
408
|
"visibility": "visible | hidden | force-hidden | collapse",
|
|
407
409
|
"voice-duration": "auto | <time [0s,∞]>",
|
|
408
410
|
"voice-family": "[ <voice-family-name> | <generic-voice> ]# | preserve",
|
|
@@ -465,7 +467,7 @@
|
|
|
465
467
|
"cf-image": "[ <image> | <color> ] && <percentage [0,100]>?",
|
|
466
468
|
"circle()": "circle( [ <radial-extent> | <length-percentage [0,∞]> ]? [ at <position> ]? )",
|
|
467
469
|
"clamp()": "clamp( [ <calc-sum> | none ] , <calc-sum> , [ <calc-sum> | none ] )",
|
|
468
|
-
"color": "<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark
|
|
470
|
+
"color": "<color-base> | currentColor | <system-color> | <contrast-color()> | <device-cmyk()> | <light-dark-color> | <-non-standard-color>",
|
|
469
471
|
"color-font-tech": "[ color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]",
|
|
470
472
|
"color-function": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <alpha()> | <color()> | <hdr-color()>",
|
|
471
473
|
"color-interpolate()": "color-interpolate( [ <progress-source> && [ by <easing-function> ]? && <easing-function>? && <color-interpolation-method>? ] , <input-position>{1,2} : <color> , [ [ <easing-function> || <color-interpolation-method> ]? , <input-position>{1,2} : <color> ]#? )",
|
|
@@ -490,12 +492,13 @@
|
|
|
490
492
|
"cross-origin-modifier": "cross-origin( anonymous | use-credentials )",
|
|
491
493
|
"css-type": "<syntax-component> | <type()>",
|
|
492
494
|
"cubic-bezier-easing-function": "ease | ease-in | ease-out | ease-in-out | <cubic-bezier()>",
|
|
493
|
-
"cursor-image": "[ <url> | <url-set> ]
|
|
495
|
+
"cursor-image": "[ <url> | <url-set> ] <number>{2}?",
|
|
494
496
|
"curve-command": "curve [ [ to <position> with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> with <relative-control-point> [ / <relative-control-point> ]? ] ]",
|
|
495
497
|
"custom-arg": "'$' <ident-token>",
|
|
496
498
|
"default-value": "<declaration-value>",
|
|
497
499
|
"deprecated-color": "ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonHighlight | ButtonShadow | CaptionText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText",
|
|
498
500
|
"element()": "element( <id-selector> )",
|
|
501
|
+
"env-args": "env( <declaration-value> , <declaration-value>? )",
|
|
499
502
|
"env()": "env( <custom-ident> <integer [0,∞]>* , <declaration-value>? )",
|
|
500
503
|
"event-trigger-event": "activate | interest | click | touch | dblclick | keypress( <string> ) | . . .",
|
|
501
504
|
"fade()": "fade( [ <length-percentage> ] )",
|
|
@@ -539,6 +542,7 @@
|
|
|
539
542
|
"if-condition": "<boolean-expr[<if-test>]> | else",
|
|
540
543
|
"if-test": "supports( [ <ident> : <declaration-value> ] | <supports-condition> ) | media( <media-feature> | <media-condition> ) | style( <style-query> )",
|
|
541
544
|
"if()": "if( [ <if-branch> ; ]* <if-branch> ;? )",
|
|
545
|
+
"image": "<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient> | <light-dark-image>",
|
|
542
546
|
"image-1D": "<stripes()>",
|
|
543
547
|
"image-set-option": "[ <image> | <string> ] [ <resolution> || type( <string> ) ]?",
|
|
544
548
|
"image-src": "[ <url> | <string> ]",
|
|
@@ -566,6 +570,9 @@
|
|
|
566
570
|
"legacy-rgb-syntax": "rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )",
|
|
567
571
|
"legacy-rgba-syntax": "rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )",
|
|
568
572
|
"length-percentage": "[ <length> | <percentage> ]",
|
|
573
|
+
"light-dark-color": "light-dark( <color> , <color> )",
|
|
574
|
+
"light-dark-image": "light-dark( [ <image> | none ] , [ <image> | none ] )",
|
|
575
|
+
"light-dark()": "<light-dark-color> | <light-dark-image>",
|
|
569
576
|
"line-color-list": "<line-color-or-repeat>#",
|
|
570
577
|
"line-color-or-repeat": "[ <color> | <repeat-line-color> ]",
|
|
571
578
|
"line-command": "line <command-end-point>",
|
|
@@ -580,6 +587,9 @@
|
|
|
580
587
|
"media-and": "and <media-in-parens>",
|
|
581
588
|
"media-condition": "<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]",
|
|
582
589
|
"media-condition-without-or": "<media-not> | <media-in-parens> <media-and>*",
|
|
590
|
+
"media-feature": "[ <mf-plain> | <mf-boolean> | <mf-range> ]",
|
|
591
|
+
"media-import-condition": "<media-query-list>",
|
|
592
|
+
"media-in-parens": "( <media-condition> ) | ( <media-feature> ) | <general-enclosed>",
|
|
583
593
|
"media-or": "or <media-in-parens>",
|
|
584
594
|
"media()": "media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )",
|
|
585
595
|
"mf-comparison": "<mf-lt> | <mf-gt> | <mf-eq>",
|
|
@@ -640,10 +650,11 @@
|
|
|
640
650
|
"pt-name-and-class-selector": "<pt-name-selector> <pt-class-selector>? | <pt-class-selector>",
|
|
641
651
|
"pt-name-selector": "'*' | <custom-ident>",
|
|
642
652
|
"query-in-parens": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | scroll-state( <scroll-state-query> ) | <general-enclosed>",
|
|
653
|
+
"random-cache-key": "auto | <random-name> | fixed <number [0,1]>",
|
|
643
654
|
"random-item-args": "random-item( <declaration-value> , [ <declaration-value>? ]# )",
|
|
644
|
-
"random-item()": "random-item( <random-
|
|
645
|
-
"random-
|
|
646
|
-
"random()": "random( <random-
|
|
655
|
+
"random-item()": "random-item( <random-cache-key> , [ <declaration-value>? ]# )",
|
|
656
|
+
"random-name": "<dashed-ident> [ element | property index? ]?",
|
|
657
|
+
"random()": "random( <random-cache-key>? , <calc-sum> , <calc-sum> , <calc-sum>? )",
|
|
647
658
|
"rectangular-color-space": "srgb | srgb-linear | display-p3 | display-p3-linear | a98-rgb | prophoto-rgb | rec2020 | lab | oklab | <xyz-space>",
|
|
648
659
|
"referrer-policy-modifier": "referrer-policy( no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url )",
|
|
649
660
|
"relative-control-point": "<coordinate-pair> [ from [ start | end | origin ] ]?",
|
|
@@ -656,8 +667,10 @@
|
|
|
656
667
|
"rgb()": "[ <legacy-rgb-syntax> | <modern-rgb-syntax> ]",
|
|
657
668
|
"rgba()": "[ <legacy-rgba-syntax> | <modern-rgba-syntax> ]",
|
|
658
669
|
"round()": "round( <rounding-strategy>? , <calc-sum> , <calc-sum>? )",
|
|
670
|
+
"rounding-strategy": "| line-width",
|
|
659
671
|
"route-name": "<dashed-ident>",
|
|
660
672
|
"running()": "running( <custom-ident> )",
|
|
673
|
+
"scope-boundaries": "[ ( <scope-start> ) ]? [ to ( <scope-end> ) ]?",
|
|
661
674
|
"scope-end": "<selector-list>",
|
|
662
675
|
"scope-start": "<selector-list>",
|
|
663
676
|
"scroll-button-direction": "up | down | left | right | block-start | block-end | inline-start | inline-end | prev | next",
|
|
@@ -695,9 +708,11 @@
|
|
|
695
708
|
"supports-at-rule-fn": "at-rule( <at-keyword-token> )",
|
|
696
709
|
"supports-condition-name": "<custom-ident>",
|
|
697
710
|
"supports-decl": "( [ <declaration> | <supports-condition-name> ] )",
|
|
698
|
-
"supports-
|
|
711
|
+
"supports-env-fn": "env( <ident> )",
|
|
712
|
+
"supports-feature": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-at-rule-fn> | <supports-named-feature-fn> | <supports-env-fn> | <supports-decl>",
|
|
699
713
|
"supports-font-format-fn": "font-format( <font-format> )",
|
|
700
714
|
"supports-font-tech-fn": "font-tech( <font-tech> )",
|
|
715
|
+
"supports-import-condition": "supports( [ <supports-condition> | <declaration> ] )",
|
|
701
716
|
"supports-named-feature-fn": "named-feature( <ident> )",
|
|
702
717
|
"supports()": "supports( <declaration> )",
|
|
703
718
|
"svg-paint": "child | child( <integer> )",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@csstools/css-syntax-patches-for-csstree",
|
|
3
3
|
"description": "CSS syntax patches for CSS tree",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.2",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
7
7
|
"name": "Antonio Laguna",
|
|
@@ -32,6 +32,14 @@
|
|
|
32
32
|
"README.md",
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"css-tree": "^3.2.1"
|
|
37
|
+
},
|
|
38
|
+
"peerDependenciesMeta": {
|
|
39
|
+
"css-tree": {
|
|
40
|
+
"optional": true
|
|
41
|
+
}
|
|
42
|
+
},
|
|
35
43
|
"scripts": {},
|
|
36
44
|
"homepage": "https://github.com/csstools/postcss-plugins/tree/main/packages/css-syntax-patches-for-csstree#readme",
|
|
37
45
|
"repository": {
|