dgz-ui 1.4.2 → 1.4.4

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 (290) hide show
  1. package/dist/accordion/index.cjs.js +1 -1
  2. package/dist/accordion/index.es.js +1 -1
  3. package/dist/alert/index.cjs.js +1 -1
  4. package/dist/alert/index.es.js +1 -1
  5. package/dist/alert-dialog/index.cjs.js +1 -1
  6. package/dist/alert-dialog/index.es.js +1 -1
  7. package/dist/avatar/index.cjs.js +1 -1
  8. package/dist/avatar/index.es.js +1 -1
  9. package/dist/badge/index.cjs.js +1 -1
  10. package/dist/badge/index.es.js +1 -1
  11. package/dist/breadcrumb/index.cjs.js +1 -1
  12. package/dist/breadcrumb/index.es.js +1 -1
  13. package/dist/button/index.cjs.js +1 -1
  14. package/dist/button/index.es.js +2 -2
  15. package/dist/calendar/index.cjs.js +1 -1
  16. package/dist/calendar/index.es.js +1 -1
  17. package/dist/card/index.cjs.js +1 -1
  18. package/dist/card/index.es.js +1 -1
  19. package/dist/chunks/{alert-D7LmNw1T.es.js → alert-BX7k7R2a.es.js} +3 -3
  20. package/dist/chunks/{alert-D7LmNw1T.es.js.map → alert-BX7k7R2a.es.js.map} +1 -1
  21. package/dist/chunks/alert-BxS8Cjkv.cjs.js +2 -0
  22. package/dist/chunks/{alert-CQSIGY8u.cjs.js.map → alert-BxS8Cjkv.cjs.js.map} +1 -1
  23. package/dist/chunks/{alert-dialog-CzUfOXS5.es.js → alert-dialog-CI_hZyxN.es.js} +3 -3
  24. package/dist/chunks/{alert-dialog-CzUfOXS5.es.js.map → alert-dialog-CI_hZyxN.es.js.map} +1 -1
  25. package/dist/chunks/{alert-dialog-DL4wcaQu.cjs.js → alert-dialog-CYT3LDhH.cjs.js} +2 -2
  26. package/dist/chunks/{alert-dialog-DL4wcaQu.cjs.js.map → alert-dialog-CYT3LDhH.cjs.js.map} +1 -1
  27. package/dist/chunks/{avatar-MPlL_Ty_.es.js → avatar-CYP7jfXP.es.js} +3 -3
  28. package/dist/chunks/{avatar-MPlL_Ty_.es.js.map → avatar-CYP7jfXP.es.js.map} +1 -1
  29. package/dist/chunks/{avatar-DpvcnhV-.cjs.js → avatar-Djf5Tj2g.cjs.js} +2 -2
  30. package/dist/chunks/{avatar-DpvcnhV-.cjs.js.map → avatar-Djf5Tj2g.cjs.js.map} +1 -1
  31. package/dist/chunks/{badge-hJsnkvT2.cjs.js → badge-B8BYFX2h.cjs.js} +2 -2
  32. package/dist/chunks/{badge-hJsnkvT2.cjs.js.map → badge-B8BYFX2h.cjs.js.map} +1 -1
  33. package/dist/chunks/{badge-aHtYwGC6.es.js → badge-HxjENCrW.es.js} +3 -3
  34. package/dist/chunks/{badge-aHtYwGC6.es.js.map → badge-HxjENCrW.es.js.map} +1 -1
  35. package/dist/chunks/{breadcrumb-DnNcGh5W.cjs.js → breadcrumb-C35eAbNX.cjs.js} +2 -2
  36. package/dist/chunks/{breadcrumb-DnNcGh5W.cjs.js.map → breadcrumb-C35eAbNX.cjs.js.map} +1 -1
  37. package/dist/chunks/{breadcrumb-bqnNQa9z.es.js → breadcrumb-EB-LAq21.es.js} +2 -2
  38. package/dist/chunks/{breadcrumb-bqnNQa9z.es.js.map → breadcrumb-EB-LAq21.es.js.map} +1 -1
  39. package/dist/chunks/{button-C7Gcg6zZ.es.js → button-Bmtxy091.es.js} +3 -3
  40. package/dist/chunks/{button-C7Gcg6zZ.es.js.map → button-Bmtxy091.es.js.map} +1 -1
  41. package/dist/chunks/{button-BXJ2cCVi.cjs.js → button-DLexbK7C.cjs.js} +2 -2
  42. package/dist/chunks/{button-BXJ2cCVi.cjs.js.map → button-DLexbK7C.cjs.js.map} +1 -1
  43. package/dist/chunks/{button-group-C-wxmoqI.cjs.js → button-group-CJy5raYG.cjs.js} +2 -2
  44. package/dist/chunks/{button-group-C-wxmoqI.cjs.js.map → button-group-CJy5raYG.cjs.js.map} +1 -1
  45. package/dist/chunks/{button-group-BhWr6-zT.es.js → button-group-X3ovdyZa.es.js} +4 -4
  46. package/dist/chunks/{button-group-BhWr6-zT.es.js.map → button-group-X3ovdyZa.es.js.map} +1 -1
  47. package/dist/chunks/{card-DI87w6OJ.es.js → card-B87RYuvO.es.js} +2 -2
  48. package/dist/chunks/{card-DI87w6OJ.es.js.map → card-B87RYuvO.es.js.map} +1 -1
  49. package/dist/chunks/{card-ClxRfnoC.cjs.js → card-Dokrjefn.cjs.js} +2 -2
  50. package/dist/chunks/{card-ClxRfnoC.cjs.js.map → card-Dokrjefn.cjs.js.map} +1 -1
  51. package/dist/chunks/{dialog-GOgVHI10.cjs.js → dialog-BPf6W1Ey.cjs.js} +2 -2
  52. package/dist/chunks/{dialog-GOgVHI10.cjs.js.map → dialog-BPf6W1Ey.cjs.js.map} +1 -1
  53. package/dist/chunks/{dialog-qFrwoli6.es.js → dialog-uf69DzUa.es.js} +2 -2
  54. package/dist/chunks/{dialog-qFrwoli6.es.js.map → dialog-uf69DzUa.es.js.map} +1 -1
  55. package/dist/chunks/{dropdown-menu-CcnbP9h5.cjs.js → dropdown-menu-C-j2KDqD.cjs.js} +2 -2
  56. package/dist/chunks/{dropdown-menu-CcnbP9h5.cjs.js.map → dropdown-menu-C-j2KDqD.cjs.js.map} +1 -1
  57. package/dist/chunks/{dropdown-menu-JHkGiwgd.es.js → dropdown-menu-Cf2QR_6G.es.js} +2 -2
  58. package/dist/chunks/{dropdown-menu-JHkGiwgd.es.js.map → dropdown-menu-Cf2QR_6G.es.js.map} +1 -1
  59. package/dist/chunks/{utils-BWS4jvS6.cjs.js → index-BWS4jvS6.cjs.js} +1 -1
  60. package/dist/chunks/{utils-BWS4jvS6.cjs.js.map → index-BWS4jvS6.cjs.js.map} +1 -1
  61. package/dist/chunks/{index-DcN2zBOn.es.js → index-CjQdyVZP.es.js} +2 -2
  62. package/dist/chunks/{index-DcN2zBOn.es.js.map → index-CjQdyVZP.es.js.map} +1 -1
  63. package/dist/chunks/{utils-D6dQK9i-.es.js → index-D6dQK9i-.es.js} +1 -1
  64. package/dist/chunks/{utils-D6dQK9i-.es.js.map → index-D6dQK9i-.es.js.map} +1 -1
  65. package/dist/chunks/{index-BP8Me5c9.cjs.js → index-DYLHhjdc.cjs.js} +2 -2
  66. package/dist/chunks/{index-BP8Me5c9.cjs.js.map → index-DYLHhjdc.cjs.js.map} +1 -1
  67. package/dist/chunks/{pagination-OOZcw7Uk.cjs.js → pagination-CTObiCsb.cjs.js} +2 -2
  68. package/dist/chunks/{pagination-OOZcw7Uk.cjs.js.map → pagination-CTObiCsb.cjs.js.map} +1 -1
  69. package/dist/chunks/{pagination-CVVv1cmw.es.js → pagination-DCKYWE_h.es.js} +3 -3
  70. package/dist/chunks/{pagination-CVVv1cmw.es.js.map → pagination-DCKYWE_h.es.js.map} +1 -1
  71. package/dist/chunks/{popover-B52SY7sk.es.js → popover-ChtTV2vy.es.js} +2 -2
  72. package/dist/chunks/{popover-B52SY7sk.es.js.map → popover-ChtTV2vy.es.js.map} +1 -1
  73. package/dist/chunks/{popover-Cqh2olw7.cjs.js → popover-cRDGBSyg.cjs.js} +2 -2
  74. package/dist/chunks/{popover-Cqh2olw7.cjs.js.map → popover-cRDGBSyg.cjs.js.map} +1 -1
  75. package/dist/chunks/{react-select-1n8mmj6n.cjs.js → react-select-BMUXioF-.cjs.js} +2 -2
  76. package/dist/chunks/{react-select-1n8mmj6n.cjs.js.map → react-select-BMUXioF-.cjs.js.map} +1 -1
  77. package/dist/chunks/{react-select-C21jRzGG.es.js → react-select-BZNH2z5G.es.js} +2 -2
  78. package/dist/chunks/{react-select-C21jRzGG.es.js.map → react-select-BZNH2z5G.es.js.map} +1 -1
  79. package/dist/chunks/{scroll-area-DfdUITCu.cjs.js → scroll-area-sLp4wPce.cjs.js} +2 -2
  80. package/dist/chunks/{scroll-area-DfdUITCu.cjs.js.map → scroll-area-sLp4wPce.cjs.js.map} +1 -1
  81. package/dist/chunks/{scroll-area-CpVgh3EC.es.js → scroll-area-x2hiTYmL.es.js} +2 -2
  82. package/dist/chunks/{scroll-area-CpVgh3EC.es.js.map → scroll-area-x2hiTYmL.es.js.map} +1 -1
  83. package/dist/chunks/{separator-57fHPAAv.es.js → separator-DndNTVv8.es.js} +2 -2
  84. package/dist/chunks/{separator-57fHPAAv.es.js.map → separator-DndNTVv8.es.js.map} +1 -1
  85. package/dist/chunks/separator-uzP1VAwc.cjs.js +2 -0
  86. package/dist/chunks/{separator-BGecc9_9.cjs.js.map → separator-uzP1VAwc.cjs.js.map} +1 -1
  87. package/dist/chunks/{sheet-mOWVchUb.es.js → sheet-DA8VIjuc.es.js} +2 -2
  88. package/dist/chunks/{sheet-mOWVchUb.es.js.map → sheet-DA8VIjuc.es.js.map} +1 -1
  89. package/dist/chunks/{sheet-D9FzT7-2.cjs.js → sheet-DW-A2lN1.cjs.js} +2 -2
  90. package/dist/chunks/{sheet-D9FzT7-2.cjs.js.map → sheet-DW-A2lN1.cjs.js.map} +1 -1
  91. package/dist/chunks/{skeleton-iS5JnNYj.es.js → skeleton-DV_2OytH.es.js} +2 -2
  92. package/dist/chunks/{skeleton-iS5JnNYj.es.js.map → skeleton-DV_2OytH.es.js.map} +1 -1
  93. package/dist/chunks/skeleton-ZHnXbbz7.cjs.js +2 -0
  94. package/dist/chunks/{skeleton-9sn_asi7.cjs.js.map → skeleton-ZHnXbbz7.cjs.js.map} +1 -1
  95. package/dist/chunks/{table-BVd6_9C_.cjs.js → table-C-g7CjMt.cjs.js} +2 -2
  96. package/dist/chunks/{table-BVd6_9C_.cjs.js.map → table-C-g7CjMt.cjs.js.map} +1 -1
  97. package/dist/chunks/{table-BEkdKcLT.es.js → table-QbNlEa1M.es.js} +2 -2
  98. package/dist/chunks/{table-BEkdKcLT.es.js.map → table-QbNlEa1M.es.js.map} +1 -1
  99. package/dist/chunks/{tabs-CM-4YRSm.cjs.js → tabs-BlegmXly.cjs.js} +2 -2
  100. package/dist/chunks/{tabs-CM-4YRSm.cjs.js.map → tabs-BlegmXly.cjs.js.map} +1 -1
  101. package/dist/chunks/{tabs-ZQOtwowh.es.js → tabs-CRRAsNQc.es.js} +4 -4
  102. package/dist/chunks/{tabs-ZQOtwowh.es.js.map → tabs-CRRAsNQc.es.js.map} +1 -1
  103. package/dist/chunks/{textarea-BMWqCc_u.es.js → textarea-8vGfOVgJ.es.js} +5 -5
  104. package/dist/chunks/{textarea-BMWqCc_u.es.js.map → textarea-8vGfOVgJ.es.js.map} +1 -1
  105. package/dist/chunks/{textarea-CMf8d5De.cjs.js → textarea-BDLfK2oi.cjs.js} +2 -2
  106. package/dist/chunks/{textarea-CMf8d5De.cjs.js.map → textarea-BDLfK2oi.cjs.js.map} +1 -1
  107. package/dist/chunks/{timepicker-BrheCNFo.es.js → timepicker-DAfrmRJT.es.js} +11 -11
  108. package/dist/chunks/{timepicker-BrheCNFo.es.js.map → timepicker-DAfrmRJT.es.js.map} +1 -1
  109. package/dist/chunks/{timepicker-tNcXx_H1.cjs.js → timepicker-DuMTmz-u.cjs.js} +2 -2
  110. package/dist/chunks/{timepicker-tNcXx_H1.cjs.js.map → timepicker-DuMTmz-u.cjs.js.map} +1 -1
  111. package/dist/chunks/{tooltip-DSraOWNq.cjs.js → tooltip-DD-snel0.cjs.js} +2 -2
  112. package/dist/chunks/{tooltip-DSraOWNq.cjs.js.map → tooltip-DD-snel0.cjs.js.map} +1 -1
  113. package/dist/chunks/{tooltip-DCNsfjjI.es.js → tooltip-DHg9332v.es.js} +2 -2
  114. package/dist/chunks/{tooltip-DCNsfjjI.es.js.map → tooltip-DHg9332v.es.js.map} +1 -1
  115. package/dist/dialog/index.cjs.js +1 -1
  116. package/dist/dialog/index.es.js +1 -1
  117. package/dist/dropdown/index.cjs.js +1 -1
  118. package/dist/dropdown/index.es.js +1 -1
  119. package/dist/form/index.cjs.js +1 -1
  120. package/dist/form/index.es.js +2 -2
  121. package/dist/index.cjs.js +1 -1
  122. package/dist/index.es.js +23 -23
  123. package/dist/pagination/index.cjs.js +1 -1
  124. package/dist/pagination/index.es.js +1 -1
  125. package/dist/popover/index.cjs.js +1 -1
  126. package/dist/popover/index.es.js +1 -1
  127. package/dist/progress/index.cjs.js +1 -1
  128. package/dist/progress/index.es.js +1 -1
  129. package/dist/scroll-area/index.cjs.js +1 -1
  130. package/dist/scroll-area/index.es.js +1 -1
  131. package/dist/separator/index.cjs.js +1 -1
  132. package/dist/separator/index.es.js +1 -1
  133. package/dist/sheet/index.cjs.js +1 -1
  134. package/dist/sheet/index.es.js +1 -1
  135. package/dist/skeleton/index.cjs.js +1 -1
  136. package/dist/skeleton/index.es.js +1 -1
  137. package/dist/tab/index.cjs.js +1 -1
  138. package/dist/tab/index.es.js +1 -1
  139. package/dist/table/index.cjs.js +1 -1
  140. package/dist/table/index.es.js +1 -1
  141. package/dist/tooltip/index.cjs.js +1 -1
  142. package/dist/tooltip/index.es.js +1 -1
  143. package/dist/types/App.d.ts +9 -0
  144. package/dist/types/App.d.ts.map +1 -0
  145. package/dist/types/hooks/use-mobile.d.ts +8 -0
  146. package/dist/types/hooks/use-mobile.d.ts.map +1 -0
  147. package/dist/types/index.d.ts +28 -0
  148. package/dist/types/index.d.ts.map +1 -0
  149. package/dist/types/lib/day.d.ts +7 -0
  150. package/dist/types/lib/day.d.ts.map +1 -0
  151. package/dist/types/lib/index.d.ts +5 -0
  152. package/dist/types/lib/index.d.ts.map +1 -0
  153. package/dist/types/lib/utils.d.ts +10 -0
  154. package/dist/types/lib/utils.d.ts.map +1 -0
  155. package/dist/types/main.d.ts +1 -0
  156. package/dist/types/main.d.ts.map +1 -0
  157. package/dist/types/types/element-data.type.d.ts +4 -0
  158. package/dist/types/types/element-data.type.d.ts.map +1 -0
  159. package/dist/types/types/index.d.ts +2 -0
  160. package/dist/types/types/index.d.ts.map +1 -0
  161. package/dist/types/ui/accordion/accordion.d.ts +67 -0
  162. package/dist/types/ui/accordion/accordion.d.ts.map +1 -0
  163. package/dist/types/ui/accordion/index.d.ts +2 -0
  164. package/dist/types/ui/accordion/index.d.ts.map +1 -0
  165. package/dist/types/ui/alert/alert.d.ts +31 -0
  166. package/dist/types/ui/alert/alert.d.ts.map +1 -0
  167. package/dist/types/ui/alert/index.d.ts +2 -0
  168. package/dist/types/ui/alert/index.d.ts.map +1 -0
  169. package/dist/types/ui/alert-dialog/alert-dialog.d.ts +54 -0
  170. package/dist/types/ui/alert-dialog/alert-dialog.d.ts.map +1 -0
  171. package/dist/types/ui/alert-dialog/index.d.ts +2 -0
  172. package/dist/types/ui/alert-dialog/index.d.ts.map +1 -0
  173. package/dist/types/ui/avatar/avatar.d.ts +86 -0
  174. package/dist/types/ui/avatar/avatar.d.ts.map +1 -0
  175. package/dist/types/ui/avatar/index.d.ts +2 -0
  176. package/dist/types/ui/avatar/index.d.ts.map +1 -0
  177. package/dist/types/ui/badge/badge.d.ts +45 -0
  178. package/dist/types/ui/badge/badge.d.ts.map +1 -0
  179. package/dist/types/ui/badge/index.d.ts +2 -0
  180. package/dist/types/ui/badge/index.d.ts.map +1 -0
  181. package/dist/types/ui/breadcrumb/breadcrumb.d.ts +58 -0
  182. package/dist/types/ui/breadcrumb/breadcrumb.d.ts.map +1 -0
  183. package/dist/types/ui/breadcrumb/index.d.ts +2 -0
  184. package/dist/types/ui/breadcrumb/index.d.ts.map +1 -0
  185. package/dist/types/ui/button/button-group.d.ts +43 -0
  186. package/dist/types/ui/button/button-group.d.ts.map +1 -0
  187. package/dist/types/ui/button/button.d.ts +42 -0
  188. package/dist/types/ui/button/button.d.ts.map +1 -0
  189. package/dist/types/ui/button/index.d.ts +3 -0
  190. package/dist/types/ui/button/index.d.ts.map +1 -0
  191. package/dist/types/ui/calendar/calendar.d.ts +84 -0
  192. package/dist/types/ui/calendar/calendar.d.ts.map +1 -0
  193. package/dist/types/ui/calendar/datepicker.d.ts +8 -0
  194. package/dist/types/ui/calendar/datepicker.d.ts.map +1 -0
  195. package/dist/types/ui/calendar/index.d.ts +4 -0
  196. package/dist/types/ui/calendar/index.d.ts.map +1 -0
  197. package/dist/types/ui/calendar/timepicker.d.ts +35 -0
  198. package/dist/types/ui/calendar/timepicker.d.ts.map +1 -0
  199. package/dist/types/ui/card/card.d.ts +31 -0
  200. package/dist/types/ui/card/card.d.ts.map +1 -0
  201. package/dist/types/ui/card/index.d.ts +2 -0
  202. package/dist/types/ui/card/index.d.ts.map +1 -0
  203. package/dist/types/ui/collapsible/collapsible.d.ts +15 -0
  204. package/dist/types/ui/collapsible/collapsible.d.ts.map +1 -0
  205. package/dist/types/ui/collapsible/index.d.ts +2 -0
  206. package/dist/types/ui/collapsible/index.d.ts.map +1 -0
  207. package/dist/types/ui/dialog/dialog.d.ts +57 -0
  208. package/dist/types/ui/dialog/dialog.d.ts.map +1 -0
  209. package/dist/types/ui/dialog/index.d.ts +2 -0
  210. package/dist/types/ui/dialog/index.d.ts.map +1 -0
  211. package/dist/types/ui/dropdown/dropdown-menu.d.ts +70 -0
  212. package/dist/types/ui/dropdown/dropdown-menu.d.ts.map +1 -0
  213. package/dist/types/ui/dropdown/index.d.ts +2 -0
  214. package/dist/types/ui/dropdown/index.d.ts.map +1 -0
  215. package/dist/types/ui/form/checkbox.d.ts +14 -0
  216. package/dist/types/ui/form/checkbox.d.ts.map +1 -0
  217. package/dist/types/ui/form/filepond-container.d.ts +25 -0
  218. package/dist/types/ui/form/filepond-container.d.ts.map +1 -0
  219. package/dist/types/ui/form/form.d.ts +68 -0
  220. package/dist/types/ui/form/form.d.ts.map +1 -0
  221. package/dist/types/ui/form/html-editor.d.ts +36 -0
  222. package/dist/types/ui/form/html-editor.d.ts.map +1 -0
  223. package/dist/types/ui/form/index.d.ts +13 -0
  224. package/dist/types/ui/form/index.d.ts.map +1 -0
  225. package/dist/types/ui/form/input-mask.d.ts +111 -0
  226. package/dist/types/ui/form/input-mask.d.ts.map +1 -0
  227. package/dist/types/ui/form/input.d.ts +20 -0
  228. package/dist/types/ui/form/input.d.ts.map +1 -0
  229. package/dist/types/ui/form/label.d.ts +11 -0
  230. package/dist/types/ui/form/label.d.ts.map +1 -0
  231. package/dist/types/ui/form/radio-group.d.ts +18 -0
  232. package/dist/types/ui/form/radio-group.d.ts.map +1 -0
  233. package/dist/types/ui/form/react-select.d.ts +40 -0
  234. package/dist/types/ui/form/react-select.d.ts.map +1 -0
  235. package/dist/types/ui/form/select.d.ts +57 -0
  236. package/dist/types/ui/form/select.d.ts.map +1 -0
  237. package/dist/types/ui/form/switch.d.ts +14 -0
  238. package/dist/types/ui/form/switch.d.ts.map +1 -0
  239. package/dist/types/ui/form/textarea.d.ts +18 -0
  240. package/dist/types/ui/form/textarea.d.ts.map +1 -0
  241. package/dist/types/ui/pagination/index.d.ts +2 -0
  242. package/dist/types/ui/pagination/index.d.ts.map +1 -0
  243. package/dist/types/ui/pagination/pagination.d.ts +78 -0
  244. package/dist/types/ui/pagination/pagination.d.ts.map +1 -0
  245. package/dist/types/ui/popover/index.d.ts +2 -0
  246. package/dist/types/ui/popover/index.d.ts.map +1 -0
  247. package/dist/types/ui/popover/popover.d.ts +27 -0
  248. package/dist/types/ui/popover/popover.d.ts.map +1 -0
  249. package/dist/types/ui/progress/index.d.ts +2 -0
  250. package/dist/types/ui/progress/index.d.ts.map +1 -0
  251. package/dist/types/ui/progress/progress.d.ts +14 -0
  252. package/dist/types/ui/progress/progress.d.ts.map +1 -0
  253. package/dist/types/ui/scroll-area/index.d.ts +2 -0
  254. package/dist/types/ui/scroll-area/index.d.ts.map +1 -0
  255. package/dist/types/ui/scroll-area/scroll-area.d.ts +20 -0
  256. package/dist/types/ui/scroll-area/scroll-area.d.ts.map +1 -0
  257. package/dist/types/ui/separator/index.d.ts +2 -0
  258. package/dist/types/ui/separator/index.d.ts.map +1 -0
  259. package/dist/types/ui/separator/separator.d.ts +13 -0
  260. package/dist/types/ui/separator/separator.d.ts.map +1 -0
  261. package/dist/types/ui/sheet/index.d.ts +2 -0
  262. package/dist/types/ui/sheet/index.d.ts.map +1 -0
  263. package/dist/types/ui/sheet/sheet.d.ts +61 -0
  264. package/dist/types/ui/sheet/sheet.d.ts.map +1 -0
  265. package/dist/types/ui/skeleton/index.d.ts +2 -0
  266. package/dist/types/ui/skeleton/index.d.ts.map +1 -0
  267. package/dist/types/ui/skeleton/skeleton.d.ts +7 -0
  268. package/dist/types/ui/skeleton/skeleton.d.ts.map +1 -0
  269. package/dist/types/ui/tab/index.d.ts +2 -0
  270. package/dist/types/ui/tab/index.d.ts.map +1 -0
  271. package/dist/types/ui/tab/tabs.d.ts +48 -0
  272. package/dist/types/ui/tab/tabs.d.ts.map +1 -0
  273. package/dist/types/ui/table/index.d.ts +2 -0
  274. package/dist/types/ui/table/index.d.ts.map +1 -0
  275. package/dist/types/ui/table/table.d.ts +35 -0
  276. package/dist/types/ui/table/table.d.ts.map +1 -0
  277. package/dist/types/ui/tooltip/index.d.ts +2 -0
  278. package/dist/types/ui/tooltip/index.d.ts.map +1 -0
  279. package/dist/types/ui/tooltip/tooltip.d.ts +14 -0
  280. package/dist/types/ui/tooltip/tooltip.d.ts.map +1 -0
  281. package/dist/types/vite-env.d.ts +1 -0
  282. package/dist/utils/index.cjs.js +2 -0
  283. package/dist/utils/index.cjs.js.map +1 -0
  284. package/dist/utils/index.es.js +5 -0
  285. package/dist/utils/index.es.js.map +1 -0
  286. package/package.json +1 -15
  287. package/dist/chunks/alert-CQSIGY8u.cjs.js +0 -2
  288. package/dist/chunks/separator-BGecc9_9.cjs.js +0 -2
  289. package/dist/chunks/skeleton-9sn_asi7.cjs.js +0 -2
  290. /package/dist/{dgz-ui.css → styles.css} +0 -0
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),X=require("react"),C=require("../chunks/index-D9zW9Tk7.cjs.js"),Z=require("../chunks/index-pF_O2Ico.cjs.js"),ee=require("../chunks/index-jFOWwfD3.cjs.js"),E=require("../chunks/index-BruMW80s.cjs.js"),m=require("../chunks/index-CJ0fGifh.cjs.js"),oe=require("../chunks/index-DnRKXUWD.cjs.js"),te=require("lucide-react"),D=require("../chunks/utils-BWS4jvS6.cjs.js"),re=e=>e&&e.__esModule?e:{default:e},l=re(X);var d="Accordion",ne=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[k,ce,ie]=Z.createCollection(d),[h]=C.createContextScope(d,[ie,m.createCollapsibleScope]),T=m.createCollapsibleScope(),V=l.default.forwardRef((e,n)=>{const{type:o,...c}=e,i=c,t=c;return r.jsx(k.Provider,{scope:e.__scopeAccordion,children:o==="multiple"?r.jsx(de,{...t,ref:n}):r.jsx(le,{...i,ref:n})})});V.displayName=d;var[H,ae]=h(d),[K,se]=h(d,{collapsible:!1}),le=l.default.forwardRef((e,n)=>{const{value:o,defaultValue:c,onValueChange:i=()=>{},collapsible:t=!1,...s}=e,[a,u]=E.useControllableState({prop:o,defaultProp:c??"",onChange:i,caller:d});return r.jsx(H,{scope:e.__scopeAccordion,value:l.default.useMemo(()=>a?[a]:[],[a]),onItemOpen:u,onItemClose:l.default.useCallback(()=>t&&u(""),[t,u]),children:r.jsx(K,{scope:e.__scopeAccordion,collapsible:t,children:r.jsx(z,{...s,ref:n})})})}),de=l.default.forwardRef((e,n)=>{const{value:o,defaultValue:c,onValueChange:i=()=>{},...t}=e,[s,a]=E.useControllableState({prop:o,defaultProp:c??[],onChange:i,caller:d}),u=l.default.useCallback(v=>a((p=[])=>[...p,v]),[a]),x=l.default.useCallback(v=>a((p=[])=>p.filter(_=>_!==v)),[a]);return r.jsx(H,{scope:e.__scopeAccordion,value:s,onItemOpen:u,onItemClose:x,children:r.jsx(K,{scope:e.__scopeAccordion,collapsible:!0,children:r.jsx(z,{...t,ref:n})})})}),[ue,I]=h(d),z=l.default.forwardRef((e,n)=>{const{__scopeAccordion:o,disabled:c,dir:i,orientation:t="vertical",...s}=e,a=l.default.useRef(null),u=ee.useComposedRefs(a,n),x=ce(o),p=oe.useDirection(i)==="ltr",_=C.composeEventHandlers(e.onKeyDown,A=>{var q;if(!ne.includes(A.key))return;const Q=A.target,j=x().filter(y=>{var $;return!(($=y.ref.current)!=null&&$.disabled)}),g=j.findIndex(y=>y.ref.current===Q),O=j.length;if(g===-1)return;A.preventDefault();let f=g;const w=0,P=O-1,R=()=>{f=g+1,f>P&&(f=w)},N=()=>{f=g-1,f<w&&(f=P)};switch(A.key){case"Home":f=w;break;case"End":f=P;break;case"ArrowRight":t==="horizontal"&&(p?R():N());break;case"ArrowDown":t==="vertical"&&R();break;case"ArrowLeft":t==="horizontal"&&(p?N():R());break;case"ArrowUp":t==="vertical"&&N();break}const W=f%O;(q=j[W].ref.current)==null||q.focus()});return r.jsx(ue,{scope:o,disabled:c,direction:i,orientation:t,children:r.jsx(k.Slot,{scope:o,children:r.jsx(C.Primitive.div,{...s,"data-orientation":t,ref:u,onKeyDown:c?void 0:_})})})}),b="AccordionItem",[fe,M]=h(b),L=l.default.forwardRef((e,n)=>{const{__scopeAccordion:o,value:c,...i}=e,t=I(b,o),s=ae(b,o),a=T(o),u=E.useId(),x=c&&s.value.includes(c)||!1,v=t.disabled||e.disabled;return r.jsx(fe,{scope:o,open:x,disabled:v,triggerId:u,children:r.jsx(m.Root,{"data-orientation":t.orientation,"data-state":J(x),...a,...i,ref:n,disabled:v,open:x,onOpenChange:p=>{p?s.onItemOpen(c):s.onItemClose(c)}})})});L.displayName=b;var G="AccordionHeader",U=l.default.forwardRef((e,n)=>{const{__scopeAccordion:o,...c}=e,i=I(d,o),t=M(G,o);return r.jsx(C.Primitive.h3,{"data-orientation":i.orientation,"data-state":J(t.open),"data-disabled":t.disabled?"":void 0,...c,ref:n})});U.displayName=G;var S="AccordionTrigger",Y=l.default.forwardRef((e,n)=>{const{__scopeAccordion:o,...c}=e,i=I(d,o),t=M(S,o),s=se(S,o),a=T(o);return r.jsx(k.ItemSlot,{scope:o,children:r.jsx(m.Trigger,{"aria-disabled":t.open&&!s.collapsible||void 0,"data-orientation":i.orientation,id:t.triggerId,...a,...c,ref:n})})});Y.displayName=S;var B="AccordionContent",F=l.default.forwardRef((e,n)=>{const{__scopeAccordion:o,...c}=e,i=I(d,o),t=M(B,o),s=T(o);return r.jsx(m.Content,{role:"region","aria-labelledby":t.triggerId,"data-orientation":i.orientation,...s,...c,ref:n,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});F.displayName=B;function J(e){return e?"open":"closed"}var pe=V,xe=L,ve=U,me=Y,Ae=F;function ge({...e}){return r.jsx(pe,{"data-slot":"accordion",...e})}function Ce({className:e,...n}){return r.jsx(xe,{"data-slot":"accordion-item",className:D.cn("border-b last:border-b-0",e),...n})}function be({className:e,children:n,...o}){return r.jsx(ve,{className:"flex",children:r.jsxs(me,{"data-slot":"accordion-trigger",className:D.cn("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e),...o,children:[n,r.jsx(te.ChevronDownIcon,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function he({className:e,children:n,...o}){return r.jsx(Ae,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...o,children:r.jsx("div",{className:D.cn("pt-0 pb-4",e),children:n})})}exports.Accordion=ge;exports.AccordionContent=he;exports.AccordionItem=Ce;exports.AccordionTrigger=be;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),X=require("react"),C=require("../chunks/index-D9zW9Tk7.cjs.js"),Z=require("../chunks/index-pF_O2Ico.cjs.js"),ee=require("../chunks/index-jFOWwfD3.cjs.js"),E=require("../chunks/index-BruMW80s.cjs.js"),m=require("../chunks/index-CJ0fGifh.cjs.js"),oe=require("../chunks/index-DnRKXUWD.cjs.js"),te=require("lucide-react"),D=require("../chunks/index-BWS4jvS6.cjs.js"),re=e=>e&&e.__esModule?e:{default:e},l=re(X);var d="Accordion",ne=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[k,ce,ie]=Z.createCollection(d),[h]=C.createContextScope(d,[ie,m.createCollapsibleScope]),T=m.createCollapsibleScope(),V=l.default.forwardRef((e,n)=>{const{type:o,...c}=e,i=c,t=c;return r.jsx(k.Provider,{scope:e.__scopeAccordion,children:o==="multiple"?r.jsx(de,{...t,ref:n}):r.jsx(le,{...i,ref:n})})});V.displayName=d;var[H,ae]=h(d),[K,se]=h(d,{collapsible:!1}),le=l.default.forwardRef((e,n)=>{const{value:o,defaultValue:c,onValueChange:i=()=>{},collapsible:t=!1,...s}=e,[a,u]=E.useControllableState({prop:o,defaultProp:c??"",onChange:i,caller:d});return r.jsx(H,{scope:e.__scopeAccordion,value:l.default.useMemo(()=>a?[a]:[],[a]),onItemOpen:u,onItemClose:l.default.useCallback(()=>t&&u(""),[t,u]),children:r.jsx(K,{scope:e.__scopeAccordion,collapsible:t,children:r.jsx(z,{...s,ref:n})})})}),de=l.default.forwardRef((e,n)=>{const{value:o,defaultValue:c,onValueChange:i=()=>{},...t}=e,[s,a]=E.useControllableState({prop:o,defaultProp:c??[],onChange:i,caller:d}),u=l.default.useCallback(v=>a((p=[])=>[...p,v]),[a]),x=l.default.useCallback(v=>a((p=[])=>p.filter(_=>_!==v)),[a]);return r.jsx(H,{scope:e.__scopeAccordion,value:s,onItemOpen:u,onItemClose:x,children:r.jsx(K,{scope:e.__scopeAccordion,collapsible:!0,children:r.jsx(z,{...t,ref:n})})})}),[ue,I]=h(d),z=l.default.forwardRef((e,n)=>{const{__scopeAccordion:o,disabled:c,dir:i,orientation:t="vertical",...s}=e,a=l.default.useRef(null),u=ee.useComposedRefs(a,n),x=ce(o),p=oe.useDirection(i)==="ltr",_=C.composeEventHandlers(e.onKeyDown,A=>{var q;if(!ne.includes(A.key))return;const Q=A.target,j=x().filter(y=>{var $;return!(($=y.ref.current)!=null&&$.disabled)}),g=j.findIndex(y=>y.ref.current===Q),O=j.length;if(g===-1)return;A.preventDefault();let f=g;const w=0,P=O-1,R=()=>{f=g+1,f>P&&(f=w)},N=()=>{f=g-1,f<w&&(f=P)};switch(A.key){case"Home":f=w;break;case"End":f=P;break;case"ArrowRight":t==="horizontal"&&(p?R():N());break;case"ArrowDown":t==="vertical"&&R();break;case"ArrowLeft":t==="horizontal"&&(p?N():R());break;case"ArrowUp":t==="vertical"&&N();break}const W=f%O;(q=j[W].ref.current)==null||q.focus()});return r.jsx(ue,{scope:o,disabled:c,direction:i,orientation:t,children:r.jsx(k.Slot,{scope:o,children:r.jsx(C.Primitive.div,{...s,"data-orientation":t,ref:u,onKeyDown:c?void 0:_})})})}),b="AccordionItem",[fe,M]=h(b),L=l.default.forwardRef((e,n)=>{const{__scopeAccordion:o,value:c,...i}=e,t=I(b,o),s=ae(b,o),a=T(o),u=E.useId(),x=c&&s.value.includes(c)||!1,v=t.disabled||e.disabled;return r.jsx(fe,{scope:o,open:x,disabled:v,triggerId:u,children:r.jsx(m.Root,{"data-orientation":t.orientation,"data-state":J(x),...a,...i,ref:n,disabled:v,open:x,onOpenChange:p=>{p?s.onItemOpen(c):s.onItemClose(c)}})})});L.displayName=b;var G="AccordionHeader",U=l.default.forwardRef((e,n)=>{const{__scopeAccordion:o,...c}=e,i=I(d,o),t=M(G,o);return r.jsx(C.Primitive.h3,{"data-orientation":i.orientation,"data-state":J(t.open),"data-disabled":t.disabled?"":void 0,...c,ref:n})});U.displayName=G;var S="AccordionTrigger",Y=l.default.forwardRef((e,n)=>{const{__scopeAccordion:o,...c}=e,i=I(d,o),t=M(S,o),s=se(S,o),a=T(o);return r.jsx(k.ItemSlot,{scope:o,children:r.jsx(m.Trigger,{"aria-disabled":t.open&&!s.collapsible||void 0,"data-orientation":i.orientation,id:t.triggerId,...a,...c,ref:n})})});Y.displayName=S;var B="AccordionContent",F=l.default.forwardRef((e,n)=>{const{__scopeAccordion:o,...c}=e,i=I(d,o),t=M(B,o),s=T(o);return r.jsx(m.Content,{role:"region","aria-labelledby":t.triggerId,"data-orientation":i.orientation,...s,...c,ref:n,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});F.displayName=B;function J(e){return e?"open":"closed"}var pe=V,xe=L,ve=U,me=Y,Ae=F;function ge({...e}){return r.jsx(pe,{"data-slot":"accordion",...e})}function Ce({className:e,...n}){return r.jsx(xe,{"data-slot":"accordion-item",className:D.cn("border-b last:border-b-0",e),...n})}function be({className:e,children:n,...o}){return r.jsx(ve,{className:"flex",children:r.jsxs(me,{"data-slot":"accordion-trigger",className:D.cn("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e),...o,children:[n,r.jsx(te.ChevronDownIcon,{className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function he({className:e,children:n,...o}){return r.jsx(Ae,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...o,children:r.jsx("div",{className:D.cn("pt-0 pb-4",e),children:n})})}exports.Accordion=ge;exports.AccordionContent=he;exports.AccordionItem=Ce;exports.AccordionTrigger=be;
2
2
  //# sourceMappingURL=index.cjs.js.map
@@ -7,7 +7,7 @@ import { a as te, u as H } from "../chunks/index-BdfbDt7y.es.js";
7
7
  import { b as ne, R as ce, T as ae, c as K } from "../chunks/index-CNbacFZ5.es.js";
8
8
  import { u as ie } from "../chunks/index-DBXFJW5M.es.js";
9
9
  import { ChevronDownIcon as se } from "lucide-react";
10
- import { c as E } from "../chunks/utils-D6dQK9i-.es.js";
10
+ import { c as E } from "../chunks/index-D6dQK9i-.es.js";
11
11
  var d = "Accordion", le = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [S, de, pe] = oe(d), [b] = ee(d, [
12
12
  pe,
13
13
  K
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/alert-CQSIGY8u.cjs.js");exports.Alert=e.Alert;exports.AlertDescription=e.AlertDescription;exports.AlertTitle=e.AlertTitle;exports.alertVariants=e.alertVariants;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/alert-BxS8Cjkv.cjs.js");exports.Alert=e.Alert;exports.AlertDescription=e.AlertDescription;exports.AlertTitle=e.AlertTitle;exports.alertVariants=e.alertVariants;
2
2
  //# sourceMappingURL=index.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { A as t, a as e, b as s, c as l } from "../chunks/alert-D7LmNw1T.es.js";
1
+ import { A as t, a as e, b as s, c as l } from "../chunks/alert-BX7k7R2a.es.js";
2
2
  export {
3
3
  t as Alert,
4
4
  e as AlertDescription,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../chunks/alert-dialog-DL4wcaQu.cjs.js");exports.AlertDialog=l.AlertDialog;exports.AlertDialogAction=l.AlertDialogAction;exports.AlertDialogCancel=l.AlertDialogCancel;exports.AlertDialogContent=l.AlertDialogContent;exports.AlertDialogDescription=l.AlertDialogDescription;exports.AlertDialogFooter=l.AlertDialogFooter;exports.AlertDialogHeader=l.AlertDialogHeader;exports.AlertDialogOverlay=l.AlertDialogOverlay;exports.AlertDialogPortal=l.AlertDialogPortal;exports.AlertDialogTitle=l.AlertDialogTitle;exports.AlertDialogTrigger=l.AlertDialogTrigger;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../chunks/alert-dialog-CYT3LDhH.cjs.js");exports.AlertDialog=l.AlertDialog;exports.AlertDialogAction=l.AlertDialogAction;exports.AlertDialogCancel=l.AlertDialogCancel;exports.AlertDialogContent=l.AlertDialogContent;exports.AlertDialogDescription=l.AlertDialogDescription;exports.AlertDialogFooter=l.AlertDialogFooter;exports.AlertDialogHeader=l.AlertDialogHeader;exports.AlertDialogOverlay=l.AlertDialogOverlay;exports.AlertDialogPortal=l.AlertDialogPortal;exports.AlertDialogTitle=l.AlertDialogTitle;exports.AlertDialogTrigger=l.AlertDialogTrigger;
2
2
  //# sourceMappingURL=index.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { A as e, a as r, b as o, c as t, d as i, e as g, f as A, g as s, h as D, i as n, j as c } from "../chunks/alert-dialog-CzUfOXS5.es.js";
1
+ import { A as e, a as r, b as o, c as t, d as i, e as g, f as A, g as s, h as D, i as n, j as c } from "../chunks/alert-dialog-CI_hZyxN.es.js";
2
2
  export {
3
3
  e as AlertDialog,
4
4
  r as AlertDialogAction,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../chunks/avatar-DpvcnhV-.cjs.js");exports.Avatar=a.Avatar;exports.AvatarFallback=a.AvatarFallback;exports.AvatarImage=a.AvatarImage;exports.avatarVariants=a.avatarVariants;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../chunks/avatar-Djf5Tj2g.cjs.js");exports.Avatar=a.Avatar;exports.AvatarFallback=a.AvatarFallback;exports.AvatarImage=a.AvatarImage;exports.avatarVariants=a.avatarVariants;
2
2
  //# sourceMappingURL=index.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { A as t, a as s, b as v, c as A } from "../chunks/avatar-MPlL_Ty_.es.js";
1
+ import { A as t, a as s, b as v, c as A } from "../chunks/avatar-CYP7jfXP.es.js";
2
2
  export {
3
3
  t as Avatar,
4
4
  s as AvatarFallback,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/badge-hJsnkvT2.cjs.js");exports.Badge=e.Badge;exports.badgeVariants=e.badgeVariants;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/badge-B8BYFX2h.cjs.js");exports.Badge=e.Badge;exports.badgeVariants=e.badgeVariants;
2
2
  //# sourceMappingURL=index.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { B as r, b as s } from "../chunks/badge-aHtYwGC6.es.js";
1
+ import { B as r, b as s } from "../chunks/badge-HxjENCrW.es.js";
2
2
  export {
3
3
  r as Badge,
4
4
  s as badgeVariants
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/breadcrumb-DnNcGh5W.cjs.js");exports.Breadcrumb=r.Breadcrumb;exports.BreadcrumbEllipsis=r.BreadcrumbEllipsis;exports.BreadcrumbItem=r.BreadcrumbItem;exports.BreadcrumbList=r.BreadcrumbList;exports.BreadcrumbPage=r.BreadcrumbPage;exports.BreadcrumbSeparator=r.BreadcrumbSeparator;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/breadcrumb-C35eAbNX.cjs.js");exports.Breadcrumb=r.Breadcrumb;exports.BreadcrumbEllipsis=r.BreadcrumbEllipsis;exports.BreadcrumbItem=r.BreadcrumbItem;exports.BreadcrumbList=r.BreadcrumbList;exports.BreadcrumbPage=r.BreadcrumbPage;exports.BreadcrumbSeparator=r.BreadcrumbSeparator;
2
2
  //# sourceMappingURL=index.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { B as e, a as s, b as m, c as b, d as c, e as d } from "../chunks/breadcrumb-bqnNQa9z.es.js";
1
+ import { B as e, a as s, b as m, c as b, d as c, e as d } from "../chunks/breadcrumb-EB-LAq21.es.js";
2
2
  export {
3
3
  e as Breadcrumb,
4
4
  s as BreadcrumbEllipsis,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../chunks/button-group-C-wxmoqI.cjs.js"),o=require("../chunks/button-BXJ2cCVi.cjs.js");exports.ButtonGroup=t.ButtonGroup;exports.ButtonGroupSeparator=t.ButtonGroupSeparator;exports.ButtonGroupText=t.ButtonGroupText;exports.buttonGroupVariants=t.buttonGroupVariants;exports.Button=o.Button;exports.buttonVariants=o.buttonVariants;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../chunks/button-group-CJy5raYG.cjs.js"),o=require("../chunks/button-DLexbK7C.cjs.js");exports.ButtonGroup=t.ButtonGroup;exports.ButtonGroupSeparator=t.ButtonGroupSeparator;exports.ButtonGroupText=t.ButtonGroupText;exports.buttonGroupVariants=t.buttonGroupVariants;exports.Button=o.Button;exports.buttonVariants=o.buttonVariants;
2
2
  //# sourceMappingURL=index.cjs.js.map
@@ -1,5 +1,5 @@
1
- import { B as a, a as r, b as u, c as n } from "../chunks/button-group-BhWr6-zT.es.js";
2
- import { B as p, b as B } from "../chunks/button-C7Gcg6zZ.es.js";
1
+ import { B as a, a as r, b as u, c as n } from "../chunks/button-group-X3ovdyZa.es.js";
2
+ import { B as p, b as B } from "../chunks/button-Bmtxy091.es.js";
3
3
  export {
4
4
  p as Button,
5
5
  a as ButtonGroup,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/timepicker-tNcXx_H1.cjs.js");exports.Calendar=e.Calendar;exports.DATE=e.DATE;exports.DatePicker=e.DatePicker;exports.HOUR=e.HOUR;exports.MINUTE=e.MINUTE;exports.TIME=e.TIME;exports.TimePicker=e.TimePicker;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/timepicker-DuMTmz-u.cjs.js");exports.Calendar=e.Calendar;exports.DATE=e.DATE;exports.DatePicker=e.DatePicker;exports.HOUR=e.HOUR;exports.MINUTE=e.MINUTE;exports.TIME=e.TIME;exports.TimePicker=e.TimePicker;
2
2
  //# sourceMappingURL=index.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { C as e, D as r, a as T, H as i, M as D, T as E, b as M } from "../chunks/timepicker-BrheCNFo.es.js";
1
+ import { C as e, D as r, a as T, H as i, M as D, T as E, b as M } from "../chunks/timepicker-DAfrmRJT.es.js";
2
2
  export {
3
3
  e as Calendar,
4
4
  r as DATE,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/card-ClxRfnoC.cjs.js");exports.Card=r.Card;exports.CardContent=r.CardContent;exports.CardDescription=r.CardDescription;exports.CardFooter=r.CardFooter;exports.CardHeader=r.CardHeader;exports.CardTitle=r.CardTitle;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../chunks/card-Dokrjefn.cjs.js");exports.Card=r.Card;exports.CardContent=r.CardContent;exports.CardDescription=r.CardDescription;exports.CardFooter=r.CardFooter;exports.CardHeader=r.CardHeader;exports.CardTitle=r.CardTitle;
2
2
  //# sourceMappingURL=index.cjs.js.map
@@ -1,4 +1,4 @@
1
- import { C as d, a as e, b as C, c as s, d as o, e as t } from "../chunks/card-DI87w6OJ.es.js";
1
+ import { C as d, a as e, b as C, c as s, d as o, e as t } from "../chunks/card-B87RYuvO.es.js";
2
2
  export {
3
3
  d as Card,
4
4
  e as CardContent,
@@ -1,7 +1,7 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { c as d } from "./index-DcN2zBOn.es.js";
2
+ import { c as d } from "./index-CjQdyVZP.es.js";
3
3
  import * as s from "react";
4
- import { c as i } from "./utils-D6dQK9i-.es.js";
4
+ import { c as i } from "./index-D6dQK9i-.es.js";
5
5
  const n = d(
6
6
  "relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
7
7
  {
@@ -50,4 +50,4 @@ export {
50
50
  g as b,
51
51
  n as c
52
52
  };
53
- //# sourceMappingURL=alert-D7LmNw1T.es.js.map
53
+ //# sourceMappingURL=alert-BX7k7R2a.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert-D7LmNw1T.es.js","sources":["../../src/ui/alert/alert.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\nimport { cn } from '../../lib';\n\n/**\n * Alert variants configuration.\n * Controls the tone of the alert via the `variant` prop.\n *\n * @property {'default' | 'warning' | 'destructive'} variant - Visual style of the alert.\n */\nexport const alertVariants = cva(\n 'relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground',\n {\n variants: {\n variant: {\n default: 'bg-background text-foreground',\n warning:\n 'border-warning/50 text-warning dark:border-warning [&>svg]:text-warning',\n destructive:\n 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n\n/**\n * Alert component - A container used to display contextual messages.\n *\n * @component\n * @param {React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>} props - Alert props.\n * @param {'default'|'warning'|'destructive'} [props.variant='default'] - Alert tone.\n */\nconst Alert = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>\n>(({ className, variant, ...props }, ref) => (\n <div\n ref={ref}\n role=\"alert\"\n className={cn(alertVariants({ variant }), className)}\n {...props}\n />\n));\nAlert.displayName = 'Alert';\n\n/**\n * AlertTitle - Title area for the alert content.\n */\nconst AlertTitle = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h5\n ref={ref}\n className={cn('mb-1 leading-none font-medium tracking-tight', className)}\n {...props}\n />\n));\nAlertTitle.displayName = 'AlertTitle';\n\n/**\n * AlertDescription - Body text area of the alert.\n */\nconst AlertDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('text-sm [&_p]:leading-relaxed', className)}\n {...props}\n />\n));\nAlertDescription.displayName = 'AlertDescription';\n\nexport { Alert, AlertDescription, AlertTitle };\n"],"names":["alertVariants","cva","Alert","React","className","variant","props","ref","jsx","cn","AlertTitle","AlertDescription"],"mappings":";;;;AAUO,MAAMA,IAAgBC;AAAA,EAC3B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,SACE;AAAA,QACF,aACE;AAAA,MAAA;AAAA,IACJ;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ,GASMC,IAAQC,EAAM,WAGlB,CAAC,EAAE,WAAAC,GAAW,SAAAC,GAAS,GAAGC,KAASC,MACnC,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,MAAK;AAAA,IACL,WAAWE,EAAGT,EAAc,EAAE,SAAAK,EAAA,CAAS,GAAGD,CAAS;AAAA,IAClD,GAAGE;AAAA,EAAA;AACN,CACD;AACDJ,EAAM,cAAc;AAKpB,MAAMQ,IAAaP,EAAM,WAGvB,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,gDAAgDL,CAAS;AAAA,IACtE,GAAGE;AAAA,EAAA;AACN,CACD;AACDI,EAAW,cAAc;AAKzB,MAAMC,IAAmBR,EAAM,WAG7B,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,iCAAiCL,CAAS;AAAA,IACvD,GAAGE;AAAA,EAAA;AACN,CACD;AACDK,EAAiB,cAAc;"}
1
+ {"version":3,"file":"alert-BX7k7R2a.es.js","sources":["../../src/ui/alert/alert.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\nimport { cn } from '../../lib';\n\n/**\n * Alert variants configuration.\n * Controls the tone of the alert via the `variant` prop.\n *\n * @property {'default' | 'warning' | 'destructive'} variant - Visual style of the alert.\n */\nexport const alertVariants = cva(\n 'relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground',\n {\n variants: {\n variant: {\n default: 'bg-background text-foreground',\n warning:\n 'border-warning/50 text-warning dark:border-warning [&>svg]:text-warning',\n destructive:\n 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n\n/**\n * Alert component - A container used to display contextual messages.\n *\n * @component\n * @param {React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>} props - Alert props.\n * @param {'default'|'warning'|'destructive'} [props.variant='default'] - Alert tone.\n */\nconst Alert = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>\n>(({ className, variant, ...props }, ref) => (\n <div\n ref={ref}\n role=\"alert\"\n className={cn(alertVariants({ variant }), className)}\n {...props}\n />\n));\nAlert.displayName = 'Alert';\n\n/**\n * AlertTitle - Title area for the alert content.\n */\nconst AlertTitle = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h5\n ref={ref}\n className={cn('mb-1 leading-none font-medium tracking-tight', className)}\n {...props}\n />\n));\nAlertTitle.displayName = 'AlertTitle';\n\n/**\n * AlertDescription - Body text area of the alert.\n */\nconst AlertDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('text-sm [&_p]:leading-relaxed', className)}\n {...props}\n />\n));\nAlertDescription.displayName = 'AlertDescription';\n\nexport { Alert, AlertDescription, AlertTitle };\n"],"names":["alertVariants","cva","Alert","React","className","variant","props","ref","jsx","cn","AlertTitle","AlertDescription"],"mappings":";;;;AAUO,MAAMA,IAAgBC;AAAA,EAC3B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,SACE;AAAA,QACF,aACE;AAAA,MAAA;AAAA,IACJ;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ,GASMC,IAAQC,EAAM,WAGlB,CAAC,EAAE,WAAAC,GAAW,SAAAC,GAAS,GAAGC,KAASC,MACnC,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,MAAK;AAAA,IACL,WAAWE,EAAGT,EAAc,EAAE,SAAAK,EAAA,CAAS,GAAGD,CAAS;AAAA,IAClD,GAAGE;AAAA,EAAA;AACN,CACD;AACDJ,EAAM,cAAc;AAKpB,MAAMQ,IAAaP,EAAM,WAGvB,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,gDAAgDL,CAAS;AAAA,IACtE,GAAGE;AAAA,EAAA;AACN,CACD;AACDI,EAAW,cAAc;AAKzB,MAAMC,IAAmBR,EAAM,WAG7B,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAC;AAAA,EAAC;AAAA,EAAA;AAAA,IACC,KAAAD;AAAA,IACA,WAAWE,EAAG,iCAAiCL,CAAS;AAAA,IACvD,GAAGE;AAAA,EAAA;AACN,CACD;AACDK,EAAiB,cAAc;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const a=require("react/jsx-runtime"),u=require("./index-DYLHhjdc.cjs.js"),g=require("react"),i=require("./index-BWS4jvS6.cjs.js");function f(e){if(e&&e.__esModule)return e;const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=f(g),l=u.cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",warning:"border-warning/50 text-warning dark:border-warning [&>svg]:text-warning",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),o=s.forwardRef(({className:e,variant:r,...t},n)=>a.jsx("div",{ref:n,role:"alert",className:i.cn(l({variant:r}),e),...t}));o.displayName="Alert";const d=s.forwardRef(({className:e,...r},t)=>a.jsx("h5",{ref:t,className:i.cn("mb-1 leading-none font-medium tracking-tight",e),...r}));d.displayName="AlertTitle";const c=s.forwardRef(({className:e,...r},t)=>a.jsx("div",{ref:t,className:i.cn("text-sm [&_p]:leading-relaxed",e),...r}));c.displayName="AlertDescription";exports.Alert=o;exports.AlertDescription=c;exports.AlertTitle=d;exports.alertVariants=l;
2
+ //# sourceMappingURL=alert-BxS8Cjkv.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert-CQSIGY8u.cjs.js","sources":["../../src/ui/alert/alert.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\nimport { cn } from '../../lib';\n\n/**\n * Alert variants configuration.\n * Controls the tone of the alert via the `variant` prop.\n *\n * @property {'default' | 'warning' | 'destructive'} variant - Visual style of the alert.\n */\nexport const alertVariants = cva(\n 'relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground',\n {\n variants: {\n variant: {\n default: 'bg-background text-foreground',\n warning:\n 'border-warning/50 text-warning dark:border-warning [&>svg]:text-warning',\n destructive:\n 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n\n/**\n * Alert component - A container used to display contextual messages.\n *\n * @component\n * @param {React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>} props - Alert props.\n * @param {'default'|'warning'|'destructive'} [props.variant='default'] - Alert tone.\n */\nconst Alert = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>\n>(({ className, variant, ...props }, ref) => (\n <div\n ref={ref}\n role=\"alert\"\n className={cn(alertVariants({ variant }), className)}\n {...props}\n />\n));\nAlert.displayName = 'Alert';\n\n/**\n * AlertTitle - Title area for the alert content.\n */\nconst AlertTitle = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h5\n ref={ref}\n className={cn('mb-1 leading-none font-medium tracking-tight', className)}\n {...props}\n />\n));\nAlertTitle.displayName = 'AlertTitle';\n\n/**\n * AlertDescription - Body text area of the alert.\n */\nconst AlertDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('text-sm [&_p]:leading-relaxed', className)}\n {...props}\n />\n));\nAlertDescription.displayName = 'AlertDescription';\n\nexport { Alert, AlertDescription, AlertTitle };\n"],"names":["alertVariants","cva","Alert","React","className","variant","props","ref","jsx","cn","AlertTitle","AlertDescription"],"mappings":"qcAUaA,EAAgBC,EAAAA,IAC3B,4JACA,CACE,SAAU,CACR,QAAS,CACP,QAAS,gCACT,QACE,0EACF,YACE,yFAAA,CACJ,EAEF,gBAAiB,CACf,QAAS,SAAA,CACX,CAEJ,EASMC,EAAQC,EAAM,WAGlB,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,GAAGC,GAASC,IACnCC,EAAAA,IAAC,MAAA,CACC,IAAAD,EACA,KAAK,QACL,UAAWE,EAAAA,GAAGT,EAAc,CAAE,QAAAK,CAAA,CAAS,EAAGD,CAAS,EAClD,GAAGE,CAAA,CACN,CACD,EACDJ,EAAM,YAAc,QAKpB,MAAMQ,EAAaP,EAAM,WAGvB,CAAC,CAAE,UAAAC,EAAW,GAAGE,CAAA,EAASC,IAC1BC,EAAAA,IAAC,KAAA,CACC,IAAAD,EACA,UAAWE,EAAAA,GAAG,+CAAgDL,CAAS,EACtE,GAAGE,CAAA,CACN,CACD,EACDI,EAAW,YAAc,aAKzB,MAAMC,EAAmBR,EAAM,WAG7B,CAAC,CAAE,UAAAC,EAAW,GAAGE,CAAA,EAASC,IAC1BC,EAAAA,IAAC,MAAA,CACC,IAAAD,EACA,UAAWE,EAAAA,GAAG,gCAAiCL,CAAS,EACvD,GAAGE,CAAA,CACN,CACD,EACDK,EAAiB,YAAc"}
1
+ {"version":3,"file":"alert-BxS8Cjkv.cjs.js","sources":["../../src/ui/alert/alert.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\nimport { cn } from '../../lib';\n\n/**\n * Alert variants configuration.\n * Controls the tone of the alert via the `variant` prop.\n *\n * @property {'default' | 'warning' | 'destructive'} variant - Visual style of the alert.\n */\nexport const alertVariants = cva(\n 'relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground',\n {\n variants: {\n variant: {\n default: 'bg-background text-foreground',\n warning:\n 'border-warning/50 text-warning dark:border-warning [&>svg]:text-warning',\n destructive:\n 'border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive',\n },\n },\n defaultVariants: {\n variant: 'default',\n },\n }\n);\n\n/**\n * Alert component - A container used to display contextual messages.\n *\n * @component\n * @param {React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>} props - Alert props.\n * @param {'default'|'warning'|'destructive'} [props.variant='default'] - Alert tone.\n */\nconst Alert = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>\n>(({ className, variant, ...props }, ref) => (\n <div\n ref={ref}\n role=\"alert\"\n className={cn(alertVariants({ variant }), className)}\n {...props}\n />\n));\nAlert.displayName = 'Alert';\n\n/**\n * AlertTitle - Title area for the alert content.\n */\nconst AlertTitle = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLHeadingElement>\n>(({ className, ...props }, ref) => (\n <h5\n ref={ref}\n className={cn('mb-1 leading-none font-medium tracking-tight', className)}\n {...props}\n />\n));\nAlertTitle.displayName = 'AlertTitle';\n\n/**\n * AlertDescription - Body text area of the alert.\n */\nconst AlertDescription = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(({ className, ...props }, ref) => (\n <div\n ref={ref}\n className={cn('text-sm [&_p]:leading-relaxed', className)}\n {...props}\n />\n));\nAlertDescription.displayName = 'AlertDescription';\n\nexport { Alert, AlertDescription, AlertTitle };\n"],"names":["alertVariants","cva","Alert","React","className","variant","props","ref","jsx","cn","AlertTitle","AlertDescription"],"mappings":"qcAUaA,EAAgBC,EAAAA,IAC3B,4JACA,CACE,SAAU,CACR,QAAS,CACP,QAAS,gCACT,QACE,0EACF,YACE,yFAAA,CACJ,EAEF,gBAAiB,CACf,QAAS,SAAA,CACX,CAEJ,EASMC,EAAQC,EAAM,WAGlB,CAAC,CAAE,UAAAC,EAAW,QAAAC,EAAS,GAAGC,GAASC,IACnCC,EAAAA,IAAC,MAAA,CACC,IAAAD,EACA,KAAK,QACL,UAAWE,EAAAA,GAAGT,EAAc,CAAE,QAAAK,CAAA,CAAS,EAAGD,CAAS,EAClD,GAAGE,CAAA,CACN,CACD,EACDJ,EAAM,YAAc,QAKpB,MAAMQ,EAAaP,EAAM,WAGvB,CAAC,CAAE,UAAAC,EAAW,GAAGE,CAAA,EAASC,IAC1BC,EAAAA,IAAC,KAAA,CACC,IAAAD,EACA,UAAWE,EAAAA,GAAG,+CAAgDL,CAAS,EACtE,GAAGE,CAAA,CACN,CACD,EACDI,EAAW,YAAc,aAKzB,MAAMC,EAAmBR,EAAM,WAG7B,CAAC,CAAE,UAAAC,EAAW,GAAGE,CAAA,EAASC,IAC1BC,EAAAA,IAAC,MAAA,CACC,IAAAD,EACA,UAAWE,EAAAA,GAAG,gCAAiCL,CAAS,EACvD,GAAGE,CAAA,CACN,CACD,EACDK,EAAiB,YAAc"}
@@ -3,8 +3,8 @@ import * as l from "react";
3
3
  import { c as W, b as k } from "./index-BVqmUhu5.es.js";
4
4
  import { u as A } from "./index-DLcqcWxM.es.js";
5
5
  import { R as B, P as V, T as Y, c as D, C as v, W as q, a as J, D as K, O as Q, b as U } from "./index-xl-szYFX.es.js";
6
- import { b as N } from "./button-C7Gcg6zZ.es.js";
7
- import { c as n } from "./utils-D6dQK9i-.es.js";
6
+ import { c as n } from "./index-D6dQK9i-.es.js";
7
+ import { b as N } from "./button-Bmtxy091.es.js";
8
8
  var X = Symbol("radix.slottable");
9
9
  // @__NO_SIDE_EFFECTS__
10
10
  function Z(a) {
@@ -206,4 +206,4 @@ export {
206
206
  Ae as i,
207
207
  Ee as j
208
208
  };
209
- //# sourceMappingURL=alert-dialog-CzUfOXS5.es.js.map
209
+ //# sourceMappingURL=alert-dialog-CI_hZyxN.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert-dialog-CzUfOXS5.es.js","sources":["../../node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs","../../node_modules/@radix-ui/react-alert-dialog/dist/index.mjs","../../src/ui/alert-dialog/alert-dialog.tsx"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar Slottable = createSlottable(\"AlertDialogContent\");\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n","import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport * as React from 'react';\nimport { cn } from '../../lib';\nimport { buttonVariants } from '../button';\n\n/**\n * AlertDialog primitives for critical confirmation dialogs.\n */\nconst AlertDialog = AlertDialogPrimitive.Root;\n\n/**\n * Trigger that opens the dialog.\n */\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\n/**\n * Renders the dialog content in a portal to escape the parent container.\n */\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\n/**\n * AlertDialogOverlay - Background overlay for the alert dialog.\n */\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n className={cn(\n 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80',\n className\n )}\n {...props}\n ref={ref}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\n/**\n * AlertDialogContent - Modal content container for the alert dialog.\n */\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg',\n className\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\n/**\n * AlertDialogHeader - Container for the dialog header.\n */\nconst AlertDialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col space-y-2 text-center sm:text-left',\n className\n )}\n {...props}\n />\n);\nAlertDialogHeader.displayName = 'AlertDialogHeader';\n\n/**\n * AlertDialogFooter - Container for footer actions.\n */\nconst AlertDialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex gap-2 sm:justify-end', className)} {...props} />\n);\nAlertDialogFooter.displayName = 'AlertDialogFooter';\n\n/**\n * AlertDialogTitle - Accessible title for the alert dialog.\n */\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn('text-lg font-semibold', className)}\n {...props}\n />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\n/**\n * AlertDialogDescription - Additional descriptive text.\n */\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n));\nAlertDialogDescription.displayName =\n AlertDialogPrimitive.Description.displayName;\n\n/**\n * AlertDialogAction - Confirm action button.\n */\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action\n ref={ref}\n className={cn(buttonVariants(), className)}\n {...props}\n />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\n/**\n * AlertDialogCancel - Cancel action button.\n */\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: 'tertiary' }), className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n};\n"],"names":["SLOTTABLE_IDENTIFIER","createSlottable","ownerName","Slottable2","children","jsx","Fragment2","ROOT_NAME","createAlertDialogContext","createContextScope","createDialogScope","useDialogScope","AlertDialog","props","__scopeAlertDialog","alertDialogProps","dialogScope","DialogPrimitive.Root","TRIGGER_NAME","AlertDialogTrigger","React","forwardedRef","triggerProps","DialogPrimitive.Trigger","PORTAL_NAME","AlertDialogPortal","portalProps","DialogPrimitive.Portal","OVERLAY_NAME","AlertDialogOverlay","overlayProps","DialogPrimitive.Overlay","CONTENT_NAME","AlertDialogContentProvider","useAlertDialogContentContext","Slottable","AlertDialogContent","contentProps","contentRef","composedRefs","useComposedRefs","cancelRef","DialogPrimitive.WarningProvider","TITLE_NAME","jsxs","DialogPrimitive.Content","composeEventHandlers","event","_a","DescriptionWarning","AlertDialogTitle","titleProps","DialogPrimitive.Title","DESCRIPTION_NAME","AlertDialogDescription","descriptionProps","DialogPrimitive.Description","ACTION_NAME","AlertDialogAction","actionProps","DialogPrimitive.Close","CANCEL_NAME","AlertDialogCancel","cancelProps","ref","MESSAGE","Root2","Trigger2","Portal2","Overlay2","Content2","Action","Cancel","Title2","Description2","AlertDialogPrimitive.Root","AlertDialogPrimitive.Trigger","AlertDialogPrimitive.Portal","className","AlertDialogPrimitive.Overlay","cn","AlertDialogPrimitive.Content","AlertDialogHeader","AlertDialogFooter","AlertDialogPrimitive.Title","AlertDialogPrimitive.Description","AlertDialogPrimitive.Action","buttonVariants","AlertDialogPrimitive.Cancel"],"mappings":";;;;;;;AA8CA,IAAIA,IAAuB,OAAO,iBAAiB;AAAA;AAEnD,SAASC,EAAgBC,GAAW;AAClC,QAAMC,IAAa,CAAC,EAAE,UAAAC,QACG,gBAAAC,EAAIC,GAAW,EAAE,UAAAF,GAAU;AAEpD,SAAAD,EAAW,cAAc,GAAGD,CAAS,cACrCC,EAAW,YAAYH,GAChBG;AACT;AC5CA,IAAII,IAAY,eACZ,CAACC,EAAgD,IAAIC,EAAmBF,GAAW;AAAA,EACrFG;AACF,CAAC,GACGC,IAAiBD,EAAiB,GAClCE,IAAc,CAACC,MAAU;AAC3B,QAAM,EAAE,oBAAAC,GAAoB,GAAGC,EAAgB,IAAKF,GAC9CG,IAAcL,EAAeG,CAAkB;AACrD,SAAuB,gBAAAT,EAAIY,GAAsB,EAAE,GAAGD,GAAa,GAAGD,GAAkB,OAAO,IAAM;AACvG;AACAH,EAAY,cAAcL;AAC1B,IAAIW,KAAe,sBACfC,IAAqBC,EAAM;AAAA,EAC7B,CAACP,GAAOQ,MAAiB;AACvB,UAAM,EAAE,oBAAAP,GAAoB,GAAGQ,EAAY,IAAKT,GAC1CG,IAAcL,EAAeG,CAAkB;AACrD,WAAuB,gBAAAT,EAAIkB,GAAyB,EAAE,GAAGP,GAAa,GAAGM,GAAc,KAAKD,GAAc;AAAA,EAC5G;AACF;AACAF,EAAmB,cAAcD;AACjC,IAAIM,KAAc,q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AAAA,IACA,WAAWgB,EAAG,iCAAiCF,CAAS;AAAA,IACvD,GAAGjE;AAAA,EAAA;AACN,CACD;AACDyC,GAAuB,cACrB+B,EAAiC;AAKnC,MAAM3B,KAAoBtC,EAAM,WAG9B,CAAC,EAAE,WAAA0D,GAAW,GAAGjE,EAAA,GAASmD,MAC1B,gBAAA3D;AAAA,EAACiF;AAAAA,EAAA;AAAA,IACC,KAAAtB;AAAA,IACA,WAAWgB,EAAGO,EAAA,GAAkBT,CAAS;AAAA,IACxC,GAAGjE;AAAA,EAAA;AACN,CACD;AACD6C,GAAkB,cAAc4B,EAA4B;AAK5D,MAAMxB,KAAoB1C,EAAM,WAG9B,CAAC,EAAE,WAAA0D,GAAW,GAAGjE,EAAA,GAASmD,MAC1B,gBAAA3D;AAAA,EAACmF;AAAAA,EAAA;AAAA,IACC,KAAAxB;AAAA,IACA,WAAWgB,EAAGO,EAAe,EAAE,SAAS,WAAA,CAAY,GAAGT,CAAS;AAAA,IAC/D,GAAGjE;AAAA,EAAA;AACN,CACD;AACDiD,GAAkB,cAAc0B,EAA4B;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"alert-dialog-CI_hZyxN.es.js","sources":["../../node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs","../../node_modules/@radix-ui/react-alert-dialog/dist/index.mjs","../../src/ui/alert-dialog/alert-dialog.tsx"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar Slottable = createSlottable(\"AlertDialogContent\");\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n","import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport * as React from 'react';\nimport { cn } from '../../lib';\nimport { buttonVariants } from '../button';\n\n/**\n * AlertDialog primitives for critical confirmation dialogs.\n */\nconst AlertDialog = AlertDialogPrimitive.Root;\n\n/**\n * Trigger that opens the dialog.\n */\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\n/**\n * Renders the dialog content in a portal to escape the parent container.\n */\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\n/**\n * AlertDialogOverlay - Background overlay for the alert dialog.\n */\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n className={cn(\n 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80',\n className\n )}\n {...props}\n ref={ref}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\n/**\n * AlertDialogContent - Modal content container for the alert dialog.\n */\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg',\n className\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\n/**\n * AlertDialogHeader - Container for the dialog header.\n */\nconst AlertDialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col space-y-2 text-center sm:text-left',\n className\n )}\n {...props}\n />\n);\nAlertDialogHeader.displayName = 'AlertDialogHeader';\n\n/**\n * AlertDialogFooter - Container for footer actions.\n */\nconst AlertDialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex gap-2 sm:justify-end', className)} {...props} />\n);\nAlertDialogFooter.displayName = 'AlertDialogFooter';\n\n/**\n * AlertDialogTitle - Accessible title for the alert dialog.\n */\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn('text-lg font-semibold', className)}\n {...props}\n />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\n/**\n * AlertDialogDescription - Additional descriptive text.\n */\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n));\nAlertDialogDescription.displayName =\n AlertDialogPrimitive.Description.displayName;\n\n/**\n * AlertDialogAction - Confirm action button.\n */\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action\n ref={ref}\n className={cn(buttonVariants(), className)}\n {...props}\n />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\n/**\n * AlertDialogCancel - Cancel action button.\n */\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: 'tertiary' }), className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n};\n"],"names":["SLOTTABLE_IDENTIFIER","createSlottable","ownerName","Slottable2","children","jsx","Fragment2","ROOT_NAME","createAlertDialogContext","createContextScope","createDialogScope","useDialogScope","AlertDialog","props","__scopeAlertDialog","alertDialogProps","dialogScope","DialogPrimitive.Root","TRIGGER_NAME","AlertDialogTrigger","React","forwardedRef","triggerProps","DialogPrimitive.Trigger","PORTAL_NAME","AlertDialogPortal","portalProps","DialogPrimitive.Portal","OVERLAY_NAME","AlertDialogOverlay","overlayProps","DialogPrimitive.Overlay","CONTENT_NAME","AlertDialogContentProvider","useAlertDialogContentContext","Slottable","AlertDialogContent","contentProps","contentRef","composedRefs","useComposedRefs","cancelRef","DialogPrimitive.WarningProvider","TITLE_NAME","jsxs","DialogPrimitive.Content","composeEventHandlers","event","_a","DescriptionWarning","AlertDialogTitle","titleProps","DialogPrimitive.Title","DESCRIPTION_NAME","AlertDialogDescription","descriptionProps","DialogPrimitive.Description","ACTION_NAME","AlertDialogAction","actionProps","DialogPrimitive.Close","CANCEL_NAME","AlertDialogCancel","cancelProps","ref","MESSAGE","Root2","Trigger2","Portal2","Overlay2","Content2","Action","Cancel","Title2","Description2","AlertDialogPrimitive.Root","AlertDialogPrimitive.Trigger","AlertDialogPrimitive.Portal","className","AlertDialogPrimitive.Overlay","cn","AlertDialogPrimitive.Content","AlertDialogHeader","AlertDialogFooter","AlertDialogPrimitive.Title","AlertDialogPrimitive.Description","AlertDialogPrimitive.Action","buttonVariants","AlertDialogPrimitive.Cancel"],"mappings":";;;;;;;AA8CA,IAAIA,IAAuB,OAAO,iBAAiB;AAAA;AAEnD,SAASC,EAAgBC,GAAW;AAClC,QAAMC,IAAa,CAAC,EAAE,UAAAC,QACG,gBAAAC,EAAIC,GAAW,EAAE,UAAAF,GAAU;AAEpD,SAAAD,EAAW,cAAc,GAAGD,CAAS,cACrCC,EAAW,YAAYH,GAChBG;AACT;AC5CA,IAAII,IAAY,eACZ,CAACC,EAAgD,IAAIC,EAAmBF,GAAW;AAAA,EACrFG;AACF,CAAC,GACGC,IAAiBD,EAAiB,GAClCE,IAAc,CAACC,MAAU;AAC3B,QAAM,EAAE,oBAAAC,GAAoB,GAAGC,EAAgB,IAAKF,GAC9CG,IAAcL,EAAeG,CAAkB;AACrD,SAAuB,gBAAAT,EAAIY,GAAsB,EAAE,GAAGD,GAAa,GAAGD,GAAkB,OAAO,IAAM;AACvG;AACAH,EAAY,cAAcL;AAC1B,IAAIW,KAAe,sBACfC,IAAqBC,EAAM;AAAA,EAC7B,CAACP,GAAOQ,MAAiB;AACvB,UAAM,EAAE,oBAAAP,GAAoB,GAAGQ,EAAY,IAAKT,GAC1CG,IAAcL,EAAeG,CAAkB;AACrD,WAAuB,gBAAAT,EAAIkB,GAAyB,EAAE,GAAGP,GAAa,GAAGM,GAAc,KAAKD,GAAc;AAAA,EAC5G;AACF;AACAF,EAAmB,cAAcD;AACjC,IAAIM,KAAc,qBACdC,IAAoB,CAACZ,MAAU;AACjC,QAAM,EAAE,oBAAAC,GAAoB,GAAGY,EAAW,IAAKb,GACzCG,IAAcL,EAAeG,CAAkB;AACrD,SAAuB,gBAAAT,EAAIsB,GAAwB,EAAE,GAAGX,GAAa,GAAGU,EAAW,CAAE;AACvF;AACAD,EAAkB,cAAcD;AAChC,IAAII,KAAe,sBACfC,IAAqBT,EAAM;AAAA,EAC7B,CAACP,GAAOQ,MAA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AAGO,EAAA,GAAkBT,CAAS;AAAA,IACxC,GAAGjE;AAAA,EAAA;AACN,CACD;AACD6C,GAAkB,cAAc4B,EAA4B;AAK5D,MAAMxB,KAAoB1C,EAAM,WAG9B,CAAC,EAAE,WAAA0D,GAAW,GAAGjE,EAAA,GAASmD,MAC1B,gBAAA3D;AAAA,EAACmF;AAAAA,EAAA;AAAA,IACC,KAAAxB;AAAA,IACA,WAAWgB,EAAGO,EAAe,EAAE,SAAS,WAAA,CAAY,GAAGT,CAAS;AAAA,IAC/D,GAAGjE;AAAA,EAAA;AACN,CACD;AACDiD,GAAkB,cAAc0B,EAA4B;","x_google_ignoreList":[0,1]}
@@ -1,8 +1,8 @@
1
- "use strict";const o=require("react/jsx-runtime"),J=require("react"),m=require("./index-D9zW9Tk7.cjs.js"),v=require("./index-jFOWwfD3.cjs.js"),i=require("./index-CtCzh8NB.cjs.js"),y=require("./button-BXJ2cCVi.cjs.js"),c=require("./utils-BWS4jvS6.cjs.js");function K(e){if(e&&e.__esModule)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const l=K(J);var Q=Symbol("radix.slottable");function U(e){const t=({children:a})=>o.jsx(o.Fragment,{children:a});return t.displayName=`${e}.Slottable`,t.__radixId=Q,t}var N="AlertDialog",[X]=m.createContextScope(N,[i.createDialogScope]),n=i.createDialogScope(),x=e=>{const{__scopeAlertDialog:t,...a}=e,r=n(t);return o.jsx(i.Root,{...r,...a,modal:!0})};x.displayName=N;var Z="AlertDialogTrigger",_=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,...r}=e,s=n(a);return o.jsx(i.Trigger,{...s,...r,ref:t})});_.displayName=Z;var ee="AlertDialogPortal",b=e=>{const{__scopeAlertDialog:t,...a}=e,r=n(t);return o.jsx(i.Portal,{...r,...a})};b.displayName=ee;var te="AlertDialogOverlay",j=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,...r}=e,s=n(a);return o.jsx(i.Overlay,{...s,...r,ref:t})});j.displayName=te;var d="AlertDialogContent",[ae,oe]=X(d),re=U("AlertDialogContent"),R=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,children:r,...s}=e,u=n(a),g=l.useRef(null),Y=v.useComposedRefs(t,g),A=l.useRef(null);return o.jsx(i.WarningProvider,{contentName:d,titleName:C,docsSlug:"alert-dialog",children:o.jsx(ae,{scope:a,cancelRef:A,children:o.jsxs(i.Content,{role:"alertdialog",...u,...s,ref:Y,onOpenAutoFocus:m.composeEventHandlers(s.onOpenAutoFocus,p=>{var D;p.preventDefault(),(D=A.current)==null||D.focus({preventScroll:!0})}),onPointerDownOutside:p=>p.preventDefault(),onInteractOutside:p=>p.preventDefault(),children:[o.jsx(re,{children:r}),o.jsx(se,{contentRef:g})]})})})});R.displayName=d;var C="AlertDialogTitle",S=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,...r}=e,s=n(a);return o.jsx(i.Title,{...s,...r,ref:t})});S.displayName=C;var T="AlertDialogDescription",E=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,...r}=e,s=n(a);return o.jsx(i.Description,{...s,...r,ref:t})});E.displayName=T;var le="AlertDialogAction",O=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,...r}=e,s=n(a);return o.jsx(i.Close,{...s,...r,ref:t})});O.displayName=le;var h="AlertDialogCancel",w=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,...r}=e,{cancelRef:s}=oe(h,a),u=n(a),g=v.useComposedRefs(t,s);return o.jsx(i.Close,{...u,...r,ref:g})});w.displayName=h;var se=({contentRef:e})=>{const t=`\`${d}\` requires a description for the component to be accessible for screen reader users.
1
+ "use strict";const o=require("react/jsx-runtime"),J=require("react"),m=require("./index-D9zW9Tk7.cjs.js"),v=require("./index-jFOWwfD3.cjs.js"),i=require("./index-CtCzh8NB.cjs.js"),c=require("./index-BWS4jvS6.cjs.js"),y=require("./button-DLexbK7C.cjs.js");function K(e){if(e&&e.__esModule)return e;const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const l=K(J);var Q=Symbol("radix.slottable");function U(e){const t=({children:a})=>o.jsx(o.Fragment,{children:a});return t.displayName=`${e}.Slottable`,t.__radixId=Q,t}var N="AlertDialog",[X]=m.createContextScope(N,[i.createDialogScope]),n=i.createDialogScope(),x=e=>{const{__scopeAlertDialog:t,...a}=e,r=n(t);return o.jsx(i.Root,{...r,...a,modal:!0})};x.displayName=N;var Z="AlertDialogTrigger",_=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,...r}=e,s=n(a);return o.jsx(i.Trigger,{...s,...r,ref:t})});_.displayName=Z;var ee="AlertDialogPortal",b=e=>{const{__scopeAlertDialog:t,...a}=e,r=n(t);return o.jsx(i.Portal,{...r,...a})};b.displayName=ee;var te="AlertDialogOverlay",j=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,...r}=e,s=n(a);return o.jsx(i.Overlay,{...s,...r,ref:t})});j.displayName=te;var d="AlertDialogContent",[ae,oe]=X(d),re=U("AlertDialogContent"),R=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,children:r,...s}=e,u=n(a),g=l.useRef(null),Y=v.useComposedRefs(t,g),A=l.useRef(null);return o.jsx(i.WarningProvider,{contentName:d,titleName:C,docsSlug:"alert-dialog",children:o.jsx(ae,{scope:a,cancelRef:A,children:o.jsxs(i.Content,{role:"alertdialog",...u,...s,ref:Y,onOpenAutoFocus:m.composeEventHandlers(s.onOpenAutoFocus,p=>{var D;p.preventDefault(),(D=A.current)==null||D.focus({preventScroll:!0})}),onPointerDownOutside:p=>p.preventDefault(),onInteractOutside:p=>p.preventDefault(),children:[o.jsx(re,{children:r}),o.jsx(se,{contentRef:g})]})})})});R.displayName=d;var C="AlertDialogTitle",S=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,...r}=e,s=n(a);return o.jsx(i.Title,{...s,...r,ref:t})});S.displayName=C;var T="AlertDialogDescription",E=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,...r}=e,s=n(a);return o.jsx(i.Description,{...s,...r,ref:t})});E.displayName=T;var le="AlertDialogAction",O=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,...r}=e,s=n(a);return o.jsx(i.Close,{...s,...r,ref:t})});O.displayName=le;var h="AlertDialogCancel",w=l.forwardRef((e,t)=>{const{__scopeAlertDialog:a,...r}=e,{cancelRef:s}=oe(h,a),u=n(a),g=v.useComposedRefs(t,s);return o.jsx(i.Close,{...u,...r,ref:g})});w.displayName=h;var se=({contentRef:e})=>{const t=`\`${d}\` requires a description for the component to be accessible for screen reader users.
2
2
 
3
3
  You can add a description to the \`${d}\` by passing a \`${T}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
4
4
 
5
5
  Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${d}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
6
6
 
7
7
  For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return l.useEffect(()=>{var r;document.getElementById((r=e.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},ie=x,ne=_,ce=b,P=j,$=R,I=O,M=w,q=S,F=E;const de=ie,pe=ne,L=ce,f=l.forwardRef(({className:e,...t},a)=>o.jsx(P,{className:c.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",e),...t,ref:a}));f.displayName=P.displayName;const z=l.forwardRef(({className:e,...t},a)=>o.jsxs(L,{children:[o.jsx(f,{}),o.jsx($,{ref:a,className:c.cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg",e),...t})]}));z.displayName=$.displayName;const H=({className:e,...t})=>o.jsx("div",{className:c.cn("flex flex-col space-y-2 text-center sm:text-left",e),...t});H.displayName="AlertDialogHeader";const k=({className:e,...t})=>o.jsx("div",{className:c.cn("flex gap-2 sm:justify-end",e),...t});k.displayName="AlertDialogFooter";const G=l.forwardRef(({className:e,...t},a)=>o.jsx(q,{ref:a,className:c.cn("text-lg font-semibold",e),...t}));G.displayName=q.displayName;const V=l.forwardRef(({className:e,...t},a)=>o.jsx(F,{ref:a,className:c.cn("text-muted-foreground text-sm",e),...t}));V.displayName=F.displayName;const B=l.forwardRef(({className:e,...t},a)=>o.jsx(I,{ref:a,className:c.cn(y.buttonVariants(),e),...t}));B.displayName=I.displayName;const W=l.forwardRef(({className:e,...t},a)=>o.jsx(M,{ref:a,className:c.cn(y.buttonVariants({variant:"tertiary"}),e),...t}));W.displayName=M.displayName;exports.AlertDialog=de;exports.AlertDialogAction=B;exports.AlertDialogCancel=W;exports.AlertDialogContent=z;exports.AlertDialogDescription=V;exports.AlertDialogFooter=k;exports.AlertDialogHeader=H;exports.AlertDialogOverlay=f;exports.AlertDialogPortal=L;exports.AlertDialogTitle=G;exports.AlertDialogTrigger=pe;
8
- //# sourceMappingURL=alert-dialog-DL4wcaQu.cjs.js.map
8
+ //# sourceMappingURL=alert-dialog-CYT3LDhH.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert-dialog-DL4wcaQu.cjs.js","sources":["../../node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs","../../node_modules/@radix-ui/react-alert-dialog/dist/index.mjs","../../src/ui/alert-dialog/alert-dialog.tsx"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar Slottable = createSlottable(\"AlertDialogContent\");\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n","import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport * as React from 'react';\nimport { cn } from '../../lib';\nimport { buttonVariants } from '../button';\n\n/**\n * AlertDialog primitives for critical confirmation dialogs.\n */\nconst AlertDialog = AlertDialogPrimitive.Root;\n\n/**\n * Trigger that opens the dialog.\n */\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\n/**\n * Renders the dialog content in a portal to escape the parent container.\n */\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\n/**\n * AlertDialogOverlay - Background overlay for the alert dialog.\n */\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n className={cn(\n 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80',\n className\n )}\n {...props}\n ref={ref}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\n/**\n * AlertDialogContent - Modal content container for the alert dialog.\n */\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg',\n className\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\n/**\n * AlertDialogHeader - Container for the dialog header.\n */\nconst AlertDialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col space-y-2 text-center sm:text-left',\n className\n )}\n {...props}\n />\n);\nAlertDialogHeader.displayName = 'AlertDialogHeader';\n\n/**\n * AlertDialogFooter - Container for footer actions.\n */\nconst AlertDialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex gap-2 sm:justify-end', className)} {...props} />\n);\nAlertDialogFooter.displayName = 'AlertDialogFooter';\n\n/**\n * AlertDialogTitle - Accessible title for the alert dialog.\n */\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn('text-lg font-semibold', className)}\n {...props}\n />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\n/**\n * AlertDialogDescription - Additional descriptive text.\n */\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n));\nAlertDialogDescription.displayName =\n AlertDialogPrimitive.Description.displayName;\n\n/**\n * AlertDialogAction - Confirm action button.\n */\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action\n ref={ref}\n className={cn(buttonVariants(), className)}\n {...props}\n />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\n/**\n * AlertDialogCancel - Cancel action button.\n */\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: 'tertiary' }), className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n};\n"],"names":["SLOTTABLE_IDENTIFIER","createSlottable","ownerName","Slottable2","children","jsx","Fragment2","ROOT_NAME","createAlertDialogContext","createContextScope","createDialogScope","useDialogScope","AlertDialog","props","__scopeAlertDialog","alertDialogProps","dialogScope","DialogPrimitive.Root","TRIGGER_NAME","AlertDialogTrigger","React","forwardedRef","triggerProps","DialogPrimitive.Trigger","PORTAL_NAME","AlertDialogPortal","portalProps","DialogPrimitive.Portal","OVERLAY_NAME","AlertDialogOverlay","overlayProps","DialogPrimitive.Overlay","CONTENT_NAME","AlertDialogContentProvider","useAlertDialogContentContext","Slottable","AlertDialogContent","contentProps","contentRef","composedRefs","useComposedRefs","cancelRef","DialogPrimitive.WarningProvider","TITLE_NAME","jsxs","DialogPrimitive.Content","composeEventHandlers","event","_a","DescriptionWarning","AlertDialogTitle","titleProps","DialogPrimitive.Title","DESCRIPTION_NAME","AlertDialogDescription","descriptionProps","DialogPrimitive.Description","ACTION_NAME","AlertDialogAction","actionProps","DialogPrimitive.Close","CANCEL_NAME","AlertDialogCancel","cancelProps","ref","MESSAGE","Root2","Trigger2","Portal2","Overlay2","Content2","Action","Cancel","Title2","Description2","AlertDialogPrimitive.Root","AlertDialogPrimitive.Trigger","AlertDialogPrimitive.Portal","className","AlertDialogPrimitive.Overlay","cn","AlertDialogPrimitive.Content","AlertDialogHeader","AlertDialogFooter","AlertDialogPrimitive.Title","AlertDialogPrimitive.Description","AlertDialogPrimitive.Action","buttonVariants","AlertDialogPrimitive.Cancel"],"mappings":"qjBA8CA,IAAIA,EAAuB,OAAO,iBAAiB,EAEnD,SAASC,EAAgBC,EAAW,CAClC,MAAMC,EAAa,CAAC,CAAE,SAAAC,KACGC,MAAIC,EAAAA,SAAW,CAAE,SAAAF,EAAU,EAEpD,OAAAD,EAAW,YAAc,GAAGD,CAAS,aACrCC,EAAW,UAAYH,EAChBG,CACT,CC5CA,IAAII,EAAY,cACZ,CAACC,CAAgD,EAAIC,EAAAA,mBAAmBF,EAAW,CACrFG,EAAAA,iBACF,CAAC,EACGC,EAAiBD,EAAAA,kBAAiB,EAClCE,EAAeC,GAAU,CAC3B,KAAM,CAAE,mBAAAC,EAAoB,GAAGC,CAAgB,EAAKF,EAC9CG,EAAcL,EAAeG,CAAkB,EACrD,OAAuBT,EAAAA,IAAIY,EAAAA,KAAsB,CAAE,GAAGD,EAAa,GAAGD,EAAkB,MAAO,GAAM,CACvG,EACAH,EAAY,YAAcL,EAC1B,IAAIW,EAAe,qBACfC,EAAqBC,EAAM,WAC7B,CAACP,EAAOQ,IAAiB,CACvB,KAAM,CAAE,mBA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IAACiF,EAAA,CACC,IAAAtB,EACA,UAAWgB,EAAAA,GAAGO,iBAAA,EAAkBT,CAAS,EACxC,GAAGjE,CAAA,CACN,CACD,EACD6C,EAAkB,YAAc4B,EAA4B,YAK5D,MAAMxB,EAAoB1C,EAAM,WAG9B,CAAC,CAAE,UAAA0D,EAAW,GAAGjE,CAAA,EAASmD,IAC1B3D,EAAAA,IAACmF,EAAA,CACC,IAAAxB,EACA,UAAWgB,EAAAA,GAAGO,iBAAe,CAAE,QAAS,UAAA,CAAY,EAAGT,CAAS,EAC/D,GAAGjE,CAAA,CACN,CACD,EACDiD,EAAkB,YAAc0B,EAA4B","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"alert-dialog-CYT3LDhH.cjs.js","sources":["../../node_modules/@radix-ui/react-alert-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs","../../node_modules/@radix-ui/react-alert-dialog/dist/index.mjs","../../src/ui/alert-dialog/alert-dialog.tsx"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar Slottable = createSlottable(\"AlertDialogContent\");\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n","import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';\nimport * as React from 'react';\nimport { cn } from '../../lib';\nimport { buttonVariants } from '../button';\n\n/**\n * AlertDialog primitives for critical confirmation dialogs.\n */\nconst AlertDialog = AlertDialogPrimitive.Root;\n\n/**\n * Trigger that opens the dialog.\n */\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\n/**\n * Renders the dialog content in a portal to escape the parent container.\n */\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\n/**\n * AlertDialogOverlay - Background overlay for the alert dialog.\n */\nconst AlertDialogOverlay = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Overlay\n className={cn(\n 'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80',\n className\n )}\n {...props}\n ref={ref}\n />\n));\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\n/**\n * AlertDialogContent - Modal content container for the alert dialog.\n */\nconst AlertDialogContent = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <AlertDialogPortal>\n <AlertDialogOverlay />\n <AlertDialogPrimitive.Content\n ref={ref}\n className={cn(\n 'bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 sm:rounded-lg',\n className\n )}\n {...props}\n />\n </AlertDialogPortal>\n));\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\n/**\n * AlertDialogHeader - Container for the dialog header.\n */\nconst AlertDialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n 'flex flex-col space-y-2 text-center sm:text-left',\n className\n )}\n {...props}\n />\n);\nAlertDialogHeader.displayName = 'AlertDialogHeader';\n\n/**\n * AlertDialogFooter - Container for footer actions.\n */\nconst AlertDialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div className={cn('flex gap-2 sm:justify-end', className)} {...props} />\n);\nAlertDialogFooter.displayName = 'AlertDialogFooter';\n\n/**\n * AlertDialogTitle - Accessible title for the alert dialog.\n */\nconst AlertDialogTitle = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Title\n ref={ref}\n className={cn('text-lg font-semibold', className)}\n {...props}\n />\n));\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\n/**\n * AlertDialogDescription - Additional descriptive text.\n */\nconst AlertDialogDescription = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Description\n ref={ref}\n className={cn('text-muted-foreground text-sm', className)}\n {...props}\n />\n));\nAlertDialogDescription.displayName =\n AlertDialogPrimitive.Description.displayName;\n\n/**\n * AlertDialogAction - Confirm action button.\n */\nconst AlertDialogAction = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Action>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Action\n ref={ref}\n className={cn(buttonVariants(), className)}\n {...props}\n />\n));\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\n/**\n * AlertDialogCancel - Cancel action button.\n */\nconst AlertDialogCancel = React.forwardRef<\n React.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ className, ...props }, ref) => (\n <AlertDialogPrimitive.Cancel\n ref={ref}\n className={cn(buttonVariants({ variant: 'tertiary' }), className)}\n {...props}\n />\n));\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nexport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n};\n"],"names":["SLOTTABLE_IDENTIFIER","createSlottable","ownerName","Slottable2","children","jsx","Fragment2","ROOT_NAME","createAlertDialogContext","createContextScope","createDialogScope","useDialogScope","AlertDialog","props","__scopeAlertDialog","alertDialogProps","dialogScope","DialogPrimitive.Root","TRIGGER_NAME","AlertDialogTrigger","React","forwardedRef","triggerProps","DialogPrimitive.Trigger","PORTAL_NAME","AlertDialogPortal","portalProps","DialogPrimitive.Portal","OVERLAY_NAME","AlertDialogOverlay","overlayProps","DialogPrimitive.Overlay","CONTENT_NAME","AlertDialogContentProvider","useAlertDialogContentContext","Slottable","AlertDialogContent","contentProps","contentRef","composedRefs","useComposedRefs","cancelRef","DialogPrimitive.WarningProvider","TITLE_NAME","jsxs","DialogPrimitive.Content","composeEventHandlers","event","_a","DescriptionWarning","AlertDialogTitle","titleProps","DialogPrimitive.Title","DESCRIPTION_NAME","AlertDialogDescription","descriptionProps","DialogPrimitive.Description","ACTION_NAME","AlertDialogAction","actionProps","DialogPrimitive.Close","CANCEL_NAME","AlertDialogCancel","cancelProps","ref","MESSAGE","Root2","Trigger2","Portal2","Overlay2","Content2","Action","Cancel","Title2","Description2","AlertDialogPrimitive.Root","AlertDialogPrimitive.Trigger","AlertDialogPrimitive.Portal","className","AlertDialogPrimitive.Overlay","cn","AlertDialogPrimitive.Content","AlertDialogHeader","AlertDialogFooter","AlertDialogPrimitive.Title","AlertDialogPrimitive.Description","AlertDialogPrimitive.Action","buttonVariants","AlertDialogPrimitive.Cancel"],"mappings":"qjBA8CA,IAAIA,EAAuB,OAAO,iBAAiB,EAEnD,SAASC,EAAgBC,EAAW,CAClC,MAAMC,EAAa,CAAC,CAAE,SAAAC,KACGC,MAAIC,EAAAA,SAAW,CAAE,SAAAF,EAAU,EAEpD,OAAAD,EAAW,YAAc,GAAGD,CA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B3D,EAAAA,IAAC+E,EAAA,CACC,IAAApB,EACA,UAAWgB,EAAAA,GAAG,wBAAyBF,CAAS,EAC/C,GAAGjE,CAAA,CACN,CACD,EACDqC,EAAiB,YAAckC,EAA2B,YAK1D,MAAM9B,EAAyBlC,EAAM,WAGnC,CAAC,CAAE,UAAA0D,EAAW,GAAGjE,CAAA,EAASmD,IAC1B3D,EAAAA,IAACgF,EAAA,CACC,IAAArB,EACA,UAAWgB,EAAAA,GAAG,gCAAiCF,CAAS,EACvD,GAAGjE,CAAA,CACN,CACD,EACDyC,EAAuB,YACrB+B,EAAiC,YAKnC,MAAM3B,EAAoBtC,EAAM,WAG9B,CAAC,CAAE,UAAA0D,EAAW,GAAGjE,CAAA,EAASmD,IAC1B3D,EAAAA,IAACiF,EAAA,CACC,IAAAtB,EACA,UAAWgB,EAAAA,GAAGO,iBAAA,EAAkBT,CAAS,EACxC,GAAGjE,CAAA,CACN,CACD,EACD6C,EAAkB,YAAc4B,EAA4B,YAK5D,MAAMxB,EAAoB1C,EAAM,WAG9B,CAAC,CAAE,UAAA0D,EAAW,GAAGjE,CAAA,EAASmD,IAC1B3D,EAAAA,IAACmF,EAAA,CACC,IAAAxB,EACA,UAAWgB,EAAAA,GAAGO,iBAAe,CAAE,QAAS,UAAA,CAAY,EAAGT,CAAS,EAC/D,GAAGjE,CAAA,CACN,CACD,EACDiD,EAAkB,YAAc0B,EAA4B","x_google_ignoreList":[0,1]}
@@ -5,8 +5,8 @@ import { u as H } from "./index-DwYXX2sM.es.js";
5
5
  import { u as A } from "./index-Dt3MSLsk.es.js";
6
6
  import "react-dom";
7
7
  import { c as B } from "./index-DvGm4EwH.es.js";
8
- import { c as U } from "./index-DcN2zBOn.es.js";
9
- import { c as O } from "./utils-D6dQK9i-.es.js";
8
+ import { c as U } from "./index-CjQdyVZP.es.js";
9
+ import { c as O } from "./index-D6dQK9i-.es.js";
10
10
  function q(e, t = []) {
11
11
  let n = [];
12
12
  function i(r, f) {
@@ -330,4 +330,4 @@ export {
330
330
  oe as b,
331
331
  ne as c
332
332
  };
333
- //# sourceMappingURL=avatar-MPlL_Ty_.es.js.map
333
+ //# sourceMappingURL=avatar-CYP7jfXP.es.js.map