@csstools/css-syntax-patches-for-csstree 1.0.11 → 1.0.13

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,10 @@
1
1
  # Changes to CSS Syntax Patches For CSSTree
2
2
 
3
- ### 1.0.11
3
+ ### 1.0.13
4
4
 
5
- _April 22, 2025_
5
+ _June 2, 2025_
6
+
7
+ - Update `@webref/css` to [`v6.21.2`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%406.21.2)
6
8
 
7
- - Fix `display: -webkit-box`
8
9
 
9
10
  [Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/packages/css-syntax-patches-for-csstree/CHANGELOG.md)
package/dist/index.json CHANGED
@@ -74,6 +74,7 @@
74
74
  "alignment-baseline": "| text-bottom | text-top",
75
75
  "animation-duration": "[ auto | <time [0s,∞]> ]#",
76
76
  "animation-trigger": "<single-animation-trigger>#",
77
+ "animation-trigger-behavior": "<single-animation-trigger-behavior>#",
77
78
  "animation-trigger-exit-range": "[ <'animation-trigger-exit-range-start'> <'animation-trigger-exit-range-end'>? ]#",
78
79
  "animation-trigger-exit-range-end": "[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
79
80
  "animation-trigger-exit-range-start": "[ auto | normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
@@ -81,7 +82,6 @@
81
82
  "animation-trigger-range-end": "[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
82
83
  "animation-trigger-range-start": "[ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]#",
83
84
  "animation-trigger-timeline": "<single-animation-timeline>#",
84
- "animation-trigger-type": "<single-animation-trigger-type>#",
85
85
  "appearance": "none | auto | base | <compat-auto> | <compat-special> | base",
86
86
  "backdrop-filter": "none | <filter-value-list>",
87
87
  "background": "<bg-layer>#? , <final-bg-layer>",
@@ -218,7 +218,7 @@
218
218
  "cy": "<length-percentage>",
219
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>#",
@@ -387,6 +387,7 @@
387
387
  "scroll-padding-left": "auto | <length-percentage [0,∞]>",
388
388
  "scroll-padding-right": "auto | <length-percentage [0,∞]>",
389
389
  "scroll-padding-top": "auto | <length-percentage [0,∞]>",
390
+ "scroll-target-group": "none | auto",
390
391
  "scroll-timeline": "[ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]#",
391
392
  "shape-image-threshold": "<opacity-value>",
392
393
  "shape-inside": "auto | outside-shape | [ <basic-shape> || shape-box ] | <image> | display",
@@ -456,6 +457,7 @@
456
457
  "view-timeline-name": "[ none | <dashed-ident> ]#",
457
458
  "view-transition-class": "none | <custom-ident>+",
458
459
  "view-transition-group": "normal | contain | nearest | <custom-ident>",
460
+ "visibility": "visible | hidden | force-hidden | collapse",
459
461
  "voice-duration": "auto | <time [0s,∞]>",
460
462
  "voice-pitch": "<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]",
461
463
  "voice-range": "<frequency [0Hz,∞]> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]",
@@ -512,7 +514,7 @@
512
514
  "calc-keyword": "e | pi | infinity | -infinity | NaN",
513
515
  "calc-mix()": "calc-mix( <progress> , <calc-sum> , <calc-sum> )",
514
516
  "calc-product": "<calc-value> [ [ '*' | / ] <calc-value> ]*",
515
- "calc-size-basis": "[ <intrinsic-size-keyword> | <calc-size()> | any | <calc-sum> ]",
517
+ "calc-size-basis": "[ <size-keyword> | <calc-size()> | any | <calc-sum> ]",
516
518
  "calc-size()": "calc-size( <calc-size-basis> , <calc-sum> )",
517
519
  "calc-value": "<number> | <dimension> | <percentage> | <calc-keyword> | ( <calc-sum> )",
518
520
  "cf-image": "[ <image> | <color> ] && <percentage [0,100]>?",
@@ -521,6 +523,7 @@
521
523
  "color-font-tech": "[ color-COLRv0 | color-COLRv1 | color-SVG | color-sbix | color-CBDT ]",
522
524
  "color-function": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <color()>",
523
525
  "color-layers()": "color-layers( [ <blend-mode> , ]? <color># )",
526
+ "color-mix()": "color-mix( <color-interpolation-method> , [ <color> && <percentage [0,100]>? ]# )",
524
527
  "color-stop-angle": "[ <angle-percentage> | <zero> ]{1,2}",
525
528
  "color-stop-list": "<linear-color-stop> , [ <linear-color-hint>? , <linear-color-stop> ]#?",
526
529
  "color-stripe": "<color> && [ <length-percentage> | <flex> ]?",
@@ -532,7 +535,6 @@
532
535
  "conic-gradient-syntax": "[ [ [ from [ <angle> | <zero> ] ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list>",
533
536
  "conic-gradient()": "conic-gradient( [ <conic-gradient-syntax> ] )",
534
537
  "container-condition": "[ <container-name>? <container-query>? ]!",
535
- "container-progress()": "container-progress( <mf-name> [ of <container-name> ]? , <calc-sum> , <calc-sum> )",
536
538
  "container-query": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]",
537
539
  "content-level": "element | content | text | <attr()> | <counter>",
538
540
  "content-list": "[ <string> | <image> | <attr()> | contents | <quote> | <leader()> | <target> | <string()> | <content()> | <counter> | <counter()> | <counters()> ]+",
@@ -542,7 +544,7 @@
542
544
  "control-value()": "control-value( <type>? )",
543
545
  "coord-box": "<paint-box> | view-box",
544
546
  "coordinate-pair": "<length-percentage>{2}",
545
- "corner-shape-value": "round | scoop | bevel | notch | straight | squircle | superellipse( <number [0,∞]> | infinity )",
547
+ "corner-shape-value": "round | scoop | bevel | notch | square | squircle | superellipse( <number [-∞,∞]> | infinity | -infinity )",
546
548
  "counter-style": "<counter-style-name> | <symbols()>",
547
549
  "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
550
  "cross-fade()": "cross-fade( <cf-image># )",
@@ -605,7 +607,6 @@
605
607
  "inherit-args": "inherit( <declaration-value> , <declaration-value>? )",
606
608
  "inherit()": "inherit( <custom-property-name> , <declaration-value>? )",
607
609
  "integrity-modifier": "integrity( <string> )",
608
- "intrinsic-size-keyword": "auto | max-content | min-content | stretch",
609
610
  "isolation-mode": "auto | isolate",
610
611
  "jzazbz()": "jzazbz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ / [ <alpha-value> | none ] ]? )",
611
612
  "jzczhz()": "jzczhz( [ from <color> ]? [ <percentage> | <number> | none ] [ <percentage> | <number> | none ] [ <hue> | none ] [ / [ <alpha-value> | none ] ]? )",
@@ -638,7 +639,6 @@
638
639
  "media-condition": "<media-not> | <media-in-parens> [ <media-and>* | <media-or>* ]",
639
640
  "media-condition-without-or": "<media-not> | <media-in-parens> <media-and>*",
640
641
  "media-or": "or <media-in-parens>",
641
- "media-progress()": "media-progress( <mf-name> , <calc-sum> , <calc-sum> )",
642
642
  "media()": "media( [ <mf-plain> | <mf-boolean> | <mf-range> ] )",
643
643
  "mf-comparison": "<mf-lt> | <mf-gt> | <mf-eq>",
644
644
  "mf-eq": "'='",
@@ -714,8 +714,9 @@
714
714
  "shape-command": "<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>",
715
715
  "shape()": "shape( <'fill-rule'>? from <position> , <shape-command># )",
716
716
  "single-animation-iteration-count": "infinite | <number [0,∞]>",
717
- "single-animation-trigger": "<single-animation-trigger-type> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]",
718
- "single-animation-trigger-type": "once | repeat | alternate | state",
717
+ "single-animation-trigger": "<single-animation-trigger-behavior> || [ none | auto | [ [ <dashed-ident> | <scroll()> | <view()> ] [ normal | <length-percentage> | <timeline-range-name> <length-percentage>? ]{0,4} ] ]",
718
+ "single-animation-trigger-behavior": "once | repeat | alternate | state",
719
+ "size-keyword": "auto | max-content | min-content | stretch",
719
720
  "smooth-command": "smooth [ [ to <position> [ with <control-point> ]? ] | [ by <coordinate-pair> [ with <relative-control-point> ]? ] ]",
720
721
  "source-size": "<media-condition> <source-size-value> | auto",
721
722
  "source-size-list": "<source-size>#? , <source-size-value>",
@@ -729,7 +730,7 @@
729
730
  "stripes()": "stripes( <color-stripe># )",
730
731
  "style-in-parens": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>",
731
732
  "style-query": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>",
732
- "superellipse()": "superellipse( <number> | infinity )",
733
+ "superellipse()": "superellipse( <number> | infinity | -infinity )",
733
734
  "supports-feature": "<supports-selector-fn> | <supports-font-tech-fn> | <supports-font-format-fn> | <supports-decl>",
734
735
  "supports-font-format-fn": "font-format( <font-format> )",
735
736
  "supports-font-tech-fn": "font-tech( <font-tech> )",
@@ -758,6 +759,7 @@
758
759
  "url-set-option": "[ <url> | <string> ] [ <resolution> || type( <string> ) ]?",
759
760
  "url-set()": "url-set( <url-set-option># )",
760
761
  "url()": "url( <string> <url-modifier>* ) | <url-token>",
762
+ "var-args": "var( <declaration-value> , <declaration-value>? )",
761
763
  "vertical-line-command": "vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]",
762
764
  "wcag2": "wcag2 | wcag2( [ <number> | [ aa | aaa ] && large? ] )",
763
765
  "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.11",
4
+ "version": "1.0.13",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Antonio Laguna",