themelia-react-ui 2.0.2 → 2.0.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 (435) hide show
  1. package/CHANGELOG.md +67 -7
  2. package/README.md +70 -37
  3. package/THIRD_PARTY_NOTICES.md +6 -12
  4. package/dist/{accordion-Cjb6sx0G.js → accordion-96o0pN62.js} +5 -5
  5. package/dist/{accordion-Cjb6sx0G.js.map → accordion-96o0pN62.js.map} +1 -1
  6. package/dist/action-menu-CHgs8vmj.js +281 -0
  7. package/dist/action-menu-CHgs8vmj.js.map +1 -0
  8. package/dist/{affordance-geometry.generated-tF36bREk.js → affordance-geometry.generated-B8yGOr8-.js} +7 -1
  9. package/dist/affordance-geometry.generated-B8yGOr8-.js.map +1 -0
  10. package/dist/{ai-artifact-DvTwDVyL.js → ai-artifact-BZUGwBq6.js} +277 -276
  11. package/dist/ai-artifact-BZUGwBq6.js.map +1 -0
  12. package/dist/{app-shell-C4FhvCqF.js → app-shell-D63ATkIK.js} +84 -83
  13. package/dist/app-shell-D63ATkIK.js.map +1 -0
  14. package/dist/{attachment-BxDfL2mw.js → attachment-DkoqHPPl.js} +7 -7
  15. package/dist/{attachment-BxDfL2mw.js.map → attachment-DkoqHPPl.js.map} +1 -1
  16. package/dist/{auth-ax2BqjrI.js → auth-D2FVZ1MH.js} +10 -10
  17. package/dist/{auth-ax2BqjrI.js.map → auth-D2FVZ1MH.js.map} +1 -1
  18. package/dist/{avatar-DAPlDvhJ.js → avatar-DWO_HHhB.js} +5 -5
  19. package/dist/{avatar-DAPlDvhJ.js.map → avatar-DWO_HHhB.js.map} +1 -1
  20. package/dist/{badge-HpFqoqSY.js → badge-DErMA7ul.js} +4 -4
  21. package/dist/{badge-HpFqoqSY.js.map → badge-DErMA7ul.js.map} +1 -1
  22. package/dist/base/accordion.js +1 -1
  23. package/dist/base/action-menu.js +1 -1
  24. package/dist/base/attachment.js +1 -1
  25. package/dist/base/avatar.js +1 -1
  26. package/dist/base/badge.js +1 -1
  27. package/dist/base/batch-action-bar.js +1 -1
  28. package/dist/base/buttons.js +1 -1
  29. package/dist/base/cards.js +2 -2
  30. package/dist/base/carousel.js +3 -3
  31. package/dist/base/cascader.js +13 -13
  32. package/dist/base/chart.js +1 -1
  33. package/dist/base/choice-inputs.js +2 -2
  34. package/dist/base/code-block.js +1 -1
  35. package/dist/base/combobox.js +2 -2
  36. package/dist/base/command.js +1 -1
  37. package/dist/base/copyable.js +1 -1
  38. package/dist/base/date-pickers.js +2 -2
  39. package/dist/base/display.js +6 -6
  40. package/dist/base/feedback.js +3 -3
  41. package/dist/base/forms-numeric.js +1 -1
  42. package/dist/base/forms.js +3 -3
  43. package/dist/base/inline-edit.js +10 -10
  44. package/dist/base/item.js +1 -1
  45. package/dist/base/media-gallery.js +1 -1
  46. package/dist/base/metadata-list.js +1 -1
  47. package/dist/base/navigation.js +6 -6
  48. package/dist/base/popover-menu.js +1 -1
  49. package/dist/base/popover.js +1 -1
  50. package/dist/base/qr-code.js +1 -1
  51. package/dist/base/repeaters.js +9 -9
  52. package/dist/base/sheet.js +1 -1
  53. package/dist/base/sidebar.js +1 -1
  54. package/dist/base/signature-pad.js +6 -6
  55. package/dist/base/skeleton.js +1 -1
  56. package/dist/base/spinner.js +4 -4
  57. package/dist/base/structure.js +1 -1
  58. package/dist/base/table.js +1 -1
  59. package/dist/base/text-inputs.js +2 -2
  60. package/dist/base/toaster.js +3 -3
  61. package/dist/base/tree.js +1 -1
  62. package/dist/base/upload-queue.js +1 -1
  63. package/dist/base/upload.js +3 -3
  64. package/dist/base/value-inputs.js +1 -1
  65. package/dist/{batch-action-bar-DnUJ21NQ.js → batch-action-bar-CdfIkCsV.js} +4 -4
  66. package/dist/{batch-action-bar-DnUJ21NQ.js.map → batch-action-bar-CdfIkCsV.js.map} +1 -1
  67. package/dist/blocks/admin.js +20 -20
  68. package/dist/blocks/admin.js.map +1 -1
  69. package/dist/blocks/ai.js +15 -15
  70. package/dist/blocks/analytics/usage-card.js +1 -1
  71. package/dist/blocks/analytics.js +17 -17
  72. package/dist/blocks/analytics.js.map +1 -1
  73. package/dist/blocks/collaboration.js +1 -1
  74. package/dist/blocks/commerce/receipt.js +1 -1
  75. package/dist/blocks/commerce.js +570 -567
  76. package/dist/blocks/commerce.js.map +1 -1
  77. package/dist/blocks/data-display.js +2 -2
  78. package/dist/blocks/onboarding.js +5 -5
  79. package/dist/blocks/planning.js +11 -11
  80. package/dist/blocks/timelines.js +1 -1
  81. package/dist/{breadcrumbs-C-oqs1sQ.js → breadcrumbs-B-WFKecD.js} +4 -4
  82. package/dist/{breadcrumbs-C-oqs1sQ.js.map → breadcrumbs-B-WFKecD.js.map} +1 -1
  83. package/dist/{button-DVzspB_G.js → button-DkmK-z8E.js} +2 -2
  84. package/dist/{button-DVzspB_G.js.map → button-DkmK-z8E.js.map} +1 -1
  85. package/dist/{buttons-DPZekJFu.js → buttons-BbfzgczK.js} +8 -8
  86. package/dist/{buttons-DPZekJFu.js.map → buttons-BbfzgczK.js.map} +1 -1
  87. package/dist/{cards-BaBZR-AU.js → cards-4JTWqvVe.js} +10 -10
  88. package/dist/cards-4JTWqvVe.js.map +1 -0
  89. package/dist/{chart-ZOYyK2xG.js → chart-C19flDQb.js} +4 -4
  90. package/dist/{chart-ZOYyK2xG.js.map → chart-C19flDQb.js.map} +1 -1
  91. package/dist/{checkbox-AWIhNhmo.js → checkbox-CzYUTPeJ.js} +9 -5
  92. package/dist/checkbox-CzYUTPeJ.js.map +1 -0
  93. package/dist/{choice-inputs-CNHvARCJ.js → choice-inputs-JLtij2y4.js} +182 -176
  94. package/dist/choice-inputs-JLtij2y4.js.map +1 -0
  95. package/dist/{code-block-DeneBJR_.js → code-block-CGNaUtAE.js} +7 -7
  96. package/dist/{code-block-DeneBJR_.js.map → code-block-CGNaUtAE.js.map} +1 -1
  97. package/dist/{collapsible-C-_l4hpy.js → collapsible-Do4G0zcC.js} +3 -3
  98. package/dist/{collapsible-C-_l4hpy.js.map → collapsible-Do4G0zcC.js.map} +1 -1
  99. package/dist/{collection-content-By56pLog.js → collection-content-C0e8SsTm.js} +3 -3
  100. package/dist/{collection-content-By56pLog.js.map → collection-content-C0e8SsTm.js.map} +1 -1
  101. package/dist/{combobox-C0EQW6dr.js → combobox-CBJDs6w_.js} +349 -347
  102. package/dist/combobox-CBJDs6w_.js.map +1 -0
  103. package/dist/{combobox-xCQ2RMNE.js → combobox-hbhSS18O.js} +158 -112
  104. package/dist/combobox-hbhSS18O.js.map +1 -0
  105. package/dist/{command-C25VMRII.js → command-D8NrBj-b.js} +7 -7
  106. package/dist/{command-C25VMRII.js.map → command-D8NrBj-b.js.map} +1 -1
  107. package/dist/{comments-BYYlTA8E.js → comments-Di4w0H_S.js} +383 -382
  108. package/dist/comments-Di4w0H_S.js.map +1 -0
  109. package/dist/components/base/action-menu/action-menu.d.ts +2 -0
  110. package/dist/components/base/cards/card.recipes.d.ts +12 -5
  111. package/dist/components/base/cards/smart-card.types.d.ts +12 -7
  112. package/dist/components/base/choice-inputs/checkbox.d.ts +7 -2
  113. package/dist/components/base/choice-inputs/switch-card.d.ts +7 -0
  114. package/dist/components/base/choice-inputs/toggle-field.d.ts +7 -0
  115. package/dist/components/base/combobox/combobox-field.d.ts +16 -0
  116. package/dist/components/base/date-pickers/datepicker.types.d.ts +7 -0
  117. package/dist/components/base/forms/controlled-form-field.d.ts +6 -6
  118. package/dist/components/base/forms/form-field.d.ts +5 -3
  119. package/dist/components/base/forms/index.d.ts +1 -0
  120. package/dist/components/base/forms/server-errors.d.ts +16 -0
  121. package/dist/components/base/forms/workflow.d.ts +5 -2
  122. package/dist/components/base/metadata-list/metadata-list.d.ts +3 -1
  123. package/dist/components/base/navigation/page-header/page-header.d.ts +4 -2
  124. package/dist/components/base/structure/composition.recipes.d.ts +17 -0
  125. package/dist/components/base/text-inputs/hooks/use-form-field-state.d.ts +7 -2
  126. package/dist/components/base/text-inputs/input.d.ts +4 -2
  127. package/dist/components/base/text-inputs/textarea.d.ts +4 -2
  128. package/dist/components/base/value-inputs/date-time-input.d.ts +2 -1
  129. package/dist/components/base/value-inputs/slider.d.ts +5 -1
  130. package/dist/components/base/value-inputs/tags-input.d.ts +5 -1
  131. package/dist/components/typography/text.styles.d.ts +26 -1
  132. package/dist/components/ui/combobox-dismiss.d.ts +16 -0
  133. package/dist/components/ui/combobox.d.ts +11 -6
  134. package/dist/components/ui/dialog.d.ts +1 -1
  135. package/dist/components/ui/popover.d.ts +1 -1
  136. package/dist/components/ui/sheet.d.ts +1 -1
  137. package/dist/composition.recipes-COdiFhxB.js +19 -0
  138. package/dist/composition.recipes-COdiFhxB.js.map +1 -0
  139. package/dist/containers-CRmHf7GP.js +104 -0
  140. package/dist/containers-CRmHf7GP.js.map +1 -0
  141. package/dist/{copyable-ClBuk_UK.js → copyable-CnGCZdX4.js} +4 -4
  142. package/dist/{copyable-ClBuk_UK.js.map → copyable-CnGCZdX4.js.map} +1 -1
  143. package/dist/{data-display-DT_khPl_.js → data-display-D4oujtx0.js} +239 -238
  144. package/dist/data-display-D4oujtx0.js.map +1 -0
  145. package/dist/{date-DCrsDTZc.js → date-Q7jnXxpk.js} +5 -5
  146. package/dist/{date-DCrsDTZc.js.map → date-Q7jnXxpk.js.map} +1 -1
  147. package/dist/{date-picker-ay0Pha_a.js → date-picker-zOt1oNss.js} +102 -90
  148. package/dist/date-picker-zOt1oNss.js.map +1 -0
  149. package/dist/date-pickers-cj8IXbDC.js +179 -0
  150. package/dist/date-pickers-cj8IXbDC.js.map +1 -0
  151. package/dist/{display-hAc1HjpI.js → display-BB4BL_-K.js} +8 -8
  152. package/dist/{display-hAc1HjpI.js.map → display-BB4BL_-K.js.map} +1 -1
  153. package/dist/{dropdown-menu-Cl4X7L5S.js → dropdown-menu-CjY8Vt7W.js} +8 -8
  154. package/dist/{dropdown-menu-Cl4X7L5S.js.map → dropdown-menu-CjY8Vt7W.js.map} +1 -1
  155. package/dist/features/activities.js +11 -11
  156. package/dist/features/ai-chat.js +9 -9
  157. package/dist/features/appointment-calendar.js +222 -220
  158. package/dist/features/appointment-calendar.js.map +1 -1
  159. package/dist/features/async-preview.js +8 -8
  160. package/dist/features/combobox.js +1 -1
  161. package/dist/features/comments.js +1 -1
  162. package/dist/features/data-view.js +10 -10
  163. package/dist/features/email-composer.js +275 -274
  164. package/dist/features/email-composer.js.map +1 -1
  165. package/dist/features/event-calendar.js +199 -198
  166. package/dist/features/event-calendar.js.map +1 -1
  167. package/dist/features/filters.js +1 -1
  168. package/dist/features/global-search.js +12 -12
  169. package/dist/features/kanban.js +4 -4
  170. package/dist/features/map.js +7 -7
  171. package/dist/features/media-library.js +623 -622
  172. package/dist/features/media-library.js.map +1 -1
  173. package/dist/features/mentions.js +1 -1
  174. package/dist/features/overlays.js +1 -1
  175. package/dist/features/products.js +973 -969
  176. package/dist/features/products.js.map +1 -1
  177. package/dist/features/questionnaire.js +12 -12
  178. package/dist/features/resource-assignment.js +8 -8
  179. package/dist/features/resource.js +113 -112
  180. package/dist/features/resource.js.map +1 -1
  181. package/dist/features/rich-text-editor.js +2 -2
  182. package/dist/features/schema-form.js +254 -253
  183. package/dist/features/schema-form.js.map +1 -1
  184. package/dist/features/suggestions.js +3 -3
  185. package/dist/features/sync.js +3 -3
  186. package/dist/features/table.js +1 -1
  187. package/dist/features/theme-tweaker.js +19 -19
  188. package/dist/features/theme-tweaker.js.map +1 -1
  189. package/dist/{feedback-BYIhtitP.js → feedback-DZNL5Lg1.js} +9 -9
  190. package/dist/{feedback-BYIhtitP.js.map → feedback-DZNL5Lg1.js.map} +1 -1
  191. package/dist/{field-affordance-recipes-DZhnIL_Y.js → field-affordance-recipes-DjwGx8eM.js} +2 -2
  192. package/dist/{field-affordance-recipes-DZhnIL_Y.js.map → field-affordance-recipes-DjwGx8eM.js.map} +1 -1
  193. package/dist/{filters-BGfvjP4d.js → filters-BcT-uoFy.js} +19 -19
  194. package/dist/{filters-BGfvjP4d.js.map → filters-BcT-uoFy.js.map} +1 -1
  195. package/dist/{form-field-CwH9y77i.js → form-field-CsgRmdit.js} +14 -8
  196. package/dist/form-field-CsgRmdit.js.map +1 -0
  197. package/dist/{form-sizing-BdP_Mf5p.js → form-sizing-NXgjkmBG.js} +3 -3
  198. package/dist/{form-sizing-BdP_Mf5p.js.map → form-sizing-NXgjkmBG.js.map} +1 -1
  199. package/dist/{forms-B9G_xwzi.js → forms-BV5m5aQF.js} +83 -65
  200. package/dist/forms-BV5m5aQF.js.map +1 -0
  201. package/dist/{forms-numeric-B_jraJaQ.js → forms-numeric-Cd33AKbD.js} +288 -288
  202. package/dist/forms-numeric-Cd33AKbD.js.map +1 -0
  203. package/dist/{header-CGXuhcRm.js → header-BA697l4a.js} +14 -14
  204. package/dist/{header-CGXuhcRm.js.map → header-BA697l4a.js.map} +1 -1
  205. package/dist/hooks/useFormErrors.d.ts +1 -1
  206. package/dist/{hooks-Dkz0K2WT.js → hooks-BQ-L7Uu2.js} +2 -2
  207. package/dist/{hooks-Dkz0K2WT.js.map → hooks-BQ-L7Uu2.js.map} +1 -1
  208. package/dist/{icon-badge-DYKIwvOV.js → icon-badge-COWbCCWu.js} +3 -3
  209. package/dist/{icon-badge-DYKIwvOV.js.map → icon-badge-COWbCCWu.js.map} +1 -1
  210. package/dist/index.js +2 -2
  211. package/dist/input-Cdw4k0fb.js +289 -0
  212. package/dist/input-Cdw4k0fb.js.map +1 -0
  213. package/dist/{input-CZw8iU99.js → input-DOPL5_QE.js} +3 -3
  214. package/dist/{input-CZw8iU99.js.map → input-DOPL5_QE.js.map} +1 -1
  215. package/dist/item-BvZ2DR_x.js +277 -0
  216. package/dist/item-BvZ2DR_x.js.map +1 -0
  217. package/dist/layout/app-shell.js +1 -1
  218. package/dist/layout/auth.js +1 -1
  219. package/dist/layout/containers.js +1 -1
  220. package/dist/layout/header.js +1 -1
  221. package/dist/layout/hooks.js +1 -1
  222. package/dist/layout/navigation.js +1 -1
  223. package/dist/layout/page.js +1 -1
  224. package/dist/layout/settings.js +1 -1
  225. package/dist/layout/sidebar.js +2 -2
  226. package/dist/layout/workspace.js +1 -1
  227. package/dist/layout.js +10 -10
  228. package/dist/lib/affordance-geometry.generated.d.ts +6 -0
  229. package/dist/lib/ui-provider/types.d.ts +1 -1
  230. package/dist/lib/use-popup-focus-recovery.d.ts +8 -0
  231. package/dist/lib/utils.js +1 -1
  232. package/dist/{media-gallery-3zIVLMWH.js → media-gallery-CSl5W1Fy.js} +6 -6
  233. package/dist/{media-gallery-3zIVLMWH.js.map → media-gallery-CSl5W1Fy.js.map} +1 -1
  234. package/dist/{mentions-utuUvH1K.js → mentions-RKOQaaIB.js} +8 -8
  235. package/dist/{mentions-utuUvH1K.js.map → mentions-RKOQaaIB.js.map} +1 -1
  236. package/dist/{message-DZ_ruyUV.js → message-INU2xsxu.js} +4 -4
  237. package/dist/{message-DZ_ruyUV.js.map → message-INU2xsxu.js.map} +1 -1
  238. package/dist/metadata-list-qVV7AVxa.js +443 -0
  239. package/dist/metadata-list-qVV7AVxa.js.map +1 -0
  240. package/dist/{navigation-BzhHI3lo.js → navigation-BQNcg1jT.js} +8 -8
  241. package/dist/{navigation-BzhHI3lo.js.map → navigation-BQNcg1jT.js.map} +1 -1
  242. package/dist/{navigation-Bnotn4AQ.js → navigation-DLF3E1IC.js} +7 -7
  243. package/dist/{navigation-Bnotn4AQ.js.map → navigation-DLF3E1IC.js.map} +1 -1
  244. package/dist/{navigation-row-recipes-BFLCk_Aq.js → navigation-row-recipes-WZEs-hYo.js} +2 -2
  245. package/dist/{navigation-row-recipes-BFLCk_Aq.js.map → navigation-row-recipes-WZEs-hYo.js.map} +1 -1
  246. package/dist/{number-DbV1Dija.js → number-E_OiIfJz.js} +5 -5
  247. package/dist/{number-DbV1Dija.js.map → number-E_OiIfJz.js.map} +1 -1
  248. package/dist/{overflow-tab-bar-CWY7Nogn.js → overflow-tab-bar-CrbqMteP.js} +107 -105
  249. package/dist/overflow-tab-bar-CrbqMteP.js.map +1 -0
  250. package/dist/{overlays-DNWmZrJ4.js → overlays-BlKynmde.js} +322 -319
  251. package/dist/overlays-BlKynmde.js.map +1 -0
  252. package/dist/page-CIwNUtGr.js +227 -0
  253. package/dist/page-CIwNUtGr.js.map +1 -0
  254. package/dist/page-header-commands-DFMlNYzN.js +128 -0
  255. package/dist/page-header-commands-DFMlNYzN.js.map +1 -0
  256. package/dist/{pagination-BL25hu2s.js → pagination-Ch8X_47u.js} +5 -5
  257. package/dist/{pagination-BL25hu2s.js.map → pagination-Ch8X_47u.js.map} +1 -1
  258. package/dist/{popover-menu-B9WWygpa.js → popover-menu-BYaCdFhf.js} +6 -6
  259. package/dist/{popover-menu-B9WWygpa.js.map → popover-menu-BYaCdFhf.js.map} +1 -1
  260. package/dist/{popover-7_m66eYW.js → popover-uwzX2vo7.js} +65 -63
  261. package/dist/popover-uwzX2vo7.js.map +1 -0
  262. package/dist/{primitives-BFK08r9M.js → primitives-Du64iDbb.js} +6 -6
  263. package/dist/{primitives-BFK08r9M.js.map → primitives-Du64iDbb.js.map} +1 -1
  264. package/dist/primitives.js +4 -4
  265. package/dist/{progress-B1VnCT0K.js → progress-BvF2oCdV.js} +5 -5
  266. package/dist/{progress-B1VnCT0K.js.map → progress-BvF2oCdV.js.map} +1 -1
  267. package/dist/{receipt-BVSOH3Xo.js → receipt-D789Jwyy.js} +6 -6
  268. package/dist/{receipt-BVSOH3Xo.js.map → receipt-D789Jwyy.js.map} +1 -1
  269. package/dist/{rich-text-GOUyKQ-s.js → rich-text-CLJEf76s.js} +4 -4
  270. package/dist/{rich-text-GOUyKQ-s.js.map → rich-text-CLJEf76s.js.map} +1 -1
  271. package/dist/{rich-text-editor-cRLC-eBK.js → rich-text-editor-Cm1dpUpQ.js} +10 -10
  272. package/dist/{rich-text-editor-cRLC-eBK.js.map → rich-text-editor-Cm1dpUpQ.js.map} +1 -1
  273. package/dist/{rich-text-editor-toolbar-DfXg0-VC.js → rich-text-editor-toolbar-L__e4x47.js} +4 -4
  274. package/dist/{rich-text-editor-toolbar-DfXg0-VC.js.map → rich-text-editor-toolbar-L__e4x47.js.map} +1 -1
  275. package/dist/{scroll-area-DcI-M1UT.js → scroll-area-La5RXsEk.js} +2 -2
  276. package/dist/{scroll-area-DcI-M1UT.js.map → scroll-area-La5RXsEk.js.map} +1 -1
  277. package/dist/{separator-Bom7NsGO.js → separator-DAEV0w65.js} +2 -2
  278. package/dist/{separator-Bom7NsGO.js.map → separator-DAEV0w65.js.map} +1 -1
  279. package/dist/{separator-BDV-Y648.js → separator-GNfPG-90.js} +3 -3
  280. package/dist/{separator-BDV-Y648.js.map → separator-GNfPG-90.js.map} +1 -1
  281. package/dist/services/actions.js +1 -1
  282. package/dist/settings-BA2iboic.js +174 -0
  283. package/dist/settings-BA2iboic.js.map +1 -0
  284. package/dist/{sheet-CGpB3omz.js → sheet-DoAxTb2J.js} +75 -73
  285. package/dist/sheet-DoAxTb2J.js.map +1 -0
  286. package/dist/{sidebar-A0ElHINE.js → sidebar-ByqKR_W5.js} +13 -13
  287. package/dist/{sidebar-A0ElHINE.js.map → sidebar-ByqKR_W5.js.map} +1 -1
  288. package/dist/{sidebar-CPx_7YBa.js → sidebar-D2iSnGJ7.js} +11 -11
  289. package/dist/{sidebar-CPx_7YBa.js.map → sidebar-D2iSnGJ7.js.map} +1 -1
  290. package/dist/{skeleton-Byjnt7qr.js → skeleton-CUj8O5Bd.js} +3 -3
  291. package/dist/{skeleton-Byjnt7qr.js.map → skeleton-CUj8O5Bd.js.map} +1 -1
  292. package/dist/smart-card-CqkzQsK-.js +614 -0
  293. package/dist/smart-card-CqkzQsK-.js.map +1 -0
  294. package/dist/{structure-BmisBK-3.js → structure-C0V0_Fyf.js} +3 -3
  295. package/dist/{structure-BmisBK-3.js.map → structure-C0V0_Fyf.js.map} +1 -1
  296. package/dist/{structure.recipes-EPz60cU8.js → structure.recipes-BB4-n58V.js} +2 -2
  297. package/dist/{structure.recipes-EPz60cU8.js.map → structure.recipes-BB4-n58V.js.map} +1 -1
  298. package/dist/style.css +1 -1
  299. package/dist/{table-DsfzoUia.js → table-CpvnzJn9.js} +3 -3
  300. package/dist/{table-DsfzoUia.js.map → table-CpvnzJn9.js.map} +1 -1
  301. package/dist/{table-BweFy_P9.js → table-DH7rozUv.js} +19 -19
  302. package/dist/{table-BweFy_P9.js.map → table-DH7rozUv.js.map} +1 -1
  303. package/dist/{tabs-CDocW5D1.js → tabs-eqVsJZWO.js} +7 -7
  304. package/dist/{tabs-CDocW5D1.js.map → tabs-eqVsJZWO.js.map} +1 -1
  305. package/dist/{text-inputs-f9Ia-aCi.js → text-inputs-DXItiR0O.js} +101 -98
  306. package/dist/text-inputs-DXItiR0O.js.map +1 -0
  307. package/dist/{text.styles-g4He6UIW.js → text.styles-B64My8RZ.js} +25 -10
  308. package/dist/text.styles-B64My8RZ.js.map +1 -0
  309. package/dist/theme.css +152 -112
  310. package/dist/{timelines-CwM_9IhD.js → timelines-DmtztAY_.js} +10 -10
  311. package/dist/{timelines-CwM_9IhD.js.map → timelines-DmtztAY_.js.map} +1 -1
  312. package/dist/{tooltip-yiRJUFjp.js → tooltip-B4hjKtoV.js} +3 -3
  313. package/dist/{tooltip-yiRJUFjp.js.map → tooltip-B4hjKtoV.js.map} +1 -1
  314. package/dist/{tree-WnKQzwbq.js → tree-CV11PURP.js} +8 -8
  315. package/dist/{tree-WnKQzwbq.js.map → tree-CV11PURP.js.map} +1 -1
  316. package/dist/typography/rich-text.js +1 -1
  317. package/dist/typography-CSyJrh28.js +117 -0
  318. package/dist/typography-CSyJrh28.js.map +1 -0
  319. package/dist/typography.js +1 -1
  320. package/dist/{ui-provider-C_U0Xma4.js → ui-provider-CQCuCBcy.js} +3 -3
  321. package/dist/ui-provider-CQCuCBcy.js.map +1 -0
  322. package/dist/ui-provider.js +1 -1
  323. package/dist/{upload-CXyxmQBP.js → upload-C9SA0X-8.js} +11 -11
  324. package/dist/{upload-CXyxmQBP.js.map → upload-C9SA0X-8.js.map} +1 -1
  325. package/dist/{upload-queue-Boscubn9.js → upload-queue-DhQJiSRc.js} +9 -9
  326. package/dist/{upload-queue-Boscubn9.js.map → upload-queue-DhQJiSRc.js.map} +1 -1
  327. package/dist/{usage-card-BhO5eqkX.js → usage-card-DVTRDmGz.js} +134 -133
  328. package/dist/usage-card-DVTRDmGz.js.map +1 -0
  329. package/dist/use-popup-focus-recovery-C0QPvgOR.js +36 -0
  330. package/dist/use-popup-focus-recovery-C0QPvgOR.js.map +1 -0
  331. package/dist/{utils-BRhFDwuU.js → utils-CF3c95Io.js} +68 -5
  332. package/dist/utils-CF3c95Io.js.map +1 -0
  333. package/dist/value-inputs-C0o70p-U.js +980 -0
  334. package/dist/value-inputs-C0o70p-U.js.map +1 -0
  335. package/dist/{value-typography-BP8OG6h5.js → value-typography-ClupF0Gz.js} +2 -2
  336. package/dist/{value-typography-BP8OG6h5.js.map → value-typography-ClupF0Gz.js.map} +1 -1
  337. package/dist/workspace-9EFVXUyk.js +410 -0
  338. package/dist/workspace-9EFVXUyk.js.map +1 -0
  339. package/docs/consumer-skill/SKILL.md +14 -129
  340. package/docs/consumer-skill/examples/app-layout.tsx +22 -12
  341. package/docs/consumer-skill/examples/authentication.tsx +77 -0
  342. package/docs/consumer-skill/examples/edit.tsx +30 -38
  343. package/docs/consumer-skill/examples/manifest.json +51 -1
  344. package/docs/consumer-skill/examples/rhf-bindings.tsx +86 -0
  345. package/docs/consumer-skill/examples/rhf-edit-page.tsx +141 -0
  346. package/docs/consumer-skill/examples/rhf-overlay-form.tsx +92 -0
  347. package/docs/consumer-skill/examples/rhf-transport.tsx +28 -0
  348. package/docs/consumer-skill/references/agents-md.md +17 -7
  349. package/docs/consumer-skill/references/authentication.md +42 -0
  350. package/docs/consumer-skill/references/component-contracts.json +319824 -0
  351. package/docs/consumer-skill/references/composition-mapping.md +92 -0
  352. package/docs/consumer-skill/references/composition.md +43 -19
  353. package/docs/consumer-skill/references/design-contract.md +32 -0
  354. package/docs/consumer-skill/references/discovery.md +84 -7
  355. package/docs/consumer-skill/references/installation.md +45 -35
  356. package/docs/consumer-skill/references/integration.md +6 -2
  357. package/docs/consumer-skill/references/public-api.json +1520 -66
  358. package/docs/consumer-skill/references/review.md +9 -4
  359. package/docs/consumer-skill/references/rhf-workflows.md +86 -0
  360. package/docs/consumer-skill/references/screen-archetypes.md +22 -0
  361. package/docs/consumer-skill/references/theming.md +8 -9
  362. package/docs/consumer-skill/references/tokens.json +12 -3
  363. package/docs/consumer-skill/references/workflows.md +7 -5
  364. package/docs/consumer-skill/scripts/composition-schema.d.mts +2 -0
  365. package/docs/consumer-skill/scripts/composition-schema.mjs +32 -0
  366. package/docs/consumer-skill/scripts/composition.mjs +198 -0
  367. package/docs/consumer-skill/scripts/discovery.mjs +42 -10
  368. package/docs/consumer-skill/scripts/inspect-component.mjs +11 -0
  369. package/docs/consumer-skill/scripts/inspect-tokens.mjs +11 -0
  370. package/docs/consumer-skill/scripts/inspection.mjs +138 -0
  371. package/docs/consumer-skill/scripts/map-composition.mjs +12 -0
  372. package/docs/consumer-skill/scripts/setup-skills.mjs +76 -0
  373. package/docs/consumer-skills/themelia-components/SKILL.md +30 -0
  374. package/docs/consumer-skills/themelia-composition/SKILL.md +35 -0
  375. package/docs/consumer-skills/themelia-forms/SKILL.md +12 -0
  376. package/docs/consumer-skills/themelia-foundation/SKILL.md +14 -0
  377. package/docs/consumer-skills/themelia-tokenization/SKILL.md +35 -0
  378. package/package.json +6 -4
  379. package/templates/README.md +39 -0
  380. package/templates/admin-shell-template.tsx +382 -0
  381. package/templates/analytics-operations-template.tsx +376 -0
  382. package/templates/customers-template.tsx +509 -0
  383. package/templates/index.ts +29 -0
  384. package/templates/orders-template.tsx +1102 -0
  385. package/templates/products-template.tsx +834 -0
  386. package/templates/user-permissions-template.tsx +450 -0
  387. package/dist/action-menu-CllU52Mm.js +0 -280
  388. package/dist/action-menu-CllU52Mm.js.map +0 -1
  389. package/dist/affordance-geometry.generated-tF36bREk.js.map +0 -1
  390. package/dist/ai-artifact-DvTwDVyL.js.map +0 -1
  391. package/dist/app-shell-C4FhvCqF.js.map +0 -1
  392. package/dist/cards-BaBZR-AU.js.map +0 -1
  393. package/dist/checkbox-AWIhNhmo.js.map +0 -1
  394. package/dist/choice-inputs-CNHvARCJ.js.map +0 -1
  395. package/dist/combobox-C0EQW6dr.js.map +0 -1
  396. package/dist/combobox-xCQ2RMNE.js.map +0 -1
  397. package/dist/comments-BYYlTA8E.js.map +0 -1
  398. package/dist/containers-Mu1LMGV1.js +0 -103
  399. package/dist/containers-Mu1LMGV1.js.map +0 -1
  400. package/dist/data-display-DT_khPl_.js.map +0 -1
  401. package/dist/date-picker-ay0Pha_a.js.map +0 -1
  402. package/dist/date-pickers-Ccw8DL2b.js +0 -175
  403. package/dist/date-pickers-Ccw8DL2b.js.map +0 -1
  404. package/dist/form-field-CwH9y77i.js.map +0 -1
  405. package/dist/forms-B9G_xwzi.js.map +0 -1
  406. package/dist/forms-numeric-B_jraJaQ.js.map +0 -1
  407. package/dist/input-DQdEd0YD.js +0 -263
  408. package/dist/input-DQdEd0YD.js.map +0 -1
  409. package/dist/item-K5_ghvze.js +0 -275
  410. package/dist/item-K5_ghvze.js.map +0 -1
  411. package/dist/metadata-list-8N16ZMW_.js +0 -405
  412. package/dist/metadata-list-8N16ZMW_.js.map +0 -1
  413. package/dist/overflow-tab-bar-CWY7Nogn.js.map +0 -1
  414. package/dist/overlays-DNWmZrJ4.js.map +0 -1
  415. package/dist/page-Bgl1F560.js +0 -224
  416. package/dist/page-Bgl1F560.js.map +0 -1
  417. package/dist/page-header-commands-DOb6WsfD.js +0 -126
  418. package/dist/page-header-commands-DOb6WsfD.js.map +0 -1
  419. package/dist/popover-7_m66eYW.js.map +0 -1
  420. package/dist/settings-ybnjVwbd.js +0 -171
  421. package/dist/settings-ybnjVwbd.js.map +0 -1
  422. package/dist/sheet-CGpB3omz.js.map +0 -1
  423. package/dist/smart-card-DiC5aac3.js +0 -604
  424. package/dist/smart-card-DiC5aac3.js.map +0 -1
  425. package/dist/text-inputs-f9Ia-aCi.js.map +0 -1
  426. package/dist/text.styles-g4He6UIW.js.map +0 -1
  427. package/dist/typography-UTnveOEy.js +0 -117
  428. package/dist/typography-UTnveOEy.js.map +0 -1
  429. package/dist/ui-provider-C_U0Xma4.js.map +0 -1
  430. package/dist/usage-card-BhO5eqkX.js.map +0 -1
  431. package/dist/utils-BRhFDwuU.js.map +0 -1
  432. package/dist/value-inputs-DXPDjvBU.js +0 -963
  433. package/dist/value-inputs-DXPDjvBU.js.map +0 -1
  434. package/dist/workspace-Cdrg7k9f.js +0 -408
  435. package/dist/workspace-Cdrg7k9f.js.map +0 -1
@@ -1,81 +1,84 @@
1
1
  "use client";
2
- import { d as e } from "./ui-provider-C_U0Xma4.js";
2
+ import { d as e } from "./ui-provider-CQCuCBcy.js";
3
3
  import { r as t } from "./theme-scope-BJ6eE2xt.js";
4
4
  import { useStrings as n } from "./lib/strings.js";
5
- import { t as r } from "./utils-BRhFDwuU.js";
6
- import { a as i, c as a, i as o, l as s, n as c, o as l, r as u, s as d, t as f, u as p } from "./sheet-CGpB3omz.js";
7
- import { n as m } from "./buttons-DPZekJFu.js";
8
- import { c as h } from "./typography-UTnveOEy.js";
9
- import { a as g, i as _, s as v } from "./text.styles-g4He6UIW.js";
5
+ import { t as r } from "./utils-CF3c95Io.js";
6
+ import { a as i, c as a, i as o, l as s, n as c, o as l, r as u, s as d, t as f, u as p } from "./sheet-DoAxTb2J.js";
7
+ import { n as m } from "./buttons-BbfzgczK.js";
8
+ import { c as h } from "./typography-CSyJrh28.js";
9
+ import { l as g, o as _, s as v } from "./text.styles-B64My8RZ.js";
10
10
  import { t as y } from "./motion-recipes-ChBg4HBq.js";
11
11
  import { t as b } from "./slot-CLF9kLrS.js";
12
- import { t as x } from "./button-DVzspB_G.js";
13
- import { t as S } from "./structure-BmisBK-3.js";
12
+ import { t as x } from "./button-DkmK-z8E.js";
13
+ import { t as S } from "./structure-C0V0_Fyf.js";
14
14
  import { i as C } from "./tone-recipes-BPsRAvhu.js";
15
- import { h as ee, p as te } from "./smart-card-DiC5aac3.js";
15
+ import { h as ee, p as te } from "./smart-card-CqkzQsK-.js";
16
16
  import { a as w, r as T } from "./surface-recipes-BKRVW8Os.js";
17
+ import { n as ne } from "./composition.recipes-COdiFhxB.js";
17
18
  import { t as E } from "./overlay.recipes-8GHqmlb4.js";
18
- import { t as ne } from "./interaction-recipes-XR9ZpVYL.js";
19
- import * as D from "react";
20
- import { isValidElement as re, memo as O, useCallback as k, useLayoutEffect as A, useMemo as j, useRef as M, useState as N } from "react";
21
- import { jsx as P, jsxs as F } from "react/jsx-runtime";
22
- import { AlertCircle as I, AlertTriangle as L, CheckCircle as R, HelpCircle as z, Info as B, X as ie, XIcon as V } from "lucide-react";
23
- import { Dialog as H } from "@base-ui/react/dialog";
24
- import { AlertDialog as U } from "@base-ui/react/alert-dialog";
19
+ import { t as D } from "./use-popup-focus-recovery-C0QPvgOR.js";
20
+ import { t as re } from "./interaction-recipes-XR9ZpVYL.js";
21
+ import * as O from "react";
22
+ import { isValidElement as ie, memo as k, useCallback as A, useLayoutEffect as j, useMemo as M, useRef as N, useState as P } from "react";
23
+ import { jsx as F, jsxs as I } from "react/jsx-runtime";
24
+ import { AlertCircle as L, AlertTriangle as R, CheckCircle as z, HelpCircle as B, Info as V, X as H, XIcon as U } from "lucide-react";
25
+ import { Dialog as W } from "@base-ui/react/dialog";
26
+ import { AlertDialog as G } from "@base-ui/react/alert-dialog";
25
27
  //#region src/components/ui/dialog.tsx
26
- function W({ ...e }) {
27
- return /* @__PURE__ */ P(H.Root, {
28
+ function K({ ...e }) {
29
+ return /* @__PURE__ */ F(W.Root, {
28
30
  "data-slot": "dialog",
29
31
  modal: "trap-focus",
30
32
  ...e
31
33
  });
32
34
  }
33
- function G({ asChild: e = !1, ...t }) {
34
- let n = e ? /* @__PURE__ */ P(b, {}) : void 0;
35
- return /* @__PURE__ */ P(H.Trigger, {
35
+ function q({ asChild: e = !1, ...t }) {
36
+ let n = e ? /* @__PURE__ */ F(b, {}) : void 0;
37
+ return /* @__PURE__ */ F(W.Trigger, {
36
38
  "data-slot": "dialog-trigger",
37
39
  render: n,
38
40
  ...t
39
41
  });
40
42
  }
41
- function K({ container: e, ...n }) {
43
+ function J({ container: e, ...n }) {
42
44
  let r = t(e);
43
- return /* @__PURE__ */ P(H.Portal, {
45
+ return /* @__PURE__ */ F(W.Portal, {
44
46
  container: r,
45
47
  "data-slot": "dialog-portal",
46
48
  ...n
47
49
  });
48
50
  }
49
- function q({ ...e }) {
50
- return /* @__PURE__ */ P(H.Close, {
51
+ function ae({ ...e }) {
52
+ return /* @__PURE__ */ F(W.Close, {
51
53
  "data-slot": "dialog-close",
52
54
  ...e
53
55
  });
54
56
  }
55
- function ae({ className: e, ...t }) {
56
- return /* @__PURE__ */ P(H.Backdrop, {
57
+ function Y({ className: e, ...t }) {
58
+ return /* @__PURE__ */ F(W.Backdrop, {
57
59
  "data-slot": "dialog-overlay",
58
60
  className: r(E, y.backdrop, "isolate", e),
59
61
  ...t
60
62
  });
61
63
  }
62
- function J({ className: e, container: n, children: i, showCloseButton: a = !0, ...o }) {
63
- let s = t(n);
64
- return /* @__PURE__ */ F(K, {
65
- container: s,
66
- children: [/* @__PURE__ */ P(ae, {}), /* @__PURE__ */ F(H.Popup, {
64
+ function X({ className: e, container: n, children: i, showCloseButton: a = !0, onFocusCapture: o, ...s }) {
65
+ let c = t(n), l = D(o);
66
+ return /* @__PURE__ */ I(J, {
67
+ container: c,
68
+ children: [/* @__PURE__ */ F(Y, {}), /* @__PURE__ */ I(W.Popup, {
67
69
  "data-slot": "dialog-content",
68
70
  className: r(y.dialog, "bg-background grid max-w-[calc(100%-2rem)] gap-space-xl rounded-radius p-surface text-sm sm:max-w-md fixed top-1/2 left-1/2 z-50 w-full -translate-x-1/2 -translate-y-1/2 outline-none", e),
69
- ...o,
70
- children: [i, !!a && /* @__PURE__ */ F(H.Close, {
71
+ ...s,
72
+ onFocusCapture: l,
73
+ children: [i, !!a && /* @__PURE__ */ I(W.Close, {
71
74
  "data-slot": "dialog-close",
72
- render: /* @__PURE__ */ P(x, {
75
+ render: /* @__PURE__ */ F(x, {
73
76
  variant: "ghost",
74
77
  "data-overlay-close": "",
75
78
  className: p.close,
76
79
  size: "icon-sm"
77
80
  }),
78
- children: [/* @__PURE__ */ P(V, {}), /* @__PURE__ */ P("span", {
81
+ children: [/* @__PURE__ */ F(U, {}), /* @__PURE__ */ F("span", {
79
82
  className: "sr-only",
80
83
  children: "Close"
81
84
  })]
@@ -83,36 +86,36 @@ function J({ className: e, container: n, children: i, showCloseButton: a = !0, .
83
86
  })]
84
87
  });
85
88
  }
86
- function Y({ className: e, ...t }) {
87
- return /* @__PURE__ */ P("div", {
89
+ function Z({ className: e, ...t }) {
90
+ return /* @__PURE__ */ F("div", {
88
91
  "data-slot": "dialog-header",
89
92
  className: r("flex flex-col", e),
90
93
  ...t
91
94
  });
92
95
  }
93
- function X({ className: e, showCloseButton: t = !1, children: n, ...i }) {
94
- return /* @__PURE__ */ F("div", {
96
+ function Q({ className: e, showCloseButton: t = !1, children: n, ...i }) {
97
+ return /* @__PURE__ */ I("div", {
95
98
  "data-slot": "dialog-footer",
96
99
  className: r("flex flex-col-reverse sm:flex-row sm:justify-end", e),
97
100
  ...i,
98
- children: [n, !!t && /* @__PURE__ */ P(H.Close, {
99
- render: /* @__PURE__ */ P(x, { variant: "outline" }),
101
+ children: [n, !!t && /* @__PURE__ */ F(W.Close, {
102
+ render: /* @__PURE__ */ F(x, { variant: "outline" }),
100
103
  children: "Close"
101
104
  })]
102
105
  });
103
106
  }
104
- function Z({ className: e, asChild: t = !1, ...n }) {
105
- let i = t ? /* @__PURE__ */ P(b, {}) : void 0;
106
- return /* @__PURE__ */ P(H.Title, {
107
+ function oe({ className: e, asChild: t = !1, ...n }) {
108
+ let i = t ? /* @__PURE__ */ F(b, {}) : void 0;
109
+ return /* @__PURE__ */ F(W.Title, {
107
110
  "data-slot": "dialog-title",
108
111
  render: i,
109
112
  className: r("leading-none font-medium", e),
110
113
  ...n
111
114
  });
112
115
  }
113
- function oe({ className: e, asChild: t = !1, ...n }) {
114
- let i = t ? /* @__PURE__ */ P(b, {}) : void 0;
115
- return /* @__PURE__ */ P(H.Description, {
116
+ function se({ className: e, asChild: t = !1, ...n }) {
117
+ let i = t ? /* @__PURE__ */ F(b, {}) : void 0;
118
+ return /* @__PURE__ */ F(W.Description, {
116
119
  "data-slot": "dialog-description",
117
120
  render: i,
118
121
  className: r("text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3", e),
@@ -121,44 +124,44 @@ function oe({ className: e, asChild: t = !1, ...n }) {
121
124
  }
122
125
  //#endregion
123
126
  //#region src/components/base/display/dialog.tsx
124
- function se(e) {
127
+ function $(e) {
125
128
  return typeof e == "string" || typeof e == "number" || typeof e == "bigint";
126
129
  }
127
- var Q = r(g.base, v.semibold, _.snug), ce = W, $ = D.forwardRef(function({ className: e, ...t }, n) {
128
- return /* @__PURE__ */ P(G, {
130
+ var ce = r(v.base, g.semibold, _.snug), le = K, ue = O.forwardRef(function({ className: e, ...t }, n) {
131
+ return /* @__PURE__ */ F(q, {
129
132
  ref: n,
130
133
  className: r("dialog-trigger--component", e),
131
134
  ...t
132
135
  });
133
136
  });
134
- $.displayName = "DialogTrigger";
135
- var le = D.forwardRef(function({ className: e, ...t }, n) {
136
- return /* @__PURE__ */ P(q, {
137
+ ue.displayName = "DialogTrigger";
138
+ var de = O.forwardRef(function({ className: e, ...t }, n) {
139
+ return /* @__PURE__ */ F(ae, {
137
140
  ref: n,
138
141
  className: r("dialog-close--component active:translate-y-0!", e),
139
142
  ...t
140
143
  });
141
144
  });
142
- le.displayName = "DialogClose";
143
- var ue = D.forwardRef(function({ className: e, ...t }, n) {
144
- return /* @__PURE__ */ P(J, {
145
+ de.displayName = "DialogClose";
146
+ var fe = O.forwardRef(function({ className: e, ...t }, n) {
147
+ return /* @__PURE__ */ F(X, {
145
148
  ref: n,
146
149
  className: r("dialog-content--component flex max-h-[min(90vh,48rem)] flex-col gap-0 overflow-hidden rounded-radius bg-popover p-0 text-popover-foreground shadow-xl sm:max-w-lg [&_[data-slot=dialog-close]]:active:translate-y-0!", w.modal.shell, e),
147
150
  ...t
148
151
  });
149
152
  });
150
- ue.displayName = "DialogContent";
151
- var de = D.forwardRef(function({ className: e, textGap: t = "normal", ...n }, i) {
152
- return /* @__PURE__ */ P(Y, {
153
+ fe.displayName = "DialogContent";
154
+ var pe = O.forwardRef(function({ className: e, textGap: t = "normal", ...n }, i) {
155
+ return /* @__PURE__ */ F(Z, {
153
156
  ref: i,
154
157
  "data-modal-region": "",
155
158
  className: r("dialog-header--component", T.header, p.header, t === "dense" ? "gap-dense" : "gap-normal", e),
156
159
  ...n
157
160
  });
158
161
  });
159
- de.displayName = "DialogHeader";
160
- var fe = D.forwardRef(function({ className: e, ...t }, n) {
161
- return /* @__PURE__ */ P("div", {
162
+ pe.displayName = "DialogHeader";
163
+ var me = O.forwardRef(function({ className: e, ...t }, n) {
164
+ return /* @__PURE__ */ F("div", {
162
165
  ref: n,
163
166
  "data-slot": "dialog-body",
164
167
  "data-modal-region": "",
@@ -166,22 +169,22 @@ var fe = D.forwardRef(function({ className: e, ...t }, n) {
166
169
  ...t
167
170
  });
168
171
  });
169
- fe.displayName = "DialogBody";
170
- var pe = D.forwardRef(function({ className: e, ...t }, n) {
171
- return /* @__PURE__ */ P(X, {
172
+ me.displayName = "DialogBody";
173
+ var he = O.forwardRef(function({ className: e, ...t }, n) {
174
+ return /* @__PURE__ */ F(Q, {
172
175
  ref: n,
173
176
  "data-modal-region": "",
174
177
  className: r("dialog-footer--component", T.footer, e),
175
178
  ...t
176
179
  });
177
180
  });
178
- pe.displayName = "DialogFooter";
179
- var me = D.forwardRef(function({ children: e, className: t, ...n }, i) {
180
- return /* @__PURE__ */ P(Z, {
181
+ he.displayName = "DialogFooter";
182
+ var ge = O.forwardRef(function({ children: e, className: t, ...n }, i) {
183
+ return /* @__PURE__ */ F(oe, {
181
184
  ref: i,
182
- className: r("dialog-title--component m-0", Q, t),
185
+ className: r("dialog-title--component m-0", ce, t),
183
186
  ...n,
184
- children: se(e) ? /* @__PURE__ */ P(h, {
187
+ children: $(e) ? /* @__PURE__ */ F(h, {
185
188
  tag: "span",
186
189
  type: "inherit",
187
190
  size: "base",
@@ -192,13 +195,13 @@ var me = D.forwardRef(function({ children: e, className: t, ...n }, i) {
192
195
  }) : e
193
196
  });
194
197
  });
195
- me.displayName = "DialogTitle";
196
- var he = D.forwardRef(function({ children: e, className: t, ...n }, i) {
197
- return /* @__PURE__ */ P(oe, {
198
+ ge.displayName = "DialogTitle";
199
+ var _e = O.forwardRef(function({ children: e, className: t, ...n }, i) {
200
+ return /* @__PURE__ */ F(se, {
198
201
  ref: i,
199
202
  className: r("dialog-description--component m-0", t),
200
203
  ...n,
201
- children: se(e) ? /* @__PURE__ */ P(h, {
204
+ children: $(e) ? /* @__PURE__ */ F(h, {
202
205
  tag: "span",
203
206
  type: "secondary",
204
207
  lineHeight: "relaxed",
@@ -207,10 +210,10 @@ var he = D.forwardRef(function({ children: e, className: t, ...n }, i) {
207
210
  }) : e
208
211
  });
209
212
  });
210
- he.displayName = "DialogDescription";
213
+ _e.displayName = "DialogDescription";
211
214
  //#endregion
212
215
  //#region src/components/features/overlays/overlays.strings.ts
213
- var ge = {
216
+ var ve = {
214
217
  confirm: "Confirm",
215
218
  cancel: "Cancel",
216
219
  close: "Close",
@@ -218,7 +221,7 @@ var ge = {
218
221
  dialogLabel: "Dialog",
219
222
  drawerLabel: "Drawer",
220
223
  alertDialogLabel: "Confirmation"
221
- }, _e = {
224
+ }, ye = {
222
225
  confirm: "Continue",
223
226
  cancel: "Cancel",
224
227
  close: "Close",
@@ -229,8 +232,8 @@ var ge = {
229
232
  };
230
233
  //#endregion
231
234
  //#region src/components/features/overlays/hooks/use-overlay-actions.ts
232
- function ve({ closeDialog: e, onConfirm: t, onAsyncConfirm: r, closeOnAsyncComplete: i = !0, confirmTone: a = "primary", loading: o = !1, formId: s, onCancel: c, customStrings: l, emphasis: u = !1, tone: d = "neutral", onError: f }) {
233
- let p = n(ge, l), [m, h] = N(!1), g = M(!1), _ = k(async () => {
235
+ function be({ closeDialog: e, onConfirm: t, onAsyncConfirm: r, closeOnAsyncComplete: i = !0, confirmTone: a = "primary", loading: o = !1, formId: s, onCancel: c, customStrings: l, emphasis: u = !1, tone: d = "neutral", onError: f }) {
236
+ let p = n(ve, l), [m, h] = P(!1), g = N(!1), _ = A(async () => {
234
237
  if (!(o || g.current)) {
235
238
  if (t) {
236
239
  t(), e();
@@ -256,13 +259,13 @@ function ve({ closeDialog: e, onConfirm: t, onAsyncConfirm: r, closeOnAsyncCompl
256
259
  i,
257
260
  e,
258
261
  f
259
- ]), v = k(() => {
262
+ ]), v = A(() => {
260
263
  o || g.current || (c?.(), e());
261
264
  }, [
262
265
  o,
263
266
  c,
264
267
  e
265
- ]), y = k(async () => {
268
+ ]), y = A(async () => {
266
269
  if (!s || o || g.current) return;
267
270
  let e = document.getElementById(s);
268
271
  e instanceof HTMLFormElement && e.requestSubmit();
@@ -272,7 +275,7 @@ function ve({ closeDialog: e, onConfirm: t, onAsyncConfirm: r, closeOnAsyncCompl
272
275
  isExecuting: m,
273
276
  handleConfirm: _,
274
277
  handleCancel: v,
275
- finalConfirmTone: j(() => u ? d === "destructive" ? "destructive" : d === "warning" ? "warning" : d === "success" ? "success" : a ?? "primary" : a ?? "primary", [
278
+ finalConfirmTone: M(() => u ? d === "destructive" ? "destructive" : d === "warning" ? "warning" : d === "success" ? "success" : a ?? "primary" : a ?? "primary", [
276
279
  u,
277
280
  d,
278
281
  a
@@ -283,22 +286,22 @@ function ve({ closeDialog: e, onConfirm: t, onAsyncConfirm: r, closeOnAsyncCompl
283
286
  }
284
287
  //#endregion
285
288
  //#region src/components/features/overlays/hooks/use-overlay-visibility.ts
286
- function ye(e, t) {
289
+ function xe(e, t) {
287
290
  return typeof e == "function" ? e(t) : e;
288
291
  }
289
- function be(e, t) {
292
+ function Se(e, t) {
290
293
  let n = {};
291
294
  for (let r of e) n[r] = !!t?.[r];
292
295
  return n;
293
296
  }
294
- function xe(e, t, n) {
297
+ function Ce(e, t, n) {
295
298
  return n.some((n) => e[n] !== t[n]);
296
299
  }
297
- function Se({ defaultOpen: e = !1, open: t, onOpenChange: n, onOpen: r, onClose: i } = {}) {
298
- let [a, o] = N(e), s = t !== void 0, c = s ? t : a, l = M(c);
300
+ function we({ defaultOpen: e = !1, open: t, onOpenChange: n, onOpen: r, onClose: i } = {}) {
301
+ let [a, o] = P(e), s = t !== void 0, c = s ? t : a, l = N(c);
299
302
  l.current = c;
300
- let u = k((e) => {
301
- let t = ye(e, l.current), a = l.current !== t;
303
+ let u = A((e) => {
304
+ let t = xe(e, l.current), a = l.current !== t;
302
305
  s || o(t), a && (l.current = t, n?.(t), t ? r?.() : i?.());
303
306
  }, [
304
307
  s,
@@ -310,31 +313,31 @@ function Se({ defaultOpen: e = !1, open: t, onOpenChange: n, onOpen: r, onClose:
310
313
  open: c,
311
314
  isOpen: c,
312
315
  setOpen: u,
313
- show: k(() => {
316
+ show: A(() => {
314
317
  u(!0);
315
318
  }, [u]),
316
- hide: k(() => {
319
+ hide: A(() => {
317
320
  u(!1);
318
321
  }, [u]),
319
- toggle: k(() => {
322
+ toggle: A(() => {
320
323
  u((e) => !e);
321
324
  }, [u]),
322
- overlayProps: j(() => ({
325
+ overlayProps: M(() => ({
323
326
  open: c,
324
327
  onOpenChange: u
325
328
  }), [c, u])
326
329
  };
327
330
  }
328
- function Ce(e, { defaultOpen: t, open: n, onOpenChange: r, closeOthersOnOpen: i = !1 } = {}) {
329
- let a = e, [o, s] = N(() => be(a, t)), c = n !== void 0, l = be(a, c ? n : o), u = M(l);
331
+ function Te(e, { defaultOpen: t, open: n, onOpenChange: r, closeOthersOnOpen: i = !1 } = {}) {
332
+ let a = e, [o, s] = P(() => Se(a, t)), c = n !== void 0, l = Se(a, c ? n : o), u = N(l);
330
333
  u.current = l;
331
- let d = k((e, t) => {
332
- let n = u.current, o = ye(t, n[e]), l = {
334
+ let d = A((e, t) => {
335
+ let n = u.current, o = xe(t, n[e]), l = {
333
336
  ...n,
334
337
  [e]: o
335
338
  };
336
339
  if (i && o) for (let t of a) t !== e && (l[t] = !1);
337
- let d = xe(n, l, a);
340
+ let d = Ce(n, l, a);
338
341
  c || s(l), d && (u.current = l, r?.(e, o, l));
339
342
  }, [
340
343
  i,
@@ -342,7 +345,7 @@ function Ce(e, { defaultOpen: t, open: n, onOpenChange: r, closeOthersOnOpen: i
342
345
  a,
343
346
  r
344
347
  ]);
345
- return j(() => {
348
+ return M(() => {
346
349
  let e = {};
347
350
  for (let t of a) {
348
351
  let n = l[t], r = (e) => {
@@ -370,9 +373,9 @@ function Ce(e, { defaultOpen: t, open: n, onOpenChange: r, closeOthersOnOpen: i
370
373
  }
371
374
  //#endregion
372
375
  //#region src/components/features/overlays/hooks/use-pending-overlay-focus.ts
373
- function we(e, t = !0) {
374
- let n = M(null);
375
- return A(() => {
376
+ function Ee(e, t = !0) {
377
+ let n = N(null);
378
+ return j(() => {
376
379
  let r = n.current;
377
380
  if (!e || !t || !r) return;
378
381
  let i = r.ownerDocument.activeElement;
@@ -381,44 +384,44 @@ function we(e, t = !0) {
381
384
  }
382
385
  //#endregion
383
386
  //#region src/components/features/overlays/overlay-tone-icon.tsx
384
- var Te = {
387
+ var De = {
385
388
  neutral: {
386
- Glyph: z,
389
+ Glyph: B,
387
390
  color: "text-muted-foreground",
388
391
  surface: "bg-muted"
389
392
  },
390
393
  destructive: {
391
- Glyph: I,
394
+ Glyph: L,
392
395
  color: "text-destructive",
393
396
  surface: C.destructive.tint
394
397
  },
395
398
  warning: {
396
- Glyph: L,
399
+ Glyph: R,
397
400
  color: "text-warning-accent",
398
401
  surface: C.warning.tint
399
402
  },
400
403
  info: {
401
- Glyph: B,
404
+ Glyph: V,
402
405
  color: "text-info",
403
406
  surface: C.info.tint
404
407
  },
405
408
  success: {
406
- Glyph: R,
409
+ Glyph: z,
407
410
  color: "text-success",
408
411
  surface: C.success.tint
409
412
  }
410
413
  };
411
- function Ee({ tone: e }) {
412
- let { Glyph: t, color: n } = Te[e];
413
- return /* @__PURE__ */ P("span", {
414
+ function Oe({ tone: e }) {
415
+ let { Glyph: t, color: n } = De[e];
416
+ return /* @__PURE__ */ F("span", {
414
417
  "aria-hidden": "true",
415
- className: r("overlay-tone-icon--component flex h-lh shrink-0 items-center", g.base, _.snug),
416
- children: /* @__PURE__ */ P(t, { className: r("size-icon", n) })
418
+ className: r("overlay-tone-icon--component flex h-lh shrink-0 items-center", v.base, _.snug),
419
+ children: /* @__PURE__ */ F(t, { className: r("size-icon", n) })
417
420
  });
418
421
  }
419
422
  //#endregion
420
423
  //#region src/components/features/overlays/dialog.tsx
421
- var De = {
424
+ var ke = {
422
425
  xs: "sm:max-w-xs",
423
426
  sm: "sm:max-w-sm",
424
427
  md: "sm:max-w-md",
@@ -430,13 +433,13 @@ var De = {
430
433
  "5xl": "sm:max-w-5xl",
431
434
  full: "sm:max-w-[calc(100vw-2rem)]"
432
435
  };
433
- function Oe({ open: t, onOpenChange: n, onClose: i, children: a, title: o, description: s, visuallyHideHeader: c = !1, className: l, contentClassName: u, showCloseButton: d = !0, surfaceStyle: f, initialFocusRef: h, closeOnEscape: g = !0, closeOnBackdropClick: _ = !0, strings: v, showCancel: y = !0, showConfirm: b = !0, onCancel: x, onConfirm: C, onAsyncConfirm: w, onError: T, closeOnAsyncComplete: E = !0, confirmTone: D = "primary", confirmStyle: O = "solid", loading: k = !1, formId: A, footer: j, emphasis: M = !1, tone: N = "neutral", showIcon: I = !1, alertMessage: L, size: R = "lg", trigger: z, align: B }) {
434
- let { defaultDialogAlign: V } = e(), H = (B ?? V ?? "start") === "center", U = Se({
436
+ function Ae({ open: t, onOpenChange: n, onClose: i, children: a, title: o, description: s, visuallyHideHeader: c = !1, className: l, contentClassName: u, showCloseButton: d = !0, surfaceStyle: f, initialFocusRef: h, closeOnEscape: g = !0, closeOnBackdropClick: _ = !0, strings: v, showCancel: y = !0, showConfirm: b = !0, onCancel: x, onConfirm: C, onAsyncConfirm: w, onError: T, closeOnAsyncComplete: E = !0, confirmTone: D = "primary", confirmStyle: O = "solid", loading: k = !1, formId: A, footer: j, emphasis: M = !1, tone: N = "neutral", showIcon: P = !1, alertMessage: L, size: R = "lg", trigger: z, align: B }) {
437
+ let { defaultDialogAlign: V } = e(), U = (B ?? V ?? "start") === "center", W = we({
435
438
  open: t,
436
439
  onOpenChange: n,
437
440
  onClose: i
438
- }), { strings: W, finalConfirmTone: G, confirmButtonOnClick: K, effectiveLoading: q, handleCancel: ae } = ve({
439
- closeDialog: U.hide,
441
+ }), { strings: G, finalConfirmTone: K, confirmButtonOnClick: q, effectiveLoading: J, handleCancel: ae } = be({
442
+ closeDialog: W.hide,
440
443
  onConfirm: C,
441
444
  onAsyncConfirm: w,
442
445
  onError: T,
@@ -448,114 +451,114 @@ function Oe({ open: t, onOpenChange: n, onClose: i, children: a, title: o, descr
448
451
  customStrings: v,
449
452
  emphasis: M,
450
453
  tone: N
451
- }), J = we(q), Y = !!(a || L), X = y || b || j;
452
- return /* @__PURE__ */ F(ce, {
453
- open: U.open,
454
+ }), Y = Ee(J), X = !!(a || L), Z = y || b || j;
455
+ return /* @__PURE__ */ I(le, {
456
+ open: W.open,
454
457
  modal: !0,
455
- disablePointerDismissal: q || !_,
458
+ disablePointerDismissal: J || !_,
456
459
  onOpenChange: (e, t) => {
457
- if (!e && (q || t.reason === "escape-key" && !g)) {
460
+ if (!e && (J || t.reason === "escape-key" && !g)) {
458
461
  t.cancel();
459
462
  return;
460
463
  }
461
- U.setOpen(e);
464
+ W.setOpen(e);
462
465
  },
463
- children: [!!z && (re(z) ? /* @__PURE__ */ P($, { render: z }) : /* @__PURE__ */ P($, {
464
- render: /* @__PURE__ */ P(m, {
466
+ children: [!!z && (ie(z) ? /* @__PURE__ */ F(ue, { render: z }) : /* @__PURE__ */ F(ue, {
467
+ render: /* @__PURE__ */ F(m, {
465
468
  type: "button",
466
469
  tone: "secondary",
467
470
  buttonStyle: "outline"
468
471
  }),
469
472
  className: "overlay-trigger--fallback",
470
473
  children: z
471
- })), /* @__PURE__ */ F(ue, {
472
- ref: J,
474
+ })), /* @__PURE__ */ I(fe, {
475
+ ref: Y,
473
476
  showCloseButton: !1,
474
477
  style: f,
475
478
  initialFocus: h,
476
- "aria-label": o ? void 0 : W.dialogLabel,
477
- className: r("action-dialog--component dialog--component", De[R], l),
479
+ "aria-label": o ? void 0 : G.dialogLabel,
480
+ className: r("action-dialog--component dialog--component", ke[R], l),
478
481
  children: [
479
- !!(o || s) && /* @__PURE__ */ P(de, {
480
- "data-align": H ? "center" : "start",
481
- className: r("dialog--header", H && r("text-center", p.headerCentered), c && "sr-only"),
482
- children: /* @__PURE__ */ F(S, {
483
- direction: H ? "vertical" : "horizontal",
482
+ !!(o || s) && /* @__PURE__ */ F(pe, {
483
+ "data-align": U ? "center" : "start",
484
+ className: r("dialog--header", U && r("text-center", p.headerCentered), c && "sr-only"),
485
+ children: /* @__PURE__ */ I(S, {
486
+ direction: U ? "vertical" : "horizontal",
484
487
  gap: "sm",
485
- align: H ? "center" : "start",
488
+ align: U ? "center" : "start",
486
489
  wrap: !1,
487
- children: [!!I && /* @__PURE__ */ P(Ee, { tone: N }), /* @__PURE__ */ F(S, {
490
+ children: [!!P && /* @__PURE__ */ F(Oe, { tone: N }), /* @__PURE__ */ I(S, {
488
491
  gap: "normal",
489
- align: H ? "center" : void 0,
490
- className: r("min-w-0", H ? "w-full" : "flex-1"),
491
- children: [!!o && /* @__PURE__ */ P(me, { children: o }), !!s && /* @__PURE__ */ P(he, { children: s })]
492
+ align: U ? "center" : void 0,
493
+ className: r("min-w-0", U ? "w-full" : "flex-1"),
494
+ children: [!!o && /* @__PURE__ */ F(ge, { children: o }), !!s && /* @__PURE__ */ F(_e, { children: s })]
492
495
  })]
493
496
  })
494
497
  }),
495
- !!Y && /* @__PURE__ */ F(fe, {
498
+ !!X && /* @__PURE__ */ I(me, {
496
499
  className: r("dialog--body", u),
497
- children: [!!L && /* @__PURE__ */ P(te, {
500
+ children: [!!L && /* @__PURE__ */ F(te, {
498
501
  tone: N,
499
502
  className: "mb-space-md",
500
- children: /* @__PURE__ */ P(ee, { children: L })
503
+ children: /* @__PURE__ */ F(ee, { children: L })
501
504
  }), a]
502
505
  }),
503
- !!X && /* @__PURE__ */ P(pe, {
506
+ !!Z && /* @__PURE__ */ F(he, {
504
507
  className: "dialog--footer",
505
- children: j ?? /* @__PURE__ */ F(S, {
508
+ children: j ?? /* @__PURE__ */ I(S, {
506
509
  direction: {
507
510
  base: "vertical",
508
511
  sm: "horizontal"
509
512
  },
510
- gap: "sm",
513
+ gap: ne.commands,
511
514
  align: {
512
515
  base: "stretch",
513
516
  sm: "center"
514
517
  },
515
- justify: H ? "center" : "end",
518
+ justify: U ? "center" : "end",
516
519
  className: "w-full",
517
- children: [!!y && /* @__PURE__ */ P(m, {
520
+ children: [!!y && /* @__PURE__ */ F(m, {
518
521
  type: "button",
519
522
  tone: "secondary",
520
523
  buttonStyle: "outline",
521
524
  onClick: ae,
522
- disabled: q,
523
- children: W.cancel
524
- }), !!b && /* @__PURE__ */ P(m, {
525
+ disabled: J,
526
+ children: G.cancel
527
+ }), !!b && /* @__PURE__ */ F(m, {
525
528
  type: "button",
526
- tone: G,
529
+ tone: K,
527
530
  buttonStyle: O,
528
- onClick: K,
529
- disabled: q,
530
- loading: q,
531
- strings: { loading: W.loading },
532
- children: W.confirm
531
+ onClick: q,
532
+ disabled: J,
533
+ loading: J,
534
+ strings: { loading: G.loading },
535
+ children: G.confirm
533
536
  })]
534
537
  })
535
538
  }),
536
- !!d && /* @__PURE__ */ P(le, {
537
- disabled: q,
538
- render: /* @__PURE__ */ P(m, {
539
+ !!d && /* @__PURE__ */ F(de, {
540
+ disabled: J,
541
+ render: /* @__PURE__ */ F(m, {
539
542
  type: "button",
540
543
  tone: "secondary",
541
544
  buttonStyle: "ghost",
542
545
  size: "sm",
543
546
  iconOnly: !0,
544
547
  "data-overlay-close": "",
545
- className: r(p.close, `z-10 text-muted-foreground ${ne.rowHover}`),
546
- children: /* @__PURE__ */ P(ie, { className: "size-icon" })
548
+ className: r(p.close, `z-10 text-muted-foreground ${re.rowHover}`),
549
+ children: /* @__PURE__ */ F(H, { className: "size-icon" })
547
550
  }),
548
- "aria-label": W.close
551
+ "aria-label": G.close
549
552
  })
550
553
  ]
551
554
  })]
552
555
  });
553
556
  }
554
- var ke = O(Oe);
555
- ke.displayName = "ActionDialog";
557
+ var je = k(Ae);
558
+ je.displayName = "ActionDialog";
556
559
  //#endregion
557
560
  //#region src/components/features/overlays/drawer.tsx
558
- var Ae = {
561
+ var Me = {
559
562
  xs: "data-[side=left]:sm:max-w-xs data-[side=right]:sm:max-w-xs",
560
563
  sm: "data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm",
561
564
  md: "data-[side=left]:sm:max-w-md data-[side=right]:sm:max-w-md",
@@ -567,163 +570,163 @@ var Ae = {
567
570
  "5xl": "data-[side=left]:sm:max-w-5xl data-[side=right]:sm:max-w-5xl",
568
571
  full: "data-[side=left]:sm:max-w-[calc(100vw-2rem)] data-[side=right]:sm:max-w-[calc(100vw-2rem)]"
569
572
  };
570
- function je({ open: e, onOpenChange: t, onClose: n, children: h, title: g, description: _, visuallyHideHeader: v = !1, showCloseButton: y = !0, className: b, contentClassName: x, surfaceStyle: C, initialFocusRef: w, closeOnEscape: T = !0, closeOnBackdropClick: E = !0, strings: D, showCancel: O = !0, showConfirm: k = !0, onCancel: A, onConfirm: j, onAsyncConfirm: M, onError: N, closeOnAsyncComplete: I = !0, confirmTone: L = "primary", confirmStyle: R = "solid", loading: z = !1, formId: B, footer: V, emphasis: H = !1, tone: U = "neutral", showIcon: W = !1, alertMessage: G, direction: K = "right", width: q = "lg", showFooter: ae = !0, modal: J = !0, trigger: Y }) {
571
- let X = Se({
573
+ function Ne({ open: e, onOpenChange: t, onClose: n, children: h, title: g, description: _, visuallyHideHeader: v = !1, showCloseButton: y = !0, className: b, contentClassName: x, surfaceStyle: C, initialFocusRef: w, closeOnEscape: T = !0, closeOnBackdropClick: E = !0, strings: D, showCancel: O = !0, showConfirm: k = !0, onCancel: A, onConfirm: j, onAsyncConfirm: M, onError: N, closeOnAsyncComplete: P = !0, confirmTone: L = "primary", confirmStyle: R = "solid", loading: z = !1, formId: B, footer: V, emphasis: U = !1, tone: W = "neutral", showIcon: G = !1, alertMessage: K, direction: q = "right", width: J = "lg", showFooter: ae = !0, modal: Y = !0, trigger: X }) {
574
+ let Z = we({
572
575
  open: e,
573
576
  onOpenChange: t,
574
577
  onClose: n
575
- }), { strings: Z, finalConfirmTone: oe, confirmButtonOnClick: se, effectiveLoading: Q, handleCancel: ce } = ve({
576
- closeDialog: X.hide,
578
+ }), { strings: Q, finalConfirmTone: oe, confirmButtonOnClick: se, effectiveLoading: $, handleCancel: ce } = be({
579
+ closeDialog: Z.hide,
577
580
  onConfirm: j,
578
581
  onAsyncConfirm: M,
579
582
  onError: N,
580
- closeOnAsyncComplete: I,
583
+ closeOnAsyncComplete: P,
581
584
  confirmTone: L,
582
585
  loading: z,
583
586
  formId: B,
584
587
  onCancel: A,
585
588
  customStrings: D,
586
- emphasis: H,
587
- tone: U
588
- }), $ = K === "left" || K === "right", le = we(Q, J), ue = !!(h || G), de = ae && (O || k || V);
589
- return /* @__PURE__ */ F(f, {
590
- open: X.open,
591
- modal: J,
592
- disablePointerDismissal: Q || !E || J === !1,
589
+ emphasis: U,
590
+ tone: W
591
+ }), le = q === "left" || q === "right", ue = Ee($, Y), de = !!(h || K), fe = ae && (O || k || V);
592
+ return /* @__PURE__ */ I(f, {
593
+ open: Z.open,
594
+ modal: Y,
595
+ disablePointerDismissal: $ || !E || Y === !1,
593
596
  onOpenChange: (e, t) => {
594
- if (!e && (Q || t.reason === "escape-key" && !T)) {
597
+ if (!e && ($ || t.reason === "escape-key" && !T)) {
595
598
  t.cancel();
596
599
  return;
597
600
  }
598
- X.setOpen(e);
601
+ Z.setOpen(e);
599
602
  },
600
- children: [!!Y && (re(Y) ? /* @__PURE__ */ P(s, { render: Y }) : /* @__PURE__ */ P(s, {
601
- render: /* @__PURE__ */ P(m, {
603
+ children: [!!X && (ie(X) ? /* @__PURE__ */ F(s, { render: X }) : /* @__PURE__ */ F(s, {
604
+ render: /* @__PURE__ */ F(m, {
602
605
  type: "button",
603
606
  tone: "secondary",
604
607
  buttonStyle: "outline"
605
608
  }),
606
609
  className: "overlay-trigger--fallback",
607
- children: Y
608
- })), /* @__PURE__ */ F(o, {
609
- ref: le,
610
- side: K,
610
+ children: X
611
+ })), /* @__PURE__ */ I(o, {
612
+ ref: ue,
613
+ side: q,
611
614
  showCloseButton: !1,
612
615
  style: C,
613
616
  initialFocus: w,
614
- "aria-label": g ? void 0 : Z.drawerLabel,
615
- "data-modal": J === !1 ? "false" : void 0,
616
- className: r("action-drawer--component drawer--component", $ && "data-[side=left]:w-full data-[side=right]:w-full", $ && Ae[q], b),
617
+ "aria-label": g ? void 0 : Q.drawerLabel,
618
+ "data-modal": Y === !1 ? "false" : void 0,
619
+ className: r("action-drawer--component drawer--component", le && "data-[side=left]:w-full data-[side=right]:w-full", le && Me[J], b),
617
620
  children: [
618
- !!(g || _) && /* @__PURE__ */ P(d, {
621
+ !!(g || _) && /* @__PURE__ */ F(d, {
619
622
  className: r("drawer--header", v && "sr-only"),
620
- children: /* @__PURE__ */ F(S, {
623
+ children: /* @__PURE__ */ I(S, {
621
624
  direction: "horizontal",
622
625
  gap: "sm",
623
626
  align: "start",
624
627
  wrap: !1,
625
- children: [!!W && /* @__PURE__ */ P(Ee, { tone: U }), /* @__PURE__ */ F(S, {
628
+ children: [!!G && /* @__PURE__ */ F(Oe, { tone: W }), /* @__PURE__ */ I(S, {
626
629
  gap: "normal",
627
630
  className: "min-w-0 flex-1",
628
- children: [!!g && /* @__PURE__ */ P(a, { children: g }), !!_ && /* @__PURE__ */ P(i, { children: _ })]
631
+ children: [!!g && /* @__PURE__ */ F(a, { children: g }), !!_ && /* @__PURE__ */ F(i, { children: _ })]
629
632
  })]
630
633
  })
631
634
  }),
632
- !!ue && /* @__PURE__ */ F(c, {
635
+ !!de && /* @__PURE__ */ I(c, {
633
636
  className: r("drawer--body", x),
634
- children: [!!G && /* @__PURE__ */ P(te, {
635
- tone: U,
637
+ children: [!!K && /* @__PURE__ */ F(te, {
638
+ tone: W,
636
639
  className: "mb-space-md",
637
- children: /* @__PURE__ */ P(ee, { children: G })
640
+ children: /* @__PURE__ */ F(ee, { children: K })
638
641
  }), h]
639
642
  }),
640
- !!de && /* @__PURE__ */ P(l, {
643
+ !!fe && /* @__PURE__ */ F(l, {
641
644
  className: "drawer--footer",
642
- children: V ?? /* @__PURE__ */ F(S, {
645
+ children: V ?? /* @__PURE__ */ I(S, {
643
646
  direction: {
644
647
  base: "vertical",
645
648
  sm: "horizontal"
646
649
  },
647
- gap: "sm",
650
+ gap: ne.commands,
648
651
  align: {
649
652
  base: "stretch",
650
653
  sm: "center"
651
654
  },
652
655
  justify: "end",
653
656
  className: "w-full",
654
- children: [!!O && /* @__PURE__ */ P(m, {
657
+ children: [!!O && /* @__PURE__ */ F(m, {
655
658
  type: "button",
656
659
  tone: "secondary",
657
660
  buttonStyle: "outline",
658
661
  onClick: ce,
659
- disabled: Q,
660
- children: Z.cancel
661
- }), !!k && /* @__PURE__ */ P(m, {
662
+ disabled: $,
663
+ children: Q.cancel
664
+ }), !!k && /* @__PURE__ */ F(m, {
662
665
  type: "button",
663
666
  tone: oe,
664
667
  buttonStyle: R,
665
668
  onClick: se,
666
- disabled: Q,
667
- loading: Q,
668
- strings: { loading: Z.loading },
669
- children: Z.confirm
669
+ disabled: $,
670
+ loading: $,
671
+ strings: { loading: Q.loading },
672
+ children: Q.confirm
670
673
  })]
671
674
  })
672
675
  }),
673
- !!y && /* @__PURE__ */ P(u, {
674
- disabled: Q,
675
- render: /* @__PURE__ */ P(m, {
676
+ !!y && /* @__PURE__ */ F(u, {
677
+ disabled: $,
678
+ render: /* @__PURE__ */ F(m, {
676
679
  type: "button",
677
680
  tone: "secondary",
678
681
  buttonStyle: "ghost",
679
682
  size: "sm",
680
683
  iconOnly: !0,
681
684
  "data-overlay-close": "",
682
- className: r(p.close, `z-10 text-muted-foreground ${ne.rowHover}`),
683
- children: /* @__PURE__ */ P(ie, { className: "size-icon" })
685
+ className: r(p.close, `z-10 text-muted-foreground ${re.rowHover}`),
686
+ children: /* @__PURE__ */ F(H, { className: "size-icon" })
684
687
  }),
685
- "aria-label": Z.close
688
+ "aria-label": Q.close
686
689
  })
687
690
  ]
688
691
  })]
689
692
  });
690
693
  }
691
- var Me = O(je);
692
- Me.displayName = "ActionDrawer";
694
+ var Pe = k(Ne);
695
+ Pe.displayName = "ActionDrawer";
693
696
  //#endregion
694
697
  //#region src/components/ui/alert-dialog.tsx
695
- function Ne({ ...e }) {
696
- return /* @__PURE__ */ P(U.Root, {
698
+ function Fe({ ...e }) {
699
+ return /* @__PURE__ */ F(G.Root, {
697
700
  "data-slot": "alert-dialog",
698
701
  ...e
699
702
  });
700
703
  }
701
- function Pe({ ...e }) {
702
- return /* @__PURE__ */ P(U.Trigger, {
704
+ function Ie({ ...e }) {
705
+ return /* @__PURE__ */ F(G.Trigger, {
703
706
  "data-slot": "alert-dialog-trigger",
704
707
  ...e
705
708
  });
706
709
  }
707
- function Fe({ container: e, ...n }) {
710
+ function Le({ container: e, ...n }) {
708
711
  let r = t(e);
709
- return /* @__PURE__ */ P(U.Portal, {
712
+ return /* @__PURE__ */ F(G.Portal, {
710
713
  container: r,
711
714
  "data-slot": "alert-dialog-portal",
712
715
  ...n
713
716
  });
714
717
  }
715
- function Ie({ className: e, ...t }) {
716
- return /* @__PURE__ */ P(U.Backdrop, {
718
+ function Re({ className: e, ...t }) {
719
+ return /* @__PURE__ */ F(G.Backdrop, {
717
720
  "data-slot": "alert-dialog-overlay",
718
721
  className: r(E, y.backdrop, "isolate", e),
719
722
  ...t
720
723
  });
721
724
  }
722
- function Le({ className: e, container: n, size: i = "default", ...a }) {
725
+ function ze({ className: e, container: n, size: i = "default", ...a }) {
723
726
  let o = t(n);
724
- return /* @__PURE__ */ F(Fe, {
727
+ return /* @__PURE__ */ I(Le, {
725
728
  container: o,
726
- children: [/* @__PURE__ */ P(Ie, {}), /* @__PURE__ */ P(U.Popup, {
729
+ children: [/* @__PURE__ */ F(Re, {}), /* @__PURE__ */ F(G.Popup, {
727
730
  "data-slot": "alert-dialog-content",
728
731
  "data-size": i,
729
732
  className: r(y.dialog, "group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-space-xl rounded-radius bg-popover p-surface text-popover-foreground shadow-xl outline-none data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-md", e),
@@ -731,46 +734,46 @@ function Le({ className: e, container: n, size: i = "default", ...a }) {
731
734
  })]
732
735
  });
733
736
  }
734
- function Re({ className: e, ...t }) {
735
- return /* @__PURE__ */ P("div", {
737
+ function Be({ className: e, ...t }) {
738
+ return /* @__PURE__ */ F("div", {
736
739
  "data-slot": "alert-dialog-footer",
737
740
  className: r("flex flex-col-reverse group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", e),
738
741
  ...t
739
742
  });
740
743
  }
741
- function ze({ className: e, ...t }) {
742
- return /* @__PURE__ */ P("div", {
744
+ function Ve({ className: e, ...t }) {
745
+ return /* @__PURE__ */ F("div", {
743
746
  "data-slot": "alert-dialog-media",
744
747
  className: r("mb-space-md inline-flex size-16 items-center justify-center rounded-full bg-muted sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-8", e),
745
748
  ...t
746
749
  });
747
750
  }
748
- function Be({ className: e, ...t }) {
749
- return /* @__PURE__ */ P(U.Title, {
751
+ function He({ className: e, ...t }) {
752
+ return /* @__PURE__ */ F(G.Title, {
750
753
  "data-slot": "alert-dialog-title",
751
754
  className: r("text-lg font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", e),
752
755
  ...t
753
756
  });
754
757
  }
755
- function Ve({ className: e, ...t }) {
756
- return /* @__PURE__ */ P(U.Description, {
758
+ function Ue({ className: e, ...t }) {
759
+ return /* @__PURE__ */ F(G.Description, {
757
760
  "data-slot": "alert-dialog-description",
758
761
  className: r("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", e),
759
762
  ...t
760
763
  });
761
764
  }
762
- function He({ className: e, ...t }) {
763
- return /* @__PURE__ */ P(x, {
765
+ function We({ className: e, ...t }) {
766
+ return /* @__PURE__ */ F(x, {
764
767
  "data-slot": "alert-dialog-action",
765
768
  className: r(e),
766
769
  ...t
767
770
  });
768
771
  }
769
- function Ue({ className: e, variant: t = "outline", size: n = "default", ...i }) {
770
- return /* @__PURE__ */ P(U.Close, {
772
+ function Ge({ className: e, variant: t = "outline", size: n = "default", ...i }) {
773
+ return /* @__PURE__ */ F(G.Close, {
771
774
  "data-slot": "alert-dialog-cancel",
772
775
  className: r(e),
773
- render: /* @__PURE__ */ P(x, {
776
+ render: /* @__PURE__ */ F(x, {
774
777
  variant: t,
775
778
  size: n
776
779
  }),
@@ -779,27 +782,27 @@ function Ue({ className: e, variant: t = "outline", size: n = "default", ...i })
779
782
  }
780
783
  //#endregion
781
784
  //#region src/components/base/display/alert-dialog.tsx
782
- function We(e) {
785
+ function Ke(e) {
783
786
  return typeof e == "string" || typeof e == "number" || typeof e == "bigint";
784
787
  }
785
- var Ge = r(g.base, v.semibold, _.snug), Ke = Ne, qe = D.forwardRef(function({ className: e, ...t }, n) {
786
- return /* @__PURE__ */ P(Pe, {
788
+ var qe = r(v.base, g.semibold, _.snug), Je = Fe, Ye = O.forwardRef(function({ className: e, ...t }, n) {
789
+ return /* @__PURE__ */ F(Ie, {
787
790
  ref: n,
788
791
  className: r("alert-dialog-trigger--component", e),
789
792
  ...t
790
793
  });
791
794
  });
792
- qe.displayName = "AlertDialogTrigger";
793
- var Je = D.forwardRef(function({ className: e, ...t }, n) {
794
- return /* @__PURE__ */ P(Le, {
795
+ Ye.displayName = "AlertDialogTrigger";
796
+ var Xe = O.forwardRef(function({ className: e, ...t }, n) {
797
+ return /* @__PURE__ */ F(ze, {
795
798
  ref: n,
796
799
  className: r("alert-dialog-content--component flex max-h-[min(90vh,48rem)] flex-col gap-0 overflow-hidden rounded-radius bg-popover p-0 text-popover-foreground sm:max-w-md", w.modal.shell, e),
797
800
  ...t
798
801
  });
799
802
  });
800
- Je.displayName = "AlertDialogContent";
801
- var Ye = D.forwardRef(function({ className: e, textGap: t = "normal", align: n = "start", ...i }, a) {
802
- return /* @__PURE__ */ P("div", {
803
+ Xe.displayName = "AlertDialogContent";
804
+ var Ze = O.forwardRef(function({ className: e, textGap: t = "normal", align: n = "start", ...i }, a) {
805
+ return /* @__PURE__ */ F("div", {
803
806
  ref: a,
804
807
  "data-slot": "alert-dialog-header",
805
808
  "data-modal-region": "",
@@ -808,9 +811,9 @@ var Ye = D.forwardRef(function({ className: e, textGap: t = "normal", align: n =
808
811
  ...i
809
812
  });
810
813
  });
811
- Ye.displayName = "AlertDialogHeader";
812
- var Xe = D.forwardRef(function({ className: e, ...t }, n) {
813
- return /* @__PURE__ */ P("div", {
814
+ Ze.displayName = "AlertDialogHeader";
815
+ var Qe = O.forwardRef(function({ className: e, ...t }, n) {
816
+ return /* @__PURE__ */ F("div", {
814
817
  ref: n,
815
818
  "data-slot": "alert-dialog-body",
816
819
  "data-modal-region": "",
@@ -818,22 +821,22 @@ var Xe = D.forwardRef(function({ className: e, ...t }, n) {
818
821
  ...t
819
822
  });
820
823
  });
821
- Xe.displayName = "AlertDialogBody";
822
- var Ze = D.forwardRef(function({ className: e, ...t }, n) {
823
- return /* @__PURE__ */ P(Re, {
824
+ Qe.displayName = "AlertDialogBody";
825
+ var $e = O.forwardRef(function({ className: e, ...t }, n) {
826
+ return /* @__PURE__ */ F(Be, {
824
827
  ref: n,
825
828
  "data-modal-region": "",
826
829
  className: r("alert-dialog-footer--component", T.footer, e),
827
830
  ...t
828
831
  });
829
832
  });
830
- Ze.displayName = "AlertDialogFooter";
831
- var Qe = D.forwardRef(function({ children: e, className: t, ...n }, i) {
832
- return /* @__PURE__ */ P(Be, {
833
+ $e.displayName = "AlertDialogFooter";
834
+ var et = O.forwardRef(function({ children: e, className: t, ...n }, i) {
835
+ return /* @__PURE__ */ F(He, {
833
836
  ref: i,
834
- className: r("alert-dialog-title--component m-0", Ge, t),
837
+ className: r("alert-dialog-title--component m-0", qe, t),
835
838
  ...n,
836
- children: We(e) ? /* @__PURE__ */ P(h, {
839
+ children: Ke(e) ? /* @__PURE__ */ F(h, {
837
840
  tag: "span",
838
841
  type: "inherit",
839
842
  size: "base",
@@ -843,13 +846,13 @@ var Qe = D.forwardRef(function({ children: e, className: t, ...n }, i) {
843
846
  }) : e
844
847
  });
845
848
  });
846
- Qe.displayName = "AlertDialogTitle";
847
- var $e = D.forwardRef(function({ children: e, className: t, ...n }, i) {
848
- return /* @__PURE__ */ P(Ve, {
849
+ et.displayName = "AlertDialogTitle";
850
+ var tt = O.forwardRef(function({ children: e, className: t, ...n }, i) {
851
+ return /* @__PURE__ */ F(Ue, {
849
852
  ref: i,
850
853
  className: r("alert-dialog-description--component m-0", t),
851
854
  ...n,
852
- children: We(e) ? /* @__PURE__ */ P(h, {
855
+ children: Ke(e) ? /* @__PURE__ */ F(h, {
853
856
  tag: "span",
854
857
  type: "secondary",
855
858
  lineHeight: "relaxed",
@@ -857,135 +860,135 @@ var $e = D.forwardRef(function({ children: e, className: t, ...n }, i) {
857
860
  }) : e
858
861
  });
859
862
  });
860
- $e.displayName = "AlertDialogDescription";
861
- var et = D.forwardRef(function({ className: e, ...t }, n) {
862
- return /* @__PURE__ */ P(ze, {
863
+ tt.displayName = "AlertDialogDescription";
864
+ var nt = O.forwardRef(function({ className: e, ...t }, n) {
865
+ return /* @__PURE__ */ F(Ve, {
863
866
  ref: n,
864
867
  className: r("alert-dialog-media--component", e),
865
868
  ...t
866
869
  });
867
870
  });
868
- et.displayName = "AlertDialogMedia";
869
- var tt = D.forwardRef(function({ className: e, ...t }, n) {
870
- return /* @__PURE__ */ P(He, {
871
+ nt.displayName = "AlertDialogMedia";
872
+ var rt = O.forwardRef(function({ className: e, ...t }, n) {
873
+ return /* @__PURE__ */ F(We, {
871
874
  ref: n,
872
875
  className: r("alert-dialog-action--component", e),
873
876
  ...t
874
877
  });
875
878
  });
876
- tt.displayName = "AlertDialogAction";
877
- var nt = D.forwardRef(function({ className: e, ...t }, n) {
878
- return /* @__PURE__ */ P(Ue, {
879
+ rt.displayName = "AlertDialogAction";
880
+ var it = O.forwardRef(function({ className: e, ...t }, n) {
881
+ return /* @__PURE__ */ F(Ge, {
879
882
  ref: n,
880
883
  className: r("alert-dialog-cancel--component", e),
881
884
  ...t
882
885
  });
883
886
  });
884
- nt.displayName = "AlertDialogCancel";
887
+ it.displayName = "AlertDialogCancel";
885
888
  //#endregion
886
889
  //#region src/components/features/overlays/alert-dialog.tsx
887
- function rt({ open: t, onOpenChange: i, onClose: a, children: o, title: s, description: c, visuallyHideHeader: l = !1, className: u, contentClassName: d, surfaceStyle: f, initialFocusRef: p, closeOnEscape: h = !0, strings: g, showCancel: _ = !0, showConfirm: v = !0, onCancel: y, onConfirm: b, onAsyncConfirm: x, onError: C, closeOnAsyncComplete: w = !0, confirmTone: T, confirmStyle: E = "solid", loading: ne = !1, formId: D, footer: O, tone: k = "neutral", showIcon: A = !1, alertMessage: M, trigger: N, destructive: I = !1, align: L }) {
888
- let { defaultConfirmAlign: R } = e(), z = L ?? R ?? "center", B = Se({
890
+ function at({ open: t, onOpenChange: i, onClose: a, children: o, title: s, description: c, visuallyHideHeader: l = !1, className: u, contentClassName: d, surfaceStyle: f, initialFocusRef: p, closeOnEscape: h = !0, strings: g, showCancel: _ = !0, showConfirm: v = !0, onCancel: y, onConfirm: b, onAsyncConfirm: x, onError: C, closeOnAsyncComplete: w = !0, confirmTone: T, confirmStyle: E = "solid", loading: D = !1, formId: re, footer: O, tone: k = "neutral", showIcon: A = !1, alertMessage: j, trigger: N, destructive: P = !1, align: L }) {
891
+ let { defaultConfirmAlign: R } = e(), z = L ?? R ?? "center", B = we({
889
892
  open: t,
890
893
  onOpenChange: i,
891
894
  onClose: a
892
- }), ie = n(_e, g), V = j(() => I ? "destructive" : T || {
895
+ }), V = n(ye, g), H = M(() => P ? "destructive" : T || {
893
896
  neutral: "primary",
894
897
  destructive: "destructive",
895
898
  warning: "warning",
896
899
  info: "primary",
897
900
  success: "success"
898
901
  }[k], [
899
- I,
902
+ P,
900
903
  T,
901
904
  k
902
- ]), { strings: H, confirmButtonOnClick: U, effectiveLoading: W, handleCancel: G } = ve({
905
+ ]), { strings: U, confirmButtonOnClick: W, effectiveLoading: G, handleCancel: K } = be({
903
906
  closeDialog: B.hide,
904
907
  onConfirm: b,
905
908
  onAsyncConfirm: x,
906
909
  onError: C,
907
910
  closeOnAsyncComplete: w,
908
- confirmTone: V,
909
- loading: ne,
910
- formId: D,
911
+ confirmTone: H,
912
+ loading: D,
913
+ formId: re,
911
914
  onCancel: y,
912
- customStrings: ie
913
- }), K = I && k === "neutral" ? "destructive" : k, q = Te[K], ae = we(W), J = !!(s || c || A && !l), Y = !!(o || M);
914
- return /* @__PURE__ */ F(Ke, {
915
+ customStrings: V
916
+ }), q = P && k === "neutral" ? "destructive" : k, J = De[q], ae = Ee(G), Y = !!(s || c || A && !l), X = !!(o || j);
917
+ return /* @__PURE__ */ I(Je, {
915
918
  open: B.open,
916
919
  onOpenChange: (e, t) => {
917
- if (!e && (W || t.reason === "escape-key" && !h)) {
920
+ if (!e && (G || t.reason === "escape-key" && !h)) {
918
921
  t.cancel();
919
922
  return;
920
923
  }
921
924
  B.setOpen(e);
922
925
  },
923
- children: [!!N && (re(N) ? /* @__PURE__ */ P(qe, { render: N }) : /* @__PURE__ */ P(qe, {
924
- render: /* @__PURE__ */ P(m, {
926
+ children: [!!N && (ie(N) ? /* @__PURE__ */ F(Ye, { render: N }) : /* @__PURE__ */ F(Ye, {
927
+ render: /* @__PURE__ */ F(m, {
925
928
  type: "button",
926
929
  tone: "secondary",
927
930
  buttonStyle: "outline"
928
931
  }),
929
932
  className: "overlay-trigger--fallback",
930
933
  children: N
931
- })), /* @__PURE__ */ F(Je, {
934
+ })), /* @__PURE__ */ I(Xe, {
932
935
  ref: ae,
933
936
  style: f,
934
937
  initialFocus: p,
935
- "aria-label": s ? void 0 : H.alertDialogLabel,
938
+ "aria-label": s ? void 0 : U.alertDialogLabel,
936
939
  className: r("confirm-dialog--component alert-dialog--component", u),
937
940
  children: [
938
- !!J && /* @__PURE__ */ F(Ye, {
941
+ !!Y && /* @__PURE__ */ I(Ze, {
939
942
  align: z,
940
943
  className: r("alert-dialog--header", l && "sr-only"),
941
944
  children: [
942
- !!A && !l && /* @__PURE__ */ P("span", {
945
+ !!A && !l && /* @__PURE__ */ F("span", {
943
946
  "aria-hidden": "true",
944
- className: r("mb-space-sm flex size-avatar-lg shrink-0 items-center justify-center rounded-full", q.surface, q.color),
945
- children: /* @__PURE__ */ P(q.Glyph, { className: "size-icon-lg" })
947
+ className: r("mb-space-sm flex size-avatar-lg shrink-0 items-center justify-center rounded-full", J.surface, J.color),
948
+ children: /* @__PURE__ */ F(J.Glyph, { className: "size-icon-lg" })
946
949
  }),
947
- !!s && /* @__PURE__ */ P(Qe, { children: s }),
948
- !!c && /* @__PURE__ */ P($e, { children: c })
950
+ !!s && /* @__PURE__ */ F(et, { children: s }),
951
+ !!c && /* @__PURE__ */ F(tt, { children: c })
949
952
  ]
950
953
  }),
951
- !!Y && /* @__PURE__ */ F(Xe, {
954
+ !!X && /* @__PURE__ */ I(Qe, {
952
955
  className: r("alert-dialog--body", d),
953
- children: [!!M && /* @__PURE__ */ P(te, {
954
- tone: K,
956
+ children: [!!j && /* @__PURE__ */ F(te, {
957
+ tone: q,
955
958
  className: r(!!o && "mb-space-md"),
956
- children: /* @__PURE__ */ P(ee, { children: M })
959
+ children: /* @__PURE__ */ F(ee, { children: j })
957
960
  }), o]
958
961
  }),
959
- !!(_ || v || O) && /* @__PURE__ */ P(Ze, {
962
+ !!(_ || v || O) && /* @__PURE__ */ F($e, {
960
963
  className: "alert-dialog--footer",
961
- children: O ?? /* @__PURE__ */ F(S, {
964
+ children: O ?? /* @__PURE__ */ I(S, {
962
965
  direction: {
963
966
  base: "vertical",
964
967
  sm: "horizontal"
965
968
  },
966
- gap: "sm",
969
+ gap: ne.commands,
967
970
  align: {
968
971
  base: "stretch",
969
972
  sm: "center"
970
973
  },
971
974
  justify: z === "center" ? "center" : "end",
972
975
  className: "w-full",
973
- children: [!!_ && /* @__PURE__ */ P(m, {
976
+ children: [!!_ && /* @__PURE__ */ F(m, {
974
977
  type: "button",
975
978
  tone: "secondary",
976
979
  buttonStyle: "outline",
977
- onClick: G,
978
- disabled: W,
979
- children: H.cancel
980
- }), !!v && /* @__PURE__ */ P(m, {
980
+ onClick: K,
981
+ disabled: G,
982
+ children: U.cancel
983
+ }), !!v && /* @__PURE__ */ F(m, {
981
984
  type: "button",
982
- tone: V,
985
+ tone: H,
983
986
  buttonStyle: E,
984
- onClick: U,
985
- disabled: W,
986
- loading: W,
987
- strings: { loading: H.loading },
988
- children: H.confirm
987
+ onClick: W,
988
+ disabled: G,
989
+ loading: G,
990
+ strings: { loading: U.loading },
991
+ children: U.confirm
989
992
  })]
990
993
  })
991
994
  })
@@ -993,9 +996,9 @@ function rt({ open: t, onOpenChange: i, onClose: a, children: o, title: s, descr
993
996
  })]
994
997
  });
995
998
  }
996
- var it = O(rt);
997
- it.displayName = "ConfirmDialog";
999
+ var ot = k(at);
1000
+ ot.displayName = "ConfirmDialog";
998
1001
  //#endregion
999
- export { Ce as a, ge as c, Se as i, Me as n, ve as o, ke as r, _e as s, it as t };
1002
+ export { Te as a, ve as c, we as i, Pe as n, be as o, je as r, ye as s, ot as t };
1000
1003
 
1001
- //# sourceMappingURL=overlays-DNWmZrJ4.js.map
1004
+ //# sourceMappingURL=overlays-BlKynmde.js.map