@customafk/lunas-ui 0.2.53 → 0.2.55

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 (1176) hide show
  1. package/dist/{alert-CB79DQwK.d.mts → alert-Bip5XjBw.d.cts} +5 -7
  2. package/dist/{alert-Ca5wFNXF.d.cts → alert-Bip5XjBw.d.mts} +5 -7
  3. package/dist/alert-D31c6DLq.cjs +2 -0
  4. package/dist/{alert-DDdHIRib.cjs.map → alert-D31c6DLq.cjs.map} +1 -1
  5. package/dist/{alert-BEcGZfPW.mjs → alert-OD1KJTEV.mjs} +1 -1
  6. package/dist/{alert-BEcGZfPW.mjs.map → alert-OD1KJTEV.mjs.map} +1 -1
  7. package/dist/{badge-DYo5Diiy.d.cts → badge-D0InQSvM.d.cts} +4 -6
  8. package/dist/{badge-CQygfYGk.d.mts → badge-D0InQSvM.d.mts} +4 -6
  9. package/dist/{button-D-pWsdxT.d.cts → button-DIqm3YRo.d.cts} +4 -7
  10. package/dist/{button-CwxEnAw3.d.mts → button-DIqm3YRo.d.mts} +4 -7
  11. package/dist/button.variants-DOglUhSE.cjs +2 -0
  12. package/dist/{button.variants-4kw6plrv.cjs.map → button.variants-DOglUhSE.cjs.map} +1 -1
  13. package/dist/{button.variants-DkMqWB8G.mjs → button.variants-pziHKxvE.mjs} +1 -1
  14. package/dist/{button.variants-DkMqWB8G.mjs.map → button.variants-pziHKxvE.mjs.map} +1 -1
  15. package/dist/cards/grid-product-card.cjs +2 -1
  16. package/dist/cards/grid-product-card.cjs.map +1 -0
  17. package/dist/cards/grid-product-card.d.cts +30 -2
  18. package/dist/cards/grid-product-card.d.mts +30 -2
  19. package/dist/cards/grid-product-card.mjs +2 -1
  20. package/dist/cards/grid-product-card.mjs.map +1 -0
  21. package/dist/cards/product-card.cjs +2 -1
  22. package/dist/cards/product-card.cjs.map +1 -0
  23. package/dist/cards/product-card.d.cts +30 -2
  24. package/dist/cards/product-card.d.mts +30 -2
  25. package/dist/cards/product-card.mjs +2 -1
  26. package/dist/cards/product-card.mjs.map +1 -0
  27. package/dist/cards/simple-card.cjs +2 -1
  28. package/dist/cards/simple-card.cjs.map +1 -0
  29. package/dist/cards/simple-card.d.cts +29 -2
  30. package/dist/cards/simple-card.d.mts +29 -2
  31. package/dist/cards/simple-card.mjs +2 -1
  32. package/dist/cards/simple-card.mjs.map +1 -0
  33. package/dist/close-BYHgEZvZ.cjs +2 -0
  34. package/dist/close-BYHgEZvZ.cjs.map +1 -0
  35. package/dist/{close-Co-WLsSG.mjs → close-DYJZ8fkh.mjs} +1 -1
  36. package/dist/close-DYJZ8fkh.mjs.map +1 -0
  37. package/dist/cms-layout-DhZiYGI7.cjs +2 -0
  38. package/dist/cms-layout-DhZiYGI7.cjs.map +1 -0
  39. package/dist/cms-layout-IwpD0LvR.mjs +2 -0
  40. package/dist/cms-layout-IwpD0LvR.mjs.map +1 -0
  41. package/dist/data-display/country.cjs +2 -1
  42. package/dist/data-display/country.cjs.map +1 -0
  43. package/dist/data-display/country.d.cts +21 -2
  44. package/dist/data-display/country.d.mts +21 -2
  45. package/dist/data-display/country.mjs +2 -1
  46. package/dist/data-display/country.mjs.map +1 -0
  47. package/dist/data-display/data-list.cjs +2 -1
  48. package/dist/data-display/data-list.cjs.map +1 -0
  49. package/dist/data-display/data-list.d.cts +38 -2
  50. package/dist/data-display/data-list.d.mts +38 -2
  51. package/dist/data-display/data-list.mjs +2 -1
  52. package/dist/data-display/data-list.mjs.map +1 -0
  53. package/dist/data-display/date-tooltip.cjs +2 -1
  54. package/dist/data-display/date-tooltip.cjs.map +1 -0
  55. package/dist/data-display/date-tooltip.d.cts +18 -2
  56. package/dist/data-display/date-tooltip.d.mts +18 -2
  57. package/dist/data-display/date-tooltip.mjs +2 -1
  58. package/dist/data-display/date-tooltip.mjs.map +1 -0
  59. package/dist/data-display/date.cjs +1 -1
  60. package/dist/data-display/date.d.cts +39 -2
  61. package/dist/data-display/date.d.mts +39 -2
  62. package/dist/data-display/date.mjs +1 -1
  63. package/dist/data-display/empty.cjs +2 -1
  64. package/dist/data-display/empty.cjs.map +1 -0
  65. package/dist/data-display/empty.d.cts +19 -2
  66. package/dist/data-display/empty.d.mts +19 -2
  67. package/dist/data-display/empty.mjs +2 -1
  68. package/dist/data-display/empty.mjs.map +1 -0
  69. package/dist/data-display/name.cjs +2 -1
  70. package/dist/data-display/name.cjs.map +1 -0
  71. package/dist/data-display/name.d.cts +18 -2
  72. package/dist/data-display/name.d.mts +18 -2
  73. package/dist/data-display/name.mjs +2 -1
  74. package/dist/data-display/name.mjs.map +1 -0
  75. package/dist/data-display/phone-number.cjs +2 -1
  76. package/dist/data-display/phone-number.cjs.map +1 -0
  77. package/dist/data-display/phone-number.d.cts +18 -2
  78. package/dist/data-display/phone-number.d.mts +18 -2
  79. package/dist/data-display/phone-number.mjs +2 -1
  80. package/dist/data-display/phone-number.mjs.map +1 -0
  81. package/dist/data-display/role-badge.cjs +2 -1
  82. package/dist/data-display/role-badge.cjs.map +1 -0
  83. package/dist/data-display/role-badge.d.cts +21 -2
  84. package/dist/data-display/role-badge.d.mts +21 -2
  85. package/dist/data-display/role-badge.mjs +2 -1
  86. package/dist/data-display/role-badge.mjs.map +1 -0
  87. package/dist/data-display/statistic.cjs +2 -1
  88. package/dist/data-display/statistic.cjs.map +1 -0
  89. package/dist/data-display/statistic.d.cts +45 -2
  90. package/dist/data-display/statistic.d.mts +45 -2
  91. package/dist/data-display/statistic.mjs +2 -1
  92. package/dist/data-display/statistic.mjs.map +1 -0
  93. package/dist/data-display/user.cjs +2 -1
  94. package/dist/data-display/user.cjs.map +1 -0
  95. package/dist/data-display/user.d.cts +20 -2
  96. package/dist/data-display/user.d.mts +20 -2
  97. package/dist/data-display/user.mjs +2 -1
  98. package/dist/data-display/user.mjs.map +1 -0
  99. package/dist/date-B3cozmfV.cjs +2 -0
  100. package/dist/date-B3cozmfV.cjs.map +1 -0
  101. package/dist/{date-88lk-VJF.mjs → date-Nsz0Pewe.mjs} +1 -1
  102. package/dist/date-Nsz0Pewe.mjs.map +1 -0
  103. package/dist/{dialog-DokGVUbC.d.mts → dialog-BASlxWF_.d.cts} +12 -15
  104. package/dist/{dialog-xPhSkLmg.d.cts → dialog-BASlxWF_.d.mts} +12 -15
  105. package/dist/dialogs/confirm-dialog.cjs +2 -1
  106. package/dist/dialogs/confirm-dialog.cjs.map +1 -0
  107. package/dist/dialogs/confirm-dialog.d.cts +142 -2
  108. package/dist/dialogs/confirm-dialog.d.mts +142 -2
  109. package/dist/dialogs/confirm-dialog.mjs +2 -1
  110. package/dist/dialogs/confirm-dialog.mjs.map +1 -0
  111. package/dist/dialogs/detail-dialog/components/sidebar.cjs +2 -1
  112. package/dist/dialogs/detail-dialog/components/sidebar.cjs.map +1 -0
  113. package/dist/dialogs/detail-dialog/components/sidebar.d.cts +36 -51
  114. package/dist/dialogs/detail-dialog/components/sidebar.d.mts +36 -51
  115. package/dist/dialogs/detail-dialog/components/sidebar.mjs +2 -1
  116. package/dist/dialogs/detail-dialog/components/sidebar.mjs.map +1 -0
  117. package/dist/dialogs/detail-dialog/index.cjs +2 -1
  118. package/dist/dialogs/detail-dialog/index.cjs.map +1 -0
  119. package/dist/dialogs/detail-dialog/index.d.cts +36 -2
  120. package/dist/dialogs/detail-dialog/index.d.mts +36 -2
  121. package/dist/dialogs/detail-dialog/index.mjs +2 -1
  122. package/dist/dialogs/detail-dialog/index.mjs.map +1 -0
  123. package/dist/dialogs/error-dialog.cjs +2 -1
  124. package/dist/dialogs/error-dialog.cjs.map +1 -0
  125. package/dist/dialogs/error-dialog.d.cts +22 -2
  126. package/dist/dialogs/error-dialog.d.mts +22 -2
  127. package/dist/dialogs/error-dialog.mjs +2 -1
  128. package/dist/dialogs/error-dialog.mjs.map +1 -0
  129. package/dist/dialogs/loading-dialog.cjs +2 -1
  130. package/dist/dialogs/loading-dialog.cjs.map +1 -0
  131. package/dist/dialogs/loading-dialog.d.cts +19 -2
  132. package/dist/dialogs/loading-dialog.d.mts +19 -2
  133. package/dist/dialogs/loading-dialog.mjs +2 -1
  134. package/dist/dialogs/loading-dialog.mjs.map +1 -0
  135. package/dist/dist-CGlSRti2.cjs +2 -0
  136. package/dist/{dist-Cx5ufCdr.cjs.map → dist-CGlSRti2.cjs.map} +1 -1
  137. package/dist/{dist-DVrfqn8H.mjs → dist-CtTonIm8.mjs} +1 -1
  138. package/dist/{dist-DVrfqn8H.mjs.map → dist-CtTonIm8.mjs.map} +1 -1
  139. package/dist/features/descriptions/index.cjs +2 -1
  140. package/dist/features/descriptions/index.cjs.map +1 -0
  141. package/dist/features/descriptions/index.d.cts +231 -2
  142. package/dist/features/descriptions/index.d.mts +231 -3
  143. package/dist/features/descriptions/index.mjs +2 -1
  144. package/dist/features/descriptions/index.mjs.map +1 -0
  145. package/dist/features/search-modal/index.cjs +1 -1
  146. package/dist/features/search-modal/index.d.cts +14 -2
  147. package/dist/features/search-modal/index.d.mts +14 -2
  148. package/dist/features/search-modal/index.mjs +1 -1
  149. package/dist/features/tables/index.cjs +1 -1
  150. package/dist/features/tables/index.d.cts +1 -1
  151. package/dist/features/tables/index.d.mts +1 -2
  152. package/dist/features/tables/index.mjs +1 -1
  153. package/dist/features/tanstack-form/index.cjs +1 -1
  154. package/dist/features/tanstack-form/index.d.cts +1 -1
  155. package/dist/features/tanstack-form/index.d.mts +1 -1
  156. package/dist/features/tanstack-form/index.mjs +1 -1
  157. package/dist/features/text-editor/index.cjs +1 -1
  158. package/dist/features/text-editor/index.d.cts +2 -2
  159. package/dist/features/text-editor/index.d.mts +2 -2
  160. package/dist/features/text-editor/index.mjs +1 -1
  161. package/dist/heading-DLjnJc1q.cjs +2 -0
  162. package/dist/{heading-tGTqk3pA.cjs.map → heading-DLjnJc1q.cjs.map} +1 -1
  163. package/dist/heading-Fajfx88p.mjs +2 -0
  164. package/dist/{heading-De4Pn3mZ.mjs.map → heading-Fajfx88p.mjs.map} +1 -1
  165. package/dist/index-COLxGpG6.d.cts +3341 -0
  166. package/dist/index-COLxGpG6.d.mts +3341 -0
  167. package/dist/{index-BOLiQQmh.d.mts → index-Cqe6rsMe.d.cts} +170 -345
  168. package/dist/{index-C33ZNe5s.d.cts → index-DOaKN0wJ.d.cts} +5 -7
  169. package/dist/{index-DtlnICYj.d.mts → index-DOaKN0wJ.d.mts} +5 -7
  170. package/dist/{index-e8PriyFP.d.cts → index-DqlCqAcc.d.cts} +15 -33
  171. package/dist/{index-BUpm7Ukw.d.mts → index-DqlCqAcc.d.mts} +15 -33
  172. package/dist/{index-DvC_tPbo.d.cts → index-aPuQLHfq.d.mts} +170 -345
  173. package/dist/index.cjs +1 -1
  174. package/dist/index.d.cts +93 -93
  175. package/dist/index.d.mts +93 -93
  176. package/dist/index.mjs +1 -1
  177. package/dist/{input-BDCw9qBl.d.cts → input-BJMvABEL.d.cts} +6 -11
  178. package/dist/{input-BVTLQHpd.d.mts → input-BJMvABEL.d.mts} +6 -11
  179. package/dist/layouts/cms-layout/index.cjs +1 -1
  180. package/dist/layouts/cms-layout/index.d.cts +2 -2
  181. package/dist/layouts/cms-layout/index.d.mts +2 -2
  182. package/dist/layouts/cms-layout/index.mjs +1 -1
  183. package/dist/layouts/flex.cjs +2 -1
  184. package/dist/layouts/flex.cjs.map +1 -0
  185. package/dist/layouts/flex.d.cts +114 -2
  186. package/dist/layouts/flex.d.mts +114 -2
  187. package/dist/layouts/flex.mjs +2 -1
  188. package/dist/layouts/flex.mjs.map +1 -0
  189. package/dist/layouts/grid.cjs +2 -1
  190. package/dist/layouts/grid.cjs.map +1 -0
  191. package/dist/layouts/grid.d.cts +19 -2
  192. package/dist/layouts/grid.d.mts +19 -2
  193. package/dist/layouts/grid.mjs +2 -1
  194. package/dist/layouts/grid.mjs.map +1 -0
  195. package/dist/layouts/payment-layout/index.cjs +1 -1
  196. package/dist/layouts/payment-layout/index.d.cts +59 -2
  197. package/dist/layouts/payment-layout/index.d.mts +59 -2
  198. package/dist/layouts/payment-layout/index.mjs +1 -1
  199. package/dist/pages/FeatureDeveloping.cjs +2 -1
  200. package/dist/pages/FeatureDeveloping.cjs.map +1 -0
  201. package/dist/pages/FeatureDeveloping.d.cts +41 -2
  202. package/dist/pages/FeatureDeveloping.d.mts +41 -2
  203. package/dist/pages/FeatureDeveloping.mjs +2 -1
  204. package/dist/pages/FeatureDeveloping.mjs.map +1 -0
  205. package/dist/pages/FeatureFixing.cjs +2 -1
  206. package/dist/pages/FeatureFixing.cjs.map +1 -0
  207. package/dist/pages/FeatureFixing.d.cts +41 -2
  208. package/dist/pages/FeatureFixing.d.mts +41 -2
  209. package/dist/pages/FeatureFixing.mjs +2 -1
  210. package/dist/pages/FeatureFixing.mjs.map +1 -0
  211. package/dist/pages/LoginPage.cjs +2 -1
  212. package/dist/pages/LoginPage.cjs.map +1 -0
  213. package/dist/pages/LoginPage.d.cts +53 -2
  214. package/dist/pages/LoginPage.d.mts +53 -2
  215. package/dist/pages/LoginPage.mjs +2 -1
  216. package/dist/pages/LoginPage.mjs.map +1 -0
  217. package/dist/pages/NotAuthorized.cjs +2 -1
  218. package/dist/pages/NotAuthorized.cjs.map +1 -0
  219. package/dist/pages/NotAuthorized.d.cts +41 -2
  220. package/dist/pages/NotAuthorized.d.mts +41 -2
  221. package/dist/pages/NotAuthorized.mjs +2 -1
  222. package/dist/pages/NotAuthorized.mjs.map +1 -0
  223. package/dist/pages/NotFound.cjs +2 -1
  224. package/dist/pages/NotFound.cjs.map +1 -0
  225. package/dist/pages/NotFound.d.cts +41 -2
  226. package/dist/pages/NotFound.d.mts +41 -2
  227. package/dist/pages/NotFound.mjs +2 -1
  228. package/dist/pages/NotFound.mjs.map +1 -0
  229. package/dist/pages/RegisterPage.cjs +2 -1
  230. package/dist/pages/RegisterPage.cjs.map +1 -0
  231. package/dist/pages/RegisterPage.d.cts +50 -2
  232. package/dist/pages/RegisterPage.d.mts +50 -2
  233. package/dist/pages/RegisterPage.mjs +2 -1
  234. package/dist/pages/RegisterPage.mjs.map +1 -0
  235. package/dist/pages/VerifyEmailPage.cjs +2 -1
  236. package/dist/pages/VerifyEmailPage.cjs.map +1 -0
  237. package/dist/pages/VerifyEmailPage.d.cts +62 -2
  238. package/dist/pages/VerifyEmailPage.d.mts +62 -2
  239. package/dist/pages/VerifyEmailPage.mjs +2 -1
  240. package/dist/pages/VerifyEmailPage.mjs.map +1 -0
  241. package/dist/payment-layout-CG_l7Es-.mjs +2 -0
  242. package/dist/payment-layout-CG_l7Es-.mjs.map +1 -0
  243. package/dist/payment-layout-DfxNDF8G.cjs +2 -0
  244. package/dist/payment-layout-DfxNDF8G.cjs.map +1 -0
  245. package/dist/resizable-CNIYTd7k.d.cts +64 -0
  246. package/dist/resizable-CNIYTd7k.d.mts +64 -0
  247. package/dist/rolldown-runtime-C6qsp3rV.cjs +1 -0
  248. package/dist/search-modal-CMhsIxae.cjs +2 -0
  249. package/dist/search-modal-CMhsIxae.cjs.map +1 -0
  250. package/dist/search-modal-Cdmi2iyV.mjs +2 -0
  251. package/dist/search-modal-Cdmi2iyV.mjs.map +1 -0
  252. package/dist/systems/google.cjs +2 -1
  253. package/dist/systems/google.cjs.map +1 -0
  254. package/dist/systems/google.d.cts +48 -2
  255. package/dist/systems/google.d.mts +48 -2
  256. package/dist/systems/google.mjs +2 -1
  257. package/dist/systems/google.mjs.map +1 -0
  258. package/dist/tables-BHdeig0n.mjs +4 -0
  259. package/dist/tables-BHdeig0n.mjs.map +1 -0
  260. package/dist/tables-BfuoYxlt.cjs +4 -0
  261. package/dist/tables-BfuoYxlt.cjs.map +1 -0
  262. package/dist/tanstack-form-CVnMirZT.cjs +42 -0
  263. package/dist/tanstack-form-CVnMirZT.cjs.map +1 -0
  264. package/dist/tanstack-form-Dl6pl0mL.mjs +42 -0
  265. package/dist/tanstack-form-Dl6pl0mL.mjs.map +1 -0
  266. package/dist/text-editor-BQtIXOpM.mjs +2 -0
  267. package/dist/text-editor-BQtIXOpM.mjs.map +1 -0
  268. package/dist/text-editor-C6bmwDTt.cjs +2 -0
  269. package/dist/text-editor-C6bmwDTt.cjs.map +1 -0
  270. package/dist/{types-B-SuhI6Z.d.cts → types-cKvPPVBe.d.cts} +3 -3
  271. package/dist/{types-UB3NE0JY.d.mts → types-cKvPPVBe.d.mts} +3 -3
  272. package/dist/typography/paragraph.cjs +2 -1
  273. package/dist/typography/paragraph.cjs.map +1 -0
  274. package/dist/typography/paragraph.d.cts +46 -2
  275. package/dist/typography/paragraph.d.mts +46 -2
  276. package/dist/typography/paragraph.mjs +2 -1
  277. package/dist/typography/paragraph.mjs.map +1 -0
  278. package/dist/typography/title.cjs +2 -1
  279. package/dist/typography/title.cjs.map +1 -0
  280. package/dist/typography/title.d.cts +41 -2
  281. package/dist/typography/title.d.mts +41 -2
  282. package/dist/typography/title.mjs +2 -1
  283. package/dist/typography/title.mjs.map +1 -0
  284. package/dist/ui/alert-dialog.cjs +2 -1
  285. package/dist/ui/alert-dialog.cjs.map +1 -0
  286. package/dist/ui/alert-dialog.d.cts +88 -2
  287. package/dist/ui/alert-dialog.d.mts +88 -2
  288. package/dist/ui/alert-dialog.mjs +2 -1
  289. package/dist/ui/alert-dialog.mjs.map +1 -0
  290. package/dist/ui/alert.cjs +1 -1
  291. package/dist/ui/alert.d.cts +1 -1
  292. package/dist/ui/alert.d.mts +1 -1
  293. package/dist/ui/alert.mjs +1 -1
  294. package/dist/ui/aspect-ratio.cjs +2 -1
  295. package/dist/ui/aspect-ratio.cjs.map +1 -0
  296. package/dist/ui/aspect-ratio.d.cts +22 -2
  297. package/dist/ui/aspect-ratio.d.mts +22 -2
  298. package/dist/ui/aspect-ratio.mjs +2 -1
  299. package/dist/ui/aspect-ratio.mjs.map +1 -0
  300. package/dist/ui/avatar.cjs +2 -1
  301. package/dist/ui/avatar.cjs.map +1 -0
  302. package/dist/ui/avatar.d.cts +33 -2
  303. package/dist/ui/avatar.d.mts +33 -2
  304. package/dist/ui/avatar.mjs +2 -1
  305. package/dist/ui/avatar.mjs.map +1 -0
  306. package/dist/ui/badge.cjs +2 -1
  307. package/dist/ui/badge.cjs.map +1 -0
  308. package/dist/ui/badge.d.cts +1 -1
  309. package/dist/ui/badge.d.mts +1 -1
  310. package/dist/ui/badge.mjs +2 -1
  311. package/dist/ui/badge.mjs.map +1 -0
  312. package/dist/ui/breadcrumb.cjs +2 -1
  313. package/dist/ui/breadcrumb.cjs.map +1 -0
  314. package/dist/ui/breadcrumb.d.cts +69 -2
  315. package/dist/ui/breadcrumb.d.mts +69 -2
  316. package/dist/ui/breadcrumb.mjs +2 -1
  317. package/dist/ui/breadcrumb.mjs.map +1 -0
  318. package/dist/ui/button-group.cjs +2 -1
  319. package/dist/ui/button-group.cjs.map +1 -0
  320. package/dist/ui/button-group.d.cts +48 -2
  321. package/dist/ui/button-group.d.mts +48 -3
  322. package/dist/ui/button-group.mjs +2 -1
  323. package/dist/ui/button-group.mjs.map +1 -0
  324. package/dist/ui/button.cjs +2 -1
  325. package/dist/ui/button.cjs.map +1 -0
  326. package/dist/ui/button.d.cts +1 -1
  327. package/dist/ui/button.d.mts +1 -1
  328. package/dist/ui/button.mjs +2 -1
  329. package/dist/ui/button.mjs.map +1 -0
  330. package/dist/ui/buttons/add-new.cjs +2 -1
  331. package/dist/ui/buttons/add-new.cjs.map +1 -0
  332. package/dist/ui/buttons/add-new.d.cts +16 -2
  333. package/dist/ui/buttons/add-new.d.mts +16 -2
  334. package/dist/ui/buttons/add-new.mjs +2 -1
  335. package/dist/ui/buttons/add-new.mjs.map +1 -0
  336. package/dist/ui/buttons/edit.cjs +2 -1
  337. package/dist/ui/buttons/edit.cjs.map +1 -0
  338. package/dist/ui/buttons/edit.d.cts +16 -2
  339. package/dist/ui/buttons/edit.d.mts +16 -2
  340. package/dist/ui/buttons/edit.mjs +2 -1
  341. package/dist/ui/buttons/edit.mjs.map +1 -0
  342. package/dist/ui/buttons/refresh.cjs +2 -1
  343. package/dist/ui/buttons/refresh.cjs.map +1 -0
  344. package/dist/ui/buttons/refresh.d.cts +16 -2
  345. package/dist/ui/buttons/refresh.d.mts +16 -2
  346. package/dist/ui/buttons/refresh.mjs +2 -1
  347. package/dist/ui/buttons/refresh.mjs.map +1 -0
  348. package/dist/ui/buttons/trash.cjs +2 -1
  349. package/dist/ui/buttons/trash.cjs.map +1 -0
  350. package/dist/ui/buttons/trash.d.cts +16 -2
  351. package/dist/ui/buttons/trash.d.mts +16 -2
  352. package/dist/ui/buttons/trash.mjs +2 -1
  353. package/dist/ui/buttons/trash.mjs.map +1 -0
  354. package/dist/ui/buttons/upload-image.cjs +2 -1
  355. package/dist/ui/buttons/upload-image.cjs.map +1 -0
  356. package/dist/ui/buttons/upload-image.d.cts +23 -2
  357. package/dist/ui/buttons/upload-image.d.mts +23 -2
  358. package/dist/ui/buttons/upload-image.mjs +2 -1
  359. package/dist/ui/buttons/upload-image.mjs.map +1 -0
  360. package/dist/ui/calendar.cjs +2 -1
  361. package/dist/ui/calendar.cjs.map +1 -0
  362. package/dist/ui/calendar.d.cts +43 -2
  363. package/dist/ui/calendar.d.mts +43 -3
  364. package/dist/ui/calendar.mjs +2 -1
  365. package/dist/ui/calendar.mjs.map +1 -0
  366. package/dist/ui/card.cjs +2 -1
  367. package/dist/ui/card.cjs.map +1 -0
  368. package/dist/ui/card.d.cts +60 -2
  369. package/dist/ui/card.d.mts +60 -2
  370. package/dist/ui/card.mjs +2 -1
  371. package/dist/ui/card.mjs.map +1 -0
  372. package/dist/ui/carousel.cjs +2 -1
  373. package/dist/ui/carousel.cjs.map +1 -0
  374. package/dist/ui/carousel.d.cts +70 -2
  375. package/dist/ui/carousel.d.mts +70 -3
  376. package/dist/ui/carousel.mjs +2 -1
  377. package/dist/ui/carousel.mjs.map +1 -0
  378. package/dist/ui/checkbox.cjs +2 -1
  379. package/dist/ui/checkbox.cjs.map +1 -0
  380. package/dist/ui/checkbox.d.cts +24 -2
  381. package/dist/ui/checkbox.d.mts +24 -2
  382. package/dist/ui/checkbox.mjs +2 -1
  383. package/dist/ui/checkbox.mjs.map +1 -0
  384. package/dist/ui/collapsible.cjs +2 -1
  385. package/dist/ui/collapsible.cjs.map +1 -0
  386. package/dist/ui/collapsible.d.cts +32 -2
  387. package/dist/ui/collapsible.d.mts +32 -2
  388. package/dist/ui/collapsible.mjs +2 -1
  389. package/dist/ui/collapsible.mjs.map +1 -0
  390. package/dist/ui/command.cjs +2 -1
  391. package/dist/ui/command.cjs.map +1 -0
  392. package/dist/ui/command.d.cts +87 -2
  393. package/dist/ui/command.d.mts +87 -3
  394. package/dist/ui/command.mjs +2 -1
  395. package/dist/ui/command.mjs.map +1 -0
  396. package/dist/ui/context-menu.cjs +2 -1
  397. package/dist/ui/context-menu.cjs.map +1 -0
  398. package/dist/ui/context-menu.d.cts +123 -2
  399. package/dist/ui/context-menu.d.mts +123 -2
  400. package/dist/ui/context-menu.mjs +2 -1
  401. package/dist/ui/context-menu.mjs.map +1 -0
  402. package/dist/ui/dialog.cjs +2 -1
  403. package/dist/ui/dialog.cjs.map +1 -0
  404. package/dist/ui/dialog.d.cts +1 -1
  405. package/dist/ui/dialog.d.mts +1 -1
  406. package/dist/ui/dialog.mjs +2 -1
  407. package/dist/ui/dialog.mjs.map +1 -0
  408. package/dist/ui/drawer.cjs +2 -1
  409. package/dist/ui/drawer.cjs.map +1 -0
  410. package/dist/ui/drawer.d.cts +70 -2
  411. package/dist/ui/drawer.d.mts +70 -2
  412. package/dist/ui/drawer.mjs +2 -1
  413. package/dist/ui/drawer.mjs.map +1 -0
  414. package/dist/ui/dropdown-menu.cjs +2 -1
  415. package/dist/ui/dropdown-menu.cjs.map +1 -0
  416. package/dist/ui/dropdown-menu.d.cts +125 -2
  417. package/dist/ui/dropdown-menu.d.mts +125 -2
  418. package/dist/ui/dropdown-menu.mjs +2 -1
  419. package/dist/ui/dropdown-menu.mjs.map +1 -0
  420. package/dist/ui/empty.cjs +2 -1
  421. package/dist/ui/empty.cjs.map +1 -0
  422. package/dist/ui/empty.d.cts +65 -2
  423. package/dist/ui/empty.d.mts +65 -2
  424. package/dist/ui/empty.mjs +2 -1
  425. package/dist/ui/empty.mjs.map +1 -0
  426. package/dist/ui/field.cjs +2 -1
  427. package/dist/ui/field.cjs.map +1 -0
  428. package/dist/ui/field.d.cts +22 -24
  429. package/dist/ui/field.d.mts +22 -24
  430. package/dist/ui/field.mjs +2 -1
  431. package/dist/ui/field.mjs.map +1 -0
  432. package/dist/ui/file-uploader.cjs +3 -1
  433. package/dist/ui/file-uploader.cjs.map +1 -0
  434. package/dist/ui/file-uploader.d.cts +101 -2
  435. package/dist/ui/file-uploader.d.mts +101 -2
  436. package/dist/ui/file-uploader.mjs +3 -1
  437. package/dist/ui/file-uploader.mjs.map +1 -0
  438. package/dist/ui/form.cjs +2 -1
  439. package/dist/ui/form.cjs.map +1 -0
  440. package/dist/ui/form.d.cts +109 -2
  441. package/dist/ui/form.d.mts +109 -2
  442. package/dist/ui/form.mjs +2 -1
  443. package/dist/ui/form.mjs.map +1 -0
  444. package/dist/ui/hover-card.cjs +2 -1
  445. package/dist/ui/hover-card.cjs.map +1 -0
  446. package/dist/ui/hover-card.d.cts +35 -2
  447. package/dist/ui/hover-card.d.mts +35 -2
  448. package/dist/ui/hover-card.mjs +2 -1
  449. package/dist/ui/hover-card.mjs.map +1 -0
  450. package/dist/ui/image.cjs +2 -1
  451. package/dist/ui/image.cjs.map +1 -0
  452. package/dist/ui/image.d.cts +27 -2
  453. package/dist/ui/image.d.mts +27 -2
  454. package/dist/ui/image.mjs +2 -1
  455. package/dist/ui/image.mjs.map +1 -0
  456. package/dist/ui/input-otp.cjs +2 -1
  457. package/dist/ui/input-otp.cjs.map +1 -0
  458. package/dist/ui/input-otp.d.cts +56 -2
  459. package/dist/ui/input-otp.d.mts +56 -2
  460. package/dist/ui/input-otp.mjs +2 -1
  461. package/dist/ui/input-otp.mjs.map +1 -0
  462. package/dist/ui/input.cjs +2 -1
  463. package/dist/ui/input.cjs.map +1 -0
  464. package/dist/ui/input.d.cts +1 -1
  465. package/dist/ui/input.d.mts +1 -1
  466. package/dist/ui/input.mjs +2 -1
  467. package/dist/ui/input.mjs.map +1 -0
  468. package/dist/ui/inputs/search-input.cjs +2 -1
  469. package/dist/ui/inputs/search-input.cjs.map +1 -0
  470. package/dist/ui/inputs/search-input.d.cts +27 -2
  471. package/dist/ui/inputs/search-input.d.mts +27 -3
  472. package/dist/ui/inputs/search-input.mjs +2 -1
  473. package/dist/ui/inputs/search-input.mjs.map +1 -0
  474. package/dist/ui/item.cjs +2 -1
  475. package/dist/ui/item.cjs.map +1 -0
  476. package/dist/ui/item.d.cts +99 -2
  477. package/dist/ui/item.d.mts +99 -3
  478. package/dist/ui/item.mjs +2 -1
  479. package/dist/ui/item.mjs.map +1 -0
  480. package/dist/ui/label.cjs +2 -1
  481. package/dist/ui/label.cjs.map +1 -0
  482. package/dist/ui/label.d.cts +22 -2
  483. package/dist/ui/label.d.mts +22 -2
  484. package/dist/ui/label.mjs +2 -1
  485. package/dist/ui/label.mjs.map +1 -0
  486. package/dist/ui/menubar.cjs +2 -1
  487. package/dist/ui/menubar.cjs.map +1 -0
  488. package/dist/ui/menubar.d.cts +133 -2
  489. package/dist/ui/menubar.d.mts +133 -2
  490. package/dist/ui/menubar.mjs +2 -1
  491. package/dist/ui/menubar.mjs.map +1 -0
  492. package/dist/ui/multi-select.cjs +2 -1
  493. package/dist/ui/multi-select.cjs.map +1 -0
  494. package/dist/ui/multi-select.d.cts +116 -2
  495. package/dist/ui/multi-select.d.mts +116 -4
  496. package/dist/ui/multi-select.mjs +2 -1
  497. package/dist/ui/multi-select.mjs.map +1 -0
  498. package/dist/ui/navigation-menu.cjs +2 -1
  499. package/dist/ui/navigation-menu.cjs.map +1 -0
  500. package/dist/ui/navigation-menu.d.cts +73 -2
  501. package/dist/ui/navigation-menu.d.mts +73 -2
  502. package/dist/ui/navigation-menu.mjs +2 -1
  503. package/dist/ui/navigation-menu.mjs.map +1 -0
  504. package/dist/ui/pagination.cjs +2 -1
  505. package/dist/ui/pagination.cjs.map +1 -0
  506. package/dist/ui/pagination.d.cts +64 -2
  507. package/dist/ui/pagination.d.mts +64 -3
  508. package/dist/ui/pagination.mjs +2 -1
  509. package/dist/ui/pagination.mjs.map +1 -0
  510. package/dist/ui/popover.cjs +2 -1
  511. package/dist/ui/popover.cjs.map +1 -0
  512. package/dist/ui/popover.d.cts +50 -2
  513. package/dist/ui/popover.d.mts +50 -2
  514. package/dist/ui/popover.mjs +2 -1
  515. package/dist/ui/popover.mjs.map +1 -0
  516. package/dist/ui/progress.cjs +2 -1
  517. package/dist/ui/progress.cjs.map +1 -0
  518. package/dist/ui/progress.d.cts +21 -2
  519. package/dist/ui/progress.d.mts +21 -2
  520. package/dist/ui/progress.mjs +2 -1
  521. package/dist/ui/progress.mjs.map +1 -0
  522. package/dist/ui/radio-group.cjs +2 -1
  523. package/dist/ui/radio-group.cjs.map +1 -0
  524. package/dist/ui/radio-group.d.cts +35 -2
  525. package/dist/ui/radio-group.d.mts +35 -2
  526. package/dist/ui/radio-group.mjs +2 -1
  527. package/dist/ui/radio-group.mjs.map +1 -0
  528. package/dist/ui/resizable.cjs +2 -1
  529. package/dist/ui/resizable.cjs.map +1 -0
  530. package/dist/ui/resizable.d.cts +1 -1
  531. package/dist/ui/resizable.d.mts +1 -1
  532. package/dist/ui/resizable.mjs +2 -1
  533. package/dist/ui/resizable.mjs.map +1 -0
  534. package/dist/ui/scroll-area.cjs +2 -1
  535. package/dist/ui/scroll-area.cjs.map +1 -0
  536. package/dist/ui/scroll-area.d.cts +35 -2
  537. package/dist/ui/scroll-area.d.mts +35 -2
  538. package/dist/ui/scroll-area.mjs +2 -1
  539. package/dist/ui/scroll-area.mjs.map +1 -0
  540. package/dist/ui/select.cjs +2 -1
  541. package/dist/ui/select.cjs.map +1 -0
  542. package/dist/ui/select.d.cts +74 -2
  543. package/dist/ui/select.d.mts +74 -2
  544. package/dist/ui/select.mjs +2 -1
  545. package/dist/ui/select.mjs.map +1 -0
  546. package/dist/ui/separator.cjs +2 -1
  547. package/dist/ui/separator.cjs.map +1 -0
  548. package/dist/ui/separator.d.cts +32 -2
  549. package/dist/ui/separator.d.mts +32 -2
  550. package/dist/ui/separator.mjs +2 -1
  551. package/dist/ui/separator.mjs.map +1 -0
  552. package/dist/ui/sheet.cjs +2 -1
  553. package/dist/ui/sheet.cjs.map +1 -0
  554. package/dist/ui/sheet.d.cts +66 -2
  555. package/dist/ui/sheet.d.mts +66 -2
  556. package/dist/ui/sheet.mjs +2 -1
  557. package/dist/ui/sheet.mjs.map +1 -0
  558. package/dist/ui/skeleton.cjs +2 -1
  559. package/dist/ui/skeleton.cjs.map +1 -0
  560. package/dist/ui/skeleton.d.cts +24 -2
  561. package/dist/ui/skeleton.d.mts +24 -2
  562. package/dist/ui/skeleton.mjs +2 -1
  563. package/dist/ui/skeleton.mjs.map +1 -0
  564. package/dist/ui/slider.cjs +2 -1
  565. package/dist/ui/slider.cjs.map +1 -0
  566. package/dist/ui/slider.d.cts +24 -2
  567. package/dist/ui/slider.d.mts +24 -2
  568. package/dist/ui/slider.mjs +2 -1
  569. package/dist/ui/slider.mjs.map +1 -0
  570. package/dist/ui/sonner.cjs +2 -1
  571. package/dist/ui/sonner.cjs.map +1 -0
  572. package/dist/ui/sonner.d.cts +22 -2
  573. package/dist/ui/sonner.d.mts +22 -2
  574. package/dist/ui/sonner.mjs +2 -1
  575. package/dist/ui/sonner.mjs.map +1 -0
  576. package/dist/ui/spinner.cjs +2 -1
  577. package/dist/ui/spinner.cjs.map +1 -0
  578. package/dist/ui/spinner.d.cts +22 -2
  579. package/dist/ui/spinner.d.mts +22 -2
  580. package/dist/ui/spinner.mjs +2 -1
  581. package/dist/ui/spinner.mjs.map +1 -0
  582. package/dist/ui/switch.cjs +2 -1
  583. package/dist/ui/switch.cjs.map +1 -0
  584. package/dist/ui/switch.d.cts +24 -2
  585. package/dist/ui/switch.d.mts +24 -2
  586. package/dist/ui/switch.mjs +2 -1
  587. package/dist/ui/switch.mjs.map +1 -0
  588. package/dist/ui/table.cjs +2 -1
  589. package/dist/ui/table.cjs.map +1 -0
  590. package/dist/ui/table.d.cts +70 -2
  591. package/dist/ui/table.d.mts +70 -2
  592. package/dist/ui/table.mjs +2 -1
  593. package/dist/ui/table.mjs.map +1 -0
  594. package/dist/ui/tabs.cjs +2 -1
  595. package/dist/ui/tabs.cjs.map +1 -0
  596. package/dist/ui/tabs.d.cts +42 -2
  597. package/dist/ui/tabs.d.mts +42 -2
  598. package/dist/ui/tabs.mjs +2 -1
  599. package/dist/ui/tabs.mjs.map +1 -0
  600. package/dist/ui/textarea.cjs +2 -1
  601. package/dist/ui/textarea.cjs.map +1 -0
  602. package/dist/ui/textarea.d.cts +26 -2
  603. package/dist/ui/textarea.d.mts +26 -2
  604. package/dist/ui/textarea.mjs +2 -1
  605. package/dist/ui/textarea.mjs.map +1 -0
  606. package/dist/ui/toggle-group.cjs +2 -1
  607. package/dist/ui/toggle-group.cjs.map +1 -0
  608. package/dist/ui/toggle-group.d.cts +37 -2
  609. package/dist/ui/toggle-group.d.mts +37 -3
  610. package/dist/ui/toggle-group.mjs +2 -1
  611. package/dist/ui/toggle-group.mjs.map +1 -0
  612. package/dist/ui/toggle.cjs +2 -1
  613. package/dist/ui/toggle.cjs.map +1 -0
  614. package/dist/ui/toggle.d.cts +30 -2
  615. package/dist/ui/toggle.d.mts +30 -2
  616. package/dist/ui/toggle.mjs +2 -1
  617. package/dist/ui/toggle.mjs.map +1 -0
  618. package/dist/ui/tooltip.cjs +2 -1
  619. package/dist/ui/tooltip.cjs.map +1 -0
  620. package/dist/ui/tooltip.d.cts +53 -2
  621. package/dist/ui/tooltip.d.mts +53 -2
  622. package/dist/ui/tooltip.mjs +2 -1
  623. package/dist/ui/tooltip.mjs.map +1 -0
  624. package/package.json +2 -2
  625. package/dist/FeatureDeveloping-Bpmk3ZyS.d.cts +0 -43
  626. package/dist/FeatureDeveloping-CVFrndc_.cjs +0 -2
  627. package/dist/FeatureDeveloping-CVFrndc_.cjs.map +0 -1
  628. package/dist/FeatureDeveloping-k_14m44U.mjs +0 -2
  629. package/dist/FeatureDeveloping-k_14m44U.mjs.map +0 -1
  630. package/dist/FeatureDeveloping-oS433qZK.d.mts +0 -43
  631. package/dist/FeatureFixing-CRTE4tkV.d.mts +0 -43
  632. package/dist/FeatureFixing-CqDnOmou.cjs +0 -2
  633. package/dist/FeatureFixing-CqDnOmou.cjs.map +0 -1
  634. package/dist/FeatureFixing-D7qYhigu.mjs +0 -2
  635. package/dist/FeatureFixing-D7qYhigu.mjs.map +0 -1
  636. package/dist/FeatureFixing-Vwb-odpJ.d.cts +0 -43
  637. package/dist/LoginPage-B7SgjP72.d.cts +0 -55
  638. package/dist/LoginPage-BDh57TIY.mjs +0 -2
  639. package/dist/LoginPage-BDh57TIY.mjs.map +0 -1
  640. package/dist/LoginPage-Bsh_Wo-4.d.mts +0 -55
  641. package/dist/LoginPage-CSewNEGN.cjs +0 -2
  642. package/dist/LoginPage-CSewNEGN.cjs.map +0 -1
  643. package/dist/NotAuthorized-B1nln3YY.d.mts +0 -43
  644. package/dist/NotAuthorized-BBlhgNjt.cjs +0 -2
  645. package/dist/NotAuthorized-BBlhgNjt.cjs.map +0 -1
  646. package/dist/NotAuthorized-DcXH7UbQ.d.cts +0 -43
  647. package/dist/NotAuthorized-xXIwCXtZ.mjs +0 -2
  648. package/dist/NotAuthorized-xXIwCXtZ.mjs.map +0 -1
  649. package/dist/NotFound-BOAR7QCc.cjs +0 -2
  650. package/dist/NotFound-BOAR7QCc.cjs.map +0 -1
  651. package/dist/NotFound-Co0y_Fpa.d.cts +0 -43
  652. package/dist/NotFound-H7T1wCkf.mjs +0 -2
  653. package/dist/NotFound-H7T1wCkf.mjs.map +0 -1
  654. package/dist/NotFound-Kvw-yvr_.d.mts +0 -43
  655. package/dist/RegisterPage-BI5efPEP.cjs +0 -2
  656. package/dist/RegisterPage-BI5efPEP.cjs.map +0 -1
  657. package/dist/RegisterPage-DKiXE8U6.d.mts +0 -52
  658. package/dist/RegisterPage-DluyCA1L.mjs +0 -2
  659. package/dist/RegisterPage-DluyCA1L.mjs.map +0 -1
  660. package/dist/RegisterPage-qEpX0gUP.d.cts +0 -52
  661. package/dist/VerifyEmailPage-D3U6V5IR.mjs +0 -2
  662. package/dist/VerifyEmailPage-D3U6V5IR.mjs.map +0 -1
  663. package/dist/VerifyEmailPage-DRQiyUqo.cjs +0 -2
  664. package/dist/VerifyEmailPage-DRQiyUqo.cjs.map +0 -1
  665. package/dist/VerifyEmailPage-Dd59Girn.d.cts +0 -64
  666. package/dist/VerifyEmailPage-ZaRE0r8m.d.mts +0 -64
  667. package/dist/add-new-B35fn_Bz.mjs +0 -2
  668. package/dist/add-new-B35fn_Bz.mjs.map +0 -1
  669. package/dist/add-new-DqRZeMNy.d.mts +0 -17
  670. package/dist/add-new-deaz-L5t.cjs +0 -2
  671. package/dist/add-new-deaz-L5t.cjs.map +0 -1
  672. package/dist/add-new-pqYC7xmc.d.cts +0 -17
  673. package/dist/alert-DDdHIRib.cjs +0 -2
  674. package/dist/alert-dialog-B9ThoUnv.cjs +0 -2
  675. package/dist/alert-dialog-B9ThoUnv.cjs.map +0 -1
  676. package/dist/alert-dialog-D0jOWqaA.d.mts +0 -90
  677. package/dist/alert-dialog-DqIS6qRz.mjs +0 -2
  678. package/dist/alert-dialog-DqIS6qRz.mjs.map +0 -1
  679. package/dist/alert-dialog-TBiCQ9Ty.d.cts +0 -90
  680. package/dist/aspect-ratio-BsfIALEV.d.mts +0 -24
  681. package/dist/aspect-ratio-Cd2mBXiE.cjs +0 -2
  682. package/dist/aspect-ratio-Cd2mBXiE.cjs.map +0 -1
  683. package/dist/aspect-ratio-DP12ssDX.mjs +0 -2
  684. package/dist/aspect-ratio-DP12ssDX.mjs.map +0 -1
  685. package/dist/aspect-ratio-Dy7SplBM.d.cts +0 -24
  686. package/dist/avatar-CVRRoJ05.cjs +0 -2
  687. package/dist/avatar-CVRRoJ05.cjs.map +0 -1
  688. package/dist/avatar-XFoz-EPk.d.cts +0 -35
  689. package/dist/avatar-tjgTFpVU.mjs +0 -2
  690. package/dist/avatar-tjgTFpVU.mjs.map +0 -1
  691. package/dist/avatar-zDJh1tw9.d.mts +0 -35
  692. package/dist/badge-7bcsD0vA.cjs +0 -2
  693. package/dist/badge-7bcsD0vA.cjs.map +0 -1
  694. package/dist/badge-CG6dbI29.mjs +0 -2
  695. package/dist/badge-CG6dbI29.mjs.map +0 -1
  696. package/dist/breadcrumb-BhUXmEGd.d.cts +0 -72
  697. package/dist/breadcrumb-D5EVqGzZ.d.mts +0 -72
  698. package/dist/breadcrumb-DgCIacvh.cjs +0 -2
  699. package/dist/breadcrumb-DgCIacvh.cjs.map +0 -1
  700. package/dist/breadcrumb-RCZAaQ1l.mjs +0 -2
  701. package/dist/breadcrumb-RCZAaQ1l.mjs.map +0 -1
  702. package/dist/button-C--DAN1D.cjs +0 -2
  703. package/dist/button-C--DAN1D.cjs.map +0 -1
  704. package/dist/button-CCVJTHBI.mjs +0 -2
  705. package/dist/button-CCVJTHBI.mjs.map +0 -1
  706. package/dist/button-group-4oHvYHtz.cjs +0 -2
  707. package/dist/button-group-4oHvYHtz.cjs.map +0 -1
  708. package/dist/button-group-CDRMmMyT.d.cts +0 -50
  709. package/dist/button-group-CRuT_zEE.mjs +0 -2
  710. package/dist/button-group-CRuT_zEE.mjs.map +0 -1
  711. package/dist/button-group-wrn32Sqe.d.mts +0 -50
  712. package/dist/button.variants-4kw6plrv.cjs +0 -2
  713. package/dist/calendar-BUPDN6CU.d.cts +0 -45
  714. package/dist/calendar-Boz9U-O2.d.mts +0 -45
  715. package/dist/calendar-CTyL_3WY.cjs +0 -2
  716. package/dist/calendar-CTyL_3WY.cjs.map +0 -1
  717. package/dist/calendar-DyzwC2TQ.mjs +0 -2
  718. package/dist/calendar-DyzwC2TQ.mjs.map +0 -1
  719. package/dist/card-B8Pm6iEs.cjs +0 -2
  720. package/dist/card-B8Pm6iEs.cjs.map +0 -1
  721. package/dist/card-DDM5jg3U.d.mts +0 -63
  722. package/dist/card-DpQKFp4f.mjs +0 -2
  723. package/dist/card-DpQKFp4f.mjs.map +0 -1
  724. package/dist/card-a8tqytoT.d.cts +0 -63
  725. package/dist/carousel-BayGB372.cjs +0 -2
  726. package/dist/carousel-BayGB372.cjs.map +0 -1
  727. package/dist/carousel-Cm4szl4A.d.cts +0 -71
  728. package/dist/carousel-D8xUkFZ-.mjs +0 -2
  729. package/dist/carousel-D8xUkFZ-.mjs.map +0 -1
  730. package/dist/carousel-Y5TlCJ96.d.mts +0 -71
  731. package/dist/checkbox-Bbn3OZQd.d.mts +0 -26
  732. package/dist/checkbox-Bt4BgYMB.cjs +0 -2
  733. package/dist/checkbox-Bt4BgYMB.cjs.map +0 -1
  734. package/dist/checkbox-CBhlnGGv.mjs +0 -2
  735. package/dist/checkbox-CBhlnGGv.mjs.map +0 -1
  736. package/dist/checkbox-CccXRTYH.d.cts +0 -26
  737. package/dist/chunk-350yNsax.cjs +0 -1
  738. package/dist/close-Co-WLsSG.mjs.map +0 -1
  739. package/dist/close-DYBVx-8O.cjs +0 -2
  740. package/dist/close-DYBVx-8O.cjs.map +0 -1
  741. package/dist/cms-layout-B7lc5hIX.mjs +0 -2
  742. package/dist/cms-layout-B7lc5hIX.mjs.map +0 -1
  743. package/dist/cms-layout-DeTdDLXr.cjs +0 -2
  744. package/dist/cms-layout-DeTdDLXr.cjs.map +0 -1
  745. package/dist/collapsible-CLr3JLeA.mjs +0 -2
  746. package/dist/collapsible-CLr3JLeA.mjs.map +0 -1
  747. package/dist/collapsible-LInIoQlU.d.cts +0 -34
  748. package/dist/collapsible-RWAWE2lS.d.mts +0 -34
  749. package/dist/collapsible-rx0m3LuF.cjs +0 -2
  750. package/dist/collapsible-rx0m3LuF.cjs.map +0 -1
  751. package/dist/command-BQFbzzTr.cjs +0 -2
  752. package/dist/command-BQFbzzTr.cjs.map +0 -1
  753. package/dist/command-BlvmwwTr.d.mts +0 -89
  754. package/dist/command-CQMdYoAm.mjs +0 -2
  755. package/dist/command-CQMdYoAm.mjs.map +0 -1
  756. package/dist/command-DAudAVpm.d.cts +0 -89
  757. package/dist/confirm-dialog-C5ULtwJE.cjs +0 -2
  758. package/dist/confirm-dialog-C5ULtwJE.cjs.map +0 -1
  759. package/dist/confirm-dialog-CNWJKBc9.d.mts +0 -142
  760. package/dist/confirm-dialog-DG_3RvTI.d.cts +0 -142
  761. package/dist/confirm-dialog-u2GP8uPi.mjs +0 -2
  762. package/dist/confirm-dialog-u2GP8uPi.mjs.map +0 -1
  763. package/dist/context-menu-C9nXY3Bq.d.cts +0 -125
  764. package/dist/context-menu-CplWspvB.cjs +0 -2
  765. package/dist/context-menu-CplWspvB.cjs.map +0 -1
  766. package/dist/context-menu-DrF_sQB1.d.mts +0 -125
  767. package/dist/context-menu-a50s2_E_.mjs +0 -2
  768. package/dist/context-menu-a50s2_E_.mjs.map +0 -1
  769. package/dist/country-BHMqKldc.d.mts +0 -22
  770. package/dist/country-CnXNnGmY.cjs +0 -2
  771. package/dist/country-CnXNnGmY.cjs.map +0 -1
  772. package/dist/country-DUD_q-yS.d.cts +0 -22
  773. package/dist/country-lc1l_viY.mjs +0 -2
  774. package/dist/country-lc1l_viY.mjs.map +0 -1
  775. package/dist/data-list-BGmCL71V.cjs +0 -2
  776. package/dist/data-list-BGmCL71V.cjs.map +0 -1
  777. package/dist/data-list-CXWcUFU1.mjs +0 -2
  778. package/dist/data-list-CXWcUFU1.mjs.map +0 -1
  779. package/dist/data-list-Chl3KU5n.d.mts +0 -43
  780. package/dist/data-list-DwyNusTs.d.cts +0 -43
  781. package/dist/date-88lk-VJF.mjs.map +0 -1
  782. package/dist/date-BBBx-rIM.cjs +0 -2
  783. package/dist/date-BBBx-rIM.cjs.map +0 -1
  784. package/dist/date-tooltip-BdVWCJlg.cjs +0 -2
  785. package/dist/date-tooltip-BdVWCJlg.cjs.map +0 -1
  786. package/dist/date-tooltip-CoPcr3Ju.d.mts +0 -19
  787. package/dist/date-tooltip-DZ3NlfdZ.d.cts +0 -19
  788. package/dist/date-tooltip-OPAmlgBg.mjs +0 -2
  789. package/dist/date-tooltip-OPAmlgBg.mjs.map +0 -1
  790. package/dist/date-viiYGAtR.d.mts +0 -39
  791. package/dist/date-xQIXRJ71.d.cts +0 -39
  792. package/dist/descriptions-CgkBHjKD.mjs +0 -2
  793. package/dist/descriptions-CgkBHjKD.mjs.map +0 -1
  794. package/dist/descriptions-RNxfgfpM.cjs +0 -2
  795. package/dist/descriptions-RNxfgfpM.cjs.map +0 -1
  796. package/dist/detail-dialog-BLApH3eD.cjs +0 -2
  797. package/dist/detail-dialog-BLApH3eD.cjs.map +0 -1
  798. package/dist/detail-dialog-CXKrznrp.mjs +0 -2
  799. package/dist/detail-dialog-CXKrznrp.mjs.map +0 -1
  800. package/dist/dialog--BvCecaD.mjs +0 -2
  801. package/dist/dialog--BvCecaD.mjs.map +0 -1
  802. package/dist/dialog-DNEUhYSv.cjs +0 -2
  803. package/dist/dialog-DNEUhYSv.cjs.map +0 -1
  804. package/dist/dist-Cx5ufCdr.cjs +0 -2
  805. package/dist/drawer-BYYCsheu.mjs +0 -2
  806. package/dist/drawer-BYYCsheu.mjs.map +0 -1
  807. package/dist/drawer-CjnhVMTw.d.mts +0 -72
  808. package/dist/drawer-DqAutQLS.d.cts +0 -72
  809. package/dist/drawer-H8uD0q-C.cjs +0 -2
  810. package/dist/drawer-H8uD0q-C.cjs.map +0 -1
  811. package/dist/dropdown-menu-CpA9s4II.d.cts +0 -127
  812. package/dist/dropdown-menu-CtJ_OM19.cjs +0 -2
  813. package/dist/dropdown-menu-CtJ_OM19.cjs.map +0 -1
  814. package/dist/dropdown-menu-DhKquziD.mjs +0 -2
  815. package/dist/dropdown-menu-DhKquziD.mjs.map +0 -1
  816. package/dist/dropdown-menu-aDVEkr4L.d.mts +0 -127
  817. package/dist/edit-B6hhKU53.d.cts +0 -17
  818. package/dist/edit-CJH1v_md.d.mts +0 -17
  819. package/dist/edit-DwHuMQMh.cjs +0 -2
  820. package/dist/edit-DwHuMQMh.cjs.map +0 -1
  821. package/dist/edit-FIiUWxZq.mjs +0 -2
  822. package/dist/edit-FIiUWxZq.mjs.map +0 -1
  823. package/dist/empty-BhV9ASYf.d.mts +0 -68
  824. package/dist/empty-CmIJYhmV.cjs +0 -2
  825. package/dist/empty-CmIJYhmV.cjs.map +0 -1
  826. package/dist/empty-CoKfJtGD.mjs +0 -2
  827. package/dist/empty-CoKfJtGD.mjs.map +0 -1
  828. package/dist/empty-D6t3C3WX.mjs +0 -2
  829. package/dist/empty-D6t3C3WX.mjs.map +0 -1
  830. package/dist/empty-DaK_4UmN.d.cts +0 -68
  831. package/dist/empty-OVsSwbVn.d.mts +0 -21
  832. package/dist/empty-dUZoxaBx.cjs +0 -2
  833. package/dist/empty-dUZoxaBx.cjs.map +0 -1
  834. package/dist/empty-z1Ft5uT1.d.cts +0 -21
  835. package/dist/error-dialog-B8CXPcst.cjs +0 -2
  836. package/dist/error-dialog-B8CXPcst.cjs.map +0 -1
  837. package/dist/error-dialog-D0jvqNoY.d.mts +0 -25
  838. package/dist/error-dialog-DlwWpKEY.d.cts +0 -25
  839. package/dist/error-dialog-DnntjOS9.mjs +0 -2
  840. package/dist/error-dialog-DnntjOS9.mjs.map +0 -1
  841. package/dist/field-BxYoF5AX.mjs +0 -2
  842. package/dist/field-BxYoF5AX.mjs.map +0 -1
  843. package/dist/field-fIef7NR0.cjs +0 -2
  844. package/dist/field-fIef7NR0.cjs.map +0 -1
  845. package/dist/file-uploader-BM0x9VBh.cjs +0 -3
  846. package/dist/file-uploader-BM0x9VBh.cjs.map +0 -1
  847. package/dist/file-uploader-BTWXTBeQ.mjs +0 -3
  848. package/dist/file-uploader-BTWXTBeQ.mjs.map +0 -1
  849. package/dist/file-uploader-Bcq3zzxa.d.cts +0 -103
  850. package/dist/file-uploader-nUOkG_fv.d.mts +0 -103
  851. package/dist/flex-BSTiMh2t.d.mts +0 -117
  852. package/dist/flex-Bx9Nmr53.mjs +0 -2
  853. package/dist/flex-Bx9Nmr53.mjs.map +0 -1
  854. package/dist/flex-ClUVVSda.d.cts +0 -117
  855. package/dist/flex-ld7BqXoM.cjs +0 -2
  856. package/dist/flex-ld7BqXoM.cjs.map +0 -1
  857. package/dist/form-BZAtjwSL.d.mts +0 -112
  858. package/dist/form-Cek0ebE_.d.cts +0 -112
  859. package/dist/form-DvtaketZ.mjs +0 -2
  860. package/dist/form-DvtaketZ.mjs.map +0 -1
  861. package/dist/form-RLIQQ3uV.cjs +0 -2
  862. package/dist/form-RLIQQ3uV.cjs.map +0 -1
  863. package/dist/google-BWOrgvy8.d.mts +0 -53
  864. package/dist/google-C4F5wQ9e.mjs +0 -2
  865. package/dist/google-C4F5wQ9e.mjs.map +0 -1
  866. package/dist/google-Cy0_rdmN.cjs +0 -2
  867. package/dist/google-Cy0_rdmN.cjs.map +0 -1
  868. package/dist/google-Dyb44d8Y.d.cts +0 -53
  869. package/dist/grid-BOqzD6m6.d.cts +0 -19
  870. package/dist/grid-BXJ2x1oD.cjs +0 -2
  871. package/dist/grid-BXJ2x1oD.cjs.map +0 -1
  872. package/dist/grid-C4ogfMWr.mjs +0 -2
  873. package/dist/grid-C4ogfMWr.mjs.map +0 -1
  874. package/dist/grid-Dw7tBNxf.d.mts +0 -19
  875. package/dist/grid-product-card-BD8EVmk6.d.cts +0 -37
  876. package/dist/grid-product-card-BpciVETd.cjs +0 -2
  877. package/dist/grid-product-card-BpciVETd.cjs.map +0 -1
  878. package/dist/grid-product-card-BtZwWaMo.mjs +0 -2
  879. package/dist/grid-product-card-BtZwWaMo.mjs.map +0 -1
  880. package/dist/grid-product-card-CoFzQiFm.d.mts +0 -37
  881. package/dist/heading-De4Pn3mZ.mjs +0 -2
  882. package/dist/heading-tGTqk3pA.cjs +0 -2
  883. package/dist/hover-card-D2gz257Y.d.cts +0 -37
  884. package/dist/hover-card-DMVePTD9.mjs +0 -2
  885. package/dist/hover-card-DMVePTD9.mjs.map +0 -1
  886. package/dist/hover-card-Dsf0S6eo.d.mts +0 -37
  887. package/dist/hover-card-Pde4G6Fc.cjs +0 -2
  888. package/dist/hover-card-Pde4G6Fc.cjs.map +0 -1
  889. package/dist/image-BBPrcvIr.d.cts +0 -36
  890. package/dist/image-CbZwvmmL.mjs +0 -2
  891. package/dist/image-CbZwvmmL.mjs.map +0 -1
  892. package/dist/image-CwnOaUW7.d.mts +0 -36
  893. package/dist/image-eYMg5TSJ.cjs +0 -2
  894. package/dist/image-eYMg5TSJ.cjs.map +0 -1
  895. package/dist/index-1T84UTtI.d.mts +0 -1707
  896. package/dist/index-B03QzDx1.d.mts +0 -17
  897. package/dist/index-BQZ2-xGQ.d.cts +0 -246
  898. package/dist/index-BWLHjQ6S.d.cts +0 -74
  899. package/dist/index-D4T3Qd4m.d.cts +0 -45
  900. package/dist/index-DC7NHLfc.d.cts +0 -17
  901. package/dist/index-DYnzFF0T.d.mts +0 -74
  902. package/dist/index-DYp6lUbn.d.mts +0 -45
  903. package/dist/index-DyYcTYcv.d.mts +0 -246
  904. package/dist/index-x5md75cy.d.cts +0 -1707
  905. package/dist/input-BatF2xqI.cjs +0 -2
  906. package/dist/input-BatF2xqI.cjs.map +0 -1
  907. package/dist/input-CFsouxvo.mjs +0 -2
  908. package/dist/input-CFsouxvo.mjs.map +0 -1
  909. package/dist/input-otp-C9SpN7qa.mjs +0 -2
  910. package/dist/input-otp-C9SpN7qa.mjs.map +0 -1
  911. package/dist/input-otp-CMEY_7IK.d.cts +0 -59
  912. package/dist/input-otp-DXt9rivn.d.mts +0 -59
  913. package/dist/input-otp-phGylVzo.cjs +0 -2
  914. package/dist/input-otp-phGylVzo.cjs.map +0 -1
  915. package/dist/item-DSaO7I07.d.cts +0 -102
  916. package/dist/item-Dq3WIh5a.d.mts +0 -102
  917. package/dist/item-uB0ZFXtc.cjs +0 -2
  918. package/dist/item-uB0ZFXtc.cjs.map +0 -1
  919. package/dist/item-ysEJO_2s.mjs +0 -2
  920. package/dist/item-ysEJO_2s.mjs.map +0 -1
  921. package/dist/label--hinNDHW.cjs +0 -2
  922. package/dist/label--hinNDHW.cjs.map +0 -1
  923. package/dist/label-BMVyfKu9.mjs +0 -2
  924. package/dist/label-BMVyfKu9.mjs.map +0 -1
  925. package/dist/label-CCE-kS4j.d.mts +0 -24
  926. package/dist/label-DGJL4U_f.d.cts +0 -24
  927. package/dist/loading-dialog-CEkua3Lh.mjs +0 -2
  928. package/dist/loading-dialog-CEkua3Lh.mjs.map +0 -1
  929. package/dist/loading-dialog-D8kCsJID.d.cts +0 -21
  930. package/dist/loading-dialog-DLvA8-yT.d.mts +0 -21
  931. package/dist/loading-dialog-DYZmHC1A.cjs +0 -2
  932. package/dist/loading-dialog-DYZmHC1A.cjs.map +0 -1
  933. package/dist/menubar-BBFgdkch.d.cts +0 -135
  934. package/dist/menubar-Bh9Ua6gx.mjs +0 -2
  935. package/dist/menubar-Bh9Ua6gx.mjs.map +0 -1
  936. package/dist/menubar-Sr0X6In7.cjs +0 -2
  937. package/dist/menubar-Sr0X6In7.cjs.map +0 -1
  938. package/dist/menubar-b3iR0kew.d.mts +0 -135
  939. package/dist/multi-select-BHqEpbWV.d.mts +0 -117
  940. package/dist/multi-select-CBZxsmZW.mjs +0 -2
  941. package/dist/multi-select-CBZxsmZW.mjs.map +0 -1
  942. package/dist/multi-select-DdXU9QtL.d.cts +0 -117
  943. package/dist/multi-select-uHi4rmly.cjs +0 -2
  944. package/dist/multi-select-uHi4rmly.cjs.map +0 -1
  945. package/dist/name-2FXVOGc1.d.mts +0 -19
  946. package/dist/name-D7oldyH4.cjs +0 -2
  947. package/dist/name-D7oldyH4.cjs.map +0 -1
  948. package/dist/name-EKzKeq0g.mjs +0 -2
  949. package/dist/name-EKzKeq0g.mjs.map +0 -1
  950. package/dist/name-r1ATxwPZ.d.cts +0 -19
  951. package/dist/navigation-menu-BNEtQ0JM.cjs +0 -2
  952. package/dist/navigation-menu-BNEtQ0JM.cjs.map +0 -1
  953. package/dist/navigation-menu-DT9LfEFB.d.mts +0 -77
  954. package/dist/navigation-menu-Dl0kgmce.d.cts +0 -77
  955. package/dist/navigation-menu-zlpQ6hqY.mjs +0 -2
  956. package/dist/navigation-menu-zlpQ6hqY.mjs.map +0 -1
  957. package/dist/pagination-D6lKOCca.cjs +0 -2
  958. package/dist/pagination-D6lKOCca.cjs.map +0 -1
  959. package/dist/pagination-DXpyiDJW.mjs +0 -2
  960. package/dist/pagination-DXpyiDJW.mjs.map +0 -1
  961. package/dist/pagination-DYHZgmcc.d.cts +0 -67
  962. package/dist/pagination-DYMPNWwJ.d.mts +0 -67
  963. package/dist/paragraph-CLhsGG8e.d.cts +0 -48
  964. package/dist/paragraph-DYLaQtTV.mjs +0 -2
  965. package/dist/paragraph-DYLaQtTV.mjs.map +0 -1
  966. package/dist/paragraph-DvTZvbzw.cjs +0 -2
  967. package/dist/paragraph-DvTZvbzw.cjs.map +0 -1
  968. package/dist/paragraph-o9QFeg6c.d.mts +0 -48
  969. package/dist/payment-layout-BTYaI9Mr.mjs +0 -2
  970. package/dist/payment-layout-BTYaI9Mr.mjs.map +0 -1
  971. package/dist/payment-layout-neLk_obm.cjs +0 -2
  972. package/dist/payment-layout-neLk_obm.cjs.map +0 -1
  973. package/dist/phone-number-BAqPxJ5z.d.cts +0 -19
  974. package/dist/phone-number-CUjSdoHG.d.mts +0 -19
  975. package/dist/phone-number-CdfMUTj2.cjs +0 -2
  976. package/dist/phone-number-CdfMUTj2.cjs.map +0 -1
  977. package/dist/phone-number-CkxEaxxg.mjs +0 -2
  978. package/dist/phone-number-CkxEaxxg.mjs.map +0 -1
  979. package/dist/popover-BGd0Tvmy.mjs +0 -2
  980. package/dist/popover-BGd0Tvmy.mjs.map +0 -1
  981. package/dist/popover-CaU_EoBJ.d.mts +0 -52
  982. package/dist/popover-eSwUy8WP.cjs +0 -2
  983. package/dist/popover-eSwUy8WP.cjs.map +0 -1
  984. package/dist/popover-m32DoRiq.d.cts +0 -52
  985. package/dist/product-card-10gaH8bg.cjs +0 -2
  986. package/dist/product-card-10gaH8bg.cjs.map +0 -1
  987. package/dist/product-card-C0l0q2Ve.d.cts +0 -37
  988. package/dist/product-card-CWrVGqZV.d.mts +0 -37
  989. package/dist/product-card-Rwd-o9hK.mjs +0 -2
  990. package/dist/product-card-Rwd-o9hK.mjs.map +0 -1
  991. package/dist/progress-BwbACJal.d.cts +0 -23
  992. package/dist/progress-Dlgbu5Ff.cjs +0 -2
  993. package/dist/progress-Dlgbu5Ff.cjs.map +0 -1
  994. package/dist/progress-RvyBMsxb.mjs +0 -2
  995. package/dist/progress-RvyBMsxb.mjs.map +0 -1
  996. package/dist/progress-sn0IL4k4.d.mts +0 -23
  997. package/dist/radio-group-C4sIDN68.cjs +0 -2
  998. package/dist/radio-group-C4sIDN68.cjs.map +0 -1
  999. package/dist/radio-group-CD-4vNQR.mjs +0 -2
  1000. package/dist/radio-group-CD-4vNQR.mjs.map +0 -1
  1001. package/dist/radio-group-Ck0NoDHp.d.cts +0 -37
  1002. package/dist/radio-group-DeKN6NpB.d.mts +0 -37
  1003. package/dist/refresh-BFJvyuJH.cjs +0 -2
  1004. package/dist/refresh-BFJvyuJH.cjs.map +0 -1
  1005. package/dist/refresh-BjdAiL4f.d.mts +0 -17
  1006. package/dist/refresh-Bxm2I0Oe.mjs +0 -2
  1007. package/dist/refresh-Bxm2I0Oe.mjs.map +0 -1
  1008. package/dist/refresh-vK99pTVu.d.cts +0 -17
  1009. package/dist/resizable-BilIxAxi.d.mts +0 -63
  1010. package/dist/resizable-DYxHVdyf.d.cts +0 -63
  1011. package/dist/resizable-p6zxjcHs.mjs +0 -2
  1012. package/dist/resizable-p6zxjcHs.mjs.map +0 -1
  1013. package/dist/resizable-yKKhHTqx.cjs +0 -2
  1014. package/dist/resizable-yKKhHTqx.cjs.map +0 -1
  1015. package/dist/role-badge-BIgdiY5P.mjs +0 -2
  1016. package/dist/role-badge-BIgdiY5P.mjs.map +0 -1
  1017. package/dist/role-badge-BwOEEepo.cjs +0 -2
  1018. package/dist/role-badge-BwOEEepo.cjs.map +0 -1
  1019. package/dist/role-badge-CBZdPHUc.d.cts +0 -22
  1020. package/dist/role-badge-DeofJ2ep.d.mts +0 -22
  1021. package/dist/scroll-area-C7s40z6d.d.mts +0 -37
  1022. package/dist/scroll-area-CKWenzXh.d.cts +0 -37
  1023. package/dist/scroll-area-Dn3a9ZCQ.cjs +0 -2
  1024. package/dist/scroll-area-Dn3a9ZCQ.cjs.map +0 -1
  1025. package/dist/scroll-area-DrZOWroA.mjs +0 -2
  1026. package/dist/scroll-area-DrZOWroA.mjs.map +0 -1
  1027. package/dist/search-input-7m30vApQ.d.mts +0 -29
  1028. package/dist/search-input-BCYwlwtk.cjs +0 -2
  1029. package/dist/search-input-BCYwlwtk.cjs.map +0 -1
  1030. package/dist/search-input-DVtHPbme.d.cts +0 -29
  1031. package/dist/search-input-D_nJ8McN.mjs +0 -2
  1032. package/dist/search-input-D_nJ8McN.mjs.map +0 -1
  1033. package/dist/search-modal-BJhXWOiv.cjs +0 -2
  1034. package/dist/search-modal-BJhXWOiv.cjs.map +0 -1
  1035. package/dist/search-modal-BpHuii66.mjs +0 -2
  1036. package/dist/search-modal-BpHuii66.mjs.map +0 -1
  1037. package/dist/select-B5q6krCq.cjs +0 -2
  1038. package/dist/select-B5q6krCq.cjs.map +0 -1
  1039. package/dist/select-CreOhvnP.mjs +0 -2
  1040. package/dist/select-CreOhvnP.mjs.map +0 -1
  1041. package/dist/select-D0mVxToc.d.mts +0 -77
  1042. package/dist/select-D47FVDEv.d.cts +0 -77
  1043. package/dist/separator-BRoS5sU8.cjs +0 -2
  1044. package/dist/separator-BRoS5sU8.cjs.map +0 -1
  1045. package/dist/separator-BT4tDBSP.d.mts +0 -34
  1046. package/dist/separator-BjRgoiEx.mjs +0 -2
  1047. package/dist/separator-BjRgoiEx.mjs.map +0 -1
  1048. package/dist/separator-DOHFNx8Z.d.cts +0 -34
  1049. package/dist/sheet-38e14yOJ.d.cts +0 -69
  1050. package/dist/sheet-Bk6mK6TN.mjs +0 -2
  1051. package/dist/sheet-Bk6mK6TN.mjs.map +0 -1
  1052. package/dist/sheet-E5cMUzxr.cjs +0 -2
  1053. package/dist/sheet-E5cMUzxr.cjs.map +0 -1
  1054. package/dist/sheet-nSIzbJ1S.d.mts +0 -69
  1055. package/dist/sidebar-DeiQjPc8.mjs +0 -2
  1056. package/dist/sidebar-DeiQjPc8.mjs.map +0 -1
  1057. package/dist/sidebar-DzqiY6IR.cjs +0 -2
  1058. package/dist/sidebar-DzqiY6IR.cjs.map +0 -1
  1059. package/dist/simple-card-C5Rr81Sm.cjs +0 -2
  1060. package/dist/simple-card-C5Rr81Sm.cjs.map +0 -1
  1061. package/dist/simple-card-CIB1_AO0.d.mts +0 -35
  1062. package/dist/simple-card-CjJvBXKr.d.cts +0 -35
  1063. package/dist/simple-card-HEzKjzGT.mjs +0 -2
  1064. package/dist/simple-card-HEzKjzGT.mjs.map +0 -1
  1065. package/dist/skeleton-BuscPZgb.cjs +0 -2
  1066. package/dist/skeleton-BuscPZgb.cjs.map +0 -1
  1067. package/dist/skeleton-Bw3-1Ifw.d.cts +0 -27
  1068. package/dist/skeleton-teVJKfpX.mjs +0 -2
  1069. package/dist/skeleton-teVJKfpX.mjs.map +0 -1
  1070. package/dist/skeleton-wv8x-bmn.d.mts +0 -27
  1071. package/dist/slider-CPRW5ByY.cjs +0 -2
  1072. package/dist/slider-CPRW5ByY.cjs.map +0 -1
  1073. package/dist/slider-CsNzhp4K.d.cts +0 -26
  1074. package/dist/slider-RyNGQZH2.mjs +0 -2
  1075. package/dist/slider-RyNGQZH2.mjs.map +0 -1
  1076. package/dist/slider-axR5n-iU.d.mts +0 -26
  1077. package/dist/sonner-BcwAttxz.d.cts +0 -24
  1078. package/dist/sonner-DiKkRgL0.mjs +0 -2
  1079. package/dist/sonner-DiKkRgL0.mjs.map +0 -1
  1080. package/dist/sonner-hiZbh7Ma.d.mts +0 -24
  1081. package/dist/sonner-tfvnW7f9.cjs +0 -2
  1082. package/dist/sonner-tfvnW7f9.cjs.map +0 -1
  1083. package/dist/spinner-8BhR5INj.d.cts +0 -25
  1084. package/dist/spinner-BhIV1n_5.mjs +0 -2
  1085. package/dist/spinner-BhIV1n_5.mjs.map +0 -1
  1086. package/dist/spinner-BlcoDe44.cjs +0 -2
  1087. package/dist/spinner-BlcoDe44.cjs.map +0 -1
  1088. package/dist/spinner-YEHQDAMj.d.mts +0 -25
  1089. package/dist/statistic-BGynCEWL.cjs +0 -2
  1090. package/dist/statistic-BGynCEWL.cjs.map +0 -1
  1091. package/dist/statistic-C7jb2YxN.d.cts +0 -57
  1092. package/dist/statistic-DbQG1ymc.d.mts +0 -57
  1093. package/dist/statistic-fawLJa99.mjs +0 -2
  1094. package/dist/statistic-fawLJa99.mjs.map +0 -1
  1095. package/dist/switch-BTU8yOgs.mjs +0 -2
  1096. package/dist/switch-BTU8yOgs.mjs.map +0 -1
  1097. package/dist/switch-BaLJWcs6.d.cts +0 -26
  1098. package/dist/switch-DMEBc5Me.cjs +0 -2
  1099. package/dist/switch-DMEBc5Me.cjs.map +0 -1
  1100. package/dist/switch-gWDJ4yuM.d.mts +0 -26
  1101. package/dist/table-B2rDsRr1.d.cts +0 -73
  1102. package/dist/table-BmEJ-Ktq.d.mts +0 -73
  1103. package/dist/table-DUDAeitX.mjs +0 -2
  1104. package/dist/table-DUDAeitX.mjs.map +0 -1
  1105. package/dist/table-DkGeuCS6.cjs +0 -2
  1106. package/dist/table-DkGeuCS6.cjs.map +0 -1
  1107. package/dist/tables-BhRUyHnO.cjs +0 -4
  1108. package/dist/tables-BhRUyHnO.cjs.map +0 -1
  1109. package/dist/tables-Dnu1akl3.mjs +0 -4
  1110. package/dist/tables-Dnu1akl3.mjs.map +0 -1
  1111. package/dist/tabs-564E0ez3.d.mts +0 -44
  1112. package/dist/tabs-DFGhwbGp.mjs +0 -2
  1113. package/dist/tabs-DFGhwbGp.mjs.map +0 -1
  1114. package/dist/tabs-JR7-JzIe.cjs +0 -2
  1115. package/dist/tabs-JR7-JzIe.cjs.map +0 -1
  1116. package/dist/tabs-vAz8fioT.d.cts +0 -44
  1117. package/dist/tanstack-form-4b7YcChW.cjs +0 -12
  1118. package/dist/tanstack-form-4b7YcChW.cjs.map +0 -1
  1119. package/dist/tanstack-form-Bo1AZA4L.mjs +0 -12
  1120. package/dist/tanstack-form-Bo1AZA4L.mjs.map +0 -1
  1121. package/dist/text-editor-D1vX6xed.mjs +0 -2
  1122. package/dist/text-editor-D1vX6xed.mjs.map +0 -1
  1123. package/dist/text-editor-Dr8BD9Bh.cjs +0 -2
  1124. package/dist/text-editor-Dr8BD9Bh.cjs.map +0 -1
  1125. package/dist/textarea-BNYJfmS1.cjs +0 -2
  1126. package/dist/textarea-BNYJfmS1.cjs.map +0 -1
  1127. package/dist/textarea-Be2gUM3T.d.mts +0 -30
  1128. package/dist/textarea-Bh8TcWO-.mjs +0 -2
  1129. package/dist/textarea-Bh8TcWO-.mjs.map +0 -1
  1130. package/dist/textarea-DbmOLyAp.d.cts +0 -30
  1131. package/dist/title-BlFwN8RM.d.mts +0 -43
  1132. package/dist/title-CMLgxj8_.mjs +0 -2
  1133. package/dist/title-CMLgxj8_.mjs.map +0 -1
  1134. package/dist/title-DJuGuD0Q.d.cts +0 -43
  1135. package/dist/title-DR8e6bHV.cjs +0 -2
  1136. package/dist/title-DR8e6bHV.cjs.map +0 -1
  1137. package/dist/toggle-B3j94Xvr.cjs +0 -2
  1138. package/dist/toggle-B3j94Xvr.cjs.map +0 -1
  1139. package/dist/toggle-BBOteSWq.d.mts +0 -32
  1140. package/dist/toggle-D6bmp328.d.cts +0 -32
  1141. package/dist/toggle-group-5CEKhPgb.d.mts +0 -39
  1142. package/dist/toggle-group-BOubLcnF.d.cts +0 -39
  1143. package/dist/toggle-group-CAIFsPEQ.cjs +0 -2
  1144. package/dist/toggle-group-CAIFsPEQ.cjs.map +0 -1
  1145. package/dist/toggle-group-DfzLXhuE.mjs +0 -2
  1146. package/dist/toggle-group-DfzLXhuE.mjs.map +0 -1
  1147. package/dist/toggle-jTYfZSWB.mjs +0 -2
  1148. package/dist/toggle-jTYfZSWB.mjs.map +0 -1
  1149. package/dist/tooltip-BBEcyuAE.mjs +0 -2
  1150. package/dist/tooltip-BBEcyuAE.mjs.map +0 -1
  1151. package/dist/tooltip-BFQy2Oca.d.mts +0 -55
  1152. package/dist/tooltip-DBjqfkRe.d.cts +0 -55
  1153. package/dist/tooltip-KEOJcYl8.cjs +0 -2
  1154. package/dist/tooltip-KEOJcYl8.cjs.map +0 -1
  1155. package/dist/trash-BxlUz9AR.cjs +0 -2
  1156. package/dist/trash-BxlUz9AR.cjs.map +0 -1
  1157. package/dist/trash-CV_nXOkW.d.mts +0 -17
  1158. package/dist/trash-CZHL7ZuK.d.cts +0 -17
  1159. package/dist/trash-UPoDDna-.mjs +0 -2
  1160. package/dist/trash-UPoDDna-.mjs.map +0 -1
  1161. package/dist/types-BAAJEExQ.cjs +0 -2
  1162. package/dist/types-BAAJEExQ.cjs.map +0 -1
  1163. package/dist/types-DodCf0NQ.mjs +0 -2
  1164. package/dist/types-DodCf0NQ.mjs.map +0 -1
  1165. package/dist/upload-image-BsCkSEXu.d.mts +0 -24
  1166. package/dist/upload-image-CBVufZda.mjs +0 -2
  1167. package/dist/upload-image-CBVufZda.mjs.map +0 -1
  1168. package/dist/upload-image-CPWA9XOk.cjs +0 -2
  1169. package/dist/upload-image-CPWA9XOk.cjs.map +0 -1
  1170. package/dist/upload-image-CV3Xlq2w.d.cts +0 -24
  1171. package/dist/user-B2Pml0ly.cjs +0 -2
  1172. package/dist/user-B2Pml0ly.cjs.map +0 -1
  1173. package/dist/user-B5efjaOf.d.cts +0 -23
  1174. package/dist/user-Cl4BdxFy.d.mts +0 -23
  1175. package/dist/user-DpBhqdvd.mjs +0 -2
  1176. package/dist/user-DpBhqdvd.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropdown-menu.cjs","names":["DropdownMenuPrimitive","CheckIcon","CircleIcon","ChevronRightIcon"],"sources":["../../packages/components/ui/dropdown-menu.tsx"],"sourcesContent":["'use client';\n\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';\n\n/**\n * Root provider for the DropdownMenu — wraps all sub-components and controls open state.\n *\n * @example\n * ```tsx\n * import {\n * DropdownMenu, DropdownMenuTrigger, DropdownMenuContent,\n * DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator,\n * } from '@customafk/lunas-ui/ui/dropdown-menu';\n *\n * <DropdownMenu>\n * <DropdownMenuTrigger>Options</DropdownMenuTrigger>\n * <DropdownMenuContent>\n * <DropdownMenuLabel>My Account</DropdownMenuLabel>\n * <DropdownMenuSeparator />\n * <DropdownMenuItem>Profile</DropdownMenuItem>\n * <DropdownMenuItem variant=\"destructive\">Delete</DropdownMenuItem>\n * </DropdownMenuContent>\n * </DropdownMenu>\n * ```\n */\nfunction DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {\n return <DropdownMenuPrimitive.Root data-slot=\"dropdown-menu\" {...props} />;\n}\n\n/** Portals DropdownMenu content outside the current DOM hierarchy. */\nfunction DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {\n return <DropdownMenuPrimitive.Portal data-slot=\"dropdown-menu-portal\" {...props} />;\n}\n\n/** Element that opens the DropdownMenu when activated. */\nfunction DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) {\n return <DropdownMenuPrimitive.Trigger data-slot=\"dropdown-menu-trigger\" {...props} />;\n}\n\n/** Animated floating panel that contains the dropdown items. */\nfunction DropdownMenuContent({ className, sideOffset = 4, align = 'start', ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>) {\n return (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n data-slot=\"dropdown-menu-content\"\n sideOffset={sideOffset}\n align={align}\n className={cn(\n 'bg-popover text-text-positive',\n 'z-50 min-w-32',\n 'overflow-y-auto overflow-x-hidden',\n 'rounded-md p-1.5 shadow-dropdown',\n 'max-h-(--radix-dropdown-menu-content-available-height)',\n 'origin-(--radix-dropdown-menu-content-transform-origin)',\n 'data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',\n 'data-[side=bottom]:slide-in-from-top-2',\n 'data-[side=left]:slide-in-from-right-2',\n 'data-[side=right]:slide-in-from-left-2',\n 'data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n );\n}\n\n/** Groups related DropdownMenuItems under a shared logical section. */\nfunction DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>) {\n return <DropdownMenuPrimitive.Group data-slot=\"dropdown-menu-group\" {...props} />;\n}\n\n/**\n * A single clickable row inside a DropdownMenuContent.\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 DropdownMenuItem({\n className,\n inset,\n variant = 'default',\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean;\n variant?: 'default' | 'destructive';\n}) {\n return (\n <DropdownMenuPrimitive.Item\n data-slot=\"dropdown-menu-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n 'relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-2.5 text-sm outline-hidden transition-colors',\n 'focus:bg-muted-muted focus:text-text-positive-strong',\n 'data-inset:pl-8',\n 'data-disabled:pointer-events-none data-disabled:opacity-50',\n 'data-[variant=destructive]:text-danger',\n 'data-[variant=destructive]:focus:bg-danger-muted data-[variant=destructive]:focus:text-danger-strong',\n 'data-[variant=destructive]:*:[svg]:text-danger!',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-4\",\n \"[&_svg:not([class*='text-'])]:text-text-positive-weak\",\n className\n )}\n {...props}\n />\n );\n}\n\n/** A checkable menu item that displays a checkmark when selected. */\nfunction DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>) {\n return (\n <DropdownMenuPrimitive.CheckboxItem\n data-slot=\"dropdown-menu-checkbox-item\"\n className={cn(\n 'relative flex cursor-pointer select-none items-center gap-2 rounded-md py-2.5 pr-2 pl-8 text-sm outline-hidden transition-colors',\n 'focus:bg-muted-muted focus:text-text-positive-strong',\n 'data-disabled:pointer-events-none data-disabled:opacity-50',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n \"[&_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 <DropdownMenuPrimitive.ItemIndicator>\n <CheckIcon size={16} />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n );\n}\n\n/** Groups DropdownMenuRadioItems so only one can be selected at a time. */\nfunction DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) {\n return <DropdownMenuPrimitive.RadioGroup data-slot=\"dropdown-menu-radio-group\" {...props} />;\n}\n\n/** A radio-button menu item; shows a filled circle when selected. */\nfunction DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>) {\n return (\n <DropdownMenuPrimitive.RadioItem\n data-slot=\"dropdown-menu-radio-item\"\n className={cn(\n 'relative flex cursor-pointer select-none items-center gap-2 rounded-md py-2.5 pr-2 pl-8 text-sm outline-hidden transition-colors',\n 'focus:bg-muted-muted focus:text-text-positive-strong',\n 'data-disabled:pointer-events-none data-disabled:opacity-50',\n '[&_svg]:pointer-events-none [&_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 <DropdownMenuPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n );\n}\n\n/**\n * Non-interactive label used to describe a group of items.\n *\n * @param inset - When true, adds left padding to align with inset items.\n */\nfunction DropdownMenuLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n}) {\n return (\n <DropdownMenuPrimitive.Label\n data-slot=\"dropdown-menu-label\"\n data-inset={inset}\n className={cn('px-2 py-1.5 font-medium text-sm text-text-positive-weak data-inset:pl-8', className)}\n {...props}\n />\n );\n}\n\n/** Horizontal dividing line between groups of dropdown items. */\nfunction DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>) {\n return <DropdownMenuPrimitive.Separator data-slot=\"dropdown-menu-separator\" className={cn('-mx-1 my-1 h-px bg-border-weak', className)} {...props} />;\n}\n\n/** Displays a keyboard shortcut hint aligned to the right of a menu item. */\nfunction DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>) {\n return <span data-slot=\"dropdown-menu-shortcut\" className={cn('ml-auto text-xs text-text-positive-muted tracking-widest', className)} {...props} />;\n}\n\n/** Root container for a nested sub-menu inside a DropdownMenu. */\nfunction DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) {\n return <DropdownMenuPrimitive.Sub data-slot=\"dropdown-menu-sub\" {...props} />;\n}\n\n/**\n * Menu item that reveals a nested DropdownMenuSubContent on hover or activation.\n *\n * @param inset - When true, adds left padding to align with inset items.\n */\nfunction DropdownMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n}) {\n return (\n <DropdownMenuPrimitive.SubTrigger\n data-slot=\"dropdown-menu-sub-trigger\"\n data-inset={inset}\n className={cn(\n 'flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-2.5 text-sm outline-hidden transition-colors',\n 'focus:bg-muted-muted focus:text-text-positive-strong',\n 'data-[state=open]:bg-muted-muted data-[state=open]:text-text-positive-strong',\n 'data-inset:pl-8',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </DropdownMenuPrimitive.SubTrigger>\n );\n}\n\n/** Floating panel that contains the items of a nested sub-menu. */\nfunction DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {\n return (\n <DropdownMenuPrimitive.SubContent\n data-slot=\"dropdown-menu-sub-content\"\n className={cn(\n 'bg-popover text-text-positive',\n 'z-50 min-w-32',\n 'overflow-y-auto overflow-x-hidden',\n 'origin-(--radix-dropdown-menu-content-transform-origin) rounded-md p-1.5 shadow-dropdown',\n 'data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',\n 'data-[side=bottom]:slide-in-from-top-2',\n 'data-[side=left]:slide-in-from-right-2',\n 'data-[side=right]:slide-in-from-left-2',\n 'data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n );\n}\n\nexport {\n DropdownMenu,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuPortal,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n};\n"],"mappings":"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"}
@@ -1,2 +1,125 @@
1
- import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, l as DropdownMenuRadioItem, m as DropdownMenuSubTrigger, n as DropdownMenuCheckboxItem, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "../dropdown-menu-CpA9s4II.cjs";
2
- export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
1
+ import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
2
+
3
+ //#region packages/components/ui/dropdown-menu.d.ts
4
+ /**
5
+ * Root provider for the DropdownMenu — wraps all sub-components and controls open state.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * import {
10
+ * DropdownMenu, DropdownMenuTrigger, DropdownMenuContent,
11
+ * DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator,
12
+ * } from '@customafk/lunas-ui/ui/dropdown-menu';
13
+ *
14
+ * <DropdownMenu>
15
+ * <DropdownMenuTrigger>Options</DropdownMenuTrigger>
16
+ * <DropdownMenuContent>
17
+ * <DropdownMenuLabel>My Account</DropdownMenuLabel>
18
+ * <DropdownMenuSeparator />
19
+ * <DropdownMenuItem>Profile</DropdownMenuItem>
20
+ * <DropdownMenuItem variant="destructive">Delete</DropdownMenuItem>
21
+ * </DropdownMenuContent>
22
+ * </DropdownMenu>
23
+ * ```
24
+ */
25
+ declare function DropdownMenu({
26
+ ...props
27
+ }: React.ComponentProps<typeof DropdownMenu$1.Root>): import("react").JSX.Element;
28
+ /** Portals DropdownMenu content outside the current DOM hierarchy. */
29
+ declare function DropdownMenuPortal({
30
+ ...props
31
+ }: React.ComponentProps<typeof DropdownMenu$1.Portal>): import("react").JSX.Element;
32
+ /** Element that opens the DropdownMenu when activated. */
33
+ declare function DropdownMenuTrigger({
34
+ ...props
35
+ }: React.ComponentProps<typeof DropdownMenu$1.Trigger>): import("react").JSX.Element;
36
+ /** Animated floating panel that contains the dropdown items. */
37
+ declare function DropdownMenuContent({
38
+ className,
39
+ sideOffset,
40
+ align,
41
+ ...props
42
+ }: React.ComponentProps<typeof DropdownMenu$1.Content>): import("react").JSX.Element;
43
+ /** Groups related DropdownMenuItems under a shared logical section. */
44
+ declare function DropdownMenuGroup({
45
+ ...props
46
+ }: React.ComponentProps<typeof DropdownMenu$1.Group>): import("react").JSX.Element;
47
+ /**
48
+ * A single clickable row inside a DropdownMenuContent.
49
+ *
50
+ * @param inset - When true, adds left padding to align with items that have icons.
51
+ * @param variant - Visual style: `'default'` or `'destructive'`.
52
+ */
53
+ declare function DropdownMenuItem({
54
+ className,
55
+ inset,
56
+ variant,
57
+ ...props
58
+ }: React.ComponentProps<typeof DropdownMenu$1.Item> & {
59
+ inset?: boolean;
60
+ variant?: 'default' | 'destructive';
61
+ }): import("react").JSX.Element;
62
+ /** A checkable menu item that displays a checkmark when selected. */
63
+ declare function DropdownMenuCheckboxItem({
64
+ className,
65
+ children,
66
+ checked,
67
+ ...props
68
+ }: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): import("react").JSX.Element;
69
+ /** Groups DropdownMenuRadioItems so only one can be selected at a time. */
70
+ declare function DropdownMenuRadioGroup({
71
+ ...props
72
+ }: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): import("react").JSX.Element;
73
+ /** A radio-button menu item; shows a filled circle when selected. */
74
+ declare function DropdownMenuRadioItem({
75
+ className,
76
+ children,
77
+ ...props
78
+ }: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): import("react").JSX.Element;
79
+ /**
80
+ * Non-interactive label used to describe a group of items.
81
+ *
82
+ * @param inset - When true, adds left padding to align with inset items.
83
+ */
84
+ declare function DropdownMenuLabel({
85
+ className,
86
+ inset,
87
+ ...props
88
+ }: React.ComponentProps<typeof DropdownMenu$1.Label> & {
89
+ inset?: boolean;
90
+ }): import("react").JSX.Element;
91
+ /** Horizontal dividing line between groups of dropdown items. */
92
+ declare function DropdownMenuSeparator({
93
+ className,
94
+ ...props
95
+ }: React.ComponentProps<typeof DropdownMenu$1.Separator>): import("react").JSX.Element;
96
+ /** Displays a keyboard shortcut hint aligned to the right of a menu item. */
97
+ declare function DropdownMenuShortcut({
98
+ className,
99
+ ...props
100
+ }: React.ComponentProps<'span'>): import("react").JSX.Element;
101
+ /** Root container for a nested sub-menu inside a DropdownMenu. */
102
+ declare function DropdownMenuSub({
103
+ ...props
104
+ }: React.ComponentProps<typeof DropdownMenu$1.Sub>): import("react").JSX.Element;
105
+ /**
106
+ * Menu item that reveals a nested DropdownMenuSubContent on hover or activation.
107
+ *
108
+ * @param inset - When true, adds left padding to align with inset items.
109
+ */
110
+ declare function DropdownMenuSubTrigger({
111
+ className,
112
+ inset,
113
+ children,
114
+ ...props
115
+ }: React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
116
+ inset?: boolean;
117
+ }): import("react").JSX.Element;
118
+ /** Floating panel that contains the items of a nested sub-menu. */
119
+ declare function DropdownMenuSubContent({
120
+ className,
121
+ ...props
122
+ }: React.ComponentProps<typeof DropdownMenu$1.SubContent>): import("react").JSX.Element;
123
+ //#endregion
124
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
125
+ //# sourceMappingURL=dropdown-menu.d.cts.map
@@ -1,2 +1,125 @@
1
- import { a as DropdownMenuItem, c as DropdownMenuRadioGroup, d as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuTrigger, i as DropdownMenuGroup, l as DropdownMenuRadioItem, m as DropdownMenuSubTrigger, n as DropdownMenuCheckboxItem, o as DropdownMenuLabel, p as DropdownMenuSubContent, r as DropdownMenuContent, s as DropdownMenuPortal, t as DropdownMenu, u as DropdownMenuSeparator } from "../dropdown-menu-aDVEkr4L.mjs";
2
- export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
1
+ import { DropdownMenu as DropdownMenu$1 } from "radix-ui";
2
+
3
+ //#region packages/components/ui/dropdown-menu.d.ts
4
+ /**
5
+ * Root provider for the DropdownMenu — wraps all sub-components and controls open state.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * import {
10
+ * DropdownMenu, DropdownMenuTrigger, DropdownMenuContent,
11
+ * DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator,
12
+ * } from '@customafk/lunas-ui/ui/dropdown-menu';
13
+ *
14
+ * <DropdownMenu>
15
+ * <DropdownMenuTrigger>Options</DropdownMenuTrigger>
16
+ * <DropdownMenuContent>
17
+ * <DropdownMenuLabel>My Account</DropdownMenuLabel>
18
+ * <DropdownMenuSeparator />
19
+ * <DropdownMenuItem>Profile</DropdownMenuItem>
20
+ * <DropdownMenuItem variant="destructive">Delete</DropdownMenuItem>
21
+ * </DropdownMenuContent>
22
+ * </DropdownMenu>
23
+ * ```
24
+ */
25
+ declare function DropdownMenu({
26
+ ...props
27
+ }: React.ComponentProps<typeof DropdownMenu$1.Root>): import("react").JSX.Element;
28
+ /** Portals DropdownMenu content outside the current DOM hierarchy. */
29
+ declare function DropdownMenuPortal({
30
+ ...props
31
+ }: React.ComponentProps<typeof DropdownMenu$1.Portal>): import("react").JSX.Element;
32
+ /** Element that opens the DropdownMenu when activated. */
33
+ declare function DropdownMenuTrigger({
34
+ ...props
35
+ }: React.ComponentProps<typeof DropdownMenu$1.Trigger>): import("react").JSX.Element;
36
+ /** Animated floating panel that contains the dropdown items. */
37
+ declare function DropdownMenuContent({
38
+ className,
39
+ sideOffset,
40
+ align,
41
+ ...props
42
+ }: React.ComponentProps<typeof DropdownMenu$1.Content>): import("react").JSX.Element;
43
+ /** Groups related DropdownMenuItems under a shared logical section. */
44
+ declare function DropdownMenuGroup({
45
+ ...props
46
+ }: React.ComponentProps<typeof DropdownMenu$1.Group>): import("react").JSX.Element;
47
+ /**
48
+ * A single clickable row inside a DropdownMenuContent.
49
+ *
50
+ * @param inset - When true, adds left padding to align with items that have icons.
51
+ * @param variant - Visual style: `'default'` or `'destructive'`.
52
+ */
53
+ declare function DropdownMenuItem({
54
+ className,
55
+ inset,
56
+ variant,
57
+ ...props
58
+ }: React.ComponentProps<typeof DropdownMenu$1.Item> & {
59
+ inset?: boolean;
60
+ variant?: 'default' | 'destructive';
61
+ }): import("react").JSX.Element;
62
+ /** A checkable menu item that displays a checkmark when selected. */
63
+ declare function DropdownMenuCheckboxItem({
64
+ className,
65
+ children,
66
+ checked,
67
+ ...props
68
+ }: React.ComponentProps<typeof DropdownMenu$1.CheckboxItem>): import("react").JSX.Element;
69
+ /** Groups DropdownMenuRadioItems so only one can be selected at a time. */
70
+ declare function DropdownMenuRadioGroup({
71
+ ...props
72
+ }: React.ComponentProps<typeof DropdownMenu$1.RadioGroup>): import("react").JSX.Element;
73
+ /** A radio-button menu item; shows a filled circle when selected. */
74
+ declare function DropdownMenuRadioItem({
75
+ className,
76
+ children,
77
+ ...props
78
+ }: React.ComponentProps<typeof DropdownMenu$1.RadioItem>): import("react").JSX.Element;
79
+ /**
80
+ * Non-interactive label used to describe a group of items.
81
+ *
82
+ * @param inset - When true, adds left padding to align with inset items.
83
+ */
84
+ declare function DropdownMenuLabel({
85
+ className,
86
+ inset,
87
+ ...props
88
+ }: React.ComponentProps<typeof DropdownMenu$1.Label> & {
89
+ inset?: boolean;
90
+ }): import("react").JSX.Element;
91
+ /** Horizontal dividing line between groups of dropdown items. */
92
+ declare function DropdownMenuSeparator({
93
+ className,
94
+ ...props
95
+ }: React.ComponentProps<typeof DropdownMenu$1.Separator>): import("react").JSX.Element;
96
+ /** Displays a keyboard shortcut hint aligned to the right of a menu item. */
97
+ declare function DropdownMenuShortcut({
98
+ className,
99
+ ...props
100
+ }: React.ComponentProps<'span'>): import("react").JSX.Element;
101
+ /** Root container for a nested sub-menu inside a DropdownMenu. */
102
+ declare function DropdownMenuSub({
103
+ ...props
104
+ }: React.ComponentProps<typeof DropdownMenu$1.Sub>): import("react").JSX.Element;
105
+ /**
106
+ * Menu item that reveals a nested DropdownMenuSubContent on hover or activation.
107
+ *
108
+ * @param inset - When true, adds left padding to align with inset items.
109
+ */
110
+ declare function DropdownMenuSubTrigger({
111
+ className,
112
+ inset,
113
+ children,
114
+ ...props
115
+ }: React.ComponentProps<typeof DropdownMenu$1.SubTrigger> & {
116
+ inset?: boolean;
117
+ }): import("react").JSX.Element;
118
+ /** Floating panel that contains the items of a nested sub-menu. */
119
+ declare function DropdownMenuSubContent({
120
+ className,
121
+ ...props
122
+ }: React.ComponentProps<typeof DropdownMenu$1.SubContent>): import("react").JSX.Element;
123
+ //#endregion
124
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
125
+ //# sourceMappingURL=dropdown-menu.d.mts.map
@@ -1 +1,2 @@
1
- "use client";import{a as e,c as t,d as n,f as r,h as i,i as a,l as o,m as s,n as c,o as l,p as u,r as d,s as f,t as p,u as m}from"../dropdown-menu-DhKquziD.mjs";export{p as DropdownMenu,c as DropdownMenuCheckboxItem,d as DropdownMenuContent,a as DropdownMenuGroup,e as DropdownMenuItem,l as DropdownMenuLabel,f as DropdownMenuPortal,t as DropdownMenuRadioGroup,o as DropdownMenuRadioItem,m as DropdownMenuSeparator,n as DropdownMenuShortcut,r as DropdownMenuSub,u as DropdownMenuSubContent,s as DropdownMenuSubTrigger,i as DropdownMenuTrigger};
1
+ "use client";import{CheckIcon as e,ChevronRightIcon as t,CircleIcon as n}from"lucide-react";import{cn as r}from"@customafk/react-toolkit/utils";import{jsx as i,jsxs as a}from"react/jsx-runtime";import{DropdownMenu as o}from"radix-ui";function s({...e}){return i(o.Root,{"data-slot":`dropdown-menu`,...e})}function c({...e}){return i(o.Portal,{"data-slot":`dropdown-menu-portal`,...e})}function l({...e}){return i(o.Trigger,{"data-slot":`dropdown-menu-trigger`,...e})}function u({className:e,sideOffset:t=4,align:n=`start`,...a}){return i(o.Portal,{children:i(o.Content,{"data-slot":`dropdown-menu-content`,sideOffset:t,align:n,className:r(`bg-popover text-text-positive`,`z-50 min-w-32`,`overflow-y-auto overflow-x-hidden`,`rounded-md p-1.5 shadow-dropdown`,`max-h-(--radix-dropdown-menu-content-available-height)`,`origin-(--radix-dropdown-menu-content-transform-origin)`,`data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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`,e),...a})})}function d({...e}){return i(o.Group,{"data-slot":`dropdown-menu-group`,...e})}function f({className:e,inset:t,variant:n=`default`,...a}){return i(o.Item,{"data-slot":`dropdown-menu-item`,"data-inset":t,"data-variant":n,className:r(`relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-2.5 text-sm outline-hidden transition-colors`,`focus:bg-muted-muted focus:text-text-positive-strong`,`data-inset:pl-8`,`data-disabled:pointer-events-none data-disabled:opacity-50`,`data-[variant=destructive]:text-danger`,`data-[variant=destructive]:focus:bg-danger-muted data-[variant=destructive]:focus:text-danger-strong`,`data-[variant=destructive]:*:[svg]:text-danger!`,`[&_svg]:pointer-events-none [&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-4`,`[&_svg:not([class*='text-'])]:text-text-positive-weak`,e),...a})}function p({className:t,children:n,checked:s,...c}){return a(o.CheckboxItem,{"data-slot":`dropdown-menu-checkbox-item`,className:r(`relative flex cursor-pointer select-none items-center gap-2 rounded-md py-2.5 pr-2 pl-8 text-sm outline-hidden transition-colors`,`focus:bg-muted-muted focus:text-text-positive-strong`,`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:[i(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:i(o.ItemIndicator,{children:i(e,{size:16})})}),n]})}function m({...e}){return i(o.RadioGroup,{"data-slot":`dropdown-menu-radio-group`,...e})}function h({className:e,children:t,...s}){return a(o.RadioItem,{"data-slot":`dropdown-menu-radio-item`,className:r(`relative flex cursor-pointer select-none items-center gap-2 rounded-md py-2.5 pr-2 pl-8 text-sm outline-hidden transition-colors`,`focus:bg-muted-muted focus:text-text-positive-strong`,`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:[i(`span`,{className:`pointer-events-none absolute left-2 flex size-3.5 items-center justify-center`,children:i(o.ItemIndicator,{children:i(n,{className:`size-2 fill-current`})})}),t]})}function g({className:e,inset:t,...n}){return i(o.Label,{"data-slot":`dropdown-menu-label`,"data-inset":t,className:r(`px-2 py-1.5 font-medium text-sm text-text-positive-weak data-inset:pl-8`,e),...n})}function _({className:e,...t}){return i(o.Separator,{"data-slot":`dropdown-menu-separator`,className:r(`-mx-1 my-1 h-px bg-border-weak`,e),...t})}function v({className:e,...t}){return i(`span`,{"data-slot":`dropdown-menu-shortcut`,className:r(`ml-auto text-xs text-text-positive-muted tracking-widest`,e),...t})}function y({...e}){return i(o.Sub,{"data-slot":`dropdown-menu-sub`,...e})}function b({className:e,inset:n,children:s,...c}){return a(o.SubTrigger,{"data-slot":`dropdown-menu-sub-trigger`,"data-inset":n,className:r(`flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-2.5 text-sm outline-hidden transition-colors`,`focus:bg-muted-muted focus:text-text-positive-strong`,`data-[state=open]:bg-muted-muted data-[state=open]:text-text-positive-strong`,`data-inset:pl-8`,`[&_svg]:pointer-events-none [&_svg]:shrink-0`,`[&_svg:not([class*='size-'])]:size-4`,e),...c,children:[s,i(t,{className:`ml-auto size-4`})]})}function x({className:e,...t}){return i(o.SubContent,{"data-slot":`dropdown-menu-sub-content`,className:r(`bg-popover text-text-positive`,`z-50 min-w-32`,`overflow-y-auto overflow-x-hidden`,`origin-(--radix-dropdown-menu-content-transform-origin) rounded-md p-1.5 shadow-dropdown`,`data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95`,`data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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`,e),...t})}export{s as DropdownMenu,p as DropdownMenuCheckboxItem,u as DropdownMenuContent,d as DropdownMenuGroup,f as DropdownMenuItem,g as DropdownMenuLabel,c as DropdownMenuPortal,m as DropdownMenuRadioGroup,h as DropdownMenuRadioItem,_ as DropdownMenuSeparator,v as DropdownMenuShortcut,y as DropdownMenuSub,x as DropdownMenuSubContent,b as DropdownMenuSubTrigger,l as DropdownMenuTrigger};
2
+ //# sourceMappingURL=dropdown-menu.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropdown-menu.mjs","names":["DropdownMenuPrimitive"],"sources":["../../packages/components/ui/dropdown-menu.tsx"],"sourcesContent":["'use client';\n\nimport { CheckIcon, ChevronRightIcon, CircleIcon } from 'lucide-react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';\n\n/**\n * Root provider for the DropdownMenu — wraps all sub-components and controls open state.\n *\n * @example\n * ```tsx\n * import {\n * DropdownMenu, DropdownMenuTrigger, DropdownMenuContent,\n * DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator,\n * } from '@customafk/lunas-ui/ui/dropdown-menu';\n *\n * <DropdownMenu>\n * <DropdownMenuTrigger>Options</DropdownMenuTrigger>\n * <DropdownMenuContent>\n * <DropdownMenuLabel>My Account</DropdownMenuLabel>\n * <DropdownMenuSeparator />\n * <DropdownMenuItem>Profile</DropdownMenuItem>\n * <DropdownMenuItem variant=\"destructive\">Delete</DropdownMenuItem>\n * </DropdownMenuContent>\n * </DropdownMenu>\n * ```\n */\nfunction DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {\n return <DropdownMenuPrimitive.Root data-slot=\"dropdown-menu\" {...props} />;\n}\n\n/** Portals DropdownMenu content outside the current DOM hierarchy. */\nfunction DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {\n return <DropdownMenuPrimitive.Portal data-slot=\"dropdown-menu-portal\" {...props} />;\n}\n\n/** Element that opens the DropdownMenu when activated. */\nfunction DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) {\n return <DropdownMenuPrimitive.Trigger data-slot=\"dropdown-menu-trigger\" {...props} />;\n}\n\n/** Animated floating panel that contains the dropdown items. */\nfunction DropdownMenuContent({ className, sideOffset = 4, align = 'start', ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>) {\n return (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n data-slot=\"dropdown-menu-content\"\n sideOffset={sideOffset}\n align={align}\n className={cn(\n 'bg-popover text-text-positive',\n 'z-50 min-w-32',\n 'overflow-y-auto overflow-x-hidden',\n 'rounded-md p-1.5 shadow-dropdown',\n 'max-h-(--radix-dropdown-menu-content-available-height)',\n 'origin-(--radix-dropdown-menu-content-transform-origin)',\n 'data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',\n 'data-[side=bottom]:slide-in-from-top-2',\n 'data-[side=left]:slide-in-from-right-2',\n 'data-[side=right]:slide-in-from-left-2',\n 'data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n );\n}\n\n/** Groups related DropdownMenuItems under a shared logical section. */\nfunction DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>) {\n return <DropdownMenuPrimitive.Group data-slot=\"dropdown-menu-group\" {...props} />;\n}\n\n/**\n * A single clickable row inside a DropdownMenuContent.\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 DropdownMenuItem({\n className,\n inset,\n variant = 'default',\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean;\n variant?: 'default' | 'destructive';\n}) {\n return (\n <DropdownMenuPrimitive.Item\n data-slot=\"dropdown-menu-item\"\n data-inset={inset}\n data-variant={variant}\n className={cn(\n 'relative flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-2.5 text-sm outline-hidden transition-colors',\n 'focus:bg-muted-muted focus:text-text-positive-strong',\n 'data-inset:pl-8',\n 'data-disabled:pointer-events-none data-disabled:opacity-50',\n 'data-[variant=destructive]:text-danger',\n 'data-[variant=destructive]:focus:bg-danger-muted data-[variant=destructive]:focus:text-danger-strong',\n 'data-[variant=destructive]:*:[svg]:text-danger!',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-4\",\n \"[&_svg:not([class*='text-'])]:text-text-positive-weak\",\n className\n )}\n {...props}\n />\n );\n}\n\n/** A checkable menu item that displays a checkmark when selected. */\nfunction DropdownMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>) {\n return (\n <DropdownMenuPrimitive.CheckboxItem\n data-slot=\"dropdown-menu-checkbox-item\"\n className={cn(\n 'relative flex cursor-pointer select-none items-center gap-2 rounded-md py-2.5 pr-2 pl-8 text-sm outline-hidden transition-colors',\n 'focus:bg-muted-muted focus:text-text-positive-strong',\n 'data-disabled:pointer-events-none data-disabled:opacity-50',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n \"[&_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 <DropdownMenuPrimitive.ItemIndicator>\n <CheckIcon size={16} />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n );\n}\n\n/** Groups DropdownMenuRadioItems so only one can be selected at a time. */\nfunction DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) {\n return <DropdownMenuPrimitive.RadioGroup data-slot=\"dropdown-menu-radio-group\" {...props} />;\n}\n\n/** A radio-button menu item; shows a filled circle when selected. */\nfunction DropdownMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>) {\n return (\n <DropdownMenuPrimitive.RadioItem\n data-slot=\"dropdown-menu-radio-item\"\n className={cn(\n 'relative flex cursor-pointer select-none items-center gap-2 rounded-md py-2.5 pr-2 pl-8 text-sm outline-hidden transition-colors',\n 'focus:bg-muted-muted focus:text-text-positive-strong',\n 'data-disabled:pointer-events-none data-disabled:opacity-50',\n '[&_svg]:pointer-events-none [&_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 <DropdownMenuPrimitive.ItemIndicator>\n <CircleIcon className=\"size-2 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n );\n}\n\n/**\n * Non-interactive label used to describe a group of items.\n *\n * @param inset - When true, adds left padding to align with inset items.\n */\nfunction DropdownMenuLabel({\n className,\n inset,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean;\n}) {\n return (\n <DropdownMenuPrimitive.Label\n data-slot=\"dropdown-menu-label\"\n data-inset={inset}\n className={cn('px-2 py-1.5 font-medium text-sm text-text-positive-weak data-inset:pl-8', className)}\n {...props}\n />\n );\n}\n\n/** Horizontal dividing line between groups of dropdown items. */\nfunction DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>) {\n return <DropdownMenuPrimitive.Separator data-slot=\"dropdown-menu-separator\" className={cn('-mx-1 my-1 h-px bg-border-weak', className)} {...props} />;\n}\n\n/** Displays a keyboard shortcut hint aligned to the right of a menu item. */\nfunction DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>) {\n return <span data-slot=\"dropdown-menu-shortcut\" className={cn('ml-auto text-xs text-text-positive-muted tracking-widest', className)} {...props} />;\n}\n\n/** Root container for a nested sub-menu inside a DropdownMenu. */\nfunction DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) {\n return <DropdownMenuPrimitive.Sub data-slot=\"dropdown-menu-sub\" {...props} />;\n}\n\n/**\n * Menu item that reveals a nested DropdownMenuSubContent on hover or activation.\n *\n * @param inset - When true, adds left padding to align with inset items.\n */\nfunction DropdownMenuSubTrigger({\n className,\n inset,\n children,\n ...props\n}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean;\n}) {\n return (\n <DropdownMenuPrimitive.SubTrigger\n data-slot=\"dropdown-menu-sub-trigger\"\n data-inset={inset}\n className={cn(\n 'flex cursor-pointer select-none items-center gap-2 rounded-md px-2 py-2.5 text-sm outline-hidden transition-colors',\n 'focus:bg-muted-muted focus:text-text-positive-strong',\n 'data-[state=open]:bg-muted-muted data-[state=open]:text-text-positive-strong',\n 'data-inset:pl-8',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n \"[&_svg:not([class*='size-'])]:size-4\",\n className\n )}\n {...props}\n >\n {children}\n <ChevronRightIcon className=\"ml-auto size-4\" />\n </DropdownMenuPrimitive.SubTrigger>\n );\n}\n\n/** Floating panel that contains the items of a nested sub-menu. */\nfunction DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {\n return (\n <DropdownMenuPrimitive.SubContent\n data-slot=\"dropdown-menu-sub-content\"\n className={cn(\n 'bg-popover text-text-positive',\n 'z-50 min-w-32',\n 'overflow-y-auto overflow-x-hidden',\n 'origin-(--radix-dropdown-menu-content-transform-origin) rounded-md p-1.5 shadow-dropdown',\n 'data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95',\n 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95',\n 'data-[side=bottom]:slide-in-from-top-2',\n 'data-[side=left]:slide-in-from-right-2',\n 'data-[side=right]:slide-in-from-left-2',\n 'data-[side=top]:slide-in-from-bottom-2',\n className\n )}\n {...props}\n />\n );\n}\n\nexport {\n DropdownMenu,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuPortal,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n};\n"],"mappings":"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"}
package/dist/ui/empty.cjs CHANGED
@@ -1 +1,2 @@
1
- const e=require(`../empty-dUZoxaBx.cjs`);exports.Empty=e.t,exports.EmptyContent=e.n,exports.EmptyDescription=e.r,exports.EmptyHeader=e.i,exports.EmptyMedia=e.a,exports.EmptyTitle=e.o;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("@customafk/react-toolkit/utils"),t=require("class-variance-authority"),n=require("react/jsx-runtime");function r({className:t,...r}){return(0,n.jsx)(`div`,{"data-slot":`empty`,className:(0,e.cn)(`flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12`,t),...r})}function i({className:t,...r}){return(0,n.jsx)(`div`,{"data-slot":`empty-header`,className:(0,e.cn)(`flex max-w-sm flex-col items-center gap-2 text-center`,t),...r})}const a=(0,t.cva)(`flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0`,{variants:{variant:{default:`bg-transparent`,icon:`bg-muted-muted text-text-positive-weak flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6`}},defaultVariants:{variant:`default`}});function o({className:t,variant:r=`default`,...i}){return(0,n.jsx)(`div`,{"data-slot":`empty-icon`,"data-variant":r,className:(0,e.cn)(a({variant:r,className:t})),...i})}function s({className:t,...r}){return(0,n.jsx)(`div`,{"data-slot":`empty-title`,className:(0,e.cn)(`text-lg font-medium tracking-tight`,t),...r})}function c({className:t,...r}){return(0,n.jsx)(`div`,{"data-slot":`empty-description`,className:(0,e.cn)(`text-text-positive-weak [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4`,t),...r})}function l({className:t,...r}){return(0,n.jsx)(`div`,{"data-slot":`empty-content`,className:(0,e.cn)(`flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance`,t),...r})}exports.Empty=r,exports.EmptyContent=l,exports.EmptyDescription=c,exports.EmptyHeader=i,exports.EmptyMedia=o,exports.EmptyTitle=s;
2
+ //# sourceMappingURL=empty.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty.cjs","names":[],"sources":["../../packages/components/ui/empty.tsx"],"sourcesContent":["import { cn } from '@customafk/react-toolkit/utils';\n\nimport type { VariantProps } from 'class-variance-authority';\nimport { cva } from 'class-variance-authority';\n\n/**\n * Full-page or section empty-state container with centred layout and dashed border, composed with EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, and EmptyContent.\n *\n * @example\n * ```tsx\n * import {\n * Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent,\n * } from '@customafk/lunas-ui/ui/empty';\n * import { SearchX } from 'lucide-react';\n *\n * <Empty>\n * <EmptyHeader>\n * <EmptyMedia variant=\"icon\"><SearchX /></EmptyMedia>\n * <EmptyTitle>No results found</EmptyTitle>\n * <EmptyDescription>Try adjusting your search filters.</EmptyDescription>\n * </EmptyHeader>\n * <EmptyContent>\n * <button>Reset filters</button>\n * </EmptyContent>\n * </Empty>\n * ```\n */\nfunction Empty({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty\"\n className={cn('flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12', className)}\n {...props}\n />\n );\n}\n\n/** Centred column container for the media, title, and description of an empty state. */\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-header\" className={cn('flex max-w-sm flex-col items-center gap-2 text-center', className)} {...props} />;\n}\n\nconst emptyMediaVariants = cva('flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0', {\n variants: {\n variant: {\n default: 'bg-transparent',\n icon: \"bg-muted-muted text-text-positive-weak flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\n/**\n * Container for the visual element (illustration, icon, or image) in an empty state.\n *\n * @param variant - `'default'` renders a transparent wrapper; `'icon'` renders a rounded muted square with the icon centred inside.\n */\nfunction EmptyMedia({ className, variant = 'default', ...props }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>) {\n return <div data-slot=\"empty-icon\" data-variant={variant} className={cn(emptyMediaVariants({ variant, className }))} {...props} />;\n}\n\n/** Prominent heading text for the empty state. */\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-title\" className={cn('text-lg font-medium tracking-tight', className)} {...props} />;\n}\n\n/** Supporting body text that explains the empty state to the user. */\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return (\n <div\n data-slot=\"empty-description\"\n className={cn('text-text-positive-weak [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4', className)}\n {...props}\n />\n );\n}\n\n/** Action area below the header — typically holds buttons or links to help the user proceed. */\nfunction EmptyContent({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div data-slot=\"empty-content\" className={cn('flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance', className)} {...props} />\n );\n}\n\nexport { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia };\n"],"mappings":"wLA2BA,SAAS,EAAM,CAAE,YAAW,GAAG,GAAsC,CACnE,OACE,EAAA,EAAA,IAAA,CAAC,MAAD,CACE,YAAU,QACV,WAAA,EAAA,EAAA,GAAA,CAAc,+HAAgI,CAAS,EACvJ,GAAI,CACL,CAAA,CAEL,CAGA,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAA,EAAA,IAAA,CAAC,MAAD,CAAK,YAAU,eAAe,WAAA,EAAA,EAAA,GAAA,CAAc,wDAAyD,CAAS,EAAG,GAAI,CAAQ,CAAA,CACtI,CAEA,MAAM,GAAA,EAAA,EAAA,IAAA,CAAyB,8FAA+F,CAC5H,SAAU,CACR,QAAS,CACP,QAAS,iBACT,KAAM,0IACR,CACF,EACA,gBAAiB,CACf,QAAS,SACX,CACF,CAAC,EAOD,SAAS,EAAW,CAAE,YAAW,UAAU,UAAW,GAAG,GAAgF,CACvI,OAAO,EAAA,EAAA,IAAA,CAAC,MAAD,CAAK,YAAU,aAAa,eAAc,EAAS,WAAA,EAAA,EAAA,GAAA,CAAc,EAAmB,CAAE,UAAS,WAAU,CAAC,CAAC,EAAG,GAAI,CAAQ,CAAA,CACnI,CAGA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAA,EAAA,IAAA,CAAC,MAAD,CAAK,YAAU,cAAc,WAAA,EAAA,EAAA,GAAA,CAAc,qCAAsC,CAAS,EAAG,GAAI,CAAQ,CAAA,CAClH,CAGA,SAAS,EAAiB,CAAE,YAAW,GAAG,GAAoC,CAC5E,OACE,EAAA,EAAA,IAAA,CAAC,MAAD,CACE,YAAU,oBACV,WAAA,EAAA,EAAA,GAAA,CAAc,4GAA6G,CAAS,EACpI,GAAI,CACL,CAAA,CAEL,CAGA,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OACE,EAAA,EAAA,IAAA,CAAC,MAAD,CAAK,YAAU,gBAAgB,WAAA,EAAA,EAAA,GAAA,CAAc,gFAAiF,CAAS,EAAG,GAAI,CAAQ,CAAA,CAE1J"}
@@ -1,2 +1,65 @@
1
- import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "../empty-DaK_4UmN.cjs";
2
- export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
1
+ import { VariantProps } from "class-variance-authority";
2
+
3
+ //#region packages/components/ui/empty.d.ts
4
+ /**
5
+ * Full-page or section empty-state container with centred layout and dashed border, composed with EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, and EmptyContent.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * import {
10
+ * Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent,
11
+ * } from '@customafk/lunas-ui/ui/empty';
12
+ * import { SearchX } from 'lucide-react';
13
+ *
14
+ * <Empty>
15
+ * <EmptyHeader>
16
+ * <EmptyMedia variant="icon"><SearchX /></EmptyMedia>
17
+ * <EmptyTitle>No results found</EmptyTitle>
18
+ * <EmptyDescription>Try adjusting your search filters.</EmptyDescription>
19
+ * </EmptyHeader>
20
+ * <EmptyContent>
21
+ * <button>Reset filters</button>
22
+ * </EmptyContent>
23
+ * </Empty>
24
+ * ```
25
+ */
26
+ declare function Empty({
27
+ className,
28
+ ...props
29
+ }: React.ComponentProps<'div'>): import("react").JSX.Element;
30
+ /** Centred column container for the media, title, and description of an empty state. */
31
+ declare function EmptyHeader({
32
+ className,
33
+ ...props
34
+ }: React.ComponentProps<'div'>): import("react").JSX.Element;
35
+ declare const emptyMediaVariants: (props?: ({
36
+ variant?: "default" | "icon" | null | undefined;
37
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
38
+ /**
39
+ * Container for the visual element (illustration, icon, or image) in an empty state.
40
+ *
41
+ * @param variant - `'default'` renders a transparent wrapper; `'icon'` renders a rounded muted square with the icon centred inside.
42
+ */
43
+ declare function EmptyMedia({
44
+ className,
45
+ variant,
46
+ ...props
47
+ }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): import("react").JSX.Element;
48
+ /** Prominent heading text for the empty state. */
49
+ declare function EmptyTitle({
50
+ className,
51
+ ...props
52
+ }: React.ComponentProps<'div'>): import("react").JSX.Element;
53
+ /** Supporting body text that explains the empty state to the user. */
54
+ declare function EmptyDescription({
55
+ className,
56
+ ...props
57
+ }: React.ComponentProps<'p'>): import("react").JSX.Element;
58
+ /** Action area below the header — typically holds buttons or links to help the user proceed. */
59
+ declare function EmptyContent({
60
+ className,
61
+ ...props
62
+ }: React.ComponentProps<'div'>): import("react").JSX.Element;
63
+ //#endregion
64
+ export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
65
+ //# sourceMappingURL=empty.d.cts.map
@@ -1,2 +1,65 @@
1
- import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "../empty-BhV9ASYf.mjs";
2
- export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
1
+ import { VariantProps } from "class-variance-authority";
2
+
3
+ //#region packages/components/ui/empty.d.ts
4
+ /**
5
+ * Full-page or section empty-state container with centred layout and dashed border, composed with EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, and EmptyContent.
6
+ *
7
+ * @example
8
+ * ```tsx
9
+ * import {
10
+ * Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent,
11
+ * } from '@customafk/lunas-ui/ui/empty';
12
+ * import { SearchX } from 'lucide-react';
13
+ *
14
+ * <Empty>
15
+ * <EmptyHeader>
16
+ * <EmptyMedia variant="icon"><SearchX /></EmptyMedia>
17
+ * <EmptyTitle>No results found</EmptyTitle>
18
+ * <EmptyDescription>Try adjusting your search filters.</EmptyDescription>
19
+ * </EmptyHeader>
20
+ * <EmptyContent>
21
+ * <button>Reset filters</button>
22
+ * </EmptyContent>
23
+ * </Empty>
24
+ * ```
25
+ */
26
+ declare function Empty({
27
+ className,
28
+ ...props
29
+ }: React.ComponentProps<'div'>): import("react").JSX.Element;
30
+ /** Centred column container for the media, title, and description of an empty state. */
31
+ declare function EmptyHeader({
32
+ className,
33
+ ...props
34
+ }: React.ComponentProps<'div'>): import("react").JSX.Element;
35
+ declare const emptyMediaVariants: (props?: ({
36
+ variant?: "default" | "icon" | null | undefined;
37
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
38
+ /**
39
+ * Container for the visual element (illustration, icon, or image) in an empty state.
40
+ *
41
+ * @param variant - `'default'` renders a transparent wrapper; `'icon'` renders a rounded muted square with the icon centred inside.
42
+ */
43
+ declare function EmptyMedia({
44
+ className,
45
+ variant,
46
+ ...props
47
+ }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): import("react").JSX.Element;
48
+ /** Prominent heading text for the empty state. */
49
+ declare function EmptyTitle({
50
+ className,
51
+ ...props
52
+ }: React.ComponentProps<'div'>): import("react").JSX.Element;
53
+ /** Supporting body text that explains the empty state to the user. */
54
+ declare function EmptyDescription({
55
+ className,
56
+ ...props
57
+ }: React.ComponentProps<'p'>): import("react").JSX.Element;
58
+ /** Action area below the header — typically holds buttons or links to help the user proceed. */
59
+ declare function EmptyContent({
60
+ className,
61
+ ...props
62
+ }: React.ComponentProps<'div'>): import("react").JSX.Element;
63
+ //#endregion
64
+ export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
65
+ //# sourceMappingURL=empty.d.mts.map
package/dist/ui/empty.mjs CHANGED
@@ -1 +1,2 @@
1
- import{a as e,i as t,n,o as r,r as i,t as a}from"../empty-D6t3C3WX.mjs";export{a as Empty,n as EmptyContent,i as EmptyDescription,t as EmptyHeader,e as EmptyMedia,r as EmptyTitle};
1
+ import{cn as e}from"@customafk/react-toolkit/utils";import{cva as t}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";function r({className:t,...r}){return n(`div`,{"data-slot":`empty`,className:e(`flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12`,t),...r})}function i({className:t,...r}){return n(`div`,{"data-slot":`empty-header`,className:e(`flex max-w-sm flex-col items-center gap-2 text-center`,t),...r})}const a=t(`flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0`,{variants:{variant:{default:`bg-transparent`,icon:`bg-muted-muted text-text-positive-weak flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6`}},defaultVariants:{variant:`default`}});function o({className:t,variant:r=`default`,...i}){return n(`div`,{"data-slot":`empty-icon`,"data-variant":r,className:e(a({variant:r,className:t})),...i})}function s({className:t,...r}){return n(`div`,{"data-slot":`empty-title`,className:e(`text-lg font-medium tracking-tight`,t),...r})}function c({className:t,...r}){return n(`div`,{"data-slot":`empty-description`,className:e(`text-text-positive-weak [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4`,t),...r})}function l({className:t,...r}){return n(`div`,{"data-slot":`empty-content`,className:e(`flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance`,t),...r})}export{r as Empty,l as EmptyContent,c as EmptyDescription,i as EmptyHeader,o as EmptyMedia,s as EmptyTitle};
2
+ //# sourceMappingURL=empty.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty.mjs","names":[],"sources":["../../packages/components/ui/empty.tsx"],"sourcesContent":["import { cn } from '@customafk/react-toolkit/utils';\n\nimport type { VariantProps } from 'class-variance-authority';\nimport { cva } from 'class-variance-authority';\n\n/**\n * Full-page or section empty-state container with centred layout and dashed border, composed with EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, and EmptyContent.\n *\n * @example\n * ```tsx\n * import {\n * Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent,\n * } from '@customafk/lunas-ui/ui/empty';\n * import { SearchX } from 'lucide-react';\n *\n * <Empty>\n * <EmptyHeader>\n * <EmptyMedia variant=\"icon\"><SearchX /></EmptyMedia>\n * <EmptyTitle>No results found</EmptyTitle>\n * <EmptyDescription>Try adjusting your search filters.</EmptyDescription>\n * </EmptyHeader>\n * <EmptyContent>\n * <button>Reset filters</button>\n * </EmptyContent>\n * </Empty>\n * ```\n */\nfunction Empty({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div\n data-slot=\"empty\"\n className={cn('flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12', className)}\n {...props}\n />\n );\n}\n\n/** Centred column container for the media, title, and description of an empty state. */\nfunction EmptyHeader({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-header\" className={cn('flex max-w-sm flex-col items-center gap-2 text-center', className)} {...props} />;\n}\n\nconst emptyMediaVariants = cva('flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0', {\n variants: {\n variant: {\n default: 'bg-transparent',\n icon: \"bg-muted-muted text-text-positive-weak flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6\",\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n});\n\n/**\n * Container for the visual element (illustration, icon, or image) in an empty state.\n *\n * @param variant - `'default'` renders a transparent wrapper; `'icon'` renders a rounded muted square with the icon centred inside.\n */\nfunction EmptyMedia({ className, variant = 'default', ...props }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>) {\n return <div data-slot=\"empty-icon\" data-variant={variant} className={cn(emptyMediaVariants({ variant, className }))} {...props} />;\n}\n\n/** Prominent heading text for the empty state. */\nfunction EmptyTitle({ className, ...props }: React.ComponentProps<'div'>) {\n return <div data-slot=\"empty-title\" className={cn('text-lg font-medium tracking-tight', className)} {...props} />;\n}\n\n/** Supporting body text that explains the empty state to the user. */\nfunction EmptyDescription({ className, ...props }: React.ComponentProps<'p'>) {\n return (\n <div\n data-slot=\"empty-description\"\n className={cn('text-text-positive-weak [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4', className)}\n {...props}\n />\n );\n}\n\n/** Action area below the header — typically holds buttons or links to help the user proceed. */\nfunction EmptyContent({ className, ...props }: React.ComponentProps<'div'>) {\n return (\n <div data-slot=\"empty-content\" className={cn('flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance', className)} {...props} />\n );\n}\n\nexport { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia };\n"],"mappings":"2IA2BA,SAAS,EAAM,CAAE,YAAW,GAAG,GAAsC,CACnE,OACE,EAAC,MAAD,CACE,YAAU,QACV,UAAW,EAAG,+HAAgI,CAAS,EACvJ,GAAI,CACL,CAAA,CAEL,CAGA,SAAS,EAAY,CAAE,YAAW,GAAG,GAAsC,CACzE,OAAO,EAAC,MAAD,CAAK,YAAU,eAAe,UAAW,EAAG,wDAAyD,CAAS,EAAG,GAAI,CAAQ,CAAA,CACtI,CAEA,MAAM,EAAqB,EAAI,8FAA+F,CAC5H,SAAU,CACR,QAAS,CACP,QAAS,iBACT,KAAM,0IACR,CACF,EACA,gBAAiB,CACf,QAAS,SACX,CACF,CAAC,EAOD,SAAS,EAAW,CAAE,YAAW,UAAU,UAAW,GAAG,GAAgF,CACvI,OAAO,EAAC,MAAD,CAAK,YAAU,aAAa,eAAc,EAAS,UAAW,EAAG,EAAmB,CAAE,UAAS,WAAU,CAAC,CAAC,EAAG,GAAI,CAAQ,CAAA,CACnI,CAGA,SAAS,EAAW,CAAE,YAAW,GAAG,GAAsC,CACxE,OAAO,EAAC,MAAD,CAAK,YAAU,cAAc,UAAW,EAAG,qCAAsC,CAAS,EAAG,GAAI,CAAQ,CAAA,CAClH,CAGA,SAAS,EAAiB,CAAE,YAAW,GAAG,GAAoC,CAC5E,OACE,EAAC,MAAD,CACE,YAAU,oBACV,UAAW,EAAG,4GAA6G,CAAS,EACpI,GAAI,CACL,CAAA,CAEL,CAGA,SAAS,EAAa,CAAE,YAAW,GAAG,GAAsC,CAC1E,OACE,EAAC,MAAD,CAAK,YAAU,gBAAgB,UAAW,EAAG,gFAAiF,CAAS,EAAG,GAAI,CAAQ,CAAA,CAE1J"}
package/dist/ui/field.cjs CHANGED
@@ -1 +1,2 @@
1
- "use client";require(`../separator-BRoS5sU8.cjs`),require(`../label--hinNDHW.cjs`);const e=require(`../field-fIef7NR0.cjs`);exports.Field=e.t,exports.FieldContent=e.n,exports.FieldDescription=e.r,exports.FieldError=e.i,exports.FieldGroup=e.a,exports.FieldLabel=e.o,exports.FieldLegend=e.s,exports.FieldSeparator=e.c,exports.FieldSet=e.l,exports.FieldTitle=e.u;
1
+ "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./separator.cjs"),t=require("./label.cjs");let n=require("lucide-react"),r=require("react"),i=require("@customafk/react-toolkit/utils"),a=require("class-variance-authority"),o=require("react/jsx-runtime");const s=(0,r.memo)(({className:e,...t})=>(0,o.jsx)(`fieldset`,{"data-slot":`field-set`,className:(0,i.cn)(`flex flex-col gap-6`,`has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3`,e),...t}));s.displayName=`FieldSet`;const c=(0,r.memo)(({className:e,variant:t=`legend`,...n})=>(0,o.jsx)(`legend`,{"data-slot":`field-legend`,"data-variant":t,className:(0,i.cn)(`mb-3 font-medium`,`data-[variant=legend]:text-base`,`data-[variant=label]:text-sm`,e),...n}));c.displayName=`FieldLegend`;const l=(0,r.memo)(({className:e,...t})=>(0,o.jsx)(`div`,{"data-slot":`field-group`,className:(0,i.cn)(`group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4`,e),...t}));l.displayName=`FieldGroup`;const u=(0,a.cva)(`group/field flex w-full gap-3 data-[invalid=true]:text-destructive`,{variants:{orientation:{vertical:[`flex-col *:w-full [&>.sr-only]:w-auto`],horizontal:[`flex-row items-center`,`*:data-[slot=field-label]:flex-auto`,`has-[>[data-slot=field-content]]:items-start`,`has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`],responsive:[`flex-col *:w-full [&>.sr-only]:w-auto`,`@md/field-group:flex-row`,`@md/field-group:items-center`,`@md/field-group:*:w-auto`,`@md/field-group:*:data-[slot=field-label]:flex-auto`,`@md/field-group:has-[>[data-slot=field-content]]:items-start`,`@md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`]}},defaultVariants:{orientation:`vertical`}}),d=(0,r.memo)(({className:e,orientation:t=`vertical`,...n})=>(0,o.jsx)(`div`,{"data-slot":`field`,"data-orientation":t,className:(0,i.cn)(u({orientation:t}),e),...n}));d.displayName=`Field`;const f=(0,r.memo)(({className:e,...t})=>(0,o.jsx)(`div`,{"data-slot":`field-content`,className:(0,i.cn)(`group/field-content flex basis-2/5 flex-col gap-1.5 leading-snug`,e),...t}));f.displayName=`FieldContent`;const p=(0,r.memo)(({className:e,...n})=>(0,o.jsx)(t.Label,{"data-slot":`field-label`,className:(0,i.cn)(`group/field-label peer/field-label flex w-fit gap-2 leading-snug`,`group-data-[disabled=true]/field:opacity-50`,`has-[>[data-slot=field]]:w-full`,`has-[>[data-slot=field]]:flex-col`,`has-[>[data-slot=field]]:rounded-md`,`has-[>[data-slot=field]]:border`,`*:data-[slot=field]:p-4`,`has-data-[state=checked]:bg-primary/5`,`has-data-[state=checked]:border-primary`,e),...n}));p.displayName=`FieldLabel`;const m=(0,r.memo)(({className:e,...t})=>(0,o.jsx)(`div`,{"data-slot":`field-label`,className:(0,i.cn)(`flex w-fit items-center gap-2 font-medium text-sm leading-snug group-data-[disabled=true]/field:opacity-50`,e),...t}));m.displayName=`FieldTitle`;const h=(0,r.memo)(({className:e,...t})=>(0,o.jsx)(`p`,{"data-slot":`field-description`,className:(0,i.cn)(`text-text-positive-weak text-sm leading-normal font-normal group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...t}));h.displayName=`FieldDescription`;const g=(0,r.memo)(({children:t,className:n,...r})=>(0,o.jsxs)(`div`,{"data-slot":`field-separator`,"data-content":!!t,className:(0,i.cn)(`relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2`,n),...r,children:[(0,o.jsx)(e.Separator,{className:`absolute inset-0 top-1/2`}),t&&(0,o.jsx)(`span`,{className:`relative mx-auto block w-fit bg-background px-2 text-text-positive-weak`,"data-slot":`field-separator-content`,children:t})]}));g.displayName=`FieldSeparator`;const _=(0,r.memo)(({className:e,children:t,errors:a,...s})=>{let c=(0,r.useMemo)(()=>t||(a?a?.length===1&&a[0]?.message?(0,o.jsxs)(`div`,{className:`flex flex-row items-center justify-start gap-x-0.5`,children:[(0,o.jsx)(n.BanIcon,{size:14}),(0,o.jsx)(`p`,{children:a[0].message})]}):(0,o.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:a.map(e=>typeof e==`string`?(0,o.jsx)(`li`,{children:e},e):e?.message?(0,o.jsx)(`li`,{children:e.message},e.message):null)}):null),[t,a]);return c?(0,o.jsx)(`div`,{role:`alert`,"data-slot":`field-error`,className:(0,i.cn)(`w-full font-normal text-danger text-xs`,e),...s,children:c}):null});_.displayName=`FieldError`,exports.Field=d,exports.FieldContent=f,exports.FieldDescription=h,exports.FieldError=_,exports.FieldGroup=l,exports.FieldLabel=p,exports.FieldLegend=c,exports.FieldSeparator=g,exports.FieldSet=s,exports.FieldTitle=m;
2
+ //# sourceMappingURL=field.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field.cjs","names":["Label","Separator","BanIcon"],"sources":["../../packages/components/ui/field.tsx"],"sourcesContent":["'use client';\n\nimport { memo, useMemo } from 'react';\n\nimport { BanIcon } from 'lucide-react';\n\nimport { cn } from '@customafk/react-toolkit/utils';\n\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport { Label } from '@/components/ui/label';\nimport { Separator } from '@/components/ui/separator';\n\nconst FieldSet = memo(({ className, ...props }: React.ComponentProps<'fieldset'>) => {\n return (\n <fieldset\n data-slot=\"field-set\"\n className={cn('flex flex-col gap-6', 'has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3', className)}\n {...props}\n />\n );\n});\nFieldSet.displayName = 'FieldSet';\n\nconst FieldLegend = memo(({ className, variant = 'legend', ...props }: React.ComponentProps<'legend'> & { variant?: 'legend' | 'label' }) => {\n return (\n <legend\n data-slot=\"field-legend\"\n data-variant={variant}\n className={cn('mb-3 font-medium', 'data-[variant=legend]:text-base', 'data-[variant=label]:text-sm', className)}\n {...props}\n />\n );\n});\nFieldLegend.displayName = 'FieldLegend';\n\nconst FieldGroup = memo(({ className, ...props }: React.ComponentProps<'div'>) => {\n return (\n <div\n data-slot=\"field-group\"\n className={cn(\n 'group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4',\n className\n )}\n {...props}\n />\n );\n});\nFieldGroup.displayName = 'FieldGroup';\n\nconst fieldVariants = cva('group/field flex w-full gap-3 data-[invalid=true]:text-destructive', {\n variants: {\n orientation: {\n vertical: ['flex-col *:w-full [&>.sr-only]:w-auto'],\n horizontal: [\n 'flex-row items-center',\n '*:data-[slot=field-label]:flex-auto',\n 'has-[>[data-slot=field-content]]:items-start',\n 'has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',\n ],\n responsive: [\n 'flex-col *:w-full [&>.sr-only]:w-auto',\n '@md/field-group:flex-row',\n '@md/field-group:items-center',\n '@md/field-group:*:w-auto',\n '@md/field-group:*:data-[slot=field-label]:flex-auto',\n '@md/field-group:has-[>[data-slot=field-content]]:items-start',\n '@md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px',\n ],\n },\n },\n defaultVariants: {\n orientation: 'vertical',\n },\n});\n\nconst Field = memo(({ className, orientation = 'vertical', ...props }: React.ComponentProps<'div'> & VariantProps<typeof fieldVariants>) => {\n return <div data-slot=\"field\" data-orientation={orientation} className={cn(fieldVariants({ orientation }), className)} {...props} />;\n});\nField.displayName = 'Field';\n\nconst FieldContent = memo(({ className, ...props }: React.ComponentProps<'div'>) => {\n return <div data-slot=\"field-content\" className={cn('group/field-content flex basis-2/5 flex-col gap-1.5 leading-snug', className)} {...props} />;\n});\nFieldContent.displayName = 'FieldContent';\n\nconst FieldLabel = memo(({ className, ...props }: React.ComponentProps<typeof Label>) => {\n return (\n <Label\n data-slot=\"field-label\"\n className={cn(\n 'group/field-label peer/field-label flex w-fit gap-2 leading-snug',\n 'group-data-[disabled=true]/field:opacity-50',\n 'has-[>[data-slot=field]]:w-full',\n 'has-[>[data-slot=field]]:flex-col',\n 'has-[>[data-slot=field]]:rounded-md',\n 'has-[>[data-slot=field]]:border',\n '*:data-[slot=field]:p-4',\n 'has-data-[state=checked]:bg-primary/5',\n 'has-data-[state=checked]:border-primary',\n className\n )}\n {...props}\n />\n );\n});\nFieldLabel.displayName = 'FieldLabel';\n\nconst FieldTitle = memo(({ className, ...props }: React.ComponentProps<'div'>) => {\n return (\n <div\n data-slot=\"field-label\"\n className={cn('flex w-fit items-center gap-2 font-medium text-sm leading-snug group-data-[disabled=true]/field:opacity-50', className)}\n {...props}\n />\n );\n});\nFieldTitle.displayName = 'FieldTitle';\n\nconst FieldDescription = memo(({ className, ...props }: React.ComponentProps<'p'>) => {\n return (\n <p\n data-slot=\"field-description\"\n className={cn(\n 'text-text-positive-weak text-sm leading-normal font-normal group-has-data-[orientation=horizontal]/field:text-balance',\n 'last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5',\n '[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',\n className\n )}\n {...props}\n />\n );\n});\nFieldDescription.displayName = 'FieldDescription';\n\nconst FieldSeparator = memo(\n ({\n children,\n className,\n ...props\n }: React.ComponentProps<'div'> & {\n children?: React.ReactNode;\n }) => {\n return (\n <div\n data-slot=\"field-separator\"\n data-content={!!children}\n className={cn('relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2', className)}\n {...props}\n >\n <Separator className=\"absolute inset-0 top-1/2\" />\n {children && (\n <span className=\"relative mx-auto block w-fit bg-background px-2 text-text-positive-weak\" data-slot=\"field-separator-content\">\n {children}\n </span>\n )}\n </div>\n );\n }\n);\nFieldSeparator.displayName = 'FieldSeparator';\n\nconst FieldError = memo(\n ({\n className,\n children,\n errors,\n ...props\n }: React.ComponentProps<'div'> & {\n errors?: Array<{ message?: string } | undefined>;\n }) => {\n const content = useMemo(() => {\n if (children) {\n return children;\n }\n\n if (!errors) {\n return null;\n }\n\n if (errors?.length === 1 && errors[0]?.message) {\n return (\n <div className=\"flex flex-row items-center justify-start gap-x-0.5\">\n <BanIcon size={14} />\n <p>{errors[0].message}</p>\n </div>\n );\n }\n\n return (\n <ul className=\"ml-4 flex list-disc flex-col gap-1\">\n {errors.map(error => {\n if (typeof error === 'string') return <li key={error}>{error}</li>;\n if (!error?.message) return null;\n return <li key={error.message}>{error.message}</li>;\n })}\n </ul>\n );\n }, [children, errors]);\n\n if (!content) {\n return null;\n }\n\n return (\n <div role=\"alert\" data-slot=\"field-error\" className={cn('w-full font-normal text-danger text-xs', className)} {...props}>\n {content}\n </div>\n );\n }\n);\nFieldError.displayName = 'FieldError';\n\nexport { Field, FieldLabel, FieldDescription, FieldError, FieldGroup, FieldLegend, FieldSeparator, FieldSet, FieldContent, FieldTitle };\n"],"mappings":"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"}