@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.
- package/README.md +3 -3
- package/lib/common-types.d.ts +49 -0
- package/lib/common-types.js.flow +64 -0
- package/lib/convert-to-className.d.ts +16 -0
- package/lib/convert-to-className.js +17 -26
- package/lib/convert-to-className.js.flow +23 -0
- package/lib/generate-css-rule.d.ts +17 -0
- package/lib/generate-css-rule.js +6 -17
- package/lib/generate-css-rule.js.flow +17 -0
- package/lib/hash.d.ts +11 -0
- package/lib/hash.js +3 -27
- package/lib/hash.js.flow +10 -0
- package/lib/index.d.ts +42 -85
- package/lib/index.js +21 -29
- package/lib/index.js.flow +57 -3
- package/lib/messages.d.ts +41 -0
- package/lib/messages.js +33 -53
- package/lib/messages.js.flow +44 -0
- package/lib/physical-rtl/generate-ltr.d.ts +11 -0
- package/lib/physical-rtl/generate-ltr.js +18 -46
- package/lib/physical-rtl/generate-ltr.js.flow +12 -0
- package/lib/physical-rtl/generate-rtl.d.ts +13 -0
- package/lib/physical-rtl/generate-rtl.js +18 -50
- package/lib/physical-rtl/generate-rtl.js.flow +12 -0
- package/lib/preprocess-rules/PreRule.d.ts +52 -0
- package/lib/preprocess-rules/PreRule.js +87 -0
- package/lib/preprocess-rules/PreRule.js.flow +64 -0
- package/lib/preprocess-rules/application-order.d.ts +290 -0
- package/lib/preprocess-rules/application-order.js +60 -133
- package/lib/preprocess-rules/application-order.js.flow +241 -0
- package/lib/preprocess-rules/basic-validation.d.ts +13 -0
- package/lib/preprocess-rules/basic-validation.js +83 -0
- package/lib/preprocess-rules/basic-validation.js.flow +13 -0
- package/lib/preprocess-rules/flatten-raw-style-obj.d.ts +25 -0
- package/lib/preprocess-rules/flatten-raw-style-obj.js +120 -0
- package/lib/preprocess-rules/flatten-raw-style-obj.js.flow +27 -0
- package/lib/preprocess-rules/index.d.ts +18 -0
- package/lib/preprocess-rules/index.js +0 -9
- package/lib/preprocess-rules/index.js.flow +19 -0
- package/lib/preprocess-rules/legacy-expand-shorthands.d.ts +200 -0
- package/lib/preprocess-rules/legacy-expand-shorthands.js +90 -123
- package/lib/preprocess-rules/legacy-expand-shorthands.js.flow +179 -0
- package/lib/preprocess-rules/property-specificity.d.ts +89 -0
- package/lib/preprocess-rules/property-specificity.js +46 -74
- package/lib/preprocess-rules/property-specificity.js.flow +98 -0
- package/lib/properties/CSS Animations.json +445 -0
- package/lib/properties/CSS Backgrounds and Borders.json +1085 -0
- package/lib/properties/CSS Basic User Interface.json +365 -0
- package/lib/properties/CSS Box Alignment.json +245 -0
- package/lib/properties/CSS Box Model.json +501 -0
- package/lib/properties/CSS Color.json +100 -0
- package/lib/properties/CSS Columns.json +185 -0
- package/lib/properties/CSS Containment.json +203 -0
- package/lib/properties/CSS Counter Styles.json +56 -0
- package/lib/properties/CSS Display.json +20 -0
- package/lib/properties/CSS Flexible Box Layout.json +167 -0
- package/lib/properties/CSS Fonts.json +684 -0
- package/lib/properties/CSS Fragmentation.json +110 -0
- package/lib/properties/CSS Generated Content.json +38 -0
- package/lib/properties/CSS Grid Layout.json +500 -0
- package/lib/properties/CSS Images.json +91 -0
- package/lib/properties/CSS Inline.json +38 -0
- package/lib/properties/CSS Lists and Counters.json +86 -0
- package/lib/properties/CSS Logical Properties.json +1086 -0
- package/lib/properties/CSS Masking.json +399 -0
- package/lib/properties/CSS Miscellaneous.json +38 -0
- package/lib/properties/CSS Motion Path.json +132 -0
- package/lib/properties/CSS Overflow.json +216 -0
- package/lib/properties/CSS Pages.json +83 -0
- package/lib/properties/CSS Positioning.json +166 -0
- package/lib/properties/CSS Ruby.json +55 -0
- package/lib/properties/CSS Scroll Anchoring.json +19 -0
- package/lib/properties/CSS Scroll Snap.json +604 -0
- package/lib/properties/CSS Scrollbars.json +38 -0
- package/lib/properties/CSS Shapes.json +56 -0
- package/lib/properties/CSS Speech.json +20 -0
- package/lib/properties/CSS Table.json +115 -0
- package/lib/properties/CSS Text Decoration.json +312 -0
- package/lib/properties/CSS Text.json +415 -0
- package/lib/properties/CSS Transforms.json +188 -0
- package/lib/properties/CSS Transitions.json +122 -0
- package/lib/properties/CSS Variables.json +20 -0
- package/lib/properties/CSS View Transitions.json +20 -0
- package/lib/properties/CSS Will Change.json +20 -0
- package/lib/properties/CSS Writing Modes.json +92 -0
- package/lib/properties/Compositing and Blending.json +62 -0
- package/lib/properties/Filter Effects.json +38 -0
- package/lib/properties/MathML.json +56 -0
- package/lib/properties/Microsoft Extensions.json +885 -0
- package/lib/properties/Mozilla Extensions.json +607 -0
- package/lib/properties/Pointer Events.json +20 -0
- package/lib/properties/WebKit Extensions.json +707 -0
- package/lib/properties.json +10122 -0
- package/lib/stylex-create-theme.d.ts +26 -0
- package/lib/stylex-create-theme.js +67 -0
- package/lib/stylex-create-theme.js.flow +19 -0
- package/lib/stylex-create.d.ts +23 -0
- package/lib/stylex-create.js +30 -146
- package/lib/stylex-create.js.flow +30 -0
- package/lib/stylex-define-vars.d.ts +29 -0
- package/lib/stylex-define-vars.js +73 -0
- package/lib/stylex-define-vars.js.flow +26 -0
- package/lib/stylex-first-that-works.d.ts +13 -0
- package/lib/stylex-first-that-works.js +0 -10
- package/lib/stylex-first-that-works.js.flow +12 -0
- package/lib/stylex-include.d.ts +18 -0
- package/lib/stylex-include.js +2 -12
- package/lib/stylex-include.js.flow +20 -0
- package/lib/stylex-keyframes.d.ts +17 -0
- package/lib/stylex-keyframes.js +6 -26
- package/lib/stylex-keyframes.js.flow +20 -0
- package/lib/transform-value.d.ts +22 -0
- package/lib/transform-value.js +9 -23
- package/lib/transform-value.js.flow +25 -0
- package/lib/types/index.d.ts +205 -0
- package/lib/types/index.js +191 -0
- package/lib/types/index.js.flow +241 -0
- package/lib/utils/Rule.d.ts +58 -0
- package/lib/utils/Rule.js +0 -21
- package/lib/utils/Rule.js.flow +64 -0
- package/lib/utils/dashify.d.ts +11 -0
- package/lib/utils/dashify.js +0 -8
- package/lib/utils/dashify.js.flow +10 -0
- package/lib/utils/default-options.d.ts +11 -0
- package/lib/utils/default-options.js +13 -0
- package/lib/utils/default-options.js.flow +25 -0
- package/lib/utils/file-based-identifier.d.ts +15 -0
- package/lib/utils/file-based-identifier.js +14 -0
- package/lib/utils/file-based-identifier.js.flow +14 -0
- package/lib/utils/genCSSRule.d.ts +15 -0
- package/lib/utils/genCSSRule.js +9 -18
- package/lib/utils/genCSSRule.js.flow +15 -0
- package/lib/utils/normalize-value.d.ts +16 -0
- package/lib/utils/normalize-value.js +8 -15
- package/lib/utils/normalize-value.js.flow +16 -0
- package/lib/utils/normalizers/convert-camel-case-transition-props.d.ts +14 -0
- package/lib/utils/normalizers/convert-camel-case-transition-props.js +23 -0
- package/lib/utils/normalizers/convert-camel-case-transition-props.js.flow +13 -0
- package/lib/utils/normalizers/convert-camel-case-values.d.ts +14 -0
- package/lib/utils/normalizers/convert-camel-case-values.js +23 -0
- package/lib/utils/normalizers/convert-camel-case-values.js.flow +13 -0
- package/lib/utils/normalizers/detect-unclosed-fns.d.ts +17 -0
- package/lib/utils/normalizers/detect-unclosed-fns.js +2 -14
- package/lib/utils/normalizers/detect-unclosed-fns.js.flow +16 -0
- package/lib/utils/normalizers/font-size-px-to-rem.d.ts +19 -0
- package/lib/utils/normalizers/font-size-px-to-rem.js +9 -19
- package/lib/utils/normalizers/font-size-px-to-rem.js.flow +18 -0
- package/lib/utils/normalizers/leading-zero.d.ts +17 -0
- package/lib/utils/normalizers/leading-zero.js +0 -12
- package/lib/utils/normalizers/leading-zero.js.flow +16 -0
- package/lib/utils/normalizers/quotes.d.ts +18 -0
- package/lib/utils/normalizers/quotes.js +0 -13
- package/lib/utils/normalizers/quotes.js.flow +17 -0
- package/lib/utils/normalizers/timings.d.ts +18 -0
- package/lib/utils/normalizers/timings.js +0 -14
- package/lib/utils/normalizers/timings.js.flow +17 -0
- package/lib/utils/normalizers/whitespace.d.ts +19 -0
- package/lib/utils/normalizers/whitespace.js +0 -15
- package/lib/utils/normalizers/whitespace.js.flow +18 -0
- package/lib/utils/normalizers/zero-dimensions.d.ts +19 -0
- package/lib/utils/normalizers/zero-dimensions.js +0 -15
- package/lib/utils/normalizers/zero-dimensions.js.flow +18 -0
- package/lib/utils/object-utils.d.ts +66 -0
- package/lib/utils/object-utils.js +21 -13
- package/lib/utils/object-utils.js.flow +77 -0
- package/lib/utils/property-priorities.d.ts +11 -0
- package/lib/utils/property-priorities.js +516 -101
- package/lib/utils/property-priorities.js.flow +10 -0
- package/lib/utils/split-css-value.d.ts +14 -0
- package/lib/utils/split-css-value.js +0 -14
- package/lib/utils/split-css-value.js.flow +15 -0
- package/lib/validate.d.ts +12 -0
- package/lib/validate.js +1 -10
- package/lib/validate.js.flow +12 -0
- package/package.json +4 -5
- package/lib/expand-shorthands.d.ts +0 -5
- package/lib/expand-shorthands.js +0 -330
- package/lib/namespace-transforms/__tests__/preflatten.test.js +0 -120
- package/lib/namespace-transforms/preflatten.js +0 -89
- package/lib/preprocess-rules/expand-shorthands.js +0 -156
- package/lib/preprocess-rules/null-out-longhand.js +0 -310
- package/lib/preprocess-rules/react-native-web.js +0 -142
- package/lib/stylex-defaultValue.js +0 -397
@@ -0,0 +1,604 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"syntax": "<length>{1,4}",
|
4
|
+
"media": "visual",
|
5
|
+
"inherited": false,
|
6
|
+
"animationType": "byComputedValueType",
|
7
|
+
"percentages": "no",
|
8
|
+
"groups": [
|
9
|
+
"CSS Scroll Snap"
|
10
|
+
],
|
11
|
+
"initial": [
|
12
|
+
"scroll-margin-bottom",
|
13
|
+
"scroll-margin-left",
|
14
|
+
"scroll-margin-right",
|
15
|
+
"scroll-margin-top"
|
16
|
+
],
|
17
|
+
"appliesto": "allElements",
|
18
|
+
"computed": [
|
19
|
+
"scroll-margin-bottom",
|
20
|
+
"scroll-margin-left",
|
21
|
+
"scroll-margin-right",
|
22
|
+
"scroll-margin-top"
|
23
|
+
],
|
24
|
+
"order": "perGrammar",
|
25
|
+
"status": "standard",
|
26
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-margin",
|
27
|
+
"property": "scroll-margin",
|
28
|
+
"group": "CSS Scroll Snap"
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"syntax": "<length>{1,2}",
|
32
|
+
"media": "visual",
|
33
|
+
"inherited": false,
|
34
|
+
"animationType": "byComputedValueType",
|
35
|
+
"percentages": "no",
|
36
|
+
"groups": [
|
37
|
+
"CSS Scroll Snap"
|
38
|
+
],
|
39
|
+
"initial": [
|
40
|
+
"scroll-margin-block-start",
|
41
|
+
"scroll-margin-block-end"
|
42
|
+
],
|
43
|
+
"appliesto": "allElements",
|
44
|
+
"computed": [
|
45
|
+
"scroll-margin-block-start",
|
46
|
+
"scroll-margin-block-end"
|
47
|
+
],
|
48
|
+
"order": "perGrammar",
|
49
|
+
"status": "standard",
|
50
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block",
|
51
|
+
"property": "scroll-margin-block",
|
52
|
+
"group": "CSS Scroll Snap"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"syntax": "<length>",
|
56
|
+
"media": "visual",
|
57
|
+
"inherited": false,
|
58
|
+
"animationType": "byComputedValueType",
|
59
|
+
"percentages": "no",
|
60
|
+
"groups": [
|
61
|
+
"CSS Scroll Snap"
|
62
|
+
],
|
63
|
+
"initial": "0",
|
64
|
+
"appliesto": "allElements",
|
65
|
+
"computed": "asSpecified",
|
66
|
+
"order": "perGrammar",
|
67
|
+
"status": "standard",
|
68
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-start",
|
69
|
+
"property": "scroll-margin-block-start",
|
70
|
+
"group": "CSS Scroll Snap"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"syntax": "<length>",
|
74
|
+
"media": "visual",
|
75
|
+
"inherited": false,
|
76
|
+
"animationType": "byComputedValueType",
|
77
|
+
"percentages": "no",
|
78
|
+
"groups": [
|
79
|
+
"CSS Scroll Snap"
|
80
|
+
],
|
81
|
+
"initial": "0",
|
82
|
+
"appliesto": "allElements",
|
83
|
+
"computed": "asSpecified",
|
84
|
+
"order": "perGrammar",
|
85
|
+
"status": "standard",
|
86
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-block-end",
|
87
|
+
"property": "scroll-margin-block-end",
|
88
|
+
"group": "CSS Scroll Snap"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"syntax": "<length>",
|
92
|
+
"media": "visual",
|
93
|
+
"inherited": false,
|
94
|
+
"animationType": "byComputedValueType",
|
95
|
+
"percentages": "no",
|
96
|
+
"groups": [
|
97
|
+
"CSS Scroll Snap"
|
98
|
+
],
|
99
|
+
"initial": "0",
|
100
|
+
"appliesto": "allElements",
|
101
|
+
"computed": "asSpecified",
|
102
|
+
"order": "perGrammar",
|
103
|
+
"status": "standard",
|
104
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-bottom",
|
105
|
+
"property": "scroll-margin-bottom",
|
106
|
+
"group": "CSS Scroll Snap"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"syntax": "<length>{1,2}",
|
110
|
+
"media": "visual",
|
111
|
+
"inherited": false,
|
112
|
+
"animationType": "byComputedValueType",
|
113
|
+
"percentages": "no",
|
114
|
+
"groups": [
|
115
|
+
"CSS Scroll Snap"
|
116
|
+
],
|
117
|
+
"initial": [
|
118
|
+
"scroll-margin-inline-start",
|
119
|
+
"scroll-margin-inline-end"
|
120
|
+
],
|
121
|
+
"appliesto": "allElements",
|
122
|
+
"computed": [
|
123
|
+
"scroll-margin-inline-start",
|
124
|
+
"scroll-margin-inline-end"
|
125
|
+
],
|
126
|
+
"order": "perGrammar",
|
127
|
+
"status": "standard",
|
128
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline",
|
129
|
+
"property": "scroll-margin-inline",
|
130
|
+
"group": "CSS Scroll Snap"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"syntax": "<length>",
|
134
|
+
"media": "visual",
|
135
|
+
"inherited": false,
|
136
|
+
"animationType": "byComputedValueType",
|
137
|
+
"percentages": "no",
|
138
|
+
"groups": [
|
139
|
+
"CSS Scroll Snap"
|
140
|
+
],
|
141
|
+
"initial": "0",
|
142
|
+
"appliesto": "allElements",
|
143
|
+
"computed": "asSpecified",
|
144
|
+
"order": "perGrammar",
|
145
|
+
"status": "standard",
|
146
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-start",
|
147
|
+
"property": "scroll-margin-inline-start",
|
148
|
+
"group": "CSS Scroll Snap"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"syntax": "<length>",
|
152
|
+
"media": "visual",
|
153
|
+
"inherited": false,
|
154
|
+
"animationType": "byComputedValueType",
|
155
|
+
"percentages": "no",
|
156
|
+
"groups": [
|
157
|
+
"CSS Scroll Snap"
|
158
|
+
],
|
159
|
+
"initial": "0",
|
160
|
+
"appliesto": "allElements",
|
161
|
+
"computed": "asSpecified",
|
162
|
+
"order": "perGrammar",
|
163
|
+
"status": "standard",
|
164
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-inline-end",
|
165
|
+
"property": "scroll-margin-inline-end",
|
166
|
+
"group": "CSS Scroll Snap"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"syntax": "<length>",
|
170
|
+
"media": "visual",
|
171
|
+
"inherited": false,
|
172
|
+
"animationType": "byComputedValueType",
|
173
|
+
"percentages": "no",
|
174
|
+
"groups": [
|
175
|
+
"CSS Scroll Snap"
|
176
|
+
],
|
177
|
+
"initial": "0",
|
178
|
+
"appliesto": "allElements",
|
179
|
+
"computed": "asSpecified",
|
180
|
+
"order": "perGrammar",
|
181
|
+
"status": "standard",
|
182
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-left",
|
183
|
+
"property": "scroll-margin-left",
|
184
|
+
"group": "CSS Scroll Snap"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"syntax": "<length>",
|
188
|
+
"media": "visual",
|
189
|
+
"inherited": false,
|
190
|
+
"animationType": "byComputedValueType",
|
191
|
+
"percentages": "no",
|
192
|
+
"groups": [
|
193
|
+
"CSS Scroll Snap"
|
194
|
+
],
|
195
|
+
"initial": "0",
|
196
|
+
"appliesto": "allElements",
|
197
|
+
"computed": "asSpecified",
|
198
|
+
"order": "perGrammar",
|
199
|
+
"status": "standard",
|
200
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-right",
|
201
|
+
"property": "scroll-margin-right",
|
202
|
+
"group": "CSS Scroll Snap"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"syntax": "<length>",
|
206
|
+
"media": "visual",
|
207
|
+
"inherited": false,
|
208
|
+
"animationType": "byComputedValueType",
|
209
|
+
"percentages": "no",
|
210
|
+
"groups": [
|
211
|
+
"CSS Scroll Snap"
|
212
|
+
],
|
213
|
+
"initial": "0",
|
214
|
+
"appliesto": "allElements",
|
215
|
+
"computed": "asSpecified",
|
216
|
+
"order": "perGrammar",
|
217
|
+
"status": "standard",
|
218
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-margin-top",
|
219
|
+
"property": "scroll-margin-top",
|
220
|
+
"group": "CSS Scroll Snap"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"syntax": "[ auto | <length-percentage> ]{1,4}",
|
224
|
+
"media": "visual",
|
225
|
+
"inherited": false,
|
226
|
+
"animationType": "byComputedValueType",
|
227
|
+
"percentages": "relativeToTheScrollContainersScrollport",
|
228
|
+
"groups": [
|
229
|
+
"CSS Scroll Snap"
|
230
|
+
],
|
231
|
+
"initial": [
|
232
|
+
"scroll-padding-bottom",
|
233
|
+
"scroll-padding-left",
|
234
|
+
"scroll-padding-right",
|
235
|
+
"scroll-padding-top"
|
236
|
+
],
|
237
|
+
"appliesto": "scrollContainers",
|
238
|
+
"computed": [
|
239
|
+
"scroll-padding-bottom",
|
240
|
+
"scroll-padding-left",
|
241
|
+
"scroll-padding-right",
|
242
|
+
"scroll-padding-top"
|
243
|
+
],
|
244
|
+
"order": "perGrammar",
|
245
|
+
"status": "standard",
|
246
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-padding",
|
247
|
+
"property": "scroll-padding",
|
248
|
+
"group": "CSS Scroll Snap"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"syntax": "[ auto | <length-percentage> ]{1,2}",
|
252
|
+
"media": "visual",
|
253
|
+
"inherited": false,
|
254
|
+
"animationType": "byComputedValueType",
|
255
|
+
"percentages": "relativeToTheScrollContainersScrollport",
|
256
|
+
"groups": [
|
257
|
+
"CSS Scroll Snap"
|
258
|
+
],
|
259
|
+
"initial": [
|
260
|
+
"scroll-padding-block-start",
|
261
|
+
"scroll-padding-block-end"
|
262
|
+
],
|
263
|
+
"appliesto": "scrollContainers",
|
264
|
+
"computed": [
|
265
|
+
"scroll-padding-block-start",
|
266
|
+
"scroll-padding-block-end"
|
267
|
+
],
|
268
|
+
"order": "perGrammar",
|
269
|
+
"status": "standard",
|
270
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block",
|
271
|
+
"property": "scroll-padding-block",
|
272
|
+
"group": "CSS Scroll Snap"
|
273
|
+
},
|
274
|
+
{
|
275
|
+
"syntax": "auto | <length-percentage>",
|
276
|
+
"media": "visual",
|
277
|
+
"inherited": false,
|
278
|
+
"animationType": "byComputedValueType",
|
279
|
+
"percentages": "relativeToTheScrollContainersScrollport",
|
280
|
+
"groups": [
|
281
|
+
"CSS Scroll Snap"
|
282
|
+
],
|
283
|
+
"initial": "auto",
|
284
|
+
"appliesto": "scrollContainers",
|
285
|
+
"computed": "asSpecified",
|
286
|
+
"order": "perGrammar",
|
287
|
+
"status": "standard",
|
288
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-start",
|
289
|
+
"property": "scroll-padding-block-start",
|
290
|
+
"group": "CSS Scroll Snap"
|
291
|
+
},
|
292
|
+
{
|
293
|
+
"syntax": "auto | <length-percentage>",
|
294
|
+
"media": "visual",
|
295
|
+
"inherited": false,
|
296
|
+
"animationType": "byComputedValueType",
|
297
|
+
"percentages": "relativeToTheScrollContainersScrollport",
|
298
|
+
"groups": [
|
299
|
+
"CSS Scroll Snap"
|
300
|
+
],
|
301
|
+
"initial": "auto",
|
302
|
+
"appliesto": "scrollContainers",
|
303
|
+
"computed": "asSpecified",
|
304
|
+
"order": "perGrammar",
|
305
|
+
"status": "standard",
|
306
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-block-end",
|
307
|
+
"property": "scroll-padding-block-end",
|
308
|
+
"group": "CSS Scroll Snap"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"syntax": "auto | <length-percentage>",
|
312
|
+
"media": "visual",
|
313
|
+
"inherited": false,
|
314
|
+
"animationType": "byComputedValueType",
|
315
|
+
"percentages": "relativeToTheScrollContainersScrollport",
|
316
|
+
"groups": [
|
317
|
+
"CSS Scroll Snap"
|
318
|
+
],
|
319
|
+
"initial": "auto",
|
320
|
+
"appliesto": "scrollContainers",
|
321
|
+
"computed": "asSpecified",
|
322
|
+
"order": "perGrammar",
|
323
|
+
"status": "standard",
|
324
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-bottom",
|
325
|
+
"property": "scroll-padding-bottom",
|
326
|
+
"group": "CSS Scroll Snap"
|
327
|
+
},
|
328
|
+
{
|
329
|
+
"syntax": "[ auto | <length-percentage> ]{1,2}",
|
330
|
+
"media": "visual",
|
331
|
+
"inherited": false,
|
332
|
+
"animationType": "byComputedValueType",
|
333
|
+
"percentages": "relativeToTheScrollContainersScrollport",
|
334
|
+
"groups": [
|
335
|
+
"CSS Scroll Snap"
|
336
|
+
],
|
337
|
+
"initial": [
|
338
|
+
"scroll-padding-inline-start",
|
339
|
+
"scroll-padding-inline-end"
|
340
|
+
],
|
341
|
+
"appliesto": "scrollContainers",
|
342
|
+
"computed": [
|
343
|
+
"scroll-padding-inline-start",
|
344
|
+
"scroll-padding-inline-end"
|
345
|
+
],
|
346
|
+
"order": "perGrammar",
|
347
|
+
"status": "standard",
|
348
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline",
|
349
|
+
"property": "scroll-padding-inline",
|
350
|
+
"group": "CSS Scroll Snap"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"syntax": "auto | <length-percentage>",
|
354
|
+
"media": "visual",
|
355
|
+
"inherited": false,
|
356
|
+
"animationType": "byComputedValueType",
|
357
|
+
"percentages": "relativeToTheScrollContainersScrollport",
|
358
|
+
"groups": [
|
359
|
+
"CSS Scroll Snap"
|
360
|
+
],
|
361
|
+
"initial": "auto",
|
362
|
+
"appliesto": "scrollContainers",
|
363
|
+
"computed": "asSpecified",
|
364
|
+
"order": "perGrammar",
|
365
|
+
"status": "standard",
|
366
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-start",
|
367
|
+
"property": "scroll-padding-inline-start",
|
368
|
+
"group": "CSS Scroll Snap"
|
369
|
+
},
|
370
|
+
{
|
371
|
+
"syntax": "auto | <length-percentage>",
|
372
|
+
"media": "visual",
|
373
|
+
"inherited": false,
|
374
|
+
"animationType": "byComputedValueType",
|
375
|
+
"percentages": "relativeToTheScrollContainersScrollport",
|
376
|
+
"groups": [
|
377
|
+
"CSS Scroll Snap"
|
378
|
+
],
|
379
|
+
"initial": "auto",
|
380
|
+
"appliesto": "scrollContainers",
|
381
|
+
"computed": "asSpecified",
|
382
|
+
"order": "perGrammar",
|
383
|
+
"status": "standard",
|
384
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-inline-end",
|
385
|
+
"property": "scroll-padding-inline-end",
|
386
|
+
"group": "CSS Scroll Snap"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"syntax": "auto | <length-percentage>",
|
390
|
+
"media": "visual",
|
391
|
+
"inherited": false,
|
392
|
+
"animationType": "byComputedValueType",
|
393
|
+
"percentages": "relativeToTheScrollContainersScrollport",
|
394
|
+
"groups": [
|
395
|
+
"CSS Scroll Snap"
|
396
|
+
],
|
397
|
+
"initial": "auto",
|
398
|
+
"appliesto": "scrollContainers",
|
399
|
+
"computed": "asSpecified",
|
400
|
+
"order": "perGrammar",
|
401
|
+
"status": "standard",
|
402
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-left",
|
403
|
+
"property": "scroll-padding-left",
|
404
|
+
"group": "CSS Scroll Snap"
|
405
|
+
},
|
406
|
+
{
|
407
|
+
"syntax": "auto | <length-percentage>",
|
408
|
+
"media": "visual",
|
409
|
+
"inherited": false,
|
410
|
+
"animationType": "byComputedValueType",
|
411
|
+
"percentages": "relativeToTheScrollContainersScrollport",
|
412
|
+
"groups": [
|
413
|
+
"CSS Scroll Snap"
|
414
|
+
],
|
415
|
+
"initial": "auto",
|
416
|
+
"appliesto": "scrollContainers",
|
417
|
+
"computed": "asSpecified",
|
418
|
+
"order": "perGrammar",
|
419
|
+
"status": "standard",
|
420
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-right",
|
421
|
+
"property": "scroll-padding-right",
|
422
|
+
"group": "CSS Scroll Snap"
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"syntax": "auto | <length-percentage>",
|
426
|
+
"media": "visual",
|
427
|
+
"inherited": false,
|
428
|
+
"animationType": "byComputedValueType",
|
429
|
+
"percentages": "relativeToTheScrollContainersScrollport",
|
430
|
+
"groups": [
|
431
|
+
"CSS Scroll Snap"
|
432
|
+
],
|
433
|
+
"initial": "auto",
|
434
|
+
"appliesto": "scrollContainers",
|
435
|
+
"computed": "asSpecified",
|
436
|
+
"order": "perGrammar",
|
437
|
+
"status": "standard",
|
438
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-padding-top",
|
439
|
+
"property": "scroll-padding-top",
|
440
|
+
"group": "CSS Scroll Snap"
|
441
|
+
},
|
442
|
+
{
|
443
|
+
"syntax": "[ none | start | end | center ]{1,2}",
|
444
|
+
"media": "visual",
|
445
|
+
"inherited": false,
|
446
|
+
"animationType": "discrete",
|
447
|
+
"percentages": "no",
|
448
|
+
"groups": [
|
449
|
+
"CSS Scroll Snap"
|
450
|
+
],
|
451
|
+
"initial": "none",
|
452
|
+
"appliesto": "allElements",
|
453
|
+
"computed": "asSpecified",
|
454
|
+
"order": "perGrammar",
|
455
|
+
"status": "standard",
|
456
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-align",
|
457
|
+
"property": "scroll-snap-align",
|
458
|
+
"group": "CSS Scroll Snap"
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"syntax": "none | <position>#",
|
462
|
+
"media": "interactive",
|
463
|
+
"inherited": false,
|
464
|
+
"animationType": "position",
|
465
|
+
"percentages": "referToBorderBox",
|
466
|
+
"groups": [
|
467
|
+
"CSS Scroll Snap"
|
468
|
+
],
|
469
|
+
"initial": "none",
|
470
|
+
"appliesto": "allElements",
|
471
|
+
"computed": "asSpecifiedRelativeToAbsoluteLengths",
|
472
|
+
"order": "uniqueOrder",
|
473
|
+
"status": "obsolete",
|
474
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-coordinate",
|
475
|
+
"property": "scroll-snap-coordinate",
|
476
|
+
"group": "CSS Scroll Snap"
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"syntax": "<position>",
|
480
|
+
"media": "interactive",
|
481
|
+
"inherited": false,
|
482
|
+
"animationType": "position",
|
483
|
+
"percentages": "relativeToScrollContainerPaddingBoxAxis",
|
484
|
+
"groups": [
|
485
|
+
"CSS Scroll Snap"
|
486
|
+
],
|
487
|
+
"initial": "0px 0px",
|
488
|
+
"appliesto": "scrollContainers",
|
489
|
+
"computed": "asSpecifiedRelativeToAbsoluteLengths",
|
490
|
+
"order": "uniqueOrder",
|
491
|
+
"status": "obsolete",
|
492
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-destination",
|
493
|
+
"property": "scroll-snap-destination",
|
494
|
+
"group": "CSS Scroll Snap"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"syntax": "none | repeat( <length-percentage> )",
|
498
|
+
"media": "interactive",
|
499
|
+
"inherited": false,
|
500
|
+
"animationType": "discrete",
|
501
|
+
"percentages": "relativeToScrollContainerPaddingBoxAxis",
|
502
|
+
"groups": [
|
503
|
+
"CSS Scroll Snap"
|
504
|
+
],
|
505
|
+
"initial": "none",
|
506
|
+
"appliesto": "scrollContainers",
|
507
|
+
"computed": "asSpecifiedRelativeToAbsoluteLengths",
|
508
|
+
"order": "uniqueOrder",
|
509
|
+
"status": "obsolete",
|
510
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-x",
|
511
|
+
"property": "scroll-snap-points-x",
|
512
|
+
"group": "CSS Scroll Snap"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"syntax": "none | repeat( <length-percentage> )",
|
516
|
+
"media": "interactive",
|
517
|
+
"inherited": false,
|
518
|
+
"animationType": "discrete",
|
519
|
+
"percentages": "relativeToScrollContainerPaddingBoxAxis",
|
520
|
+
"groups": [
|
521
|
+
"CSS Scroll Snap"
|
522
|
+
],
|
523
|
+
"initial": "none",
|
524
|
+
"appliesto": "scrollContainers",
|
525
|
+
"computed": "asSpecifiedRelativeToAbsoluteLengths",
|
526
|
+
"order": "uniqueOrder",
|
527
|
+
"status": "obsolete",
|
528
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-points-y",
|
529
|
+
"property": "scroll-snap-points-y",
|
530
|
+
"group": "CSS Scroll Snap"
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"syntax": "normal | always",
|
534
|
+
"media": "visual",
|
535
|
+
"inherited": false,
|
536
|
+
"animationType": "discrete",
|
537
|
+
"percentages": "no",
|
538
|
+
"groups": [
|
539
|
+
"CSS Scroll Snap"
|
540
|
+
],
|
541
|
+
"initial": "normal",
|
542
|
+
"appliesto": "allElements",
|
543
|
+
"computed": "asSpecified",
|
544
|
+
"order": "perGrammar",
|
545
|
+
"status": "standard",
|
546
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-stop",
|
547
|
+
"property": "scroll-snap-stop",
|
548
|
+
"group": "CSS Scroll Snap"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"syntax": "none | [ x | y | block | inline | both ] [ mandatory | proximity ]?",
|
552
|
+
"media": "interactive",
|
553
|
+
"inherited": false,
|
554
|
+
"animationType": "discrete",
|
555
|
+
"percentages": "no",
|
556
|
+
"groups": [
|
557
|
+
"CSS Scroll Snap"
|
558
|
+
],
|
559
|
+
"initial": "none",
|
560
|
+
"appliesto": "allElements",
|
561
|
+
"computed": "asSpecified",
|
562
|
+
"order": "uniqueOrder",
|
563
|
+
"status": "standard",
|
564
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type",
|
565
|
+
"property": "scroll-snap-type",
|
566
|
+
"group": "CSS Scroll Snap"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"syntax": "none | mandatory | proximity",
|
570
|
+
"media": "interactive",
|
571
|
+
"inherited": false,
|
572
|
+
"animationType": "discrete",
|
573
|
+
"percentages": "no",
|
574
|
+
"groups": [
|
575
|
+
"CSS Scroll Snap"
|
576
|
+
],
|
577
|
+
"initial": "none",
|
578
|
+
"appliesto": "scrollContainers",
|
579
|
+
"computed": "asSpecified",
|
580
|
+
"order": "uniqueOrder",
|
581
|
+
"status": "obsolete",
|
582
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-x",
|
583
|
+
"property": "scroll-snap-type-x",
|
584
|
+
"group": "CSS Scroll Snap"
|
585
|
+
},
|
586
|
+
{
|
587
|
+
"syntax": "none | mandatory | proximity",
|
588
|
+
"media": "interactive",
|
589
|
+
"inherited": false,
|
590
|
+
"animationType": "discrete",
|
591
|
+
"percentages": "no",
|
592
|
+
"groups": [
|
593
|
+
"CSS Scroll Snap"
|
594
|
+
],
|
595
|
+
"initial": "none",
|
596
|
+
"appliesto": "scrollContainers",
|
597
|
+
"computed": "asSpecified",
|
598
|
+
"order": "uniqueOrder",
|
599
|
+
"status": "obsolete",
|
600
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scroll-snap-type-y",
|
601
|
+
"property": "scroll-snap-type-y",
|
602
|
+
"group": "CSS Scroll Snap"
|
603
|
+
}
|
604
|
+
]
|
@@ -0,0 +1,38 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"syntax": "auto | <color>{2}",
|
4
|
+
"media": "visual",
|
5
|
+
"inherited": true,
|
6
|
+
"animationType": "byComputedValueType",
|
7
|
+
"percentages": "no",
|
8
|
+
"groups": [
|
9
|
+
"CSS Scrollbars"
|
10
|
+
],
|
11
|
+
"initial": "auto",
|
12
|
+
"appliesto": "scrollingBoxes",
|
13
|
+
"computed": "asSpecified",
|
14
|
+
"order": "perGrammar",
|
15
|
+
"status": "standard",
|
16
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scrollbar-color",
|
17
|
+
"property": "scrollbar-color",
|
18
|
+
"group": "CSS Scrollbars"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"syntax": "auto | thin | none",
|
22
|
+
"media": "visual",
|
23
|
+
"inherited": false,
|
24
|
+
"animationType": "byComputedValueType",
|
25
|
+
"percentages": "no",
|
26
|
+
"groups": [
|
27
|
+
"CSS Scrollbars"
|
28
|
+
],
|
29
|
+
"initial": "auto",
|
30
|
+
"appliesto": "scrollingBoxes",
|
31
|
+
"computed": "asSpecified",
|
32
|
+
"order": "perGrammar",
|
33
|
+
"status": "standard",
|
34
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scrollbar-width",
|
35
|
+
"property": "scrollbar-width",
|
36
|
+
"group": "CSS Scrollbars"
|
37
|
+
}
|
38
|
+
]
|