themelia-react-ui 2.0.5 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (489) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/MIGRATION.md +119 -0
  3. package/README.md +13 -6
  4. package/dist/{accordion-B9MHG0cT.js → accordion-0tQUZ20r.js} +7 -7
  5. package/dist/accordion-0tQUZ20r.js.map +1 -0
  6. package/dist/{action-menu-Dr8K-ghE.js → action-menu-C0gjzLyE.js} +7 -7
  7. package/dist/{action-menu-Dr8K-ghE.js.map → action-menu-C0gjzLyE.js.map} +1 -1
  8. package/dist/{ai-artifact-C58tQcBy.js → ai-artifact-CGGpQryR.js} +172 -157
  9. package/dist/ai-artifact-CGGpQryR.js.map +1 -0
  10. package/dist/{app-shell-B_IuNWOo.js → app-shell-EHuuRDGy.js} +5 -5
  11. package/dist/{app-shell-B_IuNWOo.js.map → app-shell-EHuuRDGy.js.map} +1 -1
  12. package/dist/{attachment-Dg_69lPS.js → attachment-BCpA4e7i.js} +8 -8
  13. package/dist/{attachment-Dg_69lPS.js.map → attachment-BCpA4e7i.js.map} +1 -1
  14. package/dist/{auth-DTkkshS8.js → auth-B0girIk_.js} +15 -15
  15. package/dist/auth-B0girIk_.js.map +1 -0
  16. package/dist/{avatar-CeZaFmNH.js → avatar-B9Jnp-T-.js} +3 -3
  17. package/dist/{avatar-CeZaFmNH.js.map → avatar-B9Jnp-T-.js.map} +1 -1
  18. package/dist/{badge-xIiV_E7f.js → badge-wWauMgAt.js} +3 -3
  19. package/dist/{badge-xIiV_E7f.js.map → badge-wWauMgAt.js.map} +1 -1
  20. package/dist/base/accordion.js +1 -1
  21. package/dist/base/action-menu.js +1 -1
  22. package/dist/base/attachment.js +1 -1
  23. package/dist/base/avatar.js +1 -1
  24. package/dist/base/badge.js +1 -1
  25. package/dist/base/batch-action-bar.js +1 -1
  26. package/dist/base/buttons.js +1 -1
  27. package/dist/base/cards.js +2 -2
  28. package/dist/base/carousel.js +3 -3
  29. package/dist/base/cascader.js +1 -1
  30. package/dist/base/chart.js +1 -1
  31. package/dist/base/choice-inputs.js +2 -2
  32. package/dist/base/code-block.js +1 -1
  33. package/dist/base/combobox.js +1 -1
  34. package/dist/base/command.js +1 -1
  35. package/dist/base/copyable.js +1 -1
  36. package/dist/base/date-pickers.js +2 -2
  37. package/dist/base/display.js +6 -6
  38. package/dist/base/feedback.js +4 -4
  39. package/dist/base/forms-numeric.js +1 -1
  40. package/dist/base/forms.js +2 -2
  41. package/dist/base/inline-edit.js +8 -8
  42. package/dist/base/item.js +1 -1
  43. package/dist/base/media-gallery.js +1 -1
  44. package/dist/base/metadata-list.js +1 -1
  45. package/dist/base/navigation.js +6 -6
  46. package/dist/base/popover-menu.js +1 -1
  47. package/dist/base/popover.js +1 -1
  48. package/dist/base/qr-code.js +1 -1
  49. package/dist/base/repeaters.js +195 -188
  50. package/dist/base/repeaters.js.map +1 -1
  51. package/dist/base/sheet.js +1 -1
  52. package/dist/base/sidebar.js +2 -2
  53. package/dist/base/signature-pad.js +7 -7
  54. package/dist/base/skeleton.js +1 -1
  55. package/dist/base/spinner.js +5 -5
  56. package/dist/base/spinner.js.map +1 -1
  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 +1 -1
  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-Cb8cuvyy.js → batch-action-bar-BoqWIIpV.js} +5 -5
  66. package/dist/{batch-action-bar-Cb8cuvyy.js.map → batch-action-bar-BoqWIIpV.js.map} +1 -1
  67. package/dist/blocks/admin.js +17 -17
  68. package/dist/blocks/ai.js +227 -221
  69. package/dist/blocks/ai.js.map +1 -1
  70. package/dist/blocks/analytics/usage-card.js +1 -1
  71. package/dist/blocks/analytics.js +424 -449
  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 +225 -220
  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-J-K2kl4c.js → breadcrumbs-Bp9Ke7kd.js} +4 -4
  82. package/dist/breadcrumbs-Bp9Ke7kd.js.map +1 -0
  83. package/dist/{button-S2Cubiiz.js → button-ChBovTx0.js} +2 -2
  84. package/dist/{button-S2Cubiiz.js.map → button-ChBovTx0.js.map} +1 -1
  85. package/dist/{buttons-BedGfygC.js → buttons-DeW0bQeK.js} +6 -6
  86. package/dist/{buttons-BedGfygC.js.map → buttons-DeW0bQeK.js.map} +1 -1
  87. package/dist/{cards-rNX1M4Xn.js → cards-CNXnmvV5.js} +8 -8
  88. package/dist/{cards-rNX1M4Xn.js.map → cards-CNXnmvV5.js.map} +1 -1
  89. package/dist/{cascader-B1MiqkBq.js → cascader-CrAl9zD5.js} +15 -15
  90. package/dist/{cascader-B1MiqkBq.js.map → cascader-CrAl9zD5.js.map} +1 -1
  91. package/dist/{chart-Darg_0Kv.js → chart-I7ROnsl8.js} +5 -5
  92. package/dist/{chart-Darg_0Kv.js.map → chart-I7ROnsl8.js.map} +1 -1
  93. package/dist/{checkbox-fflqmODR.js → checkbox-MoyHIAPs.js} +3 -3
  94. package/dist/{checkbox-fflqmODR.js.map → checkbox-MoyHIAPs.js.map} +1 -1
  95. package/dist/{choice-inputs-zUgBZfE4.js → choice-inputs-DHGtx0QV.js} +122 -110
  96. package/dist/choice-inputs-DHGtx0QV.js.map +1 -0
  97. package/dist/{code-block-BzmM9Eig.js → code-block-BSJyq9e-.js} +7 -7
  98. package/dist/{code-block-BzmM9Eig.js.map → code-block-BSJyq9e-.js.map} +1 -1
  99. package/dist/{collapsible-BkAI_XD4.js → collapsible-BzJ91LUG.js} +3 -3
  100. package/dist/{collapsible-BkAI_XD4.js.map → collapsible-BzJ91LUG.js.map} +1 -1
  101. package/dist/{collection-content-gDh1v6O4.js → collection-content-CSnwtOTH.js} +3 -3
  102. package/dist/{collection-content-gDh1v6O4.js.map → collection-content-CSnwtOTH.js.map} +1 -1
  103. package/dist/{combobox-BEx0vJgF.js → combobox-Bcvu5J8O.js} +11 -10
  104. package/dist/{combobox-BEx0vJgF.js.map → combobox-Bcvu5J8O.js.map} +1 -1
  105. package/dist/combobox-C2JiSQPc.js +915 -0
  106. package/dist/combobox-C2JiSQPc.js.map +1 -0
  107. package/dist/{command-CrlPIL6m.js → command-9e52NPgK.js} +6 -6
  108. package/dist/{command-CrlPIL6m.js.map → command-9e52NPgK.js.map} +1 -1
  109. package/dist/{comments-Dmpp0YIc.js → comments-BsgErEqd.js} +33 -28
  110. package/dist/comments-BsgErEqd.js.map +1 -0
  111. package/dist/components/base/choice-inputs/choice-types.d.ts +4 -0
  112. package/dist/components/base/choice-inputs/pill-radio-group.d.ts +7 -6
  113. package/dist/components/base/combobox/combobox-field.d.ts +2 -2
  114. package/dist/components/base/date-pickers/date-picker-internals.d.ts +3 -1
  115. package/dist/components/base/date-pickers/datepicker.types.d.ts +10 -4
  116. package/dist/components/base/date-pickers/time-picker.d.ts +17 -3
  117. package/dist/components/base/feedback/state-display.d.ts +5 -1
  118. package/dist/components/base/feedback/state-display.strings.d.ts +9 -0
  119. package/dist/components/base/forms/form-field.d.ts +7 -2
  120. package/dist/components/base/forms-numeric/coordinates-input.d.ts +4 -1
  121. package/dist/components/base/forms-numeric/decimal-input.d.ts +2 -2
  122. package/dist/components/base/forms-numeric/dimensions-input.d.ts +4 -1
  123. package/dist/components/base/forms-numeric/numeric-composite-field.d.ts +12 -0
  124. package/dist/components/base/forms-numeric/weight-input.d.ts +6 -1
  125. package/dist/components/base/navigation/language-switcher.d.ts +12 -4
  126. package/dist/components/base/repeaters/key-value-editor.d.ts +2 -1
  127. package/dist/components/base/sidebar/sidebar.d.ts +2 -0
  128. package/dist/components/base/upload/avatar-upload.d.ts +2 -1
  129. package/dist/components/base/upload/image-upload.d.ts +2 -1
  130. package/dist/components/blocks/ai/ai-citation/types.d.ts +2 -0
  131. package/dist/components/blocks/ai/ai-reasoning/types.d.ts +2 -0
  132. package/dist/components/blocks/ai/ai-sources/types.d.ts +2 -0
  133. package/dist/components/blocks/ai/ai-tool-call/types.d.ts +2 -0
  134. package/dist/components/blocks/analytics/metric/metric.d.ts +4 -0
  135. package/dist/components/blocks/analytics/metric-comparison/metric-comparison.d.ts +2 -0
  136. package/dist/components/blocks/analytics/metric-grid/metric-grid.d.ts +4 -5
  137. package/dist/components/blocks/analytics/types.d.ts +2 -2
  138. package/dist/components/blocks/commerce/order-status/types.d.ts +4 -0
  139. package/dist/components/blocks/data-display/empty-state/empty-state.types.d.ts +4 -3
  140. package/dist/components/features/activities/activities.types.d.ts +18 -11
  141. package/dist/components/features/activities/hooks/use-activity-resources.d.ts +2 -1
  142. package/dist/components/features/ai-chat/hooks/use-ai-chat-scroll.d.ts +1 -1
  143. package/dist/components/features/appointment-calendar/appointment-calendar.d.ts +1 -1
  144. package/dist/components/features/appointment-calendar/appointment-calendar.types.d.ts +4 -2
  145. package/dist/components/features/combobox/async-resource-combobox.d.ts +2 -2
  146. package/dist/components/features/combobox/combobox.d.ts +2 -2
  147. package/dist/components/features/combobox/hooks/use-combobox-core.d.ts +2 -1
  148. package/dist/components/features/combobox/hooks/use-combobox-state.d.ts +1 -0
  149. package/dist/components/features/combobox/hooks/use-load-more.d.ts +1 -0
  150. package/dist/components/features/combobox/types.d.ts +37 -8
  151. package/dist/components/features/email-composer/types.d.ts +3 -1
  152. package/dist/components/features/filters/facets/date-facet.d.ts +4 -2
  153. package/dist/components/features/filters/facets/range-facet.d.ts +12 -0
  154. package/dist/components/features/filters/filters.types.d.ts +3 -3
  155. package/dist/components/features/filters/partials/date-filter-content.d.ts +3 -2
  156. package/dist/components/features/filters/partials/filter-popover-content.d.ts +4 -2
  157. package/dist/components/features/filters/partials/range-filter-content.d.ts +12 -0
  158. package/dist/components/features/filters/utils/filter-utils.d.ts +5 -1
  159. package/dist/components/features/media-library/hooks/use-media-library.d.ts +1 -1
  160. package/dist/components/features/media-library/media-library.d.ts +1 -1
  161. package/dist/components/features/media-library/media-library.strings.d.ts +6 -0
  162. package/dist/components/features/media-library/media-library.types.d.ts +36 -8
  163. package/dist/components/features/media-library/partials/media-library-partials.d.ts +3 -3
  164. package/dist/components/features/mentions/hooks/use-mentions.d.ts +16 -1
  165. package/dist/components/features/mentions/partials/mention-inline-suggestions.d.ts +5 -1
  166. package/dist/components/features/mentions/utils/split-html-by-mentions.d.ts +1 -7
  167. package/dist/components/features/overlays/hooks/use-overlay-visibility.d.ts +2 -2
  168. package/dist/components/features/products/products.types.d.ts +2 -2
  169. package/dist/components/features/questionnaire/questionnaire.types.d.ts +3 -0
  170. package/dist/components/features/resource/resource.d.ts +1 -1
  171. package/dist/components/features/resource/resource.types.d.ts +2 -0
  172. package/dist/components/features/rich-text-editor/form-rich-text-editor.d.ts +1 -1
  173. package/dist/components/features/rich-text-editor/partials/caret-helpers.d.ts +1 -1
  174. package/dist/components/features/rich-text-editor/partials/editor-field-aria.d.ts +14 -0
  175. package/dist/components/features/rich-text-editor/partials/rich-text-editor-toolbar.d.ts +3 -1
  176. package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +1 -1
  177. package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +17 -3
  178. package/dist/components/features/schema-form/hooks/use-schema-form.d.ts +5 -1
  179. package/dist/components/features/schema-form/partials/schema-form-field.d.ts +3 -1
  180. package/dist/components/features/schema-form/schema-form.utils.d.ts +1 -1
  181. package/dist/components/features/suggestions/suggestions.types.d.ts +1 -1
  182. package/dist/components/features/table/data-table.d.ts +1 -1
  183. package/dist/components/features/table/index.d.ts +1 -0
  184. package/dist/components/features/table/table-body.d.ts +1 -1
  185. package/dist/components/features/table/table-helpers.d.ts +6 -3
  186. package/dist/components/features/table/table.strings.d.ts +3 -0
  187. package/dist/components/features/table/table.types.d.ts +17 -1
  188. package/dist/components/layout/header/header.types.d.ts +3 -2
  189. package/dist/components/layout/layout.types.d.ts +5 -3
  190. package/dist/components/layout/navigation/side-nav.d.ts +3 -2
  191. package/dist/components/layout/normalize-layout-path.d.ts +1 -0
  192. package/dist/components/layout/settings/settings.d.ts +1 -1
  193. package/dist/components/layout/sidebar/app-sidebar.d.ts +1 -1
  194. package/dist/components/layout/sidebar/sidebar-navigation-rail.d.ts +3 -1
  195. package/dist/components/layout/sidebar/sidebar.context.d.ts +1 -0
  196. package/dist/components/layout/sidebar/sidebar.types.d.ts +2 -0
  197. package/dist/components/primitives/link.d.ts +3 -2
  198. package/dist/components/primitives/money.d.ts +1 -1
  199. package/dist/components/primitives/number.d.ts +1 -1
  200. package/dist/components/typography/rich-text/rich-text-tree.d.ts +7 -5
  201. package/dist/{containers-CIxwbZt5.js → containers-CSdc32h9.js} +2 -2
  202. package/dist/{containers-CIxwbZt5.js.map → containers-CSdc32h9.js.map} +1 -1
  203. package/dist/{copyable-DIznBqiT.js → copyable-3fdHfMR3.js} +4 -4
  204. package/dist/{copyable-DIznBqiT.js.map → copyable-3fdHfMR3.js.map} +1 -1
  205. package/dist/{data-display-BdgCAw8T.js → data-display-Cmj-xZYl.js} +16 -15
  206. package/dist/data-display-Cmj-xZYl.js.map +1 -0
  207. package/dist/{date-Cq8ioE4o.js → date-Br0FicVv.js} +4 -4
  208. package/dist/{date-Cq8ioE4o.js.map → date-Br0FicVv.js.map} +1 -1
  209. package/dist/date-picker-CyQlFYsP.js +1617 -0
  210. package/dist/date-picker-CyQlFYsP.js.map +1 -0
  211. package/dist/date-pickers-tj2MXmXd.js +185 -0
  212. package/dist/date-pickers-tj2MXmXd.js.map +1 -0
  213. package/dist/{display-KsZLw9Ov.js → display-CT_N2a3w.js} +7 -7
  214. package/dist/{display-KsZLw9Ov.js.map → display-CT_N2a3w.js.map} +1 -1
  215. package/dist/{dropdown-menu-CLs8Lihj.js → dropdown-menu-C08iIugv.js} +6 -6
  216. package/dist/{dropdown-menu-CLs8Lihj.js.map → dropdown-menu-C08iIugv.js.map} +1 -1
  217. package/dist/features/activities.js +283 -270
  218. package/dist/features/activities.js.map +1 -1
  219. package/dist/features/ai-chat.js +40 -27
  220. package/dist/features/ai-chat.js.map +1 -1
  221. package/dist/features/appointment-calendar.js +126 -126
  222. package/dist/features/appointment-calendar.js.map +1 -1
  223. package/dist/features/async-preview.js +9 -9
  224. package/dist/features/combobox.js +1 -1
  225. package/dist/features/comments.js +1 -1
  226. package/dist/features/data-view.js +10 -10
  227. package/dist/features/email-composer.js +24 -19
  228. package/dist/features/email-composer.js.map +1 -1
  229. package/dist/features/event-calendar.js +129 -125
  230. package/dist/features/event-calendar.js.map +1 -1
  231. package/dist/features/filters.js +2 -2
  232. package/dist/features/global-search.js +16 -20
  233. package/dist/features/global-search.js.map +1 -1
  234. package/dist/features/kanban.js +18 -28
  235. package/dist/features/kanban.js.map +1 -1
  236. package/dist/features/map/style.css +15 -0
  237. package/dist/features/map.js +331 -314
  238. package/dist/features/map.js.map +1 -1
  239. package/dist/features/media-library.js +1044 -866
  240. package/dist/features/media-library.js.map +1 -1
  241. package/dist/features/mentions.js +2 -2
  242. package/dist/features/overlays.js +1 -1
  243. package/dist/features/products.js +978 -964
  244. package/dist/features/products.js.map +1 -1
  245. package/dist/features/questionnaire.js +159 -152
  246. package/dist/features/questionnaire.js.map +1 -1
  247. package/dist/features/resource-assignment.js +8 -8
  248. package/dist/features/resource.js +74 -71
  249. package/dist/features/resource.js.map +1 -1
  250. package/dist/features/rich-text-editor.js +28 -19
  251. package/dist/features/rich-text-editor.js.map +1 -1
  252. package/dist/features/schema-form.js +297 -256
  253. package/dist/features/schema-form.js.map +1 -1
  254. package/dist/features/suggestions.js +57 -50
  255. package/dist/features/suggestions.js.map +1 -1
  256. package/dist/features/sync.js +3 -3
  257. package/dist/features/table.js +1 -1
  258. package/dist/features/theme-tweaker.js +400 -399
  259. package/dist/features/theme-tweaker.js.map +1 -1
  260. package/dist/feedback-Dzo1xtAU.js +246 -0
  261. package/dist/feedback-Dzo1xtAU.js.map +1 -0
  262. package/dist/{field-affordance-recipes-DWcNcOjh.js → field-affordance-recipes-D6H7tVJi.js} +2 -2
  263. package/dist/{field-affordance-recipes-DWcNcOjh.js.map → field-affordance-recipes-D6H7tVJi.js.map} +1 -1
  264. package/dist/field-control-attributes-B6i335wr.js +18 -0
  265. package/dist/field-control-attributes-B6i335wr.js.map +1 -0
  266. package/dist/{field-state-recipes-BVA2CWHo.js → field-state-recipes-7sza8QbC.js} +4 -2
  267. package/dist/{field-state-recipes-BVA2CWHo.js.map → field-state-recipes-7sza8QbC.js.map} +1 -1
  268. package/dist/{filters-DzgSJpMK.js → filters-Dl80yYtN.js} +763 -605
  269. package/dist/filters-Dl80yYtN.js.map +1 -0
  270. package/dist/form-field-CAPdwdnZ.js +74 -0
  271. package/dist/form-field-CAPdwdnZ.js.map +1 -0
  272. package/dist/{form-sizing-Bs2qFUeE.js → form-sizing-CgcrUbLU.js} +2 -2
  273. package/dist/{form-sizing-Bs2qFUeE.js.map → form-sizing-CgcrUbLU.js.map} +1 -1
  274. package/dist/{forms-C0RGnJTe.js → forms-B3W8CH7-.js} +8 -8
  275. package/dist/{forms-C0RGnJTe.js.map → forms-B3W8CH7-.js.map} +1 -1
  276. package/dist/forms-numeric-CwjQJe-O.js +991 -0
  277. package/dist/forms-numeric-CwjQJe-O.js.map +1 -0
  278. package/dist/{header-DMMxG__r.js → header-ZIIsRKxP.js} +113 -113
  279. package/dist/header-ZIIsRKxP.js.map +1 -0
  280. package/dist/hooks/use-files.d.ts +2 -0
  281. package/dist/{hooks-DB6CJ4MR.js → hooks-BitHSh-Y.js} +3 -3
  282. package/dist/{hooks-DB6CJ4MR.js.map → hooks-BitHSh-Y.js.map} +1 -1
  283. package/dist/{icon-badge-DZF-YjQp.js → icon-badge-npxF1SLX.js} +2 -2
  284. package/dist/{icon-badge-DZF-YjQp.js.map → icon-badge-npxF1SLX.js.map} +1 -1
  285. package/dist/index.js +1 -1
  286. package/dist/{input-CvyDQlY7.js → input-7KAc7XQL.js} +6 -6
  287. package/dist/{input-CvyDQlY7.js.map → input-7KAc7XQL.js.map} +1 -1
  288. package/dist/{input-DMBwAZmr.js → input-DIREVYHs.js} +3 -3
  289. package/dist/{input-DMBwAZmr.js.map → input-DIREVYHs.js.map} +1 -1
  290. package/dist/{interaction-recipes-XR9ZpVYL.js → interaction-recipes-4wZ2tvfb.js} +2 -2
  291. package/dist/{interaction-recipes-XR9ZpVYL.js.map → interaction-recipes-4wZ2tvfb.js.map} +1 -1
  292. package/dist/{item-DjCcM18E.js → item-FfWnaYST.js} +99 -98
  293. package/dist/item-FfWnaYST.js.map +1 -0
  294. package/dist/layout/app-shell.js +1 -1
  295. package/dist/layout/auth.js +1 -1
  296. package/dist/layout/containers.js +1 -1
  297. package/dist/layout/header.js +1 -1
  298. package/dist/layout/hooks.js +1 -1
  299. package/dist/layout/navigation.js +1 -1
  300. package/dist/layout/page.js +1 -1
  301. package/dist/layout/settings.js +1 -1
  302. package/dist/layout/sidebar.js +2 -2
  303. package/dist/layout/workspace.js +1 -1
  304. package/dist/layout.js +11 -11
  305. package/dist/layout.types-E_GAApzO.js +30 -0
  306. package/dist/layout.types-E_GAApzO.js.map +1 -0
  307. package/dist/lib/field-control-attributes.d.ts +11 -0
  308. package/dist/lib/field-state-recipes.d.ts +2 -0
  309. package/dist/lib/format.d.ts +1 -0
  310. package/dist/lib/surface-recipes.d.ts +1 -1
  311. package/dist/lib/token-merge.generated.d.ts +6 -6
  312. package/dist/lib/utils.js +1 -1
  313. package/dist/{media-gallery-C-vChPmE.js → media-gallery-C81DAnKI.js} +6 -6
  314. package/dist/{media-gallery-C-vChPmE.js.map → media-gallery-C81DAnKI.js.map} +1 -1
  315. package/dist/{mentions-0_4nWuI-.js → mentions-qOnedSt4.js} +236 -167
  316. package/dist/mentions-qOnedSt4.js.map +1 -0
  317. package/dist/message-BJHnn43M.js +135 -0
  318. package/dist/message-BJHnn43M.js.map +1 -0
  319. package/dist/{metadata-list-C3MkU-Om.js → metadata-list-XkqZ_UXH.js} +11 -11
  320. package/dist/{metadata-list-C3MkU-Om.js.map → metadata-list-XkqZ_UXH.js.map} +1 -1
  321. package/dist/{navigation-DaRjthVk.js → navigation-BgtPJAhi.js} +119 -119
  322. package/dist/navigation-BgtPJAhi.js.map +1 -0
  323. package/dist/{navigation-C90-oQFq.js → navigation-Bt-v7rWP.js} +52 -46
  324. package/dist/navigation-Bt-v7rWP.js.map +1 -0
  325. package/dist/normalize-layout-path-BmEgg6fu.js +14 -0
  326. package/dist/normalize-layout-path-BmEgg6fu.js.map +1 -0
  327. package/dist/{number-CRU3kGuk.js → number-CYqBcrSj.js} +78 -86
  328. package/dist/number-CYqBcrSj.js.map +1 -0
  329. package/dist/{overflow-tab-bar-IVFVQFV6.js → overflow-tab-bar-BQCA2Zn2.js} +7 -7
  330. package/dist/{overflow-tab-bar-IVFVQFV6.js.map → overflow-tab-bar-BQCA2Zn2.js.map} +1 -1
  331. package/dist/{overlays-BSgCtM2v.js → overlays-CC8zI3Du.js} +264 -260
  332. package/dist/overlays-CC8zI3Du.js.map +1 -0
  333. package/dist/{page-DUUKDAjo.js → page-BoQ1VaFJ.js} +13 -13
  334. package/dist/{page-DUUKDAjo.js.map → page-BoQ1VaFJ.js.map} +1 -1
  335. package/dist/{page-header-commands-7P3sfE9u.js → page-header-commands-DIKspJfx.js} +4 -4
  336. package/dist/{page-header-commands-7P3sfE9u.js.map → page-header-commands-DIKspJfx.js.map} +1 -1
  337. package/dist/{pagination-CgCjElfu.js → pagination-Br8TdV9A.js} +4 -4
  338. package/dist/{pagination-CgCjElfu.js.map → pagination-Br8TdV9A.js.map} +1 -1
  339. package/dist/{popover-B85RenIl.js → popover-k8TdUcAt.js} +10 -10
  340. package/dist/popover-k8TdUcAt.js.map +1 -0
  341. package/dist/{popover-menu-DlnQ2zlR.js → popover-menu-yn-o0kyA.js} +7 -7
  342. package/dist/{popover-menu-DlnQ2zlR.js.map → popover-menu-yn-o0kyA.js.map} +1 -1
  343. package/dist/{popover.recipes-DdiEp0rd.js → popover.recipes-DJ0AkUan.js} +2 -2
  344. package/dist/{popover.recipes-DdiEp0rd.js.map → popover.recipes-DJ0AkUan.js.map} +1 -1
  345. package/dist/{portal-recipes-BpsV_iRw.js → portal-recipes-DyUXqUtD.js} +2 -2
  346. package/dist/{portal-recipes-BpsV_iRw.js.map → portal-recipes-DyUXqUtD.js.map} +1 -1
  347. package/dist/{primitives-ByWgGUgt.js → primitives-BkkQjYl7.js} +22 -17
  348. package/dist/primitives-BkkQjYl7.js.map +1 -0
  349. package/dist/primitives.js +4 -4
  350. package/dist/{progress-BJhQP9WX.js → progress-DZFXXzPs.js} +4 -4
  351. package/dist/{progress-BJhQP9WX.js.map → progress-DZFXXzPs.js.map} +1 -1
  352. package/dist/{receipt-tOc7B3hw.js → receipt-C7LhOg7Q.js} +6 -6
  353. package/dist/{receipt-tOc7B3hw.js.map → receipt-C7LhOg7Q.js.map} +1 -1
  354. package/dist/rich-text-BnTzZjIo.js +45 -0
  355. package/dist/rich-text-BnTzZjIo.js.map +1 -0
  356. package/dist/rich-text-editor-CAurDwT5.js +1273 -0
  357. package/dist/rich-text-editor-CAurDwT5.js.map +1 -0
  358. package/dist/{rich-text-editor-toolbar-laT3tpBT.js → rich-text-editor-toolbar-DbXig7Jk.js} +36 -35
  359. package/dist/rich-text-editor-toolbar-DbXig7Jk.js.map +1 -0
  360. package/dist/rich-text-tree-BqyQ_7-R.js +66 -0
  361. package/dist/rich-text-tree-BqyQ_7-R.js.map +1 -0
  362. package/dist/{sanitize-html-DsQmI48u.js → sanitize-html-BWkH4dLM.js} +29 -16
  363. package/dist/sanitize-html-BWkH4dLM.js.map +1 -0
  364. package/dist/{scroll-area-B0dB2cBi.js → scroll-area-Bj6CRUif.js} +2 -2
  365. package/dist/{scroll-area-B0dB2cBi.js.map → scroll-area-Bj6CRUif.js.map} +1 -1
  366. package/dist/{separator-Bb17I4pu.js → separator-B9ewiCGO.js} +2 -2
  367. package/dist/{separator-Bb17I4pu.js.map → separator-B9ewiCGO.js.map} +1 -1
  368. package/dist/{separator-Ct_WSWTJ.js → separator-DM6gs2vu.js} +3 -3
  369. package/dist/{separator-Ct_WSWTJ.js.map → separator-DM6gs2vu.js.map} +1 -1
  370. package/dist/services/actions.js +1 -1
  371. package/dist/settings-DZPHgpx4.js +155 -0
  372. package/dist/settings-DZPHgpx4.js.map +1 -0
  373. package/dist/{sheet-BGPERY55.js → sheet-C4DHsgLk.js} +6 -6
  374. package/dist/{sheet-BGPERY55.js.map → sheet-C4DHsgLk.js.map} +1 -1
  375. package/dist/sidebar-C8BnDwTH.js +709 -0
  376. package/dist/sidebar-C8BnDwTH.js.map +1 -0
  377. package/dist/{sidebar-f9gRWXIR.js → sidebar-CmD6a-HK.js} +16 -13
  378. package/dist/sidebar-CmD6a-HK.js.map +1 -0
  379. package/dist/{skeleton-BapcJd9C.js → skeleton-DDgdhmu9.js} +5 -5
  380. package/dist/{skeleton-BapcJd9C.js.map → skeleton-DDgdhmu9.js.map} +1 -1
  381. package/dist/{smart-card-CW0hjetE.js → smart-card-B6vLxqa_.js} +8 -8
  382. package/dist/{smart-card-CW0hjetE.js.map → smart-card-B6vLxqa_.js.map} +1 -1
  383. package/dist/{structure-DuxKl954.js → structure-DZJ2wbAU.js} +2 -2
  384. package/dist/{structure-DuxKl954.js.map → structure-DZJ2wbAU.js.map} +1 -1
  385. package/dist/style.css +1 -1
  386. package/dist/{surface-recipes-BKRVW8Os.js → surface-recipes-C8mNycaY.js} +2 -2
  387. package/dist/{surface-recipes-BKRVW8Os.js.map → surface-recipes-C8mNycaY.js.map} +1 -1
  388. package/dist/{table-CFOWY9pQ.js → table-CBonSdTp.js} +534 -486
  389. package/dist/table-CBonSdTp.js.map +1 -0
  390. package/dist/{table-B4TE7iOV.js → table-CXSPHH25.js} +75 -71
  391. package/dist/table-CXSPHH25.js.map +1 -0
  392. package/dist/{tabs-e7ko9S2o.js → tabs-C4Kr_hCr.js} +50 -49
  393. package/dist/tabs-C4Kr_hCr.js.map +1 -0
  394. package/dist/{text-inputs-B1culiSK.js → text-inputs-jdkS3ReG.js} +9 -9
  395. package/dist/{text-inputs-B1culiSK.js.map → text-inputs-jdkS3ReG.js.map} +1 -1
  396. package/dist/{timelines-D3Sl9ueq.js → timelines-CoPwdJP0.js} +10 -10
  397. package/dist/{timelines-D3Sl9ueq.js.map → timelines-CoPwdJP0.js.map} +1 -1
  398. package/dist/{tooltip-8wz5S_Zr.js → tooltip-31NwIpTo.js} +4 -4
  399. package/dist/{tooltip-8wz5S_Zr.js.map → tooltip-31NwIpTo.js.map} +1 -1
  400. package/dist/{tree-CzUJHnFs.js → tree-CeYVzdFE.js} +6 -6
  401. package/dist/{tree-CzUJHnFs.js.map → tree-CeYVzdFE.js.map} +1 -1
  402. package/dist/typography/rich-text.js +1 -1
  403. package/dist/{typography-BQnine1k.js → typography-C7-YMW1S.js} +2 -2
  404. package/dist/{typography-BQnine1k.js.map → typography-C7-YMW1S.js.map} +1 -1
  405. package/dist/typography.js +1 -1
  406. package/dist/{upload-BOW6U2tI.js → upload-Hdm5gObf.js} +303 -291
  407. package/dist/upload-Hdm5gObf.js.map +1 -0
  408. package/dist/{upload-queue-qUXn1ykN.js → upload-queue-D0sYPuqo.js} +8 -8
  409. package/dist/{upload-queue-qUXn1ykN.js.map → upload-queue-D0sYPuqo.js.map} +1 -1
  410. package/dist/{usage-card-BeSLY0i0.js → usage-card-9s8hLDfn.js} +9 -9
  411. package/dist/{usage-card-BeSLY0i0.js.map → usage-card-9s8hLDfn.js.map} +1 -1
  412. package/dist/{utils-B6kKb8jB.js → utils-DhuoqFy4.js} +31 -37
  413. package/dist/utils-DhuoqFy4.js.map +1 -0
  414. package/dist/{value-inputs-skdVB2zh.js → value-inputs-D3aPgq9H.js} +15 -15
  415. package/dist/{value-inputs-skdVB2zh.js.map → value-inputs-D3aPgq9H.js.map} +1 -1
  416. package/dist/{value-typography-uAmWUAL1.js → value-typography-uSzzG9Gf.js} +32 -26
  417. package/dist/value-typography-uSzzG9Gf.js.map +1 -0
  418. package/dist/{workspace-DHeHv0qw.js → workspace-CC8Vchiu.js} +12 -12
  419. package/dist/{workspace-DHeHv0qw.js.map → workspace-CC8Vchiu.js.map} +1 -1
  420. package/docs/consumer-skill/examples/edit.tsx +3 -3
  421. package/docs/consumer-skill/references/agents-md.md +19 -19
  422. package/docs/consumer-skill/references/analytics.md +15 -0
  423. package/docs/consumer-skill/references/component-contracts.json +14724 -13057
  424. package/docs/consumer-skill/references/composition.md +21 -4
  425. package/docs/consumer-skill/references/design-contract.md +1 -0
  426. package/docs/consumer-skill/references/installation.md +51 -8
  427. package/docs/consumer-skill/references/integration.md +24 -1
  428. package/docs/consumer-skill/references/public-api.json +172 -34
  429. package/docs/consumer-skill/references/review.md +51 -11
  430. package/docs/consumer-skill/references/rhf-workflows.md +72 -0
  431. package/docs/consumer-skill/references/theming.md +7 -2
  432. package/docs/consumer-skill/references/tokens.json +1 -1
  433. package/docs/consumer-skill/scripts/composition-policy.mjs +144 -30
  434. package/docs/consumer-skill/scripts/setup-skills.mjs +46 -9
  435. package/package.json +4 -2
  436. package/templates/admin-shell-template.tsx +1 -2
  437. package/templates/customers-template.tsx +18 -16
  438. package/dist/accordion-B9MHG0cT.js.map +0 -1
  439. package/dist/ai-artifact-C58tQcBy.js.map +0 -1
  440. package/dist/auth-DTkkshS8.js.map +0 -1
  441. package/dist/breadcrumbs-J-K2kl4c.js.map +0 -1
  442. package/dist/choice-inputs-zUgBZfE4.js.map +0 -1
  443. package/dist/combobox-BwzoXFSG.js +0 -884
  444. package/dist/combobox-BwzoXFSG.js.map +0 -1
  445. package/dist/comments-Dmpp0YIc.js.map +0 -1
  446. package/dist/data-display-BdgCAw8T.js.map +0 -1
  447. package/dist/date-picker-RlIzKom_.js +0 -1551
  448. package/dist/date-picker-RlIzKom_.js.map +0 -1
  449. package/dist/date-pickers-DY-CpXS1.js +0 -179
  450. package/dist/date-pickers-DY-CpXS1.js.map +0 -1
  451. package/dist/feedback-Dm4izqFn.js +0 -240
  452. package/dist/feedback-Dm4izqFn.js.map +0 -1
  453. package/dist/filters-DzgSJpMK.js.map +0 -1
  454. package/dist/form-field-BriWAXyg.js +0 -63
  455. package/dist/form-field-BriWAXyg.js.map +0 -1
  456. package/dist/forms-numeric-DIhghX1Q.js +0 -910
  457. package/dist/forms-numeric-DIhghX1Q.js.map +0 -1
  458. package/dist/header-DMMxG__r.js.map +0 -1
  459. package/dist/item-DjCcM18E.js.map +0 -1
  460. package/dist/layout.types-Cn7aUzJp.js +0 -20
  461. package/dist/layout.types-Cn7aUzJp.js.map +0 -1
  462. package/dist/mentions-0_4nWuI-.js.map +0 -1
  463. package/dist/message-g8p7eVtN.js +0 -128
  464. package/dist/message-g8p7eVtN.js.map +0 -1
  465. package/dist/navigation-C90-oQFq.js.map +0 -1
  466. package/dist/navigation-DaRjthVk.js.map +0 -1
  467. package/dist/number-CRU3kGuk.js.map +0 -1
  468. package/dist/overlays-BSgCtM2v.js.map +0 -1
  469. package/dist/popover-B85RenIl.js.map +0 -1
  470. package/dist/primitives-ByWgGUgt.js.map +0 -1
  471. package/dist/rich-text-Dth5E882.js +0 -78
  472. package/dist/rich-text-Dth5E882.js.map +0 -1
  473. package/dist/rich-text-editor-C1fOjBTd.js +0 -1195
  474. package/dist/rich-text-editor-C1fOjBTd.js.map +0 -1
  475. package/dist/rich-text-editor-toolbar-laT3tpBT.js.map +0 -1
  476. package/dist/safe-image-src-C6kQSMBZ.js +0 -17
  477. package/dist/safe-image-src-C6kQSMBZ.js.map +0 -1
  478. package/dist/sanitize-html-DsQmI48u.js.map +0 -1
  479. package/dist/settings-Bar5wiSo.js +0 -167
  480. package/dist/settings-Bar5wiSo.js.map +0 -1
  481. package/dist/sidebar-D-JYMMbY.js +0 -686
  482. package/dist/sidebar-D-JYMMbY.js.map +0 -1
  483. package/dist/sidebar-f9gRWXIR.js.map +0 -1
  484. package/dist/table-B4TE7iOV.js.map +0 -1
  485. package/dist/table-CFOWY9pQ.js.map +0 -1
  486. package/dist/tabs-e7ko9S2o.js.map +0 -1
  487. package/dist/upload-BOW6U2tI.js.map +0 -1
  488. package/dist/utils-B6kKb8jB.js.map +0 -1
  489. package/dist/value-typography-uAmWUAL1.js.map +0 -1
@@ -1,72 +1,72 @@
1
1
  "use client";
2
2
  import { h as e, i as t } from "./ui-provider-C-74NVLc.js";
3
3
  import { useStrings as n } from "./lib/strings.js";
4
- import { t as r } from "./utils-B6kKb8jB.js";
5
- import { a as i, c as a, d as o, f as s, i as c, l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./sheet-BGPERY55.js";
6
- import { n as _ } from "./buttons-BedGfygC.js";
7
- import { c as v } from "./typography-BQnine1k.js";
4
+ import { t as r } from "./utils-DhuoqFy4.js";
5
+ import { a as i, c as a, d as o, f as s, i as c, l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./sheet-C4DHsgLk.js";
6
+ import { n as _ } from "./buttons-DeW0bQeK.js";
7
+ import { c as v } from "./typography-C7-YMW1S.js";
8
8
  import { l as y, o as b, s as x } from "./text.styles-B64My8RZ.js";
9
- import { t as S } from "./portal-recipes-BpsV_iRw.js";
9
+ import { t as S } from "./portal-recipes-DyUXqUtD.js";
10
10
  import { t as C } from "./motion-recipes-DitYv6P2.js";
11
11
  import { t as w } from "./slot-CLF9kLrS.js";
12
- import { t as T } from "./button-S2Cubiiz.js";
13
- import { t as E } from "./structure-DuxKl954.js";
12
+ import { t as T } from "./button-ChBovTx0.js";
13
+ import { t as E } from "./structure-DZJ2wbAU.js";
14
14
  import { i as D } from "./tone-recipes-BPsRAvhu.js";
15
- import { h as ee, p as te } from "./smart-card-CW0hjetE.js";
16
- import { a as O, r as k } from "./surface-recipes-BKRVW8Os.js";
15
+ import { h as ee, p as te } from "./smart-card-B6vLxqa_.js";
16
+ import { a as O, r as k } from "./surface-recipes-C8mNycaY.js";
17
17
  import { n as ne } from "./composition.recipes-COdiFhxB.js";
18
18
  import { t as A } from "./overlay.recipes-8GHqmlb4.js";
19
19
  import { t as j } from "./use-popup-focus-recovery-C0QPvgOR.js";
20
- import { t as M } from "./interaction-recipes-XR9ZpVYL.js";
20
+ import { t as M } from "./interaction-recipes-4wZ2tvfb.js";
21
21
  import * as N from "react";
22
- import { isValidElement as re, memo as P, useCallback as F, useLayoutEffect as I, useMemo as L, useRef as R, useState as z } from "react";
23
- import { jsx as B, jsxs as V } from "react/jsx-runtime";
24
- import { AlertCircle as H, AlertTriangle as U, CheckCircle as W, HelpCircle as G, Info as K, X as ie, XIcon as q } from "lucide-react";
25
- import { Dialog as J } from "@base-ui/react/dialog";
26
- import { AlertDialog as Y } from "@base-ui/react/alert-dialog";
22
+ import { isValidElement as re, memo as P, useCallback as F, useEffect as I, useLayoutEffect as L, useMemo as R, useRef as z, useState as B } from "react";
23
+ import { jsx as V, jsxs as H } from "react/jsx-runtime";
24
+ import { AlertCircle as U, AlertTriangle as W, CheckCircle as G, HelpCircle as K, Info as q, X as ie, XIcon as J } from "lucide-react";
25
+ import { Dialog as Y } from "@base-ui/react/dialog";
26
+ import { AlertDialog as X } from "@base-ui/react/alert-dialog";
27
27
  //#region src/components/ui/dialog.tsx
28
- function X({ ...e }) {
29
- return /* @__PURE__ */ B(J.Root, {
28
+ function Z({ ...e }) {
29
+ return /* @__PURE__ */ V(Y.Root, {
30
30
  "data-slot": "dialog",
31
31
  modal: "trap-focus",
32
32
  ...e
33
33
  });
34
34
  }
35
- function Z({ asChild: e = !1, ...t }) {
36
- let n = e ? /* @__PURE__ */ B(w, {}) : void 0;
37
- return /* @__PURE__ */ B(J.Trigger, {
35
+ function ae({ asChild: e = !1, ...t }) {
36
+ let n = e ? /* @__PURE__ */ V(w, {}) : void 0;
37
+ return /* @__PURE__ */ V(Y.Trigger, {
38
38
  "data-slot": "dialog-trigger",
39
39
  render: n,
40
40
  ...t
41
41
  });
42
42
  }
43
- function ae({ container: e, className: n, ...r }) {
43
+ function Q({ container: e, className: n, ...r }) {
44
44
  let i = t(e);
45
- return /* @__PURE__ */ B(J.Portal, {
45
+ return /* @__PURE__ */ V(Y.Portal, {
46
46
  container: i,
47
47
  "data-slot": "dialog-portal",
48
48
  className: S(n),
49
49
  ...r
50
50
  });
51
51
  }
52
- function Q({ ...e }) {
53
- return /* @__PURE__ */ B(J.Close, {
52
+ function oe({ ...e }) {
53
+ return /* @__PURE__ */ V(Y.Close, {
54
54
  "data-slot": "dialog-close",
55
55
  ...e
56
56
  });
57
57
  }
58
- function oe({ className: e, ...t }) {
59
- return /* @__PURE__ */ B(J.Backdrop, {
58
+ function se({ className: e, ...t }) {
59
+ return /* @__PURE__ */ V(Y.Backdrop, {
60
60
  "data-slot": "dialog-overlay",
61
61
  className: r(A, C.backdrop, "isolate", e),
62
62
  ...t
63
63
  });
64
64
  }
65
- function se({ className: e, container: n, children: i, showCloseButton: a = !0, onFocusCapture: c, finalFocus: l, ...u }) {
65
+ function $({ className: e, container: n, children: i, showCloseButton: a = !0, onFocusCapture: c, finalFocus: l, ...u }) {
66
66
  let d = t(n), p = j(c), m = o(), { capture: h, finalFocus: _ } = s(l);
67
- return /* @__PURE__ */ V(ae, {
67
+ return /* @__PURE__ */ H(Q, {
68
68
  container: d,
69
- children: [/* @__PURE__ */ B(oe, { forceRender: !m }), /* @__PURE__ */ V(J.Popup, {
69
+ children: [/* @__PURE__ */ V(se, { forceRender: !m }), /* @__PURE__ */ H(Y.Popup, {
70
70
  "data-slot": "dialog-content",
71
71
  className: r(C.dialog, "bg-background grid max-w-[calc(100%-2rem)] gap-space-xl rounded-surface 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),
72
72
  ...u,
@@ -74,16 +74,16 @@ function se({ className: e, container: n, children: i, showCloseButton: a = !0,
74
74
  onFocusCapture: p,
75
75
  children: [
76
76
  h,
77
- /* @__PURE__ */ B(g, { children: i }),
78
- !!a && /* @__PURE__ */ V(J.Close, {
77
+ /* @__PURE__ */ V(g, { children: i }),
78
+ !!a && /* @__PURE__ */ H(Y.Close, {
79
79
  "data-slot": "dialog-close",
80
- render: /* @__PURE__ */ B(T, {
80
+ render: /* @__PURE__ */ V(T, {
81
81
  variant: "ghost",
82
82
  "data-overlay-close": "",
83
83
  className: f.close,
84
84
  size: "icon-sm"
85
85
  }),
86
- children: [/* @__PURE__ */ B(q, {}), /* @__PURE__ */ B("span", {
86
+ children: [/* @__PURE__ */ V(J, {}), /* @__PURE__ */ V("span", {
87
87
  className: "sr-only",
88
88
  children: "Close"
89
89
  })]
@@ -92,36 +92,36 @@ function se({ className: e, container: n, children: i, showCloseButton: a = !0,
92
92
  })]
93
93
  });
94
94
  }
95
- function $({ className: e, ...t }) {
96
- return /* @__PURE__ */ B("div", {
95
+ function ce({ className: e, ...t }) {
96
+ return /* @__PURE__ */ V("div", {
97
97
  "data-slot": "dialog-header",
98
98
  className: r("flex flex-col", e),
99
99
  ...t
100
100
  });
101
101
  }
102
- function ce({ className: e, showCloseButton: t = !1, children: n, ...i }) {
103
- return /* @__PURE__ */ V("div", {
102
+ function le({ className: e, showCloseButton: t = !1, children: n, ...i }) {
103
+ return /* @__PURE__ */ H("div", {
104
104
  "data-slot": "dialog-footer",
105
105
  className: r("flex flex-col-reverse sm:flex-row sm:justify-end", e),
106
106
  ...i,
107
- children: [n, !!t && /* @__PURE__ */ B(J.Close, {
108
- render: /* @__PURE__ */ B(T, { variant: "outline" }),
107
+ children: [n, !!t && /* @__PURE__ */ V(Y.Close, {
108
+ render: /* @__PURE__ */ V(T, { variant: "outline" }),
109
109
  children: "Close"
110
110
  })]
111
111
  });
112
112
  }
113
- function le({ className: e, asChild: t = !1, ...n }) {
114
- let i = t ? /* @__PURE__ */ B(w, {}) : void 0;
115
- return /* @__PURE__ */ B(J.Title, {
113
+ function ue({ className: e, asChild: t = !1, ...n }) {
114
+ let i = t ? /* @__PURE__ */ V(w, {}) : void 0;
115
+ return /* @__PURE__ */ V(Y.Title, {
116
116
  "data-slot": "dialog-title",
117
117
  render: i,
118
118
  className: r("leading-none font-medium", e),
119
119
  ...n
120
120
  });
121
121
  }
122
- function ue({ className: e, asChild: t = !1, ...n }) {
123
- let i = t ? /* @__PURE__ */ B(w, {}) : void 0;
124
- return /* @__PURE__ */ B(J.Description, {
122
+ function de({ className: e, asChild: t = !1, ...n }) {
123
+ let i = t ? /* @__PURE__ */ V(w, {}) : void 0;
124
+ return /* @__PURE__ */ V(Y.Description, {
125
125
  "data-slot": "dialog-description",
126
126
  render: i,
127
127
  className: r("text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3", e),
@@ -130,44 +130,44 @@ function ue({ className: e, asChild: t = !1, ...n }) {
130
130
  }
131
131
  //#endregion
132
132
  //#region src/components/base/display/dialog.tsx
133
- function de(e) {
133
+ function fe(e) {
134
134
  return typeof e == "string" || typeof e == "number" || typeof e == "bigint";
135
135
  }
136
- var fe = r(x.base, y.semibold, b.snug), pe = X, me = N.forwardRef(function({ className: e, ...t }, n) {
137
- return /* @__PURE__ */ B(Z, {
136
+ var pe = r(x.base, y.semibold, b.snug), me = Z, he = N.forwardRef(function({ className: e, ...t }, n) {
137
+ return /* @__PURE__ */ V(ae, {
138
138
  ref: n,
139
139
  className: r("dialog-trigger--component", e),
140
140
  ...t
141
141
  });
142
142
  });
143
- me.displayName = "DialogTrigger";
144
- var he = N.forwardRef(function({ className: e, ...t }, n) {
145
- return /* @__PURE__ */ B(Q, {
143
+ he.displayName = "DialogTrigger";
144
+ var ge = N.forwardRef(function({ className: e, ...t }, n) {
145
+ return /* @__PURE__ */ V(oe, {
146
146
  ref: n,
147
147
  className: r("dialog-close--component", e),
148
148
  ...t
149
149
  });
150
150
  });
151
- he.displayName = "DialogClose";
152
- var ge = N.forwardRef(function({ className: e, ...t }, n) {
153
- return /* @__PURE__ */ B(se, {
151
+ ge.displayName = "DialogClose";
152
+ var _e = N.forwardRef(function({ className: e, ...t }, n) {
153
+ return /* @__PURE__ */ V($, {
154
154
  ref: n,
155
155
  className: r("dialog-content--component flex max-h-[min(90vh,48rem)] flex-col gap-0 overflow-hidden rounded-surface bg-popover p-0 text-popover-foreground shadow-xl sm:max-w-lg", O.modal.shell, e),
156
156
  ...t
157
157
  });
158
158
  });
159
- ge.displayName = "DialogContent";
160
- var _e = N.forwardRef(function({ className: e, textGap: t = "normal", ...n }, i) {
161
- return /* @__PURE__ */ B($, {
159
+ _e.displayName = "DialogContent";
160
+ var ve = N.forwardRef(function({ className: e, textGap: t = "normal", ...n }, i) {
161
+ return /* @__PURE__ */ V(ce, {
162
162
  ref: i,
163
163
  "data-modal-region": "",
164
164
  className: r("dialog-header--component", k.header, f.header, t === "dense" ? "gap-dense" : "gap-normal", e),
165
165
  ...n
166
166
  });
167
167
  });
168
- _e.displayName = "DialogHeader";
169
- var ve = N.forwardRef(function({ className: e, ...t }, n) {
170
- return /* @__PURE__ */ B("div", {
168
+ ve.displayName = "DialogHeader";
169
+ var ye = N.forwardRef(function({ className: e, ...t }, n) {
170
+ return /* @__PURE__ */ V("div", {
171
171
  ref: n,
172
172
  "data-slot": "dialog-body",
173
173
  "data-modal-region": "",
@@ -175,22 +175,22 @@ var ve = N.forwardRef(function({ className: e, ...t }, n) {
175
175
  ...t
176
176
  });
177
177
  });
178
- ve.displayName = "DialogBody";
179
- var ye = N.forwardRef(function({ className: e, ...t }, n) {
180
- return /* @__PURE__ */ B(ce, {
178
+ ye.displayName = "DialogBody";
179
+ var be = N.forwardRef(function({ className: e, ...t }, n) {
180
+ return /* @__PURE__ */ V(le, {
181
181
  ref: n,
182
182
  "data-modal-region": "",
183
183
  className: r("dialog-footer--component", k.footer, e),
184
184
  ...t
185
185
  });
186
186
  });
187
- ye.displayName = "DialogFooter";
188
- var be = N.forwardRef(function({ children: e, className: t, ...n }, i) {
189
- return /* @__PURE__ */ B(le, {
187
+ be.displayName = "DialogFooter";
188
+ var xe = N.forwardRef(function({ children: e, className: t, ...n }, i) {
189
+ return /* @__PURE__ */ V(ue, {
190
190
  ref: i,
191
- className: r("dialog-title--component m-0", fe, t),
191
+ className: r("dialog-title--component m-0", pe, t),
192
192
  ...n,
193
- children: de(e) ? /* @__PURE__ */ B(v, {
193
+ children: fe(e) ? /* @__PURE__ */ V(v, {
194
194
  tag: "span",
195
195
  type: "inherit",
196
196
  size: "base",
@@ -201,13 +201,13 @@ var be = N.forwardRef(function({ children: e, className: t, ...n }, i) {
201
201
  }) : e
202
202
  });
203
203
  });
204
- be.displayName = "DialogTitle";
205
- var xe = N.forwardRef(function({ children: e, className: t, ...n }, i) {
206
- return /* @__PURE__ */ B(ue, {
204
+ xe.displayName = "DialogTitle";
205
+ var Se = N.forwardRef(function({ children: e, className: t, ...n }, i) {
206
+ return /* @__PURE__ */ V(de, {
207
207
  ref: i,
208
208
  className: r("dialog-description--component m-0", t),
209
209
  ...n,
210
- children: de(e) ? /* @__PURE__ */ B(v, {
210
+ children: fe(e) ? /* @__PURE__ */ V(v, {
211
211
  tag: "span",
212
212
  type: "secondary",
213
213
  lineHeight: "relaxed",
@@ -216,10 +216,10 @@ var xe = N.forwardRef(function({ children: e, className: t, ...n }, i) {
216
216
  }) : e
217
217
  });
218
218
  });
219
- xe.displayName = "DialogDescription";
219
+ Se.displayName = "DialogDescription";
220
220
  //#endregion
221
221
  //#region src/components/features/overlays/overlays.strings.ts
222
- var Se = {
222
+ var Ce = {
223
223
  confirm: "Confirm",
224
224
  cancel: "Cancel",
225
225
  close: "Close",
@@ -227,7 +227,7 @@ var Se = {
227
227
  dialogLabel: "Dialog",
228
228
  drawerLabel: "Drawer",
229
229
  alertDialogLabel: "Confirmation"
230
- }, Ce = {
230
+ }, we = {
231
231
  confirm: "Continue",
232
232
  cancel: "Cancel",
233
233
  close: "Close",
@@ -238,8 +238,8 @@ var Se = {
238
238
  };
239
239
  //#endregion
240
240
  //#region src/components/features/overlays/hooks/use-overlay-actions.ts
241
- function we({ 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 }) {
242
- let p = n(Se, l), [m, h] = z(!1), g = R(!1), _ = F(async () => {
241
+ function Te({ 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 }) {
242
+ let p = n(Ce, l), [m, h] = B(!1), g = z(!1), _ = F(async () => {
243
243
  if (!(o || g.current)) {
244
244
  if (t) {
245
245
  t(), e();
@@ -281,7 +281,7 @@ function we({ closeDialog: e, onConfirm: t, onAsyncConfirm: r, closeOnAsyncCompl
281
281
  isExecuting: m,
282
282
  handleConfirm: _,
283
283
  handleCancel: v,
284
- finalConfirmTone: L(() => u ? d === "destructive" ? "destructive" : d === "warning" ? "warning" : d === "success" ? "success" : a ?? "primary" : a ?? "primary", [
284
+ finalConfirmTone: R(() => u ? d === "destructive" ? "destructive" : d === "warning" ? "warning" : d === "success" ? "success" : a ?? "primary" : a ?? "primary", [
285
285
  u,
286
286
  d,
287
287
  a
@@ -292,66 +292,70 @@ function we({ closeDialog: e, onConfirm: t, onAsyncConfirm: r, closeOnAsyncCompl
292
292
  }
293
293
  //#endregion
294
294
  //#region src/components/features/overlays/hooks/use-overlay-visibility.ts
295
- function Te(e, t) {
295
+ function Ee(e, t) {
296
296
  return typeof e == "function" ? e(t) : e;
297
297
  }
298
- function Ee(e, t) {
298
+ function De(e, t) {
299
299
  let n = {};
300
300
  for (let r of e) n[r] = !!t?.[r];
301
301
  return n;
302
302
  }
303
- function De(e, t, n) {
303
+ function Oe(e, t, n) {
304
304
  return n.some((n) => e[n] !== t[n]);
305
305
  }
306
- function Oe({ defaultOpen: e = !1, open: t, onOpenChange: n, onOpen: r, onClose: i } = {}) {
307
- let [a, o] = z(e), s = t !== void 0, c = s ? t : a, l = R(c);
308
- l.current = c;
309
- let u = F((e) => {
310
- let t = Te(e, l.current), a = l.current !== t;
311
- s || o(t), a && (l.current = t, n?.(t), t ? r?.() : i?.());
306
+ function ke({ defaultOpen: e = !1, open: t, onOpenChange: n, onOpen: r, onClose: i } = {}) {
307
+ let [a, o] = B(e), s = t !== void 0, c = s ? t : a, l = z(c), u = z(c);
308
+ L(() => {
309
+ l.current = c;
310
+ }, [s, c]), I(() => {
311
+ u.current !== c && (u.current = c, c ? r?.() : i?.());
312
312
  }, [
313
- s,
314
313
  i,
315
314
  r,
316
- n
315
+ c
317
316
  ]);
317
+ let d = F((e) => {
318
+ let t = Ee(e, l.current);
319
+ l.current !== t && (s || (l.current = t, o(t)), n?.(t));
320
+ }, [s, n]);
318
321
  return {
319
322
  open: c,
320
323
  isOpen: c,
321
- setOpen: u,
324
+ setOpen: d,
322
325
  show: F(() => {
323
- u(!0);
324
- }, [u]),
326
+ d(!0);
327
+ }, [d]),
325
328
  hide: F(() => {
326
- u(!1);
327
- }, [u]),
329
+ d(!1);
330
+ }, [d]),
328
331
  toggle: F(() => {
329
- u((e) => !e);
330
- }, [u]),
331
- overlayProps: L(() => ({
332
+ d((e) => !e);
333
+ }, [d]),
334
+ overlayProps: R(() => ({
332
335
  open: c,
333
- onOpenChange: u
334
- }), [c, u])
336
+ onOpenChange: d
337
+ }), [c, d])
335
338
  };
336
339
  }
337
- function ke(e, { defaultOpen: t, open: n, onOpenChange: r, closeOthersOnOpen: i = !1 } = {}) {
338
- let a = e, [o, s] = z(() => Ee(a, t)), c = n !== void 0, l = Ee(a, c ? n : o), u = R(l);
339
- u.current = l;
340
+ function Ae(e, { defaultOpen: t, open: n, onOpenChange: r, closeOthersOnOpen: i = !1 } = {}) {
341
+ let a = e, [o, s] = B(() => De(a, t)), c = n !== void 0, l = De(a, c ? n : o), u = z(l);
342
+ L(() => {
343
+ u.current = l;
344
+ }, [l]);
340
345
  let d = F((e, t) => {
341
- let n = u.current, o = Te(t, n[e]), l = {
346
+ let n = u.current, o = Ee(t, n[e]), l = {
342
347
  ...n,
343
348
  [e]: o
344
349
  };
345
350
  if (i && o) for (let t of a) t !== e && (l[t] = !1);
346
- let d = De(n, l, a);
347
- c || s(l), d && (u.current = l, r?.(e, o, l));
351
+ Oe(n, l, a) && (c || (u.current = l, s(l)), r?.(e, o, l));
348
352
  }, [
349
353
  i,
350
354
  c,
351
355
  a,
352
356
  r
353
357
  ]);
354
- return L(() => {
358
+ return R(() => {
355
359
  let e = {};
356
360
  for (let t of a) {
357
361
  let n = l[t], r = (e) => {
@@ -379,9 +383,9 @@ function ke(e, { defaultOpen: t, open: n, onOpenChange: r, closeOthersOnOpen: i
379
383
  }
380
384
  //#endregion
381
385
  //#region src/components/features/overlays/hooks/use-pending-overlay-focus.ts
382
- function Ae(e, t = !0) {
383
- let n = R(null);
384
- return I(() => {
386
+ function je(e, t = !0) {
387
+ let n = z(null);
388
+ return L(() => {
385
389
  let r = n.current;
386
390
  if (!e || !t || !r) return;
387
391
  let i = r.ownerDocument.activeElement;
@@ -390,44 +394,44 @@ function Ae(e, t = !0) {
390
394
  }
391
395
  //#endregion
392
396
  //#region src/components/features/overlays/overlay-tone-icon.tsx
393
- var je = {
397
+ var Me = {
394
398
  neutral: {
395
- Glyph: G,
399
+ Glyph: K,
396
400
  color: "text-muted-foreground",
397
401
  surface: "bg-muted"
398
402
  },
399
403
  destructive: {
400
- Glyph: H,
404
+ Glyph: U,
401
405
  color: "text-destructive",
402
406
  surface: D.destructive.tint
403
407
  },
404
408
  warning: {
405
- Glyph: U,
409
+ Glyph: W,
406
410
  color: "text-warning-accent",
407
411
  surface: D.warning.tint
408
412
  },
409
413
  info: {
410
- Glyph: K,
414
+ Glyph: q,
411
415
  color: "text-info",
412
416
  surface: D.info.tint
413
417
  },
414
418
  success: {
415
- Glyph: W,
419
+ Glyph: G,
416
420
  color: "text-success",
417
421
  surface: D.success.tint
418
422
  }
419
423
  };
420
- function Me({ tone: e }) {
421
- let { Glyph: t, color: n } = je[e];
422
- return /* @__PURE__ */ B("span", {
424
+ function Ne({ tone: e }) {
425
+ let { Glyph: t, color: n } = Me[e];
426
+ return /* @__PURE__ */ V("span", {
423
427
  "aria-hidden": "true",
424
428
  className: r("overlay-tone-icon--component flex h-lh shrink-0 items-center", x.base, b.snug),
425
- children: /* @__PURE__ */ B(t, { className: r("size-icon", n) })
429
+ children: /* @__PURE__ */ V(t, { className: r("size-icon", n) })
426
430
  });
427
431
  }
428
432
  //#endregion
429
433
  //#region src/components/features/overlays/dialog.tsx
430
- var Ne = {
434
+ var Pe = {
431
435
  xs: "sm:max-w-xs",
432
436
  sm: "sm:max-w-sm",
433
437
  md: "sm:max-w-md",
@@ -439,12 +443,12 @@ var Ne = {
439
443
  "5xl": "sm:max-w-5xl",
440
444
  full: "sm:max-w-[calc(100vw-2rem)]"
441
445
  };
442
- function Pe({ open: t, onOpenChange: n, onClose: i, children: a, title: o, description: s, visuallyHideHeader: c = !1, className: l, contentClassName: u, showCloseButton: d = !0, surfaceStyle: p, initialFocusRef: m, closeOnEscape: h = !0, closeOnBackdropClick: g = !0, strings: v, showCancel: y = !0, showConfirm: b = !0, onCancel: x, onConfirm: S, onAsyncConfirm: C, onError: w, closeOnAsyncComplete: T = !0, confirmTone: D = "primary", confirmStyle: O = "solid", loading: k = !1, formId: A, footer: j, emphasis: N = !1, tone: P = "neutral", showIcon: F = !1, alertMessage: I, size: L = "lg", trigger: R, align: z }) {
443
- let { defaultDialogAlign: H } = e(), U = (z ?? H ?? "start") === "center", W = Oe({
446
+ function Fe({ open: t, onOpenChange: n, onClose: i, children: a, title: o, description: s, visuallyHideHeader: c = !1, className: l, contentClassName: u, showCloseButton: d = !0, surfaceStyle: p, initialFocusRef: m, closeOnEscape: h = !0, closeOnBackdropClick: g = !0, strings: v, showCancel: y = !0, showConfirm: b = !0, onCancel: x, onConfirm: S, onAsyncConfirm: C, onError: w, closeOnAsyncComplete: T = !0, confirmTone: D = "primary", confirmStyle: O = "solid", loading: k = !1, formId: A, footer: j, emphasis: N = !1, tone: P = "neutral", showIcon: F = !1, alertMessage: I, size: L = "lg", trigger: R, align: z }) {
447
+ let { defaultDialogAlign: B } = e(), U = (z ?? B ?? "start") === "center", W = ke({
444
448
  open: t,
445
449
  onOpenChange: n,
446
450
  onClose: i
447
- }), { strings: G, finalConfirmTone: K, confirmButtonOnClick: q, effectiveLoading: J, handleCancel: Y } = we({
451
+ }), { strings: G, finalConfirmTone: K, confirmButtonOnClick: q, effectiveLoading: J, handleCancel: Y } = Te({
448
452
  closeDialog: W.hide,
449
453
  onConfirm: S,
450
454
  onAsyncConfirm: C,
@@ -457,8 +461,8 @@ function Pe({ open: t, onOpenChange: n, onClose: i, children: a, title: o, descr
457
461
  customStrings: v,
458
462
  emphasis: N,
459
463
  tone: P
460
- }), X = Ae(J), Z = !!(a || I), ae = y || b || j;
461
- return /* @__PURE__ */ V(pe, {
464
+ }), X = je(J), Z = !!(a || I), ae = y || b || j;
465
+ return /* @__PURE__ */ H(me, {
462
466
  open: W.open,
463
467
  modal: !0,
464
468
  disablePointerDismissal: J || !g,
@@ -469,49 +473,49 @@ function Pe({ open: t, onOpenChange: n, onClose: i, children: a, title: o, descr
469
473
  }
470
474
  W.setOpen(e);
471
475
  },
472
- children: [!!R && (re(R) ? /* @__PURE__ */ B(me, { render: R }) : /* @__PURE__ */ B(me, {
473
- render: /* @__PURE__ */ B(_, {
476
+ children: [!!R && (re(R) ? /* @__PURE__ */ V(he, { render: R }) : /* @__PURE__ */ V(he, {
477
+ render: /* @__PURE__ */ V(_, {
474
478
  type: "button",
475
479
  tone: "secondary",
476
480
  buttonStyle: "outline"
477
481
  }),
478
482
  className: "overlay-trigger--fallback",
479
483
  children: R
480
- })), /* @__PURE__ */ V(ge, {
484
+ })), /* @__PURE__ */ H(_e, {
481
485
  ref: X,
482
486
  showCloseButton: !1,
483
487
  style: p,
484
488
  initialFocus: m,
485
489
  "aria-label": o ? void 0 : G.dialogLabel,
486
- className: r("action-dialog--component dialog--component", Ne[L], l),
490
+ className: r("action-dialog--component dialog--component", Pe[L], l),
487
491
  children: [
488
- !!(o || s) && /* @__PURE__ */ B(_e, {
492
+ !!(o || s) && /* @__PURE__ */ V(ve, {
489
493
  "data-align": U ? "center" : "start",
490
494
  className: r("dialog--header", U && r("text-center", f.headerCentered), c && "sr-only"),
491
- children: /* @__PURE__ */ V(E, {
495
+ children: /* @__PURE__ */ H(E, {
492
496
  direction: U ? "vertical" : "horizontal",
493
497
  gap: "sm",
494
498
  align: U ? "center" : "start",
495
499
  wrap: !1,
496
- children: [!!F && /* @__PURE__ */ B(Me, { tone: P }), /* @__PURE__ */ V(E, {
500
+ children: [!!F && /* @__PURE__ */ V(Ne, { tone: P }), /* @__PURE__ */ H(E, {
497
501
  gap: "normal",
498
502
  align: U ? "center" : void 0,
499
503
  className: r("min-w-0", U ? "w-full" : "flex-1"),
500
- children: [!!o && /* @__PURE__ */ B(be, { children: o }), !!s && /* @__PURE__ */ B(xe, { children: s })]
504
+ children: [!!o && /* @__PURE__ */ V(xe, { children: o }), !!s && /* @__PURE__ */ V(Se, { children: s })]
501
505
  })]
502
506
  })
503
507
  }),
504
- !!Z && /* @__PURE__ */ V(ve, {
508
+ !!Z && /* @__PURE__ */ H(ye, {
505
509
  className: r("dialog--body", u),
506
- children: [!!I && /* @__PURE__ */ B(te, {
510
+ children: [!!I && /* @__PURE__ */ V(te, {
507
511
  tone: P,
508
512
  className: "mb-space-md",
509
- children: /* @__PURE__ */ B(ee, { children: I })
513
+ children: /* @__PURE__ */ V(ee, { children: I })
510
514
  }), a]
511
515
  }),
512
- !!ae && /* @__PURE__ */ B(ye, {
516
+ !!ae && /* @__PURE__ */ V(be, {
513
517
  className: "dialog--footer",
514
- children: j ?? /* @__PURE__ */ V(E, {
518
+ children: j ?? /* @__PURE__ */ H(E, {
515
519
  direction: {
516
520
  base: "vertical",
517
521
  sm: "horizontal"
@@ -523,14 +527,14 @@ function Pe({ open: t, onOpenChange: n, onClose: i, children: a, title: o, descr
523
527
  },
524
528
  justify: U ? "center" : "end",
525
529
  className: "w-full",
526
- children: [!!y && /* @__PURE__ */ B(_, {
530
+ children: [!!y && /* @__PURE__ */ V(_, {
527
531
  type: "button",
528
532
  tone: "secondary",
529
533
  buttonStyle: "outline",
530
534
  onClick: Y,
531
535
  disabled: J,
532
536
  children: G.cancel
533
- }), !!b && /* @__PURE__ */ B(_, {
537
+ }), !!b && /* @__PURE__ */ V(_, {
534
538
  type: "button",
535
539
  tone: K,
536
540
  buttonStyle: O,
@@ -542,9 +546,9 @@ function Pe({ open: t, onOpenChange: n, onClose: i, children: a, title: o, descr
542
546
  })]
543
547
  })
544
548
  }),
545
- !!d && /* @__PURE__ */ B(he, {
549
+ !!d && /* @__PURE__ */ V(ge, {
546
550
  disabled: J,
547
- render: /* @__PURE__ */ B(_, {
551
+ render: /* @__PURE__ */ V(_, {
548
552
  type: "button",
549
553
  tone: "secondary",
550
554
  buttonStyle: "ghost",
@@ -552,7 +556,7 @@ function Pe({ open: t, onOpenChange: n, onClose: i, children: a, title: o, descr
552
556
  iconOnly: !0,
553
557
  "data-overlay-close": "",
554
558
  className: r(f.close, `z-10 text-muted-foreground ${M.rowHover}`),
555
- children: /* @__PURE__ */ B(ie, { className: "size-icon" })
559
+ children: /* @__PURE__ */ V(ie, { className: "size-icon" })
556
560
  }),
557
561
  "aria-label": G.close
558
562
  })
@@ -560,11 +564,11 @@ function Pe({ open: t, onOpenChange: n, onClose: i, children: a, title: o, descr
560
564
  })]
561
565
  });
562
566
  }
563
- var Fe = P(Pe);
564
- Fe.displayName = "ActionDialog";
567
+ var Ie = P(Fe);
568
+ Ie.displayName = "ActionDialog";
565
569
  //#endregion
566
570
  //#region src/components/features/overlays/drawer.tsx
567
- var Ie = {
571
+ var Le = {
568
572
  xs: "data-[side=left]:sm:max-w-xs data-[side=right]:sm:max-w-xs",
569
573
  sm: "data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm",
570
574
  md: "data-[side=left]:sm:max-w-md data-[side=right]:sm:max-w-md",
@@ -576,12 +580,12 @@ var Ie = {
576
580
  "5xl": "data-[side=left]:sm:max-w-5xl data-[side=right]:sm:max-w-5xl",
577
581
  full: "data-[side=left]:sm:max-w-[calc(100vw-2rem)] data-[side=right]:sm:max-w-[calc(100vw-2rem)]"
578
582
  };
579
- function Le({ open: e, onOpenChange: t, onClose: n, children: o, title: s, description: g, visuallyHideHeader: v = !1, showCloseButton: y = !0, className: b, contentClassName: x, surfaceStyle: S, initialFocusRef: C, closeOnEscape: w = !0, closeOnBackdropClick: T = !0, strings: D, showCancel: O = !0, showConfirm: k = !0, onCancel: A, onConfirm: j, onAsyncConfirm: N, onError: P, closeOnAsyncComplete: F = !0, confirmTone: I = "primary", confirmStyle: L = "solid", loading: R = !1, formId: z, footer: H, emphasis: U = !1, tone: W = "neutral", showIcon: G = !1, alertMessage: K, direction: q = "right", width: J = "lg", showFooter: Y = !0, modal: X = !0, trigger: Z }) {
580
- let ae = Oe({
583
+ function Re({ open: e, onOpenChange: t, onClose: n, children: o, title: s, description: g, visuallyHideHeader: v = !1, showCloseButton: y = !0, className: b, contentClassName: x, surfaceStyle: S, initialFocusRef: C, closeOnEscape: w = !0, closeOnBackdropClick: T = !0, strings: D, showCancel: O = !0, showConfirm: k = !0, onCancel: A, onConfirm: j, onAsyncConfirm: N, onError: P, closeOnAsyncComplete: F = !0, confirmTone: I = "primary", confirmStyle: L = "solid", loading: R = !1, formId: z, footer: B, emphasis: U = !1, tone: W = "neutral", showIcon: G = !1, alertMessage: K, direction: q = "right", width: J = "lg", showFooter: Y = !0, modal: X = !0, trigger: Z }) {
584
+ let ae = ke({
581
585
  open: e,
582
586
  onOpenChange: t,
583
587
  onClose: n
584
- }), { strings: Q, finalConfirmTone: oe, confirmButtonOnClick: se, effectiveLoading: $, handleCancel: ce } = we({
588
+ }), { strings: Q, finalConfirmTone: oe, confirmButtonOnClick: se, effectiveLoading: $, handleCancel: ce } = Te({
585
589
  closeDialog: ae.hide,
586
590
  onConfirm: j,
587
591
  onAsyncConfirm: N,
@@ -594,8 +598,8 @@ function Le({ open: e, onOpenChange: t, onClose: n, children: o, title: s, descr
594
598
  customStrings: D,
595
599
  emphasis: U,
596
600
  tone: W
597
- }), le = q === "left" || q === "right", ue = Ae($, X), de = !!(o || K), fe = Y && (O || k || H);
598
- return /* @__PURE__ */ V(h, {
601
+ }), le = q === "left" || q === "right", ue = je($, X), de = !!(o || K), fe = Y && (O || k || B);
602
+ return /* @__PURE__ */ H(h, {
599
603
  open: ae.open,
600
604
  modal: X,
601
605
  disablePointerDismissal: $ || !T || X === !1,
@@ -606,15 +610,15 @@ function Le({ open: e, onOpenChange: t, onClose: n, children: o, title: s, descr
606
610
  }
607
611
  ae.setOpen(e);
608
612
  },
609
- children: [!!Z && (re(Z) ? /* @__PURE__ */ B(l, { render: Z }) : /* @__PURE__ */ B(l, {
610
- render: /* @__PURE__ */ B(_, {
613
+ children: [!!Z && (re(Z) ? /* @__PURE__ */ V(l, { render: Z }) : /* @__PURE__ */ V(l, {
614
+ render: /* @__PURE__ */ V(_, {
611
615
  type: "button",
612
616
  tone: "secondary",
613
617
  buttonStyle: "outline"
614
618
  }),
615
619
  className: "overlay-trigger--fallback",
616
620
  children: Z
617
- })), /* @__PURE__ */ V(c, {
621
+ })), /* @__PURE__ */ H(c, {
618
622
  ref: ue,
619
623
  side: q,
620
624
  showCloseButton: !1,
@@ -622,33 +626,33 @@ function Le({ open: e, onOpenChange: t, onClose: n, children: o, title: s, descr
622
626
  initialFocus: C,
623
627
  "aria-label": s ? void 0 : Q.drawerLabel,
624
628
  "data-modal": X === !1 ? "false" : void 0,
625
- className: r("action-drawer--component drawer--component", le && "data-[side=left]:w-full data-[side=right]:w-full", le && Ie[J], b),
629
+ className: r("action-drawer--component drawer--component", le && "data-[side=left]:w-full data-[side=right]:w-full", le && Le[J], b),
626
630
  children: [
627
- !!(s || g) && /* @__PURE__ */ B(m, {
631
+ !!(s || g) && /* @__PURE__ */ V(m, {
628
632
  className: r("drawer--header", v && "sr-only"),
629
- children: /* @__PURE__ */ V(E, {
633
+ children: /* @__PURE__ */ H(E, {
630
634
  direction: "horizontal",
631
635
  gap: "sm",
632
636
  align: "start",
633
637
  wrap: !1,
634
- children: [!!G && /* @__PURE__ */ B(Me, { tone: W }), /* @__PURE__ */ V(E, {
638
+ children: [!!G && /* @__PURE__ */ V(Ne, { tone: W }), /* @__PURE__ */ H(E, {
635
639
  gap: "normal",
636
640
  className: "min-w-0 flex-1",
637
- children: [!!s && /* @__PURE__ */ B(a, { children: s }), !!g && /* @__PURE__ */ B(i, { children: g })]
641
+ children: [!!s && /* @__PURE__ */ V(a, { children: s }), !!g && /* @__PURE__ */ V(i, { children: g })]
638
642
  })]
639
643
  })
640
644
  }),
641
- !!de && /* @__PURE__ */ V(u, {
645
+ !!de && /* @__PURE__ */ H(u, {
642
646
  className: r("drawer--body", x),
643
- children: [!!K && /* @__PURE__ */ B(te, {
647
+ children: [!!K && /* @__PURE__ */ V(te, {
644
648
  tone: W,
645
649
  className: "mb-space-md",
646
- children: /* @__PURE__ */ B(ee, { children: K })
650
+ children: /* @__PURE__ */ V(ee, { children: K })
647
651
  }), o]
648
652
  }),
649
- !!fe && /* @__PURE__ */ B(d, {
653
+ !!fe && /* @__PURE__ */ V(d, {
650
654
  className: "drawer--footer",
651
- children: H ?? /* @__PURE__ */ V(E, {
655
+ children: B ?? /* @__PURE__ */ H(E, {
652
656
  direction: {
653
657
  base: "vertical",
654
658
  sm: "horizontal"
@@ -660,14 +664,14 @@ function Le({ open: e, onOpenChange: t, onClose: n, children: o, title: s, descr
660
664
  },
661
665
  justify: "end",
662
666
  className: "w-full",
663
- children: [!!O && /* @__PURE__ */ B(_, {
667
+ children: [!!O && /* @__PURE__ */ V(_, {
664
668
  type: "button",
665
669
  tone: "secondary",
666
670
  buttonStyle: "outline",
667
671
  onClick: ce,
668
672
  disabled: $,
669
673
  children: Q.cancel
670
- }), !!k && /* @__PURE__ */ B(_, {
674
+ }), !!k && /* @__PURE__ */ V(_, {
671
675
  type: "button",
672
676
  tone: oe,
673
677
  buttonStyle: L,
@@ -679,9 +683,9 @@ function Le({ open: e, onOpenChange: t, onClose: n, children: o, title: s, descr
679
683
  })]
680
684
  })
681
685
  }),
682
- !!y && /* @__PURE__ */ B(p, {
686
+ !!y && /* @__PURE__ */ V(p, {
683
687
  disabled: $,
684
- render: /* @__PURE__ */ B(_, {
688
+ render: /* @__PURE__ */ V(_, {
685
689
  type: "button",
686
690
  tone: "secondary",
687
691
  buttonStyle: "ghost",
@@ -689,7 +693,7 @@ function Le({ open: e, onOpenChange: t, onClose: n, children: o, title: s, descr
689
693
  iconOnly: !0,
690
694
  "data-overlay-close": "",
691
695
  className: r(f.close, `z-10 text-muted-foreground ${M.rowHover}`),
692
- children: /* @__PURE__ */ B(ie, { className: "size-icon" })
696
+ children: /* @__PURE__ */ V(ie, { className: "size-icon" })
693
697
  }),
694
698
  "aria-label": Q.close
695
699
  })
@@ -697,92 +701,92 @@ function Le({ open: e, onOpenChange: t, onClose: n, children: o, title: s, descr
697
701
  })]
698
702
  });
699
703
  }
700
- var Re = P(Le);
701
- Re.displayName = "ActionDrawer";
704
+ var ze = P(Re);
705
+ ze.displayName = "ActionDrawer";
702
706
  //#endregion
703
707
  //#region src/components/ui/alert-dialog.tsx
704
- function ze({ ...e }) {
705
- return /* @__PURE__ */ B(Y.Root, {
708
+ function Be({ ...e }) {
709
+ return /* @__PURE__ */ V(X.Root, {
706
710
  "data-slot": "alert-dialog",
707
711
  ...e
708
712
  });
709
713
  }
710
- function Be({ ...e }) {
711
- return /* @__PURE__ */ B(Y.Trigger, {
714
+ function Ve({ ...e }) {
715
+ return /* @__PURE__ */ V(X.Trigger, {
712
716
  "data-slot": "alert-dialog-trigger",
713
717
  ...e
714
718
  });
715
719
  }
716
- function Ve({ container: e, className: n, ...r }) {
720
+ function He({ container: e, className: n, ...r }) {
717
721
  let i = t(e);
718
- return /* @__PURE__ */ B(Y.Portal, {
722
+ return /* @__PURE__ */ V(X.Portal, {
719
723
  container: i,
720
724
  "data-slot": "alert-dialog-portal",
721
725
  className: S(n),
722
726
  ...r
723
727
  });
724
728
  }
725
- function He({ className: e, ...t }) {
726
- return /* @__PURE__ */ B(Y.Backdrop, {
729
+ function Ue({ className: e, ...t }) {
730
+ return /* @__PURE__ */ V(X.Backdrop, {
727
731
  "data-slot": "alert-dialog-overlay",
728
732
  className: r(A, C.backdrop, "isolate", e),
729
733
  ...t
730
734
  });
731
735
  }
732
- function Ue({ className: e, container: n, size: i = "default", children: a, finalFocus: c, ...l }) {
736
+ function We({ className: e, container: n, size: i = "default", children: a, finalFocus: c, ...l }) {
733
737
  let u = t(n), d = o(), { capture: f, finalFocus: p } = s(c);
734
- return /* @__PURE__ */ V(Ve, {
738
+ return /* @__PURE__ */ H(He, {
735
739
  container: u,
736
- children: [/* @__PURE__ */ B(He, { forceRender: !d }), /* @__PURE__ */ V(Y.Popup, {
740
+ children: [/* @__PURE__ */ V(Ue, { forceRender: !d }), /* @__PURE__ */ H(X.Popup, {
737
741
  "data-slot": "alert-dialog-content",
738
742
  "data-size": i,
739
743
  className: r(C.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-surface 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),
740
744
  ...l,
741
745
  finalFocus: p,
742
- children: [f, /* @__PURE__ */ B(g, { children: a })]
746
+ children: [f, /* @__PURE__ */ V(g, { children: a })]
743
747
  })]
744
748
  });
745
749
  }
746
- function We({ className: e, ...t }) {
747
- return /* @__PURE__ */ B("div", {
750
+ function Ge({ className: e, ...t }) {
751
+ return /* @__PURE__ */ V("div", {
748
752
  "data-slot": "alert-dialog-footer",
749
753
  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),
750
754
  ...t
751
755
  });
752
756
  }
753
- function Ge({ className: e, ...t }) {
754
- return /* @__PURE__ */ B("div", {
757
+ function Ke({ className: e, ...t }) {
758
+ return /* @__PURE__ */ V("div", {
755
759
  "data-slot": "alert-dialog-media",
756
760
  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),
757
761
  ...t
758
762
  });
759
763
  }
760
- function Ke({ className: e, ...t }) {
761
- return /* @__PURE__ */ B(Y.Title, {
764
+ function qe({ className: e, ...t }) {
765
+ return /* @__PURE__ */ V(X.Title, {
762
766
  "data-slot": "alert-dialog-title",
763
767
  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),
764
768
  ...t
765
769
  });
766
770
  }
767
- function qe({ className: e, ...t }) {
768
- return /* @__PURE__ */ B(Y.Description, {
771
+ function Je({ className: e, ...t }) {
772
+ return /* @__PURE__ */ V(X.Description, {
769
773
  "data-slot": "alert-dialog-description",
770
774
  className: r("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground", e),
771
775
  ...t
772
776
  });
773
777
  }
774
- function Je({ className: e, ...t }) {
775
- return /* @__PURE__ */ B(T, {
778
+ function Ye({ className: e, ...t }) {
779
+ return /* @__PURE__ */ V(T, {
776
780
  "data-slot": "alert-dialog-action",
777
781
  className: r(e),
778
782
  ...t
779
783
  });
780
784
  }
781
- function Ye({ className: e, variant: t = "outline", size: n = "default", ...i }) {
782
- return /* @__PURE__ */ B(Y.Close, {
785
+ function Xe({ className: e, variant: t = "outline", size: n = "default", ...i }) {
786
+ return /* @__PURE__ */ V(X.Close, {
783
787
  "data-slot": "alert-dialog-cancel",
784
788
  className: r(e),
785
- render: /* @__PURE__ */ B(T, {
789
+ render: /* @__PURE__ */ V(T, {
786
790
  variant: t,
787
791
  size: n
788
792
  }),
@@ -791,27 +795,27 @@ function Ye({ className: e, variant: t = "outline", size: n = "default", ...i })
791
795
  }
792
796
  //#endregion
793
797
  //#region src/components/base/display/alert-dialog.tsx
794
- function Xe(e) {
798
+ function Ze(e) {
795
799
  return typeof e == "string" || typeof e == "number" || typeof e == "bigint";
796
800
  }
797
- var Ze = r(x.base, y.semibold, b.snug), Qe = ze, $e = N.forwardRef(function({ className: e, ...t }, n) {
798
- return /* @__PURE__ */ B(Be, {
801
+ var Qe = r("font-sans", x.base, y.semibold, b.snug), $e = Be, et = N.forwardRef(function({ className: e, ...t }, n) {
802
+ return /* @__PURE__ */ V(Ve, {
799
803
  ref: n,
800
804
  className: r("alert-dialog-trigger--component", e),
801
805
  ...t
802
806
  });
803
807
  });
804
- $e.displayName = "AlertDialogTrigger";
805
- var et = N.forwardRef(function({ className: e, ...t }, n) {
806
- return /* @__PURE__ */ B(Ue, {
808
+ et.displayName = "AlertDialogTrigger";
809
+ var tt = N.forwardRef(function({ className: e, ...t }, n) {
810
+ return /* @__PURE__ */ V(We, {
807
811
  ref: n,
808
812
  className: r("alert-dialog-content--component flex max-h-[min(90vh,48rem)] flex-col gap-0 overflow-hidden rounded-surface bg-popover p-0 text-popover-foreground sm:max-w-md", O.modal.shell, e),
809
813
  ...t
810
814
  });
811
815
  });
812
- et.displayName = "AlertDialogContent";
813
- var tt = N.forwardRef(function({ className: e, textGap: t = "normal", align: n = "start", ...i }, a) {
814
- return /* @__PURE__ */ B("div", {
816
+ tt.displayName = "AlertDialogContent";
817
+ var nt = N.forwardRef(function({ className: e, textGap: t = "normal", align: n = "start", ...i }, a) {
818
+ return /* @__PURE__ */ V("div", {
815
819
  ref: a,
816
820
  "data-slot": "alert-dialog-header",
817
821
  "data-modal-region": "",
@@ -820,9 +824,9 @@ var tt = N.forwardRef(function({ className: e, textGap: t = "normal", align: n =
820
824
  ...i
821
825
  });
822
826
  });
823
- tt.displayName = "AlertDialogHeader";
824
- var nt = N.forwardRef(function({ className: e, ...t }, n) {
825
- return /* @__PURE__ */ B("div", {
827
+ nt.displayName = "AlertDialogHeader";
828
+ var rt = N.forwardRef(function({ className: e, ...t }, n) {
829
+ return /* @__PURE__ */ V("div", {
826
830
  ref: n,
827
831
  "data-slot": "alert-dialog-body",
828
832
  "data-modal-region": "",
@@ -830,22 +834,22 @@ var nt = N.forwardRef(function({ className: e, ...t }, n) {
830
834
  ...t
831
835
  });
832
836
  });
833
- nt.displayName = "AlertDialogBody";
834
- var rt = N.forwardRef(function({ className: e, ...t }, n) {
835
- return /* @__PURE__ */ B(We, {
837
+ rt.displayName = "AlertDialogBody";
838
+ var it = N.forwardRef(function({ className: e, ...t }, n) {
839
+ return /* @__PURE__ */ V(Ge, {
836
840
  ref: n,
837
841
  "data-modal-region": "",
838
842
  className: r("alert-dialog-footer--component", k.footer, e),
839
843
  ...t
840
844
  });
841
845
  });
842
- rt.displayName = "AlertDialogFooter";
843
- var it = N.forwardRef(function({ children: e, className: t, ...n }, i) {
844
- return /* @__PURE__ */ B(Ke, {
846
+ it.displayName = "AlertDialogFooter";
847
+ var at = N.forwardRef(function({ children: e, className: t, ...n }, i) {
848
+ return /* @__PURE__ */ V(qe, {
845
849
  ref: i,
846
- className: r("alert-dialog-title--component m-0", Ze, t),
850
+ className: r("alert-dialog-title--component m-0", Qe, t),
847
851
  ...n,
848
- children: Xe(e) ? /* @__PURE__ */ B(v, {
852
+ children: Ze(e) ? /* @__PURE__ */ V(v, {
849
853
  tag: "span",
850
854
  type: "inherit",
851
855
  size: "base",
@@ -855,13 +859,13 @@ var it = N.forwardRef(function({ children: e, className: t, ...n }, i) {
855
859
  }) : e
856
860
  });
857
861
  });
858
- it.displayName = "AlertDialogTitle";
859
- var at = N.forwardRef(function({ children: e, className: t, ...n }, i) {
860
- return /* @__PURE__ */ B(qe, {
862
+ at.displayName = "AlertDialogTitle";
863
+ var ot = N.forwardRef(function({ children: e, className: t, ...n }, i) {
864
+ return /* @__PURE__ */ V(Je, {
861
865
  ref: i,
862
866
  className: r("alert-dialog-description--component m-0", t),
863
867
  ...n,
864
- children: Xe(e) ? /* @__PURE__ */ B(v, {
868
+ children: Ze(e) ? /* @__PURE__ */ V(v, {
865
869
  tag: "span",
866
870
  type: "secondary",
867
871
  lineHeight: "relaxed",
@@ -869,39 +873,39 @@ var at = N.forwardRef(function({ children: e, className: t, ...n }, i) {
869
873
  }) : e
870
874
  });
871
875
  });
872
- at.displayName = "AlertDialogDescription";
873
- var ot = N.forwardRef(function({ className: e, ...t }, n) {
874
- return /* @__PURE__ */ B(Ge, {
876
+ ot.displayName = "AlertDialogDescription";
877
+ var st = N.forwardRef(function({ className: e, ...t }, n) {
878
+ return /* @__PURE__ */ V(Ke, {
875
879
  ref: n,
876
880
  className: r("alert-dialog-media--component", e),
877
881
  ...t
878
882
  });
879
883
  });
880
- ot.displayName = "AlertDialogMedia";
881
- var st = N.forwardRef(function({ className: e, ...t }, n) {
882
- return /* @__PURE__ */ B(Je, {
884
+ st.displayName = "AlertDialogMedia";
885
+ var ct = N.forwardRef(function({ className: e, ...t }, n) {
886
+ return /* @__PURE__ */ V(Ye, {
883
887
  ref: n,
884
888
  className: r("alert-dialog-action--component", e),
885
889
  ...t
886
890
  });
887
891
  });
888
- st.displayName = "AlertDialogAction";
889
- var ct = N.forwardRef(function({ className: e, ...t }, n) {
890
- return /* @__PURE__ */ B(Ye, {
892
+ ct.displayName = "AlertDialogAction";
893
+ var lt = N.forwardRef(function({ className: e, ...t }, n) {
894
+ return /* @__PURE__ */ V(Xe, {
891
895
  ref: n,
892
896
  className: r("alert-dialog-cancel--component", e),
893
897
  ...t
894
898
  });
895
899
  });
896
- ct.displayName = "AlertDialogCancel";
900
+ lt.displayName = "AlertDialogCancel";
897
901
  //#endregion
898
902
  //#region src/components/features/overlays/alert-dialog.tsx
899
- function lt({ open: t, onOpenChange: i, onClose: a, children: o, title: s, description: c, visuallyHideHeader: l = !1, className: u, contentClassName: d, surfaceStyle: f, initialFocusRef: p, closeOnEscape: m = !0, strings: h, showCancel: g = !0, showConfirm: v = !0, onCancel: y, onConfirm: b, onAsyncConfirm: x, onError: S, closeOnAsyncComplete: C = !0, confirmTone: w, confirmStyle: T = "solid", loading: D = !1, formId: O, footer: k, tone: A = "neutral", showIcon: j = !1, alertMessage: M, trigger: N, destructive: P = !1, align: F }) {
900
- let { defaultConfirmAlign: I } = e(), R = F ?? I ?? "center", z = Oe({
903
+ function ut({ open: t, onOpenChange: i, onClose: a, children: o, title: s, description: c, visuallyHideHeader: l = !1, className: u, contentClassName: d, surfaceStyle: f, initialFocusRef: p, closeOnEscape: m = !0, strings: h, showCancel: g = !0, showConfirm: v = !0, onCancel: y, onConfirm: b, onAsyncConfirm: x, onError: S, closeOnAsyncComplete: C = !0, confirmTone: w, confirmStyle: T = "solid", loading: D = !1, formId: O, footer: k, tone: A = "neutral", showIcon: j = !1, alertMessage: M, trigger: N, destructive: P = !1, align: F }) {
904
+ let { defaultConfirmAlign: I } = e(), L = F ?? I ?? "center", z = ke({
901
905
  open: t,
902
906
  onOpenChange: i,
903
907
  onClose: a
904
- }), H = n(Ce, h), U = L(() => P ? "destructive" : w || {
908
+ }), B = n(we, h), U = R(() => P ? "destructive" : w || {
905
909
  neutral: "primary",
906
910
  destructive: "destructive",
907
911
  warning: "warning",
@@ -911,7 +915,7 @@ function lt({ open: t, onOpenChange: i, onClose: a, children: o, title: s, descr
911
915
  P,
912
916
  w,
913
917
  A
914
- ]), { strings: W, confirmButtonOnClick: G, effectiveLoading: K, handleCancel: ie } = we({
918
+ ]), { strings: W, confirmButtonOnClick: G, effectiveLoading: K, handleCancel: q } = Te({
915
919
  closeDialog: z.hide,
916
920
  onConfirm: b,
917
921
  onAsyncConfirm: x,
@@ -921,9 +925,9 @@ function lt({ open: t, onOpenChange: i, onClose: a, children: o, title: s, descr
921
925
  loading: D,
922
926
  formId: O,
923
927
  onCancel: y,
924
- customStrings: H
925
- }), q = P && A === "neutral" ? "destructive" : A, J = je[q], Y = Ae(K), X = !!(s || c || j && !l), Z = !!(o || M);
926
- return /* @__PURE__ */ V(Qe, {
928
+ customStrings: B
929
+ }), ie = P && A === "neutral" ? "destructive" : A, J = Me[ie], Y = je(K), X = !!(s || c || j && !l), Z = !!(o || M);
930
+ return /* @__PURE__ */ H($e, {
927
931
  open: z.open,
928
932
  onOpenChange: (e, t) => {
929
933
  if (!e && (K || t.reason === "escape-key" && !m)) {
@@ -932,45 +936,45 @@ function lt({ open: t, onOpenChange: i, onClose: a, children: o, title: s, descr
932
936
  }
933
937
  z.setOpen(e);
934
938
  },
935
- children: [!!N && (re(N) ? /* @__PURE__ */ B($e, { render: N }) : /* @__PURE__ */ B($e, {
936
- render: /* @__PURE__ */ B(_, {
939
+ children: [!!N && (re(N) ? /* @__PURE__ */ V(et, { render: N }) : /* @__PURE__ */ V(et, {
940
+ render: /* @__PURE__ */ V(_, {
937
941
  type: "button",
938
942
  tone: "secondary",
939
943
  buttonStyle: "outline"
940
944
  }),
941
945
  className: "overlay-trigger--fallback",
942
946
  children: N
943
- })), /* @__PURE__ */ V(et, {
947
+ })), /* @__PURE__ */ H(tt, {
944
948
  ref: Y,
945
949
  style: f,
946
950
  initialFocus: p,
947
951
  "aria-label": s ? void 0 : W.alertDialogLabel,
948
952
  className: r("confirm-dialog--component alert-dialog--component", u),
949
953
  children: [
950
- !!X && /* @__PURE__ */ V(tt, {
951
- align: R,
954
+ !!X && /* @__PURE__ */ H(nt, {
955
+ align: L,
952
956
  className: r("alert-dialog--header", l && "sr-only"),
953
957
  children: [
954
- !!j && !l && /* @__PURE__ */ B("span", {
958
+ !!j && !l && /* @__PURE__ */ V("span", {
955
959
  "aria-hidden": "true",
956
960
  className: r("mb-space-sm flex size-avatar-lg shrink-0 items-center justify-center rounded-full", J.surface, J.color),
957
- children: /* @__PURE__ */ B(J.Glyph, { className: "size-icon-lg" })
961
+ children: /* @__PURE__ */ V(J.Glyph, { className: "size-icon-lg" })
958
962
  }),
959
- !!s && /* @__PURE__ */ B(it, { children: s }),
960
- !!c && /* @__PURE__ */ B(at, { children: c })
963
+ !!s && /* @__PURE__ */ V(at, { children: s }),
964
+ !!c && /* @__PURE__ */ V(ot, { children: c })
961
965
  ]
962
966
  }),
963
- !!Z && /* @__PURE__ */ V(nt, {
967
+ !!Z && /* @__PURE__ */ H(rt, {
964
968
  className: r("alert-dialog--body", d),
965
- children: [!!M && /* @__PURE__ */ B(te, {
966
- tone: q,
969
+ children: [!!M && /* @__PURE__ */ V(te, {
970
+ tone: ie,
967
971
  className: r(!!o && "mb-space-md"),
968
- children: /* @__PURE__ */ B(ee, { children: M })
972
+ children: /* @__PURE__ */ V(ee, { children: M })
969
973
  }), o]
970
974
  }),
971
- !!(g || v || k) && /* @__PURE__ */ B(rt, {
975
+ !!(g || v || k) && /* @__PURE__ */ V(it, {
972
976
  className: "alert-dialog--footer",
973
- children: k ?? /* @__PURE__ */ V(E, {
977
+ children: k ?? /* @__PURE__ */ H(E, {
974
978
  direction: {
975
979
  base: "vertical",
976
980
  sm: "horizontal"
@@ -980,16 +984,16 @@ function lt({ open: t, onOpenChange: i, onClose: a, children: o, title: s, descr
980
984
  base: "stretch",
981
985
  sm: "center"
982
986
  },
983
- justify: R === "center" ? "center" : "end",
987
+ justify: L === "center" ? "center" : "end",
984
988
  className: "w-full",
985
- children: [!!g && /* @__PURE__ */ B(_, {
989
+ children: [!!g && /* @__PURE__ */ V(_, {
986
990
  type: "button",
987
991
  tone: "secondary",
988
992
  buttonStyle: "outline",
989
- onClick: ie,
993
+ onClick: q,
990
994
  disabled: K,
991
995
  children: W.cancel
992
- }), !!v && /* @__PURE__ */ B(_, {
996
+ }), !!v && /* @__PURE__ */ V(_, {
993
997
  type: "button",
994
998
  tone: U,
995
999
  buttonStyle: T,
@@ -1005,9 +1009,9 @@ function lt({ open: t, onOpenChange: i, onClose: a, children: o, title: s, descr
1005
1009
  })]
1006
1010
  });
1007
1011
  }
1008
- var ut = P(lt);
1009
- ut.displayName = "ConfirmDialog";
1012
+ var dt = P(ut);
1013
+ dt.displayName = "ConfirmDialog";
1010
1014
  //#endregion
1011
- export { ke as a, Se as c, Oe as i, Re as n, we as o, Fe as r, Ce as s, ut as t };
1015
+ export { Ae as a, Ce as c, ke as i, ze as n, Te as o, Ie as r, we as s, dt as t };
1012
1016
 
1013
- //# sourceMappingURL=overlays-BSgCtM2v.js.map
1017
+ //# sourceMappingURL=overlays-CC8zI3Du.js.map