@admin-layout/gluestack-ui-mobile 11.0.4-alpha.0 → 12.0.16-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/CHANGELOG.md +60 -4
  2. package/lib/__tests__/prolayout-layout-feature.test.js +1 -1
  3. package/lib/__tests__/prolayout-layout-feature.test.js.map +1 -1
  4. package/lib/components/AuthWrapper.js +5 -3
  5. package/lib/components/AuthWrapper.js.map +1 -1
  6. package/lib/components/ErrorBounday.js.map +1 -1
  7. package/lib/components/NavigationComponent.js.map +1 -1
  8. package/lib/components/UnAuthenticatedComponent.js.map +1 -1
  9. package/lib/components/WithConfiguration.js +4 -4
  10. package/lib/components/WithConfiguration.js.map +1 -1
  11. package/lib/components/WithPermission.js +1 -1
  12. package/lib/components/WithPermission.js.map +1 -1
  13. package/lib/components/WithPolicy.js +2 -2
  14. package/lib/components/WithPolicy.js.map +1 -1
  15. package/lib/components/ui/accordion/index.web.d.ts +209 -0
  16. package/lib/components/ui/accordion/index.web.js +156 -0
  17. package/lib/components/ui/accordion/index.web.js.map +1 -0
  18. package/lib/components/ui/actionsheet/index.web.d.ts +872 -0
  19. package/lib/components/ui/actionsheet/index.web.js +286 -0
  20. package/lib/components/ui/actionsheet/index.web.js.map +1 -0
  21. package/lib/components/ui/alert/index.web.d.ts +135 -0
  22. package/lib/components/ui/alert/index.web.js +38 -0
  23. package/lib/components/ui/alert/index.web.js.map +1 -0
  24. package/lib/components/ui/alert-dialog/index.web.d.ts +64 -0
  25. package/lib/components/ui/alert-dialog/index.web.js +139 -0
  26. package/lib/components/ui/alert-dialog/index.web.js.map +1 -0
  27. package/lib/components/ui/avatar/index.web.d.ts +21 -0
  28. package/lib/components/ui/avatar/index.web.js +92 -0
  29. package/lib/components/ui/avatar/index.web.js.map +1 -0
  30. package/lib/components/ui/badge/index.web.d.ts +382 -0
  31. package/lib/components/ui/badge/index.web.js +138 -0
  32. package/lib/components/ui/badge/index.web.js.map +1 -0
  33. package/lib/components/ui/button/index.web.d.ts +247 -0
  34. package/lib/components/ui/button/index.web.js +57 -0
  35. package/lib/components/ui/button/index.web.js.map +1 -0
  36. package/lib/components/ui/checkbox/index.web.d.ts +265 -0
  37. package/lib/components/ui/checkbox/index.web.js +77 -0
  38. package/lib/components/ui/checkbox/index.web.js.map +1 -0
  39. package/lib/components/ui/divider/index.web.d.ts +53 -0
  40. package/lib/components/ui/divider/index.web.js +21 -0
  41. package/lib/components/ui/divider/index.web.js.map +1 -0
  42. package/lib/components/ui/drawer/index.web.d.ts +174 -0
  43. package/lib/components/ui/drawer/index.web.js +65 -0
  44. package/lib/components/ui/drawer/index.web.js.map +1 -0
  45. package/lib/components/ui/fab/index.web.d.ts +520 -0
  46. package/lib/components/ui/fab/index.web.js +146 -0
  47. package/lib/components/ui/fab/index.web.js.map +1 -0
  48. package/lib/components/ui/flat-list/index.web.d.ts +21 -0
  49. package/lib/components/ui/flat-list/index.web.js +41 -0
  50. package/lib/components/ui/flat-list/index.web.js.map +1 -0
  51. package/lib/components/ui/form-control/index.web.d.ts +2071 -0
  52. package/lib/components/ui/form-control/index.web.js +290 -0
  53. package/lib/components/ui/form-control/index.web.js.map +1 -0
  54. package/lib/components/ui/image/index.web.d.ts +142 -0
  55. package/lib/components/ui/image/index.web.js +29 -0
  56. package/lib/components/ui/image/index.web.js.map +1 -0
  57. package/lib/components/ui/image-background/index.web.d.ts +8 -0
  58. package/lib/components/ui/image-background/index.web.js +23 -0
  59. package/lib/components/ui/image-background/index.web.js.map +1 -0
  60. package/lib/components/ui/input/index.web.d.ts +163 -0
  61. package/lib/components/ui/input/index.web.js +50 -0
  62. package/lib/components/ui/input/index.web.js.map +1 -0
  63. package/lib/components/ui/input-accessory-view/index.web.d.ts +9 -0
  64. package/lib/components/ui/input-accessory-view/index.web.js +16 -0
  65. package/lib/components/ui/input-accessory-view/index.web.js.map +1 -0
  66. package/lib/components/ui/keyboard-avoiding-view/index.web.d.ts +9 -0
  67. package/lib/components/ui/keyboard-avoiding-view/index.web.js +8 -0
  68. package/lib/components/ui/keyboard-avoiding-view/index.web.js.map +1 -0
  69. package/lib/components/ui/link/index.web.d.ts +365 -0
  70. package/lib/components/ui/link/index.web.js +70 -0
  71. package/lib/components/ui/link/index.web.js.map +1 -0
  72. package/lib/components/ui/menu/index.web.d.ts +142 -0
  73. package/lib/components/ui/menu/index.web.js +83 -0
  74. package/lib/components/ui/menu/index.web.js.map +1 -0
  75. package/lib/components/ui/modal/index.web.d.ts +111 -0
  76. package/lib/components/ui/modal/index.web.js +58 -0
  77. package/lib/components/ui/modal/index.web.js.map +1 -0
  78. package/lib/components/ui/popover/index.web.d.ts +309 -0
  79. package/lib/components/ui/popover/index.web.js +184 -0
  80. package/lib/components/ui/popover/index.web.js.map +1 -0
  81. package/lib/components/ui/portal/index.web.d.ts +9 -0
  82. package/lib/components/ui/portal/index.web.js +16 -0
  83. package/lib/components/ui/portal/index.web.js.map +1 -0
  84. package/lib/components/ui/pressable/index.web.d.ts +8 -0
  85. package/lib/components/ui/pressable/index.web.js +44 -0
  86. package/lib/components/ui/pressable/index.web.js.map +1 -0
  87. package/lib/components/ui/progress/index.web.d.ts +237 -0
  88. package/lib/components/ui/progress/index.web.js +73 -0
  89. package/lib/components/ui/progress/index.web.js.map +1 -0
  90. package/lib/components/ui/radio/index.web.d.ts +224 -0
  91. package/lib/components/ui/radio/index.web.js +69 -0
  92. package/lib/components/ui/radio/index.web.js.map +1 -0
  93. package/lib/components/ui/refresh-control/index.web.d.ts +14 -0
  94. package/lib/components/ui/refresh-control/index.web.js +69 -0
  95. package/lib/components/ui/refresh-control/index.web.js.map +1 -0
  96. package/lib/components/ui/safe-area-view/index.web.d.ts +6 -0
  97. package/lib/components/ui/safe-area-view/index.web.js +10 -0
  98. package/lib/components/ui/safe-area-view/index.web.js.map +1 -0
  99. package/lib/components/ui/scroll-view/index.web.d.ts +44 -0
  100. package/lib/components/ui/scroll-view/index.web.js +41 -0
  101. package/lib/components/ui/scroll-view/index.web.js.map +1 -0
  102. package/lib/components/ui/section-list/index.web.d.ts +26 -0
  103. package/lib/components/ui/section-list/index.web.js +35 -0
  104. package/lib/components/ui/section-list/index.web.js.map +1 -0
  105. package/lib/components/ui/select/index.web.d.ts +162 -0
  106. package/lib/components/ui/select/index.web.js +51 -0
  107. package/lib/components/ui/select/index.web.js.map +1 -0
  108. package/lib/components/ui/slider/index.web.d.ts +223 -0
  109. package/lib/components/ui/slider/index.web.js +189 -0
  110. package/lib/components/ui/slider/index.web.js.map +1 -0
  111. package/lib/components/ui/spinner/index.web.d.ts +176 -0
  112. package/lib/components/ui/spinner/index.web.js +55 -0
  113. package/lib/components/ui/spinner/index.web.js.map +1 -0
  114. package/lib/components/ui/status-bar/index.web.d.ts +14 -0
  115. package/lib/components/ui/status-bar/index.web.js +7 -0
  116. package/lib/components/ui/status-bar/index.web.js.map +1 -0
  117. package/lib/components/ui/switch/index.web.d.ts +71 -0
  118. package/lib/components/ui/switch/index.web.js +27 -0
  119. package/lib/components/ui/switch/index.web.js.map +1 -0
  120. package/lib/components/ui/tabs/index.web.d.ts +351 -0
  121. package/lib/components/ui/tabs/index.web.js +120 -0
  122. package/lib/components/ui/tabs/index.web.js.map +1 -0
  123. package/lib/components/ui/textarea/index.web.d.ts +162 -0
  124. package/lib/components/ui/textarea/index.web.js +50 -0
  125. package/lib/components/ui/textarea/index.web.js.map +1 -0
  126. package/lib/components/ui/toast/index.web.d.ts +225 -0
  127. package/lib/components/ui/toast/index.web.js +80 -0
  128. package/lib/components/ui/toast/index.web.js.map +1 -0
  129. package/lib/components/ui/tooltip/index.web.d.ts +86 -0
  130. package/lib/components/ui/tooltip/index.web.js +110 -0
  131. package/lib/components/ui/tooltip/index.web.js.map +1 -0
  132. package/lib/components/ui/view/index.web.d.ts +2 -0
  133. package/lib/components/ui/view/index.web.js +7 -0
  134. package/lib/components/ui/view/index.web.js.map +1 -0
  135. package/lib/components/ui/virtualized-list/index.web.d.ts +19 -0
  136. package/lib/components/ui/virtualized-list/index.web.js +30 -0
  137. package/lib/components/ui/virtualized-list/index.web.js.map +1 -0
  138. package/lib/components/usePermissionAutoFetch.d.ts +7 -19
  139. package/lib/components/with-interactions-lifecycle-managed.js.map +1 -1
  140. package/lib/components/with-interactions-managed.js +2 -3
  141. package/lib/components/with-interactions-managed.js.map +1 -1
  142. package/lib/containers/layout/DrawerBottomNavigationConfig.d.ts +47 -47
  143. package/lib/containers/layout/DrawerConfig.d.ts +31 -31
  144. package/lib/containers/layout/module.js +1 -1
  145. package/lib/containers/layout/module.js.map +1 -1
  146. package/lib/interfaces/settings.d.ts +1 -0
  147. package/lib/redux/settings.d.ts +4 -9
  148. package/lib/utils/routeConfigKeyReplace.test.js +1 -1
  149. package/lib/utils/routeConfigKeyReplace.test.js.map +1 -1
  150. package/package.json +7 -4
  151. package/src/__tests__/prolayout-layout-feature.test.tsx +2 -2
  152. package/src/components/AuthWrapper.tsx +6 -3
  153. package/src/components/ErrorBounday.tsx +18 -19
  154. package/src/components/NavigationComponent.tsx +1 -1
  155. package/src/components/UnAuthenticatedComponent.tsx +1 -3
  156. package/src/components/WithConfiguration.tsx +5 -8
  157. package/src/components/WithPermission.tsx +1 -1
  158. package/src/components/WithPolicy.tsx +4 -3
  159. package/src/components/ui/accordion/index.web.tsx +294 -0
  160. package/src/components/ui/actionsheet/index.web.tsx +555 -0
  161. package/src/components/ui/alert/index.web.tsx +71 -0
  162. package/src/components/ui/alert-dialog/index.web.tsx +241 -0
  163. package/src/components/ui/avatar/index.web.tsx +150 -0
  164. package/src/components/ui/badge/index.web.tsx +188 -0
  165. package/src/components/ui/button/index.web.tsx +86 -0
  166. package/src/components/ui/checkbox/index.web.tsx +151 -0
  167. package/src/components/ui/divider/index.web.tsx +37 -0
  168. package/src/components/ui/drawer/index.web.tsx +144 -0
  169. package/src/components/ui/fab/index.web.tsx +201 -0
  170. package/src/components/ui/flat-list/index.web.tsx +89 -0
  171. package/src/components/ui/form-control/index.web.tsx +451 -0
  172. package/src/components/ui/image/index.web.tsx +43 -0
  173. package/src/components/ui/image-background/index.web.tsx +43 -0
  174. package/src/components/ui/input/index.web.tsx +80 -0
  175. package/src/components/ui/input-accessory-view/index.web.tsx +31 -0
  176. package/src/components/ui/keyboard-avoiding-view/index.web.tsx +23 -0
  177. package/src/components/ui/link/index.web.tsx +103 -0
  178. package/src/components/ui/menu/index.web.tsx +159 -0
  179. package/src/components/ui/modal/index.web.tsx +135 -0
  180. package/src/components/ui/popover/index.web.tsx +326 -0
  181. package/src/components/ui/portal/index.web.tsx +34 -0
  182. package/src/components/ui/pressable/index.web.tsx +73 -0
  183. package/src/components/ui/progress/index.web.tsx +123 -0
  184. package/src/components/ui/radio/index.web.tsx +130 -0
  185. package/src/components/ui/refresh-control/index.web.tsx +104 -0
  186. package/src/components/ui/safe-area-view/index.web.tsx +24 -0
  187. package/src/components/ui/scroll-view/index.web.tsx +142 -0
  188. package/src/components/ui/section-list/index.web.tsx +93 -0
  189. package/src/components/ui/select/index.web.tsx +83 -0
  190. package/src/components/ui/slider/index.web.tsx +283 -0
  191. package/src/components/ui/spinner/index.web.tsx +81 -0
  192. package/src/components/ui/status-bar/index.web.tsx +20 -0
  193. package/src/components/ui/switch/index.web.tsx +44 -0
  194. package/src/components/ui/tabs/index.web.tsx +205 -0
  195. package/src/components/ui/textarea/index.web.tsx +86 -0
  196. package/src/components/ui/toast/index.web.tsx +132 -0
  197. package/src/components/ui/tooltip/index.web.tsx +155 -0
  198. package/src/components/ui/view/index.web.tsx +15 -0
  199. package/src/components/ui/virtualized-list/index.web.tsx +84 -0
  200. package/src/components/with-interactions-lifecycle-managed.tsx +0 -4
  201. package/src/components/with-interactions-managed.tsx +3 -4
  202. package/src/containers/layout/module.ts +1 -1
  203. package/src/interfaces/settings.ts +1 -0
  204. package/src/utils/routeConfigKeyReplace.test.ts +4 -4
@@ -0,0 +1,83 @@
1
+ 'use client';
2
+ import React, { forwardRef, useEffect, useRef, useState } from 'react';
3
+ import { tva } from '@gluestack-ui/nativewind-utils/tva';
4
+ import { createPortal } from 'react-dom';
5
+ const SCOPE = 'MENU';
6
+ const menuStyle = tva({
7
+ base: 'absolute z-50 min-w-[200px] py-1 bg-white rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none',
8
+ variants: {
9
+ placement: {
10
+ top: 'bottom-full mb-2',
11
+ bottom: 'top-full mt-2',
12
+ left: 'right-full mr-2',
13
+ right: 'left-full ml-2',
14
+ },
15
+ size: {
16
+ sm: 'text-sm',
17
+ md: 'text-base',
18
+ lg: 'text-lg',
19
+ },
20
+ },
21
+ defaultVariants: {
22
+ placement: 'bottom',
23
+ size: 'md',
24
+ },
25
+ });
26
+ export const MenuItem = forwardRef(({ className, onClick, disabled, ...props }, ref) => (React.createElement("button", { ref: ref, className: `w-full px-4 py-2 text-left hover:bg-gray-100 disabled:opacity-50 disabled:cursor-not-allowed ${className || ''}`, onClick: onClick, disabled: disabled, role: "menuitem", ...props })));
27
+ MenuItem.displayName = 'MenuItem';
28
+ export const MenuDivider = forwardRef(({ className, ...props }, ref) => (React.createElement("hr", { ref: ref, className: `my-1 border-gray-200 ${className || ''}`, role: "separator", ...props })));
29
+ MenuDivider.displayName = 'MenuDivider';
30
+ export const MenuGroup = forwardRef(({ className, title, children, ...props }, ref) => (React.createElement("div", { ref: ref, role: "group", "aria-label": title, ...props },
31
+ title && React.createElement("div", { className: "px-4 py-2 text-sm font-semibold text-gray-500" }, title),
32
+ children)));
33
+ MenuGroup.displayName = 'MenuGroup';
34
+ const Menu = forwardRef(({ trigger, isOpen: controlledIsOpen, onOpen, onClose, children, className, placement, size, ...props }, ref) => {
35
+ const [isOpen, setIsOpen] = useState(controlledIsOpen || false);
36
+ const menuRef = useRef(null);
37
+ const triggerRef = useRef(null);
38
+ const handleOpen = () => {
39
+ setIsOpen(true);
40
+ if (onOpen)
41
+ onOpen();
42
+ };
43
+ const handleClose = () => {
44
+ setIsOpen(false);
45
+ if (onClose)
46
+ onClose();
47
+ };
48
+ useEffect(() => {
49
+ if (controlledIsOpen !== undefined) {
50
+ setIsOpen(controlledIsOpen);
51
+ }
52
+ }, [controlledIsOpen]);
53
+ useEffect(() => {
54
+ const handleClickOutside = (event) => {
55
+ if (menuRef.current &&
56
+ !menuRef.current.contains(event.target) &&
57
+ triggerRef.current &&
58
+ !triggerRef.current.contains(event.target)) {
59
+ handleClose();
60
+ }
61
+ };
62
+ const handleEscape = (event) => {
63
+ if (event.key === 'Escape') {
64
+ handleClose();
65
+ }
66
+ };
67
+ if (isOpen) {
68
+ document.addEventListener('mousedown', handleClickOutside);
69
+ document.addEventListener('keydown', handleEscape);
70
+ }
71
+ return () => {
72
+ document.removeEventListener('mousedown', handleClickOutside);
73
+ document.removeEventListener('keydown', handleEscape);
74
+ };
75
+ }, [isOpen]);
76
+ return (React.createElement("div", { className: "relative inline-block", ref: ref },
77
+ React.createElement("div", { ref: triggerRef, onClick: () => (isOpen ? handleClose() : handleOpen()), "aria-haspopup": "true", "aria-expanded": isOpen }, trigger),
78
+ isOpen &&
79
+ createPortal(React.createElement("div", { ref: menuRef, className: menuStyle({ placement, size, class: className }), role: "menu", "aria-orientation": "vertical", ...props }, children), document.body)));
80
+ });
81
+ Menu.displayName = 'Menu';
82
+ export { Menu };
83
+ //# sourceMappingURL=index.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/components/ui/menu/index.web.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AAIzD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,KAAK,GAAG,MAAM,CAAC;AAErB,MAAM,SAAS,GAAG,GAAG,CAAC;IAClB,IAAI,EAAE,oHAA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AG,MAAM,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,CAAC"}
@@ -0,0 +1,111 @@
1
+ import React from 'react';
2
+ import type { VariantProps } from '@gluestack-ui/nativewind-utils';
3
+ declare const modalStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
4
+ size: {
5
+ xs: string;
6
+ sm: string;
7
+ md: string;
8
+ lg: string;
9
+ xl: string;
10
+ full: string;
11
+ };
12
+ } | ({
13
+ size: {
14
+ xs: string;
15
+ sm: string;
16
+ md: string;
17
+ lg: string;
18
+ xl: string;
19
+ full: string;
20
+ };
21
+ } & {
22
+ size: {
23
+ xs: import("tailwind-merge").ClassNameValue | {
24
+ base?: import("tailwind-merge").ClassNameValue;
25
+ };
26
+ sm: import("tailwind-merge").ClassNameValue | {
27
+ base?: import("tailwind-merge").ClassNameValue;
28
+ };
29
+ md: import("tailwind-merge").ClassNameValue | {
30
+ base?: import("tailwind-merge").ClassNameValue;
31
+ };
32
+ lg: import("tailwind-merge").ClassNameValue | {
33
+ base?: import("tailwind-merge").ClassNameValue;
34
+ };
35
+ xl: import("tailwind-merge").ClassNameValue | {
36
+ base?: import("tailwind-merge").ClassNameValue;
37
+ };
38
+ full: import("tailwind-merge").ClassNameValue | {
39
+ base?: import("tailwind-merge").ClassNameValue;
40
+ };
41
+ };
42
+ }), undefined, "fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 bg-white rounded-lg shadow-xl p-6 max-h-[90vh] overflow-y-auto", import("tailwind-variants/dist/config").TVConfig<{
43
+ size: {
44
+ xs: string;
45
+ sm: string;
46
+ md: string;
47
+ lg: string;
48
+ xl: string;
49
+ full: string;
50
+ };
51
+ }, {
52
+ size: {
53
+ xs: string;
54
+ sm: string;
55
+ md: string;
56
+ lg: string;
57
+ xl: string;
58
+ full: string;
59
+ };
60
+ }>, {
61
+ size: {
62
+ xs: string;
63
+ sm: string;
64
+ md: string;
65
+ lg: string;
66
+ xl: string;
67
+ full: string;
68
+ };
69
+ }, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
70
+ size: {
71
+ xs: string;
72
+ sm: string;
73
+ md: string;
74
+ lg: string;
75
+ xl: string;
76
+ full: string;
77
+ };
78
+ }, undefined, "fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 bg-white rounded-lg shadow-xl p-6 max-h-[90vh] overflow-y-auto", import("tailwind-variants/dist/config").TVConfig<{
79
+ size: {
80
+ xs: string;
81
+ sm: string;
82
+ md: string;
83
+ lg: string;
84
+ xl: string;
85
+ full: string;
86
+ };
87
+ }, {
88
+ size: {
89
+ xs: string;
90
+ sm: string;
91
+ md: string;
92
+ lg: string;
93
+ xl: string;
94
+ full: string;
95
+ };
96
+ }>, unknown, unknown, undefined>>;
97
+ export declare const ModalContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
98
+ export declare const ModalHeader: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
99
+ export declare const ModalBody: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
100
+ export declare const ModalFooter: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
101
+ export declare const ModalCloseButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
102
+ type IModalProps = {
103
+ isOpen?: boolean;
104
+ onClose?: () => void;
105
+ children?: React.ReactNode;
106
+ className?: string;
107
+ size?: VariantProps<typeof modalStyle>['size'];
108
+ closeOnOverlayClick?: boolean;
109
+ };
110
+ declare const Modal: React.ForwardRefExoticComponent<IModalProps & React.RefAttributes<HTMLDivElement>>;
111
+ export { Modal };
@@ -0,0 +1,58 @@
1
+ 'use client';
2
+ import React, { forwardRef, useEffect, useRef } from 'react';
3
+ import { tva } from '@gluestack-ui/nativewind-utils/tva';
4
+ import { createPortal } from 'react-dom';
5
+ const SCOPE = 'MODAL';
6
+ const ModalOverlay = ({ onPress, className }) => (React.createElement("div", { onClick: onPress, className: `fixed inset-0 bg-black bg-opacity-40 transition-opacity ${className || ''}`, "aria-hidden": "true" }));
7
+ const modalStyle = tva({
8
+ base: 'fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 bg-white rounded-lg shadow-xl p-6 max-h-[90vh] overflow-y-auto',
9
+ variants: {
10
+ size: {
11
+ xs: 'w-[95%] max-w-xs',
12
+ sm: 'w-[95%] max-w-sm',
13
+ md: 'w-[95%] max-w-md',
14
+ lg: 'w-[95%] max-w-lg',
15
+ xl: 'w-[95%] max-w-xl',
16
+ full: 'w-[95%]',
17
+ },
18
+ },
19
+ defaultVariants: {
20
+ size: 'md',
21
+ },
22
+ });
23
+ export const ModalContent = forwardRef(({ className, ...props }, ref) => (React.createElement("div", { ref: ref, role: "dialog", "aria-modal": "true", className: className, ...props })));
24
+ ModalContent.displayName = 'ModalContent';
25
+ export const ModalHeader = forwardRef(({ className, ...props }, ref) => (React.createElement("div", { ref: ref, className: `text-xl font-semibold mb-4 ${className || ''}`, ...props })));
26
+ ModalHeader.displayName = 'ModalHeader';
27
+ export const ModalBody = forwardRef(({ className, ...props }, ref) => (React.createElement("div", { ref: ref, className: `mb-6 ${className || ''}`, ...props })));
28
+ ModalBody.displayName = 'ModalBody';
29
+ export const ModalFooter = forwardRef(({ className, ...props }, ref) => (React.createElement("div", { ref: ref, className: `flex justify-end space-x-2 ${className || ''}`, ...props })));
30
+ ModalFooter.displayName = 'ModalFooter';
31
+ export const ModalCloseButton = forwardRef(({ className, onClick, ...props }, ref) => (React.createElement("button", { ref: ref, className: `absolute right-4 top-4 text-gray-400 hover:text-gray-600 ${className || ''}`, onClick: onClick, "aria-label": "Close modal", ...props }, "\u00D7")));
32
+ ModalCloseButton.displayName = 'ModalCloseButton';
33
+ const Modal = forwardRef(({ isOpen, onClose, children, className, size, closeOnOverlayClick = true, ...props }, ref) => {
34
+ const modalRef = useRef(null);
35
+ useEffect(() => {
36
+ const handleEscape = (event) => {
37
+ if (event.key === 'Escape' && onClose) {
38
+ onClose();
39
+ }
40
+ };
41
+ if (isOpen) {
42
+ document.addEventListener('keydown', handleEscape);
43
+ document.body.style.overflow = 'hidden';
44
+ }
45
+ return () => {
46
+ document.removeEventListener('keydown', handleEscape);
47
+ document.body.style.overflow = '';
48
+ };
49
+ }, [isOpen, onClose]);
50
+ if (!isOpen)
51
+ return null;
52
+ return createPortal(React.createElement(React.Fragment, null,
53
+ React.createElement(ModalOverlay, { onPress: closeOnOverlayClick ? onClose : undefined }),
54
+ React.createElement("div", { ref: ref, className: modalStyle({ size, class: className }), role: "dialog", "aria-modal": "true", ...props }, children)), document.body);
55
+ });
56
+ Modal.displayName = 'Modal';
57
+ export { Modal };
58
+ //# sourceMappingURL=index.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../../../src/components/ui/modal/index.web.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,GAAG,EAAE,MAAM,oCAAoC,CAAC;AAIzD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,KAAK,GAAG,OAAO,CAAC;AAOtB,MAAM,YAAY,GAAG,CAAC,EAAE,OAAO,EAAE,SAAS,EAAqB,EAAE,EAAE,CAAC,CAChE,6BACI,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,2DAA2D,SAAS,IA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AC;QAED,OAAO,GAAG,EAAE;YACR,QAAQ,CAAC,mBAAmB,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;YACtD,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,EAAE,CAAC;QACtC,CAAC,CAAC;IACN,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAEtB,IAAI,CAAC,MAAM;QAAE,OAAO,IAAI,CAAC;IAEzB,OAAO,YAAY,CACf;QACI,oBAAC,YAAY,IAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,GAAI;QACpE,6BACI,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,UAAU,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,EACjD,IAAI,EAAC,QAAQ,gBACF,MAAM,KACb,KAAK,IAER,QAAQ,CACP,CACP,EACH,QAAQ,CAAC,IAAI,CAChB,CAAC;AACN,CAAC,CACJ,CAAC;AAEF,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC;AAE5B,OAAO,EAAE,KAAK,EAAE,CAAC"}
@@ -0,0 +1,309 @@
1
+ import React from 'react';
2
+ import type { VariantProps } from '@gluestack-ui/nativewind-utils';
3
+ declare const UIPopover: import("@gluestack-ui/popover/lib/types").IPopoverComponentType<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
4
+ context?: any;
5
+ } & React.RefAttributes<React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>>, import("react-native").Animated.AnimatedProps<import("react-native").ViewProps & React.RefAttributes<import("react-native").View>> & import("@legendapp/motion").MotionComponentProps<typeof import("react-native").View, import("react-native").ViewStyle, unknown, unknown, unknown>, import("react-native").Animated.AnimatedProps<import("react-native").ViewProps & React.RefAttributes<import("react-native").View>> & import("@legendapp/motion").MotionComponentProps<typeof import("react-native").View, import("react-native").ViewStyle, unknown, unknown, unknown>, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, import("react-native").Animated.AnimatedProps<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
6
+ ref?: React.Ref<HTMLDivElement>;
7
+ }> & import("@legendapp/motion").MotionComponentProps<React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>, React.CSSProperties, unknown, unknown, unknown>, Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
8
+ declare const popoverStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
9
+ size: {
10
+ xs: string;
11
+ sm: string;
12
+ md: string;
13
+ lg: string;
14
+ full: string;
15
+ };
16
+ } | ({
17
+ size: {
18
+ xs: string;
19
+ sm: string;
20
+ md: string;
21
+ lg: string;
22
+ full: string;
23
+ };
24
+ } & {
25
+ size: {
26
+ xs: import("tailwind-merge").ClassNameValue | {
27
+ base?: import("tailwind-merge").ClassNameValue;
28
+ };
29
+ sm: import("tailwind-merge").ClassNameValue | {
30
+ base?: import("tailwind-merge").ClassNameValue;
31
+ };
32
+ md: import("tailwind-merge").ClassNameValue | {
33
+ base?: import("tailwind-merge").ClassNameValue;
34
+ };
35
+ lg: import("tailwind-merge").ClassNameValue | {
36
+ base?: import("tailwind-merge").ClassNameValue;
37
+ };
38
+ full: import("tailwind-merge").ClassNameValue | {
39
+ base?: import("tailwind-merge").ClassNameValue;
40
+ };
41
+ };
42
+ }), undefined, "group/popover w-full h-full justify-center items-center pointer-events-none", import("tailwind-variants/dist/config").TVConfig<{
43
+ size: {
44
+ xs: string;
45
+ sm: string;
46
+ md: string;
47
+ lg: string;
48
+ full: string;
49
+ };
50
+ }, {
51
+ size: {
52
+ xs: string;
53
+ sm: string;
54
+ md: string;
55
+ lg: string;
56
+ full: string;
57
+ };
58
+ }>, {
59
+ size: {
60
+ xs: string;
61
+ sm: string;
62
+ md: string;
63
+ lg: string;
64
+ full: string;
65
+ };
66
+ }, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
67
+ size: {
68
+ xs: string;
69
+ sm: string;
70
+ md: string;
71
+ lg: string;
72
+ full: string;
73
+ };
74
+ }, undefined, "group/popover w-full h-full justify-center items-center pointer-events-none", import("tailwind-variants/dist/config").TVConfig<{
75
+ size: {
76
+ xs: string;
77
+ sm: string;
78
+ md: string;
79
+ lg: string;
80
+ full: string;
81
+ };
82
+ }, {
83
+ size: {
84
+ xs: string;
85
+ sm: string;
86
+ md: string;
87
+ lg: string;
88
+ full: string;
89
+ };
90
+ }>, unknown, unknown, undefined>>;
91
+ declare const popoverArrowStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
92
+ placement: {
93
+ readonly 'top left': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
94
+ readonly top: "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
95
+ readonly 'top right': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
96
+ readonly bottom: "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
97
+ readonly 'bottom left': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
98
+ readonly 'bottom right': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
99
+ readonly left: "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
100
+ readonly 'left top': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
101
+ readonly 'left bottom': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
102
+ readonly right: "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
103
+ readonly 'right top': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
104
+ readonly 'right bottom': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
105
+ };
106
+ } | ({
107
+ placement: {
108
+ readonly 'top left': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
109
+ readonly top: "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
110
+ readonly 'top right': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
111
+ readonly bottom: "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
112
+ readonly 'bottom left': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
113
+ readonly 'bottom right': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
114
+ readonly left: "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
115
+ readonly 'left top': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
116
+ readonly 'left bottom': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
117
+ readonly right: "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
118
+ readonly 'right top': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
119
+ readonly 'right bottom': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
120
+ };
121
+ } & {
122
+ placement: {
123
+ readonly 'top left': import("tailwind-merge").ClassNameValue | {
124
+ base?: import("tailwind-merge").ClassNameValue;
125
+ };
126
+ readonly top: import("tailwind-merge").ClassNameValue | {
127
+ base?: import("tailwind-merge").ClassNameValue;
128
+ };
129
+ readonly 'top right': import("tailwind-merge").ClassNameValue | {
130
+ base?: import("tailwind-merge").ClassNameValue;
131
+ };
132
+ readonly bottom: import("tailwind-merge").ClassNameValue | {
133
+ base?: import("tailwind-merge").ClassNameValue;
134
+ };
135
+ readonly 'bottom left': import("tailwind-merge").ClassNameValue | {
136
+ base?: import("tailwind-merge").ClassNameValue;
137
+ };
138
+ readonly 'bottom right': import("tailwind-merge").ClassNameValue | {
139
+ base?: import("tailwind-merge").ClassNameValue;
140
+ };
141
+ readonly left: import("tailwind-merge").ClassNameValue | {
142
+ base?: import("tailwind-merge").ClassNameValue;
143
+ };
144
+ readonly 'left top': import("tailwind-merge").ClassNameValue | {
145
+ base?: import("tailwind-merge").ClassNameValue;
146
+ };
147
+ readonly 'left bottom': import("tailwind-merge").ClassNameValue | {
148
+ base?: import("tailwind-merge").ClassNameValue;
149
+ };
150
+ readonly right: import("tailwind-merge").ClassNameValue | {
151
+ base?: import("tailwind-merge").ClassNameValue;
152
+ };
153
+ readonly 'right top': import("tailwind-merge").ClassNameValue | {
154
+ base?: import("tailwind-merge").ClassNameValue;
155
+ };
156
+ readonly 'right bottom': import("tailwind-merge").ClassNameValue | {
157
+ base?: import("tailwind-merge").ClassNameValue;
158
+ };
159
+ };
160
+ }), undefined, "bg-background-0 z-[1] border absolute overflow-hidden h-3.5 w-3.5 border-outline-100", import("tailwind-variants/dist/config").TVConfig<{
161
+ placement: {
162
+ readonly 'top left': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
163
+ readonly top: "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
164
+ readonly 'top right': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
165
+ readonly bottom: "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
166
+ readonly 'bottom left': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
167
+ readonly 'bottom right': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
168
+ readonly left: "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
169
+ readonly 'left top': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
170
+ readonly 'left bottom': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
171
+ readonly right: "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
172
+ readonly 'right top': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
173
+ readonly 'right bottom': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
174
+ };
175
+ }, {
176
+ placement: {
177
+ readonly 'top left': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
178
+ readonly top: "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
179
+ readonly 'top right': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
180
+ readonly bottom: "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
181
+ readonly 'bottom left': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
182
+ readonly 'bottom right': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
183
+ readonly left: "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
184
+ readonly 'left top': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
185
+ readonly 'left bottom': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
186
+ readonly right: "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
187
+ readonly 'right top': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
188
+ readonly 'right bottom': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
189
+ };
190
+ }>, {
191
+ placement: {
192
+ readonly 'top left': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
193
+ readonly top: "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
194
+ readonly 'top right': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
195
+ readonly bottom: "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
196
+ readonly 'bottom left': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
197
+ readonly 'bottom right': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
198
+ readonly left: "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
199
+ readonly 'left top': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
200
+ readonly 'left bottom': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
201
+ readonly right: "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
202
+ readonly 'right top': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
203
+ readonly 'right bottom': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
204
+ };
205
+ }, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
206
+ placement: {
207
+ readonly 'top left': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
208
+ readonly top: "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
209
+ readonly 'top right': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
210
+ readonly bottom: "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
211
+ readonly 'bottom left': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
212
+ readonly 'bottom right': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
213
+ readonly left: "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
214
+ readonly 'left top': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
215
+ readonly 'left bottom': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
216
+ readonly right: "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
217
+ readonly 'right top': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
218
+ readonly 'right bottom': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
219
+ };
220
+ }, undefined, "bg-background-0 z-[1] border absolute overflow-hidden h-3.5 w-3.5 border-outline-100", import("tailwind-variants/dist/config").TVConfig<{
221
+ placement: {
222
+ readonly 'top left': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
223
+ readonly top: "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
224
+ readonly 'top right': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
225
+ readonly bottom: "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
226
+ readonly 'bottom left': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
227
+ readonly 'bottom right': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
228
+ readonly left: "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
229
+ readonly 'left top': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
230
+ readonly 'left bottom': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
231
+ readonly right: "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
232
+ readonly 'right top': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
233
+ readonly 'right bottom': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
234
+ };
235
+ }, {
236
+ placement: {
237
+ readonly 'top left': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
238
+ readonly top: "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
239
+ readonly 'top right': "data-[flip=false]:border-t-0 data-[flip=false]:border-l-0 data-[flip=true]:border-b-0 data-[flip=true]:border-r-0";
240
+ readonly bottom: "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
241
+ readonly 'bottom left': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
242
+ readonly 'bottom right': "data-[flip=false]:border-b-0 data-[flip=false]:border-r-0 data-[flip=true]:border-t-0 data-[flip=true]:border-l-0";
243
+ readonly left: "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
244
+ readonly 'left top': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
245
+ readonly 'left bottom': "data-[flip=false]:border-l-0 data-[flip=false]:border-b-0 data-[flip=true]:border-r-0 data-[flip=true]:border-t-0";
246
+ readonly right: "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
247
+ readonly 'right top': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
248
+ readonly 'right bottom': "data-[flip=false]:border-r-0 data-[flip=false]:border-t-0 data-[flip=true]:border-l-0 data-[flip=true]:border-b-0";
249
+ };
250
+ }>, unknown, unknown, undefined>>;
251
+ declare const popoverBackdropStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "absolute left-0 top-0 right-0 bottom-0 cursor-default", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "absolute left-0 top-0 right-0 bottom-0 cursor-default", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
252
+ declare const popoverCloseButtonStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "group/popover-close-button z-[1] rounded-sm data-[focus-visible=true]:bg-background-100 outline-0 cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "group/popover-close-button z-[1] rounded-sm data-[focus-visible=true]:bg-background-100 outline-0 cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
253
+ declare const popoverContentStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{
254
+ size: {
255
+ xs: string;
256
+ sm: string;
257
+ md: string;
258
+ lg: string;
259
+ full: string;
260
+ };
261
+ } | ({} & {
262
+ size: {
263
+ xs: string;
264
+ sm: string;
265
+ md: string;
266
+ lg: string;
267
+ full: string;
268
+ };
269
+ }), undefined, "bg-background-0 rounded-lg overflow-hidden border border-outline-100 w-full", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "bg-background-0 rounded-lg overflow-hidden border border-outline-100 w-full", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
270
+ declare const popoverHeaderStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "flex-row justify-between items-center", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "flex-row justify-between items-center", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
271
+ declare const popoverBodyStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
272
+ declare const popoverFooterStyle: import("@gluestack-ui/nativewind-utils/types").TVReturnType<{} | {}, undefined, "flex-row justify-between items-center", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, undefined, import("@gluestack-ui/nativewind-utils/types").TVReturnType<unknown, undefined, "flex-row justify-between items-center", import("tailwind-variants/dist/config").TVConfig<unknown, unknown>, unknown, unknown, undefined>>;
273
+ type IPopoverProps = React.ComponentProps<typeof UIPopover> & VariantProps<typeof popoverStyle> & {
274
+ className?: string;
275
+ };
276
+ type IPopoverArrowProps = React.ComponentProps<typeof UIPopover.Arrow> & VariantProps<typeof popoverArrowStyle> & {
277
+ className?: string;
278
+ };
279
+ type IPopoverContentProps = React.ComponentProps<typeof UIPopover.Content> & VariantProps<typeof popoverContentStyle> & {
280
+ className?: string;
281
+ };
282
+ type IPopoverHeaderProps = React.ComponentProps<typeof UIPopover.Header> & VariantProps<typeof popoverHeaderStyle> & {
283
+ className?: string;
284
+ };
285
+ type IPopoverFooterProps = React.ComponentProps<typeof UIPopover.Footer> & VariantProps<typeof popoverFooterStyle> & {
286
+ className?: string;
287
+ };
288
+ type IPopoverBodyProps = React.ComponentProps<typeof UIPopover.Body> & VariantProps<typeof popoverBodyStyle> & {
289
+ className?: string;
290
+ };
291
+ type IPopoverBackdropProps = React.ComponentProps<typeof UIPopover.Backdrop> & VariantProps<typeof popoverBackdropStyle> & {
292
+ className?: string;
293
+ };
294
+ type IPopoverCloseButtonProps = React.ComponentProps<typeof UIPopover.CloseButton> & VariantProps<typeof popoverCloseButtonStyle> & {
295
+ className?: string;
296
+ };
297
+ declare const Popover: React.ForwardRefExoticComponent<Omit<IPopoverProps, "ref"> & React.RefAttributes<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
298
+ context?: any;
299
+ } & React.RefAttributes<React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>>>>;
300
+ declare const PopoverContent: React.ForwardRefExoticComponent<Omit<IPopoverContentProps, "ref"> & React.RefAttributes<import("react-native").Animated.AnimatedProps<import("react-native").ViewProps & React.RefAttributes<import("react-native").View>> & import("@legendapp/motion").MotionComponentProps<typeof import("react-native").View, import("react-native").ViewStyle, unknown, unknown, unknown>>>;
301
+ declare const PopoverArrow: React.ForwardRefExoticComponent<Omit<IPopoverArrowProps, "ref"> & React.RefAttributes<import("react-native").Animated.AnimatedProps<import("react-native").ViewProps & React.RefAttributes<import("react-native").View>> & import("@legendapp/motion").MotionComponentProps<typeof import("react-native").View, import("react-native").ViewStyle, unknown, unknown, unknown>>>;
302
+ declare const PopoverBackdrop: React.ForwardRefExoticComponent<Omit<IPopoverBackdropProps, "ref"> & React.RefAttributes<import("react-native").Animated.AnimatedProps<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
303
+ ref?: React.Ref<HTMLDivElement>;
304
+ }> & import("@legendapp/motion").MotionComponentProps<React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>, React.CSSProperties, unknown, unknown, unknown>>>;
305
+ declare const PopoverBody: React.ForwardRefExoticComponent<Omit<IPopoverBodyProps, "ref"> & React.RefAttributes<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>>;
306
+ declare const PopoverCloseButton: React.ForwardRefExoticComponent<Omit<IPopoverCloseButtonProps, "ref"> & React.RefAttributes<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>>;
307
+ declare const PopoverFooter: React.ForwardRefExoticComponent<Omit<IPopoverFooterProps, "ref"> & React.RefAttributes<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>>;
308
+ declare const PopoverHeader: React.ForwardRefExoticComponent<Omit<IPopoverHeaderProps, "ref"> & React.RefAttributes<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>>;
309
+ export { Popover, PopoverBackdrop, PopoverArrow, PopoverCloseButton, PopoverFooter, PopoverHeader, PopoverBody, PopoverContent, };