@tamagui/use-window-dimensions 3.0.0-beta.924.1 → 3.0.0

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/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@tamagui/use-window-dimensions",
3
- "version": "3.0.0-beta.924.1",
3
+ "version": "3.0.0",
4
+ "license": "MIT",
4
5
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
5
6
  "files": [
6
7
  "src",
@@ -34,12 +35,13 @@
34
35
  "clean:build": "tamagui-build clean:build"
35
36
  },
36
37
  "dependencies": {
37
- "@tamagui/constants": "3.0.0-beta.924.1"
38
+ "@tamagui/constants": "3.0.0",
39
+ "@tamagui/react-native-types": "3.0.0"
38
40
  },
39
41
  "devDependencies": {
40
- "@tamagui/build": "3.0.0-beta.924.1",
42
+ "@tamagui/build": "3.0.0",
41
43
  "react": "19.2.3",
42
- "react-native": "0.86.2"
44
+ "react-native": "0.87.1"
43
45
  },
44
46
  "peerDependencies": {
45
47
  "react": ">=19"
@@ -48,5 +50,6 @@
48
50
  "type": "git",
49
51
  "url": "git+https://github.com/tamagui/tamagui.git",
50
52
  "directory": "code/core/use-window-dimensions"
51
- }
53
+ },
54
+ "releaseSourceCommit": "15fbca480b143f876f6975601e23a17d3f90d2ee"
52
55
  }
package/src/types.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ScaledSize } from 'react-native'
1
+ import type { ScaledSize } from '@tamagui/react-native-types'
2
2
 
3
3
  export type Size = {
4
4
  width: number
package/types/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ScaledSize } from "react-native";
1
+ import type { ScaledSize } from "@tamagui/react-native-types";
2
2
  export type Size = {
3
3
  width: number;
4
4
  height: number;
@@ -6,6 +6,6 @@
6
6
  ],
7
7
  "version": 3,
8
8
  "sourcesContent": [
9
- "import type { ScaledSize } from 'react-native'\n\nexport type Size = {\n width: number\n height: number\n}\n\nexport type WindowSize = ScaledSize\n\nexport type WindowSizeListener = (size: WindowSize) => void\n"
9
+ "import type { ScaledSize } from '@tamagui/react-native-types'\n\nexport type Size = {\n width: number\n height: number\n}\n\nexport type WindowSize = ScaledSize\n\nexport type WindowSizeListener = (size: WindowSize) => void\n"
10
10
  ]
11
11
  }