@customafk/lunas-ui 0.2.29 → 0.2.30

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 (243) hide show
  1. package/dist/{alert-6_f_JgU-.cjs → alert-4rfsFtN6.cjs} +1 -1
  2. package/dist/{alert-6_f_JgU-.cjs.map → alert-4rfsFtN6.cjs.map} +1 -1
  3. package/dist/{alert-CoqYPXj9.d.mts → alert-B7978FZb.d.mts} +5 -5
  4. package/dist/{alert-BSAtkBnX.mjs → alert-BC5Nss8t.mjs} +1 -1
  5. package/dist/{alert-BSAtkBnX.mjs.map → alert-BC5Nss8t.mjs.map} +1 -1
  6. package/dist/{alert-Dd7Y-D3i.d.cts → alert-DOsSwv1-.d.cts} +7 -7
  7. package/dist/{badge-Dl868_wL.d.cts → badge-Bt62wY4t.d.cts} +5 -5
  8. package/dist/{badge-sImNCIvF.d.mts → badge-DXiJn9XY.d.mts} +5 -5
  9. package/dist/{button-z2O6bEzH.d.cts → button-BHCmEoty.d.cts} +3 -3
  10. package/dist/{button-DWkaxRDs.d.mts → button-CPYKtYVF.d.mts} +3 -3
  11. package/dist/{calendar-ChaYPTJO.cjs → calendar-Bt0rlJ89.cjs} +1 -1
  12. package/dist/{calendar-ChaYPTJO.cjs.map → calendar-Bt0rlJ89.cjs.map} +1 -1
  13. package/dist/{calendar-CHVujBHK.mjs → calendar-D8aRFw_F.mjs} +1 -1
  14. package/dist/{calendar-CHVujBHK.mjs.map → calendar-D8aRFw_F.mjs.map} +1 -1
  15. package/dist/{cms-layout-COfACv3M.cjs → cms-layout-DDs0pHWh.cjs} +1 -1
  16. package/dist/{cms-layout-COfACv3M.cjs.map → cms-layout-DDs0pHWh.cjs.map} +1 -1
  17. package/dist/{cms-layout--NUD8VVh.mjs → cms-layout-DHzRHAoI.mjs} +1 -1
  18. package/dist/{cms-layout--NUD8VVh.mjs.map → cms-layout-DHzRHAoI.mjs.map} +1 -1
  19. package/dist/data-display/country.d.mts +1 -1
  20. package/dist/data-display/role-badge.d.mts +1 -1
  21. package/dist/data-display/statistic.d.cts +5 -5
  22. package/dist/{dialog-D2c7yEsc.d.cts → dialog-CEaSFdY9.d.cts} +12 -12
  23. package/dist/{dialog-AbuDG2Gq.d.mts → dialog-DWWtnPg0.d.mts} +12 -12
  24. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +24 -24
  25. package/dist/dialogs/detail-dialog/components/sidebar.d.mts +24 -24
  26. package/dist/drawer-C3o6IEeq.cjs +2 -0
  27. package/dist/drawer-C3o6IEeq.cjs.map +1 -0
  28. package/dist/drawer-j9wcVE50.mjs +2 -0
  29. package/dist/drawer-j9wcVE50.mjs.map +1 -0
  30. package/dist/features/descriptions/index.d.cts +6 -6
  31. package/dist/features/descriptions/index.d.mts +4 -4
  32. package/dist/features/search-modal/index.d.cts +2 -2
  33. package/dist/features/tables/index.d.cts +1 -1
  34. package/dist/features/tables/index.d.mts +2 -2
  35. package/dist/features/tanstack-form/index.cjs +1 -1
  36. package/dist/features/tanstack-form/index.d.cts +1 -1
  37. package/dist/features/tanstack-form/index.d.mts +1 -1
  38. package/dist/features/tanstack-form/index.mjs +1 -1
  39. package/dist/features/text-editor/index.cjs +1 -1
  40. package/dist/features/text-editor/index.d.cts +1 -1
  41. package/dist/features/text-editor/index.d.mts +1 -1
  42. package/dist/features/text-editor/index.mjs +1 -1
  43. package/dist/{field-Bh7Hq4Lo.mjs → field-B8RhxRCu.mjs} +1 -1
  44. package/dist/{field-Bh7Hq4Lo.mjs.map → field-B8RhxRCu.mjs.map} +1 -1
  45. package/dist/{field-DTGEedKl.cjs → field-BxFpcOV1.cjs} +1 -1
  46. package/dist/{field-DTGEedKl.cjs.map → field-BxFpcOV1.cjs.map} +1 -1
  47. package/dist/{index-CtKNb2-t.d.cts → index-BJiTJozG.d.cts} +546 -312
  48. package/dist/{index-C3dXDjdR.d.mts → index-Cotq70wL.d.cts} +6 -6
  49. package/dist/{index-Bz9af9gx.d.mts → index-D6UbdtXa.d.mts} +546 -312
  50. package/dist/{index-rE1M5FGs.d.mts → index-DDYTIEq3.d.mts} +28 -28
  51. package/dist/{index-Lok5xVt2.d.cts → index-DpqGxieY.d.cts} +27 -27
  52. package/dist/{index-DMUr1T2A.d.cts → index-TvuUzBSW.d.mts} +6 -6
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.d.cts +8 -8
  55. package/dist/index.d.mts +8 -8
  56. package/dist/index.mjs +1 -1
  57. package/dist/{input-ZL65yvYU.d.mts → input-B4ZV1tKO.d.cts} +6 -6
  58. package/dist/{input-DtUFTR6j.d.cts → input-Che86SWz.d.mts} +6 -6
  59. package/dist/layouts/cms-layout/index.cjs +1 -1
  60. package/dist/layouts/cms-layout/index.mjs +1 -1
  61. package/dist/layouts/flex.d.cts +5 -5
  62. package/dist/layouts/payment-layout/index.cjs +1 -1
  63. package/dist/layouts/payment-layout/index.mjs +1 -1
  64. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  65. package/dist/pages/FeatureDeveloping.d.mts +2 -2
  66. package/dist/pages/FeatureFixing.d.cts +2 -2
  67. package/dist/pages/FeatureFixing.d.mts +2 -2
  68. package/dist/pages/LoginPage.cjs +1 -1
  69. package/dist/pages/LoginPage.d.cts +2 -2
  70. package/dist/pages/LoginPage.d.mts +2 -2
  71. package/dist/pages/LoginPage.mjs +1 -1
  72. package/dist/pages/NotAuthorized.d.cts +2 -2
  73. package/dist/pages/NotAuthorized.d.mts +2 -2
  74. package/dist/pages/NotFound.d.cts +2 -2
  75. package/dist/pages/NotFound.d.mts +2 -2
  76. package/dist/pages/RegisterPage.cjs +1 -1
  77. package/dist/pages/RegisterPage.d.cts +2 -2
  78. package/dist/pages/RegisterPage.d.mts +2 -2
  79. package/dist/pages/RegisterPage.mjs +1 -1
  80. package/dist/pages/VerifyEmailPage.cjs +1 -1
  81. package/dist/pages/VerifyEmailPage.d.cts +2 -2
  82. package/dist/pages/VerifyEmailPage.d.mts +2 -2
  83. package/dist/pages/VerifyEmailPage.mjs +1 -1
  84. package/dist/{payment-layout-8rRJJa0f.cjs → payment-layout-BkSC6JkI.cjs} +1 -1
  85. package/dist/{payment-layout-8rRJJa0f.cjs.map → payment-layout-BkSC6JkI.cjs.map} +1 -1
  86. package/dist/{payment-layout-BdGZbGO-.mjs → payment-layout-CafCw6lS.mjs} +1 -1
  87. package/dist/{payment-layout-BdGZbGO-.mjs.map → payment-layout-CafCw6lS.mjs.map} +1 -1
  88. package/dist/{radio-group-KMvVXCIk.cjs → radio-group-Bv6w2woK.cjs} +1 -1
  89. package/dist/{radio-group-KMvVXCIk.cjs.map → radio-group-Bv6w2woK.cjs.map} +1 -1
  90. package/dist/{radio-group-CsmpBZTK.mjs → radio-group-KR6Ck-B9.mjs} +1 -1
  91. package/dist/{radio-group-CsmpBZTK.mjs.map → radio-group-KR6Ck-B9.mjs.map} +1 -1
  92. package/dist/switch-0-9Zt33o.cjs +2 -0
  93. package/dist/switch-0-9Zt33o.cjs.map +1 -0
  94. package/dist/switch-DHsjxnFP.mjs +2 -0
  95. package/dist/switch-DHsjxnFP.mjs.map +1 -0
  96. package/dist/tables-BQ-QiA1V.mjs.map +1 -1
  97. package/dist/tables-LRWPOv2a.cjs.map +1 -1
  98. package/dist/tanstack-form-B9CugNS5.cjs +2 -0
  99. package/dist/tanstack-form-B9CugNS5.cjs.map +1 -0
  100. package/dist/tanstack-form-DJ90sBFl.mjs +2 -0
  101. package/dist/tanstack-form-DJ90sBFl.mjs.map +1 -0
  102. package/dist/{text-editor-Dy3_hyNw.cjs → text-editor-CE_GkI7o.cjs} +1 -1
  103. package/dist/{text-editor-Dy3_hyNw.cjs.map → text-editor-CE_GkI7o.cjs.map} +1 -1
  104. package/dist/{text-editor-D182J9Y5.mjs → text-editor-CqC44BkO.mjs} +1 -1
  105. package/dist/{text-editor-D182J9Y5.mjs.map → text-editor-CqC44BkO.mjs.map} +1 -1
  106. package/dist/{textarea-SPXNe-iZ.cjs → textarea-BB2WynyM.cjs} +1 -1
  107. package/dist/{textarea-SPXNe-iZ.cjs.map → textarea-BB2WynyM.cjs.map} +1 -1
  108. package/dist/{textarea-Cvdq7UAn.mjs → textarea-D0-Gltw6.mjs} +1 -1
  109. package/dist/{textarea-Cvdq7UAn.mjs.map → textarea-D0-Gltw6.mjs.map} +1 -1
  110. package/dist/{types-wApFGHmV.d.mts → types-B2PQbMJL.d.mts} +1 -1
  111. package/dist/typography/paragraph.d.cts +4 -4
  112. package/dist/typography/paragraph.d.mts +2 -2
  113. package/dist/ui/alert-dialog.d.cts +12 -12
  114. package/dist/ui/alert-dialog.d.mts +12 -12
  115. package/dist/ui/alert.cjs +1 -1
  116. package/dist/ui/alert.d.cts +1 -1
  117. package/dist/ui/alert.d.mts +1 -1
  118. package/dist/ui/alert.mjs +1 -1
  119. package/dist/ui/aspect-ratio.d.cts +2 -2
  120. package/dist/ui/aspect-ratio.d.mts +2 -2
  121. package/dist/ui/avatar.d.cts +4 -4
  122. package/dist/ui/avatar.d.mts +4 -4
  123. package/dist/ui/badge.d.cts +1 -1
  124. package/dist/ui/badge.d.mts +1 -1
  125. package/dist/ui/breadcrumb.d.cts +8 -8
  126. package/dist/ui/breadcrumb.d.mts +8 -8
  127. package/dist/ui/button-group.d.cts +2 -2
  128. package/dist/ui/button-group.d.mts +6 -6
  129. package/dist/ui/button.d.cts +1 -1
  130. package/dist/ui/button.d.mts +1 -1
  131. package/dist/ui/calendar.cjs +1 -1
  132. package/dist/ui/calendar.d.cts +4 -4
  133. package/dist/ui/calendar.d.mts +4 -4
  134. package/dist/ui/calendar.mjs +1 -1
  135. package/dist/ui/card.d.cts +8 -8
  136. package/dist/ui/card.d.mts +8 -8
  137. package/dist/ui/carousel.d.cts +7 -7
  138. package/dist/ui/carousel.d.mts +7 -7
  139. package/dist/ui/checkbox.d.cts +2 -2
  140. package/dist/ui/checkbox.d.mts +2 -2
  141. package/dist/ui/collapsible.d.cts +4 -4
  142. package/dist/ui/collapsible.d.mts +4 -4
  143. package/dist/ui/command.d.cts +11 -11
  144. package/dist/ui/command.d.mts +11 -11
  145. package/dist/ui/context-menu.d.cts +16 -16
  146. package/dist/ui/context-menu.d.mts +16 -16
  147. package/dist/ui/dialog.d.cts +1 -1
  148. package/dist/ui/dialog.d.mts +1 -1
  149. package/dist/ui/drawer.cjs +1 -2
  150. package/dist/ui/drawer.d.cts +11 -11
  151. package/dist/ui/drawer.d.mts +11 -11
  152. package/dist/ui/drawer.mjs +1 -2
  153. package/dist/ui/dropdown-menu.d.cts +16 -16
  154. package/dist/ui/dropdown-menu.d.mts +16 -16
  155. package/dist/ui/empty.d.cts +9 -9
  156. package/dist/ui/empty.d.mts +7 -7
  157. package/dist/ui/field.cjs +1 -1
  158. package/dist/ui/field.d.cts +23 -23
  159. package/dist/ui/field.d.mts +21 -21
  160. package/dist/ui/field.mjs +1 -1
  161. package/dist/ui/file-uploader.d.cts +2 -2
  162. package/dist/ui/file-uploader.d.mts +2 -2
  163. package/dist/ui/form.cjs +1 -1
  164. package/dist/ui/form.d.cts +10 -10
  165. package/dist/ui/form.d.mts +10 -10
  166. package/dist/ui/form.mjs +1 -1
  167. package/dist/ui/hover-card.d.cts +4 -4
  168. package/dist/ui/hover-card.d.mts +4 -4
  169. package/dist/ui/input-otp.d.cts +5 -5
  170. package/dist/ui/input-otp.d.mts +5 -5
  171. package/dist/ui/input.d.cts +1 -1
  172. package/dist/ui/input.d.mts +1 -1
  173. package/dist/ui/inputs/search-input.d.cts +1 -1
  174. package/dist/ui/inputs/search-input.d.mts +3 -3
  175. package/dist/ui/item.d.cts +14 -14
  176. package/dist/ui/item.d.mts +14 -14
  177. package/dist/ui/label.d.cts +2 -2
  178. package/dist/ui/label.d.mts +2 -2
  179. package/dist/ui/menubar.d.cts +17 -17
  180. package/dist/ui/menubar.d.mts +17 -17
  181. package/dist/ui/multi-select.d.cts +2 -2
  182. package/dist/ui/multi-select.d.mts +3 -3
  183. package/dist/ui/navigation-menu.d.cts +11 -11
  184. package/dist/ui/navigation-menu.d.mts +9 -9
  185. package/dist/ui/pagination.d.cts +9 -9
  186. package/dist/ui/pagination.d.mts +9 -9
  187. package/dist/ui/popover.d.cts +6 -6
  188. package/dist/ui/popover.d.mts +6 -6
  189. package/dist/ui/progress.d.cts +2 -2
  190. package/dist/ui/progress.d.mts +2 -2
  191. package/dist/ui/radio-group.cjs +1 -1
  192. package/dist/ui/radio-group.d.cts +3 -3
  193. package/dist/ui/radio-group.d.mts +3 -3
  194. package/dist/ui/radio-group.mjs +1 -1
  195. package/dist/ui/resizable.d.cts +9 -9
  196. package/dist/ui/resizable.d.mts +9 -9
  197. package/dist/ui/scroll-area.d.cts +5 -5
  198. package/dist/ui/scroll-area.d.mts +5 -5
  199. package/dist/ui/select.d.cts +9 -9
  200. package/dist/ui/separator.d.cts +2 -2
  201. package/dist/ui/sheet.d.cts +9 -9
  202. package/dist/ui/sheet.d.mts +9 -9
  203. package/dist/ui/sidebar.cjs +1 -1
  204. package/dist/ui/sidebar.cjs.map +1 -1
  205. package/dist/ui/sidebar.d.cts +28 -28
  206. package/dist/ui/sidebar.d.mts +26 -26
  207. package/dist/ui/sidebar.mjs +1 -1
  208. package/dist/ui/sidebar.mjs.map +1 -1
  209. package/dist/ui/skeleton.d.cts +2 -2
  210. package/dist/ui/skeleton.d.mts +2 -2
  211. package/dist/ui/slider.d.cts +2 -2
  212. package/dist/ui/slider.d.mts +2 -2
  213. package/dist/ui/sonner.d.cts +2 -2
  214. package/dist/ui/sonner.d.mts +2 -2
  215. package/dist/ui/spinner.d.cts +2 -2
  216. package/dist/ui/spinner.d.mts +2 -2
  217. package/dist/ui/switch.cjs +1 -2
  218. package/dist/ui/switch.d.cts +2 -2
  219. package/dist/ui/switch.d.mts +2 -2
  220. package/dist/ui/switch.mjs +1 -2
  221. package/dist/ui/table.d.cts +17 -17
  222. package/dist/ui/table.d.mts +17 -17
  223. package/dist/ui/tabs.d.cts +5 -5
  224. package/dist/ui/tabs.d.mts +5 -5
  225. package/dist/ui/textarea.cjs +1 -1
  226. package/dist/ui/textarea.d.cts +2 -2
  227. package/dist/ui/textarea.d.mts +2 -2
  228. package/dist/ui/textarea.mjs +1 -1
  229. package/dist/ui/toggle-group.d.cts +3 -3
  230. package/dist/ui/toggle-group.d.mts +3 -3
  231. package/dist/ui/toggle.d.cts +4 -4
  232. package/dist/ui/toggle.d.mts +2 -2
  233. package/dist/ui/tooltip.d.cts +5 -5
  234. package/dist/ui/tooltip.d.mts +5 -5
  235. package/package.json +1 -1
  236. package/dist/tanstack-form-DKcuB2zr.cjs +0 -2
  237. package/dist/tanstack-form-DKcuB2zr.cjs.map +0 -1
  238. package/dist/tanstack-form-Dez1xwl5.mjs +0 -2
  239. package/dist/tanstack-form-Dez1xwl5.mjs.map +0 -1
  240. package/dist/ui/drawer.cjs.map +0 -1
  241. package/dist/ui/drawer.mjs.map +0 -1
  242. package/dist/ui/switch.cjs.map +0 -1
  243. package/dist/ui/switch.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import * as react84 from "react";
1
+ import * as react166 from "react";
2
2
  import { Dialog } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/dialog.d.ts
@@ -33,24 +33,24 @@ import { Dialog } from "radix-ui";
33
33
  */
34
34
  declare function Dialog$1({
35
35
  ...props
36
- }: React.ComponentProps<typeof Dialog.Root>): react84.JSX.Element;
36
+ }: React.ComponentProps<typeof Dialog.Root>): react166.JSX.Element;
37
37
  /** Element that opens the dialog when clicked; typically wrapped with `asChild` around a `Button`. */
38
38
  declare function DialogTrigger({
39
39
  ...props
40
- }: React.ComponentProps<typeof Dialog.Trigger>): react84.JSX.Element;
40
+ }: React.ComponentProps<typeof Dialog.Trigger>): react166.JSX.Element;
41
41
  /** Renders dialog overlay and content into a portal outside the normal React tree. */
42
42
  declare function DialogPortal({
43
43
  ...props
44
- }: React.ComponentProps<typeof Dialog.Portal>): react84.JSX.Element;
44
+ }: React.ComponentProps<typeof Dialog.Portal>): react166.JSX.Element;
45
45
  /** Button that closes the dialog; can be composed with `asChild` to use a custom element. */
46
46
  declare function DialogClose({
47
47
  ...props
48
- }: React.ComponentProps<typeof Dialog.Close>): react84.JSX.Element;
48
+ }: React.ComponentProps<typeof Dialog.Close>): react166.JSX.Element;
49
49
  /** Semi-transparent backdrop rendered behind the dialog panel with fade-in/out animation. */
50
50
  declare function DialogOverlay({
51
51
  className,
52
52
  ...props
53
- }: React.ComponentProps<typeof Dialog.Overlay>): react84.JSX.Element;
53
+ }: React.ComponentProps<typeof Dialog.Overlay>): react166.JSX.Element;
54
54
  /**
55
55
  * Animated dialog panel centred on screen; includes `DialogOverlay` and an optional close button.
56
56
  *
@@ -64,27 +64,27 @@ declare function DialogContent({
64
64
  }: React.ComponentProps<typeof Dialog.Content> & {
65
65
  /** When `true` (default), renders an `×` close button fixed to the top-right corner of the panel. */
66
66
  showCloseButton?: boolean;
67
- }): react84.JSX.Element;
67
+ }): react166.JSX.Element;
68
68
  /** Layout wrapper for the dialog title and description, stacked vertically with left alignment on wider screens. */
69
69
  declare function DialogHeader({
70
70
  className,
71
71
  ...props
72
- }: React.ComponentProps<'div'>): react84.JSX.Element;
72
+ }: React.ComponentProps<'div'>): react166.JSX.Element;
73
73
  /** Layout wrapper for dialog action buttons, stacked on mobile and right-aligned in a row on wider screens. */
74
74
  declare function DialogFooter({
75
75
  className,
76
76
  ...props
77
- }: React.ComponentProps<'div'>): react84.JSX.Element;
77
+ }: React.ComponentProps<'div'>): react166.JSX.Element;
78
78
  /** Accessible heading for the dialog panel, styled with the h3 heading variant and announced by screen readers. */
79
79
  declare function DialogTitle({
80
80
  className,
81
81
  ...props
82
- }: React.ComponentProps<typeof Dialog.Title>): react84.JSX.Element;
82
+ }: React.ComponentProps<typeof Dialog.Title>): react166.JSX.Element;
83
83
  /** Muted supporting text that describes the dialog's purpose; read by screen readers alongside the title. */
84
84
  declare function DialogDescription({
85
85
  className,
86
86
  ...props
87
- }: React.ComponentProps<typeof Dialog.Description>): react84.JSX.Element;
87
+ }: React.ComponentProps<typeof Dialog.Description>): react166.JSX.Element;
88
88
  //#endregion
89
89
  export { DialogFooter as a, DialogPortal as c, DialogDescription as i, DialogTitle as l, DialogClose as n, DialogHeader as o, DialogContent as r, DialogOverlay as s, Dialog$1 as t, DialogTrigger as u };
90
- //# sourceMappingURL=dialog-AbuDG2Gq.d.mts.map
90
+ //# sourceMappingURL=dialog-DWWtnPg0.d.mts.map
@@ -1,7 +1,7 @@
1
- import { t as Button } from "../../../button-z2O6bEzH.cjs";
1
+ import { t as Button } from "../../../button-BHCmEoty.cjs";
2
2
  import { Separator } from "../../../ui/separator.cjs";
3
3
  import { TooltipContent } from "../../../ui/tooltip.cjs";
4
- import * as react0 from "react";
4
+ import * as react3 from "react";
5
5
  import * as class_variance_authority_types0 from "class-variance-authority/types";
6
6
  import { VariantProps } from "class-variance-authority";
7
7
 
@@ -50,7 +50,7 @@ declare function SidebarProvider({
50
50
  open?: boolean;
51
51
  /** Callback fired when the open state changes in controlled mode. */
52
52
  onOpenChange?: (open: boolean) => void;
53
- }): react0.JSX.Element;
53
+ }): react3.JSX.Element;
54
54
  /**
55
55
  * Responsive sidebar container that supports desktop icon-collapse and a mobile Sheet overlay.
56
56
  *
@@ -77,7 +77,7 @@ declare function Sidebar({
77
77
  variant?: 'sidebar' | 'floating' | 'inset';
78
78
  /** Collapse behaviour — slides off-canvas, shrinks to icon strip, or stays fixed. Defaults to `'offcanvas'`. */
79
79
  collapsible?: 'offcanvas' | 'icon' | 'none';
80
- }): react0.JSX.Element;
80
+ }): react3.JSX.Element;
81
81
  /**
82
82
  * Icon button that toggles the detail-dialog sidebar open or collapsed.
83
83
  *
@@ -92,62 +92,62 @@ declare function DetailDialogSidebarTrigger({
92
92
  className,
93
93
  onClick,
94
94
  ...props
95
- }: React.ComponentProps<typeof Button>): react0.JSX.Element;
95
+ }: React.ComponentProps<typeof Button>): react3.JSX.Element;
96
96
  declare function DetailDialogSidebarRail({
97
97
  className,
98
98
  ...props
99
- }: React.ComponentProps<'button'>): react0.JSX.Element;
99
+ }: React.ComponentProps<'button'>): react3.JSX.Element;
100
100
  declare function SidebarInset({
101
101
  className,
102
102
  ...props
103
- }: React.ComponentProps<'main'>): react0.JSX.Element;
103
+ }: React.ComponentProps<'main'>): react3.JSX.Element;
104
104
  declare function DetailDialogSidebarHeader({
105
105
  className,
106
106
  ...props
107
- }: React.ComponentProps<'div'>): react0.JSX.Element;
107
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
108
108
  declare function DetailDialogSidebarFooter({
109
109
  className,
110
110
  children,
111
111
  ...props
112
- }: React.ComponentProps<'div'>): react0.JSX.Element;
112
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
113
113
  declare function DetailDialogSidebarSeparator({
114
114
  className,
115
115
  ...props
116
- }: React.ComponentProps<typeof Separator>): react0.JSX.Element;
116
+ }: React.ComponentProps<typeof Separator>): react3.JSX.Element;
117
117
  declare function DetailDialogSidebarContent({
118
118
  className,
119
119
  ...props
120
- }: React.ComponentProps<'div'>): react0.JSX.Element;
120
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
121
121
  declare function DetailDialogSidebarGroup({
122
122
  className,
123
123
  ...props
124
- }: React.ComponentProps<'div'>): react0.JSX.Element;
124
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
125
125
  declare function DetailDialogSidebarGroupLabel({
126
126
  className,
127
127
  asChild,
128
128
  ...props
129
129
  }: React.ComponentProps<'div'> & {
130
130
  asChild?: boolean;
131
- }): react0.JSX.Element;
131
+ }): react3.JSX.Element;
132
132
  declare function DetailDialogSidebarGroupAction({
133
133
  className,
134
134
  asChild,
135
135
  ...props
136
136
  }: React.ComponentProps<'button'> & {
137
137
  asChild?: boolean;
138
- }): react0.JSX.Element;
138
+ }): react3.JSX.Element;
139
139
  declare function DetailDialogSidebarGroupContent({
140
140
  className,
141
141
  ...props
142
- }: React.ComponentProps<'div'>): react0.JSX.Element;
142
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
143
143
  declare function DetailDialogSidebarMenu({
144
144
  className,
145
145
  ...props
146
- }: React.ComponentProps<'ul'>): react0.JSX.Element;
146
+ }: React.ComponentProps<'ul'>): react3.JSX.Element;
147
147
  declare function DetailDialogSidebarMenuItem({
148
148
  className,
149
149
  ...props
150
- }: React.ComponentProps<'li'>): react0.JSX.Element;
150
+ }: React.ComponentProps<'li'>): react3.JSX.Element;
151
151
  declare const sidebarMenuButtonVariants: (props?: ({
152
152
  variant?: "default" | "outline" | null | undefined;
153
153
  size?: "sm" | "lg" | "default" | null | undefined;
@@ -164,7 +164,7 @@ declare function DetailDialogSidebarMenuButton({
164
164
  asChild?: boolean;
165
165
  isActive?: boolean;
166
166
  tooltip?: string | React.ComponentProps<typeof TooltipContent>;
167
- } & VariantProps<typeof sidebarMenuButtonVariants>): react0.JSX.Element;
167
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react3.JSX.Element;
168
168
  declare function DetailDialogSidebarMenuAction({
169
169
  className,
170
170
  asChild,
@@ -173,26 +173,26 @@ declare function DetailDialogSidebarMenuAction({
173
173
  }: React.ComponentProps<'button'> & {
174
174
  asChild?: boolean;
175
175
  showOnHover?: boolean;
176
- }): react0.JSX.Element;
176
+ }): react3.JSX.Element;
177
177
  declare function DetailDialogSidebarMenuBadge({
178
178
  className,
179
179
  ...props
180
- }: React.ComponentProps<'div'>): react0.JSX.Element;
180
+ }: React.ComponentProps<'div'>): react3.JSX.Element;
181
181
  declare function DetailDialogSidebarMenuSkeleton({
182
182
  className,
183
183
  showIcon,
184
184
  ...props
185
185
  }: React.ComponentProps<'div'> & {
186
186
  showIcon?: boolean;
187
- }): react0.JSX.Element;
187
+ }): react3.JSX.Element;
188
188
  declare function DetailDialogSidebarMenuSub({
189
189
  className,
190
190
  ...props
191
- }: React.ComponentProps<'ul'>): react0.JSX.Element;
191
+ }: React.ComponentProps<'ul'>): react3.JSX.Element;
192
192
  declare function DetailDialogSidebarMenuSubItem({
193
193
  className,
194
194
  ...props
195
- }: React.ComponentProps<'li'>): react0.JSX.Element;
195
+ }: React.ComponentProps<'li'>): react3.JSX.Element;
196
196
  declare function DetailDialogSidebarMenuSubButton({
197
197
  asChild,
198
198
  size,
@@ -203,7 +203,7 @@ declare function DetailDialogSidebarMenuSubButton({
203
203
  asChild?: boolean;
204
204
  size?: 'sm' | 'md';
205
205
  isActive?: boolean;
206
- }): react0.JSX.Element;
206
+ }): react3.JSX.Element;
207
207
  //#endregion
208
208
  export { DetailDialogSidebarContent, DetailDialogSidebarFooter, DetailDialogSidebarGroup, DetailDialogSidebarGroupAction, DetailDialogSidebarGroupContent, DetailDialogSidebarGroupLabel, DetailDialogSidebarHeader, DetailDialogSidebarMenu, DetailDialogSidebarMenuAction, DetailDialogSidebarMenuBadge, DetailDialogSidebarMenuButton, DetailDialogSidebarMenuItem, DetailDialogSidebarMenuSkeleton, DetailDialogSidebarMenuSub, DetailDialogSidebarMenuSubButton, DetailDialogSidebarMenuSubItem, DetailDialogSidebarRail, DetailDialogSidebarSeparator, DetailDialogSidebarTrigger, Sidebar, SidebarInset, SidebarProvider, useSidebar };
209
209
  //# sourceMappingURL=sidebar.d.cts.map
@@ -1,7 +1,7 @@
1
- import { t as Button } from "../../../button-DWkaxRDs.mjs";
1
+ import { t as Button } from "../../../button-CPYKtYVF.mjs";
2
2
  import { Separator } from "../../../ui/separator.mjs";
3
3
  import { TooltipContent } from "../../../ui/tooltip.mjs";
4
- import * as react5 from "react";
4
+ import * as react8 from "react";
5
5
  import { VariantProps } from "class-variance-authority";
6
6
  import * as class_variance_authority_types1 from "class-variance-authority/types";
7
7
 
@@ -50,7 +50,7 @@ declare function SidebarProvider({
50
50
  open?: boolean;
51
51
  /** Callback fired when the open state changes in controlled mode. */
52
52
  onOpenChange?: (open: boolean) => void;
53
- }): react5.JSX.Element;
53
+ }): react8.JSX.Element;
54
54
  /**
55
55
  * Responsive sidebar container that supports desktop icon-collapse and a mobile Sheet overlay.
56
56
  *
@@ -77,7 +77,7 @@ declare function Sidebar({
77
77
  variant?: 'sidebar' | 'floating' | 'inset';
78
78
  /** Collapse behaviour — slides off-canvas, shrinks to icon strip, or stays fixed. Defaults to `'offcanvas'`. */
79
79
  collapsible?: 'offcanvas' | 'icon' | 'none';
80
- }): react5.JSX.Element;
80
+ }): react8.JSX.Element;
81
81
  /**
82
82
  * Icon button that toggles the detail-dialog sidebar open or collapsed.
83
83
  *
@@ -92,62 +92,62 @@ declare function DetailDialogSidebarTrigger({
92
92
  className,
93
93
  onClick,
94
94
  ...props
95
- }: React.ComponentProps<typeof Button>): react5.JSX.Element;
95
+ }: React.ComponentProps<typeof Button>): react8.JSX.Element;
96
96
  declare function DetailDialogSidebarRail({
97
97
  className,
98
98
  ...props
99
- }: React.ComponentProps<'button'>): react5.JSX.Element;
99
+ }: React.ComponentProps<'button'>): react8.JSX.Element;
100
100
  declare function SidebarInset({
101
101
  className,
102
102
  ...props
103
- }: React.ComponentProps<'main'>): react5.JSX.Element;
103
+ }: React.ComponentProps<'main'>): react8.JSX.Element;
104
104
  declare function DetailDialogSidebarHeader({
105
105
  className,
106
106
  ...props
107
- }: React.ComponentProps<'div'>): react5.JSX.Element;
107
+ }: React.ComponentProps<'div'>): react8.JSX.Element;
108
108
  declare function DetailDialogSidebarFooter({
109
109
  className,
110
110
  children,
111
111
  ...props
112
- }: React.ComponentProps<'div'>): react5.JSX.Element;
112
+ }: React.ComponentProps<'div'>): react8.JSX.Element;
113
113
  declare function DetailDialogSidebarSeparator({
114
114
  className,
115
115
  ...props
116
- }: React.ComponentProps<typeof Separator>): react5.JSX.Element;
116
+ }: React.ComponentProps<typeof Separator>): react8.JSX.Element;
117
117
  declare function DetailDialogSidebarContent({
118
118
  className,
119
119
  ...props
120
- }: React.ComponentProps<'div'>): react5.JSX.Element;
120
+ }: React.ComponentProps<'div'>): react8.JSX.Element;
121
121
  declare function DetailDialogSidebarGroup({
122
122
  className,
123
123
  ...props
124
- }: React.ComponentProps<'div'>): react5.JSX.Element;
124
+ }: React.ComponentProps<'div'>): react8.JSX.Element;
125
125
  declare function DetailDialogSidebarGroupLabel({
126
126
  className,
127
127
  asChild,
128
128
  ...props
129
129
  }: React.ComponentProps<'div'> & {
130
130
  asChild?: boolean;
131
- }): react5.JSX.Element;
131
+ }): react8.JSX.Element;
132
132
  declare function DetailDialogSidebarGroupAction({
133
133
  className,
134
134
  asChild,
135
135
  ...props
136
136
  }: React.ComponentProps<'button'> & {
137
137
  asChild?: boolean;
138
- }): react5.JSX.Element;
138
+ }): react8.JSX.Element;
139
139
  declare function DetailDialogSidebarGroupContent({
140
140
  className,
141
141
  ...props
142
- }: React.ComponentProps<'div'>): react5.JSX.Element;
142
+ }: React.ComponentProps<'div'>): react8.JSX.Element;
143
143
  declare function DetailDialogSidebarMenu({
144
144
  className,
145
145
  ...props
146
- }: React.ComponentProps<'ul'>): react5.JSX.Element;
146
+ }: React.ComponentProps<'ul'>): react8.JSX.Element;
147
147
  declare function DetailDialogSidebarMenuItem({
148
148
  className,
149
149
  ...props
150
- }: React.ComponentProps<'li'>): react5.JSX.Element;
150
+ }: React.ComponentProps<'li'>): react8.JSX.Element;
151
151
  declare const sidebarMenuButtonVariants: (props?: ({
152
152
  variant?: "default" | "outline" | null | undefined;
153
153
  size?: "sm" | "lg" | "default" | null | undefined;
@@ -164,7 +164,7 @@ declare function DetailDialogSidebarMenuButton({
164
164
  asChild?: boolean;
165
165
  isActive?: boolean;
166
166
  tooltip?: string | React.ComponentProps<typeof TooltipContent>;
167
- } & VariantProps<typeof sidebarMenuButtonVariants>): react5.JSX.Element;
167
+ } & VariantProps<typeof sidebarMenuButtonVariants>): react8.JSX.Element;
168
168
  declare function DetailDialogSidebarMenuAction({
169
169
  className,
170
170
  asChild,
@@ -173,26 +173,26 @@ declare function DetailDialogSidebarMenuAction({
173
173
  }: React.ComponentProps<'button'> & {
174
174
  asChild?: boolean;
175
175
  showOnHover?: boolean;
176
- }): react5.JSX.Element;
176
+ }): react8.JSX.Element;
177
177
  declare function DetailDialogSidebarMenuBadge({
178
178
  className,
179
179
  ...props
180
- }: React.ComponentProps<'div'>): react5.JSX.Element;
180
+ }: React.ComponentProps<'div'>): react8.JSX.Element;
181
181
  declare function DetailDialogSidebarMenuSkeleton({
182
182
  className,
183
183
  showIcon,
184
184
  ...props
185
185
  }: React.ComponentProps<'div'> & {
186
186
  showIcon?: boolean;
187
- }): react5.JSX.Element;
187
+ }): react8.JSX.Element;
188
188
  declare function DetailDialogSidebarMenuSub({
189
189
  className,
190
190
  ...props
191
- }: React.ComponentProps<'ul'>): react5.JSX.Element;
191
+ }: React.ComponentProps<'ul'>): react8.JSX.Element;
192
192
  declare function DetailDialogSidebarMenuSubItem({
193
193
  className,
194
194
  ...props
195
- }: React.ComponentProps<'li'>): react5.JSX.Element;
195
+ }: React.ComponentProps<'li'>): react8.JSX.Element;
196
196
  declare function DetailDialogSidebarMenuSubButton({
197
197
  asChild,
198
198
  size,
@@ -203,7 +203,7 @@ declare function DetailDialogSidebarMenuSubButton({
203
203
  asChild?: boolean;
204
204
  size?: 'sm' | 'md';
205
205
  isActive?: boolean;
206
- }): react5.JSX.Element;
206
+ }): react8.JSX.Element;
207
207
  //#endregion
208
208
  export { DetailDialogSidebarContent, DetailDialogSidebarFooter, DetailDialogSidebarGroup, DetailDialogSidebarGroupAction, DetailDialogSidebarGroupContent, DetailDialogSidebarGroupLabel, DetailDialogSidebarHeader, DetailDialogSidebarMenu, DetailDialogSidebarMenuAction, DetailDialogSidebarMenuBadge, DetailDialogSidebarMenuButton, DetailDialogSidebarMenuItem, DetailDialogSidebarMenuSkeleton, DetailDialogSidebarMenuSub, DetailDialogSidebarMenuSubButton, DetailDialogSidebarMenuSubItem, DetailDialogSidebarRail, DetailDialogSidebarSeparator, DetailDialogSidebarTrigger, Sidebar, SidebarInset, SidebarProvider, useSidebar };
209
209
  //# sourceMappingURL=sidebar.d.mts.map
@@ -0,0 +1,2 @@
1
+ const e=require(`./chunk-Bmb41Sf3.cjs`);let t=require(`@customafk/react-toolkit/utils`),n=require(`react/jsx-runtime`),r=require(`vaul`);function i({...e}){return(0,n.jsx)(r.Drawer.Root,{"data-slot":`drawer`,...e})}function a({...e}){return(0,n.jsx)(r.Drawer.Trigger,{"data-slot":`drawer-trigger`,...e})}function o({...e}){return(0,n.jsx)(r.Drawer.Portal,{"data-slot":`drawer-portal`,...e})}function s({...e}){return(0,n.jsx)(r.Drawer.Close,{"data-slot":`drawer-close`,...e})}function c({className:e,...i}){return(0,n.jsx)(r.Drawer.Overlay,{"data-slot":`drawer-overlay`,className:(0,t.cn)(`fixed inset-0 z-50 bg-black/50`,`data-[state=open]:animate-in`,`data-[state=closed]:animate-out`,`data-[state=open]:fade-in-0`,`data-[state=closed]:fade-out-0`,e),...i})}function l({className:e,children:i,...a}){return(0,n.jsxs)(o,{"data-slot":`drawer-portal`,children:[(0,n.jsx)(c,{}),(0,n.jsxs)(r.Drawer.Content,{"data-slot":`drawer-content`,className:(0,t.cn)(`group/drawer-content bg-background shadow-card fixed z-50 flex h-auto flex-col`,`data-[vaul-drawer-direction=top]:inset-x-0`,`data-[vaul-drawer-direction=top]:top-0`,`data-[vaul-drawer-direction=top]:mb-24`,`data-[vaul-drawer-direction=top]:max-h-[80vh]`,`data-[vaul-drawer-direction=top]:rounded-b-lg`,`data-[vaul-drawer-direction=bottom]:inset-x-0`,`data-[vaul-drawer-direction=bottom]:bottom-0`,`data-[vaul-drawer-direction=bottom]:mt-24`,`data-[vaul-drawer-direction=bottom]:max-h-[80vh]`,`data-[vaul-drawer-direction=bottom]:rounded-t-lg`,`data-[vaul-drawer-direction=right]:inset-y-0`,`data-[vaul-drawer-direction=right]:right-0`,`data-[vaul-drawer-direction=right]:w-3/4`,`data-[vaul-drawer-direction=right]:sm:max-w-sm`,`data-[vaul-drawer-direction=left]:inset-y-0`,`data-[vaul-drawer-direction=left]:left-0`,`data-[vaul-drawer-direction=left]:w-3/4`,`data-[vaul-drawer-direction=left]:sm:max-w-sm`,e),...a,children:[(0,n.jsx)(`div`,{className:`bg-border-weak mx-auto mt-4 hidden h-2 w-25 shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block`}),i]})]})}function u({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`drawer-header`,className:(0,t.cn)(`flex flex-col gap-0.5 p-4`,`md:gap-1.5 md:text-left`,`group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center`,`group-data-[vaul-drawer-direction=top]/drawer-content:text-center`,e),...r})}function d({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`drawer-footer`,className:(0,t.cn)(`mt-auto flex flex-col gap-2 p-4`,e),...r})}function f({className:e,...i}){return(0,n.jsx)(r.Drawer.Title,{"data-slot":`drawer-title`,className:(0,t.cn)(`text-text-positive font-semibold`,e),...i})}function p({className:e,...i}){return(0,n.jsx)(r.Drawer.Description,{"data-slot":`drawer-description`,className:(0,t.cn)(`text-text-positive-weak text-sm`,e),...i})}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return a}});
2
+ //# sourceMappingURL=drawer-C3o6IEeq.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer-C3o6IEeq.cjs","names":["DrawerPrimitive"],"sources":["../packages/components/ui/drawer.tsx"],"sourcesContent":["'use client';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Drawer as DrawerPrimitive } from 'vaul';\n\n/**\n * Root provider for the Drawer — a vaul-powered slide-in panel supporting top, bottom, left, and right directions.\n *\n * @example\n * ```tsx\n * import { Drawer, DrawerTrigger, DrawerContent, DrawerHeader, DrawerTitle, DrawerDescription } from '@customafk/lunas-ui/ui/drawer';\n *\n * <Drawer>\n * <DrawerTrigger>Open Drawer</DrawerTrigger>\n * <DrawerContent>\n * <DrawerHeader>\n * <DrawerTitle>Confirm action</DrawerTitle>\n * <DrawerDescription>This action cannot be undone.</DrawerDescription>\n * </DrawerHeader>\n * </DrawerContent>\n * </Drawer>\n * ```\n */\nfunction Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>) {\n return <DrawerPrimitive.Root data-slot=\"drawer\" {...props} />;\n}\n\n/** Element that opens the Drawer when activated. */\nfunction DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>) {\n return <DrawerPrimitive.Trigger data-slot=\"drawer-trigger\" {...props} />;\n}\n\n/** Portals Drawer content outside the current DOM tree. */\nfunction DrawerPortal({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal>) {\n return <DrawerPrimitive.Portal data-slot=\"drawer-portal\" {...props} />;\n}\n\n/** Button that programmatically closes the Drawer. */\nfunction DrawerClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>) {\n return <DrawerPrimitive.Close data-slot=\"drawer-close\" {...props} />;\n}\n\n/** Dimmed backdrop rendered behind the Drawer panel. */\nfunction DrawerOverlay({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {\n return (\n <DrawerPrimitive.Overlay\n data-slot=\"drawer-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/50',\n 'data-[state=open]:animate-in',\n 'data-[state=closed]:animate-out',\n 'data-[state=open]:fade-in-0',\n 'data-[state=closed]:fade-out-0',\n className\n )}\n {...props}\n />\n );\n}\n\n/** The main Drawer panel; automatically positions itself based on the direction set on the root. */\nfunction DrawerContent({ className, children, ...props }: React.ComponentProps<typeof DrawerPrimitive.Content>) {\n return (\n <DrawerPortal data-slot=\"drawer-portal\">\n <DrawerOverlay />\n <DrawerPrimitive.Content\n data-slot=\"drawer-content\"\n className={cn(\n 'group/drawer-content bg-background shadow-card fixed z-50 flex h-auto flex-col',\n\n 'data-[vaul-drawer-direction=top]:inset-x-0',\n 'data-[vaul-drawer-direction=top]:top-0',\n 'data-[vaul-drawer-direction=top]:mb-24',\n 'data-[vaul-drawer-direction=top]:max-h-[80vh]',\n 'data-[vaul-drawer-direction=top]:rounded-b-lg',\n\n 'data-[vaul-drawer-direction=bottom]:inset-x-0',\n 'data-[vaul-drawer-direction=bottom]:bottom-0',\n 'data-[vaul-drawer-direction=bottom]:mt-24',\n 'data-[vaul-drawer-direction=bottom]:max-h-[80vh]',\n 'data-[vaul-drawer-direction=bottom]:rounded-t-lg',\n\n 'data-[vaul-drawer-direction=right]:inset-y-0',\n 'data-[vaul-drawer-direction=right]:right-0',\n 'data-[vaul-drawer-direction=right]:w-3/4',\n 'data-[vaul-drawer-direction=right]:sm:max-w-sm',\n\n 'data-[vaul-drawer-direction=left]:inset-y-0',\n 'data-[vaul-drawer-direction=left]:left-0',\n 'data-[vaul-drawer-direction=left]:w-3/4',\n 'data-[vaul-drawer-direction=left]:sm:max-w-sm',\n className\n )}\n {...props}\n >\n <div className=\"bg-border-weak mx-auto mt-4 hidden h-2 w-25 shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block\" />\n {children}\n </DrawerPrimitive.Content>\n </DrawerPortal>\n );\n}\n\n/** Padded header section at the top of the Drawer for the title and description. */\nfunction DrawerHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"drawer-header\"\n className={cn(\n 'flex flex-col gap-0.5 p-4',\n 'md:gap-1.5 md:text-left',\n 'group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center',\n 'group-data-[vaul-drawer-direction=top]/drawer-content:text-center',\n className\n )}\n {...props}\n />\n );\n}\n\n/** Footer section pinned to the bottom of the Drawer, typically used for action buttons. */\nfunction DrawerFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"drawer-footer\" className={cn('mt-auto flex flex-col gap-2 p-4', className)} {...props} />;\n}\n\n/** Accessible title element for the Drawer, announced by screen readers on open. */\nfunction DrawerTitle({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Title>) {\n return <DrawerPrimitive.Title data-slot=\"drawer-title\" className={cn('text-text-positive font-semibold', className)} {...props} />;\n}\n\n/** Accessible description element for the Drawer, providing supplemental context to the title. */\nfunction DrawerDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>) {\n return <DrawerPrimitive.Description data-slot=\"drawer-description\" className={cn('text-text-positive-weak text-sm', className)} {...props} />;\n}\n\nexport { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };\n"],"mappings":"yIAuBA,SAAS,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,GAAS,CAI/D,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,GAAS,CAI1E,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,GAAS,CAIxE,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,GAAS,CAItE,SAAS,EAAc,CAAE,YAAW,GAAG,GAA+D,CACpG,OACE,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CACf,YAAU,iBACV,WAAA,EAAA,EAAA,IACE,iCACA,+BACA,kCACA,8BACA,iCACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAc,CAAE,YAAW,WAAU,GAAG,GAA+D,CAC9G,OACE,EAAA,EAAA,MAAC,EAAA,CAAa,YAAU,2BACtB,EAAA,EAAA,KAAC,EAAA,EAAA,CAAgB,EACjB,EAAA,EAAA,MAACA,EAAAA,OAAgB,QAAA,CACf,YAAU,iBACV,WAAA,EAAA,EAAA,IACE,iFAEA,6CACA,yCACA,yCACA,gDACA,gDAEA,gDACA,+CACA,4CACA,mDACA,mDAEA,+CACA,6CACA,2CACA,iDAEA,8CACA,2CACA,0CACA,gDACA,EACD,CACD,GAAI,aAEJ,EAAA,EAAA,KAAC,MAAA,CAAI,UAAU,mIAAA,CAAqI,CACnJ,EAAA,EACuB,CAAA,EACb,CAKnB,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OACE,EAAA,EAAA,KAAC,MAAA,CACC,YAAU,gBACV,WAAA,EAAA,EAAA,IACE,4BACA,0BACA,uEACA,oEACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,WAAA,EAAA,EAAA,IAAc,kCAAmC,EAAU,CAAE,GAAI,GAAS,CAIlH,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,mCAAoC,EAAU,CAAE,GAAI,GAAS,CAIpI,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,YAAA,CAAY,YAAU,qBAAqB,WAAA,EAAA,EAAA,IAAc,kCAAmC,EAAU,CAAE,GAAI,GAAS"}
@@ -0,0 +1,2 @@
1
+ import{cn as e}from"@customafk/react-toolkit/utils";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{Drawer as r}from"vaul";function i({...e}){return t(r.Root,{"data-slot":`drawer`,...e})}function a({...e}){return t(r.Trigger,{"data-slot":`drawer-trigger`,...e})}function o({...e}){return t(r.Portal,{"data-slot":`drawer-portal`,...e})}function s({...e}){return t(r.Close,{"data-slot":`drawer-close`,...e})}function c({className:n,...i}){return t(r.Overlay,{"data-slot":`drawer-overlay`,className:e(`fixed inset-0 z-50 bg-black/50`,`data-[state=open]:animate-in`,`data-[state=closed]:animate-out`,`data-[state=open]:fade-in-0`,`data-[state=closed]:fade-out-0`,n),...i})}function l({className:i,children:a,...s}){return n(o,{"data-slot":`drawer-portal`,children:[t(c,{}),n(r.Content,{"data-slot":`drawer-content`,className:e(`group/drawer-content bg-background shadow-card fixed z-50 flex h-auto flex-col`,`data-[vaul-drawer-direction=top]:inset-x-0`,`data-[vaul-drawer-direction=top]:top-0`,`data-[vaul-drawer-direction=top]:mb-24`,`data-[vaul-drawer-direction=top]:max-h-[80vh]`,`data-[vaul-drawer-direction=top]:rounded-b-lg`,`data-[vaul-drawer-direction=bottom]:inset-x-0`,`data-[vaul-drawer-direction=bottom]:bottom-0`,`data-[vaul-drawer-direction=bottom]:mt-24`,`data-[vaul-drawer-direction=bottom]:max-h-[80vh]`,`data-[vaul-drawer-direction=bottom]:rounded-t-lg`,`data-[vaul-drawer-direction=right]:inset-y-0`,`data-[vaul-drawer-direction=right]:right-0`,`data-[vaul-drawer-direction=right]:w-3/4`,`data-[vaul-drawer-direction=right]:sm:max-w-sm`,`data-[vaul-drawer-direction=left]:inset-y-0`,`data-[vaul-drawer-direction=left]:left-0`,`data-[vaul-drawer-direction=left]:w-3/4`,`data-[vaul-drawer-direction=left]:sm:max-w-sm`,i),...s,children:[t(`div`,{className:`bg-border-weak mx-auto mt-4 hidden h-2 w-25 shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block`}),a]})]})}function u({className:n,...r}){return t(`div`,{"data-slot":`drawer-header`,className:e(`flex flex-col gap-0.5 p-4`,`md:gap-1.5 md:text-left`,`group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center`,`group-data-[vaul-drawer-direction=top]/drawer-content:text-center`,n),...r})}function d({className:n,...r}){return t(`div`,{"data-slot":`drawer-footer`,className:e(`mt-auto flex flex-col gap-2 p-4`,n),...r})}function f({className:n,...i}){return t(r.Title,{"data-slot":`drawer-title`,className:e(`text-text-positive font-semibold`,n),...i})}function p({className:n,...i}){return t(r.Description,{"data-slot":`drawer-description`,className:e(`text-text-positive-weak text-sm`,n),...i})}export{d as a,o as c,p as i,f as l,s as n,u as o,l as r,c as s,i as t,a as u};
2
+ //# sourceMappingURL=drawer-j9wcVE50.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer-j9wcVE50.mjs","names":["Drawer","DrawerPrimitive"],"sources":["../packages/components/ui/drawer.tsx"],"sourcesContent":["'use client';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Drawer as DrawerPrimitive } from 'vaul';\n\n/**\n * Root provider for the Drawer — a vaul-powered slide-in panel supporting top, bottom, left, and right directions.\n *\n * @example\n * ```tsx\n * import { Drawer, DrawerTrigger, DrawerContent, DrawerHeader, DrawerTitle, DrawerDescription } from '@customafk/lunas-ui/ui/drawer';\n *\n * <Drawer>\n * <DrawerTrigger>Open Drawer</DrawerTrigger>\n * <DrawerContent>\n * <DrawerHeader>\n * <DrawerTitle>Confirm action</DrawerTitle>\n * <DrawerDescription>This action cannot be undone.</DrawerDescription>\n * </DrawerHeader>\n * </DrawerContent>\n * </Drawer>\n * ```\n */\nfunction Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>) {\n return <DrawerPrimitive.Root data-slot=\"drawer\" {...props} />;\n}\n\n/** Element that opens the Drawer when activated. */\nfunction DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>) {\n return <DrawerPrimitive.Trigger data-slot=\"drawer-trigger\" {...props} />;\n}\n\n/** Portals Drawer content outside the current DOM tree. */\nfunction DrawerPortal({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal>) {\n return <DrawerPrimitive.Portal data-slot=\"drawer-portal\" {...props} />;\n}\n\n/** Button that programmatically closes the Drawer. */\nfunction DrawerClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>) {\n return <DrawerPrimitive.Close data-slot=\"drawer-close\" {...props} />;\n}\n\n/** Dimmed backdrop rendered behind the Drawer panel. */\nfunction DrawerOverlay({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {\n return (\n <DrawerPrimitive.Overlay\n data-slot=\"drawer-overlay\"\n className={cn(\n 'fixed inset-0 z-50 bg-black/50',\n 'data-[state=open]:animate-in',\n 'data-[state=closed]:animate-out',\n 'data-[state=open]:fade-in-0',\n 'data-[state=closed]:fade-out-0',\n className\n )}\n {...props}\n />\n );\n}\n\n/** The main Drawer panel; automatically positions itself based on the direction set on the root. */\nfunction DrawerContent({ className, children, ...props }: React.ComponentProps<typeof DrawerPrimitive.Content>) {\n return (\n <DrawerPortal data-slot=\"drawer-portal\">\n <DrawerOverlay />\n <DrawerPrimitive.Content\n data-slot=\"drawer-content\"\n className={cn(\n 'group/drawer-content bg-background shadow-card fixed z-50 flex h-auto flex-col',\n\n 'data-[vaul-drawer-direction=top]:inset-x-0',\n 'data-[vaul-drawer-direction=top]:top-0',\n 'data-[vaul-drawer-direction=top]:mb-24',\n 'data-[vaul-drawer-direction=top]:max-h-[80vh]',\n 'data-[vaul-drawer-direction=top]:rounded-b-lg',\n\n 'data-[vaul-drawer-direction=bottom]:inset-x-0',\n 'data-[vaul-drawer-direction=bottom]:bottom-0',\n 'data-[vaul-drawer-direction=bottom]:mt-24',\n 'data-[vaul-drawer-direction=bottom]:max-h-[80vh]',\n 'data-[vaul-drawer-direction=bottom]:rounded-t-lg',\n\n 'data-[vaul-drawer-direction=right]:inset-y-0',\n 'data-[vaul-drawer-direction=right]:right-0',\n 'data-[vaul-drawer-direction=right]:w-3/4',\n 'data-[vaul-drawer-direction=right]:sm:max-w-sm',\n\n 'data-[vaul-drawer-direction=left]:inset-y-0',\n 'data-[vaul-drawer-direction=left]:left-0',\n 'data-[vaul-drawer-direction=left]:w-3/4',\n 'data-[vaul-drawer-direction=left]:sm:max-w-sm',\n className\n )}\n {...props}\n >\n <div className=\"bg-border-weak mx-auto mt-4 hidden h-2 w-25 shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block\" />\n {children}\n </DrawerPrimitive.Content>\n </DrawerPortal>\n );\n}\n\n/** Padded header section at the top of the Drawer for the title and description. */\nfunction DrawerHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"drawer-header\"\n className={cn(\n 'flex flex-col gap-0.5 p-4',\n 'md:gap-1.5 md:text-left',\n 'group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center',\n 'group-data-[vaul-drawer-direction=top]/drawer-content:text-center',\n className\n )}\n {...props}\n />\n );\n}\n\n/** Footer section pinned to the bottom of the Drawer, typically used for action buttons. */\nfunction DrawerFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"drawer-footer\" className={cn('mt-auto flex flex-col gap-2 p-4', className)} {...props} />;\n}\n\n/** Accessible title element for the Drawer, announced by screen readers on open. */\nfunction DrawerTitle({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Title>) {\n return <DrawerPrimitive.Title data-slot=\"drawer-title\" className={cn('text-text-positive font-semibold', className)} {...props} />;\n}\n\n/** Accessible description element for the Drawer, providing supplemental context to the title. */\nfunction DrawerDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>) {\n return <DrawerPrimitive.Description data-slot=\"drawer-description\" className={cn('text-text-positive-weak text-sm', className)} {...props} />;\n}\n\nexport { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };\n"],"mappings":"oIAuBA,SAASA,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAACC,EAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,GAAS,CAI/D,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAACA,EAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,GAAS,CAI1E,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAACA,EAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,GAAS,CAIxE,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,GAAS,CAItE,SAAS,EAAc,CAAE,YAAW,GAAG,GAA+D,CACpG,OACE,EAACA,EAAgB,QAAA,CACf,YAAU,iBACV,UAAW,EACT,iCACA,+BACA,kCACA,8BACA,iCACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAc,CAAE,YAAW,WAAU,GAAG,GAA+D,CAC9G,OACE,EAAC,EAAA,CAAa,YAAU,0BACtB,EAAC,EAAA,EAAA,CAAgB,CACjB,EAACA,EAAgB,QAAA,CACf,YAAU,iBACV,UAAW,EACT,iFAEA,6CACA,yCACA,yCACA,gDACA,gDAEA,gDACA,+CACA,4CACA,mDACA,mDAEA,+CACA,6CACA,2CACA,iDAEA,8CACA,2CACA,0CACA,gDACA,EACD,CACD,GAAI,YAEJ,EAAC,MAAA,CAAI,UAAU,mIAAA,CAAqI,CACnJ,EAAA,EACuB,CAAA,EACb,CAKnB,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OACE,EAAC,MAAA,CACC,YAAU,gBACV,UAAW,EACT,4BACA,0BACA,uEACA,oEACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,kCAAmC,EAAU,CAAE,GAAI,GAAS,CAIlH,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,UAAW,EAAG,mCAAoC,EAAU,CAAE,GAAI,GAAS,CAIpI,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAACA,EAAgB,YAAA,CAAY,YAAU,qBAAqB,UAAW,EAAG,kCAAmC,EAAU,CAAE,GAAI,GAAS"}
@@ -1,6 +1,6 @@
1
- import { n as BadgeProps } from "../../badge-Dl868_wL.cjs";
2
- import * as react634 from "react";
3
- import * as class_variance_authority_types23 from "class-variance-authority/types";
1
+ import { n as BadgeProps } from "../../badge-Bt62wY4t.cjs";
2
+ import * as react658 from "react";
3
+ import * as class_variance_authority_types22 from "class-variance-authority/types";
4
4
  import { VariantProps } from "class-variance-authority";
5
5
 
6
6
  //#region packages/components/features/descriptions/components/badge.d.ts
@@ -74,7 +74,7 @@ declare const DescriptionNumberPhone: React.FC<{
74
74
  declare const descriptionStatisticVariants: (props?: ({
75
75
  size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
76
76
  trend?: "neutral" | "up" | "down" | null | undefined;
77
- } & class_variance_authority_types23.ClassProp) | undefined) => string;
77
+ } & class_variance_authority_types22.ClassProp) | undefined) => string;
78
78
  type DescriptionStatisticProps = VariantProps<typeof descriptionStatisticVariants> & {
79
79
  decimalSeparator?: string;
80
80
  groupSeparator?: string;
@@ -86,7 +86,7 @@ type DescriptionStatisticProps = VariantProps<typeof descriptionStatisticVariant
86
86
  value: number | string | null | undefined;
87
87
  className?: string;
88
88
  };
89
- declare const DescriptionStatistic: react634.MemoExoticComponent<({
89
+ declare const DescriptionStatistic: react658.MemoExoticComponent<({
90
90
  decimalSeparator,
91
91
  groupSeparator,
92
92
  prefix: Prefix,
@@ -98,7 +98,7 @@ declare const DescriptionStatistic: react634.MemoExoticComponent<({
98
98
  trend,
99
99
  value,
100
100
  className
101
- }: DescriptionStatisticProps) => react634.JSX.Element>;
101
+ }: DescriptionStatisticProps) => react658.JSX.Element>;
102
102
  //#endregion
103
103
  //#region packages/components/features/descriptions/components/status.d.ts
104
104
  type StatusColor = NonNullable<BadgeProps['color']>;
@@ -1,5 +1,5 @@
1
- import { n as BadgeProps } from "../../badge-sImNCIvF.mjs";
2
- import * as react640 from "react";
1
+ import { n as BadgeProps } from "../../badge-DXiJn9XY.mjs";
2
+ import * as react694 from "react";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
  import * as class_variance_authority_types23 from "class-variance-authority/types";
5
5
 
@@ -86,7 +86,7 @@ type DescriptionStatisticProps = VariantProps<typeof descriptionStatisticVariant
86
86
  value: number | string | null | undefined;
87
87
  className?: string;
88
88
  };
89
- declare const DescriptionStatistic: react640.MemoExoticComponent<({
89
+ declare const DescriptionStatistic: react694.MemoExoticComponent<({
90
90
  decimalSeparator,
91
91
  groupSeparator,
92
92
  prefix: Prefix,
@@ -98,7 +98,7 @@ declare const DescriptionStatistic: react640.MemoExoticComponent<({
98
98
  trend,
99
99
  value,
100
100
  className
101
- }: DescriptionStatisticProps) => react640.JSX.Element>;
101
+ }: DescriptionStatisticProps) => react694.JSX.Element>;
102
102
  //#endregion
103
103
  //#region packages/components/features/descriptions/components/status.d.ts
104
104
  type StatusColor = NonNullable<BadgeProps['color']>;
@@ -1,4 +1,4 @@
1
- import * as react34 from "react";
1
+ import * as react2 from "react";
2
2
 
3
3
  //#region packages/components/features/search-modal/index.d.ts
4
4
 
@@ -11,7 +11,7 @@ import * as react34 from "react";
11
11
  * // Render conditionally based on application state
12
12
  * {isSearchOpen && <SearchModal />}
13
13
  */
14
- declare const SearchModal: () => react34.JSX.Element;
14
+ declare const SearchModal: () => react2.JSX.Element;
15
15
  //#endregion
16
16
  export { SearchModal };
17
17
  //# sourceMappingURL=index.d.cts.map
@@ -1,2 +1,2 @@
1
- import { $ as TUITableHeadRow, A as FilterValue, B as TTableRowContext, C as ActiveFilter, Ct as UITableBadgeDisplay, D as FilterDefinition, E as DateRangeFilterValue, F as TTableContext, G as TUITableCellSelect, H as TUITableBody, I as TTableFilterContext, J as TUITableFooter, K as TUITableColumn, L as TTableHeadRowContext, M as RowData, N as SingleTagFilterValue, O as FilterOption, P as TTableBodyContext, Q as TUITableHeadCellSelect, R as TTableInnerTableContext, S as UITableBody, St as UITableBooleanDisplay, T as CsvCell, U as TUITableCell, V as TTableVirtualizerContext, W as TUITableCellActions, X as TUITableHeadCell, Y as TUITableHead, Z as TUITableHeadCellOption, _ as UITableFooter, _t as UITableListDisplay, a as UITableFilter, at as TableProviderProps, b as UITableCellActions, bt as UITableDateDisplay, c as UITableRow, ct as UITableUserDataDisplay, d as UITableInnerTable, dt as UITableRemoveButton, et as TUITableInnerTable, f as UITableHeadRow, ft as UITableProgressDisplay, g as UITableHead, gt as UITableMoreButton, h as UITableHeadCell, ht as UITableNameDisplay, i as UITableProvider, it as TUITableWrapper, j as NumberFilterValue, k as FilterType, l as UITableLoadMore, lt as UITableStatusDisplay, m as UITableHeadCellOption, mt as UITablePermalink, n as UITableTooltipActions, nt as TUITableLoadMore, o as UITableContainer, ot as TagFilterValue, p as UITableHeadCellSelect, pt as UITablePhoneNumberDisplay, q as TUITableEmptyDisplay, r as UITableTooltipFilter, rt as TUITableRow, s as UITableWrapper, st as TextFilterValue, t as UITableTooltip, tt as TUITableInnerWrapper, u as UITableInnerWrapper, ut as UITableStatisticDisplay, v as UITableEmptyDisplay, vt as UITableEmailDisplay, w as BooleanFilterValue, x as UITableCell, xt as UITableCurrencyDisplay, y as UITableCellSelect, yt as UITableDescriptionDisplay, z as TTableInnerWrapperContext } from "../../index-Lok5xVt2.cjs";
1
+ import { $ as TUITableHeadRow, A as FilterValue, B as TTableRowContext, C as ActiveFilter, Ct as UITableBadgeDisplay, D as FilterDefinition, E as DateRangeFilterValue, F as TTableContext, G as TUITableCellSelect, H as TUITableBody, I as TTableFilterContext, J as TUITableFooter, K as TUITableColumn, L as TTableHeadRowContext, M as RowData, N as SingleTagFilterValue, O as FilterOption, P as TTableBodyContext, Q as TUITableHeadCellSelect, R as TTableInnerTableContext, S as UITableBody, St as UITableBooleanDisplay, T as CsvCell, U as TUITableCell, V as TTableVirtualizerContext, W as TUITableCellActions, X as TUITableHeadCell, Y as TUITableHead, Z as TUITableHeadCellOption, _ as UITableFooter, _t as UITableListDisplay, a as UITableFilter, at as TableProviderProps, b as UITableCellActions, bt as UITableDateDisplay, c as UITableRow, ct as UITableUserDataDisplay, d as UITableInnerTable, dt as UITableRemoveButton, et as TUITableInnerTable, f as UITableHeadRow, ft as UITableProgressDisplay, g as UITableHead, gt as UITableMoreButton, h as UITableHeadCell, ht as UITableNameDisplay, i as UITableProvider, it as TUITableWrapper, j as NumberFilterValue, k as FilterType, l as UITableLoadMore, lt as UITableStatusDisplay, m as UITableHeadCellOption, mt as UITablePermalink, n as UITableTooltipActions, nt as TUITableLoadMore, o as UITableContainer, ot as TagFilterValue, p as UITableHeadCellSelect, pt as UITablePhoneNumberDisplay, q as TUITableEmptyDisplay, r as UITableTooltipFilter, rt as TUITableRow, s as UITableWrapper, st as TextFilterValue, t as UITableTooltip, tt as TUITableInnerWrapper, u as UITableInnerWrapper, ut as UITableStatisticDisplay, v as UITableEmptyDisplay, vt as UITableEmailDisplay, w as BooleanFilterValue, x as UITableCell, xt as UITableCurrencyDisplay, y as UITableCellSelect, yt as UITableDescriptionDisplay, z as TTableInnerWrapperContext } from "../../index-DpqGxieY.cjs";
2
2
  export { ActiveFilter, BooleanFilterValue, CsvCell, DateRangeFilterValue, FilterDefinition, FilterOption, FilterType, FilterValue, NumberFilterValue, RowData, SingleTagFilterValue, TTableBodyContext, TTableContext, TTableFilterContext, TTableHeadRowContext, TTableInnerTableContext, TTableInnerWrapperContext, TTableRowContext, TTableVirtualizerContext, TUITableBody, TUITableCell, TUITableCellActions, TUITableCellSelect, TUITableColumn, TUITableEmptyDisplay, TUITableFooter, TUITableHead, TUITableHeadCell, TUITableHeadCellOption, TUITableHeadCellSelect, TUITableHeadRow, TUITableInnerTable, TUITableInnerWrapper, TUITableLoadMore, TUITableRow, TUITableWrapper, TableProviderProps, TagFilterValue, TextFilterValue, UITableBadgeDisplay, UITableBody, UITableBooleanDisplay, UITableCell, UITableCellActions, UITableCellSelect, UITableContainer, UITableCurrencyDisplay, UITableDateDisplay, UITableDescriptionDisplay, UITableEmailDisplay, UITableEmptyDisplay, UITableFilter, UITableFooter, UITableHead, UITableHeadCell, UITableHeadCellOption, UITableHeadCellSelect, UITableHeadRow, UITableInnerTable, UITableInnerWrapper, UITableListDisplay, UITableLoadMore, UITableMoreButton, UITableNameDisplay, UITablePermalink, UITablePhoneNumberDisplay, UITableProgressDisplay, UITableProvider, UITableRemoveButton, UITableRow, UITableStatisticDisplay, UITableStatusDisplay, UITableTooltip, UITableTooltipActions, UITableTooltipFilter, UITableUserDataDisplay, UITableWrapper };
@@ -1,3 +1,3 @@
1
- import { $ as TUITableHeadRow, A as FilterValue, B as TTableRowContext, C as ActiveFilter, Ct as UITableBadgeDisplay, D as FilterDefinition, E as DateRangeFilterValue, F as TTableContext, G as TUITableCellSelect, H as TUITableBody, I as TTableFilterContext, J as TUITableFooter, K as TUITableColumn, L as TTableHeadRowContext, M as RowData, N as SingleTagFilterValue, O as FilterOption, P as TTableBodyContext, Q as TUITableHeadCellSelect, R as TTableInnerTableContext, S as UITableBody, St as UITableBooleanDisplay, T as CsvCell, U as TUITableCell, V as TTableVirtualizerContext, W as TUITableCellActions, X as TUITableHeadCell, Y as TUITableHead, Z as TUITableHeadCellOption, _ as UITableFooter, _t as UITableListDisplay, a as UITableFilter, at as TableProviderProps, b as UITableCellActions, bt as UITableDateDisplay, c as UITableRow, ct as UITableUserDataDisplay, d as UITableInnerTable, dt as UITableRemoveButton, et as TUITableInnerTable, f as UITableHeadRow, ft as UITableProgressDisplay, g as UITableHead, gt as UITableMoreButton, h as UITableHeadCell, ht as UITableNameDisplay, i as UITableProvider, it as TUITableWrapper, j as NumberFilterValue, k as FilterType, l as UITableLoadMore, lt as UITableStatusDisplay, m as UITableHeadCellOption, mt as UITablePermalink, n as UITableTooltipActions, nt as TUITableLoadMore, o as UITableContainer, ot as TagFilterValue, p as UITableHeadCellSelect, pt as UITablePhoneNumberDisplay, q as TUITableEmptyDisplay, r as UITableTooltipFilter, rt as TUITableRow, s as UITableWrapper, st as TextFilterValue, t as UITableTooltip, tt as TUITableInnerWrapper, u as UITableInnerWrapper, ut as UITableStatisticDisplay, v as UITableEmptyDisplay, vt as UITableEmailDisplay, w as BooleanFilterValue, x as UITableCell, xt as UITableCurrencyDisplay, y as UITableCellSelect, yt as UITableDescriptionDisplay, z as TTableInnerWrapperContext } from "../../index-rE1M5FGs.mjs";
2
- import "../../input-ZL65yvYU.mjs";
1
+ import { $ as TUITableHeadRow, A as FilterValue, B as TTableRowContext, C as ActiveFilter, Ct as UITableBadgeDisplay, D as FilterDefinition, E as DateRangeFilterValue, F as TTableContext, G as TUITableCellSelect, H as TUITableBody, I as TTableFilterContext, J as TUITableFooter, K as TUITableColumn, L as TTableHeadRowContext, M as RowData, N as SingleTagFilterValue, O as FilterOption, P as TTableBodyContext, Q as TUITableHeadCellSelect, R as TTableInnerTableContext, S as UITableBody, St as UITableBooleanDisplay, T as CsvCell, U as TUITableCell, V as TTableVirtualizerContext, W as TUITableCellActions, X as TUITableHeadCell, Y as TUITableHead, Z as TUITableHeadCellOption, _ as UITableFooter, _t as UITableListDisplay, a as UITableFilter, at as TableProviderProps, b as UITableCellActions, bt as UITableDateDisplay, c as UITableRow, ct as UITableUserDataDisplay, d as UITableInnerTable, dt as UITableRemoveButton, et as TUITableInnerTable, f as UITableHeadRow, ft as UITableProgressDisplay, g as UITableHead, gt as UITableMoreButton, h as UITableHeadCell, ht as UITableNameDisplay, i as UITableProvider, it as TUITableWrapper, j as NumberFilterValue, k as FilterType, l as UITableLoadMore, lt as UITableStatusDisplay, m as UITableHeadCellOption, mt as UITablePermalink, n as UITableTooltipActions, nt as TUITableLoadMore, o as UITableContainer, ot as TagFilterValue, p as UITableHeadCellSelect, pt as UITablePhoneNumberDisplay, q as TUITableEmptyDisplay, r as UITableTooltipFilter, rt as TUITableRow, s as UITableWrapper, st as TextFilterValue, t as UITableTooltip, tt as TUITableInnerWrapper, u as UITableInnerWrapper, ut as UITableStatisticDisplay, v as UITableEmptyDisplay, vt as UITableEmailDisplay, w as BooleanFilterValue, x as UITableCell, xt as UITableCurrencyDisplay, y as UITableCellSelect, yt as UITableDescriptionDisplay, z as TTableInnerWrapperContext } from "../../index-DDYTIEq3.mjs";
2
+ import "../../input-Che86SWz.mjs";
3
3
  export { ActiveFilter, BooleanFilterValue, CsvCell, DateRangeFilterValue, FilterDefinition, FilterOption, FilterType, FilterValue, NumberFilterValue, RowData, SingleTagFilterValue, TTableBodyContext, TTableContext, TTableFilterContext, TTableHeadRowContext, TTableInnerTableContext, TTableInnerWrapperContext, TTableRowContext, TTableVirtualizerContext, TUITableBody, TUITableCell, TUITableCellActions, TUITableCellSelect, TUITableColumn, TUITableEmptyDisplay, TUITableFooter, TUITableHead, TUITableHeadCell, TUITableHeadCellOption, TUITableHeadCellSelect, TUITableHeadRow, TUITableInnerTable, TUITableInnerWrapper, TUITableLoadMore, TUITableRow, TUITableWrapper, TableProviderProps, TagFilterValue, TextFilterValue, UITableBadgeDisplay, UITableBody, UITableBooleanDisplay, UITableCell, UITableCellActions, UITableCellSelect, UITableContainer, UITableCurrencyDisplay, UITableDateDisplay, UITableDescriptionDisplay, UITableEmailDisplay, UITableEmptyDisplay, UITableFilter, UITableFooter, UITableHead, UITableHeadCell, UITableHeadCellOption, UITableHeadCellSelect, UITableHeadRow, UITableInnerTable, UITableInnerWrapper, UITableListDisplay, UITableLoadMore, UITableMoreButton, UITableNameDisplay, UITablePermalink, UITablePhoneNumberDisplay, UITableProgressDisplay, UITableProvider, UITableRemoveButton, UITableRow, UITableStatisticDisplay, UITableStatusDisplay, UITableTooltip, UITableTooltipActions, UITableTooltipFilter, UITableUserDataDisplay, UITableWrapper };
@@ -1 +1 @@
1
- require(`../../button.variants-tnhb123u.cjs`),require(`../../button-Bu4ejNOW.cjs`),require(`../../heading-wUXEbicM.cjs`),require(`../../paragraph-D-JHj7EP.cjs`),require(`../../tooltip-DC6i1A25.cjs`),require(`../../separator-jytY1CPq.cjs`),require(`../../close-DUBEKxhw.cjs`),require(`../../dialog-DEnyBH2X.cjs`),require(`../../command-CTdjZi1F.cjs`),require(`../../checkbox-BQ_TclX9.cjs`),require(`../../input-1ceJxxFI.cjs`),require(`../../popover-Bnrgg4do.cjs`),require(`../../select-DHiTqZeX.cjs`),require(`../../label-BHbqbBtO.cjs`);const e=require(`../../tanstack-form-DKcuB2zr.cjs`);require(`../../textarea-SPXNe-iZ.cjs`),require(`../../calendar-ChaYPTJO.cjs`),require(`../../radio-group-KMvVXCIk.cjs`),require(`../../text-editor-Dy3_hyNw.cjs`),exports.Field=e.o,exports.FieldContent=e.s,exports.FieldContentMain=e.c,exports.FieldError=e.l,exports.FieldGroup=e.u,exports.FieldLabel=e.d,exports.FieldSeparator=e.f,exports.useTanStackFieldContext=e.t,exports.useTanStackForm=e.n,exports.useTanStackFormContext=e.r,exports.withTanStackFieldGroup=e.i,exports.withTanStackForm=e.a;
1
+ require(`../../button.variants-tnhb123u.cjs`),require(`../../button-Bu4ejNOW.cjs`),require(`../../heading-wUXEbicM.cjs`),require(`../../paragraph-D-JHj7EP.cjs`),require(`../../tooltip-DC6i1A25.cjs`),require(`../../separator-jytY1CPq.cjs`),require(`../../close-DUBEKxhw.cjs`),require(`../../dialog-DEnyBH2X.cjs`),require(`../../command-CTdjZi1F.cjs`),require(`../../checkbox-BQ_TclX9.cjs`),require(`../../input-1ceJxxFI.cjs`),require(`../../popover-Bnrgg4do.cjs`),require(`../../select-DHiTqZeX.cjs`),require(`../../label-BHbqbBtO.cjs`);const e=require(`../../tanstack-form-B9CugNS5.cjs`);require(`../../switch-0-9Zt33o.cjs`),require(`../../drawer-C3o6IEeq.cjs`),require(`../../calendar-Bt0rlJ89.cjs`),require(`../../radio-group-Bv6w2woK.cjs`),require(`../../textarea-BB2WynyM.cjs`),require(`../../text-editor-CE_GkI7o.cjs`),exports.Field=e.o,exports.FieldContent=e.s,exports.FieldContentMain=e.c,exports.FieldError=e.l,exports.FieldGroup=e.u,exports.FieldLabel=e.d,exports.FieldSeparator=e.f,exports.useTanStackFieldContext=e.t,exports.useTanStackForm=e.n,exports.useTanStackFormContext=e.r,exports.withTanStackFieldGroup=e.i,exports.withTanStackForm=e.a;
@@ -1,2 +1,2 @@
1
- import { a as withTanStackForm, c as FieldContentMain, d as FieldLabel, f as FieldSeparator, i as withTanStackFieldGroup, l as FieldError, n as useTanStackForm, o as Field, r as useTanStackFormContext, s as FieldContent, t as useTanStackFieldContext, u as FieldGroup } from "../../index-CtKNb2-t.cjs";
1
+ import { a as withTanStackForm, c as FieldContentMain, d as FieldLabel, f as FieldSeparator, i as withTanStackFieldGroup, l as FieldError, n as useTanStackForm, o as Field, r as useTanStackFormContext, s as FieldContent, t as useTanStackFieldContext, u as FieldGroup } from "../../index-BJiTJozG.cjs";
2
2
  export { Field, FieldContent, FieldContentMain, FieldError, FieldGroup, FieldLabel, FieldSeparator, useTanStackFieldContext, useTanStackForm, useTanStackFormContext, withTanStackFieldGroup, withTanStackForm };
@@ -1,2 +1,2 @@
1
- import { a as withTanStackForm, c as FieldContentMain, d as FieldLabel, f as FieldSeparator, i as withTanStackFieldGroup, l as FieldError, n as useTanStackForm, o as Field, r as useTanStackFormContext, s as FieldContent, t as useTanStackFieldContext, u as FieldGroup } from "../../index-Bz9af9gx.mjs";
1
+ import { a as withTanStackForm, c as FieldContentMain, d as FieldLabel, f as FieldSeparator, i as withTanStackFieldGroup, l as FieldError, n as useTanStackForm, o as Field, r as useTanStackFormContext, s as FieldContent, t as useTanStackFieldContext, u as FieldGroup } from "../../index-D6UbdtXa.mjs";
2
2
  export { Field, FieldContent, FieldContentMain, FieldError, FieldGroup, FieldLabel, FieldSeparator, useTanStackFieldContext, useTanStackForm, useTanStackFormContext, withTanStackFieldGroup, withTanStackForm };
@@ -1 +1 @@
1
- import"../../button.variants-CwcJHcI5.mjs";import"../../button-BqxBQ4Kr.mjs";import"../../heading-B1t9baTw.mjs";import"../../paragraph-J_QbLq9_.mjs";import"../../tooltip-BMdzWaaH.mjs";import"../../separator-yTKDuMWb.mjs";import"../../close-BMhGSmGs.mjs";import"../../dialog-jqiIqxlm.mjs";import"../../command-Bvauothg.mjs";import"../../checkbox-CJsl9OjF.mjs";import"../../input-CKFQdvqY.mjs";import"../../popover-BCzVvfnV.mjs";import"../../select-C2Ro2wmj.mjs";import"../../label-CE2m0U_j.mjs";import{a as e,c as t,d as n,f as r,i,l as a,n as o,o as s,r as c,s as l,t as u,u as d}from"../../tanstack-form-Dez1xwl5.mjs";import"../../textarea-Cvdq7UAn.mjs";import"../../calendar-CHVujBHK.mjs";import"../../radio-group-CsmpBZTK.mjs";import"../../text-editor-D182J9Y5.mjs";export{s as Field,l as FieldContent,t as FieldContentMain,a as FieldError,d as FieldGroup,n as FieldLabel,r as FieldSeparator,u as useTanStackFieldContext,o as useTanStackForm,c as useTanStackFormContext,i as withTanStackFieldGroup,e as withTanStackForm};
1
+ import"../../button.variants-CwcJHcI5.mjs";import"../../button-BqxBQ4Kr.mjs";import"../../heading-B1t9baTw.mjs";import"../../paragraph-J_QbLq9_.mjs";import"../../tooltip-BMdzWaaH.mjs";import"../../separator-yTKDuMWb.mjs";import"../../close-BMhGSmGs.mjs";import"../../dialog-jqiIqxlm.mjs";import"../../command-Bvauothg.mjs";import"../../checkbox-CJsl9OjF.mjs";import"../../input-CKFQdvqY.mjs";import"../../popover-BCzVvfnV.mjs";import"../../select-C2Ro2wmj.mjs";import"../../label-CE2m0U_j.mjs";import{a as e,c as t,d as n,f as r,i,l as a,n as o,o as s,r as c,s as l,t as u,u as d}from"../../tanstack-form-DJ90sBFl.mjs";import"../../switch-DHsjxnFP.mjs";import"../../drawer-j9wcVE50.mjs";import"../../calendar-D8aRFw_F.mjs";import"../../radio-group-KR6Ck-B9.mjs";import"../../textarea-D0-Gltw6.mjs";import"../../text-editor-CqC44BkO.mjs";export{s as Field,l as FieldContent,t as FieldContentMain,a as FieldError,d as FieldGroup,n as FieldLabel,r as FieldSeparator,u as useTanStackFieldContext,o as useTanStackForm,c as useTanStackFormContext,i as withTanStackFieldGroup,e as withTanStackForm};
@@ -1 +1 @@
1
- "use client";const e=require(`../../text-editor-Dy3_hyNw.cjs`);exports.TextEditor=e.t,exports.TextEditorToolbar=e.n;
1
+ "use client";const e=require(`../../text-editor-CE_GkI7o.cjs`);exports.TextEditor=e.t,exports.TextEditorToolbar=e.n;
@@ -1,2 +1,2 @@
1
- import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "../../index-DMUr1T2A.cjs";
1
+ import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "../../index-Cotq70wL.cjs";
2
2
  export { TextEditor, TextEditorProps, TextEditorToolbar, TextEditorToolbarProps };
@@ -1,2 +1,2 @@
1
- import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "../../index-C3dXDjdR.mjs";
1
+ import { i as TextEditorProps, n as TextEditorToolbarProps, r as TextEditor, t as TextEditorToolbar } from "../../index-TvuUzBSW.mjs";
2
2
  export { TextEditor, TextEditorProps, TextEditorToolbar, TextEditorToolbarProps };
@@ -1 +1 @@
1
- "use client";import{n as e,t}from"../../text-editor-D182J9Y5.mjs";export{t as TextEditor,e as TextEditorToolbar};
1
+ "use client";import{n as e,t}from"../../text-editor-CqC44BkO.mjs";export{t as TextEditor,e as TextEditorToolbar};
@@ -1,2 +1,2 @@
1
1
  import{t as e}from"./separator-yTKDuMWb.mjs";import{t}from"./label-CE2m0U_j.mjs";import{BanIcon as n}from"lucide-react";import{memo as r,useMemo as i}from"react";import{cn as a}from"@customafk/react-toolkit/utils";import{cva as o}from"class-variance-authority";import{jsx as s,jsxs as c}from"react/jsx-runtime";const l=r(({className:e,...t})=>s(`fieldset`,{"data-slot":`field-set`,className:a(`flex flex-col gap-6`,`has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3`,e),...t}));l.displayName=`FieldSet`;const u=r(({className:e,variant:t=`legend`,...n})=>s(`legend`,{"data-slot":`field-legend`,"data-variant":t,className:a(`mb-3 font-medium`,`data-[variant=legend]:text-base`,`data-[variant=label]:text-sm`,e),...n}));u.displayName=`FieldLegend`;const d=r(({className:e,...t})=>s(`div`,{"data-slot":`field-group`,className:a(`group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4`,e),...t}));d.displayName=`FieldGroup`;const f=o(`group/field flex w-full gap-3 data-[invalid=true]:text-destructive`,{variants:{orientation:{vertical:[`flex-col *:w-full [&>.sr-only]:w-auto`],horizontal:[`flex-row items-center`,`*:data-[slot=field-label]:flex-auto`,`has-[>[data-slot=field-content]]:items-start`,`has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`],responsive:[`flex-col *:w-full [&>.sr-only]:w-auto`,`@md/field-group:flex-row`,`@md/field-group:items-center`,`@md/field-group:*:w-auto`,`@md/field-group:*:data-[slot=field-label]:flex-auto`,`@md/field-group:has-[>[data-slot=field-content]]:items-start`,`@md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`]}},defaultVariants:{orientation:`vertical`}}),p=r(({className:e,orientation:t=`vertical`,...n})=>s(`div`,{"data-slot":`field`,"data-orientation":t,className:a(f({orientation:t}),e),...n}));p.displayName=`Field`;const m=r(({className:e,...t})=>s(`div`,{"data-slot":`field-content`,className:a(`group/field-content flex basis-2/5 flex-col gap-1.5 leading-snug`,e),...t}));m.displayName=`FieldContent`;const h=r(({className:e,...n})=>s(t,{"data-slot":`field-label`,className:a(`group/field-label peer/field-label flex w-fit gap-2 leading-snug`,`group-data-[disabled=true]/field:opacity-50`,`has-[>[data-slot=field]]:w-full`,`has-[>[data-slot=field]]:flex-col`,`has-[>[data-slot=field]]:rounded-md`,`has-[>[data-slot=field]]:border`,`*:data-[slot=field]:p-4`,`has-data-[state=checked]:bg-primary/5`,`has-data-[state=checked]:border-primary`,e),...n}));h.displayName=`FieldLabel`;const g=r(({className:e,...t})=>s(`div`,{"data-slot":`field-label`,className:a(`flex w-fit items-center gap-2 font-medium text-sm leading-snug group-data-[disabled=true]/field:opacity-50`,e),...t}));g.displayName=`FieldTitle`;const _=r(({className:e,...t})=>s(`p`,{"data-slot":`field-description`,className:a(`text-text-positive-weak text-sm leading-normal font-normal group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...t}));_.displayName=`FieldDescription`;const v=r(({children:t,className:n,...r})=>c(`div`,{"data-slot":`field-separator`,"data-content":!!t,className:a(`relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2`,n),...r,children:[s(e,{className:`absolute inset-0 top-1/2`}),t&&s(`span`,{className:`relative mx-auto block w-fit bg-background px-2 text-text-positive-weak`,"data-slot":`field-separator-content`,children:t})]}));v.displayName=`FieldSeparator`;const y=r(({className:e,children:t,errors:r,...o})=>{let l=i(()=>t||(r?r?.length===1&&r[0]?.message?c(`div`,{className:`flex flex-row items-center justify-start gap-x-0.5`,children:[s(n,{size:14}),s(`p`,{children:r[0].message})]}):s(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:r.map(e=>typeof e==`string`?s(`li`,{children:e},e):e?.message?s(`li`,{children:e.message},e.message):null)}):null),[t,r]);return l?s(`div`,{role:`alert`,"data-slot":`field-error`,className:a(`w-full font-normal text-danger text-xs`,e),...o,children:l}):null});y.displayName=`FieldError`;export{d as a,v as c,y as i,l,m as n,h as o,_ as r,u as s,p as t,g as u};
2
- //# sourceMappingURL=field-Bh7Hq4Lo.mjs.map
2
+ //# sourceMappingURL=field-B8RhxRCu.mjs.map