@tamagui/constants 1.125.6 → 1.125.8

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.
@@ -1,20 +1,19 @@
1
1
  import { useLayoutEffect } from "react";
2
2
  import { Platform } from "react-native";
3
- var isWeb = !1, isWindowDefined = !1, isServer = !1, isClient = !1, useIsomorphicLayoutEffect = useLayoutEffect, isChrome = !1, isWebTouchable = !1, isTouchable = !0, isAndroid = Platform.OS === "android" || process.env.TEST_NATIVE_PLATFORM === "android", isIos = Platform.OS === "ios" || process.env.TEST_NATIVE_PLATFORM === "ios", platforms = {
4
- ios: "ios",
5
- android: "android"
6
- }, currentPlatform = platforms[Platform.OS] || "native";
7
- export {
8
- currentPlatform,
9
- isAndroid,
10
- isChrome,
11
- isClient,
12
- isIos,
13
- isServer,
14
- isTouchable,
15
- isWeb,
16
- isWebTouchable,
17
- isWindowDefined,
18
- useIsomorphicLayoutEffect
19
- };
3
+ var isWeb = !1,
4
+ isWindowDefined = !1,
5
+ isServer = !1,
6
+ isClient = !1,
7
+ useIsomorphicLayoutEffect = useLayoutEffect,
8
+ isChrome = !1,
9
+ isWebTouchable = !1,
10
+ isTouchable = !0,
11
+ isAndroid = Platform.OS === "android" || process.env.TEST_NATIVE_PLATFORM === "android",
12
+ isIos = Platform.OS === "ios" || process.env.TEST_NATIVE_PLATFORM === "ios",
13
+ platforms = {
14
+ ios: "ios",
15
+ android: "android"
16
+ },
17
+ currentPlatform = platforms[Platform.OS] || "native";
18
+ export { currentPlatform, isAndroid, isChrome, isClient, isIos, isServer, isTouchable, isWeb, isWebTouchable, isWindowDefined, useIsomorphicLayoutEffect };
20
19
  //# sourceMappingURL=constants.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Users/n8/tamagui/code/core/constants/src/constants.native.ts"],
4
- "mappings": "AAAA,SAASA,uBAAuC;AAChD,SAASC,gBAAgB;AAElB,IAAMC,QAAiB,IACjBC,kBAA2B,IAC3BC,WAAoB,IACpBC,WAAoB,IACpBC,4BAA8CN,iBAC9CO,WAAoB,IACpBC,iBAA0B,IAC1BC,cAAuB,IACvBC,YACXT,SAASU,OAAO,aAAaC,QAAQC,IAAIC,yBAAyB,WACvDC,QACXd,SAASU,OAAO,SAASC,QAAQC,IAAIC,yBAAyB,OAE1DE,YAAY;EAAEC,KAAK;EAAOC,SAAS;AAAU,GACtCC,kBACXH,UAAUf,SAASU,EAAE,KAAK;",
5
- "names": ["useLayoutEffect", "Platform", "isWeb", "isWindowDefined", "isServer", "isClient", "useIsomorphicLayoutEffect", "isChrome", "isWebTouchable", "isTouchable", "isAndroid", "OS", "process", "env", "TEST_NATIVE_PLATFORM", "isIos", "platforms", "ios", "android", "currentPlatform"]
6
- }
1
+ {"version":3,"names":["useLayoutEffect","Platform","isWeb","isWindowDefined","isServer","isClient","useIsomorphicLayoutEffect","isChrome","isWebTouchable","isTouchable","isAndroid","OS","process","env","TEST_NATIVE_PLATFORM","isIos","platforms","ios","android","currentPlatform"],"sources":["../../src/Users/n8/tamagui/code/core/constants/src/constants.native.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,eAAA,QAAuC;AAChD,SAASC,QAAA,QAAgB;AAElB,IAAMC,KAAA,GAAiB;EACjBC,eAAA,GAA2B;EAC3BC,QAAA,GAAoB;EACpBC,QAAA,GAAoB;EACpBC,yBAAA,GAA8CN,eAAA;EAC9CO,QAAA,GAAoB;EACpBC,cAAA,GAA0B;EAC1BC,WAAA,GAAuB;EACvBC,SAAA,GACXT,QAAA,CAASU,EAAA,KAAO,aAAaC,OAAA,CAAQC,GAAA,CAAIC,oBAAA,KAAyB;EACvDC,KAAA,GACXd,QAAA,CAASU,EAAA,KAAO,SAASC,OAAA,CAAQC,GAAA,CAAIC,oBAAA,KAAyB;EAE1DE,SAAA,GAAY;IAAEC,GAAA,EAAK;IAAOC,OAAA,EAAS;EAAU;EACtCC,eAAA,GACXH,SAAA,CAAUf,QAAA,CAASU,EAAE,KAAK","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- export * from "./constants";
2
- //# sourceMappingURL=index.js.map
1
+ export * from "./constants.native.js";
2
+ //# sourceMappingURL=index.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Users/n8/tamagui/code/core/constants/src/index.ts"],
4
- "mappings": "AAAA,cAAc;",
5
- "names": []
6
- }
1
+ {"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/constants",
3
- "version": "1.125.6",
3
+ "version": "1.125.8",
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.125.6",
21
+ "@tamagui/build": "1.125.8",
22
22
  "react": "*"
23
23
  },
24
24
  "exports": {