@hanzogui/sheet 2.0.4 → 2.0.7

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 (84) hide show
  1. package/controller/index.d.ts +1 -1
  2. package/dist/cjs/Sheet.cjs +2 -2
  3. package/dist/cjs/Sheet.native.js +2 -2
  4. package/dist/cjs/SheetContext.cjs +1 -1
  5. package/dist/cjs/SheetContext.native.js +1 -1
  6. package/dist/cjs/SheetController.cjs +1 -1
  7. package/dist/cjs/SheetController.native.js +1 -1
  8. package/dist/cjs/SheetImplementationCustom.cjs +7 -7
  9. package/dist/cjs/SheetImplementationCustom.native.js +7 -7
  10. package/dist/cjs/SheetScrollView.cjs +4 -4
  11. package/dist/cjs/SheetScrollView.native.js +4 -4
  12. package/dist/cjs/createSheet.cjs +8 -8
  13. package/dist/cjs/createSheet.native.js +8 -8
  14. package/dist/cjs/gestureState.cjs +1 -1
  15. package/dist/cjs/gestureState.native.js +1 -1
  16. package/dist/cjs/nativeSheet.cjs +1 -1
  17. package/dist/cjs/nativeSheet.native.js +1 -1
  18. package/dist/cjs/setupGestureHandler.cjs +1 -1
  19. package/dist/cjs/setupGestureHandler.native.js +1 -1
  20. package/dist/cjs/useKeyboardControllerSheet.native.js +1 -1
  21. package/dist/cjs/useSheetOpenState.cjs +1 -1
  22. package/dist/cjs/useSheetOpenState.native.js +1 -1
  23. package/dist/cjs/useSheetProviderProps.cjs +3 -3
  24. package/dist/cjs/useSheetProviderProps.native.js +3 -3
  25. package/dist/esm/Sheet.mjs +2 -2
  26. package/dist/esm/Sheet.native.js +2 -2
  27. package/dist/esm/SheetContext.mjs +1 -1
  28. package/dist/esm/SheetContext.native.js +1 -1
  29. package/dist/esm/SheetController.mjs +1 -1
  30. package/dist/esm/SheetController.native.js +1 -1
  31. package/dist/esm/SheetImplementationCustom.mjs +7 -7
  32. package/dist/esm/SheetImplementationCustom.native.js +8 -8
  33. package/dist/esm/SheetScrollView.mjs +4 -4
  34. package/dist/esm/SheetScrollView.native.js +4 -4
  35. package/dist/esm/createSheet.mjs +8 -8
  36. package/dist/esm/createSheet.native.js +8 -8
  37. package/dist/esm/gestureState.mjs +1 -1
  38. package/dist/esm/gestureState.native.js +1 -1
  39. package/dist/esm/nativeSheet.mjs +1 -1
  40. package/dist/esm/nativeSheet.native.js +1 -1
  41. package/dist/esm/setupGestureHandler.mjs +1 -1
  42. package/dist/esm/setupGestureHandler.native.js +1 -1
  43. package/dist/esm/useKeyboardControllerSheet.native.js +1 -1
  44. package/dist/esm/useSheetOpenState.mjs +1 -1
  45. package/dist/esm/useSheetOpenState.native.js +1 -1
  46. package/dist/esm/useSheetProviderProps.mjs +3 -3
  47. package/dist/esm/useSheetProviderProps.native.js +3 -3
  48. package/dist/jsx/Sheet.mjs +2 -2
  49. package/dist/jsx/Sheet.native.js +2 -2
  50. package/dist/jsx/SheetContext.mjs +1 -1
  51. package/dist/jsx/SheetContext.native.js +1 -1
  52. package/dist/jsx/SheetController.mjs +1 -1
  53. package/dist/jsx/SheetController.native.js +1 -1
  54. package/dist/jsx/SheetImplementationCustom.mjs +7 -7
  55. package/dist/jsx/SheetImplementationCustom.native.js +7 -7
  56. package/dist/jsx/SheetScrollView.mjs +4 -4
  57. package/dist/jsx/SheetScrollView.native.js +4 -4
  58. package/dist/jsx/createSheet.mjs +8 -8
  59. package/dist/jsx/createSheet.native.js +8 -8
  60. package/dist/jsx/gestureState.mjs +1 -1
  61. package/dist/jsx/gestureState.native.js +1 -1
  62. package/dist/jsx/nativeSheet.mjs +1 -1
  63. package/dist/jsx/nativeSheet.native.js +1 -1
  64. package/dist/jsx/setupGestureHandler.mjs +1 -1
  65. package/dist/jsx/setupGestureHandler.native.js +1 -1
  66. package/dist/jsx/useKeyboardControllerSheet.native.js +1 -1
  67. package/dist/jsx/useSheetOpenState.mjs +1 -1
  68. package/dist/jsx/useSheetOpenState.native.js +1 -1
  69. package/dist/jsx/useSheetProviderProps.mjs +3 -3
  70. package/dist/jsx/useSheetProviderProps.native.js +3 -3
  71. package/package.json +1 -1
  72. package/src/Sheet.tsx +2 -2
  73. package/src/SheetContext.tsx +1 -1
  74. package/src/SheetController.tsx +1 -1
  75. package/src/SheetImplementationCustom.tsx +8 -8
  76. package/src/SheetScrollView.tsx +5 -5
  77. package/src/createSheet.tsx +9 -9
  78. package/src/gestureState.ts +3 -3
  79. package/src/nativeSheet.tsx +1 -1
  80. package/src/setupGestureHandler.ts +2 -2
  81. package/src/types.tsx +4 -4
  82. package/src/useKeyboardControllerSheet.native.ts +2 -2
  83. package/src/useSheetOpenState.tsx +1 -1
  84. package/src/useSheetProviderProps.tsx +4 -4
@@ -1,4 +1,4 @@
1
- // Type declarations for @hanzo/gui-sheet/controller path resolution
1
+ // Type declarations for @hanzogui/sheet/controller path resolution
2
2
  // Runtime uses exports field -> dist/esm/controller.mjs
3
3
 
4
4
  export { SheetController } from '../src/SheetController'
@@ -28,8 +28,8 @@ __export(Sheet_exports, {
28
28
  createSheetScope: () => import_SheetContext.createSheetScope
29
29
  });
30
30
  module.exports = __toCommonJS(Sheet_exports);
31
- var import_gui_core = require("@hanzo/gui-core"),
32
- import_gui_stacks = require("@hanzo/gui-stacks"),
31
+ var import_gui_core = require("@hanzogui/core"),
32
+ import_gui_stacks = require("@hanzogui/stacks"),
33
33
  import_constants = require("./constants.cjs"),
34
34
  import_createSheet = require("./createSheet.cjs"),
35
35
  import_SheetContext = require("./SheetContext.cjs");
@@ -30,8 +30,8 @@ __export(Sheet_exports, {
30
30
  createSheetScope: () => import_SheetContext.createSheetScope
31
31
  });
32
32
  module.exports = __toCommonJS(Sheet_exports);
33
- var import_gui_core = require("@hanzo/gui-core"),
34
- import_gui_stacks = require("@hanzo/gui-stacks"),
33
+ var import_gui_core = require("@hanzogui/core"),
34
+ import_gui_stacks = require("@hanzogui/stacks"),
35
35
  import_constants = require("./constants.native.js"),
36
36
  import_createSheet = require("./createSheet.native.js"),
37
37
  import_SheetContext = require("./SheetContext.native.js");
@@ -26,7 +26,7 @@ __export(SheetContext_exports, {
26
26
  useSheetContext: () => useSheetContext
27
27
  });
28
28
  module.exports = __toCommonJS(SheetContext_exports);
29
- var import_gui_create_context = require("@hanzo/gui-create-context"),
29
+ var import_gui_create_context = require("@hanzogui/create-context"),
30
30
  import_constants = require("./constants.cjs");
31
31
  const [createSheetContext, createSheetScope] = (0, import_gui_create_context.createContextScope)(import_constants.SHEET_NAME),
32
32
  [SheetProvider, useSheetContext] = createSheetContext(import_constants.SHEET_NAME, {});
@@ -28,7 +28,7 @@ __export(SheetContext_exports, {
28
28
  useSheetContext: () => useSheetContext
29
29
  });
30
30
  module.exports = __toCommonJS(SheetContext_exports);
31
- var import_gui_create_context = require("@hanzo/gui-create-context"),
31
+ var import_gui_create_context = require("@hanzogui/create-context"),
32
32
  import_constants = require("./constants.native.js"),
33
33
  [createSheetContext, createSheetScope] = (0, import_gui_create_context.createContextScope)(import_constants.SHEET_NAME),
34
34
  [SheetProvider, useSheetContext] = createSheetContext(import_constants.SHEET_NAME, {});
@@ -35,7 +35,7 @@ __export(SheetController_exports, {
35
35
  });
36
36
  module.exports = __toCommonJS(SheetController_exports);
37
37
  var import_react = __toESM(require("react"), 1),
38
- import_gui_core = require("@hanzo/gui-core"),
38
+ import_gui_core = require("@hanzogui/core"),
39
39
  import_useSheetController = require("./useSheetController.cjs"),
40
40
  import_jsx_runtime = require("react/jsx-runtime");
41
41
  const SheetController = ({
@@ -38,7 +38,7 @@ __export(SheetController_exports, {
38
38
  module.exports = __toCommonJS(SheetController_exports);
39
39
  var import_jsx_runtime = require("react/jsx-runtime"),
40
40
  import_react = __toESM(require("react"), 1),
41
- import_gui_core = require("@hanzo/gui-core"),
41
+ import_gui_core = require("@hanzogui/core"),
42
42
  import_useSheetController = require("./useSheetController.native.js"),
43
43
  SheetController = function (param) {
44
44
  var {
@@ -34,13 +34,13 @@ __export(SheetImplementationCustom_exports, {
34
34
  SheetImplementationCustom: () => SheetImplementationCustom
35
35
  });
36
36
  module.exports = __toCommonJS(SheetImplementationCustom_exports);
37
- var import_gui_adapt = require("@hanzo/gui-adapt"),
38
- import_gui_animate_presence = require("@hanzo/gui-animate-presence"),
39
- import_gui_compose_refs = require("@hanzo/gui-compose-refs"),
40
- import_gui_constants = require("@hanzo/gui-constants"),
41
- import_gui_core = require("@hanzo/gui-core"),
42
- import_gui_native = require("@hanzo/gui-native"),
43
- import_gui_portal = require("@hanzo/gui-portal"),
37
+ var import_gui_adapt = require("@hanzogui/adapt"),
38
+ import_gui_animate_presence = require("@hanzogui/animate-presence"),
39
+ import_gui_compose_refs = require("@hanzogui/compose-refs"),
40
+ import_gui_constants = require("@hanzogui/constants"),
41
+ import_gui_core = require("@hanzogui/core"),
42
+ import_gui_native = require("@hanzogui/native"),
43
+ import_gui_portal = require("@hanzogui/portal"),
44
44
  import_react = __toESM(require("react"), 1),
45
45
  import_react_native = require("react-native-web"),
46
46
  import_contexts = require("./contexts.cjs"),
@@ -37,13 +37,13 @@ __export(SheetImplementationCustom_exports, {
37
37
  });
38
38
  module.exports = __toCommonJS(SheetImplementationCustom_exports);
39
39
  var import_jsx_runtime = require("react/jsx-runtime"),
40
- import_gui_adapt = require("@hanzo/gui-adapt"),
41
- import_gui_animate_presence = require("@hanzo/gui-animate-presence"),
42
- import_gui_compose_refs = require("@hanzo/gui-compose-refs"),
43
- import_gui_constants = require("@hanzo/gui-constants"),
44
- import_gui_core = require("@hanzo/gui-core"),
45
- import_gui_native = require("@hanzo/gui-native"),
46
- import_gui_portal = require("@hanzo/gui-portal"),
40
+ import_gui_adapt = require("@hanzogui/adapt"),
41
+ import_gui_animate_presence = require("@hanzogui/animate-presence"),
42
+ import_gui_compose_refs = require("@hanzogui/compose-refs"),
43
+ import_gui_constants = require("@hanzogui/constants"),
44
+ import_gui_core = require("@hanzogui/core"),
45
+ import_gui_native = require("@hanzogui/native"),
46
+ import_gui_portal = require("@hanzogui/portal"),
47
47
  import_react = __toESM(require("react"), 1),
48
48
  import_react_native = require("react-native"),
49
49
  import_contexts = require("./contexts.native.js"),
@@ -34,10 +34,10 @@ __export(SheetScrollView_exports, {
34
34
  SheetScrollView: () => SheetScrollView
35
35
  });
36
36
  module.exports = __toCommonJS(SheetScrollView_exports);
37
- var import_gui_compose_refs = require("@hanzo/gui-compose-refs"),
38
- import_gui_core = require("@hanzo/gui-core"),
39
- import_gui_scroll_view = require("@hanzo/gui-scroll-view"),
40
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
37
+ var import_gui_compose_refs = require("@hanzogui/compose-refs"),
38
+ import_gui_core = require("@hanzogui/core"),
39
+ import_gui_scroll_view = require("@hanzogui/scroll-view"),
40
+ import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
41
41
  import_react = __toESM(require("react"), 1),
42
42
  import_GestureSheetContext = require("./GestureSheetContext.cjs"),
43
43
  import_gestureState = require("./gestureState.cjs"),
@@ -37,10 +37,10 @@ __export(SheetScrollView_exports, {
37
37
  });
38
38
  module.exports = __toCommonJS(SheetScrollView_exports);
39
39
  var import_jsx_runtime = require("react/jsx-runtime"),
40
- import_gui_compose_refs = require("@hanzo/gui-compose-refs"),
41
- import_gui_core = require("@hanzo/gui-core"),
42
- import_gui_scroll_view = require("@hanzo/gui-scroll-view"),
43
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
40
+ import_gui_compose_refs = require("@hanzogui/compose-refs"),
41
+ import_gui_core = require("@hanzogui/core"),
42
+ import_gui_scroll_view = require("@hanzogui/scroll-view"),
43
+ import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
44
44
  import_react = __toESM(require("react"), 1),
45
45
  import_GestureSheetContext = require("./GestureSheetContext.native.js"),
46
46
  import_gestureState = require("./gestureState.native.js"),
@@ -23,14 +23,14 @@ __export(createSheet_exports, {
23
23
  createSheet: () => createSheet
24
24
  });
25
25
  module.exports = __toCommonJS(createSheet_exports);
26
- var import_gui_compose_refs = require("@hanzo/gui-compose-refs"),
27
- import_gui_constants = require("@hanzo/gui-constants"),
28
- import_gui_core = require("@hanzo/gui-core"),
29
- import_gui_helpers = require("@hanzo/gui-helpers"),
30
- import_gui_portal = require("@hanzo/gui-portal"),
31
- import_gui_remove_scroll = require("@hanzo/gui-remove-scroll"),
32
- import_gui_use_did_finish_ssr = require("@hanzo/gui-use-did-finish-ssr"),
33
- import_gui_z_index_stack = require("@hanzo/gui-z-index-stack"),
26
+ var import_gui_compose_refs = require("@hanzogui/compose-refs"),
27
+ import_gui_constants = require("@hanzogui/constants"),
28
+ import_gui_core = require("@hanzogui/core"),
29
+ import_gui_helpers = require("@hanzogui/helpers"),
30
+ import_gui_portal = require("@hanzogui/portal"),
31
+ import_gui_remove_scroll = require("@hanzogui/remove-scroll"),
32
+ import_gui_use_did_finish_ssr = require("@hanzogui/use-did-finish-ssr"),
33
+ import_gui_z_index_stack = require("@hanzogui/z-index-stack"),
34
34
  import_react = require("react"),
35
35
  import_react_native = require("react-native-web"),
36
36
  import_constants = require("./constants.cjs"),
@@ -26,14 +26,14 @@ __export(createSheet_exports, {
26
26
  });
27
27
  module.exports = __toCommonJS(createSheet_exports);
28
28
  var import_jsx_runtime = require("react/jsx-runtime"),
29
- import_gui_compose_refs = require("@hanzo/gui-compose-refs"),
30
- import_gui_constants = require("@hanzo/gui-constants"),
31
- import_gui_core = require("@hanzo/gui-core"),
32
- import_gui_helpers = require("@hanzo/gui-helpers"),
33
- import_gui_portal = require("@hanzo/gui-portal"),
34
- import_gui_remove_scroll = require("@hanzo/gui-remove-scroll"),
35
- import_gui_use_did_finish_ssr = require("@hanzo/gui-use-did-finish-ssr"),
36
- import_gui_z_index_stack = require("@hanzo/gui-z-index-stack"),
29
+ import_gui_compose_refs = require("@hanzogui/compose-refs"),
30
+ import_gui_constants = require("@hanzogui/constants"),
31
+ import_gui_core = require("@hanzogui/core"),
32
+ import_gui_helpers = require("@hanzogui/helpers"),
33
+ import_gui_portal = require("@hanzogui/portal"),
34
+ import_gui_remove_scroll = require("@hanzogui/remove-scroll"),
35
+ import_gui_use_did_finish_ssr = require("@hanzogui/use-did-finish-ssr"),
36
+ import_gui_z_index_stack = require("@hanzogui/z-index-stack"),
37
37
  import_react = require("react"),
38
38
  import_react_native = require("react-native"),
39
39
  import_constants = require("./constants.native.js"),
@@ -26,7 +26,7 @@ __export(gestureState_exports, {
26
26
  setGestureState: () => setGestureState
27
27
  });
28
28
  module.exports = __toCommonJS(gestureState_exports);
29
- var import_gui_native = require("@hanzo/gui-native");
29
+ var import_gui_native = require("@hanzogui/native");
30
30
  function isGestureHandlerEnabled() {
31
31
  return (0, import_gui_native.getGestureHandler)().isEnabled;
32
32
  }
@@ -28,7 +28,7 @@ __export(gestureState_exports, {
28
28
  setGestureState: () => setGestureState
29
29
  });
30
30
  module.exports = __toCommonJS(gestureState_exports);
31
- var import_gui_native = require("@hanzo/gui-native");
31
+ var import_gui_native = require("@hanzogui/native");
32
32
  function isGestureHandlerEnabled() {
33
33
  return (0, import_gui_native.getGestureHandler)().isEnabled;
34
34
  }
@@ -24,7 +24,7 @@ __export(nativeSheet_exports, {
24
24
  setupNativeSheet: () => setupNativeSheet
25
25
  });
26
26
  module.exports = __toCommonJS(nativeSheet_exports);
27
- var import_gui_stacks = require("@hanzo/gui-stacks"),
27
+ var import_gui_stacks = require("@hanzogui/stacks"),
28
28
  import_react = require("react"),
29
29
  import_react_native = require("react-native-web"),
30
30
  import_SheetContext = require("./SheetContext.cjs"),
@@ -27,7 +27,7 @@ __export(nativeSheet_exports, {
27
27
  });
28
28
  module.exports = __toCommonJS(nativeSheet_exports);
29
29
  var import_jsx_runtime = require("react/jsx-runtime"),
30
- import_gui_stacks = require("@hanzo/gui-stacks"),
30
+ import_gui_stacks = require("@hanzogui/stacks"),
31
31
  import_react = require("react"),
32
32
  import_react_native = require("react-native"),
33
33
  import_SheetContext = require("./SheetContext.native.js"),
@@ -24,7 +24,7 @@ __export(setupGestureHandler_exports, {
24
24
  setupGestureHandler: () => setupGestureHandler
25
25
  });
26
26
  module.exports = __toCommonJS(setupGestureHandler_exports);
27
- var import_gui_native = require("@hanzo/gui-native");
27
+ var import_gui_native = require("@hanzogui/native");
28
28
  function isGestureHandlerEnabled() {
29
29
  return (0, import_gui_native.getGestureHandler)().isEnabled;
30
30
  }
@@ -26,7 +26,7 @@ __export(setupGestureHandler_exports, {
26
26
  setupGestureHandler: () => setupGestureHandler
27
27
  });
28
28
  module.exports = __toCommonJS(setupGestureHandler_exports);
29
- var import_gui_native = require("@hanzo/gui-native");
29
+ var import_gui_native = require("@hanzogui/native");
30
30
  function isGestureHandlerEnabled() {
31
31
  return (0, import_gui_native.getGestureHandler)().isEnabled;
32
32
  }
@@ -34,7 +34,7 @@ var import_react = require("react"),
34
34
  return {};
35
35
  };
36
36
  try {
37
- var nativeModule = require("@hanzo/gui-native");
37
+ var nativeModule = require("@hanzogui/native");
38
38
  isKeyboardControllerEnabled = nativeModule.isKeyboardControllerEnabled, getKeyboardControllerState = nativeModule.getKeyboardControllerState;
39
39
  } catch {}
40
40
  function useKeyboardControllerSheet(options) {
@@ -23,7 +23,7 @@ __export(useSheetOpenState_exports, {
23
23
  useSheetOpenState: () => useSheetOpenState
24
24
  });
25
25
  module.exports = __toCommonJS(useSheetOpenState_exports);
26
- var import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
26
+ var import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
27
27
  import_useSheetController = require("./useSheetController.cjs");
28
28
  const useSheetOpenState = props => {
29
29
  const {
@@ -25,7 +25,7 @@ __export(useSheetOpenState_exports, {
25
25
  useSheetOpenState: () => useSheetOpenState
26
26
  });
27
27
  module.exports = __toCommonJS(useSheetOpenState_exports);
28
- var import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
28
+ var import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
29
29
  import_useSheetController = require("./useSheetController.native.js"),
30
30
  useSheetOpenState = function (props) {
31
31
  var {
@@ -35,9 +35,9 @@ __export(useSheetProviderProps_exports, {
35
35
  });
36
36
  module.exports = __toCommonJS(useSheetProviderProps_exports);
37
37
  var import_react = __toESM(require("react"), 1),
38
- import_gui_core = require("@hanzo/gui-core"),
39
- import_gui_use_constant = require("@hanzo/gui-use-constant"),
40
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state");
38
+ import_gui_core = require("@hanzogui/core"),
39
+ import_gui_use_constant = require("@hanzogui/use-constant"),
40
+ import_gui_use_controllable_state = require("@hanzogui/use-controllable-state");
41
41
  function useSheetProviderProps(props, state, options = {}) {
42
42
  const handleRef = import_react.default.useRef(null),
43
43
  contentRef = import_react.default.useRef(null),
@@ -37,9 +37,9 @@ __export(useSheetProviderProps_exports, {
37
37
  });
38
38
  module.exports = __toCommonJS(useSheetProviderProps_exports);
39
39
  var import_react = __toESM(require("react"), 1),
40
- import_gui_core = require("@hanzo/gui-core"),
41
- import_gui_use_constant = require("@hanzo/gui-use-constant"),
42
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state");
40
+ import_gui_core = require("@hanzogui/core"),
41
+ import_gui_use_constant = require("@hanzogui/use-constant"),
42
+ import_gui_use_controllable_state = require("@hanzogui/use-controllable-state");
43
43
  function useSheetProviderProps(props, state) {
44
44
  var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {},
45
45
  handleRef = import_react.default.useRef(null),
@@ -1,5 +1,5 @@
1
- import { styled } from "@hanzo/gui-core";
2
- import { XStack, YStack } from "@hanzo/gui-stacks";
1
+ import { styled } from "@hanzogui/core";
2
+ import { XStack, YStack } from "@hanzogui/stacks";
3
3
  import { SHEET_HANDLE_NAME, SHEET_NAME, SHEET_OVERLAY_NAME } from "./constants.mjs";
4
4
  import { createSheet } from "./createSheet.mjs";
5
5
  import { createSheetScope } from "./SheetContext.mjs";
@@ -1,5 +1,5 @@
1
- import { styled } from "@hanzo/gui-core";
2
- import { XStack, YStack } from "@hanzo/gui-stacks";
1
+ import { styled } from "@hanzogui/core";
2
+ import { XStack, YStack } from "@hanzogui/stacks";
3
3
  import { SHEET_HANDLE_NAME, SHEET_NAME, SHEET_OVERLAY_NAME } from "./constants.native.js";
4
4
  import { createSheet } from "./createSheet.native.js";
5
5
  import { createSheetScope } from "./SheetContext.native.js";
@@ -1,4 +1,4 @@
1
- import { createContextScope } from "@hanzo/gui-create-context";
1
+ import { createContextScope } from "@hanzogui/create-context";
2
2
  import { SHEET_NAME } from "./constants.mjs";
3
3
  const [createSheetContext, createSheetScope] = createContextScope(SHEET_NAME),
4
4
  [SheetProvider, useSheetContext] = createSheetContext(SHEET_NAME, {});
@@ -1,4 +1,4 @@
1
- import { createContextScope } from "@hanzo/gui-create-context";
1
+ import { createContextScope } from "@hanzogui/create-context";
2
2
  import { SHEET_NAME } from "./constants.native.js";
3
3
  var [createSheetContext, createSheetScope] = createContextScope(SHEET_NAME),
4
4
  [SheetProvider, useSheetContext] = createSheetContext(SHEET_NAME, {});
@@ -1,5 +1,5 @@
1
1
  import React, { useId, useRef } from "react";
2
- import { useEvent } from "@hanzo/gui-core";
2
+ import { useEvent } from "@hanzogui/core";
3
3
  import { SheetControllerContext } from "./useSheetController.mjs";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const SheetController = ({
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import React, { useId, useRef } from "react";
3
- import { useEvent } from "@hanzo/gui-core";
3
+ import { useEvent } from "@hanzogui/core";
4
4
  import { SheetControllerContext } from "./useSheetController.native.js";
5
5
  var SheetController = function (param) {
6
6
  var {
@@ -1,9 +1,9 @@
1
- import { AnimatePresence } from "@hanzo/gui-animate-presence";
2
- import { useComposedRefs } from "@hanzo/gui-compose-refs";
3
- import { isWeb, useIsomorphicLayoutEffect } from "@hanzo/gui-constants";
4
- import { LayoutMeasurementController, View as TamaguiView, useConfiguration, useDidFinishSSR, useEvent, useThemeName } from "@hanzo/gui-core";
5
- import { getSafeArea } from "@hanzo/gui-native";
6
- import { needsPortalRepropagation, Portal } from "@hanzo/gui-portal";
1
+ import { AnimatePresence } from "@hanzogui/animate-presence";
2
+ import { useComposedRefs } from "@hanzogui/compose-refs";
3
+ import { isWeb, useIsomorphicLayoutEffect } from "@hanzogui/constants";
4
+ import { LayoutMeasurementController, View as GuiView, useConfiguration, useDidFinishSSR, useEvent, useThemeName } from "@hanzogui/core";
5
+ import { getSafeArea } from "@hanzogui/native";
6
+ import { needsPortalRepropagation, Portal } from "@hanzogui/portal";
7
7
  import React, { useState } from "react";
8
8
  import { Dimensions, PanResponder, View } from "react-native-web";
9
9
  import { ParentSheetContext, SheetInsideSheetContext } from "./contexts.mjs";
@@ -116,7 +116,7 @@ const relativeDimensionTo = isWeb ? "window" : "screen",
116
116
  useAnimatedNumberStyle,
117
117
  useAnimatedNumberReaction
118
118
  } = animationDriver,
119
- AnimatedView = animationDriver.View ?? TamaguiView;
119
+ AnimatedView = animationDriver.View ?? GuiView;
120
120
  useIsomorphicLayoutEffect(() => {
121
121
  if (sheetInsideSheet && open) return sheetInsideSheet(!0), () => {
122
122
  sheetInsideSheet(!1);
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ProvideAdaptContext, useAdaptContext } from "@hanzo/gui-adapt";
3
- import { AnimatePresence } from "@hanzo/gui-animate-presence";
4
- import { useComposedRefs } from "@hanzo/gui-compose-refs";
5
- import { isWeb, useIsomorphicLayoutEffect } from "@hanzo/gui-constants";
6
- import { LayoutMeasurementController, View as TamaguiView, useConfiguration, useDidFinishSSR, useEvent, useThemeName } from "@hanzo/gui-core";
7
- import { getSafeArea } from "@hanzo/gui-native";
8
- import { needsPortalRepropagation, Portal } from "@hanzo/gui-portal";
2
+ import { ProvideAdaptContext, useAdaptContext } from "@hanzogui/adapt";
3
+ import { AnimatePresence } from "@hanzogui/animate-presence";
4
+ import { useComposedRefs } from "@hanzogui/compose-refs";
5
+ import { isWeb, useIsomorphicLayoutEffect } from "@hanzogui/constants";
6
+ import { LayoutMeasurementController, View as GuiView, useConfiguration, useDidFinishSSR, useEvent, useThemeName } from "@hanzogui/core";
7
+ import { getSafeArea } from "@hanzogui/native";
8
+ import { needsPortalRepropagation, Portal } from "@hanzogui/portal";
9
9
  import React, { useState } from "react";
10
10
  import { Dimensions, PanResponder, View } from "react-native";
11
11
  import { ParentSheetContext, SheetInsideSheetContext } from "./contexts.native.js";
@@ -124,7 +124,7 @@ var relativeDimensionTo = isWeb ? "window" : "screen",
124
124
  useAnimatedNumberReaction
125
125
  } = animationDriver,
126
126
  _animationDriver_View,
127
- AnimatedView = (_animationDriver_View = animationDriver.View) !== null && _animationDriver_View !== void 0 ? _animationDriver_View : TamaguiView;
127
+ AnimatedView = (_animationDriver_View = animationDriver.View) !== null && _animationDriver_View !== void 0 ? _animationDriver_View : GuiView;
128
128
  useIsomorphicLayoutEffect(function () {
129
129
  if (sheetInsideSheet && open) return sheetInsideSheet(!0), function () {
130
130
  sheetInsideSheet(!1);
@@ -1,7 +1,7 @@
1
- import { composeRefs } from "@hanzo/gui-compose-refs";
2
- import { View } from "@hanzo/gui-core";
3
- import { ScrollView } from "@hanzo/gui-scroll-view";
4
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
1
+ import { composeRefs } from "@hanzogui/compose-refs";
2
+ import { View } from "@hanzogui/core";
3
+ import { ScrollView } from "@hanzogui/scroll-view";
4
+ import { useControllableState } from "@hanzogui/use-controllable-state";
5
5
  import React, { useEffect, useRef, useState } from "react";
6
6
  import { useGestureSheetContext } from "./GestureSheetContext.mjs";
7
7
  import { getGestureHandlerState, isGestureHandlerEnabled } from "./gestureState.mjs";
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { composeRefs } from "@hanzo/gui-compose-refs";
3
- import { View } from "@hanzo/gui-core";
4
- import { ScrollView } from "@hanzo/gui-scroll-view";
5
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
2
+ import { composeRefs } from "@hanzogui/compose-refs";
3
+ import { View } from "@hanzogui/core";
4
+ import { ScrollView } from "@hanzogui/scroll-view";
5
+ import { useControllableState } from "@hanzogui/use-controllable-state";
6
6
  import React, { useEffect, useRef, useState } from "react";
7
7
  import { useGestureSheetContext } from "./GestureSheetContext.native.js";
8
8
  import { getGestureHandlerState, isGestureHandlerEnabled } from "./gestureState.native.js";
@@ -1,11 +1,11 @@
1
- import { useComposedRefs } from "@hanzo/gui-compose-refs";
2
- import { useIsomorphicLayoutEffect } from "@hanzo/gui-constants";
3
- import { View } from "@hanzo/gui-core";
4
- import { composeEventHandlers, withStaticProperties } from "@hanzo/gui-helpers";
5
- import { resolveViewZIndex } from "@hanzo/gui-portal";
6
- import { RemoveScroll } from "@hanzo/gui-remove-scroll";
7
- import { useDidFinishSSR } from "@hanzo/gui-use-did-finish-ssr";
8
- import { StackZIndexContext } from "@hanzo/gui-z-index-stack";
1
+ import { useComposedRefs } from "@hanzogui/compose-refs";
2
+ import { useIsomorphicLayoutEffect } from "@hanzogui/constants";
3
+ import { View } from "@hanzogui/core";
4
+ import { composeEventHandlers, withStaticProperties } from "@hanzogui/helpers";
5
+ import { resolveViewZIndex } from "@hanzogui/portal";
6
+ import { RemoveScroll } from "@hanzogui/remove-scroll";
7
+ import { useDidFinishSSR } from "@hanzogui/use-did-finish-ssr";
8
+ import { StackZIndexContext } from "@hanzogui/z-index-stack";
9
9
  import { forwardRef, useMemo, useEffect, useRef } from "react";
10
10
  import { Platform } from "react-native-web";
11
11
  import { SHEET_HANDLE_NAME, SHEET_NAME, SHEET_OVERLAY_NAME } from "./constants.mjs";
@@ -1,12 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { useComposedRefs } from "@hanzo/gui-compose-refs";
3
- import { useIsomorphicLayoutEffect } from "@hanzo/gui-constants";
4
- import { View } from "@hanzo/gui-core";
5
- import { composeEventHandlers, withStaticProperties } from "@hanzo/gui-helpers";
6
- import { resolveViewZIndex } from "@hanzo/gui-portal";
7
- import { RemoveScroll } from "@hanzo/gui-remove-scroll";
8
- import { useDidFinishSSR } from "@hanzo/gui-use-did-finish-ssr";
9
- import { StackZIndexContext } from "@hanzo/gui-z-index-stack";
2
+ import { useComposedRefs } from "@hanzogui/compose-refs";
3
+ import { useIsomorphicLayoutEffect } from "@hanzogui/constants";
4
+ import { View } from "@hanzogui/core";
5
+ import { composeEventHandlers, withStaticProperties } from "@hanzogui/helpers";
6
+ import { resolveViewZIndex } from "@hanzogui/portal";
7
+ import { RemoveScroll } from "@hanzogui/remove-scroll";
8
+ import { useDidFinishSSR } from "@hanzogui/use-did-finish-ssr";
9
+ import { StackZIndexContext } from "@hanzogui/z-index-stack";
10
10
  import { forwardRef, useMemo, useEffect, useRef } from "react";
11
11
  import { Platform } from "react-native";
12
12
  import { SHEET_HANDLE_NAME, SHEET_NAME, SHEET_OVERLAY_NAME } from "./constants.native.js";
@@ -1,4 +1,4 @@
1
- import { getGestureHandler } from "@hanzo/gui-native";
1
+ import { getGestureHandler } from "@hanzogui/native";
2
2
  function isGestureHandlerEnabled() {
3
3
  return getGestureHandler().isEnabled;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { getGestureHandler } from "@hanzo/gui-native";
1
+ import { getGestureHandler } from "@hanzogui/native";
2
2
  function isGestureHandlerEnabled() {
3
3
  return getGestureHandler().isEnabled;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { YStack } from "@hanzo/gui-stacks";
1
+ import { YStack } from "@hanzogui/stacks";
2
2
  import { useEffect, useRef } from "react";
3
3
  import { View } from "react-native-web";
4
4
  import { SheetProvider } from "./SheetContext.mjs";
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { YStack } from "@hanzo/gui-stacks";
2
+ import { YStack } from "@hanzogui/stacks";
3
3
  import { useEffect, useRef } from "react";
4
4
  import { View } from "react-native";
5
5
  import { SheetProvider } from "./SheetContext.native.js";
@@ -1,4 +1,4 @@
1
- import { getGestureHandler } from "@hanzo/gui-native";
1
+ import { getGestureHandler } from "@hanzogui/native";
2
2
  function isGestureHandlerEnabled() {
3
3
  return getGestureHandler().isEnabled;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { getGestureHandler } from "@hanzo/gui-native";
1
+ import { getGestureHandler } from "@hanzogui/native";
2
2
  function isGestureHandlerEnabled() {
3
3
  return getGestureHandler().isEnabled;
4
4
  }
@@ -7,7 +7,7 @@ var isKeyboardControllerEnabled = function () {
7
7
  return {};
8
8
  };
9
9
  try {
10
- var nativeModule = require("@hanzo/gui-native");
10
+ var nativeModule = require("@hanzogui/native");
11
11
  isKeyboardControllerEnabled = nativeModule.isKeyboardControllerEnabled, getKeyboardControllerState = nativeModule.getKeyboardControllerState;
12
12
  } catch {}
13
13
  function useKeyboardControllerSheet(options) {
@@ -1,4 +1,4 @@
1
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
1
+ import { useControllableState } from "@hanzogui/use-controllable-state";
2
2
  import { useSheetController } from "./useSheetController.mjs";
3
3
  const useSheetOpenState = props => {
4
4
  const {
@@ -1,4 +1,4 @@
1
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
1
+ import { useControllableState } from "@hanzogui/use-controllable-state";
2
2
  import { useSheetController } from "./useSheetController.native.js";
3
3
  var useSheetOpenState = function (props) {
4
4
  var {
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
- import { useConfiguration } from "@hanzo/gui-core";
3
- import { useConstant } from "@hanzo/gui-use-constant";
4
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
2
+ import { useConfiguration } from "@hanzogui/core";
3
+ import { useConstant } from "@hanzogui/use-constant";
4
+ import { useControllableState } from "@hanzogui/use-controllable-state";
5
5
  function useSheetProviderProps(props, state, options = {}) {
6
6
  const handleRef = React.useRef(null),
7
7
  contentRef = React.useRef(null),
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
- import { useConfiguration } from "@hanzo/gui-core";
3
- import { useConstant } from "@hanzo/gui-use-constant";
4
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
2
+ import { useConfiguration } from "@hanzogui/core";
3
+ import { useConstant } from "@hanzogui/use-constant";
4
+ import { useControllableState } from "@hanzogui/use-controllable-state";
5
5
  function useSheetProviderProps(props, state) {
6
6
  var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {},
7
7
  handleRef = React.useRef(null),
@@ -1,5 +1,5 @@
1
- import { styled } from "@hanzo/gui-core";
2
- import { XStack, YStack } from "@hanzo/gui-stacks";
1
+ import { styled } from "@hanzogui/core";
2
+ import { XStack, YStack } from "@hanzogui/stacks";
3
3
  import { SHEET_HANDLE_NAME, SHEET_NAME, SHEET_OVERLAY_NAME } from "./constants.mjs";
4
4
  import { createSheet } from "./createSheet.mjs";
5
5
  import { createSheetScope } from "./SheetContext.mjs";
@@ -30,8 +30,8 @@ __export(Sheet_exports, {
30
30
  createSheetScope: () => import_SheetContext.createSheetScope
31
31
  });
32
32
  module.exports = __toCommonJS(Sheet_exports);
33
- var import_gui_core = require("@hanzo/gui-core"),
34
- import_gui_stacks = require("@hanzo/gui-stacks"),
33
+ var import_gui_core = require("@hanzogui/core"),
34
+ import_gui_stacks = require("@hanzogui/stacks"),
35
35
  import_constants = require("./constants.native.js"),
36
36
  import_createSheet = require("./createSheet.native.js"),
37
37
  import_SheetContext = require("./SheetContext.native.js");
@@ -1,4 +1,4 @@
1
- import { createContextScope } from "@hanzo/gui-create-context";
1
+ import { createContextScope } from "@hanzogui/create-context";
2
2
  import { SHEET_NAME } from "./constants.mjs";
3
3
  const [createSheetContext, createSheetScope] = createContextScope(SHEET_NAME),
4
4
  [SheetProvider, useSheetContext] = createSheetContext(SHEET_NAME, {});
@@ -28,7 +28,7 @@ __export(SheetContext_exports, {
28
28
  useSheetContext: () => useSheetContext
29
29
  });
30
30
  module.exports = __toCommonJS(SheetContext_exports);
31
- var import_gui_create_context = require("@hanzo/gui-create-context"),
31
+ var import_gui_create_context = require("@hanzogui/create-context"),
32
32
  import_constants = require("./constants.native.js"),
33
33
  [createSheetContext, createSheetScope] = (0, import_gui_create_context.createContextScope)(import_constants.SHEET_NAME),
34
34
  [SheetProvider, useSheetContext] = createSheetContext(import_constants.SHEET_NAME, {});
@@ -1,5 +1,5 @@
1
1
  import React, { useId, useRef } from "react";
2
- import { useEvent } from "@hanzo/gui-core";
2
+ import { useEvent } from "@hanzogui/core";
3
3
  import { SheetControllerContext } from "./useSheetController.mjs";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const SheetController = ({
@@ -38,7 +38,7 @@ __export(SheetController_exports, {
38
38
  module.exports = __toCommonJS(SheetController_exports);
39
39
  var import_jsx_runtime = require("react/jsx-runtime"),
40
40
  import_react = __toESM(require("react"), 1),
41
- import_gui_core = require("@hanzo/gui-core"),
41
+ import_gui_core = require("@hanzogui/core"),
42
42
  import_useSheetController = require("./useSheetController.native.js"),
43
43
  SheetController = function (param) {
44
44
  var {
@@ -1,9 +1,9 @@
1
- import { AnimatePresence } from "@hanzo/gui-animate-presence";
2
- import { useComposedRefs } from "@hanzo/gui-compose-refs";
3
- import { isWeb, useIsomorphicLayoutEffect } from "@hanzo/gui-constants";
4
- import { LayoutMeasurementController, View as TamaguiView, useConfiguration, useDidFinishSSR, useEvent, useThemeName } from "@hanzo/gui-core";
5
- import { getSafeArea } from "@hanzo/gui-native";
6
- import { needsPortalRepropagation, Portal } from "@hanzo/gui-portal";
1
+ import { AnimatePresence } from "@hanzogui/animate-presence";
2
+ import { useComposedRefs } from "@hanzogui/compose-refs";
3
+ import { isWeb, useIsomorphicLayoutEffect } from "@hanzogui/constants";
4
+ import { LayoutMeasurementController, View as GuiView, useConfiguration, useDidFinishSSR, useEvent, useThemeName } from "@hanzogui/core";
5
+ import { getSafeArea } from "@hanzogui/native";
6
+ import { needsPortalRepropagation, Portal } from "@hanzogui/portal";
7
7
  import React, { useState } from "react";
8
8
  import { Dimensions, PanResponder, View } from "react-native-web";
9
9
  import { ParentSheetContext, SheetInsideSheetContext } from "./contexts.mjs";
@@ -116,7 +116,7 @@ const relativeDimensionTo = isWeb ? "window" : "screen",
116
116
  useAnimatedNumberStyle,
117
117
  useAnimatedNumberReaction
118
118
  } = animationDriver,
119
- AnimatedView = animationDriver.View ?? TamaguiView;
119
+ AnimatedView = animationDriver.View ?? GuiView;
120
120
  useIsomorphicLayoutEffect(() => {
121
121
  if (sheetInsideSheet && open) return sheetInsideSheet(!0), () => {
122
122
  sheetInsideSheet(!1);
@@ -37,13 +37,13 @@ __export(SheetImplementationCustom_exports, {
37
37
  });
38
38
  module.exports = __toCommonJS(SheetImplementationCustom_exports);
39
39
  var import_jsx_runtime = require("react/jsx-runtime"),
40
- import_gui_adapt = require("@hanzo/gui-adapt"),
41
- import_gui_animate_presence = require("@hanzo/gui-animate-presence"),
42
- import_gui_compose_refs = require("@hanzo/gui-compose-refs"),
43
- import_gui_constants = require("@hanzo/gui-constants"),
44
- import_gui_core = require("@hanzo/gui-core"),
45
- import_gui_native = require("@hanzo/gui-native"),
46
- import_gui_portal = require("@hanzo/gui-portal"),
40
+ import_gui_adapt = require("@hanzogui/adapt"),
41
+ import_gui_animate_presence = require("@hanzogui/animate-presence"),
42
+ import_gui_compose_refs = require("@hanzogui/compose-refs"),
43
+ import_gui_constants = require("@hanzogui/constants"),
44
+ import_gui_core = require("@hanzogui/core"),
45
+ import_gui_native = require("@hanzogui/native"),
46
+ import_gui_portal = require("@hanzogui/portal"),
47
47
  import_react = __toESM(require("react"), 1),
48
48
  import_react_native = require("react-native"),
49
49
  import_contexts = require("./contexts.native.js"),
@@ -1,7 +1,7 @@
1
- import { composeRefs } from "@hanzo/gui-compose-refs";
2
- import { View } from "@hanzo/gui-core";
3
- import { ScrollView } from "@hanzo/gui-scroll-view";
4
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
1
+ import { composeRefs } from "@hanzogui/compose-refs";
2
+ import { View } from "@hanzogui/core";
3
+ import { ScrollView } from "@hanzogui/scroll-view";
4
+ import { useControllableState } from "@hanzogui/use-controllable-state";
5
5
  import React, { useEffect, useRef, useState } from "react";
6
6
  import { useGestureSheetContext } from "./GestureSheetContext.mjs";
7
7
  import { getGestureHandlerState, isGestureHandlerEnabled } from "./gestureState.mjs";
@@ -37,10 +37,10 @@ __export(SheetScrollView_exports, {
37
37
  });
38
38
  module.exports = __toCommonJS(SheetScrollView_exports);
39
39
  var import_jsx_runtime = require("react/jsx-runtime"),
40
- import_gui_compose_refs = require("@hanzo/gui-compose-refs"),
41
- import_gui_core = require("@hanzo/gui-core"),
42
- import_gui_scroll_view = require("@hanzo/gui-scroll-view"),
43
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
40
+ import_gui_compose_refs = require("@hanzogui/compose-refs"),
41
+ import_gui_core = require("@hanzogui/core"),
42
+ import_gui_scroll_view = require("@hanzogui/scroll-view"),
43
+ import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
44
44
  import_react = __toESM(require("react"), 1),
45
45
  import_GestureSheetContext = require("./GestureSheetContext.native.js"),
46
46
  import_gestureState = require("./gestureState.native.js"),
@@ -1,11 +1,11 @@
1
- import { useComposedRefs } from "@hanzo/gui-compose-refs";
2
- import { useIsomorphicLayoutEffect } from "@hanzo/gui-constants";
3
- import { View } from "@hanzo/gui-core";
4
- import { composeEventHandlers, withStaticProperties } from "@hanzo/gui-helpers";
5
- import { resolveViewZIndex } from "@hanzo/gui-portal";
6
- import { RemoveScroll } from "@hanzo/gui-remove-scroll";
7
- import { useDidFinishSSR } from "@hanzo/gui-use-did-finish-ssr";
8
- import { StackZIndexContext } from "@hanzo/gui-z-index-stack";
1
+ import { useComposedRefs } from "@hanzogui/compose-refs";
2
+ import { useIsomorphicLayoutEffect } from "@hanzogui/constants";
3
+ import { View } from "@hanzogui/core";
4
+ import { composeEventHandlers, withStaticProperties } from "@hanzogui/helpers";
5
+ import { resolveViewZIndex } from "@hanzogui/portal";
6
+ import { RemoveScroll } from "@hanzogui/remove-scroll";
7
+ import { useDidFinishSSR } from "@hanzogui/use-did-finish-ssr";
8
+ import { StackZIndexContext } from "@hanzogui/z-index-stack";
9
9
  import { forwardRef, useMemo, useEffect, useRef } from "react";
10
10
  import { Platform } from "react-native-web";
11
11
  import { SHEET_HANDLE_NAME, SHEET_NAME, SHEET_OVERLAY_NAME } from "./constants.mjs";
@@ -26,14 +26,14 @@ __export(createSheet_exports, {
26
26
  });
27
27
  module.exports = __toCommonJS(createSheet_exports);
28
28
  var import_jsx_runtime = require("react/jsx-runtime"),
29
- import_gui_compose_refs = require("@hanzo/gui-compose-refs"),
30
- import_gui_constants = require("@hanzo/gui-constants"),
31
- import_gui_core = require("@hanzo/gui-core"),
32
- import_gui_helpers = require("@hanzo/gui-helpers"),
33
- import_gui_portal = require("@hanzo/gui-portal"),
34
- import_gui_remove_scroll = require("@hanzo/gui-remove-scroll"),
35
- import_gui_use_did_finish_ssr = require("@hanzo/gui-use-did-finish-ssr"),
36
- import_gui_z_index_stack = require("@hanzo/gui-z-index-stack"),
29
+ import_gui_compose_refs = require("@hanzogui/compose-refs"),
30
+ import_gui_constants = require("@hanzogui/constants"),
31
+ import_gui_core = require("@hanzogui/core"),
32
+ import_gui_helpers = require("@hanzogui/helpers"),
33
+ import_gui_portal = require("@hanzogui/portal"),
34
+ import_gui_remove_scroll = require("@hanzogui/remove-scroll"),
35
+ import_gui_use_did_finish_ssr = require("@hanzogui/use-did-finish-ssr"),
36
+ import_gui_z_index_stack = require("@hanzogui/z-index-stack"),
37
37
  import_react = require("react"),
38
38
  import_react_native = require("react-native"),
39
39
  import_constants = require("./constants.native.js"),
@@ -1,4 +1,4 @@
1
- import { getGestureHandler } from "@hanzo/gui-native";
1
+ import { getGestureHandler } from "@hanzogui/native";
2
2
  function isGestureHandlerEnabled() {
3
3
  return getGestureHandler().isEnabled;
4
4
  }
@@ -28,7 +28,7 @@ __export(gestureState_exports, {
28
28
  setGestureState: () => setGestureState
29
29
  });
30
30
  module.exports = __toCommonJS(gestureState_exports);
31
- var import_gui_native = require("@hanzo/gui-native");
31
+ var import_gui_native = require("@hanzogui/native");
32
32
  function isGestureHandlerEnabled() {
33
33
  return (0, import_gui_native.getGestureHandler)().isEnabled;
34
34
  }
@@ -1,4 +1,4 @@
1
- import { YStack } from "@hanzo/gui-stacks";
1
+ import { YStack } from "@hanzogui/stacks";
2
2
  import { useEffect, useRef } from "react";
3
3
  import { View } from "react-native-web";
4
4
  import { SheetProvider } from "./SheetContext.mjs";
@@ -27,7 +27,7 @@ __export(nativeSheet_exports, {
27
27
  });
28
28
  module.exports = __toCommonJS(nativeSheet_exports);
29
29
  var import_jsx_runtime = require("react/jsx-runtime"),
30
- import_gui_stacks = require("@hanzo/gui-stacks"),
30
+ import_gui_stacks = require("@hanzogui/stacks"),
31
31
  import_react = require("react"),
32
32
  import_react_native = require("react-native"),
33
33
  import_SheetContext = require("./SheetContext.native.js"),
@@ -1,4 +1,4 @@
1
- import { getGestureHandler } from "@hanzo/gui-native";
1
+ import { getGestureHandler } from "@hanzogui/native";
2
2
  function isGestureHandlerEnabled() {
3
3
  return getGestureHandler().isEnabled;
4
4
  }
@@ -26,7 +26,7 @@ __export(setupGestureHandler_exports, {
26
26
  setupGestureHandler: () => setupGestureHandler
27
27
  });
28
28
  module.exports = __toCommonJS(setupGestureHandler_exports);
29
- var import_gui_native = require("@hanzo/gui-native");
29
+ var import_gui_native = require("@hanzogui/native");
30
30
  function isGestureHandlerEnabled() {
31
31
  return (0, import_gui_native.getGestureHandler)().isEnabled;
32
32
  }
@@ -34,7 +34,7 @@ var import_react = require("react"),
34
34
  return {};
35
35
  };
36
36
  try {
37
- var nativeModule = require("@hanzo/gui-native");
37
+ var nativeModule = require("@hanzogui/native");
38
38
  isKeyboardControllerEnabled = nativeModule.isKeyboardControllerEnabled, getKeyboardControllerState = nativeModule.getKeyboardControllerState;
39
39
  } catch {}
40
40
  function useKeyboardControllerSheet(options) {
@@ -1,4 +1,4 @@
1
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
1
+ import { useControllableState } from "@hanzogui/use-controllable-state";
2
2
  import { useSheetController } from "./useSheetController.mjs";
3
3
  const useSheetOpenState = props => {
4
4
  const {
@@ -25,7 +25,7 @@ __export(useSheetOpenState_exports, {
25
25
  useSheetOpenState: () => useSheetOpenState
26
26
  });
27
27
  module.exports = __toCommonJS(useSheetOpenState_exports);
28
- var import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state"),
28
+ var import_gui_use_controllable_state = require("@hanzogui/use-controllable-state"),
29
29
  import_useSheetController = require("./useSheetController.native.js"),
30
30
  useSheetOpenState = function (props) {
31
31
  var {
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
- import { useConfiguration } from "@hanzo/gui-core";
3
- import { useConstant } from "@hanzo/gui-use-constant";
4
- import { useControllableState } from "@hanzo/gui-use-controllable-state";
2
+ import { useConfiguration } from "@hanzogui/core";
3
+ import { useConstant } from "@hanzogui/use-constant";
4
+ import { useControllableState } from "@hanzogui/use-controllable-state";
5
5
  function useSheetProviderProps(props, state, options = {}) {
6
6
  const handleRef = React.useRef(null),
7
7
  contentRef = React.useRef(null),
@@ -37,9 +37,9 @@ __export(useSheetProviderProps_exports, {
37
37
  });
38
38
  module.exports = __toCommonJS(useSheetProviderProps_exports);
39
39
  var import_react = __toESM(require("react"), 1),
40
- import_gui_core = require("@hanzo/gui-core"),
41
- import_gui_use_constant = require("@hanzo/gui-use-constant"),
42
- import_gui_use_controllable_state = require("@hanzo/gui-use-controllable-state");
40
+ import_gui_core = require("@hanzogui/core"),
41
+ import_gui_use_constant = require("@hanzogui/use-constant"),
42
+ import_gui_use_controllable_state = require("@hanzogui/use-controllable-state");
43
43
  function useSheetProviderProps(props, state) {
44
44
  var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {},
45
45
  handleRef = import_react.default.useRef(null),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzogui/sheet",
3
- "version": "2.0.4",
3
+ "version": "2.0.7",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "type": "module",
package/src/Sheet.tsx CHANGED
@@ -1,5 +1,5 @@
1
- import { styled } from '@hanzo/gui-core'
2
- import { XStack, YStack } from '@hanzo/gui-stacks'
1
+ import { styled } from '@hanzogui/core'
2
+ import { XStack, YStack } from '@hanzogui/stacks'
3
3
 
4
4
  import { SHEET_HANDLE_NAME, SHEET_NAME, SHEET_OVERLAY_NAME } from './constants'
5
5
  import { createSheet } from './createSheet'
@@ -1,4 +1,4 @@
1
- import { createContextScope } from '@hanzo/gui-create-context'
1
+ import { createContextScope } from '@hanzogui/create-context'
2
2
 
3
3
  import { SHEET_NAME } from './constants'
4
4
  import type { SheetContextValue } from './useSheetProviderProps'
@@ -1,5 +1,5 @@
1
1
  import React, { useId, useRef } from 'react'
2
- import { useEvent } from '@hanzo/gui-core'
2
+ import { useEvent } from '@hanzogui/core'
3
3
  import type { ReactNode } from 'react'
4
4
 
5
5
  import type { SheetControllerContextValue } from './useSheetController'
@@ -1,7 +1,7 @@
1
- import { ProvideAdaptContext, useAdaptContext } from '@hanzo/gui-adapt'
2
- import { AnimatePresence } from '@hanzo/gui-animate-presence'
3
- import { useComposedRefs } from '@hanzo/gui-compose-refs'
4
- import { isWeb, useIsomorphicLayoutEffect } from '@hanzo/gui-constants'
1
+ import { ProvideAdaptContext, useAdaptContext } from '@hanzogui/adapt'
2
+ import { AnimatePresence } from '@hanzogui/animate-presence'
3
+ import { useComposedRefs } from '@hanzogui/compose-refs'
4
+ import { isWeb, useIsomorphicLayoutEffect } from '@hanzogui/constants'
5
5
  import {
6
6
  LayoutMeasurementController,
7
7
  View as GuiView,
@@ -9,9 +9,9 @@ import {
9
9
  useDidFinishSSR,
10
10
  useEvent,
11
11
  useThemeName,
12
- } from '@hanzo/gui-core'
13
- import { getSafeArea } from '@hanzo/gui-native'
14
- import { needsPortalRepropagation, Portal } from '@hanzo/gui-portal'
12
+ } from '@hanzogui/core'
13
+ import { getSafeArea } from '@hanzogui/native'
14
+ import { needsPortalRepropagation, Portal } from '@hanzogui/portal'
15
15
  import React, { useState } from 'react'
16
16
  import type {
17
17
  Animated,
@@ -37,7 +37,7 @@ const hiddenSize = 10_000.1
37
37
  let _cachedSafeAreaTop: number | undefined
38
38
  function getSafeAreaTopInset(): number {
39
39
  if (_cachedSafeAreaTop !== undefined) return _cachedSafeAreaTop
40
- // use @hanzo/gui-native abstraction - returns 0 when not enabled
40
+ // use @hanzogui/native abstraction - returns 0 when not enabled
41
41
  _cachedSafeAreaTop = getSafeArea().getInsets().top
42
42
  return _cachedSafeAreaTop
43
43
  }
@@ -1,8 +1,8 @@
1
- import { composeRefs } from '@hanzo/gui-compose-refs'
2
- import { isWeb, View, type GetRef } from '@hanzo/gui-core'
3
- import type { ScrollViewProps } from '@hanzo/gui-scroll-view'
4
- import { ScrollView } from '@hanzo/gui-scroll-view'
5
- import { useControllableState } from '@hanzo/gui-use-controllable-state'
1
+ import { composeRefs } from '@hanzogui/compose-refs'
2
+ import { isWeb, View, type GetRef } from '@hanzogui/core'
3
+ import type { ScrollViewProps } from '@hanzogui/scroll-view'
4
+ import { ScrollView } from '@hanzogui/scroll-view'
5
+ import { useControllableState } from '@hanzogui/use-controllable-state'
6
6
  import React, { useEffect, useRef, useState } from 'react'
7
7
  import type { ScrollView as RNScrollView } from 'react-native'
8
8
  import { useGestureSheetContext } from './GestureSheetContext'
@@ -1,18 +1,18 @@
1
- import { useComposedRefs } from '@hanzo/gui-compose-refs'
2
- import { useIsomorphicLayoutEffect } from '@hanzo/gui-constants'
1
+ import { useComposedRefs } from '@hanzogui/compose-refs'
2
+ import { useIsomorphicLayoutEffect } from '@hanzogui/constants'
3
3
  import type {
4
4
  GetProps,
5
5
  ViewProps,
6
6
  GuiComponent,
7
7
  GuiComponentExpectingVariants,
8
8
  GuiElement,
9
- } from '@hanzo/gui-core'
10
- import { View } from '@hanzo/gui-core'
11
- import { composeEventHandlers, withStaticProperties } from '@hanzo/gui-helpers'
12
- import { resolveViewZIndex } from '@hanzo/gui-portal'
13
- import { RemoveScroll } from '@hanzo/gui-remove-scroll'
14
- import { useDidFinishSSR } from '@hanzo/gui-use-did-finish-ssr'
15
- import { StackZIndexContext } from '@hanzo/gui-z-index-stack'
9
+ } from '@hanzogui/core'
10
+ import { View } from '@hanzogui/core'
11
+ import { composeEventHandlers, withStaticProperties } from '@hanzogui/helpers'
12
+ import { resolveViewZIndex } from '@hanzogui/portal'
13
+ import { RemoveScroll } from '@hanzogui/remove-scroll'
14
+ import { useDidFinishSSR } from '@hanzogui/use-did-finish-ssr'
15
+ import { StackZIndexContext } from '@hanzogui/z-index-stack'
16
16
  import type { ForwardRefExoticComponent, FunctionComponent, RefAttributes } from 'react'
17
17
  import { forwardRef, memo, useMemo, useEffect, useRef } from 'react'
18
18
  import type { View as RNView } from 'react-native'
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Re-export gesture state from @hanzo/gui-native.
2
+ * Re-export gesture state from @hanzogui/native.
3
3
  * Sheet uses this for backward compatibility with existing code.
4
4
  */
5
5
 
6
- import { getGestureHandler, type GestureState } from '@hanzo/gui-native'
6
+ import { getGestureHandler, type GestureState } from '@hanzogui/native'
7
7
 
8
- export type { GestureState as GestureHandlerState } from '@hanzo/gui-native'
8
+ export type { GestureState as GestureHandlerState } from '@hanzogui/native'
9
9
 
10
10
  // backward compat helpers
11
11
  export function isGestureHandlerEnabled(): boolean {
@@ -1,4 +1,4 @@
1
- import { YStack } from '@hanzo/gui-stacks'
1
+ import { YStack } from '@hanzogui/stacks'
2
2
  import type { FunctionComponent } from 'react'
3
3
  import { useEffect, useRef } from 'react'
4
4
  import { View } from 'react-native'
@@ -1,8 +1,8 @@
1
1
  /**
2
- * Legacy setup - prefer `import '@hanzo/gui-native/setup-gesture-handler'` instead.
2
+ * Legacy setup - prefer `import '@hanzogui/native/setup-gesture-handler'` instead.
3
3
  */
4
4
 
5
- import { getGestureHandler } from '@hanzo/gui-native'
5
+ import { getGestureHandler } from '@hanzogui/native'
6
6
 
7
7
  export function isGestureHandlerEnabled(): boolean {
8
8
  return getGestureHandler().isEnabled
package/src/types.tsx CHANGED
@@ -1,7 +1,7 @@
1
- import type { AnimatedNumberStrategy, TransitionProp } from '@hanzo/gui-core'
2
- import type { ScopedProps } from '@hanzo/gui-create-context'
3
- import type { PortalProps } from '@hanzo/gui-portal'
4
- import type { RemoveScroll } from '@hanzo/gui-remove-scroll'
1
+ import type { AnimatedNumberStrategy, TransitionProp } from '@hanzogui/core'
2
+ import type { ScopedProps } from '@hanzogui/create-context'
3
+ import type { PortalProps } from '@hanzogui/portal'
4
+ import type { RemoveScroll } from '@hanzogui/remove-scroll'
5
5
  import type { ReactNode } from 'react'
6
6
  import type React from 'react'
7
7
 
@@ -21,11 +21,11 @@ let isKeyboardControllerEnabled: () => boolean = () => false
21
21
  let getKeyboardControllerState: () => any = () => ({})
22
22
 
23
23
  try {
24
- const nativeModule = require('@hanzo/gui-native')
24
+ const nativeModule = require('@hanzogui/native')
25
25
  isKeyboardControllerEnabled = nativeModule.isKeyboardControllerEnabled
26
26
  getKeyboardControllerState = nativeModule.getKeyboardControllerState
27
27
  } catch {
28
- // @hanzo/gui-native not available
28
+ // @hanzogui/native not available
29
29
  }
30
30
 
31
31
  export function useKeyboardControllerSheet(
@@ -1,4 +1,4 @@
1
- import { useControllableState } from '@hanzo/gui-use-controllable-state'
1
+ import { useControllableState } from '@hanzogui/use-controllable-state'
2
2
 
3
3
  import type { SheetProps } from './types'
4
4
  import { useSheetController } from './useSheetController'
@@ -1,8 +1,8 @@
1
1
  import React from 'react'
2
- import type { GuiElement } from '@hanzo/gui-core'
3
- import { useConfiguration } from '@hanzo/gui-core'
4
- import { useConstant } from '@hanzo/gui-use-constant'
5
- import { useControllableState } from '@hanzo/gui-use-controllable-state'
2
+ import type { GuiElement } from '@hanzogui/core'
3
+ import { useConfiguration } from '@hanzogui/core'
4
+ import { useConstant } from '@hanzogui/use-constant'
5
+ import { useControllableState } from '@hanzogui/use-controllable-state'
6
6
 
7
7
  import type { ScrollBridge, SheetProps } from './types'
8
8
  import type { SheetOpenState } from './useSheetOpenState'