@csstools/css-syntax-patches-for-csstree 1.0.7 → 1.0.8
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 +44 -6
- 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.8
|
|
4
4
|
|
|
5
|
-
_December
|
|
5
|
+
_December 27, 2024_
|
|
6
6
|
|
|
7
|
-
- Update `@webref/css` to [`v6.
|
|
7
|
+
- Update `@webref/css` to [`v6.18.0`](https://github.com/w3c/webref/releases/tag/%40webref%2Fcss%406.18.0)
|
|
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
|
@@ -166,8 +166,12 @@
|
|
|
166
166
|
"column-count": "auto | <integer [1,∞]>",
|
|
167
167
|
"column-fill": "| balance-all",
|
|
168
168
|
"column-gap": "normal | <length-percentage [0,∞]>",
|
|
169
|
-
"column-rule
|
|
170
|
-
"column-rule-
|
|
169
|
+
"column-rule": "<gap-rule-list> | <auto-gap-rule-list>",
|
|
170
|
+
"column-rule-break": "intersection | spanning-item | none",
|
|
171
|
+
"column-rule-color": "<line-color-list> | <auto-line-color-list>",
|
|
172
|
+
"column-rule-outset": "<length-percentage>",
|
|
173
|
+
"column-rule-style": "<line-style-list> | <auto-line-style-list>",
|
|
174
|
+
"column-rule-width": "<line-width-list> | <auto-line-width-list>",
|
|
171
175
|
"column-span": "| <integer [1,∞]> | auto",
|
|
172
176
|
"column-width": "auto | <length [0,∞]> | min-content | max-content | fit-content( <length-percentage> )",
|
|
173
177
|
"contain": "none | strict | content | [ [ size | inline-size ] || layout || style || paint ]",
|
|
@@ -211,6 +215,13 @@
|
|
|
211
215
|
"font-width": "normal | <percentage [0,∞]> | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded",
|
|
212
216
|
"footnote-display": "block | inline | compact",
|
|
213
217
|
"footnote-policy": "auto | line | block",
|
|
218
|
+
"gap-rule": "<'column-rule'>",
|
|
219
|
+
"gap-rule-break": "<'column-rule-break'>",
|
|
220
|
+
"gap-rule-color": "<'column-rule-color'>",
|
|
221
|
+
"gap-rule-outset": "<'column-rule-outset'>",
|
|
222
|
+
"gap-rule-paint-order": "row-over-column | column-over-row",
|
|
223
|
+
"gap-rule-style": "<'column-rule-style'>",
|
|
224
|
+
"gap-rule-width": "<'column-rule-width'>",
|
|
214
225
|
"glyph-orientation-vertical": "auto | 0deg | 90deg | 0 | 90",
|
|
215
226
|
"grid-auto-flow": "[ row | column | row-reverse | column-reverse ] || dense || wrap-reverse",
|
|
216
227
|
"grid-template-columns": "| masonry",
|
|
@@ -322,10 +333,17 @@
|
|
|
322
333
|
"rest-before": "<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strong",
|
|
323
334
|
"right": "| <anchor()> | <anchor-size()>",
|
|
324
335
|
"row-gap": "normal | <length-percentage [0,∞]>",
|
|
336
|
+
"row-rule": "<gap-rule-list> | <auto-gap-rule-list>",
|
|
337
|
+
"row-rule-break": "intersection | spanning-item | none",
|
|
338
|
+
"row-rule-color": "<line-color-list> | <auto-line-color-list>",
|
|
339
|
+
"row-rule-outset": "<length-percentage>",
|
|
340
|
+
"row-rule-style": "<line-style-list> | <auto-line-style-list>",
|
|
341
|
+
"row-rule-width": "<line-width-list> | <auto-line-width-list>",
|
|
325
342
|
"ruby-merge": "separate | merge | auto",
|
|
326
343
|
"ruby-overhang": "auto | none",
|
|
327
344
|
"rx": "<length-percentage> | auto",
|
|
328
345
|
"ry": "<length-percentage> | auto",
|
|
346
|
+
"scroll-initial-target": "none | nearest",
|
|
329
347
|
"scroll-marker-group": "none | before | after",
|
|
330
348
|
"scroll-padding": "[ auto | <length-percentage [0,∞]> ]{1,4}",
|
|
331
349
|
"scroll-padding-block": "[ auto | <length-percentage [0,∞]> ]{1,2}",
|
|
@@ -338,7 +356,6 @@
|
|
|
338
356
|
"scroll-padding-left": "auto | <length-percentage [0,∞]>",
|
|
339
357
|
"scroll-padding-right": "auto | <length-percentage [0,∞]>",
|
|
340
358
|
"scroll-padding-top": "auto | <length-percentage [0,∞]>",
|
|
341
|
-
"scroll-start-target": "none | auto",
|
|
342
359
|
"scroll-timeline": "[ <'scroll-timeline-name'> <'scroll-timeline-axis'>? ]#",
|
|
343
360
|
"shape-image-threshold": "<opacity-value>",
|
|
344
361
|
"shape-inside": "auto | outside-shape | [ <basic-shape> || shape-box ] | <image> | display",
|
|
@@ -436,10 +453,18 @@
|
|
|
436
453
|
"arc-command": "arc [ <command-end-point> && [ of <coordinate-pair> ] && <arc-sweep>? && <arc-size>? && [ rotate <angle> ]? ]",
|
|
437
454
|
"arc-size": "large | small",
|
|
438
455
|
"arc-sweep": "cw | ccw",
|
|
439
|
-
"attr-name": "[ [ <ident-token
|
|
456
|
+
"attr-name": "[ [ <ident-token>? '|' ]? <ident-token> ]",
|
|
440
457
|
"attr-type": "type( <syntax> ) | string | <attr-unit>",
|
|
441
458
|
"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",
|
|
442
459
|
"attr()": "attr( <attr-name> <attr-type>? , <declaration-value>? )",
|
|
460
|
+
"auto-gap-rule-list": "[ [ <gap-rule-or-repeat> ] / ]* <auto-repeat-gap-rule> [ / [ <gap-rule-or-repeat> ] ]*",
|
|
461
|
+
"auto-line-color-list": "[ <line-color-or-repeat> ]* <auto-repeat-line-color> [ <line-color-or-repeat> ]*",
|
|
462
|
+
"auto-line-style-list": "[ <line-style-or-repeat> ]* <auto-repeat-line-style> [ <line-style-or-repeat> ]*",
|
|
463
|
+
"auto-line-width-list": "[ <line-width-or-repeat> ]* <auto-repeat-line-width> [ <line-width-or-repeat> ]*",
|
|
464
|
+
"auto-repeat-gap-rule": "repeat( auto , [ <gap-rule> ]# )",
|
|
465
|
+
"auto-repeat-line-color": "repeat( auto , [ <color> ]+ )",
|
|
466
|
+
"auto-repeat-line-style": "repeat( auto , [ <line-style> ]+ )",
|
|
467
|
+
"auto-repeat-line-width": "repeat( auto , [ <line-width> ]+ )",
|
|
443
468
|
"autospace": "no-autospace | [ ideograph-alpha || ideograph-numeric || punctuation ] || [ insert | replace ]",
|
|
444
469
|
"baseline-position": "[ first | last ]? && baseline",
|
|
445
470
|
"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> )",
|
|
@@ -494,7 +519,7 @@
|
|
|
494
519
|
"custom-params": "<dashed-ident> [ <number> | <percentage> | none ]+",
|
|
495
520
|
"dasharray": "[ [ <length-percentage> | <number> ]+ ]#",
|
|
496
521
|
"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",
|
|
497
|
-
"dynamic-range-limit-mix()": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]> ]
|
|
522
|
+
"dynamic-range-limit-mix()": "dynamic-range-limit-mix( [ <ident> && <percentage [0,100]> ]# )",
|
|
498
523
|
"easing-function": "<linear-easing-function> | <cubic-bezier-easing-function> | <step-easing-function>",
|
|
499
524
|
"element()": "element( <id-selector> )",
|
|
500
525
|
"env()": "env( <custom-ident> <integer [0,∞]>* , <declaration-value>? )",
|
|
@@ -515,6 +540,9 @@
|
|
|
515
540
|
"function-name": "<dashed-ident>",
|
|
516
541
|
"function-parameter": "<custom-property-name> <css-type>? [ : <declaration-value> ]?",
|
|
517
542
|
"function-parameter-list": "<function-parameter>#",
|
|
543
|
+
"gap-rule": "[ <line-width> || <line-style> || <color> ]",
|
|
544
|
+
"gap-rule-list": "<gap-rule-or-repeat> [ / <gap-rule-or-repeat> ]*",
|
|
545
|
+
"gap-rule-or-repeat": "[ <gap-rule> | <repeat-gap-rule> ]",
|
|
518
546
|
"gradient": "[ <linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <repeating-conic-gradient()> | <-legacy-gradient> ]",
|
|
519
547
|
"grid-line": "auto | <custom-ident> | [ [ <integer [-∞,-1]> | <integer [1,∞]> ] && <custom-ident>? ] | [ span && [ <integer [1,∞]> || <custom-ident> ] ]",
|
|
520
548
|
"horizontal-line-command": "hline [ to [ <length-percentage> | left | center | right | x-start | x-end ] | by <length-percentage> ]",
|
|
@@ -544,8 +572,14 @@
|
|
|
544
572
|
"legacy-rgb-syntax": "rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )",
|
|
545
573
|
"legacy-rgba-syntax": "rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )",
|
|
546
574
|
"length-percentage": "[ <length> | <percentage> ]",
|
|
575
|
+
"line-color-list": "[ <line-color-or-repeat> ]+",
|
|
576
|
+
"line-color-or-repeat": "[ <color> | <repeat-line-color> ]",
|
|
547
577
|
"line-command": "line <command-end-point>",
|
|
578
|
+
"line-style-list": "[ <line-style-or-repeat> ]+",
|
|
579
|
+
"line-style-or-repeat": "[ <line-style> | <repeat-line-style> ]",
|
|
548
580
|
"line-width": "<length [0,∞]> | thin | medium | thick",
|
|
581
|
+
"line-width-list": "[ <line-width-or-repeat> ]+",
|
|
582
|
+
"line-width-or-repeat": "[ <line-width> | <repeat-line-width> ]",
|
|
549
583
|
"linear-easing-function": "linear | <linear()>",
|
|
550
584
|
"linear-gradient-syntax": "[ [ <angle> | to <side-or-corner> ] || <color-interpolation-method> ]? , <color-stop-list>",
|
|
551
585
|
"linear-gradient()": "linear-gradient( [ <linear-gradient-syntax> ] )",
|
|
@@ -610,6 +644,10 @@
|
|
|
610
644
|
"ray()": "ray( [ <angle> && <ray-size>? && contain? && [ at <position> ]? ] )",
|
|
611
645
|
"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
646
|
"relative-control-point": "<coordinate-pair> [ from [ start | end | origin ] ]?",
|
|
647
|
+
"repeat-gap-rule": "repeat( [ <integer [1,∞]> ] , [ <gap-rule> ]# )",
|
|
648
|
+
"repeat-line-color": "repeat( [ <integer [1,∞]> ] , [ <color> ]+ )",
|
|
649
|
+
"repeat-line-style": "repeat( [ <integer [1,∞]> ] , [ <line-style> ]+ )",
|
|
650
|
+
"repeat-line-width": "repeat( [ <integer [1,∞]> ] , [ <line-width> ]+ )",
|
|
613
651
|
"repeat-style": "repeat-x | repeat-y | <repetition>{1,2}",
|
|
614
652
|
"repeating-conic-gradient()": "repeating-conic-gradient( [ <conic-gradient-syntax> ] )",
|
|
615
653
|
"repeating-linear-gradient()": "repeating-linear-gradient( [ <linear-gradient-syntax> ] )",
|
|
@@ -659,7 +697,7 @@
|
|
|
659
697
|
"syntax-string": "<string>",
|
|
660
698
|
"syntax-type-name": "angle | color | custom-ident | image | integer | length | length-percentage | number | percentage | resolution | string | time | url | transform-function",
|
|
661
699
|
"target-contrast": "<wcag2>",
|
|
662
|
-
"text-edge": "[ text |
|
|
700
|
+
"text-edge": "[ text | ideographic | ideographic-ink ] | [ text | ideographic | ideographic-ink | cap | ex ] [ text | ideographic | ideographic-ink | alphabetic ]",
|
|
663
701
|
"time-percentage": "[ <time> | <percentage> ]",
|
|
664
702
|
"toggle()": "toggle( <any-value># )",
|
|
665
703
|
"top": "<length-percentage> | auto",
|