@tamagui/helpers 1.49.9 → 1.50.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/dist/cjs/validStyleProps.js +21 -12
- package/dist/cjs/validStyleProps.js.map +1 -1
- package/dist/esm/validStyleProps.js +21 -12
- package/dist/esm/validStyleProps.js.map +1 -1
- package/package.json +4 -4
- package/src/validStyleProps.ts +26 -13
- package/types/validStyleProps.d.ts +48 -36
- package/types/validStyleProps.d.ts.map +1 -1
|
@@ -32,6 +32,18 @@ __export(validStyleProps_exports, {
|
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(validStyleProps_exports);
|
|
34
34
|
var import_constants = require("@tamagui/constants");
|
|
35
|
+
const placeHolderTextColors = {
|
|
36
|
+
placeholderTextColor: true
|
|
37
|
+
};
|
|
38
|
+
const validStylesOnBaseProps = {
|
|
39
|
+
...placeHolderTextColors
|
|
40
|
+
};
|
|
41
|
+
const textColors = {
|
|
42
|
+
color: true,
|
|
43
|
+
...placeHolderTextColors,
|
|
44
|
+
textDecorationColor: true,
|
|
45
|
+
textShadowColor: true
|
|
46
|
+
};
|
|
35
47
|
const tokenCategories = {
|
|
36
48
|
radius: {
|
|
37
49
|
borderRadius: true,
|
|
@@ -52,13 +64,19 @@ const tokenCategories = {
|
|
|
52
64
|
zIndex: true
|
|
53
65
|
},
|
|
54
66
|
color: {
|
|
55
|
-
color: true,
|
|
56
67
|
backgroundColor: true,
|
|
57
68
|
borderColor: true,
|
|
58
69
|
borderBottomColor: true,
|
|
59
70
|
borderTopColor: true,
|
|
60
71
|
borderLeftColor: true,
|
|
61
|
-
borderRightColor: true
|
|
72
|
+
borderRightColor: true,
|
|
73
|
+
borderEndColor: true,
|
|
74
|
+
borderStartColor: true,
|
|
75
|
+
shadowColor: true,
|
|
76
|
+
...textColors,
|
|
77
|
+
...process.env.TAMAGUI_TARGET === "web" && {
|
|
78
|
+
outlineColor: true
|
|
79
|
+
}
|
|
62
80
|
}
|
|
63
81
|
};
|
|
64
82
|
const stylePropsUnitless = {
|
|
@@ -113,18 +131,13 @@ const stylePropsTransform = {
|
|
|
113
131
|
rotateX: true,
|
|
114
132
|
rotateZ: true
|
|
115
133
|
};
|
|
116
|
-
const validStylesOnBaseProps = {
|
|
117
|
-
placeholderTextColor: true
|
|
118
|
-
};
|
|
119
134
|
const stylePropsView = {
|
|
120
135
|
backfaceVisibility: true,
|
|
121
136
|
borderBottomEndRadius: true,
|
|
122
137
|
borderBottomStartRadius: true,
|
|
123
138
|
borderBottomWidth: true,
|
|
124
|
-
borderEndColor: true,
|
|
125
139
|
borderLeftWidth: true,
|
|
126
140
|
borderRightWidth: true,
|
|
127
|
-
borderStartColor: true,
|
|
128
141
|
borderStyle: true,
|
|
129
142
|
borderTopEndRadius: true,
|
|
130
143
|
borderTopStartRadius: true,
|
|
@@ -171,7 +184,6 @@ const stylePropsView = {
|
|
|
171
184
|
start: true,
|
|
172
185
|
top: true,
|
|
173
186
|
direction: true,
|
|
174
|
-
shadowColor: true,
|
|
175
187
|
shadowOffset: true,
|
|
176
188
|
shadowRadius: true,
|
|
177
189
|
...tokenCategories.color,
|
|
@@ -196,7 +208,6 @@ const stylePropsView = {
|
|
|
196
208
|
pointerEvents: true,
|
|
197
209
|
boxSizing: true,
|
|
198
210
|
boxShadow: true,
|
|
199
|
-
outlineColor: true,
|
|
200
211
|
outlineStyle: true,
|
|
201
212
|
outlineOffset: true,
|
|
202
213
|
outlineWidth: true
|
|
@@ -213,13 +224,11 @@ const stylePropsFont = {
|
|
|
213
224
|
textTransform: true
|
|
214
225
|
};
|
|
215
226
|
const stylePropsTextOnly = {
|
|
216
|
-
color: true,
|
|
217
227
|
...stylePropsFont,
|
|
218
228
|
textAlign: true,
|
|
219
229
|
textDecorationLine: true,
|
|
220
230
|
textDecorationStyle: true,
|
|
221
|
-
|
|
222
|
-
textShadowColor: true,
|
|
231
|
+
...textColors,
|
|
223
232
|
textShadowOffset: true,
|
|
224
233
|
textShadowRadius: true,
|
|
225
234
|
// allow some web only ones
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/validStyleProps.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAiC;AAIjC,MAAM,wBAAwB;AAAA,EAC5B,sBAAsB;AACxB;AAEO,MAAM,yBAAyB;AAAA,EACpC,GAAG;AACL;AAEA,MAAM,aAAa;AAAA,EACjB,OAAO;AAAA,EACP,GAAG;AAAA,EACH,qBAAqB;AAAA,EACrB,iBAAiB;AACnB;AAIO,MAAM,kBAAkB;AAAA,EAC7B,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,qBAAqB;AAAA,IACrB,sBAAsB;AAAA,IACtB,wBAAwB;AAAA,IACxB,yBAAyB;AAAA,EAC3B;AAAA,EACA,MAAM;AAAA,IACJ,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,WAAW;AAAA,IACX,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,IACN,QAAQ;AAAA,EACV;AAAA,EACA,OAAO;AAAA,IACL,iBAAiB;AAAA,IACjB,aAAa;AAAA,IACb,mBAAmB;AAAA,IACnB,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IACjB,kBAAkB;AAAA,IAClB,gBAAgB;AAAA,IAChB,kBAAkB;AAAA,IAClB,aAAa;AAAA,IACb,GAAG;AAAA,IACH,GAAI,QAAQ,IAAI,mBAAmB,SAAS;AAAA,MAC1C,cAAc;AAAA,IAChB;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CAAC;AAChD;AAEO,MAAM,iBAAiB;AAAA,EAC5B,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,YAAY;AAAA,EACZ,eAAe;AACjB;AAEO,MAAM,qBAAqB;AAAA,EAChC,GAAG;AAAA,EACH,WAAW;AAAA,EACX,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,GAAG;AAAA,EACH,kBAAkB;AAAA,EAClB,kBAAkB;AAAA;AAAA,EAGlB,GAAI,QAAQ,IAAI,mBAAmB,SAAS;AAAA,IAC1C,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,cAAc;AAAA,IACd,wBAAwB;AAAA,IACxB,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,QAAQ;AAAA,IACR,iBAAiB;AAAA,IACjB,iBAAiB;AAAA,EACnB;AACF;AAEO,MAAM,iBAAiB;AAAA,EAC5B,GAAG;AAAA,EACH,GAAG;AACL;AAEO,MAAM,gBAAgB;AAEtB,MAAM,kBAAkB;AAAA,EAC7B,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AACd;AAEO,MAAM,cAAc;AAAA,EACzB,GAAG;AAAA,EACH,GAAG;AACL;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { isAndroid } from "@tamagui/constants";
|
|
2
|
+
const placeHolderTextColors = {
|
|
3
|
+
placeholderTextColor: true
|
|
4
|
+
};
|
|
5
|
+
const validStylesOnBaseProps = {
|
|
6
|
+
...placeHolderTextColors
|
|
7
|
+
};
|
|
8
|
+
const textColors = {
|
|
9
|
+
color: true,
|
|
10
|
+
...placeHolderTextColors,
|
|
11
|
+
textDecorationColor: true,
|
|
12
|
+
textShadowColor: true
|
|
13
|
+
};
|
|
2
14
|
const tokenCategories = {
|
|
3
15
|
radius: {
|
|
4
16
|
borderRadius: true,
|
|
@@ -19,13 +31,19 @@ const tokenCategories = {
|
|
|
19
31
|
zIndex: true
|
|
20
32
|
},
|
|
21
33
|
color: {
|
|
22
|
-
color: true,
|
|
23
34
|
backgroundColor: true,
|
|
24
35
|
borderColor: true,
|
|
25
36
|
borderBottomColor: true,
|
|
26
37
|
borderTopColor: true,
|
|
27
38
|
borderLeftColor: true,
|
|
28
|
-
borderRightColor: true
|
|
39
|
+
borderRightColor: true,
|
|
40
|
+
borderEndColor: true,
|
|
41
|
+
borderStartColor: true,
|
|
42
|
+
shadowColor: true,
|
|
43
|
+
...textColors,
|
|
44
|
+
...process.env.TAMAGUI_TARGET === "web" && {
|
|
45
|
+
outlineColor: true
|
|
46
|
+
}
|
|
29
47
|
}
|
|
30
48
|
};
|
|
31
49
|
const stylePropsUnitless = {
|
|
@@ -80,18 +98,13 @@ const stylePropsTransform = {
|
|
|
80
98
|
rotateX: true,
|
|
81
99
|
rotateZ: true
|
|
82
100
|
};
|
|
83
|
-
const validStylesOnBaseProps = {
|
|
84
|
-
placeholderTextColor: true
|
|
85
|
-
};
|
|
86
101
|
const stylePropsView = {
|
|
87
102
|
backfaceVisibility: true,
|
|
88
103
|
borderBottomEndRadius: true,
|
|
89
104
|
borderBottomStartRadius: true,
|
|
90
105
|
borderBottomWidth: true,
|
|
91
|
-
borderEndColor: true,
|
|
92
106
|
borderLeftWidth: true,
|
|
93
107
|
borderRightWidth: true,
|
|
94
|
-
borderStartColor: true,
|
|
95
108
|
borderStyle: true,
|
|
96
109
|
borderTopEndRadius: true,
|
|
97
110
|
borderTopStartRadius: true,
|
|
@@ -138,7 +151,6 @@ const stylePropsView = {
|
|
|
138
151
|
start: true,
|
|
139
152
|
top: true,
|
|
140
153
|
direction: true,
|
|
141
|
-
shadowColor: true,
|
|
142
154
|
shadowOffset: true,
|
|
143
155
|
shadowRadius: true,
|
|
144
156
|
...tokenCategories.color,
|
|
@@ -163,7 +175,6 @@ const stylePropsView = {
|
|
|
163
175
|
pointerEvents: true,
|
|
164
176
|
boxSizing: true,
|
|
165
177
|
boxShadow: true,
|
|
166
|
-
outlineColor: true,
|
|
167
178
|
outlineStyle: true,
|
|
168
179
|
outlineOffset: true,
|
|
169
180
|
outlineWidth: true
|
|
@@ -180,13 +191,11 @@ const stylePropsFont = {
|
|
|
180
191
|
textTransform: true
|
|
181
192
|
};
|
|
182
193
|
const stylePropsTextOnly = {
|
|
183
|
-
color: true,
|
|
184
194
|
...stylePropsFont,
|
|
185
195
|
textAlign: true,
|
|
186
196
|
textDecorationLine: true,
|
|
187
197
|
textDecorationStyle: true,
|
|
188
|
-
|
|
189
|
-
textShadowColor: true,
|
|
198
|
+
...textColors,
|
|
190
199
|
textShadowOffset: true,
|
|
191
200
|
textShadowRadius: true,
|
|
192
201
|
// allow some web only ones
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/validStyleProps.ts"],
|
|
4
|
-
"mappings": "AAAA,SAAS,iBAAiB;
|
|
4
|
+
"mappings": "AAAA,SAAS,iBAAwB;AAIjC,MAAM,wBAAwB;AAAA,EAC5B,sBAAsB;AACxB;AAEO,MAAM,yBAAyB;AAAA,EACpC,GAAG;AACL;AAEA,MAAM,aAAa;AAAA,EACjB,OAAO;AAAA,EACP,GAAG;AAAA,EACH,qBAAqB;AAAA,EACrB,iBAAiB;AACnB;AAIO,MAAM,kBAAkB;AAAA,EAC7B,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,qBAAqB;AAAA,IACrB,sBAAsB;AAAA,IACtB,wBAAwB;AAAA,IACxB,yBAAyB;AAAA,EAC3B;AAAA,EACA,MAAM;AAAA,IACJ,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,WAAW;AAAA,IACX,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,IACN,QAAQ;AAAA,EACV;AAAA,EACA,OAAO;AAAA,IACL,iBAAiB;A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
|
"source": "src/index.ts",
|
|
5
5
|
"types": "./types/index.d.ts",
|
|
6
6
|
"main": "dist/cjs",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"clean:build": "tamagui-build clean:build"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@tamagui/constants": "1.
|
|
23
|
-
"@tamagui/simple-hash": "1.
|
|
22
|
+
"@tamagui/constants": "1.50.0",
|
|
23
|
+
"@tamagui/simple-hash": "1.50.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@tamagui/build": "1.
|
|
26
|
+
"@tamagui/build": "1.50.0"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
package/src/validStyleProps.ts
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
|
-
import { isAndroid } from '@tamagui/constants'
|
|
1
|
+
import { isAndroid, isWeb } from '@tamagui/constants'
|
|
2
|
+
|
|
3
|
+
// generally organizing this so we don't duplicate things so its a bit weird
|
|
4
|
+
|
|
5
|
+
const placeHolderTextColors = {
|
|
6
|
+
placeholderTextColor: true,
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const validStylesOnBaseProps = {
|
|
10
|
+
...placeHolderTextColors,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const textColors = {
|
|
14
|
+
color: true,
|
|
15
|
+
...placeHolderTextColors,
|
|
16
|
+
textDecorationColor: true,
|
|
17
|
+
textShadowColor: true,
|
|
18
|
+
}
|
|
2
19
|
|
|
3
20
|
// used for propMapping to find the right token category
|
|
4
21
|
// just specificy the least costly, all else go to `space` (most keys - we can exclude)
|
|
@@ -22,13 +39,19 @@ export const tokenCategories = {
|
|
|
22
39
|
zIndex: true,
|
|
23
40
|
},
|
|
24
41
|
color: {
|
|
25
|
-
color: true,
|
|
26
42
|
backgroundColor: true,
|
|
27
43
|
borderColor: true,
|
|
28
44
|
borderBottomColor: true,
|
|
29
45
|
borderTopColor: true,
|
|
30
46
|
borderLeftColor: true,
|
|
31
47
|
borderRightColor: true,
|
|
48
|
+
borderEndColor: true,
|
|
49
|
+
borderStartColor: true,
|
|
50
|
+
shadowColor: true,
|
|
51
|
+
...textColors,
|
|
52
|
+
...(process.env.TAMAGUI_TARGET === 'web' && {
|
|
53
|
+
outlineColor: true,
|
|
54
|
+
}),
|
|
32
55
|
},
|
|
33
56
|
}
|
|
34
57
|
|
|
@@ -86,19 +109,13 @@ export const stylePropsTransform = {
|
|
|
86
109
|
rotateZ: true,
|
|
87
110
|
}
|
|
88
111
|
|
|
89
|
-
export const validStylesOnBaseProps = {
|
|
90
|
-
placeholderTextColor: true,
|
|
91
|
-
}
|
|
92
|
-
|
|
93
112
|
export const stylePropsView = {
|
|
94
113
|
backfaceVisibility: true,
|
|
95
114
|
borderBottomEndRadius: true,
|
|
96
115
|
borderBottomStartRadius: true,
|
|
97
116
|
borderBottomWidth: true,
|
|
98
|
-
borderEndColor: true,
|
|
99
117
|
borderLeftWidth: true,
|
|
100
118
|
borderRightWidth: true,
|
|
101
|
-
borderStartColor: true,
|
|
102
119
|
borderStyle: true,
|
|
103
120
|
borderTopEndRadius: true,
|
|
104
121
|
borderTopStartRadius: true,
|
|
@@ -145,7 +162,6 @@ export const stylePropsView = {
|
|
|
145
162
|
start: true,
|
|
146
163
|
top: true,
|
|
147
164
|
direction: true,
|
|
148
|
-
shadowColor: true,
|
|
149
165
|
shadowOffset: true,
|
|
150
166
|
shadowRadius: true,
|
|
151
167
|
...tokenCategories.color,
|
|
@@ -173,7 +189,6 @@ export const stylePropsView = {
|
|
|
173
189
|
pointerEvents: true,
|
|
174
190
|
boxSizing: true,
|
|
175
191
|
boxShadow: true,
|
|
176
|
-
outlineColor: true,
|
|
177
192
|
outlineStyle: true,
|
|
178
193
|
outlineOffset: true,
|
|
179
194
|
outlineWidth: true,
|
|
@@ -192,13 +207,11 @@ export const stylePropsFont = {
|
|
|
192
207
|
}
|
|
193
208
|
|
|
194
209
|
export const stylePropsTextOnly = {
|
|
195
|
-
color: true,
|
|
196
210
|
...stylePropsFont,
|
|
197
211
|
textAlign: true,
|
|
198
212
|
textDecorationLine: true,
|
|
199
213
|
textDecorationStyle: true,
|
|
200
|
-
|
|
201
|
-
textShadowColor: true,
|
|
214
|
+
...textColors,
|
|
202
215
|
textShadowOffset: true,
|
|
203
216
|
textShadowRadius: true,
|
|
204
217
|
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export declare const validStylesOnBaseProps: {
|
|
2
|
+
placeholderTextColor: boolean;
|
|
3
|
+
};
|
|
1
4
|
export declare const tokenCategories: {
|
|
2
5
|
radius: {
|
|
3
6
|
borderRadius: boolean;
|
|
@@ -18,6 +21,10 @@ export declare const tokenCategories: {
|
|
|
18
21
|
zIndex: boolean;
|
|
19
22
|
};
|
|
20
23
|
color: {
|
|
24
|
+
outlineColor?: boolean | undefined;
|
|
25
|
+
textDecorationColor: boolean;
|
|
26
|
+
textShadowColor: boolean;
|
|
27
|
+
placeholderTextColor: boolean;
|
|
21
28
|
color: boolean;
|
|
22
29
|
backgroundColor: boolean;
|
|
23
30
|
borderColor: boolean;
|
|
@@ -25,6 +32,9 @@ export declare const tokenCategories: {
|
|
|
25
32
|
borderTopColor: boolean;
|
|
26
33
|
borderLeftColor: boolean;
|
|
27
34
|
borderRightColor: boolean;
|
|
35
|
+
borderEndColor: boolean;
|
|
36
|
+
borderStartColor: boolean;
|
|
37
|
+
shadowColor: boolean;
|
|
28
38
|
};
|
|
29
39
|
};
|
|
30
40
|
export declare const stylePropsUnitless: {
|
|
@@ -79,9 +89,6 @@ export declare const stylePropsTransform: {
|
|
|
79
89
|
rotateX: boolean;
|
|
80
90
|
rotateZ: boolean;
|
|
81
91
|
};
|
|
82
|
-
export declare const validStylesOnBaseProps: {
|
|
83
|
-
placeholderTextColor: boolean;
|
|
84
|
-
};
|
|
85
92
|
export declare const stylePropsView: {
|
|
86
93
|
elevationAndroid?: boolean | undefined;
|
|
87
94
|
borderBottomStyle?: boolean | undefined;
|
|
@@ -96,7 +103,6 @@ export declare const stylePropsView: {
|
|
|
96
103
|
pointerEvents?: boolean | undefined;
|
|
97
104
|
boxSizing?: boolean | undefined;
|
|
98
105
|
boxShadow?: boolean | undefined;
|
|
99
|
-
outlineColor?: boolean | undefined;
|
|
100
106
|
outlineStyle?: boolean | undefined;
|
|
101
107
|
outlineOffset?: boolean | undefined;
|
|
102
108
|
outlineWidth?: boolean | undefined;
|
|
@@ -157,6 +163,9 @@ export declare const stylePropsView: {
|
|
|
157
163
|
minHeight: boolean;
|
|
158
164
|
maxWidth: boolean;
|
|
159
165
|
maxHeight: boolean;
|
|
166
|
+
outlineColor?: boolean | undefined;
|
|
167
|
+
textDecorationColor: boolean;
|
|
168
|
+
textShadowColor: boolean;
|
|
160
169
|
color: boolean;
|
|
161
170
|
backgroundColor: boolean;
|
|
162
171
|
borderColor: boolean;
|
|
@@ -164,14 +173,15 @@ export declare const stylePropsView: {
|
|
|
164
173
|
borderTopColor: boolean;
|
|
165
174
|
borderLeftColor: boolean;
|
|
166
175
|
borderRightColor: boolean;
|
|
176
|
+
borderEndColor: boolean;
|
|
177
|
+
borderStartColor: boolean;
|
|
178
|
+
shadowColor: boolean;
|
|
167
179
|
backfaceVisibility: boolean;
|
|
168
180
|
borderBottomEndRadius: boolean;
|
|
169
181
|
borderBottomStartRadius: boolean;
|
|
170
182
|
borderBottomWidth: boolean;
|
|
171
|
-
borderEndColor: boolean;
|
|
172
183
|
borderLeftWidth: boolean;
|
|
173
184
|
borderRightWidth: boolean;
|
|
174
|
-
borderStartColor: boolean;
|
|
175
185
|
borderStyle: boolean;
|
|
176
186
|
borderTopEndRadius: boolean;
|
|
177
187
|
borderTopStartRadius: boolean;
|
|
@@ -218,7 +228,6 @@ export declare const stylePropsView: {
|
|
|
218
228
|
start: boolean;
|
|
219
229
|
top: boolean;
|
|
220
230
|
direction: boolean;
|
|
221
|
-
shadowColor: boolean;
|
|
222
231
|
shadowOffset: boolean;
|
|
223
232
|
shadowRadius: boolean;
|
|
224
233
|
};
|
|
@@ -241,13 +250,15 @@ export declare const stylePropsTextOnly: {
|
|
|
241
250
|
cursor?: boolean | undefined;
|
|
242
251
|
WebkitLineClamp?: boolean | undefined;
|
|
243
252
|
WebkitBoxOrient?: boolean | undefined;
|
|
253
|
+
textShadowOffset: boolean;
|
|
254
|
+
textShadowRadius: boolean;
|
|
255
|
+
textDecorationColor: boolean;
|
|
256
|
+
textShadowColor: boolean;
|
|
257
|
+
placeholderTextColor: boolean;
|
|
258
|
+
color: boolean;
|
|
244
259
|
textAlign: boolean;
|
|
245
260
|
textDecorationLine: boolean;
|
|
246
261
|
textDecorationStyle: boolean;
|
|
247
|
-
textDecorationColor: boolean;
|
|
248
|
-
textShadowColor: boolean;
|
|
249
|
-
textShadowOffset: boolean;
|
|
250
|
-
textShadowRadius: boolean;
|
|
251
262
|
fontFamily: boolean;
|
|
252
263
|
fontSize: boolean;
|
|
253
264
|
fontStyle: boolean;
|
|
@@ -255,7 +266,6 @@ export declare const stylePropsTextOnly: {
|
|
|
255
266
|
letterSpacing: boolean;
|
|
256
267
|
lineHeight: boolean;
|
|
257
268
|
textTransform: boolean;
|
|
258
|
-
color: boolean;
|
|
259
269
|
};
|
|
260
270
|
export declare const stylePropsText: {
|
|
261
271
|
whiteSpace?: boolean | undefined;
|
|
@@ -267,13 +277,15 @@ export declare const stylePropsText: {
|
|
|
267
277
|
cursor?: boolean | undefined;
|
|
268
278
|
WebkitLineClamp: boolean;
|
|
269
279
|
WebkitBoxOrient?: boolean | undefined;
|
|
280
|
+
textShadowOffset: boolean;
|
|
281
|
+
textShadowRadius: boolean;
|
|
282
|
+
textDecorationColor: boolean;
|
|
283
|
+
textShadowColor: boolean;
|
|
284
|
+
placeholderTextColor: boolean;
|
|
285
|
+
color: boolean;
|
|
270
286
|
textAlign: boolean;
|
|
271
287
|
textDecorationLine: boolean;
|
|
272
288
|
textDecorationStyle: boolean;
|
|
273
|
-
textDecorationColor: boolean;
|
|
274
|
-
textShadowColor: boolean;
|
|
275
|
-
textShadowOffset: boolean;
|
|
276
|
-
textShadowRadius: boolean;
|
|
277
289
|
fontFamily: boolean;
|
|
278
290
|
fontSize: boolean;
|
|
279
291
|
fontStyle: boolean;
|
|
@@ -281,7 +293,6 @@ export declare const stylePropsText: {
|
|
|
281
293
|
letterSpacing: boolean;
|
|
282
294
|
lineHeight: boolean;
|
|
283
295
|
textTransform: boolean;
|
|
284
|
-
color: boolean;
|
|
285
296
|
elevationAndroid?: boolean | undefined;
|
|
286
297
|
borderBottomStyle?: boolean | undefined;
|
|
287
298
|
borderTopStyle?: boolean | undefined;
|
|
@@ -293,7 +304,6 @@ export declare const stylePropsText: {
|
|
|
293
304
|
pointerEvents?: boolean | undefined;
|
|
294
305
|
boxSizing?: boolean | undefined;
|
|
295
306
|
boxShadow?: boolean | undefined;
|
|
296
|
-
outlineColor?: boolean | undefined;
|
|
297
307
|
outlineStyle?: boolean | undefined;
|
|
298
308
|
outlineOffset?: boolean | undefined;
|
|
299
309
|
outlineWidth?: boolean | undefined;
|
|
@@ -340,7 +350,6 @@ export declare const stylePropsText: {
|
|
|
340
350
|
rotateY: boolean;
|
|
341
351
|
rotateX: boolean;
|
|
342
352
|
rotateZ: boolean;
|
|
343
|
-
placeholderTextColor: boolean;
|
|
344
353
|
borderRadius: boolean;
|
|
345
354
|
borderTopLeftRadius: boolean;
|
|
346
355
|
borderTopRightRadius: boolean;
|
|
@@ -352,20 +361,22 @@ export declare const stylePropsText: {
|
|
|
352
361
|
minHeight: boolean;
|
|
353
362
|
maxWidth: boolean;
|
|
354
363
|
maxHeight: boolean;
|
|
364
|
+
outlineColor?: boolean | undefined;
|
|
355
365
|
backgroundColor: boolean;
|
|
356
366
|
borderColor: boolean;
|
|
357
367
|
borderBottomColor: boolean;
|
|
358
368
|
borderTopColor: boolean;
|
|
359
369
|
borderLeftColor: boolean;
|
|
360
370
|
borderRightColor: boolean;
|
|
371
|
+
borderEndColor: boolean;
|
|
372
|
+
borderStartColor: boolean;
|
|
373
|
+
shadowColor: boolean;
|
|
361
374
|
backfaceVisibility: boolean;
|
|
362
375
|
borderBottomEndRadius: boolean;
|
|
363
376
|
borderBottomStartRadius: boolean;
|
|
364
377
|
borderBottomWidth: boolean;
|
|
365
|
-
borderEndColor: boolean;
|
|
366
378
|
borderLeftWidth: boolean;
|
|
367
379
|
borderRightWidth: boolean;
|
|
368
|
-
borderStartColor: boolean;
|
|
369
380
|
borderStyle: boolean;
|
|
370
381
|
borderTopEndRadius: boolean;
|
|
371
382
|
borderTopStartRadius: boolean;
|
|
@@ -412,7 +423,6 @@ export declare const stylePropsText: {
|
|
|
412
423
|
start: boolean;
|
|
413
424
|
top: boolean;
|
|
414
425
|
direction: boolean;
|
|
415
|
-
shadowColor: boolean;
|
|
416
426
|
shadowOffset: boolean;
|
|
417
427
|
shadowRadius: boolean;
|
|
418
428
|
};
|
|
@@ -426,13 +436,15 @@ export declare const stylePropsAll: {
|
|
|
426
436
|
cursor?: boolean | undefined;
|
|
427
437
|
WebkitLineClamp: boolean;
|
|
428
438
|
WebkitBoxOrient?: boolean | undefined;
|
|
439
|
+
textShadowOffset: boolean;
|
|
440
|
+
textShadowRadius: boolean;
|
|
441
|
+
textDecorationColor: boolean;
|
|
442
|
+
textShadowColor: boolean;
|
|
443
|
+
placeholderTextColor: boolean;
|
|
444
|
+
color: boolean;
|
|
429
445
|
textAlign: boolean;
|
|
430
446
|
textDecorationLine: boolean;
|
|
431
447
|
textDecorationStyle: boolean;
|
|
432
|
-
textDecorationColor: boolean;
|
|
433
|
-
textShadowColor: boolean;
|
|
434
|
-
textShadowOffset: boolean;
|
|
435
|
-
textShadowRadius: boolean;
|
|
436
448
|
fontFamily: boolean;
|
|
437
449
|
fontSize: boolean;
|
|
438
450
|
fontStyle: boolean;
|
|
@@ -440,7 +452,6 @@ export declare const stylePropsAll: {
|
|
|
440
452
|
letterSpacing: boolean;
|
|
441
453
|
lineHeight: boolean;
|
|
442
454
|
textTransform: boolean;
|
|
443
|
-
color: boolean;
|
|
444
455
|
elevationAndroid?: boolean | undefined;
|
|
445
456
|
borderBottomStyle?: boolean | undefined;
|
|
446
457
|
borderTopStyle?: boolean | undefined;
|
|
@@ -452,7 +463,6 @@ export declare const stylePropsAll: {
|
|
|
452
463
|
pointerEvents?: boolean | undefined;
|
|
453
464
|
boxSizing?: boolean | undefined;
|
|
454
465
|
boxShadow?: boolean | undefined;
|
|
455
|
-
outlineColor?: boolean | undefined;
|
|
456
466
|
outlineStyle?: boolean | undefined;
|
|
457
467
|
outlineOffset?: boolean | undefined;
|
|
458
468
|
outlineWidth?: boolean | undefined;
|
|
@@ -499,7 +509,6 @@ export declare const stylePropsAll: {
|
|
|
499
509
|
rotateY: boolean;
|
|
500
510
|
rotateX: boolean;
|
|
501
511
|
rotateZ: boolean;
|
|
502
|
-
placeholderTextColor: boolean;
|
|
503
512
|
borderRadius: boolean;
|
|
504
513
|
borderTopLeftRadius: boolean;
|
|
505
514
|
borderTopRightRadius: boolean;
|
|
@@ -511,20 +520,22 @@ export declare const stylePropsAll: {
|
|
|
511
520
|
minHeight: boolean;
|
|
512
521
|
maxWidth: boolean;
|
|
513
522
|
maxHeight: boolean;
|
|
523
|
+
outlineColor?: boolean | undefined;
|
|
514
524
|
backgroundColor: boolean;
|
|
515
525
|
borderColor: boolean;
|
|
516
526
|
borderBottomColor: boolean;
|
|
517
527
|
borderTopColor: boolean;
|
|
518
528
|
borderLeftColor: boolean;
|
|
519
529
|
borderRightColor: boolean;
|
|
530
|
+
borderEndColor: boolean;
|
|
531
|
+
borderStartColor: boolean;
|
|
532
|
+
shadowColor: boolean;
|
|
520
533
|
backfaceVisibility: boolean;
|
|
521
534
|
borderBottomEndRadius: boolean;
|
|
522
535
|
borderBottomStartRadius: boolean;
|
|
523
536
|
borderBottomWidth: boolean;
|
|
524
|
-
borderEndColor: boolean;
|
|
525
537
|
borderLeftWidth: boolean;
|
|
526
538
|
borderRightWidth: boolean;
|
|
527
|
-
borderStartColor: boolean;
|
|
528
539
|
borderStyle: boolean;
|
|
529
540
|
borderTopEndRadius: boolean;
|
|
530
541
|
borderTopStartRadius: boolean;
|
|
@@ -571,7 +582,6 @@ export declare const stylePropsAll: {
|
|
|
571
582
|
start: boolean;
|
|
572
583
|
top: boolean;
|
|
573
584
|
direction: boolean;
|
|
574
|
-
shadowColor: boolean;
|
|
575
585
|
shadowOffset: boolean;
|
|
576
586
|
shadowRadius: boolean;
|
|
577
587
|
};
|
|
@@ -596,7 +606,6 @@ export declare const validStyles: {
|
|
|
596
606
|
pointerEvents?: boolean | undefined;
|
|
597
607
|
boxSizing?: boolean | undefined;
|
|
598
608
|
boxShadow?: boolean | undefined;
|
|
599
|
-
outlineColor?: boolean | undefined;
|
|
600
609
|
outlineStyle?: boolean | undefined;
|
|
601
610
|
outlineOffset?: boolean | undefined;
|
|
602
611
|
outlineWidth?: boolean | undefined;
|
|
@@ -657,6 +666,9 @@ export declare const validStyles: {
|
|
|
657
666
|
minHeight: boolean;
|
|
658
667
|
maxWidth: boolean;
|
|
659
668
|
maxHeight: boolean;
|
|
669
|
+
outlineColor?: boolean | undefined;
|
|
670
|
+
textDecorationColor: boolean;
|
|
671
|
+
textShadowColor: boolean;
|
|
660
672
|
color: boolean;
|
|
661
673
|
backgroundColor: boolean;
|
|
662
674
|
borderColor: boolean;
|
|
@@ -664,14 +676,15 @@ export declare const validStyles: {
|
|
|
664
676
|
borderTopColor: boolean;
|
|
665
677
|
borderLeftColor: boolean;
|
|
666
678
|
borderRightColor: boolean;
|
|
679
|
+
borderEndColor: boolean;
|
|
680
|
+
borderStartColor: boolean;
|
|
681
|
+
shadowColor: boolean;
|
|
667
682
|
backfaceVisibility: boolean;
|
|
668
683
|
borderBottomEndRadius: boolean;
|
|
669
684
|
borderBottomStartRadius: boolean;
|
|
670
685
|
borderBottomWidth: boolean;
|
|
671
|
-
borderEndColor: boolean;
|
|
672
686
|
borderLeftWidth: boolean;
|
|
673
687
|
borderRightWidth: boolean;
|
|
674
|
-
borderStartColor: boolean;
|
|
675
688
|
borderStyle: boolean;
|
|
676
689
|
borderTopEndRadius: boolean;
|
|
677
690
|
borderTopStartRadius: boolean;
|
|
@@ -718,7 +731,6 @@ export declare const validStyles: {
|
|
|
718
731
|
start: boolean;
|
|
719
732
|
top: boolean;
|
|
720
733
|
direction: boolean;
|
|
721
|
-
shadowColor: boolean;
|
|
722
734
|
shadowOffset: boolean;
|
|
723
735
|
shadowRadius: boolean;
|
|
724
736
|
enterStyle: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validStyleProps.d.ts","sourceRoot":"","sources":["../src/validStyleProps.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"validStyleProps.d.ts","sourceRoot":"","sources":["../src/validStyleProps.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,sBAAsB;;CAElC,CAAA;AAWD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC3B,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoC9B,CAAA;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;CAc/B,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqF1B,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;CAQ1B,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;CAqB9B,CAAA;AAED,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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