@hanzogui/sheet 3.0.2 → 7.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.
Files changed (303) hide show
  1. package/controller/index.cjs +1 -1
  2. package/controller/index.native.cjs +1 -1
  3. package/next.md +2 -2
  4. package/package.json +24 -24
  5. package/setup-gesture-handler/index.cjs +1 -1
  6. package/setup-gesture-handler/index.native.cjs +1 -1
  7. package/src/Sheet.tsx +3 -3
  8. package/src/SheetController.tsx +4 -1
  9. package/src/SheetImplementationCustom.tsx +24 -13
  10. package/src/createSheet.tsx +9 -9
  11. package/src/setupGestureHandler.ts +2 -2
  12. package/src/useSheetController.tsx +4 -0
  13. package/src/useSheetProviderProps.tsx +4 -4
  14. package/types/Sheet.d.ts +51 -51
  15. package/types/SheetContext.d.ts +8 -8
  16. package/types/SheetController.d.ts +1 -1
  17. package/types/SheetImplementationCustom.d.ts +4 -4
  18. package/types/SheetScrollView.d.ts +10 -10
  19. package/types/createSheet.d.ts +39 -39
  20. package/types/gestureState.d.ts +3 -3
  21. package/types/setupGestureHandler.d.ts +1 -1
  22. package/types/types.d.ts +4 -4
  23. package/types/useSheetController.d.ts +3 -0
  24. package/types/useSheetProviderProps.d.ts +4 -4
  25. package/dist/cjs/GestureDetectorWrapper.cjs +0 -48
  26. package/dist/cjs/GestureDetectorWrapper.native.js +0 -53
  27. package/dist/cjs/GestureDetectorWrapper.native.js.map +0 -1
  28. package/dist/cjs/GestureSheetContext.cjs +0 -52
  29. package/dist/cjs/GestureSheetContext.native.js +0 -56
  30. package/dist/cjs/GestureSheetContext.native.js.map +0 -1
  31. package/dist/cjs/Sheet.cjs +0 -117
  32. package/dist/cjs/Sheet.native.js +0 -120
  33. package/dist/cjs/Sheet.native.js.map +0 -1
  34. package/dist/cjs/SheetContext.cjs +0 -32
  35. package/dist/cjs/SheetContext.native.js +0 -35
  36. package/dist/cjs/SheetContext.native.js.map +0 -1
  37. package/dist/cjs/SheetController.cjs +0 -65
  38. package/dist/cjs/SheetController.native.js +0 -71
  39. package/dist/cjs/SheetController.native.js.map +0 -1
  40. package/dist/cjs/SheetImplementationCustom.cjs +0 -472
  41. package/dist/cjs/SheetImplementationCustom.native.js +0 -524
  42. package/dist/cjs/SheetImplementationCustom.native.js.map +0 -1
  43. package/dist/cjs/SheetScrollView.cjs +0 -180
  44. package/dist/cjs/SheetScrollView.native.js +0 -197
  45. package/dist/cjs/SheetScrollView.native.js.map +0 -1
  46. package/dist/cjs/constants.cjs +0 -32
  47. package/dist/cjs/constants.native.js +0 -35
  48. package/dist/cjs/constants.native.js.map +0 -1
  49. package/dist/cjs/contexts.cjs +0 -42
  50. package/dist/cjs/contexts.native.js +0 -45
  51. package/dist/cjs/contexts.native.js.map +0 -1
  52. package/dist/cjs/controller.cjs +0 -29
  53. package/dist/cjs/controller.native.js +0 -32
  54. package/dist/cjs/controller.native.js.map +0 -1
  55. package/dist/cjs/createSheet.cjs +0 -191
  56. package/dist/cjs/createSheet.native.js +0 -208
  57. package/dist/cjs/createSheet.native.js.map +0 -1
  58. package/dist/cjs/gestureState.cjs +0 -39
  59. package/dist/cjs/gestureState.native.js +0 -42
  60. package/dist/cjs/gestureState.native.js.map +0 -1
  61. package/dist/cjs/helpers.cjs +0 -31
  62. package/dist/cjs/helpers.native.js +0 -35
  63. package/dist/cjs/helpers.native.js.map +0 -1
  64. package/dist/cjs/index.cjs +0 -28
  65. package/dist/cjs/index.native.js +0 -31
  66. package/dist/cjs/index.native.js.map +0 -1
  67. package/dist/cjs/nativeSheet.cjs +0 -87
  68. package/dist/cjs/nativeSheet.native.js +0 -101
  69. package/dist/cjs/nativeSheet.native.js.map +0 -1
  70. package/dist/cjs/setupGestureHandler.cjs +0 -46
  71. package/dist/cjs/setupGestureHandler.native.js +0 -50
  72. package/dist/cjs/setupGestureHandler.native.js.map +0 -1
  73. package/dist/cjs/types.cjs +0 -16
  74. package/dist/cjs/types.native.js +0 -19
  75. package/dist/cjs/types.native.js.map +0 -1
  76. package/dist/cjs/useGestureHandlerPan.cjs +0 -136
  77. package/dist/cjs/useGestureHandlerPan.native.js +0 -145
  78. package/dist/cjs/useGestureHandlerPan.native.js.map +0 -1
  79. package/dist/cjs/useKeyboardControllerSheet.cjs +0 -38
  80. package/dist/cjs/useKeyboardControllerSheet.native.js +0 -114
  81. package/dist/cjs/useKeyboardControllerSheet.native.js.map +0 -1
  82. package/dist/cjs/useSheet.cjs +0 -27
  83. package/dist/cjs/useSheet.native.js +0 -32
  84. package/dist/cjs/useSheet.native.js.map +0 -1
  85. package/dist/cjs/useSheetController.cjs +0 -50
  86. package/dist/cjs/useSheetController.native.js +0 -53
  87. package/dist/cjs/useSheetController.native.js.map +0 -1
  88. package/dist/cjs/useSheetOffscreenSize.cjs +0 -51
  89. package/dist/cjs/useSheetOffscreenSize.native.js +0 -61
  90. package/dist/cjs/useSheetOffscreenSize.native.js.map +0 -1
  91. package/dist/cjs/useSheetOpenState.cjs +0 -49
  92. package/dist/cjs/useSheetOpenState.native.js +0 -56
  93. package/dist/cjs/useSheetOpenState.native.js.map +0 -1
  94. package/dist/cjs/useSheetProviderProps.cjs +0 -133
  95. package/dist/cjs/useSheetProviderProps.native.js +0 -153
  96. package/dist/cjs/useSheetProviderProps.native.js.map +0 -1
  97. package/dist/cjs/useSheetScrollViewGestures.cjs +0 -123
  98. package/dist/cjs/useSheetScrollViewGestures.native.js +0 -110
  99. package/dist/cjs/useSheetScrollViewGestures.native.js.map +0 -1
  100. package/dist/esm/GestureDetectorWrapper.mjs +0 -25
  101. package/dist/esm/GestureDetectorWrapper.mjs.map +0 -1
  102. package/dist/esm/GestureDetectorWrapper.native.js +0 -27
  103. package/dist/esm/GestureDetectorWrapper.native.js.map +0 -1
  104. package/dist/esm/GestureSheetContext.mjs +0 -28
  105. package/dist/esm/GestureSheetContext.mjs.map +0 -1
  106. package/dist/esm/GestureSheetContext.native.js +0 -29
  107. package/dist/esm/GestureSheetContext.native.js.map +0 -1
  108. package/dist/esm/Sheet.mjs +0 -89
  109. package/dist/esm/Sheet.mjs.map +0 -1
  110. package/dist/esm/Sheet.native.js +0 -89
  111. package/dist/esm/Sheet.native.js.map +0 -1
  112. package/dist/esm/SheetContext.mjs +0 -6
  113. package/dist/esm/SheetContext.mjs.map +0 -1
  114. package/dist/esm/SheetContext.native.js +0 -6
  115. package/dist/esm/SheetContext.native.js.map +0 -1
  116. package/dist/esm/SheetController.mjs +0 -31
  117. package/dist/esm/SheetController.mjs.map +0 -1
  118. package/dist/esm/SheetController.native.js +0 -34
  119. package/dist/esm/SheetController.native.js.map +0 -1
  120. package/dist/esm/SheetImplementationCustom.mjs +0 -437
  121. package/dist/esm/SheetImplementationCustom.mjs.map +0 -1
  122. package/dist/esm/SheetImplementationCustom.native.js +0 -487
  123. package/dist/esm/SheetImplementationCustom.native.js.map +0 -1
  124. package/dist/esm/SheetScrollView.mjs +0 -146
  125. package/dist/esm/SheetScrollView.mjs.map +0 -1
  126. package/dist/esm/SheetScrollView.native.js +0 -160
  127. package/dist/esm/SheetScrollView.native.js.map +0 -1
  128. package/dist/esm/constants.mjs +0 -6
  129. package/dist/esm/constants.mjs.map +0 -1
  130. package/dist/esm/constants.native.js +0 -6
  131. package/dist/esm/constants.native.js.map +0 -1
  132. package/dist/esm/contexts.mjs +0 -7
  133. package/dist/esm/contexts.mjs.map +0 -1
  134. package/dist/esm/contexts.native.js +0 -7
  135. package/dist/esm/contexts.native.js.map +0 -1
  136. package/dist/esm/controller.mjs +0 -4
  137. package/dist/esm/controller.mjs.map +0 -1
  138. package/dist/esm/controller.native.js +0 -4
  139. package/dist/esm/controller.native.js.map +0 -1
  140. package/dist/esm/createSheet.mjs +0 -168
  141. package/dist/esm/createSheet.mjs.map +0 -1
  142. package/dist/esm/createSheet.native.js +0 -182
  143. package/dist/esm/createSheet.native.js.map +0 -1
  144. package/dist/esm/gestureState.mjs +0 -13
  145. package/dist/esm/gestureState.mjs.map +0 -1
  146. package/dist/esm/gestureState.native.js +0 -13
  147. package/dist/esm/gestureState.native.js.map +0 -1
  148. package/dist/esm/helpers.mjs +0 -8
  149. package/dist/esm/helpers.mjs.map +0 -1
  150. package/dist/esm/helpers.native.js +0 -9
  151. package/dist/esm/helpers.native.js.map +0 -1
  152. package/dist/esm/index.js +0 -12
  153. package/dist/esm/index.js.map +0 -1
  154. package/dist/esm/index.mjs +0 -12
  155. package/dist/esm/index.mjs.map +0 -1
  156. package/dist/esm/index.native.js +0 -12
  157. package/dist/esm/index.native.js.map +0 -1
  158. package/dist/esm/nativeSheet.mjs +0 -63
  159. package/dist/esm/nativeSheet.mjs.map +0 -1
  160. package/dist/esm/nativeSheet.native.js +0 -74
  161. package/dist/esm/nativeSheet.native.js.map +0 -1
  162. package/dist/esm/setupGestureHandler.mjs +0 -22
  163. package/dist/esm/setupGestureHandler.mjs.map +0 -1
  164. package/dist/esm/setupGestureHandler.native.js +0 -23
  165. package/dist/esm/setupGestureHandler.native.js.map +0 -1
  166. package/dist/esm/types.mjs +0 -2
  167. package/dist/esm/types.mjs.map +0 -1
  168. package/dist/esm/types.native.js +0 -2
  169. package/dist/esm/types.native.js.map +0 -1
  170. package/dist/esm/useGestureHandlerPan.mjs +0 -113
  171. package/dist/esm/useGestureHandlerPan.mjs.map +0 -1
  172. package/dist/esm/useGestureHandlerPan.native.js +0 -119
  173. package/dist/esm/useGestureHandlerPan.native.js.map +0 -1
  174. package/dist/esm/useKeyboardControllerSheet.mjs +0 -15
  175. package/dist/esm/useKeyboardControllerSheet.mjs.map +0 -1
  176. package/dist/esm/useKeyboardControllerSheet.native.js +0 -88
  177. package/dist/esm/useKeyboardControllerSheet.native.js.map +0 -1
  178. package/dist/esm/useSheet.mjs +0 -4
  179. package/dist/esm/useSheet.mjs.map +0 -1
  180. package/dist/esm/useSheet.native.js +0 -6
  181. package/dist/esm/useSheet.native.js.map +0 -1
  182. package/dist/esm/useSheetController.mjs +0 -15
  183. package/dist/esm/useSheetController.mjs.map +0 -1
  184. package/dist/esm/useSheetController.native.js +0 -15
  185. package/dist/esm/useSheetController.native.js.map +0 -1
  186. package/dist/esm/useSheetOffscreenSize.mjs +0 -28
  187. package/dist/esm/useSheetOffscreenSize.mjs.map +0 -1
  188. package/dist/esm/useSheetOffscreenSize.native.js +0 -35
  189. package/dist/esm/useSheetOffscreenSize.native.js.map +0 -1
  190. package/dist/esm/useSheetOpenState.mjs +0 -26
  191. package/dist/esm/useSheetOpenState.mjs.map +0 -1
  192. package/dist/esm/useSheetOpenState.native.js +0 -30
  193. package/dist/esm/useSheetOpenState.native.js.map +0 -1
  194. package/dist/esm/useSheetProviderProps.mjs +0 -99
  195. package/dist/esm/useSheetProviderProps.mjs.map +0 -1
  196. package/dist/esm/useSheetProviderProps.native.js +0 -116
  197. package/dist/esm/useSheetProviderProps.native.js.map +0 -1
  198. package/dist/esm/useSheetScrollViewGestures.mjs +0 -100
  199. package/dist/esm/useSheetScrollViewGestures.mjs.map +0 -1
  200. package/dist/esm/useSheetScrollViewGestures.native.js +0 -84
  201. package/dist/esm/useSheetScrollViewGestures.native.js.map +0 -1
  202. package/dist/jsx/GestureDetectorWrapper.mjs +0 -25
  203. package/dist/jsx/GestureDetectorWrapper.mjs.map +0 -1
  204. package/dist/jsx/GestureDetectorWrapper.native.js +0 -53
  205. package/dist/jsx/GestureDetectorWrapper.native.js.map +0 -1
  206. package/dist/jsx/GestureSheetContext.mjs +0 -28
  207. package/dist/jsx/GestureSheetContext.mjs.map +0 -1
  208. package/dist/jsx/GestureSheetContext.native.js +0 -56
  209. package/dist/jsx/GestureSheetContext.native.js.map +0 -1
  210. package/dist/jsx/Sheet.mjs +0 -89
  211. package/dist/jsx/Sheet.mjs.map +0 -1
  212. package/dist/jsx/Sheet.native.js +0 -120
  213. package/dist/jsx/Sheet.native.js.map +0 -1
  214. package/dist/jsx/SheetContext.mjs +0 -6
  215. package/dist/jsx/SheetContext.mjs.map +0 -1
  216. package/dist/jsx/SheetContext.native.js +0 -35
  217. package/dist/jsx/SheetContext.native.js.map +0 -1
  218. package/dist/jsx/SheetController.mjs +0 -31
  219. package/dist/jsx/SheetController.mjs.map +0 -1
  220. package/dist/jsx/SheetController.native.js +0 -71
  221. package/dist/jsx/SheetController.native.js.map +0 -1
  222. package/dist/jsx/SheetImplementationCustom.mjs +0 -437
  223. package/dist/jsx/SheetImplementationCustom.mjs.map +0 -1
  224. package/dist/jsx/SheetImplementationCustom.native.js +0 -524
  225. package/dist/jsx/SheetImplementationCustom.native.js.map +0 -1
  226. package/dist/jsx/SheetScrollView.mjs +0 -146
  227. package/dist/jsx/SheetScrollView.mjs.map +0 -1
  228. package/dist/jsx/SheetScrollView.native.js +0 -197
  229. package/dist/jsx/SheetScrollView.native.js.map +0 -1
  230. package/dist/jsx/constants.mjs +0 -6
  231. package/dist/jsx/constants.mjs.map +0 -1
  232. package/dist/jsx/constants.native.js +0 -35
  233. package/dist/jsx/constants.native.js.map +0 -1
  234. package/dist/jsx/contexts.mjs +0 -7
  235. package/dist/jsx/contexts.mjs.map +0 -1
  236. package/dist/jsx/contexts.native.js +0 -45
  237. package/dist/jsx/contexts.native.js.map +0 -1
  238. package/dist/jsx/controller.mjs +0 -4
  239. package/dist/jsx/controller.mjs.map +0 -1
  240. package/dist/jsx/controller.native.js +0 -32
  241. package/dist/jsx/controller.native.js.map +0 -1
  242. package/dist/jsx/createSheet.mjs +0 -168
  243. package/dist/jsx/createSheet.mjs.map +0 -1
  244. package/dist/jsx/createSheet.native.js +0 -208
  245. package/dist/jsx/createSheet.native.js.map +0 -1
  246. package/dist/jsx/gestureState.mjs +0 -13
  247. package/dist/jsx/gestureState.mjs.map +0 -1
  248. package/dist/jsx/gestureState.native.js +0 -42
  249. package/dist/jsx/gestureState.native.js.map +0 -1
  250. package/dist/jsx/helpers.mjs +0 -8
  251. package/dist/jsx/helpers.mjs.map +0 -1
  252. package/dist/jsx/helpers.native.js +0 -35
  253. package/dist/jsx/helpers.native.js.map +0 -1
  254. package/dist/jsx/index.js +0 -12
  255. package/dist/jsx/index.js.map +0 -1
  256. package/dist/jsx/index.mjs +0 -12
  257. package/dist/jsx/index.mjs.map +0 -1
  258. package/dist/jsx/index.native.js +0 -31
  259. package/dist/jsx/index.native.js.map +0 -1
  260. package/dist/jsx/nativeSheet.mjs +0 -63
  261. package/dist/jsx/nativeSheet.mjs.map +0 -1
  262. package/dist/jsx/nativeSheet.native.js +0 -101
  263. package/dist/jsx/nativeSheet.native.js.map +0 -1
  264. package/dist/jsx/setupGestureHandler.mjs +0 -22
  265. package/dist/jsx/setupGestureHandler.mjs.map +0 -1
  266. package/dist/jsx/setupGestureHandler.native.js +0 -50
  267. package/dist/jsx/setupGestureHandler.native.js.map +0 -1
  268. package/dist/jsx/types.mjs +0 -2
  269. package/dist/jsx/types.mjs.map +0 -1
  270. package/dist/jsx/types.native.js +0 -19
  271. package/dist/jsx/types.native.js.map +0 -1
  272. package/dist/jsx/useGestureHandlerPan.mjs +0 -113
  273. package/dist/jsx/useGestureHandlerPan.mjs.map +0 -1
  274. package/dist/jsx/useGestureHandlerPan.native.js +0 -145
  275. package/dist/jsx/useGestureHandlerPan.native.js.map +0 -1
  276. package/dist/jsx/useKeyboardControllerSheet.mjs +0 -15
  277. package/dist/jsx/useKeyboardControllerSheet.mjs.map +0 -1
  278. package/dist/jsx/useKeyboardControllerSheet.native.js +0 -114
  279. package/dist/jsx/useKeyboardControllerSheet.native.js.map +0 -1
  280. package/dist/jsx/useSheet.mjs +0 -4
  281. package/dist/jsx/useSheet.mjs.map +0 -1
  282. package/dist/jsx/useSheet.native.js +0 -32
  283. package/dist/jsx/useSheet.native.js.map +0 -1
  284. package/dist/jsx/useSheetController.mjs +0 -15
  285. package/dist/jsx/useSheetController.mjs.map +0 -1
  286. package/dist/jsx/useSheetController.native.js +0 -53
  287. package/dist/jsx/useSheetController.native.js.map +0 -1
  288. package/dist/jsx/useSheetOffscreenSize.mjs +0 -28
  289. package/dist/jsx/useSheetOffscreenSize.mjs.map +0 -1
  290. package/dist/jsx/useSheetOffscreenSize.native.js +0 -61
  291. package/dist/jsx/useSheetOffscreenSize.native.js.map +0 -1
  292. package/dist/jsx/useSheetOpenState.mjs +0 -26
  293. package/dist/jsx/useSheetOpenState.mjs.map +0 -1
  294. package/dist/jsx/useSheetOpenState.native.js +0 -56
  295. package/dist/jsx/useSheetOpenState.native.js.map +0 -1
  296. package/dist/jsx/useSheetProviderProps.mjs +0 -99
  297. package/dist/jsx/useSheetProviderProps.mjs.map +0 -1
  298. package/dist/jsx/useSheetProviderProps.native.js +0 -153
  299. package/dist/jsx/useSheetProviderProps.native.js.map +0 -1
  300. package/dist/jsx/useSheetScrollViewGestures.mjs +0 -100
  301. package/dist/jsx/useSheetScrollViewGestures.mjs.map +0 -1
  302. package/dist/jsx/useSheetScrollViewGestures.native.js +0 -110
  303. package/dist/jsx/useSheetScrollViewGestures.native.js.map +0 -1
@@ -1,2 +1,2 @@
1
- // compat with tamagui static compiler
1
+ // compat with hanzogui static compiler
2
2
  Object.assign(module.exports, require('../dist/cjs/controller.native.js'))
@@ -1,2 +1,2 @@
1
- // compat with tamagui static compiler
1
+ // compat with hanzogui static compiler
2
2
  Object.assign(module.exports, require('../dist/cjs/controller.native.js'))
package/next.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Current Limitation
4
4
 
5
- The Sheet + ScrollView gesture coordination on native iOS has limitations because Tamagui uses React Native's built-in `PanResponder`, while iOS's `UIScrollView` gesture recognizers fire BEFORE the RN responder system can claim the gesture.
5
+ The Sheet + ScrollView gesture coordination on native iOS has limitations because Hanzogui uses React Native's built-in `PanResponder`, while iOS's `UIScrollView` gesture recognizers fire BEFORE the RN responder system can claim the gesture.
6
6
 
7
7
  This causes:
8
8
 
@@ -20,7 +20,7 @@ Both `gorhom/bottom-sheet` and `react-native-actions-sheet` solve this by using
20
20
  ## Proposed API
21
21
 
22
22
  ```tsx
23
- import { setupGestureHandler } from '@tamagui/sheet'
23
+ import { setupGestureHandler } from '@hanzogui/sheet'
24
24
  import { GestureHandlerRootView } from 'react-native-gesture-handler'
25
25
 
26
26
  // Call once at app startup (optional - falls back to PanResponder)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/sheet",
3
- "version": "3.0.2",
3
+ "version": "7.0.0",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "type": "module",
@@ -51,32 +51,32 @@
51
51
  "access": "public"
52
52
  },
53
53
  "scripts": {
54
- "build": "hanzo-gui-build",
55
- "watch": "hanzo-gui-build --watch",
56
- "clean": "hanzo-gui-build clean"
54
+ "build": "hanzogui-build",
55
+ "watch": "hanzogui-build --watch",
56
+ "clean": "hanzogui-build clean"
57
57
  },
58
58
  "dependencies": {
59
- "@hanzogui/adapt": "3.0.1",
60
- "@hanzogui/animate-presence": "3.0.1",
61
- "@hanzogui/animations-react-native": "3.0.1",
62
- "@hanzogui/compose-refs": "3.0.1",
63
- "@hanzogui/constants": "3.0.1",
64
- "@hanzogui/core": "3.0.1",
65
- "@hanzogui/create-context": "3.0.1",
66
- "@hanzogui/helpers": "3.0.1",
67
- "@hanzogui/native": "3.0.1",
68
- "@hanzogui/portal": "3.0.1",
69
- "@hanzogui/remove-scroll": "3.0.1",
70
- "@hanzogui/scroll-view": "3.0.1",
71
- "@hanzogui/stacks": "3.0.1",
72
- "@hanzogui/use-constant": "3.0.1",
73
- "@hanzogui/use-controllable-state": "3.0.1",
74
- "@hanzogui/use-did-finish-ssr": "3.0.1",
75
- "@hanzogui/use-keyboard-visible": "3.0.1",
76
- "@hanzogui/z-index-stack": "3.0.1"
59
+ "@hanzogui/adapt": "^7.0.0",
60
+ "@hanzogui/animate-presence": "^7.0.0",
61
+ "@hanzogui/animations-react-native": "^7.0.0",
62
+ "@hanzogui/compose-refs": "^7.0.0",
63
+ "@hanzogui/constants": "^7.0.0",
64
+ "@hanzogui/core": "^7.0.0",
65
+ "@hanzogui/create-context": "^7.0.0",
66
+ "@hanzogui/helpers": "^7.0.0",
67
+ "@hanzogui/native": "^7.0.0",
68
+ "@hanzogui/portal": "^7.0.0",
69
+ "@hanzogui/remove-scroll": "^7.0.0",
70
+ "@hanzogui/scroll-view": "^7.0.0",
71
+ "@hanzogui/stacks": "^7.0.0",
72
+ "@hanzogui/use-constant": "^7.0.0",
73
+ "@hanzogui/use-controllable-state": "^7.0.0",
74
+ "@hanzogui/use-did-finish-ssr": "^7.0.0",
75
+ "@hanzogui/use-keyboard-visible": "^7.0.0",
76
+ "@hanzogui/z-index-stack": "^7.0.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@hanzogui/build": "3.0.1",
79
+ "@hanzogui/build": "^7.0.0",
80
80
  "react": ">=19",
81
81
  "react-native": "0.83.2",
82
82
  "react-native-gesture-handler": "~2.30.0"
@@ -93,4 +93,4 @@
93
93
  },
94
94
  "module:jsx": "dist/jsx",
95
95
  "removeSideEffects": true
96
- }
96
+ }
@@ -1,2 +1,2 @@
1
- // compat with tamagui static compiler
1
+ // compat with hanzogui static compiler
2
2
  Object.assign(module.exports, require('../dist/cjs/setupGestureHandler.cjs'))
@@ -1,2 +1,2 @@
1
- // compat with tamagui static compiler
1
+ // compat with hanzogui static compiler
2
2
  Object.assign(module.exports, require('../dist/cjs/setupGestureHandler.cjs'))
package/src/Sheet.tsx CHANGED
@@ -44,7 +44,7 @@ export const Handle = styled(XStack, {
44
44
  } as const,
45
45
 
46
46
  defaultVariants: {
47
- unstyled: process.env.HANZO_GUI_HEADLESS === '1',
47
+ unstyled: process.env.HANZOGUI_HEADLESS === '1',
48
48
  },
49
49
  })
50
50
 
@@ -77,7 +77,7 @@ export const Overlay = styled(YStack, {
77
77
  } as const,
78
78
 
79
79
  defaultVariants: {
80
- unstyled: process.env.HANZO_GUI_HEADLESS === '1',
80
+ unstyled: process.env.HANZOGUI_HEADLESS === '1',
81
81
  },
82
82
  })
83
83
 
@@ -103,7 +103,7 @@ export const Frame = styled(YStack, {
103
103
  } as const,
104
104
 
105
105
  defaultVariants: {
106
- unstyled: process.env.HANZO_GUI_HEADLESS === '1',
106
+ unstyled: process.env.HANZOGUI_HEADLESS === '1',
107
107
  },
108
108
  })
109
109
 
@@ -8,11 +8,13 @@ import { SheetControllerContext } from './useSheetController'
8
8
  export const SheetController = ({
9
9
  children,
10
10
  onOpenChange: onOpenChangeProp,
11
+ onAnimationComplete: onAnimationCompleteProp,
11
12
  open,
12
13
  hidden,
13
14
  disableDrag,
14
15
  }: Partial<SheetControllerContextValue> & { children?: ReactNode }) => {
15
16
  const onOpenChange = useEvent(onOpenChangeProp)
17
+ const onAnimationComplete = useEvent(onAnimationCompleteProp)
16
18
  const id = useId()
17
19
 
18
20
  // track hidden transitions to signal adapt handoff
@@ -31,9 +33,10 @@ export const SheetController = ({
31
33
  hidden,
32
34
  disableDrag,
33
35
  onOpenChange,
36
+ onAnimationComplete,
34
37
  skipNextAnimation,
35
38
  }),
36
- [id, onOpenChange, open, hidden, disableDrag, skipNextAnimation]
39
+ [id, onOpenChange, onAnimationComplete, open, hidden, disableDrag, skipNextAnimation]
37
40
  )
38
41
 
39
42
  return (
@@ -4,7 +4,7 @@ import { useComposedRefs } from '@hanzogui/compose-refs'
4
4
  import { isWeb, useIsomorphicLayoutEffect } from '@hanzogui/constants'
5
5
  import {
6
6
  LayoutMeasurementController,
7
- View as GuiView,
7
+ View as HanzoguiView,
8
8
  useConfiguration,
9
9
  useDidFinishSSR,
10
10
  useEvent,
@@ -224,7 +224,7 @@ export const SheetImplementationCustom = React.forwardRef<View, SheetProps>(
224
224
 
225
225
  const { useAnimatedNumber, useAnimatedNumberStyle, useAnimatedNumberReaction } =
226
226
  animationDriver
227
- const AnimatedView = (animationDriver.View ?? GuiView) as typeof Animated.View
227
+ const AnimatedView = (animationDriver.View ?? HanzoguiView) as typeof Animated.View
228
228
 
229
229
  useIsomorphicLayoutEffect(() => {
230
230
  if (!(sheetInsideSheet && open)) return
@@ -327,10 +327,16 @@ export const SheetImplementationCustom = React.forwardRef<View, SheetProps>(
327
327
  clearTimeout(opacityFallbackTimer.current)
328
328
  opacityFallbackTimer.current = null
329
329
  }
330
- if (!isOpenAnimation && !open) {
330
+ // use openRef (live) not open (stale closure) — if the sheet
331
+ // was reopened before this callback fires (e.g. cancelled close
332
+ // animation), we must not hide it
333
+ if (!isOpenAnimation && !openRef.current) {
331
334
  setOpacity(0)
332
335
  }
333
336
  onAnimationComplete?.({ open: isOpenAnimation })
337
+ // also notify the SheetController so a parent (e.g. Dialog adapt)
338
+ // can hold the sheet's children mounted until the slide-out is done
339
+ controller?.onAnimationComplete?.({ open: isOpenAnimation })
334
340
  }
335
341
 
336
342
  // safety fallback: if animation callback never fires, still hide the sheet
@@ -438,7 +444,7 @@ export const SheetImplementationCustom = React.forwardRef<View, SheetProps>(
438
444
  setIsDragging(val)
439
445
 
440
446
  // make unselectable:
441
- if (process.env.HANZO_GUI_TARGET === 'web') {
447
+ if (process.env.TAMAGUI_TARGET === 'web') {
442
448
  if (!sheetHiddenStyleSheet) {
443
449
  sheetHiddenStyleSheet = document.createElement('style')
444
450
  if (typeof document.head !== 'undefined') {
@@ -673,14 +679,19 @@ export const SheetImplementationCustom = React.forwardRef<View, SheetProps>(
673
679
  setMaxContentSize(next)
674
680
  }, [])
675
681
 
676
- const animatedStyle = useAnimatedNumberStyle(animatedNumber, (val) => {
677
- 'worklet'
678
- const translateY = frameSize === 0 ? hiddenSize : val
682
+ const getAnimatedNumberStyle = React.useCallback(
683
+ (val: number) => {
684
+ 'worklet'
685
+ const translateY = frameSize === 0 ? hiddenSize : val
679
686
 
680
- return {
681
- transform: [{ translateY }],
682
- }
683
- })
687
+ return {
688
+ transform: [{ translateY }],
689
+ }
690
+ },
691
+ [frameSize]
692
+ )
693
+
694
+ const animatedStyle = useAnimatedNumberStyle(animatedNumber, getAnimatedNumberStyle)
684
695
 
685
696
  // we need to set this *after* fully closed to 0, to avoid it overlapping
686
697
  // the page when resizing quickly on web for example
@@ -763,7 +774,7 @@ export const SheetImplementationCustom = React.forwardRef<View, SheetProps>(
763
774
  animatedStyle,
764
775
  ]}
765
776
  >
766
- {/* wrap children with plain RN View for panResponder - gui views no longer handle responder events on web */}
777
+ {/* wrap children with plain RN View for panResponder - hanzogui views no longer handle responder events on web */}
767
778
  {gestureHandlerEnabled && panGesture ? (
768
779
  <GestureDetectorWrapper gesture={panGesture} style={{ flex: 1 }}>
769
780
  {props.children}
@@ -783,7 +794,7 @@ export const SheetImplementationCustom = React.forwardRef<View, SheetProps>(
783
794
  </LayoutMeasurementController>
784
795
  )
785
796
 
786
- if (process.env.HANZO_GUI_TARGET === 'native' && needsPortalRepropagation()) {
797
+ if (process.env.TAMAGUI_TARGET === 'native' && needsPortalRepropagation()) {
787
798
  // TODO alongside sheet scope="" need to pass scope here
788
799
  const adaptContext = useAdaptContext()
789
800
  contents = (
@@ -3,9 +3,9 @@ import { useIsomorphicLayoutEffect } from '@hanzogui/constants'
3
3
  import type {
4
4
  GetProps,
5
5
  ViewProps,
6
- GuiComponent,
7
- GuiComponentExpectingVariants,
8
- GuiElement,
6
+ HanzoguiComponent,
7
+ HanzoguiComponentExpectingVariants,
8
+ HanzoguiElement,
9
9
  } from '@hanzogui/core'
10
10
  import { View } from '@hanzogui/core'
11
11
  import { composeEventHandlers, withStaticProperties } from '@hanzogui/helpers'
@@ -32,12 +32,12 @@ type SharedSheetProps = {
32
32
 
33
33
  type BaseProps = ViewProps & SharedSheetProps
34
34
 
35
- type SheetStyledComponent = GuiComponentExpectingVariants<BaseProps, SharedSheetProps>
35
+ type SheetStyledComponent = HanzoguiComponentExpectingVariants<BaseProps, SharedSheetProps>
36
36
 
37
37
  export function createSheet<
38
- H extends GuiComponent | SheetStyledComponent,
39
- F extends GuiComponent | SheetStyledComponent,
40
- O extends GuiComponent | SheetStyledComponent,
38
+ H extends HanzoguiComponent | SheetStyledComponent,
39
+ F extends HanzoguiComponent | SheetStyledComponent,
40
+ O extends HanzoguiComponent | SheetStyledComponent,
41
41
  >({ Handle, Frame, Overlay }: { Handle: H; Frame: F; Overlay: O }) {
42
42
  const SheetHandle = Handle.styleable<any>(
43
43
  (
@@ -45,7 +45,7 @@ export function createSheet<
45
45
  forwardedRef
46
46
  ) => {
47
47
  const context = useSheetContext(SHEET_HANDLE_NAME, __scopeSheet)
48
- const composedRef = useComposedRefs<GuiElement>(context.handleRef, forwardedRef)
48
+ const composedRef = useComposedRefs<HanzoguiElement>(context.handleRef, forwardedRef)
49
49
 
50
50
  // track if sheet was being dragged to prevent onPress toggle after drag
51
51
  const wasDraggingRef = useRef(false)
@@ -256,7 +256,7 @@ export function createSheet<
256
256
  let SheetImplementation = SheetImplementationCustom
257
257
 
258
258
  if (props.native && Platform.OS === 'ios') {
259
- if (process.env.HANZO_GUI_TARGET === 'native') {
259
+ if (process.env.TAMAGUI_TARGET === 'native') {
260
260
  const impl = getNativeSheet('ios')
261
261
  if (impl) {
262
262
  // @ts-expect-error accepting external sheet implementation
@@ -16,10 +16,10 @@ export interface SetupGestureHandlerConfig {
16
16
 
17
17
  export function setupGestureHandler(config: SetupGestureHandlerConfig): void {
18
18
  const g = globalThis as any
19
- if (g.__gui_sheet_gesture_handler_setup) {
19
+ if (g.__hanzogui_sheet_gesture_handler_setup) {
20
20
  return
21
21
  }
22
- g.__gui_sheet_gesture_handler_setup = true
22
+ g.__hanzogui_sheet_gesture_handler_setup = true
23
23
 
24
24
  const { Gesture, GestureDetector, ScrollView } = config
25
25
 
@@ -22,6 +22,10 @@ export type SheetControllerContextValue = {
22
22
  // hide without "closing" to prevent re-animation when shown again
23
23
  hidden?: boolean
24
24
  onOpenChange?: React.Dispatch<React.SetStateAction<boolean>> | ((val: boolean) => void)
25
+ // fired by the sheet after its open/close animation finishes. used by
26
+ // Dialog adapt to know when it's safe to tear down adapted children
27
+ // without cutting off the slide-out mid-animation.
28
+ onAnimationComplete?: (state: { open: boolean }) => void
25
29
  // when true, the sheet should skip its open animation (used for adapt handoff)
26
30
  skipNextAnimation?: boolean
27
31
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react'
2
- import type { GuiElement } from '@hanzogui/core'
2
+ import type { HanzoguiElement } from '@hanzogui/core'
3
3
  import { useConfiguration } from '@hanzogui/core'
4
4
  import { useConstant } from '@hanzogui/use-constant'
5
5
  import { useControllableState } from '@hanzogui/use-controllable-state'
@@ -18,8 +18,8 @@ export function useSheetProviderProps(
18
18
  onOverlayComponent?: (comp: any) => void
19
19
  } = {}
20
20
  ) {
21
- const handleRef = React.useRef<GuiElement>(null)
22
- const contentRef = React.useRef<GuiElement>(null)
21
+ const handleRef = React.useRef<HanzoguiElement>(null)
22
+ const contentRef = React.useRef<HanzoguiElement>(null)
23
23
  const [frameSize, setFrameSize] = React.useState<number>(0)
24
24
  const [maxContentSize, setMaxContentSize] = React.useState<number>(0)
25
25
  const snapPointsMode = props.snapPointsMode ?? 'percent'
@@ -133,7 +133,7 @@ export function useSheetProviderProps(
133
133
  throw new Error(
134
134
  process.env.NODE_ENV === 'production'
135
135
  ? `❌ 008`
136
- : 'Must set animations in gui.config.ts'
136
+ : 'Must set animations in hanzogui.config.ts'
137
137
  )
138
138
  }
139
139
 
package/types/Sheet.d.ts CHANGED
@@ -1,22 +1,22 @@
1
1
  export { createSheetScope } from './SheetContext';
2
2
  export * from './types';
3
- export declare const Handle: import("@gui/core").GuiComponent<import("@gui/core").TamaDefer, import("@gui/core").GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/core").StackStyleBase, {
3
+ export declare const Handle: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
4
4
  open?: boolean | undefined;
5
5
  unstyled?: boolean | undefined;
6
- elevation?: number | import("@gui/core").SizeTokens | undefined;
6
+ elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
7
7
  fullscreen?: boolean | undefined;
8
- }, import("@gui/core").StaticConfigPublic>;
9
- export declare const Overlay: import("@gui/core").GuiComponent<import("@gui/core").TamaDefer, import("@gui/core").GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/core").StackStyleBase, {
8
+ }, import("@hanzogui/core").StaticConfigPublic>;
9
+ export declare const Overlay: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
10
10
  open?: boolean | undefined;
11
11
  unstyled?: boolean | undefined;
12
- elevation?: number | import("@gui/core").SizeTokens | undefined;
12
+ elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
13
13
  fullscreen?: boolean | undefined;
14
- }, import("@gui/core").StaticConfigPublic>;
15
- export declare const Frame: import("@gui/core").GuiComponent<import("@gui/core").TamaDefer, import("@gui/core").GuiElement, import("@gui/core").RNGuiViewNonStyleProps, import("@gui/core").StackStyleBase, {
14
+ }, import("@hanzogui/core").StaticConfigPublic>;
15
+ export declare const Frame: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
16
16
  unstyled?: boolean | undefined;
17
- elevation?: number | import("@gui/core").SizeTokens | undefined;
17
+ elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
18
18
  fullscreen?: boolean | undefined;
19
- }, import("@gui/core").StaticConfigPublic>;
19
+ }, import("@hanzogui/core").StaticConfigPublic>;
20
20
  export declare const Sheet: import("react").ForwardRefExoticComponent<{
21
21
  open?: boolean;
22
22
  defaultOpen?: boolean;
@@ -31,28 +31,28 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
31
31
  dismissOnSnapToBottom?: boolean;
32
32
  disableRemoveScroll?: boolean;
33
33
  forceRemoveScrollEnabled?: boolean;
34
- transitionConfig?: import("@gui/core").AnimatedNumberStrategy;
34
+ transitionConfig?: import("@hanzogui/core").AnimatedNumberStrategy;
35
35
  preferAdaptParentOpenState?: boolean;
36
36
  unmountChildrenWhenHidden?: boolean;
37
37
  native?: "ios"[] | boolean;
38
- transition?: import("@gui/core").TransitionProp;
38
+ transition?: import("@hanzogui/core").TransitionProp;
39
39
  handleDisableScroll?: boolean;
40
40
  disableDrag?: boolean;
41
41
  modal?: boolean;
42
42
  zIndex?: number;
43
- portalProps?: import("@gui/portal").PortalProps;
43
+ portalProps?: import("@hanzogui/portal").PortalProps;
44
44
  moveOnKeyboardChange?: boolean;
45
45
  containerComponent?: React.ComponentType<any>;
46
46
  onAnimationComplete?: (info: {
47
47
  open: boolean;
48
48
  }) => void;
49
49
  } & {
50
- __scopeSheet?: import("@gui/create-context").Scope<any>;
50
+ __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
51
51
  } & import("react").RefAttributes<import("react-native").View>> & {
52
52
  Controlled: import("react").FunctionComponent<Omit<import("./types").SheetProps, "open" | "onOpenChange"> & import("react").RefAttributes<import("react-native").View>> & {
53
- Frame: import("react").ForwardRefExoticComponent<import("./types").SheetScopedProps<Omit<import("@gui/core").GetFinalProps<import("@gui/core").RNGuiViewNonStyleProps, import("@gui/core").StackStyleBase, {
53
+ Frame: import("react").ForwardRefExoticComponent<import("./types").SheetScopedProps<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
54
54
  unstyled?: boolean | undefined;
55
- elevation?: number | import("@gui/core").SizeTokens | undefined;
55
+ elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
56
56
  fullscreen?: boolean | undefined;
57
57
  }>, keyof {
58
58
  disableHideBottomOverflow?: boolean;
@@ -61,52 +61,52 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
61
61
  disableHideBottomOverflow?: boolean;
62
62
  adjustPaddingForOffscreenContent?: boolean;
63
63
  }>>;
64
- Overlay: import("@gui/core").GuiComponent<Omit<import("@gui/core").StackNonStyleProps & import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase> & import("@gui/core").WithShorthands<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase>> & import("@gui/core").WithPseudoProps<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase> & import("@gui/core").WithShorthands<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase>>> & import("@gui/core").WithMediaProps<import("@gui/core").WithThemeShorthandsAndPseudos<import("@gui/core").StackStyleBase, {}>> & {
64
+ Overlay: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").StackNonStyleProps & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase>> & import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase>>> & import("@hanzogui/core").WithMediaProps<import("@hanzogui/core").WithThemeShorthandsAndPseudos<import("@hanzogui/core").StackStyleBase, {}>> & {
65
65
  open?: boolean;
66
66
  }, "__scopeSheet"> & {
67
- __scopeSheet?: import("@gui/create-context").Scope<any>;
67
+ __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
68
68
  }, any, any, any, {
69
69
  open?: boolean;
70
- }, {}> | import("@gui/core").GuiComponent<Omit<import("@gui/core").StackNonStyleProps & import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase> & import("@gui/core").WithShorthands<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase>> & import("@gui/core").WithPseudoProps<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase> & import("@gui/core").WithShorthands<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase>>> & import("@gui/core").WithMediaProps<import("@gui/core").WithThemeShorthandsAndPseudos<import("@gui/core").StackStyleBase, {}>> & {
70
+ }, {}> | import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").StackNonStyleProps & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase>> & import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase>>> & import("@hanzogui/core").WithMediaProps<import("@hanzogui/core").WithThemeShorthandsAndPseudos<import("@hanzogui/core").StackStyleBase, {}>> & {
71
71
  open?: boolean;
72
72
  }, "__scopeSheet"> & {
73
- __scopeSheet?: import("@gui/create-context").Scope<any>;
73
+ __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
74
74
  }, any, {
75
- __scopeSheet?: import("@gui/create-context").Scope<any>;
75
+ __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
76
76
  }, {}, {}, {}>;
77
- Handle: import("@gui/core").GuiComponent<any, any, any, any, {
77
+ Handle: import("@hanzogui/core").HanzoguiComponent<any, any, any, any, {
78
78
  open?: boolean;
79
- }, {}> | import("@gui/core").GuiComponent<any, any, any, {}, {}, {}>;
80
- ScrollView: import("react").ForwardRefExoticComponent<Omit<import("@gui/core").GuiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@gui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase & {
81
- readonly contentContainerStyle?: Partial<import("@gui/core").InferStyleProps<typeof import("react-native").ScrollView, {
79
+ }, {}> | import("@hanzogui/core").HanzoguiComponent<any, any, any, {}, {}, {}>;
80
+ ScrollView: import("react").ForwardRefExoticComponent<Omit<import("@hanzogui/core").HanzoguiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@hanzogui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
81
+ readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
82
82
  accept: {
83
83
  readonly contentContainerStyle: "style";
84
84
  };
85
85
  }>> | undefined;
86
86
  }> & {
87
87
  fullscreen?: boolean | undefined;
88
- } & import("@gui/core").WithShorthands<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase & {
89
- readonly contentContainerStyle?: Partial<import("@gui/core").InferStyleProps<typeof import("react-native").ScrollView, {
88
+ } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
89
+ readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
90
90
  accept: {
91
91
  readonly contentContainerStyle: "style";
92
92
  };
93
93
  }>> | undefined;
94
- }>> & import("@gui/core").WithPseudoProps<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase & {
95
- readonly contentContainerStyle?: Partial<import("@gui/core").InferStyleProps<typeof import("react-native").ScrollView, {
94
+ }>> & import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
95
+ readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
96
96
  accept: {
97
97
  readonly contentContainerStyle: "style";
98
98
  };
99
99
  }>> | undefined;
100
100
  }> & {
101
101
  fullscreen?: boolean | undefined;
102
- } & import("@gui/core").WithShorthands<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase & {
103
- readonly contentContainerStyle?: Partial<import("@gui/core").InferStyleProps<typeof import("react-native").ScrollView, {
102
+ } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
103
+ readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
104
104
  accept: {
105
105
  readonly contentContainerStyle: "style";
106
106
  };
107
107
  }>> | undefined;
108
- }>>> & import("@gui/core").WithMediaProps<import("@gui/core").WithThemeShorthandsAndPseudos<import("@gui/core").StackStyleBase & {
109
- readonly contentContainerStyle?: Partial<import("@gui/core").InferStyleProps<typeof import("react-native").ScrollView, {
108
+ }>>> & import("@hanzogui/core").WithMediaProps<import("@hanzogui/core").WithThemeShorthandsAndPseudos<import("@hanzogui/core").StackStyleBase & {
109
+ readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
110
110
  accept: {
111
111
  readonly contentContainerStyle: "style";
112
112
  };
@@ -115,9 +115,9 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
115
115
  fullscreen?: boolean | undefined;
116
116
  }>> & import("react").RefAttributes<import("react-native").ScrollView>>;
117
117
  };
118
- Frame: import("react").ForwardRefExoticComponent<import("./types").SheetScopedProps<Omit<import("@gui/core").GetFinalProps<import("@gui/core").RNGuiViewNonStyleProps, import("@gui/core").StackStyleBase, {
118
+ Frame: import("react").ForwardRefExoticComponent<import("./types").SheetScopedProps<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
119
119
  unstyled?: boolean | undefined;
120
- elevation?: number | import("@gui/core").SizeTokens | undefined;
120
+ elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
121
121
  fullscreen?: boolean | undefined;
122
122
  }>, keyof {
123
123
  disableHideBottomOverflow?: boolean;
@@ -126,52 +126,52 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
126
126
  disableHideBottomOverflow?: boolean;
127
127
  adjustPaddingForOffscreenContent?: boolean;
128
128
  }>>;
129
- Overlay: import("@gui/core").GuiComponent<Omit<import("@gui/core").StackNonStyleProps & import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase> & import("@gui/core").WithShorthands<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase>> & import("@gui/core").WithPseudoProps<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase> & import("@gui/core").WithShorthands<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase>>> & import("@gui/core").WithMediaProps<import("@gui/core").WithThemeShorthandsAndPseudos<import("@gui/core").StackStyleBase, {}>> & {
129
+ Overlay: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").StackNonStyleProps & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase>> & import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase>>> & import("@hanzogui/core").WithMediaProps<import("@hanzogui/core").WithThemeShorthandsAndPseudos<import("@hanzogui/core").StackStyleBase, {}>> & {
130
130
  open?: boolean;
131
131
  }, "__scopeSheet"> & {
132
- __scopeSheet?: import("@gui/create-context").Scope<any>;
132
+ __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
133
133
  }, any, any, any, {
134
134
  open?: boolean;
135
- }, {}> | import("@gui/core").GuiComponent<Omit<import("@gui/core").StackNonStyleProps & import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase> & import("@gui/core").WithShorthands<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase>> & import("@gui/core").WithPseudoProps<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase> & import("@gui/core").WithShorthands<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase>>> & import("@gui/core").WithMediaProps<import("@gui/core").WithThemeShorthandsAndPseudos<import("@gui/core").StackStyleBase, {}>> & {
135
+ }, {}> | import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").StackNonStyleProps & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase>> & import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase> & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase>>> & import("@hanzogui/core").WithMediaProps<import("@hanzogui/core").WithThemeShorthandsAndPseudos<import("@hanzogui/core").StackStyleBase, {}>> & {
136
136
  open?: boolean;
137
137
  }, "__scopeSheet"> & {
138
- __scopeSheet?: import("@gui/create-context").Scope<any>;
138
+ __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
139
139
  }, any, {
140
- __scopeSheet?: import("@gui/create-context").Scope<any>;
140
+ __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
141
141
  }, {}, {}, {}>;
142
- Handle: import("@gui/core").GuiComponent<any, any, any, any, {
142
+ Handle: import("@hanzogui/core").HanzoguiComponent<any, any, any, any, {
143
143
  open?: boolean;
144
- }, {}> | import("@gui/core").GuiComponent<any, any, any, {}, {}, {}>;
145
- ScrollView: import("react").ForwardRefExoticComponent<Omit<import("@gui/core").GuiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@gui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase & {
146
- readonly contentContainerStyle?: Partial<import("@gui/core").InferStyleProps<typeof import("react-native").ScrollView, {
144
+ }, {}> | import("@hanzogui/core").HanzoguiComponent<any, any, any, {}, {}, {}>;
145
+ ScrollView: import("react").ForwardRefExoticComponent<Omit<import("@hanzogui/core").HanzoguiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@hanzogui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
146
+ readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
147
147
  accept: {
148
148
  readonly contentContainerStyle: "style";
149
149
  };
150
150
  }>> | undefined;
151
151
  }> & {
152
152
  fullscreen?: boolean | undefined;
153
- } & import("@gui/core").WithShorthands<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase & {
154
- readonly contentContainerStyle?: Partial<import("@gui/core").InferStyleProps<typeof import("react-native").ScrollView, {
153
+ } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
154
+ readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
155
155
  accept: {
156
156
  readonly contentContainerStyle: "style";
157
157
  };
158
158
  }>> | undefined;
159
- }>> & import("@gui/core").WithPseudoProps<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase & {
160
- readonly contentContainerStyle?: Partial<import("@gui/core").InferStyleProps<typeof import("react-native").ScrollView, {
159
+ }>> & import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
160
+ readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
161
161
  accept: {
162
162
  readonly contentContainerStyle: "style";
163
163
  };
164
164
  }>> | undefined;
165
165
  }> & {
166
166
  fullscreen?: boolean | undefined;
167
- } & import("@gui/core").WithShorthands<import("@gui/core").WithThemeValues<import("@gui/core").StackStyleBase & {
168
- readonly contentContainerStyle?: Partial<import("@gui/core").InferStyleProps<typeof import("react-native").ScrollView, {
167
+ } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
168
+ readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
169
169
  accept: {
170
170
  readonly contentContainerStyle: "style";
171
171
  };
172
172
  }>> | undefined;
173
- }>>> & import("@gui/core").WithMediaProps<import("@gui/core").WithThemeShorthandsAndPseudos<import("@gui/core").StackStyleBase & {
174
- readonly contentContainerStyle?: Partial<import("@gui/core").InferStyleProps<typeof import("react-native").ScrollView, {
173
+ }>>> & import("@hanzogui/core").WithMediaProps<import("@hanzogui/core").WithThemeShorthandsAndPseudos<import("@hanzogui/core").StackStyleBase & {
174
+ readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
175
175
  accept: {
176
176
  readonly contentContainerStyle: "style";
177
177
  };