@tamagui/helpers 3.0.0-beta.807.1 → 3.0.0-beta.831.1
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/tokenCategories.cjs +24 -55
- package/dist/cjs/tokenCategories.native.cjs +25 -53
- package/dist/cjs/tokenCategories.native.js +25 -53
- package/dist/cjs/tokenCategories.native.js.map +1 -1
- package/dist/cjs/validStyleProps.cjs +44 -7
- package/dist/cjs/validStyleProps.native.cjs +43 -7
- package/dist/cjs/validStyleProps.native.js +43 -7
- package/dist/cjs/validStyleProps.native.js.map +1 -1
- package/dist/esm/tokenCategories.mjs +25 -55
- package/dist/esm/tokenCategories.mjs.map +1 -1
- package/dist/esm/tokenCategories.native.js +26 -53
- package/dist/esm/tokenCategories.native.js.map +1 -1
- package/dist/esm/validStyleProps.mjs +45 -7
- package/dist/esm/validStyleProps.mjs.map +1 -1
- package/dist/esm/validStyleProps.native.js +44 -7
- package/dist/esm/validStyleProps.native.js.map +1 -1
- package/package.json +5 -4
- package/src/tokenCategories.ts +27 -65
- package/src/validStyleProps.ts +43 -17
- package/types/tokenCategories.d.ts +3 -57
- package/types/tokenCategories.d.ts.map +1 -1
- package/types/validStyleProps.d.ts +166 -166
- package/types/validStyleProps.d.ts.map +1 -1
|
@@ -17,62 +17,31 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
17
|
}
|
|
18
18
|
return to;
|
|
19
19
|
};
|
|
20
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
20
21
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
21
22
|
var tokenCategories_exports = {};
|
|
22
23
|
__export(tokenCategories_exports, { tokenCategories: () => tokenCategories });
|
|
23
24
|
module.exports = __toCommonJS(tokenCategories_exports);
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
blockSize: true,
|
|
48
|
-
minBlockSize: true,
|
|
49
|
-
maxBlockSize: true,
|
|
50
|
-
inlineSize: true,
|
|
51
|
-
minInlineSize: true,
|
|
52
|
-
maxInlineSize: true,
|
|
53
|
-
shadowRadius: true
|
|
54
|
-
},
|
|
55
|
-
zIndex: { zIndex: true },
|
|
56
|
-
color: {
|
|
57
|
-
backgroundColor: true,
|
|
58
|
-
borderColor: true,
|
|
59
|
-
borderBlockStartColor: true,
|
|
60
|
-
borderBlockEndColor: true,
|
|
61
|
-
borderBlockColor: true,
|
|
62
|
-
borderBottomColor: true,
|
|
63
|
-
borderInlineColor: true,
|
|
64
|
-
borderInlineStartColor: true,
|
|
65
|
-
borderInlineEndColor: true,
|
|
66
|
-
borderTopColor: true,
|
|
67
|
-
borderLeftColor: true,
|
|
68
|
-
borderRightColor: true,
|
|
69
|
-
borderEndColor: true,
|
|
70
|
-
borderStartColor: true,
|
|
71
|
-
shadowColor: true,
|
|
72
|
-
color: true,
|
|
73
|
-
textDecorationColor: true,
|
|
74
|
-
textShadowColor: true,
|
|
75
|
-
outlineColor: true,
|
|
76
|
-
caretColor: true
|
|
77
|
-
}
|
|
78
|
-
};
|
|
25
|
+
__reExport(tokenCategories_exports, require("@tamagui/style-grammar/token-categories"), module.exports);
|
|
26
|
+
var import_token_categories = require("@tamagui/style-grammar/token-categories");
|
|
27
|
+
const tokenCategories = {};
|
|
28
|
+
for (const category of [
|
|
29
|
+
"radius",
|
|
30
|
+
"size",
|
|
31
|
+
"zIndex",
|
|
32
|
+
"color"
|
|
33
|
+
]) {
|
|
34
|
+
let view;
|
|
35
|
+
Object.defineProperty(tokenCategories, category, {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get() {
|
|
38
|
+
if (view) return view;
|
|
39
|
+
view = {};
|
|
40
|
+
const code = import_token_categories.tokenCategoryNames.indexOf(category);
|
|
41
|
+
for (const property in import_token_categories.propToTokenCategoryCode) {
|
|
42
|
+
if (import_token_categories.propToTokenCategoryCode[property] === code) view[property] = true;
|
|
43
|
+
}
|
|
44
|
+
return view;
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}
|
|
@@ -19,61 +19,33 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
}
|
|
20
20
|
return to;
|
|
21
21
|
};
|
|
22
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
22
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
24
|
var tokenCategories_exports = {};
|
|
24
25
|
__export(tokenCategories_exports, { tokenCategories: () => tokenCategories });
|
|
25
26
|
module.exports = __toCommonJS(tokenCategories_exports);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
width: true,
|
|
44
|
-
height: true,
|
|
45
|
-
minWidth: true,
|
|
46
|
-
minHeight: true,
|
|
47
|
-
maxWidth: true,
|
|
48
|
-
maxHeight: true,
|
|
49
|
-
blockSize: true,
|
|
50
|
-
minBlockSize: true,
|
|
51
|
-
maxBlockSize: true,
|
|
52
|
-
inlineSize: true,
|
|
53
|
-
minInlineSize: true,
|
|
54
|
-
maxInlineSize: true,
|
|
55
|
-
shadowRadius: true
|
|
56
|
-
},
|
|
57
|
-
zIndex: { zIndex: true },
|
|
58
|
-
color: {
|
|
59
|
-
backgroundColor: true,
|
|
60
|
-
borderColor: true,
|
|
61
|
-
borderBlockStartColor: true,
|
|
62
|
-
borderBlockEndColor: true,
|
|
63
|
-
borderBlockColor: true,
|
|
64
|
-
borderBottomColor: true,
|
|
65
|
-
borderInlineColor: true,
|
|
66
|
-
borderInlineStartColor: true,
|
|
67
|
-
borderInlineEndColor: true,
|
|
68
|
-
borderTopColor: true,
|
|
69
|
-
borderLeftColor: true,
|
|
70
|
-
borderRightColor: true,
|
|
71
|
-
borderEndColor: true,
|
|
72
|
-
borderStartColor: true,
|
|
73
|
-
shadowColor: true,
|
|
74
|
-
color: true,
|
|
75
|
-
textDecorationColor: true,
|
|
76
|
-
textShadowColor: true,
|
|
77
|
-
outlineColor: true
|
|
78
|
-
}
|
|
27
|
+
__reExport(tokenCategories_exports, require("@tamagui/style-grammar/token-categories"), module.exports);
|
|
28
|
+
var import_token_categories = require("@tamagui/style-grammar/token-categories");
|
|
29
|
+
var _loop = function(_i2, _iter2) {
|
|
30
|
+
var category = _iter2[_i2];
|
|
31
|
+
var view = void 0;
|
|
32
|
+
Object.defineProperty(tokenCategories, category, {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get() {
|
|
35
|
+
if (view) return view;
|
|
36
|
+
view = {};
|
|
37
|
+
var code = import_token_categories.tokenCategoryNames.indexOf(category);
|
|
38
|
+
for (var property in import_token_categories.propToTokenCategoryCode) {
|
|
39
|
+
if (import_token_categories.propToTokenCategoryCode[property] === code) view[property] = true;
|
|
40
|
+
}
|
|
41
|
+
return view;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
79
44
|
};
|
|
45
|
+
var tokenCategories = {};
|
|
46
|
+
for (var _i = 0, _iter = [
|
|
47
|
+
"radius",
|
|
48
|
+
"size",
|
|
49
|
+
"zIndex",
|
|
50
|
+
"color"
|
|
51
|
+
]; _i < _iter.length; _i++) _loop(_i, _iter);
|
|
@@ -19,63 +19,35 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
}
|
|
20
20
|
return to;
|
|
21
21
|
};
|
|
22
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
22
23
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
24
|
var tokenCategories_exports = {};
|
|
24
25
|
__export(tokenCategories_exports, { tokenCategories: () => tokenCategories });
|
|
25
26
|
module.exports = __toCommonJS(tokenCategories_exports);
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
width: true,
|
|
44
|
-
height: true,
|
|
45
|
-
minWidth: true,
|
|
46
|
-
minHeight: true,
|
|
47
|
-
maxWidth: true,
|
|
48
|
-
maxHeight: true,
|
|
49
|
-
blockSize: true,
|
|
50
|
-
minBlockSize: true,
|
|
51
|
-
maxBlockSize: true,
|
|
52
|
-
inlineSize: true,
|
|
53
|
-
minInlineSize: true,
|
|
54
|
-
maxInlineSize: true,
|
|
55
|
-
shadowRadius: true
|
|
56
|
-
},
|
|
57
|
-
zIndex: { zIndex: true },
|
|
58
|
-
color: {
|
|
59
|
-
backgroundColor: true,
|
|
60
|
-
borderColor: true,
|
|
61
|
-
borderBlockStartColor: true,
|
|
62
|
-
borderBlockEndColor: true,
|
|
63
|
-
borderBlockColor: true,
|
|
64
|
-
borderBottomColor: true,
|
|
65
|
-
borderInlineColor: true,
|
|
66
|
-
borderInlineStartColor: true,
|
|
67
|
-
borderInlineEndColor: true,
|
|
68
|
-
borderTopColor: true,
|
|
69
|
-
borderLeftColor: true,
|
|
70
|
-
borderRightColor: true,
|
|
71
|
-
borderEndColor: true,
|
|
72
|
-
borderStartColor: true,
|
|
73
|
-
shadowColor: true,
|
|
74
|
-
color: true,
|
|
75
|
-
textDecorationColor: true,
|
|
76
|
-
textShadowColor: true,
|
|
77
|
-
outlineColor: true
|
|
78
|
-
}
|
|
27
|
+
__reExport(tokenCategories_exports, require("@tamagui/style-grammar/token-categories"), module.exports);
|
|
28
|
+
var import_token_categories = require("@tamagui/style-grammar/token-categories");
|
|
29
|
+
var _loop = function(_i2, _iter2) {
|
|
30
|
+
var category = _iter2[_i2];
|
|
31
|
+
var view = void 0;
|
|
32
|
+
Object.defineProperty(tokenCategories, category, {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get() {
|
|
35
|
+
if (view) return view;
|
|
36
|
+
view = {};
|
|
37
|
+
var code = import_token_categories.tokenCategoryNames.indexOf(category);
|
|
38
|
+
for (var property in import_token_categories.propToTokenCategoryCode) {
|
|
39
|
+
if (import_token_categories.propToTokenCategoryCode[property] === code) view[property] = true;
|
|
40
|
+
}
|
|
41
|
+
return view;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
79
44
|
};
|
|
45
|
+
var tokenCategories = {};
|
|
46
|
+
for (var _i = 0, _iter = [
|
|
47
|
+
"radius",
|
|
48
|
+
"size",
|
|
49
|
+
"zIndex",
|
|
50
|
+
"color"
|
|
51
|
+
]; _i < _iter.length; _i++) _loop(_i, _iter);
|
|
80
52
|
|
|
81
53
|
//# sourceMappingURL=tokenCategories.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokenCategories.native.js","names":[],"sources":["cjs/tokenCategories.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n
|
|
1
|
+
{"version":3,"file":"tokenCategories.native.js","names":[],"sources":["cjs/tokenCategories.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar tokenCategories_exports = {};\n__export(tokenCategories_exports, {\n tokenCategories: () => tokenCategories\n});\nmodule.exports = __toCommonJS(tokenCategories_exports);\n__reExport(tokenCategories_exports, require(\"@tamagui/style-grammar/token-categories\"), module.exports);\nvar import_token_categories = require(\"@tamagui/style-grammar/token-categories\");\nvar _loop = function(_i2, _iter2) {\n var category = _iter2[_i2];\n var view = void 0;\n Object.defineProperty(tokenCategories, category, {\n enumerable: true,\n get() {\n if (view) return view;\n view = {};\n var code = import_token_categories.tokenCategoryNames.indexOf(category);\n for (var property in import_token_categories.propToTokenCategoryCode) {\n if (import_token_categories.propToTokenCategoryCode[property] === code) view[property] = true;\n }\n return view;\n }\n });\n};\nvar tokenCategories = {};\nfor (var _i = 0, _iter = [\n \"radius\",\n \"size\",\n \"zIndex\",\n \"color\"\n]; _i < _iter.length; _i++) _loop(_i, _iter);\n//# sourceMappingURL=tokenCategories.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,I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;CACvB;CACA;CACA;CACA;AACF,GAAG,KAAK,MAAM,QAAQ,MAAM,MAAM,IAAI,KAAK"}
|
|
@@ -28,14 +28,13 @@ __export(validStyleProps_exports, {
|
|
|
28
28
|
stylePropsTransform: () => stylePropsTransform,
|
|
29
29
|
stylePropsUnitless: () => stylePropsUnitless,
|
|
30
30
|
stylePropsView: () => stylePropsView,
|
|
31
|
-
tokenCategories: () =>
|
|
31
|
+
tokenCategories: () => import_tokenCategories.tokenCategories,
|
|
32
32
|
validStyles: () => validStyles
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(validStyleProps_exports);
|
|
35
35
|
var import_constants = require("@tamagui/constants");
|
|
36
36
|
var import_webOnlyStyleProps = require("./webOnlyStyleProps.cjs");
|
|
37
37
|
var import_tokenCategories = require("./tokenCategories.cjs");
|
|
38
|
-
var import_tokenCategories2 = require("./tokenCategories.cjs");
|
|
39
38
|
const cssShorthandLonghands = {
|
|
40
39
|
borderWidth: true,
|
|
41
40
|
borderStyle: true,
|
|
@@ -62,7 +61,6 @@ const textColors = {
|
|
|
62
61
|
textDecorationColor: true,
|
|
63
62
|
textShadowColor: true
|
|
64
63
|
};
|
|
65
|
-
const { color: _textOnlyColor, textDecorationColor: _textOnlyDecoration, textShadowColor: _textOnlyShadow, ...viewColorCategoryProps } = import_tokenCategories.tokenCategories.color;
|
|
66
64
|
const nonAnimatableViewProps = {
|
|
67
65
|
alignContent: true,
|
|
68
66
|
alignItems: true,
|
|
@@ -234,9 +232,49 @@ const stylePropsView = {
|
|
|
234
232
|
insetInlineEnd: true,
|
|
235
233
|
insetInlineStart: true,
|
|
236
234
|
shadowOffset: true,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
235
|
+
backgroundColor: true,
|
|
236
|
+
borderColor: true,
|
|
237
|
+
borderBlockStartColor: true,
|
|
238
|
+
borderBlockEndColor: true,
|
|
239
|
+
borderBlockColor: true,
|
|
240
|
+
borderBottomColor: true,
|
|
241
|
+
borderInlineColor: true,
|
|
242
|
+
borderInlineStartColor: true,
|
|
243
|
+
borderInlineEndColor: true,
|
|
244
|
+
borderTopColor: true,
|
|
245
|
+
borderLeftColor: true,
|
|
246
|
+
borderRightColor: true,
|
|
247
|
+
borderEndColor: true,
|
|
248
|
+
borderStartColor: true,
|
|
249
|
+
shadowColor: true,
|
|
250
|
+
outlineColor: true,
|
|
251
|
+
caretColor: true,
|
|
252
|
+
borderRadius: true,
|
|
253
|
+
borderTopLeftRadius: true,
|
|
254
|
+
borderTopRightRadius: true,
|
|
255
|
+
borderBottomLeftRadius: true,
|
|
256
|
+
borderBottomRightRadius: true,
|
|
257
|
+
borderTopStartRadius: true,
|
|
258
|
+
borderTopEndRadius: true,
|
|
259
|
+
borderBottomStartRadius: true,
|
|
260
|
+
borderBottomEndRadius: true,
|
|
261
|
+
borderStartStartRadius: true,
|
|
262
|
+
borderStartEndRadius: true,
|
|
263
|
+
borderEndStartRadius: true,
|
|
264
|
+
borderEndEndRadius: true,
|
|
265
|
+
width: true,
|
|
266
|
+
height: true,
|
|
267
|
+
minWidth: true,
|
|
268
|
+
minHeight: true,
|
|
269
|
+
maxWidth: true,
|
|
270
|
+
maxHeight: true,
|
|
271
|
+
blockSize: true,
|
|
272
|
+
minBlockSize: true,
|
|
273
|
+
maxBlockSize: true,
|
|
274
|
+
inlineSize: true,
|
|
275
|
+
minInlineSize: true,
|
|
276
|
+
maxInlineSize: true,
|
|
277
|
+
shadowRadius: true,
|
|
240
278
|
...stylePropsTransform,
|
|
241
279
|
...stylePropsUnitless,
|
|
242
280
|
...import_constants.isAndroid ? { elevationAndroid: true } : {},
|
|
@@ -249,7 +287,6 @@ const stylePropsView = {
|
|
|
249
287
|
backgroundImage: true,
|
|
250
288
|
experimental_backgroundImage: true,
|
|
251
289
|
outline: true,
|
|
252
|
-
outlineColor: true,
|
|
253
290
|
outlineOffset: true,
|
|
254
291
|
outlineWidth: true,
|
|
255
292
|
...import_webOnlyStyleProps.webOnlyStylePropsView
|
|
@@ -30,14 +30,13 @@ __export(validStyleProps_exports, {
|
|
|
30
30
|
stylePropsTransform: () => stylePropsTransform,
|
|
31
31
|
stylePropsUnitless: () => stylePropsUnitless,
|
|
32
32
|
stylePropsView: () => stylePropsView,
|
|
33
|
-
tokenCategories: () =>
|
|
33
|
+
tokenCategories: () => import_tokenCategories.tokenCategories,
|
|
34
34
|
validStyles: () => validStyles
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(validStyleProps_exports);
|
|
37
37
|
var import_constants = require("@tamagui/constants");
|
|
38
38
|
require("./webOnlyStyleProps.native.js");
|
|
39
39
|
var import_tokenCategories = require("./tokenCategories.native.js");
|
|
40
|
-
var import_tokenCategories2 = require("./tokenCategories.native.js");
|
|
41
40
|
var cssShorthandLonghands = {
|
|
42
41
|
borderWidth: true,
|
|
43
42
|
borderStyle: true,
|
|
@@ -64,7 +63,6 @@ var textColors = {
|
|
|
64
63
|
textDecorationColor: true,
|
|
65
64
|
textShadowColor: true
|
|
66
65
|
};
|
|
67
|
-
var { color: _textOnlyColor, textDecorationColor: _textOnlyDecoration, textShadowColor: _textOnlyShadow, ...viewColorCategoryProps } = import_tokenCategories.tokenCategories.color;
|
|
68
66
|
var nonAnimatableViewProps = {
|
|
69
67
|
alignContent: true,
|
|
70
68
|
alignItems: true,
|
|
@@ -234,9 +232,48 @@ var stylePropsView = {
|
|
|
234
232
|
insetInlineEnd: true,
|
|
235
233
|
insetInlineStart: true,
|
|
236
234
|
shadowOffset: true,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
235
|
+
backgroundColor: true,
|
|
236
|
+
borderColor: true,
|
|
237
|
+
borderBlockStartColor: true,
|
|
238
|
+
borderBlockEndColor: true,
|
|
239
|
+
borderBlockColor: true,
|
|
240
|
+
borderBottomColor: true,
|
|
241
|
+
borderInlineColor: true,
|
|
242
|
+
borderInlineStartColor: true,
|
|
243
|
+
borderInlineEndColor: true,
|
|
244
|
+
borderTopColor: true,
|
|
245
|
+
borderLeftColor: true,
|
|
246
|
+
borderRightColor: true,
|
|
247
|
+
borderEndColor: true,
|
|
248
|
+
borderStartColor: true,
|
|
249
|
+
shadowColor: true,
|
|
250
|
+
outlineColor: true,
|
|
251
|
+
borderRadius: true,
|
|
252
|
+
borderTopLeftRadius: true,
|
|
253
|
+
borderTopRightRadius: true,
|
|
254
|
+
borderBottomLeftRadius: true,
|
|
255
|
+
borderBottomRightRadius: true,
|
|
256
|
+
borderTopStartRadius: true,
|
|
257
|
+
borderTopEndRadius: true,
|
|
258
|
+
borderBottomStartRadius: true,
|
|
259
|
+
borderBottomEndRadius: true,
|
|
260
|
+
borderStartStartRadius: true,
|
|
261
|
+
borderStartEndRadius: true,
|
|
262
|
+
borderEndStartRadius: true,
|
|
263
|
+
borderEndEndRadius: true,
|
|
264
|
+
width: true,
|
|
265
|
+
height: true,
|
|
266
|
+
minWidth: true,
|
|
267
|
+
minHeight: true,
|
|
268
|
+
maxWidth: true,
|
|
269
|
+
maxHeight: true,
|
|
270
|
+
blockSize: true,
|
|
271
|
+
minBlockSize: true,
|
|
272
|
+
maxBlockSize: true,
|
|
273
|
+
inlineSize: true,
|
|
274
|
+
minInlineSize: true,
|
|
275
|
+
maxInlineSize: true,
|
|
276
|
+
shadowRadius: true,
|
|
240
277
|
...stylePropsTransform,
|
|
241
278
|
...stylePropsUnitless,
|
|
242
279
|
...import_constants.isAndroid ? { elevationAndroid: true } : {},
|
|
@@ -249,7 +286,6 @@ var stylePropsView = {
|
|
|
249
286
|
backgroundImage: true,
|
|
250
287
|
experimental_backgroundImage: true,
|
|
251
288
|
outline: true,
|
|
252
|
-
outlineColor: true,
|
|
253
289
|
outlineOffset: true,
|
|
254
290
|
outlineWidth: true
|
|
255
291
|
};
|
|
@@ -30,14 +30,13 @@ __export(validStyleProps_exports, {
|
|
|
30
30
|
stylePropsTransform: () => stylePropsTransform,
|
|
31
31
|
stylePropsUnitless: () => stylePropsUnitless,
|
|
32
32
|
stylePropsView: () => stylePropsView,
|
|
33
|
-
tokenCategories: () =>
|
|
33
|
+
tokenCategories: () => import_tokenCategories.tokenCategories,
|
|
34
34
|
validStyles: () => validStyles
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(validStyleProps_exports);
|
|
37
37
|
var import_constants = require("@tamagui/constants");
|
|
38
38
|
require("./webOnlyStyleProps.native.js");
|
|
39
39
|
var import_tokenCategories = require("./tokenCategories.native.js");
|
|
40
|
-
var import_tokenCategories2 = require("./tokenCategories.native.js");
|
|
41
40
|
var cssShorthandLonghands = {
|
|
42
41
|
borderWidth: true,
|
|
43
42
|
borderStyle: true,
|
|
@@ -64,7 +63,6 @@ var textColors = {
|
|
|
64
63
|
textDecorationColor: true,
|
|
65
64
|
textShadowColor: true
|
|
66
65
|
};
|
|
67
|
-
var { color: _textOnlyColor, textDecorationColor: _textOnlyDecoration, textShadowColor: _textOnlyShadow, ...viewColorCategoryProps } = import_tokenCategories.tokenCategories.color;
|
|
68
66
|
var nonAnimatableViewProps = {
|
|
69
67
|
alignContent: true,
|
|
70
68
|
alignItems: true,
|
|
@@ -234,9 +232,48 @@ var stylePropsView = {
|
|
|
234
232
|
insetInlineEnd: true,
|
|
235
233
|
insetInlineStart: true,
|
|
236
234
|
shadowOffset: true,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
235
|
+
backgroundColor: true,
|
|
236
|
+
borderColor: true,
|
|
237
|
+
borderBlockStartColor: true,
|
|
238
|
+
borderBlockEndColor: true,
|
|
239
|
+
borderBlockColor: true,
|
|
240
|
+
borderBottomColor: true,
|
|
241
|
+
borderInlineColor: true,
|
|
242
|
+
borderInlineStartColor: true,
|
|
243
|
+
borderInlineEndColor: true,
|
|
244
|
+
borderTopColor: true,
|
|
245
|
+
borderLeftColor: true,
|
|
246
|
+
borderRightColor: true,
|
|
247
|
+
borderEndColor: true,
|
|
248
|
+
borderStartColor: true,
|
|
249
|
+
shadowColor: true,
|
|
250
|
+
outlineColor: true,
|
|
251
|
+
borderRadius: true,
|
|
252
|
+
borderTopLeftRadius: true,
|
|
253
|
+
borderTopRightRadius: true,
|
|
254
|
+
borderBottomLeftRadius: true,
|
|
255
|
+
borderBottomRightRadius: true,
|
|
256
|
+
borderTopStartRadius: true,
|
|
257
|
+
borderTopEndRadius: true,
|
|
258
|
+
borderBottomStartRadius: true,
|
|
259
|
+
borderBottomEndRadius: true,
|
|
260
|
+
borderStartStartRadius: true,
|
|
261
|
+
borderStartEndRadius: true,
|
|
262
|
+
borderEndStartRadius: true,
|
|
263
|
+
borderEndEndRadius: true,
|
|
264
|
+
width: true,
|
|
265
|
+
height: true,
|
|
266
|
+
minWidth: true,
|
|
267
|
+
minHeight: true,
|
|
268
|
+
maxWidth: true,
|
|
269
|
+
maxHeight: true,
|
|
270
|
+
blockSize: true,
|
|
271
|
+
minBlockSize: true,
|
|
272
|
+
maxBlockSize: true,
|
|
273
|
+
inlineSize: true,
|
|
274
|
+
minInlineSize: true,
|
|
275
|
+
maxInlineSize: true,
|
|
276
|
+
shadowRadius: true,
|
|
240
277
|
...stylePropsTransform,
|
|
241
278
|
...stylePropsUnitless,
|
|
242
279
|
...import_constants.isAndroid ? { elevationAndroid: true } : {},
|
|
@@ -249,7 +286,6 @@ var stylePropsView = {
|
|
|
249
286
|
backgroundImage: true,
|
|
250
287
|
experimental_backgroundImage: true,
|
|
251
288
|
outline: true,
|
|
252
|
-
outlineColor: true,
|
|
253
289
|
outlineOffset: true,
|
|
254
290
|
outlineWidth: true
|
|
255
291
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validStyleProps.native.js","names":[],"sources":["cjs/validStyleProps.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {\n\t\t\tget: () => from[key],\n\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t});\n\t}\n\treturn to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar validStyleProps_exports = {};\n__export(validStyleProps_exports, {\n\tcssShorthandLonghands: () => cssShorthandLonghands,\n\tnonAnimatableStyleProps: () => nonAnimatableStyleProps,\n\tstylePropsAll: () => stylePropsAll,\n\tstylePropsText: () => stylePropsText,\n\tstylePropsTextOnly: () => stylePropsTextOnly,\n\tstylePropsTransform: () => stylePropsTransform,\n\tstylePropsUnitless: () => stylePropsUnitless,\n\tstylePropsView: () => stylePropsView,\n\ttokenCategories: () => import_tokenCategories2.tokenCategories,\n\tvalidStyles: () => validStyles\n});\nmodule.exports = __toCommonJS(validStyleProps_exports);\nvar import_constants = require(\"@tamagui/constants\");\nrequire(\"./webOnlyStyleProps\");\nvar import_tokenCategories = require(\"./tokenCategories\");\nvar import_tokenCategories2 = require(\"./tokenCategories\");\nvar cssShorthandLonghands = {\n\tborderWidth: true,\n\tborderStyle: true,\n\tborderColor: true,\n\tborderTopWidth: true,\n\tborderTopStyle: true,\n\tborderTopColor: true,\n\tborderRightWidth: true,\n\tborderRightStyle: true,\n\tborderRightColor: true,\n\tborderBottomWidth: true,\n\tborderBottomStyle: true,\n\tborderBottomColor: true,\n\tborderLeftWidth: true,\n\tborderLeftStyle: true,\n\tborderLeftColor: true,\n\toutlineWidth: true,\n\toutlineStyle: true,\n\toutlineColor: true,\n\toutlineOffset: true\n};\nvar textColors = {\n\tcolor: true,\n\ttextDecorationColor: true,\n\ttextShadowColor: true\n};\nvar { color: _textOnlyColor, textDecorationColor: _textOnlyDecoration, textShadowColor: _textOnlyShadow, ...viewColorCategoryProps } = import_tokenCategories.tokenCategories.color;\nvar nonAnimatableViewProps = {\n\talignContent: true,\n\talignItems: true,\n\talignSelf: true,\n\tbackfaceVisibility: true,\n\tborderCurve: true,\n\tborderStyle: true,\n\tborderBlockStyle: true,\n\tborderBlockEndStyle: true,\n\tborderBlockStartStyle: true,\n\tborderInlineStyle: true,\n\tborderInlineEndStyle: true,\n\tborderInlineStartStyle: true,\n\tboxSizing: true,\n\tcursor: true,\n\tdirection: true,\n\tdisplay: true,\n\tflexDirection: true,\n\tflexWrap: true,\n\tisolation: true,\n\tjustifyContent: true,\n\tmixBlendMode: true,\n\toutlineStyle: true,\n\toverflow: true,\n\tpointerEvents: true,\n\tposition: true,\n\tvisibility: true\n};\nvar nonAnimatableFontProps = {\n\tfontFamily: true,\n\tfontStyle: true,\n\tfontVariant: true,\n\ttextTransform: true\n};\nvar nonAnimatableTextOnlyProps = {\n\ttextAlign: true,\n\ttextDecorationLine: true,\n\ttextDecorationStyle: true,\n\tuserSelect: true,\n\twritingDirection: true\n};\nvar nonAnimatableUnitlessProps = {\n\tWebkitLineClamp: true,\n\tlineClamp: true,\n\tgridTemplateColumns: true,\n\tgridTemplateAreas: true\n};\nvar nonAnimatableStyleProps = {\n\t...nonAnimatableViewProps,\n\t...nonAnimatableFontProps,\n\t...nonAnimatableTextOnlyProps,\n\t...nonAnimatableUnitlessProps\n};\nvar stylePropsUnitless = {\n\t...nonAnimatableUnitlessProps,\n\tanimationIterationCount: true,\n\taspectRatio: true,\n\tborderImageOutset: true,\n\tborderImageSlice: true,\n\tborderImageWidth: true,\n\tcolumnCount: true,\n\tflex: true,\n\tflexGrow: true,\n\tflexOrder: true,\n\tflexPositive: true,\n\tflexShrink: true,\n\tflexNegative: true,\n\tfontWeight: true,\n\tgridRow: true,\n\tgridRowEnd: true,\n\tgridRowGap: true,\n\tgridRowStart: true,\n\tgridColumn: true,\n\tgridColumnEnd: true,\n\tgridColumnGap: true,\n\tgridColumnStart: true,\n\topacity: true,\n\torder: true,\n\torphans: true,\n\ttabSize: true,\n\twidows: true,\n\tzIndex: true,\n\tzoom: true,\n\tscale: true,\n\tscaleX: true,\n\tscaleY: true,\n\tscaleZ: true,\n\tshadowOpacity: true\n};\nvar stylePropsTransform = {\n\tx: true,\n\ty: true,\n\tscale: true,\n\tperspective: true,\n\tscaleX: true,\n\tscaleY: true,\n\tskewX: true,\n\tskewY: true,\n\tmatrix: true,\n\trotate: true,\n\trotateY: true,\n\trotateX: true,\n\trotateZ: true\n};\nvar stylePropsView = {\n\t...nonAnimatableViewProps,\n\tborderBottomWidth: true,\n\tborderLeftWidth: true,\n\tborderRightWidth: true,\n\tborderBlockWidth: true,\n\tborderBlockEndWidth: true,\n\tborderBlockStartWidth: true,\n\tborderInlineWidth: true,\n\tborderInlineEndWidth: true,\n\tborderInlineStartWidth: true,\n\tborderTopWidth: true,\n\tborderWidth: true,\n\ttransform: true,\n\ttransformOrigin: true,\n\tborderEndWidth: true,\n\tborderStartWidth: true,\n\tbottom: true,\n\tend: true,\n\tflexBasis: true,\n\tgap: true,\n\tcolumnGap: true,\n\trowGap: true,\n\tleft: true,\n\tmargin: true,\n\tmarginBlock: true,\n\tmarginBlockEnd: true,\n\tmarginBlockStart: true,\n\tmarginInline: true,\n\tmarginInlineStart: true,\n\tmarginInlineEnd: true,\n\tmarginBottom: true,\n\tmarginEnd: true,\n\tmarginHorizontal: true,\n\tmarginLeft: true,\n\tmarginRight: true,\n\tmarginStart: true,\n\tmarginTop: true,\n\tmarginVertical: true,\n\tpadding: true,\n\tpaddingBottom: true,\n\tpaddingInline: true,\n\tpaddingBlock: true,\n\tpaddingBlockEnd: true,\n\tpaddingBlockStart: true,\n\tpaddingInlineEnd: true,\n\tpaddingInlineStart: true,\n\tpaddingEnd: true,\n\tpaddingHorizontal: true,\n\tpaddingLeft: true,\n\tpaddingRight: true,\n\tpaddingStart: true,\n\tpaddingTop: true,\n\tpaddingVertical: true,\n\tright: true,\n\tstart: true,\n\ttop: true,\n\tinset: true,\n\tinsetBlock: true,\n\tinsetBlockEnd: true,\n\tinsetBlockStart: true,\n\tinsetInline: true,\n\tinsetInlineEnd: true,\n\tinsetInlineStart: true,\n\tshadowOffset: true,\n\t...viewColorCategoryProps,\n\t...import_tokenCategories.tokenCategories.radius,\n\t...import_tokenCategories.tokenCategories.size,\n\t...stylePropsTransform,\n\t...stylePropsUnitless,\n\t...import_constants.isAndroid ? { elevationAndroid: true } : {},\n\tboxShadow: true,\n\tborder: true,\n\tborderBlock: true,\n\tborderInline: true,\n\tfilter: true,\n\tbackground: true,\n\tbackgroundImage: true,\n\texperimental_backgroundImage: true,\n\toutline: true,\n\toutlineColor: true,\n\toutlineOffset: true,\n\toutlineWidth: true\n};\nvar stylePropsTextOnly = {\n\t...nonAnimatableFontProps,\n\tfontSize: true,\n\tfontWeight: true,\n\tletterSpacing: true,\n\tlineHeight: true,\n\t...nonAnimatableTextOnlyProps,\n\t...textColors,\n\ttextShadow: true,\n\ttextShadowOffset: true,\n\ttextShadowRadius: true,\n\ttextDecoration: true,\n\tfont: true,\n\tverticalAlign: true\n};\nvar stylePropsText = {\n\t...stylePropsView,\n\t...stylePropsTextOnly\n};\nvar stylePropsAll = stylePropsText;\nvar validStyles = stylePropsView;\n//# sourceMappingURL=validStyleProps.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC/B,KAAK,IAAI,QAAQ,KAAK,UAAU,QAAQ,MAAM;EAC7C,KAAK,IAAI;EACT,YAAY;CACb,CAAC;AACF;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC7C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EACnE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GAAG,IAAI,CAAC,aAAa,KAAK,I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pB,IAAI,cAAc"}
|
|
1
|
+
{"version":3,"file":"validStyleProps.native.js","names":[],"sources":["cjs/validStyleProps.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {\n\t\t\tget: () => from[key],\n\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t});\n\t}\n\treturn to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar validStyleProps_exports = {};\n__export(validStyleProps_exports, {\n\tcssShorthandLonghands: () => cssShorthandLonghands,\n\tnonAnimatableStyleProps: () => nonAnimatableStyleProps,\n\tstylePropsAll: () => stylePropsAll,\n\tstylePropsText: () => stylePropsText,\n\tstylePropsTextOnly: () => stylePropsTextOnly,\n\tstylePropsTransform: () => stylePropsTransform,\n\tstylePropsUnitless: () => stylePropsUnitless,\n\tstylePropsView: () => stylePropsView,\n\ttokenCategories: () => import_tokenCategories.tokenCategories,\n\tvalidStyles: () => validStyles\n});\nmodule.exports = __toCommonJS(validStyleProps_exports);\nvar import_constants = require(\"@tamagui/constants\");\nrequire(\"./webOnlyStyleProps\");\nvar import_tokenCategories = require(\"./tokenCategories\");\nvar cssShorthandLonghands = {\n\tborderWidth: true,\n\tborderStyle: true,\n\tborderColor: true,\n\tborderTopWidth: true,\n\tborderTopStyle: true,\n\tborderTopColor: true,\n\tborderRightWidth: true,\n\tborderRightStyle: true,\n\tborderRightColor: true,\n\tborderBottomWidth: true,\n\tborderBottomStyle: true,\n\tborderBottomColor: true,\n\tborderLeftWidth: true,\n\tborderLeftStyle: true,\n\tborderLeftColor: true,\n\toutlineWidth: true,\n\toutlineStyle: true,\n\toutlineColor: true,\n\toutlineOffset: true\n};\nvar textColors = {\n\tcolor: true,\n\ttextDecorationColor: true,\n\ttextShadowColor: true\n};\nvar nonAnimatableViewProps = {\n\talignContent: true,\n\talignItems: true,\n\talignSelf: true,\n\tbackfaceVisibility: true,\n\tborderCurve: true,\n\tborderStyle: true,\n\tborderBlockStyle: true,\n\tborderBlockEndStyle: true,\n\tborderBlockStartStyle: true,\n\tborderInlineStyle: true,\n\tborderInlineEndStyle: true,\n\tborderInlineStartStyle: true,\n\tboxSizing: true,\n\tcursor: true,\n\tdirection: true,\n\tdisplay: true,\n\tflexDirection: true,\n\tflexWrap: true,\n\tisolation: true,\n\tjustifyContent: true,\n\tmixBlendMode: true,\n\toutlineStyle: true,\n\toverflow: true,\n\tpointerEvents: true,\n\tposition: true,\n\tvisibility: true\n};\nvar nonAnimatableFontProps = {\n\tfontFamily: true,\n\tfontStyle: true,\n\tfontVariant: true,\n\ttextTransform: true\n};\nvar nonAnimatableTextOnlyProps = {\n\ttextAlign: true,\n\ttextDecorationLine: true,\n\ttextDecorationStyle: true,\n\tuserSelect: true,\n\twritingDirection: true\n};\nvar nonAnimatableUnitlessProps = {\n\tWebkitLineClamp: true,\n\tlineClamp: true,\n\tgridTemplateColumns: true,\n\tgridTemplateAreas: true\n};\nvar nonAnimatableStyleProps = {\n\t...nonAnimatableViewProps,\n\t...nonAnimatableFontProps,\n\t...nonAnimatableTextOnlyProps,\n\t...nonAnimatableUnitlessProps\n};\nvar stylePropsUnitless = {\n\t...nonAnimatableUnitlessProps,\n\tanimationIterationCount: true,\n\taspectRatio: true,\n\tborderImageOutset: true,\n\tborderImageSlice: true,\n\tborderImageWidth: true,\n\tcolumnCount: true,\n\tflex: true,\n\tflexGrow: true,\n\tflexOrder: true,\n\tflexPositive: true,\n\tflexShrink: true,\n\tflexNegative: true,\n\tfontWeight: true,\n\tgridRow: true,\n\tgridRowEnd: true,\n\tgridRowGap: true,\n\tgridRowStart: true,\n\tgridColumn: true,\n\tgridColumnEnd: true,\n\tgridColumnGap: true,\n\tgridColumnStart: true,\n\topacity: true,\n\torder: true,\n\torphans: true,\n\ttabSize: true,\n\twidows: true,\n\tzIndex: true,\n\tzoom: true,\n\tscale: true,\n\tscaleX: true,\n\tscaleY: true,\n\tscaleZ: true,\n\tshadowOpacity: true\n};\nvar stylePropsTransform = {\n\tx: true,\n\ty: true,\n\tscale: true,\n\tperspective: true,\n\tscaleX: true,\n\tscaleY: true,\n\tskewX: true,\n\tskewY: true,\n\tmatrix: true,\n\trotate: true,\n\trotateY: true,\n\trotateX: true,\n\trotateZ: true\n};\nvar stylePropsView = {\n\t...nonAnimatableViewProps,\n\tborderBottomWidth: true,\n\tborderLeftWidth: true,\n\tborderRightWidth: true,\n\tborderBlockWidth: true,\n\tborderBlockEndWidth: true,\n\tborderBlockStartWidth: true,\n\tborderInlineWidth: true,\n\tborderInlineEndWidth: true,\n\tborderInlineStartWidth: true,\n\tborderTopWidth: true,\n\tborderWidth: true,\n\ttransform: true,\n\ttransformOrigin: true,\n\tborderEndWidth: true,\n\tborderStartWidth: true,\n\tbottom: true,\n\tend: true,\n\tflexBasis: true,\n\tgap: true,\n\tcolumnGap: true,\n\trowGap: true,\n\tleft: true,\n\tmargin: true,\n\tmarginBlock: true,\n\tmarginBlockEnd: true,\n\tmarginBlockStart: true,\n\tmarginInline: true,\n\tmarginInlineStart: true,\n\tmarginInlineEnd: true,\n\tmarginBottom: true,\n\tmarginEnd: true,\n\tmarginHorizontal: true,\n\tmarginLeft: true,\n\tmarginRight: true,\n\tmarginStart: true,\n\tmarginTop: true,\n\tmarginVertical: true,\n\tpadding: true,\n\tpaddingBottom: true,\n\tpaddingInline: true,\n\tpaddingBlock: true,\n\tpaddingBlockEnd: true,\n\tpaddingBlockStart: true,\n\tpaddingInlineEnd: true,\n\tpaddingInlineStart: true,\n\tpaddingEnd: true,\n\tpaddingHorizontal: true,\n\tpaddingLeft: true,\n\tpaddingRight: true,\n\tpaddingStart: true,\n\tpaddingTop: true,\n\tpaddingVertical: true,\n\tright: true,\n\tstart: true,\n\ttop: true,\n\tinset: true,\n\tinsetBlock: true,\n\tinsetBlockEnd: true,\n\tinsetBlockStart: true,\n\tinsetInline: true,\n\tinsetInlineEnd: true,\n\tinsetInlineStart: true,\n\tshadowOffset: true,\n\tbackgroundColor: true,\n\tborderColor: true,\n\tborderBlockStartColor: true,\n\tborderBlockEndColor: true,\n\tborderBlockColor: true,\n\tborderBottomColor: true,\n\tborderInlineColor: true,\n\tborderInlineStartColor: true,\n\tborderInlineEndColor: true,\n\tborderTopColor: true,\n\tborderLeftColor: true,\n\tborderRightColor: true,\n\tborderEndColor: true,\n\tborderStartColor: true,\n\tshadowColor: true,\n\toutlineColor: true,\n\tborderRadius: true,\n\tborderTopLeftRadius: true,\n\tborderTopRightRadius: true,\n\tborderBottomLeftRadius: true,\n\tborderBottomRightRadius: true,\n\tborderTopStartRadius: true,\n\tborderTopEndRadius: true,\n\tborderBottomStartRadius: true,\n\tborderBottomEndRadius: true,\n\tborderStartStartRadius: true,\n\tborderStartEndRadius: true,\n\tborderEndStartRadius: true,\n\tborderEndEndRadius: true,\n\twidth: true,\n\theight: true,\n\tminWidth: true,\n\tminHeight: true,\n\tmaxWidth: true,\n\tmaxHeight: true,\n\tblockSize: true,\n\tminBlockSize: true,\n\tmaxBlockSize: true,\n\tinlineSize: true,\n\tminInlineSize: true,\n\tmaxInlineSize: true,\n\tshadowRadius: true,\n\t...stylePropsTransform,\n\t...stylePropsUnitless,\n\t...import_constants.isAndroid ? { elevationAndroid: true } : {},\n\tboxShadow: true,\n\tborder: true,\n\tborderBlock: true,\n\tborderInline: true,\n\tfilter: true,\n\tbackground: true,\n\tbackgroundImage: true,\n\texperimental_backgroundImage: true,\n\toutline: true,\n\toutlineOffset: true,\n\toutlineWidth: true\n};\nvar stylePropsTextOnly = {\n\t...nonAnimatableFontProps,\n\tfontSize: true,\n\tfontWeight: true,\n\tletterSpacing: true,\n\tlineHeight: true,\n\t...nonAnimatableTextOnlyProps,\n\t...textColors,\n\ttextShadow: true,\n\ttextShadowOffset: true,\n\ttextShadowRadius: true,\n\ttextDecoration: true,\n\tfont: true,\n\tverticalAlign: true\n};\nvar stylePropsText = {\n\t...stylePropsView,\n\t...stylePropsTextOnly\n};\nvar stylePropsAll = stylePropsText;\nvar validStyles = stylePropsView;\n//# sourceMappingURL=validStyleProps.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC/B,KAAK,IAAI,QAAQ,KAAK,UAAU,QAAQ,MAAM;EAC7C,KAAK,IAAI;EACT,YAAY;CACb,CAAC;AACF;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC7C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EACnE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GAAG,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QAAQ,UAAU,IAAI,KAAK;GAC9G,WAAW,KAAK;GAChB,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAC3D,CAAC;CACF;CACA,OAAO;AACR;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,0BAA0B,CAAC;AAC/B,SAAS,yBAAyB;CACjC,6BAA6B;CAC7B,+BAA+B;CAC/B,qBAAqB;CACrB,sBAAsB;CACtB,0BAA0B;CAC1B,2BAA2B;CAC3B,0BAA0B;CAC1B,sBAAsB;CACtB,uBAAuB,uBAAuB;CAC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