@customafk/lunas-ui 0.2.4 → 0.2.6

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 (753) hide show
  1. package/README.md +39 -9
  2. package/ai-docs.md +419 -0
  3. package/dist/alert-5MxGtf3j.d.mts +88 -0
  4. package/dist/alert-DIC1_ymv.cjs +2 -0
  5. package/dist/alert-DIC1_ymv.cjs.map +1 -0
  6. package/dist/alert-DwdUOFaC.d.cts +88 -0
  7. package/dist/alert-VP3giy31.mjs +2 -0
  8. package/dist/alert-VP3giy31.mjs.map +1 -0
  9. package/dist/avatar-CTS9-raY.cjs +2 -0
  10. package/dist/avatar-CTS9-raY.cjs.map +1 -0
  11. package/dist/avatar-DbxqvCjT.mjs +2 -0
  12. package/dist/avatar-DbxqvCjT.mjs.map +1 -0
  13. package/dist/badge-B8bw2UEY.mjs +2 -0
  14. package/dist/badge-B8bw2UEY.mjs.map +1 -0
  15. package/dist/badge-BFTGDsBm.d.cts +42 -0
  16. package/dist/badge-sL8O2yfv.d.mts +42 -0
  17. package/dist/badge-uQ0pIZbQ.cjs +2 -0
  18. package/dist/badge-uQ0pIZbQ.cjs.map +1 -0
  19. package/dist/button-BlQb81It.d.mts +174 -0
  20. package/dist/button-C6ybzxxj.mjs +2 -0
  21. package/dist/button-C6ybzxxj.mjs.map +1 -0
  22. package/dist/button-CEOQ3-82.d.cts +174 -0
  23. package/dist/button-CwDT3m4m.cjs +2 -0
  24. package/dist/button-CwDT3m4m.cjs.map +1 -0
  25. package/dist/button.variants-DeCyas1F.mjs +2 -0
  26. package/dist/button.variants-DeCyas1F.mjs.map +1 -0
  27. package/dist/button.variants-tnhb123u.cjs +2 -0
  28. package/dist/button.variants-tnhb123u.cjs.map +1 -0
  29. package/dist/{calendar-CG-WMM8e.cjs → calendar-CyAPpT2m.cjs} +2 -2
  30. package/dist/calendar-CyAPpT2m.cjs.map +1 -0
  31. package/dist/calendar-JKxWM6AF.mjs +2 -0
  32. package/dist/calendar-JKxWM6AF.mjs.map +1 -0
  33. package/dist/cards/grid-product-card.cjs +1 -1
  34. package/dist/cards/grid-product-card.cjs.map +1 -1
  35. package/dist/cards/grid-product-card.d.cts +23 -0
  36. package/dist/cards/grid-product-card.d.mts +23 -0
  37. package/dist/cards/grid-product-card.mjs +1 -1
  38. package/dist/cards/grid-product-card.mjs.map +1 -1
  39. package/dist/cards/product-card.cjs +1 -1
  40. package/dist/cards/product-card.cjs.map +1 -1
  41. package/dist/cards/product-card.d.cts +23 -0
  42. package/dist/cards/product-card.d.mts +23 -0
  43. package/dist/cards/product-card.mjs +1 -1
  44. package/dist/cards/product-card.mjs.map +1 -1
  45. package/dist/cards/simple-card.cjs +1 -1
  46. package/dist/cards/simple-card.cjs.map +1 -1
  47. package/dist/cards/simple-card.d.cts +16 -0
  48. package/dist/cards/simple-card.d.mts +16 -0
  49. package/dist/cards/simple-card.mjs +1 -1
  50. package/dist/cards/simple-card.mjs.map +1 -1
  51. package/dist/{checkbox-Bg2FiuQw.mjs → checkbox-DJEdYOjA.mjs} +2 -2
  52. package/dist/checkbox-DJEdYOjA.mjs.map +1 -0
  53. package/dist/{checkbox-C0fSWwmD.cjs → checkbox-RZrRNYP2.cjs} +2 -2
  54. package/dist/checkbox-RZrRNYP2.cjs.map +1 -0
  55. package/dist/close-BU0kWRVo.mjs +2 -0
  56. package/dist/{close-DfuHB7kq.mjs.map → close-BU0kWRVo.mjs.map} +1 -1
  57. package/dist/close-DXk_H3Gt.cjs +2 -0
  58. package/dist/{close-D_Ge7gnP.cjs.map → close-DXk_H3Gt.cjs.map} +1 -1
  59. package/dist/cms-layout-Dc4moos1.cjs +2 -0
  60. package/dist/cms-layout-Dc4moos1.cjs.map +1 -0
  61. package/dist/cms-layout-HfnOQS16.mjs +2 -0
  62. package/dist/cms-layout-HfnOQS16.mjs.map +1 -0
  63. package/dist/{command-_zpTaaIk.cjs → command-SHd-d_o0.cjs} +2 -2
  64. package/dist/command-SHd-d_o0.cjs.map +1 -0
  65. package/dist/{command-DhBTNTqz.mjs → command-bpcnKEbR.mjs} +2 -2
  66. package/dist/command-bpcnKEbR.mjs.map +1 -0
  67. package/dist/data-display/country.cjs +1 -1
  68. package/dist/data-display/country.cjs.map +1 -1
  69. package/dist/data-display/country.d.cts +15 -3
  70. package/dist/data-display/country.d.mts +15 -3
  71. package/dist/data-display/country.mjs +1 -1
  72. package/dist/data-display/country.mjs.map +1 -1
  73. package/dist/data-display/data-list.cjs +1 -1
  74. package/dist/data-display/data-list.cjs.map +1 -1
  75. package/dist/data-display/data-list.d.cts +31 -2
  76. package/dist/data-display/data-list.d.mts +31 -2
  77. package/dist/data-display/data-list.mjs +1 -1
  78. package/dist/data-display/data-list.mjs.map +1 -1
  79. package/dist/data-display/date-tooltip.cjs +1 -1
  80. package/dist/data-display/date-tooltip.cjs.map +1 -1
  81. package/dist/data-display/date-tooltip.d.cts +13 -2
  82. package/dist/data-display/date-tooltip.d.mts +13 -2
  83. package/dist/data-display/date-tooltip.mjs +1 -1
  84. package/dist/data-display/date-tooltip.mjs.map +1 -1
  85. package/dist/data-display/date.cjs +1 -1
  86. package/dist/data-display/date.d.cts +28 -2
  87. package/dist/data-display/date.d.mts +28 -2
  88. package/dist/data-display/date.mjs +1 -1
  89. package/dist/data-display/empty.cjs +1 -1
  90. package/dist/data-display/empty.cjs.map +1 -1
  91. package/dist/data-display/empty.d.cts +17 -3
  92. package/dist/data-display/empty.d.mts +17 -3
  93. package/dist/data-display/empty.mjs +1 -1
  94. package/dist/data-display/empty.mjs.map +1 -1
  95. package/dist/data-display/name.cjs +1 -1
  96. package/dist/data-display/name.cjs.map +1 -1
  97. package/dist/data-display/name.d.cts +12 -1
  98. package/dist/data-display/name.d.mts +12 -1
  99. package/dist/data-display/name.mjs +1 -1
  100. package/dist/data-display/name.mjs.map +1 -1
  101. package/dist/data-display/phone-number.cjs +1 -1
  102. package/dist/data-display/phone-number.cjs.map +1 -1
  103. package/dist/data-display/phone-number.d.cts +14 -2
  104. package/dist/data-display/phone-number.d.mts +14 -2
  105. package/dist/data-display/phone-number.mjs +1 -1
  106. package/dist/data-display/phone-number.mjs.map +1 -1
  107. package/dist/data-display/role-badge.cjs +1 -1
  108. package/dist/data-display/role-badge.cjs.map +1 -1
  109. package/dist/data-display/role-badge.d.cts +15 -3
  110. package/dist/data-display/role-badge.d.mts +15 -3
  111. package/dist/data-display/role-badge.mjs +1 -1
  112. package/dist/data-display/role-badge.mjs.map +1 -1
  113. package/dist/data-display/statistic.cjs +1 -1
  114. package/dist/data-display/statistic.cjs.map +1 -1
  115. package/dist/data-display/statistic.d.cts +35 -6
  116. package/dist/data-display/statistic.d.mts +35 -6
  117. package/dist/data-display/statistic.mjs +1 -1
  118. package/dist/data-display/statistic.mjs.map +1 -1
  119. package/dist/data-display/user.cjs +1 -2
  120. package/dist/data-display/user.d.cts +14 -1
  121. package/dist/data-display/user.d.mts +14 -1
  122. package/dist/data-display/user.mjs +1 -2
  123. package/dist/date-CVz9xdCg.mjs +2 -0
  124. package/dist/date-CVz9xdCg.mjs.map +1 -0
  125. package/dist/date-a3RI5Pwo.cjs +2 -0
  126. package/dist/date-a3RI5Pwo.cjs.map +1 -0
  127. package/dist/dialog-Bah7jLoO.d.cts +90 -0
  128. package/dist/dialog-BchwY6-N.mjs +2 -0
  129. package/dist/dialog-BchwY6-N.mjs.map +1 -0
  130. package/dist/dialog-DSg5IKmb.d.mts +90 -0
  131. package/dist/dialog-o_68LQXd.cjs +2 -0
  132. package/dist/dialog-o_68LQXd.cjs.map +1 -0
  133. package/dist/dialogs/confirm-dialog.cjs +1 -1
  134. package/dist/dialogs/confirm-dialog.cjs.map +1 -1
  135. package/dist/dialogs/confirm-dialog.d.cts +129 -3
  136. package/dist/dialogs/confirm-dialog.d.mts +129 -3
  137. package/dist/dialogs/confirm-dialog.mjs +1 -1
  138. package/dist/dialogs/confirm-dialog.mjs.map +1 -1
  139. package/dist/dialogs/detail-dialog/components/sidebar.cjs +1 -2
  140. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +71 -24
  141. package/dist/dialogs/detail-dialog/components/sidebar.d.mts +71 -24
  142. package/dist/dialogs/detail-dialog/components/sidebar.mjs +1 -2
  143. package/dist/dialogs/detail-dialog/index.cjs +1 -1
  144. package/dist/dialogs/detail-dialog/index.cjs.map +1 -1
  145. package/dist/dialogs/detail-dialog/index.d.cts +37 -8
  146. package/dist/dialogs/detail-dialog/index.d.mts +37 -8
  147. package/dist/dialogs/detail-dialog/index.mjs +1 -1
  148. package/dist/dialogs/detail-dialog/index.mjs.map +1 -1
  149. package/dist/dialogs/error-dialog.cjs +1 -1
  150. package/dist/dialogs/error-dialog.cjs.map +1 -1
  151. package/dist/dialogs/error-dialog.d.cts +18 -4
  152. package/dist/dialogs/error-dialog.d.mts +18 -4
  153. package/dist/dialogs/error-dialog.mjs +1 -1
  154. package/dist/dialogs/error-dialog.mjs.map +1 -1
  155. package/dist/dialogs/loading-dialog.cjs +1 -1
  156. package/dist/dialogs/loading-dialog.cjs.map +1 -1
  157. package/dist/dialogs/loading-dialog.d.cts +15 -3
  158. package/dist/dialogs/loading-dialog.d.mts +15 -3
  159. package/dist/dialogs/loading-dialog.mjs +1 -1
  160. package/dist/dialogs/loading-dialog.mjs.map +1 -1
  161. package/dist/{dist-CvmzZ_6C.mjs → dist-CIN9T2FB.mjs} +1 -1
  162. package/dist/{dist-CvmzZ_6C.mjs.map → dist-CIN9T2FB.mjs.map} +1 -1
  163. package/dist/{dist-BudM04oj.cjs → dist-Dh8WwRa8.cjs} +1 -1
  164. package/dist/{dist-BudM04oj.cjs.map → dist-Dh8WwRa8.cjs.map} +1 -1
  165. package/dist/dropdown-menu-Ct9BLGfa.cjs +2 -0
  166. package/dist/dropdown-menu-Ct9BLGfa.cjs.map +1 -0
  167. package/dist/dropdown-menu-DWSfXhHo.mjs +2 -0
  168. package/dist/dropdown-menu-DWSfXhHo.mjs.map +1 -0
  169. package/dist/features/descriptions/index.cjs +1 -1
  170. package/dist/features/descriptions/index.cjs.map +1 -1
  171. package/dist/features/descriptions/index.d.cts +158 -19
  172. package/dist/features/descriptions/index.d.mts +158 -19
  173. package/dist/features/descriptions/index.mjs +1 -1
  174. package/dist/features/descriptions/index.mjs.map +1 -1
  175. package/dist/features/search-modal/index.cjs +1 -2
  176. package/dist/features/search-modal/index.d.cts +12 -2
  177. package/dist/features/search-modal/index.d.mts +12 -2
  178. package/dist/features/search-modal/index.mjs +1 -2
  179. package/dist/features/tables/index.cjs +1 -2
  180. package/dist/features/tables/index.d.cts +746 -24
  181. package/dist/features/tables/index.d.mts +742 -20
  182. package/dist/features/tables/index.mjs +1 -2
  183. package/dist/features/tanstack-form/index.cjs +1 -2
  184. package/dist/features/tanstack-form/index.d.cts +2 -1786
  185. package/dist/features/tanstack-form/index.d.mts +2 -1786
  186. package/dist/features/tanstack-form/index.mjs +1 -2
  187. package/dist/field-CXVnw75a.mjs +2 -0
  188. package/dist/field-CXVnw75a.mjs.map +1 -0
  189. package/dist/field-CppNvoxV.cjs +2 -0
  190. package/dist/field-CppNvoxV.cjs.map +1 -0
  191. package/dist/{flex-BP8sTi70.mjs → flex-BLMTj7Ev.mjs} +2 -2
  192. package/dist/flex-BLMTj7Ev.mjs.map +1 -0
  193. package/dist/{flex-twCgWyx1.cjs → flex-BbbogTsZ.cjs} +2 -2
  194. package/dist/flex-BbbogTsZ.cjs.map +1 -0
  195. package/dist/heading-AKz5ewy-.cjs +2 -0
  196. package/dist/heading-AKz5ewy-.cjs.map +1 -0
  197. package/dist/heading-DN67djxs.mjs +2 -0
  198. package/dist/heading-DN67djxs.mjs.map +1 -0
  199. package/dist/{image-DuFv8sPr.cjs → image-B1Dm5LWk.cjs} +2 -2
  200. package/dist/image-B1Dm5LWk.cjs.map +1 -0
  201. package/dist/{image-CS_Q0WA7.mjs → image-BlzrSaoE.mjs} +2 -2
  202. package/dist/image-BlzrSaoE.mjs.map +1 -0
  203. package/dist/index-D4shnfqM.d.cts +2030 -0
  204. package/dist/index-Dktb6D35.d.mts +2030 -0
  205. package/dist/index.cjs +1 -0
  206. package/dist/index.d.cts +90 -0
  207. package/dist/index.d.mts +90 -0
  208. package/dist/index.mjs +1 -0
  209. package/dist/{input-DBtIgQB6.mjs → input-Cd0G5y-9.mjs} +2 -2
  210. package/dist/input-Cd0G5y-9.mjs.map +1 -0
  211. package/dist/{input-BFWWaN-v.cjs → input-Cl5VkKQh.cjs} +2 -2
  212. package/dist/input-Cl5VkKQh.cjs.map +1 -0
  213. package/dist/input-DAGzv97v.d.mts +44 -0
  214. package/dist/input-DPLvx5x8.d.cts +44 -0
  215. package/dist/{label-BzfsTrVt.cjs → label-DkMTQ3Ch.cjs} +2 -2
  216. package/dist/label-DkMTQ3Ch.cjs.map +1 -0
  217. package/dist/label-OmlGaZ5h.mjs +2 -0
  218. package/dist/label-OmlGaZ5h.mjs.map +1 -0
  219. package/dist/layouts/cms-layout/index.cjs +1 -2
  220. package/dist/layouts/cms-layout/index.d.cts +66 -13
  221. package/dist/layouts/cms-layout/index.d.mts +66 -13
  222. package/dist/layouts/cms-layout/index.mjs +1 -2
  223. package/dist/layouts/flex.cjs +1 -1
  224. package/dist/layouts/flex.d.cts +90 -6
  225. package/dist/layouts/flex.d.mts +93 -9
  226. package/dist/layouts/flex.mjs +1 -1
  227. package/dist/layouts/grid.cjs +1 -1
  228. package/dist/layouts/grid.cjs.map +1 -1
  229. package/dist/layouts/grid.d.cts +14 -0
  230. package/dist/layouts/grid.d.mts +14 -0
  231. package/dist/layouts/grid.mjs +1 -1
  232. package/dist/layouts/grid.mjs.map +1 -1
  233. package/dist/layouts/payment-layout/index.cjs +1 -2
  234. package/dist/layouts/payment-layout/index.d.cts +35 -0
  235. package/dist/layouts/payment-layout/index.d.mts +35 -0
  236. package/dist/layouts/payment-layout/index.mjs +1 -2
  237. package/dist/pages/FeatureDeveloping.cjs +1 -1
  238. package/dist/pages/FeatureDeveloping.cjs.map +1 -1
  239. package/dist/pages/FeatureDeveloping.d.cts +21 -3
  240. package/dist/pages/FeatureDeveloping.d.mts +21 -3
  241. package/dist/pages/FeatureDeveloping.mjs +1 -1
  242. package/dist/pages/FeatureDeveloping.mjs.map +1 -1
  243. package/dist/pages/FeatureFixing.cjs +1 -1
  244. package/dist/pages/FeatureFixing.cjs.map +1 -1
  245. package/dist/pages/FeatureFixing.d.cts +21 -3
  246. package/dist/pages/FeatureFixing.d.mts +21 -3
  247. package/dist/pages/FeatureFixing.mjs +1 -1
  248. package/dist/pages/FeatureFixing.mjs.map +1 -1
  249. package/dist/pages/NotAuthorized.cjs +1 -1
  250. package/dist/pages/NotAuthorized.cjs.map +1 -1
  251. package/dist/pages/NotAuthorized.d.cts +21 -3
  252. package/dist/pages/NotAuthorized.d.mts +21 -3
  253. package/dist/pages/NotAuthorized.mjs +1 -1
  254. package/dist/pages/NotAuthorized.mjs.map +1 -1
  255. package/dist/pages/NotFound.cjs +1 -1
  256. package/dist/pages/NotFound.cjs.map +1 -1
  257. package/dist/pages/NotFound.d.cts +21 -3
  258. package/dist/pages/NotFound.d.mts +21 -3
  259. package/dist/pages/NotFound.mjs +1 -1
  260. package/dist/pages/NotFound.mjs.map +1 -1
  261. package/dist/paragraph-Ch5TvEqL.mjs +2 -0
  262. package/dist/paragraph-Ch5TvEqL.mjs.map +1 -0
  263. package/dist/paragraph-DN85Huc4.cjs +2 -0
  264. package/dist/paragraph-DN85Huc4.cjs.map +1 -0
  265. package/dist/payment-layout-Da29dHJe.cjs +2 -0
  266. package/dist/payment-layout-Da29dHJe.cjs.map +1 -0
  267. package/dist/payment-layout-wN5c7MCM.mjs +2 -0
  268. package/dist/payment-layout-wN5c7MCM.mjs.map +1 -0
  269. package/dist/{popover-DzDrgttC.cjs → popover-AEt-aSy3.cjs} +2 -2
  270. package/dist/popover-AEt-aSy3.cjs.map +1 -0
  271. package/dist/popover-OJXFbqJi.mjs +2 -0
  272. package/dist/popover-OJXFbqJi.mjs.map +1 -0
  273. package/dist/{radio-group-CBhRsUjN.cjs → radio-group-BWLdQw7M.cjs} +2 -2
  274. package/dist/radio-group-BWLdQw7M.cjs.map +1 -0
  275. package/dist/{radio-group-Cem8O6BK.mjs → radio-group-CAgfOr7-.mjs} +2 -2
  276. package/dist/radio-group-CAgfOr7-.mjs.map +1 -0
  277. package/dist/{resizable-mlGS6Zto.cjs → resizable-D6UKwvFa.cjs} +2 -2
  278. package/dist/resizable-D6UKwvFa.cjs.map +1 -0
  279. package/dist/{resizable-DXHfkbaz.mjs → resizable-DWh_mp5P.mjs} +2 -2
  280. package/dist/resizable-DWh_mp5P.mjs.map +1 -0
  281. package/dist/search-modal-BxjKY8I7.mjs +2 -0
  282. package/dist/search-modal-BxjKY8I7.mjs.map +1 -0
  283. package/dist/search-modal-C-jNqQI1.cjs +2 -0
  284. package/dist/search-modal-C-jNqQI1.cjs.map +1 -0
  285. package/dist/{select-2CgwiefV.cjs → select-Py_t2nX1.cjs} +2 -2
  286. package/dist/select-Py_t2nX1.cjs.map +1 -0
  287. package/dist/{select-CivtMKTM.mjs → select-Ze8Fq88G.mjs} +2 -2
  288. package/dist/select-Ze8Fq88G.mjs.map +1 -0
  289. package/dist/separator-BMsbHAVt.mjs +2 -0
  290. package/dist/separator-BMsbHAVt.mjs.map +1 -0
  291. package/dist/{separator-C3ip6sbh.cjs → separator-BwZb12bh.cjs} +2 -2
  292. package/dist/separator-BwZb12bh.cjs.map +1 -0
  293. package/dist/{sheet-5MJRtrfG.cjs → sheet-CaDXTx7n.cjs} +2 -2
  294. package/dist/sheet-CaDXTx7n.cjs.map +1 -0
  295. package/dist/{sheet-oadGRiie.mjs → sheet-DMIqn1iv.mjs} +2 -2
  296. package/dist/sheet-DMIqn1iv.mjs.map +1 -0
  297. package/dist/sidebar-C27_pwLR.cjs +2 -0
  298. package/dist/sidebar-C27_pwLR.cjs.map +1 -0
  299. package/dist/sidebar-meLttL0V.mjs +2 -0
  300. package/dist/sidebar-meLttL0V.mjs.map +1 -0
  301. package/dist/skeleton-BPxcW2yu.mjs +2 -0
  302. package/dist/skeleton-BPxcW2yu.mjs.map +1 -0
  303. package/dist/skeleton-BfMCjXYM.cjs +2 -0
  304. package/dist/skeleton-BfMCjXYM.cjs.map +1 -0
  305. package/dist/spinner-EgMJOaQi.mjs +2 -0
  306. package/dist/spinner-EgMJOaQi.mjs.map +1 -0
  307. package/dist/spinner-MKXqwF9G.cjs +2 -0
  308. package/dist/spinner-MKXqwF9G.cjs.map +1 -0
  309. package/dist/systems/google.cjs.map +1 -1
  310. package/dist/systems/google.d.cts +36 -0
  311. package/dist/systems/google.d.mts +36 -0
  312. package/dist/systems/google.mjs.map +1 -1
  313. package/dist/tables-CmOVrvXM.cjs +2 -0
  314. package/dist/tables-CmOVrvXM.cjs.map +1 -0
  315. package/dist/tables-cBo0_szt.mjs +2 -0
  316. package/dist/tables-cBo0_szt.mjs.map +1 -0
  317. package/dist/tanstack-form-BmV2BXDz.cjs +2 -0
  318. package/dist/tanstack-form-BmV2BXDz.cjs.map +1 -0
  319. package/dist/tanstack-form-CJ43hVb_.mjs +2 -0
  320. package/dist/tanstack-form-CJ43hVb_.mjs.map +1 -0
  321. package/dist/{textarea-COQoSVSc.cjs → textarea-BsgmN4jy.cjs} +2 -2
  322. package/dist/textarea-BsgmN4jy.cjs.map +1 -0
  323. package/dist/{textarea-bLtmb71c.mjs → textarea-CdGSEkZB.mjs} +2 -2
  324. package/dist/textarea-CdGSEkZB.mjs.map +1 -0
  325. package/dist/tooltip-Bj0iOG4s.mjs +2 -0
  326. package/dist/tooltip-Bj0iOG4s.mjs.map +1 -0
  327. package/dist/{tooltip-DC6i1A25.cjs → tooltip-itUmYz9k.cjs} +2 -2
  328. package/dist/tooltip-itUmYz9k.cjs.map +1 -0
  329. package/dist/{types-Bd0JePtp.d.cts → types-B_32Ieia.d.mts} +1 -1
  330. package/dist/{types-BpHcqlOI.d.mts → types-CDYHkcOk.d.cts} +1 -1
  331. package/dist/{types-DBD4LOem.mjs → types-DNphnTW-.mjs} +1 -1
  332. package/dist/{types-DBD4LOem.mjs.map → types-DNphnTW-.mjs.map} +1 -1
  333. package/dist/typography/paragraph.cjs +1 -1
  334. package/dist/typography/paragraph.d.cts +40 -20
  335. package/dist/typography/paragraph.d.mts +40 -20
  336. package/dist/typography/paragraph.mjs +1 -1
  337. package/dist/typography/title.cjs +1 -1
  338. package/dist/typography/title.cjs.map +1 -1
  339. package/dist/typography/title.d.cts +33 -5
  340. package/dist/typography/title.d.mts +33 -5
  341. package/dist/typography/title.mjs +1 -1
  342. package/dist/typography/title.mjs.map +1 -1
  343. package/dist/ui/alert-dialog.cjs +1 -1
  344. package/dist/ui/alert-dialog.cjs.map +1 -1
  345. package/dist/ui/alert-dialog.d.cts +54 -12
  346. package/dist/ui/alert-dialog.d.mts +54 -12
  347. package/dist/ui/alert-dialog.mjs +1 -1
  348. package/dist/ui/alert-dialog.mjs.map +1 -1
  349. package/dist/ui/alert.cjs +1 -2
  350. package/dist/ui/alert.d.cts +2 -69
  351. package/dist/ui/alert.d.mts +2 -69
  352. package/dist/ui/alert.mjs +1 -2
  353. package/dist/ui/aspect-ratio.cjs +1 -1
  354. package/dist/ui/aspect-ratio.cjs.map +1 -1
  355. package/dist/ui/aspect-ratio.d.cts +15 -2
  356. package/dist/ui/aspect-ratio.d.mts +15 -2
  357. package/dist/ui/aspect-ratio.mjs +1 -1
  358. package/dist/ui/aspect-ratio.mjs.map +1 -1
  359. package/dist/ui/avatar.cjs +1 -1
  360. package/dist/ui/avatar.d.cts +20 -4
  361. package/dist/ui/avatar.d.mts +20 -4
  362. package/dist/ui/avatar.mjs +1 -1
  363. package/dist/ui/badge.cjs +1 -1
  364. package/dist/ui/badge.d.cts +2 -21
  365. package/dist/ui/badge.d.mts +2 -21
  366. package/dist/ui/badge.mjs +1 -1
  367. package/dist/ui/breadcrumb.cjs +1 -1
  368. package/dist/ui/breadcrumb.cjs.map +1 -1
  369. package/dist/ui/breadcrumb.d.cts +38 -25
  370. package/dist/ui/breadcrumb.d.mts +38 -25
  371. package/dist/ui/breadcrumb.mjs +1 -1
  372. package/dist/ui/breadcrumb.mjs.map +1 -1
  373. package/dist/ui/button-group.cjs +1 -1
  374. package/dist/ui/button-group.cjs.map +1 -1
  375. package/dist/ui/button-group.d.cts +27 -6
  376. package/dist/ui/button-group.d.mts +27 -6
  377. package/dist/ui/button-group.mjs +1 -1
  378. package/dist/ui/button-group.mjs.map +1 -1
  379. package/dist/ui/button.cjs +1 -1
  380. package/dist/ui/button.d.cts +1 -1
  381. package/dist/ui/button.d.mts +1 -1
  382. package/dist/ui/button.mjs +1 -1
  383. package/dist/ui/buttons/add-new.cjs +1 -1
  384. package/dist/ui/buttons/add-new.cjs.map +1 -1
  385. package/dist/ui/buttons/add-new.d.cts +9 -0
  386. package/dist/ui/buttons/add-new.d.mts +9 -0
  387. package/dist/ui/buttons/add-new.mjs +1 -1
  388. package/dist/ui/buttons/add-new.mjs.map +1 -1
  389. package/dist/ui/buttons/edit.cjs +1 -1
  390. package/dist/ui/buttons/edit.cjs.map +1 -1
  391. package/dist/ui/buttons/edit.d.cts +9 -0
  392. package/dist/ui/buttons/edit.d.mts +9 -0
  393. package/dist/ui/buttons/edit.mjs +1 -1
  394. package/dist/ui/buttons/edit.mjs.map +1 -1
  395. package/dist/ui/buttons/refresh.cjs +1 -1
  396. package/dist/ui/buttons/refresh.cjs.map +1 -1
  397. package/dist/ui/buttons/refresh.d.cts +9 -0
  398. package/dist/ui/buttons/refresh.d.mts +9 -0
  399. package/dist/ui/buttons/refresh.mjs +1 -1
  400. package/dist/ui/buttons/refresh.mjs.map +1 -1
  401. package/dist/ui/buttons/trash.cjs +1 -1
  402. package/dist/ui/buttons/trash.cjs.map +1 -1
  403. package/dist/ui/buttons/trash.d.cts +9 -0
  404. package/dist/ui/buttons/trash.d.mts +9 -0
  405. package/dist/ui/buttons/trash.mjs +1 -1
  406. package/dist/ui/buttons/trash.mjs.map +1 -1
  407. package/dist/ui/buttons/upload-image.cjs +1 -1
  408. package/dist/ui/buttons/upload-image.cjs.map +1 -1
  409. package/dist/ui/buttons/upload-image.d.cts +13 -0
  410. package/dist/ui/buttons/upload-image.d.mts +13 -0
  411. package/dist/ui/buttons/upload-image.mjs +1 -1
  412. package/dist/ui/buttons/upload-image.mjs.map +1 -1
  413. package/dist/ui/calendar.cjs +1 -1
  414. package/dist/ui/calendar.d.cts +22 -4
  415. package/dist/ui/calendar.d.mts +22 -4
  416. package/dist/ui/calendar.mjs +1 -1
  417. package/dist/ui/card.cjs +1 -1
  418. package/dist/ui/card.cjs.map +1 -1
  419. package/dist/ui/card.d.cts +37 -8
  420. package/dist/ui/card.d.mts +37 -8
  421. package/dist/ui/card.mjs +1 -1
  422. package/dist/ui/card.mjs.map +1 -1
  423. package/dist/ui/carousel.cjs +1 -1
  424. package/dist/ui/carousel.cjs.map +1 -1
  425. package/dist/ui/carousel.d.cts +31 -7
  426. package/dist/ui/carousel.d.mts +31 -7
  427. package/dist/ui/carousel.mjs +1 -1
  428. package/dist/ui/carousel.mjs.map +1 -1
  429. package/dist/ui/checkbox.cjs +1 -1
  430. package/dist/ui/checkbox.d.cts +17 -2
  431. package/dist/ui/checkbox.d.mts +17 -2
  432. package/dist/ui/checkbox.mjs +1 -1
  433. package/dist/ui/collapsible.cjs.map +1 -1
  434. package/dist/ui/collapsible.d.cts +22 -4
  435. package/dist/ui/collapsible.d.mts +22 -4
  436. package/dist/ui/collapsible.mjs.map +1 -1
  437. package/dist/ui/command.cjs +1 -1
  438. package/dist/ui/command.d.cts +48 -11
  439. package/dist/ui/command.d.mts +48 -11
  440. package/dist/ui/command.mjs +1 -1
  441. package/dist/ui/context-menu.cjs +1 -1
  442. package/dist/ui/context-menu.cjs.map +1 -1
  443. package/dist/ui/context-menu.d.cts +65 -16
  444. package/dist/ui/context-menu.d.mts +65 -16
  445. package/dist/ui/context-menu.mjs +1 -1
  446. package/dist/ui/context-menu.mjs.map +1 -1
  447. package/dist/ui/dialog.cjs +1 -1
  448. package/dist/ui/dialog.d.cts +1 -1
  449. package/dist/ui/dialog.d.mts +1 -1
  450. package/dist/ui/dialog.mjs +1 -1
  451. package/dist/ui/drawer.cjs +1 -1
  452. package/dist/ui/drawer.cjs.map +1 -1
  453. package/dist/ui/drawer.d.cts +39 -11
  454. package/dist/ui/drawer.d.mts +39 -11
  455. package/dist/ui/drawer.mjs +1 -1
  456. package/dist/ui/drawer.mjs.map +1 -1
  457. package/dist/ui/dropdown-menu.cjs +1 -1
  458. package/dist/ui/dropdown-menu.d.cts +65 -16
  459. package/dist/ui/dropdown-menu.d.mts +65 -16
  460. package/dist/ui/dropdown-menu.mjs +1 -1
  461. package/dist/ui/empty.cjs +1 -1
  462. package/dist/ui/empty.cjs.map +1 -1
  463. package/dist/ui/empty.d.cts +41 -9
  464. package/dist/ui/empty.d.mts +41 -9
  465. package/dist/ui/empty.mjs +1 -1
  466. package/dist/ui/empty.mjs.map +1 -1
  467. package/dist/ui/field.cjs +1 -2
  468. package/dist/ui/field.d.cts +13 -13
  469. package/dist/ui/field.d.mts +24 -24
  470. package/dist/ui/field.mjs +1 -2
  471. package/dist/ui/file-uploader.cjs +2 -2
  472. package/dist/ui/file-uploader.cjs.map +1 -1
  473. package/dist/ui/file-uploader.d.cts +27 -2
  474. package/dist/ui/file-uploader.d.mts +27 -2
  475. package/dist/ui/file-uploader.mjs +2 -2
  476. package/dist/ui/file-uploader.mjs.map +1 -1
  477. package/dist/ui/form.cjs +1 -1
  478. package/dist/ui/form.cjs.map +1 -1
  479. package/dist/ui/form.d.cts +51 -7
  480. package/dist/ui/form.d.mts +55 -11
  481. package/dist/ui/form.mjs +1 -1
  482. package/dist/ui/form.mjs.map +1 -1
  483. package/dist/ui/hover-card.cjs +1 -1
  484. package/dist/ui/hover-card.cjs.map +1 -1
  485. package/dist/ui/hover-card.d.cts +22 -4
  486. package/dist/ui/hover-card.d.mts +22 -4
  487. package/dist/ui/hover-card.mjs +1 -1
  488. package/dist/ui/hover-card.mjs.map +1 -1
  489. package/dist/ui/image.cjs +1 -1
  490. package/dist/ui/image.d.cts +20 -0
  491. package/dist/ui/image.d.mts +20 -0
  492. package/dist/ui/image.mjs +1 -1
  493. package/dist/ui/input-otp.cjs +1 -1
  494. package/dist/ui/input-otp.cjs.map +1 -1
  495. package/dist/ui/input-otp.d.cts +36 -5
  496. package/dist/ui/input-otp.d.mts +36 -5
  497. package/dist/ui/input-otp.mjs +1 -1
  498. package/dist/ui/input-otp.mjs.map +1 -1
  499. package/dist/ui/input.cjs +1 -1
  500. package/dist/ui/input.d.cts +1 -1
  501. package/dist/ui/input.d.mts +1 -1
  502. package/dist/ui/input.mjs +1 -1
  503. package/dist/ui/inputs/search-input.cjs +1 -1
  504. package/dist/ui/inputs/search-input.cjs.map +1 -1
  505. package/dist/ui/inputs/search-input.d.cts +20 -3
  506. package/dist/ui/inputs/search-input.d.mts +20 -3
  507. package/dist/ui/inputs/search-input.mjs +1 -1
  508. package/dist/ui/inputs/search-input.mjs.map +1 -1
  509. package/dist/ui/item.cjs +1 -1
  510. package/dist/ui/item.cjs.map +1 -1
  511. package/dist/ui/item.d.cts +56 -16
  512. package/dist/ui/item.d.mts +56 -16
  513. package/dist/ui/item.mjs +1 -1
  514. package/dist/ui/item.mjs.map +1 -1
  515. package/dist/ui/label.cjs +1 -1
  516. package/dist/ui/label.d.cts +15 -2
  517. package/dist/ui/label.d.mts +15 -2
  518. package/dist/ui/label.mjs +1 -1
  519. package/dist/ui/menubar.cjs +1 -1
  520. package/dist/ui/menubar.cjs.map +1 -1
  521. package/dist/ui/menubar.d.cts +68 -17
  522. package/dist/ui/menubar.d.mts +68 -17
  523. package/dist/ui/menubar.mjs +1 -1
  524. package/dist/ui/menubar.mjs.map +1 -1
  525. package/dist/ui/multi-select.cjs +1 -1
  526. package/dist/ui/multi-select.cjs.map +1 -1
  527. package/dist/ui/multi-select.d.cts +39 -2
  528. package/dist/ui/multi-select.d.mts +40 -3
  529. package/dist/ui/multi-select.mjs +1 -1
  530. package/dist/ui/multi-select.mjs.map +1 -1
  531. package/dist/ui/navigation-menu.cjs +1 -1
  532. package/dist/ui/navigation-menu.cjs.map +1 -1
  533. package/dist/ui/navigation-menu.d.cts +42 -11
  534. package/dist/ui/navigation-menu.d.mts +42 -11
  535. package/dist/ui/navigation-menu.mjs +1 -1
  536. package/dist/ui/navigation-menu.mjs.map +1 -1
  537. package/dist/ui/pagination.cjs +1 -1
  538. package/dist/ui/pagination.cjs.map +1 -1
  539. package/dist/ui/pagination.d.cts +37 -9
  540. package/dist/ui/pagination.d.mts +37 -9
  541. package/dist/ui/pagination.mjs +1 -1
  542. package/dist/ui/pagination.mjs.map +1 -1
  543. package/dist/ui/popover.cjs +1 -1
  544. package/dist/ui/popover.d.cts +32 -6
  545. package/dist/ui/popover.d.mts +32 -6
  546. package/dist/ui/popover.mjs +1 -1
  547. package/dist/ui/progress.cjs +1 -1
  548. package/dist/ui/progress.cjs.map +1 -1
  549. package/dist/ui/progress.d.cts +13 -2
  550. package/dist/ui/progress.d.mts +13 -2
  551. package/dist/ui/progress.mjs +1 -1
  552. package/dist/ui/progress.mjs.map +1 -1
  553. package/dist/ui/radio-group.cjs +1 -1
  554. package/dist/ui/radio-group.d.cts +25 -3
  555. package/dist/ui/radio-group.d.mts +25 -3
  556. package/dist/ui/radio-group.mjs +1 -1
  557. package/dist/ui/resizable.cjs +1 -1
  558. package/dist/ui/resizable.d.cts +29 -9
  559. package/dist/ui/resizable.d.mts +29 -9
  560. package/dist/ui/resizable.mjs +1 -1
  561. package/dist/ui/scroll-area.cjs +1 -1
  562. package/dist/ui/scroll-area.cjs.map +1 -1
  563. package/dist/ui/scroll-area.d.cts +24 -6
  564. package/dist/ui/scroll-area.d.mts +24 -6
  565. package/dist/ui/scroll-area.mjs +1 -1
  566. package/dist/ui/scroll-area.mjs.map +1 -1
  567. package/dist/ui/select.cjs +1 -1
  568. package/dist/ui/select.d.cts +43 -9
  569. package/dist/ui/select.d.mts +43 -9
  570. package/dist/ui/select.mjs +1 -1
  571. package/dist/ui/separator.cjs +1 -1
  572. package/dist/ui/separator.d.cts +23 -2
  573. package/dist/ui/separator.d.mts +23 -2
  574. package/dist/ui/separator.mjs +1 -1
  575. package/dist/ui/sheet.cjs +1 -1
  576. package/dist/ui/sheet.d.cts +38 -9
  577. package/dist/ui/sheet.d.mts +38 -9
  578. package/dist/ui/sheet.mjs +1 -1
  579. package/dist/ui/sidebar.cjs +1 -1
  580. package/dist/ui/sidebar.cjs.map +1 -1
  581. package/dist/ui/sidebar.d.cts +125 -28
  582. package/dist/ui/sidebar.d.mts +123 -26
  583. package/dist/ui/sidebar.mjs +1 -1
  584. package/dist/ui/sidebar.mjs.map +1 -1
  585. package/dist/ui/skeleton.cjs +1 -1
  586. package/dist/ui/skeleton.d.cts +19 -2
  587. package/dist/ui/skeleton.d.mts +19 -2
  588. package/dist/ui/skeleton.mjs +1 -1
  589. package/dist/ui/slider.cjs +1 -1
  590. package/dist/ui/slider.cjs.map +1 -1
  591. package/dist/ui/slider.d.cts +13 -2
  592. package/dist/ui/slider.d.mts +13 -2
  593. package/dist/ui/slider.mjs +1 -1
  594. package/dist/ui/slider.mjs.map +1 -1
  595. package/dist/ui/sonner.cjs +1 -1
  596. package/dist/ui/sonner.cjs.map +1 -1
  597. package/dist/ui/sonner.d.cts +18 -2
  598. package/dist/ui/sonner.d.mts +18 -2
  599. package/dist/ui/sonner.mjs +1 -1
  600. package/dist/ui/sonner.mjs.map +1 -1
  601. package/dist/ui/spinner.cjs +1 -1
  602. package/dist/ui/spinner.d.cts +17 -2
  603. package/dist/ui/spinner.d.mts +17 -2
  604. package/dist/ui/spinner.mjs +1 -1
  605. package/dist/ui/switch.cjs +1 -1
  606. package/dist/ui/switch.cjs.map +1 -1
  607. package/dist/ui/switch.d.cts +17 -2
  608. package/dist/ui/switch.d.mts +17 -2
  609. package/dist/ui/switch.mjs +1 -1
  610. package/dist/ui/switch.mjs.map +1 -1
  611. package/dist/ui/table.cjs +1 -1
  612. package/dist/ui/table.cjs.map +1 -1
  613. package/dist/ui/table.d.cts +44 -9
  614. package/dist/ui/table.d.mts +53 -18
  615. package/dist/ui/table.mjs +1 -1
  616. package/dist/ui/table.mjs.map +1 -1
  617. package/dist/ui/tabs.cjs +1 -1
  618. package/dist/ui/tabs.cjs.map +1 -1
  619. package/dist/ui/tabs.d.cts +26 -5
  620. package/dist/ui/tabs.d.mts +26 -5
  621. package/dist/ui/tabs.mjs +1 -1
  622. package/dist/ui/tabs.mjs.map +1 -1
  623. package/dist/ui/textarea.cjs +1 -1
  624. package/dist/ui/textarea.d.cts +18 -2
  625. package/dist/ui/textarea.d.mts +18 -2
  626. package/dist/ui/textarea.mjs +1 -1
  627. package/dist/ui/toggle-group.cjs +1 -1
  628. package/dist/ui/toggle-group.cjs.map +1 -1
  629. package/dist/ui/toggle-group.d.cts +19 -3
  630. package/dist/ui/toggle-group.d.mts +19 -3
  631. package/dist/ui/toggle-group.mjs +1 -1
  632. package/dist/ui/toggle-group.mjs.map +1 -1
  633. package/dist/ui/toggle.cjs +1 -1
  634. package/dist/ui/toggle.cjs.map +1 -1
  635. package/dist/ui/toggle.d.cts +15 -2
  636. package/dist/ui/toggle.d.mts +17 -4
  637. package/dist/ui/toggle.mjs +1 -1
  638. package/dist/ui/toggle.mjs.map +1 -1
  639. package/dist/ui/tooltip.cjs +1 -1
  640. package/dist/ui/tooltip.d.cts +37 -5
  641. package/dist/ui/tooltip.d.mts +37 -5
  642. package/dist/ui/tooltip.mjs +1 -1
  643. package/dist/user-BEyYLDNK.cjs +2 -0
  644. package/dist/user-BEyYLDNK.cjs.map +1 -0
  645. package/dist/user-DONsffqr.mjs +2 -0
  646. package/dist/user-DONsffqr.mjs.map +1 -0
  647. package/package.json +14 -5
  648. package/styles/theme.css +44 -23
  649. package/dist/avatar-DReNH6rV.mjs +0 -2
  650. package/dist/avatar-DReNH6rV.mjs.map +0 -1
  651. package/dist/avatar-aVxo69zP.cjs +0 -2
  652. package/dist/avatar-aVxo69zP.cjs.map +0 -1
  653. package/dist/badge-B4Fa7-J3.mjs +0 -2
  654. package/dist/badge-B4Fa7-J3.mjs.map +0 -1
  655. package/dist/badge-cvLJyaCA.cjs +0 -2
  656. package/dist/badge-cvLJyaCA.cjs.map +0 -1
  657. package/dist/button-BFcXpjqF.cjs +0 -2
  658. package/dist/button-BFcXpjqF.cjs.map +0 -1
  659. package/dist/button-BQTNG97Y.mjs +0 -2
  660. package/dist/button-BQTNG97Y.mjs.map +0 -1
  661. package/dist/button-BX8Kz9y6.d.cts +0 -59
  662. package/dist/button-Bo4oQsyD.d.mts +0 -59
  663. package/dist/button.variants-CS-Cmarr.cjs +0 -2
  664. package/dist/button.variants-CS-Cmarr.cjs.map +0 -1
  665. package/dist/button.variants-DRWf66hR.mjs +0 -2
  666. package/dist/button.variants-DRWf66hR.mjs.map +0 -1
  667. package/dist/calendar-CG-WMM8e.cjs.map +0 -1
  668. package/dist/calendar-CfOkrubO.mjs +0 -2
  669. package/dist/calendar-CfOkrubO.mjs.map +0 -1
  670. package/dist/checkbox-Bg2FiuQw.mjs.map +0 -1
  671. package/dist/checkbox-C0fSWwmD.cjs.map +0 -1
  672. package/dist/close-D_Ge7gnP.cjs +0 -2
  673. package/dist/close-DfuHB7kq.mjs +0 -2
  674. package/dist/command-DhBTNTqz.mjs.map +0 -1
  675. package/dist/command-_zpTaaIk.cjs.map +0 -1
  676. package/dist/data-display/user.cjs.map +0 -1
  677. package/dist/data-display/user.mjs.map +0 -1
  678. package/dist/date-By93kONr.mjs +0 -2
  679. package/dist/date-By93kONr.mjs.map +0 -1
  680. package/dist/date-em5f7hCx.cjs +0 -2
  681. package/dist/date-em5f7hCx.cjs.map +0 -1
  682. package/dist/dialog-CxELDK98.mjs +0 -2
  683. package/dist/dialog-CxELDK98.mjs.map +0 -1
  684. package/dist/dialog-DjRiV5vR.cjs +0 -2
  685. package/dist/dialog-DjRiV5vR.cjs.map +0 -1
  686. package/dist/dialog-PWeGBpsm.d.mts +0 -47
  687. package/dist/dialog-aSu9xFOW.d.cts +0 -47
  688. package/dist/dialogs/detail-dialog/components/sidebar.cjs.map +0 -1
  689. package/dist/dialogs/detail-dialog/components/sidebar.mjs.map +0 -1
  690. package/dist/dropdown-menu-B8GUTfTp.mjs +0 -2
  691. package/dist/dropdown-menu-B8GUTfTp.mjs.map +0 -1
  692. package/dist/dropdown-menu-BuyuU6uF.cjs +0 -2
  693. package/dist/dropdown-menu-BuyuU6uF.cjs.map +0 -1
  694. package/dist/features/search-modal/index.cjs.map +0 -1
  695. package/dist/features/search-modal/index.mjs.map +0 -1
  696. package/dist/features/tables/index.cjs.map +0 -1
  697. package/dist/features/tables/index.mjs.map +0 -1
  698. package/dist/features/tanstack-form/index.cjs.map +0 -1
  699. package/dist/features/tanstack-form/index.mjs.map +0 -1
  700. package/dist/flex-BP8sTi70.mjs.map +0 -1
  701. package/dist/flex-twCgWyx1.cjs.map +0 -1
  702. package/dist/heading--VmdIi7C.mjs +0 -2
  703. package/dist/heading--VmdIi7C.mjs.map +0 -1
  704. package/dist/heading-BEm5CCSE.cjs +0 -2
  705. package/dist/heading-BEm5CCSE.cjs.map +0 -1
  706. package/dist/image-CS_Q0WA7.mjs.map +0 -1
  707. package/dist/image-DuFv8sPr.cjs.map +0 -1
  708. package/dist/input-BFWWaN-v.cjs.map +0 -1
  709. package/dist/input-BgHvD7zf.d.mts +0 -25
  710. package/dist/input-DBtIgQB6.mjs.map +0 -1
  711. package/dist/input-DhQmoNrK.d.cts +0 -25
  712. package/dist/label-BzfsTrVt.cjs.map +0 -1
  713. package/dist/label-Dqr8nxWi.mjs +0 -2
  714. package/dist/label-Dqr8nxWi.mjs.map +0 -1
  715. package/dist/layouts/cms-layout/index.cjs.map +0 -1
  716. package/dist/layouts/cms-layout/index.mjs.map +0 -1
  717. package/dist/layouts/payment-layout/index.cjs.map +0 -1
  718. package/dist/layouts/payment-layout/index.mjs.map +0 -1
  719. package/dist/paragraph-B72bHMf7.cjs +0 -2
  720. package/dist/paragraph-B72bHMf7.cjs.map +0 -1
  721. package/dist/paragraph-moBSTPmT.mjs +0 -2
  722. package/dist/paragraph-moBSTPmT.mjs.map +0 -1
  723. package/dist/popover-BckwBuuD.mjs +0 -2
  724. package/dist/popover-BckwBuuD.mjs.map +0 -1
  725. package/dist/popover-DzDrgttC.cjs.map +0 -1
  726. package/dist/radio-group-CBhRsUjN.cjs.map +0 -1
  727. package/dist/radio-group-Cem8O6BK.mjs.map +0 -1
  728. package/dist/resizable-DXHfkbaz.mjs.map +0 -1
  729. package/dist/resizable-mlGS6Zto.cjs.map +0 -1
  730. package/dist/select-2CgwiefV.cjs.map +0 -1
  731. package/dist/select-CivtMKTM.mjs.map +0 -1
  732. package/dist/separator-Bf0gymN4.mjs +0 -2
  733. package/dist/separator-Bf0gymN4.mjs.map +0 -1
  734. package/dist/separator-C3ip6sbh.cjs.map +0 -1
  735. package/dist/sheet-5MJRtrfG.cjs.map +0 -1
  736. package/dist/sheet-oadGRiie.mjs.map +0 -1
  737. package/dist/skeleton-Ba6koCVf.mjs +0 -2
  738. package/dist/skeleton-Ba6koCVf.mjs.map +0 -1
  739. package/dist/skeleton-CHympz8k.cjs +0 -2
  740. package/dist/skeleton-CHympz8k.cjs.map +0 -1
  741. package/dist/spinner-Chm_2fLr.cjs +0 -2
  742. package/dist/spinner-Chm_2fLr.cjs.map +0 -1
  743. package/dist/spinner-D1v3Bard.mjs +0 -2
  744. package/dist/spinner-D1v3Bard.mjs.map +0 -1
  745. package/dist/textarea-COQoSVSc.cjs.map +0 -1
  746. package/dist/textarea-bLtmb71c.mjs.map +0 -1
  747. package/dist/tooltip-B3dTcgcc.mjs +0 -2
  748. package/dist/tooltip-B3dTcgcc.mjs.map +0 -1
  749. package/dist/tooltip-DC6i1A25.cjs.map +0 -1
  750. package/dist/ui/alert.cjs.map +0 -1
  751. package/dist/ui/alert.mjs.map +0 -1
  752. package/dist/ui/field.cjs.map +0 -1
  753. package/dist/ui/field.mjs.map +0 -1
@@ -1,25 +1,57 @@
1
- import * as react_jsx_runtime202 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime249 from "react/jsx-runtime";
2
2
  import { ContextMenu as ContextMenu$1 } from "radix-ui";
3
3
 
4
4
  //#region packages/components/ui/context-menu.d.ts
5
+
6
+ /**
7
+ * Root provider for the ContextMenu — revealed on right-click (or long-press) of the trigger area.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * import {
12
+ * ContextMenu, ContextMenuTrigger, ContextMenuContent,
13
+ * ContextMenuItem, ContextMenuLabel, ContextMenuSeparator,
14
+ * } from '@customafk/lunas-ui/ui/context-menu';
15
+ *
16
+ * <ContextMenu>
17
+ * <ContextMenuTrigger>Right-click me</ContextMenuTrigger>
18
+ * <ContextMenuContent>
19
+ * <ContextMenuLabel>Actions</ContextMenuLabel>
20
+ * <ContextMenuSeparator />
21
+ * <ContextMenuItem>Copy</ContextMenuItem>
22
+ * <ContextMenuItem variant="destructive">Delete</ContextMenuItem>
23
+ * </ContextMenuContent>
24
+ * </ContextMenu>
25
+ * ```
26
+ */
5
27
  declare function ContextMenu({
6
28
  ...props
7
- }: React.ComponentProps<typeof ContextMenu$1.Root>): react_jsx_runtime202.JSX.Element;
29
+ }: React.ComponentProps<typeof ContextMenu$1.Root>): react_jsx_runtime249.JSX.Element;
30
+ /** The area that listens for right-click to open the ContextMenu. */
8
31
  declare function ContextMenuTrigger({
9
32
  ...props
10
- }: React.ComponentProps<typeof ContextMenu$1.Trigger>): react_jsx_runtime202.JSX.Element;
33
+ }: React.ComponentProps<typeof ContextMenu$1.Trigger>): react_jsx_runtime249.JSX.Element;
34
+ /** Groups related ContextMenuItems under a shared logical section. */
11
35
  declare function ContextMenuGroup({
12
36
  ...props
13
- }: React.ComponentProps<typeof ContextMenu$1.Group>): react_jsx_runtime202.JSX.Element;
37
+ }: React.ComponentProps<typeof ContextMenu$1.Group>): react_jsx_runtime249.JSX.Element;
38
+ /** Portals ContextMenu content outside the current DOM hierarchy. */
14
39
  declare function ContextMenuPortal({
15
40
  ...props
16
- }: React.ComponentProps<typeof ContextMenu$1.Portal>): react_jsx_runtime202.JSX.Element;
41
+ }: React.ComponentProps<typeof ContextMenu$1.Portal>): react_jsx_runtime249.JSX.Element;
42
+ /** Root container for a nested sub-menu inside a ContextMenu. */
17
43
  declare function ContextMenuSub({
18
44
  ...props
19
- }: React.ComponentProps<typeof ContextMenu$1.Sub>): react_jsx_runtime202.JSX.Element;
45
+ }: React.ComponentProps<typeof ContextMenu$1.Sub>): react_jsx_runtime249.JSX.Element;
46
+ /** Groups ContextMenuRadioItems so only one can be selected at a time. */
20
47
  declare function ContextMenuRadioGroup({
21
48
  ...props
22
- }: React.ComponentProps<typeof ContextMenu$1.RadioGroup>): react_jsx_runtime202.JSX.Element;
49
+ }: React.ComponentProps<typeof ContextMenu$1.RadioGroup>): react_jsx_runtime249.JSX.Element;
50
+ /**
51
+ * Menu item that reveals a nested ContextMenuSubContent on hover or activation.
52
+ *
53
+ * @param inset - When true, adds left padding to align with inset items.
54
+ */
23
55
  declare function ContextMenuSubTrigger({
24
56
  className,
25
57
  inset,
@@ -27,15 +59,23 @@ declare function ContextMenuSubTrigger({
27
59
  ...props
28
60
  }: React.ComponentProps<typeof ContextMenu$1.SubTrigger> & {
29
61
  inset?: boolean;
30
- }): react_jsx_runtime202.JSX.Element;
62
+ }): react_jsx_runtime249.JSX.Element;
63
+ /** Floating panel that contains the items of a nested ContextMenu sub-menu. */
31
64
  declare function ContextMenuSubContent({
32
65
  className,
33
66
  ...props
34
- }: React.ComponentProps<typeof ContextMenu$1.SubContent>): react_jsx_runtime202.JSX.Element;
67
+ }: React.ComponentProps<typeof ContextMenu$1.SubContent>): react_jsx_runtime249.JSX.Element;
68
+ /** Animated floating panel that contains the context menu items. */
35
69
  declare function ContextMenuContent({
36
70
  className,
37
71
  ...props
38
- }: React.ComponentProps<typeof ContextMenu$1.Content>): react_jsx_runtime202.JSX.Element;
72
+ }: React.ComponentProps<typeof ContextMenu$1.Content>): react_jsx_runtime249.JSX.Element;
73
+ /**
74
+ * A single clickable row inside a ContextMenuContent.
75
+ *
76
+ * @param inset - When true, adds left padding to align with items that have icons.
77
+ * @param variant - Visual style: `'default'` or `'destructive'`.
78
+ */
39
79
  declare function ContextMenuItem({
40
80
  className,
41
81
  inset,
@@ -44,33 +84,42 @@ declare function ContextMenuItem({
44
84
  }: React.ComponentProps<typeof ContextMenu$1.Item> & {
45
85
  inset?: boolean;
46
86
  variant?: 'default' | 'destructive';
47
- }): react_jsx_runtime202.JSX.Element;
87
+ }): react_jsx_runtime249.JSX.Element;
88
+ /** A checkable context menu item that displays a checkmark when selected. */
48
89
  declare function ContextMenuCheckboxItem({
49
90
  className,
50
91
  children,
51
92
  checked,
52
93
  ...props
53
- }: React.ComponentProps<typeof ContextMenu$1.CheckboxItem>): react_jsx_runtime202.JSX.Element;
94
+ }: React.ComponentProps<typeof ContextMenu$1.CheckboxItem>): react_jsx_runtime249.JSX.Element;
95
+ /** A radio-button context menu item; shows a filled circle when selected. */
54
96
  declare function ContextMenuRadioItem({
55
97
  className,
56
98
  children,
57
99
  ...props
58
- }: React.ComponentProps<typeof ContextMenu$1.RadioItem>): react_jsx_runtime202.JSX.Element;
100
+ }: React.ComponentProps<typeof ContextMenu$1.RadioItem>): react_jsx_runtime249.JSX.Element;
101
+ /**
102
+ * Non-interactive label used to describe a group of context menu items.
103
+ *
104
+ * @param inset - When true, adds left padding to align with inset items.
105
+ */
59
106
  declare function ContextMenuLabel({
60
107
  className,
61
108
  inset,
62
109
  ...props
63
110
  }: React.ComponentProps<typeof ContextMenu$1.Label> & {
64
111
  inset?: boolean;
65
- }): react_jsx_runtime202.JSX.Element;
112
+ }): react_jsx_runtime249.JSX.Element;
113
+ /** Horizontal dividing line between groups of context menu items. */
66
114
  declare function ContextMenuSeparator({
67
115
  className,
68
116
  ...props
69
- }: React.ComponentProps<typeof ContextMenu$1.Separator>): react_jsx_runtime202.JSX.Element;
117
+ }: React.ComponentProps<typeof ContextMenu$1.Separator>): react_jsx_runtime249.JSX.Element;
118
+ /** Displays a keyboard shortcut hint aligned to the right of a context menu item. */
70
119
  declare function ContextMenuShortcut({
71
120
  className,
72
121
  ...props
73
- }: React.ComponentProps<'span'>): react_jsx_runtime202.JSX.Element;
122
+ }: React.ComponentProps<'span'>): react_jsx_runtime249.JSX.Element;
74
123
  //#endregion
75
124
  export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger };
76
125
  //# sourceMappingURL=context-menu.d.mts.map
@@ -1,2 +1,2 @@
1
- "use client";import{cn as e}from"@customafk/react-toolkit/utils";import{jsx as t,jsxs as n}from"react/jsx-runtime";import{CheckIcon as r,ChevronRightIcon as i,CircleIcon as a}from"lucide-react";import{ContextMenu as o}from"radix-ui";function s({...e}){return t(o.Root,{"data-slot":`context-menu`,...e})}function c({...e}){return t(o.Trigger,{"data-slot":`context-menu-trigger`,...e})}function l({...e}){return t(o.Group,{"data-slot":`context-menu-group`,...e})}function u({...e}){return t(o.Portal,{"data-slot":`context-menu-portal`,...e})}function d({...e}){return t(o.Sub,{"data-slot":`context-menu-sub`,...e})}function f({...e}){return t(o.RadioGroup,{"data-slot":`context-menu-radio-group`,...e})}function p({className:r,inset:a,children:s,...c}){return n(o.SubTrigger,{"data-slot":`context-menu-sub-trigger`,"data-inset":a,className:e(`focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,r),...c,children:[s,t(i,{className:`ml-auto`})]})}function m({className:n,...r}){return t(o.SubContent,{"data-slot":`context-menu-sub-content`,className:e(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg`,n),...r})}function h({className:n,...r}){return t(o.Portal,{children:t(o.Content,{"data-slot":`context-menu-content`,className:e(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md`,n),...r})})}function g({className:n,inset:r,variant:i=`default`,...a}){return t(o.Item,{"data-slot":`context-menu-item`,"data-inset":r,"data-variant":i,className:e(`focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,n),...a})}function _({className:i,children:a,checked:s,...c}){return n(o.CheckboxItem,{"data-slot":`context-menu-checkbox-item`,className:e(`focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,i),checked:s,...c,children:[t(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:t(o.ItemIndicator,{children:t(r,{className:`size-4`})})}),a]})}function v({className:r,children:i,...s}){return n(o.RadioItem,{"data-slot":`context-menu-radio-item`,className:e(`relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none`,`focus:bg-accent`,`focus:text-accent-foreground`,`data-[disabled]:pointer-events-none`,`data-[disabled]:opacity-50`,`[&_svg]:pointer-events-none`,`[&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-4`,r),...s,children:[t(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:t(o.ItemIndicator,{children:t(a,{className:`size-2 fill-current`})})}),i]})}function y({className:n,inset:r,...i}){return t(o.Label,{"data-slot":`context-menu-label`,"data-inset":r,className:e(`text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8`,n),...i})}function b({className:n,...r}){return t(o.Separator,{"data-slot":`context-menu-separator`,className:e(`bg-border -mx-1 my-1 h-px`,n),...r})}function x({className:n,...r}){return t(`span`,{"data-slot":`context-menu-shortcut`,className:e(`text-muted-foreground ml-auto text-xs tracking-widest`,n),...r})}export{s as ContextMenu,_ as ContextMenuCheckboxItem,h as ContextMenuContent,l as ContextMenuGroup,g as ContextMenuItem,y as ContextMenuLabel,u as ContextMenuPortal,f as ContextMenuRadioGroup,v as ContextMenuRadioItem,b as ContextMenuSeparator,x as ContextMenuShortcut,d as ContextMenuSub,m as ContextMenuSubContent,p as ContextMenuSubTrigger,c as ContextMenuTrigger};
1
+ "use client";import{CheckIcon as e,ChevronRightIcon as t,CircleIcon as n}from"lucide-react";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{cn as a}from"@customafk/react-toolkit/utils";import{ContextMenu as o}from"radix-ui";function s({...e}){return r(o.Root,{"data-slot":`context-menu`,...e})}function c({...e}){return r(o.Trigger,{"data-slot":`context-menu-trigger`,...e})}function l({...e}){return r(o.Group,{"data-slot":`context-menu-group`,...e})}function u({...e}){return r(o.Portal,{"data-slot":`context-menu-portal`,...e})}function d({...e}){return r(o.Sub,{"data-slot":`context-menu-sub`,...e})}function f({...e}){return r(o.RadioGroup,{"data-slot":`context-menu-radio-group`,...e})}function p({className:e,inset:n,children:s,...c}){return i(o.SubTrigger,{"data-slot":`context-menu-sub-trigger`,"data-inset":n,className:a(`focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...c,children:[s,r(t,{className:`ml-auto`})]})}function m({className:e,...t}){return r(o.SubContent,{"data-slot":`context-menu-sub-content`,className:a(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg`,e),...t})}function h({className:e,...t}){return r(o.Portal,{children:r(o.Content,{"data-slot":`context-menu-content`,className:a(`bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md`,e),...t})})}function g({className:e,inset:t,variant:n=`default`,...i}){return r(o.Item,{"data-slot":`context-menu-item`,"data-inset":t,"data-variant":n,className:a(`focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...i})}function _({className:t,children:n,checked:s,...c}){return i(o.CheckboxItem,{"data-slot":`context-menu-checkbox-item`,className:a(`focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,t),checked:s,...c,children:[r(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:r(o.ItemIndicator,{children:r(e,{className:`size-4`})})}),n]})}function v({className:e,children:t,...s}){return i(o.RadioItem,{"data-slot":`context-menu-radio-item`,className:a(`relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none`,`focus:bg-accent`,`focus:text-accent-foreground`,`data-[disabled]:pointer-events-none`,`data-[disabled]:opacity-50`,`[&_svg]:pointer-events-none`,`[&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-4`,e),...s,children:[r(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:r(o.ItemIndicator,{children:r(n,{className:`size-2 fill-current`})})}),t]})}function y({className:e,inset:t,...n}){return r(o.Label,{"data-slot":`context-menu-label`,"data-inset":t,className:a(`text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8`,e),...n})}function b({className:e,...t}){return r(o.Separator,{"data-slot":`context-menu-separator`,className:a(`bg-border -mx-1 my-1 h-px`,e),...t})}function x({className:e,...t}){return r(`span`,{"data-slot":`context-menu-shortcut`,className:a(`text-muted-foreground ml-auto text-xs tracking-widest`,e),...t})}export{s as ContextMenu,_ as ContextMenuCheckboxItem,h as ContextMenuContent,l as ContextMenuGroup,g as ContextMenuItem,y as ContextMenuLabel,u as ContextMenuPortal,f as ContextMenuRadioGroup,v as ContextMenuRadioItem,b as ContextMenuSeparator,x as ContextMenuShortcut,d as ContextMenuSub,m as ContextMenuSubContent,p as ContextMenuSubTrigger,c as ContextMenuTrigger};
2
2
  //# sourceMappingURL=context-menu.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"context-menu.mjs","names":["ContextMenuPrimitive"],"sources":["../../packages/components/ui/context-menu.tsx"],"sourcesContent":["'use client';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react';\n\nimport { ContextMenu as ContextMenuPrimitive } from 'radix-ui';\n\nfunction ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Root>) {\n return <ContextMenuPrimitive.Root data-slot=\"context-menu\" {...props} />;\n}\n\nfunction ContextMenuTrigger({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>) {\n return <ContextMenuPrimitive.Trigger data-slot=\"context-menu-trigger\" {...props} />;\n}\n\nfunction ContextMenuGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Group>) {\n return <ContextMenuPrimitive.Group data-slot=\"context-menu-group\" {...props} />;\n}\n\nfunction ContextMenuPortal({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Portal>) {\n return <ContextMenuPrimitive.Portal data-slot=\"context-menu-portal\" {...props} />;\n}\n\nfunction ContextMenuSub({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Sub>) {\n return <ContextMenuPrimitive.Sub data-slot=\"context-menu-sub\" {...props} />;\n}\n\nfunction ContextMenuRadioGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>) {\n return <ContextMenuPrimitive.RadioGroup data-slot=\"context-menu-radio-group\" {...props} />;\n}\n\nfunction ContextMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n}) {\n return (\n <ContextMenuPrimitive.SubTrigger\n data-slot=\"context-menu-sub-trigger\"\n data-inset={inset}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto\" />\n </ContextMenuPrimitive.SubTrigger>\n );\n}\n\nfunction ContextMenuSubContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubContent>) {\n return (\n <ContextMenuPrimitive.SubContent\n data-slot=\"context-menu-sub-content\"\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg',\n className\n )}\n {...props}\n />\n );\n}\n\nfunction ContextMenuContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Content>) {\n return (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.Content\n data-slot=\"context-menu-content\"\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md',\n className\n )}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n );\n}\n\nfunction ContextMenuItem({\n className,\n inset,\n variant = 'default',\n ...props\n}: React.ComponentProps<typeof ContextMenuPrimitive.Item> & {\n inset?: boolean;\n variant?: 'default' | 'destructive';\n}) {\n return (\n <ContextMenuPrimitive.Item\n data-slot=\"context-menu-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n );\n}\n\nfunction ContextMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>) {\n return (\n <ContextMenuPrimitive.CheckboxItem\n data-slot=\"context-menu-checkbox-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.CheckboxItem>\n );\n}\n\nfunction ContextMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioItem>) {\n return (\n <ContextMenuPrimitive.RadioItem\n data-slot=\"context-menu-radio-item\"\n className={cn(\n 'relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none',\n 'focus:bg-accent',\n 'focus:text-accent-foreground',\n 'data-[disabled]:pointer-events-none',\n 'data-[disabled]:opacity-50',\n '[&_svg]:pointer-events-none',\n '[&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.RadioItem>\n );\n}\n\nfunction ContextMenuLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps<typeof ContextMenuPrimitive.Label> & {\n inset?: boolean;\n}) {\n return (\n <ContextMenuPrimitive.Label\n data-slot=\"context-menu-label\"\n data-inset={inset}\n className={cn('text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8', className)}\n {...props}\n />\n );\n}\n\nfunction ContextMenuSeparator({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Separator>) {\n return <ContextMenuPrimitive.Separator data-slot=\"context-menu-separator\" className={cn('bg-border -mx-1 my-1 h-px', className)} {...props} />;\n}\n\nfunction ContextMenuShortcut({ className, ...props }: React.ComponentProps<'span'>) {\n return <span data-slot=\"context-menu-shortcut\" className={cn('text-muted-foreground ml-auto text-xs tracking-widest', className)} {...props} />;\n}\n\nexport {\n ContextMenu,\n ContextMenuCheckboxItem,\n ContextMenuContent,\n ContextMenuGroup,\n ContextMenuItem,\n ContextMenuLabel,\n ContextMenuPortal,\n ContextMenuRadioGroup,\n ContextMenuRadioItem,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuTrigger,\n};\n"],"mappings":"yOAOA,SAAS,EAAY,CAAE,GAAG,GAAiE,CACzF,OAAO,EAACA,EAAqB,KAAA,CAAK,YAAU,eAAe,GAAI,GAAS,CAG1E,SAAS,EAAmB,CAAE,GAAG,GAAoE,CACnG,OAAO,EAACA,EAAqB,QAAA,CAAQ,YAAU,uBAAuB,GAAI,GAAS,CAGrF,SAAS,EAAiB,CAAE,GAAG,GAAkE,CAC/F,OAAO,EAACA,EAAqB,MAAA,CAAM,YAAU,qBAAqB,GAAI,GAAS,CAGjF,SAAS,EAAkB,CAAE,GAAG,GAAmE,CACjG,OAAO,EAACA,EAAqB,OAAA,CAAO,YAAU,sBAAsB,GAAI,GAAS,CAGnF,SAAS,EAAe,CAAE,GAAG,GAAgE,CAC3F,OAAO,EAACA,EAAqB,IAAA,CAAI,YAAU,mBAAmB,GAAI,GAAS,CAG7E,SAAS,EAAsB,CAAE,GAAG,GAAuE,CACzG,OAAO,EAACA,EAAqB,WAAA,CAAW,YAAU,2BAA2B,GAAI,GAAS,CAG5F,SAAS,EAAsB,CAC7B,YACA,QACA,WACA,GAAG,GAGF,CACD,OACE,EAACA,EAAqB,WAAA,CACpB,YAAU,2BACV,aAAY,EACZ,UAAW,EACT,mTACA,EACD,CACD,GAAI,YAEH,EACD,EAAC,EAAA,CAAiB,UAAU,UAAA,CAAY,CAAA,EACR,CAItC,SAAS,EAAsB,CAAE,YAAW,GAAG,GAAuE,CACpH,OACE,EAACA,EAAqB,WAAA,CACpB,YAAU,2BACV,UAAW,EACT,+eACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAoE,CAC9G,OACE,EAACA,EAAqB,OAAA,CAAA,SACpB,EAACA,EAAqB,QAAA,CACpB,YAAU,uBACV,UAAW,EACT,ujBACA,EACD,CACD,GAAI,GACJ,CAAA,CAC0B,CAIlC,SAAS,EAAgB,CACvB,YACA,QACA,UAAU,UACV,GAAG,GAIF,CACD,OACE,EAACA,EAAqB,KAAA,CACpB,YAAU,oBACV,aAAY,EACZ,eAAc,EACd,UAAW,EACT,8mBACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAwB,CAAE,YAAW,WAAU,UAAS,GAAG,GAAyE,CAC3I,OACE,EAACA,EAAqB,aAAA,CACpB,YAAU,6BACV,UAAW,EACT,+SACA,EACD,CACQ,UACT,GAAI,YAEJ,EAAC,OAAA,CAAK,UAAU,yFACd,EAACA,EAAqB,cAAA,CAAA,SACpB,EAAC,EAAA,CAAU,UAAU,SAAA,CAAW,CAAA,CACG,EAChC,CACN,EAAA,EACiC,CAIxC,SAAS,EAAqB,CAAE,YAAW,WAAU,GAAG,GAAsE,CAC5H,OACE,EAACA,EAAqB,UAAA,CACpB,YAAU,0BACV,UAAW,EACT,iHACA,kBACA,+BACA,sCACA,6BACA,8BACA,mBACA,uCACA,EACD,CACD,GAAI,YAEJ,EAAC,OAAA,CAAK,UAAU,yFACd,EAACA,EAAqB,cAAA,CAAA,SACpB,EAAC,EAAA,CAAW,UAAU,sBAAA,CAAwB,CAAA,CACX,EAChC,CACN,EAAA,EAC8B,CAIrC,SAAS,EAAiB,CACxB,YACA,QACA,GAAG,GAGF,CACD,OACE,EAACA,EAAqB,MAAA,CACpB,YAAU,qBACV,aAAY,EACZ,UAAW,EAAG,oEAAqE,EAAU,CAC7F,GAAI,GACJ,CAIN,SAAS,EAAqB,CAAE,YAAW,GAAG,GAAsE,CAClH,OAAO,EAACA,EAAqB,UAAA,CAAU,YAAU,yBAAyB,UAAW,EAAG,4BAA6B,EAAU,CAAE,GAAI,GAAS,CAGhJ,SAAS,EAAoB,CAAE,YAAW,GAAG,GAAuC,CAClF,OAAO,EAAC,OAAA,CAAK,YAAU,wBAAwB,UAAW,EAAG,wDAAyD,EAAU,CAAE,GAAI,GAAS"}
1
+ {"version":3,"file":"context-menu.mjs","names":["ContextMenuPrimitive"],"sources":["../../packages/components/ui/context-menu.tsx"],"sourcesContent":["'use client';\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react';\n\nimport { ContextMenu as ContextMenuPrimitive } from 'radix-ui';\n\n/**\n * Root provider for the ContextMenu — revealed on right-click (or long-press) of the trigger area.\n *\n * @example\n * ```tsx\n * import {\n * ContextMenu, ContextMenuTrigger, ContextMenuContent,\n * ContextMenuItem, ContextMenuLabel, ContextMenuSeparator,\n * } from '@customafk/lunas-ui/ui/context-menu';\n *\n * <ContextMenu>\n * <ContextMenuTrigger>Right-click me</ContextMenuTrigger>\n * <ContextMenuContent>\n * <ContextMenuLabel>Actions</ContextMenuLabel>\n * <ContextMenuSeparator />\n * <ContextMenuItem>Copy</ContextMenuItem>\n * <ContextMenuItem variant=\"destructive\">Delete</ContextMenuItem>\n * </ContextMenuContent>\n * </ContextMenu>\n * ```\n */\nfunction ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Root>) {\n return <ContextMenuPrimitive.Root data-slot=\"context-menu\" {...props} />;\n}\n\n/** The area that listens for right-click to open the ContextMenu. */\nfunction ContextMenuTrigger({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>) {\n return <ContextMenuPrimitive.Trigger data-slot=\"context-menu-trigger\" {...props} />;\n}\n\n/** Groups related ContextMenuItems under a shared logical section. */\nfunction ContextMenuGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Group>) {\n return <ContextMenuPrimitive.Group data-slot=\"context-menu-group\" {...props} />;\n}\n\n/** Portals ContextMenu content outside the current DOM hierarchy. */\nfunction ContextMenuPortal({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Portal>) {\n return <ContextMenuPrimitive.Portal data-slot=\"context-menu-portal\" {...props} />;\n}\n\n/** Root container for a nested sub-menu inside a ContextMenu. */\nfunction ContextMenuSub({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Sub>) {\n return <ContextMenuPrimitive.Sub data-slot=\"context-menu-sub\" {...props} />;\n}\n\n/** Groups ContextMenuRadioItems so only one can be selected at a time. */\nfunction ContextMenuRadioGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>) {\n return <ContextMenuPrimitive.RadioGroup data-slot=\"context-menu-radio-group\" {...props} />;\n}\n\n/**\n * Menu item that reveals a nested ContextMenuSubContent on hover or activation.\n *\n * @param inset - When true, adds left padding to align with inset items.\n */\nfunction ContextMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n}) {\n return (\n <ContextMenuPrimitive.SubTrigger\n data-slot=\"context-menu-sub-trigger\"\n data-inset={inset}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto\" />\n </ContextMenuPrimitive.SubTrigger>\n );\n}\n\n/** Floating panel that contains the items of a nested ContextMenu sub-menu. */\nfunction ContextMenuSubContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubContent>) {\n return (\n <ContextMenuPrimitive.SubContent\n data-slot=\"context-menu-sub-content\"\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg',\n className\n )}\n {...props}\n />\n );\n}\n\n/** Animated floating panel that contains the context menu items. */\nfunction ContextMenuContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Content>) {\n return (\n <ContextMenuPrimitive.Portal>\n <ContextMenuPrimitive.Content\n data-slot=\"context-menu-content\"\n className={cn(\n 'bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-context-menu-content-available-height) min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md',\n className\n )}\n {...props}\n />\n </ContextMenuPrimitive.Portal>\n );\n}\n\n/**\n * A single clickable row inside a ContextMenuContent.\n *\n * @param inset - When true, adds left padding to align with items that have icons.\n * @param variant - Visual style: `'default'` or `'destructive'`.\n */\nfunction ContextMenuItem({\n className,\n inset,\n variant = 'default',\n ...props\n}: React.ComponentProps<typeof ContextMenuPrimitive.Item> & {\n inset?: boolean;\n variant?: 'default' | 'destructive';\n}) {\n return (\n <ContextMenuPrimitive.Item\n data-slot=\"context-menu-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n />\n );\n}\n\n/** A checkable context menu item that displays a checkmark when selected. */\nfunction ContextMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>) {\n return (\n <ContextMenuPrimitive.CheckboxItem\n data-slot=\"context-menu-checkbox-item\"\n className={cn(\n \"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n checked={checked}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <CheckIcon className=\"size-4\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.CheckboxItem>\n );\n}\n\n/** A radio-button context menu item; shows a filled circle when selected. */\nfunction ContextMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioItem>) {\n return (\n <ContextMenuPrimitive.RadioItem\n data-slot=\"context-menu-radio-item\"\n className={cn(\n 'relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none',\n 'focus:bg-accent',\n 'focus:text-accent-foreground',\n 'data-[disabled]:pointer-events-none',\n 'data-[disabled]:opacity-50',\n '[&_svg]:pointer-events-none',\n '[&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n >\n <span className=\"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center\">\n <ContextMenuPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </ContextMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </ContextMenuPrimitive.RadioItem>\n );\n}\n\n/**\n * Non-interactive label used to describe a group of context menu items.\n *\n * @param inset - When true, adds left padding to align with inset items.\n */\nfunction ContextMenuLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps<typeof ContextMenuPrimitive.Label> & {\n inset?: boolean;\n}) {\n return (\n <ContextMenuPrimitive.Label\n data-slot=\"context-menu-label\"\n data-inset={inset}\n className={cn('text-foreground px-2 py-1.5 text-sm font-medium data-[inset]:pl-8', className)}\n {...props}\n />\n );\n}\n\n/** Horizontal dividing line between groups of context menu items. */\nfunction ContextMenuSeparator({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Separator>) {\n return <ContextMenuPrimitive.Separator data-slot=\"context-menu-separator\" className={cn('bg-border -mx-1 my-1 h-px', className)} {...props} />;\n}\n\n/** Displays a keyboard shortcut hint aligned to the right of a context menu item. */\nfunction ContextMenuShortcut({ className, ...props }: React.ComponentProps<'span'>) {\n return <span data-slot=\"context-menu-shortcut\" className={cn('text-muted-foreground ml-auto text-xs tracking-widest', className)} {...props} />;\n}\n\nexport {\n ContextMenu,\n ContextMenuCheckboxItem,\n ContextMenuContent,\n ContextMenuGroup,\n ContextMenuItem,\n ContextMenuLabel,\n ContextMenuPortal,\n ContextMenuRadioGroup,\n ContextMenuRadioItem,\n ContextMenuSeparator,\n ContextMenuShortcut,\n ContextMenuSub,\n ContextMenuSubContent,\n ContextMenuSubTrigger,\n ContextMenuTrigger,\n};\n"],"mappings":"yOA4BA,SAAS,EAAY,CAAE,GAAG,GAAiE,CACzF,OAAO,EAACA,EAAqB,KAAA,CAAK,YAAU,eAAe,GAAI,GAAS,CAI1E,SAAS,EAAmB,CAAE,GAAG,GAAoE,CACnG,OAAO,EAACA,EAAqB,QAAA,CAAQ,YAAU,uBAAuB,GAAI,GAAS,CAIrF,SAAS,EAAiB,CAAE,GAAG,GAAkE,CAC/F,OAAO,EAACA,EAAqB,MAAA,CAAM,YAAU,qBAAqB,GAAI,GAAS,CAIjF,SAAS,EAAkB,CAAE,GAAG,GAAmE,CACjG,OAAO,EAACA,EAAqB,OAAA,CAAO,YAAU,sBAAsB,GAAI,GAAS,CAInF,SAAS,EAAe,CAAE,GAAG,GAAgE,CAC3F,OAAO,EAACA,EAAqB,IAAA,CAAI,YAAU,mBAAmB,GAAI,GAAS,CAI7E,SAAS,EAAsB,CAAE,GAAG,GAAuE,CACzG,OAAO,EAACA,EAAqB,WAAA,CAAW,YAAU,2BAA2B,GAAI,GAAS,CAQ5F,SAAS,EAAsB,CAC7B,YACA,QACA,WACA,GAAG,GAGF,CACD,OACE,EAACA,EAAqB,WAAA,CACpB,YAAU,2BACV,aAAY,EACZ,UAAW,EACT,mTACA,EACD,CACD,GAAI,YAEH,EACD,EAAC,EAAA,CAAiB,UAAU,UAAA,CAAY,CAAA,EACR,CAKtC,SAAS,EAAsB,CAAE,YAAW,GAAG,GAAuE,CACpH,OACE,EAACA,EAAqB,WAAA,CACpB,YAAU,2BACV,UAAW,EACT,+eACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAmB,CAAE,YAAW,GAAG,GAAoE,CAC9G,OACE,EAACA,EAAqB,OAAA,CAAA,SACpB,EAACA,EAAqB,QAAA,CACpB,YAAU,uBACV,UAAW,EACT,ujBACA,EACD,CACD,GAAI,GACJ,CAAA,CAC0B,CAUlC,SAAS,EAAgB,CACvB,YACA,QACA,UAAU,UACV,GAAG,GAIF,CACD,OACE,EAACA,EAAqB,KAAA,CACpB,YAAU,oBACV,aAAY,EACZ,eAAc,EACd,UAAW,EACT,8mBACA,EACD,CACD,GAAI,GACJ,CAKN,SAAS,EAAwB,CAAE,YAAW,WAAU,UAAS,GAAG,GAAyE,CAC3I,OACE,EAACA,EAAqB,aAAA,CACpB,YAAU,6BACV,UAAW,EACT,+SACA,EACD,CACQ,UACT,GAAI,YAEJ,EAAC,OAAA,CAAK,UAAU,yFACd,EAACA,EAAqB,cAAA,CAAA,SACpB,EAAC,EAAA,CAAU,UAAU,SAAA,CAAW,CAAA,CACG,EAChC,CACN,EAAA,EACiC,CAKxC,SAAS,EAAqB,CAAE,YAAW,WAAU,GAAG,GAAsE,CAC5H,OACE,EAACA,EAAqB,UAAA,CACpB,YAAU,0BACV,UAAW,EACT,iHACA,kBACA,+BACA,sCACA,6BACA,8BACA,mBACA,uCACA,EACD,CACD,GAAI,YAEJ,EAAC,OAAA,CAAK,UAAU,yFACd,EAACA,EAAqB,cAAA,CAAA,SACpB,EAAC,EAAA,CAAW,UAAU,sBAAA,CAAwB,CAAA,CACX,EAChC,CACN,EAAA,EAC8B,CASrC,SAAS,EAAiB,CACxB,YACA,QACA,GAAG,GAGF,CACD,OACE,EAACA,EAAqB,MAAA,CACpB,YAAU,qBACV,aAAY,EACZ,UAAW,EAAG,oEAAqE,EAAU,CAC7F,GAAI,GACJ,CAKN,SAAS,EAAqB,CAAE,YAAW,GAAG,GAAsE,CAClH,OAAO,EAACA,EAAqB,UAAA,CAAU,YAAU,yBAAyB,UAAW,EAAG,4BAA6B,EAAU,CAAE,GAAI,GAAS,CAIhJ,SAAS,EAAoB,CAAE,YAAW,GAAG,GAAuC,CAClF,OAAO,EAAC,OAAA,CAAK,YAAU,wBAAwB,UAAW,EAAG,wDAAyD,EAAU,CAAE,GAAI,GAAS"}
@@ -1 +1 @@
1
- "use client";require(`../heading-BEm5CCSE.cjs`),require(`../paragraph-B72bHMf7.cjs`),require(`../close-D_Ge7gnP.cjs`);const e=require(`../dialog-DjRiV5vR.cjs`);exports.Dialog=e.t,exports.DialogClose=e.n,exports.DialogContent=e.r,exports.DialogDescription=e.i,exports.DialogFooter=e.a,exports.DialogHeader=e.o,exports.DialogOverlay=e.s,exports.DialogPortal=e.c,exports.DialogTitle=e.l,exports.DialogTrigger=e.u;
1
+ "use client";require(`../heading-AKz5ewy-.cjs`),require(`../paragraph-DN85Huc4.cjs`),require(`../close-DXk_H3Gt.cjs`);const e=require(`../dialog-o_68LQXd.cjs`);exports.Dialog=e.t,exports.DialogClose=e.n,exports.DialogContent=e.r,exports.DialogDescription=e.i,exports.DialogFooter=e.a,exports.DialogHeader=e.o,exports.DialogOverlay=e.s,exports.DialogPortal=e.c,exports.DialogTitle=e.l,exports.DialogTrigger=e.u;
@@ -1,2 +1,2 @@
1
- import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "../dialog-aSu9xFOW.cjs";
1
+ import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "../dialog-Bah7jLoO.cjs";
2
2
  export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
@@ -1,2 +1,2 @@
1
- import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "../dialog-PWeGBpsm.mjs";
1
+ import { a as DialogFooter, c as DialogPortal, i as DialogDescription, l as DialogTitle, n as DialogClose, o as DialogHeader, r as DialogContent, s as DialogOverlay, t as Dialog, u as DialogTrigger } from "../dialog-DSg5IKmb.mjs";
2
2
  export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
@@ -1 +1 @@
1
- "use client";import"../heading--VmdIi7C.mjs";import"../paragraph-moBSTPmT.mjs";import"../close-DfuHB7kq.mjs";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"../dialog-CxELDK98.mjs";export{c as Dialog,i as DialogClose,o as DialogContent,n as DialogDescription,e as DialogFooter,a as DialogHeader,s as DialogOverlay,t as DialogPortal,r as DialogTitle,l as DialogTrigger};
1
+ "use client";import"../heading-DN67djxs.mjs";import"../paragraph-Ch5TvEqL.mjs";import"../close-BU0kWRVo.mjs";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"../dialog-BchwY6-N.mjs";export{c as Dialog,i as DialogClose,o as DialogContent,n as DialogDescription,e as DialogFooter,a as DialogHeader,s as DialogOverlay,t as DialogPortal,r as DialogTitle,l as DialogTrigger};
@@ -1,2 +1,2 @@
1
- "use client";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})}exports.Drawer=i,exports.DrawerClose=s,exports.DrawerContent=l,exports.DrawerDescription=p,exports.DrawerFooter=d,exports.DrawerHeader=u,exports.DrawerOverlay=c,exports.DrawerPortal=o,exports.DrawerTitle=f,exports.DrawerTrigger=a;
1
+ "use client";const e=require(`../chunk-Bmb41Sf3.cjs`);let t=require(`react/jsx-runtime`),n=require(`@customafk/react-toolkit/utils`),r=require(`vaul`);function i({...e}){return(0,t.jsx)(r.Drawer.Root,{"data-slot":`drawer`,...e})}function a({...e}){return(0,t.jsx)(r.Drawer.Trigger,{"data-slot":`drawer-trigger`,...e})}function o({...e}){return(0,t.jsx)(r.Drawer.Portal,{"data-slot":`drawer-portal`,...e})}function s({...e}){return(0,t.jsx)(r.Drawer.Close,{"data-slot":`drawer-close`,...e})}function c({className:e,...i}){return(0,t.jsx)(r.Drawer.Overlay,{"data-slot":`drawer-overlay`,className:(0,n.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,t.jsxs)(o,{"data-slot":`drawer-portal`,children:[(0,t.jsx)(c,{}),(0,t.jsxs)(r.Drawer.Content,{"data-slot":`drawer-content`,className:(0,n.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,t.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,t.jsx)(`div`,{"data-slot":`drawer-header`,className:(0,n.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,t.jsx)(`div`,{"data-slot":`drawer-footer`,className:(0,n.cn)(`mt-auto flex flex-col gap-2 p-4`,e),...r})}function f({className:e,...i}){return(0,t.jsx)(r.Drawer.Title,{"data-slot":`drawer-title`,className:(0,n.cn)(`text-text-positive font-semibold`,e),...i})}function p({className:e,...i}){return(0,t.jsx)(r.Drawer.Description,{"data-slot":`drawer-description`,className:(0,n.cn)(`text-text-positive-weak text-sm`,e),...i})}exports.Drawer=i,exports.DrawerClose=s,exports.DrawerContent=l,exports.DrawerDescription=p,exports.DrawerFooter=d,exports.DrawerHeader=u,exports.DrawerOverlay=c,exports.DrawerPortal=o,exports.DrawerTitle=f,exports.DrawerTrigger=a;
2
2
  //# sourceMappingURL=drawer.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.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\nfunction Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>) {\n return <DrawerPrimitive.Root data-slot=\"drawer\" {...props} />;\n}\n\nfunction DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>) {\n return <DrawerPrimitive.Trigger data-slot=\"drawer-trigger\" {...props} />;\n}\n\nfunction DrawerPortal({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal>) {\n return <DrawerPrimitive.Portal data-slot=\"drawer-portal\" {...props} />;\n}\n\nfunction DrawerClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>) {\n return <DrawerPrimitive.Close data-slot=\"drawer-close\" {...props} />;\n}\n\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\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\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\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\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\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":"uJAKA,SAAS,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,GAAS,CAG/D,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,GAAS,CAG1E,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,GAAS,CAGxE,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAAA,EAAA,KAACA,EAAAA,OAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,GAAS,CAGtE,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,CAIN,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,CAInB,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,CAIN,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAA,EAAA,KAAC,MAAA,CAAI,YAAU,gBAAgB,WAAA,EAAA,EAAA,IAAc,kCAAmC,EAAU,CAAE,GAAI,GAAS,CAGlH,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,CAGpI,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"}
1
+ {"version":3,"file":"drawer.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":"uJAuBA,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"}
@@ -1,44 +1,72 @@
1
- import * as react_jsx_runtime113 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime111 from "react/jsx-runtime";
2
2
  import { Drawer as Drawer$1 } from "vaul";
3
3
 
4
4
  //#region packages/components/ui/drawer.d.ts
5
+
6
+ /**
7
+ * Root provider for the Drawer — a vaul-powered slide-in panel supporting top, bottom, left, and right directions.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * import { Drawer, DrawerTrigger, DrawerContent, DrawerHeader, DrawerTitle, DrawerDescription } from '@customafk/lunas-ui/ui/drawer';
12
+ *
13
+ * <Drawer>
14
+ * <DrawerTrigger>Open Drawer</DrawerTrigger>
15
+ * <DrawerContent>
16
+ * <DrawerHeader>
17
+ * <DrawerTitle>Confirm action</DrawerTitle>
18
+ * <DrawerDescription>This action cannot be undone.</DrawerDescription>
19
+ * </DrawerHeader>
20
+ * </DrawerContent>
21
+ * </Drawer>
22
+ * ```
23
+ */
5
24
  declare function Drawer({
6
25
  ...props
7
- }: React.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime113.JSX.Element;
26
+ }: React.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime111.JSX.Element;
27
+ /** Element that opens the Drawer when activated. */
8
28
  declare function DrawerTrigger({
9
29
  ...props
10
- }: React.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime113.JSX.Element;
30
+ }: React.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime111.JSX.Element;
31
+ /** Portals Drawer content outside the current DOM tree. */
11
32
  declare function DrawerPortal({
12
33
  ...props
13
- }: React.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime113.JSX.Element;
34
+ }: React.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime111.JSX.Element;
35
+ /** Button that programmatically closes the Drawer. */
14
36
  declare function DrawerClose({
15
37
  ...props
16
- }: React.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime113.JSX.Element;
38
+ }: React.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime111.JSX.Element;
39
+ /** Dimmed backdrop rendered behind the Drawer panel. */
17
40
  declare function DrawerOverlay({
18
41
  className,
19
42
  ...props
20
- }: React.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime113.JSX.Element;
43
+ }: React.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime111.JSX.Element;
44
+ /** The main Drawer panel; automatically positions itself based on the direction set on the root. */
21
45
  declare function DrawerContent({
22
46
  className,
23
47
  children,
24
48
  ...props
25
- }: React.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime113.JSX.Element;
49
+ }: React.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime111.JSX.Element;
50
+ /** Padded header section at the top of the Drawer for the title and description. */
26
51
  declare function DrawerHeader({
27
52
  className,
28
53
  ...props
29
- }: React.ComponentProps<'div'>): react_jsx_runtime113.JSX.Element;
54
+ }: React.ComponentProps<'div'>): react_jsx_runtime111.JSX.Element;
55
+ /** Footer section pinned to the bottom of the Drawer, typically used for action buttons. */
30
56
  declare function DrawerFooter({
31
57
  className,
32
58
  ...props
33
- }: React.ComponentProps<'div'>): react_jsx_runtime113.JSX.Element;
59
+ }: React.ComponentProps<'div'>): react_jsx_runtime111.JSX.Element;
60
+ /** Accessible title element for the Drawer, announced by screen readers on open. */
34
61
  declare function DrawerTitle({
35
62
  className,
36
63
  ...props
37
- }: React.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime113.JSX.Element;
64
+ }: React.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime111.JSX.Element;
65
+ /** Accessible description element for the Drawer, providing supplemental context to the title. */
38
66
  declare function DrawerDescription({
39
67
  className,
40
68
  ...props
41
- }: React.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime113.JSX.Element;
69
+ }: React.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime111.JSX.Element;
42
70
  //#endregion
43
71
  export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
44
72
  //# sourceMappingURL=drawer.d.cts.map
@@ -1,44 +1,72 @@
1
- import * as react_jsx_runtime33 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime224 from "react/jsx-runtime";
2
2
  import { Drawer as Drawer$1 } from "vaul";
3
3
 
4
4
  //#region packages/components/ui/drawer.d.ts
5
+
6
+ /**
7
+ * Root provider for the Drawer — a vaul-powered slide-in panel supporting top, bottom, left, and right directions.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * import { Drawer, DrawerTrigger, DrawerContent, DrawerHeader, DrawerTitle, DrawerDescription } from '@customafk/lunas-ui/ui/drawer';
12
+ *
13
+ * <Drawer>
14
+ * <DrawerTrigger>Open Drawer</DrawerTrigger>
15
+ * <DrawerContent>
16
+ * <DrawerHeader>
17
+ * <DrawerTitle>Confirm action</DrawerTitle>
18
+ * <DrawerDescription>This action cannot be undone.</DrawerDescription>
19
+ * </DrawerHeader>
20
+ * </DrawerContent>
21
+ * </Drawer>
22
+ * ```
23
+ */
5
24
  declare function Drawer({
6
25
  ...props
7
- }: React.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime33.JSX.Element;
26
+ }: React.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime224.JSX.Element;
27
+ /** Element that opens the Drawer when activated. */
8
28
  declare function DrawerTrigger({
9
29
  ...props
10
- }: React.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime33.JSX.Element;
30
+ }: React.ComponentProps<typeof Drawer$1.Trigger>): react_jsx_runtime224.JSX.Element;
31
+ /** Portals Drawer content outside the current DOM tree. */
11
32
  declare function DrawerPortal({
12
33
  ...props
13
- }: React.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime33.JSX.Element;
34
+ }: React.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime224.JSX.Element;
35
+ /** Button that programmatically closes the Drawer. */
14
36
  declare function DrawerClose({
15
37
  ...props
16
- }: React.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime33.JSX.Element;
38
+ }: React.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime224.JSX.Element;
39
+ /** Dimmed backdrop rendered behind the Drawer panel. */
17
40
  declare function DrawerOverlay({
18
41
  className,
19
42
  ...props
20
- }: React.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime33.JSX.Element;
43
+ }: React.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime224.JSX.Element;
44
+ /** The main Drawer panel; automatically positions itself based on the direction set on the root. */
21
45
  declare function DrawerContent({
22
46
  className,
23
47
  children,
24
48
  ...props
25
- }: React.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime33.JSX.Element;
49
+ }: React.ComponentProps<typeof Drawer$1.Content>): react_jsx_runtime224.JSX.Element;
50
+ /** Padded header section at the top of the Drawer for the title and description. */
26
51
  declare function DrawerHeader({
27
52
  className,
28
53
  ...props
29
- }: React.ComponentProps<'div'>): react_jsx_runtime33.JSX.Element;
54
+ }: React.ComponentProps<'div'>): react_jsx_runtime224.JSX.Element;
55
+ /** Footer section pinned to the bottom of the Drawer, typically used for action buttons. */
30
56
  declare function DrawerFooter({
31
57
  className,
32
58
  ...props
33
- }: React.ComponentProps<'div'>): react_jsx_runtime33.JSX.Element;
59
+ }: React.ComponentProps<'div'>): react_jsx_runtime224.JSX.Element;
60
+ /** Accessible title element for the Drawer, announced by screen readers on open. */
34
61
  declare function DrawerTitle({
35
62
  className,
36
63
  ...props
37
- }: React.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime33.JSX.Element;
64
+ }: React.ComponentProps<typeof Drawer$1.Title>): react_jsx_runtime224.JSX.Element;
65
+ /** Accessible description element for the Drawer, providing supplemental context to the title. */
38
66
  declare function DrawerDescription({
39
67
  className,
40
68
  ...props
41
- }: React.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime33.JSX.Element;
69
+ }: React.ComponentProps<typeof Drawer$1.Description>): react_jsx_runtime224.JSX.Element;
42
70
  //#endregion
43
71
  export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger };
44
72
  //# sourceMappingURL=drawer.d.mts.map
@@ -1,2 +1,2 @@
1
- "use client";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{i as Drawer,s as DrawerClose,l as DrawerContent,p as DrawerDescription,d as DrawerFooter,u as DrawerHeader,c as DrawerOverlay,o as DrawerPortal,f as DrawerTitle,a as DrawerTrigger};
1
+ "use client";import{jsx as e,jsxs as t}from"react/jsx-runtime";import{cn as n}from"@customafk/react-toolkit/utils";import{Drawer as r}from"vaul";function i({...t}){return e(r.Root,{"data-slot":`drawer`,...t})}function a({...t}){return e(r.Trigger,{"data-slot":`drawer-trigger`,...t})}function o({...t}){return e(r.Portal,{"data-slot":`drawer-portal`,...t})}function s({...t}){return e(r.Close,{"data-slot":`drawer-close`,...t})}function c({className:t,...i}){return e(r.Overlay,{"data-slot":`drawer-overlay`,className:n(`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`,t),...i})}function l({className:i,children:a,...s}){return t(o,{"data-slot":`drawer-portal`,children:[e(c,{}),t(r.Content,{"data-slot":`drawer-content`,className:n(`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:[e(`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:t,...r}){return e(`div`,{"data-slot":`drawer-header`,className:n(`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`,t),...r})}function d({className:t,...r}){return e(`div`,{"data-slot":`drawer-footer`,className:n(`mt-auto flex flex-col gap-2 p-4`,t),...r})}function f({className:t,...i}){return e(r.Title,{"data-slot":`drawer-title`,className:n(`text-text-positive font-semibold`,t),...i})}function p({className:t,...i}){return e(r.Description,{"data-slot":`drawer-description`,className:n(`text-text-positive-weak text-sm`,t),...i})}export{i as Drawer,s as DrawerClose,l as DrawerContent,p as DrawerDescription,d as DrawerFooter,u as DrawerHeader,c as DrawerOverlay,o as DrawerPortal,f as DrawerTitle,a as DrawerTrigger};
2
2
  //# sourceMappingURL=drawer.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"drawer.mjs","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\nfunction Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>) {\n return <DrawerPrimitive.Root data-slot=\"drawer\" {...props} />;\n}\n\nfunction DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>) {\n return <DrawerPrimitive.Trigger data-slot=\"drawer-trigger\" {...props} />;\n}\n\nfunction DrawerPortal({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal>) {\n return <DrawerPrimitive.Portal data-slot=\"drawer-portal\" {...props} />;\n}\n\nfunction DrawerClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>) {\n return <DrawerPrimitive.Close data-slot=\"drawer-close\" {...props} />;\n}\n\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\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\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\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\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\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":"iJAKA,SAAS,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAACA,EAAgB,KAAA,CAAK,YAAU,SAAS,GAAI,GAAS,CAG/D,SAAS,EAAc,CAAE,GAAG,GAA+D,CACzF,OAAO,EAACA,EAAgB,QAAA,CAAQ,YAAU,iBAAiB,GAAI,GAAS,CAG1E,SAAS,EAAa,CAAE,GAAG,GAA8D,CACvF,OAAO,EAACA,EAAgB,OAAA,CAAO,YAAU,gBAAgB,GAAI,GAAS,CAGxE,SAAS,EAAY,CAAE,GAAG,GAA6D,CACrF,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,GAAI,GAAS,CAGtE,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,CAIN,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,CAInB,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OACE,EAAC,MAAA,CACC,YAAU,gBACV,UAAW,EACT,4BACA,0BACA,uEACA,oEACA,EACD,CACD,GAAI,GACJ,CAIN,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OAAO,EAAC,MAAA,CAAI,YAAU,gBAAgB,UAAW,EAAG,kCAAmC,EAAU,CAAE,GAAI,GAAS,CAGlH,SAAS,EAAY,CAAE,YAAW,GAAG,GAA6D,CAChG,OAAO,EAACA,EAAgB,MAAA,CAAM,YAAU,eAAe,UAAW,EAAG,mCAAoC,EAAU,CAAE,GAAI,GAAS,CAGpI,SAAS,EAAkB,CAAE,YAAW,GAAG,GAAmE,CAC5G,OAAO,EAACA,EAAgB,YAAA,CAAY,YAAU,qBAAqB,UAAW,EAAG,kCAAmC,EAAU,CAAE,GAAI,GAAS"}
1
+ {"version":3,"file":"drawer.mjs","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":"iJAuBA,SAAS,EAAO,CAAE,GAAG,GAA4D,CAC/E,OAAO,EAACA,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 +1 @@
1
- "use client";const e=require(`../dropdown-menu-BuyuU6uF.cjs`);exports.DropdownMenu=e.t,exports.DropdownMenuCheckboxItem=e.n,exports.DropdownMenuContent=e.r,exports.DropdownMenuGroup=e.i,exports.DropdownMenuItem=e.a,exports.DropdownMenuLabel=e.o,exports.DropdownMenuPortal=e.s,exports.DropdownMenuRadioGroup=e.c,exports.DropdownMenuRadioItem=e.l,exports.DropdownMenuSeparator=e.u,exports.DropdownMenuShortcut=e.d,exports.DropdownMenuSub=e.f,exports.DropdownMenuSubContent=e.p,exports.DropdownMenuSubTrigger=e.m,exports.DropdownMenuTrigger=e.h;
1
+ "use client";const e=require(`../dropdown-menu-Ct9BLGfa.cjs`);exports.DropdownMenu=e.t,exports.DropdownMenuCheckboxItem=e.n,exports.DropdownMenuContent=e.r,exports.DropdownMenuGroup=e.i,exports.DropdownMenuItem=e.a,exports.DropdownMenuLabel=e.o,exports.DropdownMenuPortal=e.s,exports.DropdownMenuRadioGroup=e.c,exports.DropdownMenuRadioItem=e.l,exports.DropdownMenuSeparator=e.u,exports.DropdownMenuShortcut=e.d,exports.DropdownMenuSub=e.f,exports.DropdownMenuSubContent=e.p,exports.DropdownMenuSubTrigger=e.m,exports.DropdownMenuTrigger=e.h;