@tamagui/constants 1.88.21 → 1.88.23
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/esm/constants.android.js +4 -35
- package/dist/esm/constants.android.js.map +1 -1
- package/dist/esm/constants.ios.js +4 -35
- package/dist/esm/constants.ios.js.map +1 -1
- package/dist/esm/constants.native.js +4 -35
- package/dist/esm/constants.native.js.map +1 -1
- package/dist/esm/index.native.js +1 -19
- package/dist/esm/index.native.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,37 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var constants_android_exports = {};
|
|
17
|
-
__export(constants_android_exports, {
|
|
18
|
-
currentPlatform: () => currentPlatform,
|
|
19
|
-
isAndroid: () => isAndroid,
|
|
20
|
-
isChrome: () => isChrome,
|
|
21
|
-
isClient: () => isClient,
|
|
22
|
-
isIos: () => isIos,
|
|
23
|
-
isServer: () => isServer,
|
|
24
|
-
isTouchable: () => isTouchable,
|
|
25
|
-
isWeb: () => isWeb,
|
|
26
|
-
isWebTouchable: () => isWebTouchable,
|
|
27
|
-
isWindowDefined: () => isWindowDefined,
|
|
28
|
-
useIsomorphicLayoutEffect: () => useIsomorphicLayoutEffect
|
|
29
|
-
});
|
|
30
|
-
module.exports = __toCommonJS(constants_android_exports);
|
|
31
|
-
var import_react = require("react");
|
|
32
|
-
const isWeb = !1, isWindowDefined = !1, isServer = !1, isClient = !1, useIsomorphicLayoutEffect = import_react.useLayoutEffect, isChrome = !1, isWebTouchable = !1, isTouchable = !0, isAndroid = !0, isIos = !1, currentPlatform = "android";
|
|
33
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
-
0 && (module.exports = {
|
|
1
|
+
import { useLayoutEffect } from "react";
|
|
2
|
+
const isWeb = !1, isWindowDefined = !1, isServer = !1, isClient = !1, useIsomorphicLayoutEffect = useLayoutEffect, isChrome = !1, isWebTouchable = !1, isTouchable = !0, isAndroid = !0, isIos = !1, currentPlatform = "android";
|
|
3
|
+
export {
|
|
35
4
|
currentPlatform,
|
|
36
5
|
isAndroid,
|
|
37
6
|
isChrome,
|
|
@@ -43,5 +12,5 @@ const isWeb = !1, isWindowDefined = !1, isServer = !1, isClient = !1, useIsomorp
|
|
|
43
12
|
isWebTouchable,
|
|
44
13
|
isWindowDefined,
|
|
45
14
|
useIsomorphicLayoutEffect
|
|
46
|
-
}
|
|
15
|
+
};
|
|
47
16
|
//# sourceMappingURL=constants.android.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/constants.android.ts"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAAA,SAAS,uBAAuB;AAEzB,MAAM,QAAiB,IACjB,kBAA2B,IAC3B,WAAoB,IACpB,WAAoB,IACpB,4BAA4B,iBAC5B,WAAoB,IACpB,iBAA0B,IAC1B,cAAuB,IACvB,YAAqB,IACrB,QAAiB,IACjB,kBAAwD;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -1,37 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var constants_ios_exports = {};
|
|
17
|
-
__export(constants_ios_exports, {
|
|
18
|
-
currentPlatform: () => currentPlatform,
|
|
19
|
-
isAndroid: () => isAndroid,
|
|
20
|
-
isChrome: () => isChrome,
|
|
21
|
-
isClient: () => isClient,
|
|
22
|
-
isIos: () => isIos,
|
|
23
|
-
isServer: () => isServer,
|
|
24
|
-
isTouchable: () => isTouchable,
|
|
25
|
-
isWeb: () => isWeb,
|
|
26
|
-
isWebTouchable: () => isWebTouchable,
|
|
27
|
-
isWindowDefined: () => isWindowDefined,
|
|
28
|
-
useIsomorphicLayoutEffect: () => useIsomorphicLayoutEffect
|
|
29
|
-
});
|
|
30
|
-
module.exports = __toCommonJS(constants_ios_exports);
|
|
31
|
-
var import_react = require("react");
|
|
32
|
-
const isWeb = !1, isWindowDefined = !1, isServer = !1, isClient = !1, useIsomorphicLayoutEffect = import_react.useLayoutEffect, isChrome = !1, isWebTouchable = !1, isTouchable = !0, isAndroid = !1, isIos = !0, currentPlatform = "ios";
|
|
33
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
-
0 && (module.exports = {
|
|
1
|
+
import { useLayoutEffect } from "react";
|
|
2
|
+
const isWeb = !1, isWindowDefined = !1, isServer = !1, isClient = !1, useIsomorphicLayoutEffect = useLayoutEffect, isChrome = !1, isWebTouchable = !1, isTouchable = !0, isAndroid = !1, isIos = !0, currentPlatform = "ios";
|
|
3
|
+
export {
|
|
35
4
|
currentPlatform,
|
|
36
5
|
isAndroid,
|
|
37
6
|
isChrome,
|
|
@@ -43,5 +12,5 @@ const isWeb = !1, isWindowDefined = !1, isServer = !1, isClient = !1, useIsomorp
|
|
|
43
12
|
isWebTouchable,
|
|
44
13
|
isWindowDefined,
|
|
45
14
|
useIsomorphicLayoutEffect
|
|
46
|
-
}
|
|
15
|
+
};
|
|
47
16
|
//# sourceMappingURL=constants.ios.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/constants.ios.ts"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAAA,SAAS,uBAAuB;AAEzB,MAAM,QAAiB,IACjB,kBAA2B,IAC3B,WAAoB,IACpB,WAAoB,IACpB,4BAA4B,iBAC5B,WAAoB,IACpB,iBAA0B,IAC1B,cAAuB,IACvB,YAAqB,IACrB,QAAiB,IACjB,kBAAwD;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -1,37 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
return to;
|
|
14
|
-
};
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
-
var constants_native_exports = {};
|
|
17
|
-
__export(constants_native_exports, {
|
|
18
|
-
currentPlatform: () => currentPlatform,
|
|
19
|
-
isAndroid: () => isAndroid,
|
|
20
|
-
isChrome: () => isChrome,
|
|
21
|
-
isClient: () => isClient,
|
|
22
|
-
isIos: () => isIos,
|
|
23
|
-
isServer: () => isServer,
|
|
24
|
-
isTouchable: () => isTouchable,
|
|
25
|
-
isWeb: () => isWeb,
|
|
26
|
-
isWebTouchable: () => isWebTouchable,
|
|
27
|
-
isWindowDefined: () => isWindowDefined,
|
|
28
|
-
useIsomorphicLayoutEffect: () => useIsomorphicLayoutEffect
|
|
29
|
-
});
|
|
30
|
-
module.exports = __toCommonJS(constants_native_exports);
|
|
31
|
-
var import_react = require("react");
|
|
32
|
-
const isWeb = !1, isWindowDefined = !1, isServer = !1, isClient = !1, useIsomorphicLayoutEffect = import_react.useLayoutEffect, isChrome = !1, isWebTouchable = !1, isTouchable = !0, isAndroid = !1, isIos = !1, currentPlatform = "native";
|
|
33
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
-
0 && (module.exports = {
|
|
1
|
+
import { useLayoutEffect } from "react";
|
|
2
|
+
const isWeb = !1, isWindowDefined = !1, isServer = !1, isClient = !1, useIsomorphicLayoutEffect = useLayoutEffect, isChrome = !1, isWebTouchable = !1, isTouchable = !0, isAndroid = !1, isIos = !1, currentPlatform = "native";
|
|
3
|
+
export {
|
|
35
4
|
currentPlatform,
|
|
36
5
|
isAndroid,
|
|
37
6
|
isChrome,
|
|
@@ -43,5 +12,5 @@ const isWeb = !1, isWindowDefined = !1, isServer = !1, isClient = !1, useIsomorp
|
|
|
43
12
|
isWebTouchable,
|
|
44
13
|
isWindowDefined,
|
|
45
14
|
useIsomorphicLayoutEffect
|
|
46
|
-
}
|
|
15
|
+
};
|
|
47
16
|
//# sourceMappingURL=constants.native.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/constants.native.ts"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAAA,SAAS,uBAAuB;AAEzB,MAAM,QAAiB,IACjB,kBAA2B,IAC3B,WAAoB,IACpB,WAAoB,IACpB,4BAA4B,iBAC5B,WAAoB,IACpB,iBAA0B,IAC1B,cAAuB,IACvB,YAAqB,IACrB,QAAiB,IACjB,kBAAwD;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/esm/index.native.js
CHANGED
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
-
return to;
|
|
11
|
-
}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
12
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
13
|
-
var src_exports = {};
|
|
14
|
-
module.exports = __toCommonJS(src_exports);
|
|
15
|
-
__reExport(src_exports, require("./constants"), module.exports);
|
|
16
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
17
|
-
0 && (module.exports = {
|
|
18
|
-
...require("./constants")
|
|
19
|
-
});
|
|
1
|
+
export * from "./constants";
|
|
20
2
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/constants",
|
|
3
|
-
"version": "1.88.
|
|
3
|
+
"version": "1.88.23",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"clean:build": "tamagui-build clean:build"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@tamagui/build": "1.88.
|
|
21
|
+
"@tamagui/build": "1.88.23",
|
|
22
22
|
"react": "^18.2.0"
|
|
23
23
|
},
|
|
24
24
|
"exports": {
|