@stylexjs/shared 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/common-types.d.ts +8 -11
- package/lib/common-types.js.flow +9 -14
- package/lib/convert-to-className.js +4 -3
- package/lib/index.d.ts +0 -5
- package/lib/index.js +1 -4
- package/lib/index.js.flow +0 -5
- package/lib/messages.d.ts +0 -1
- package/lib/messages.js +1 -2
- package/lib/messages.js.flow +0 -1
- package/lib/preprocess-rules/PreRule.d.ts +1 -10
- package/lib/preprocess-rules/PreRule.js +1 -13
- package/lib/preprocess-rules/PreRule.js.flow +1 -11
- package/lib/preprocess-rules/basic-validation.js +0 -10
- package/lib/preprocess-rules/flatten-raw-style-obj.d.ts +2 -6
- package/lib/preprocess-rules/flatten-raw-style-obj.js +0 -8
- package/lib/preprocess-rules/flatten-raw-style-obj.js.flow +3 -6
- package/lib/stylex-create.js +13 -18
- package/lib/utils/default-options.js +1 -0
- package/lib/utils/media-query-transform.d.ts +16 -0
- package/lib/utils/media-query-transform.js +53 -0
- package/lib/utils/media-query-transform.js.flow +20 -0
- package/lib/utils/object-utils.d.ts +1 -2
- package/lib/utils/object-utils.js +0 -3
- package/lib/utils/object-utils.js.flow +1 -3
- package/package.json +2 -2
- package/lib/properties/CSS Animations.json +0 -445
- package/lib/properties/CSS Backgrounds and Borders.json +0 -1085
- package/lib/properties/CSS Basic User Interface.json +0 -365
- package/lib/properties/CSS Box Alignment.json +0 -245
- package/lib/properties/CSS Box Model.json +0 -501
- package/lib/properties/CSS Color.json +0 -100
- package/lib/properties/CSS Columns.json +0 -185
- package/lib/properties/CSS Containment.json +0 -203
- package/lib/properties/CSS Counter Styles.json +0 -56
- package/lib/properties/CSS Display.json +0 -20
- package/lib/properties/CSS Flexible Box Layout.json +0 -167
- package/lib/properties/CSS Fonts.json +0 -684
- package/lib/properties/CSS Fragmentation.json +0 -110
- package/lib/properties/CSS Generated Content.json +0 -38
- package/lib/properties/CSS Grid Layout.json +0 -500
- package/lib/properties/CSS Images.json +0 -91
- package/lib/properties/CSS Inline.json +0 -38
- package/lib/properties/CSS Lists and Counters.json +0 -86
- package/lib/properties/CSS Logical Properties.json +0 -1086
- package/lib/properties/CSS Masking.json +0 -399
- package/lib/properties/CSS Miscellaneous.json +0 -38
- package/lib/properties/CSS Motion Path.json +0 -132
- package/lib/properties/CSS Overflow.json +0 -216
- package/lib/properties/CSS Pages.json +0 -83
- package/lib/properties/CSS Positioning.json +0 -166
- package/lib/properties/CSS Ruby.json +0 -55
- package/lib/properties/CSS Scroll Anchoring.json +0 -19
- package/lib/properties/CSS Scroll Snap.json +0 -604
- package/lib/properties/CSS Scrollbars.json +0 -38
- package/lib/properties/CSS Shapes.json +0 -56
- package/lib/properties/CSS Speech.json +0 -20
- package/lib/properties/CSS Table.json +0 -115
- package/lib/properties/CSS Text Decoration.json +0 -312
- package/lib/properties/CSS Text.json +0 -415
- package/lib/properties/CSS Transforms.json +0 -188
- package/lib/properties/CSS Transitions.json +0 -122
- package/lib/properties/CSS Variables.json +0 -20
- package/lib/properties/CSS View Transitions.json +0 -20
- package/lib/properties/CSS Will Change.json +0 -20
- package/lib/properties/CSS Writing Modes.json +0 -92
- package/lib/properties/Compositing and Blending.json +0 -62
- package/lib/properties/Filter Effects.json +0 -38
- package/lib/properties/MathML.json +0 -56
- package/lib/properties/Microsoft Extensions.json +0 -885
- package/lib/properties/Mozilla Extensions.json +0 -607
- package/lib/properties/Pointer Events.json +0 -20
- package/lib/properties/WebKit Extensions.json +0 -707
- package/lib/properties.json +0 -10122
- package/lib/utils/normalizers/convert-camel-case-transition-props.d.ts +0 -14
- package/lib/utils/normalizers/convert-camel-case-transition-props.js +0 -23
- package/lib/utils/normalizers/convert-camel-case-transition-props.js.flow +0 -13
@@ -1,122 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"syntax": "<single-transition>#",
|
4
|
-
"media": "interactive",
|
5
|
-
"inherited": false,
|
6
|
-
"animationType": "notAnimatable",
|
7
|
-
"percentages": "no",
|
8
|
-
"groups": [
|
9
|
-
"CSS Transitions"
|
10
|
-
],
|
11
|
-
"initial": [
|
12
|
-
"transition-delay",
|
13
|
-
"transition-duration",
|
14
|
-
"transition-property",
|
15
|
-
"transition-timing-function",
|
16
|
-
"transition-behavior"
|
17
|
-
],
|
18
|
-
"appliesto": "allElementsAndPseudos",
|
19
|
-
"computed": [
|
20
|
-
"transition-delay",
|
21
|
-
"transition-duration",
|
22
|
-
"transition-property",
|
23
|
-
"transition-timing-function",
|
24
|
-
"transition-behavior"
|
25
|
-
],
|
26
|
-
"order": "orderOfAppearance",
|
27
|
-
"status": "standard",
|
28
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transition",
|
29
|
-
"property": "transition",
|
30
|
-
"group": "CSS Transitions"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"syntax": "<transition-behavior-value>#",
|
34
|
-
"media": "visual",
|
35
|
-
"inherited": false,
|
36
|
-
"animationType": "notAnimatable",
|
37
|
-
"percentages": "no",
|
38
|
-
"groups": [
|
39
|
-
"CSS Transitions"
|
40
|
-
],
|
41
|
-
"initial": "normal",
|
42
|
-
"appliesto": "allElements",
|
43
|
-
"computed": "asSpecified",
|
44
|
-
"order": "perGrammar",
|
45
|
-
"status": "experimental",
|
46
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transition-behavior",
|
47
|
-
"property": "transition-behavior",
|
48
|
-
"group": "CSS Transitions"
|
49
|
-
},
|
50
|
-
{
|
51
|
-
"syntax": "<time>#",
|
52
|
-
"media": "interactive",
|
53
|
-
"inherited": false,
|
54
|
-
"animationType": "notAnimatable",
|
55
|
-
"percentages": "no",
|
56
|
-
"groups": [
|
57
|
-
"CSS Transitions"
|
58
|
-
],
|
59
|
-
"initial": "0s",
|
60
|
-
"appliesto": "allElementsAndPseudos",
|
61
|
-
"computed": "asSpecified",
|
62
|
-
"order": "uniqueOrder",
|
63
|
-
"status": "standard",
|
64
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transition-delay",
|
65
|
-
"property": "transition-delay",
|
66
|
-
"group": "CSS Transitions"
|
67
|
-
},
|
68
|
-
{
|
69
|
-
"syntax": "<time>#",
|
70
|
-
"media": "interactive",
|
71
|
-
"inherited": false,
|
72
|
-
"animationType": "notAnimatable",
|
73
|
-
"percentages": "no",
|
74
|
-
"groups": [
|
75
|
-
"CSS Transitions"
|
76
|
-
],
|
77
|
-
"initial": "0s",
|
78
|
-
"appliesto": "allElementsAndPseudos",
|
79
|
-
"computed": "asSpecified",
|
80
|
-
"order": "uniqueOrder",
|
81
|
-
"status": "standard",
|
82
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transition-duration",
|
83
|
-
"property": "transition-duration",
|
84
|
-
"group": "CSS Transitions"
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"syntax": "none | <single-transition-property>#",
|
88
|
-
"media": "visual",
|
89
|
-
"inherited": false,
|
90
|
-
"animationType": "notAnimatable",
|
91
|
-
"percentages": "no",
|
92
|
-
"groups": [
|
93
|
-
"CSS Transitions"
|
94
|
-
],
|
95
|
-
"initial": "all",
|
96
|
-
"appliesto": "allElementsAndPseudos",
|
97
|
-
"computed": "asSpecified",
|
98
|
-
"order": "uniqueOrder",
|
99
|
-
"status": "standard",
|
100
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transition-property",
|
101
|
-
"property": "transition-property",
|
102
|
-
"group": "CSS Transitions"
|
103
|
-
},
|
104
|
-
{
|
105
|
-
"syntax": "<easing-function>#",
|
106
|
-
"media": "interactive",
|
107
|
-
"inherited": false,
|
108
|
-
"animationType": "notAnimatable",
|
109
|
-
"percentages": "no",
|
110
|
-
"groups": [
|
111
|
-
"CSS Transitions"
|
112
|
-
],
|
113
|
-
"initial": "ease",
|
114
|
-
"appliesto": "allElementsAndPseudos",
|
115
|
-
"computed": "asSpecified",
|
116
|
-
"order": "uniqueOrder",
|
117
|
-
"status": "standard",
|
118
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/transition-timing-function",
|
119
|
-
"property": "transition-timing-function",
|
120
|
-
"group": "CSS Transitions"
|
121
|
-
}
|
122
|
-
]
|
@@ -1,20 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"syntax": "<declaration-value>",
|
4
|
-
"media": "all",
|
5
|
-
"inherited": true,
|
6
|
-
"animationType": "discrete",
|
7
|
-
"percentages": "no",
|
8
|
-
"groups": [
|
9
|
-
"CSS Variables"
|
10
|
-
],
|
11
|
-
"initial": "seeProse",
|
12
|
-
"appliesto": "allElements",
|
13
|
-
"computed": "asSpecifiedWithVarsSubstituted",
|
14
|
-
"order": "perGrammar",
|
15
|
-
"status": "experimental",
|
16
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/--*",
|
17
|
-
"property": "--*",
|
18
|
-
"group": "CSS Variables"
|
19
|
-
}
|
20
|
-
]
|
@@ -1,20 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"syntax": "none | <custom-ident>",
|
4
|
-
"media": "visual",
|
5
|
-
"inherited": false,
|
6
|
-
"animationType": "discrete",
|
7
|
-
"percentages": "no",
|
8
|
-
"groups": [
|
9
|
-
"CSS View Transitions"
|
10
|
-
],
|
11
|
-
"initial": "none",
|
12
|
-
"appliesto": "allElements",
|
13
|
-
"computed": "asSpecified",
|
14
|
-
"order": "perGrammar",
|
15
|
-
"status": "experimental",
|
16
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/view-transition-name",
|
17
|
-
"property": "view-transition-name",
|
18
|
-
"group": "CSS View Transitions"
|
19
|
-
}
|
20
|
-
]
|
@@ -1,20 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"syntax": "auto | <animateable-feature>#",
|
4
|
-
"media": "all",
|
5
|
-
"inherited": false,
|
6
|
-
"animationType": "discrete",
|
7
|
-
"percentages": "no",
|
8
|
-
"groups": [
|
9
|
-
"CSS Will Change"
|
10
|
-
],
|
11
|
-
"initial": "auto",
|
12
|
-
"appliesto": "allElements",
|
13
|
-
"computed": "asSpecified",
|
14
|
-
"order": "uniqueOrder",
|
15
|
-
"status": "standard",
|
16
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/will-change",
|
17
|
-
"property": "will-change",
|
18
|
-
"group": "CSS Will Change"
|
19
|
-
}
|
20
|
-
]
|
@@ -1,92 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"syntax": "ltr | rtl",
|
4
|
-
"media": "visual",
|
5
|
-
"inherited": true,
|
6
|
-
"animationType": "notAnimatable",
|
7
|
-
"percentages": "no",
|
8
|
-
"groups": [
|
9
|
-
"CSS Writing Modes"
|
10
|
-
],
|
11
|
-
"initial": "ltr",
|
12
|
-
"appliesto": "allElements",
|
13
|
-
"computed": "asSpecified",
|
14
|
-
"order": "uniqueOrder",
|
15
|
-
"status": "standard",
|
16
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/direction",
|
17
|
-
"property": "direction",
|
18
|
-
"group": "CSS Writing Modes"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"syntax": "none | all | [ digits <integer>? ]",
|
22
|
-
"media": "visual",
|
23
|
-
"inherited": true,
|
24
|
-
"animationType": "notAnimatable",
|
25
|
-
"percentages": "no",
|
26
|
-
"groups": [
|
27
|
-
"CSS Writing Modes"
|
28
|
-
],
|
29
|
-
"initial": "none",
|
30
|
-
"appliesto": "nonReplacedInlineElements",
|
31
|
-
"computed": "keywordPlusIntegerIfDigits",
|
32
|
-
"order": "uniqueOrder",
|
33
|
-
"status": "standard",
|
34
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-combine-upright",
|
35
|
-
"property": "text-combine-upright",
|
36
|
-
"group": "CSS Writing Modes"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"syntax": "mixed | upright | sideways",
|
40
|
-
"media": "visual",
|
41
|
-
"inherited": true,
|
42
|
-
"animationType": "notAnimatable",
|
43
|
-
"percentages": "no",
|
44
|
-
"groups": [
|
45
|
-
"CSS Writing Modes"
|
46
|
-
],
|
47
|
-
"initial": "mixed",
|
48
|
-
"appliesto": "allElementsExceptTableRowGroupsRowsColumnGroupsAndColumns",
|
49
|
-
"computed": "asSpecified",
|
50
|
-
"order": "uniqueOrder",
|
51
|
-
"status": "standard",
|
52
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-orientation",
|
53
|
-
"property": "text-orientation",
|
54
|
-
"group": "CSS Writing Modes"
|
55
|
-
},
|
56
|
-
{
|
57
|
-
"syntax": "normal | embed | isolate | bidi-override | isolate-override | plaintext",
|
58
|
-
"media": "visual",
|
59
|
-
"inherited": false,
|
60
|
-
"animationType": "notAnimatable",
|
61
|
-
"percentages": "no",
|
62
|
-
"groups": [
|
63
|
-
"CSS Writing Modes"
|
64
|
-
],
|
65
|
-
"initial": "normal",
|
66
|
-
"appliesto": "allElementsSomeValuesNoEffectOnNonInlineElements",
|
67
|
-
"computed": "asSpecified",
|
68
|
-
"order": "uniqueOrder",
|
69
|
-
"status": "standard",
|
70
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/unicode-bidi",
|
71
|
-
"property": "unicode-bidi",
|
72
|
-
"group": "CSS Writing Modes"
|
73
|
-
},
|
74
|
-
{
|
75
|
-
"syntax": "horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr",
|
76
|
-
"media": "visual",
|
77
|
-
"inherited": true,
|
78
|
-
"animationType": "notAnimatable",
|
79
|
-
"percentages": "no",
|
80
|
-
"groups": [
|
81
|
-
"CSS Writing Modes"
|
82
|
-
],
|
83
|
-
"initial": "horizontal-tb",
|
84
|
-
"appliesto": "allElementsExceptTableRowColumnGroupsTableRowsColumns",
|
85
|
-
"computed": "asSpecified",
|
86
|
-
"order": "uniqueOrder",
|
87
|
-
"status": "standard",
|
88
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/writing-mode",
|
89
|
-
"property": "writing-mode",
|
90
|
-
"group": "CSS Writing Modes"
|
91
|
-
}
|
92
|
-
]
|
@@ -1,62 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"syntax": "<blend-mode>#",
|
4
|
-
"media": "none",
|
5
|
-
"inherited": false,
|
6
|
-
"animationType": "notAnimatable",
|
7
|
-
"percentages": "no",
|
8
|
-
"groups": [
|
9
|
-
"Compositing and Blending"
|
10
|
-
],
|
11
|
-
"initial": "normal",
|
12
|
-
"appliesto": "allElementsSVGContainerGraphicsAndGraphicsReferencingElements",
|
13
|
-
"computed": "asSpecified",
|
14
|
-
"order": "uniqueOrder",
|
15
|
-
"alsoAppliesTo": [
|
16
|
-
"::first-letter",
|
17
|
-
"::first-line",
|
18
|
-
"::placeholder"
|
19
|
-
],
|
20
|
-
"status": "standard",
|
21
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/background-blend-mode",
|
22
|
-
"property": "background-blend-mode",
|
23
|
-
"group": "Compositing and Blending"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"syntax": "auto | isolate",
|
27
|
-
"media": "visual",
|
28
|
-
"inherited": false,
|
29
|
-
"animationType": "notAnimatable",
|
30
|
-
"percentages": "no",
|
31
|
-
"groups": [
|
32
|
-
"Compositing and Blending"
|
33
|
-
],
|
34
|
-
"initial": "auto",
|
35
|
-
"appliesto": "allElementsSVGContainerGraphicsAndGraphicsReferencingElements",
|
36
|
-
"computed": "asSpecified",
|
37
|
-
"order": "uniqueOrder",
|
38
|
-
"status": "standard",
|
39
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/isolation",
|
40
|
-
"property": "isolation",
|
41
|
-
"group": "Compositing and Blending"
|
42
|
-
},
|
43
|
-
{
|
44
|
-
"syntax": "<blend-mode> | plus-lighter",
|
45
|
-
"media": "visual",
|
46
|
-
"inherited": false,
|
47
|
-
"animationType": "notAnimatable",
|
48
|
-
"percentages": "no",
|
49
|
-
"groups": [
|
50
|
-
"Compositing and Blending"
|
51
|
-
],
|
52
|
-
"initial": "normal",
|
53
|
-
"appliesto": "allElements",
|
54
|
-
"computed": "asSpecified",
|
55
|
-
"order": "uniqueOrder",
|
56
|
-
"stacking": true,
|
57
|
-
"status": "standard",
|
58
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mix-blend-mode",
|
59
|
-
"property": "mix-blend-mode",
|
60
|
-
"group": "Compositing and Blending"
|
61
|
-
}
|
62
|
-
]
|
@@ -1,38 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"syntax": "none | <filter-function-list>",
|
4
|
-
"media": "visual",
|
5
|
-
"inherited": false,
|
6
|
-
"animationType": "filterList",
|
7
|
-
"percentages": "no",
|
8
|
-
"groups": [
|
9
|
-
"Filter Effects"
|
10
|
-
],
|
11
|
-
"initial": "none",
|
12
|
-
"appliesto": "allElementsSVGContainerElements",
|
13
|
-
"computed": "asSpecified",
|
14
|
-
"order": "uniqueOrder",
|
15
|
-
"status": "standard",
|
16
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/backdrop-filter",
|
17
|
-
"property": "backdrop-filter",
|
18
|
-
"group": "Filter Effects"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"syntax": "none | <filter-function-list>",
|
22
|
-
"media": "visual",
|
23
|
-
"inherited": false,
|
24
|
-
"animationType": "filterList",
|
25
|
-
"percentages": "no",
|
26
|
-
"groups": [
|
27
|
-
"Filter Effects"
|
28
|
-
],
|
29
|
-
"initial": "none",
|
30
|
-
"appliesto": "allElementsSVGContainerElements",
|
31
|
-
"computed": "asSpecified",
|
32
|
-
"order": "uniqueOrder",
|
33
|
-
"status": "standard",
|
34
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter",
|
35
|
-
"property": "filter",
|
36
|
-
"group": "Filter Effects"
|
37
|
-
}
|
38
|
-
]
|
@@ -1,56 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"syntax": "auto-add | add(<integer>) | <integer>",
|
4
|
-
"media": "visual",
|
5
|
-
"inherited": true,
|
6
|
-
"animationType": "notAnimatable",
|
7
|
-
"percentages": "no",
|
8
|
-
"groups": [
|
9
|
-
"MathML"
|
10
|
-
],
|
11
|
-
"initial": "0",
|
12
|
-
"appliesto": "allElements",
|
13
|
-
"computed": "asSpecified",
|
14
|
-
"order": "perGrammar",
|
15
|
-
"status": "standard",
|
16
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/math-depth",
|
17
|
-
"property": "math-depth",
|
18
|
-
"group": "MathML"
|
19
|
-
},
|
20
|
-
{
|
21
|
-
"syntax": "normal | compact",
|
22
|
-
"media": "visual",
|
23
|
-
"inherited": true,
|
24
|
-
"animationType": "notAnimatable",
|
25
|
-
"percentages": "no",
|
26
|
-
"groups": [
|
27
|
-
"MathML"
|
28
|
-
],
|
29
|
-
"initial": "normal",
|
30
|
-
"appliesto": "allElements",
|
31
|
-
"computed": "asSpecified",
|
32
|
-
"order": "perGrammar",
|
33
|
-
"status": "standard",
|
34
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/math-shift",
|
35
|
-
"property": "math-shift",
|
36
|
-
"group": "MathML"
|
37
|
-
},
|
38
|
-
{
|
39
|
-
"syntax": "normal | compact",
|
40
|
-
"media": "visual",
|
41
|
-
"inherited": true,
|
42
|
-
"animationType": "notAnimatable",
|
43
|
-
"percentages": "no",
|
44
|
-
"groups": [
|
45
|
-
"MathML"
|
46
|
-
],
|
47
|
-
"initial": "normal",
|
48
|
-
"appliesto": "allElements",
|
49
|
-
"computed": "asSpecified",
|
50
|
-
"order": "perGrammar",
|
51
|
-
"status": "standard",
|
52
|
-
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/math-style",
|
53
|
-
"property": "math-style",
|
54
|
-
"group": "MathML"
|
55
|
-
}
|
56
|
-
]
|