@alfadocs/ui-kit 1.55.0 → 1.57.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 (255) hide show
  1. package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
  2. package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
  3. package/dist/_chunks/alia-sidebar-BBKBJCv6.js +1284 -0
  4. package/dist/_chunks/{anamnesis-summary-rows-Dtw5Hpg4.js → anamnesis-summary-rows-CCQ62mMN.js} +5 -5
  5. package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
  6. package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
  7. package/dist/_chunks/{balance-badge-cell-zP-iN-Pd.js → balance-badge-cell-CII3SDmR.js} +3 -3
  8. package/dist/_chunks/{bmi-calculator-DTZhRhXe.js → bmi-calculator-C0UTxB7R.js} +2 -2
  9. package/dist/_chunks/{booking-uZO10TLK.js → booking-81WnKDsH.js} +4 -4
  10. package/dist/_chunks/{breadcrumb-xgVpPH2H.js → breadcrumb-Boan-5n8.js} +39 -39
  11. package/dist/_chunks/{calculator-dialog-BRjZMWuE.js → calculator-dialog-CzQv03p0.js} +2 -2
  12. package/dist/_chunks/{calendar-workspace-DVajSkKA.js → calendar-workspace-D5-k_9zE.js} +15 -15
  13. package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
  14. package/dist/_chunks/{care-plan-header-BeMYMiI7.js → care-plan-header-BMwZIgHJ.js} +3 -3
  15. package/dist/_chunks/chart-DQ5GxqgT.js +906 -0
  16. package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
  17. package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
  18. package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
  19. package/dist/_chunks/{contact-profile-card-C5DbP_X3.js → contact-profile-card-CMyBYgRR.js} +3 -3
  20. package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
  21. package/dist/_chunks/dashboard-grid-DfEY2qci.js +844 -0
  22. package/dist/_chunks/{data-table-C6T31E33.js → data-table-fAMTeAjM.js} +2 -2
  23. package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
  24. package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
  25. package/dist/_chunks/{date-range-picker-BOvHwWO5.js → date-range-picker-CFk-5O3R.js} +188 -177
  26. package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
  27. package/dist/_chunks/{dependent-selector-Bet3XAFj.js → dependent-selector-DgaAQc-c.js} +91 -86
  28. package/dist/_chunks/{dialog-D52AI4nF.js → dialog-Dn-iQ0Jp.js} +86 -69
  29. package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
  30. package/dist/_chunks/{due-date-calculator-DXDJbUzo.js → due-date-calculator-D_qFUiHp.js} +3 -3
  31. package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
  32. package/dist/_chunks/{file-manager-dIJQUZvq.js → file-manager-CFsL1KVt.js} +4 -4
  33. package/dist/_chunks/{freemium-paywall-B6ojVXq7.js → freemium-paywall-DIKuhX8b.js} +90 -86
  34. package/dist/_chunks/{gestational-age-calculator-BfGpt3du.js → gestational-age-calculator-CZi43xKG.js} +3 -3
  35. package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
  36. package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
  37. package/dist/_chunks/{heatmap-BARGZZt2.js → heatmap-BEeOThkW.js} +2 -2
  38. package/dist/_chunks/{help-me-write-templates-B7L3zGsE.js → help-me-write-templates-BUoYGo6f.js} +2 -2
  39. package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
  40. package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-C86lQTIA.js} +2 -2
  41. package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
  42. package/dist/_chunks/{key-value-pair-Ax8IJr1M.js → key-value-pair-BNNITp6S.js} +25 -19
  43. package/dist/_chunks/{kit-extensions-C9-v8Dih.js → kit-extensions-DYVxWcqv.js} +5 -5
  44. package/dist/_chunks/{link-cell-renderer-DlBVPMTi.js → link-cell-renderer-CxW_oLa5.js} +2 -2
  45. package/dist/_chunks/link-gRw3NtOt.js +137 -0
  46. package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
  47. package/dist/_chunks/{marketplace-app-shell-Dcx-JEjg.js → marketplace-app-shell-BZcA9Z06.js} +143 -129
  48. package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-QKQutwxj.js} +76 -69
  49. package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
  50. package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
  51. package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
  52. package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
  53. package/dist/_chunks/{notes-panel-I8ntrrUW.js → notes-panel-Cm4pttpl.js} +4 -4
  54. package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-C5VtbGjd.js} +83 -76
  55. package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-99kEdtc5.js} +2 -2
  56. package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-DkxY13T6.js} +5 -5
  57. package/dist/_chunks/{patient-summary-card-3dspc2tR.js → patient-summary-card-opdyfeW2.js} +10 -6
  58. package/dist/_chunks/{payment-automation-upsell-DEUfM7EU.js → payment-automation-upsell-DiHovmUL.js} +2 -2
  59. package/dist/_chunks/{payment-request-card-DAGqh9Yx.js → payment-request-card-DAniJNLX.js} +3 -3
  60. package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
  61. package/dist/_chunks/{periodontal-chart-BqwLxy2m.js → periodontal-chart-DD5C0M3l.js} +2 -2
  62. package/dist/_chunks/{periodontal-chart-card-CWZ1YM1h.js → periodontal-chart-card-CxdXvsPU.js} +2 -2
  63. package/dist/_chunks/{periodontal-diagnosis-C9IuvLId.js → periodontal-diagnosis-D-PJv7KS.js} +2 -2
  64. package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
  65. package/dist/_chunks/popover-BG75rYjN.js +367 -0
  66. package/dist/_chunks/{position-grid-D2D5_Tze.js → position-grid-CBB88EaH.js} +38 -36
  67. package/dist/_chunks/{practice-results-DxOgbPDy.js → practice-results-CfRkjzsI.js} +2 -2
  68. package/dist/_chunks/{pregnancy-dating-R3q5n1Wh.js → pregnancy-dating-BFzv9g1N.js} +3 -3
  69. package/dist/_chunks/{pregnancy-weight-gain-DwmNklDU.js → pregnancy-weight-gain-CUUrBTBo.js} +2 -2
  70. package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DlVRK7Ue.js} +103 -96
  71. package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
  72. package/dist/_chunks/{public-header.agent-BWusjxY8.js → public-header.agent-BctevbuY.js} +2 -2
  73. package/dist/_chunks/{radio-group-BT97ty7o.js → radio-group-DicxWJXP.js} +111 -106
  74. package/dist/_chunks/{radiograph-panel.agent-BA90I3Mu.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
  75. package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-BlTzYywa.js} +2 -2
  76. package/dist/_chunks/{rich-text-editor-Blp4smUr.js → rich-text-editor-DTnNZ4Ff.js} +489 -484
  77. package/dist/_chunks/{sheet-CNFW8mYZ.js → sheet-8qsiMoUI.js} +95 -79
  78. package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
  79. package/dist/_chunks/{signature-request-rgMsgo-C.js → signature-request-DRuYAG5I.js} +2 -2
  80. package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-AhMsNW1r.js} +2 -2
  81. package/dist/_chunks/{stat-51CDL4au.js → stat-DmjGfXND.js} +117 -108
  82. package/dist/_chunks/{stepper-accordion-D7lnBGh2.js → stepper-accordion-DDTSOUHc.js} +17 -6
  83. package/dist/_chunks/{task-editor-Ctxsa1BY.js → task-editor-NkcopDna.js} +4 -4
  84. package/dist/_chunks/{use-appointment-details-read-DinTrRIW.js → use-appointment-details-read-CfFQNOF_.js} +5 -5
  85. package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js +26 -0
  86. package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-BKbgb7FM.js} +2 -2
  87. package/dist/_chunks/{widget-picker-D8RiWrJd.js → widget-picker-rBA7MR5P.js} +2 -2
  88. package/dist/_chunks/{workflow-map-D3mezmGB.js → workflow-map-Demlpy39.js} +2 -2
  89. package/dist/agent-catalog.json +28 -11
  90. package/dist/agent-i18n/en.json +8 -7
  91. package/dist/components/_shared/non-modal-tab-exit.d.ts +19 -0
  92. package/dist/components/_shared/use-apex-chart-semantics.d.ts +6 -0
  93. package/dist/components/_shared/use-select-on-arrow.d.ts +20 -0
  94. package/dist/components/ai-credits-notice/index.js +1 -1
  95. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
  96. package/dist/components/ai-permission-notice/index.d.ts +1 -1
  97. package/dist/components/ai-permission-notice/index.js +1 -1
  98. package/dist/components/appointment-details-panel/index.js +1 -1
  99. package/dist/components/appointment-peek/index.js +1 -1
  100. package/dist/components/appointment-timeline/index.js +1 -1
  101. package/dist/components/bmi-calculator/index.js +1 -1
  102. package/dist/components/booking/index.js +1 -1
  103. package/dist/components/breadcrumb/index.js +1 -1
  104. package/dist/components/calculator-dialog/index.js +1 -1
  105. package/dist/components/care-plan-card/index.js +1 -1
  106. package/dist/components/care-plan-header/index.js +1 -1
  107. package/dist/components/chart/chart.d.ts +15 -10
  108. package/dist/components/chart/index.js +1 -1
  109. package/dist/components/clinical-note-card/index.js +1 -1
  110. package/dist/components/color-picker/index.js +1 -1
  111. package/dist/components/contact-card/index.js +1 -1
  112. package/dist/components/contact-profile-card/index.js +1 -1
  113. package/dist/components/cycle-calculator/index.js +1 -1
  114. package/dist/components/dashboard-grid/dashboard-grid-engine.d.ts +22 -0
  115. package/dist/components/dashboard-grid/dashboard-grid.d.ts +48 -4
  116. package/dist/components/dashboard-grid/index.js +1 -1
  117. package/dist/components/data-table/index.js +2 -2
  118. package/dist/components/data-table-tabs/index.js +1 -1
  119. package/dist/components/date-picker/index.js +1 -1
  120. package/dist/components/date-range-picker/index.js +1 -1
  121. package/dist/components/date-time-picker/index.js +1 -1
  122. package/dist/components/dependent-selector/index.js +1 -1
  123. package/dist/components/dialog/dialog.d.ts +2 -2
  124. package/dist/components/dialog/index.js +1 -1
  125. package/dist/components/document-preview/index.js +1 -1
  126. package/dist/components/due-date-calculator/index.js +1 -1
  127. package/dist/components/entity-summary/index.js +1 -1
  128. package/dist/components/file-manager/index.js +1 -1
  129. package/dist/components/freemium-paywall/index.js +1 -1
  130. package/dist/components/gestational-age-calculator/index.js +1 -1
  131. package/dist/components/hcg-doubling/index.js +1 -1
  132. package/dist/components/header-settings/index.js +1 -1
  133. package/dist/components/heatmap/index.js +1 -1
  134. package/dist/components/hover-card/index.js +1 -1
  135. package/dist/components/icon-picker/index.js +1 -1
  136. package/dist/components/info-tip/index.js +1 -1
  137. package/dist/components/key-value-pair/index.js +1 -1
  138. package/dist/components/link/index.js +1 -1
  139. package/dist/components/link/link.d.ts +5 -3
  140. package/dist/components/locale-picker/index.js +1 -1
  141. package/dist/components/message-tray/index.js +1 -1
  142. package/dist/components/nav-grid/index.js +1 -1
  143. package/dist/components/note-timeline/index.js +1 -1
  144. package/dist/components/notes-panel/index.js +1 -1
  145. package/dist/components/notification-tray/index.js +1 -1
  146. package/dist/components/patient-details/index.js +1 -1
  147. package/dist/components/patient-summary-card/index.js +1 -1
  148. package/dist/components/patient-table/index.js +1 -1
  149. package/dist/components/payment-card/index.js +1 -1
  150. package/dist/components/pdf-viewer/index.js +1 -1
  151. package/dist/components/periodontal-chart/index.js +1 -1
  152. package/dist/components/periodontal-chart-card/index.js +1 -1
  153. package/dist/components/periodontal-diagnosis/index.js +1 -1
  154. package/dist/components/phone-input/index.js +1 -1
  155. package/dist/components/popover/index.js +1 -1
  156. package/dist/components/popover/popover.d.ts +1 -1
  157. package/dist/components/position-grid/index.js +1 -1
  158. package/dist/components/practice-results/index.js +1 -1
  159. package/dist/components/pregnancy-dating/index.js +1 -1
  160. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  161. package/dist/components/product-hub-tray/index.js +1 -1
  162. package/dist/components/public-footer/index.js +1 -1
  163. package/dist/components/public-header/index.js +1 -1
  164. package/dist/components/radio-group/index.js +1 -1
  165. package/dist/components/radiograph-panel/index.js +1 -1
  166. package/dist/components/rich-text-editor/index.js +2 -2
  167. package/dist/components/sheet/index.js +1 -1
  168. package/dist/components/sheet/sheet.d.ts +2 -2
  169. package/dist/components/sign-document/index.js +1 -1
  170. package/dist/components/stat/index.d.ts +1 -1
  171. package/dist/components/stat/index.js +1 -1
  172. package/dist/components/stat/stat.d.ts +9 -0
  173. package/dist/components/stepper-accordion/index.js +1 -1
  174. package/dist/components/task-editor/index.js +1 -1
  175. package/dist/components/voice-control-panel/index.js +1 -1
  176. package/dist/components/widget-picker/index.js +1 -1
  177. package/dist/components/workflow/index.js +1 -1
  178. package/dist/host-legacy.css +13 -2
  179. package/dist/i18n/locales/ar.d.ts +17 -2
  180. package/dist/i18n/locales/ar.js +20 -5
  181. package/dist/i18n/locales/de.d.ts +17 -2
  182. package/dist/i18n/locales/de.js +20 -5
  183. package/dist/i18n/locales/el.d.ts +17 -2
  184. package/dist/i18n/locales/el.js +20 -5
  185. package/dist/i18n/locales/en.d.ts +17 -2
  186. package/dist/i18n/locales/en.js +20 -5
  187. package/dist/i18n/locales/es.d.ts +17 -2
  188. package/dist/i18n/locales/es.js +20 -5
  189. package/dist/i18n/locales/fr.d.ts +17 -2
  190. package/dist/i18n/locales/fr.js +20 -5
  191. package/dist/i18n/locales/hi.d.ts +17 -2
  192. package/dist/i18n/locales/hi.js +20 -5
  193. package/dist/i18n/locales/it.d.ts +17 -2
  194. package/dist/i18n/locales/it.js +20 -5
  195. package/dist/i18n/locales/ja.d.ts +17 -2
  196. package/dist/i18n/locales/ja.js +20 -5
  197. package/dist/i18n/locales/nl.d.ts +17 -2
  198. package/dist/i18n/locales/nl.js +20 -5
  199. package/dist/i18n/locales/pl.d.ts +17 -2
  200. package/dist/i18n/locales/pl.js +20 -5
  201. package/dist/i18n/locales/pt.d.ts +17 -2
  202. package/dist/i18n/locales/pt.js +20 -5
  203. package/dist/i18n/locales/ro.d.ts +17 -2
  204. package/dist/i18n/locales/ro.js +20 -5
  205. package/dist/i18n/locales/ru.d.ts +17 -2
  206. package/dist/i18n/locales/ru.js +20 -5
  207. package/dist/i18n/locales/sq.d.ts +17 -2
  208. package/dist/i18n/locales/sq.js +20 -5
  209. package/dist/i18n/locales/sv.d.ts +17 -2
  210. package/dist/i18n/locales/sv.js +20 -5
  211. package/dist/i18n/locales/tr.d.ts +17 -2
  212. package/dist/i18n/locales/tr.js +20 -5
  213. package/dist/i18n/locales/zh.d.ts +17 -2
  214. package/dist/i18n/locales/zh.js +20 -5
  215. package/dist/index.js +207 -206
  216. package/dist/locales/ar.json +20 -5
  217. package/dist/locales/de.json +20 -5
  218. package/dist/locales/el.json +20 -5
  219. package/dist/locales/en.json +20 -5
  220. package/dist/locales/es.json +20 -5
  221. package/dist/locales/fr.json +20 -5
  222. package/dist/locales/hi.json +20 -5
  223. package/dist/locales/it.json +20 -5
  224. package/dist/locales/ja.json +20 -5
  225. package/dist/locales/nl.json +20 -5
  226. package/dist/locales/pl.json +20 -5
  227. package/dist/locales/pt.json +20 -5
  228. package/dist/locales/ro.json +20 -5
  229. package/dist/locales/ru.json +20 -5
  230. package/dist/locales/sq.json +20 -5
  231. package/dist/locales/sv.json +20 -5
  232. package/dist/locales/tr.json +20 -5
  233. package/dist/locales/zh.json +20 -5
  234. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
  235. package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
  236. package/dist/patterns/alia-assistant/index.d.ts +2 -0
  237. package/dist/patterns/alia-assistant/index.js +6 -5
  238. package/dist/patterns/anamnesis/index.js +1 -1
  239. package/dist/patterns/calendar/index.js +1 -1
  240. package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +2 -2
  241. package/dist/patterns/help-me-write-templates/index.js +1 -1
  242. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  243. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +7 -2
  244. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  245. package/dist/patterns/registration-form/index.js +1 -1
  246. package/dist/patterns/signature-request/index.js +1 -1
  247. package/dist/patterns/signed-out-frame/index.js +1 -1
  248. package/dist/tokens.css +13 -2
  249. package/package.json +1 -1
  250. package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
  251. package/dist/_chunks/alia-sidebar-DS0b54Mv.js +0 -1183
  252. package/dist/_chunks/chart-C2RBJERE.js +0 -705
  253. package/dist/_chunks/dashboard-grid-SAGoyCtL.js +0 -691
  254. package/dist/_chunks/link-2HokYuIi.js +0 -130
  255. package/dist/_chunks/popover-BI3oV3eY.js +0 -305
@@ -2,13 +2,13 @@ import { jsx as n, jsxs as S } from "react/jsx-runtime";
2
2
  import { useMemo as O, useState as te, useRef as ee, useEffect as ne, useId as Pe, useCallback as y, forwardRef as bt, useImperativeHandle as vt } from "react";
3
3
  import { c as Ve } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as J } from "react-i18next";
5
- import { B as kt, b as He, c as ge } from "./breadcrumb-xgVpPH2H.js";
5
+ import { B as kt, b as He, c as ge } from "./breadcrumb-Boan-5n8.js";
6
6
  import { E as Mt } from "./empty-state-gNG3qYCX.js";
7
7
  import { S as he } from "./skeleton-B1KTdJ4N.js";
8
8
  import { u as Ct } from "./use-controllable-state-BiY4xTzM.js";
9
9
  import { u as wt } from "./registry-DvAUVLHh.js";
10
10
  import { B as Z } from "./button-Bn16lcFM.js";
11
- import { D as m } from "./dialog-D52AI4nF.js";
11
+ import { D as m } from "./dialog-Dn-iQ0Jp.js";
12
12
  import { a as St, F as xt } from "./file-upload-CxjCs7TX.js";
13
13
  import { S as We } from "./state-backed-text-input-DECQy5aA.js";
14
14
  import { F as Ge } from "./folder-BghC8_S2.js";
@@ -18,7 +18,7 @@ import { F as Ft } from "./file-text-5yv6r2ls.js";
18
18
  import { F as Tt } from "./file-spreadsheet-DmwyfV4O.js";
19
19
  import { F as At } from "./file-BuG1VMAy.js";
20
20
  import { C as Dt } from "./chevron-right-I9AeSxH2.js";
21
- import { D as Fe } from "./data-table-C6T31E33.js";
21
+ import { D as Fe } from "./data-table-fAMTeAjM.js";
22
22
  import { A as Rt, a as It } from "./actions-cell-renderer-Dj1ZkvJj.js";
23
23
  import { B as $e } from "./badge-hnBt8o7n.js";
24
24
  import { D as Ue } from "./download-CfYKJO_j.js";
@@ -1744,4 +1744,4 @@ export {
1744
1744
  hn as F,
1745
1745
  Gt as f
1746
1746
  };
1747
- //# sourceMappingURL=file-manager-dIJQUZvq.js.map
1747
+ //# sourceMappingURL=file-manager-CFsL1KVt.js.map
@@ -1,17 +1,18 @@
1
1
  import { jsx as e, jsxs as d } from "react/jsx-runtime";
2
- import { forwardRef as _, useId as k, useRef as c, useImperativeHandle as E, useMemo as J } from "react";
2
+ import { forwardRef as E, useId as I, useRef as c, useImperativeHandle as J, useMemo as Q } from "react";
3
3
  import * as i from "@radix-ui/react-alert-dialog";
4
- import * as I from "@radix-ui/react-radio-group";
5
- import { c as Q } from "./index-D2ZczOXr.js";
6
- import { useTranslation as X } from "react-i18next";
7
- import { u as Y } from "./use-controllable-state-BiY4xTzM.js";
8
- import { u as Z } from "./registry-DvAUVLHh.js";
4
+ import * as K from "@radix-ui/react-radio-group";
5
+ import { c as X } from "./index-D2ZczOXr.js";
6
+ import { useTranslation as Y } from "react-i18next";
7
+ import { u as Z } from "./use-controllable-state-BiY4xTzM.js";
8
+ import { u as $ } from "./use-select-on-arrow-Cr4iBuW5.js";
9
+ import { u as ee } from "./registry-DvAUVLHh.js";
9
10
  import { B as R } from "./button-Bn16lcFM.js";
10
- import { P as $ } from "./progress-D_g_Sl2g.js";
11
- import { f as ee } from "./payment-form-v6zZuV1_.js";
12
- import { T as ae } from "./triangle-alert-CBnO6nq_.js";
13
- import { C as se } from "./check-DrFSN__t.js";
14
- const re = {
11
+ import { P as se } from "./progress-D_g_Sl2g.js";
12
+ import { f as ae } from "./payment-form-v6zZuV1_.js";
13
+ import { T as re } from "./triangle-alert-CBnO6nq_.js";
14
+ import { C as te } from "./check-DrFSN__t.js";
15
+ const de = {
15
16
  id: "freemium-paywall",
16
17
  capabilities: ["submit", "dismiss"],
17
18
  state: {
@@ -19,13 +20,13 @@ const re = {
19
20
  type: "boolean",
20
21
  descriptionKey: "ui.agent.freemiumPaywall.state.isOpen",
21
22
  description: "True when the paywall dialog is open.",
22
- read: (s) => s.isOpen()
23
+ read: (r) => r.isOpen()
23
24
  },
24
25
  selectedPlanId: {
25
26
  type: "string | null",
26
27
  descriptionKey: "ui.agent.freemiumPaywall.state.selectedPlanId",
27
28
  description: "Opaque id of the currently-selected plan.",
28
- read: (s) => s.getSelectedPlanId()
29
+ read: (r) => r.getSelectedPlanId()
29
30
  }
30
31
  },
31
32
  actions: {
@@ -37,8 +38,8 @@ const re = {
37
38
  descriptionKey: "ui.agent.freemiumPaywall.actions.upgrade",
38
39
  description: "Fire onUpgrade with the currently-selected plan id.",
39
40
  errors: ["No plan selected — upgrade is a no-op until a plan is chosen."],
40
- invoke: (s) => {
41
- s.upgrade();
41
+ invoke: (r) => {
42
+ r.upgrade();
42
43
  }
43
44
  },
44
45
  dismiss: {
@@ -46,8 +47,8 @@ const re = {
46
47
  // Backs the `dismiss` capability.
47
48
  descriptionKey: "ui.agent.freemiumPaywall.actions.dismiss",
48
49
  description: "Dismiss the paywall via the Not Now action. Irreversible from the same UI.",
49
- invoke: (s) => {
50
- s.dismiss();
50
+ invoke: (r) => {
51
+ r.dismiss();
51
52
  }
52
53
  }
53
54
  },
@@ -63,7 +64,7 @@ const re = {
63
64
  description: "Sourced from the id prop."
64
65
  }
65
66
  }
66
- }, te = Q(
67
+ }, ie = X(
67
68
  [
68
69
  "ds:fixed ds:z-[var(--z-modal)] ds:overflow-auto",
69
70
  "ds:bg-[color:var(--popover)] ds:text-[color:var(--popover-foreground)]",
@@ -90,55 +91,55 @@ const re = {
90
91
  },
91
92
  defaultVariants: { layout: "centered", density: "full" }
92
93
  }
93
- ), de = _(
94
+ ), le = E(
94
95
  ({
95
- open: s,
96
+ open: r,
96
97
  onOpenChange: m,
97
98
  plans: p,
98
99
  selectedPlanId: C,
99
- defaultSelectedPlanId: K,
100
- onSelectedPlanChange: j,
101
- usage: r,
102
- onUpgrade: A,
100
+ defaultSelectedPlanId: A,
101
+ onSelectedPlanChange: S,
102
+ usage: t,
103
+ onUpgrade: j,
103
104
  onCancel: n,
104
105
  title: F,
105
- description: S,
106
+ description: O,
106
107
  id: u,
107
108
  layout: z = "centered",
108
109
  density: T = "full",
109
- className: M
110
- }, O) => {
111
- var x;
112
- const { t: a, i18n: L } = X("ui"), f = k(), v = k(), [V, D] = Y({
110
+ className: D
111
+ }, M) => {
112
+ var N;
113
+ const { t: s, i18n: L } = Y("ui"), f = I(), v = I(), [V, H] = Z({
113
114
  value: C,
114
- defaultValue: K ?? ((x = p[0]) == null ? void 0 : x.id) ?? "",
115
- onChange: j
116
- }), l = V ?? "", g = () => {
115
+ defaultValue: A ?? ((N = p[0]) == null ? void 0 : N.id) ?? "",
116
+ onChange: S
117
+ }), l = V ?? "", g = $(), h = () => {
117
118
  n == null || n(), m(!1);
118
- }, h = () => {
119
- l && A(l);
120
- }, y = c(s);
121
- y.current = s;
119
+ }, y = () => {
120
+ l && j(l);
121
+ }, w = c(r);
122
+ w.current = r;
122
123
  const b = c(l);
123
124
  b.current = l;
124
- const w = c(null);
125
- E(O, () => w.current, []);
126
- const H = J(
125
+ const x = c(null);
126
+ J(M, () => x.current, []);
127
+ const U = Q(
127
128
  () => ({
128
- isOpen: () => y.current,
129
+ isOpen: () => w.current,
129
130
  getSelectedPlanId: () => b.current || null,
130
- upgrade: () => h(),
131
- dismiss: () => g()
131
+ upgrade: () => y(),
132
+ dismiss: () => h()
132
133
  }),
133
134
  // eslint-disable-next-line react-hooks/exhaustive-deps
134
135
  []
135
136
  );
136
- Z(re, H, u);
137
- const U = r ? Math.min(
137
+ ee(de, U, u);
138
+ const B = t ? Math.min(
138
139
  100,
139
- Math.max(0, r.used / Math.max(1, r.limit) * 100)
140
- ) : 0, o = r ? r.used >= r.limit : !1;
141
- return /* @__PURE__ */ e(i.Root, { open: s, onOpenChange: m, children: /* @__PURE__ */ d(i.Portal, { children: [
140
+ Math.max(0, t.used / Math.max(1, t.limit) * 100)
141
+ ) : 0, o = t ? t.used >= t.limit : !1;
142
+ return /* @__PURE__ */ e(i.Root, { open: r, onOpenChange: m, children: /* @__PURE__ */ d(i.Portal, { children: [
142
143
  /* @__PURE__ */ e(
143
144
  i.Overlay,
144
145
  {
@@ -155,19 +156,19 @@ const re = {
155
156
  /* @__PURE__ */ d(
156
157
  i.Content,
157
158
  {
158
- ref: w,
159
+ ref: x,
159
160
  "aria-labelledby": f,
160
161
  "aria-describedby": v,
161
- className: te({ layout: z, density: T, className: M }),
162
+ className: ie({ layout: z, density: T, className: D }),
162
163
  "data-component": "freemium-paywall",
163
164
  "data-component-id": u,
164
165
  children: [
165
- /* @__PURE__ */ e(i.Title, { id: f, asChild: !0, children: /* @__PURE__ */ e("h2", { className: "type-title-card", children: F ?? a("paywall.title") }) }),
166
- /* @__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: S ?? a("paywall.description") }) }),
167
- r ? /* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-md)]", children: [
166
+ /* @__PURE__ */ e(i.Title, { id: f, asChild: !0, children: /* @__PURE__ */ e("h2", { className: "type-title-card", children: F ?? s("paywall.title") }) }),
167
+ /* @__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: O ?? s("paywall.description") }) }),
168
+ t ? /* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-md)]", children: [
168
169
  /* @__PURE__ */ d("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:mb-[var(--spacing-xs)]", children: [
169
170
  o ? /* @__PURE__ */ e(
170
- ae,
171
+ re,
171
172
  {
172
173
  "aria-hidden": "true",
173
174
  className: "ds:size-4 ds:text-[color:var(--destructive)]"
@@ -180,43 +181,46 @@ const re = {
180
181
  "type-body-sm",
181
182
  o ? "ds:text-[color:var(--destructive)]" : "ds:text-[color:var(--muted-foreground)]"
182
183
  ].join(" "),
183
- children: o ? a("paywall.usageFull") : a("paywall.usageLabel", {
184
- used: r.used,
185
- limit: r.limit
184
+ children: o ? s("paywall.usageFull") : s("paywall.usageLabel", {
185
+ used: t.used,
186
+ limit: t.limit
186
187
  })
187
188
  }
188
189
  )
189
190
  ] }),
190
191
  /* @__PURE__ */ e(
191
- $,
192
+ se,
192
193
  {
193
- value: U,
194
+ value: B,
194
195
  max: 100,
195
- ariaLabel: a("paywall.usageLabel", {
196
- used: r.used,
197
- limit: r.limit
196
+ ariaLabel: s("paywall.usageLabel", {
197
+ used: t.used,
198
+ limit: t.limit
198
199
  }),
199
200
  className: o ? "ds:[&_[role=progressbar]>*]:bg-[color:var(--destructive)]" : ""
200
201
  }
201
202
  )
202
203
  ] }) : null,
203
204
  /* @__PURE__ */ e(
204
- I.Root,
205
+ K.Root,
205
206
  {
206
207
  value: l,
207
- onValueChange: D,
208
- "aria-label": a("paywall.title"),
208
+ onValueChange: (a) => {
209
+ g.noteSelection(), H(a);
210
+ },
211
+ onKeyDown: g.onKeyDown,
212
+ "aria-label": s("paywall.title"),
209
213
  className: "ds:mt-[var(--spacing-md)] ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
210
- children: p.map((t) => {
211
- const N = ee(
212
- t.priceAmount,
213
- t.currency,
214
+ children: p.map((a) => {
215
+ const P = ae(
216
+ a.priceAmount,
217
+ a.currency,
214
218
  L.language
215
- ), P = t.perKey ? a(t.perKey) : void 0, B = P ? a("paywall.pricePer", { price: N, period: P }) : N, q = a(t.nameKey);
219
+ ), k = a.perKey ? s(a.perKey) : void 0, q = k ? s("paywall.pricePer", { price: P, period: k }) : P, G = s(a.nameKey);
216
220
  return /* @__PURE__ */ d(
217
- I.Item,
221
+ K.Item,
218
222
  {
219
- value: t.id,
223
+ value: a.id,
220
224
  className: [
221
225
  "ds:group ds:relative ds:flex ds:flex-col ds:items-stretch",
222
226
  "ds:rounded-[var(--radius-md)] ds:[:where(&)]:border-[length:var(--surface-border-width,var(--border-width-sm))] ds:border-[color:var(--card-border)]",
@@ -229,43 +233,43 @@ const re = {
229
233
  ].join(" "),
230
234
  children: [
231
235
  /* @__PURE__ */ d("span", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
232
- /* @__PURE__ */ e("span", { className: "ds:font-semibold", children: q }),
233
- /* @__PURE__ */ e("span", { className: "ds:tabular-nums", children: B })
236
+ /* @__PURE__ */ e("span", { className: "ds:font-semibold", children: G }),
237
+ /* @__PURE__ */ e("span", { className: "ds:tabular-nums", children: q })
234
238
  ] }),
235
- t.featuresKeys && t.featuresKeys.length > 0 ? /* @__PURE__ */ e(
239
+ a.featuresKeys && a.featuresKeys.length > 0 ? /* @__PURE__ */ e(
236
240
  "ul",
237
241
  {
238
- "aria-label": a("paywall.features"),
242
+ "aria-label": s("paywall.features"),
239
243
  className: "ds:mt-[var(--spacing-xs)] ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
240
- children: t.featuresKeys.map((G, W) => /* @__PURE__ */ d(
244
+ children: a.featuresKeys.map((W, _) => /* @__PURE__ */ d(
241
245
  "li",
242
246
  {
243
247
  className: "ds:flex ds:items-start ds:gap-[var(--spacing-xs)] type-body-sm",
244
248
  children: [
245
249
  /* @__PURE__ */ e(
246
- se,
250
+ te,
247
251
  {
248
252
  "aria-hidden": "true",
249
253
  className: "ds:size-4 ds:shrink-0 ds:text-[color:var(--primary)] ds:mt-[1px]"
250
254
  }
251
255
  ),
252
- /* @__PURE__ */ e("span", { children: a(G) })
256
+ /* @__PURE__ */ e("span", { children: s(W) })
253
257
  ]
254
258
  },
255
- W
259
+ _
256
260
  ))
257
261
  }
258
262
  ) : null
259
263
  ]
260
264
  },
261
- t.id
265
+ a.id
262
266
  );
263
267
  })
264
268
  }
265
269
  ),
266
270
  /* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-lg)] ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:justify-end", children: [
267
- /* @__PURE__ */ e(i.Cancel, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "outline", onClick: g, children: a("paywall.notNow") }) }),
268
- /* @__PURE__ */ e(i.Action, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "primary", onClick: h, children: a("paywall.upgrade") }) })
271
+ /* @__PURE__ */ e(i.Cancel, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "outline", onClick: h, children: s("paywall.notNow") }) }),
272
+ /* @__PURE__ */ e(i.Action, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "primary", onClick: y, children: s("paywall.upgrade") }) })
269
273
  ] })
270
274
  ]
271
275
  }
@@ -273,9 +277,9 @@ const re = {
273
277
  ] }) });
274
278
  }
275
279
  );
276
- de.displayName = "FreemiumPaywall";
280
+ le.displayName = "FreemiumPaywall";
277
281
  export {
278
- de as F,
279
- re as f
282
+ le as F,
283
+ de as f
280
284
  };
281
- //# sourceMappingURL=freemium-paywall-B6ojVXq7.js.map
285
+ //# sourceMappingURL=freemium-paywall-DIKuhX8b.js.map
@@ -4,9 +4,9 @@ import { c as de } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as ce } from "react-i18next";
5
5
  import { u as ue } from "./registry-DvAUVLHh.js";
6
6
  import { R as d } from "./radio-BBbMdbE_.js";
7
- import { R as S } from "./radio-group-BT97ty7o.js";
7
+ import { R as S } from "./radio-group-DicxWJXP.js";
8
8
  import { F as k } from "./form-field-Ani72sVY.js";
9
- import { D as _ } from "./date-picker-wRAcq2lt.js";
9
+ import { D as _ } from "./date-picker-BSZuKo13.js";
10
10
  import { S as me } from "./select-Ce5RMk93.js";
11
11
  import { S as ge } from "./switch-D--x7n6h.js";
12
12
  import { C as E } from "./card-DMO2nkt4.js";
@@ -485,4 +485,4 @@ Re.displayName = "GestationalAgeCalculator";
485
485
  export {
486
486
  Re as G
487
487
  };
488
- //# sourceMappingURL=gestational-age-calculator-BfGpt3du.js.map
488
+ //# sourceMappingURL=gestational-age-calculator-CZi43xKG.js.map
@@ -5,7 +5,7 @@ import { useTranslation as J } from "react-i18next";
5
5
  import { u as Q } from "./registry-DvAUVLHh.js";
6
6
  import { F as S } from "./form-field-Ani72sVY.js";
7
7
  import { N as P } from "./number-input-CVwI1ltI.js";
8
- import { D as G } from "./date-time-picker-CLeLKuv9.js";
8
+ import { D as G } from "./date-time-picker-CjxTkblD.js";
9
9
  import { C as B } from "./card-DMO2nkt4.js";
10
10
  import { B as X } from "./badge-hnBt8o7n.js";
11
11
  import { I as ee } from "./insert-result-C1C2OCc3.js";
@@ -309,4 +309,4 @@ export {
309
309
  re as M,
310
310
  oe as a
311
311
  };
312
- //# sourceMappingURL=hcg-doubling-BIYyI2Yo.js.map
312
+ //# sourceMappingURL=hcg-doubling-Ccvh7OaU.js.map
@@ -4,7 +4,7 @@ import { c as K } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as T } from "react-i18next";
5
5
  import { I as _ } from "./icon-button-COX76Jdj.js";
6
6
  import { D as n } from "./dropdown-menu-BQSNVp4x.js";
7
- import { u as H, c as g, L as O, a as j } from "./locale-picker-DfNSdOpy.js";
7
+ import { u as H, c as g, L as O, a as j } from "./locale-picker-BGfrZyTw.js";
8
8
  import { u as N } from "./use-locale-BExNy9Dl.js";
9
9
  import { u as x } from "./use-theme-CAuo6EYT.js";
10
10
  import { u as D } from "./registry-DvAUVLHh.js";
@@ -302,4 +302,4 @@ B.displayName = "HeaderSettings";
302
302
  export {
303
303
  B as H
304
304
  };
305
- //# sourceMappingURL=header-settings-ge_3gYEq.js.map
305
+ //# sourceMappingURL=header-settings-BMcCx2LC.js.map
@@ -2036,7 +2036,7 @@ const ea = fa(
2036
2036
  }
2037
2037
  );
2038
2038
  ea.displayName = "HeatmapLegend";
2039
- const ta = () => import("./data-table-C6T31E33.js").then((e) => e.h).then((e) => ({
2039
+ const ta = () => import("./data-table-fAMTeAjM.js").then((e) => e.h).then((e) => ({
2040
2040
  default: e.DataTable
2041
2041
  })), Mr = va(ta);
2042
2042
  function ha() {
@@ -2862,4 +2862,4 @@ export {
2862
2862
  Na as b,
2863
2863
  Ya as h
2864
2864
  };
2865
- //# sourceMappingURL=heatmap-BARGZZt2.js.map
2865
+ //# sourceMappingURL=heatmap-BEeOThkW.js.map
@@ -5,7 +5,7 @@ import { c as ce } from "./index-D2ZczOXr.js";
5
5
  import { A as O } from "./alert-BhCstf2h.js";
6
6
  import { B as N } from "./button-Bn16lcFM.js";
7
7
  import { I as B } from "./icon-button-COX76Jdj.js";
8
- import { D as x } from "./dialog-D52AI4nF.js";
8
+ import { D as x } from "./dialog-Dn-iQ0Jp.js";
9
9
  import { E as de } from "./editor-overlay-NMxzcO6J.js";
10
10
  import { E as me } from "./empty-state-gNG3qYCX.js";
11
11
  import { F as Z } from "./form-field-Ani72sVY.js";
@@ -744,4 +744,4 @@ export {
744
744
  Le as c,
745
745
  mr as u
746
746
  };
747
- //# sourceMappingURL=help-me-write-templates-B7L3zGsE.js.map
747
+ //# sourceMappingURL=help-me-write-templates-BUoYGo6f.js.map