@yahoo/uds-v5-wip 1.61.0 → 1.62.0

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.
Files changed (117) hide show
  1. package/dist/config/dist/AssetGroup.d.ts +75 -0
  2. package/dist/config/dist/AssetGroup.js +114 -0
  3. package/dist/config/dist/Component.d.ts +309 -0
  4. package/dist/config/dist/Component.js +897 -0
  5. package/dist/config/dist/ComponentGroup.d.ts +21 -0
  6. package/dist/config/dist/ComponentGroup.js +46 -0
  7. package/dist/config/dist/CompositeStyle.d.ts +28 -0
  8. package/dist/config/dist/CompositeStyle.js +52 -0
  9. package/dist/config/dist/Config.d.ts +422 -0
  10. package/dist/config/dist/Config.js +1426 -0
  11. package/dist/config/dist/Mode.d.ts +42 -0
  12. package/dist/config/dist/Mode.js +81 -0
  13. package/dist/config/dist/Modifier.d.ts +52 -0
  14. package/dist/config/dist/Modifier.js +97 -0
  15. package/dist/config/dist/MotionDef.d.ts +50 -0
  16. package/dist/config/dist/MotionDef.js +97 -0
  17. package/dist/config/dist/Props.d.ts +235 -126
  18. package/dist/config/dist/Provider.d.ts +21 -0
  19. package/dist/config/dist/Provider.js +14 -0
  20. package/dist/config/dist/StyleProp.d.ts +113 -0
  21. package/dist/config/dist/StyleProp.js +197 -0
  22. package/dist/config/dist/Token.d.ts +56 -0
  23. package/dist/config/dist/Token.js +112 -0
  24. package/dist/config/dist/TokenGroup.d.ts +33 -0
  25. package/dist/config/dist/TokenGroup.js +68 -0
  26. package/dist/config/dist/asset-kind.d.ts +56 -0
  27. package/dist/config/dist/asset-kind.js +29 -0
  28. package/dist/config/dist/brands.d.ts +31 -0
  29. package/dist/config/dist/brands.js +20 -0
  30. package/dist/config/dist/captureCallerPath.d.ts +49 -0
  31. package/dist/config/dist/captureCallerPath.js +95 -0
  32. package/dist/config/dist/colorExpressions.d.ts +132 -0
  33. package/dist/config/dist/colorExpressions.js +148 -0
  34. package/dist/config/dist/defineAssetGroup.d.ts +158 -0
  35. package/dist/config/dist/defineAssetGroup.js +263 -0
  36. package/dist/config/dist/defineProvider.d.ts +30 -0
  37. package/dist/config/dist/defineProvider.js +60 -0
  38. package/dist/config/dist/element-marker.d.ts +55 -0
  39. package/dist/config/dist/element-marker.js +113 -0
  40. package/dist/config/dist/entity-utils.d.ts +27 -0
  41. package/dist/config/dist/entity-utils.js +105 -0
  42. package/dist/config/dist/factories.d.ts +707 -0
  43. package/dist/config/dist/factories.js +393 -0
  44. package/dist/config/dist/foreign-component-name.js +42 -0
  45. package/dist/config/dist/index.d.ts +30 -21
  46. package/dist/config/dist/index.js +26 -14
  47. package/dist/config/dist/interpolate.d.ts +21 -0
  48. package/dist/config/dist/interpolate.js +10 -0
  49. package/dist/config/dist/markers.d.ts +218 -0
  50. package/dist/config/dist/markers.js +67 -0
  51. package/dist/config/dist/refs.d.ts +143 -69
  52. package/dist/config/dist/refs.js +95 -113
  53. package/dist/config/dist/token-override-rows.d.ts +67 -0
  54. package/dist/config/dist/token-override-rows.js +223 -0
  55. package/dist/config/dist/tokenValueType.js +138 -0
  56. package/dist/config/dist/types/css-properties.d.ts +132 -122
  57. package/dist/config/dist/types/css-property-keywords.d.ts +157 -0
  58. package/dist/config/dist/types/css-property-keywords.js +616 -0
  59. package/dist/config/dist/types/css-values.d.ts +18 -16
  60. package/dist/config/dist/types.d.ts +688 -66
  61. package/dist/config/dist/units.d.ts +15 -0
  62. package/dist/config/dist/units.js +16 -0
  63. package/dist/config.d.ts +31 -22
  64. package/dist/config.js +28 -16
  65. package/dist/loader/dist/loader/artifacts.js +26 -9
  66. package/dist/loader/dist/loader.d.ts +11 -23
  67. package/dist/loader/dist/loader.js +54 -99
  68. package/dist/loader/dist/next.js +3 -3
  69. package/dist/loader/dist/transform-runner.js +1 -8
  70. package/dist/loader/dist/unplugin.d.ts +2 -2
  71. package/dist/loader/dist/unplugin.js +2 -2
  72. package/dist/tsconfig.tsbuildinfo +1 -1
  73. package/dist/utils/dist/index.js +1 -0
  74. package/dist/utils/dist/motion-utils/resolveMotionState.d.ts +35 -0
  75. package/dist/utils/dist/motion-utils/resolveMotionState.js +33 -0
  76. package/dist/utils/dist/string-utils/componentClassName.d.ts +41 -8
  77. package/dist/utils/dist/string-utils/componentClassName.js +48 -11
  78. package/dist/utils.d.ts +3 -2
  79. package/dist/utils.js +3 -2
  80. package/package.json +3 -3
  81. package/dist/codegen/dist/loader/getLoaderArtifacts.js +0 -2
  82. package/dist/config/dist/bindRender.d.ts +0 -16
  83. package/dist/config/dist/bindRender.js +0 -310
  84. package/dist/config/dist/className.d.ts +0 -54
  85. package/dist/config/dist/className.js +0 -77
  86. package/dist/config/dist/component-config.d.ts +0 -862
  87. package/dist/config/dist/component-config.js +0 -163
  88. package/dist/config/dist/component-refs.d.ts +0 -121
  89. package/dist/config/dist/createConfig.d.ts +0 -456
  90. package/dist/config/dist/createConfig.js +0 -503
  91. package/dist/config/dist/createStyler.d.ts +0 -35
  92. package/dist/config/dist/createStyler.js +0 -93
  93. package/dist/config/dist/defineComponent.d.ts +0 -317
  94. package/dist/config/dist/defineComponent.js +0 -264
  95. package/dist/config/dist/defineCompositeStyle.d.ts +0 -93
  96. package/dist/config/dist/defineCompositeStyle.js +0 -18
  97. package/dist/config/dist/defineMotionConfig.d.ts +0 -152
  98. package/dist/config/dist/definePreview.d.ts +0 -45
  99. package/dist/config/dist/definePreview.js +0 -35
  100. package/dist/config/dist/defineStyleProp.d.ts +0 -289
  101. package/dist/config/dist/defineStyleProp.js +0 -61
  102. package/dist/config/dist/merge-utils.js +0 -51
  103. package/dist/config/dist/propertyAcceptedTypes.d.ts +0 -19
  104. package/dist/config/dist/propertyAcceptedTypes.js +0 -220
  105. package/dist/config/dist/resolveCompoundProps.d.ts +0 -65
  106. package/dist/config/dist/resolveCompoundProps.js +0 -120
  107. package/dist/config/dist/resolveStyleProp.d.ts +0 -157
  108. package/dist/config/dist/resolveStyleProp.js +0 -260
  109. package/dist/config/dist/runtime-registry.js +0 -37
  110. package/dist/config/dist/serialize.d.ts +0 -47
  111. package/dist/config/dist/serialize.js +0 -111
  112. package/dist/config/dist/sniffTokenType.d.ts +0 -7
  113. package/dist/config/dist/sniffTokenType.js +0 -67
  114. package/dist/config/dist/style-prop-runtime.d.ts +0 -75
  115. package/dist/config/dist/style-prop-runtime.js +0 -390
  116. package/dist/loader/dist/loader/internal-meta.js +0 -59
  117. package/dist/loader/dist/loader/lower-new-api-primitive.js +0 -252
@@ -1,4 +1,5 @@
1
1
  import { CssValue, CssVarRef } from "./css-values.js";
2
+ import { CSS_PROPERTY_KEYWORDS } from "./css-property-keywords.js";
2
3
 
3
4
  //#region ../config/dist/types/css-properties.d.ts
4
5
  //#region src/types/css-properties.d.ts
@@ -11,7 +12,6 @@ type TimeOrVar = CssValue['time'] | CssVarRef;
11
12
  type AngleOrVar = CssValue['angle'] | CssVarRef;
12
13
  type IntrinsicSize = 'auto' | 'min-content' | 'max-content' | 'fit-content';
13
14
  type GlobalKeyword = 'inherit' | 'initial' | 'unset' | 'revert';
14
- type BorderStyleKeyword = 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
15
15
  type CssPropertyValues = {
16
16
  gap: LengthPercentageOrVar;
17
17
  'column-gap': LengthPercentageOrVar;
@@ -25,22 +25,26 @@ type CssPropertyValues = {
25
25
  'padding-inline': LengthPercentageOrVar;
26
26
  'padding-inline-start': LengthPercentageOrVar;
27
27
  'padding-inline-end': LengthPercentageOrVar;
28
- margin: LengthPercentageOrVar | 'auto';
29
- 'margin-top': LengthPercentageOrVar | 'auto';
30
- 'margin-right': LengthPercentageOrVar | 'auto';
31
- 'margin-bottom': LengthPercentageOrVar | 'auto';
32
- 'margin-left': LengthPercentageOrVar | 'auto';
33
- 'margin-block': LengthPercentageOrVar | 'auto';
34
- 'margin-inline': LengthPercentageOrVar | 'auto';
35
- 'margin-inline-start': LengthPercentageOrVar | 'auto';
36
- 'margin-inline-end': LengthPercentageOrVar | 'auto';
37
- top: LengthPercentageOrVar | 'auto';
38
- right: LengthPercentageOrVar | 'auto';
39
- bottom: LengthPercentageOrVar | 'auto';
40
- left: LengthPercentageOrVar | 'auto';
41
- inset: LengthPercentageOrVar | 'auto';
42
- 'inset-block': LengthPercentageOrVar | 'auto';
43
- 'inset-inline': LengthPercentageOrVar | 'auto';
28
+ margin: LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['margin'][number];
29
+ 'margin-top': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['margin-top'][number];
30
+ 'margin-right': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['margin-right'][number];
31
+ 'margin-bottom': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['margin-bottom'][number];
32
+ 'margin-left': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['margin-left'][number];
33
+ 'margin-block': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['margin-block'][number];
34
+ 'margin-inline': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['margin-inline'][number];
35
+ 'margin-inline-start': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['margin-inline-start'][number];
36
+ 'margin-inline-end': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['margin-inline-end'][number];
37
+ top: LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['top'][number];
38
+ right: LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['right'][number];
39
+ bottom: LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['bottom'][number];
40
+ left: LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['left'][number];
41
+ inset: LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['inset'][number];
42
+ 'inset-block': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['inset-block'][number];
43
+ 'inset-inline': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['inset-inline'][number];
44
+ 'inset-inline-start': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['inset-inline-start'][number];
45
+ 'inset-inline-end': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['inset-inline-end'][number];
46
+ 'inset-block-start': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['inset-block-start'][number];
47
+ 'inset-block-end': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['inset-block-end'][number];
44
48
  'scroll-margin': LengthPercentageOrVar;
45
49
  'scroll-margin-top': LengthPercentageOrVar;
46
50
  'scroll-margin-bottom': LengthPercentageOrVar;
@@ -58,19 +62,19 @@ type CssPropertyValues = {
58
62
  width: LengthPercentageOrVar | IntrinsicSize;
59
63
  height: LengthPercentageOrVar | IntrinsicSize;
60
64
  'min-width': LengthPercentageOrVar | IntrinsicSize;
61
- 'max-width': LengthPercentageOrVar | IntrinsicSize | 'none';
65
+ 'max-width': LengthPercentageOrVar | IntrinsicSize | (typeof CSS_PROPERTY_KEYWORDS)['max-width'][number];
62
66
  'min-height': LengthPercentageOrVar | IntrinsicSize;
63
- 'max-height': LengthPercentageOrVar | IntrinsicSize | 'none';
64
- 'border-width': LengthOrVar | 'thin' | 'medium' | 'thick';
65
- 'border-top-width': LengthOrVar | 'thin' | 'medium' | 'thick';
66
- 'border-right-width': LengthOrVar | 'thin' | 'medium' | 'thick';
67
- 'border-bottom-width': LengthOrVar | 'thin' | 'medium' | 'thick';
68
- 'border-left-width': LengthOrVar | 'thin' | 'medium' | 'thick';
69
- 'border-block-width': LengthOrVar | 'thin' | 'medium' | 'thick';
70
- 'border-inline-width': LengthOrVar | 'thin' | 'medium' | 'thick';
71
- 'border-inline-start-width': LengthOrVar | 'thin' | 'medium' | 'thick';
72
- 'border-inline-end-width': LengthOrVar | 'thin' | 'medium' | 'thick';
73
- 'outline-width': LengthOrVar | 'thin' | 'medium' | 'thick';
67
+ 'max-height': LengthPercentageOrVar | IntrinsicSize | (typeof CSS_PROPERTY_KEYWORDS)['max-height'][number];
68
+ 'border-width': LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['border-width'][number];
69
+ 'border-top-width': LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['border-top-width'][number];
70
+ 'border-right-width': LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['border-right-width'][number];
71
+ 'border-bottom-width': LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['border-bottom-width'][number];
72
+ 'border-left-width': LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['border-left-width'][number];
73
+ 'border-block-width': LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['border-block-width'][number];
74
+ 'border-inline-width': LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['border-inline-width'][number];
75
+ 'border-inline-start-width': LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['border-inline-start-width'][number];
76
+ 'border-inline-end-width': LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['border-inline-end-width'][number];
77
+ 'outline-width': LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['outline-width'][number];
74
78
  'outline-offset': LengthOrVar;
75
79
  'border-spacing': LengthOrVar;
76
80
  'border-radius': LengthPercentageOrVar;
@@ -82,13 +86,18 @@ type CssPropertyValues = {
82
86
  'border-start-end-radius': LengthPercentageOrVar;
83
87
  'border-end-start-radius': LengthPercentageOrVar;
84
88
  'border-end-end-radius': LengthPercentageOrVar;
85
- 'border-style': BorderStyleKeyword | CssVarRef;
86
- 'outline-style': BorderStyleKeyword | 'auto' | CssVarRef;
87
- 'text-decoration-style': 'solid' | 'double' | 'dotted' | 'dashed' | 'wavy' | CssVarRef;
88
- 'text-decoration-thickness': LengthPercentageOrVar | 'auto' | 'from-font';
89
- 'text-underline-offset': LengthOrVar | 'auto';
89
+ 'border-style': (typeof CSS_PROPERTY_KEYWORDS)['border-style'][number] | CssVarRef;
90
+ 'border-top-style': (typeof CSS_PROPERTY_KEYWORDS)['border-top-style'][number] | CssVarRef;
91
+ 'border-bottom-style': (typeof CSS_PROPERTY_KEYWORDS)['border-bottom-style'][number] | CssVarRef;
92
+ 'border-inline-start-style': (typeof CSS_PROPERTY_KEYWORDS)['border-inline-start-style'][number] | CssVarRef;
93
+ 'border-inline-end-style': (typeof CSS_PROPERTY_KEYWORDS)['border-inline-end-style'][number] | CssVarRef;
94
+ 'outline-style': (typeof CSS_PROPERTY_KEYWORDS)['outline-style'][number] | CssVarRef;
95
+ 'text-decoration-style': (typeof CSS_PROPERTY_KEYWORDS)['text-decoration-style'][number] | CssVarRef;
96
+ 'text-decoration-thickness': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['text-decoration-thickness'][number];
97
+ 'text-underline-offset': LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['text-underline-offset'][number];
90
98
  color: ColorOrVar;
91
99
  'background-color': ColorOrVar;
100
+ 'background-image': string;
92
101
  'border-color': ColorOrVar;
93
102
  'border-top-color': ColorOrVar;
94
103
  'border-right-color': ColorOrVar;
@@ -98,125 +107,126 @@ type CssPropertyValues = {
98
107
  'border-inline-color': ColorOrVar;
99
108
  'border-inline-start-color': ColorOrVar;
100
109
  'border-inline-end-color': ColorOrVar;
101
- 'outline-color': ColorOrVar | 'invert';
110
+ 'outline-color': ColorOrVar | (typeof CSS_PROPERTY_KEYWORDS)['outline-color'][number];
102
111
  'text-decoration-color': ColorOrVar;
103
- 'caret-color': ColorOrVar | 'auto';
104
- fill: ColorOrVar | 'none' | 'context-fill' | 'context-stroke';
105
- stroke: ColorOrVar | 'none' | 'context-fill' | 'context-stroke';
112
+ 'caret-color': ColorOrVar | (typeof CSS_PROPERTY_KEYWORDS)['caret-color'][number];
113
+ fill: ColorOrVar | (typeof CSS_PROPERTY_KEYWORDS)['fill'][number];
114
+ stroke: ColorOrVar | (typeof CSS_PROPERTY_KEYWORDS)['stroke'][number];
106
115
  'stroke-width': LengthPercentageOrVar | CssValue['number'];
107
- 'scrollbar-color': ColorOrVar | 'auto' | `${string} ${string}`;
108
- 'font-size': LengthPercentageOrVar | 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' | 'smaller' | 'larger';
116
+ 'scrollbar-color': ColorOrVar | (typeof CSS_PROPERTY_KEYWORDS)['scrollbar-color'][number] | `${string} ${string}`;
117
+ 'font-size': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['font-size'][number];
109
118
  'font-weight': CssValue['font-weight'] | CssVarRef;
110
119
  'font-family': CssValue['font-family'] | CssVarRef;
111
- 'font-style': 'normal' | 'italic' | 'oblique' | `oblique ${string}` | CssVarRef;
112
- 'font-stretch': CssValue['percentage'] | 'normal' | 'ultra-condensed' | 'extra-condensed' | 'condensed' | 'semi-condensed' | 'semi-expanded' | 'expanded' | 'extra-expanded' | 'ultra-expanded' | CssVarRef;
120
+ 'font-style': (typeof CSS_PROPERTY_KEYWORDS)['font-style'][number] | `oblique ${string}` | CssVarRef;
121
+ 'font-stretch': CssValue['percentage'] | (typeof CSS_PROPERTY_KEYWORDS)['font-stretch'][number] | CssVarRef;
113
122
  'font-variant-numeric': string | CssVarRef;
114
- 'line-height': LengthPercentageOrVar | NumberOrVar | 'normal';
115
- 'letter-spacing': LengthOrVar | 'normal';
116
- 'text-align': 'left' | 'right' | 'center' | 'justify' | 'start' | 'end' | CssVarRef;
117
- 'text-transform': 'none' | 'capitalize' | 'uppercase' | 'lowercase' | 'full-width' | 'full-size-kana' | CssVarRef;
123
+ 'line-height': LengthPercentageOrVar | NumberOrVar | (typeof CSS_PROPERTY_KEYWORDS)['line-height'][number];
124
+ 'letter-spacing': LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['letter-spacing'][number];
125
+ 'text-align': (typeof CSS_PROPERTY_KEYWORDS)['text-align'][number] | CssVarRef;
126
+ 'text-transform': (typeof CSS_PROPERTY_KEYWORDS)['text-transform'][number] | CssVarRef;
118
127
  'text-indent': LengthPercentageOrVar;
119
- 'text-wrap': 'wrap' | 'nowrap' | 'balance' | 'pretty' | 'stable' | CssVarRef;
120
- 'text-overflow': 'clip' | 'ellipsis' | string;
121
- 'text-decoration-line': 'none' | 'underline' | 'overline' | 'line-through' | 'blink' | string | CssVarRef;
122
- 'text-shadow': CssValue['shadow'] | 'none' | CssVarRef;
123
- 'white-space': 'normal' | 'nowrap' | 'pre' | 'pre-wrap' | 'pre-line' | 'break-spaces' | CssVarRef;
124
- 'word-break': 'normal' | 'break-all' | 'keep-all' | 'break-word' | CssVarRef;
125
- 'overflow-wrap': 'normal' | 'break-word' | 'anywhere' | CssVarRef;
126
- hyphens: 'none' | 'manual' | 'auto' | CssVarRef;
128
+ 'text-wrap': (typeof CSS_PROPERTY_KEYWORDS)['text-wrap'][number] | CssVarRef;
129
+ 'text-overflow': (typeof CSS_PROPERTY_KEYWORDS)['text-overflow'][number] | string;
130
+ 'text-decoration-line': (typeof CSS_PROPERTY_KEYWORDS)['text-decoration-line'][number] | string | CssVarRef;
131
+ 'text-shadow': CssValue['shadow'] | (typeof CSS_PROPERTY_KEYWORDS)['text-shadow'][number] | CssVarRef;
132
+ 'white-space': (typeof CSS_PROPERTY_KEYWORDS)['white-space'][number] | CssVarRef;
133
+ 'word-break': (typeof CSS_PROPERTY_KEYWORDS)['word-break'][number] | CssVarRef;
134
+ 'overflow-wrap': (typeof CSS_PROPERTY_KEYWORDS)['overflow-wrap'][number] | CssVarRef;
135
+ hyphens: (typeof CSS_PROPERTY_KEYWORDS)['hyphens'][number] | CssVarRef;
127
136
  'list-style-type': string | CssVarRef;
128
- 'list-style-image': CssValue['url'] | 'none' | CssVarRef;
129
- 'list-style-position': 'inside' | 'outside' | CssVarRef;
130
- 'vertical-align': LengthPercentageOrVar | 'baseline' | 'sub' | 'super' | 'text-top' | 'text-bottom' | 'middle' | 'top' | 'bottom';
131
- '-webkit-font-smoothing': 'auto' | 'none' | 'antialiased' | 'subpixel-antialiased';
132
- '-webkit-line-clamp': IntegerOrVar | 'none';
133
- display: 'block' | 'inline' | 'inline-block' | 'flex' | 'inline-flex' | 'grid' | 'inline-grid' | 'flow-root' | 'none' | 'contents' | 'table' | 'inline-table' | 'table-row-group' | 'table-header-group' | 'table-footer-group' | 'table-row' | 'table-cell' | 'table-column-group' | 'table-column' | 'table-caption' | 'list-item' | CssVarRef;
134
- visibility: 'visible' | 'hidden' | 'collapse' | CssVarRef;
135
- isolation: 'auto' | 'isolate' | CssVarRef;
136
- position: 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky' | CssVarRef;
137
- 'box-sizing': 'content-box' | 'border-box' | CssVarRef;
138
- 'container-type': 'normal' | 'size' | 'inline-size' | CssVarRef;
139
- columns: IntegerOrVar | LengthOrVar | 'auto' | `${number} ${string}`;
140
- flex: string | NumberOrVar | 'none' | 'auto' | 'initial';
141
- 'flex-direction': 'row' | 'row-reverse' | 'column' | 'column-reverse' | CssVarRef;
142
- 'flex-wrap': 'nowrap' | 'wrap' | 'wrap-reverse' | CssVarRef;
137
+ 'list-style-image': CssValue['url'] | (typeof CSS_PROPERTY_KEYWORDS)['list-style-image'][number] | CssVarRef;
138
+ 'list-style-position': (typeof CSS_PROPERTY_KEYWORDS)['list-style-position'][number] | CssVarRef;
139
+ 'vertical-align': LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['vertical-align'][number];
140
+ '-webkit-font-smoothing': (typeof CSS_PROPERTY_KEYWORDS)['-webkit-font-smoothing'][number];
141
+ '-webkit-line-clamp': IntegerOrVar | (typeof CSS_PROPERTY_KEYWORDS)['-webkit-line-clamp'][number];
142
+ display: (typeof CSS_PROPERTY_KEYWORDS)['display'][number] | CssVarRef;
143
+ visibility: (typeof CSS_PROPERTY_KEYWORDS)['visibility'][number] | CssVarRef;
144
+ isolation: (typeof CSS_PROPERTY_KEYWORDS)['isolation'][number] | CssVarRef;
145
+ position: (typeof CSS_PROPERTY_KEYWORDS)['position'][number] | CssVarRef;
146
+ 'box-sizing': (typeof CSS_PROPERTY_KEYWORDS)['box-sizing'][number] | CssVarRef;
147
+ 'container-type': (typeof CSS_PROPERTY_KEYWORDS)['container-type'][number] | CssVarRef;
148
+ columns: IntegerOrVar | LengthOrVar | (typeof CSS_PROPERTY_KEYWORDS)['columns'][number] | `${number} ${string}`;
149
+ flex: string | NumberOrVar | (typeof CSS_PROPERTY_KEYWORDS)['flex'][number];
150
+ 'flex-direction': (typeof CSS_PROPERTY_KEYWORDS)['flex-direction'][number] | CssVarRef;
151
+ 'flex-wrap': (typeof CSS_PROPERTY_KEYWORDS)['flex-wrap'][number] | CssVarRef;
143
152
  'flex-grow': NumberOrVar;
144
153
  'flex-shrink': NumberOrVar;
145
- 'justify-content': 'flex-start' | 'flex-end' | 'start' | 'end' | 'center' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'normal' | 'left' | 'right' | CssVarRef;
146
- 'align-items': 'normal' | 'stretch' | 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'baseline' | `first baseline` | `last baseline` | CssVarRef;
147
- 'align-content': 'normal' | 'start' | 'end' | 'center' | 'flex-start' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'baseline' | CssVarRef;
148
- 'align-self': 'auto' | 'normal' | 'stretch' | 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'baseline' | CssVarRef;
154
+ 'flex-basis': LengthPercentageOrVar | IntrinsicSize | (typeof CSS_PROPERTY_KEYWORDS)['flex-basis'][number];
155
+ 'justify-content': (typeof CSS_PROPERTY_KEYWORDS)['justify-content'][number] | CssVarRef;
156
+ 'align-items': (typeof CSS_PROPERTY_KEYWORDS)['align-items'][number] | CssVarRef;
157
+ 'align-content': (typeof CSS_PROPERTY_KEYWORDS)['align-content'][number] | CssVarRef;
158
+ 'align-self': (typeof CSS_PROPERTY_KEYWORDS)['align-self'][number] | CssVarRef;
149
159
  'place-content': string | CssVarRef;
150
160
  'place-items': string | CssVarRef;
151
161
  'place-self': string | CssVarRef;
152
162
  order: IntegerOrVar;
153
- 'grid-template-columns': string | 'none' | CssVarRef;
154
- 'grid-template-rows': string | 'none' | CssVarRef;
155
- 'grid-column': string | 'auto' | CssVarRef;
156
- 'grid-column-start': string | 'auto' | CssVarRef;
157
- 'grid-column-end': string | 'auto' | CssVarRef;
158
- 'grid-row': string | 'auto' | CssVarRef;
159
- 'grid-row-start': string | 'auto' | CssVarRef;
160
- 'grid-row-end': string | 'auto' | CssVarRef;
161
- transform: string | 'none' | CssVarRef;
163
+ 'grid-template-columns': string | (typeof CSS_PROPERTY_KEYWORDS)['grid-template-columns'][number] | CssVarRef;
164
+ 'grid-template-rows': string | (typeof CSS_PROPERTY_KEYWORDS)['grid-template-rows'][number] | CssVarRef;
165
+ 'grid-column': string | (typeof CSS_PROPERTY_KEYWORDS)['grid-column'][number] | CssVarRef;
166
+ 'grid-column-start': string | (typeof CSS_PROPERTY_KEYWORDS)['grid-column-start'][number] | CssVarRef;
167
+ 'grid-column-end': string | (typeof CSS_PROPERTY_KEYWORDS)['grid-column-end'][number] | CssVarRef;
168
+ 'grid-row': string | (typeof CSS_PROPERTY_KEYWORDS)['grid-row'][number] | CssVarRef;
169
+ 'grid-row-start': string | (typeof CSS_PROPERTY_KEYWORDS)['grid-row-start'][number] | CssVarRef;
170
+ 'grid-row-end': string | (typeof CSS_PROPERTY_KEYWORDS)['grid-row-end'][number] | CssVarRef;
171
+ transform: string | (typeof CSS_PROPERTY_KEYWORDS)['transform'][number] | CssVarRef;
162
172
  'transform-origin': string | CssVarRef;
163
- rotate: AngleOrVar | 'none' | `${number}` | `${string} ${string}`;
164
- scale: NumberOrVar | 'none' | `${number} ${number}` | `${number} ${number} ${number}`;
165
- translate: LengthPercentageOrVar | 'none' | `${string} ${string}` | `${string} ${string} ${string}`;
166
- transition: string | 'none' | CssVarRef;
167
- 'transition-property': string | 'none' | 'all' | CssVarRef;
173
+ rotate: AngleOrVar | (typeof CSS_PROPERTY_KEYWORDS)['rotate'][number] | `${number}` | `${string} ${string}`;
174
+ scale: NumberOrVar | (typeof CSS_PROPERTY_KEYWORDS)['scale'][number] | `${number} ${number}` | `${number} ${number} ${number}`;
175
+ translate: LengthPercentageOrVar | (typeof CSS_PROPERTY_KEYWORDS)['translate'][number] | `${string} ${string}` | `${string} ${string} ${string}`;
176
+ transition: string | (typeof CSS_PROPERTY_KEYWORDS)['transition'][number] | CssVarRef;
177
+ 'transition-property': string | (typeof CSS_PROPERTY_KEYWORDS)['transition-property'][number] | CssVarRef;
168
178
  'transition-duration': TimeOrVar;
169
179
  'transition-delay': TimeOrVar;
170
180
  'transition-timing-function': CssValue['easing-function'] | CssVarRef;
171
- 'transition-behavior': 'normal' | 'allow-discrete' | CssVarRef;
172
- animation: string | 'none' | CssVarRef;
181
+ 'transition-behavior': (typeof CSS_PROPERTY_KEYWORDS)['transition-behavior'][number] | CssVarRef;
182
+ animation: string | (typeof CSS_PROPERTY_KEYWORDS)['animation'][number] | CssVarRef;
173
183
  opacity: CssValue['percentage'] | NumberOrVar;
174
- 'box-shadow': CssValue['shadow'] | 'none' | CssVarRef;
175
- filter: string | 'none' | CssVarRef;
176
- 'backdrop-filter': string | 'none' | CssVarRef;
177
- 'mix-blend-mode': 'normal' | 'multiply' | 'screen' | 'overlay' | 'darken' | 'lighten' | 'color-dodge' | 'color-burn' | 'hard-light' | 'soft-light' | 'difference' | 'exclusion' | 'hue' | 'saturation' | 'color' | 'luminosity' | 'plus-darker' | 'plus-lighter' | CssVarRef;
178
- 'background-blend-mode': 'normal' | 'multiply' | 'screen' | 'overlay' | 'darken' | 'lighten' | 'color-dodge' | 'color-burn' | 'hard-light' | 'soft-light' | 'difference' | 'exclusion' | 'hue' | 'saturation' | 'color' | 'luminosity' | CssVarRef;
179
- overflow: 'visible' | 'hidden' | 'clip' | 'scroll' | 'auto' | CssVarRef;
180
- 'overflow-x': 'visible' | 'hidden' | 'clip' | 'scroll' | 'auto' | CssVarRef;
181
- 'overflow-y': 'visible' | 'hidden' | 'clip' | 'scroll' | 'auto' | CssVarRef;
182
- 'overscroll-behavior': 'auto' | 'contain' | 'none' | CssVarRef;
183
- 'scroll-behavior': 'auto' | 'smooth' | CssVarRef;
184
- 'scroll-snap-align': 'none' | 'start' | 'end' | 'center' | CssVarRef;
185
- 'scroll-snap-stop': 'normal' | 'always' | CssVarRef;
186
- 'scroll-snap-type': string | 'none' | CssVarRef;
187
- 'scrollbar-width': 'auto' | 'thin' | 'none' | CssVarRef;
188
- cursor: 'auto' | 'default' | 'none' | 'context-menu' | 'help' | 'pointer' | 'progress' | 'wait' | 'cell' | 'crosshair' | 'text' | 'vertical-text' | 'alias' | 'copy' | 'move' | 'no-drop' | 'not-allowed' | 'grab' | 'grabbing' | 'all-scroll' | 'col-resize' | 'row-resize' | 'n-resize' | 'e-resize' | 's-resize' | 'w-resize' | 'ne-resize' | 'nw-resize' | 'se-resize' | 'sw-resize' | 'ew-resize' | 'ns-resize' | 'nesw-resize' | 'nwse-resize' | 'zoom-in' | 'zoom-out' | CssValue['url'] | CssVarRef;
189
- 'pointer-events': 'auto' | 'none' | 'visiblePainted' | 'visibleFill' | 'visibleStroke' | 'visible' | 'painted' | 'fill' | 'stroke' | 'all' | CssVarRef;
190
- 'user-select': 'none' | 'auto' | 'text' | 'contain' | 'all' | CssVarRef;
191
- resize: 'none' | 'both' | 'horizontal' | 'vertical' | 'block' | 'inline' | CssVarRef;
192
- appearance: 'none' | 'auto' | 'menulist-button' | 'textfield' | CssVarRef;
193
- 'touch-action': string | 'auto' | 'none' | 'manipulation' | CssVarRef;
194
- 'will-change': 'auto' | 'scroll-position' | 'contents' | string | CssVarRef;
195
- 'z-index': IntegerOrVar | 'auto';
196
- 'aspect-ratio': CssValue['ratio'] | NumberOrVar | 'auto';
197
- 'object-fit': 'fill' | 'contain' | 'cover' | 'none' | 'scale-down' | CssVarRef;
184
+ 'fill-opacity': CssValue['percentage'] | NumberOrVar;
185
+ 'box-shadow': CssValue['shadow'] | (typeof CSS_PROPERTY_KEYWORDS)['box-shadow'][number] | CssVarRef;
186
+ filter: string | (typeof CSS_PROPERTY_KEYWORDS)['filter'][number] | CssVarRef;
187
+ 'backdrop-filter': string | (typeof CSS_PROPERTY_KEYWORDS)['backdrop-filter'][number] | CssVarRef;
188
+ 'mix-blend-mode': (typeof CSS_PROPERTY_KEYWORDS)['mix-blend-mode'][number] | CssVarRef;
189
+ 'background-blend-mode': (typeof CSS_PROPERTY_KEYWORDS)['background-blend-mode'][number] | CssVarRef;
190
+ overflow: (typeof CSS_PROPERTY_KEYWORDS)['overflow'][number] | CssVarRef;
191
+ 'overflow-x': (typeof CSS_PROPERTY_KEYWORDS)['overflow-x'][number] | CssVarRef;
192
+ 'overflow-y': (typeof CSS_PROPERTY_KEYWORDS)['overflow-y'][number] | CssVarRef;
193
+ 'overscroll-behavior': (typeof CSS_PROPERTY_KEYWORDS)['overscroll-behavior'][number] | CssVarRef;
194
+ 'scroll-behavior': (typeof CSS_PROPERTY_KEYWORDS)['scroll-behavior'][number] | CssVarRef;
195
+ 'scroll-snap-align': (typeof CSS_PROPERTY_KEYWORDS)['scroll-snap-align'][number] | CssVarRef;
196
+ 'scroll-snap-stop': (typeof CSS_PROPERTY_KEYWORDS)['scroll-snap-stop'][number] | CssVarRef;
197
+ 'scroll-snap-type': string | (typeof CSS_PROPERTY_KEYWORDS)['scroll-snap-type'][number] | CssVarRef;
198
+ 'scrollbar-width': (typeof CSS_PROPERTY_KEYWORDS)['scrollbar-width'][number] | CssVarRef;
199
+ cursor: (typeof CSS_PROPERTY_KEYWORDS)['cursor'][number] | CssValue['url'] | CssVarRef;
200
+ 'pointer-events': (typeof CSS_PROPERTY_KEYWORDS)['pointer-events'][number] | CssVarRef;
201
+ 'user-select': (typeof CSS_PROPERTY_KEYWORDS)['user-select'][number] | CssVarRef;
202
+ resize: (typeof CSS_PROPERTY_KEYWORDS)['resize'][number] | CssVarRef;
203
+ appearance: (typeof CSS_PROPERTY_KEYWORDS)['appearance'][number] | CssVarRef;
204
+ 'touch-action': string | (typeof CSS_PROPERTY_KEYWORDS)['touch-action'][number] | CssVarRef;
205
+ 'will-change': (typeof CSS_PROPERTY_KEYWORDS)['will-change'][number] | string | CssVarRef;
206
+ 'z-index': IntegerOrVar | (typeof CSS_PROPERTY_KEYWORDS)['z-index'][number];
207
+ 'aspect-ratio': CssValue['ratio'] | NumberOrVar | (typeof CSS_PROPERTY_KEYWORDS)['aspect-ratio'][number];
208
+ 'object-fit': (typeof CSS_PROPERTY_KEYWORDS)['object-fit'][number] | CssVarRef;
198
209
  'object-position': string | CssVarRef;
199
- 'caption-side': 'top' | 'bottom' | 'inline-start' | 'inline-end' | CssVarRef;
200
- 'border-collapse': 'collapse' | 'separate' | CssVarRef;
201
- 'table-layout': 'auto' | 'fixed' | CssVarRef;
210
+ 'caption-side': (typeof CSS_PROPERTY_KEYWORDS)['caption-side'][number] | CssVarRef;
211
+ 'border-collapse': (typeof CSS_PROPERTY_KEYWORDS)['border-collapse'][number] | CssVarRef;
212
+ 'table-layout': (typeof CSS_PROPERTY_KEYWORDS)['table-layout'][number] | CssVarRef;
202
213
  };
203
214
  type CssPropertyName = keyof CssPropertyValues;
204
215
  /**
205
216
  * Standard CSS properties that accept a `<color>` value. Used to gate
206
- * the `.withOpacity({...})` builder on `defineStyleProp` — only
217
+ * any `.withOpacity({...})` builder on `defineStyleProp` — only
207
218
  * color-typed props can pair with an opacity sibling (`bg` +
208
219
  * `bgOpacity` → class `bg-primary_75` etc.).
209
220
  *
210
221
  * Custom CSS properties (`--foo`) authored with `cssType: 'color'` are
211
- * also eligible for `.withOpacity()`; that check happens via the
222
+ * also eligible for opacity pairing; that check happens via the
212
223
  * `cssType` generic on `defineStyleProp`, not in this union.
213
224
  */
214
225
  type ColorCssProperty = 'background-color' | 'color' | 'text-decoration-color' | 'border-color' | 'border-top-color' | 'border-right-color' | 'border-bottom-color' | 'border-left-color' | 'border-block-color' | 'border-block-start-color' | 'border-block-end-color' | 'border-inline-color' | 'border-inline-start-color' | 'border-inline-end-color' | 'outline-color' | 'caret-color' | 'fill' | 'stroke';
215
226
  /**
216
- * Re-exported for use in callers that need the CSS-wide keyword union
217
- * (`inherit | initial | unset | revert`) on a non-color-typed property.
218
- * Not added to {@link CssPropertyValues} entries by default — list locally
219
- * if you want them.
227
+ * The CSS-wide keyword union (`inherit | initial | unset | revert`).
228
+ * Not added to `CssPropertyValues` entries by default list locally
229
+ * on a per-property entry if you want them.
220
230
  */
221
231
  type CssGlobalKeyword = GlobalKeyword; //#endregion
222
232
  //#endregion
@@ -0,0 +1,157 @@
1
+ //#region ../config/dist/types/css-property-keywords.d.ts
2
+ //#region src/types/css-property-keywords.d.ts
3
+ /**
4
+ * Single source of truth for CSS keyword enums.
5
+ *
6
+ * These hand-authored runtime arrays list every plain string-literal
7
+ * keyword each CSS property accepts. The type unions in
8
+ * `./css-properties.ts` are DERIVED from these tuples
9
+ * (`(typeof CSS_PROPERTY_KEYWORDS)['<prop>'][number]`), so the keyword
10
+ * data lives in exactly one place and is available at runtime — Studio
11
+ * and other consumers can import the arrays directly instead of
12
+ * re-declaring a parallel hardcoded map.
13
+ *
14
+ * Scope: only concrete keyword literals belong here. Value-type aliases
15
+ * (lengths, percentages, numbers, colors, `CssVarRef`, intrinsic-size
16
+ * keywords expressed via shared aliases, template-literal/number types,
17
+ * bare `string`) stay in `css-properties.ts` and are NOT transcribed.
18
+ * Properties whose union is purely value-typed (e.g. `flex-grow`) get no
19
+ * entry here.
20
+ */
21
+ /** The CSS-wide keyword set, available as a runtime array. */
22
+ declare const CSS_GLOBAL_KEYWORDS: readonly ["inherit", "initial", "unset", "revert", "revert-layer"];
23
+ /**
24
+ * Per-property keyword tuples. Each tuple holds, in source order, every
25
+ * plain string-literal keyword that property's union in
26
+ * `css-properties.ts` lists.
27
+ */
28
+ declare const CSS_PROPERTY_KEYWORDS: {
29
+ readonly margin: readonly ["auto"];
30
+ readonly 'margin-top': readonly ["auto"];
31
+ readonly 'margin-right': readonly ["auto"];
32
+ readonly 'margin-bottom': readonly ["auto"];
33
+ readonly 'margin-left': readonly ["auto"];
34
+ readonly 'margin-block': readonly ["auto"];
35
+ readonly 'margin-inline': readonly ["auto"];
36
+ readonly 'margin-inline-start': readonly ["auto"];
37
+ readonly 'margin-inline-end': readonly ["auto"];
38
+ readonly top: readonly ["auto"];
39
+ readonly right: readonly ["auto"];
40
+ readonly bottom: readonly ["auto"];
41
+ readonly left: readonly ["auto"];
42
+ readonly inset: readonly ["auto"];
43
+ readonly 'inset-block': readonly ["auto"];
44
+ readonly 'inset-inline': readonly ["auto"];
45
+ readonly 'inset-inline-start': readonly ["auto"];
46
+ readonly 'inset-inline-end': readonly ["auto"];
47
+ readonly 'inset-block-start': readonly ["auto"];
48
+ readonly 'inset-block-end': readonly ["auto"];
49
+ readonly 'max-width': readonly ["none"];
50
+ readonly 'max-height': readonly ["none"];
51
+ readonly 'border-width': readonly ["thin", "medium", "thick"];
52
+ readonly 'border-top-width': readonly ["thin", "medium", "thick"];
53
+ readonly 'border-right-width': readonly ["thin", "medium", "thick"];
54
+ readonly 'border-bottom-width': readonly ["thin", "medium", "thick"];
55
+ readonly 'border-left-width': readonly ["thin", "medium", "thick"];
56
+ readonly 'border-block-width': readonly ["thin", "medium", "thick"];
57
+ readonly 'border-inline-width': readonly ["thin", "medium", "thick"];
58
+ readonly 'border-inline-start-width': readonly ["thin", "medium", "thick"];
59
+ readonly 'border-inline-end-width': readonly ["thin", "medium", "thick"];
60
+ readonly 'outline-width': readonly ["thin", "medium", "thick"];
61
+ readonly 'border-style': readonly ["none", "hidden", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset"];
62
+ readonly 'border-top-style': readonly ["none", "hidden", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset"];
63
+ readonly 'border-bottom-style': readonly ["none", "hidden", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset"];
64
+ readonly 'border-inline-start-style': readonly ["none", "hidden", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset"];
65
+ readonly 'border-inline-end-style': readonly ["none", "hidden", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset"];
66
+ readonly 'outline-style': readonly ["none", "hidden", "dotted", "dashed", "solid", "double", "groove", "ridge", "inset", "outset", "auto"];
67
+ readonly 'text-decoration-style': readonly ["solid", "double", "dotted", "dashed", "wavy"];
68
+ readonly 'text-decoration-thickness': readonly ["auto", "from-font"];
69
+ readonly 'text-underline-offset': readonly ["auto"];
70
+ readonly 'outline-color': readonly ["invert"];
71
+ readonly 'caret-color': readonly ["auto"];
72
+ readonly fill: readonly ["none", "context-fill", "context-stroke"];
73
+ readonly stroke: readonly ["none", "context-fill", "context-stroke"];
74
+ readonly 'scrollbar-color': readonly ["auto"];
75
+ readonly 'font-size': readonly ["xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "smaller", "larger"];
76
+ readonly 'font-style': readonly ["normal", "italic", "oblique"];
77
+ readonly 'font-stretch': readonly ["normal", "ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded"];
78
+ readonly 'line-height': readonly ["normal"];
79
+ readonly 'letter-spacing': readonly ["normal"];
80
+ readonly 'text-align': readonly ["left", "right", "center", "justify", "start", "end"];
81
+ readonly 'text-transform': readonly ["none", "capitalize", "uppercase", "lowercase", "full-width", "full-size-kana"];
82
+ readonly 'text-wrap': readonly ["wrap", "nowrap", "balance", "pretty", "stable"];
83
+ readonly 'text-overflow': readonly ["clip", "ellipsis"];
84
+ readonly 'text-decoration-line': readonly ["none", "underline", "overline", "line-through", "blink"];
85
+ readonly 'text-shadow': readonly ["none"];
86
+ readonly 'white-space': readonly ["normal", "nowrap", "pre", "pre-wrap", "pre-line", "break-spaces"];
87
+ readonly 'word-break': readonly ["normal", "break-all", "keep-all", "break-word"];
88
+ readonly 'overflow-wrap': readonly ["normal", "break-word", "anywhere"];
89
+ readonly hyphens: readonly ["none", "manual", "auto"];
90
+ readonly 'list-style-image': readonly ["none"];
91
+ readonly 'list-style-position': readonly ["inside", "outside"];
92
+ readonly 'vertical-align': readonly ["baseline", "sub", "super", "text-top", "text-bottom", "middle", "top", "bottom"];
93
+ readonly '-webkit-font-smoothing': readonly ["auto", "none", "antialiased", "subpixel-antialiased"];
94
+ readonly '-webkit-line-clamp': readonly ["none"];
95
+ readonly display: readonly ["block", "inline", "inline-block", "flex", "inline-flex", "grid", "inline-grid", "flow-root", "none", "contents", "table", "inline-table", "table-row-group", "table-header-group", "table-footer-group", "table-row", "table-cell", "table-column-group", "table-column", "table-caption", "list-item"];
96
+ readonly visibility: readonly ["visible", "hidden", "collapse"];
97
+ readonly isolation: readonly ["auto", "isolate"];
98
+ readonly position: readonly ["static", "relative", "absolute", "fixed", "sticky"];
99
+ readonly 'box-sizing': readonly ["content-box", "border-box"];
100
+ readonly 'container-type': readonly ["normal", "size", "inline-size"];
101
+ readonly columns: readonly ["auto"];
102
+ readonly flex: readonly ["none", "auto", "initial"];
103
+ readonly 'flex-direction': readonly ["row", "row-reverse", "column", "column-reverse"];
104
+ readonly 'flex-wrap': readonly ["nowrap", "wrap", "wrap-reverse"];
105
+ readonly 'flex-basis': readonly ["content"];
106
+ readonly 'justify-content': readonly ["flex-start", "flex-end", "start", "end", "center", "space-between", "space-around", "space-evenly", "stretch", "normal", "left", "right"];
107
+ readonly 'align-items': readonly ["normal", "stretch", "center", "start", "end", "flex-start", "flex-end", "self-start", "self-end", "baseline", "first baseline", "last baseline"];
108
+ readonly 'align-content': readonly ["normal", "start", "end", "center", "flex-start", "flex-end", "space-between", "space-around", "space-evenly", "stretch", "baseline"];
109
+ readonly 'align-self': readonly ["auto", "normal", "stretch", "center", "start", "end", "flex-start", "flex-end", "self-start", "self-end", "baseline"];
110
+ readonly 'grid-template-columns': readonly ["none"];
111
+ readonly 'grid-template-rows': readonly ["none"];
112
+ readonly 'grid-column': readonly ["auto"];
113
+ readonly 'grid-column-start': readonly ["auto"];
114
+ readonly 'grid-column-end': readonly ["auto"];
115
+ readonly 'grid-row': readonly ["auto"];
116
+ readonly 'grid-row-start': readonly ["auto"];
117
+ readonly 'grid-row-end': readonly ["auto"];
118
+ readonly transform: readonly ["none"];
119
+ readonly rotate: readonly ["none"];
120
+ readonly scale: readonly ["none"];
121
+ readonly translate: readonly ["none"];
122
+ readonly transition: readonly ["none"];
123
+ readonly 'transition-property': readonly ["none", "all"];
124
+ readonly 'transition-behavior': readonly ["normal", "allow-discrete"];
125
+ readonly animation: readonly ["none"];
126
+ readonly 'box-shadow': readonly ["none"];
127
+ readonly filter: readonly ["none"];
128
+ readonly 'backdrop-filter': readonly ["none"];
129
+ readonly 'mix-blend-mode': readonly ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-darker", "plus-lighter"];
130
+ readonly 'background-blend-mode': readonly ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
131
+ readonly overflow: readonly ["visible", "hidden", "clip", "scroll", "auto"];
132
+ readonly 'overflow-x': readonly ["visible", "hidden", "clip", "scroll", "auto"];
133
+ readonly 'overflow-y': readonly ["visible", "hidden", "clip", "scroll", "auto"];
134
+ readonly 'overscroll-behavior': readonly ["auto", "contain", "none"];
135
+ readonly 'scroll-behavior': readonly ["auto", "smooth"];
136
+ readonly 'scroll-snap-align': readonly ["none", "start", "end", "center"];
137
+ readonly 'scroll-snap-stop': readonly ["normal", "always"];
138
+ readonly 'scroll-snap-type': readonly ["none"];
139
+ readonly 'scrollbar-width': readonly ["auto", "thin", "none"];
140
+ readonly cursor: readonly ["auto", "default", "none", "context-menu", "help", "pointer", "progress", "wait", "cell", "crosshair", "text", "vertical-text", "alias", "copy", "move", "no-drop", "not-allowed", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out"];
141
+ readonly 'pointer-events': readonly ["auto", "none", "visiblePainted", "visibleFill", "visibleStroke", "visible", "painted", "fill", "stroke", "all"];
142
+ readonly 'user-select': readonly ["none", "auto", "text", "contain", "all"];
143
+ readonly resize: readonly ["none", "both", "horizontal", "vertical", "block", "inline"];
144
+ readonly appearance: readonly ["none", "auto", "menulist-button", "textfield"];
145
+ readonly 'touch-action': readonly ["auto", "none", "manipulation"];
146
+ readonly 'will-change': readonly ["auto", "scroll-position", "contents"];
147
+ readonly 'z-index': readonly ["auto"];
148
+ readonly 'aspect-ratio': readonly ["auto"];
149
+ readonly 'object-fit': readonly ["fill", "contain", "cover", "none", "scale-down"];
150
+ readonly 'caption-side': readonly ["top", "bottom", "inline-start", "inline-end"];
151
+ readonly 'border-collapse': readonly ["collapse", "separate"];
152
+ readonly 'table-layout': readonly ["auto", "fixed"];
153
+ };
154
+ /** Names of the CSS properties that have a keyword tuple above. */
155
+ type CssPropertyWithKeywords = keyof typeof CSS_PROPERTY_KEYWORDS; //#endregion
156
+ //#endregion
157
+ export { CSS_GLOBAL_KEYWORDS, CSS_PROPERTY_KEYWORDS, CssPropertyWithKeywords };