@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.
- package/README.md +81 -0
- package/lib/common-types.d.ts +50 -0
- package/lib/common-types.js.flow +65 -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 +8 -47
- 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 +19 -27
- package/lib/index.js.flow +59 -0
- package/lib/messages.d.ts +36 -0
- package/lib/messages.js +28 -55
- package/lib/messages.js.flow +39 -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 +193 -0
- 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 +30 -0
- 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 +136 -0
- 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 +107 -0
- 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 +62 -0
- package/lib/stylex-create-theme.js.flow +19 -0
- package/lib/stylex-create.d.ts +23 -0
- package/lib/stylex-create.js +30 -142
- package/lib/stylex-create.js.flow +30 -0
- package/lib/stylex-define-vars.d.ts +36 -0
- package/lib/stylex-define-vars.js +72 -0
- package/lib/stylex-define-vars.js.flow +28 -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 +0 -10
- package/lib/stylex-include.js.flow +20 -0
- package/lib/stylex-keyframes.d.ts +17 -0
- package/lib/stylex-keyframes.js +22 -30
- 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 +50 -0
- 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 +14 -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 +11 -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 +0 -12
- 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 +531 -0
- 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 +33 -0
- 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 -387
- package/lib/stylex-defaultValue.js +0 -397
@@ -0,0 +1,415 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"syntax": "none | [ first || [ force-end | allow-end ] || last ]",
|
4
|
+
"media": "visual",
|
5
|
+
"inherited": true,
|
6
|
+
"animationType": "discrete",
|
7
|
+
"percentages": "no",
|
8
|
+
"groups": [
|
9
|
+
"CSS Text"
|
10
|
+
],
|
11
|
+
"initial": "none",
|
12
|
+
"appliesto": "allElements",
|
13
|
+
"computed": "asSpecified",
|
14
|
+
"order": "uniqueOrder",
|
15
|
+
"status": "standard",
|
16
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/hanging-punctuation",
|
17
|
+
"property": "hanging-punctuation",
|
18
|
+
"group": "CSS Text"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"syntax": "auto | <string>",
|
22
|
+
"media": "visual",
|
23
|
+
"inherited": true,
|
24
|
+
"animationType": "discrete",
|
25
|
+
"percentages": "no",
|
26
|
+
"groups": [
|
27
|
+
"CSS Text"
|
28
|
+
],
|
29
|
+
"initial": "auto",
|
30
|
+
"appliesto": "allElements",
|
31
|
+
"computed": "asSpecified",
|
32
|
+
"order": "perGrammar",
|
33
|
+
"status": "standard",
|
34
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/hyphenate-character",
|
35
|
+
"property": "hyphenate-character",
|
36
|
+
"group": "CSS Text"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"syntax": "[ auto | <integer> ]{1,3}",
|
40
|
+
"media": "visual",
|
41
|
+
"inherited": true,
|
42
|
+
"animationType": "byComputedValueType",
|
43
|
+
"percentages": "no",
|
44
|
+
"groups": [
|
45
|
+
"CSS Text"
|
46
|
+
],
|
47
|
+
"initial": "auto",
|
48
|
+
"appliesto": "allElements",
|
49
|
+
"computed": "asSpecified",
|
50
|
+
"order": "perGrammar",
|
51
|
+
"status": "standard",
|
52
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/hyphenate-limit-chars",
|
53
|
+
"property": "hyphenate-limit-chars",
|
54
|
+
"group": "CSS Text"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"syntax": "none | manual | auto",
|
58
|
+
"media": "visual",
|
59
|
+
"inherited": true,
|
60
|
+
"animationType": "discrete",
|
61
|
+
"percentages": "no",
|
62
|
+
"groups": [
|
63
|
+
"CSS Text"
|
64
|
+
],
|
65
|
+
"initial": "manual",
|
66
|
+
"appliesto": "allElements",
|
67
|
+
"computed": "asSpecified",
|
68
|
+
"order": "uniqueOrder",
|
69
|
+
"status": "standard",
|
70
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/hyphens",
|
71
|
+
"property": "hyphens",
|
72
|
+
"group": "CSS Text"
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"syntax": "normal | <length>",
|
76
|
+
"media": "visual",
|
77
|
+
"inherited": true,
|
78
|
+
"animationType": "length",
|
79
|
+
"percentages": "no",
|
80
|
+
"groups": [
|
81
|
+
"CSS Text"
|
82
|
+
],
|
83
|
+
"initial": "normal",
|
84
|
+
"appliesto": "allElements",
|
85
|
+
"computed": "optimumValueOfAbsoluteLengthOrNormal",
|
86
|
+
"order": "uniqueOrder",
|
87
|
+
"alsoAppliesTo": [
|
88
|
+
"::first-letter",
|
89
|
+
"::first-line"
|
90
|
+
],
|
91
|
+
"status": "standard",
|
92
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/letter-spacing",
|
93
|
+
"property": "letter-spacing",
|
94
|
+
"group": "CSS Text"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"syntax": "auto | loose | normal | strict | anywhere",
|
98
|
+
"media": "visual",
|
99
|
+
"inherited": true,
|
100
|
+
"animationType": "discrete",
|
101
|
+
"percentages": "no",
|
102
|
+
"groups": [
|
103
|
+
"CSS Text"
|
104
|
+
],
|
105
|
+
"initial": "auto",
|
106
|
+
"appliesto": "allElements",
|
107
|
+
"computed": "asSpecified",
|
108
|
+
"order": "uniqueOrder",
|
109
|
+
"status": "standard",
|
110
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/line-break",
|
111
|
+
"property": "line-break",
|
112
|
+
"group": "CSS Text"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"syntax": "normal | break-word | anywhere",
|
116
|
+
"media": "visual",
|
117
|
+
"inherited": true,
|
118
|
+
"animationType": "discrete",
|
119
|
+
"percentages": "no",
|
120
|
+
"groups": [
|
121
|
+
"CSS Text"
|
122
|
+
],
|
123
|
+
"initial": "normal",
|
124
|
+
"appliesto": "nonReplacedInlineElements",
|
125
|
+
"computed": "asSpecified",
|
126
|
+
"order": "uniqueOrder",
|
127
|
+
"status": "standard",
|
128
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overflow-wrap",
|
129
|
+
"property": "overflow-wrap",
|
130
|
+
"group": "CSS Text"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"syntax": "normal | [ fill || stroke || markers ]",
|
134
|
+
"media": "visual",
|
135
|
+
"inherited": true,
|
136
|
+
"animationType": "discrete",
|
137
|
+
"percentages": "no",
|
138
|
+
"groups": [
|
139
|
+
"CSS Text"
|
140
|
+
],
|
141
|
+
"initial": "normal",
|
142
|
+
"appliesto": "textElements",
|
143
|
+
"computed": "asSpecified",
|
144
|
+
"order": "uniqueOrder",
|
145
|
+
"status": "standard",
|
146
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/paint-order",
|
147
|
+
"property": "paint-order",
|
148
|
+
"group": "CSS Text"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"syntax": "<integer> | <length>",
|
152
|
+
"media": "visual",
|
153
|
+
"inherited": true,
|
154
|
+
"animationType": "length",
|
155
|
+
"percentages": "no",
|
156
|
+
"groups": [
|
157
|
+
"CSS Text"
|
158
|
+
],
|
159
|
+
"initial": "8",
|
160
|
+
"appliesto": "blockContainers",
|
161
|
+
"computed": "specifiedIntegerOrAbsoluteLength",
|
162
|
+
"order": "uniqueOrder",
|
163
|
+
"status": "standard",
|
164
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/tab-size",
|
165
|
+
"property": "tab-size",
|
166
|
+
"group": "CSS Text"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"syntax": "start | end | left | right | center | justify | match-parent",
|
170
|
+
"media": "visual",
|
171
|
+
"inherited": true,
|
172
|
+
"animationType": "discrete",
|
173
|
+
"percentages": "no",
|
174
|
+
"groups": [
|
175
|
+
"CSS Text"
|
176
|
+
],
|
177
|
+
"initial": "startOrNamelessValueIfLTRRightIfRTL",
|
178
|
+
"appliesto": "blockContainers",
|
179
|
+
"computed": "asSpecifiedExceptMatchParent",
|
180
|
+
"order": "orderOfAppearance",
|
181
|
+
"alsoAppliesTo": [
|
182
|
+
"::placeholder"
|
183
|
+
],
|
184
|
+
"status": "standard",
|
185
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-align",
|
186
|
+
"property": "text-align",
|
187
|
+
"group": "CSS Text"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"syntax": "auto | start | end | left | right | center | justify",
|
191
|
+
"media": "visual",
|
192
|
+
"inherited": true,
|
193
|
+
"animationType": "discrete",
|
194
|
+
"percentages": "no",
|
195
|
+
"groups": [
|
196
|
+
"CSS Text"
|
197
|
+
],
|
198
|
+
"initial": "auto",
|
199
|
+
"appliesto": "blockContainers",
|
200
|
+
"computed": "asSpecified",
|
201
|
+
"order": "uniqueOrder",
|
202
|
+
"status": "standard",
|
203
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-align-last",
|
204
|
+
"property": "text-align-last",
|
205
|
+
"group": "CSS Text"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"syntax": "<length-percentage> && hanging? && each-line?",
|
209
|
+
"media": "visual",
|
210
|
+
"inherited": true,
|
211
|
+
"animationType": "lpc",
|
212
|
+
"percentages": "referToWidthOfContainingBlock",
|
213
|
+
"groups": [
|
214
|
+
"CSS Text"
|
215
|
+
],
|
216
|
+
"initial": "0",
|
217
|
+
"appliesto": "blockContainers",
|
218
|
+
"computed": "percentageOrAbsoluteLengthPlusKeywords",
|
219
|
+
"order": "lengthOrPercentageBeforeKeywords",
|
220
|
+
"status": "standard",
|
221
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-indent",
|
222
|
+
"property": "text-indent",
|
223
|
+
"group": "CSS Text"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"syntax": "auto | inter-character | inter-word | none",
|
227
|
+
"media": "visual",
|
228
|
+
"inherited": true,
|
229
|
+
"animationType": "discrete",
|
230
|
+
"percentages": "no",
|
231
|
+
"groups": [
|
232
|
+
"CSS Text"
|
233
|
+
],
|
234
|
+
"initial": "auto",
|
235
|
+
"appliesto": "inlineLevelAndTableCellElements",
|
236
|
+
"computed": "asSpecified",
|
237
|
+
"order": "uniqueOrder",
|
238
|
+
"status": "standard",
|
239
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-justify",
|
240
|
+
"property": "text-justify",
|
241
|
+
"group": "CSS Text"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"syntax": "none | auto | <percentage>",
|
245
|
+
"media": "visual",
|
246
|
+
"inherited": true,
|
247
|
+
"animationType": "byComputedValueType",
|
248
|
+
"percentages": "referToSizeOfFont",
|
249
|
+
"groups": [
|
250
|
+
"CSS Text"
|
251
|
+
],
|
252
|
+
"initial": "autoForSmartphoneBrowsersSupportingInflation",
|
253
|
+
"appliesto": "allElements",
|
254
|
+
"computed": "asSpecified",
|
255
|
+
"order": "uniqueOrder",
|
256
|
+
"status": "experimental",
|
257
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-size-adjust",
|
258
|
+
"property": "text-size-adjust",
|
259
|
+
"group": "CSS Text"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"syntax": "none | capitalize | uppercase | lowercase | full-width | full-size-kana",
|
263
|
+
"media": "visual",
|
264
|
+
"inherited": true,
|
265
|
+
"animationType": "discrete",
|
266
|
+
"percentages": "no",
|
267
|
+
"groups": [
|
268
|
+
"CSS Text"
|
269
|
+
],
|
270
|
+
"initial": "none",
|
271
|
+
"appliesto": "allElements",
|
272
|
+
"computed": "asSpecified",
|
273
|
+
"order": "uniqueOrder",
|
274
|
+
"alsoAppliesTo": [
|
275
|
+
"::first-letter",
|
276
|
+
"::first-line",
|
277
|
+
"::placeholder"
|
278
|
+
],
|
279
|
+
"status": "standard",
|
280
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-transform",
|
281
|
+
"property": "text-transform",
|
282
|
+
"group": "CSS Text"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"syntax": "wrap | nowrap | balance | stable | pretty",
|
286
|
+
"media": "visual",
|
287
|
+
"inherited": true,
|
288
|
+
"animationType": "discrete",
|
289
|
+
"percentages": "no",
|
290
|
+
"groups": [
|
291
|
+
"CSS Text"
|
292
|
+
],
|
293
|
+
"initial": "wrap",
|
294
|
+
"appliesto": "textAndBlockContainers",
|
295
|
+
"computed": "asSpecified",
|
296
|
+
"order": "perGrammar",
|
297
|
+
"status": "standard",
|
298
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-wrap",
|
299
|
+
"property": "text-wrap",
|
300
|
+
"group": "CSS Text"
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"syntax": "normal | pre | nowrap | pre-wrap | pre-line | break-spaces | [ <'white-space-collapse'> || <'text-wrap'> || <'white-space-trim'> ]",
|
304
|
+
"media": "visual",
|
305
|
+
"inherited": true,
|
306
|
+
"animationType": "discrete",
|
307
|
+
"percentages": "no",
|
308
|
+
"groups": [
|
309
|
+
"CSS Text"
|
310
|
+
],
|
311
|
+
"initial": "normal",
|
312
|
+
"appliesto": "allElements",
|
313
|
+
"computed": "asSpecified",
|
314
|
+
"order": "uniqueOrder",
|
315
|
+
"status": "standard",
|
316
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/white-space",
|
317
|
+
"property": "white-space",
|
318
|
+
"group": "CSS Text"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"syntax": "collapse | discard | preserve | preserve-breaks | preserve-spaces | break-spaces",
|
322
|
+
"media": "visual",
|
323
|
+
"inherited": true,
|
324
|
+
"animationType": "discrete",
|
325
|
+
"percentages": "no",
|
326
|
+
"groups": [
|
327
|
+
"CSS Text"
|
328
|
+
],
|
329
|
+
"initial": "collapse",
|
330
|
+
"appliesto": "allElements",
|
331
|
+
"computed": "asSpecified",
|
332
|
+
"order": "perGrammar",
|
333
|
+
"status": "standard",
|
334
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/white-space-collapse",
|
335
|
+
"property": "white-space-collapse",
|
336
|
+
"group": "CSS Text"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"syntax": "none | discard-before || discard-after || discard-inner",
|
340
|
+
"media": "visual",
|
341
|
+
"inherited": false,
|
342
|
+
"animationType": "discrete",
|
343
|
+
"percentages": "no",
|
344
|
+
"groups": [
|
345
|
+
"CSS Text"
|
346
|
+
],
|
347
|
+
"initial": "none",
|
348
|
+
"appliesto": "inlineBoxesAndBlockContainers",
|
349
|
+
"computed": "asSpecified",
|
350
|
+
"order": "perGrammar",
|
351
|
+
"status": "standard",
|
352
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/white-space-trim",
|
353
|
+
"property": "white-space-trim",
|
354
|
+
"group": "CSS Text"
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"syntax": "normal | break-all | keep-all | break-word",
|
358
|
+
"media": "visual",
|
359
|
+
"inherited": true,
|
360
|
+
"animationType": "discrete",
|
361
|
+
"percentages": "no",
|
362
|
+
"groups": [
|
363
|
+
"CSS Text"
|
364
|
+
],
|
365
|
+
"initial": "normal",
|
366
|
+
"appliesto": "allElements",
|
367
|
+
"computed": "asSpecified",
|
368
|
+
"order": "uniqueOrder",
|
369
|
+
"status": "standard",
|
370
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/word-break",
|
371
|
+
"property": "word-break",
|
372
|
+
"group": "CSS Text"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"syntax": "normal | <length>",
|
376
|
+
"media": "visual",
|
377
|
+
"inherited": true,
|
378
|
+
"animationType": "length",
|
379
|
+
"percentages": "referToWidthOfAffectedGlyph",
|
380
|
+
"groups": [
|
381
|
+
"CSS Text"
|
382
|
+
],
|
383
|
+
"initial": "normal",
|
384
|
+
"appliesto": "allElements",
|
385
|
+
"computed": "absoluteLength",
|
386
|
+
"order": "uniqueOrder",
|
387
|
+
"alsoAppliesTo": [
|
388
|
+
"::first-letter",
|
389
|
+
"::first-line",
|
390
|
+
"::placeholder"
|
391
|
+
],
|
392
|
+
"status": "standard",
|
393
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/word-spacing",
|
394
|
+
"property": "word-spacing",
|
395
|
+
"group": "CSS Text"
|
396
|
+
},
|
397
|
+
{
|
398
|
+
"syntax": "normal | break-word",
|
399
|
+
"media": "visual",
|
400
|
+
"inherited": true,
|
401
|
+
"animationType": "discrete",
|
402
|
+
"percentages": "no",
|
403
|
+
"groups": [
|
404
|
+
"CSS Text"
|
405
|
+
],
|
406
|
+
"initial": "normal",
|
407
|
+
"appliesto": "nonReplacedInlineElements",
|
408
|
+
"computed": "asSpecified",
|
409
|
+
"order": "uniqueOrder",
|
410
|
+
"status": "standard",
|
411
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/overflow-wrap",
|
412
|
+
"property": "word-wrap",
|
413
|
+
"group": "CSS Text"
|
414
|
+
}
|
415
|
+
]
|
@@ -0,0 +1,188 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"syntax": "visible | hidden",
|
4
|
+
"media": "visual",
|
5
|
+
"inherited": false,
|
6
|
+
"animationType": "discrete",
|
7
|
+
"percentages": "no",
|
8
|
+
"groups": [
|
9
|
+
"CSS Transforms"
|
10
|
+
],
|
11
|
+
"initial": "visible",
|
12
|
+
"appliesto": "transformableElements",
|
13
|
+
"computed": "asSpecified",
|
14
|
+
"order": "uniqueOrder",
|
15
|
+
"status": "standard",
|
16
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/backface-visibility",
|
17
|
+
"property": "backface-visibility",
|
18
|
+
"group": "CSS Transforms"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"syntax": "none | <length>",
|
22
|
+
"media": "visual",
|
23
|
+
"inherited": false,
|
24
|
+
"animationType": "length",
|
25
|
+
"percentages": "no",
|
26
|
+
"groups": [
|
27
|
+
"CSS Transforms"
|
28
|
+
],
|
29
|
+
"initial": "none",
|
30
|
+
"appliesto": "transformableElements",
|
31
|
+
"computed": "absoluteLengthOrNone",
|
32
|
+
"order": "uniqueOrder",
|
33
|
+
"stacking": true,
|
34
|
+
"status": "standard",
|
35
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/perspective",
|
36
|
+
"property": "perspective",
|
37
|
+
"group": "CSS Transforms"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"syntax": "<position>",
|
41
|
+
"media": "visual",
|
42
|
+
"inherited": false,
|
43
|
+
"animationType": "simpleListOfLpc",
|
44
|
+
"percentages": "referToSizeOfBoundingBox",
|
45
|
+
"groups": [
|
46
|
+
"CSS Transforms"
|
47
|
+
],
|
48
|
+
"initial": "50% 50%",
|
49
|
+
"appliesto": "transformableElements",
|
50
|
+
"computed": "forLengthAbsoluteValueOtherwisePercentage",
|
51
|
+
"order": "oneOrTwoValuesLengthAbsoluteKeywordsPercentages",
|
52
|
+
"status": "standard",
|
53
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/perspective-origin",
|
54
|
+
"property": "perspective-origin",
|
55
|
+
"group": "CSS Transforms"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"syntax": "none | <angle> | [ x | y | z | <number>{3} ] && <angle>",
|
59
|
+
"media": "visual",
|
60
|
+
"inherited": false,
|
61
|
+
"animationType": "transform",
|
62
|
+
"percentages": "no",
|
63
|
+
"groups": [
|
64
|
+
"CSS Transforms"
|
65
|
+
],
|
66
|
+
"initial": "none",
|
67
|
+
"appliesto": "transformableElements",
|
68
|
+
"computed": "asSpecified",
|
69
|
+
"order": "perGrammar",
|
70
|
+
"stacking": true,
|
71
|
+
"status": "standard",
|
72
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/rotate",
|
73
|
+
"property": "rotate",
|
74
|
+
"group": "CSS Transforms"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"syntax": "none | <number>{1,3}",
|
78
|
+
"media": "visual",
|
79
|
+
"inherited": false,
|
80
|
+
"animationType": "transform",
|
81
|
+
"percentages": "no",
|
82
|
+
"groups": [
|
83
|
+
"CSS Transforms"
|
84
|
+
],
|
85
|
+
"initial": "none",
|
86
|
+
"appliesto": "transformableElements",
|
87
|
+
"computed": "asSpecified",
|
88
|
+
"order": "perGrammar",
|
89
|
+
"stacking": true,
|
90
|
+
"status": "standard",
|
91
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/scale",
|
92
|
+
"property": "scale",
|
93
|
+
"group": "CSS Transforms"
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"syntax": "none | <transform-list>",
|
97
|
+
"media": "visual",
|
98
|
+
"inherited": false,
|
99
|
+
"animationType": "transform",
|
100
|
+
"percentages": "referToSizeOfBoundingBox",
|
101
|
+
"groups": [
|
102
|
+
"CSS Transforms"
|
103
|
+
],
|
104
|
+
"initial": "none",
|
105
|
+
"appliesto": "transformableElements",
|
106
|
+
"computed": "asSpecifiedRelativeToAbsoluteLengths",
|
107
|
+
"order": "uniqueOrder",
|
108
|
+
"stacking": true,
|
109
|
+
"status": "standard",
|
110
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform",
|
111
|
+
"property": "transform",
|
112
|
+
"group": "CSS Transforms"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"syntax": "content-box | border-box | fill-box | stroke-box | view-box",
|
116
|
+
"media": "visual",
|
117
|
+
"inherited": false,
|
118
|
+
"animationType": "discrete",
|
119
|
+
"percentages": "no",
|
120
|
+
"groups": [
|
121
|
+
"CSS Transforms"
|
122
|
+
],
|
123
|
+
"initial": "view-box",
|
124
|
+
"appliesto": "transformableElements",
|
125
|
+
"computed": "asSpecified",
|
126
|
+
"order": "perGrammar",
|
127
|
+
"status": "standard",
|
128
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-box",
|
129
|
+
"property": "transform-box",
|
130
|
+
"group": "CSS Transforms"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"syntax": "[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?",
|
134
|
+
"media": "visual",
|
135
|
+
"inherited": false,
|
136
|
+
"animationType": "simpleListOfLpc",
|
137
|
+
"percentages": "referToSizeOfBoundingBox",
|
138
|
+
"groups": [
|
139
|
+
"CSS Transforms"
|
140
|
+
],
|
141
|
+
"initial": "50% 50% 0",
|
142
|
+
"appliesto": "transformableElements",
|
143
|
+
"computed": "forLengthAbsoluteValueOtherwisePercentage",
|
144
|
+
"order": "oneOrTwoValuesLengthAbsoluteKeywordsPercentages",
|
145
|
+
"status": "standard",
|
146
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-origin",
|
147
|
+
"property": "transform-origin",
|
148
|
+
"group": "CSS Transforms"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"syntax": "flat | preserve-3d",
|
152
|
+
"media": "visual",
|
153
|
+
"inherited": false,
|
154
|
+
"animationType": "discrete",
|
155
|
+
"percentages": "no",
|
156
|
+
"groups": [
|
157
|
+
"CSS Transforms"
|
158
|
+
],
|
159
|
+
"initial": "flat",
|
160
|
+
"appliesto": "transformableElements",
|
161
|
+
"computed": "asSpecified",
|
162
|
+
"order": "uniqueOrder",
|
163
|
+
"stacking": true,
|
164
|
+
"status": "standard",
|
165
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transform-style",
|
166
|
+
"property": "transform-style",
|
167
|
+
"group": "CSS Transforms"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"syntax": "none | <length-percentage> [ <length-percentage> <length>? ]?",
|
171
|
+
"media": "visual",
|
172
|
+
"inherited": false,
|
173
|
+
"animationType": "transform",
|
174
|
+
"percentages": "referToSizeOfBoundingBox",
|
175
|
+
"groups": [
|
176
|
+
"CSS Transforms"
|
177
|
+
],
|
178
|
+
"initial": "none",
|
179
|
+
"appliesto": "transformableElements",
|
180
|
+
"computed": "asSpecifiedRelativeToAbsoluteLengths",
|
181
|
+
"order": "perGrammar",
|
182
|
+
"stacking": true,
|
183
|
+
"status": "standard",
|
184
|
+
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/translate",
|
185
|
+
"property": "translate",
|
186
|
+
"group": "CSS Transforms"
|
187
|
+
}
|
188
|
+
]
|