@tamagui/native 2.0.0 → 2.1.0-1780288049558
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/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ tamagui-build
|
|
2
|
-
built @tamagui/native in
|
|
2
|
+
built @tamagui/native in 600 ms
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { getSafeArea } from "./safeAreaState.native.js";
|
|
2
|
+
var __require = /* @__PURE__ */(x => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
3
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
4
|
+
}) : x)(function (x) {
|
|
5
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
6
|
+
throw Error("Calling `require` for \"" + x + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
7
|
+
});
|
|
2
8
|
function setup() {
|
|
3
9
|
var g = globalThis;
|
|
4
10
|
if (g.__tamagui_native_safe_area_setup_complete) return;
|
|
@@ -8,7 +14,7 @@ function setup() {
|
|
|
8
14
|
useSafeAreaInsets,
|
|
9
15
|
useSafeAreaFrame,
|
|
10
16
|
initialWindowMetrics
|
|
11
|
-
} =
|
|
17
|
+
} = __require("react-native-safe-area-context");
|
|
12
18
|
if (useSafeAreaInsets) getSafeArea().set({
|
|
13
19
|
enabled: true,
|
|
14
20
|
useSafeAreaInsets,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getSafeArea","setup","g","globalThis","__tamagui_native_safe_area_setup_complete","useSafeAreaInsets","useSafeAreaFrame","initialWindowMetrics","
|
|
1
|
+
{"version":3,"names":["getSafeArea","__require","x","require","Proxy","get","a","b","apply","arguments","Error","setup","g","globalThis","__tamagui_native_safe_area_setup_complete","useSafeAreaInsets","useSafeAreaFrame","initialWindowMetrics","set","enabled","initialMetrics","e"],"sources":["setup-safe-area.native.js"],"sourcesContent":["import { getSafeArea } from \"./safeAreaState\";\n\nvar __require = /* @__PURE__ */ ((x) => typeof require !== \"undefined\" ? require : typeof Proxy !== \"undefined\" ? new Proxy(x, { get: (a, b) => (typeof require !== \"undefined\" ? require : a)[b] }) : x)(function(x) {\n\tif (typeof require !== \"undefined\") return require.apply(this, arguments);\n\tthrow Error(\"Calling `require` for \\\"\" + x + \"\\\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.\");\n});\n\nfunction setup() {\n\tvar g = globalThis;\n\tif (g.__tamagui_native_safe_area_setup_complete) return;\n\tg.__tamagui_native_safe_area_setup_complete = true;\n\ttry {\n\t\tvar { useSafeAreaInsets, useSafeAreaFrame, initialWindowMetrics } = __require(\"react-native-safe-area-context\");\n\t\tif (useSafeAreaInsets) getSafeArea().set({\n\t\t\tenabled: true,\n\t\t\tuseSafeAreaInsets,\n\t\t\tuseSafeAreaFrame: useSafeAreaFrame || null,\n\t\t\tinitialMetrics: initialWindowMetrics || null\n\t\t});\n\t} catch (e) {}\n}\nsetup();\n\n"],"mappings":"AAAA,SAASA,WAAW,QAAQ,2BAAiB;AAE7C,IAAIC,SAAS,GAAG,eAAgB,CAAEC,CAAC,IAAK,OAAOC,OAAO,KAAK,WAAW,GAAGA,OAAO,GAAG,OAAOC,KAAK,KAAK,WAAW,GAAG,IAAIA,KAAK,CAACF,CAAC,EAAE;EAAEG,GAAG,EAAEA,CAACC,CAAC,EAAEC,CAAC,KAAK,CAAC,OAAOJ,OAAO,KAAK,WAAW,GAAGA,OAAO,GAAGG,CAAC,EAAEC,CAAC;AAAE,CAAC,CAAC,GAAGL,CAAC,EAAE,UAASA,CAAC,EAAE;EACrN,IAAI,OAAOC,OAAO,KAAK,WAAW,EAAE,OAAOA,OAAO,CAACK,KAAK,CAAC,IAAI,EAAEC,SAAS,CAAC;EACzE,MAAMC,KAAK,CAAC,0BAA0B,GAAGR,CAAC,GAAG,2JAA2J,CAAC;AAC1M,CAAC,CAAC;AAEF,SAASS,KAAKA,CAAA,EAAG;EAChB,IAAIC,CAAC,GAAGC,UAAU;EAClB,IAAID,CAAC,CAACE,yCAAyC,EAAE;EACjDF,CAAC,CAACE,yCAAyC,GAAG,IAAI;EAClD,IAAI;IACH,IAAI;MAAEC,iBAAiB;MAAEC,gBAAgB;MAAEC;IAAqB,CAAC,GAAGhB,SAAS,CAAC,gCAAgC,CAAC;IAC/G,IAAIc,iBAAiB,EAAEf,WAAW,CAAC,CAAC,CAACkB,GAAG,CAAC;MACxCC,OAAO,EAAE,IAAI;MACbJ,iBAAiB;MACjBC,gBAAgB,EAAEA,gBAAgB,IAAI,IAAI;MAC1CI,cAAc,EAAEH,oBAAoB,IAAI;IACzC,CAAC,CAAC;EACH,CAAC,CAAC,OAAOI,CAAC,EAAE,CAAC;AACd;AACAV,KAAK,CAAC,CAAC","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/native",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0-1780288049558",
|
|
4
4
|
"description": "Native setup modules for Tamagui - portals, gesture handler, worklets, and more",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"clean:build": "tamagui-build clean:build"
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
|
-
"@tamagui/build": "2.
|
|
147
|
+
"@tamagui/build": "2.1.0-1780288049558",
|
|
148
148
|
"burnt": "^0.12.2",
|
|
149
149
|
"react": ">=19",
|
|
150
150
|
"react-native": "0.83.2",
|