@stylexjs/shared 0.2.0-beta.9 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. package/README.md +3 -3
  2. package/lib/common-types.d.ts +49 -0
  3. package/lib/common-types.js.flow +64 -0
  4. package/lib/convert-to-className.d.ts +16 -0
  5. package/lib/convert-to-className.js +17 -26
  6. package/lib/convert-to-className.js.flow +23 -0
  7. package/lib/generate-css-rule.d.ts +17 -0
  8. package/lib/generate-css-rule.js +6 -17
  9. package/lib/generate-css-rule.js.flow +17 -0
  10. package/lib/hash.d.ts +11 -0
  11. package/lib/hash.js +3 -27
  12. package/lib/hash.js.flow +10 -0
  13. package/lib/index.d.ts +42 -85
  14. package/lib/index.js +21 -29
  15. package/lib/index.js.flow +57 -3
  16. package/lib/messages.d.ts +41 -0
  17. package/lib/messages.js +33 -53
  18. package/lib/messages.js.flow +44 -0
  19. package/lib/physical-rtl/generate-ltr.d.ts +11 -0
  20. package/lib/physical-rtl/generate-ltr.js +18 -46
  21. package/lib/physical-rtl/generate-ltr.js.flow +12 -0
  22. package/lib/physical-rtl/generate-rtl.d.ts +13 -0
  23. package/lib/physical-rtl/generate-rtl.js +18 -50
  24. package/lib/physical-rtl/generate-rtl.js.flow +12 -0
  25. package/lib/preprocess-rules/PreRule.d.ts +52 -0
  26. package/lib/preprocess-rules/PreRule.js +87 -0
  27. package/lib/preprocess-rules/PreRule.js.flow +64 -0
  28. package/lib/preprocess-rules/application-order.d.ts +290 -0
  29. package/lib/preprocess-rules/application-order.js +60 -133
  30. package/lib/preprocess-rules/application-order.js.flow +241 -0
  31. package/lib/preprocess-rules/basic-validation.d.ts +13 -0
  32. package/lib/preprocess-rules/basic-validation.js +83 -0
  33. package/lib/preprocess-rules/basic-validation.js.flow +13 -0
  34. package/lib/preprocess-rules/flatten-raw-style-obj.d.ts +25 -0
  35. package/lib/preprocess-rules/flatten-raw-style-obj.js +120 -0
  36. package/lib/preprocess-rules/flatten-raw-style-obj.js.flow +27 -0
  37. package/lib/preprocess-rules/index.d.ts +18 -0
  38. package/lib/preprocess-rules/index.js +0 -9
  39. package/lib/preprocess-rules/index.js.flow +19 -0
  40. package/lib/preprocess-rules/legacy-expand-shorthands.d.ts +200 -0
  41. package/lib/preprocess-rules/legacy-expand-shorthands.js +90 -123
  42. package/lib/preprocess-rules/legacy-expand-shorthands.js.flow +179 -0
  43. package/lib/preprocess-rules/property-specificity.d.ts +89 -0
  44. package/lib/preprocess-rules/property-specificity.js +46 -74
  45. package/lib/preprocess-rules/property-specificity.js.flow +98 -0
  46. package/lib/properties/CSS Animations.json +445 -0
  47. package/lib/properties/CSS Backgrounds and Borders.json +1085 -0
  48. package/lib/properties/CSS Basic User Interface.json +365 -0
  49. package/lib/properties/CSS Box Alignment.json +245 -0
  50. package/lib/properties/CSS Box Model.json +501 -0
  51. package/lib/properties/CSS Color.json +100 -0
  52. package/lib/properties/CSS Columns.json +185 -0
  53. package/lib/properties/CSS Containment.json +203 -0
  54. package/lib/properties/CSS Counter Styles.json +56 -0
  55. package/lib/properties/CSS Display.json +20 -0
  56. package/lib/properties/CSS Flexible Box Layout.json +167 -0
  57. package/lib/properties/CSS Fonts.json +684 -0
  58. package/lib/properties/CSS Fragmentation.json +110 -0
  59. package/lib/properties/CSS Generated Content.json +38 -0
  60. package/lib/properties/CSS Grid Layout.json +500 -0
  61. package/lib/properties/CSS Images.json +91 -0
  62. package/lib/properties/CSS Inline.json +38 -0
  63. package/lib/properties/CSS Lists and Counters.json +86 -0
  64. package/lib/properties/CSS Logical Properties.json +1086 -0
  65. package/lib/properties/CSS Masking.json +399 -0
  66. package/lib/properties/CSS Miscellaneous.json +38 -0
  67. package/lib/properties/CSS Motion Path.json +132 -0
  68. package/lib/properties/CSS Overflow.json +216 -0
  69. package/lib/properties/CSS Pages.json +83 -0
  70. package/lib/properties/CSS Positioning.json +166 -0
  71. package/lib/properties/CSS Ruby.json +55 -0
  72. package/lib/properties/CSS Scroll Anchoring.json +19 -0
  73. package/lib/properties/CSS Scroll Snap.json +604 -0
  74. package/lib/properties/CSS Scrollbars.json +38 -0
  75. package/lib/properties/CSS Shapes.json +56 -0
  76. package/lib/properties/CSS Speech.json +20 -0
  77. package/lib/properties/CSS Table.json +115 -0
  78. package/lib/properties/CSS Text Decoration.json +312 -0
  79. package/lib/properties/CSS Text.json +415 -0
  80. package/lib/properties/CSS Transforms.json +188 -0
  81. package/lib/properties/CSS Transitions.json +122 -0
  82. package/lib/properties/CSS Variables.json +20 -0
  83. package/lib/properties/CSS View Transitions.json +20 -0
  84. package/lib/properties/CSS Will Change.json +20 -0
  85. package/lib/properties/CSS Writing Modes.json +92 -0
  86. package/lib/properties/Compositing and Blending.json +62 -0
  87. package/lib/properties/Filter Effects.json +38 -0
  88. package/lib/properties/MathML.json +56 -0
  89. package/lib/properties/Microsoft Extensions.json +885 -0
  90. package/lib/properties/Mozilla Extensions.json +607 -0
  91. package/lib/properties/Pointer Events.json +20 -0
  92. package/lib/properties/WebKit Extensions.json +707 -0
  93. package/lib/properties.json +10122 -0
  94. package/lib/stylex-create-theme.d.ts +26 -0
  95. package/lib/stylex-create-theme.js +67 -0
  96. package/lib/stylex-create-theme.js.flow +19 -0
  97. package/lib/stylex-create.d.ts +23 -0
  98. package/lib/stylex-create.js +30 -146
  99. package/lib/stylex-create.js.flow +30 -0
  100. package/lib/stylex-define-vars.d.ts +29 -0
  101. package/lib/stylex-define-vars.js +73 -0
  102. package/lib/stylex-define-vars.js.flow +26 -0
  103. package/lib/stylex-first-that-works.d.ts +13 -0
  104. package/lib/stylex-first-that-works.js +0 -10
  105. package/lib/stylex-first-that-works.js.flow +12 -0
  106. package/lib/stylex-include.d.ts +18 -0
  107. package/lib/stylex-include.js +2 -12
  108. package/lib/stylex-include.js.flow +20 -0
  109. package/lib/stylex-keyframes.d.ts +17 -0
  110. package/lib/stylex-keyframes.js +6 -26
  111. package/lib/stylex-keyframes.js.flow +20 -0
  112. package/lib/transform-value.d.ts +22 -0
  113. package/lib/transform-value.js +9 -23
  114. package/lib/transform-value.js.flow +25 -0
  115. package/lib/types/index.d.ts +205 -0
  116. package/lib/types/index.js +191 -0
  117. package/lib/types/index.js.flow +241 -0
  118. package/lib/utils/Rule.d.ts +58 -0
  119. package/lib/utils/Rule.js +0 -21
  120. package/lib/utils/Rule.js.flow +64 -0
  121. package/lib/utils/dashify.d.ts +11 -0
  122. package/lib/utils/dashify.js +0 -8
  123. package/lib/utils/dashify.js.flow +10 -0
  124. package/lib/utils/default-options.d.ts +11 -0
  125. package/lib/utils/default-options.js +13 -0
  126. package/lib/utils/default-options.js.flow +25 -0
  127. package/lib/utils/file-based-identifier.d.ts +15 -0
  128. package/lib/utils/file-based-identifier.js +14 -0
  129. package/lib/utils/file-based-identifier.js.flow +14 -0
  130. package/lib/utils/genCSSRule.d.ts +15 -0
  131. package/lib/utils/genCSSRule.js +9 -18
  132. package/lib/utils/genCSSRule.js.flow +15 -0
  133. package/lib/utils/normalize-value.d.ts +16 -0
  134. package/lib/utils/normalize-value.js +8 -15
  135. package/lib/utils/normalize-value.js.flow +16 -0
  136. package/lib/utils/normalizers/convert-camel-case-transition-props.d.ts +14 -0
  137. package/lib/utils/normalizers/convert-camel-case-transition-props.js +23 -0
  138. package/lib/utils/normalizers/convert-camel-case-transition-props.js.flow +13 -0
  139. package/lib/utils/normalizers/convert-camel-case-values.d.ts +14 -0
  140. package/lib/utils/normalizers/convert-camel-case-values.js +23 -0
  141. package/lib/utils/normalizers/convert-camel-case-values.js.flow +13 -0
  142. package/lib/utils/normalizers/detect-unclosed-fns.d.ts +17 -0
  143. package/lib/utils/normalizers/detect-unclosed-fns.js +2 -14
  144. package/lib/utils/normalizers/detect-unclosed-fns.js.flow +16 -0
  145. package/lib/utils/normalizers/font-size-px-to-rem.d.ts +19 -0
  146. package/lib/utils/normalizers/font-size-px-to-rem.js +9 -19
  147. package/lib/utils/normalizers/font-size-px-to-rem.js.flow +18 -0
  148. package/lib/utils/normalizers/leading-zero.d.ts +17 -0
  149. package/lib/utils/normalizers/leading-zero.js +0 -12
  150. package/lib/utils/normalizers/leading-zero.js.flow +16 -0
  151. package/lib/utils/normalizers/quotes.d.ts +18 -0
  152. package/lib/utils/normalizers/quotes.js +0 -13
  153. package/lib/utils/normalizers/quotes.js.flow +17 -0
  154. package/lib/utils/normalizers/timings.d.ts +18 -0
  155. package/lib/utils/normalizers/timings.js +0 -14
  156. package/lib/utils/normalizers/timings.js.flow +17 -0
  157. package/lib/utils/normalizers/whitespace.d.ts +19 -0
  158. package/lib/utils/normalizers/whitespace.js +0 -15
  159. package/lib/utils/normalizers/whitespace.js.flow +18 -0
  160. package/lib/utils/normalizers/zero-dimensions.d.ts +19 -0
  161. package/lib/utils/normalizers/zero-dimensions.js +0 -15
  162. package/lib/utils/normalizers/zero-dimensions.js.flow +18 -0
  163. package/lib/utils/object-utils.d.ts +66 -0
  164. package/lib/utils/object-utils.js +21 -13
  165. package/lib/utils/object-utils.js.flow +77 -0
  166. package/lib/utils/property-priorities.d.ts +11 -0
  167. package/lib/utils/property-priorities.js +516 -101
  168. package/lib/utils/property-priorities.js.flow +10 -0
  169. package/lib/utils/split-css-value.d.ts +14 -0
  170. package/lib/utils/split-css-value.js +0 -14
  171. package/lib/utils/split-css-value.js.flow +15 -0
  172. package/lib/validate.d.ts +12 -0
  173. package/lib/validate.js +1 -10
  174. package/lib/validate.js.flow +12 -0
  175. package/package.json +4 -5
  176. package/lib/expand-shorthands.d.ts +0 -5
  177. package/lib/expand-shorthands.js +0 -330
  178. package/lib/namespace-transforms/__tests__/preflatten.test.js +0 -120
  179. package/lib/namespace-transforms/preflatten.js +0 -89
  180. package/lib/preprocess-rules/expand-shorthands.js +0 -156
  181. package/lib/preprocess-rules/null-out-longhand.js +0 -310
  182. package/lib/preprocess-rules/react-native-web.js +0 -142
  183. package/lib/stylex-defaultValue.js +0 -397
@@ -0,0 +1,501 @@
1
+ [
2
+ {
3
+ "syntax": "content-box | border-box",
4
+ "media": "visual",
5
+ "inherited": false,
6
+ "animationType": "discrete",
7
+ "percentages": "no",
8
+ "groups": [
9
+ "CSS Box Model"
10
+ ],
11
+ "initial": "content-box",
12
+ "appliesto": "allElementsAcceptingWidthOrHeight",
13
+ "computed": "asSpecified",
14
+ "order": "uniqueOrder",
15
+ "status": "standard",
16
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/box-sizing",
17
+ "property": "box-sizing",
18
+ "group": "CSS Box Model"
19
+ },
20
+ {
21
+ "syntax": "auto | <length> | <percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)",
22
+ "media": "visual",
23
+ "inherited": false,
24
+ "animationType": "lpc",
25
+ "percentages": "regardingHeightOfGeneratedBoxContainingBlockPercentagesRelativeToContainingBlock",
26
+ "groups": [
27
+ "CSS Box Model"
28
+ ],
29
+ "initial": "auto",
30
+ "appliesto": "allElementsButNonReplacedAndTableColumns",
31
+ "computed": "percentageAutoOrAbsoluteLength",
32
+ "order": "uniqueOrder",
33
+ "status": "standard",
34
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/height",
35
+ "property": "height",
36
+ "group": "CSS Box Model"
37
+ },
38
+ {
39
+ "syntax": "[ <length> | <percentage> | auto ]{1,4}",
40
+ "media": "visual",
41
+ "inherited": false,
42
+ "animationType": "length",
43
+ "percentages": "referToWidthOfContainingBlock",
44
+ "groups": [
45
+ "CSS Box Model"
46
+ ],
47
+ "initial": [
48
+ "margin-bottom",
49
+ "margin-left",
50
+ "margin-right",
51
+ "margin-top"
52
+ ],
53
+ "appliesto": "allElementsExceptTableDisplayTypes",
54
+ "computed": [
55
+ "margin-bottom",
56
+ "margin-left",
57
+ "margin-right",
58
+ "margin-top"
59
+ ],
60
+ "order": "uniqueOrder",
61
+ "alsoAppliesTo": [
62
+ "::first-letter",
63
+ "::first-line"
64
+ ],
65
+ "status": "standard",
66
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin",
67
+ "property": "margin",
68
+ "group": "CSS Box Model"
69
+ },
70
+ {
71
+ "syntax": "<length> | <percentage> | auto",
72
+ "media": "visual",
73
+ "inherited": false,
74
+ "animationType": "length",
75
+ "percentages": "referToWidthOfContainingBlock",
76
+ "groups": [
77
+ "CSS Box Model"
78
+ ],
79
+ "initial": "0",
80
+ "appliesto": "allElementsExceptTableDisplayTypes",
81
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
82
+ "order": "uniqueOrder",
83
+ "alsoAppliesTo": [
84
+ "::first-letter",
85
+ "::first-line"
86
+ ],
87
+ "status": "standard",
88
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-bottom",
89
+ "property": "margin-bottom",
90
+ "group": "CSS Box Model"
91
+ },
92
+ {
93
+ "syntax": "<length> | <percentage> | auto",
94
+ "media": "visual",
95
+ "inherited": false,
96
+ "animationType": "length",
97
+ "percentages": "referToWidthOfContainingBlock",
98
+ "groups": [
99
+ "CSS Box Model"
100
+ ],
101
+ "initial": "0",
102
+ "appliesto": "allElementsExceptTableDisplayTypes",
103
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
104
+ "order": "uniqueOrder",
105
+ "alsoAppliesTo": [
106
+ "::first-letter",
107
+ "::first-line"
108
+ ],
109
+ "status": "standard",
110
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-left",
111
+ "property": "margin-left",
112
+ "group": "CSS Box Model"
113
+ },
114
+ {
115
+ "syntax": "<length> | <percentage> | auto",
116
+ "media": "visual",
117
+ "inherited": false,
118
+ "animationType": "length",
119
+ "percentages": "referToWidthOfContainingBlock",
120
+ "groups": [
121
+ "CSS Box Model"
122
+ ],
123
+ "initial": "0",
124
+ "appliesto": "allElementsExceptTableDisplayTypes",
125
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
126
+ "order": "uniqueOrder",
127
+ "alsoAppliesTo": [
128
+ "::first-letter",
129
+ "::first-line"
130
+ ],
131
+ "status": "standard",
132
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-right",
133
+ "property": "margin-right",
134
+ "group": "CSS Box Model"
135
+ },
136
+ {
137
+ "syntax": "<length> | <percentage> | auto",
138
+ "media": "visual",
139
+ "inherited": false,
140
+ "animationType": "length",
141
+ "percentages": "referToWidthOfContainingBlock",
142
+ "groups": [
143
+ "CSS Box Model"
144
+ ],
145
+ "initial": "0",
146
+ "appliesto": "allElementsExceptTableDisplayTypes",
147
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
148
+ "order": "uniqueOrder",
149
+ "alsoAppliesTo": [
150
+ "::first-letter",
151
+ "::first-line"
152
+ ],
153
+ "status": "standard",
154
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-top",
155
+ "property": "margin-top",
156
+ "group": "CSS Box Model"
157
+ },
158
+ {
159
+ "syntax": "none | in-flow | all",
160
+ "media": "visual",
161
+ "inherited": false,
162
+ "animationType": "discrete",
163
+ "percentages": "no",
164
+ "groups": [
165
+ "CSS Box Model"
166
+ ],
167
+ "initial": "none",
168
+ "appliesto": "blockContainersAndMultiColumnContainers",
169
+ "computed": "asSpecified",
170
+ "order": "perGrammar",
171
+ "alsoAppliesTo": [
172
+ "::first-letter",
173
+ "::first-line"
174
+ ],
175
+ "status": "experimental",
176
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/margin-trim",
177
+ "property": "margin-trim",
178
+ "group": "CSS Box Model"
179
+ },
180
+ {
181
+ "syntax": "none | <length-percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)",
182
+ "media": "visual",
183
+ "inherited": false,
184
+ "animationType": "lpc",
185
+ "percentages": "regardingHeightOfGeneratedBoxContainingBlockPercentagesNone",
186
+ "groups": [
187
+ "CSS Box Model"
188
+ ],
189
+ "initial": "none",
190
+ "appliesto": "allElementsButNonReplacedAndTableColumns",
191
+ "computed": "percentageAsSpecifiedAbsoluteLengthOrNone",
192
+ "order": "uniqueOrder",
193
+ "status": "standard",
194
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/max-height",
195
+ "property": "max-height",
196
+ "group": "CSS Box Model"
197
+ },
198
+ {
199
+ "syntax": "none | <length-percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)",
200
+ "media": "visual",
201
+ "inherited": false,
202
+ "animationType": "lpc",
203
+ "percentages": "referToWidthOfContainingBlock",
204
+ "groups": [
205
+ "CSS Box Model"
206
+ ],
207
+ "initial": "none",
208
+ "appliesto": "allElementsButNonReplacedAndTableRows",
209
+ "computed": "percentageAsSpecifiedAbsoluteLengthOrNone",
210
+ "order": "uniqueOrder",
211
+ "status": "standard",
212
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/max-width",
213
+ "property": "max-width",
214
+ "group": "CSS Box Model"
215
+ },
216
+ {
217
+ "syntax": "auto | <length> | <percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)",
218
+ "media": "visual",
219
+ "inherited": false,
220
+ "animationType": "lpc",
221
+ "percentages": "regardingHeightOfGeneratedBoxContainingBlockPercentages0",
222
+ "groups": [
223
+ "CSS Box Model"
224
+ ],
225
+ "initial": "auto",
226
+ "appliesto": "allElementsButNonReplacedAndTableColumns",
227
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
228
+ "order": "uniqueOrder",
229
+ "status": "standard",
230
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/min-height",
231
+ "property": "min-height",
232
+ "group": "CSS Box Model"
233
+ },
234
+ {
235
+ "syntax": "auto | <length> | <percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)",
236
+ "media": "visual",
237
+ "inherited": false,
238
+ "animationType": "lpc",
239
+ "percentages": "referToWidthOfContainingBlock",
240
+ "groups": [
241
+ "CSS Box Model"
242
+ ],
243
+ "initial": "auto",
244
+ "appliesto": "allElementsButNonReplacedAndTableRows",
245
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
246
+ "order": "uniqueOrder",
247
+ "status": "standard",
248
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/min-width",
249
+ "property": "min-width",
250
+ "group": "CSS Box Model"
251
+ },
252
+ {
253
+ "syntax": "[ contain | none | auto ]{1,2}",
254
+ "media": "visual",
255
+ "inherited": false,
256
+ "animationType": "discrete",
257
+ "percentages": "no",
258
+ "groups": [
259
+ "CSS Box Model"
260
+ ],
261
+ "initial": "auto",
262
+ "appliesto": "nonReplacedBlockAndInlineBlockElements",
263
+ "computed": [
264
+ "overscroll-behavior-x",
265
+ "overscroll-behavior-y"
266
+ ],
267
+ "order": "uniqueOrder",
268
+ "status": "standard",
269
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior",
270
+ "property": "overscroll-behavior",
271
+ "group": "CSS Box Model"
272
+ },
273
+ {
274
+ "syntax": "contain | none | auto",
275
+ "media": "visual",
276
+ "inherited": false,
277
+ "animationType": "discrete",
278
+ "percentages": "no",
279
+ "groups": [
280
+ "CSS Box Model"
281
+ ],
282
+ "initial": "auto",
283
+ "appliesto": "nonReplacedBlockAndInlineBlockElements",
284
+ "computed": "asSpecified",
285
+ "order": "uniqueOrder",
286
+ "status": "standard",
287
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-block",
288
+ "property": "overscroll-behavior-block",
289
+ "group": "CSS Box Model"
290
+ },
291
+ {
292
+ "syntax": "contain | none | auto",
293
+ "media": "visual",
294
+ "inherited": false,
295
+ "animationType": "discrete",
296
+ "percentages": "no",
297
+ "groups": [
298
+ "CSS Box Model"
299
+ ],
300
+ "initial": "auto",
301
+ "appliesto": "nonReplacedBlockAndInlineBlockElements",
302
+ "computed": "asSpecified",
303
+ "order": "uniqueOrder",
304
+ "status": "standard",
305
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-inline",
306
+ "property": "overscroll-behavior-inline",
307
+ "group": "CSS Box Model"
308
+ },
309
+ {
310
+ "syntax": "contain | none | auto",
311
+ "media": "visual",
312
+ "inherited": false,
313
+ "animationType": "discrete",
314
+ "percentages": "no",
315
+ "groups": [
316
+ "CSS Box Model"
317
+ ],
318
+ "initial": "auto",
319
+ "appliesto": "nonReplacedBlockAndInlineBlockElements",
320
+ "computed": "asSpecified",
321
+ "order": "uniqueOrder",
322
+ "status": "standard",
323
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-x",
324
+ "property": "overscroll-behavior-x",
325
+ "group": "CSS Box Model"
326
+ },
327
+ {
328
+ "syntax": "contain | none | auto",
329
+ "media": "visual",
330
+ "inherited": false,
331
+ "animationType": "discrete",
332
+ "percentages": "no",
333
+ "groups": [
334
+ "CSS Box Model"
335
+ ],
336
+ "initial": "auto",
337
+ "appliesto": "nonReplacedBlockAndInlineBlockElements",
338
+ "computed": "asSpecified",
339
+ "order": "uniqueOrder",
340
+ "status": "standard",
341
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overscroll-behavior-y",
342
+ "property": "overscroll-behavior-y",
343
+ "group": "CSS Box Model"
344
+ },
345
+ {
346
+ "syntax": "[ <length> | <percentage> ]{1,4}",
347
+ "media": "visual",
348
+ "inherited": false,
349
+ "animationType": "length",
350
+ "percentages": "referToWidthOfContainingBlock",
351
+ "groups": [
352
+ "CSS Box Model"
353
+ ],
354
+ "initial": [
355
+ "padding-bottom",
356
+ "padding-left",
357
+ "padding-right",
358
+ "padding-top"
359
+ ],
360
+ "appliesto": "allElementsExceptInternalTableDisplayTypes",
361
+ "computed": [
362
+ "padding-bottom",
363
+ "padding-left",
364
+ "padding-right",
365
+ "padding-top"
366
+ ],
367
+ "order": "uniqueOrder",
368
+ "alsoAppliesTo": [
369
+ "::first-letter",
370
+ "::first-line"
371
+ ],
372
+ "status": "standard",
373
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/padding",
374
+ "property": "padding",
375
+ "group": "CSS Box Model"
376
+ },
377
+ {
378
+ "syntax": "<length> | <percentage>",
379
+ "media": "visual",
380
+ "inherited": false,
381
+ "animationType": "length",
382
+ "percentages": "referToWidthOfContainingBlock",
383
+ "groups": [
384
+ "CSS Box Model"
385
+ ],
386
+ "initial": "0",
387
+ "appliesto": "allElementsExceptInternalTableDisplayTypes",
388
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
389
+ "order": "uniqueOrder",
390
+ "alsoAppliesTo": [
391
+ "::first-letter",
392
+ "::first-line"
393
+ ],
394
+ "status": "standard",
395
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/padding-bottom",
396
+ "property": "padding-bottom",
397
+ "group": "CSS Box Model"
398
+ },
399
+ {
400
+ "syntax": "<length> | <percentage>",
401
+ "media": "visual",
402
+ "inherited": false,
403
+ "animationType": "length",
404
+ "percentages": "referToWidthOfContainingBlock",
405
+ "groups": [
406
+ "CSS Box Model"
407
+ ],
408
+ "initial": "0",
409
+ "appliesto": "allElementsExceptInternalTableDisplayTypes",
410
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
411
+ "order": "uniqueOrder",
412
+ "alsoAppliesTo": [
413
+ "::first-letter",
414
+ "::first-line"
415
+ ],
416
+ "status": "standard",
417
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/padding-left",
418
+ "property": "padding-left",
419
+ "group": "CSS Box Model"
420
+ },
421
+ {
422
+ "syntax": "<length> | <percentage>",
423
+ "media": "visual",
424
+ "inherited": false,
425
+ "animationType": "length",
426
+ "percentages": "referToWidthOfContainingBlock",
427
+ "groups": [
428
+ "CSS Box Model"
429
+ ],
430
+ "initial": "0",
431
+ "appliesto": "allElementsExceptInternalTableDisplayTypes",
432
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
433
+ "order": "uniqueOrder",
434
+ "alsoAppliesTo": [
435
+ "::first-letter",
436
+ "::first-line"
437
+ ],
438
+ "status": "standard",
439
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/padding-right",
440
+ "property": "padding-right",
441
+ "group": "CSS Box Model"
442
+ },
443
+ {
444
+ "syntax": "<length> | <percentage>",
445
+ "media": "visual",
446
+ "inherited": false,
447
+ "animationType": "length",
448
+ "percentages": "referToWidthOfContainingBlock",
449
+ "groups": [
450
+ "CSS Box Model"
451
+ ],
452
+ "initial": "0",
453
+ "appliesto": "allElementsExceptInternalTableDisplayTypes",
454
+ "computed": "percentageAsSpecifiedOrAbsoluteLength",
455
+ "order": "uniqueOrder",
456
+ "alsoAppliesTo": [
457
+ "::first-letter",
458
+ "::first-line"
459
+ ],
460
+ "status": "standard",
461
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/padding-top",
462
+ "property": "padding-top",
463
+ "group": "CSS Box Model"
464
+ },
465
+ {
466
+ "syntax": "visible | hidden | collapse",
467
+ "media": "visual",
468
+ "inherited": true,
469
+ "animationType": "visibility",
470
+ "percentages": "no",
471
+ "groups": [
472
+ "CSS Box Model"
473
+ ],
474
+ "initial": "visible",
475
+ "appliesto": "allElements",
476
+ "computed": "asSpecified",
477
+ "order": "uniqueOrder",
478
+ "status": "standard",
479
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/visibility",
480
+ "property": "visibility",
481
+ "group": "CSS Box Model"
482
+ },
483
+ {
484
+ "syntax": "auto | <length> | <percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)",
485
+ "media": "visual",
486
+ "inherited": false,
487
+ "animationType": "lpc",
488
+ "percentages": "referToWidthOfContainingBlock",
489
+ "groups": [
490
+ "CSS Box Model"
491
+ ],
492
+ "initial": "auto",
493
+ "appliesto": "allElementsButNonReplacedAndTableRows",
494
+ "computed": "percentageAutoOrAbsoluteLength",
495
+ "order": "lengthOrPercentageBeforeKeywordIfBothPresent",
496
+ "status": "standard",
497
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/width",
498
+ "property": "width",
499
+ "group": "CSS Box Model"
500
+ }
501
+ ]
@@ -0,0 +1,100 @@
1
+ [
2
+ {
3
+ "syntax": "<color>",
4
+ "media": "visual",
5
+ "inherited": true,
6
+ "animationType": "byComputedValueType",
7
+ "percentages": "no",
8
+ "groups": [
9
+ "CSS Color"
10
+ ],
11
+ "initial": "canvastext",
12
+ "appliesto": "allElementsAndText",
13
+ "computed": "computedColor",
14
+ "order": "perGrammar",
15
+ "alsoAppliesTo": [
16
+ "::first-letter",
17
+ "::first-line",
18
+ "::placeholder"
19
+ ],
20
+ "status": "standard",
21
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color",
22
+ "property": "color",
23
+ "group": "CSS Color"
24
+ },
25
+ {
26
+ "syntax": "normal | [ light | dark | <custom-ident> ]+ && only?",
27
+ "media": "visual",
28
+ "inherited": true,
29
+ "animationType": "discrete",
30
+ "percentages": "no",
31
+ "groups": [
32
+ "CSS Color"
33
+ ],
34
+ "initial": "normal",
35
+ "appliesto": "allElementsAndText",
36
+ "computed": "asSpecified",
37
+ "order": "perGrammar",
38
+ "status": "standard",
39
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color-scheme",
40
+ "property": "color-scheme",
41
+ "group": "CSS Color"
42
+ },
43
+ {
44
+ "syntax": "auto | none",
45
+ "media": "visual",
46
+ "inherited": true,
47
+ "animationType": "notAnimatable",
48
+ "percentages": "no",
49
+ "groups": [
50
+ "CSS Color"
51
+ ],
52
+ "initial": "auto",
53
+ "appliesto": "allElementsAndText",
54
+ "computed": "asSpecified",
55
+ "order": "perGrammar",
56
+ "status": "experimental",
57
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/forced-color-adjust",
58
+ "property": "forced-color-adjust",
59
+ "group": "CSS Color"
60
+ },
61
+ {
62
+ "syntax": "<alpha-value>",
63
+ "media": "visual",
64
+ "inherited": false,
65
+ "animationType": "byComputedValueType",
66
+ "percentages": "mapToRange0To1",
67
+ "groups": [
68
+ "CSS Color"
69
+ ],
70
+ "initial": "1",
71
+ "appliesto": "allElements",
72
+ "computed": "specifiedValueNumberClipped0To1",
73
+ "order": "perGrammar",
74
+ "alsoAppliesTo": [
75
+ "::placeholder"
76
+ ],
77
+ "status": "standard",
78
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/opacity",
79
+ "property": "opacity",
80
+ "group": "CSS Color"
81
+ },
82
+ {
83
+ "syntax": "economy | exact",
84
+ "media": "visual",
85
+ "inherited": true,
86
+ "animationType": "discrete",
87
+ "percentages": "no",
88
+ "groups": [
89
+ "CSS Color"
90
+ ],
91
+ "initial": "economy",
92
+ "appliesto": "allElements",
93
+ "computed": "asSpecified",
94
+ "order": "perGrammar",
95
+ "status": "standard",
96
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/print-color-adjust",
97
+ "property": "print-color-adjust",
98
+ "group": "CSS Color"
99
+ }
100
+ ]