@alfadocs/ui-kit 1.95.1 → 1.96.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 (199) hide show
  1. package/dist/_chunks/{anamnesis-card-BcadMmEM.js → anamnesis-card-BzuluoD1.js} +2 -2
  2. package/dist/_chunks/{anamnesis-summary-card-DQ3iE1gD.js → anamnesis-summary-card-DdTRdNrQ.js} +2 -2
  3. package/dist/_chunks/{anamnesis-summary-rows-krsCC-F4.js → anamnesis-summary-rows-CdRUXoaA.js} +3 -3
  4. package/dist/_chunks/{antenatal-schedule-timeline-BGewPfEX.js → antenatal-schedule-timeline-DmsY5g28.js} +2 -2
  5. package/dist/_chunks/{balance-badge-cell-DbgEQsou.js → balance-badge-cell-DcBmtijD.js} +2 -2
  6. package/dist/_chunks/{bishop-score-BBYuyk2k.js → bishop-score-BhMomGcX.js} +2 -2
  7. package/dist/_chunks/{bmi-calculator-BIExHBZV.js → bmi-calculator-NMkXc079.js} +2 -2
  8. package/dist/_chunks/{calendar-appointment-editor-dialog-D3tQ8N34.js → calendar-appointment-editor-dialog-BOZ5wk96.js} +8 -8
  9. package/dist/_chunks/{card-BA4Ig_kn.js → card-C85_Ndhb.js} +96 -68
  10. package/dist/_chunks/{clinical-note-card-Cut2lNmu.js → clinical-note-card-CWHFnCmY.js} +2 -2
  11. package/dist/_chunks/{connection-status-CVyCqxiY.js → connection-status-CWSU3eiq.js} +2 -2
  12. package/dist/_chunks/{contact-card-ClvEDM9e.js → contact-card-CymtNvy3.js} +2 -2
  13. package/dist/_chunks/{contact-profile-card-CX45mZA3.js → contact-profile-card-jBf9U4At.js} +2 -2
  14. package/dist/_chunks/{cycle-calculator-CQkjVSD2.js → cycle-calculator-ZMDvToIm.js} +2 -2
  15. package/dist/_chunks/{data-table-tabs-DlTPtqoI.js → data-table-tabs-CcgU2lr5.js} +2 -2
  16. package/dist/_chunks/{data-table-Bh9_IEj4.js → data-table-xUDjZS_O.js} +2 -2
  17. package/dist/_chunks/{document-preview-CL1xsnLS.js → document-preview-DWIQryMW.js} +2 -2
  18. package/dist/_chunks/{due-date-calculator-NjTlmoFK.js → due-date-calculator-Dr2cDa64.js} +3 -3
  19. package/dist/_chunks/editable-currency-cell-renderer-BEaj2NT_.js +493 -0
  20. package/dist/_chunks/{entity-summary-B_bOloqP.js → entity-summary-BJdfIsk_.js} +2 -2
  21. package/dist/_chunks/{face-scheme-DyHc3zPt.js → face-scheme-BmygzbZr.js} +2 -2
  22. package/dist/_chunks/{fetal-weight-Brl3n4LN.js → fetal-weight-CkIwJgiH.js} +2 -2
  23. package/dist/_chunks/{file-manager-Cgf2yc10.js → file-manager-Ba_TcfCj.js} +2 -2
  24. package/dist/_chunks/{finished-terminal-D8ohcFVS.js → finished-terminal-DXVAfhRr.js} +2 -2
  25. package/dist/_chunks/{forgot-password-form-BQPvDS7i.js → forgot-password-form-BCk4rGIh.js} +2 -2
  26. package/dist/_chunks/{gestational-age-calculator-Dn8IOXHB.js → gestational-age-calculator-CXcDKQqC.js} +3 -3
  27. package/dist/_chunks/{hcg-doubling-DQe1ptNB.js → hcg-doubling-BJFR3onB.js} +2 -2
  28. package/dist/_chunks/{header-settings-DittkpqU.js → header-settings-C2D74i4g.js} +2 -2
  29. package/dist/_chunks/{heatmap-9Ql8Ny9d.js → heatmap-C9tEvqEm.js} +3 -3
  30. package/dist/_chunks/{icon-picker-Bkm9m7ju.js → icon-picker-DQMG9L6M.js} +2 -2
  31. package/dist/_chunks/info-tip-Do3RFt60.js +216 -0
  32. package/dist/_chunks/{kit-extensions-44gudqqq.js → kit-extensions-C4o_tFN4.js} +6 -6
  33. package/dist/_chunks/{locale-picker-DVvinQXU.js → locale-picker-B1NAHW4U.js} +2 -2
  34. package/dist/_chunks/{login-dev-card-BZBR58mu.js → login-dev-card-DcfcFJrm.js} +2 -2
  35. package/dist/_chunks/{marketplace-app-shell-C8nHixB8.js → marketplace-app-shell-DDZI-uBl.js} +3 -3
  36. package/dist/_chunks/{notes-panel-D6YhNGHU.js → notes-panel-DfjF83IK.js} +4 -4
  37. package/dist/_chunks/{operator-hero-D_0KoEuJ.js → operator-hero-N_ziNGFF.js} +2 -2
  38. package/dist/_chunks/{patient-details-DQQpgx4A.js → patient-details-DGHkAErB.js} +3 -3
  39. package/dist/_chunks/{patient-field-row-Cb5jUd5Q.js → patient-field-row-BVK4y98C.js} +2 -2
  40. package/dist/_chunks/{patient-search-Cp2efqHs.js → patient-search-CL6dtBIq.js} +2 -2
  41. package/dist/_chunks/{patient-summary-card-BvMI0eMu.js → patient-summary-card-DXz07c2X.js} +3 -3
  42. package/dist/_chunks/{payment-automation-upsell-D1YdO1xY.js → payment-automation-upsell-CZk6f8aK.js} +3 -3
  43. package/dist/_chunks/{payment-request-card-BfGauFY0.js → payment-request-card-BbpN8GQg.js} +2 -2
  44. package/dist/_chunks/{periodontal-chart-_y4Ck7_P.js → periodontal-chart-Cw-ZsIls.js} +2 -2
  45. package/dist/_chunks/{periodontal-chart-card-Bx6PeS3b.js → periodontal-chart-card-CG8mxR62.js} +2 -2
  46. package/dist/_chunks/{periodontal-diagnosis-DD3hrg9X.js → periodontal-diagnosis-CF1d_0yl.js} +2 -2
  47. package/dist/_chunks/{periodontal-risk-chart-B7S9OmPC.js → periodontal-risk-chart-D2zyID0H.js} +2 -2
  48. package/dist/_chunks/{popover-Da1ekjV1.js → popover-CN5IsOeS.js} +156 -148
  49. package/dist/_chunks/{practice-profile-hero-ClzE-4CB.js → practice-profile-hero-DKmnB-M0.js} +2 -2
  50. package/dist/_chunks/{pregnancy-dating-CuVj9KGR.js → pregnancy-dating-D0Kf9s7s.js} +3 -3
  51. package/dist/_chunks/{pregnancy-weight-gain-BeQRxwdP.js → pregnancy-weight-gain-B_Zldlzq.js} +2 -2
  52. package/dist/_chunks/{privacy-mask-BDVkikTm.js → privacy-mask-DbEKI-Jv.js} +2 -2
  53. package/dist/_chunks/{registration-form-BygI73vG.js → registration-form-K4j2tdLt.js} +2 -2
  54. package/dist/_chunks/{reserved.agent-BvwjDyne.js → reserved.agent-TRbKB39d.js} +2 -2
  55. package/dist/_chunks/{reset-password-form-Cf9QPEJu.js → reset-password-form-C6XLV7SI.js} +2 -2
  56. package/dist/_chunks/{reviews-panel-B7InBORU.js → reviews-panel-jPYgYvxG.js} +2 -2
  57. package/dist/_chunks/{rich-text-editor-iw2tJLKA.js → rich-text-editor-CJfT08It.js} +2 -2
  58. package/dist/_chunks/{section-card-D5nWiTcK.js → section-card-D1sV4Voz.js} +2 -2
  59. package/dist/_chunks/{send-registration-link-form-CZYOO7NO.js → send-registration-link-form-yLSfcaPk.js} +2 -2
  60. package/dist/_chunks/{stat-D2PNJujA.js → stat-Dno2ZihS.js} +111 -96
  61. package/dist/_chunks/{task-card-C4HJUKVw.js → task-card-TSJjuuDe.js} +2 -2
  62. package/dist/_chunks/{task-editor-BlGdXR9F.js → task-editor-qXfMbHsy.js} +2 -2
  63. package/dist/_chunks/{task-tray-DZQGhDdc.js → task-tray-DrXfMCuf.js} +2 -2
  64. package/dist/_chunks/{tasks-panel-Q0CiEAff.js → tasks-panel-iVeuu9a8.js} +2 -2
  65. package/dist/_chunks/{timeline-BcYHdP56.js → timeline-B32dylRJ.js} +2 -2
  66. package/dist/_chunks/{use-appointment-details-read-CpXRSfPI.js → use-appointment-details-read-UXXvBeGZ.js} +5 -5
  67. package/dist/_chunks/{workflow-map-BWJhlZbC.js → workflow-map-flsvqQ3L.js} +2 -2
  68. package/dist/_chunks/{workflow-webhook-action-Uhyfr6_6.js → workflow-webhook-action-BD-6UyOs.js} +2 -2
  69. package/dist/ag-grid.css +3 -1
  70. package/dist/agent-catalog.json +2 -2
  71. package/dist/agent-i18n/en.json +1 -1
  72. package/dist/components/anamnesis-card/index.js +1 -1
  73. package/dist/components/anamnesis-summary-card/index.js +1 -1
  74. package/dist/components/appointment-details-panel/index.js +1 -1
  75. package/dist/components/bishop-score/index.js +1 -1
  76. package/dist/components/bmi-calculator/index.js +1 -1
  77. package/dist/components/booking/index.js +1 -1
  78. package/dist/components/card/card.d.ts +10 -1
  79. package/dist/components/card/index.d.ts +1 -1
  80. package/dist/components/card/index.js +1 -1
  81. package/dist/components/clinical-note-card/index.js +1 -1
  82. package/dist/components/connection-status/index.js +1 -1
  83. package/dist/components/contact-card/index.js +1 -1
  84. package/dist/components/contact-profile-card/index.js +1 -1
  85. package/dist/components/cycle-calculator/index.js +1 -1
  86. package/dist/components/data-table/header-info.d.ts +31 -0
  87. package/dist/components/data-table/index.d.ts +1 -0
  88. package/dist/components/data-table/index.js +19 -18
  89. package/dist/components/data-table-tabs/index.js +1 -1
  90. package/dist/components/document-preview/index.js +1 -1
  91. package/dist/components/due-date-calculator/index.js +2 -2
  92. package/dist/components/entity-summary/index.js +1 -1
  93. package/dist/components/face-scheme/index.js +1 -1
  94. package/dist/components/fetal-weight/index.js +1 -1
  95. package/dist/components/file-manager/index.js +1 -1
  96. package/dist/components/finished-terminal/index.js +1 -1
  97. package/dist/components/gestational-age-calculator/index.js +1 -1
  98. package/dist/components/hcg-doubling/index.js +1 -1
  99. package/dist/components/header-settings/index.js +1 -1
  100. package/dist/components/heatmap/index.js +1 -1
  101. package/dist/components/icon-picker/index.js +1 -1
  102. package/dist/components/info-tip/index.js +1 -1
  103. package/dist/components/info-tip/info-tip.d.ts +21 -1
  104. package/dist/components/locale-picker/index.js +1 -1
  105. package/dist/components/notes-panel/index.js +1 -1
  106. package/dist/components/operator-hero/index.js +1 -1
  107. package/dist/components/patient-details/index.js +1 -1
  108. package/dist/components/patient-search/index.js +1 -1
  109. package/dist/components/patient-summary-card/index.js +1 -1
  110. package/dist/components/patient-table/index.js +1 -1
  111. package/dist/components/payment-card/index.js +1 -1
  112. package/dist/components/periodontal-chart/index.js +1 -1
  113. package/dist/components/periodontal-chart-card/index.js +1 -1
  114. package/dist/components/periodontal-diagnosis/index.js +1 -1
  115. package/dist/components/periodontal-risk-chart/index.js +1 -1
  116. package/dist/components/popover/index.js +1 -1
  117. package/dist/components/practice-profile-hero/index.js +1 -1
  118. package/dist/components/pregnancy-dating/index.js +1 -1
  119. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  120. package/dist/components/reviews-panel/index.js +1 -1
  121. package/dist/components/rich-text-editor/index.js +2 -2
  122. package/dist/components/section-card/index.js +1 -1
  123. package/dist/components/stat/index.js +1 -1
  124. package/dist/components/stat/stat.d.ts +8 -0
  125. package/dist/components/task-card/index.js +1 -1
  126. package/dist/components/task-editor/index.js +1 -1
  127. package/dist/components/task-tray/index.js +1 -1
  128. package/dist/components/tasks-panel/index.js +1 -1
  129. package/dist/components/timeline/index.js +1 -1
  130. package/dist/components/workflow/index.js +1 -1
  131. package/dist/i18n/locales/ar.d.ts +2 -0
  132. package/dist/i18n/locales/ar.js +3 -1
  133. package/dist/i18n/locales/de.d.ts +2 -0
  134. package/dist/i18n/locales/de.js +3 -1
  135. package/dist/i18n/locales/el.d.ts +2 -0
  136. package/dist/i18n/locales/el.js +3 -1
  137. package/dist/i18n/locales/en.d.ts +2 -0
  138. package/dist/i18n/locales/en.js +3 -1
  139. package/dist/i18n/locales/es.d.ts +2 -0
  140. package/dist/i18n/locales/es.js +3 -1
  141. package/dist/i18n/locales/fr.d.ts +2 -0
  142. package/dist/i18n/locales/fr.js +3 -1
  143. package/dist/i18n/locales/hi.d.ts +2 -0
  144. package/dist/i18n/locales/hi.js +3 -1
  145. package/dist/i18n/locales/it.d.ts +2 -0
  146. package/dist/i18n/locales/it.js +3 -1
  147. package/dist/i18n/locales/ja.d.ts +2 -0
  148. package/dist/i18n/locales/ja.js +3 -1
  149. package/dist/i18n/locales/nl.d.ts +2 -0
  150. package/dist/i18n/locales/nl.js +3 -1
  151. package/dist/i18n/locales/pl.d.ts +2 -0
  152. package/dist/i18n/locales/pl.js +3 -1
  153. package/dist/i18n/locales/pt.d.ts +2 -0
  154. package/dist/i18n/locales/pt.js +3 -1
  155. package/dist/i18n/locales/ro.d.ts +2 -0
  156. package/dist/i18n/locales/ro.js +3 -1
  157. package/dist/i18n/locales/ru.d.ts +2 -0
  158. package/dist/i18n/locales/ru.js +3 -1
  159. package/dist/i18n/locales/sq.d.ts +2 -0
  160. package/dist/i18n/locales/sq.js +3 -1
  161. package/dist/i18n/locales/sv.d.ts +2 -0
  162. package/dist/i18n/locales/sv.js +3 -1
  163. package/dist/i18n/locales/tr.d.ts +2 -0
  164. package/dist/i18n/locales/tr.js +3 -1
  165. package/dist/i18n/locales/zh.d.ts +2 -0
  166. package/dist/i18n/locales/zh.js +3 -1
  167. package/dist/index.js +914 -913
  168. package/dist/locales/ar.json +3 -1
  169. package/dist/locales/de.json +3 -1
  170. package/dist/locales/el.json +3 -1
  171. package/dist/locales/en.json +3 -1
  172. package/dist/locales/es.json +3 -1
  173. package/dist/locales/fr.json +3 -1
  174. package/dist/locales/hi.json +3 -1
  175. package/dist/locales/it.json +3 -1
  176. package/dist/locales/ja.json +3 -1
  177. package/dist/locales/nl.json +3 -1
  178. package/dist/locales/pl.json +3 -1
  179. package/dist/locales/pt.json +3 -1
  180. package/dist/locales/ro.json +3 -1
  181. package/dist/locales/ru.json +3 -1
  182. package/dist/locales/sq.json +3 -1
  183. package/dist/locales/sv.json +3 -1
  184. package/dist/locales/tr.json +3 -1
  185. package/dist/locales/zh.json +3 -1
  186. package/dist/patterns/anamnesis/index.js +1 -1
  187. package/dist/patterns/calendar/index.js +1 -1
  188. package/dist/patterns/forgot-password-form/index.js +1 -1
  189. package/dist/patterns/login-form/index.js +1 -1
  190. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  191. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  192. package/dist/patterns/registration-form/index.js +1 -1
  193. package/dist/patterns/reset-password-form/index.js +1 -1
  194. package/dist/patterns/send-registration-link-form/index.js +1 -1
  195. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  196. package/dist/tokens.css +1 -0
  197. package/package.json +1 -1
  198. package/dist/_chunks/editable-currency-cell-renderer-BQYL5GjP.js +0 -412
  199. package/dist/_chunks/info-tip-Cfd5SKbY.js +0 -166
@@ -0,0 +1,216 @@
1
+ import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
+ import { forwardRef as A, useState as S, useRef as r, useEffect as E, useMemo as R } from "react";
3
+ import { c as F } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as M } from "react-i18next";
5
+ import { P as i } from "./popover-CN5IsOeS.js";
6
+ import { L as H } from "./link-DtCfnLnF.js";
7
+ import { c as V } from "./compose-refs-C0k0tdqF.js";
8
+ import { u as q } from "./registry-DvAUVLHh.js";
9
+ import { I as B } from "./info-CGn22peZ.js";
10
+ const G = {
11
+ id: "info-tip",
12
+ capabilities: ["open", "close"],
13
+ state: {
14
+ isOpen: {
15
+ type: "boolean",
16
+ descriptionKey: "ui.agent.infoTip.state.isOpen",
17
+ description: "True when the info tip card is currently open.",
18
+ read: (s) => s.getIsOpen()
19
+ }
20
+ },
21
+ actions: {
22
+ open: {
23
+ safety: "read",
24
+ idempotent: !0,
25
+ descriptionKey: "ui.agent.infoTip.actions.open",
26
+ description: "Open the info tip card (including its formula and Learn more link, when set).",
27
+ invoke: (s) => {
28
+ s.open();
29
+ }
30
+ },
31
+ close: {
32
+ safety: "read",
33
+ idempotent: !0,
34
+ descriptionKey: "ui.agent.infoTip.actions.close",
35
+ description: "Close the info tip card.",
36
+ invoke: (s) => {
37
+ s.close();
38
+ }
39
+ }
40
+ },
41
+ domHooks: {
42
+ root: {
43
+ attr: "data-component",
44
+ value: "info-tip",
45
+ description: "Marks the InfoTip trigger button."
46
+ },
47
+ instanceId: {
48
+ attr: "data-component-id",
49
+ sourceProp: "id",
50
+ description: "Sourced from the id prop on InfoTip."
51
+ }
52
+ }
53
+ }, J = F(
54
+ [
55
+ "ds:relative ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center",
56
+ "ds:rounded-[var(--radius-full)]",
57
+ "ds:bg-[var(--card)]",
58
+ "ds:text-[var(--accent)]",
59
+ // Single ring: the Lucide Info glyph draws its own accent circle, so the
60
+ // trigger carries NO CSS border of its own (a border would read as a
61
+ // second, concentric ring). The white circle comes from `bg-card` showing
62
+ // through the glyph, lifted by the drop shadow.
63
+ "ds:shadow-[var(--shadow-sm)]",
64
+ "ds:cursor-pointer",
65
+ "ds:transition-[color,box-shadow] ds:motion-reduce:transition-none",
66
+ "ds:hover:text-[var(--accent-hover)] ds:hover:shadow-[var(--shadow-md)]",
67
+ "ds:data-[state=open]:text-[var(--accent-hover)] ds:data-[state=open]:shadow-[var(--shadow-md)]",
68
+ "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
69
+ "ds:forced-colors:focus-visible:outline-[CanvasText]"
70
+ ].join(" "),
71
+ {
72
+ variants: {
73
+ size: {
74
+ // Both diameters sit below `--min-target-size` (44/48px), so each
75
+ // re-uses IconButton's invisible `::before` hit-area expansion to a
76
+ // full touch target on touch / small screens. From the `sm:`
77
+ // breakpoint up the pointer is precise, so the expansion relaxes —
78
+ // but the interactive target must never fall below WCAG 2.5.8's 24px:
79
+ // • md (24px visual) already meets the 24px floor, so its `::before`
80
+ // is hidden on desktop and the 24px circle IS the target.
81
+ // • sm (20px visual) would fall to 20px if hidden — below the floor
82
+ // — so instead of hiding, its `::before` shrinks to a persistent
83
+ // `--spacing-lg` (24px) minimum that holds on desktop too.
84
+ sm: 'ds:w-5 ds:h-5 ds:before:absolute ds:before:inset-x-[calc((var(--min-target-size)-100%)/-2)] ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[""] ds:sm:before:inset-x-[calc((var(--spacing-lg)-100%)/-2)] ds:sm:before:inset-y-[calc((var(--spacing-lg)-100%)/-2)]',
85
+ md: 'ds:w-6 ds:h-6 ds:before:absolute ds:before:inset-x-[calc((var(--min-target-size)-100%)/-2)] ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[""] ds:sm:before:hidden'
86
+ }
87
+ },
88
+ defaultVariants: {
89
+ size: "md"
90
+ }
91
+ }
92
+ ), Q = A(
93
+ ({
94
+ content: s,
95
+ heading: l,
96
+ size: f = "md",
97
+ side: D = "top",
98
+ align: z = "center",
99
+ "aria-label": C,
100
+ id: v,
101
+ className: L,
102
+ formula: g,
103
+ learnMoreHref: h,
104
+ learnMoreLabel: N,
105
+ onLearnMore: K
106
+ }, b) => {
107
+ const { t: p } = M("ui"), [a, c] = S(!1), n = r(a);
108
+ E(() => {
109
+ n.current = a;
110
+ }, [a]);
111
+ const P = R(
112
+ () => ({
113
+ getIsOpen: () => n.current,
114
+ open: () => c(!0),
115
+ close: () => c(!1)
116
+ }),
117
+ []
118
+ );
119
+ q(G, P, v);
120
+ const u = r(null), y = () => {
121
+ u.current = n.current;
122
+ }, T = h != null, w = r(null), j = R(
123
+ () => V(b, w),
124
+ [b]
125
+ ), m = r(null), x = r(null), k = C ?? p("infoTip.triggerLabel", "More information");
126
+ return /* @__PURE__ */ t(i, { openOn: "hover-or-click", open: a, onOpenChange: c, children: [
127
+ /* @__PURE__ */ o(
128
+ i.Trigger,
129
+ {
130
+ ref: j,
131
+ "aria-label": k,
132
+ className: J({ size: f, className: L }),
133
+ "data-component": "info-tip",
134
+ "data-component-id": v,
135
+ onPointerDown: y,
136
+ onKeyDown: (e) => {
137
+ (e.key === "Enter" || e.key === " ") && y(), T && e.key === "Tab" && !e.shiftKey && n.current && m.current && (e.preventDefault(), m.current.focus());
138
+ },
139
+ onClick: (e) => {
140
+ const d = u.current;
141
+ u.current = null, d === !1 && n.current && e.preventDefault();
142
+ },
143
+ children: /* @__PURE__ */ o(
144
+ B,
145
+ {
146
+ "aria-hidden": "true",
147
+ className: f === "sm" ? "ds:size-5" : "ds:size-6"
148
+ }
149
+ )
150
+ }
151
+ ),
152
+ /* @__PURE__ */ t(
153
+ i.Content,
154
+ {
155
+ ref: x,
156
+ side: D,
157
+ align: z,
158
+ size: f === "sm" ? "sm" : "md",
159
+ "aria-label": l == null ? k : void 0,
160
+ onOpenAutoFocus: (e) => e.preventDefault(),
161
+ onCloseAutoFocus: (e) => e.preventDefault(),
162
+ onEscapeKeyDown: (e) => {
163
+ var I, O;
164
+ const d = document.activeElement;
165
+ d && ((I = x.current) != null && I.contains(d)) && (e.preventDefault(), (O = w.current) == null || O.focus(), c(!1));
166
+ },
167
+ children: [
168
+ l != null && /* @__PURE__ */ o(i.Heading, { children: l }),
169
+ /* @__PURE__ */ t(i.Description, { children: [
170
+ s,
171
+ g != null && /* @__PURE__ */ t(
172
+ "div",
173
+ {
174
+ "data-slot": "formula",
175
+ className: "type-body-sm ds:mt-[var(--spacing-sm)] ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)] ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-xs)] ds:text-[var(--foreground)] ds:tabular-nums",
176
+ children: [
177
+ /* @__PURE__ */ t("span", { className: "ds:sr-only", children: [
178
+ p("infoTip.formula", "Formula"),
179
+ ":",
180
+ " "
181
+ ] }),
182
+ g
183
+ ]
184
+ }
185
+ )
186
+ ] }),
187
+ T && /* @__PURE__ */ o(
188
+ "div",
189
+ {
190
+ "data-slot": "footer",
191
+ className: "ds:mt-[var(--spacing-sm)] ds:flex ds:justify-end",
192
+ children: /* @__PURE__ */ o(
193
+ H,
194
+ {
195
+ ref: m,
196
+ href: h,
197
+ onClick: K,
198
+ weight: "strong",
199
+ className: "type-body-sm",
200
+ children: N ?? p("infoTip.learnMore", "Learn more")
201
+ }
202
+ )
203
+ }
204
+ )
205
+ ]
206
+ }
207
+ )
208
+ ] });
209
+ }
210
+ );
211
+ Q.displayName = "InfoTip";
212
+ export {
213
+ Q as I,
214
+ G as i
215
+ };
216
+ //# sourceMappingURL=info-tip-Do3RFt60.js.map
@@ -1,9 +1,9 @@
1
1
  import { createElement as e } from "react";
2
- import { P as i } from "./pregnancy-dating-CuVj9KGR.js";
3
- import { P as o } from "./pregnancy-weight-gain-BeQRxwdP.js";
4
- import { G as r } from "./gestational-age-calculator-Dn8IOXHB.js";
5
- import { C as c } from "./cycle-calculator-CQkjVSD2.js";
6
- import { F as s } from "./fetal-weight-Brl3n4LN.js";
2
+ import { P as i } from "./pregnancy-dating-D0Kf9s7s.js";
3
+ import { P as o } from "./pregnancy-weight-gain-B_Zldlzq.js";
4
+ import { G as r } from "./gestational-age-calculator-CXcDKQqC.js";
5
+ import { C as c } from "./cycle-calculator-ZMDvToIm.js";
6
+ import { F as s } from "./fetal-weight-CkIwJgiH.js";
7
7
  import { c as a } from "./createLucideIcon-DhHxpK9K.js";
8
8
  import { B as n } from "./baby-Dku-Xvg9.js";
9
9
  import { H as d } from "./heart--qCA4ffe.js";
@@ -91,4 +91,4 @@ const k = [
91
91
  export {
92
92
  I as k
93
93
  };
94
- //# sourceMappingURL=kit-extensions-44gudqqq.js.map
94
+ //# sourceMappingURL=kit-extensions-C4o_tFN4.js.map
@@ -4,7 +4,7 @@ import { c as X } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as H } from "react-i18next";
5
5
  import { _ as y, R as _e } from "./index-4xgbg-sn.js";
6
6
  import { I as fe } from "./icon-button-S8_weU3g.js";
7
- import { P as b } from "./popover-Da1ekjV1.js";
7
+ import { P as b } from "./popover-CN5IsOeS.js";
8
8
  import { F as ve, f as pe, s as $, _ as he, a as ye, b as be, c as Ne, d as Le, e as Se, g as xe, h as Ce, i as ke, j as we, k as Pe, l as Ee, m as Re, n as Ie, o as Te, p as Ae, q as De, r as Fe, t as je, u as Oe, v as Ue, w as Ge, x as ze, y as He, z as Me, A as Be, B as qe, C as Je, D as Ke, E as Ve, G as We, H as Ye, I as Qe, J as Xe, K as $e, L as Ze } from "./flag-view-udarpAot.js";
9
9
  import { b as es } from "./menu-row-BAr8bx1I.js";
10
10
  import { c as ss, a as os, d as as } from "./input-surface-iBmxVBfr.js";
@@ -882,4 +882,4 @@ export {
882
882
  U as r,
883
883
  _s as u
884
884
  };
885
- //# sourceMappingURL=locale-picker-DVvinQXU.js.map
885
+ //# sourceMappingURL=locale-picker-B1NAHW4U.js.map
@@ -5,7 +5,7 @@ import { c as B } from "./index-D2ZczOXr.js";
5
5
  import { E as Pe, i as Te } from "./email-input-C7THAwh2.js";
6
6
  import { B as he } from "./button-DohK_Ak_.js";
7
7
  import { C as je } from "./checkbox-a7Sh-dXb.js";
8
- import { C as b } from "./card-BA4Ig_kn.js";
8
+ import { C as b } from "./card-C85_Ndhb.js";
9
9
  import { T as De } from "./text-input-CaG9ApoE.js";
10
10
  import { E as He } from "./error-summary-mGxIyDAY.js";
11
11
  import { F as ue } from "./form-field-CyHfOVKF.js";
@@ -382,4 +382,4 @@ export {
382
382
  is as a,
383
383
  ns as b
384
384
  };
385
- //# sourceMappingURL=login-dev-card-BZBR58mu.js.map
385
+ //# sourceMappingURL=login-dev-card-DcfcFJrm.js.map
@@ -5,11 +5,11 @@ import { c as p } from "./index-D2ZczOXr.js";
5
5
  import { A as q } from "./app-frame-DUPEwu4E.js";
6
6
  import { A as F } from "./avatar-a6042Ox2.js";
7
7
  import { A as be } from "./alert-9kEwDza3.js";
8
- import { C as U } from "./card-BA4Ig_kn.js";
8
+ import { C as U } from "./card-C85_Ndhb.js";
9
9
  import { D as u } from "./dropdown-menu-CqxBthww.js";
10
10
  import { T as ke } from "./tab-bar-C_pggqVr.js";
11
11
  import { a as Y, H as we, g as Ne, f as G, e as ye, c as Se, d as Ce } from "./header-l_B8MV0g.js";
12
- import { H as Ae } from "./header-settings-DittkpqU.js";
12
+ import { H as Ae } from "./header-settings-C2D74i4g.js";
13
13
  import { S as Te } from "./sign-in-with-alfadocs-button-DzrNgbWv.js";
14
14
  import { S as Ee, a as ee, v as ze, h as Ie, c as Me, r as Le, b as He, l as Ve, m as Be, k as Re, j as J } from "./sidebar-BS24EnYd.js";
15
15
  import { N as De } from "./navigation-dismiss-B1mcW1CT.js";
@@ -656,4 +656,4 @@ export {
656
656
  na as M,
657
657
  y as P
658
658
  };
659
- //# sourceMappingURL=marketplace-app-shell-C8nHixB8.js.map
659
+ //# sourceMappingURL=marketplace-app-shell-DDZI-uBl.js.map
@@ -4,15 +4,15 @@ import { c as Et } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as kn } from "react-i18next";
5
5
  import { g as mt, h as Rt } from "./handled-rejection-6gqCf5vt.js";
6
6
  import { u as zn } from "./registry-DvAUVLHh.js";
7
- import { C as Hn } from "./clinical-note-card-Cut2lNmu.js";
8
- import { R as Mn } from "./rich-text-editor-iw2tJLKA.js";
7
+ import { C as Hn } from "./clinical-note-card-CWHFnCmY.js";
8
+ import { R as Mn } from "./rich-text-editor-CJfT08It.js";
9
9
  import { T as Wn } from "./text-area-COMVJ1yE.js";
10
10
  import { A as j } from "./alert-9kEwDza3.js";
11
11
  import { B as te } from "./button-DohK_Ak_.js";
12
12
  import { I as vt } from "./icon-button-S8_weU3g.js";
13
13
  import { S as $n } from "./switch-D--x7n6h.js";
14
14
  import { T as Bn } from "./tooltip-uEBdD1-5.js";
15
- import { C as yt } from "./card-BA4Ig_kn.js";
15
+ import { C as yt } from "./card-C85_Ndhb.js";
16
16
  import { C as Kn, S as ve } from "./skeleton-tTWJpvAq.js";
17
17
  import { D as L } from "./dialog-C7RWaH08.js";
18
18
  import { P as In } from "./panel-header-CbtlTe85.js";
@@ -1109,4 +1109,4 @@ const jr = qn(
1109
1109
  export {
1110
1110
  jr as N
1111
1111
  };
1112
- //# sourceMappingURL=notes-panel-D6YhNGHU.js.map
1112
+ //# sourceMappingURL=notes-panel-DfjF83IK.js.map
@@ -4,7 +4,7 @@ import { c as I } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as T } from "react-i18next";
5
5
  import { A as V } from "./avatar-a6042Ox2.js";
6
6
  import { B } from "./badge-BUk4RjTS.js";
7
- import { C as K } from "./card-BA4Ig_kn.js";
7
+ import { C as K } from "./card-C85_Ndhb.js";
8
8
  import { R as S } from "./rating-CGYpg5dj.js";
9
9
  import { f as E } from "./format-number-DdzqwMs1.js";
10
10
  import { u as M } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
@@ -218,4 +218,4 @@ export {
218
218
  F as O,
219
219
  q as o
220
220
  };
221
- //# sourceMappingURL=operator-hero-D_0KoEuJ.js.map
221
+ //# sourceMappingURL=operator-hero-N_ziNGFF.js.map
@@ -3,12 +3,12 @@ import { forwardRef as X, useId as T, useMemo as Z, Fragment as $ } from "react"
3
3
  import { c as j } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as A } from "react-i18next";
5
5
  import { A as ee } from "./avatar-a6042Ox2.js";
6
- import { C as f } from "./card-BA4Ig_kn.js";
6
+ import { C as f } from "./card-C85_Ndhb.js";
7
7
  import { C as ie, b as te, a as se } from "./collapsible-DVPM46bq.js";
8
8
  import { D as ae } from "./description-list-BxzDN9o2.js";
9
9
  import { P as de } from "./panel-header-CbtlTe85.js";
10
10
  import { u as re } from "./registry-DvAUVLHh.js";
11
- import { u as ne, F as le, r as oe, P as ce } from "./patient-field-row-Cb5jUd5Q.js";
11
+ import { u as ne, F as le, r as oe, P as ce } from "./patient-field-row-BVK4y98C.js";
12
12
  import { C as pe } from "./clipboard-list-rSzfIYZB.js";
13
13
  const me = {
14
14
  id: "patient-details",
@@ -368,4 +368,4 @@ export {
368
368
  ue as P,
369
369
  me as p
370
370
  };
371
- //# sourceMappingURL=patient-details-DQQpgx4A.js.map
371
+ //# sourceMappingURL=patient-details-DGHkAErB.js.map
@@ -5,7 +5,7 @@ import { useTranslation as E } from "react-i18next";
5
5
  import { B as ee } from "./button-DohK_Ak_.js";
6
6
  import { I } from "./icon-button-S8_weU3g.js";
7
7
  import { C as R } from "./checkbox-a7Sh-dXb.js";
8
- import { P as O } from "./popover-Da1ekjV1.js";
8
+ import { P as O } from "./popover-CN5IsOeS.js";
9
9
  import { S as te } from "./separator-Bdc9bqoJ.js";
10
10
  import { S as ae } from "./settings-d25ju_6L.js";
11
11
  import { G as re } from "./grip-vertical-onSb1JXO.js";
@@ -805,4 +805,4 @@ export {
805
805
  Dt as r,
806
806
  St as u
807
807
  };
808
- //# sourceMappingURL=patient-field-row-Cb5jUd5Q.js.map
808
+ //# sourceMappingURL=patient-field-row-BVK4y98C.js.map
@@ -4,7 +4,7 @@ import { c as H } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as D } from "react-i18next";
5
5
  import { A as ke } from "./autocomplete-BXMcNoa3.js";
6
6
  import { B as Ie } from "./button-DohK_Ak_.js";
7
- import { C as ee } from "./card-BA4Ig_kn.js";
7
+ import { C as ee } from "./card-C85_Ndhb.js";
8
8
  import { S as De } from "./slider-pZ95bEm7.js";
9
9
  import { A as ye } from "./alert-9kEwDza3.js";
10
10
  import { D as Y } from "./dropdown-menu-CqxBthww.js";
@@ -1303,4 +1303,4 @@ export {
1303
1303
  ct as P,
1304
1304
  He as p
1305
1305
  };
1306
- //# sourceMappingURL=patient-search-Cp2efqHs.js.map
1306
+ //# sourceMappingURL=patient-search-CL6dtBIq.js.map
@@ -5,7 +5,7 @@ import { useTranslation as Le } from "react-i18next";
5
5
  import { A as re } from "./avatar-a6042Ox2.js";
6
6
  import { B as D } from "./badge-BUk4RjTS.js";
7
7
  import { I as Ue } from "./icon-button-S8_weU3g.js";
8
- import { C as le } from "./card-BA4Ig_kn.js";
8
+ import { C as le } from "./card-C85_Ndhb.js";
9
9
  import { K as Be, a as Re } from "./key-value-pair-BoXOtBL1.js";
10
10
  import { L as V } from "./link-DtCfnLnF.js";
11
11
  import { S as k } from "./skeleton-tTWJpvAq.js";
@@ -14,7 +14,7 @@ import { T as Ke } from "./transaction-chip-CohY6sTA.js";
14
14
  import { T as je } from "./tooltip-uEBdD1-5.js";
15
15
  import { H as G } from "./hover-card-CuRIA4wN.js";
16
16
  import { i as de } from "./is-safe-url-DkETxeHz.js";
17
- import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-Cb5jUd5Q.js";
17
+ import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-BVK4y98C.js";
18
18
  import { u as Oe } from "./registry-DvAUVLHh.js";
19
19
  import { M as ea } from "./mail-BqXVF2zH.js";
20
20
  import { P as aa } from "./phone-FceYcIFQ.js";
@@ -548,4 +548,4 @@ export {
548
548
  Ca as P,
549
549
  ma as p
550
550
  };
551
- //# sourceMappingURL=patient-summary-card-BvMI0eMu.js.map
551
+ //# sourceMappingURL=patient-summary-card-DXz07c2X.js.map
@@ -4,9 +4,9 @@ import { A as p } from "./alert-9kEwDza3.js";
4
4
  import { B as P } from "./badge-BUk4RjTS.js";
5
5
  import { B as y } from "./benefit-card-BcPtRHgM.js";
6
6
  import { B as C } from "./button-DohK_Ak_.js";
7
- import { C as d } from "./card-BA4Ig_kn.js";
7
+ import { C as d } from "./card-C85_Ndhb.js";
8
8
  import { L as n } from "./list-CNnn7DOD.js";
9
- import { S as U } from "./stat-D2PNJujA.js";
9
+ import { S as U } from "./stat-Dno2ZihS.js";
10
10
  import { C as f } from "./credit-card-D9XZsHGA.js";
11
11
  import { R as _ } from "./receipt-euro-B1cLM_TN.js";
12
12
  import { C as b } from "./circle-check-BN6rz4NV.js";
@@ -283,4 +283,4 @@ Y.displayName = "PaymentAutomationUpsell";
283
283
  export {
284
284
  Y as P
285
285
  };
286
- //# sourceMappingURL=payment-automation-upsell-D1YdO1xY.js.map
286
+ //# sourceMappingURL=payment-automation-upsell-CZk6f8aK.js.map
@@ -3,7 +3,7 @@ import { forwardRef as B, useId as G, useMemo as z } from "react";
3
3
  import { c as K } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as M } from "react-i18next";
5
5
  import { B as O } from "./badge-BUk4RjTS.js";
6
- import { C as D } from "./card-BA4Ig_kn.js";
6
+ import { C as D } from "./card-C85_Ndhb.js";
7
7
  import { D as d } from "./description-list-BxzDN9o2.js";
8
8
  import { K as Y, a as H } from "./key-value-pair-BoXOtBL1.js";
9
9
  import { T as j, A as ae } from "./transaction-chip-CohY6sTA.js";
@@ -439,4 +439,4 @@ export {
439
439
  Ce as b,
440
440
  me as p
441
441
  };
442
- //# sourceMappingURL=payment-request-card-BfGauFY0.js.map
442
+ //# sourceMappingURL=payment-request-card-BbpN8GQg.js.map
@@ -5,7 +5,7 @@ import { useTranslation as gt } from "react-i18next";
5
5
  import { u as ft } from "./registry-DvAUVLHh.js";
6
6
  import { o as bt } from "./floating-clearance-nIx9fFLy.js";
7
7
  import { P as Se, i as Te, h as vt, g as yt, f as xt, Y as Nt } from "./tooth-data-DR8Kdnup.js";
8
- import { P as Ye } from "./periodontal-chart-card-Bx6PeS3b.js";
8
+ import { P as Ye } from "./periodontal-chart-card-CG8mxR62.js";
9
9
  const j = {
10
10
  type: "string",
11
11
  description: "FDI tooth id ('11'–'48' permanent, '51'–'85' primary)."
@@ -1410,4 +1410,4 @@ export {
1410
1410
  ze as s,
1411
1411
  sr as t
1412
1412
  };
1413
- //# sourceMappingURL=periodontal-chart-_y4Ck7_P.js.map
1413
+ //# sourceMappingURL=periodontal-chart-Cw-ZsIls.js.map
@@ -3,7 +3,7 @@ import { forwardRef as ee, useId as te, useMemo as O } from "react";
3
3
  import { c as R } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as ae } from "react-i18next";
5
5
  import { B as re } from "./badge-BUk4RjTS.js";
6
- import { C as S } from "./card-BA4Ig_kn.js";
6
+ import { C as S } from "./card-C85_Ndhb.js";
7
7
  import { K as ne, a as se } from "./key-value-pair-BoXOtBL1.js";
8
8
  import { u as oe } from "./registry-DvAUVLHh.js";
9
9
  const de = {
@@ -452,4 +452,4 @@ export {
452
452
  he as a,
453
453
  de as p
454
454
  };
455
- //# sourceMappingURL=periodontal-chart-card-Bx6PeS3b.js.map
455
+ //# sourceMappingURL=periodontal-chart-card-CG8mxR62.js.map
@@ -3,7 +3,7 @@ import { forwardRef as J, useId as Q, useState as W, useRef as Y } from "react";
3
3
  import { c as Z } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as ee } from "react-i18next";
5
5
  import { B as te } from "./badge-BUk4RjTS.js";
6
- import { C as j } from "./card-BA4Ig_kn.js";
6
+ import { C as j } from "./card-C85_Ndhb.js";
7
7
  import { C as ae } from "./checkbox-a7Sh-dXb.js";
8
8
  import { R as y } from "./radio-BZQs6_36.js";
9
9
  import { R as D } from "./radio-group-ChIKyeSJ.js";
@@ -342,4 +342,4 @@ export {
342
342
  k as i,
343
343
  ne as p
344
344
  };
345
- //# sourceMappingURL=periodontal-diagnosis-DD3hrg9X.js.map
345
+ //# sourceMappingURL=periodontal-diagnosis-CF1d_0yl.js.map
@@ -3,7 +3,7 @@ import { forwardRef as I, useId as S, useMemo as _ } from "react";
3
3
  import { c as D } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as j } from "react-i18next";
5
5
  import { B as w } from "./badge-BUk4RjTS.js";
6
- import { C } from "./card-BA4Ig_kn.js";
6
+ import { C } from "./card-C85_Ndhb.js";
7
7
  import { u as M } from "./registry-DvAUVLHh.js";
8
8
  import { a as A } from "./format-number-DdzqwMs1.js";
9
9
  const B = {
@@ -339,4 +339,4 @@ export {
339
339
  B as p,
340
340
  re as r
341
341
  };
342
- //# sourceMappingURL=periodontal-risk-chart-B7S9OmPC.js.map
342
+ //# sourceMappingURL=periodontal-risk-chart-D2zyID0H.js.map