@eslint/css-tree 4.0.2 → 4.0.4

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/dist/data.cjs CHANGED
@@ -638,10 +638,22 @@ module.exports = {
638
638
  "-moz-window-dragging": "drag|no-drag",
639
639
  "-moz-window-shadow": "default|menu|tooltip|sheet|none",
640
640
  "-webkit-appearance": "none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button",
641
- "-webkit-border-before": "<'border-width'>||<'border-style'>||<color>",
642
- "-webkit-border-before-color": "<color>",
643
- "-webkit-border-before-style": "<'border-style'>",
644
- "-webkit-border-before-width": "<'border-width'>",
641
+ "-webkit-border-after": "<'border-top'>",
642
+ "-webkit-border-after-color": "<'border-top-color'>",
643
+ "-webkit-border-after-style": "<'border-top-style'>",
644
+ "-webkit-border-after-width": "<'border-top-width'>",
645
+ "-webkit-border-before": "<'border-top'>",
646
+ "-webkit-border-before-color": "<'border-top-color'>",
647
+ "-webkit-border-before-style": "<'border-top-style'>",
648
+ "-webkit-border-before-width": "<'border-top-width'>",
649
+ "-webkit-border-end": "<'border-top'>",
650
+ "-webkit-border-end-color": "<'border-top-color'>",
651
+ "-webkit-border-end-style": "<'border-top-style'>",
652
+ "-webkit-border-end-width": "<'border-top-width'>",
653
+ "-webkit-border-start": "<'border-top'>",
654
+ "-webkit-border-start-color": "<'border-top-color'>",
655
+ "-webkit-border-start-style": "<'border-top-style'>",
656
+ "-webkit-border-start-width": "<'border-top-width'>",
645
657
  "-webkit-box-reflect": "[above|below|right|left]? <length>? <image>?",
646
658
  "-webkit-line-clamp": "none|<integer>",
647
659
  "-webkit-mask": "[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#",
@@ -710,13 +722,13 @@ module.exports = {
710
722
  "baseline-source": "auto|first|last",
711
723
  "block-size": "<'width'>",
712
724
  "border": "<line-width>||<line-style>||<color>",
713
- "border-block": "<'border-block-start'>",
725
+ "border-block": "<'border-top'>",
714
726
  "border-block-color": "<'border-top-color'>{1,2}",
715
- "border-block-end": "<'border-top-width'>||<'border-top-style'>||<color>",
727
+ "border-block-end": "<'border-top'>",
716
728
  "border-block-end-color": "<'border-top-color'>",
717
729
  "border-block-end-style": "<'border-top-style'>",
718
730
  "border-block-end-width": "<'border-top-width'>",
719
- "border-block-start": "<'border-top-width'>||<'border-top-style'>||<color>",
731
+ "border-block-start": "<'border-top'>",
720
732
  "border-block-start-color": "<'border-top-color'>",
721
733
  "border-block-start-style": "<'border-top-style'>",
722
734
  "border-block-start-width": "<'border-top-width'>",
@@ -738,13 +750,13 @@ module.exports = {
738
750
  "border-image-slice": "[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?",
739
751
  "border-image-source": "none|<image>",
740
752
  "border-image-width": "[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}",
741
- "border-inline": "<'border-block-start'>",
753
+ "border-inline": "<'border-top'>",
742
754
  "border-inline-color": "<'border-top-color'>{1,2}",
743
- "border-inline-end": "<'border-top-width'>||<'border-top-style'>||<color>",
755
+ "border-inline-end": "<'border-top'>",
744
756
  "border-inline-end-color": "<'border-top-color'>",
745
757
  "border-inline-end-style": "<'border-top-style'>",
746
758
  "border-inline-end-width": "<'border-top-width'>",
747
- "border-inline-start": "<'border-top-width'>||<'border-top-style'>||<color>",
759
+ "border-inline-start": "<'border-top'>",
748
760
  "border-inline-start-color": "<'border-top-color'>",
749
761
  "border-inline-start-style": "<'border-top-style'>",
750
762
  "border-inline-start-width": "<'border-top-width'>",
@@ -803,8 +815,8 @@ module.exports = {
803
815
  "column-height": "auto|<length [0,∞]>",
804
816
  "column-rule": "<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>",
805
817
  "column-rule-color": "<color>",
806
- "column-rule-style": "<'border-style'>",
807
- "column-rule-width": "<'border-width'>",
818
+ "column-rule-style": "<line-style>",
819
+ "column-rule-width": "<line-width>",
808
820
  "column-span": "none|all",
809
821
  "column-width": "auto|<length [0,∞]>",
810
822
  "column-wrap": "auto|nowrap|wrap",
@@ -1054,7 +1066,7 @@ module.exports = {
1054
1066
  "place-self": "<'align-self'> <'justify-self'>?",
1055
1067
  "pointer-events": "auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",
1056
1068
  "position": "static|relative|absolute|sticky|fixed|-webkit-sticky",
1057
- "position-anchor": "auto|none|<anchor-name>",
1069
+ "position-anchor": "normal|auto|none|<anchor-name>|match-parent",
1058
1070
  "position-area": "none|<position-area>",
1059
1071
  "position-try": "<'position-try-order'>? <'position-try-fallbacks'>",
1060
1072
  "position-try-fallbacks": "none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#",
@@ -1073,8 +1085,8 @@ module.exports = {
1073
1085
  "ruby-merge": "separate|collapse|auto",
1074
1086
  "ruby-overhang": "auto|none",
1075
1087
  "ruby-position": "[alternate||[over|under]]|inter-character",
1076
- "rx": "<length>|<percentage>",
1077
- "ry": "<length>|<percentage>",
1088
+ "rx": "<length-percentage>|auto",
1089
+ "ry": "<length-percentage>|auto",
1078
1090
  "scale": "none|[<number>|<percentage>]{1,3}",
1079
1091
  "scroll-behavior": "auto|smooth",
1080
1092
  "scroll-initial-target": "none|nearest",
@@ -1170,14 +1182,14 @@ module.exports = {
1170
1182
  "text-wrap-mode": "wrap|nowrap",
1171
1183
  "text-wrap-style": "auto|balance|stable|pretty",
1172
1184
  "timeline-scope": "none|<dashed-ident>#",
1173
- "timeline-trigger": "none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#",
1185
+ "timeline-trigger": "none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-activation-range'> ['/' <'timeline-trigger-active-range'>]?]#",
1186
+ "timeline-trigger-activation-range": "[<'timeline-trigger-activation-range-start'> <'timeline-trigger-activation-range-end'>?]#",
1187
+ "timeline-trigger-activation-range-end": "[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1188
+ "timeline-trigger-activation-range-start": "[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1189
+ "timeline-trigger-active-range": "[<'timeline-trigger-active-range-start'> <'timeline-trigger-active-range-end'>?]#",
1190
+ "timeline-trigger-active-range-end": "[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1191
+ "timeline-trigger-active-range-start": "[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1174
1192
  "timeline-trigger-name": "none|<dashed-ident>#",
1175
- "timeline-trigger-exit-range": "[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#",
1176
- "timeline-trigger-exit-range-end": "[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1177
- "timeline-trigger-exit-range-start": "[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1178
- "timeline-trigger-range": "[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#",
1179
- "timeline-trigger-range-end": "[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1180
- "timeline-trigger-range-start": "[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1181
1193
  "timeline-trigger-source": "<single-animation-timeline>#",
1182
1194
  "top": "auto|<length-percentage>|<anchor()>|<anchor-size()>",
1183
1195
  "touch-action": "auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",
package/dist/data.js CHANGED
@@ -638,10 +638,22 @@ export default {
638
638
  "-moz-window-dragging": "drag|no-drag",
639
639
  "-moz-window-shadow": "default|menu|tooltip|sheet|none",
640
640
  "-webkit-appearance": "none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button",
641
- "-webkit-border-before": "<'border-width'>||<'border-style'>||<color>",
642
- "-webkit-border-before-color": "<color>",
643
- "-webkit-border-before-style": "<'border-style'>",
644
- "-webkit-border-before-width": "<'border-width'>",
641
+ "-webkit-border-after": "<'border-top'>",
642
+ "-webkit-border-after-color": "<'border-top-color'>",
643
+ "-webkit-border-after-style": "<'border-top-style'>",
644
+ "-webkit-border-after-width": "<'border-top-width'>",
645
+ "-webkit-border-before": "<'border-top'>",
646
+ "-webkit-border-before-color": "<'border-top-color'>",
647
+ "-webkit-border-before-style": "<'border-top-style'>",
648
+ "-webkit-border-before-width": "<'border-top-width'>",
649
+ "-webkit-border-end": "<'border-top'>",
650
+ "-webkit-border-end-color": "<'border-top-color'>",
651
+ "-webkit-border-end-style": "<'border-top-style'>",
652
+ "-webkit-border-end-width": "<'border-top-width'>",
653
+ "-webkit-border-start": "<'border-top'>",
654
+ "-webkit-border-start-color": "<'border-top-color'>",
655
+ "-webkit-border-start-style": "<'border-top-style'>",
656
+ "-webkit-border-start-width": "<'border-top-width'>",
645
657
  "-webkit-box-reflect": "[above|below|right|left]? <length>? <image>?",
646
658
  "-webkit-line-clamp": "none|<integer>",
647
659
  "-webkit-mask": "[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#",
@@ -710,13 +722,13 @@ export default {
710
722
  "baseline-source": "auto|first|last",
711
723
  "block-size": "<'width'>",
712
724
  "border": "<line-width>||<line-style>||<color>",
713
- "border-block": "<'border-block-start'>",
725
+ "border-block": "<'border-top'>",
714
726
  "border-block-color": "<'border-top-color'>{1,2}",
715
- "border-block-end": "<'border-top-width'>||<'border-top-style'>||<color>",
727
+ "border-block-end": "<'border-top'>",
716
728
  "border-block-end-color": "<'border-top-color'>",
717
729
  "border-block-end-style": "<'border-top-style'>",
718
730
  "border-block-end-width": "<'border-top-width'>",
719
- "border-block-start": "<'border-top-width'>||<'border-top-style'>||<color>",
731
+ "border-block-start": "<'border-top'>",
720
732
  "border-block-start-color": "<'border-top-color'>",
721
733
  "border-block-start-style": "<'border-top-style'>",
722
734
  "border-block-start-width": "<'border-top-width'>",
@@ -738,13 +750,13 @@ export default {
738
750
  "border-image-slice": "[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?",
739
751
  "border-image-source": "none|<image>",
740
752
  "border-image-width": "[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}",
741
- "border-inline": "<'border-block-start'>",
753
+ "border-inline": "<'border-top'>",
742
754
  "border-inline-color": "<'border-top-color'>{1,2}",
743
- "border-inline-end": "<'border-top-width'>||<'border-top-style'>||<color>",
755
+ "border-inline-end": "<'border-top'>",
744
756
  "border-inline-end-color": "<'border-top-color'>",
745
757
  "border-inline-end-style": "<'border-top-style'>",
746
758
  "border-inline-end-width": "<'border-top-width'>",
747
- "border-inline-start": "<'border-top-width'>||<'border-top-style'>||<color>",
759
+ "border-inline-start": "<'border-top'>",
748
760
  "border-inline-start-color": "<'border-top-color'>",
749
761
  "border-inline-start-style": "<'border-top-style'>",
750
762
  "border-inline-start-width": "<'border-top-width'>",
@@ -803,8 +815,8 @@ export default {
803
815
  "column-height": "auto|<length [0,∞]>",
804
816
  "column-rule": "<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>",
805
817
  "column-rule-color": "<color>",
806
- "column-rule-style": "<'border-style'>",
807
- "column-rule-width": "<'border-width'>",
818
+ "column-rule-style": "<line-style>",
819
+ "column-rule-width": "<line-width>",
808
820
  "column-span": "none|all",
809
821
  "column-width": "auto|<length [0,∞]>",
810
822
  "column-wrap": "auto|nowrap|wrap",
@@ -1054,7 +1066,7 @@ export default {
1054
1066
  "place-self": "<'align-self'> <'justify-self'>?",
1055
1067
  "pointer-events": "auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",
1056
1068
  "position": "static|relative|absolute|sticky|fixed|-webkit-sticky",
1057
- "position-anchor": "auto|none|<anchor-name>",
1069
+ "position-anchor": "normal|auto|none|<anchor-name>|match-parent",
1058
1070
  "position-area": "none|<position-area>",
1059
1071
  "position-try": "<'position-try-order'>? <'position-try-fallbacks'>",
1060
1072
  "position-try-fallbacks": "none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#",
@@ -1073,8 +1085,8 @@ export default {
1073
1085
  "ruby-merge": "separate|collapse|auto",
1074
1086
  "ruby-overhang": "auto|none",
1075
1087
  "ruby-position": "[alternate||[over|under]]|inter-character",
1076
- "rx": "<length>|<percentage>",
1077
- "ry": "<length>|<percentage>",
1088
+ "rx": "<length-percentage>|auto",
1089
+ "ry": "<length-percentage>|auto",
1078
1090
  "scale": "none|[<number>|<percentage>]{1,3}",
1079
1091
  "scroll-behavior": "auto|smooth",
1080
1092
  "scroll-initial-target": "none|nearest",
@@ -1170,14 +1182,14 @@ export default {
1170
1182
  "text-wrap-mode": "wrap|nowrap",
1171
1183
  "text-wrap-style": "auto|balance|stable|pretty",
1172
1184
  "timeline-scope": "none|<dashed-ident>#",
1173
- "timeline-trigger": "none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#",
1185
+ "timeline-trigger": "none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-activation-range'> ['/' <'timeline-trigger-active-range'>]?]#",
1186
+ "timeline-trigger-activation-range": "[<'timeline-trigger-activation-range-start'> <'timeline-trigger-activation-range-end'>?]#",
1187
+ "timeline-trigger-activation-range-end": "[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1188
+ "timeline-trigger-activation-range-start": "[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1189
+ "timeline-trigger-active-range": "[<'timeline-trigger-active-range-start'> <'timeline-trigger-active-range-end'>?]#",
1190
+ "timeline-trigger-active-range-end": "[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1191
+ "timeline-trigger-active-range-start": "[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1174
1192
  "timeline-trigger-name": "none|<dashed-ident>#",
1175
- "timeline-trigger-exit-range": "[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#",
1176
- "timeline-trigger-exit-range-end": "[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1177
- "timeline-trigger-exit-range-start": "[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1178
- "timeline-trigger-range": "[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#",
1179
- "timeline-trigger-range-end": "[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1180
- "timeline-trigger-range-start": "[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#",
1181
1193
  "timeline-trigger-source": "<single-animation-timeline>#",
1182
1194
  "top": "auto|<length-percentage>|<anchor()>|<anchor-size()>",
1183
1195
  "touch-action": "auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",
package/dist/version.cjs CHANGED
@@ -1 +1 @@
1
- module.exports = "4.0.2";
1
+ module.exports = "4.0.4";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = "4.0.2";
1
+ export const version = "4.0.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint/css-tree",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "description": "A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations",
5
5
  "author": "Roman Dvornov <rdvornov@gmail.com> (https://github.com/lahmatiy)",
6
6
  "license": "MIT",
@@ -107,7 +107,7 @@
107
107
  "test:types": "tsc -p tests/types/tsconfig.json"
108
108
  },
109
109
  "dependencies": {
110
- "mdn-data": "2.27.1",
110
+ "mdn-data": "2.28.1",
111
111
  "source-map-js": "^1.2.1"
112
112
  },
113
113
  "devDependencies": {