@tamagui/use-window-dimensions 1.75.4 → 1.75.6

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/index.js CHANGED
@@ -18,7 +18,7 @@ __export(src_exports, {
18
18
  useWindowDimensions: () => useWindowDimensions
19
19
  });
20
20
  module.exports = __toCommonJS(src_exports);
21
- var import_constants = require("@tamagui/constants"), import_react = require("react"), import_react_native = require("react-native");
21
+ var import_constants = require("@tamagui/constants"), import_react = require("react"), import_react_native = require("react-native-web");
22
22
  const initialValue = {
23
23
  height: 800,
24
24
  width: 600
package/dist/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { isWeb } from "@tamagui/constants";
2
2
  import { useSyncExternalStore } from "react";
3
- import { Dimensions } from "react-native";
3
+ import { Dimensions } from "react-native-web";
4
4
  const initialValue = {
5
5
  height: 800,
6
6
  width: 600
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/use-window-dimensions",
3
- "version": "1.75.4",
3
+ "version": "1.75.6",
4
4
  "types": "./types/index.d.ts",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -26,10 +26,10 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "@tamagui/constants": "1.75.4"
29
+ "@tamagui/constants": "1.75.6"
30
30
  },
31
31
  "devDependencies": {
32
- "@tamagui/build": "1.75.4",
32
+ "@tamagui/build": "1.75.6",
33
33
  "react": "^18.2.0",
34
34
  "react-native": "^0.72.1"
35
35
  },