@tamagui/helpers 1.135.3 → 1.135.4-1761748186554
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 +17 -14
- package/dist/cjs/clamp.native.js.map +1 -6
- package/dist/cjs/composeEventHandlers.native.js +29 -19
- package/dist/cjs/composeEventHandlers.native.js.map +1 -6
- package/dist/cjs/index.native.js +18 -23
- package/dist/cjs/index.native.js.map +1 -6
- package/dist/cjs/shouldRenderNativePlatform.native.js +30 -33
- package/dist/cjs/shouldRenderNativePlatform.native.js.map +1 -6
- package/dist/cjs/types.native.js +22 -19
- package/dist/cjs/types.native.js.map +1 -6
- package/dist/cjs/validStyleProps.native.js +258 -252
- package/dist/cjs/validStyleProps.native.js.map +1 -6
- package/dist/cjs/withStaticProperties.cjs +1 -1
- package/dist/cjs/withStaticProperties.js +1 -1
- package/dist/cjs/withStaticProperties.native.js +48 -35
- package/dist/cjs/withStaticProperties.native.js.map +1 -6
- package/dist/esm/composeEventHandlers.native.js +6 -1
- package/dist/esm/composeEventHandlers.native.js.map +1 -1
- package/dist/esm/withStaticProperties.native.js +6 -1
- package/dist/esm/withStaticProperties.native.js.map +1 -1
- package/package.json +5 -4
package/dist/cjs/clamp.native.js
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
7
|
var __export = (target, all) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
16
23
|
var clamp_exports = {};
|
|
17
24
|
__export(clamp_exports, {
|
|
18
25
|
clamp: () => clamp
|
|
@@ -22,8 +29,4 @@ function clamp(value, param) {
|
|
|
22
29
|
var [min, max] = param;
|
|
23
30
|
return Math.min(max, Math.max(min, value));
|
|
24
31
|
}
|
|
25
|
-
|
|
26
|
-
0 && (module.exports = {
|
|
27
|
-
clamp
|
|
28
|
-
});
|
|
29
|
-
//# sourceMappingURL=clamp.js.map
|
|
32
|
+
//# sourceMappingURL=clamp.native.js.map
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/clamp.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,MAAM,OAAO,OAAO;AAChC,MAAI,CAAC,KAAK,GAAG,IAAI;AACjB,SAAO,KAAK,IAAI,KAAK,KAAK,IAAI,KAAK,KAAK,CAAC;AAC7C;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","clamp_exports","__export","clamp","module","exports","param","min","max"],"sources":["../../src/clamp.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,QAAA,CAAAD,aAAA;EAAAE,KAAA,EAAAA,CAAA,KAAAA;AAAA;AAAOC,MAAA,CAAAC,OAAS,GAAMT,YAAqB,CAAAK,aAAgC;AACzE,SAAOE,KAAKA,CAAAH,KAAI,EAAAM,KAAK,EAAK;EAC5B,KAAAC,GAAA,EAAAC,GAAA,IAAAF,KAAA","ignoreList":[]}
|
|
@@ -1,33 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
7
|
var __export = (target, all) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
16
23
|
var composeEventHandlers_exports = {};
|
|
17
24
|
__export(composeEventHandlers_exports, {
|
|
18
25
|
composeEventHandlers: () => composeEventHandlers
|
|
19
26
|
});
|
|
20
27
|
module.exports = __toCommonJS(composeEventHandlers_exports);
|
|
28
|
+
function _type_of(obj) {
|
|
29
|
+
"@swc/helpers - typeof";
|
|
30
|
+
|
|
31
|
+
return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
32
|
+
}
|
|
21
33
|
function composeEventHandlers(og, next) {
|
|
22
|
-
var {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
var {
|
|
35
|
+
checkDefaultPrevented = !0
|
|
36
|
+
} = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
37
|
+
return !og || !next ? next || og || void 0 : function (event) {
|
|
38
|
+
if (og?.(event), !event || !(checkDefaultPrevented && (typeof event > "u" ? "undefined" : _type_of(event)) === "object" && "defaultPrevented" in event) ||
|
|
39
|
+
// @ts-ignore
|
|
40
|
+
"defaultPrevented" in event && !event.defaultPrevented) return next?.(event);
|
|
27
41
|
};
|
|
28
42
|
}
|
|
29
|
-
|
|
30
|
-
0 && (module.exports = {
|
|
31
|
-
composeEventHandlers
|
|
32
|
-
});
|
|
33
|
-
//# sourceMappingURL=composeEventHandlers.js.map
|
|
43
|
+
//# sourceMappingURL=composeEventHandlers.native.js.map
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/composeEventHandlers.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,qBAAqB,IAAI,MAAM;AAC3C,MAAI,EAAE,wBAAwB,GAAK,IAAI,UAAU,SAAS,KAAK,UAAU,CAAC,MAAM,SAAS,UAAU,CAAC,IAAI,CAAC;AACzG,SAAI,CAAC,MAAM,CAAC,OACD,QAAQ,MAAM,SAElB,SAAS,OAAO;AAEnB,QADA,MAAO,QAAiC,GAAG,KAAK,GAC5C,CAAC,SAAS,EAAE,yBAAyB,OAAO,SAAU,YAAY,sBAAsB;AAAA,IAC5F,sBAAsB,SAAS,CAAC,MAAM;AAClC,aAAO,QAAS,OAA0B,SAAS,KAAK,KAAK;AAAA,EAErE;AACJ;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","composeEventHandlers_exports","__export","composeEventHandlers","module","exports","_type_of","obj","Symbol","constructor","og","next","checkDefaultPrevented","arguments","length"],"sources":["../../src/composeEventHandlers.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,4BAAA;AAAAC,QAAA,CAAAD,4BAAA;EAAAE,oBAAA,EAAAA,CAAA,KAAAA;AAAA;AAIOC,MAAA,CAAAC,OAAS,GAAAT,YAAA,CACdK,4BAEE;AAEF,SAAIK,QAAQA,CAAAC,GAAA;EAKV,uBACG;;EAIuB,OAGvBA,GAAA,WAAAC,MAAsB,MAAS,IAACD,GAAM,CAAAE,WAAA,KAAAD,MAAA,qBAAAD,GAAA;AAEvC;AAAmB,SAEvBJ,qBAAAO,EAAA,EAAAC,IAAA;EACF;IAAAC,qBAAA;EAAA,IAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,iBAAAA,SAAA","ignoreList":[]}
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -1,32 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
7
|
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
9
|
+
get: () => from[key],
|
|
10
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
|
+
});
|
|
12
|
+
return to;
|
|
13
|
+
},
|
|
14
|
+
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
16
|
+
value: !0
|
|
17
|
+
}), mod);
|
|
13
18
|
var index_exports = {};
|
|
14
19
|
module.exports = __toCommonJS(index_exports);
|
|
15
20
|
__reExport(index_exports, require("@tamagui/simple-hash"), module.exports);
|
|
16
|
-
__reExport(index_exports, require("./clamp"), module.exports);
|
|
17
|
-
__reExport(index_exports, require("./composeEventHandlers"), module.exports);
|
|
18
|
-
__reExport(index_exports, require("./types"), module.exports);
|
|
19
|
-
__reExport(index_exports, require("./shouldRenderNativePlatform"), module.exports);
|
|
20
|
-
__reExport(index_exports, require("./validStyleProps"), module.exports);
|
|
21
|
-
__reExport(index_exports, require("./withStaticProperties"), module.exports);
|
|
22
|
-
|
|
23
|
-
0 && (module.exports = {
|
|
24
|
-
...require("@tamagui/simple-hash"),
|
|
25
|
-
...require("./clamp"),
|
|
26
|
-
...require("./composeEventHandlers"),
|
|
27
|
-
...require("./types"),
|
|
28
|
-
...require("./shouldRenderNativePlatform"),
|
|
29
|
-
...require("./validStyleProps"),
|
|
30
|
-
...require("./withStaticProperties")
|
|
31
|
-
});
|
|
32
|
-
//# sourceMappingURL=index.js.map
|
|
21
|
+
__reExport(index_exports, require("./clamp.native.js"), module.exports);
|
|
22
|
+
__reExport(index_exports, require("./composeEventHandlers.native.js"), module.exports);
|
|
23
|
+
__reExport(index_exports, require("./types.native.js"), module.exports);
|
|
24
|
+
__reExport(index_exports, require("./shouldRenderNativePlatform.native.js"), module.exports);
|
|
25
|
+
__reExport(index_exports, require("./validStyleProps.native.js"), module.exports);
|
|
26
|
+
__reExport(index_exports, require("./withStaticProperties.native.js"), module.exports);
|
|
27
|
+
//# sourceMappingURL=index.native.js.map
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/index.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,iCAAd;AACA,0BAAc,oBADd;AAEA,0BAAc,mCAFd;AAGA,0BAAc,oBAHd;AAIA,0BAAc,yCAJd;AAKA,0BAAc,8BALd;AAMA,0BAAc,mCANd;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","module","exports","__reExport","require"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAP,YAAc,CAAAK,aAAA;AACdG,UAAA,CAAAH,aAAA,EAAcI,OAAA,uBADd,GAAAH,MAAA,CAAAC,OAAA;AAEAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,uBAAAH,MAAA,CAAAC,OAAA,CAFd;AAGAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,mCAHd,GAAAH,MAAA,CAAAC,OAAA;AAIAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,uBAAAH,MAAA,CAAAC,OAAA;AACdC,UAAA,CAAAH,aAAA,EAAcI,OAAA,yCALd,GAAAH,MAAA,CAAAC,OAAA;AAMAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,iCAAAH,MANd,CAAAC,OAAA","ignoreList":[]}
|
|
@@ -1,37 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
7
|
var __export = (target, all) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
16
23
|
var shouldRenderNativePlatform_exports = {};
|
|
17
24
|
__export(shouldRenderNativePlatform_exports, {
|
|
18
25
|
shouldRenderNativePlatform: () => shouldRenderNativePlatform
|
|
19
26
|
});
|
|
20
27
|
module.exports = __toCommonJS(shouldRenderNativePlatform_exports);
|
|
21
|
-
var import_constants = require("@tamagui/constants"),
|
|
22
|
-
"web",
|
|
23
|
-
"android",
|
|
24
|
-
"ios"
|
|
25
|
-
];
|
|
28
|
+
var import_constants = require("@tamagui/constants"),
|
|
29
|
+
ALL_PLATFORMS = ["web", "android", "ios"];
|
|
26
30
|
function shouldRenderNativePlatform(nativeProp) {
|
|
27
|
-
if (!nativeProp)
|
|
28
|
-
|
|
29
|
-
|
|
31
|
+
if (!nativeProp) return null;
|
|
32
|
+
var userRequestedPlatforms = resolvePlatformNames(nativeProp),
|
|
33
|
+
_iteratorNormalCompletion = !0,
|
|
34
|
+
_didIteratorError = !1,
|
|
35
|
+
_iteratorError = void 0;
|
|
30
36
|
try {
|
|
31
37
|
for (var _iterator = ALL_PLATFORMS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
|
|
32
38
|
var platform = _step.value;
|
|
33
|
-
if (platform === import_constants.currentPlatform && userRequestedPlatforms.has(platform))
|
|
34
|
-
return platform;
|
|
39
|
+
if (platform === import_constants.currentPlatform && userRequestedPlatforms.has(platform)) return platform;
|
|
35
40
|
}
|
|
36
41
|
} catch (err) {
|
|
37
42
|
_didIteratorError = !0, _iteratorError = err;
|
|
@@ -39,26 +44,18 @@ function shouldRenderNativePlatform(nativeProp) {
|
|
|
39
44
|
try {
|
|
40
45
|
!_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
|
|
41
46
|
} finally {
|
|
42
|
-
if (_didIteratorError)
|
|
43
|
-
throw _iteratorError;
|
|
47
|
+
if (_didIteratorError) throw _iteratorError;
|
|
44
48
|
}
|
|
45
49
|
}
|
|
46
50
|
return null;
|
|
47
51
|
}
|
|
48
52
|
function resolvePlatformNames(nativeProp) {
|
|
49
|
-
var platforms = nativeProp === !0 ?
|
|
53
|
+
var platforms = nativeProp === !0 ?
|
|
50
54
|
// all native platforms
|
|
51
|
-
ALL_PLATFORMS
|
|
52
|
-
) : nativeProp === !1 ? (
|
|
55
|
+
ALL_PLATFORMS : nativeProp === !1 ?
|
|
53
56
|
// no native platform
|
|
54
|
-
[]
|
|
55
|
-
|
|
56
|
-
nativeProp
|
|
57
|
-
], set = new Set(platforms);
|
|
57
|
+
[] : Array.isArray(nativeProp) ? nativeProp : [nativeProp],
|
|
58
|
+
set = new Set(platforms);
|
|
58
59
|
return set.has("mobile") && (set.add("android"), set.add("ios"), set.delete("mobile")), set;
|
|
59
60
|
}
|
|
60
|
-
|
|
61
|
-
0 && (module.exports = {
|
|
62
|
-
shouldRenderNativePlatform
|
|
63
|
-
});
|
|
64
|
-
//# sourceMappingURL=shouldRenderNativePlatform.js.map
|
|
61
|
+
//# sourceMappingURL=shouldRenderNativePlatform.native.js.map
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/shouldRenderNativePlatform.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAgC,+BAS5B,gBAAgB;AAAA,EAChB;AAAA,EACA;AAAA,EACA;AACJ;AAYW,SAAS,2BAA2B,YAAY;AACvD,MAAI,CAAC;AACD,WAAO;AAEX,MAAI,yBAAyB,qBAAqB,UAAU,GACxD,4BAA4B,IAAM,oBAAoB,IAAO,iBAAiB;AAClF,MAAI;AACA,aAAQ,YAAY,cAAc,OAAO,QAAQ,EAAE,GAAG,OAAO,EAAE,6BAA6B,QAAQ,UAAU,KAAK,GAAG,OAAO,4BAA4B,IAAK;AAC1J,UAAI,WAAW,MAAM;AACrB,UAAI,aAAa,oCAAmB,uBAAuB,IAAI,QAAQ;AACnE,eAAO;AAAA,IAEf;AAAA,EACJ,SAAS,KAAK;AACV,wBAAoB,IACpB,iBAAiB;AAAA,EACrB,UAAE;AACE,QAAI;AACA,MAAI,CAAC,6BAA6B,UAAU,UAAU,QAClD,UAAU,OAAO;AAAA,IAEzB,UAAE;AACE,UAAI;AACA,cAAM;AAAA,IAEd;AAAA,EACJ;AACA,SAAO;AACX;AACA,SAAS,qBAAqB,YAAY;AACtC,MAAI,YAAY,eAAe;AAAA;AAAA,IAC/B;AAAA,MAAgB,eAAe;AAAA;AAAA,IAC/B,CAAC;AAAA,MAAI,MAAM,QAAQ,UAAU,IAAI,aAAa;AAAA,IAC1C;AAAA,EACJ,GACI,MAAM,IAAI,IAAI,SAAS;AAC3B,SAAI,IAAI,IAAI,QAAQ,MAEhB,IAAI,IAAI,SAAS,GACjB,IAAI,IAAI,KAAK,GACb,IAAI,OAAO,QAAQ,IAEhB;AACX;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","shouldRenderNativePlatform_exports","__export","shouldRenderNativePlatform","module","exports","import_constants","require","ALL_PLATFORMS","nativeProp","userRequestedPlatforms","resolvePlatformNames","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","Symbol","iterator","_step","next","done","platform","currentPlatform","has"],"sources":["../../src/shouldRenderNativePlatform.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,kCAAA;AAAAC,QAAA,CAAAD,kCAAA;EAAAE,0BAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAgC,CAAAK,kCAAA;AAuBhC,IAAAK,gBAAM,GAA2CC,OAAO,qBAAgB;EAAAC,aAAA,IAajE,OACL,SAAK,EACH,MAEF;AAEA,SAAAL,0BAAuBA,CAAAM,UAAA;EACrB,KAAAA,UAAI,EACF,WAAO;EAIX,IAAAC,sBAAO,GAAAC,oBAAA,CAAAF,UAAA;IAAAG,yBAAA;IAAAC,iBAAA;IAAAC,cAAA;EACT;IAEA,KAAS,IAAAC,SAAA,GAAAP,aAAqB,CAAAQ,MAAyB,CAAAC,QAAA,KAAAC,KAAA,IAAAN,yBAAA,IAAAM,KAAA,GAAAH,SAAA,CAAAI,IAAA,IAAAC,IAAA,GAAAR,yBAAA;MACrD,IAAMS,QAAA,GACJH,KAAA,CAAAlB,KAAA;MASF,IAAIqB,QAAQ,KAAAf,gBAEF,CAAAgB,eACJ,IAAIZ,sBACG,CAAAa,GAAA,CAAQF,QAEd,GACT,OAAAA,QAAA","ignoreList":[]}
|
package/dist/cjs/types.native.js
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
7
|
var __export = (target, all) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
16
23
|
var types_exports = {};
|
|
17
24
|
__export(types_exports, {
|
|
18
25
|
StyleObjectIdentifier: () => StyleObjectIdentifier,
|
|
@@ -22,13 +29,9 @@ __export(types_exports, {
|
|
|
22
29
|
StyleObjectValue: () => StyleObjectValue
|
|
23
30
|
});
|
|
24
31
|
module.exports = __toCommonJS(types_exports);
|
|
25
|
-
var StyleObjectProperty = 0,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
StyleObjectRules,
|
|
32
|
-
StyleObjectValue
|
|
33
|
-
});
|
|
34
|
-
//# sourceMappingURL=types.js.map
|
|
32
|
+
var StyleObjectProperty = 0,
|
|
33
|
+
StyleObjectValue = 1,
|
|
34
|
+
StyleObjectIdentifier = 2,
|
|
35
|
+
StyleObjectPseudo = 3,
|
|
36
|
+
StyleObjectRules = 4;
|
|
37
|
+
//# sourceMappingURL=types.native.js.map
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/types.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAI,sBAAsB,GACtB,mBAAmB,GACnB,wBAAwB,GACxB,oBAAoB,GACpB,mBAAmB;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","types_exports","__export","StyleObjectIdentifier","StyleObjectProperty","StyleObjectPseudo","StyleObjectRules","StyleObjectValue","module","exports"],"sources":["../../src/types.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,QAAA,CAAAD,aAAA;EAAAE,qBAAA,EAAAA,CAAA,KAAAA,qBAAA;EAAAC,mBAAA,EAAAA,CAAA,KAAAA,mBAAA;EAAAC,iBAAA,EAAAA,CAAA,KAAAA,iBAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAA,gBAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAA;AAAA;AAQOC,MAAM,CAAAC,OAAA,GAAAb,YAAsB,CAAAK,aACtB","ignoreList":[]}
|
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
7
|
var __export = (target, all) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
+
value: !0
|
|
22
|
+
}), mod);
|
|
16
23
|
var validStyleProps_exports = {};
|
|
17
24
|
__export(validStyleProps_exports, {
|
|
18
25
|
stylePropsAll: () => stylePropsAll,
|
|
@@ -26,249 +33,248 @@ __export(validStyleProps_exports, {
|
|
|
26
33
|
validStyles: () => validStyles
|
|
27
34
|
});
|
|
28
35
|
module.exports = __toCommonJS(validStyleProps_exports);
|
|
29
|
-
var import_constants = require("@tamagui/constants"),
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
radius: {
|
|
35
|
-
borderRadius: !0,
|
|
36
|
-
borderTopLeftRadius: !0,
|
|
37
|
-
borderTopRightRadius: !0,
|
|
38
|
-
borderBottomLeftRadius: !0,
|
|
39
|
-
borderBottomRightRadius: !0,
|
|
40
|
-
// logical
|
|
41
|
-
borderStartStartRadius: !0,
|
|
42
|
-
borderStartEndRadius: !0,
|
|
43
|
-
borderEndStartRadius: !0,
|
|
44
|
-
borderEndEndRadius: !0
|
|
36
|
+
var import_constants = require("@tamagui/constants"),
|
|
37
|
+
textColors = {
|
|
38
|
+
color: !0,
|
|
39
|
+
textDecorationColor: !0,
|
|
40
|
+
textShadowColor: !0
|
|
45
41
|
},
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
42
|
+
tokenCategories = {
|
|
43
|
+
radius: {
|
|
44
|
+
borderRadius: !0,
|
|
45
|
+
borderTopLeftRadius: !0,
|
|
46
|
+
borderTopRightRadius: !0,
|
|
47
|
+
borderBottomLeftRadius: !0,
|
|
48
|
+
borderBottomRightRadius: !0,
|
|
49
|
+
// logical
|
|
50
|
+
borderStartStartRadius: !0,
|
|
51
|
+
borderStartEndRadius: !0,
|
|
52
|
+
borderEndStartRadius: !0,
|
|
53
|
+
borderEndEndRadius: !0
|
|
54
|
+
},
|
|
55
|
+
size: {
|
|
56
|
+
width: !0,
|
|
57
|
+
height: !0,
|
|
58
|
+
minWidth: !0,
|
|
59
|
+
minHeight: !0,
|
|
60
|
+
maxWidth: !0,
|
|
61
|
+
maxHeight: !0,
|
|
62
|
+
blockSize: !0,
|
|
63
|
+
minBlockSize: !0,
|
|
64
|
+
maxBlockSize: !0,
|
|
65
|
+
inlineSize: !0,
|
|
66
|
+
minInlineSize: !0,
|
|
67
|
+
maxInlineSize: !0
|
|
68
|
+
},
|
|
69
|
+
zIndex: {
|
|
70
|
+
zIndex: !0
|
|
71
|
+
},
|
|
72
|
+
color: {
|
|
73
|
+
backgroundColor: !0,
|
|
74
|
+
borderColor: !0,
|
|
75
|
+
borderBlockStartColor: !0,
|
|
76
|
+
borderBlockEndColor: !0,
|
|
77
|
+
borderBlockColor: !0,
|
|
78
|
+
borderBottomColor: !0,
|
|
79
|
+
borderInlineColor: !0,
|
|
80
|
+
borderInlineStartColor: !0,
|
|
81
|
+
borderInlineEndColor: !0,
|
|
82
|
+
borderTopColor: !0,
|
|
83
|
+
borderLeftColor: !0,
|
|
84
|
+
borderRightColor: !0,
|
|
85
|
+
borderEndColor: !0,
|
|
86
|
+
borderStartColor: !0,
|
|
87
|
+
shadowColor: !0,
|
|
88
|
+
...textColors
|
|
89
|
+
}
|
|
59
90
|
},
|
|
60
|
-
|
|
61
|
-
|
|
91
|
+
stylePropsUnitless = {
|
|
92
|
+
WebkitLineClamp: !0,
|
|
93
|
+
animationIterationCount: !0,
|
|
94
|
+
aspectRatio: !0,
|
|
95
|
+
borderImageOutset: !0,
|
|
96
|
+
borderImageSlice: !0,
|
|
97
|
+
borderImageWidth: !0,
|
|
98
|
+
columnCount: !0,
|
|
99
|
+
flex: !0,
|
|
100
|
+
flexGrow: !0,
|
|
101
|
+
flexOrder: !0,
|
|
102
|
+
flexPositive: !0,
|
|
103
|
+
flexShrink: !0,
|
|
104
|
+
flexNegative: !0,
|
|
105
|
+
fontWeight: !0,
|
|
106
|
+
gridRow: !0,
|
|
107
|
+
gridRowEnd: !0,
|
|
108
|
+
gridRowGap: !0,
|
|
109
|
+
gridRowStart: !0,
|
|
110
|
+
gridColumn: !0,
|
|
111
|
+
gridColumnEnd: !0,
|
|
112
|
+
gridColumnGap: !0,
|
|
113
|
+
gridColumnStart: !0,
|
|
114
|
+
gridTemplateColumns: !0,
|
|
115
|
+
gridTemplateAreas: !0,
|
|
116
|
+
lineClamp: !0,
|
|
117
|
+
opacity: !0,
|
|
118
|
+
order: !0,
|
|
119
|
+
orphans: !0,
|
|
120
|
+
tabSize: !0,
|
|
121
|
+
widows: !0,
|
|
122
|
+
zIndex: !0,
|
|
123
|
+
zoom: !0,
|
|
124
|
+
scale: !0,
|
|
125
|
+
scaleX: !0,
|
|
126
|
+
scaleY: !0,
|
|
127
|
+
scaleZ: !0,
|
|
128
|
+
shadowOpacity: !0
|
|
62
129
|
},
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
insetInlineEnd: !0,
|
|
215
|
-
insetInlineStart: !0,
|
|
216
|
-
direction: !0,
|
|
217
|
-
shadowOffset: !0,
|
|
218
|
-
shadowRadius: !0,
|
|
219
|
-
...tokenCategories.color,
|
|
220
|
-
...tokenCategories.radius,
|
|
221
|
-
...tokenCategories.size,
|
|
222
|
-
...tokenCategories.radius,
|
|
223
|
-
...stylePropsTransform,
|
|
224
|
-
...stylePropsUnitless,
|
|
225
|
-
boxShadow: !0,
|
|
226
|
-
filter: !0,
|
|
227
|
-
...import_constants.isAndroid ? {
|
|
228
|
-
elevationAndroid: !0
|
|
229
|
-
} : {}
|
|
230
|
-
}, stylePropsFont = {
|
|
231
|
-
fontFamily: !0,
|
|
232
|
-
fontSize: !0,
|
|
233
|
-
fontStyle: !0,
|
|
234
|
-
fontWeight: !0,
|
|
235
|
-
fontVariant: !0,
|
|
236
|
-
letterSpacing: !0,
|
|
237
|
-
lineHeight: !0,
|
|
238
|
-
textTransform: !0
|
|
239
|
-
}, stylePropsTextOnly = {
|
|
240
|
-
...stylePropsFont,
|
|
241
|
-
textAlign: !0,
|
|
242
|
-
textDecorationLine: !0,
|
|
243
|
-
textDecorationStyle: !0,
|
|
244
|
-
...textColors,
|
|
245
|
-
textShadowOffset: !0,
|
|
246
|
-
textShadowRadius: !0,
|
|
247
|
-
userSelect: !0,
|
|
248
|
-
selectable: !0,
|
|
249
|
-
verticalAlign: !0
|
|
250
|
-
}, stylePropsText = {
|
|
251
|
-
...stylePropsView,
|
|
252
|
-
...stylePropsTextOnly
|
|
253
|
-
}, stylePropsAll = stylePropsText, validPseudoKeys = {
|
|
254
|
-
enterStyle: !0,
|
|
255
|
-
exitStyle: !0,
|
|
256
|
-
hoverStyle: !0,
|
|
257
|
-
pressStyle: !0,
|
|
258
|
-
focusStyle: !0,
|
|
259
|
-
disabledStyle: !0,
|
|
260
|
-
focusWithinStyle: !0
|
|
261
|
-
}, validStyles = stylePropsView;
|
|
262
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
263
|
-
0 && (module.exports = {
|
|
264
|
-
stylePropsAll,
|
|
265
|
-
stylePropsText,
|
|
266
|
-
stylePropsTextOnly,
|
|
267
|
-
stylePropsTransform,
|
|
268
|
-
stylePropsUnitless,
|
|
269
|
-
stylePropsView,
|
|
270
|
-
tokenCategories,
|
|
271
|
-
validPseudoKeys,
|
|
272
|
-
validStyles
|
|
273
|
-
});
|
|
274
|
-
//# sourceMappingURL=validStyleProps.js.map
|
|
130
|
+
stylePropsTransform = {
|
|
131
|
+
x: !0,
|
|
132
|
+
y: !0,
|
|
133
|
+
scale: !0,
|
|
134
|
+
perspective: !0,
|
|
135
|
+
scaleX: !0,
|
|
136
|
+
scaleY: !0,
|
|
137
|
+
skewX: !0,
|
|
138
|
+
skewY: !0,
|
|
139
|
+
matrix: !0,
|
|
140
|
+
rotate: !0,
|
|
141
|
+
rotateY: !0,
|
|
142
|
+
rotateX: !0,
|
|
143
|
+
rotateZ: !0
|
|
144
|
+
},
|
|
145
|
+
stylePropsView = {
|
|
146
|
+
backfaceVisibility: !0,
|
|
147
|
+
borderBottomEndRadius: !0,
|
|
148
|
+
borderBottomStartRadius: !0,
|
|
149
|
+
borderBottomWidth: !0,
|
|
150
|
+
borderLeftWidth: !0,
|
|
151
|
+
borderRightWidth: !0,
|
|
152
|
+
borderBlockWidth: !0,
|
|
153
|
+
borderBlockEndWidth: !0,
|
|
154
|
+
borderBlockStartWidth: !0,
|
|
155
|
+
borderInlineWidth: !0,
|
|
156
|
+
borderInlineEndWidth: !0,
|
|
157
|
+
borderInlineStartWidth: !0,
|
|
158
|
+
borderStyle: !0,
|
|
159
|
+
borderBlockStyle: !0,
|
|
160
|
+
borderBlockEndStyle: !0,
|
|
161
|
+
borderBlockStartStyle: !0,
|
|
162
|
+
borderInlineStyle: !0,
|
|
163
|
+
borderInlineEndStyle: !0,
|
|
164
|
+
borderInlineStartStyle: !0,
|
|
165
|
+
borderTopEndRadius: !0,
|
|
166
|
+
borderTopStartRadius: !0,
|
|
167
|
+
borderTopWidth: !0,
|
|
168
|
+
borderWidth: !0,
|
|
169
|
+
transform: !0,
|
|
170
|
+
transformOrigin: !0,
|
|
171
|
+
alignContent: !0,
|
|
172
|
+
alignItems: !0,
|
|
173
|
+
alignSelf: !0,
|
|
174
|
+
borderEndWidth: !0,
|
|
175
|
+
borderStartWidth: !0,
|
|
176
|
+
bottom: !0,
|
|
177
|
+
display: !0,
|
|
178
|
+
end: !0,
|
|
179
|
+
flexBasis: !0,
|
|
180
|
+
flexDirection: !0,
|
|
181
|
+
flexWrap: !0,
|
|
182
|
+
gap: !0,
|
|
183
|
+
columnGap: !0,
|
|
184
|
+
rowGap: !0,
|
|
185
|
+
justifyContent: !0,
|
|
186
|
+
left: !0,
|
|
187
|
+
margin: !0,
|
|
188
|
+
marginBlock: !0,
|
|
189
|
+
marginBlockEnd: !0,
|
|
190
|
+
marginBlockStart: !0,
|
|
191
|
+
marginInline: !0,
|
|
192
|
+
marginInlineStart: !0,
|
|
193
|
+
marginInlineEnd: !0,
|
|
194
|
+
marginBottom: !0,
|
|
195
|
+
marginEnd: !0,
|
|
196
|
+
marginHorizontal: !0,
|
|
197
|
+
marginLeft: !0,
|
|
198
|
+
marginRight: !0,
|
|
199
|
+
marginStart: !0,
|
|
200
|
+
marginTop: !0,
|
|
201
|
+
marginVertical: !0,
|
|
202
|
+
overflow: !0,
|
|
203
|
+
padding: !0,
|
|
204
|
+
paddingBottom: !0,
|
|
205
|
+
paddingInline: !0,
|
|
206
|
+
paddingBlock: !0,
|
|
207
|
+
paddingBlockStart: !0,
|
|
208
|
+
paddingInlineEnd: !0,
|
|
209
|
+
paddingInlineStart: !0,
|
|
210
|
+
paddingEnd: !0,
|
|
211
|
+
paddingHorizontal: !0,
|
|
212
|
+
paddingLeft: !0,
|
|
213
|
+
paddingRight: !0,
|
|
214
|
+
paddingStart: !0,
|
|
215
|
+
paddingTop: !0,
|
|
216
|
+
paddingVertical: !0,
|
|
217
|
+
position: !0,
|
|
218
|
+
right: !0,
|
|
219
|
+
start: !0,
|
|
220
|
+
top: !0,
|
|
221
|
+
inset: !0,
|
|
222
|
+
insetBlock: !0,
|
|
223
|
+
insetBlockEnd: !0,
|
|
224
|
+
insetBlockStart: !0,
|
|
225
|
+
insetInline: !0,
|
|
226
|
+
insetInlineEnd: !0,
|
|
227
|
+
insetInlineStart: !0,
|
|
228
|
+
direction: !0,
|
|
229
|
+
shadowOffset: !0,
|
|
230
|
+
shadowRadius: !0,
|
|
231
|
+
...tokenCategories.color,
|
|
232
|
+
...tokenCategories.radius,
|
|
233
|
+
...tokenCategories.size,
|
|
234
|
+
...tokenCategories.radius,
|
|
235
|
+
...stylePropsTransform,
|
|
236
|
+
...stylePropsUnitless,
|
|
237
|
+
boxShadow: !0,
|
|
238
|
+
filter: !0,
|
|
239
|
+
...(import_constants.isAndroid ? {
|
|
240
|
+
elevationAndroid: !0
|
|
241
|
+
} : {})
|
|
242
|
+
},
|
|
243
|
+
stylePropsFont = {
|
|
244
|
+
fontFamily: !0,
|
|
245
|
+
fontSize: !0,
|
|
246
|
+
fontStyle: !0,
|
|
247
|
+
fontWeight: !0,
|
|
248
|
+
fontVariant: !0,
|
|
249
|
+
letterSpacing: !0,
|
|
250
|
+
lineHeight: !0,
|
|
251
|
+
textTransform: !0
|
|
252
|
+
},
|
|
253
|
+
stylePropsTextOnly = {
|
|
254
|
+
...stylePropsFont,
|
|
255
|
+
textAlign: !0,
|
|
256
|
+
textDecorationLine: !0,
|
|
257
|
+
textDecorationStyle: !0,
|
|
258
|
+
...textColors,
|
|
259
|
+
textShadowOffset: !0,
|
|
260
|
+
textShadowRadius: !0,
|
|
261
|
+
userSelect: !0,
|
|
262
|
+
selectable: !0,
|
|
263
|
+
verticalAlign: !0
|
|
264
|
+
},
|
|
265
|
+
stylePropsText = {
|
|
266
|
+
...stylePropsView,
|
|
267
|
+
...stylePropsTextOnly
|
|
268
|
+
},
|
|
269
|
+
stylePropsAll = stylePropsText,
|
|
270
|
+
validPseudoKeys = {
|
|
271
|
+
enterStyle: !0,
|
|
272
|
+
exitStyle: !0,
|
|
273
|
+
hoverStyle: !0,
|
|
274
|
+
pressStyle: !0,
|
|
275
|
+
focusStyle: !0,
|
|
276
|
+
disabledStyle: !0,
|
|
277
|
+
focusWithinStyle: !0
|
|
278
|
+
},
|
|
279
|
+
validStyles = stylePropsView;
|
|
280
|
+
//# sourceMappingURL=validStyleProps.native.js.map
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/validStyleProps.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAA0B,+BAEtB,aAAa;AAAA,EACb,OAAO;AAAA,EACP,qBAAqB;AAAA,EACrB,iBAAiB;AACrB,GAGW,kBAAkB;AAAA,EACzB,QAAQ;AAAA,IACJ,cAAc;AAAA,IACd,qBAAqB;AAAA,IACrB,sBAAsB;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,eAAe;AACnB,GACW,qBAAqB;AAAA,EAC5B,GAAG;AAAA,EACH,WAAW;AAAA,EACX,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,GAAG;AAAA,EACH,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,eAAe;AAWnB,GACW,iBAAiB;AAAA,EACxB,GAAG;AAAA,EACH,GAAG;AACP,GACW,gBAAgB,gBAChB,kBAAkB;AAAA,EACzB,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,kBAAkB;AAKtB,GACW,cAAc;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","validStyleProps_exports","__export","stylePropsAll","stylePropsText","stylePropsTextOnly","stylePropsTransform","stylePropsUnitless","stylePropsView","tokenCategories","validPseudoKeys","validStyles","module","exports","import_constants","require","textColors","color","textDecorationColor","textShadowColor","radius","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderStartStartRadius","borderStartEndRadius","borderEndStartRadius","borderEndEndRadius","size","width","height","minWidth","minHeight","maxWidth","maxHeight","blockSize","minBlockSize","maxBlockSize","inlineSize","minInlineSize","maxInlineSize","zIndex","backgroundColor","borderColor","borderBlockStartColor","borderBlockEndColor","borderBlockColor","borderBottomColor","borderInlineColor","borderInlineStartColor","borderInlineEndColor","borderTopColor","borderLeftColor","borderRightColor","borderEndColor","borderStartColor","shadowColor","WebkitLineClamp","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","flex","flexGrow","flexOrder","flexPositive","flexShrink","flexNegative","fontWeight","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridTemplateColumns","gridTemplateAreas","lineClamp","opacity","order","orphans","tabSize","widows","zoom","scale","scaleX","scaleY","scaleZ","shadowOpacity","x","y","perspective","skewX","skewY","matrix","rotate","rotateY","rotateX","rotateZ","backfaceVisibility","borderBottomEndRadius","borderBottomStartRadius","borderBottomWidth","borderLeftWidth","borderRightWidth","borderBlockWidth","borderBlockEndWidth","borderBlockStartWidth","borderInlineWidth","borderInlineEndWidth","borderInlineStartWidth","borderStyle","borderBlockStyle","borderBlockEndStyle","borderBlockStartStyle","borderInlineStyle","borderInlineEndStyle","borderInlineStartStyle","borderTopEndRadius","borderTopStartRadius","borderTopWidth","borderWidth","transform","transformOrigin","alignContent","alignItems","alignSelf","borderEndWidth","borderStartWidth","bottom","display","end","flexBasis","flexDirection","flexWrap","gap","columnGap","rowGap","justifyContent","left","margin","marginBlock","marginBlockEnd","marginBlockStart","marginInline","marginInlineStart","marginInlineEnd","marginBottom","marginEnd","marginHorizontal","marginLeft","marginRight","marginStart","marginTop","marginVertical","overflow","padding","paddingBottom","paddingInline","paddingBlock","paddingBlockStart","paddingInlineEnd","paddingInlineStart","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","position","right","start","top","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","direction","shadowOffset","shadowRadius","boxShadow","filter","isAndroid","elevationAndroid","stylePropsFont","fontFamily","fontSize","fontStyle","fontVariant","letterSpacing","lineHeight","textTransform","textAlign","textDecorationLine","textDecorationStyle","textShadowOffset","textShadowRadius","userSelect","selectable","verticalAlign","enterStyle","exitStyle","hoverStyle","pressStyle","focusStyle","disabledStyle","focusWithinStyle"],"sources":["../../src/validStyleProps.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,uBAAA;AAAAC,QAAA,CAAAD,uBAAA;EAAAE,a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,SAAG;IACHC,MAAG;IAEH,IAAAjL,gBAAW,CAAAkL,SAAA;MACXC,gBAAQ;IAAA;EAAA;EAMNC,cAAY;IACZC,UAAU;IACVC,QAAA;IACAC,SAAA;IACA7H,UAAA,EAAY;IACZ8H,WAAA;IACAC,aAAA;IACAC,UAAA;IACAC,aAAA;EAAiB;EACjBpM,kBAAiB;IACjB,GAAA6L,cAAA;IACAQ,SAAA;IACAC,kBAAkB;IAClBC,mBAAgB;IAChB,GAAA5L,UAAA;IACA6L,gBAAa;IACbC,gBAAA,EAAiB;IACjBC,UAAA;IACAC,UAAA;IACAC,aAAW;EAAA;EACX7M,cAAY;IACZ,GAAAI,cAAU;IACV,GAAAH;EAAS;EACTF,aAAA,GAAeC,cAAA;EAAAM,eAAA;IACfwM,UAAS;IACTC,SAAQ;IACRC,UAAO;IACPC,UAAM;IACNC,UAAA,EAAY;IACZC,aAAA,GAAgB;IAChBC,gBAAA,EAAkB;EAAA;EAClB7M,WAAA,GAAAH,cAAkB","ignoreList":[]}
|
|
@@ -34,7 +34,7 @@ __export(withStaticProperties_exports, {
|
|
|
34
34
|
withStaticProperties: () => withStaticProperties
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(withStaticProperties_exports);
|
|
37
|
-
var import_react = __toESM(require("react"));
|
|
37
|
+
var import_react = __toESM(require("react"), 1);
|
|
38
38
|
const Decorated = Symbol(),
|
|
39
39
|
withStaticProperties = (component, staticProps) => {
|
|
40
40
|
const next = (() => {
|
|
@@ -25,7 +25,7 @@ __export(withStaticProperties_exports, {
|
|
|
25
25
|
withStaticProperties: () => withStaticProperties
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(withStaticProperties_exports);
|
|
28
|
-
var import_react = __toESM(require("react"));
|
|
28
|
+
var import_react = __toESM(require("react"), 1);
|
|
29
29
|
const Decorated = Symbol(), withStaticProperties = (component, staticProps) => {
|
|
30
30
|
const next = (() => {
|
|
31
31
|
if (component[Decorated]) {
|
|
@@ -1,53 +1,66 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
|
|
2
3
|
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf,
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
8
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
9
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: !0
|
|
13
|
+
});
|
|
14
|
+
},
|
|
15
|
+
__copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
16
22
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
23
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
24
|
// file that has been converted to a CommonJS file using a Babel-
|
|
19
25
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
26
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
28
|
+
value: mod,
|
|
29
|
+
enumerable: !0
|
|
30
|
+
}) : target, mod)),
|
|
31
|
+
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
32
|
+
value: !0
|
|
33
|
+
}), mod);
|
|
24
34
|
var withStaticProperties_exports = {};
|
|
25
35
|
__export(withStaticProperties_exports, {
|
|
26
36
|
withStaticProperties: () => withStaticProperties
|
|
27
37
|
});
|
|
28
38
|
module.exports = __toCommonJS(withStaticProperties_exports);
|
|
29
|
-
var import_react = __toESM(require("react")
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
39
|
+
var import_react = __toESM(require("react"), 1);
|
|
40
|
+
function _type_of(obj) {
|
|
41
|
+
"@swc/helpers - typeof";
|
|
42
|
+
|
|
43
|
+
return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
44
|
+
}
|
|
45
|
+
var Decorated = Symbol(),
|
|
46
|
+
withStaticProperties = function (component, staticProps) {
|
|
47
|
+
var next = function () {
|
|
48
|
+
if (component[Decorated]) {
|
|
49
|
+
var _ = /* @__PURE__ */import_react.default.forwardRef(function (props, ref) {
|
|
50
|
+
return /* @__PURE__ */import_react.default.createElement(component, {
|
|
51
|
+
...props,
|
|
52
|
+
ref
|
|
53
|
+
});
|
|
36
54
|
});
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
55
|
+
for (var key in component) {
|
|
56
|
+
var v = component[key];
|
|
57
|
+
_[key] = v && (typeof v > "u" ? "undefined" : _type_of(v)) === "object" ? {
|
|
58
|
+
...v
|
|
59
|
+
} : v;
|
|
60
|
+
}
|
|
43
61
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
50
|
-
0 && (module.exports = {
|
|
51
|
-
withStaticProperties
|
|
52
|
-
});
|
|
53
|
-
//# sourceMappingURL=withStaticProperties.js.map
|
|
62
|
+
return component;
|
|
63
|
+
}();
|
|
64
|
+
return Object.assign(next, staticProps), next[Decorated] = !0, next;
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=withStaticProperties.native.js.map
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/withStaticProperties.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB,2BACd,YAAY,OAAO,GACZ,uBAAuB,SAAS,WAAW,aAAa;AAE/D,MAAI,OAAO,WAAW;AAClB,QAAI,UAAU,SAAS,GAAG;AACtB,UAAI,IAAkB,6BAAAA,QAAM,WAAW,SAAS,OAAO,KAAK;AACxD,eAAqB,6BAAAA,QAAM,cAAc,WAAW;AAAA,UAChD,GAAG;AAAA,UACH;AAAA,QACJ,CAAC;AAAA,MACL,CAAC;AAED,eAAQ,OAAO,WAAU;AACrB,YAAI,IAAI,UAAU,GAAG;AAErB,UAAE,GAAG,IAAI,KAAK,OAAO,KAAM,WAAW;AAAA,UAClC,GAAG;AAAA,QACP,IAAI;AAAA,MACR;AAAA,IACJ;AACA,WAAO;AAAA,EACX,EAAE;AAEF,gBAAO,OAAO,MAAM,WAAW,GAC/B,KAAK,SAAS,IAAI,IACX;AACX;",
|
|
5
|
-
"names": ["React"]
|
|
6
|
-
}
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","withStaticProperties_exports","__export","withStaticProperties","module","exports","import_react","__toESM","require","_type_of","obj","Symbol","constructor","Decorated","component","staticProps","next","_","default","forwardRef","props","ref","createElement","key"],"sources":["../../src/withStaticProperties.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAA;EAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;IAAAC,KAAA;EAAA,IAAAH,GAAA;AAAA,IAAAI,4BAAA;AAAAC,QAAA,CAAAD,4BAAA;EAAAE,oBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAkB,CAAAK,4BAAA;AAElB,IAAAK,YAAM,GAAYC,OAAO,CAAAC,OAIZ;AAKX,SAAMC,QAAQA,CAAAC,GAAA,EAAM;EAClB,uBAAc;;EACZ,OAAAA,GAAM,IAAI,OAAAC,MAAA,UAAMD,GAAA,CAAAE,WAAA,KAAAD,MAAA,qBAAAD,GAAA;AAAA;AACyC,IAAAG,SACzD,GAAAF,MAAA;EAAAR,oBAAA,YAAAA,CAAAW,SAAA,EAAAC,WAAA;IAEA,IAAAC,IAAA,eAAkB;MAChB,IAAAF,SAAM,CAAID,SAAA,CAAU;QAEpB,IAAEI,CAAA,GAAG,eAAgBX,YAAM,CAAAY,OAAgB,CAAAC,UAAM,WAAAC,KAAA,EAAAC,GAAA;UACnD,sBAAAf,YAAA,CAAAY,OAAA,CAAAI,aAAA,CAAAR,SAAA;YACF,GAAAM,KAAA;YACAC;UACC;QAGH;QAIF,SAAAE,GAAA,IAAAT,SAAA","ignoreList":[]}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
function _type_of(obj) {
|
|
2
|
+
"@swc/helpers - typeof";
|
|
3
|
+
|
|
4
|
+
return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
5
|
+
}
|
|
1
6
|
function composeEventHandlers(og, next) {
|
|
2
7
|
var {
|
|
3
8
|
checkDefaultPrevented = !0
|
|
4
9
|
} = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
5
10
|
return !og || !next ? next || og || void 0 : function (event) {
|
|
6
|
-
if (og?.(event), !event || !(checkDefaultPrevented && typeof event
|
|
11
|
+
if (og?.(event), !event || !(checkDefaultPrevented && (typeof event > "u" ? "undefined" : _type_of(event)) === "object" && "defaultPrevented" in event) ||
|
|
7
12
|
// @ts-ignore
|
|
8
13
|
"defaultPrevented" in event && !event.defaultPrevented) return next?.(event);
|
|
9
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["composeEventHandlers","og","next","checkDefaultPrevented","arguments","length","event"
|
|
1
|
+
{"version":3,"names":["_type_of","obj","Symbol","constructor","composeEventHandlers","og","next","checkDefaultPrevented","arguments","length","event"],"sources":["../../src/composeEventHandlers.ts"],"sourcesContent":[null],"mappings":"AAIO,SAASA,SAAAC,GAAA;EAKd,uBACS;;EAIP,OADAA,GAAA,IAAK,OAEFC,MAAA,GACD,GACE,IAAAD,GAAA,CAAAE,WAAA,KACAD,MAAO,WAAU,UACjBD,GAAA;AAAsB;AAKxB,SAAAG,oBAAmBA,CAAAC,EAAA,EAAAC,IAAA;EAEvB;IAAAC,qBAAA;EAAA,IAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,iBAAAA,SAAA;EACF,QAAAH,EAAA,KAAAC,IAAA,GAAAA,IAAA,IAAAD,EAAA,uBAAAK,KAAA","ignoreList":[]}
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
function _type_of(obj) {
|
|
3
|
+
"@swc/helpers - typeof";
|
|
4
|
+
|
|
5
|
+
return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
6
|
+
}
|
|
2
7
|
var Decorated = Symbol(),
|
|
3
8
|
withStaticProperties = function (component, staticProps) {
|
|
4
9
|
var next = function () {
|
|
@@ -11,7 +16,7 @@ var Decorated = Symbol(),
|
|
|
11
16
|
});
|
|
12
17
|
for (var key in component) {
|
|
13
18
|
var v = component[key];
|
|
14
|
-
_[key] = v && typeof v
|
|
19
|
+
_[key] = v && (typeof v > "u" ? "undefined" : _type_of(v)) === "object" ? {
|
|
15
20
|
...v
|
|
16
21
|
} : v;
|
|
17
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","_type_of","obj","Symbol","constructor","Decorated","withStaticProperties","component","staticProps","next","_","forwardRef","props","ref","createElement","key","v"],"sources":["../../src/withStaticProperties.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,KAAA,MAAW;AAElB,SAAMC,SAAYC,GAAA;EAShB,uBAAoB;;EAClB,OAAIA,GAAA,WAAUC,MAAS,GAAG,OAAAD,GAAA,CAAAE,WAAA,KAAAD,MAAA,qBAAAD,GAAA;AACxB;AAAgB,IAAAG,SAAY,GAAOF,MAAA,EACjC;EAAAG,oBAAoB,YAAAA,CAAoBC,SAAU,EAAAC,WAAK;IAAA,IACzDC,IAAA;MAEA,IAAAF,SAAW,CAAAF,SAAO;QAChB,IAAAK,CAAA,GAAM,eAAcV,KAAG,CAAAW,UAAA,WAAAC,KAAA,EAAAC,GAAA;UAEvB,OAAK,eAAgBb,KAAM,CAAAc,aAAgB,CAAAP,SAAM;YACnD,GAAAK,KAAA;YACFC;UACA;QACC;QAGH,SAAAE,GAAO,IAAAR,SAAa;UAItB,IAAAS,CAAA,GAAAT,SAAA,CAAAQ,GAAA","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/helpers",
|
|
3
|
-
"version": "1.135.
|
|
3
|
+
"version": "1.135.4-1761748186554",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"source": "src/index.ts",
|
|
5
6
|
"types": "./types/index.d.ts",
|
|
6
7
|
"main": "dist/cjs",
|
|
@@ -19,11 +20,11 @@
|
|
|
19
20
|
"clean:build": "tamagui-build clean:build"
|
|
20
21
|
},
|
|
21
22
|
"dependencies": {
|
|
22
|
-
"@tamagui/constants": "1.135.
|
|
23
|
-
"@tamagui/simple-hash": "1.135.
|
|
23
|
+
"@tamagui/constants": "1.135.4-1761748186554",
|
|
24
|
+
"@tamagui/simple-hash": "1.135.4-1761748186554"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
|
-
"@tamagui/build": "1.135.
|
|
27
|
+
"@tamagui/build": "1.135.4-1761748186554",
|
|
27
28
|
"react": "*"
|
|
28
29
|
},
|
|
29
30
|
"publishConfig": {
|