@csstools/css-syntax-patches-for-csstree 1.0.5 → 1.0.7
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 -12
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Changes to CSS Syntax Patches For CSSTree
|
|
2
2
|
|
|
3
|
-
### 1.0.
|
|
3
|
+
### 1.0.7
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
_December 13, 2024_
|
|
6
6
|
|
|
7
|
-
- Update `@webref/css` to [`v6.17.
|
|
7
|
+
- Update `@webref/css` to [`v6.17.6`](https://github.com/w3c/webref/releases/tag/%40webref%2Fraw-css%406.17.6)
|
|
8
8
|
|
|
9
9
|
[Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/packages/css-syntax-patches-for-csstree/CHANGELOG.md)
|
package/dist/index.json
CHANGED
|
@@ -211,7 +211,6 @@
|
|
|
211
211
|
"font-width": "normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded",
|
|
212
212
|
"footnote-display": "block | inline | compact",
|
|
213
213
|
"footnote-policy": "auto | line | block",
|
|
214
|
-
"forced-color-adjust": "| preserve-parent-color",
|
|
215
214
|
"glyph-orientation-vertical": "auto | 0deg | 90deg | 0 | 90",
|
|
216
215
|
"grid-auto-flow": "[ row | column | row-reverse | column-reverse ] || dense || wrap-reverse",
|
|
217
216
|
"grid-template-columns": "| masonry",
|
|
@@ -327,7 +326,6 @@
|
|
|
327
326
|
"ruby-overhang": "auto | none",
|
|
328
327
|
"rx": "<length-percentage> | auto",
|
|
329
328
|
"ry": "<length-percentage> | auto",
|
|
330
|
-
"scale": "none | [ <number> | <percentage> ]{1,3}",
|
|
331
329
|
"scroll-marker-group": "none | before | after",
|
|
332
330
|
"scroll-padding": "[ auto | <length-percentage [0,∞]> ]{1,4}",
|
|
333
331
|
"scroll-padding-block": "[ auto | <length-percentage [0,∞]> ]{1,2}",
|
|
@@ -435,7 +433,7 @@
|
|
|
435
433
|
"angle-percentage": "[ <angle> | <percentage> ]",
|
|
436
434
|
"angular-color-stop": "<color> <color-stop-angle>?",
|
|
437
435
|
"angular-color-stop-list": "<angular-color-stop> , [ <angular-color-hint>? , <angular-color-stop> ]#?",
|
|
438
|
-
"arc-command": "arc [
|
|
436
|
+
"arc-command": "arc [ <command-end-point> && [ of <coordinate-pair> ] && <arc-sweep>? && <arc-size>? && [ rotate <angle> ]? ]",
|
|
439
437
|
"arc-size": "large | small",
|
|
440
438
|
"arc-sweep": "cw | ccw",
|
|
441
439
|
"attr-name": "[ [ <ident-token> '|' ]? <ident-token> ]",
|
|
@@ -443,7 +441,6 @@
|
|
|
443
441
|
"attr-unit": "'%' | em | ex | cap | ch | ic | rem | lh | rlh | vw | vh | vi | vb | vmin | vmax | cm | mm | q | in | pc | pt | px | deg | grad | rad | turn | s | ms | hz | khz | fr",
|
|
444
442
|
"attr()": "attr( <attr-name> <attr-type>? , <declaration-value>? )",
|
|
445
443
|
"autospace": "no-autospace | [ ideograph-alpha || ideograph-numeric || punctuation ] || [ insert | replace ]",
|
|
446
|
-
"axis": "block | inline | x | y",
|
|
447
444
|
"baseline-position": "[ first | last ]? && baseline",
|
|
448
445
|
"basic-shape": "inset( <length-percentage>{1,4} [ round <'border-radius'> ]? ) | xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [ round <'border-radius'> ]? ) | rect( [ <length-percentage> | auto ]{4} [ round <'border-radius'> ]? ) | circle( <radial-size>? [ at <position> ]? ) | ellipse( [ <radial-size>{2} ]? [ at <position> ]? ) | polygon( <'fill-rule'>? [ round <length> ]? , [ <length-percentage> <length-percentage> ]# ) | path( <'fill-rule'>? , <string> )",
|
|
449
446
|
"basic-shape-rect": "<inset()> | rect( [ <length-percentage> | auto ]{4} [ round <'border-radius'> ]? ) | xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [ round <'border-radius'> ]? )",
|
|
@@ -455,7 +452,6 @@
|
|
|
455
452
|
"border-width": "thin | medium | thick | <length>",
|
|
456
453
|
"bottom": "<length-percentage> | auto",
|
|
457
454
|
"box": "| margin-box | fill-box | stroke-box | view-box",
|
|
458
|
-
"by-to": "by | to",
|
|
459
455
|
"calc-keyword": "e | pi | infinity | -infinity | NaN",
|
|
460
456
|
"calc-mix()": "calc-mix( <progress> , <calc-sum> , <calc-sum> )",
|
|
461
457
|
"calc-product": "<calc-value> [ [ '*' | '/' ] <calc-value> ]*",
|
|
@@ -471,6 +467,7 @@
|
|
|
471
467
|
"color-stripe": "<color> && [ <length-percentage> | <flex> ]?",
|
|
472
468
|
"color()": "color( [ from <color> ]? <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
|
|
473
469
|
"colorspace-params": "[ <custom-params> | <predefined-rgb-params> | <predefined-polar-params> | <predefined-rectangular-params> | <xyz-params> ]",
|
|
470
|
+
"command-end-point": "[ to <position> | by <coordinate-pair> ]",
|
|
474
471
|
"compat-special": "textfield | menulist-button",
|
|
475
472
|
"composite-mode": "clear | copy | source-over | destination-over | source-in | destination-in | source-out | destination-out | source-atop | destination-atop | xor | lighter | plus-darker | plus-lighter",
|
|
476
473
|
"conic-gradient-syntax": "[ [ [ from <angle> ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list>",
|
|
@@ -482,6 +479,7 @@
|
|
|
482
479
|
"content-list": "[ <string> | <image> | <attr()> | contents | <quote> | <leader()> | <target> | <string()> | <content()> | <counter> | <counter()> | <counters()> ]+",
|
|
483
480
|
"content()": "content( [ text | before | after | first-letter | marker ]? )",
|
|
484
481
|
"contrast-color()": "contrast-color( <color> max? )",
|
|
482
|
+
"control-point": "[ <position> | <relative-control-point> ]",
|
|
485
483
|
"coord-box": "<paint-box> | view-box",
|
|
486
484
|
"coordinate-pair": "<length-percentage>{2}",
|
|
487
485
|
"counter-style": "<counter-style-name> | <symbols()>",
|
|
@@ -491,7 +489,7 @@
|
|
|
491
489
|
"css-type": "<syntax-component> | <type()>",
|
|
492
490
|
"cubic-bezier-easing-function": "ease | ease-in | ease-out | ease-in-out | <cubic-bezier()>",
|
|
493
491
|
"cubic-bezier()": "cubic-bezier( [ <number [0,1]> , <number> ]#{2} )",
|
|
494
|
-
"curve-command": "curve [ <
|
|
492
|
+
"curve-command": "curve [ [ to <position> && [ with <control-point> [ / <control-point> ]? ] ] | [ by <coordinate-pair> && [ with <relative-control-point> [ / <relative-control-point> ]? ] ] ]",
|
|
495
493
|
"custom-arg": "$ <ident-token> ;",
|
|
496
494
|
"custom-params": "<dashed-ident> [ <number> | <percentage> | none ]+",
|
|
497
495
|
"dasharray": "[ [ <length-percentage> | <number> ]+ ]#",
|
|
@@ -519,10 +517,13 @@
|
|
|
519
517
|
"function-parameter-list": "<function-parameter>#",
|
|
520
518
|
"gradient": "[ <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <repeating-conic-gradient()> | <-legacy-gradient> ]",
|
|
521
519
|
"grid-line": "auto | <custom-ident> | [ [ <integer [-∞,-1]> | <integer [1,∞]> ] && <custom-ident>? ] | [ span && [ <integer [1,∞]> || <custom-ident> ] ]",
|
|
520
|
+
"horizontal-line-command": "hline [ to [ <length-percentage> | left | center | right | x-start | x-end ] | by <length-percentage> ]",
|
|
522
521
|
"hsl()": "[ <legacy-hsl-syntax> | <modern-hsl-syntax> ]",
|
|
523
522
|
"hsla()": "[ <legacy-hsla-syntax> | <modern-hsla-syntax> ]",
|
|
524
|
-
"hv-line-command": "[ hline | vline ] <by-to> <length-percentage>",
|
|
525
523
|
"hwb()": "hwb( [ from <color> ]? [ <hue> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
|
|
524
|
+
"if-condition": "<boolean-expr[<if-test>]> | else",
|
|
525
|
+
"if-test": "supports( [ <supports-condition> | <ident> : <declaration-value> ] ) | media( <media-query> ) | style( <style-query> )",
|
|
526
|
+
"if()": "if( [ <if-condition> : <declaration-value>? ; ]* <if-condition> : <declaration-value>? ;? )",
|
|
526
527
|
"image-1D": "<stripes()>",
|
|
527
528
|
"image-set-option": "[ <image> | <string> ] [ <resolution> || type( <string> ) ]?",
|
|
528
529
|
"image-src": "[ <url> | <string> ]",
|
|
@@ -543,7 +544,7 @@
|
|
|
543
544
|
"legacy-rgb-syntax": "rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )",
|
|
544
545
|
"legacy-rgba-syntax": "rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )",
|
|
545
546
|
"length-percentage": "[ <length> | <percentage> ]",
|
|
546
|
-
"line-command": "line <
|
|
547
|
+
"line-command": "line <command-end-point>",
|
|
547
548
|
"line-width": "<length [0,∞]> | thin | medium | thick",
|
|
548
549
|
"linear-easing-function": "linear | <linear()>",
|
|
549
550
|
"linear-gradient-syntax": "[ [ <angle> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list>",
|
|
@@ -568,7 +569,7 @@
|
|
|
568
569
|
"modern-hsla-syntax": "hsla( [ from <color> ]? [ <hue> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
|
|
569
570
|
"modern-rgb-syntax": "rgb( [ from <color> ]? [ <number> | <percentage> | none ]{3} [ / [ <alpha-value> | none ] ]? )",
|
|
570
571
|
"modern-rgba-syntax": "rgba( [ from <color> ]? [ <number> | <percentage> | none ]{3} [ / [ <alpha-value> | none ] ]? )",
|
|
571
|
-
"move-command": "move <
|
|
572
|
+
"move-command": "move <command-end-point>",
|
|
572
573
|
"mq-boolean": "<integer [0,1]>",
|
|
573
574
|
"number-optional-number": "<number> <number>?",
|
|
574
575
|
"oklab()": "oklab( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
|
|
@@ -608,6 +609,7 @@
|
|
|
608
609
|
"random()": "random( <random-caching-options>? , <calc-sum> , <calc-sum> , [ by <calc-sum> ]? )",
|
|
609
610
|
"ray()": "ray( [ <angle> && <ray-size>? && contain? && [ at <position> ]? ] )",
|
|
610
611
|
"referrerpolicy-modifier": "referrerpolicy( no-referrer | no-referrer-when-downgrade | same-origin | origin | strict-origin | origin-when-cross-origin | strict-origin-when-cross-origin | unsafe-url )",
|
|
612
|
+
"relative-control-point": "<coordinate-pair> [ from [ start | end | origin ] ]?",
|
|
611
613
|
"repeat-style": "repeat-x | repeat-y | <repetition>{1,2}",
|
|
612
614
|
"repeating-conic-gradient()": "repeating-conic-gradient( [ <conic-gradient-syntax> ] )",
|
|
613
615
|
"repeating-linear-gradient()": "repeating-linear-gradient( [ <linear-gradient-syntax> ] )",
|
|
@@ -624,13 +626,12 @@
|
|
|
624
626
|
"scroll-state-in-parens": "( <scroll-state-query> ) | ( <scroll-state-feature> ) | <general-enclosed>",
|
|
625
627
|
"scroll-state-query": "not <scroll-state-in-parens> | <scroll-state-in-parens> [ [ and <scroll-state-in-parens> ]* | [ or <scroll-state-in-parens> ]* ] | <scroll-state-feature>",
|
|
626
628
|
"scroll()": "scroll( [ <scroller> || <axis> ]? )",
|
|
627
|
-
"scroller": "root | nearest | self",
|
|
628
629
|
"shadow": "<color>? && [ <length>{2} <length [0,∞]>? <length>? ] && inset?",
|
|
629
630
|
"shape-box": "<visual-box> | margin-box",
|
|
630
|
-
"shape-command": "<move-command> | <line-command> | <
|
|
631
|
+
"shape-command": "<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>",
|
|
631
632
|
"shape()": "shape( <'fill-rule'>? from <coordinate-pair> , <shape-command># )",
|
|
632
633
|
"single-animation-iteration-count": "infinite | <number [0,∞]>",
|
|
633
|
-
"smooth-command": "smooth [ [ <
|
|
634
|
+
"smooth-command": "smooth [ [ to <position> && [ with <control-point> ]? ] | [ by <coordinate-pair> && [ with <relative-control-point> ]? ] ]",
|
|
634
635
|
"source-size": "<media-condition> <source-size-value> | auto",
|
|
635
636
|
"source-size-list": "<source-size>#? , <source-size-value>",
|
|
636
637
|
"source-size-value": "<length> | auto",
|
|
@@ -670,6 +671,7 @@
|
|
|
670
671
|
"url-set-option": "[ <url> | <string> ] [ <resolution> || type( <string> ) ]?",
|
|
671
672
|
"url-set()": "url-set( <url-set-option># )",
|
|
672
673
|
"url()": "url( <string> <url-modifier>* ) | <url-token>",
|
|
674
|
+
"vertical-line-command": "vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]",
|
|
673
675
|
"wcag2": "wcag2 | wcag2( [ <number> | [ aa | aaa ] && large? ] )",
|
|
674
676
|
"xyz": "xyz | xyz-d50 | xyz-d65",
|
|
675
677
|
"xyz-params": "<xyz> [ <number> | <percentage> | none ]{3}"
|