@stylexjs/shared 0.2.0-beta.8 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (178) hide show
  1. package/README.md +81 -0
  2. package/lib/common-types.d.ts +50 -0
  3. package/lib/common-types.js.flow +65 -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 +8 -47
  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 +19 -27
  15. package/lib/index.js.flow +59 -0
  16. package/lib/messages.d.ts +36 -0
  17. package/lib/messages.js +28 -55
  18. package/lib/messages.js.flow +39 -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 +193 -0
  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 +30 -0
  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 +136 -0
  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 +107 -0
  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 +62 -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 -142
  99. package/lib/stylex-create.js.flow +30 -0
  100. package/lib/stylex-define-vars.d.ts +36 -0
  101. package/lib/stylex-define-vars.js +72 -0
  102. package/lib/stylex-define-vars.js.flow +28 -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 +0 -10
  108. package/lib/stylex-include.js.flow +20 -0
  109. package/lib/stylex-keyframes.d.ts +17 -0
  110. package/lib/stylex-keyframes.js +22 -30
  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 +50 -0
  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 +14 -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 +11 -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 +0 -12
  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 +531 -0
  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 +33 -0
  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 -387
  178. package/lib/stylex-defaultValue.js +0 -397
@@ -0,0 +1,365 @@
1
+ [
2
+ {
3
+ "syntax": "auto | <color>",
4
+ "media": "interactive",
5
+ "inherited": true,
6
+ "animationType": "byComputedValueType",
7
+ "percentages": "no",
8
+ "groups": [
9
+ "CSS Basic User Interface"
10
+ ],
11
+ "initial": "auto",
12
+ "appliesto": "allElements",
13
+ "computed": "asAutoOrColor",
14
+ "order": "perGrammar",
15
+ "status": "standard",
16
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/accent-color",
17
+ "property": "accent-color",
18
+ "group": "CSS Basic User Interface"
19
+ },
20
+ {
21
+ "syntax": "none | auto | textfield | menulist-button | <compat-auto>",
22
+ "media": "all",
23
+ "inherited": false,
24
+ "animationType": "discrete",
25
+ "percentages": "no",
26
+ "groups": [
27
+ "CSS Basic User Interface"
28
+ ],
29
+ "initial": "none",
30
+ "appliesto": "allElements",
31
+ "computed": "asSpecified",
32
+ "order": "perGrammar",
33
+ "status": "experimental",
34
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/appearance",
35
+ "property": "appearance",
36
+ "group": "CSS Basic User Interface"
37
+ },
38
+ {
39
+ "syntax": "auto | <ratio>",
40
+ "media": "all",
41
+ "inherited": false,
42
+ "animationType": "byComputedValueType",
43
+ "percentages": "no",
44
+ "groups": [
45
+ "CSS Basic User Interface"
46
+ ],
47
+ "initial": "auto",
48
+ "appliesto": "allElementsExceptInlineBoxesAndInternalRubyOrTableBoxes",
49
+ "computed": "asSpecified",
50
+ "order": "perGrammar",
51
+ "status": "experimental",
52
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/aspect-ratio",
53
+ "property": "aspect-ratio",
54
+ "group": "CSS Basic User Interface"
55
+ },
56
+ {
57
+ "syntax": "<'caret-color'> || <'caret-shape'>",
58
+ "media": "interactive",
59
+ "inherited": true,
60
+ "animationType": [
61
+ "caret-color",
62
+ "caret-shape"
63
+ ],
64
+ "percentages": "no",
65
+ "groups": [
66
+ "CSS Basic User Interface"
67
+ ],
68
+ "initial": [
69
+ "caret-color",
70
+ "caret-shape"
71
+ ],
72
+ "appliesto": "elementsThatAcceptInput",
73
+ "computed": [
74
+ "caret-color",
75
+ "caret-shape"
76
+ ],
77
+ "order": "perGrammar",
78
+ "status": "standard",
79
+ "property": "caret",
80
+ "group": "CSS Basic User Interface"
81
+ },
82
+ {
83
+ "syntax": "auto | <color>",
84
+ "media": "interactive",
85
+ "inherited": true,
86
+ "animationType": "color",
87
+ "percentages": "no",
88
+ "groups": [
89
+ "CSS Basic User Interface"
90
+ ],
91
+ "initial": "auto",
92
+ "appliesto": "allElements",
93
+ "computed": "asAutoOrColor",
94
+ "order": "perGrammar",
95
+ "status": "standard",
96
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/caret-color",
97
+ "property": "caret-color",
98
+ "group": "CSS Basic User Interface"
99
+ },
100
+ {
101
+ "syntax": "auto | bar | block | underscore",
102
+ "media": "interactive",
103
+ "inherited": true,
104
+ "animationType": "byComputedValueType",
105
+ "percentages": "no",
106
+ "groups": [
107
+ "CSS Basic User Interface"
108
+ ],
109
+ "initial": "auto",
110
+ "appliesto": "elementsThatAcceptInput",
111
+ "computed": "asSpecified",
112
+ "order": "perGrammar",
113
+ "status": "standard",
114
+ "property": "caret-shape",
115
+ "group": "CSS Basic User Interface"
116
+ },
117
+ {
118
+ "syntax": "[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing ] ]",
119
+ "media": [
120
+ "visual",
121
+ "interactive"
122
+ ],
123
+ "inherited": true,
124
+ "animationType": "discrete",
125
+ "percentages": "no",
126
+ "groups": [
127
+ "CSS Basic User Interface"
128
+ ],
129
+ "initial": "auto",
130
+ "appliesto": "allElements",
131
+ "computed": "asSpecifiedURLsAbsolute",
132
+ "order": "uniqueOrder",
133
+ "status": "standard",
134
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/cursor",
135
+ "property": "cursor",
136
+ "group": "CSS Basic User Interface"
137
+ },
138
+ {
139
+ "syntax": "auto | normal | active | inactive | disabled",
140
+ "media": "interactive",
141
+ "inherited": false,
142
+ "animationType": "discrete",
143
+ "percentages": "no",
144
+ "groups": [
145
+ "CSS Basic User Interface"
146
+ ],
147
+ "initial": "auto",
148
+ "appliesto": "textFields",
149
+ "computed": "asSpecified",
150
+ "order": "uniqueOrder",
151
+ "status": "obsolete",
152
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/ime-mode",
153
+ "property": "ime-mode",
154
+ "group": "CSS Basic User Interface"
155
+ },
156
+ {
157
+ "syntax": "auto | none",
158
+ "media": "interactive",
159
+ "inherited": false,
160
+ "animationType": "byComputedValueType",
161
+ "percentages": "no",
162
+ "groups": [
163
+ "CSS Basic User Interface"
164
+ ],
165
+ "initial": "auto",
166
+ "appliesto": "sensitiveTextInputs",
167
+ "computed": "asSpecified",
168
+ "order": "perGrammar",
169
+ "status": "standard",
170
+ "property": "input-security",
171
+ "group": "CSS Basic User Interface"
172
+ },
173
+ {
174
+ "syntax": "[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]",
175
+ "media": [
176
+ "visual",
177
+ "interactive"
178
+ ],
179
+ "inherited": false,
180
+ "animationType": [
181
+ "outline-color",
182
+ "outline-width",
183
+ "outline-style"
184
+ ],
185
+ "percentages": "no",
186
+ "groups": [
187
+ "CSS Basic User Interface"
188
+ ],
189
+ "initial": [
190
+ "outline-color",
191
+ "outline-style",
192
+ "outline-width"
193
+ ],
194
+ "appliesto": "allElements",
195
+ "computed": [
196
+ "outline-color",
197
+ "outline-width",
198
+ "outline-style"
199
+ ],
200
+ "order": "orderOfAppearance",
201
+ "status": "standard",
202
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/outline",
203
+ "property": "outline",
204
+ "group": "CSS Basic User Interface"
205
+ },
206
+ {
207
+ "syntax": "<color> | invert",
208
+ "media": [
209
+ "visual",
210
+ "interactive"
211
+ ],
212
+ "inherited": false,
213
+ "animationType": "color",
214
+ "percentages": "no",
215
+ "groups": [
216
+ "CSS Basic User Interface"
217
+ ],
218
+ "initial": "invertOrCurrentColor",
219
+ "appliesto": "allElements",
220
+ "computed": "invertForTranslucentColorRGBAOtherwiseRGB",
221
+ "order": "uniqueOrder",
222
+ "status": "standard",
223
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/outline-color",
224
+ "property": "outline-color",
225
+ "group": "CSS Basic User Interface"
226
+ },
227
+ {
228
+ "syntax": "<length>",
229
+ "media": [
230
+ "visual",
231
+ "interactive"
232
+ ],
233
+ "inherited": false,
234
+ "animationType": "length",
235
+ "percentages": "no",
236
+ "groups": [
237
+ "CSS Basic User Interface"
238
+ ],
239
+ "initial": "0",
240
+ "appliesto": "allElements",
241
+ "computed": "asSpecifiedRelativeToAbsoluteLengths",
242
+ "order": "uniqueOrder",
243
+ "status": "standard",
244
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/outline-offset",
245
+ "property": "outline-offset",
246
+ "group": "CSS Basic User Interface"
247
+ },
248
+ {
249
+ "syntax": "auto | <'border-style'>",
250
+ "media": [
251
+ "visual",
252
+ "interactive"
253
+ ],
254
+ "inherited": false,
255
+ "animationType": "byComputedValueType",
256
+ "percentages": "no",
257
+ "groups": [
258
+ "CSS Basic User Interface"
259
+ ],
260
+ "initial": "none",
261
+ "appliesto": "allElements",
262
+ "computed": "asSpecified",
263
+ "order": "uniqueOrder",
264
+ "status": "standard",
265
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/outline-style",
266
+ "property": "outline-style",
267
+ "group": "CSS Basic User Interface"
268
+ },
269
+ {
270
+ "syntax": "<line-width>",
271
+ "media": [
272
+ "visual",
273
+ "interactive"
274
+ ],
275
+ "inherited": false,
276
+ "animationType": "length",
277
+ "percentages": "no",
278
+ "groups": [
279
+ "CSS Basic User Interface"
280
+ ],
281
+ "initial": "medium",
282
+ "appliesto": "allElements",
283
+ "computed": "absoluteLength0ForNone",
284
+ "order": "uniqueOrder",
285
+ "status": "standard",
286
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/outline-width",
287
+ "property": "outline-width",
288
+ "group": "CSS Basic User Interface"
289
+ },
290
+ {
291
+ "syntax": "auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",
292
+ "media": "visual",
293
+ "inherited": true,
294
+ "animationType": "discrete",
295
+ "percentages": "no",
296
+ "groups": [
297
+ "CSS Basic User Interface"
298
+ ],
299
+ "initial": "auto",
300
+ "appliesto": "allElements",
301
+ "computed": "asSpecified",
302
+ "order": "uniqueOrder",
303
+ "status": "standard",
304
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/pointer-events",
305
+ "property": "pointer-events",
306
+ "group": "CSS Basic User Interface"
307
+ },
308
+ {
309
+ "syntax": "none | both | horizontal | vertical | block | inline",
310
+ "media": "visual",
311
+ "inherited": false,
312
+ "animationType": "discrete",
313
+ "percentages": "no",
314
+ "groups": [
315
+ "CSS Basic User Interface"
316
+ ],
317
+ "initial": "none",
318
+ "appliesto": "elementsWithOverflowNotVisibleAndReplacedElements",
319
+ "computed": "asSpecified",
320
+ "order": "uniqueOrder",
321
+ "status": "standard",
322
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/resize",
323
+ "property": "resize",
324
+ "group": "CSS Basic User Interface"
325
+ },
326
+ {
327
+ "syntax": "[ clip | ellipsis | <string> ]{1,2}",
328
+ "media": "visual",
329
+ "inherited": false,
330
+ "animationType": "discrete",
331
+ "percentages": "no",
332
+ "groups": [
333
+ "CSS Basic User Interface"
334
+ ],
335
+ "initial": "clip",
336
+ "appliesto": "blockContainerElements",
337
+ "computed": "asSpecified",
338
+ "order": "uniqueOrder",
339
+ "alsoAppliesTo": [
340
+ "::placeholder"
341
+ ],
342
+ "status": "standard",
343
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-overflow",
344
+ "property": "text-overflow",
345
+ "group": "CSS Basic User Interface"
346
+ },
347
+ {
348
+ "syntax": "auto | text | none | contain | all",
349
+ "media": "visual",
350
+ "inherited": false,
351
+ "animationType": "discrete",
352
+ "percentages": "no",
353
+ "groups": [
354
+ "CSS Basic User Interface"
355
+ ],
356
+ "initial": "auto",
357
+ "appliesto": "allElements",
358
+ "computed": "asSpecified",
359
+ "order": "uniqueOrder",
360
+ "status": "standard",
361
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/user-select",
362
+ "property": "user-select",
363
+ "group": "CSS Basic User Interface"
364
+ }
365
+ ]
@@ -0,0 +1,245 @@
1
+ [
2
+ {
3
+ "syntax": "normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>",
4
+ "media": "visual",
5
+ "inherited": false,
6
+ "animationType": "discrete",
7
+ "percentages": "no",
8
+ "groups": [
9
+ "CSS Box Alignment"
10
+ ],
11
+ "initial": "normal",
12
+ "appliesto": "multilineFlexContainers",
13
+ "computed": "asSpecified",
14
+ "order": "uniqueOrder",
15
+ "status": "standard",
16
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/align-content",
17
+ "property": "align-content",
18
+ "group": "CSS Box Alignment"
19
+ },
20
+ {
21
+ "syntax": "normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]",
22
+ "media": "visual",
23
+ "inherited": false,
24
+ "animationType": "discrete",
25
+ "percentages": "no",
26
+ "groups": [
27
+ "CSS Box Alignment"
28
+ ],
29
+ "initial": "normal",
30
+ "appliesto": "allElements",
31
+ "computed": "asSpecified",
32
+ "order": "uniqueOrder",
33
+ "status": "standard",
34
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/align-items",
35
+ "property": "align-items",
36
+ "group": "CSS Box Alignment"
37
+ },
38
+ {
39
+ "syntax": "auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",
40
+ "media": "visual",
41
+ "inherited": false,
42
+ "animationType": "discrete",
43
+ "percentages": "no",
44
+ "groups": [
45
+ "CSS Box Alignment"
46
+ ],
47
+ "initial": "auto",
48
+ "appliesto": "flexItemsGridItemsAndAbsolutelyPositionedBoxes",
49
+ "computed": "autoOnAbsolutelyPositionedElementsValueOfAlignItemsOnParent",
50
+ "order": "uniqueOrder",
51
+ "status": "standard",
52
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/align-self",
53
+ "property": "align-self",
54
+ "group": "CSS Box Alignment"
55
+ },
56
+ {
57
+ "syntax": "normal | <length-percentage>",
58
+ "media": "visual",
59
+ "inherited": false,
60
+ "animationType": "lpc",
61
+ "percentages": "referToDimensionOfContentArea",
62
+ "groups": [
63
+ "CSS Box Alignment"
64
+ ],
65
+ "initial": "normal",
66
+ "appliesto": "multiColumnElementsFlexContainersGridContainers",
67
+ "computed": "asSpecifiedWithLengthsAbsoluteAndNormalComputingToZeroExceptMultiColumn",
68
+ "order": "perGrammar",
69
+ "status": "standard",
70
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/column-gap",
71
+ "property": "column-gap",
72
+ "group": "CSS Box Alignment"
73
+ },
74
+ {
75
+ "syntax": "<'row-gap'> <'column-gap'>?",
76
+ "media": "visual",
77
+ "inherited": false,
78
+ "animationType": [
79
+ "row-gap",
80
+ "column-gap"
81
+ ],
82
+ "percentages": "no",
83
+ "groups": [
84
+ "CSS Box Alignment"
85
+ ],
86
+ "initial": [
87
+ "row-gap",
88
+ "column-gap"
89
+ ],
90
+ "appliesto": "multiColumnElementsFlexContainersGridContainers",
91
+ "computed": [
92
+ "row-gap",
93
+ "column-gap"
94
+ ],
95
+ "order": "uniqueOrder",
96
+ "status": "standard",
97
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gap",
98
+ "property": "gap",
99
+ "group": "CSS Box Alignment"
100
+ },
101
+ {
102
+ "syntax": "normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]",
103
+ "media": "visual",
104
+ "inherited": false,
105
+ "animationType": "discrete",
106
+ "percentages": "no",
107
+ "groups": [
108
+ "CSS Box Alignment"
109
+ ],
110
+ "initial": "normal",
111
+ "appliesto": "flexContainers",
112
+ "computed": "asSpecified",
113
+ "order": "uniqueOrder",
114
+ "status": "standard",
115
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/justify-content",
116
+ "property": "justify-content",
117
+ "group": "CSS Box Alignment"
118
+ },
119
+ {
120
+ "syntax": "normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]",
121
+ "media": "visual",
122
+ "inherited": false,
123
+ "animationType": "discrete",
124
+ "percentages": "no",
125
+ "groups": [
126
+ "CSS Box Alignment"
127
+ ],
128
+ "initial": "legacy",
129
+ "appliesto": "allElements",
130
+ "computed": "asSpecified",
131
+ "order": "perGrammar",
132
+ "status": "standard",
133
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/justify-items",
134
+ "property": "justify-items",
135
+ "group": "CSS Box Alignment"
136
+ },
137
+ {
138
+ "syntax": "auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",
139
+ "media": "visual",
140
+ "inherited": false,
141
+ "animationType": "discrete",
142
+ "percentages": "no",
143
+ "groups": [
144
+ "CSS Box Alignment"
145
+ ],
146
+ "initial": "auto",
147
+ "appliesto": "blockLevelBoxesAndAbsolutelyPositionedBoxesAndGridItems",
148
+ "computed": "asSpecified",
149
+ "order": "uniqueOrder",
150
+ "status": "standard",
151
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/justify-self",
152
+ "property": "justify-self",
153
+ "group": "CSS Box Alignment"
154
+ },
155
+ {
156
+ "syntax": "<'align-content'> <'justify-content'>?",
157
+ "media": "visual",
158
+ "inherited": false,
159
+ "animationType": "discrete",
160
+ "percentages": "no",
161
+ "groups": [
162
+ "CSS Box Alignment"
163
+ ],
164
+ "initial": [
165
+ "align-content",
166
+ "justify-content"
167
+ ],
168
+ "appliesto": "multilineFlexContainers",
169
+ "computed": [
170
+ "align-content",
171
+ "justify-content"
172
+ ],
173
+ "order": "uniqueOrder",
174
+ "status": "standard",
175
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/place-content",
176
+ "property": "place-content",
177
+ "group": "CSS Box Alignment"
178
+ },
179
+ {
180
+ "syntax": "<'align-items'> <'justify-items'>?",
181
+ "media": "visual",
182
+ "inherited": false,
183
+ "animationType": "discrete",
184
+ "percentages": "no",
185
+ "groups": [
186
+ "CSS Box Alignment"
187
+ ],
188
+ "initial": [
189
+ "align-items",
190
+ "justify-items"
191
+ ],
192
+ "appliesto": "allElements",
193
+ "computed": [
194
+ "align-items",
195
+ "justify-items"
196
+ ],
197
+ "order": "uniqueOrder",
198
+ "status": "standard",
199
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/place-items",
200
+ "property": "place-items",
201
+ "group": "CSS Box Alignment"
202
+ },
203
+ {
204
+ "syntax": "<'align-self'> <'justify-self'>?",
205
+ "media": "visual",
206
+ "inherited": false,
207
+ "animationType": "discrete",
208
+ "percentages": "no",
209
+ "groups": [
210
+ "CSS Box Alignment"
211
+ ],
212
+ "initial": [
213
+ "align-self",
214
+ "justify-self"
215
+ ],
216
+ "appliesto": "blockLevelBoxesAndAbsolutelyPositionedBoxesAndGridItems",
217
+ "computed": [
218
+ "align-self",
219
+ "justify-self"
220
+ ],
221
+ "order": "uniqueOrder",
222
+ "status": "standard",
223
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/place-self",
224
+ "property": "place-self",
225
+ "group": "CSS Box Alignment"
226
+ },
227
+ {
228
+ "syntax": "normal | <length-percentage>",
229
+ "media": "visual",
230
+ "inherited": false,
231
+ "animationType": "lpc",
232
+ "percentages": "referToDimensionOfContentArea",
233
+ "groups": [
234
+ "CSS Box Alignment"
235
+ ],
236
+ "initial": "normal",
237
+ "appliesto": "multiColumnElementsFlexContainersGridContainers",
238
+ "computed": "asSpecifiedWithLengthsAbsoluteAndNormalComputingToZeroExceptMultiColumn",
239
+ "order": "perGrammar",
240
+ "status": "standard",
241
+ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/row-gap",
242
+ "property": "row-gap",
243
+ "group": "CSS Box Alignment"
244
+ }
245
+ ]