@hanzogui/sheet 8.0.1 → 8.1.1

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 (34) hide show
  1. package/dist/cjs/GestureDetectorWrapper.native.js.map +1 -1
  2. package/dist/cjs/GestureSheetContext.native.js.map +1 -1
  3. package/dist/cjs/Sheet.native.js.map +1 -1
  4. package/dist/cjs/SheetContext.native.js.map +1 -1
  5. package/dist/cjs/SheetController.native.js.map +1 -1
  6. package/dist/cjs/SheetImplementationCustom.native.js.map +1 -1
  7. package/dist/cjs/SheetScrollView.native.js.map +1 -1
  8. package/dist/cjs/constants.native.js.map +1 -1
  9. package/dist/cjs/contexts.native.js.map +1 -1
  10. package/dist/cjs/controller.native.js.map +1 -1
  11. package/dist/cjs/createSheet.native.js.map +1 -1
  12. package/dist/cjs/gestureState.native.js.map +1 -1
  13. package/dist/cjs/helpers.native.js.map +1 -1
  14. package/dist/cjs/index.native.js.map +1 -1
  15. package/dist/cjs/keyboardAvoidance.native.js.map +1 -1
  16. package/dist/cjs/nativeSheet.native.js.map +1 -1
  17. package/dist/cjs/setupGestureHandler.native.js.map +1 -1
  18. package/dist/cjs/types.native.js.map +1 -1
  19. package/dist/cjs/useGestureHandlerPan.native.js.map +1 -1
  20. package/dist/cjs/useSheet.native.js.map +1 -1
  21. package/dist/cjs/useSheetController.native.js.map +1 -1
  22. package/dist/cjs/useSheetOffscreenSize.native.js.map +1 -1
  23. package/dist/cjs/useSheetOpenState.native.js.map +1 -1
  24. package/dist/cjs/useSheetProviderProps.native.js.map +1 -1
  25. package/dist/cjs/webViewport.native.js.map +1 -1
  26. package/package.json +36 -21
  27. package/types/Sheet.d.ts +43 -43
  28. package/types/Sheet.d.ts.map +1 -1
  29. package/types/SheetImplementationCustom.d.ts +2 -2
  30. package/types/SheetScrollView.d.ts +10 -10
  31. package/types/createSheet.d.ts +22 -22
  32. package/.turbo/turbo-build.log +0 -2
  33. package/test/keyboardAvoidance.test.ts +0 -269
  34. package/tsconfig.json +0 -57
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","webViewport_exports","__export","MIN_KEYBOARD_HEIGHT","getMaxViewportHeight","getStableLayoutViewportHeight","getWebKeyboardBottomInset","getWebKeyboardHeight","getWebKeyboardResizeHeight","getWebVisualViewportOffsetTop","isEditableElement","module","exports","el","tag","tagName","isContentEditable","_document_documentElement","_window_visualViewport","window","ch","document","documentElement","clientHeight","Math","max","innerHeight","visualViewport","height","_maxViewportHeight","_window_screen","screen","vv","round","offsetTop","visibleBottom"],"sources":["../../src/webViewport.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,mBAAA;AAAAC,QAAA,CAAAD,mBAAA;EAAAE,mBAAA,EAAAA,CAAA,KAAAA,mBAAA;EAAAC,oBAAA,EAAAA,CAAA,KAAAA,oBAAA;EAAAC,6BAAA,EAAAA,CAAA,KAAAA,6BAAA;EAAAC,yBAAA,EAAAA,CAAA,KAAAA,yBAAA;EAAAC,oBAAA,EAAAA,CAAA,KAAAA,oBAAA;EAAAC,0BAAA,EAAAA,CAAA,KAAAA,0BAAA;EAAAC,6BAAA,EAAAA,CAAA,KAAAA,6BAAA;EAAAC,iBAAA,EAAAA,CAAA,KAAAA;AAAA;AAqBOC,MAAM,CAAAC,OAAA,GAAAhB,YAAsB,CAAAK,mBAAA;AAE5B,IAAAE,mBAAS,KAAkB;AAChC,SAAKO,iBAAWA,CAAAG,EAAA;EAChB,KAAAA,EAAM,SAAS;EACf,IAAIC,GAAA,GAAAD,EAAQ,CAAAE,OAAA;EACZ,IAAKD,GAAmB,gBAAAA,GAAmB,eAAO,IAAAA,GAAA;EAClD,IAAAD,EAAA,CAAOG,iBAAA;EACT;AAOO;AACL,SAAIX,6BAA+BA,CAAA;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;EAEO,OAASK,IAAA,CAAAC,GAAA,IAAAD,IAAA,CAAAS,KAAA,GAAAf,sBAAwC,GAAAC,MAAA,CAAAQ,cAAA,cAAAT,sBAAA,uBAAAA,sBAAA,CAAAgB,SAAA;AACtD;AACA,SAAO5B,yBAAuBA,CAAA;EAChC,WAAAa,MAAA;EAMO,IAAAa,EAAA,GAASb,MAAA,CAAAQ,cAAA;EACd,IAAI,CAAAK,EAAA,SAAO;EACX,IAAAG,aAAW,GAAO1B,6BAAA,KAAAuB,EAAA,CAAAJ,MAAA;EAClB,OAAKJ,IAAI,CAAAC,GAAA,CAAO,GAAAD,IAAA,CAAAS,KAAA,CAAA5B,6BAAA,KAAA8B,aAAA;AAChB;AACA,SAAO5B,oBAAiBA,CAAA,EAAM;EAChC,OAAAC,0BAAA;AAEO","ignoreList":[]}
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","webViewport_exports","MIN_KEYBOARD_HEIGHT","getMaxViewportHeight","getStableLayoutViewportHeight","getWebKeyboardBottomInset","getWebKeyboardHeight","getWebKeyboardResizeHeight","getWebVisualViewportOffsetTop","isEditableElement","module","exports","el","tag","tagName","isContentEditable","_document_documentElement","_window_visualViewport","window","ch","document","documentElement","clientHeight","Math","max","innerHeight","visualViewport","height","_maxViewportHeight","_window_screen","screen","vv","round","offsetTop","visibleBottom"],"sources":["webViewport.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar webViewport_exports = {};\n__export(webViewport_exports, {\n MIN_KEYBOARD_HEIGHT: () => MIN_KEYBOARD_HEIGHT,\n getMaxViewportHeight: () => getMaxViewportHeight,\n getStableLayoutViewportHeight: () => getStableLayoutViewportHeight,\n getWebKeyboardBottomInset: () => getWebKeyboardBottomInset,\n getWebKeyboardHeight: () => getWebKeyboardHeight,\n getWebKeyboardResizeHeight: () => getWebKeyboardResizeHeight,\n getWebVisualViewportOffsetTop: () => getWebVisualViewportOffsetTop,\n isEditableElement: () => isEditableElement\n});\nmodule.exports = __toCommonJS(webViewport_exports);\nvar MIN_KEYBOARD_HEIGHT = 80;\nfunction isEditableElement(el) {\n if (!el) return false;\n var tag = el.tagName;\n if (tag === \"INPUT\" || tag === \"TEXTAREA\" || tag === \"SELECT\") return true;\n if (el.isContentEditable) return true;\n return false;\n}\nfunction getStableLayoutViewportHeight() {\n var _document_documentElement, _window_visualViewport;\n if (typeof window === \"undefined\") return 0;\n var ch = typeof document !== \"undefined\" ? (_document_documentElement = document.documentElement) === null || _document_documentElement === void 0 ? void 0 : _document_documentElement.clientHeight : 0;\n if (ch && ch > 0) return ch;\n return Math.max(window.innerHeight || 0, ((_window_visualViewport = window.visualViewport) === null || _window_visualViewport === void 0 ? void 0 : _window_visualViewport.height) || 0);\n}\nvar _maxViewportHeight = 0;\nfunction getMaxViewportHeight() {\n var _document_documentElement, _window_visualViewport, _window_screen;\n if (typeof window === \"undefined\") return 0;\n var ch = typeof document !== \"undefined\" ? (_document_documentElement = document.documentElement) === null || _document_documentElement === void 0 ? void 0 : _document_documentElement.clientHeight : 0;\n _maxViewportHeight = Math.max(_maxViewportHeight, ch || 0, window.innerHeight || 0, ((_window_visualViewport = window.visualViewport) === null || _window_visualViewport === void 0 ? void 0 : _window_visualViewport.height) || 0, ((_window_screen = window.screen) === null || _window_screen === void 0 ? void 0 : _window_screen.height) || 0);\n return _maxViewportHeight;\n}\nfunction getWebKeyboardResizeHeight() {\n if (typeof window === \"undefined\") return 0;\n var vv = window.visualViewport;\n if (!vv) return 0;\n return Math.max(0, Math.round(getStableLayoutViewportHeight() - vv.height));\n}\nfunction getWebVisualViewportOffsetTop() {\n var _window_visualViewport;\n if (typeof window === \"undefined\") return 0;\n return Math.max(0, Math.round(((_window_visualViewport = window.visualViewport) === null || _window_visualViewport === void 0 ? void 0 : _window_visualViewport.offsetTop) || 0));\n}\nfunction getWebKeyboardBottomInset() {\n if (typeof window === \"undefined\") return 0;\n var vv = window.visualViewport;\n if (!vv) return 0;\n var visibleBottom = getWebVisualViewportOffsetTop() + vv.height;\n return Math.max(0, Math.round(getStableLayoutViewportHeight() - visibleBottom));\n}\nfunction getWebKeyboardHeight() {\n return getWebKeyboardResizeHeight();\n}\n//# sourceMappingURL=webViewport.js.map\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;AACrC,IAAIC,gBAAgB,GAAGF,MAAM,CAACG,wBAAwB;AACtD,IAAIC,iBAAiB,GAAGJ,MAAM,CAACK,mBAAmB;AAClD,IAAIC,YAAY,GAAGN,MAAM,CAACO,SAAS,CAACC,cAAc;AAClD,IAAIC,QAAQ,GAAGA,CAACC,MAAM,EAAEC,GAAG,KAAK;EAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG,EAClBZ,SAAS,CAACW,MAAM,EAAEE,IAAI,EAAE;IAAEC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;IAAEE,UAAU,EAAE;EAAK,CAAC,CAAC;AACjE,CAAC;AACD,IAAIC,WAAW,GAAGA,CAACC,EAAE,EAAEC,IAAI,EAAEC,MAAM,EAAEC,IAAI,KAAK;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AAOa,MAAM,KAAK,WAAW,EAAE,OAAO,CAAC;EAC3C,IAAIa,EAAE,GAAGb,MAAM,CAACQ,cAAc;EAC9B,IAAI,CAACK,EAAE,EAAE,OAAO,CAAC;EACjB,IAAIG,aAAa,GAAG1B,6BAA6B,CAAC,CAAC,GAAGuB,EAAE,CAACJ,MAAM;EAC/D,OAAOJ,IAAI,CAACC,GAAG,CAAC,CAAC,EAAED,IAAI,CAACS,KAAK,CAAC5B,6BAA6B,CAAC,CAAC,GAAG8B,aAAa,CAAC,CAAC;AACjF;AACA,SAAS5B,oBAAoBA,CAAA,EAAG;EAC9B,OAAOC,0BAA0B,CAAC,CAAC;AACrC","ignoreList":[]}
package/package.json CHANGED
@@ -1,8 +1,17 @@
1
1
  {
2
2
  "name": "@hanzogui/sheet",
3
- "version": "8.0.1",
3
+ "version": "8.1.1",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
+ "files": [
7
+ "controller",
8
+ "dist",
9
+ "next.md",
10
+ "setup-gesture-handler.cjs",
11
+ "setup-gesture-handler",
12
+ "src",
13
+ "types"
14
+ ],
6
15
  "type": "module",
7
16
  "sideEffects": false,
8
17
  "main": "dist/cjs",
@@ -54,27 +63,28 @@
54
63
  "clean": "hanzogui-build clean"
55
64
  },
56
65
  "dependencies": {
57
- "@hanzogui/adapt": "8.0.1",
58
- "@hanzogui/animate-presence": "8.0.0",
59
- "@hanzogui/animations-react-native": "8.0.0",
60
- "@hanzogui/compose-refs": "8.0.0",
61
- "@hanzogui/constants": "8.0.0",
62
- "@hanzogui/core": "8.0.1",
63
- "@hanzogui/create-context": "8.0.0",
64
- "@hanzogui/helpers": "8.0.0",
65
- "@hanzogui/native": "8.0.0",
66
- "@hanzogui/portal": "8.0.1",
67
- "@hanzogui/remove-scroll": "8.0.0",
68
- "@hanzogui/scroll-view": "8.0.1",
69
- "@hanzogui/stacks": "8.0.1",
70
- "@hanzogui/use-constant": "8.0.0",
71
- "@hanzogui/use-controllable-state": "8.0.0",
72
- "@hanzogui/use-did-finish-ssr": "8.0.0",
73
- "@hanzogui/use-keyboard-visible": "8.0.0",
74
- "@hanzogui/z-index-stack": "8.0.0"
66
+ "@hanzogui/adapt": "8.1.1",
67
+ "@hanzogui/animate-presence": "8.1.1",
68
+ "@hanzogui/animations-react-native": "8.1.1",
69
+ "@hanzogui/compose-refs": "8.1.1",
70
+ "@hanzogui/constants": "8.1.1",
71
+ "@hanzogui/core": "8.1.1",
72
+ "@hanzogui/create-context": "8.1.1",
73
+ "@hanzogui/helpers": "8.1.1",
74
+ "@hanzogui/native": "8.1.1",
75
+ "@hanzogui/portal": "8.1.1",
76
+ "@hanzogui/remove-scroll": "8.1.1",
77
+ "@hanzogui/scroll-view": "8.1.1",
78
+ "@hanzogui/stacks": "8.1.1",
79
+ "@hanzogui/use-constant": "8.1.1",
80
+ "@hanzogui/use-controllable-state": "8.1.1",
81
+ "@hanzogui/use-did-finish-ssr": "8.1.1",
82
+ "@hanzogui/use-keyboard-visible": "8.1.1",
83
+ "@hanzogui/web": "8.1.1",
84
+ "@hanzogui/z-index-stack": "8.1.1"
75
85
  },
76
86
  "devDependencies": {
77
- "@hanzogui/build": "8.0.0",
87
+ "@hanzogui/build": "8.1.1",
78
88
  "react": ">=19",
79
89
  "react-native": "0.83.2",
80
90
  "react-native-gesture-handler": "~2.30.0",
@@ -84,5 +94,10 @@
84
94
  "react": ">=19"
85
95
  },
86
96
  "module:jsx": "dist/jsx",
87
- "removeSideEffects": true
97
+ "removeSideEffects": true,
98
+ "repository": {
99
+ "type": "git",
100
+ "url": "git+https://github.com/hanzoai/gui.git",
101
+ "directory": "pkgs/ui/sheet"
102
+ }
88
103
  }
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("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
3
+ export declare const Handle: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
4
4
  open?: boolean | undefined;
5
5
  unstyled?: boolean | undefined;
6
- elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
6
+ elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
7
7
  fullscreen?: boolean | undefined;
8
- }, import("@hanzogui/core").StaticConfigPublic>;
9
- export declare const Overlay: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
8
+ }, import("@hanzogui/web").StaticConfigPublic>;
9
+ export declare const Overlay: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
10
10
  open?: boolean | undefined;
11
11
  unstyled?: boolean | undefined;
12
- elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
12
+ elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
13
13
  fullscreen?: boolean | undefined;
14
- }, import("@hanzogui/core").StaticConfigPublic>;
15
- export declare const Frame: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
14
+ }, import("@hanzogui/web").StaticConfigPublic>;
15
+ export declare const Frame: import("@hanzogui/web").GuiComponent<import("@hanzogui/web").TamaDefer, import("@hanzogui/web").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
16
16
  unstyled?: boolean | undefined;
17
- elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
17
+ elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
18
18
  fullscreen?: boolean | undefined;
19
- }, import("@hanzogui/core").StaticConfigPublic>;
19
+ }, import("@hanzogui/web").StaticConfigPublic>;
20
20
  export declare const Sheet: import("react").ForwardRefExoticComponent<{
21
21
  open?: boolean;
22
22
  defaultOpen?: boolean;
@@ -31,12 +31,12 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
31
31
  dismissOnSnapToBottom?: boolean;
32
32
  disableRemoveScroll?: boolean;
33
33
  forceRemoveScrollEnabled?: boolean;
34
- transitionConfig?: import("@hanzogui/core").AnimatedNumberStrategy;
34
+ transitionConfig?: import("@hanzogui/web").AnimatedNumberStrategy;
35
35
  preferAdaptParentOpenState?: boolean;
36
36
  unmountChildrenWhenHidden?: boolean;
37
37
  disableTransparencyHide?: boolean;
38
38
  native?: "ios"[] | boolean;
39
- transition?: import("@hanzogui/core").TransitionProp;
39
+ transition?: import("@hanzogui/web").TransitionProp;
40
40
  handleDisableScroll?: boolean;
41
41
  disableDrag?: boolean;
42
42
  modal?: boolean;
@@ -51,9 +51,9 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
51
51
  __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
52
52
  } & import("react").RefAttributes<import("react-native").View>> & {
53
53
  Controlled: import("react").FunctionComponent<Omit<import("./types").SheetProps, "open" | "onOpenChange"> & import("react").RefAttributes<import("react-native").View>> & {
54
- Frame: import("react").ForwardRefExoticComponent<import("./types").SheetScopedProps<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
54
+ Frame: import("react").ForwardRefExoticComponent<import("./types").SheetScopedProps<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
55
55
  unstyled?: boolean | undefined;
56
- elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
56
+ elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
57
57
  fullscreen?: boolean | undefined;
58
58
  }>, keyof {
59
59
  disableHideBottomOverflow?: boolean;
@@ -62,52 +62,52 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
62
62
  disableHideBottomOverflow?: boolean;
63
63
  adjustPaddingForOffscreenContent?: boolean;
64
64
  }>>;
65
- Overlay: import("@hanzogui/core").GuiComponent<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
+ Overlay: import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").StackNonStyleProps & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase, {}>> & {
66
66
  open?: boolean;
67
67
  }, "__scopeSheet"> & {
68
68
  __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
69
69
  }, any, any, any, {
70
70
  open?: boolean;
71
- }, {}> | import("@hanzogui/core").GuiComponent<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
+ }, {}> | import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").StackNonStyleProps & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase, {}>> & {
72
72
  open?: boolean;
73
73
  }, "__scopeSheet"> & {
74
74
  __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
75
75
  }, any, {
76
76
  __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
77
77
  }, {}, {}, {}>;
78
- Handle: import("@hanzogui/core").GuiComponent<any, any, any, any, {
78
+ Handle: import("@hanzogui/web").GuiComponent<any, any, any, any, {
79
79
  open?: boolean;
80
- }, {}> | import("@hanzogui/core").GuiComponent<any, any, any, {}, {}, {}>;
81
- ScrollView: import("react").ForwardRefExoticComponent<Omit<import("@hanzogui/core").GuiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@hanzogui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
82
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
80
+ }, {}> | import("@hanzogui/web").GuiComponent<any, any, any, {}, {}, {}>;
81
+ ScrollView: import("react").ForwardRefExoticComponent<Omit<import("@hanzogui/web").GuiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
82
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
83
83
  accept: {
84
84
  readonly contentContainerStyle: "style";
85
85
  };
86
86
  }>> | undefined;
87
87
  }> & {
88
88
  fullscreen?: boolean | undefined;
89
- } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
90
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
89
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
90
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
91
91
  accept: {
92
92
  readonly contentContainerStyle: "style";
93
93
  };
94
94
  }>> | undefined;
95
- }>> & import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
96
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
95
+ }>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
96
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
97
97
  accept: {
98
98
  readonly contentContainerStyle: "style";
99
99
  };
100
100
  }>> | undefined;
101
101
  }> & {
102
102
  fullscreen?: boolean | undefined;
103
- } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
104
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
103
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
104
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
105
105
  accept: {
106
106
  readonly contentContainerStyle: "style";
107
107
  };
108
108
  }>> | undefined;
109
- }>>> & import("@hanzogui/core").WithMediaProps<import("@hanzogui/core").WithThemeShorthandsAndPseudos<import("@hanzogui/core").StackStyleBase & {
110
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
109
+ }>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase & {
110
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
111
111
  accept: {
112
112
  readonly contentContainerStyle: "style";
113
113
  };
@@ -116,9 +116,9 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
116
116
  fullscreen?: boolean | undefined;
117
117
  }>> & import("react").RefAttributes<import("react-native").ScrollView>>;
118
118
  };
119
- Frame: import("react").ForwardRefExoticComponent<import("./types").SheetScopedProps<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
119
+ Frame: import("react").ForwardRefExoticComponent<import("./types").SheetScopedProps<Omit<import("@hanzogui/web").GetFinalProps<import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/web").StackStyleBase, {
120
120
  unstyled?: boolean | undefined;
121
- elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
121
+ elevation?: number | import("@hanzogui/web").SizeTokens | undefined;
122
122
  fullscreen?: boolean | undefined;
123
123
  }>, keyof {
124
124
  disableHideBottomOverflow?: boolean;
@@ -127,52 +127,52 @@ export declare const Sheet: import("react").ForwardRefExoticComponent<{
127
127
  disableHideBottomOverflow?: boolean;
128
128
  adjustPaddingForOffscreenContent?: boolean;
129
129
  }>>;
130
- Overlay: import("@hanzogui/core").GuiComponent<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
+ Overlay: import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").StackNonStyleProps & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase, {}>> & {
131
131
  open?: boolean;
132
132
  }, "__scopeSheet"> & {
133
133
  __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
134
134
  }, any, any, any, {
135
135
  open?: boolean;
136
- }, {}> | import("@hanzogui/core").GuiComponent<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
+ }, {}> | import("@hanzogui/web").GuiComponent<Omit<import("@hanzogui/web").StackNonStyleProps & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase> & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase, {}>> & {
137
137
  open?: boolean;
138
138
  }, "__scopeSheet"> & {
139
139
  __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
140
140
  }, any, {
141
141
  __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
142
142
  }, {}, {}, {}>;
143
- Handle: import("@hanzogui/core").GuiComponent<any, any, any, any, {
143
+ Handle: import("@hanzogui/web").GuiComponent<any, any, any, any, {
144
144
  open?: boolean;
145
- }, {}> | import("@hanzogui/core").GuiComponent<any, any, any, {}, {}, {}>;
146
- ScrollView: import("react").ForwardRefExoticComponent<Omit<import("@hanzogui/core").GuiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@hanzogui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
147
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
145
+ }, {}> | import("@hanzogui/web").GuiComponent<any, any, any, {}, {}, {}>;
146
+ ScrollView: import("react").ForwardRefExoticComponent<Omit<import("@hanzogui/web").GuiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
147
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
148
148
  accept: {
149
149
  readonly contentContainerStyle: "style";
150
150
  };
151
151
  }>> | undefined;
152
152
  }> & {
153
153
  fullscreen?: boolean | undefined;
154
- } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
155
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
154
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
155
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
156
156
  accept: {
157
157
  readonly contentContainerStyle: "style";
158
158
  };
159
159
  }>> | undefined;
160
- }>> & import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
161
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
160
+ }>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
161
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
162
162
  accept: {
163
163
  readonly contentContainerStyle: "style";
164
164
  };
165
165
  }>> | undefined;
166
166
  }> & {
167
167
  fullscreen?: boolean | undefined;
168
- } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
169
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
168
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
169
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
170
170
  accept: {
171
171
  readonly contentContainerStyle: "style";
172
172
  };
173
173
  }>> | undefined;
174
- }>>> & import("@hanzogui/core").WithMediaProps<import("@hanzogui/core").WithThemeShorthandsAndPseudos<import("@hanzogui/core").StackStyleBase & {
175
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
174
+ }>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase & {
175
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
176
176
  accept: {
177
177
  readonly contentContainerStyle: "style";
178
178
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../src/Sheet.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,cAAc,SAAS,CAAA;AAMvB,eAAO,MAAM,MAAM;;;;;+CAmCjB,CAAA;AAMF,eAAO,MAAM,OAAO;;;;;+CA2BlB,CAAA;AAMF,eAAO,MAAM,KAAK;;;;+CAoBhB,CAAA;AAEF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
1
+ {"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../src/Sheet.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,cAAc,SAAS,CAAA;AAMvB,eAAO,MAAM,MAAM;;;;;8CAmCjB,CAAA;AAMF,eAAO,MAAM,OAAO;;;;;8CA2BlB,CAAA;AAMF,eAAO,MAAM,KAAK;;;;8CAoBhB,CAAA;AAEF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIhB,CAAA"}
@@ -15,12 +15,12 @@ export declare const SheetImplementationCustom: React.ForwardRefExoticComponent<
15
15
  dismissOnSnapToBottom?: boolean;
16
16
  disableRemoveScroll?: boolean;
17
17
  forceRemoveScrollEnabled?: boolean;
18
- transitionConfig?: import("@hanzogui/core").AnimatedNumberStrategy;
18
+ transitionConfig?: import("@hanzogui/web").AnimatedNumberStrategy;
19
19
  preferAdaptParentOpenState?: boolean;
20
20
  unmountChildrenWhenHidden?: boolean;
21
21
  disableTransparencyHide?: boolean;
22
22
  native?: "ios"[] | boolean;
23
- transition?: import("@hanzogui/core").TransitionProp;
23
+ transition?: import("@hanzogui/web").TransitionProp;
24
24
  handleDisableScroll?: boolean;
25
25
  disableDrag?: boolean;
26
26
  modal?: boolean;
@@ -1,35 +1,35 @@
1
1
  import React from 'react';
2
2
  import type { ScrollView as RNScrollView } from 'react-native';
3
- export declare const SheetScrollView: React.ForwardRefExoticComponent<Omit<import("@hanzogui/core").GuiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@hanzogui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
4
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof RNScrollView, {
3
+ export declare const SheetScrollView: React.ForwardRefExoticComponent<Omit<import("@hanzogui/web").GuiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
4
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof RNScrollView, {
5
5
  accept: {
6
6
  readonly contentContainerStyle: "style";
7
7
  };
8
8
  }>> | undefined;
9
9
  }> & {
10
10
  fullscreen?: boolean | undefined;
11
- } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
12
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof RNScrollView, {
11
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
12
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof RNScrollView, {
13
13
  accept: {
14
14
  readonly contentContainerStyle: "style";
15
15
  };
16
16
  }>> | undefined;
17
- }>> & import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
18
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof RNScrollView, {
17
+ }>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
18
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof RNScrollView, {
19
19
  accept: {
20
20
  readonly contentContainerStyle: "style";
21
21
  };
22
22
  }>> | undefined;
23
23
  }> & {
24
24
  fullscreen?: boolean | undefined;
25
- } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
26
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof RNScrollView, {
25
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
26
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof RNScrollView, {
27
27
  accept: {
28
28
  readonly contentContainerStyle: "style";
29
29
  };
30
30
  }>> | undefined;
31
- }>>> & import("@hanzogui/core").WithMediaProps<import("@hanzogui/core").WithThemeShorthandsAndPseudos<import("@hanzogui/core").StackStyleBase & {
32
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof RNScrollView, {
31
+ }>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase & {
32
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof RNScrollView, {
33
33
  accept: {
34
34
  readonly contentContainerStyle: "style";
35
35
  };
@@ -25,12 +25,12 @@ export declare function createSheet<H extends GuiComponent | SheetStyledComponen
25
25
  dismissOnSnapToBottom?: boolean;
26
26
  disableRemoveScroll?: boolean;
27
27
  forceRemoveScrollEnabled?: boolean;
28
- transitionConfig?: import("@hanzogui/core").AnimatedNumberStrategy;
28
+ transitionConfig?: import("@hanzogui/web").AnimatedNumberStrategy;
29
29
  preferAdaptParentOpenState?: boolean;
30
30
  unmountChildrenWhenHidden?: boolean;
31
31
  disableTransparencyHide?: boolean;
32
32
  native?: "ios"[] | boolean;
33
- transition?: import("@hanzogui/core").TransitionProp;
33
+ transition?: import("@hanzogui/web").TransitionProp;
34
34
  handleDisableScroll?: boolean;
35
35
  disableDrag?: boolean;
36
36
  modal?: boolean;
@@ -80,36 +80,36 @@ export declare function createSheet<H extends GuiComponent | SheetStyledComponen
80
80
  __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
81
81
  }, {}, {}, {}>;
82
82
  Handle: GuiComponent<any, any, any, any, SharedSheetProps, {}> | GuiComponent<any, any, any, {}, {}, {}>;
83
- ScrollView: ForwardRefExoticComponent<Omit<import("@hanzogui/core").GuiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@hanzogui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
84
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
83
+ ScrollView: ForwardRefExoticComponent<Omit<import("@hanzogui/web").GuiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
84
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
85
85
  accept: {
86
86
  readonly contentContainerStyle: "style";
87
87
  };
88
88
  }>> | undefined;
89
89
  }> & {
90
90
  fullscreen?: boolean | undefined;
91
- } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
92
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
91
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
92
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
93
93
  accept: {
94
94
  readonly contentContainerStyle: "style";
95
95
  };
96
96
  }>> | undefined;
97
- }>> & import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
98
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
97
+ }>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
98
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
99
99
  accept: {
100
100
  readonly contentContainerStyle: "style";
101
101
  };
102
102
  }>> | undefined;
103
103
  }> & {
104
104
  fullscreen?: boolean | undefined;
105
- } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
106
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
105
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
106
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
107
107
  accept: {
108
108
  readonly contentContainerStyle: "style";
109
109
  };
110
110
  }>> | undefined;
111
- }>>> & import("@hanzogui/core").WithMediaProps<import("@hanzogui/core").WithThemeShorthandsAndPseudos<import("@hanzogui/core").StackStyleBase & {
112
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
111
+ }>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase & {
112
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
113
113
  accept: {
114
114
  readonly contentContainerStyle: "style";
115
115
  };
@@ -153,36 +153,36 @@ export declare function createSheet<H extends GuiComponent | SheetStyledComponen
153
153
  __scopeSheet?: import("@hanzogui/create-context").Scope<any>;
154
154
  }, {}, {}, {}>;
155
155
  Handle: GuiComponent<any, any, any, any, SharedSheetProps, {}> | GuiComponent<any, any, any, {}, {}, {}>;
156
- ScrollView: ForwardRefExoticComponent<Omit<import("@hanzogui/core").GuiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@hanzogui/core").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
157
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
156
+ ScrollView: ForwardRefExoticComponent<Omit<import("@hanzogui/web").GuiComponentPropsBaseBase & import("react-native").ScrollViewProps, keyof import("@hanzogui/web").StackStyleBase | "fullscreen" | "contentContainerStyle"> & import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
157
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
158
158
  accept: {
159
159
  readonly contentContainerStyle: "style";
160
160
  };
161
161
  }>> | undefined;
162
162
  }> & {
163
163
  fullscreen?: boolean | undefined;
164
- } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
165
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
164
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
165
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
166
166
  accept: {
167
167
  readonly contentContainerStyle: "style";
168
168
  };
169
169
  }>> | undefined;
170
- }>> & import("@hanzogui/core").WithPseudoProps<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
171
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
170
+ }>> & import("@hanzogui/web").WithPseudoProps<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
171
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
172
172
  accept: {
173
173
  readonly contentContainerStyle: "style";
174
174
  };
175
175
  }>> | undefined;
176
176
  }> & {
177
177
  fullscreen?: boolean | undefined;
178
- } & import("@hanzogui/core").WithShorthands<import("@hanzogui/core").WithThemeValues<import("@hanzogui/core").StackStyleBase & {
179
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
178
+ } & import("@hanzogui/web").WithShorthands<import("@hanzogui/web").WithThemeValues<import("@hanzogui/web").StackStyleBase & {
179
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
180
180
  accept: {
181
181
  readonly contentContainerStyle: "style";
182
182
  };
183
183
  }>> | undefined;
184
- }>>> & import("@hanzogui/core").WithMediaProps<import("@hanzogui/core").WithThemeShorthandsAndPseudos<import("@hanzogui/core").StackStyleBase & {
185
- readonly contentContainerStyle?: Partial<import("@hanzogui/core").InferStyleProps<typeof import("react-native").ScrollView, {
184
+ }>>> & import("@hanzogui/web").WithMediaProps<import("@hanzogui/web").WithThemeShorthandsAndPseudos<import("@hanzogui/web").StackStyleBase & {
185
+ readonly contentContainerStyle?: Partial<import("@hanzogui/web").InferStyleProps<typeof import("react-native").ScrollView, {
186
186
  accept: {
187
187
  readonly contentContainerStyle: "style";
188
188
  };
@@ -1,2 +0,0 @@
1
- $ hanzogui-build
2
- built @hanzogui/sheet in 1725 ms