@customafk/lunas-ui 0.1.40 → 0.1.41

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 (263) hide show
  1. package/dist/{button-CPSR8ewr.d.mts → button-B47JL9_X.d.cts} +6 -6
  2. package/dist/{button-DM5NJ-7F.d.cts → button-BVyGOvsM.d.mts} +6 -6
  3. package/dist/cards/simple-card.d.mts +2 -2
  4. package/dist/{close-BuQ2DHur.mjs → close-CCf5pMYu.mjs} +1 -1
  5. package/dist/{close-BuQ2DHur.mjs.map → close-CCf5pMYu.mjs.map} +1 -1
  6. package/dist/{close-DvsVM8lM.cjs → close-D_Ge7gnP.cjs} +1 -1
  7. package/dist/{close-DvsVM8lM.cjs.map → close-D_Ge7gnP.cjs.map} +1 -1
  8. package/dist/{command-BKiAU1oU.mjs → command-CLjGZB-7.mjs} +2 -2
  9. package/dist/{command-BKiAU1oU.mjs.map → command-CLjGZB-7.mjs.map} +1 -1
  10. package/dist/{command-BqSzRw6j.cjs → command-D5zGkxau.cjs} +2 -2
  11. package/dist/{command-BqSzRw6j.cjs.map → command-D5zGkxau.cjs.map} +1 -1
  12. package/dist/data-display/country.d.mts +1 -1
  13. package/dist/data-display/role-badge.d.mts +1 -1
  14. package/dist/data-display/statistic.d.mts +2 -2
  15. package/dist/{dialog-EzJiDxrJ.d.mts → dialog-B9Dvd4Fh.d.mts} +12 -12
  16. package/dist/{dialog-bd77jxcu.mjs → dialog-BbNb9Lr8.mjs} +2 -2
  17. package/dist/{dialog-bd77jxcu.mjs.map → dialog-BbNb9Lr8.mjs.map} +1 -1
  18. package/dist/{dialog-DVwvHuQB.cjs → dialog-DeIMaQO0.cjs} +2 -2
  19. package/dist/{dialog-DVwvHuQB.cjs.map → dialog-DeIMaQO0.cjs.map} +1 -1
  20. package/dist/{dialog-B2-c4OTw.d.cts → dialog-WNb5xgv8.d.cts} +12 -12
  21. package/dist/dialogs/detail-dialog/components/sidebar.cjs +2 -0
  22. package/dist/dialogs/detail-dialog/components/sidebar.cjs.map +1 -0
  23. package/dist/dialogs/detail-dialog/{component/sidebar.d.mts → components/sidebar.d.cts} +30 -35
  24. package/dist/dialogs/detail-dialog/{component/sidebar.d.cts → components/sidebar.d.mts} +31 -36
  25. package/dist/dialogs/detail-dialog/components/sidebar.mjs +2 -0
  26. package/dist/dialogs/detail-dialog/components/sidebar.mjs.map +1 -0
  27. package/dist/dialogs/detail-dialog/index.cjs +1 -1
  28. package/dist/dialogs/detail-dialog/index.cjs.map +1 -1
  29. package/dist/dialogs/detail-dialog/index.d.cts +9 -8
  30. package/dist/dialogs/detail-dialog/index.d.mts +9 -8
  31. package/dist/dialogs/detail-dialog/index.mjs +1 -1
  32. package/dist/dialogs/detail-dialog/index.mjs.map +1 -1
  33. package/dist/dialogs/loading-dialog.cjs +1 -1
  34. package/dist/dialogs/loading-dialog.mjs +1 -1
  35. package/dist/{drawer-ClbO_Gt0.mjs → drawer-272Fecsq.mjs} +1 -1
  36. package/dist/{drawer-ClbO_Gt0.mjs.map → drawer-272Fecsq.mjs.map} +1 -1
  37. package/dist/{drawer-DluJOnDX.cjs → drawer-y-Yrqskp.cjs} +1 -1
  38. package/dist/{drawer-DluJOnDX.cjs.map → drawer-y-Yrqskp.cjs.map} +1 -1
  39. package/dist/{dropdown-menu-DQs_Lvq7.cjs → dropdown-menu-BuyuU6uF.cjs} +1 -1
  40. package/dist/{dropdown-menu-DQs_Lvq7.cjs.map → dropdown-menu-BuyuU6uF.cjs.map} +1 -1
  41. package/dist/{dropdown-menu-DPhbyDEo.mjs → dropdown-menu-DsWYP0bL.mjs} +1 -1
  42. package/dist/{dropdown-menu-DPhbyDEo.mjs.map → dropdown-menu-DsWYP0bL.mjs.map} +1 -1
  43. package/dist/features/search-modal/index.cjs +1 -1
  44. package/dist/features/search-modal/index.d.cts +2 -2
  45. package/dist/features/search-modal/index.d.mts +2 -2
  46. package/dist/features/search-modal/index.mjs +1 -1
  47. package/dist/features/tables/index.cjs +1 -1
  48. package/dist/features/tables/index.d.cts +7 -7
  49. package/dist/features/tables/index.d.mts +7 -7
  50. package/dist/features/tables/index.mjs +1 -1
  51. package/dist/features/tables/index.mjs.map +1 -1
  52. package/dist/features/tanstack-form/index.cjs +1 -1
  53. package/dist/features/tanstack-form/index.mjs +1 -1
  54. package/dist/{input-LDpzfNmy.d.mts → input-BSE6jQaF.d.mts} +3 -3
  55. package/dist/{input-C1K2wbv1.mjs → input-DD17n9Bv.mjs} +1 -1
  56. package/dist/{input-C1K2wbv1.mjs.map → input-DD17n9Bv.mjs.map} +1 -1
  57. package/dist/{input-CMXa_99w.d.cts → input-Dh7Ny5P9.d.cts} +5 -5
  58. package/dist/{input-C1BXP8dd.cjs → input-qnlHzDDm.cjs} +1 -1
  59. package/dist/{input-C1BXP8dd.cjs.map → input-qnlHzDDm.cjs.map} +1 -1
  60. package/dist/{label-CkTb259R.cjs → label-CaBktIhh.cjs} +1 -1
  61. package/dist/{label-CkTb259R.cjs.map → label-CaBktIhh.cjs.map} +1 -1
  62. package/dist/{label-DwmJnk4H.mjs → label-DVfxfyG5.mjs} +1 -1
  63. package/dist/{label-DwmJnk4H.mjs.map → label-DVfxfyG5.mjs.map} +1 -1
  64. package/dist/layouts/app-layout/index.cjs +1 -1
  65. package/dist/layouts/app-layout/index.d.cts +28 -28
  66. package/dist/layouts/app-layout/index.d.mts +28 -28
  67. package/dist/layouts/app-layout/index.mjs +1 -1
  68. package/dist/layouts/cms-layout/index.cjs +1 -1
  69. package/dist/layouts/cms-layout/index.mjs +1 -1
  70. package/dist/layouts/flex.d.cts +2 -2
  71. package/dist/layouts/flex.d.mts +2 -2
  72. package/dist/layouts/service-layout/index.cjs +1 -1
  73. package/dist/layouts/service-layout/index.d.cts +13 -13
  74. package/dist/layouts/service-layout/index.d.mts +15 -15
  75. package/dist/layouts/service-layout/index.mjs +1 -1
  76. package/dist/layouts/service-layout/index.mjs.map +1 -1
  77. package/dist/pages/FeatureDeveloping.d.cts +2 -2
  78. package/dist/pages/FeatureDeveloping.d.mts +2 -2
  79. package/dist/pages/FeatureFixing.d.cts +2 -2
  80. package/dist/pages/FeatureFixing.d.mts +2 -2
  81. package/dist/pages/NotAuthorized.d.cts +2 -2
  82. package/dist/pages/NotAuthorized.d.mts +2 -2
  83. package/dist/pages/NotFound.d.cts +2 -2
  84. package/dist/pages/NotFound.d.mts +2 -2
  85. package/dist/{resizable-C2-dXaDM.cjs → resizable-BS63Xwia.cjs} +1 -1
  86. package/dist/{resizable-C2-dXaDM.cjs.map → resizable-BS63Xwia.cjs.map} +1 -1
  87. package/dist/{resizable-LConLbS6.mjs → resizable-Dp4eTFXj.mjs} +1 -1
  88. package/dist/{resizable-LConLbS6.mjs.map → resizable-Dp4eTFXj.mjs.map} +1 -1
  89. package/dist/{scroll-area-6xusEFm6.mjs → scroll-area-CiMS2UY7.mjs} +1 -1
  90. package/dist/{scroll-area-6xusEFm6.mjs.map → scroll-area-CiMS2UY7.mjs.map} +1 -1
  91. package/dist/{scroll-area-D61j6n8I.cjs → scroll-area-qE6GqGkn.cjs} +1 -1
  92. package/dist/{scroll-area-D61j6n8I.cjs.map → scroll-area-qE6GqGkn.cjs.map} +1 -1
  93. package/dist/{separator-Crr30ZHa.cjs → separator-C3ip6sbh.cjs} +1 -1
  94. package/dist/{separator-Crr30ZHa.cjs.map → separator-C3ip6sbh.cjs.map} +1 -1
  95. package/dist/{separator-yTKDuMWb.mjs → separator-CZM2q-Ac.mjs} +1 -1
  96. package/dist/{separator-yTKDuMWb.mjs.map → separator-CZM2q-Ac.mjs.map} +1 -1
  97. package/dist/{separator-D9m7b_32.d.mts → separator-D6YkFSv3.d.cts} +3 -3
  98. package/dist/{separator-HDjiaARy.d.cts → separator-DVJtN08T.d.mts} +3 -3
  99. package/dist/{sheet-BYKV6xT_.cjs → sheet-5MJRtrfG.cjs} +1 -1
  100. package/dist/{sheet-BYKV6xT_.cjs.map → sheet-5MJRtrfG.cjs.map} +1 -1
  101. package/dist/{sheet-BSeiP8S8.mjs → sheet-CUMpo5F_.mjs} +1 -1
  102. package/dist/{sheet-BSeiP8S8.mjs.map → sheet-CUMpo5F_.mjs.map} +1 -1
  103. package/dist/{tabs-XrUcxpL1.mjs → tabs-Cjh2jtUZ.mjs} +1 -1
  104. package/dist/{tabs-XrUcxpL1.mjs.map → tabs-Cjh2jtUZ.mjs.map} +1 -1
  105. package/dist/{tabs-DldSJjLy.cjs → tabs-DSofRReg.cjs} +1 -1
  106. package/dist/{tabs-DldSJjLy.cjs.map → tabs-DSofRReg.cjs.map} +1 -1
  107. package/dist/{tooltip-B5gO2RGs.d.cts → tooltip-CVLw9F2s.d.cts} +6 -6
  108. package/dist/{tooltip-WI0fJ7gP.d.mts → tooltip-Cu2-ZHAv.d.mts} +6 -6
  109. package/dist/{types-DWnJKJ5r.d.mts → types-D2kMOc_b.d.mts} +1 -1
  110. package/dist/typography/paragraph.d.cts +2 -2
  111. package/dist/typography/paragraph.d.mts +2 -2
  112. package/dist/typography/title.cjs +2 -1
  113. package/dist/typography/title.cjs.map +1 -0
  114. package/dist/typography/title.d.cts +2 -2
  115. package/dist/typography/title.d.mts +2 -2
  116. package/dist/typography/title.mjs +2 -1
  117. package/dist/typography/title.mjs.map +1 -0
  118. package/dist/ui/alert-dialog.d.cts +12 -12
  119. package/dist/ui/alert-dialog.d.mts +12 -12
  120. package/dist/ui/alert.d.cts +7 -7
  121. package/dist/ui/alert.d.mts +7 -7
  122. package/dist/ui/aspect-ratio.d.cts +2 -2
  123. package/dist/ui/aspect-ratio.d.mts +2 -2
  124. package/dist/ui/avatar.d.mts +4 -4
  125. package/dist/ui/badge.d.cts +2 -2
  126. package/dist/ui/badge.d.mts +4 -4
  127. package/dist/ui/breadcrumb.d.cts +8 -8
  128. package/dist/ui/breadcrumb.d.mts +8 -8
  129. package/dist/ui/button-group.cjs +1 -1
  130. package/dist/ui/button-group.d.cts +5 -5
  131. package/dist/ui/button-group.d.mts +7 -7
  132. package/dist/ui/button-group.mjs +1 -1
  133. package/dist/ui/button.d.cts +1 -1
  134. package/dist/ui/button.d.mts +1 -1
  135. package/dist/ui/calendar.d.cts +4 -4
  136. package/dist/ui/calendar.d.mts +4 -4
  137. package/dist/ui/card.d.cts +8 -8
  138. package/dist/ui/card.d.mts +8 -8
  139. package/dist/ui/carousel.d.cts +7 -7
  140. package/dist/ui/carousel.d.mts +7 -7
  141. package/dist/ui/collapsible.d.cts +4 -4
  142. package/dist/ui/collapsible.d.mts +4 -4
  143. package/dist/ui/command.cjs +1 -1
  144. package/dist/ui/command.d.cts +11 -11
  145. package/dist/ui/command.d.mts +11 -11
  146. package/dist/ui/command.mjs +1 -1
  147. package/dist/ui/context-menu.d.cts +16 -16
  148. package/dist/ui/context-menu.d.mts +16 -16
  149. package/dist/ui/dialog.cjs +1 -1
  150. package/dist/ui/dialog.d.cts +1 -1
  151. package/dist/ui/dialog.d.mts +1 -1
  152. package/dist/ui/dialog.mjs +1 -1
  153. package/dist/ui/drawer.cjs +1 -1
  154. package/dist/ui/drawer.d.cts +11 -11
  155. package/dist/ui/drawer.d.mts +11 -11
  156. package/dist/ui/drawer.mjs +1 -1
  157. package/dist/ui/dropdown-menu.cjs +1 -1
  158. package/dist/ui/dropdown-menu.d.cts +16 -16
  159. package/dist/ui/dropdown-menu.d.mts +16 -16
  160. package/dist/ui/dropdown-menu.mjs +1 -1
  161. package/dist/ui/empty.d.cts +9 -9
  162. package/dist/ui/empty.d.mts +7 -7
  163. package/dist/ui/field.cjs +1 -1
  164. package/dist/ui/field.d.cts +24 -24
  165. package/dist/ui/field.d.mts +11 -11
  166. package/dist/ui/field.mjs +1 -1
  167. package/dist/ui/file-uploader.d.cts +2 -2
  168. package/dist/ui/file-uploader.d.mts +2 -2
  169. package/dist/ui/form.cjs +1 -1
  170. package/dist/ui/form.d.cts +11 -11
  171. package/dist/ui/form.d.mts +7 -7
  172. package/dist/ui/form.mjs +1 -1
  173. package/dist/ui/hover-card.d.cts +4 -4
  174. package/dist/ui/hover-card.d.mts +4 -4
  175. package/dist/ui/input-otp.d.cts +5 -5
  176. package/dist/ui/input-otp.d.mts +5 -5
  177. package/dist/ui/input.cjs +1 -1
  178. package/dist/ui/input.d.cts +1 -1
  179. package/dist/ui/input.d.mts +1 -1
  180. package/dist/ui/input.mjs +1 -1
  181. package/dist/ui/inputs/search-input.cjs +1 -1
  182. package/dist/ui/inputs/search-input.d.cts +3 -3
  183. package/dist/ui/inputs/search-input.d.mts +3 -3
  184. package/dist/ui/inputs/search-input.mjs +1 -1
  185. package/dist/ui/item.cjs +1 -1
  186. package/dist/ui/item.d.cts +15 -15
  187. package/dist/ui/item.d.mts +12 -12
  188. package/dist/ui/item.mjs +1 -1
  189. package/dist/ui/label.cjs +1 -1
  190. package/dist/ui/label.d.cts +2 -2
  191. package/dist/ui/label.d.mts +2 -2
  192. package/dist/ui/label.mjs +1 -1
  193. package/dist/ui/menubar.d.cts +17 -17
  194. package/dist/ui/menubar.d.mts +17 -17
  195. package/dist/ui/multi-select.cjs +1 -1
  196. package/dist/ui/multi-select.d.cts +2 -2
  197. package/dist/ui/multi-select.d.mts +1 -1
  198. package/dist/ui/multi-select.mjs +1 -1
  199. package/dist/ui/navigation-menu.d.cts +11 -11
  200. package/dist/ui/navigation-menu.d.mts +9 -9
  201. package/dist/ui/pagination.d.cts +9 -9
  202. package/dist/ui/pagination.d.mts +9 -9
  203. package/dist/ui/popover.d.cts +5 -5
  204. package/dist/ui/popover.d.mts +5 -5
  205. package/dist/ui/progress.d.cts +2 -2
  206. package/dist/ui/progress.d.mts +2 -2
  207. package/dist/ui/radio-group.d.cts +3 -3
  208. package/dist/ui/radio-group.d.mts +3 -3
  209. package/dist/ui/resizable.cjs +1 -1
  210. package/dist/ui/resizable.d.cts +4 -4
  211. package/dist/ui/resizable.d.mts +4 -4
  212. package/dist/ui/resizable.mjs +1 -1
  213. package/dist/ui/scroll-area.cjs +1 -1
  214. package/dist/ui/scroll-area.d.cts +3 -3
  215. package/dist/ui/scroll-area.d.mts +3 -3
  216. package/dist/ui/scroll-area.mjs +1 -1
  217. package/dist/ui/select.d.cts +11 -11
  218. package/dist/ui/select.d.mts +11 -11
  219. package/dist/ui/separator.cjs +1 -1
  220. package/dist/ui/separator.d.cts +1 -1
  221. package/dist/ui/separator.d.mts +1 -1
  222. package/dist/ui/separator.mjs +1 -1
  223. package/dist/ui/sheet.cjs +1 -1
  224. package/dist/ui/sheet.d.cts +9 -9
  225. package/dist/ui/sheet.d.mts +9 -9
  226. package/dist/ui/sheet.mjs +1 -1
  227. package/dist/ui/sidebar.cjs +1 -1
  228. package/dist/ui/sidebar.d.cts +28 -28
  229. package/dist/ui/sidebar.d.mts +28 -28
  230. package/dist/ui/sidebar.mjs +1 -1
  231. package/dist/ui/skeleton.d.cts +2 -2
  232. package/dist/ui/skeleton.d.mts +2 -2
  233. package/dist/ui/slider.d.cts +2 -2
  234. package/dist/ui/slider.d.mts +2 -2
  235. package/dist/ui/sonner.d.cts +2 -2
  236. package/dist/ui/sonner.d.mts +2 -2
  237. package/dist/ui/spinner.d.cts +2 -2
  238. package/dist/ui/spinner.d.mts +2 -2
  239. package/dist/ui/switch.d.cts +2 -2
  240. package/dist/ui/switch.d.mts +2 -2
  241. package/dist/ui/table.d.cts +18 -18
  242. package/dist/ui/table.d.mts +9 -9
  243. package/dist/ui/tabs.cjs +1 -1
  244. package/dist/ui/tabs.d.cts +5 -5
  245. package/dist/ui/tabs.d.mts +5 -5
  246. package/dist/ui/tabs.mjs +1 -1
  247. package/dist/ui/textarea.d.cts +2 -2
  248. package/dist/ui/textarea.d.mts +2 -2
  249. package/dist/ui/toggle-group.d.cts +3 -3
  250. package/dist/ui/toggle-group.d.mts +3 -3
  251. package/dist/ui/toggle.d.cts +4 -4
  252. package/dist/ui/toggle.d.mts +2 -2
  253. package/dist/ui/tooltip.d.cts +1 -1
  254. package/dist/ui/tooltip.d.mts +1 -1
  255. package/package.json +1 -1
  256. package/dist/dialogs/detail-dialog/component/sidebar.cjs +0 -2
  257. package/dist/dialogs/detail-dialog/component/sidebar.cjs.map +0 -1
  258. package/dist/dialogs/detail-dialog/component/sidebar.mjs +0 -2
  259. package/dist/dialogs/detail-dialog/component/sidebar.mjs.map +0 -1
  260. package/dist/title-BK1YcXjX.mjs +0 -2
  261. package/dist/title-BK1YcXjX.mjs.map +0 -1
  262. package/dist/title-BNv6aAfA.cjs +0 -2
  263. package/dist/title-BNv6aAfA.cjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"separator-yTKDuMWb.mjs","names":["Separator","SeparatorPrimitive"],"sources":["../packages/components/ui/separator.tsx"],"sourcesContent":["'use client';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Separator as SeparatorPrimitive } from 'radix-ui';\n\nfunction Separator({ className, orientation = 'horizontal', decorative = true, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>) {\n return (\n <SeparatorPrimitive.Root\n data-slot=\"separator\"\n decorative={decorative}\n orientation={orientation}\n className={cn(\n 'bg-border-weak shrink-0',\n 'data-[orientation=horizontal]:h-px',\n 'data-[orientation=horizontal]:w-full',\n 'data-[orientation=vertical]:h-full',\n 'data-[orientation=vertical]:w-px',\n className\n )}\n {...props}\n />\n );\n}\n\nexport { Separator };\n"],"mappings":"iIAKA,SAASA,EAAU,CAAE,YAAW,cAAc,aAAc,aAAa,GAAM,GAAG,GAA+D,CAC/I,OACE,EAACC,EAAmB,KAAA,CAClB,YAAU,YACE,aACC,cACb,UAAW,EACT,0BACA,qCACA,uCACA,qCACA,mCACA,EACD,CACD,GAAI,GACJ"}
1
+ {"version":3,"file":"separator-CZM2q-Ac.mjs","names":["Separator","SeparatorPrimitive"],"sources":["../packages/components/ui/separator.tsx"],"sourcesContent":["'use client';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Separator as SeparatorPrimitive } from 'radix-ui';\n\nfunction Separator({ className, orientation = 'horizontal', decorative = true, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>) {\n return (\n <SeparatorPrimitive.Root\n data-slot=\"separator\"\n decorative={decorative}\n orientation={orientation}\n className={cn(\n 'bg-border-weak shrink-0',\n 'data-[orientation=horizontal]:h-px',\n 'data-[orientation=horizontal]:w-full',\n 'data-[orientation=vertical]:h-full',\n 'data-[orientation=vertical]:w-px',\n className\n )}\n {...props}\n />\n );\n}\n\nexport { Separator };\n"],"mappings":"iIAKA,SAASA,EAAU,CAAE,YAAW,cAAc,aAAc,aAAa,GAAM,GAAG,GAA+D,CAC/I,OACE,EAACC,EAAmB,KAAA,CAClB,YAAU,YACE,aACC,cACb,UAAW,EACT,0BACA,qCACA,uCACA,qCACA,mCACA,EACD,CACD,GAAI,GACJ"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime232 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime168 from "react/jsx-runtime";
2
2
  import { Separator } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/separator.d.ts
@@ -7,7 +7,7 @@ declare function Separator$1({
7
7
  orientation,
8
8
  decorative,
9
9
  ...props
10
- }: React.ComponentProps<typeof Separator.Root>): react_jsx_runtime232.JSX.Element;
10
+ }: React.ComponentProps<typeof Separator.Root>): react_jsx_runtime168.JSX.Element;
11
11
  //#endregion
12
12
  export { Separator$1 as t };
13
- //# sourceMappingURL=separator-D9m7b_32.d.mts.map
13
+ //# sourceMappingURL=separator-D6YkFSv3.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime219 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime216 from "react/jsx-runtime";
2
2
  import { Separator } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/separator.d.ts
@@ -7,7 +7,7 @@ declare function Separator$1({
7
7
  orientation,
8
8
  decorative,
9
9
  ...props
10
- }: React.ComponentProps<typeof Separator.Root>): react_jsx_runtime219.JSX.Element;
10
+ }: React.ComponentProps<typeof Separator.Root>): react_jsx_runtime216.JSX.Element;
11
11
  //#endregion
12
12
  export { Separator$1 as t };
13
- //# sourceMappingURL=separator-HDjiaARy.d.cts.map
13
+ //# sourceMappingURL=separator-DVJtN08T.d.mts.map
@@ -1,2 +1,2 @@
1
1
  const e=require(`./chunk-Bmb41Sf3.cjs`);let t=require(`@customafk/react-toolkit/utils`),n=require(`react/jsx-runtime`),r=require(`lucide-react`),i=require(`radix-ui`);function a({...e}){return(0,n.jsx)(i.Dialog.Root,{"data-slot":`sheet`,...e})}function o({...e}){return(0,n.jsx)(i.Dialog.Trigger,{"data-slot":`sheet-trigger`,...e})}function s({...e}){return(0,n.jsx)(i.Dialog.Close,{"data-slot":`sheet-close`,...e})}function c({...e}){return(0,n.jsx)(i.Dialog.Portal,{"data-slot":`sheet-portal`,...e})}function l({className:e,...r}){return(0,n.jsx)(i.Dialog.Overlay,{"data-slot":`sheet-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=closed]:fade-out-0`,`data-[state=open]:fade-in-0`,e),...r})}function u({className:e,children:a,side:o=`right`,...s}){return(0,n.jsxs)(c,{children:[(0,n.jsx)(l,{}),(0,n.jsxs)(i.Dialog.Content,{"data-slot":`sheet-content`,className:(0,t.cn)(`bg-background`,`fixed z-50 flex flex-col gap-4 border-border-weak shadow-dropdown transition ease-in-out`,`data-[state=open]:animate-in`,`data-[state=open]:duration-500`,`data-[state=closed]:animate-out`,`data-[state=closed]:duration-300`,o===`right`&&`inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm`,o===`right`&&`data-[state=closed]:slide-out-to-right`,o===`right`&&`data-[state=open]:slide-in-from-right`,o===`left`&&`inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm`,o===`left`&&`data-[state=closed]:slide-out-to-left`,o===`left`&&`data-[state=open]:slide-in-from-left`,o===`top`&&`inset-x-0 top-0 h-auto border-b`,o===`top`&&`data-[state=closed]:slide-out-to-top`,o===`top`&&`data-[state=open]:slide-in-from-top`,o===`bottom`&&`inset-x-0 bottom-0 h-auto border-t`,o===`bottom`&&`data-[state=closed]:slide-out-to-bottom`,o===`bottom`&&`data-[state=open]:slide-in-from-bottom`,e),...s,children:[a,(0,n.jsxs)(i.Dialog.Close,{className:(0,t.cn)(`cursor-pointer p-2 ring-offset-background`,`absolute top-2 right-2 rounded-full opacity-70 transition-opacity`,`data-[state=open]:bg-secondary`,`disabled:pointer-events-none`,`hover:opacity-100`,`hover:bg-border-muted`,`focus:ring-border-weak`,`focus:ring-4`,`focus:outline-hidden`),children:[(0,n.jsx)(r.XIcon,{className:`size-5`}),(0,n.jsx)(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function d({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`sheet-header`,className:(0,t.cn)(`flex flex-0 flex-col gap-1.5 p-4`,e),...r})}function f({className:e,...r}){return(0,n.jsx)(`div`,{"data-slot":`sheet-footer`,className:(0,t.cn)(`mt-auto flex flex-0 flex-col gap-2 p-4`,e),...r})}function p({className:e,...r}){return(0,n.jsx)(i.Dialog.Title,{"data-slot":`sheet-title`,className:(0,t.cn)(`font-semibold text-text-positive-strong`,e),...r})}function m({className:e,...r}){return(0,n.jsx)(i.Dialog.Description,{"data-slot":`sheet-description`,className:(0,t.cn)(`text-sm text-text-positive-weak`,e),...r})}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return a}});
2
- //# sourceMappingURL=sheet-BYKV6xT_.cjs.map
2
+ //# sourceMappingURL=sheet-5MJRtrfG.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"sheet-BYKV6xT_.cjs","names":["SheetPrimitive","XIcon"],"sources":["../packages/components/ui/sheet.tsx"],"sourcesContent":["'use client';\n\nimport { XIcon } from 'lucide-react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Dialog as SheetPrimitive } from 'radix-ui';\n\nfunction Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {\n return <SheetPrimitive.Root data-slot=\"sheet\" {...props} />;\n}\n\nfunction SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>) {\n return <SheetPrimitive.Trigger data-slot=\"sheet-trigger\" {...props} />;\n}\n\nfunction SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>) {\n return <SheetPrimitive.Close data-slot=\"sheet-close\" {...props} />;\n}\n\nfunction SheetPortal({ ...props }: React.ComponentProps<typeof SheetPrimitive.Portal>) {\n return <SheetPrimitive.Portal data-slot=\"sheet-portal\" {...props} />;\n}\n\nfunction SheetOverlay({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Overlay>) {\n return (\n <SheetPrimitive.Overlay\n data-slot=\"sheet-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=closed]:fade-out-0',\n 'data-[state=open]:fade-in-0',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction SheetContent({\n className,\n children,\n side = 'right',\n ...props\n}: React.ComponentProps<typeof SheetPrimitive.Content> & {\n side?: 'top' | 'right' | 'bottom' | 'left';\n}) {\n return (\n <SheetPortal>\n <SheetOverlay />\n <SheetPrimitive.Content\n data-slot=\"sheet-content\"\n className={cn(\n 'bg-background',\n 'fixed z-50 flex flex-col gap-4 border-border-weak shadow-dropdown transition ease-in-out',\n\n 'data-[state=open]:animate-in',\n 'data-[state=open]:duration-500',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:duration-300',\n\n side === 'right' && 'inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',\n side === 'right' && 'data-[state=closed]:slide-out-to-right',\n side === 'right' && 'data-[state=open]:slide-in-from-right',\n\n side === 'left' && 'inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',\n side === 'left' && 'data-[state=closed]:slide-out-to-left',\n side === 'left' && 'data-[state=open]:slide-in-from-left',\n\n side === 'top' && 'inset-x-0 top-0 h-auto border-b',\n side === 'top' && 'data-[state=closed]:slide-out-to-top',\n side === 'top' && 'data-[state=open]:slide-in-from-top',\n\n side === 'bottom' && 'inset-x-0 bottom-0 h-auto border-t',\n side === 'bottom' && 'data-[state=closed]:slide-out-to-bottom',\n side === 'bottom' && 'data-[state=open]:slide-in-from-bottom',\n className\n )}\n {...props}\n >\n {children}\n <SheetPrimitive.Close\n className={cn(\n 'cursor-pointer p-2 ring-offset-background',\n 'absolute top-2 right-2 rounded-full opacity-70 transition-opacity',\n 'data-[state=open]:bg-secondary',\n 'disabled:pointer-events-none',\n 'hover:opacity-100',\n 'hover:bg-border-muted',\n 'focus:ring-border-weak',\n 'focus:ring-4',\n 'focus:outline-hidden'\n )}\n >\n <XIcon className=\"size-5\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPortal>\n );\n}\n\nfunction SheetHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"sheet-header\" className={cn('flex flex-0 flex-col gap-1.5 p-4', className)} {...props} />;\n}\n\nfunction SheetFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"sheet-footer\" className={cn('mt-auto flex flex-0 flex-col gap-2 p-4', className)} {...props} />;\n}\n\nfunction SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>) {\n return <SheetPrimitive.Title data-slot=\"sheet-title\" className={cn('font-semibold text-text-positive-strong', className)} {...props} />;\n}\n\nfunction SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>) {\n return <SheetPrimitive.Description data-slot=\"sheet-description\" className={cn('text-sm text-text-positive-weak', className)} {...props} />;\n}\n\nexport { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };\n"],"mappings":"uKAQA,SAAS,EAAM,CAAE,GAAG,GAA2D,CAC7E,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAe,KAAA,CAAK,YAAU,QAAQ,GAAI,GAAS,CAG7D,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAe,QAAA,CAAQ,YAAU,gBAAgB,GAAI,GAAS,CAGxE,SAAS,EAAW,CAAE,GAAG,GAA4D,CACnF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAe,MAAA,CAAM,YAAU,cAAc,GAAI,GAAS,CAGpE,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAe,OAAA,CAAO,YAAU,eAAe,GAAI,GAAS,CAGtE,SAAS,EAAa,CAAE,YAAW,GAAG,GAA8D,CAClG,OACE,EAAA,EAAA,KAACA,EAAAA,OAAe,QAAA,CACd,YAAU,gBACV,WAAA,EAAA,EAAA,IACE,iCACA,+BACA,kCACA,iCACA,8BACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAa,CACpB,YACA,WACA,OAAO,QACP,GAAG,GAGF,CACD,OACE,EAAA,EAAA,MAAC,EAAA,CAAA,SAAA,EACC,EAAA,EAAA,KAAC,EAAA,EAAA,CAAe,EAChB,EAAA,EAAA,MAACA,EAAAA,OAAe,QAAA,CACd,YAAU,gBACV,WAAA,EAAA,EAAA,IACE,gBACA,2FAEA,+BACA,iCACA,kCACA,mCAEA,IAAS,SAAW,sDACpB,IAAS,SAAW,yCACpB,IAAS,SAAW,wCAEpB,IAAS,QAAU,qDACnB,IAAS,QAAU,wCACnB,IAAS,QAAU,uCAEnB,IAAS,OAAS,kCAClB,IAAS,OAAS,uCAClB,IAAS,OAAS,sCAElB,IAAS,UAAY,qCACrB,IAAS,UAAY,0CACrB,IAAS,UAAY,yCACrB,EACD,CACD,GAAI,YAEH,GACD,EAAA,EAAA,MAACA,EAAAA,OAAe,MAAA,CACd,WAAA,EAAA,EAAA,IACE,4CACA,oEACA,iCACA,+BACA,oBACA,wBACA,yBACA,eACA,uBACD,YAED,EAAA,EAAA,KAACC,EAAAA,MAAAA,CAAM,UAAU,SAAA,CAAW,EAC5B,EAAA,EAAA,KAAC,OAAA,CAAK,UAAU,mBAAU,SAAY,CAAA,EACjB,CAAA,EACA,CAAA,CAAA,CACb,CAIlB,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,mCAAoC,EAAU,CAAE,GAAI,GAAS,CAGlH,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,yCAA0C,EAAU,CAAE,GAAI,GAAS,CAGxH,SAAS,EAAW,CAAE,YAAW,GAAG,GAA4D,CAC9F,OAAO,EAAA,EAAA,KAACD,EAAAA,OAAe,MAAA,CAAM,YAAU,cAAc,WAAA,EAAA,EAAA,IAAc,0CAA2C,EAAU,CAAE,GAAI,GAAS,CAGzI,SAAS,EAAiB,CAAE,YAAW,GAAG,GAAkE,CAC1G,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAe,YAAA,CAAY,YAAU,oBAAoB,WAAA,EAAA,EAAA,IAAc,kCAAmC,EAAU,CAAE,GAAI,GAAS"}
1
+ {"version":3,"file":"sheet-5MJRtrfG.cjs","names":["SheetPrimitive","XIcon"],"sources":["../packages/components/ui/sheet.tsx"],"sourcesContent":["'use client';\n\nimport { XIcon } from 'lucide-react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Dialog as SheetPrimitive } from 'radix-ui';\n\nfunction Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {\n return <SheetPrimitive.Root data-slot=\"sheet\" {...props} />;\n}\n\nfunction SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>) {\n return <SheetPrimitive.Trigger data-slot=\"sheet-trigger\" {...props} />;\n}\n\nfunction SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>) {\n return <SheetPrimitive.Close data-slot=\"sheet-close\" {...props} />;\n}\n\nfunction SheetPortal({ ...props }: React.ComponentProps<typeof SheetPrimitive.Portal>) {\n return <SheetPrimitive.Portal data-slot=\"sheet-portal\" {...props} />;\n}\n\nfunction SheetOverlay({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Overlay>) {\n return (\n <SheetPrimitive.Overlay\n data-slot=\"sheet-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=closed]:fade-out-0',\n 'data-[state=open]:fade-in-0',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction SheetContent({\n className,\n children,\n side = 'right',\n ...props\n}: React.ComponentProps<typeof SheetPrimitive.Content> & {\n side?: 'top' | 'right' | 'bottom' | 'left';\n}) {\n return (\n <SheetPortal>\n <SheetOverlay />\n <SheetPrimitive.Content\n data-slot=\"sheet-content\"\n className={cn(\n 'bg-background',\n 'fixed z-50 flex flex-col gap-4 border-border-weak shadow-dropdown transition ease-in-out',\n\n 'data-[state=open]:animate-in',\n 'data-[state=open]:duration-500',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:duration-300',\n\n side === 'right' && 'inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',\n side === 'right' && 'data-[state=closed]:slide-out-to-right',\n side === 'right' && 'data-[state=open]:slide-in-from-right',\n\n side === 'left' && 'inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',\n side === 'left' && 'data-[state=closed]:slide-out-to-left',\n side === 'left' && 'data-[state=open]:slide-in-from-left',\n\n side === 'top' && 'inset-x-0 top-0 h-auto border-b',\n side === 'top' && 'data-[state=closed]:slide-out-to-top',\n side === 'top' && 'data-[state=open]:slide-in-from-top',\n\n side === 'bottom' && 'inset-x-0 bottom-0 h-auto border-t',\n side === 'bottom' && 'data-[state=closed]:slide-out-to-bottom',\n side === 'bottom' && 'data-[state=open]:slide-in-from-bottom',\n className\n )}\n {...props}\n >\n {children}\n <SheetPrimitive.Close\n className={cn(\n 'cursor-pointer p-2 ring-offset-background',\n 'absolute top-2 right-2 rounded-full opacity-70 transition-opacity',\n 'data-[state=open]:bg-secondary',\n 'disabled:pointer-events-none',\n 'hover:opacity-100',\n 'hover:bg-border-muted',\n 'focus:ring-border-weak',\n 'focus:ring-4',\n 'focus:outline-hidden'\n )}\n >\n <XIcon className=\"size-5\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPortal>\n );\n}\n\nfunction SheetHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"sheet-header\" className={cn('flex flex-0 flex-col gap-1.5 p-4', className)} {...props} />;\n}\n\nfunction SheetFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"sheet-footer\" className={cn('mt-auto flex flex-0 flex-col gap-2 p-4', className)} {...props} />;\n}\n\nfunction SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>) {\n return <SheetPrimitive.Title data-slot=\"sheet-title\" className={cn('font-semibold text-text-positive-strong', className)} {...props} />;\n}\n\nfunction SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>) {\n return <SheetPrimitive.Description data-slot=\"sheet-description\" className={cn('text-sm text-text-positive-weak', className)} {...props} />;\n}\n\nexport { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };\n"],"mappings":"uKAQA,SAAS,EAAM,CAAE,GAAG,GAA2D,CAC7E,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAe,KAAA,CAAK,YAAU,QAAQ,GAAI,GAAS,CAG7D,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAe,QAAA,CAAQ,YAAU,gBAAgB,GAAI,GAAS,CAGxE,SAAS,EAAW,CAAE,GAAG,GAA4D,CACnF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAe,MAAA,CAAM,YAAU,cAAc,GAAI,GAAS,CAGpE,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAe,OAAA,CAAO,YAAU,eAAe,GAAI,GAAS,CAGtE,SAAS,EAAa,CAAE,YAAW,GAAG,GAA8D,CAClG,OACE,EAAA,EAAA,KAACA,EAAAA,OAAe,QAAA,CACd,YAAU,gBACV,WAAA,EAAA,EAAA,IACE,iCACA,+BACA,kCACA,iCACA,8BACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAa,CACpB,YACA,WACA,OAAO,QACP,GAAG,GAGF,CACD,OACE,EAAA,EAAA,MAAC,EAAA,CAAA,SAAA,EACC,EAAA,EAAA,KAAC,EAAA,EAAA,CAAe,EAChB,EAAA,EAAA,MAACA,EAAAA,OAAe,QAAA,CACd,YAAU,gBACV,WAAA,EAAA,EAAA,IACE,gBACA,2FAEA,+BACA,iCACA,kCACA,mCAEA,IAAS,SAAW,sDACpB,IAAS,SAAW,yCACpB,IAAS,SAAW,wCAEpB,IAAS,QAAU,qDACnB,IAAS,QAAU,wCACnB,IAAS,QAAU,uCAEnB,IAAS,OAAS,kCAClB,IAAS,OAAS,uCAClB,IAAS,OAAS,sCAElB,IAAS,UAAY,qCACrB,IAAS,UAAY,0CACrB,IAAS,UAAY,yCACrB,EACD,CACD,GAAI,YAEH,GACD,EAAA,EAAA,MAACA,EAAAA,OAAe,MAAA,CACd,WAAA,EAAA,EAAA,IACE,4CACA,oEACA,iCACA,+BACA,oBACA,wBACA,yBACA,eACA,uBACD,YAED,EAAA,EAAA,KAACC,EAAAA,MAAAA,CAAM,UAAU,SAAA,CAAW,EAC5B,EAAA,EAAA,KAAC,OAAA,CAAK,UAAU,mBAAU,SAAY,CAAA,EACjB,CAAA,EACA,CAAA,CAAA,CACb,CAIlB,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,mCAAoC,EAAU,CAAE,GAAI,GAAS,CAGlH,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,yCAA0C,EAAU,CAAE,GAAI,GAAS,CAGxH,SAAS,EAAW,CAAE,YAAW,GAAG,GAA4D,CAC9F,OAAO,EAAA,EAAA,KAACD,EAAAA,OAAe,MAAA,CAAM,YAAU,cAAc,WAAA,EAAA,EAAA,IAAc,0CAA2C,EAAU,CAAE,GAAI,GAAS,CAGzI,SAAS,EAAiB,CAAE,YAAW,GAAG,GAAkE,CAC1G,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAe,YAAA,CAAY,YAAU,oBAAoB,WAAA,EAAA,EAAA,IAAc,kCAAmC,EAAU,CAAE,GAAI,GAAS"}
@@ -1,2 +1,2 @@
1
1
  import{cn as e}from"@customafk/react-toolkit/utils";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{XIcon as r}from"lucide-react";import{Dialog as i}from"radix-ui";function a({...e}){return t(i.Root,{"data-slot":`sheet`,...e})}function o({...e}){return t(i.Trigger,{"data-slot":`sheet-trigger`,...e})}function s({...e}){return t(i.Close,{"data-slot":`sheet-close`,...e})}function c({...e}){return t(i.Portal,{"data-slot":`sheet-portal`,...e})}function l({className:n,...r}){return t(i.Overlay,{"data-slot":`sheet-overlay`,className:e(`fixed inset-0 z-50 bg-black/50`,`data-[state=open]:animate-in`,`data-[state=closed]:animate-out`,`data-[state=closed]:fade-out-0`,`data-[state=open]:fade-in-0`,n),...r})}function u({className:a,children:o,side:s=`right`,...u}){return n(c,{children:[t(l,{}),n(i.Content,{"data-slot":`sheet-content`,className:e(`bg-background`,`fixed z-50 flex flex-col gap-4 border-border-weak shadow-dropdown transition ease-in-out`,`data-[state=open]:animate-in`,`data-[state=open]:duration-500`,`data-[state=closed]:animate-out`,`data-[state=closed]:duration-300`,s===`right`&&`inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm`,s===`right`&&`data-[state=closed]:slide-out-to-right`,s===`right`&&`data-[state=open]:slide-in-from-right`,s===`left`&&`inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm`,s===`left`&&`data-[state=closed]:slide-out-to-left`,s===`left`&&`data-[state=open]:slide-in-from-left`,s===`top`&&`inset-x-0 top-0 h-auto border-b`,s===`top`&&`data-[state=closed]:slide-out-to-top`,s===`top`&&`data-[state=open]:slide-in-from-top`,s===`bottom`&&`inset-x-0 bottom-0 h-auto border-t`,s===`bottom`&&`data-[state=closed]:slide-out-to-bottom`,s===`bottom`&&`data-[state=open]:slide-in-from-bottom`,a),...u,children:[o,n(i.Close,{className:e(`cursor-pointer p-2 ring-offset-background`,`absolute top-2 right-2 rounded-full opacity-70 transition-opacity`,`data-[state=open]:bg-secondary`,`disabled:pointer-events-none`,`hover:opacity-100`,`hover:bg-border-muted`,`focus:ring-border-weak`,`focus:ring-4`,`focus:outline-hidden`),children:[t(r,{className:`size-5`}),t(`span`,{className:`sr-only`,children:`Close`})]})]})]})}function d({className:n,...r}){return t(`div`,{"data-slot":`sheet-header`,className:e(`flex flex-0 flex-col gap-1.5 p-4`,n),...r})}function f({className:n,...r}){return t(`div`,{"data-slot":`sheet-footer`,className:e(`mt-auto flex flex-0 flex-col gap-2 p-4`,n),...r})}function p({className:n,...r}){return t(i.Title,{"data-slot":`sheet-title`,className:e(`font-semibold text-text-positive-strong`,n),...r})}function m({className:n,...r}){return t(i.Description,{"data-slot":`sheet-description`,className:e(`text-sm text-text-positive-weak`,n),...r})}export{f as a,o as c,m as i,s as n,d as o,u as r,p as s,a as t};
2
- //# sourceMappingURL=sheet-BSeiP8S8.mjs.map
2
+ //# sourceMappingURL=sheet-CUMpo5F_.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"sheet-BSeiP8S8.mjs","names":["SheetPrimitive"],"sources":["../packages/components/ui/sheet.tsx"],"sourcesContent":["'use client';\n\nimport { XIcon } from 'lucide-react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Dialog as SheetPrimitive } from 'radix-ui';\n\nfunction Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {\n return <SheetPrimitive.Root data-slot=\"sheet\" {...props} />;\n}\n\nfunction SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>) {\n return <SheetPrimitive.Trigger data-slot=\"sheet-trigger\" {...props} />;\n}\n\nfunction SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>) {\n return <SheetPrimitive.Close data-slot=\"sheet-close\" {...props} />;\n}\n\nfunction SheetPortal({ ...props }: React.ComponentProps<typeof SheetPrimitive.Portal>) {\n return <SheetPrimitive.Portal data-slot=\"sheet-portal\" {...props} />;\n}\n\nfunction SheetOverlay({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Overlay>) {\n return (\n <SheetPrimitive.Overlay\n data-slot=\"sheet-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=closed]:fade-out-0',\n 'data-[state=open]:fade-in-0',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction SheetContent({\n className,\n children,\n side = 'right',\n ...props\n}: React.ComponentProps<typeof SheetPrimitive.Content> & {\n side?: 'top' | 'right' | 'bottom' | 'left';\n}) {\n return (\n <SheetPortal>\n <SheetOverlay />\n <SheetPrimitive.Content\n data-slot=\"sheet-content\"\n className={cn(\n 'bg-background',\n 'fixed z-50 flex flex-col gap-4 border-border-weak shadow-dropdown transition ease-in-out',\n\n 'data-[state=open]:animate-in',\n 'data-[state=open]:duration-500',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:duration-300',\n\n side === 'right' && 'inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',\n side === 'right' && 'data-[state=closed]:slide-out-to-right',\n side === 'right' && 'data-[state=open]:slide-in-from-right',\n\n side === 'left' && 'inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',\n side === 'left' && 'data-[state=closed]:slide-out-to-left',\n side === 'left' && 'data-[state=open]:slide-in-from-left',\n\n side === 'top' && 'inset-x-0 top-0 h-auto border-b',\n side === 'top' && 'data-[state=closed]:slide-out-to-top',\n side === 'top' && 'data-[state=open]:slide-in-from-top',\n\n side === 'bottom' && 'inset-x-0 bottom-0 h-auto border-t',\n side === 'bottom' && 'data-[state=closed]:slide-out-to-bottom',\n side === 'bottom' && 'data-[state=open]:slide-in-from-bottom',\n className\n )}\n {...props}\n >\n {children}\n <SheetPrimitive.Close\n className={cn(\n 'cursor-pointer p-2 ring-offset-background',\n 'absolute top-2 right-2 rounded-full opacity-70 transition-opacity',\n 'data-[state=open]:bg-secondary',\n 'disabled:pointer-events-none',\n 'hover:opacity-100',\n 'hover:bg-border-muted',\n 'focus:ring-border-weak',\n 'focus:ring-4',\n 'focus:outline-hidden'\n )}\n >\n <XIcon className=\"size-5\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPortal>\n );\n}\n\nfunction SheetHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"sheet-header\" className={cn('flex flex-0 flex-col gap-1.5 p-4', className)} {...props} />;\n}\n\nfunction SheetFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"sheet-footer\" className={cn('mt-auto flex flex-0 flex-col gap-2 p-4', className)} {...props} />;\n}\n\nfunction SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>) {\n return <SheetPrimitive.Title data-slot=\"sheet-title\" className={cn('font-semibold text-text-positive-strong', className)} {...props} />;\n}\n\nfunction SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>) {\n return <SheetPrimitive.Description data-slot=\"sheet-description\" className={cn('text-sm text-text-positive-weak', className)} {...props} />;\n}\n\nexport { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };\n"],"mappings":"6KAQA,SAAS,EAAM,CAAE,GAAG,GAA2D,CAC7E,OAAO,EAACA,EAAe,KAAA,CAAK,YAAU,QAAQ,GAAI,GAAS,CAG7D,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAACA,EAAe,QAAA,CAAQ,YAAU,gBAAgB,GAAI,GAAS,CAGxE,SAAS,EAAW,CAAE,GAAG,GAA4D,CACnF,OAAO,EAACA,EAAe,MAAA,CAAM,YAAU,cAAc,GAAI,GAAS,CAGpE,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAACA,EAAe,OAAA,CAAO,YAAU,eAAe,GAAI,GAAS,CAGtE,SAAS,EAAa,CAAE,YAAW,GAAG,GAA8D,CAClG,OACE,EAACA,EAAe,QAAA,CACd,YAAU,gBACV,UAAW,EACT,iCACA,+BACA,kCACA,iCACA,8BACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAa,CACpB,YACA,WACA,OAAO,QACP,GAAG,GAGF,CACD,OACE,EAAC,EAAA,CAAA,SAAA,CACC,EAAC,EAAA,EAAA,CAAe,CAChB,EAACA,EAAe,QAAA,CACd,YAAU,gBACV,UAAW,EACT,gBACA,2FAEA,+BACA,iCACA,kCACA,mCAEA,IAAS,SAAW,sDACpB,IAAS,SAAW,yCACpB,IAAS,SAAW,wCAEpB,IAAS,QAAU,qDACnB,IAAS,QAAU,wCACnB,IAAS,QAAU,uCAEnB,IAAS,OAAS,kCAClB,IAAS,OAAS,uCAClB,IAAS,OAAS,sCAElB,IAAS,UAAY,qCACrB,IAAS,UAAY,0CACrB,IAAS,UAAY,yCACrB,EACD,CACD,GAAI,YAEH,EACD,EAACA,EAAe,MAAA,CACd,UAAW,EACT,4CACA,oEACA,iCACA,+BACA,oBACA,wBACA,yBACA,eACA,uBACD,WAED,EAAC,EAAA,CAAM,UAAU,SAAA,CAAW,CAC5B,EAAC,OAAA,CAAK,UAAU,mBAAU,SAAY,CAAA,EACjB,CAAA,EACA,CAAA,CAAA,CACb,CAIlB,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAC,MAAA,CAAI,YAAU,eAAe,UAAW,EAAG,mCAAoC,EAAU,CAAE,GAAI,GAAS,CAGlH,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAC,MAAA,CAAI,YAAU,eAAe,UAAW,EAAG,yCAA0C,EAAU,CAAE,GAAI,GAAS,CAGxH,SAAS,EAAW,CAAE,YAAW,GAAG,GAA4D,CAC9F,OAAO,EAACA,EAAe,MAAA,CAAM,YAAU,cAAc,UAAW,EAAG,0CAA2C,EAAU,CAAE,GAAI,GAAS,CAGzI,SAAS,EAAiB,CAAE,YAAW,GAAG,GAAkE,CAC1G,OAAO,EAACA,EAAe,YAAA,CAAY,YAAU,oBAAoB,UAAW,EAAG,kCAAmC,EAAU,CAAE,GAAI,GAAS"}
1
+ {"version":3,"file":"sheet-CUMpo5F_.mjs","names":["SheetPrimitive"],"sources":["../packages/components/ui/sheet.tsx"],"sourcesContent":["'use client';\n\nimport { XIcon } from 'lucide-react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Dialog as SheetPrimitive } from 'radix-ui';\n\nfunction Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>) {\n return <SheetPrimitive.Root data-slot=\"sheet\" {...props} />;\n}\n\nfunction SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>) {\n return <SheetPrimitive.Trigger data-slot=\"sheet-trigger\" {...props} />;\n}\n\nfunction SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>) {\n return <SheetPrimitive.Close data-slot=\"sheet-close\" {...props} />;\n}\n\nfunction SheetPortal({ ...props }: React.ComponentProps<typeof SheetPrimitive.Portal>) {\n return <SheetPrimitive.Portal data-slot=\"sheet-portal\" {...props} />;\n}\n\nfunction SheetOverlay({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Overlay>) {\n return (\n <SheetPrimitive.Overlay\n data-slot=\"sheet-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=closed]:fade-out-0',\n 'data-[state=open]:fade-in-0',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction SheetContent({\n className,\n children,\n side = 'right',\n ...props\n}: React.ComponentProps<typeof SheetPrimitive.Content> & {\n side?: 'top' | 'right' | 'bottom' | 'left';\n}) {\n return (\n <SheetPortal>\n <SheetOverlay />\n <SheetPrimitive.Content\n data-slot=\"sheet-content\"\n className={cn(\n 'bg-background',\n 'fixed z-50 flex flex-col gap-4 border-border-weak shadow-dropdown transition ease-in-out',\n\n 'data-[state=open]:animate-in',\n 'data-[state=open]:duration-500',\n 'data-[state=closed]:animate-out',\n 'data-[state=closed]:duration-300',\n\n side === 'right' && 'inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm',\n side === 'right' && 'data-[state=closed]:slide-out-to-right',\n side === 'right' && 'data-[state=open]:slide-in-from-right',\n\n side === 'left' && 'inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm',\n side === 'left' && 'data-[state=closed]:slide-out-to-left',\n side === 'left' && 'data-[state=open]:slide-in-from-left',\n\n side === 'top' && 'inset-x-0 top-0 h-auto border-b',\n side === 'top' && 'data-[state=closed]:slide-out-to-top',\n side === 'top' && 'data-[state=open]:slide-in-from-top',\n\n side === 'bottom' && 'inset-x-0 bottom-0 h-auto border-t',\n side === 'bottom' && 'data-[state=closed]:slide-out-to-bottom',\n side === 'bottom' && 'data-[state=open]:slide-in-from-bottom',\n className\n )}\n {...props}\n >\n {children}\n <SheetPrimitive.Close\n className={cn(\n 'cursor-pointer p-2 ring-offset-background',\n 'absolute top-2 right-2 rounded-full opacity-70 transition-opacity',\n 'data-[state=open]:bg-secondary',\n 'disabled:pointer-events-none',\n 'hover:opacity-100',\n 'hover:bg-border-muted',\n 'focus:ring-border-weak',\n 'focus:ring-4',\n 'focus:outline-hidden'\n )}\n >\n <XIcon className=\"size-5\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n </SheetPrimitive.Content>\n </SheetPortal>\n );\n}\n\nfunction SheetHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"sheet-header\" className={cn('flex flex-0 flex-col gap-1.5 p-4', className)} {...props} />;\n}\n\nfunction SheetFooter({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"sheet-footer\" className={cn('mt-auto flex flex-0 flex-col gap-2 p-4', className)} {...props} />;\n}\n\nfunction SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>) {\n return <SheetPrimitive.Title data-slot=\"sheet-title\" className={cn('font-semibold text-text-positive-strong', className)} {...props} />;\n}\n\nfunction SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>) {\n return <SheetPrimitive.Description data-slot=\"sheet-description\" className={cn('text-sm text-text-positive-weak', className)} {...props} />;\n}\n\nexport { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };\n"],"mappings":"6KAQA,SAAS,EAAM,CAAE,GAAG,GAA2D,CAC7E,OAAO,EAACA,EAAe,KAAA,CAAK,YAAU,QAAQ,GAAI,GAAS,CAG7D,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAACA,EAAe,QAAA,CAAQ,YAAU,gBAAgB,GAAI,GAAS,CAGxE,SAAS,EAAW,CAAE,GAAG,GAA4D,CACnF,OAAO,EAACA,EAAe,MAAA,CAAM,YAAU,cAAc,GAAI,GAAS,CAGpE,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAACA,EAAe,OAAA,CAAO,YAAU,eAAe,GAAI,GAAS,CAGtE,SAAS,EAAa,CAAE,YAAW,GAAG,GAA8D,CAClG,OACE,EAACA,EAAe,QAAA,CACd,YAAU,gBACV,UAAW,EACT,iCACA,+BACA,kCACA,iCACA,8BACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAa,CACpB,YACA,WACA,OAAO,QACP,GAAG,GAGF,CACD,OACE,EAAC,EAAA,CAAA,SAAA,CACC,EAAC,EAAA,EAAA,CAAe,CAChB,EAACA,EAAe,QAAA,CACd,YAAU,gBACV,UAAW,EACT,gBACA,2FAEA,+BACA,iCACA,kCACA,mCAEA,IAAS,SAAW,sDACpB,IAAS,SAAW,yCACpB,IAAS,SAAW,wCAEpB,IAAS,QAAU,qDACnB,IAAS,QAAU,wCACnB,IAAS,QAAU,uCAEnB,IAAS,OAAS,kCAClB,IAAS,OAAS,uCAClB,IAAS,OAAS,sCAElB,IAAS,UAAY,qCACrB,IAAS,UAAY,0CACrB,IAAS,UAAY,yCACrB,EACD,CACD,GAAI,YAEH,EACD,EAACA,EAAe,MAAA,CACd,UAAW,EACT,4CACA,oEACA,iCACA,+BACA,oBACA,wBACA,yBACA,eACA,uBACD,WAED,EAAC,EAAA,CAAM,UAAU,SAAA,CAAW,CAC5B,EAAC,OAAA,CAAK,UAAU,mBAAU,SAAY,CAAA,EACjB,CAAA,EACA,CAAA,CAAA,CACb,CAIlB,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAC,MAAA,CAAI,YAAU,eAAe,UAAW,EAAG,mCAAoC,EAAU,CAAE,GAAI,GAAS,CAGlH,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAC,MAAA,CAAI,YAAU,eAAe,UAAW,EAAG,yCAA0C,EAAU,CAAE,GAAI,GAAS,CAGxH,SAAS,EAAW,CAAE,YAAW,GAAG,GAA4D,CAC9F,OAAO,EAACA,EAAe,MAAA,CAAM,YAAU,cAAc,UAAW,EAAG,0CAA2C,EAAU,CAAE,GAAI,GAAS,CAGzI,SAAS,EAAiB,CAAE,YAAW,GAAG,GAAkE,CAC1G,OAAO,EAACA,EAAe,YAAA,CAAY,YAAU,oBAAoB,UAAW,EAAG,kCAAmC,EAAU,CAAE,GAAI,GAAS"}
@@ -1,2 +1,2 @@
1
1
  import{cn as e}from"@customafk/react-toolkit/utils";import{jsx as t}from"react/jsx-runtime";import{Tabs as n}from"radix-ui";function r({className:r,...i}){return t(n.Root,{"data-slot":`tabs`,className:e(`flex flex-col gap-2`,r),...i})}function i({className:r,...i}){return t(n.List,{"data-slot":`tabs-list`,className:e(`inline-flex h-9 w-fit items-center justify-center rounded-full bg-muted-muted p-1`,r),...i})}function a({className:r,...i}){return t(n.Trigger,{"data-slot":`tabs-trigger`,className:e(`text-text-positive-weak`,`inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center gap-1.5`,`rounded-full`,`whitespace-nowrap border border-transparent px-2 py-1 font-medium text-sm transition`,`hover:bg-muted-weak`,`data-[state=active]:shadow-card`,`data-[state=active]:bg-background`,`disabled:opacity-50`,`disabled:pointer-events-none`,`focus-visible:border-primary`,`focus-visible:ring-4`,`focus-visible:ring-primary-weak`,`focus-visible:outline-1`,`focus-visible:outline-primary`,`[&_svg]:pointer-events-none`,`[&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-4`,r),...i})}function o({className:r,...i}){return t(n.Content,{"data-slot":`tabs-content`,className:e(`flex-1 outline-none`,r),...i})}export{a as i,o as n,i as r,r as t};
2
- //# sourceMappingURL=tabs-XrUcxpL1.mjs.map
2
+ //# sourceMappingURL=tabs-Cjh2jtUZ.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-XrUcxpL1.mjs","names":["Tabs","TabsPrimitive"],"sources":["../packages/components/ui/tabs.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Tabs as TabsPrimitive } from 'radix-ui';\n\nfunction Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>) {\n return <TabsPrimitive.Root data-slot=\"tabs\" className={cn('flex flex-col gap-2', className)} {...props} />;\n}\n\nfunction TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>) {\n return (\n <TabsPrimitive.List\n data-slot=\"tabs-list\"\n className={cn('inline-flex h-9 w-fit items-center justify-center rounded-full bg-muted-muted p-1', className)}\n {...props}\n />\n );\n}\n\nfunction TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>) {\n return (\n <TabsPrimitive.Trigger\n data-slot=\"tabs-trigger\"\n className={cn(\n 'text-text-positive-weak',\n 'inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center gap-1.5',\n 'rounded-full',\n 'whitespace-nowrap border border-transparent px-2 py-1 font-medium text-sm transition',\n 'hover:bg-muted-weak',\n 'data-[state=active]:shadow-card',\n 'data-[state=active]:bg-background',\n 'disabled:opacity-50',\n 'disabled:pointer-events-none',\n 'focus-visible:border-primary',\n 'focus-visible:ring-4',\n 'focus-visible:ring-primary-weak',\n 'focus-visible:outline-1',\n 'focus-visible:outline-primary',\n '[&_svg]:pointer-events-none',\n '[&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>) {\n return <TabsPrimitive.Content data-slot=\"tabs-content\" className={cn('flex-1 outline-none', className)} {...props} />;\n}\n\nexport { Tabs, TabsContent, TabsList, TabsTrigger };\n"],"mappings":"4HAMA,SAASA,EAAK,CAAE,YAAW,GAAG,GAA0D,CACtF,OAAO,EAACC,EAAc,KAAA,CAAK,YAAU,OAAO,UAAW,EAAG,sBAAuB,EAAU,CAAE,GAAI,GAAS,CAG5G,SAAS,EAAS,CAAE,YAAW,GAAG,GAA0D,CAC1F,OACE,EAACA,EAAc,KAAA,CACb,YAAU,YACV,UAAW,EAAG,oFAAqF,EAAU,CAC7G,GAAI,GACJ,CAIN,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OACE,EAACA,EAAc,QAAA,CACb,YAAU,eACV,UAAW,EACT,0BACA,2FACA,eACA,uFACA,sBACA,kCACA,oCACA,sBACA,+BACA,+BACA,uBACA,kCACA,0BACA,gCACA,8BACA,mBACA,uCACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAACA,EAAc,QAAA,CAAQ,YAAU,eAAe,UAAW,EAAG,sBAAuB,EAAU,CAAE,GAAI,GAAS"}
1
+ {"version":3,"file":"tabs-Cjh2jtUZ.mjs","names":["Tabs","TabsPrimitive"],"sources":["../packages/components/ui/tabs.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Tabs as TabsPrimitive } from 'radix-ui';\n\nfunction Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>) {\n return <TabsPrimitive.Root data-slot=\"tabs\" className={cn('flex flex-col gap-2', className)} {...props} />;\n}\n\nfunction TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>) {\n return (\n <TabsPrimitive.List\n data-slot=\"tabs-list\"\n className={cn('inline-flex h-9 w-fit items-center justify-center rounded-full bg-muted-muted p-1', className)}\n {...props}\n />\n );\n}\n\nfunction TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>) {\n return (\n <TabsPrimitive.Trigger\n data-slot=\"tabs-trigger\"\n className={cn(\n 'text-text-positive-weak',\n 'inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center gap-1.5',\n 'rounded-full',\n 'whitespace-nowrap border border-transparent px-2 py-1 font-medium text-sm transition',\n 'hover:bg-muted-weak',\n 'data-[state=active]:shadow-card',\n 'data-[state=active]:bg-background',\n 'disabled:opacity-50',\n 'disabled:pointer-events-none',\n 'focus-visible:border-primary',\n 'focus-visible:ring-4',\n 'focus-visible:ring-primary-weak',\n 'focus-visible:outline-1',\n 'focus-visible:outline-primary',\n '[&_svg]:pointer-events-none',\n '[&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>) {\n return <TabsPrimitive.Content data-slot=\"tabs-content\" className={cn('flex-1 outline-none', className)} {...props} />;\n}\n\nexport { Tabs, TabsContent, TabsList, TabsTrigger };\n"],"mappings":"4HAMA,SAASA,EAAK,CAAE,YAAW,GAAG,GAA0D,CACtF,OAAO,EAACC,EAAc,KAAA,CAAK,YAAU,OAAO,UAAW,EAAG,sBAAuB,EAAU,CAAE,GAAI,GAAS,CAG5G,SAAS,EAAS,CAAE,YAAW,GAAG,GAA0D,CAC1F,OACE,EAACA,EAAc,KAAA,CACb,YAAU,YACV,UAAW,EAAG,oFAAqF,EAAU,CAC7G,GAAI,GACJ,CAIN,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OACE,EAACA,EAAc,QAAA,CACb,YAAU,eACV,UAAW,EACT,0BACA,2FACA,eACA,uFACA,sBACA,kCACA,oCACA,sBACA,+BACA,+BACA,uBACA,kCACA,0BACA,gCACA,8BACA,mBACA,uCACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAACA,EAAc,QAAA,CAAQ,YAAU,eAAe,UAAW,EAAG,sBAAuB,EAAU,CAAE,GAAI,GAAS"}
@@ -1,2 +1,2 @@
1
1
  const e=require(`./chunk-Bmb41Sf3.cjs`);let t=require(`@customafk/react-toolkit/utils`),n=require(`react/jsx-runtime`),r=require(`radix-ui`);function i({className:e,...i}){return(0,n.jsx)(r.Tabs.Root,{"data-slot":`tabs`,className:(0,t.cn)(`flex flex-col gap-2`,e),...i})}function a({className:e,...i}){return(0,n.jsx)(r.Tabs.List,{"data-slot":`tabs-list`,className:(0,t.cn)(`inline-flex h-9 w-fit items-center justify-center rounded-full bg-muted-muted p-1`,e),...i})}function o({className:e,...i}){return(0,n.jsx)(r.Tabs.Trigger,{"data-slot":`tabs-trigger`,className:(0,t.cn)(`text-text-positive-weak`,`inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center gap-1.5`,`rounded-full`,`whitespace-nowrap border border-transparent px-2 py-1 font-medium text-sm transition`,`hover:bg-muted-weak`,`data-[state=active]:shadow-card`,`data-[state=active]:bg-background`,`disabled:opacity-50`,`disabled:pointer-events-none`,`focus-visible:border-primary`,`focus-visible:ring-4`,`focus-visible:ring-primary-weak`,`focus-visible:outline-1`,`focus-visible:outline-primary`,`[&_svg]:pointer-events-none`,`[&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-4`,e),...i})}function s({className:e,...i}){return(0,n.jsx)(r.Tabs.Content,{"data-slot":`tabs-content`,className:(0,t.cn)(`flex-1 outline-none`,e),...i})}Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
2
- //# sourceMappingURL=tabs-DldSJjLy.cjs.map
2
+ //# sourceMappingURL=tabs-DSofRReg.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-DldSJjLy.cjs","names":["TabsPrimitive"],"sources":["../packages/components/ui/tabs.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Tabs as TabsPrimitive } from 'radix-ui';\n\nfunction Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>) {\n return <TabsPrimitive.Root data-slot=\"tabs\" className={cn('flex flex-col gap-2', className)} {...props} />;\n}\n\nfunction TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>) {\n return (\n <TabsPrimitive.List\n data-slot=\"tabs-list\"\n className={cn('inline-flex h-9 w-fit items-center justify-center rounded-full bg-muted-muted p-1', className)}\n {...props}\n />\n );\n}\n\nfunction TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>) {\n return (\n <TabsPrimitive.Trigger\n data-slot=\"tabs-trigger\"\n className={cn(\n 'text-text-positive-weak',\n 'inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center gap-1.5',\n 'rounded-full',\n 'whitespace-nowrap border border-transparent px-2 py-1 font-medium text-sm transition',\n 'hover:bg-muted-weak',\n 'data-[state=active]:shadow-card',\n 'data-[state=active]:bg-background',\n 'disabled:opacity-50',\n 'disabled:pointer-events-none',\n 'focus-visible:border-primary',\n 'focus-visible:ring-4',\n 'focus-visible:ring-primary-weak',\n 'focus-visible:outline-1',\n 'focus-visible:outline-primary',\n '[&_svg]:pointer-events-none',\n '[&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>) {\n return <TabsPrimitive.Content data-slot=\"tabs-content\" className={cn('flex-1 outline-none', className)} {...props} />;\n}\n\nexport { Tabs, TabsContent, TabsList, TabsTrigger };\n"],"mappings":"6IAMA,SAAS,EAAK,CAAE,YAAW,GAAG,GAA0D,CACtF,OAAO,EAAA,EAAA,KAACA,EAAAA,KAAc,KAAA,CAAK,YAAU,OAAO,WAAA,EAAA,EAAA,IAAc,sBAAuB,EAAU,CAAE,GAAI,GAAS,CAG5G,SAAS,EAAS,CAAE,YAAW,GAAG,GAA0D,CAC1F,OACE,EAAA,EAAA,KAACA,EAAAA,KAAc,KAAA,CACb,YAAU,YACV,WAAA,EAAA,EAAA,IAAc,oFAAqF,EAAU,CAC7G,GAAI,GACJ,CAIN,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OACE,EAAA,EAAA,KAACA,EAAAA,KAAc,QAAA,CACb,YAAU,eACV,WAAA,EAAA,EAAA,IACE,0BACA,2FACA,eACA,uFACA,sBACA,kCACA,oCACA,sBACA,+BACA,+BACA,uBACA,kCACA,0BACA,gCACA,8BACA,mBACA,uCACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAAA,EAAA,KAACA,EAAAA,KAAc,QAAA,CAAQ,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,sBAAuB,EAAU,CAAE,GAAI,GAAS"}
1
+ {"version":3,"file":"tabs-DSofRReg.cjs","names":["TabsPrimitive"],"sources":["../packages/components/ui/tabs.tsx"],"sourcesContent":["'use client';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { Tabs as TabsPrimitive } from 'radix-ui';\n\nfunction Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>) {\n return <TabsPrimitive.Root data-slot=\"tabs\" className={cn('flex flex-col gap-2', className)} {...props} />;\n}\n\nfunction TabsList({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>) {\n return (\n <TabsPrimitive.List\n data-slot=\"tabs-list\"\n className={cn('inline-flex h-9 w-fit items-center justify-center rounded-full bg-muted-muted p-1', className)}\n {...props}\n />\n );\n}\n\nfunction TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>) {\n return (\n <TabsPrimitive.Trigger\n data-slot=\"tabs-trigger\"\n className={cn(\n 'text-text-positive-weak',\n 'inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center gap-1.5',\n 'rounded-full',\n 'whitespace-nowrap border border-transparent px-2 py-1 font-medium text-sm transition',\n 'hover:bg-muted-weak',\n 'data-[state=active]:shadow-card',\n 'data-[state=active]:bg-background',\n 'disabled:opacity-50',\n 'disabled:pointer-events-none',\n 'focus-visible:border-primary',\n 'focus-visible:ring-4',\n 'focus-visible:ring-primary-weak',\n 'focus-visible:outline-1',\n 'focus-visible:outline-primary',\n '[&_svg]:pointer-events-none',\n '[&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n );\n}\n\nfunction TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>) {\n return <TabsPrimitive.Content data-slot=\"tabs-content\" className={cn('flex-1 outline-none', className)} {...props} />;\n}\n\nexport { Tabs, TabsContent, TabsList, TabsTrigger };\n"],"mappings":"6IAMA,SAAS,EAAK,CAAE,YAAW,GAAG,GAA0D,CACtF,OAAO,EAAA,EAAA,KAACA,EAAAA,KAAc,KAAA,CAAK,YAAU,OAAO,WAAA,EAAA,EAAA,IAAc,sBAAuB,EAAU,CAAE,GAAI,GAAS,CAG5G,SAAS,EAAS,CAAE,YAAW,GAAG,GAA0D,CAC1F,OACE,EAAA,EAAA,KAACA,EAAAA,KAAc,KAAA,CACb,YAAU,YACV,WAAA,EAAA,EAAA,IAAc,oFAAqF,EAAU,CAC7G,GAAI,GACJ,CAIN,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OACE,EAAA,EAAA,KAACA,EAAAA,KAAc,QAAA,CACb,YAAU,eACV,WAAA,EAAA,EAAA,IACE,0BACA,2FACA,eACA,uFACA,sBACA,kCACA,oCACA,sBACA,+BACA,+BACA,uBACA,kCACA,0BACA,gCACA,8BACA,mBACA,uCACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAAA,EAAA,KAACA,EAAAA,KAAc,QAAA,CAAQ,YAAU,eAAe,WAAA,EAAA,EAAA,IAAc,sBAAuB,EAAU,CAAE,GAAI,GAAS"}
@@ -1,23 +1,23 @@
1
- import * as react_jsx_runtime257 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime251 from "react/jsx-runtime";
2
2
  import { Tooltip } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/tooltip.d.ts
5
5
  declare function TooltipProvider({
6
6
  delayDuration,
7
7
  ...props
8
- }: React.ComponentProps<typeof Tooltip.Provider>): react_jsx_runtime257.JSX.Element;
8
+ }: React.ComponentProps<typeof Tooltip.Provider>): react_jsx_runtime251.JSX.Element;
9
9
  declare function Tooltip$1({
10
10
  ...props
11
- }: React.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime257.JSX.Element;
11
+ }: React.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime251.JSX.Element;
12
12
  declare function TooltipTrigger({
13
13
  ...props
14
- }: React.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime257.JSX.Element;
14
+ }: React.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime251.JSX.Element;
15
15
  declare function TooltipContent({
16
16
  className,
17
17
  sideOffset,
18
18
  children,
19
19
  ...props
20
- }: React.ComponentProps<typeof Tooltip.Content>): react_jsx_runtime257.JSX.Element;
20
+ }: React.ComponentProps<typeof Tooltip.Content>): react_jsx_runtime251.JSX.Element;
21
21
  //#endregion
22
22
  export { TooltipTrigger as i, TooltipContent as n, TooltipProvider as r, Tooltip$1 as t };
23
- //# sourceMappingURL=tooltip-B5gO2RGs.d.cts.map
23
+ //# sourceMappingURL=tooltip-CVLw9F2s.d.cts.map
@@ -1,23 +1,23 @@
1
- import * as react_jsx_runtime247 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime264 from "react/jsx-runtime";
2
2
  import { Tooltip } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/tooltip.d.ts
5
5
  declare function TooltipProvider({
6
6
  delayDuration,
7
7
  ...props
8
- }: React.ComponentProps<typeof Tooltip.Provider>): react_jsx_runtime247.JSX.Element;
8
+ }: React.ComponentProps<typeof Tooltip.Provider>): react_jsx_runtime264.JSX.Element;
9
9
  declare function Tooltip$1({
10
10
  ...props
11
- }: React.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime247.JSX.Element;
11
+ }: React.ComponentProps<typeof Tooltip.Root>): react_jsx_runtime264.JSX.Element;
12
12
  declare function TooltipTrigger({
13
13
  ...props
14
- }: React.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime247.JSX.Element;
14
+ }: React.ComponentProps<typeof Tooltip.Trigger>): react_jsx_runtime264.JSX.Element;
15
15
  declare function TooltipContent({
16
16
  className,
17
17
  sideOffset,
18
18
  children,
19
19
  ...props
20
- }: React.ComponentProps<typeof Tooltip.Content>): react_jsx_runtime247.JSX.Element;
20
+ }: React.ComponentProps<typeof Tooltip.Content>): react_jsx_runtime264.JSX.Element;
21
21
  //#endregion
22
22
  export { TooltipTrigger as i, TooltipContent as n, TooltipProvider as r, Tooltip$1 as t };
23
- //# sourceMappingURL=tooltip-WI0fJ7gP.d.mts.map
23
+ //# sourceMappingURL=tooltip-Cu2-ZHAv.d.mts.map
@@ -20,4 +20,4 @@ declare enum ECountry {
20
20
  }
21
21
  //#endregion
22
22
  export { ERole as n, ECountry as t };
23
- //# sourceMappingURL=types-DWnJKJ5r.d.mts.map
23
+ //# sourceMappingURL=types-D2kMOc_b.d.mts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime8 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime49 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/typography/paragraph.d.ts
4
4
  type Props = {
@@ -10,7 +10,7 @@ declare const Paragraph: ({
10
10
  variant,
11
11
  className,
12
12
  children
13
- }: Props) => react_jsx_runtime8.JSX.Element;
13
+ }: Props) => react_jsx_runtime49.JSX.Element;
14
14
  //#endregion
15
15
  export { Paragraph };
16
16
  //# sourceMappingURL=paragraph.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime31 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/typography/paragraph.d.ts
4
4
  type Props = {
@@ -10,7 +10,7 @@ declare const Paragraph: ({
10
10
  variant,
11
11
  className,
12
12
  children
13
- }: Props) => react_jsx_runtime31.JSX.Element;
13
+ }: Props) => react_jsx_runtime6.JSX.Element;
14
14
  //#endregion
15
15
  export { Paragraph };
16
16
  //# sourceMappingURL=paragraph.d.mts.map
@@ -1 +1,2 @@
1
- const e=require(`../title-BNv6aAfA.cjs`);exports.Title=e.t;
1
+ const e=require(`../chunk-Bmb41Sf3.cjs`);let t=require(`@customafk/react-toolkit/utils`),n=require(`react/jsx-runtime`),r=require(`class-variance-authority`);const i=(0,r.cva)(`scroll-m-20 text-text-positive-strong tracking-tight`,{variants:{level:{1:`text-center text-4xl font-extrabold text-balance`,2:`border-b pb-2 text-3xl font-semibold first:mt-0`,3:`text-2xl font-semibold`,4:`text-xl font-semibold`,5:`text-lg font-semibold`,6:`text-base font-semibold`},default:{level:1}}}),a=({level:e=1,className:r,children:a})=>(0,n.jsx)(`h${e}`,{className:(0,t.cn)(i({level:e}),r),children:a});exports.Title=a;
2
+ //# sourceMappingURL=title.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"title.cjs","names":[],"sources":["../../packages/components/typography/title.tsx"],"sourcesContent":["import type { JSX } from 'react';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { cva } from 'class-variance-authority';\n\nconst titleVariants = cva('scroll-m-20 text-text-positive-strong tracking-tight', {\n variants: {\n level: {\n 1: 'text-center text-4xl font-extrabold text-balance',\n 2: 'border-b pb-2 text-3xl font-semibold first:mt-0',\n 3: 'text-2xl font-semibold',\n 4: 'text-xl font-semibold',\n 5: 'text-lg font-semibold',\n 6: 'text-base font-semibold',\n },\n default: {\n level: 1,\n },\n },\n});\n\ntype Props = {\n level?: 1 | 2 | 3 | 4 | 5 | 6;\n className?: string;\n children?: React.ReactNode;\n};\n\nexport const Title = ({ level = 1, className, children }: Props) => {\n const Comp = `h${level}` as keyof JSX.IntrinsicElements;\n return <Comp className={cn(titleVariants({ level }), className)}>{children}</Comp>;\n};\n"],"mappings":"8JAKA,MAAM,GAAA,EAAA,EAAA,KAAoB,uDAAwD,CAChF,SAAU,CACR,MAAO,CACL,EAAG,mDACH,EAAG,kDACH,EAAG,yBACH,EAAG,wBACH,EAAG,wBACH,EAAG,0BACJ,CACD,QAAS,CACP,MAAO,EACR,CACF,CACF,CAAC,CAQW,GAAS,CAAE,QAAQ,EAAG,YAAW,eAErC,EAAA,EAAA,KADM,IAAI,IAAA,CACJ,WAAA,EAAA,EAAA,IAAc,EAAc,CAAE,QAAO,CAAC,CAAE,EAAU,CAAG,YAAgB"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime9 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime52 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/typography/title.d.ts
4
4
  type Props = {
@@ -10,7 +10,7 @@ declare const Title: ({
10
10
  level,
11
11
  className,
12
12
  children
13
- }: Props) => react_jsx_runtime9.JSX.Element;
13
+ }: Props) => react_jsx_runtime52.JSX.Element;
14
14
  //#endregion
15
15
  export { Title };
16
16
  //# sourceMappingURL=title.d.cts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime33 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime7 from "react/jsx-runtime";
2
2
 
3
3
  //#region packages/components/typography/title.d.ts
4
4
  type Props = {
@@ -10,7 +10,7 @@ declare const Title: ({
10
10
  level,
11
11
  className,
12
12
  children
13
- }: Props) => react_jsx_runtime33.JSX.Element;
13
+ }: Props) => react_jsx_runtime7.JSX.Element;
14
14
  //#endregion
15
15
  export { Title };
16
16
  //# sourceMappingURL=title.d.mts.map
@@ -1 +1,2 @@
1
- import{t as e}from"../title-BK1YcXjX.mjs";export{e as Title};
1
+ import{cn as e}from"@customafk/react-toolkit/utils";import{jsx as t}from"react/jsx-runtime";import{cva as n}from"class-variance-authority";const r=n(`scroll-m-20 text-text-positive-strong tracking-tight`,{variants:{level:{1:`text-center text-4xl font-extrabold text-balance`,2:`border-b pb-2 text-3xl font-semibold first:mt-0`,3:`text-2xl font-semibold`,4:`text-xl font-semibold`,5:`text-lg font-semibold`,6:`text-base font-semibold`},default:{level:1}}}),i=({level:n=1,className:i,children:a})=>t(`h${n}`,{className:e(r({level:n}),i),children:a});export{i as Title};
2
+ //# sourceMappingURL=title.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"title.mjs","names":[],"sources":["../../packages/components/typography/title.tsx"],"sourcesContent":["import type { JSX } from 'react';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { cva } from 'class-variance-authority';\n\nconst titleVariants = cva('scroll-m-20 text-text-positive-strong tracking-tight', {\n variants: {\n level: {\n 1: 'text-center text-4xl font-extrabold text-balance',\n 2: 'border-b pb-2 text-3xl font-semibold first:mt-0',\n 3: 'text-2xl font-semibold',\n 4: 'text-xl font-semibold',\n 5: 'text-lg font-semibold',\n 6: 'text-base font-semibold',\n },\n default: {\n level: 1,\n },\n },\n});\n\ntype Props = {\n level?: 1 | 2 | 3 | 4 | 5 | 6;\n className?: string;\n children?: React.ReactNode;\n};\n\nexport const Title = ({ level = 1, className, children }: Props) => {\n const Comp = `h${level}` as keyof JSX.IntrinsicElements;\n return <Comp className={cn(titleVariants({ level }), className)}>{children}</Comp>;\n};\n"],"mappings":"2IAKA,MAAM,EAAgB,EAAI,uDAAwD,CAChF,SAAU,CACR,MAAO,CACL,EAAG,mDACH,EAAG,kDACH,EAAG,yBACH,EAAG,wBACH,EAAG,wBACH,EAAG,0BACJ,CACD,QAAS,CACP,MAAO,EACR,CACF,CACF,CAAC,CAQW,GAAS,CAAE,QAAQ,EAAG,YAAW,cAErC,EADM,IAAI,IAAA,CACJ,UAAW,EAAG,EAAc,CAAE,QAAO,CAAC,CAAE,EAAU,CAAG,YAAgB"}
@@ -1,48 +1,48 @@
1
- import * as react_jsx_runtime72 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime26 from "react/jsx-runtime";
2
2
  import { AlertDialog as AlertDialog$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/alert-dialog.d.ts
5
5
  declare function AlertDialog({
6
6
  ...props
7
- }: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime72.JSX.Element;
7
+ }: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime26.JSX.Element;
8
8
  declare function AlertDialogTrigger({
9
9
  ...props
10
- }: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime72.JSX.Element;
10
+ }: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime26.JSX.Element;
11
11
  declare function AlertDialogPortal({
12
12
  ...props
13
- }: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime72.JSX.Element;
13
+ }: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime26.JSX.Element;
14
14
  declare function AlertDialogOverlay({
15
15
  className,
16
16
  ...props
17
- }: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime72.JSX.Element;
17
+ }: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime26.JSX.Element;
18
18
  declare function AlertDialogContent({
19
19
  className,
20
20
  ...props
21
- }: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime72.JSX.Element;
21
+ }: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime26.JSX.Element;
22
22
  declare function AlertDialogHeader({
23
23
  className,
24
24
  ...props
25
- }: React.ComponentProps<'div'>): react_jsx_runtime72.JSX.Element;
25
+ }: React.ComponentProps<'div'>): react_jsx_runtime26.JSX.Element;
26
26
  declare function AlertDialogFooter({
27
27
  className,
28
28
  ...props
29
- }: React.ComponentProps<'div'>): react_jsx_runtime72.JSX.Element;
29
+ }: React.ComponentProps<'div'>): react_jsx_runtime26.JSX.Element;
30
30
  declare function AlertDialogTitle({
31
31
  className,
32
32
  ...props
33
- }: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime72.JSX.Element;
33
+ }: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime26.JSX.Element;
34
34
  declare function AlertDialogDescription({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime72.JSX.Element;
37
+ }: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime26.JSX.Element;
38
38
  declare function AlertDialogAction({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime72.JSX.Element;
41
+ }: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime26.JSX.Element;
42
42
  declare function AlertDialogCancel({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime72.JSX.Element;
45
+ }: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime26.JSX.Element;
46
46
  //#endregion
47
47
  export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
48
48
  //# sourceMappingURL=alert-dialog.d.cts.map
@@ -1,48 +1,48 @@
1
- import * as react_jsx_runtime51 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime15 from "react/jsx-runtime";
2
2
  import { AlertDialog as AlertDialog$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/alert-dialog.d.ts
5
5
  declare function AlertDialog({
6
6
  ...props
7
- }: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime51.JSX.Element;
7
+ }: React.ComponentProps<typeof AlertDialog$1.Root>): react_jsx_runtime15.JSX.Element;
8
8
  declare function AlertDialogTrigger({
9
9
  ...props
10
- }: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime51.JSX.Element;
10
+ }: React.ComponentProps<typeof AlertDialog$1.Trigger>): react_jsx_runtime15.JSX.Element;
11
11
  declare function AlertDialogPortal({
12
12
  ...props
13
- }: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime51.JSX.Element;
13
+ }: React.ComponentProps<typeof AlertDialog$1.Portal>): react_jsx_runtime15.JSX.Element;
14
14
  declare function AlertDialogOverlay({
15
15
  className,
16
16
  ...props
17
- }: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime51.JSX.Element;
17
+ }: React.ComponentProps<typeof AlertDialog$1.Overlay>): react_jsx_runtime15.JSX.Element;
18
18
  declare function AlertDialogContent({
19
19
  className,
20
20
  ...props
21
- }: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime51.JSX.Element;
21
+ }: React.ComponentProps<typeof AlertDialog$1.Content>): react_jsx_runtime15.JSX.Element;
22
22
  declare function AlertDialogHeader({
23
23
  className,
24
24
  ...props
25
- }: React.ComponentProps<'div'>): react_jsx_runtime51.JSX.Element;
25
+ }: React.ComponentProps<'div'>): react_jsx_runtime15.JSX.Element;
26
26
  declare function AlertDialogFooter({
27
27
  className,
28
28
  ...props
29
- }: React.ComponentProps<'div'>): react_jsx_runtime51.JSX.Element;
29
+ }: React.ComponentProps<'div'>): react_jsx_runtime15.JSX.Element;
30
30
  declare function AlertDialogTitle({
31
31
  className,
32
32
  ...props
33
- }: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime51.JSX.Element;
33
+ }: React.ComponentProps<typeof AlertDialog$1.Title>): react_jsx_runtime15.JSX.Element;
34
34
  declare function AlertDialogDescription({
35
35
  className,
36
36
  ...props
37
- }: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime51.JSX.Element;
37
+ }: React.ComponentProps<typeof AlertDialog$1.Description>): react_jsx_runtime15.JSX.Element;
38
38
  declare function AlertDialogAction({
39
39
  className,
40
40
  ...props
41
- }: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime51.JSX.Element;
41
+ }: React.ComponentProps<typeof AlertDialog$1.Action>): react_jsx_runtime15.JSX.Element;
42
42
  declare function AlertDialogCancel({
43
43
  className,
44
44
  ...props
45
- }: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime51.JSX.Element;
45
+ }: React.ComponentProps<typeof AlertDialog$1.Cancel>): react_jsx_runtime15.JSX.Element;
46
46
  //#endregion
47
47
  export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
48
48
  //# sourceMappingURL=alert-dialog.d.mts.map
@@ -1,5 +1,5 @@
1
- import * as react_jsx_runtime35 from "react/jsx-runtime";
2
- import * as class_variance_authority_types11 from "class-variance-authority/types";
1
+ import * as react_jsx_runtime53 from "react/jsx-runtime";
2
+ import * as class_variance_authority_types10 from "class-variance-authority/types";
3
3
  import { VariantProps } from "class-variance-authority";
4
4
 
5
5
  //#region packages/components/ui/alert-variants.d.ts
@@ -7,8 +7,8 @@ import { VariantProps } from "class-variance-authority";
7
7
  * Alert component variants for styling using class-variance-authority
8
8
  */
9
9
  declare const alertVariants: (props?: ({
10
- variant?: "default" | "destructive" | "warning" | "success" | "info" | null | undefined;
11
- } & class_variance_authority_types11.ClassProp) | undefined) => string;
10
+ variant?: "default" | "success" | "info" | "warning" | "destructive" | null | undefined;
11
+ } & class_variance_authority_types10.ClassProp) | undefined) => string;
12
12
  type AlertVariantProps = VariantProps<typeof alertVariants>;
13
13
  //#endregion
14
14
  //#region packages/components/ui/alert.d.ts
@@ -37,7 +37,7 @@ declare function Alert({
37
37
  dismissible,
38
38
  onDismiss,
39
39
  ...props
40
- }: AlertProps): react_jsx_runtime35.JSX.Element;
40
+ }: AlertProps): react_jsx_runtime53.JSX.Element;
41
41
  interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
42
42
  /**
43
43
  * Title text or elements
@@ -50,7 +50,7 @@ interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
50
50
  declare function AlertTitle({
51
51
  className,
52
52
  ...props
53
- }: AlertTitleProps): react_jsx_runtime35.JSX.Element;
53
+ }: AlertTitleProps): react_jsx_runtime53.JSX.Element;
54
54
  interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
55
55
  /**
56
56
  * Description text or elements
@@ -63,7 +63,7 @@ interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
63
63
  declare function AlertDescription({
64
64
  className,
65
65
  ...props
66
- }: AlertDescriptionProps): react_jsx_runtime35.JSX.Element;
66
+ }: AlertDescriptionProps): react_jsx_runtime53.JSX.Element;
67
67
  //#endregion
68
68
  export { Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps };
69
69
  //# sourceMappingURL=alert.d.cts.map
@@ -1,14 +1,14 @@
1
- import * as react_jsx_runtime37 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime10 from "react/jsx-runtime";
2
2
  import { VariantProps } from "class-variance-authority";
3
- import * as class_variance_authority_types11 from "class-variance-authority/types";
3
+ import * as class_variance_authority_types13 from "class-variance-authority/types";
4
4
 
5
5
  //#region packages/components/ui/alert-variants.d.ts
6
6
  /**
7
7
  * Alert component variants for styling using class-variance-authority
8
8
  */
9
9
  declare const alertVariants: (props?: ({
10
- variant?: "default" | "destructive" | "warning" | "success" | "info" | null | undefined;
11
- } & class_variance_authority_types11.ClassProp) | undefined) => string;
10
+ variant?: "default" | "success" | "info" | "warning" | "destructive" | null | undefined;
11
+ } & class_variance_authority_types13.ClassProp) | undefined) => string;
12
12
  type AlertVariantProps = VariantProps<typeof alertVariants>;
13
13
  //#endregion
14
14
  //#region packages/components/ui/alert.d.ts
@@ -37,7 +37,7 @@ declare function Alert({
37
37
  dismissible,
38
38
  onDismiss,
39
39
  ...props
40
- }: AlertProps): react_jsx_runtime37.JSX.Element;
40
+ }: AlertProps): react_jsx_runtime10.JSX.Element;
41
41
  interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
42
42
  /**
43
43
  * Title text or elements
@@ -50,7 +50,7 @@ interface AlertTitleProps extends React.HTMLAttributes<HTMLDivElement> {
50
50
  declare function AlertTitle({
51
51
  className,
52
52
  ...props
53
- }: AlertTitleProps): react_jsx_runtime37.JSX.Element;
53
+ }: AlertTitleProps): react_jsx_runtime10.JSX.Element;
54
54
  interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
55
55
  /**
56
56
  * Description text or elements
@@ -63,7 +63,7 @@ interface AlertDescriptionProps extends React.HTMLAttributes<HTMLDivElement> {
63
63
  declare function AlertDescription({
64
64
  className,
65
65
  ...props
66
- }: AlertDescriptionProps): react_jsx_runtime37.JSX.Element;
66
+ }: AlertDescriptionProps): react_jsx_runtime10.JSX.Element;
67
67
  //#endregion
68
68
  export { Alert, AlertDescription, AlertDescriptionProps, AlertProps, AlertTitle, AlertTitleProps };
69
69
  //# sourceMappingURL=alert.d.mts.map
@@ -1,11 +1,11 @@
1
- import * as react_jsx_runtime34 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime38 from "react/jsx-runtime";
2
2
  import { AspectRatio as AspectRatio$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/aspect-ratio.d.ts
5
5
  declare function AspectRatio({
6
6
  className,
7
7
  ...props
8
- }: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime34.JSX.Element;
8
+ }: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime38.JSX.Element;
9
9
  //#endregion
10
10
  export { AspectRatio };
11
11
  //# sourceMappingURL=aspect-ratio.d.cts.map
@@ -1,11 +1,11 @@
1
- import * as react_jsx_runtime102 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime14 from "react/jsx-runtime";
2
2
  import { AspectRatio as AspectRatio$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/aspect-ratio.d.ts
5
5
  declare function AspectRatio({
6
6
  className,
7
7
  ...props
8
- }: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime102.JSX.Element;
8
+ }: React.ComponentProps<typeof AspectRatio$1.Root>): react_jsx_runtime14.JSX.Element;
9
9
  //#endregion
10
10
  export { AspectRatio };
11
11
  //# sourceMappingURL=aspect-ratio.d.mts.map