@tamagui/helpers 2.0.0-rc.3 → 2.0.0-rc.30
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/clamp.native.js.map +1 -1
- package/dist/cjs/composeEventHandlers.native.js.map +1 -1
- package/dist/cjs/index.js +17 -14
- package/dist/cjs/index.native.js +7 -7
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/shouldRenderNativePlatform.native.js.map +1 -1
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/validStyleProps.cjs +84 -39
- package/dist/cjs/validStyleProps.native.js +82 -39
- package/dist/cjs/validStyleProps.native.js.map +1 -1
- package/dist/cjs/webOnlyStyleProps.cjs +38 -30
- package/dist/cjs/webOnlyStyleProps.native.js +38 -30
- package/dist/cjs/webOnlyStyleProps.native.js.map +1 -1
- package/dist/cjs/withStaticProperties.native.js.map +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/index.js.map +1 -6
- package/dist/esm/validStyleProps.mjs +84 -41
- package/dist/esm/validStyleProps.mjs.map +1 -1
- package/dist/esm/validStyleProps.native.js +81 -41
- package/dist/esm/validStyleProps.native.js.map +1 -1
- package/dist/esm/webOnlyStyleProps.mjs +37 -31
- package/dist/esm/webOnlyStyleProps.mjs.map +1 -1
- package/dist/esm/webOnlyStyleProps.native.js +37 -31
- package/dist/esm/webOnlyStyleProps.native.js.map +1 -1
- package/package.json +7 -10
- package/src/validStyleProps.ts +104 -38
- package/src/webOnlyStyleProps.ts +40 -29
- package/types/validStyleProps.d.ts +337 -238
- package/types/validStyleProps.d.ts.map +1 -1
- package/types/webOnlyStyleProps.d.ts +60 -20
- package/types/webOnlyStyleProps.d.ts.map +1 -1
- package/dist/cjs/clamp.js +0 -23
- package/dist/cjs/clamp.js.map +0 -6
- package/dist/cjs/composeEventHandlers.js +0 -27
- package/dist/cjs/composeEventHandlers.js.map +0 -6
- package/dist/cjs/shouldRenderNativePlatform.js +0 -35
- package/dist/cjs/shouldRenderNativePlatform.js.map +0 -6
- package/dist/cjs/types.js +0 -25
- package/dist/cjs/types.js.map +0 -6
- package/dist/cjs/validStyleProps.js +0 -283
- package/dist/cjs/validStyleProps.js.map +0 -6
- package/dist/cjs/webOnlyStyleProps.js +0 -89
- package/dist/cjs/webOnlyStyleProps.js.map +0 -6
- package/dist/cjs/withStaticProperties.js +0 -21
- package/dist/cjs/withStaticProperties.js.map +0 -6
- package/dist/esm/clamp.js +0 -7
- package/dist/esm/clamp.js.map +0 -6
- package/dist/esm/composeEventHandlers.js +0 -11
- package/dist/esm/composeEventHandlers.js.map +0 -6
- package/dist/esm/shouldRenderNativePlatform.js +0 -19
- package/dist/esm/shouldRenderNativePlatform.js.map +0 -6
- package/dist/esm/types.js +0 -9
- package/dist/esm/types.js.map +0 -6
- package/dist/esm/validStyleProps.js +0 -268
- package/dist/esm/validStyleProps.js.map +0 -6
- package/dist/esm/webOnlyStyleProps.js +0 -73
- package/dist/esm/webOnlyStyleProps.js.map +0 -6
- package/dist/esm/withStaticProperties.js +0 -5
- package/dist/esm/withStaticProperties.js.map +0 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","clamp_exports","clamp","module","exports","param","min","max","Math"],"sources":["clamp.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: !0 });\n}, __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar clamp_exports = {};\n__export(clamp_exports, {\n clamp: () => clamp\n});\nmodule.exports = __toCommonJS(clamp_exports);\nfunction clamp(value, param) {\n var [min, max] = param;\n return Math.min(max, Math.max(min, value));\n}\n//# sourceMappingURL=clamp.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;MAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MAAEE,UAAU,EAAE,CAAC;IAAE,CAAC,CAAC;EAC/D,CAAC;EAAEC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;IAC3C,IAAIF,IAAI,IAAI,OAAOA,IAAI,IAAI,QAAQ,IAAI,OAAOA,IAAI,IAAI,UAAU,EAC9D,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,IAAInB,SAAS,CAACiB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAAA,KAAMI,IAAI,CAACG,GAAG,CAAC;MAAEN,UAAU,EAAE,EAAEK,IAAI,GAAGjB,gBAAgB,CAACe,IAAI,EAAEG,GAAG,CAAC,CAAC,IAAID,IAAI,CAACL;IAAW,CAAC,CAAC;IACvK,OAAOE,EAAE;EACX,CAAC;AACD,IAAIM,YAAY,GAAIC,GAAG,IAAKR,WAAW,CAAChB,SAAS,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE;EAAEyB,KAAK,EAAE,CAAC;AAAE,CAAC,CAAC,EAAED,GAAG,CAAC;AACxF,IAAIE,aAAa,GAAG,CAAC,CAAC;AACtBhB,QAAQ,CAACgB,aAAa,EAAE;EACtBC,KAAK,EAAEA,CAAA,KAAMA;AACf,CAAC,CAAC;AACFC,MAAM,CAACC,OAAO,GAAGN,YAAY,CAACG,aAAa,CAAC;AAC5C,SAASC,KAAKA,CAACF,KAAK,EAAEK,KAAK,EAAE;EAC3B,IAAI,CAACC,GAAG,EAAEC,GAAG,CAAC,GAAGF,KAAK;EACtB,OAAOG,IAAI,CAACF,GAAG,CAACC,GAAG,EAAEC,IAAI,CAACD,GAAG,CAACD,GAAG,EAAEN,KAAK,CAAC,CAAC;AAC5C","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","composeEventHandlers_exports","composeEventHandlers","module","exports","_type_of","obj","Symbol","constructor","og","next","checkDefaultPrevented","arguments","length","event","defaultPrevented"],"sources":["composeEventHandlers.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: !0 });\n}, __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar composeEventHandlers_exports = {};\n__export(composeEventHandlers_exports, {\n composeEventHandlers: () => composeEventHandlers\n});\nmodule.exports = __toCommonJS(composeEventHandlers_exports);\nfunction _type_of(obj) {\n \"@swc/helpers - typeof\";\n return obj && typeof Symbol < \"u\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n}\nfunction composeEventHandlers(og, next) {\n var { checkDefaultPrevented = !0 } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};\n return !og || !next ? next || og || void 0 : function(event) {\n if (og?.(event), !event || !(checkDefaultPrevented && (typeof event > \"u\" ? \"undefined\" : _type_of(event)) === \"object\" && \"defaultPrevented\" in event) || // @ts-ignore\n \"defaultPrevented\" in event && !event.defaultPrevented)\n return next?.(event);\n };\n}\n//# sourceMappingURL=composeEventHandlers.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;MAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MAAEE,UAAU,EAAE,CAAC;IAAE,CA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S,CAACC,MAAM,GAAG,CAAC,IAAID,SAAS,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,GAAGA,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;EACxG,OAAO,CAACH,EAAE,IAAI,CAACC,IAAI,GAAGA,IAAI,IAAID,EAAE,IAAI,KAAK,CAAC,GAAG,UAASK,KAAK,EAAE;IAC3D,IAAIL,EAAE,GAAGK,KAAK,CAAC,EAAE,CAACA,KAAK,IAAI,EAAEH,qBAAqB,IAAI,CAAC,OAAOG,KAAK,GAAG,GAAG,GAAG,WAAW,GAAGT,QAAQ,CAACS,KAAK,CAAC,MAAM,QAAQ,IAAI,kBAAkB,IAAIA,KAAK,CAAC;IAAI;IAC3J,kBAAkB,IAAIA,KAAK,IAAI,CAACA,KAAK,CAACC,gBAAgB,EACpD,OAAOL,IAAI,GAAGI,KAAK,CAAC;EACxB,CAAC;AACH","ignoreList":[]}
|
package/dist/cjs/index.js
CHANGED
|
@@ -3,20 +3,23 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
7
|
+
get: () => from[key],
|
|
8
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
|
+
});
|
|
10
|
+
return to;
|
|
11
|
+
},
|
|
12
|
+
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
13
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
14
|
+
value: !0
|
|
15
|
+
}), mod);
|
|
12
16
|
var index_exports = {};
|
|
13
17
|
module.exports = __toCommonJS(index_exports);
|
|
14
18
|
__reExport(index_exports, require("@tamagui/simple-hash"), module.exports);
|
|
15
|
-
__reExport(index_exports, require("./clamp"), module.exports);
|
|
16
|
-
__reExport(index_exports, require("./composeEventHandlers"), module.exports);
|
|
17
|
-
__reExport(index_exports, require("./types"), module.exports);
|
|
18
|
-
__reExport(index_exports, require("./shouldRenderNativePlatform"), module.exports);
|
|
19
|
-
__reExport(index_exports, require("./validStyleProps"), module.exports);
|
|
20
|
-
__reExport(index_exports, require("./withStaticProperties"), module.exports);
|
|
21
|
-
__reExport(index_exports, require("./webOnlyStyleProps"), module.exports);
|
|
22
|
-
//# sourceMappingURL=index.js.map
|
|
19
|
+
__reExport(index_exports, require("./clamp.cjs"), module.exports);
|
|
20
|
+
__reExport(index_exports, require("./composeEventHandlers.cjs"), module.exports);
|
|
21
|
+
__reExport(index_exports, require("./types.cjs"), module.exports);
|
|
22
|
+
__reExport(index_exports, require("./shouldRenderNativePlatform.cjs"), module.exports);
|
|
23
|
+
__reExport(index_exports, require("./validStyleProps.cjs"), module.exports);
|
|
24
|
+
__reExport(index_exports, require("./withStaticProperties.cjs"), module.exports);
|
|
25
|
+
__reExport(index_exports, require("./webOnlyStyleProps.cjs"), module.exports);
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -18,11 +18,11 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
|
18
18
|
var index_exports = {};
|
|
19
19
|
module.exports = __toCommonJS(index_exports);
|
|
20
20
|
__reExport(index_exports, require("@tamagui/simple-hash"), module.exports);
|
|
21
|
-
__reExport(index_exports, require("./clamp
|
|
22
|
-
__reExport(index_exports, require("./composeEventHandlers
|
|
23
|
-
__reExport(index_exports, require("./types
|
|
24
|
-
__reExport(index_exports, require("./shouldRenderNativePlatform
|
|
25
|
-
__reExport(index_exports, require("./validStyleProps
|
|
26
|
-
__reExport(index_exports, require("./withStaticProperties
|
|
27
|
-
__reExport(index_exports, require("./webOnlyStyleProps
|
|
21
|
+
__reExport(index_exports, require("./clamp"), module.exports);
|
|
22
|
+
__reExport(index_exports, require("./composeEventHandlers"), module.exports);
|
|
23
|
+
__reExport(index_exports, require("./types"), module.exports);
|
|
24
|
+
__reExport(index_exports, require("./shouldRenderNativePlatform"), module.exports);
|
|
25
|
+
__reExport(index_exports, require("./validStyleProps"), module.exports);
|
|
26
|
+
__reExport(index_exports, require("./withStaticProperties"), module.exports);
|
|
27
|
+
__reExport(index_exports, require("./webOnlyStyleProps"), module.exports);
|
|
28
28
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__copyProps","to","from","except","desc","key","call","get","enumerable","__reExport","target","mod","secondTarget","__toCommonJS","value","index_exports","module","exports","require"],"sources":["index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"@tamagui/simple-hash\"), module.exports);\n__reExport(index_exports, require(\"./clamp\"), module.exports);\n__reExport(index_exports, require(\"./composeEventHandlers\"), module.exports);\n__reExport(index_exports, require(\"./types\"), module.exports);\n__reExport(index_exports, require(\"./shouldRenderNativePlatform\"), module.exports);\n__reExport(index_exports, require(\"./validStyleProps\"), module.exports);\n__reExport(index_exports, require(\"./withStaticProperties\"), module.exports);\n__reExport(index_exports, require(\"./webOnlyStyleProps\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;IAC5C,IAAIF,IAAI,IAAI,OAAOA,IAAI,IAAI,QAAQ,IAAI,OAAOA,IAAI,IAAI,UAAU,EAC9D,KAAK,IAAIG,GAAG,IAAIV,iBAAiB,CAACO,IAAI,CAAC,EACrC,CAACL,YAAY,CAACS,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,IAAIb,SAAS,CAACW,EAAE,EAAEI,GAAG,EAAE;MAAEE,GAAG,EAAEA,CAAA,KAAML,IAAI,CAACG,GAAG,CAAC;MAAEG,UAAU,EAAE,EAAEJ,IAAI,GAAGX,gBAAgB,CAACS,IAAI,EAAEG,GAAG,CAAC,CAAC,IAAID,IAAI,CAACI;IAAW,CAAC,CAAC;IACvK,OAAOP,EAAE;EACX,CAAC;EAAEQ,UAAU,GAAGA,CAACC,MAAM,EAAEC,GAAG,EAAEC,YAAY,MAAMZ,WAAW,CAACU,MAAM,EAAEC,GAAG,EAAE,SAAS,CAAC,EAAEC,YAAY,IAAIZ,WAAW,CAACY,YAAY,EAAED,GAAG,EAAE,SAAS,CAAC,CAAC;AAC/I,IAAIE,YAAY,GAAIF,GAAG,IAAKX,WAAW,CAACV,SAAS,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE;EAAEwB,KAAK,EAAE,CAAC;AAAE,CAAC,CAAC,EAAEH,GAAG,CAAC;AACxF,IAAII,aAAa,GAAG,CAAC,CAAC;AACtBC,MAAM,CAACC,OAAO,GAAGJ,YAAY,CAACE,aAAa,CAAC;AAC5CN,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,sBAAsB,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AAC1ER,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,SAAS,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AAC7DR,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,wBAAwB,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AAC5ER,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,SAAS,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AAC7DR,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,8BAA8B,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AAClFR,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,mBAAmB,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AACvER,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,wBAAwB,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC;AAC5ER,UAAU,CAACM,aAAa,EAAEG,OAAO,CAAC,qBAAqB,CAAC,EAAEF,MAAM,CAACC,OAAO,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","shouldRenderNativePlatform_exports","shouldRenderNativePlatform","module","exports","import_constants","require","ALL_PLATFORMS","nativeProp","userRequestedPlatforms","resolvePlatformNames","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","Symbol","iterator","_step","next","done","platform","currentPlatform","has","err","return","platforms","Array","isArray","set","Set","add","delete"],"sources":["shouldRenderNativePlatform.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: !0 });\n}, __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar shouldRenderNativePlatform_exports = {};\n__export(shouldRenderNativePlatform_exports, {\n shouldRenderNativePlatform: () => shouldRenderNativePlatform\n});\nmodule.exports = __toCommonJS(shouldRenderNativePlatform_exports);\nvar import_constants = require(\"@tamagui/constants\"), ALL_PLATFORMS = [\n \"web\",\n \"android\",\n \"ios\"\n];\nfunction shouldRenderNativePlatform(nativeProp) {\n if (!nativeProp)\n return null;\n var userRequestedPlatforms = resolvePlatformNames(nativeProp), _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;\n try {\n for (var _iterator = ALL_PLATFORMS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {\n var platform = _step.value;\n if (platform === import_constants.currentPlatform && userRequestedPlatforms.has(platform))\n return platform;\n }\n } catch (err) {\n _didIteratorError = !0, _iteratorError = err;\n } finally {\n try {\n !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();\n } finally {\n if (_didIteratorError)\n throw _iteratorError;\n }\n }\n return null;\n}\nfunction resolvePlatformNames(nativeProp) {\n var platforms = nativeProp === !0 ? (\n // all native platforms\n ALL_PLATFORMS\n ) : nativeProp === !1 ? (\n // no native platform\n []\n ) : Array.isArray(nativeProp) ? nativeProp : [\n nativeProp\n ], set = new Set(platforms);\n return set.has(\"mobile\") && (set.add(\"android\"), set.add(\"ios\"), set.delete(\"mobile\")), set;\n}\n//# sourceMappingURL=shouldRenderNativePlatform.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;MAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MAAEE,UAAU,EAAE,CAAC;IAAE,CAAC,CAAC;EAC/D,CAAC;EAAEC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;IAC3C,IAAIF,IAAI,IAAI,OAAOA,IAAI,IAAI,QAAQ,IAAI,OAAOA,IAAI,IAAI,UAAU,EAC9D,KAAK,IAAIG,GAAG,IAAIhB,iBAAiB,CAACa,IAAI,CAAC,EACrC,CAACX,YAAY,CAACe,IAAI,CAACL,EAAE,EAAEI,GAAG,CAAC,IAAIA,GAAG,KAAKF,MAAM,IAAInB,SAAS,CAACiB,EAAE,EAAEI,GAAG,EAAE;MAAEP,GAAG,EAAEA,CAAA,KA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B,CAACa,GAAG,CAACF,QAAQ,CAAC,EACvF,OAAOA,QAAQ;IACnB;EACF,CAAC,CAAC,OAAOG,GAAG,EAAE;IACZX,iBAAiB,GAAG,CAAC,CAAC,EAAEC,cAAc,GAAGU,GAAG;EAC9C,CAAC,SAAS;IACR,IAAI;MACF,CAACZ,yBAAyB,IAAIG,SAAS,CAACU,MAAM,IAAI,IAAI,IAAIV,SAAS,CAACU,MAAM,CAAC,CAAC;IAC9E,CAAC,SAAS;MACR,IAAIZ,iBAAiB,EACnB,MAAMC,cAAc;IACxB;EACF;EACA,OAAO,IAAI;AACb;AACA,SAASH,oBAAoBA,CAACF,UAAU,EAAE;EACxC,IAAIiB,SAAS,GAAGjB,UAAU,KAAK,CAAC,CAAC;IAC/B;IACAD,aAAa,GACXC,UAAU,KAAK,CAAC,CAAC;IACnB;IACA,EAAE,GACAkB,KAAK,CAACC,OAAO,CAACnB,UAAU,CAAC,GAAGA,UAAU,GAAG,CAC3CA,UAAU,CACX;IAAEoB,GAAG,GAAG,IAAIC,GAAG,CAACJ,SAAS,CAAC;EAC3B,OAAOG,GAAG,CAACN,GAAG,CAAC,QAAQ,CAAC,KAAKM,GAAG,CAACE,GAAG,CAAC,SAAS,CAAC,EAAEF,GAAG,CAACE,GAAG,CAAC,KAAK,CAAC,EAAEF,GAAG,CAACG,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAEH,GAAG;AAC7F","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","types_exports","StyleObjectIdentifier","StyleObjectProperty","StyleObjectPseudo","StyleObjectRules","StyleObjectValue","module","exports"],"sources":["types.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: !0 });\n}, __copyProps = (to, from, except, desc) => {\n if (from && typeof from == \"object\" || typeof from == \"function\")\n for (let key of __getOwnPropNames(from))\n !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: !0 }), mod);\nvar types_exports = {};\n__export(types_exports, {\n StyleObjectIdentifier: () => StyleObjectIdentifier,\n StyleObjectProperty: () => StyleObjectProperty,\n StyleObjectPseudo: () => StyleObjectPseudo,\n StyleObjectRules: () => StyleObjectRules,\n StyleObjectValue: () => StyleObjectValue\n});\nmodule.exports = __toCommonJS(types_exports);\nvar StyleObjectProperty = 0, StyleObjectValue = 1, StyleObjectIdentifier = 2, StyleObjectPseudo = 3, StyleObjectRules = 4;\n//# sourceMappingURL=types.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;MAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MAAEE,UAAU,EAAE,CAAC;IAAE,CAAC,CAAC;EAC/D,CAAC;EAAEC,WAAW,GAAGA,CAACC,EAA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20,8 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
|
20
20
|
}), mod);
|
|
21
21
|
var validStyleProps_exports = {};
|
|
22
22
|
__export(validStyleProps_exports, {
|
|
23
|
+
cssShorthandLonghands: () => cssShorthandLonghands,
|
|
24
|
+
nonAnimatableStyleProps: () => nonAnimatableStyleProps,
|
|
23
25
|
stylePropsAll: () => stylePropsAll,
|
|
24
26
|
stylePropsText: () => stylePropsText,
|
|
25
27
|
stylePropsTextOnly: () => stylePropsTextOnly,
|
|
@@ -33,7 +35,30 @@ __export(validStyleProps_exports, {
|
|
|
33
35
|
module.exports = __toCommonJS(validStyleProps_exports);
|
|
34
36
|
var import_constants = require("@tamagui/constants"),
|
|
35
37
|
import_webOnlyStyleProps = require("./webOnlyStyleProps.cjs");
|
|
36
|
-
const
|
|
38
|
+
const cssShorthandLonghands = {
|
|
39
|
+
// border longhands
|
|
40
|
+
borderWidth: !0,
|
|
41
|
+
borderStyle: !0,
|
|
42
|
+
borderColor: !0,
|
|
43
|
+
borderTopWidth: !0,
|
|
44
|
+
borderTopStyle: !0,
|
|
45
|
+
borderTopColor: !0,
|
|
46
|
+
borderRightWidth: !0,
|
|
47
|
+
borderRightStyle: !0,
|
|
48
|
+
borderRightColor: !0,
|
|
49
|
+
borderBottomWidth: !0,
|
|
50
|
+
borderBottomStyle: !0,
|
|
51
|
+
borderBottomColor: !0,
|
|
52
|
+
borderLeftWidth: !0,
|
|
53
|
+
borderLeftStyle: !0,
|
|
54
|
+
borderLeftColor: !0,
|
|
55
|
+
// outline longhands
|
|
56
|
+
outlineWidth: !0,
|
|
57
|
+
outlineStyle: !0,
|
|
58
|
+
outlineColor: !0,
|
|
59
|
+
outlineOffset: !0
|
|
60
|
+
},
|
|
61
|
+
textColors = {
|
|
37
62
|
color: !0,
|
|
38
63
|
textDecorationColor: !0,
|
|
39
64
|
textShadowColor: !0
|
|
@@ -90,8 +115,60 @@ const textColors = {
|
|
|
90
115
|
caretColor: !0
|
|
91
116
|
}
|
|
92
117
|
},
|
|
93
|
-
|
|
118
|
+
nonAnimatableViewProps = {
|
|
119
|
+
alignContent: !0,
|
|
120
|
+
alignItems: !0,
|
|
121
|
+
alignSelf: !0,
|
|
122
|
+
backfaceVisibility: !0,
|
|
123
|
+
borderCurve: !0,
|
|
124
|
+
borderStyle: !0,
|
|
125
|
+
borderBlockStyle: !0,
|
|
126
|
+
borderBlockEndStyle: !0,
|
|
127
|
+
borderBlockStartStyle: !0,
|
|
128
|
+
borderInlineStyle: !0,
|
|
129
|
+
borderInlineEndStyle: !0,
|
|
130
|
+
borderInlineStartStyle: !0,
|
|
131
|
+
boxSizing: !0,
|
|
132
|
+
cursor: !0,
|
|
133
|
+
direction: !0,
|
|
134
|
+
display: !0,
|
|
135
|
+
flexDirection: !0,
|
|
136
|
+
flexWrap: !0,
|
|
137
|
+
isolation: !0,
|
|
138
|
+
justifyContent: !0,
|
|
139
|
+
mixBlendMode: !0,
|
|
140
|
+
outlineStyle: !0,
|
|
141
|
+
overflow: !0,
|
|
142
|
+
position: !0
|
|
143
|
+
},
|
|
144
|
+
nonAnimatableFontProps = {
|
|
145
|
+
fontFamily: !0,
|
|
146
|
+
fontStyle: !0,
|
|
147
|
+
fontVariant: !0,
|
|
148
|
+
textTransform: !0
|
|
149
|
+
},
|
|
150
|
+
nonAnimatableTextOnlyProps = {
|
|
151
|
+
textAlign: !0,
|
|
152
|
+
textDecorationLine: !0,
|
|
153
|
+
textDecorationStyle: !0,
|
|
154
|
+
userSelect: !0
|
|
155
|
+
},
|
|
156
|
+
nonAnimatableUnitlessProps = {
|
|
94
157
|
WebkitLineClamp: !0,
|
|
158
|
+
lineClamp: !0,
|
|
159
|
+
gridTemplateColumns: !0,
|
|
160
|
+
gridTemplateAreas: !0
|
|
161
|
+
},
|
|
162
|
+
nonAnimatableStyleProps = {
|
|
163
|
+
...nonAnimatableViewProps,
|
|
164
|
+
...nonAnimatableFontProps,
|
|
165
|
+
...nonAnimatableTextOnlyProps,
|
|
166
|
+
...nonAnimatableUnitlessProps,
|
|
167
|
+
...import_webOnlyStyleProps.nonAnimatableWebViewProps,
|
|
168
|
+
...import_webOnlyStyleProps.nonAnimatableWebTextProps
|
|
169
|
+
},
|
|
170
|
+
stylePropsUnitless = {
|
|
171
|
+
...nonAnimatableUnitlessProps,
|
|
95
172
|
animationIterationCount: !0,
|
|
96
173
|
aspectRatio: !0,
|
|
97
174
|
borderImageOutset: !0,
|
|
@@ -113,9 +190,6 @@ const textColors = {
|
|
|
113
190
|
gridColumnEnd: !0,
|
|
114
191
|
gridColumnGap: !0,
|
|
115
192
|
gridColumnStart: !0,
|
|
116
|
-
gridTemplateColumns: !0,
|
|
117
|
-
gridTemplateAreas: !0,
|
|
118
|
-
lineClamp: !0,
|
|
119
193
|
opacity: !0,
|
|
120
194
|
order: !0,
|
|
121
195
|
orphans: !0,
|
|
@@ -145,9 +219,7 @@ const textColors = {
|
|
|
145
219
|
rotateZ: !0
|
|
146
220
|
},
|
|
147
221
|
stylePropsView = {
|
|
148
|
-
|
|
149
|
-
borderCurve: !0,
|
|
150
|
-
cursor: !0,
|
|
222
|
+
...nonAnimatableViewProps,
|
|
151
223
|
borderBottomEndRadius: !0,
|
|
152
224
|
borderBottomStartRadius: !0,
|
|
153
225
|
borderBottomWidth: !0,
|
|
@@ -159,34 +231,20 @@ const textColors = {
|
|
|
159
231
|
borderInlineWidth: !0,
|
|
160
232
|
borderInlineEndWidth: !0,
|
|
161
233
|
borderInlineStartWidth: !0,
|
|
162
|
-
borderStyle: !0,
|
|
163
|
-
borderBlockStyle: !0,
|
|
164
|
-
borderBlockEndStyle: !0,
|
|
165
|
-
borderBlockStartStyle: !0,
|
|
166
|
-
borderInlineStyle: !0,
|
|
167
|
-
borderInlineEndStyle: !0,
|
|
168
|
-
borderInlineStartStyle: !0,
|
|
169
234
|
borderTopEndRadius: !0,
|
|
170
235
|
borderTopStartRadius: !0,
|
|
171
236
|
borderTopWidth: !0,
|
|
172
237
|
borderWidth: !0,
|
|
173
238
|
transform: !0,
|
|
174
239
|
transformOrigin: !0,
|
|
175
|
-
alignContent: !0,
|
|
176
|
-
alignItems: !0,
|
|
177
|
-
alignSelf: !0,
|
|
178
240
|
borderEndWidth: !0,
|
|
179
241
|
borderStartWidth: !0,
|
|
180
242
|
bottom: !0,
|
|
181
|
-
display: !0,
|
|
182
243
|
end: !0,
|
|
183
244
|
flexBasis: !0,
|
|
184
|
-
flexDirection: !0,
|
|
185
|
-
flexWrap: !0,
|
|
186
245
|
gap: !0,
|
|
187
246
|
columnGap: !0,
|
|
188
247
|
rowGap: !0,
|
|
189
|
-
justifyContent: !0,
|
|
190
248
|
left: !0,
|
|
191
249
|
margin: !0,
|
|
192
250
|
marginBlock: !0,
|
|
@@ -203,7 +261,6 @@ const textColors = {
|
|
|
203
261
|
marginStart: !0,
|
|
204
262
|
marginTop: !0,
|
|
205
263
|
marginVertical: !0,
|
|
206
|
-
overflow: !0,
|
|
207
264
|
padding: !0,
|
|
208
265
|
paddingBottom: !0,
|
|
209
266
|
paddingInline: !0,
|
|
@@ -218,7 +275,6 @@ const textColors = {
|
|
|
218
275
|
paddingStart: !0,
|
|
219
276
|
paddingTop: !0,
|
|
220
277
|
paddingVertical: !0,
|
|
221
|
-
position: !0,
|
|
222
278
|
right: !0,
|
|
223
279
|
start: !0,
|
|
224
280
|
top: !0,
|
|
@@ -229,13 +285,11 @@ const textColors = {
|
|
|
229
285
|
insetInline: !0,
|
|
230
286
|
insetInlineEnd: !0,
|
|
231
287
|
insetInlineStart: !0,
|
|
232
|
-
direction: !0,
|
|
233
288
|
shadowOffset: !0,
|
|
234
289
|
shadowRadius: !0,
|
|
235
290
|
...tokenCategories.color,
|
|
236
291
|
...tokenCategories.radius,
|
|
237
292
|
...tokenCategories.size,
|
|
238
|
-
...tokenCategories.radius,
|
|
239
293
|
...stylePropsTransform,
|
|
240
294
|
...stylePropsUnitless,
|
|
241
295
|
...(import_constants.isAndroid ? {
|
|
@@ -249,36 +303,27 @@ const textColors = {
|
|
|
249
303
|
// the actual RN 0.76+ prop name (backgroundImage expands to this on native)
|
|
250
304
|
experimental_backgroundImage: !0,
|
|
251
305
|
// RN 0.76/0.77+ style props (New Architecture)
|
|
252
|
-
|
|
253
|
-
mixBlendMode: !0,
|
|
254
|
-
isolation: !0,
|
|
306
|
+
outline: !0,
|
|
255
307
|
outlineColor: !0,
|
|
256
308
|
outlineOffset: !0,
|
|
257
|
-
outlineStyle: !0,
|
|
258
309
|
outlineWidth: !0,
|
|
259
310
|
// web-only for convenience - tree-shaken on native
|
|
260
311
|
...import_webOnlyStyleProps.webOnlyStylePropsView
|
|
261
312
|
},
|
|
262
313
|
stylePropsFont = {
|
|
263
|
-
|
|
314
|
+
...nonAnimatableFontProps,
|
|
264
315
|
fontSize: !0,
|
|
265
|
-
fontStyle: !0,
|
|
266
316
|
fontWeight: !0,
|
|
267
|
-
fontVariant: !0,
|
|
268
317
|
letterSpacing: !0,
|
|
269
|
-
lineHeight: !0
|
|
270
|
-
textTransform: !0
|
|
318
|
+
lineHeight: !0
|
|
271
319
|
},
|
|
272
320
|
stylePropsTextOnly = {
|
|
273
321
|
...stylePropsFont,
|
|
274
|
-
|
|
275
|
-
textDecorationLine: !0,
|
|
276
|
-
textDecorationStyle: !0,
|
|
322
|
+
...nonAnimatableTextOnlyProps,
|
|
277
323
|
...textColors,
|
|
278
324
|
textShadow: !0,
|
|
279
325
|
textShadowOffset: !0,
|
|
280
326
|
textShadowRadius: !0,
|
|
281
|
-
userSelect: !0,
|
|
282
327
|
verticalAlign: !0,
|
|
283
328
|
// web-only text props - tree-shaken on native
|
|
284
329
|
...import_webOnlyStyleProps.webOnlyStylePropsText
|
|
@@ -22,6 +22,8 @@ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
|
22
22
|
}), mod);
|
|
23
23
|
var validStyleProps_exports = {};
|
|
24
24
|
__export(validStyleProps_exports, {
|
|
25
|
+
cssShorthandLonghands: () => cssShorthandLonghands,
|
|
26
|
+
nonAnimatableStyleProps: () => nonAnimatableStyleProps,
|
|
25
27
|
stylePropsAll: () => stylePropsAll,
|
|
26
28
|
stylePropsText: () => stylePropsText,
|
|
27
29
|
stylePropsTextOnly: () => stylePropsTextOnly,
|
|
@@ -34,7 +36,30 @@ __export(validStyleProps_exports, {
|
|
|
34
36
|
});
|
|
35
37
|
module.exports = __toCommonJS(validStyleProps_exports);
|
|
36
38
|
var import_constants = require("@tamagui/constants"),
|
|
37
|
-
import_webOnlyStyleProps = require("./webOnlyStyleProps
|
|
39
|
+
import_webOnlyStyleProps = require("./webOnlyStyleProps"),
|
|
40
|
+
cssShorthandLonghands = {
|
|
41
|
+
// border longhands
|
|
42
|
+
borderWidth: !0,
|
|
43
|
+
borderStyle: !0,
|
|
44
|
+
borderColor: !0,
|
|
45
|
+
borderTopWidth: !0,
|
|
46
|
+
borderTopStyle: !0,
|
|
47
|
+
borderTopColor: !0,
|
|
48
|
+
borderRightWidth: !0,
|
|
49
|
+
borderRightStyle: !0,
|
|
50
|
+
borderRightColor: !0,
|
|
51
|
+
borderBottomWidth: !0,
|
|
52
|
+
borderBottomStyle: !0,
|
|
53
|
+
borderBottomColor: !0,
|
|
54
|
+
borderLeftWidth: !0,
|
|
55
|
+
borderLeftStyle: !0,
|
|
56
|
+
borderLeftColor: !0,
|
|
57
|
+
// outline longhands
|
|
58
|
+
outlineWidth: !0,
|
|
59
|
+
outlineStyle: !0,
|
|
60
|
+
outlineColor: !0,
|
|
61
|
+
outlineOffset: !0
|
|
62
|
+
},
|
|
38
63
|
textColors = {
|
|
39
64
|
color: !0,
|
|
40
65
|
textDecorationColor: !0,
|
|
@@ -91,8 +116,58 @@ var import_constants = require("@tamagui/constants"),
|
|
|
91
116
|
outlineColor: !0
|
|
92
117
|
}
|
|
93
118
|
},
|
|
94
|
-
|
|
119
|
+
nonAnimatableViewProps = {
|
|
120
|
+
alignContent: !0,
|
|
121
|
+
alignItems: !0,
|
|
122
|
+
alignSelf: !0,
|
|
123
|
+
backfaceVisibility: !0,
|
|
124
|
+
borderCurve: !0,
|
|
125
|
+
borderStyle: !0,
|
|
126
|
+
borderBlockStyle: !0,
|
|
127
|
+
borderBlockEndStyle: !0,
|
|
128
|
+
borderBlockStartStyle: !0,
|
|
129
|
+
borderInlineStyle: !0,
|
|
130
|
+
borderInlineEndStyle: !0,
|
|
131
|
+
borderInlineStartStyle: !0,
|
|
132
|
+
boxSizing: !0,
|
|
133
|
+
cursor: !0,
|
|
134
|
+
direction: !0,
|
|
135
|
+
display: !0,
|
|
136
|
+
flexDirection: !0,
|
|
137
|
+
flexWrap: !0,
|
|
138
|
+
isolation: !0,
|
|
139
|
+
justifyContent: !0,
|
|
140
|
+
mixBlendMode: !0,
|
|
141
|
+
outlineStyle: !0,
|
|
142
|
+
overflow: !0,
|
|
143
|
+
position: !0
|
|
144
|
+
},
|
|
145
|
+
nonAnimatableFontProps = {
|
|
146
|
+
fontFamily: !0,
|
|
147
|
+
fontStyle: !0,
|
|
148
|
+
fontVariant: !0,
|
|
149
|
+
textTransform: !0
|
|
150
|
+
},
|
|
151
|
+
nonAnimatableTextOnlyProps = {
|
|
152
|
+
textAlign: !0,
|
|
153
|
+
textDecorationLine: !0,
|
|
154
|
+
textDecorationStyle: !0,
|
|
155
|
+
userSelect: !0
|
|
156
|
+
},
|
|
157
|
+
nonAnimatableUnitlessProps = {
|
|
95
158
|
WebkitLineClamp: !0,
|
|
159
|
+
lineClamp: !0,
|
|
160
|
+
gridTemplateColumns: !0,
|
|
161
|
+
gridTemplateAreas: !0
|
|
162
|
+
},
|
|
163
|
+
nonAnimatableStyleProps = {
|
|
164
|
+
...nonAnimatableViewProps,
|
|
165
|
+
...nonAnimatableFontProps,
|
|
166
|
+
...nonAnimatableTextOnlyProps,
|
|
167
|
+
...nonAnimatableUnitlessProps
|
|
168
|
+
},
|
|
169
|
+
stylePropsUnitless = {
|
|
170
|
+
...nonAnimatableUnitlessProps,
|
|
96
171
|
animationIterationCount: !0,
|
|
97
172
|
aspectRatio: !0,
|
|
98
173
|
borderImageOutset: !0,
|
|
@@ -114,9 +189,6 @@ var import_constants = require("@tamagui/constants"),
|
|
|
114
189
|
gridColumnEnd: !0,
|
|
115
190
|
gridColumnGap: !0,
|
|
116
191
|
gridColumnStart: !0,
|
|
117
|
-
gridTemplateColumns: !0,
|
|
118
|
-
gridTemplateAreas: !0,
|
|
119
|
-
lineClamp: !0,
|
|
120
192
|
opacity: !0,
|
|
121
193
|
order: !0,
|
|
122
194
|
orphans: !0,
|
|
@@ -146,9 +218,7 @@ var import_constants = require("@tamagui/constants"),
|
|
|
146
218
|
rotateZ: !0
|
|
147
219
|
},
|
|
148
220
|
stylePropsView = {
|
|
149
|
-
|
|
150
|
-
borderCurve: !0,
|
|
151
|
-
cursor: !0,
|
|
221
|
+
...nonAnimatableViewProps,
|
|
152
222
|
borderBottomEndRadius: !0,
|
|
153
223
|
borderBottomStartRadius: !0,
|
|
154
224
|
borderBottomWidth: !0,
|
|
@@ -160,34 +230,20 @@ var import_constants = require("@tamagui/constants"),
|
|
|
160
230
|
borderInlineWidth: !0,
|
|
161
231
|
borderInlineEndWidth: !0,
|
|
162
232
|
borderInlineStartWidth: !0,
|
|
163
|
-
borderStyle: !0,
|
|
164
|
-
borderBlockStyle: !0,
|
|
165
|
-
borderBlockEndStyle: !0,
|
|
166
|
-
borderBlockStartStyle: !0,
|
|
167
|
-
borderInlineStyle: !0,
|
|
168
|
-
borderInlineEndStyle: !0,
|
|
169
|
-
borderInlineStartStyle: !0,
|
|
170
233
|
borderTopEndRadius: !0,
|
|
171
234
|
borderTopStartRadius: !0,
|
|
172
235
|
borderTopWidth: !0,
|
|
173
236
|
borderWidth: !0,
|
|
174
237
|
transform: !0,
|
|
175
238
|
transformOrigin: !0,
|
|
176
|
-
alignContent: !0,
|
|
177
|
-
alignItems: !0,
|
|
178
|
-
alignSelf: !0,
|
|
179
239
|
borderEndWidth: !0,
|
|
180
240
|
borderStartWidth: !0,
|
|
181
241
|
bottom: !0,
|
|
182
|
-
display: !0,
|
|
183
242
|
end: !0,
|
|
184
243
|
flexBasis: !0,
|
|
185
|
-
flexDirection: !0,
|
|
186
|
-
flexWrap: !0,
|
|
187
244
|
gap: !0,
|
|
188
245
|
columnGap: !0,
|
|
189
246
|
rowGap: !0,
|
|
190
|
-
justifyContent: !0,
|
|
191
247
|
left: !0,
|
|
192
248
|
margin: !0,
|
|
193
249
|
marginBlock: !0,
|
|
@@ -204,7 +260,6 @@ var import_constants = require("@tamagui/constants"),
|
|
|
204
260
|
marginStart: !0,
|
|
205
261
|
marginTop: !0,
|
|
206
262
|
marginVertical: !0,
|
|
207
|
-
overflow: !0,
|
|
208
263
|
padding: !0,
|
|
209
264
|
paddingBottom: !0,
|
|
210
265
|
paddingInline: !0,
|
|
@@ -219,7 +274,6 @@ var import_constants = require("@tamagui/constants"),
|
|
|
219
274
|
paddingStart: !0,
|
|
220
275
|
paddingTop: !0,
|
|
221
276
|
paddingVertical: !0,
|
|
222
|
-
position: !0,
|
|
223
277
|
right: !0,
|
|
224
278
|
start: !0,
|
|
225
279
|
top: !0,
|
|
@@ -230,13 +284,11 @@ var import_constants = require("@tamagui/constants"),
|
|
|
230
284
|
insetInline: !0,
|
|
231
285
|
insetInlineEnd: !0,
|
|
232
286
|
insetInlineStart: !0,
|
|
233
|
-
direction: !0,
|
|
234
287
|
shadowOffset: !0,
|
|
235
288
|
shadowRadius: !0,
|
|
236
289
|
...tokenCategories.color,
|
|
237
290
|
...tokenCategories.radius,
|
|
238
291
|
...tokenCategories.size,
|
|
239
|
-
...tokenCategories.radius,
|
|
240
292
|
...stylePropsTransform,
|
|
241
293
|
...stylePropsUnitless,
|
|
242
294
|
...(import_constants.isAndroid ? {
|
|
@@ -250,34 +302,25 @@ var import_constants = require("@tamagui/constants"),
|
|
|
250
302
|
// the actual RN 0.76+ prop name (backgroundImage expands to this on native)
|
|
251
303
|
experimental_backgroundImage: !0,
|
|
252
304
|
// RN 0.76/0.77+ style props (New Architecture)
|
|
253
|
-
|
|
254
|
-
mixBlendMode: !0,
|
|
255
|
-
isolation: !0,
|
|
305
|
+
outline: !0,
|
|
256
306
|
outlineColor: !0,
|
|
257
307
|
outlineOffset: !0,
|
|
258
|
-
outlineStyle: !0,
|
|
259
308
|
outlineWidth: !0
|
|
260
309
|
},
|
|
261
310
|
stylePropsFont = {
|
|
262
|
-
|
|
311
|
+
...nonAnimatableFontProps,
|
|
263
312
|
fontSize: !0,
|
|
264
|
-
fontStyle: !0,
|
|
265
313
|
fontWeight: !0,
|
|
266
|
-
fontVariant: !0,
|
|
267
314
|
letterSpacing: !0,
|
|
268
|
-
lineHeight: !0
|
|
269
|
-
textTransform: !0
|
|
315
|
+
lineHeight: !0
|
|
270
316
|
},
|
|
271
317
|
stylePropsTextOnly = {
|
|
272
318
|
...stylePropsFont,
|
|
273
|
-
|
|
274
|
-
textDecorationLine: !0,
|
|
275
|
-
textDecorationStyle: !0,
|
|
319
|
+
...nonAnimatableTextOnlyProps,
|
|
276
320
|
...textColors,
|
|
277
321
|
textShadow: !0,
|
|
278
322
|
textShadowOffset: !0,
|
|
279
323
|
textShadowRadius: !0,
|
|
280
|
-
userSelect: !0,
|
|
281
324
|
verticalAlign: !0
|
|
282
325
|
},
|
|
283
326
|
stylePropsText = {
|