@alfadocs/ui-kit 1.150.0 → 1.151.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 (261) hide show
  1. package/dist/_chunks/{address-autocomplete-_LeOFdM7.js → address-autocomplete-Bt1nwxyn.js} +2 -2
  2. package/dist/_chunks/{address-fields-C4khof4C.js → address-fields-COumFRSX.js} +2 -2
  3. package/dist/_chunks/{agenda-tray-NgxPuAAz.js → agenda-tray-CmfcYQhc.js} +2 -2
  4. package/dist/_chunks/{ai-summary-panel-D-RNe-_n.js → ai-summary-panel-DyAHCqaj.js} +2 -2
  5. package/dist/_chunks/{alia-sidebar-Bjuxk8mU.js → alia-sidebar-BqZjnVoF.js} +2 -2
  6. package/dist/_chunks/{anamnesis-card-G0qzw0Oi.js → anamnesis-card-CoiG7vDj.js} +2 -2
  7. package/dist/_chunks/{anamnesis-summary-rows-CE-i9j-s.js → anamnesis-summary-rows-CFpaA1GP.js} +3 -3
  8. package/dist/_chunks/{app-frame-DUPEwu4E.js → app-frame-XEjLsLGY.js} +2 -2
  9. package/dist/_chunks/{appointment-details-panel.history-BO31ZFQp.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
  10. package/dist/_chunks/{appointment-details-panel.identity-C9kWtC6m.js → appointment-details-panel.identity-9hRo85Lx.js} +4 -4
  11. package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
  12. package/dist/_chunks/{appointment-timeline-ynFqcw0S.js → appointment-timeline-COfoHpoJ.js} +2 -2
  13. package/dist/_chunks/{appointment-tray-Dx5VDREk.js → appointment-tray-BlKwDJKi.js} +2 -2
  14. package/dist/_chunks/{balance-badge-cell-DiyJQcmA.js → balance-badge-cell-OghXENKK.js} +3 -3
  15. package/dist/_chunks/{bill-line-table-B8Cc2pTH.js → bill-line-table-DxV5_Dmq.js} +2 -2
  16. package/dist/_chunks/{calendar-appointment-editor-dialog-BfoEpFVx.js → calendar-appointment-editor-dialog-BPAfWtm9.js} +337 -334
  17. package/dist/_chunks/{calendar-editor-discard-host-DO506cJu.js → calendar-editor-discard-host-BudLsUZO.js} +3 -3
  18. package/dist/_chunks/{calendar-waiting-list-panel-CyMTv2y3.js → calendar-waiting-list-panel-DukgSOPH.js} +7 -7
  19. package/dist/_chunks/{calendar-workspace.model-X3aXbDTo.js → calendar-workspace.model-BulUpy0I.js} +2 -2
  20. package/dist/_chunks/{calendar.sheets-C8x8kPb4.js → calendar.sheets-OmTiQdCg.js} +8 -8
  21. package/dist/_chunks/{calls-panel-Bpemmnpd.js → calls-panel-eohONLia.js} +3 -3
  22. package/dist/_chunks/code-BfU9G1ZM.js +15 -0
  23. package/dist/_chunks/{communications-panel-Cd0TBEhL.js → communications-panel-CqiFs8BH.js} +3 -3
  24. package/dist/_chunks/{connection-status-Bi6KPTlh.js → connection-status-C13KmOPL.js} +2 -2
  25. package/dist/_chunks/control-room-rail-BmpTKtL1.js +456 -0
  26. package/dist/_chunks/{data-grid-CkzbCZSo.js → data-grid-DTAwrOiq.js} +3 -3
  27. package/dist/_chunks/{data-table-DFAYYsSc.js → data-table-CgpHO6EZ.js} +2 -2
  28. package/dist/_chunks/{default-tabs-C45FVzsG.js → default-tabs-CZaDDf1G.js} +4 -4
  29. package/dist/_chunks/{description-list-DA4TgL_I.js → description-list-DaldSpGy.js} +29 -26
  30. package/dist/_chunks/dev-bypass-button-DFcNpCQj.js +24 -0
  31. package/dist/_chunks/{document-preview-Zws6CHhK.js → document-preview-TbwhY_eK.js} +3 -3
  32. package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
  33. package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
  34. package/dist/_chunks/{error-boundary-BQ5mRqEd.js → error-boundary-BDS1XStO.js} +2 -2
  35. package/dist/_chunks/{error-page-CdNGIezW.js → error-page-3gWV-Vmj.js} +2 -2
  36. package/dist/_chunks/{error-page-illustration-BdJLuMdV.js → error-page-illustration-CJCjLk_-.js} +125 -149
  37. package/dist/_chunks/{face-scheme-BC2whb1S.js → face-scheme-DRYGaszs.js} +255 -264
  38. package/dist/_chunks/{feature-preview-switch-PKeLaFry.js → feature-preview-switch-B_8JTya_.js} +2 -2
  39. package/dist/_chunks/{file-manager-DzOCQBAO.js → file-manager-DMvYx-Gq.js} +4 -4
  40. package/dist/_chunks/{folder-CH9PJHou.js → folder-DvNxod7_.js} +3 -3
  41. package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
  42. package/dist/_chunks/{help-me-write-templates-B_wMJ82X.js → help-me-write-templates-VnvlK87x.js} +2 -2
  43. package/dist/_chunks/{info-tip-cCppV1fD.js → info-tip-DkVISvo-.js} +2 -2
  44. package/dist/_chunks/{invoice-upload-list-BReimsvV.js → invoice-upload-list-DutydbjC.js} +3 -3
  45. package/dist/_chunks/{link-cell-renderer-CWLArl5e.js → link-cell-renderer-DTunki79.js} +3 -3
  46. package/dist/_chunks/{login-dev-card-DqUNJcd7.js → login-dev-card-CQz9yhrU.js} +2 -2
  47. package/dist/_chunks/{map-view-n6GiDRWM.js → map-view-B67HXWPR.js} +2 -2
  48. package/dist/_chunks/mark-adrift-LBqHvZwv.js +42 -0
  49. package/dist/_chunks/{marketplace-app-shell-CGA-R-zt.js → marketplace-app-shell-CclaaAvb.js} +3 -3
  50. package/dist/_chunks/{message-tray-Dx2HPcKB.js → message-tray-DysT-DPS.js} +2 -2
  51. package/dist/_chunks/{note-timeline-BbjHMhkL.js → note-timeline-CS5j2OKD.js} +86 -77
  52. package/dist/_chunks/notebook-text-spVSekMN.js +21 -0
  53. package/dist/_chunks/{notes-panel-BguRX8VC.js → notes-panel-d0I3hOEY.js} +162 -173
  54. package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
  55. package/dist/_chunks/{optical-prescription-BzGnlIjq.js → optical-prescription-CAnXavjq.js} +2 -2
  56. package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
  57. package/dist/_chunks/{panel-subview-Om_yZvFG.js → panel-subview-B5hnQwfQ.js} +2 -2
  58. package/dist/_chunks/{patient-account-settings-YKnBzmwE.js → patient-account-settings-DQx_9CYV.js} +3 -3
  59. package/dist/_chunks/{patient-check-in-resume-DERfQbp5.js → patient-check-in-resume-BOHcm9hT.js} +5 -5
  60. package/dist/_chunks/{patient-details-BUD0UbmT.js → patient-details-wFIzTz7N.js} +3 -3
  61. package/dist/_chunks/{patient-field-row-DytaHdGw.js → patient-field-row-BDgfYLgz.js} +2 -2
  62. package/dist/_chunks/{patient-summary-card-7Werxl48.js → patient-summary-card-ZunOre3Q.js} +162 -155
  63. package/dist/_chunks/{payment-request-card-BF3rakTQ.js → payment-request-card-BSSfKrcc.js} +2 -2
  64. package/dist/_chunks/{portal-details-C1QQGPQf.js → portal-details-R-lwrisO.js} +4 -4
  65. package/dist/_chunks/{portal-documents-CzEuCaqv.js → portal-documents-C6XlWpEl.js} +3 -3
  66. package/dist/_chunks/{portal-parts-BMW4t57s.js → portal-parts-DlvSUZFX.js} +2 -2
  67. package/dist/_chunks/{practice-results-D0TAgL8v.js → practice-results-CqoB5YAv.js} +5 -5
  68. package/dist/_chunks/{prescription-history-CQuJmd4H.js → prescription-history-CxBM3gnm.js} +4 -4
  69. package/dist/_chunks/{privacy-mask-CrjD5PYW.js → privacy-mask-CaLBAxzj.js} +2 -2
  70. package/dist/_chunks/{product-hub-panel-NVpRuJeW.js → product-hub-panel-RJzrDcGp.js} +3 -3
  71. package/dist/_chunks/{public-header.agent-Dzo6ujrE.js → public-header.agent-B2CqVq4s.js} +2 -2
  72. package/dist/_chunks/{radiograph-panel.agent-Kl1M0dtT.js → radiograph-panel.agent-kgCmmgZk.js} +2 -2
  73. package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
  74. package/dist/_chunks/{registry-connection-panel-kdKbGQE6.js → registry-connection-panel-BkPPA3Fj.js} +3 -3
  75. package/dist/_chunks/{reserved.agent-CW0frsMv.js → reserved.agent-C-sMq0pb.js} +4 -4
  76. package/dist/_chunks/{reviews-panel-54AFY6uy.js → reviews-panel-jIz5aP2X.js} +3 -3
  77. package/dist/_chunks/rich-text-editor-DTadvKa7.js +4716 -0
  78. package/dist/_chunks/{scroll-area-CY5SLYNw.js → scroll-area-RQtcKkHf.js} +84 -79
  79. package/dist/_chunks/{sheet-CZDjW9Q-.js → sheet-1LXzej6Q.js} +2 -2
  80. package/dist/_chunks/{sidebar-D5DFYN5K.js → sidebar-BV9JCgS4.js} +2 -2
  81. package/dist/_chunks/{signed-out-frame-CC25CgKo.js → signed-out-frame-CKA8SSbU.js} +2 -2
  82. package/dist/_chunks/{signing-end-screen-Bq6tkFE6.js → signing-end-screen-HXkalppf.js} +2 -2
  83. package/dist/_chunks/{slot-grid-khIpy8Gx.js → slot-grid-DdqeF6PW.js} +2 -2
  84. package/dist/_chunks/{sync-tray-BQD-HuA4.js → sync-tray-CSVGzuur.js} +2 -2
  85. package/dist/_chunks/{task-editor-CIHQQRtP.js → task-editor-aXjGMwYA.js} +4 -4
  86. package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
  87. package/dist/_chunks/{tasks-panel-Bc_odkQN.js → tasks-panel-BdxHb-fX.js} +2 -2
  88. package/dist/_chunks/{tool-rail-CJBtqzMs.js → tool-rail-B4p6MmxA.js} +253 -250
  89. package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
  90. package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
  91. package/dist/_chunks/{treatment-receipt-B6m47Jie.js → treatment-receipt-CZQV1NkJ.js} +45 -46
  92. package/dist/_chunks/{use-appointment-details-read-HVHbR0Zl.js → use-appointment-details-read-BR3TQOHx.js} +878 -809
  93. package/dist/_chunks/user-round-DZxRG9zq.js +15 -0
  94. package/dist/_chunks/{week-availability-D0tTll4q.js → week-availability-D00rMjsX.js} +2 -2
  95. package/dist/_chunks/{workflow-map-F7OThorL.js → workflow-map-DLUTUZ27.js} +2 -2
  96. package/dist/agent-catalog.json +1 -1
  97. package/dist/appointment-editor-panel/index.js +3 -3
  98. package/dist/booking-tools-data/index.js +1 -1
  99. package/dist/browser-support.js +1 -1
  100. package/dist/calendar-action-buttons/index.js +1 -1
  101. package/dist/components/_shared/mark-adrift.d.ts +12 -0
  102. package/dist/components/_shared/safe-html.d.ts +6 -0
  103. package/dist/components/_shared/tooth-chip.d.ts +21 -0
  104. package/dist/components/address-autocomplete/index.js +1 -1
  105. package/dist/components/address-fields/index.js +1 -1
  106. package/dist/components/agenda-tray/index.js +1 -1
  107. package/dist/components/ai-summary-panel/index.js +1 -1
  108. package/dist/components/anamnesis-card/index.js +1 -1
  109. package/dist/components/app-frame/index.js +1 -1
  110. package/dist/components/appointment-card/index.js +1 -1
  111. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +9 -2
  112. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +9 -2
  113. package/dist/components/appointment-details-panel/description-length.d.ts +18 -0
  114. package/dist/components/appointment-details-panel/index.d.ts +1 -0
  115. package/dist/components/appointment-details-panel/index.js +7 -6
  116. package/dist/components/appointment-peek/index.js +1 -1
  117. package/dist/components/appointment-timeline/index.js +1 -1
  118. package/dist/components/bill-line-table/index.js +1 -1
  119. package/dist/components/bill-table/index.js +1 -1
  120. package/dist/components/booking/index.js +1 -1
  121. package/dist/components/calls-panel/index.js +1 -1
  122. package/dist/components/communications-panel/index.js +1 -1
  123. package/dist/components/connection-status/index.js +1 -1
  124. package/dist/components/control-room-rail/control-room-rail.d.ts +24 -0
  125. package/dist/components/control-room-rail/index.js +1 -1
  126. package/dist/components/data-grid/index.js +2 -2
  127. package/dist/components/data-table/index.js +3 -3
  128. package/dist/components/description-list/index.js +1 -1
  129. package/dist/components/dev-bypass-button/index.js +1 -1
  130. package/dist/components/document-preview/index.js +1 -1
  131. package/dist/components/empty-state/index.js +1 -1
  132. package/dist/components/error-boundary/index.js +1 -1
  133. package/dist/components/face-scheme/index.js +1 -1
  134. package/dist/components/feature-preview-switch/index.js +1 -1
  135. package/dist/components/file-manager/index.js +1 -1
  136. package/dist/components/heatmap/index.js +1 -1
  137. package/dist/components/info-tip/index.js +1 -1
  138. package/dist/components/invoice-upload-list/index.js +1 -1
  139. package/dist/components/map-view/index.js +1 -1
  140. package/dist/components/message-tray/index.js +1 -1
  141. package/dist/components/note-timeline/index.js +1 -1
  142. package/dist/components/note-timeline/note-timeline.d.ts +8 -0
  143. package/dist/components/notes-panel/index.js +1 -1
  144. package/dist/components/notes-panel/notes-panel.d.ts +18 -7
  145. package/dist/components/notification-tray/index.js +1 -1
  146. package/dist/components/optical-prescription/index.js +1 -1
  147. package/dist/components/panel-subview/index.js +1 -1
  148. package/dist/components/patient-details/index.js +1 -1
  149. package/dist/components/patient-summary-card/index.js +1 -1
  150. package/dist/components/patient-table/index.js +1 -1
  151. package/dist/components/payment-card/index.js +1 -1
  152. package/dist/components/practice-results/index.js +1 -1
  153. package/dist/components/product-hub-tray/index.js +1 -1
  154. package/dist/components/public-header/index.js +1 -1
  155. package/dist/components/radiograph-panel/index.js +1 -1
  156. package/dist/components/registry-connection-panel/index.js +1 -1
  157. package/dist/components/reviews-panel/index.js +1 -1
  158. package/dist/components/rich-text-editor/editor-toolbar.d.ts +16 -6
  159. package/dist/components/rich-text-editor/index.d.ts +1 -1
  160. package/dist/components/rich-text-editor/index.js +1 -1
  161. package/dist/components/rich-text-editor/link-bar.d.ts +8 -0
  162. package/dist/components/rich-text-editor/rich-text-editor.d.ts +25 -3
  163. package/dist/components/scroll-area/index.js +1 -1
  164. package/dist/components/scroll-area/scroll-area.d.ts +6 -0
  165. package/dist/components/sheet/index.js +1 -1
  166. package/dist/components/sidebar/index.js +1 -1
  167. package/dist/components/slot-grid/index.js +1 -1
  168. package/dist/components/sync-tray/index.js +1 -1
  169. package/dist/components/task-editor/index.js +1 -1
  170. package/dist/components/task-tray/index.js +1 -1
  171. package/dist/components/tasks-panel/index.js +1 -1
  172. package/dist/components/tool-rail/index.js +1 -1
  173. package/dist/components/tool-rail/tool-rail.d.ts +11 -0
  174. package/dist/components/treatment-receipt/index.js +1 -1
  175. package/dist/components/treatment-receipt/treatment-receipt.d.ts +6 -1
  176. package/dist/components/week-availability/index.js +1 -1
  177. package/dist/components/workflow/index.js +1 -1
  178. package/dist/core.css +1 -1
  179. package/dist/find-free-slots-panel/index.js +1 -1
  180. package/dist/host-compat.css +4 -1
  181. package/dist/host-legacy.css +13 -1
  182. package/dist/i18n/locales/ar.d.ts +9 -0
  183. package/dist/i18n/locales/ar.js +11 -2
  184. package/dist/i18n/locales/de.d.ts +9 -0
  185. package/dist/i18n/locales/de.js +11 -2
  186. package/dist/i18n/locales/el.d.ts +9 -0
  187. package/dist/i18n/locales/el.js +11 -2
  188. package/dist/i18n/locales/en.d.ts +9 -0
  189. package/dist/i18n/locales/en.js +10 -1
  190. package/dist/i18n/locales/es.d.ts +9 -0
  191. package/dist/i18n/locales/es.js +11 -2
  192. package/dist/i18n/locales/fr.d.ts +9 -0
  193. package/dist/i18n/locales/fr.js +11 -2
  194. package/dist/i18n/locales/hi.d.ts +9 -0
  195. package/dist/i18n/locales/hi.js +11 -2
  196. package/dist/i18n/locales/it.d.ts +9 -0
  197. package/dist/i18n/locales/it.js +11 -2
  198. package/dist/i18n/locales/ja.d.ts +9 -0
  199. package/dist/i18n/locales/ja.js +11 -2
  200. package/dist/i18n/locales/nl.d.ts +9 -0
  201. package/dist/i18n/locales/nl.js +11 -2
  202. package/dist/i18n/locales/pl.d.ts +9 -0
  203. package/dist/i18n/locales/pl.js +11 -2
  204. package/dist/i18n/locales/pt.d.ts +9 -0
  205. package/dist/i18n/locales/pt.js +11 -2
  206. package/dist/i18n/locales/ro.d.ts +9 -0
  207. package/dist/i18n/locales/ro.js +11 -2
  208. package/dist/i18n/locales/ru.d.ts +9 -0
  209. package/dist/i18n/locales/ru.js +11 -2
  210. package/dist/i18n/locales/sq.d.ts +9 -0
  211. package/dist/i18n/locales/sq.js +11 -2
  212. package/dist/i18n/locales/sv.d.ts +9 -0
  213. package/dist/i18n/locales/sv.js +11 -2
  214. package/dist/i18n/locales/tr.d.ts +9 -0
  215. package/dist/i18n/locales/tr.js +11 -2
  216. package/dist/i18n/locales/zh.d.ts +9 -0
  217. package/dist/i18n/locales/zh.js +11 -2
  218. package/dist/index.js +817 -816
  219. package/dist/locales/ar.json +11 -2
  220. package/dist/locales/de.json +11 -2
  221. package/dist/locales/el.json +11 -2
  222. package/dist/locales/en.json +10 -1
  223. package/dist/locales/es.json +11 -2
  224. package/dist/locales/fr.json +11 -2
  225. package/dist/locales/hi.json +11 -2
  226. package/dist/locales/it.json +11 -2
  227. package/dist/locales/ja.json +11 -2
  228. package/dist/locales/nl.json +11 -2
  229. package/dist/locales/pl.json +11 -2
  230. package/dist/locales/pt.json +11 -2
  231. package/dist/locales/ro.json +11 -2
  232. package/dist/locales/ru.json +11 -2
  233. package/dist/locales/sq.json +11 -2
  234. package/dist/locales/sv.json +11 -2
  235. package/dist/locales/tr.json +11 -2
  236. package/dist/locales/zh.json +11 -2
  237. package/dist/online-bookings-panel/index.js +2 -2
  238. package/dist/patterns/alia-assistant/index.js +1 -1
  239. package/dist/patterns/anamnesis/index.js +1 -1
  240. package/dist/patterns/calendar/index.js +4 -4
  241. package/dist/patterns/error-page/index.js +2 -2
  242. package/dist/patterns/help-me-write-templates/index.js +1 -1
  243. package/dist/patterns/login-form/index.js +1 -1
  244. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  245. package/dist/patterns/patient-account-settings/index.js +1 -1
  246. package/dist/patterns/patient-check-in/index.js +1 -1
  247. package/dist/patterns/patient-portal/index.js +2 -2
  248. package/dist/patterns/prescription/index.js +1 -1
  249. package/dist/patterns/registration-form/index.js +1 -1
  250. package/dist/patterns/signed-out-frame/index.js +1 -1
  251. package/dist/patterns/signing/index.js +1 -1
  252. package/dist/redactor.css +9 -0
  253. package/dist/safe-html/index.js +33 -19
  254. package/dist/tokens.css +61 -52
  255. package/dist/waiting-list-panel/index.js +3 -3
  256. package/package.json +1 -1
  257. package/dist/_chunks/appointment-peek-CGJ6kUvM.js +0 -213
  258. package/dist/_chunks/control-room-rail-4W1MFY-g.js +0 -416
  259. package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
  260. package/dist/_chunks/rich-text-editor-DCQEpaIv.js +0 -4523
  261. /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
@@ -1,10 +1,11 @@
1
- import { jsx as e, jsxs as d, Fragment as U } from "react/jsx-runtime";
2
- import { forwardRef as m, useId as P, useRef as F, useState as q, useCallback as T, useEffect as M, useContext as w, createContext as Z } from "react";
1
+ import { jsx as e, jsxs as m, Fragment as W } from "react/jsx-runtime";
2
+ import { forwardRef as u, useId as M, useRef as P, useState as F, useCallback as T, useEffect as q, useContext as w, createContext as Z } from "react";
3
3
  import { c as p } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as $ } from "react-i18next";
5
5
  import { B as x } from "./button-Dp4j9ygh.js";
6
6
  import { i as G } from "./is-development-CLUAnsU7.js";
7
- function J(t, s) {
7
+ import { M as J } from "./mark-adrift-LBqHvZwv.js";
8
+ function K(t, s) {
8
9
  t && (typeof t == "function" ? t(s) : t.current = s);
9
10
  }
10
11
  const h = Z({
@@ -14,7 +15,7 @@ const h = Z({
14
15
  titleId: "",
15
16
  registerTitle: () => {
16
17
  }
17
- }), K = p(
18
+ }), Q = p(
18
19
  "ds:flex ds:flex-col ds:items-center ds:text-center ds:max-w-md ds:ms-auto ds:me-auto ds:w-full",
19
20
  {
20
21
  variants: {
@@ -26,7 +27,7 @@ const h = Z({
26
27
  },
27
28
  defaultVariants: { size: "md" }
28
29
  }
29
- ), Q = p(
30
+ ), X = p(
30
31
  "ds:flex ds:items-center ds:justify-center ds:flex-shrink-0",
31
32
  {
32
33
  variants: {
@@ -38,7 +39,7 @@ const h = Z({
38
39
  },
39
40
  defaultVariants: { size: "md" }
40
41
  }
41
- ), X = p("type-title-card ds:text-[var(--foreground)]", {
42
+ ), Y = p("type-title-card ds:text-[var(--foreground)]", {
42
43
  variants: {
43
44
  size: {
44
45
  sm: "ds:[--type-title-card-size:var(--font-size-sm)]",
@@ -47,7 +48,7 @@ const h = Z({
47
48
  }
48
49
  },
49
50
  defaultVariants: { size: "md" }
50
- }), Y = p(
51
+ }), _ = p(
51
52
  "type-body-sm ds:text-[var(--muted-foreground)]",
52
53
  {
53
54
  variants: {
@@ -60,35 +61,22 @@ const h = Z({
60
61
  defaultVariants: { size: "md" }
61
62
  }
62
63
  );
63
- function _() {
64
- return /* @__PURE__ */ d(
64
+ function A() {
65
+ return /* @__PURE__ */ e(
65
66
  "svg",
66
67
  {
67
- viewBox: "0 0 120 120",
68
- fill: "none",
68
+ viewBox: "-20 -24 200 240",
69
+ fill: "var(--primary)",
69
70
  xmlns: "http://www.w3.org/2000/svg",
70
71
  "aria-hidden": "true",
71
- className: "ds:w-full ds:h-full",
72
- children: [
73
- /* @__PURE__ */ e(
74
- "circle",
75
- {
76
- cx: "60",
77
- cy: "60",
78
- r: "50",
79
- fill: "var(--muted)",
80
- stroke: "var(--muted-foreground)",
81
- strokeWidth: "2"
82
- }
83
- ),
84
- /* @__PURE__ */ e("rect", { x: "55", y: "30", width: "10", height: "60", rx: "5", fill: "var(--primary)" }),
85
- /* @__PURE__ */ e("rect", { x: "30", y: "55", width: "60", height: "10", rx: "5", fill: "var(--accent)" })
86
- ]
72
+ "data-illustration": "mark-adrift",
73
+ className: "ds:w-full ds:h-full ds:overflow-visible",
74
+ children: /* @__PURE__ */ e(J, {})
87
75
  }
88
76
  );
89
77
  }
90
- function A() {
91
- return /* @__PURE__ */ d(
78
+ function tt() {
79
+ return /* @__PURE__ */ m(
92
80
  "svg",
93
81
  {
94
82
  viewBox: "0 0 120 120",
@@ -126,8 +114,8 @@ function A() {
126
114
  }
127
115
  );
128
116
  }
129
- function tt() {
130
- return /* @__PURE__ */ d(
117
+ function et() {
118
+ return /* @__PURE__ */ m(
131
119
  "svg",
132
120
  {
133
121
  viewBox: "0 0 120 120",
@@ -174,76 +162,76 @@ function tt() {
174
162
  }
175
163
  );
176
164
  }
177
- const S = m(({ children: t, className: s, ...a }, i) => {
165
+ const S = u(({ children: t, className: s, ...l }, i) => {
178
166
  const { size: r } = w(h);
179
167
  return /* @__PURE__ */ e(
180
168
  "div",
181
169
  {
182
170
  ref: i,
183
171
  "aria-hidden": "true",
184
- className: Q({ size: r, className: s }),
185
- ...a,
172
+ className: X({ size: r, className: s }),
173
+ ...l,
186
174
  children: t
187
175
  }
188
176
  );
189
177
  });
190
178
  S.displayName = "EmptyState.Illustration";
191
- const k = m(({ children: t, className: s, ...a }, i) => {
192
- const { size: r, headingLevel: l, titleId: y, registerTitle: f } = w(h), c = `h${l}`, v = T(
193
- (u) => {
194
- u && f(), typeof i == "function" ? i(u) : i && (i.current = u);
179
+ const k = u(({ children: t, className: s, ...l }, i) => {
180
+ const { size: r, headingLevel: a, titleId: y, registerTitle: f } = w(h), d = `h${a}`, v = T(
181
+ (c) => {
182
+ c && f(), typeof i == "function" ? i(c) : i && (i.current = c);
195
183
  },
196
184
  [i, f]
197
185
  );
198
186
  return /* @__PURE__ */ e(
199
- c,
187
+ d,
200
188
  {
201
189
  ref: v,
202
190
  id: y,
203
- className: X({ size: r, className: s }),
204
- ...a,
191
+ className: Y({ size: r, className: s }),
192
+ ...l,
205
193
  children: t
206
194
  }
207
195
  );
208
196
  });
209
197
  k.displayName = "EmptyState.Title";
210
- const z = m(({ children: t, className: s, ...a }, i) => {
198
+ const z = u(({ children: t, className: s, ...l }, i) => {
211
199
  const { size: r } = w(h);
212
200
  return /* @__PURE__ */ e(
213
201
  "p",
214
202
  {
215
203
  ref: i,
216
- className: Y({ size: r, className: s }),
217
- ...a,
204
+ className: _({ size: r, className: s }),
205
+ ...l,
218
206
  children: t
219
207
  }
220
208
  );
221
209
  });
222
210
  z.displayName = "EmptyState.Description";
223
- const et = p(
211
+ const st = p(
224
212
  "ds:flex ds:flex-row ds:flex-wrap ds:items-center ds:justify-center ds:gap-[var(--spacing-md)]"
225
- ), E = m(({ children: t, className: s, ...a }, i) => /* @__PURE__ */ e("div", { ref: i, className: et({ className: s }), ...a, children: t }));
213
+ ), E = u(({ children: t, className: s, ...l }, i) => /* @__PURE__ */ e("div", { ref: i, className: st({ className: s }), ...l, children: t }));
226
214
  E.displayName = "EmptyState.Actions";
227
- const I = m(
215
+ const I = u(
228
216
  ({
229
217
  variant: t,
230
218
  size: s = "md",
231
- title: a,
219
+ title: l,
232
220
  description: i,
233
221
  primaryAction: r,
234
- secondaryAction: l,
222
+ secondaryAction: a,
235
223
  autoFocus: y = !1,
236
224
  headingLevel: f = 3,
237
- children: c,
225
+ children: d,
238
226
  className: v,
239
- ...u
227
+ ...c
240
228
  }, R) => {
241
229
  const { t: n } = $("ui");
242
- G() && c != null && (a !== void 0 || i !== void 0 || r !== void 0 || l !== void 0) && console.warn(
230
+ G() && d != null && (l !== void 0 || i !== void 0 || r !== void 0 || a !== void 0) && console.warn(
243
231
  "[EmptyState] `title`, `description`, `primaryAction` and `secondaryAction` are ignored when children are passed. Put EmptyState.Title, EmptyState.Description and EmptyState.Actions in the children instead, or drop the children."
244
232
  );
245
- const b = P(), N = F(null), [V, L] = q(!1), j = T(() => L(!0), []);
246
- M(() => {
233
+ const b = M(), N = P(null), [V, L] = F(!1), j = T(() => L(!0), []);
234
+ q(() => {
247
235
  var C;
248
236
  if (!y) return;
249
237
  const o = (C = N.current) == null ? void 0 : C.querySelector(
@@ -251,7 +239,7 @@ const I = m(
251
239
  );
252
240
  o == null || o.focus();
253
241
  }, []);
254
- const D = t === "no-results" ? { role: "status", "aria-live": "polite" } : { role: "region" }, O = n(t === "first-use" ? "emptyState.firstUse.title" : t === "no-results" ? "emptyState.noResults.title" : "emptyState.error.title"), W = n(t === "first-use" ? "emptyState.firstUse.description" : t === "no-results" ? "emptyState.noResults.description" : "emptyState.error.description"), B = n(t === "first-use" ? "emptyState.firstUse.cta" : t === "no-results" ? "emptyState.noResults.cta" : "emptyState.error.cta"), g = s === "sm" ? "sm" : "md", H = (o) => /^(https?:\/\/|\/|#)/.test(o) ? o : "#";
242
+ const D = t === "no-results" ? { role: "status", "aria-live": "polite" } : { role: "region" }, O = n(t === "first-use" ? "emptyState.firstUse.title" : t === "no-results" ? "emptyState.noResults.title" : "emptyState.error.title"), B = n(t === "first-use" ? "emptyState.firstUse.description" : t === "no-results" ? "emptyState.noResults.description" : "emptyState.error.description"), H = n(t === "first-use" ? "emptyState.firstUse.cta" : t === "no-results" ? "emptyState.noResults.cta" : "emptyState.error.cta"), g = s === "sm" ? "sm" : "md", U = (o) => /^(https?:\/\/|\/|#)/.test(o) ? o : "#";
255
243
  return /* @__PURE__ */ e(
256
244
  h.Provider,
257
245
  {
@@ -260,45 +248,45 @@ const I = m(
260
248
  "div",
261
249
  {
262
250
  ref: (o) => {
263
- N.current = o, J(R, o);
251
+ N.current = o, K(R, o);
264
252
  },
265
- "aria-labelledby": V || !c ? b : void 0,
253
+ "aria-labelledby": V || !d ? b : void 0,
266
254
  ...D,
267
- className: K({ size: s, className: v }),
255
+ className: Q({ size: s, className: v }),
268
256
  "data-component": "empty-state",
269
- ...u,
270
- children: c ?? /* @__PURE__ */ d(U, { children: [
271
- /* @__PURE__ */ d(S, { children: [
272
- t === "first-use" && /* @__PURE__ */ e(_, {}),
273
- t === "no-results" && /* @__PURE__ */ e(A, {}),
274
- t === "error" && /* @__PURE__ */ e(tt, {})
257
+ ...c,
258
+ children: d ?? /* @__PURE__ */ m(W, { children: [
259
+ /* @__PURE__ */ m(S, { children: [
260
+ t === "first-use" && /* @__PURE__ */ e(A, {}),
261
+ t === "no-results" && /* @__PURE__ */ e(tt, {}),
262
+ t === "error" && /* @__PURE__ */ e(et, {})
275
263
  ] }),
276
- /* @__PURE__ */ e(k, { children: a ?? O }),
277
- /* @__PURE__ */ e(z, { children: i ?? W }),
278
- (r || l) && /* @__PURE__ */ d(E, { children: [
264
+ /* @__PURE__ */ e(k, { children: l ?? O }),
265
+ /* @__PURE__ */ e(z, { children: i ?? B }),
266
+ (r || a) && /* @__PURE__ */ m(E, { children: [
279
267
  r && /* @__PURE__ */ e(
280
268
  x,
281
269
  {
282
270
  intent: "primary",
283
271
  size: g,
284
272
  onClick: r.onClick,
285
- children: r.label ?? B
273
+ children: r.label ?? H
286
274
  }
287
275
  ),
288
- l && (l.href ? /* @__PURE__ */ e(x, { intent: "ghost", size: g, asChild: !0, children: /* @__PURE__ */ e(
276
+ a && (a.href ? /* @__PURE__ */ e(x, { intent: "ghost", size: g, asChild: !0, children: /* @__PURE__ */ e(
289
277
  "a",
290
278
  {
291
- href: H(l.href),
292
- onClick: l.onClick,
293
- children: l.label
279
+ href: U(a.href),
280
+ onClick: a.onClick,
281
+ children: a.label
294
282
  }
295
283
  ) }) : /* @__PURE__ */ e(
296
284
  x,
297
285
  {
298
286
  intent: "ghost",
299
287
  size: g,
300
- onClick: l.onClick,
301
- children: l.label
288
+ onClick: a.onClick,
289
+ children: a.label
302
290
  }
303
291
  ))
304
292
  ] })
@@ -310,13 +298,13 @@ const I = m(
310
298
  }
311
299
  );
312
300
  I.displayName = "EmptyState";
313
- const ot = Object.assign(I, {
301
+ const ct = Object.assign(I, {
314
302
  Illustration: S,
315
303
  Title: k,
316
304
  Description: z,
317
305
  Actions: E
318
306
  });
319
307
  export {
320
- ot as E
308
+ ct as E
321
309
  };
322
- //# sourceMappingURL=empty-state-5REM7oDM.js.map
310
+ //# sourceMappingURL=empty-state-qHtpcasr.js.map
@@ -4,7 +4,7 @@ var i = (n, e, r) => u(n, typeof e != "symbol" ? e + "" : e, r);
4
4
  import { jsx as a, Fragment as y } from "react/jsx-runtime";
5
5
  import { Component as f } from "react";
6
6
  import { useTranslation as v } from "react-i18next";
7
- import { E } from "./empty-state-5REM7oDM.js";
7
+ import { E } from "./empty-state-qHtpcasr.js";
8
8
  function p({
9
9
  size: n,
10
10
  title: e,
@@ -87,4 +87,4 @@ i(b, "displayName", "ErrorBoundary");
87
87
  export {
88
88
  b as E
89
89
  };
90
- //# sourceMappingURL=error-boundary-BQ5mRqEd.js.map
90
+ //# sourceMappingURL=error-boundary-BDS1XStO.js.map
@@ -6,7 +6,7 @@ import { B as S } from "./button-Dp4j9ygh.js";
6
6
  import { L as pe } from "./logo-hIsyVE96.js";
7
7
  import { i as ye } from "./is-development-CLUAnsU7.js";
8
8
  import { i as be } from "./safe-href-5dbsfbQn.js";
9
- import { a as ve } from "./error-page-illustration-BdJLuMdV.js";
9
+ import { a as ve } from "./error-page-illustration-CJCjLk_-.js";
10
10
  import { loadLocale as ke, LOCALES_WITH_BUNDLES as we } from "../i18n/config.js";
11
11
  import { R as Pe } from "./rotate-ccw-BBQnIVTr.js";
12
12
  import { L as xe } from "./log-in-OQUEoGhX.js";
@@ -401,4 +401,4 @@ export {
401
401
  Te as e,
402
402
  Be as r
403
403
  };
404
- //# sourceMappingURL=error-page-CdNGIezW.js.map
404
+ //# sourceMappingURL=error-page-3gWV-Vmj.js.map