@alfadocs/ui-kit 0.1.9 → 0.2.0

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 (281) hide show
  1. package/README.md +30 -0
  2. package/dist/_chunks/accordion-DOmxGEWU.js +228 -0
  3. package/dist/_chunks/{agenda-card-DwLIxgi7.js → agenda-card-CalZqycc.js} +12 -3
  4. package/dist/_chunks/{agenda-tray-DUvengGQ.js → agenda-tray-3ffFDQZC.js} +54 -51
  5. package/dist/_chunks/{ai-prompt-input.agent-0NHYLTWD.js → ai-prompt-input-BBiDlEIS.js} +231 -231
  6. package/dist/_chunks/{alert-BlOUMkXj.js → alert-B1sj8Ss0.js} +24 -14
  7. package/dist/_chunks/{apexcharts-theme-BkSShpEy.js → apexcharts-theme-BJigns_V.js} +7 -2
  8. package/dist/_chunks/{app-frame-6d7Lu4ea.js → app-frame-CDJOgPXe.js} +7 -16
  9. package/dist/_chunks/{audio-recorder.agent--VKeykUp.js → audio-recorder-B4U1LuiQ.js} +161 -162
  10. package/dist/_chunks/{audio-visualiser-CeMPCZkd.js → audio-visualiser-ByDEFLNm.js} +25 -19
  11. package/dist/_chunks/autocomplete-D4oUZbsP.js +466 -0
  12. package/dist/_chunks/{badge-mrstWxve.js → badge-DKFbntoa.js} +16 -13
  13. package/dist/_chunks/{balance-cell-renderer-5CA7zpAi.js → balance-cell-renderer-B8zgIM-m.js} +63 -44
  14. package/dist/_chunks/{breadcrumb.agent-GM2hAKFX.js → breadcrumb-D1snXjPb.js} +165 -157
  15. package/dist/_chunks/{button-7mLWcMp_.js → button-DD_0Xdmr.js} +12 -2
  16. package/dist/_chunks/{calendar-nGEgelJs.js → calendar-zy0tUUVG.js} +13 -18
  17. package/dist/_chunks/{card-BEy58ZKp.js → card-CWzuTLYE.js} +40 -34
  18. package/dist/_chunks/{chart.agent-_pRYS17d.js → chart-BLvFl169.js} +147 -131
  19. package/dist/_chunks/chat-container-ClzsWXp2.js +220 -0
  20. package/dist/_chunks/chat-input-DOlsB1fm.js +333 -0
  21. package/dist/_chunks/{chat-message-ByouZpPP.js → chat-message-DoAhgUTj.js} +23 -13
  22. package/dist/_chunks/{collapsible.agent-DkS1jVyn.js → collapsible-CuxUBoHJ.js} +97 -99
  23. package/dist/_chunks/{color-picker-94qcBZqZ.js → color-picker-CTIcHlDF.js} +111 -45
  24. package/dist/_chunks/combobox-DCNXqbC7.js +460 -0
  25. package/dist/_chunks/command-palette-C_vgSgrI.js +441 -0
  26. package/dist/_chunks/{date-picker-BqPTn7bO.js → date-picker-B1PO1ZQP.js} +190 -181
  27. package/dist/_chunks/{date-range-picker-B2hGsffw.js → date-range-picker-mix2nEVC.js} +21 -8
  28. package/dist/_chunks/{date-time-picker-Bzt0S8yO.js → date-time-picker-Dnong_BY.js} +30 -15
  29. package/dist/_chunks/{description-list-DvJbp6Yg.js → description-list-BYA77Yud.js} +26 -23
  30. package/dist/_chunks/dialog-BPD7wlGE.js +211 -0
  31. package/dist/_chunks/dropdown-menu-CpiF6CPz.js +300 -0
  32. package/dist/_chunks/{empty-state-DQPtRp2b.js → empty-state-3CLJIXSj.js} +132 -101
  33. package/dist/_chunks/file-upload-C947ACDK.js +829 -0
  34. package/dist/_chunks/{floating-action-button-Cnw-f6AG.js → floating-action-button-C8OYj8mE.js} +9 -2
  35. package/dist/_chunks/{form-field-BfsPLTSc.js → form-field-Bmkeh7WY.js} +12 -11
  36. package/dist/_chunks/{form-field-context-94LwgYTQ.js → form-field-context-B3APVHKx.js} +4 -2
  37. package/dist/_chunks/{freemium-paywall.agent-_nQqLyRF.js → freemium-paywall-CnvceDav.js} +124 -117
  38. package/dist/_chunks/{header-BGn1mRp8.js → header-D0ULgQl3.js} +69 -68
  39. package/dist/_chunks/{icon-button-Wnnde5lc.js → icon-button-C4CGcYuz.js} +11 -3
  40. package/dist/_chunks/{kbd-8baVw3KU.js → kbd-Cglkd7CY.js} +6 -2
  41. package/dist/_chunks/{key-value-pair-JRFS9Xrh.js → key-value-pair-CgWvAIGb.js} +2 -2
  42. package/dist/_chunks/{leo-sidebar-BwINPdix.js → leo-sidebar-CfEY-xi2.js} +16 -20
  43. package/dist/_chunks/{link-QheANk74.js → link-8QmFjIz2.js} +2 -5
  44. package/dist/_chunks/list-qP6p0NTw.js +434 -0
  45. package/dist/_chunks/{logo-BpFoCL-s.js → logo-_Z-jLq80.js} +155 -26
  46. package/dist/_chunks/{matrix-rain-BEkvux64.js → matrix-rain-CRPMXcVx.js} +8 -2
  47. package/dist/_chunks/{message-card-qhoGv947.js → message-card-ChCX9Iv6.js} +63 -60
  48. package/dist/_chunks/{message-tray-xHUCra-Y.js → message-tray-n8q9ITXI.js} +71 -76
  49. package/dist/_chunks/{multi-select.agent-Do6CeQUT.js → multi-select-wqqrgjUQ.js} +326 -291
  50. package/dist/_chunks/{navigation-menu.agent-D69ND6Qq.js → navigation-menu-ClbHeawy.js} +136 -123
  51. package/dist/_chunks/{notification-card-CsVEYJE-.js → notification-card-hBlPN1-c.js} +3 -3
  52. package/dist/_chunks/{notification-tray-DTXMq42J.js → notification-tray-C5cnXbl9.js} +70 -66
  53. package/dist/_chunks/{number-input-fvGmnRy9.js → number-input-Q7wkHnvQ.js} +7 -3
  54. package/dist/_chunks/{otp-input-EglXOUue.js → otp-input-C9gUByF0.js} +6 -3
  55. package/dist/_chunks/{pagination.agent-BkZQl45y.js → pagination-3AC4zTsi.js} +234 -194
  56. package/dist/_chunks/{password-input-D6kuYXmr.js → password-input-C4LmjIH1.js} +6 -9
  57. package/dist/_chunks/{patient-shell-BRmrrUUW.js → patient-shell-BlsEUKWB.js} +10 -15
  58. package/dist/_chunks/{payment-form-BWaXas8z.js → payment-form-C3vT_npe.js} +195 -186
  59. package/dist/_chunks/{pdf-viewer.agent-BaGEDheA.js → pdf-viewer-CZIfY08H.js} +270 -241
  60. package/dist/_chunks/{phone-input-C8Op4sEc.js → phone-input-CSHJOJ13.js} +4 -9
  61. package/dist/_chunks/popover-DekUKNBk.js +293 -0
  62. package/dist/_chunks/{privacy-lock.agent-C1i1-T58.js → privacy-lock-BKsI6ReN.js} +117 -109
  63. package/dist/_chunks/progress-C11tqhoI.js +298 -0
  64. package/dist/_chunks/{recaptcha-widget.agent-BGHpU5zD.js → recaptcha-widget-NyfOfLII.js} +95 -86
  65. package/dist/_chunks/resizable-mpXXyIsN.js +483 -0
  66. package/dist/_chunks/{rich-text-editor.agent-DnE125Tz.js → rich-text-editor-C7TCIlQO.js} +298 -209
  67. package/dist/_chunks/{scroll-area-DLr5w9Dd.js → scroll-area-DEDU-lp-.js} +67 -54
  68. package/dist/_chunks/{search-bar.agent-DxFAxctc.js → search-bar-BTDfgYtg.js} +291 -268
  69. package/dist/_chunks/{search-input-Xw3cdWXW.js → search-input-CdJIEjFo.js} +116 -107
  70. package/dist/_chunks/{select-DY1Cb2Tg.js → select-y6bXV1f1.js} +84 -83
  71. package/dist/_chunks/{separator-B4wXDLNC.js → separator-CYU_bGFn.js} +2 -5
  72. package/dist/_chunks/{sheet-B9kH9pcI.js → sheet-4tgMFwj0.js} +135 -60
  73. package/dist/_chunks/{sidebar-CHF5xr_P.js → sidebar-Bx3wCDyy.js} +546 -457
  74. package/dist/_chunks/{sign-in-with-alfadocs-button-BN_FPGHT.js → sign-in-with-alfadocs-button-B9UrqOqH.js} +9 -5
  75. package/dist/_chunks/{signature-capture.agent-BpeDwFht.js → signature-capture-DjMlFOzS.js} +210 -212
  76. package/dist/_chunks/{skeleton-dtqyF09N.js → skeleton-CZbwyJAA.js} +9 -3
  77. package/dist/_chunks/{slider-CcsQTZTA.js → slider-BT2bZWsy.js} +138 -134
  78. package/dist/_chunks/{slot-grid-D_l5VsHG.js → slot-grid-CgpYgBkW.js} +105 -95
  79. package/dist/_chunks/{sparkline.agent-56Sj7nOP.js → sparkline-_gy8aJDG.js} +107 -100
  80. package/dist/_chunks/{spinner-GCcv67vh.js → spinner-DLaYfLPl.js} +66 -14
  81. package/dist/_chunks/{stat-DUB6g90R.js → stat-B9PHSPbN.js} +45 -27
  82. package/dist/_chunks/{stepper-calendar.agent-9iT3ClIB.js → stepper-calendar-BLOJUE0-.js} +189 -187
  83. package/dist/_chunks/stepper-progress-jFY8BSf7.js +208 -0
  84. package/dist/_chunks/{suggestion-chip-DhFrkRPj.js → suggestion-chip-C4Jz0LrM.js} +50 -52
  85. package/dist/_chunks/{switch-BYEH8I53.js → switch-C0psfIQF.js} +2 -2
  86. package/dist/_chunks/{tabs.agent-h7NvsTR1.js → tabs-DaFA3Muo.js} +183 -155
  87. package/dist/_chunks/{tag-BqidXKo3.js → tag-DuLMjRbF.js} +90 -32
  88. package/dist/_chunks/{task-card-CY5ztNkU.js → task-card-Dw_ZJDL8.js} +5 -2
  89. package/dist/_chunks/{task-tray-CCoUdorl.js → task-tray-XlIW9ueh.js} +50 -49
  90. package/dist/_chunks/{text-area-C_M8wliK.js → text-area-CO9Dz0qX.js} +2 -2
  91. package/dist/_chunks/{text-input-BX39e6T6.js → text-input-DZwt9L8H.js} +65 -62
  92. package/dist/_chunks/{theme-root-DDb0TJjd.js → theme-root-CSKD5ZRm.js} +9 -2
  93. package/dist/_chunks/{theme-toggle.agent-btmXTWdW.js → theme-toggle-B9zzCnvl.js} +179 -177
  94. package/dist/_chunks/{time-picker-B8AMIrX7.js → time-picker-DvPUmHH-.js} +95 -93
  95. package/dist/_chunks/{timeline.agent-CRPza9wc.js → timeline-BvmnQadS.js} +96 -96
  96. package/dist/_chunks/{toast.agent-BjEGuq1Z.js → toast.agent-BwKXA0km.js} +46 -8
  97. package/dist/_chunks/{tooth-scheme.agent-CWrQBjJM.js → tooth-scheme-3mITSXiZ.js} +146 -162
  98. package/dist/_chunks/{transcript-panel.agent-BXEYP6w-.js → transcript-panel-Bx5ANMsv.js} +110 -101
  99. package/dist/_chunks/{typing-indicator-CbUBf-Dx.js → typing-indicator-BZ5jXZPn.js} +27 -5
  100. package/dist/_chunks/{use-theme-BMUhembX.js → use-theme-B1cwAXJR.js} +2 -5
  101. package/dist/_chunks/{visually-hidden-Bw7vBHLm.js → visually-hidden-BHxEUGyT.js} +11 -2
  102. package/dist/_chunks/{warning-stack-8Pa3pekh.js → warning-stack-VygGHSqC.js} +11 -13
  103. package/dist/_chunks/{workflow-map-D2A7rTEG.js → workflow-map-C-nlogPC.js} +430 -452
  104. package/dist/agent-catalog.json +580 -15
  105. package/dist/components/_shared/index.d.ts +2 -2
  106. package/dist/components/accordion/index.d.ts +1 -1
  107. package/dist/components/accordion/index.js +5 -6
  108. package/dist/components/agenda-card/index.js +1 -1
  109. package/dist/components/agenda-tray/agenda-tray.d.ts +1 -1
  110. package/dist/components/agenda-tray/index.js +1 -1
  111. package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +1 -1
  112. package/dist/components/ai-prompt-input/index.js +1 -1
  113. package/dist/components/alert/index.d.ts +1 -1
  114. package/dist/components/alert/index.js +1 -1
  115. package/dist/components/app-frame/index.js +1 -1
  116. package/dist/components/audio-recorder/index.js +1 -1
  117. package/dist/components/audio-visualiser/index.js +1 -1
  118. package/dist/components/autocomplete/index.js +1 -1
  119. package/dist/components/badge/index.js +1 -1
  120. package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
  121. package/dist/components/breadcrumb/index.js +1 -1
  122. package/dist/components/button/index.js +2 -2
  123. package/dist/components/calendar/index.js +1 -1
  124. package/dist/components/card/index.js +1 -1
  125. package/dist/components/chart/index.d.ts +1 -1
  126. package/dist/components/chart/index.js +1 -1
  127. package/dist/components/chat-container/chat-container.d.ts +1 -1
  128. package/dist/components/chat-container/index.js +2 -3
  129. package/dist/components/chat-input/chat-input.d.ts +1 -1
  130. package/dist/components/chat-input/index.js +3 -4
  131. package/dist/components/chat-message/index.js +1 -1
  132. package/dist/components/checkbox-group/index.d.ts +1 -1
  133. package/dist/components/collapsible/collapsible.d.ts +1 -1
  134. package/dist/components/collapsible/index.d.ts +1 -1
  135. package/dist/components/collapsible/index.js +1 -1
  136. package/dist/components/color-picker/index.js +1 -1
  137. package/dist/components/combobox/index.d.ts +1 -1
  138. package/dist/components/combobox/index.js +1 -1
  139. package/dist/components/command-palette/command-palette.d.ts +46 -13
  140. package/dist/components/command-palette/index.js +1 -1
  141. package/dist/components/data-table/data-table.d.ts +3 -1
  142. package/dist/components/data-table/index.js +1 -1
  143. package/dist/components/data-table/toolbar.d.ts +6 -5
  144. package/dist/components/date-picker/date-picker.d.ts +1 -1
  145. package/dist/components/date-picker/index.d.ts +1 -1
  146. package/dist/components/date-picker/index.js +1 -1
  147. package/dist/components/date-range-picker/index.js +1 -1
  148. package/dist/components/date-time-picker/index.d.ts +1 -1
  149. package/dist/components/date-time-picker/index.js +1 -1
  150. package/dist/components/description-list/description-list.d.ts +1 -2
  151. package/dist/components/description-list/index.js +1 -1
  152. package/dist/components/dialog/dialog.d.ts +2 -2
  153. package/dist/components/dialog/index.js +1 -1
  154. package/dist/components/dropdown-menu/dropdown-menu.d.ts +11 -16
  155. package/dist/components/dropdown-menu/index.js +3 -4
  156. package/dist/components/empty-state/index.js +1 -1
  157. package/dist/components/file-upload/index.d.ts +1 -1
  158. package/dist/components/file-upload/index.js +1 -1
  159. package/dist/components/floating-action-button/index.js +1 -1
  160. package/dist/components/form-field/index.js +2 -2
  161. package/dist/components/freemium-paywall/freemium-paywall.d.ts +1 -1
  162. package/dist/components/freemium-paywall/index.js +1 -1
  163. package/dist/components/header/index.js +1 -1
  164. package/dist/components/icon-button/index.js +1 -1
  165. package/dist/components/kbd/index.js +1 -1
  166. package/dist/components/key-value-pair/index.js +1 -1
  167. package/dist/components/link/index.js +1 -1
  168. package/dist/components/list/index.js +1 -1
  169. package/dist/components/logo/index.js +1 -1
  170. package/dist/components/matrix-rain/index.js +1 -1
  171. package/dist/components/message-card/index.d.ts +1 -1
  172. package/dist/components/message-card/index.js +1 -1
  173. package/dist/components/message-tray/index.js +1 -1
  174. package/dist/components/message-tray/message-tray.d.ts +1 -1
  175. package/dist/components/multi-select/index.js +1 -1
  176. package/dist/components/navigation-menu/index.js +1 -1
  177. package/dist/components/navigation-menu/navigation-menu.d.ts +1 -1
  178. package/dist/components/notification-card/index.d.ts +1 -1
  179. package/dist/components/notification-card/index.js +1 -1
  180. package/dist/components/notification-tray/index.js +1 -1
  181. package/dist/components/notification-tray/notification-tray.d.ts +1 -1
  182. package/dist/components/number-input/index.js +1 -1
  183. package/dist/components/otp-input/index.js +1 -1
  184. package/dist/components/pagination/index.js +1 -1
  185. package/dist/components/pagination/pagination.d.ts +4 -6
  186. package/dist/components/password-input/index.js +1 -1
  187. package/dist/components/payment-form/index.js +7 -8
  188. package/dist/components/payment-form/payment-form.d.ts +1 -1
  189. package/dist/components/pdf-viewer/index.js +1 -1
  190. package/dist/components/phone-input/index.d.ts +1 -1
  191. package/dist/components/phone-input/index.js +1 -1
  192. package/dist/components/popover/index.js +3 -4
  193. package/dist/components/privacy-lock/index.js +1 -1
  194. package/dist/components/privacy-lock/privacy-lock.d.ts +1 -1
  195. package/dist/components/progress/index.js +3 -4
  196. package/dist/components/recaptcha-widget/index.js +1 -1
  197. package/dist/components/resizable/index.d.ts +1 -1
  198. package/dist/components/resizable/index.js +1 -1
  199. package/dist/components/rich-text-editor/index.js +1 -1
  200. package/dist/components/scroll-area/index.js +1 -1
  201. package/dist/components/search-bar/index.js +1 -1
  202. package/dist/components/search-bar/search-bar.d.ts +1 -1
  203. package/dist/components/search-input/index.js +1 -1
  204. package/dist/components/select/index.js +1 -1
  205. package/dist/components/select/select.d.ts +1 -1
  206. package/dist/components/separator/index.js +1 -1
  207. package/dist/components/sheet/index.js +3 -4
  208. package/dist/components/sheet/sheet.d.ts +2 -2
  209. package/dist/components/sidebar/index.js +7 -8
  210. package/dist/components/sidebar/sidebar.d.ts +0 -2
  211. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  212. package/dist/components/signature-capture/index.js +1 -1
  213. package/dist/components/skeleton/index.js +1 -1
  214. package/dist/components/slider/index.js +1 -1
  215. package/dist/components/slot-grid/index.js +1 -1
  216. package/dist/components/sparkline/index.js +1 -1
  217. package/dist/components/spinner/index.js +1 -1
  218. package/dist/components/stat/index.js +1 -1
  219. package/dist/components/stepper-calendar/index.js +1 -1
  220. package/dist/components/stepper-calendar/stepper-calendar.d.ts +1 -1
  221. package/dist/components/stepper-progress/index.d.ts +1 -1
  222. package/dist/components/stepper-progress/index.js +1 -2
  223. package/dist/components/stepper-progress/stepper-progress.d.ts +1 -1
  224. package/dist/components/suggestion-chip/index.js +1 -1
  225. package/dist/components/switch/index.js +1 -1
  226. package/dist/components/tabs/index.d.ts +1 -1
  227. package/dist/components/tabs/index.js +1 -1
  228. package/dist/components/tag/index.js +1 -1
  229. package/dist/components/task-card/index.js +1 -1
  230. package/dist/components/task-tray/index.js +1 -1
  231. package/dist/components/task-tray/task-tray.d.ts +1 -1
  232. package/dist/components/text-area/index.js +1 -1
  233. package/dist/components/text-input/index.js +1 -1
  234. package/dist/components/theme-root/index.js +1 -1
  235. package/dist/components/theme-toggle/index.js +1 -1
  236. package/dist/components/theme-toggle/theme-toggle.d.ts +1 -1
  237. package/dist/components/time-picker/index.js +1 -1
  238. package/dist/components/time-picker/time-picker.d.ts +1 -1
  239. package/dist/components/timeline/index.js +1 -1
  240. package/dist/components/timeline/timeline.d.ts +1 -1
  241. package/dist/components/toast/index.js +1 -1
  242. package/dist/components/tooth-scheme/index.js +1 -1
  243. package/dist/components/tooth-scheme/tooth-scheme.d.ts +1 -1
  244. package/dist/components/transcript-panel/index.js +1 -1
  245. package/dist/components/transcript-panel/transcript-panel.d.ts +1 -1
  246. package/dist/components/typing-indicator/index.js +1 -1
  247. package/dist/components/visually-hidden/index.js +1 -1
  248. package/dist/components/warning-stack/index.js +1 -1
  249. package/dist/components/workflow/index.js +1 -1
  250. package/dist/components/workflow/workflow-editor.d.ts +1 -1
  251. package/dist/hooks/index.js +1 -1
  252. package/dist/index.js +392 -402
  253. package/dist/patterns/leo-assistant/index.js +1 -1
  254. package/dist/patterns/patient-shell/index.js +1 -1
  255. package/dist/safe-html/index.js +20 -3
  256. package/dist/tokens.css +2 -2
  257. package/package.json +12 -2
  258. package/dist/_chunks/accordion-BEnrZmAn.js +0 -120
  259. package/dist/_chunks/accordion.agent-BTjeO1Sx.js +0 -52
  260. package/dist/_chunks/autocomplete.agent-Dh7KioS6.js +0 -432
  261. package/dist/_chunks/chat-container-Dl0Kfy5a.js +0 -175
  262. package/dist/_chunks/chat-container.agent-CM4WModE.js +0 -27
  263. package/dist/_chunks/chat-input-C_tMQv92.js +0 -252
  264. package/dist/_chunks/chat-input.agent-Bsz3ckGa.js +0 -69
  265. package/dist/_chunks/combobox.agent-CAvUkkIe.js +0 -410
  266. package/dist/_chunks/command-palette.agent-HatEt_EM.js +0 -391
  267. package/dist/_chunks/dialog.agent-Daf1TTko.js +0 -179
  268. package/dist/_chunks/dropdown-menu-C7AZipNz.js +0 -219
  269. package/dist/_chunks/dropdown-menu.agent-BcxIKOjK.js +0 -43
  270. package/dist/_chunks/file-upload.agent-DJaH2dHg.js +0 -681
  271. package/dist/_chunks/list.agent-D0iWt4VI.js +0 -420
  272. package/dist/_chunks/payment-form.agent-kuIfodCj.js +0 -31
  273. package/dist/_chunks/popover-kFN8s84V.js +0 -229
  274. package/dist/_chunks/popover.agent-K_d1cfbj.js +0 -39
  275. package/dist/_chunks/progress-wNsqkw8I.js +0 -253
  276. package/dist/_chunks/progress.agent-C68rDOXL.js +0 -27
  277. package/dist/_chunks/resizable.agent-CMwZzvsi.js +0 -456
  278. package/dist/_chunks/sheet.agent-QAyTOxgk.js +0 -46
  279. package/dist/_chunks/sidebar.agent-C9TM_ZDZ.js +0 -49
  280. package/dist/_chunks/stepper-progress-Bmen-YXB.js +0 -149
  281. package/dist/_chunks/stepper-progress.agent-q9InWca4.js +0 -61
@@ -83,7 +83,14 @@ const x = g(
83
83
  ...a,
84
84
  "aria-label": p,
85
85
  children: [
86
- e ? /* @__PURE__ */ d("span", { "aria-hidden": "true", className: "ds:inline-flex ds:items-center ds:justify-center", children: e }) : null,
86
+ e ? /* @__PURE__ */ d(
87
+ "span",
88
+ {
89
+ "aria-hidden": "true",
90
+ className: "ds:inline-flex ds:items-center ds:justify-center",
91
+ children: e
92
+ }
93
+ ) : null,
87
94
  s ? /* @__PURE__ */ d("span", { className: "ds:inline-flex", children: c }) : null
88
95
  ]
89
96
  }
@@ -93,4 +100,4 @@ h.displayName = "FloatingActionButton";
93
100
  export {
94
101
  h as F
95
102
  };
96
- //# sourceMappingURL=floating-action-button-Cnw-f6AG.js.map
103
+ //# sourceMappingURL=floating-action-button-C8OYj8mE.js.map
@@ -2,7 +2,7 @@ import { jsx as i, jsxs as t } from "react/jsx-runtime";
2
2
  import { forwardRef as z, useId as V, useMemo as p } from "react";
3
3
  import { c as f } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as j } from "react-i18next";
5
- import { F as w } from "./form-field-context-94LwgYTQ.js";
5
+ import { F as w } from "./form-field-context-B3APVHKx.js";
6
6
  import { C as B } from "./circle-alert-ChA9opNA.js";
7
7
  const C = f("ds:text-start", {
8
8
  variants: {
@@ -34,7 +34,7 @@ const C = f("ds:text-start", {
34
34
  const {
35
35
  label: u,
36
36
  description: o,
37
- error: s,
37
+ error: e,
38
38
  required: d = !1,
39
39
  optional: h = !1,
40
40
  orientation: n = "vertical",
@@ -42,12 +42,12 @@ const C = f("ds:text-start", {
42
42
  className: g,
43
43
  children: b,
44
44
  ...N
45
- } = x, { t: y } = j(), e = V(), a = `${e}-help`, r = `${e}-error`, c = !!s, m = p(
46
- () => [o ? a : null, s ? r : null].filter(Boolean).join(" "),
47
- [o, s, a, r]
45
+ } = x, { t: y } = j(), s = V(), a = `${s}-help`, r = `${s}-error`, c = !!e, m = p(
46
+ () => [o ? a : null, e ? r : null].filter(Boolean).join(" "),
47
+ [o, e, a, r]
48
48
  ), F = p(
49
49
  () => ({
50
- id: e,
50
+ id: s,
51
51
  helpId: a,
52
52
  errorId: r,
53
53
  describedBy: m,
@@ -55,7 +55,7 @@ const C = f("ds:text-start", {
55
55
  required: d,
56
56
  disabled: l
57
57
  }),
58
- [e, a, r, m, c, d, l]
58
+ [s, a, r, m, c, d, l]
59
59
  );
60
60
  return /* @__PURE__ */ i(w.Provider, { value: F, children: /* @__PURE__ */ t(
61
61
  "div",
@@ -68,7 +68,8 @@ const C = f("ds:text-start", {
68
68
  /* @__PURE__ */ t(
69
69
  "label",
70
70
  {
71
- htmlFor: e,
71
+ id: `${s}-label`,
72
+ htmlFor: s,
72
73
  className: "type-label ds:text-foreground",
73
74
  children: [
74
75
  u,
@@ -91,7 +92,7 @@ const C = f("ds:text-start", {
91
92
  /* @__PURE__ */ t("div", { className: I({ orientation: n }), children: [
92
93
  b,
93
94
  o && /* @__PURE__ */ i("p", { id: a, className: "type-body-sm ds:text-muted-foreground", children: o }),
94
- s && /* @__PURE__ */ t(
95
+ e && /* @__PURE__ */ t(
95
96
  "p",
96
97
  {
97
98
  id: r,
@@ -105,7 +106,7 @@ const C = f("ds:text-start", {
105
106
  className: "ds:size-4 ds:shrink-0"
106
107
  }
107
108
  ),
108
- /* @__PURE__ */ i("span", { children: s })
109
+ /* @__PURE__ */ i("span", { children: e })
109
110
  ]
110
111
  }
111
112
  )
@@ -119,4 +120,4 @@ $.displayName = "FormField";
119
120
  export {
120
121
  $ as F
121
122
  };
122
- //# sourceMappingURL=form-field-BfsPLTSc.js.map
123
+ //# sourceMappingURL=form-field-Bmkeh7WY.js.map
@@ -1,5 +1,7 @@
1
1
  import { createContext as t, useContext as o, useId as d } from "react";
2
- const l = t(null);
2
+ const l = t(
3
+ null
4
+ );
3
5
  function n() {
4
6
  const r = o(l), e = d();
5
7
  return r || {
@@ -16,4 +18,4 @@ export {
16
18
  l as F,
17
19
  n as u
18
20
  };
19
- //# sourceMappingURL=form-field-context-94LwgYTQ.js.map
21
+ //# sourceMappingURL=form-field-context-B3APVHKx.js.map
@@ -1,15 +1,63 @@
1
- import { jsx as e, jsxs as d } from "react/jsx-runtime";
2
- import { forwardRef as G, useId as I, useState as E, useRef as k, useImperativeHandle as J } from "react";
3
- import * as i from "@radix-ui/react-alert-dialog";
1
+ import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
+ import { forwardRef as J, useId as R, useState as Q, useRef as m, useImperativeHandle as W, useMemo as X } from "react";
3
+ import * as d from "@radix-ui/react-alert-dialog";
4
4
  import * as K from "@radix-ui/react-radio-group";
5
- import { c as Q } from "./index-D2ZczOXr.js";
6
- import { useTranslation as W } from "react-i18next";
7
- import { B as R } from "./button-7mLWcMp_.js";
8
- import { P as X } from "./progress-wNsqkw8I.js";
9
- import { f as Y } from "./payment-form-BWaXas8z.js";
10
- import { T as Z } from "./triangle-alert-CBPUIzQo.js";
11
- import { C as $ } from "./check-DPdL_Sm7.js";
12
- const ee = Q(
5
+ import { c as Y } from "./index-D2ZczOXr.js";
6
+ import { useTranslation as Z } from "react-i18next";
7
+ import { u as $ } from "./registry-C9nwlNyL.js";
8
+ import { B as j } from "./button-DD_0Xdmr.js";
9
+ import { P as ee } from "./progress-C11tqhoI.js";
10
+ import { f as se } from "./payment-form-C3vT_npe.js";
11
+ import { T as ae } from "./triangle-alert-CBPUIzQo.js";
12
+ import { C as re } from "./check-DPdL_Sm7.js";
13
+ const te = {
14
+ id: "freemium-paywall",
15
+ capabilities: ["submit", "dismiss"],
16
+ state: {
17
+ isOpen: {
18
+ type: "boolean",
19
+ descriptionKey: "ui.agent.freemiumPaywall.state.isOpen",
20
+ description: "True when the paywall dialog is open.",
21
+ read: (r) => r.isOpen()
22
+ },
23
+ selectedPlanId: {
24
+ type: "string | null",
25
+ descriptionKey: "ui.agent.freemiumPaywall.state.selectedPlanId",
26
+ description: "Opaque id of the currently-selected plan.",
27
+ read: (r) => r.getSelectedPlanId()
28
+ }
29
+ },
30
+ actions: {
31
+ upgrade: {
32
+ safety: "write",
33
+ descriptionKey: "ui.agent.freemiumPaywall.actions.upgrade",
34
+ description: "Fire onUpgrade with the currently-selected plan id.",
35
+ invoke: (r) => {
36
+ r.upgrade();
37
+ }
38
+ },
39
+ dismiss: {
40
+ safety: "destructive",
41
+ descriptionKey: "ui.agent.freemiumPaywall.actions.dismiss",
42
+ description: "Dismiss the paywall via the Not Now action. Irreversible from the same UI.",
43
+ invoke: (r) => {
44
+ r.dismiss();
45
+ }
46
+ }
47
+ },
48
+ domHooks: {
49
+ root: {
50
+ attr: "data-component",
51
+ value: "freemium-paywall",
52
+ description: "Marks the FreemiumPaywall dialog content."
53
+ },
54
+ instanceId: {
55
+ attr: "data-component-id",
56
+ sourceProp: "id",
57
+ description: "Sourced from the id prop."
58
+ }
59
+ }
60
+ }, ie = Y(
13
61
  [
14
62
  "ds:fixed ds:z-[var(--z-modal)] ds:overflow-auto",
15
63
  "ds:bg-[color:var(--popover)] ds:text-[color:var(--popover-foreground)]",
@@ -32,50 +80,56 @@ const ee = Q(
32
80
  },
33
81
  defaultVariants: { layout: "centered", density: "full" }
34
82
  }
35
- ), se = G(
83
+ ), de = J(
36
84
  ({
37
85
  open: r,
38
- onOpenChange: m,
39
- plans: p,
40
- selectedPlanId: u,
41
- defaultSelectedPlanId: j,
86
+ onOpenChange: p,
87
+ plans: u,
88
+ selectedPlanId: f,
89
+ defaultSelectedPlanId: A,
42
90
  onSelectedPlanChange: n,
43
91
  usage: t,
44
92
  onUpgrade: F,
45
93
  onCancel: c,
46
94
  title: z,
47
- description: A,
48
- layout: C = "centered",
49
- density: T = "full",
95
+ description: C,
96
+ layout: T = "centered",
97
+ density: M = "full",
50
98
  className: O
51
99
  }, L) => {
52
- var w;
53
- const { t: s, i18n: M } = W(), f = I(), v = I(), g = u !== void 0, [S, D] = E(
54
- j ?? ((w = p[0]) == null ? void 0 : w.id) ?? ""
55
- ), l = g ? u ?? "" : S, U = (a) => {
56
- g || D(a), n == null || n(a);
57
- }, h = () => {
58
- c == null || c(), m(!1);
100
+ var P;
101
+ const { t: s, i18n: S } = Z(), v = R(), g = R(), h = f !== void 0, [D, H] = Q(
102
+ A ?? ((P = u[0]) == null ? void 0 : P.id) ?? ""
103
+ ), l = h ? f ?? "" : D, U = (a) => {
104
+ h || H(a), n == null || n(a);
59
105
  }, y = () => {
106
+ c == null || c(), p(!1);
107
+ }, b = () => {
60
108
  l && F(l);
61
- }, b = k(r);
62
- b.current = r;
63
- const x = k(l);
64
- x.current = l, J(
65
- L,
109
+ }, x = m(r);
110
+ x.current = r;
111
+ const w = m(l);
112
+ w.current = l;
113
+ const N = m(null);
114
+ W(L, () => N.current, []);
115
+ const V = X(
66
116
  () => ({
67
- isOpen: () => b.current,
68
- getSelectedPlanId: () => x.current || null,
69
- upgrade: () => y(),
70
- dismiss: () => h()
117
+ isOpen: () => x.current,
118
+ getSelectedPlanId: () => w.current || null,
119
+ upgrade: () => b(),
120
+ dismiss: () => y()
71
121
  }),
72
122
  // eslint-disable-next-line react-hooks/exhaustive-deps
73
123
  []
74
124
  );
75
- const V = t ? Math.min(100, Math.max(0, t.used / Math.max(1, t.limit) * 100)) : 0, o = t ? t.used >= t.limit : !1;
76
- return /* @__PURE__ */ e(i.Root, { open: r, onOpenChange: m, children: /* @__PURE__ */ d(i.Portal, { children: [
125
+ $(te, V, void 0);
126
+ const B = t ? Math.min(
127
+ 100,
128
+ Math.max(0, t.used / Math.max(1, t.limit) * 100)
129
+ ) : 0, o = t ? t.used >= t.limit : !1;
130
+ return /* @__PURE__ */ e(d.Root, { open: r, onOpenChange: p, children: /* @__PURE__ */ i(d.Portal, { children: [
77
131
  /* @__PURE__ */ e(
78
- i.Overlay,
132
+ d.Overlay,
79
133
  {
80
134
  className: [
81
135
  "ds:fixed ds:inset-0 ds:z-[var(--z-modal-backdrop)]",
@@ -85,20 +139,21 @@ const ee = Q(
85
139
  ].join(" ")
86
140
  }
87
141
  ),
88
- /* @__PURE__ */ d(
89
- i.Content,
142
+ /* @__PURE__ */ i(
143
+ d.Content,
90
144
  {
91
- "aria-labelledby": f,
92
- "aria-describedby": v,
93
- className: ee({ layout: C, density: T, className: O }),
145
+ ref: N,
146
+ "aria-labelledby": v,
147
+ "aria-describedby": g,
148
+ className: ie({ layout: T, density: M, className: O }),
94
149
  "data-component": "freemium-paywall",
95
150
  children: [
96
- /* @__PURE__ */ e(i.Title, { id: f, asChild: !0, children: /* @__PURE__ */ e("h2", { className: "type-title-card", children: z ?? s("ui.paywall.title") }) }),
97
- /* @__PURE__ */ e(i.Description, { id: v, asChild: !0, children: /* @__PURE__ */ e("p", { className: "ds:mt-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]", children: A ?? s("ui.paywall.description") }) }),
98
- t ? /* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-md)]", children: [
99
- /* @__PURE__ */ d("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:mb-[var(--spacing-xs)]", children: [
151
+ /* @__PURE__ */ e(d.Title, { id: v, asChild: !0, children: /* @__PURE__ */ e("h2", { className: "type-title-card", children: z ?? s("ui.paywall.title") }) }),
152
+ /* @__PURE__ */ e(d.Description, { id: g, asChild: !0, children: /* @__PURE__ */ e("p", { className: "ds:mt-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]", children: C ?? s("ui.paywall.description") }) }),
153
+ t ? /* @__PURE__ */ i("div", { className: "ds:mt-[var(--spacing-md)]", children: [
154
+ /* @__PURE__ */ i("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:mb-[var(--spacing-xs)]", children: [
100
155
  o ? /* @__PURE__ */ e(
101
- Z,
156
+ ae,
102
157
  {
103
158
  "aria-hidden": "true",
104
159
  className: "ds:size-4 ds:text-[color:var(--destructive)]"
@@ -119,9 +174,9 @@ const ee = Q(
119
174
  )
120
175
  ] }),
121
176
  /* @__PURE__ */ e(
122
- X,
177
+ ee,
123
178
  {
124
- value: V,
179
+ value: B,
125
180
  max: 100,
126
181
  ariaLabel: s("ui.paywall.usageLabel", {
127
182
  used: t.used,
@@ -138,13 +193,13 @@ const ee = Q(
138
193
  onValueChange: U,
139
194
  "aria-label": s("ui.paywall.title"),
140
195
  className: "ds:mt-[var(--spacing-md)] ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
141
- children: p.map((a) => {
142
- const N = Y(
196
+ children: u.map((a) => {
197
+ const I = se(
143
198
  a.priceAmount,
144
199
  a.currency,
145
- M.language
146
- ), P = a.perKey ? s(a.perKey) : void 0, B = P ? s("ui.paywall.pricePer", { price: N, period: P }) : N, H = s(a.nameKey);
147
- return /* @__PURE__ */ d(
200
+ S.language
201
+ ), k = a.perKey ? s(a.perKey) : void 0, _ = k ? s("ui.paywall.pricePer", { price: I, period: k }) : I, q = s(a.nameKey);
202
+ return /* @__PURE__ */ i(
148
203
  K.Item,
149
204
  {
150
205
  value: a.id,
@@ -159,31 +214,31 @@ const ee = Q(
159
214
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
160
215
  ].join(" "),
161
216
  children: [
162
- /* @__PURE__ */ d("span", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
163
- /* @__PURE__ */ e("span", { className: "ds:font-semibold", children: H }),
164
- /* @__PURE__ */ e("span", { className: "ds:tabular-nums", children: B })
217
+ /* @__PURE__ */ i("span", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
218
+ /* @__PURE__ */ e("span", { className: "ds:font-semibold", children: q }),
219
+ /* @__PURE__ */ e("span", { className: "ds:tabular-nums", children: _ })
165
220
  ] }),
166
221
  a.featuresKeys && a.featuresKeys.length > 0 ? /* @__PURE__ */ e(
167
222
  "ul",
168
223
  {
169
224
  "aria-label": s("ui.paywall.features"),
170
225
  className: "ds:mt-[var(--spacing-xs)] ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
171
- children: a.featuresKeys.map((_, q) => /* @__PURE__ */ d(
226
+ children: a.featuresKeys.map((G, E) => /* @__PURE__ */ i(
172
227
  "li",
173
228
  {
174
229
  className: "ds:flex ds:items-start ds:gap-[var(--spacing-xs)] type-body-sm",
175
230
  children: [
176
231
  /* @__PURE__ */ e(
177
- $,
232
+ re,
178
233
  {
179
234
  "aria-hidden": "true",
180
235
  className: "ds:size-4 ds:shrink-0 ds:text-[color:var(--primary)] ds:mt-[1px]"
181
236
  }
182
237
  ),
183
- /* @__PURE__ */ e("span", { children: s(_) })
238
+ /* @__PURE__ */ e("span", { children: s(G) })
184
239
  ]
185
240
  },
186
- q
241
+ E
187
242
  ))
188
243
  }
189
244
  ) : null
@@ -194,9 +249,9 @@ const ee = Q(
194
249
  })
195
250
  }
196
251
  ),
197
- /* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-lg)] ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:justify-end", children: [
198
- /* @__PURE__ */ e(i.Cancel, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "outline", onClick: h, children: s("ui.paywall.notNow") }) }),
199
- /* @__PURE__ */ e(i.Action, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "primary", onClick: y, children: s("ui.paywall.upgrade") }) })
252
+ /* @__PURE__ */ i("div", { className: "ds:mt-[var(--spacing-lg)] ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:justify-end", children: [
253
+ /* @__PURE__ */ e(d.Cancel, { asChild: !0, children: /* @__PURE__ */ e(j, { intent: "outline", onClick: y, children: s("ui.paywall.notNow") }) }),
254
+ /* @__PURE__ */ e(d.Action, { asChild: !0, children: /* @__PURE__ */ e(j, { intent: "primary", onClick: b, children: s("ui.paywall.upgrade") }) })
200
255
  ] })
201
256
  ]
202
257
  }
@@ -204,57 +259,9 @@ const ee = Q(
204
259
  ] }) });
205
260
  }
206
261
  );
207
- se.displayName = "FreemiumPaywall";
208
- const me = {
209
- id: "freemium-paywall",
210
- capabilities: ["submit", "dismiss"],
211
- state: {
212
- isOpen: {
213
- type: "boolean",
214
- descriptionKey: "ui.agent.freemiumPaywall.state.isOpen",
215
- description: "True when the paywall dialog is open.",
216
- read: (r) => r.isOpen()
217
- },
218
- selectedPlanId: {
219
- type: "string | null",
220
- descriptionKey: "ui.agent.freemiumPaywall.state.selectedPlanId",
221
- description: "Opaque id of the currently-selected plan.",
222
- read: (r) => r.getSelectedPlanId()
223
- }
224
- },
225
- actions: {
226
- upgrade: {
227
- safety: "write",
228
- descriptionKey: "ui.agent.freemiumPaywall.actions.upgrade",
229
- description: "Fire onUpgrade with the currently-selected plan id.",
230
- invoke: (r) => {
231
- r.upgrade();
232
- }
233
- },
234
- dismiss: {
235
- safety: "destructive",
236
- descriptionKey: "ui.agent.freemiumPaywall.actions.dismiss",
237
- description: "Dismiss the paywall via the Not Now action. Irreversible from the same UI.",
238
- invoke: (r) => {
239
- r.dismiss();
240
- }
241
- }
242
- },
243
- domHooks: {
244
- root: {
245
- attr: "data-component",
246
- value: "freemium-paywall",
247
- description: "Marks the FreemiumPaywall dialog content."
248
- },
249
- instanceId: {
250
- attr: "data-component-id",
251
- sourceProp: "id",
252
- description: "Sourced from the id prop."
253
- }
254
- }
255
- };
262
+ de.displayName = "FreemiumPaywall";
256
263
  export {
257
- se as F,
258
- me as f
264
+ de as F,
265
+ te as f
259
266
  };
260
- //# sourceMappingURL=freemium-paywall.agent-_nQqLyRF.js.map
267
+ //# sourceMappingURL=freemium-paywall-CnvceDav.js.map
@@ -2,7 +2,7 @@ import { jsxs as m, Fragment as _, jsx as s } from "react/jsx-runtime";
2
2
  import { forwardRef as t, useRef as k, useState as N, useEffect as j } from "react";
3
3
  import { c as o } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as l } from "react-i18next";
5
- import { I as H } from "./icon-button-Wnnde5lc.js";
5
+ import { I as H } from "./icon-button-C4CGcYuz.js";
6
6
  import { c as w } from "./createLucideIcon-CrFbzy84.js";
7
7
  /**
8
8
  * @license lucide-react v1.8.0 - ISC
@@ -112,9 +112,13 @@ const B = [
112
112
  "ds:w-full ds:h-full",
113
113
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
114
114
  ].join(" ")
115
- ), z = o("ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]"), I = o(
115
+ ), z = o(
116
+ "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]"
117
+ ), I = o(
116
118
  "ds:hidden ds:md:flex ds:flex-1 ds:min-w-0 ds:items-center ds:justify-center ds:gap-[var(--spacing-sm)]"
117
- ), M = o("ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]"), T = o(
119
+ ), M = o(
120
+ "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]"
121
+ ), T = o(
118
122
  [
119
123
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]",
120
124
  "ds:text-[length:var(--font-size-base)] ds:font-[var(--font-weight-semibold)]",
@@ -200,41 +204,35 @@ const B = [
200
204
  }
201
205
  );
202
206
  D.displayName = "Header";
203
- const E = t(
204
- ({ className: e, ...r }, a) => /* @__PURE__ */ s(
205
- "div",
206
- {
207
- ref: a,
208
- "data-header-slot": "start",
209
- className: [z(), e].filter(Boolean).join(" "),
210
- ...r
211
- }
212
- )
213
- );
207
+ const E = t(({ className: e, ...r }, a) => /* @__PURE__ */ s(
208
+ "div",
209
+ {
210
+ ref: a,
211
+ "data-header-slot": "start",
212
+ className: [z(), e].filter(Boolean).join(" "),
213
+ ...r
214
+ }
215
+ ));
214
216
  E.displayName = "HeaderStart";
215
- const L = t(
216
- ({ className: e, ...r }, a) => /* @__PURE__ */ s(
217
- "div",
218
- {
219
- ref: a,
220
- "data-header-slot": "center",
221
- className: [I(), e].filter(Boolean).join(" "),
222
- ...r
223
- }
224
- )
225
- );
217
+ const L = t(({ className: e, ...r }, a) => /* @__PURE__ */ s(
218
+ "div",
219
+ {
220
+ ref: a,
221
+ "data-header-slot": "center",
222
+ className: [I(), e].filter(Boolean).join(" "),
223
+ ...r
224
+ }
225
+ ));
226
226
  L.displayName = "HeaderCenter";
227
- const F = t(
228
- ({ className: e, ...r }, a) => /* @__PURE__ */ s(
229
- "div",
230
- {
231
- ref: a,
232
- "data-header-slot": "end",
233
- className: [M(), e].filter(Boolean).join(" "),
234
- ...r
235
- }
236
- )
237
- );
227
+ const F = t(({ className: e, ...r }, a) => /* @__PURE__ */ s(
228
+ "div",
229
+ {
230
+ ref: a,
231
+ "data-header-slot": "end",
232
+ className: [M(), e].filter(Boolean).join(" "),
233
+ ...r
234
+ }
235
+ ));
238
236
  F.displayName = "HeaderEnd";
239
237
  const P = t(
240
238
  ({ logo: e, children: r, href: a = "/", className: d, ...n }, i) => /* @__PURE__ */ m(
@@ -245,7 +243,14 @@ const P = t(
245
243
  className: [T(), d].filter(Boolean).join(" "),
246
244
  ...n,
247
245
  children: [
248
- e ? /* @__PURE__ */ s("span", { "aria-hidden": r ? "true" : void 0, className: "ds:inline-flex ds:items-center", children: e }) : null,
246
+ e ? /* @__PURE__ */ s(
247
+ "span",
248
+ {
249
+ "aria-hidden": r ? "true" : void 0,
250
+ className: "ds:inline-flex ds:items-center",
251
+ children: e
252
+ }
253
+ ) : null,
249
254
  r ? /* @__PURE__ */ s("span", { className: "ds:truncate", children: r }) : null
250
255
  ]
251
256
  }
@@ -266,37 +271,33 @@ function X({
266
271
  }
267
272
  );
268
273
  }
269
- const q = t(
270
- ({ onMenuOpen: e, "aria-label": r, className: a }, d) => {
271
- const { t: n } = l();
272
- return /* @__PURE__ */ s(
273
- H,
274
- {
275
- ref: d,
276
- className: ["ds:md:hidden", a].filter(Boolean).join(" "),
277
- icon: /* @__PURE__ */ s(C, { "aria-hidden": !0 }),
278
- "aria-label": r ?? n("navigation.sidebar.open", "Open menu"),
279
- onClick: e
280
- }
281
- );
282
- }
283
- );
274
+ const q = t(({ onMenuOpen: e, "aria-label": r, className: a }, d) => {
275
+ const { t: n } = l();
276
+ return /* @__PURE__ */ s(
277
+ H,
278
+ {
279
+ ref: d,
280
+ className: ["ds:md:hidden", a].filter(Boolean).join(" "),
281
+ icon: /* @__PURE__ */ s(C, { "aria-hidden": !0 }),
282
+ "aria-label": r ?? n("navigation.sidebar.open", "Open menu"),
283
+ onClick: e
284
+ }
285
+ );
286
+ });
284
287
  q.displayName = "HeaderMenuButton";
285
- const A = t(
286
- ({ href: e, children: r, className: a, ...d }, n) => {
287
- const { t: i } = l();
288
- return /* @__PURE__ */ s(
289
- "a",
290
- {
291
- ref: n,
292
- href: e,
293
- className: [R(), a].filter(Boolean).join(" "),
294
- ...d,
295
- children: r ?? i("navigation.nav.skipToContent", "Skip to content")
296
- }
297
- );
298
- }
299
- );
288
+ const A = t(({ href: e, children: r, className: a, ...d }, n) => {
289
+ const { t: i } = l();
290
+ return /* @__PURE__ */ s(
291
+ "a",
292
+ {
293
+ ref: n,
294
+ href: e,
295
+ className: [R(), a].filter(Boolean).join(" "),
296
+ ...d,
297
+ children: r ?? i("navigation.nav.skipToContent", "Skip to content")
298
+ }
299
+ );
300
+ });
300
301
  A.displayName = "HeaderSkipLink";
301
302
  export {
302
303
  D as H,
@@ -308,4 +309,4 @@ export {
308
309
  A as f,
309
310
  E as g
310
311
  };
311
- //# sourceMappingURL=header-BGn1mRp8.js.map
312
+ //# sourceMappingURL=header-D0ULgQl3.js.map
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as u } from "react";
3
- import { B as p } from "./button-7mLWcMp_.js";
3
+ import { B as p } from "./button-DD_0Xdmr.js";
4
4
  import { c as h } from "./index-D2ZczOXr.js";
5
5
  import { T as b } from "./tooltip-DHik5yRI.js";
6
6
  const B = h("ds:p-0", {
@@ -15,7 +15,15 @@ const B = h("ds:p-0", {
15
15
  size: "md"
16
16
  }
17
17
  }), w = u(
18
- ({ icon: e, size: s, intent: i = "outline", className: o, tooltip: t, flipIconInRtl: d = !1, ...n }, l) => {
18
+ ({
19
+ icon: e,
20
+ size: s,
21
+ intent: i = "outline",
22
+ className: o,
23
+ tooltip: t,
24
+ flipIconInRtl: d = !1,
25
+ ...n
26
+ }, l) => {
19
27
  const c = n["aria-label"] || t, m = s === "sm" ? "ds:size-4" : s === "lg" ? "ds:size-5" : "ds:size-[18px]", f = d ? "ds:rtl:rotate-180" : "", r = /* @__PURE__ */ a(
20
28
  p,
21
29
  {
@@ -43,4 +51,4 @@ w.displayName = "IconButton";
43
51
  export {
44
52
  w as I
45
53
  };
46
- //# sourceMappingURL=icon-button-Wnnde5lc.js.map
54
+ //# sourceMappingURL=icon-button-C4CGcYuz.js.map