@csstools/css-syntax-patches-for-csstree 1.0.10 → 1.0.12

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 CHANGED
@@ -1,9 +1,9 @@
1
1
  # Changes to CSS Syntax Patches For CSSTree
2
2
 
3
- ### 1.0.10
3
+ ### 1.0.12
4
4
 
5
- _April 19, 2025_
5
+ _May 27, 2025_
6
6
 
7
- - Update `@webref/css` to [`v6.20.8`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%406.20.8)
7
+ - Update `@webref/css` to [`v6.21.1`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%406.21.1)
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
@@ -216,9 +216,9 @@
216
216
  "cursor": "[ [ <url> | <url-set()> ] [ <x> <y> ]? ]#? [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | grab | grabbing | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | -webkit-grab | -webkit-grabbing | -webkit-zoom-in | -webkit-zoom-out | -moz-grab | -moz-grabbing | -moz-zoom-in | -moz-zoom-out ]",
217
217
  "cx": "<length-percentage>",
218
218
  "cy": "<length-percentage>",
219
- "display": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> || [ <display-inside> | math ]",
219
+ "display": "[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> | <display-outside> | <-non-standard-display> || [ <display-inside> | math ]",
220
220
  "dominant-baseline": "auto | text-bottom | text-top | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge",
221
- "dynamic-range-limit": "standard | no-limit | constrained-high | <dynamic-range-limit-mix()>",
221
+ "dynamic-range-limit": "standard | no-limit | constrained | <dynamic-range-limit-mix()>",
222
222
  "fill-break": "bounding-box | slice | clone",
223
223
  "fill-color": "<color>",
224
224
  "fill-image": "<paint>#",
@@ -456,6 +456,7 @@
456
456
  "view-timeline-name": "[ none | <dashed-ident> ]#",
457
457
  "view-transition-class": "none | <custom-ident>+",
458
458
  "view-transition-group": "normal | contain | nearest | <custom-ident>",
459
+ "visibility": "visible | hidden | force-hidden | collapse",
459
460
  "voice-duration": "auto | <time [0s,∞]>",
460
461
  "voice-pitch": "<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]",
461
462
  "voice-range": "<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]",
@@ -512,7 +513,7 @@
512
513
  "calc-keyword": "e | pi | infinity | -infinity | NaN",
513
514
  "calc-mix()": "calc-mix( <progress> , <calc-sum> , <calc-sum> )",
514
515
  "calc-product": "<calc-value> [ [ '*' | / ] <calc-value> ]*",
515
- "calc-size-basis": "[ <intrinsic-size-keyword> | <calc-size()> | any | <calc-sum> ]",
516
+ "calc-size-basis": "[ <size-keyword> | <calc-size()> | any | <calc-sum> ]",
516
517
  "calc-size()": "calc-size( <calc-size-basis> , <calc-sum> )",
517
518
  "calc-value": "<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )",
518
519
  "cf-image": "[ <image> | <color> ] && <percentage [0,100]>?",
@@ -521,6 +522,7 @@
521
522
  "color-font-tech": "[ color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]",
522
523
  "color-function": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <color()>",
523
524
  "color-layers()": "color-layers( [ <blend-mode> , ]? <color># )",
525
+ "color-mix()": "color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]# )",
524
526
  "color-stop-angle": "[ <angle-percentage> | <zero> ]{1,2}",
525
527
  "color-stop-list": "<linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]#?",
526
528
  "color-stripe": "<color> && [ <length-percentage> | <flex> ]?",
@@ -532,7 +534,6 @@
532
534
  "conic-gradient-syntax": "[ [ [ from [ <angle> | <zero> ] ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list>",
533
535
  "conic-gradient()": "conic-gradient( [ <conic-gradient-syntax> ] )",
534
536
  "container-condition": "[ <container-name>? <container-query>? ]!",
535
- "container-progress()": "container-progress( <mf-name> [ of <container-name> ]? , <calc-sum> , <calc-sum> )",
536
537
  "container-query": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]",
537
538
  "content-level": "element | content | text | <attr()> | <counter>",
538
539
  "content-list": "[ <string> | <image> | <attr()> | contents | <quote> | <leader()> | <target> | <string()> | <content()> | <counter> | <counter()> | <counters()> ]+",
@@ -542,7 +543,7 @@
542
543
  "control-value()": "control-value( <type>? )",
543
544
  "coord-box": "<paint-box> | view-box",
544
545
  "coordinate-pair": "<length-percentage>{2}",
545
- "corner-shape-value": "round | scoop | bevel | notch | straight | squircle | superellipse( <number [0,∞]> | infinity )",
546
+ "corner-shape-value": "round | scoop | bevel | notch | square | squircle | superellipse( <number [-∞,∞]> | infinity | -infinity )",
546
547
  "counter-style": "<counter-style-name> | <symbols()>",
547
548
  "counter-style-name": "| decimal | decimal-leading-zero | arabic-indic | armenian | upper-armenian | lower-armenian | bengali | cambodian | khmer | cjk-decimal | devanagari | georgian | gujarati | gurmukhi | hebrew | kannada | lao | malayalam | mongolian | myanmar | oriya | persian | lower-roman | upper-roman | tamil | telugu | thai | tibetan | lower-alpha | lower-latin | upper-alpha | upper-latin | lower-greek | hiragana | hiragana-iroha | katakana | katakana-iroha | disc | circle | square | disclosure-open | disclosure-closed | cjk-earthly-branch | cjk-heavenly-stem | japanese-informal | japanese-formal | korean-hangul-formal | korean-hanja-informal | korean-hanja-formal | ethiopic-numeric",
548
549
  "cross-fade()": "cross-fade( <cf-image># )",
@@ -605,7 +606,6 @@
605
606
  "inherit-args": "inherit( <declaration-value> , <declaration-value>? )",
606
607
  "inherit()": "inherit( <custom-property-name> , <declaration-value>? )",
607
608
  "integrity-modifier": "integrity( <string> )",
608
- "intrinsic-size-keyword": "auto | max-content | min-content | stretch",
609
609
  "isolation-mode": "auto | isolate",
610
610
  "jzazbz()": "jzazbz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
611
611
  "jzczhz()": "jzczhz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )",
@@ -638,7 +638,6 @@
638
638
  "media-condition": "<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]",
639
639
  "media-condition-without-or": "<media-not> | <media-in-parens> <media-and>*",
640
640
  "media-or": "or <media-in-parens>",
641
- "media-progress()": "media-progress( <mf-name> , <calc-sum> , <calc-sum> )",
642
641
  "media()": "media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )",
643
642
  "mf-comparison": "<mf-lt> | <mf-gt> | <mf-eq>",
644
643
  "mf-eq": "'='",
@@ -716,6 +715,7 @@
716
715
  "single-animation-iteration-count": "infinite | <number [0,∞]>",
717
716
  "single-animation-trigger": "<single-animation-trigger-type> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]",
718
717
  "single-animation-trigger-type": "once | repeat | alternate | state",
718
+ "size-keyword": "auto | max-content | min-content | stretch",
719
719
  "smooth-command": "smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]",
720
720
  "source-size": "<media-condition> <source-size-value> | auto",
721
721
  "source-size-list": "<source-size>#? , <source-size-value>",
@@ -729,7 +729,7 @@
729
729
  "stripes()": "stripes( <color-stripe># )",
730
730
  "style-in-parens": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>",
731
731
  "style-query": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>",
732
- "superellipse()": "superellipse( <number> | infinity )",
732
+ "superellipse()": "superellipse( <number> | infinity | -infinity )",
733
733
  "supports-feature": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-decl>",
734
734
  "supports-font-format-fn": "font-format( <font-format> )",
735
735
  "supports-font-tech-fn": "font-tech( <font-tech> )",
@@ -758,6 +758,7 @@
758
758
  "url-set-option": "[ <url> | <string> ] [ <resolution> || type( <string> ) ]?",
759
759
  "url-set()": "url-set( <url-set-option># )",
760
760
  "url()": "url( <string> <url-modifier>* ) | <url-token>",
761
+ "var-args": "var( <declaration-value> , <declaration-value>? )",
761
762
  "vertical-line-command": "vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]",
762
763
  "wcag2": "wcag2 | wcag2( [ <number> | [ aa | aaa ] && large? ] )",
763
764
  "xyz": "xyz | xyz-d50 | xyz-d65",
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.0.10",
4
+ "version": "1.0.12",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Antonio Laguna",