@csstools/css-syntax-patches-for-csstree 1.0.3 → 1.0.5

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.3
3
+ ### 1.0.5
4
4
 
5
- _November 5, 2024_
5
+ _November 30, 2024_
6
6
 
7
- - Update `@webref/css` to [`v6.17.1`](https://github.com/w3c/webref/releases/tag/%40webref%2Fraw-css%406.17.1)
7
+ - Update `@webref/css` to [`v6.17.4`](https://github.com/w3c/webref/releases/tag/%40webref%2Fraw-css%406.17.4)
8
8
 
9
9
  [Full CHANGELOG](https://github.com/csstools/postcss-plugins/tree/main/packages/css-syntax-patches-for-csstree/CHANGELOG.md)
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # CSS Syntax Patches For CSSTree
1
+ # CSS Syntax Patches For CSSTree <img src="https://cssdb.org/images/css.svg" alt="for CSS" width="90" height="90" align="right">
2
2
 
3
3
  [<img alt="npm version" src="https://img.shields.io/npm/v/@csstools/css-syntax-patches-for-csstree.svg" height="20">][npm-url]
4
4
  [<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/workflows/test/badge.svg" height="20">][cli-url]
package/dist/index.json CHANGED
@@ -30,7 +30,8 @@
30
30
  "subscript-position-override": "[ normal | from-font | <percentage> ]{1,2}",
31
31
  "subscript-size-override": "[ normal | from-font | <percentage [0,∞]> ]{1,2}",
32
32
  "superscript-position-override": "[ normal | from-font | <percentage> ]{1,2}",
33
- "superscript-size-override": "[ normal | from-font | <percentage [0,∞]> ]{1,2}"
33
+ "superscript-size-override": "[ normal | from-font | <percentage [0,∞]> ]{1,2}",
34
+ "unicode-range": "<unicode-range-token>#"
34
35
  }
35
36
  },
36
37
  "font-feature-values": {
@@ -88,7 +89,7 @@
88
89
  "block-ellipsis": "none | auto | <string>",
89
90
  "block-step": "<'block-step-size'> || <'block-step-insert'> || <'block-step-align'> || <'block-step-round'>",
90
91
  "block-step-align": "auto | center | start | end",
91
- "block-step-insert": "margin | padding",
92
+ "block-step-insert": "margin-box | padding-box | content-box",
92
93
  "block-step-round": "up | down | nearest",
93
94
  "block-step-size": "none | <length [0,∞]>",
94
95
  "bookmark-label": "<content-list>",
@@ -339,7 +340,7 @@
339
340
  "scroll-padding-left": "auto | <length-percentage [0,∞]>",
340
341
  "scroll-padding-right": "auto | <length-percentage [0,∞]>",
341
342
  "scroll-padding-top": "auto | <length-percentage [0,∞]>",
342
- "scroll-start-target": "[ none | auto ]",
343
+ "scroll-start-target": "none | auto",
343
344
  "scroll-timeline": "[ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]#",
344
345
  "shape-image-threshold": "<opacity-value>",
345
346
  "shape-inside": "auto | outside-shape | [ <basic-shape> || shape-box ] | <image> | display",
@@ -428,6 +429,7 @@
428
429
  },
429
430
  "types": {
430
431
  "dashed-ident": "<custom-property-name>",
432
+ "unicode-range-token": "<urange>",
431
433
  "anchor-size()": "anchor-size( [ <anchor-name> || <anchor-size> ]? , <length-percentage>? )",
432
434
  "anchor()": "anchor( <anchor-name>? && <anchor-side> , <length-percentage>? )",
433
435
  "angle-percentage": "[ <angle> | <percentage> ]",
@@ -437,7 +439,9 @@
437
439
  "arc-size": "large | small",
438
440
  "arc-sweep": "cw | ccw",
439
441
  "attr-name": "[ [ <ident-token> '|' ]? <ident-token> ]",
440
- "attr()": "attr( <attr-name> <syntax>? , <declaration-value>? )",
442
+ "attr-type": "type( <syntax> ) | string | <attr-unit>",
443
+ "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
+ "attr()": "attr( <attr-name> <attr-type>? , <declaration-value>? )",
441
445
  "autospace": "no-autospace | [ ideograph-alpha || ideograph-numeric || punctuation ] || [ insert | replace ]",
442
446
  "axis": "block | inline | x | y",
443
447
  "baseline-position": "[ first | last ]? && baseline",
@@ -471,7 +475,7 @@
471
475
  "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",
472
476
  "conic-gradient-syntax": "[ [ [ from <angle> ]? [ at <position> ]? ] || <color-interpolation-method> ]? , <angular-color-stop-list>",
473
477
  "conic-gradient()": "conic-gradient( [ <conic-gradient-syntax> ] )",
474
- "container-condition": "[ <container-name> ]? <container-query>",
478
+ "container-condition": "[ <container-name>? <container-query>? ]!",
475
479
  "container-progress()": "container-progress( <mf-name> [ of <container-name> ]? , <calc-sum> , <calc-sum> )",
476
480
  "container-query": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]",
477
481
  "content-level": "element | content | text | <attr()> | <counter>",
@@ -615,6 +619,7 @@
615
619
  "right": "<length-percentage> | auto",
616
620
  "round()": "round( <rounding-strategy>? , <calc-sum> , <calc-sum>? )",
617
621
  "running()": "running( <custom-ident> )",
622
+ "scroll-button-direction": "up | down | left | right | block-start | block-end | inline-start | inline-end | prev | next",
618
623
  "scroll-state-feature": "<ident> : <ident>",
619
624
  "scroll-state-in-parens": "( <scroll-state-query> ) | ( <scroll-state-feature> ) | <general-enclosed>",
620
625
  "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>",
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.3",
4
+ "version": "1.0.5",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Antonio Laguna",