@alfadocs/ui-kit 1.57.0 → 1.58.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 (166) hide show
  1. package/dist/_chunks/{address-fields-BfjxS05Z.js → address-fields-CJtu7LQU.js} +2 -2
  2. package/dist/_chunks/{alia-sidebar-BBKBJCv6.js → alia-sidebar-dybRpWml.js} +2 -2
  3. package/dist/_chunks/{anamnesis-summary-rows-CCQ62mMN.js → anamnesis-summary-rows-M-FUkw9p.js} +3 -3
  4. package/dist/_chunks/{app-frame-B-0O9CrU.js → app-frame-CqmDh2v5.js} +2 -2
  5. package/dist/_chunks/{balance-badge-cell-CII3SDmR.js → balance-badge-cell-CGoJZlKf.js} +3 -3
  6. package/dist/_chunks/{booking-81WnKDsH.js → booking-CiFSAMR-.js} +2 -2
  7. package/dist/_chunks/{calendar-workspace-D5-k_9zE.js → calendar-workspace-DNHzjG7O.js} +12 -12
  8. package/dist/_chunks/{chart-DQ5GxqgT.js → chart-ZMkX-Gqy.js} +28 -28
  9. package/dist/_chunks/{city-input-BC_nYINn.js → city-input-3J3bz9EO.js} +2 -2
  10. package/dist/_chunks/{control-room-rail-Tx2jW250.js → control-room-rail-CJ85HkS2.js} +2 -2
  11. package/dist/_chunks/dashboard-grid-Cs7cJAsA.js +933 -0
  12. package/dist/_chunks/{data-table-fAMTeAjM.js → data-table-Yn5xiGzs.js} +2 -2
  13. package/dist/_chunks/{face-scheme-BicuUA2K.js → face-scheme-DSKDdIsb.js} +2 -2
  14. package/dist/_chunks/{file-manager-CFsL1KVt.js → file-manager-DEtkQR1F.js} +3 -3
  15. package/dist/_chunks/{forgot-password-form-DEx-M_QR.js → forgot-password-form-CEqOmNuX.js} +2 -2
  16. package/dist/_chunks/{heatmap-BEeOThkW.js → heatmap-DiyOSQk9.js} +2 -2
  17. package/dist/_chunks/{help-me-write-templates-BUoYGo6f.js → help-me-write-templates-CM1p6qkm.js} +2 -2
  18. package/dist/_chunks/{icon-picker-C86lQTIA.js → icon-picker-rOFTawXk.js} +2 -2
  19. package/dist/_chunks/{link-cell-renderer-CxW_oLa5.js → link-cell-renderer-C1wOyxDF.js} +2 -2
  20. package/dist/_chunks/{list-RRN2TJ_7.js → list-CNnn7DOD.js} +75 -73
  21. package/dist/_chunks/{login-dev-card-DmZ1B0lB.js → login-dev-card-CIim81VB.js} +2 -2
  22. package/dist/_chunks/marketplace-app-shell-CSDmGLPW.js +613 -0
  23. package/dist/_chunks/{message-tray-QKQutwxj.js → message-tray-DmU0poD7.js} +2 -2
  24. package/dist/_chunks/navigation-dismiss-B1mcW1CT.js +9 -0
  25. package/dist/_chunks/{notes-panel-Cm4pttpl.js → notes-panel-DHLHsxpW.js} +2 -2
  26. package/dist/_chunks/{notification-tray-C5VtbGjd.js → notification-tray-DPU-Xg0i.js} +2 -2
  27. package/dist/_chunks/{panel-subview-BT-Apwgb.js → panel-subview-D4o6ar6_.js} +61 -47
  28. package/dist/_chunks/{patient-details-99kEdtc5.js → patient-details-BCaVuaXz.js} +2 -2
  29. package/dist/_chunks/{patient-field-row-DkxY13T6.js → patient-field-row-jcRSTrp4.js} +3 -3
  30. package/dist/_chunks/{patient-summary-card-opdyfeW2.js → patient-summary-card-kQIfPQOE.js} +2 -2
  31. package/dist/_chunks/{payment-automation-upsell-DiHovmUL.js → payment-automation-upsell-C4wHOxsp.js} +2 -2
  32. package/dist/_chunks/{practice-results-CfRkjzsI.js → practice-results-D07wgCqV.js} +2 -2
  33. package/dist/_chunks/{product-hub-panel-DlVRK7Ue.js → product-hub-panel-DCYX0rPG.js} +2 -2
  34. package/dist/_chunks/{public-header.agent-BctevbuY.js → public-header.agent-C1SlVSYt.js} +2 -2
  35. package/dist/_chunks/{registration-form-BlTzYywa.js → registration-form-DrSR9Sjk.js} +3 -3
  36. package/dist/_chunks/{rich-text-editor-DTnNZ4Ff.js → rich-text-editor-UgXri8h6.js} +2 -2
  37. package/dist/_chunks/{scroll-area-ZtFCv9K7.js → scroll-area-CY5SLYNw.js} +104 -74
  38. package/dist/_chunks/{search-bar-DQJS0wJN.js → search-bar-mA4bPe3t.js} +294 -255
  39. package/dist/_chunks/{sheet-8qsiMoUI.js → sheet-Dtjk0CVv.js} +2 -2
  40. package/dist/_chunks/sidebar-D4Wllqfz.js +2029 -0
  41. package/dist/_chunks/{signature-request-DRuYAG5I.js → signature-request-dAVgE0_5.js} +2 -2
  42. package/dist/_chunks/{signed-out-frame-AhMsNW1r.js → signed-out-frame-DOJpobp8.js} +2 -2
  43. package/dist/_chunks/{state-backed-text-input-DECQy5aA.js → state-backed-text-input-Cgh4ms3p.js} +2 -2
  44. package/dist/_chunks/{task-editor-NkcopDna.js → task-editor-BflEZmcF.js} +5 -4
  45. package/dist/_chunks/{tool-rail-Bwyuw_Ot.js → tool-rail-CTq1KwxW.js} +115 -114
  46. package/dist/_chunks/{use-appointment-details-read-CfFQNOF_.js → use-appointment-details-read-izwoXh-G.js} +6 -6
  47. package/dist/_chunks/use-state-backed-input-DhRQo6gM.js +57 -0
  48. package/dist/_chunks/{voice-control-panel-BKbgb7FM.js → voice-control-panel-an-bpQfF.js} +2 -2
  49. package/dist/_chunks/{widget-picker-rBA7MR5P.js → widget-picker-DlJOgYrZ.js} +80 -57
  50. package/dist/agent-catalog.json +2 -2
  51. package/dist/agent-i18n/en.json +1 -1
  52. package/dist/components/_shared/navigation-dismiss.d.ts +8 -0
  53. package/dist/components/_shared/use-state-backed-input.d.ts +3 -2
  54. package/dist/components/address-fields/index.js +1 -1
  55. package/dist/components/app-frame/index.js +1 -1
  56. package/dist/components/appointment-details-panel/index.js +1 -1
  57. package/dist/components/booking/index.js +1 -1
  58. package/dist/components/chart/index.js +1 -1
  59. package/dist/components/city-input/index.js +1 -1
  60. package/dist/components/control-room-rail/index.js +1 -1
  61. package/dist/components/dashboard-grid/dashboard-grid.d.ts +33 -8
  62. package/dist/components/dashboard-grid/index.js +1 -1
  63. package/dist/components/data-table/index.js +2 -2
  64. package/dist/components/face-scheme/index.js +1 -1
  65. package/dist/components/file-manager/index.js +1 -1
  66. package/dist/components/heatmap/index.js +1 -1
  67. package/dist/components/icon-picker/index.js +1 -1
  68. package/dist/components/list/index.js +1 -1
  69. package/dist/components/message-tray/index.js +1 -1
  70. package/dist/components/notes-panel/index.js +1 -1
  71. package/dist/components/notification-tray/index.js +1 -1
  72. package/dist/components/panel-subview/index.js +1 -1
  73. package/dist/components/patient-details/index.js +1 -1
  74. package/dist/components/patient-summary-card/index.js +1 -1
  75. package/dist/components/patient-table/index.js +1 -1
  76. package/dist/components/practice-results/index.js +1 -1
  77. package/dist/components/product-hub-tray/index.js +1 -1
  78. package/dist/components/public-header/index.js +1 -1
  79. package/dist/components/rich-text-editor/index.js +1 -1
  80. package/dist/components/scroll-area/index.js +1 -1
  81. package/dist/components/scroll-area/scroll-area.d.ts +6 -5
  82. package/dist/components/search-bar/index.js +1 -1
  83. package/dist/components/search-bar/search-bar.d.ts +1 -1
  84. package/dist/components/sheet/index.js +1 -1
  85. package/dist/components/sidebar/index.d.ts +1 -1
  86. package/dist/components/sidebar/index.js +1 -1
  87. package/dist/components/sidebar/sidebar-move.d.ts +88 -0
  88. package/dist/components/sidebar/sidebar.d.ts +26 -1
  89. package/dist/components/task-editor/index.js +1 -1
  90. package/dist/components/tool-rail/index.js +1 -1
  91. package/dist/components/voice-control-panel/index.js +1 -1
  92. package/dist/components/widget-picker/index.js +1 -1
  93. package/dist/host-compat.css +2 -1
  94. package/dist/i18n/locales/ar.d.ts +10 -0
  95. package/dist/i18n/locales/ar.js +11 -1
  96. package/dist/i18n/locales/de.d.ts +10 -0
  97. package/dist/i18n/locales/de.js +11 -1
  98. package/dist/i18n/locales/el.d.ts +10 -0
  99. package/dist/i18n/locales/el.js +11 -1
  100. package/dist/i18n/locales/en.d.ts +10 -0
  101. package/dist/i18n/locales/en.js +11 -1
  102. package/dist/i18n/locales/es.d.ts +10 -0
  103. package/dist/i18n/locales/es.js +11 -1
  104. package/dist/i18n/locales/fr.d.ts +10 -0
  105. package/dist/i18n/locales/fr.js +11 -1
  106. package/dist/i18n/locales/hi.d.ts +10 -0
  107. package/dist/i18n/locales/hi.js +11 -1
  108. package/dist/i18n/locales/it.d.ts +10 -0
  109. package/dist/i18n/locales/it.js +11 -1
  110. package/dist/i18n/locales/ja.d.ts +10 -0
  111. package/dist/i18n/locales/ja.js +11 -1
  112. package/dist/i18n/locales/nl.d.ts +10 -0
  113. package/dist/i18n/locales/nl.js +11 -1
  114. package/dist/i18n/locales/pl.d.ts +10 -0
  115. package/dist/i18n/locales/pl.js +11 -1
  116. package/dist/i18n/locales/pt.d.ts +10 -0
  117. package/dist/i18n/locales/pt.js +11 -1
  118. package/dist/i18n/locales/ro.d.ts +10 -0
  119. package/dist/i18n/locales/ro.js +11 -1
  120. package/dist/i18n/locales/ru.d.ts +10 -0
  121. package/dist/i18n/locales/ru.js +11 -1
  122. package/dist/i18n/locales/sq.d.ts +10 -0
  123. package/dist/i18n/locales/sq.js +11 -1
  124. package/dist/i18n/locales/sv.d.ts +10 -0
  125. package/dist/i18n/locales/sv.js +11 -1
  126. package/dist/i18n/locales/tr.d.ts +10 -0
  127. package/dist/i18n/locales/tr.js +11 -1
  128. package/dist/i18n/locales/zh.d.ts +10 -0
  129. package/dist/i18n/locales/zh.js +11 -1
  130. package/dist/index.js +44 -44
  131. package/dist/locales/ar.json +11 -1
  132. package/dist/locales/de.json +11 -1
  133. package/dist/locales/el.json +11 -1
  134. package/dist/locales/en.json +11 -1
  135. package/dist/locales/es.json +11 -1
  136. package/dist/locales/fr.json +11 -1
  137. package/dist/locales/hi.json +11 -1
  138. package/dist/locales/it.json +11 -1
  139. package/dist/locales/ja.json +11 -1
  140. package/dist/locales/nl.json +11 -1
  141. package/dist/locales/pl.json +11 -1
  142. package/dist/locales/pt.json +11 -1
  143. package/dist/locales/ro.json +11 -1
  144. package/dist/locales/ru.json +11 -1
  145. package/dist/locales/sq.json +11 -1
  146. package/dist/locales/sv.json +11 -1
  147. package/dist/locales/tr.json +11 -1
  148. package/dist/locales/zh.json +11 -1
  149. package/dist/patterns/alia-assistant/index.js +1 -1
  150. package/dist/patterns/anamnesis/index.js +1 -1
  151. package/dist/patterns/calendar/index.js +1 -1
  152. package/dist/patterns/forgot-password-form/index.js +1 -1
  153. package/dist/patterns/help-me-write-templates/index.js +1 -1
  154. package/dist/patterns/login-form/index.js +1 -1
  155. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  156. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +34 -9
  157. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  158. package/dist/patterns/registration-form/index.js +1 -1
  159. package/dist/patterns/signature-request/index.js +1 -1
  160. package/dist/patterns/signed-out-frame/index.js +1 -1
  161. package/dist/tokens.css +1 -1
  162. package/package.json +1 -1
  163. package/dist/_chunks/dashboard-grid-DfEY2qci.js +0 -844
  164. package/dist/_chunks/marketplace-app-shell-BZcA9Z06.js +0 -555
  165. package/dist/_chunks/sidebar-DLsG2AIk.js +0 -1349
  166. package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +0 -59
@@ -1,13 +1,13 @@
1
- import { jsxs as I, jsx as u, Fragment as D } from "react/jsx-runtime";
2
- import { forwardRef as C, useId as K, useRef as l, useCallback as U, useEffect as N } from "react";
3
- import { c as E } from "./index-D2ZczOXr.js";
1
+ import { jsxs as I, jsx as a, Fragment as D } from "react/jsx-runtime";
2
+ import { forwardRef as C, useId as K, useRef as u, useCallback as U, useEffect as N } from "react";
3
+ import { c as x } from "./index-D2ZczOXr.js";
4
4
  import { I as _ } from "./icon-button-COX76Jdj.js";
5
5
  import { P as G } from "./panel-header-D_mTdhUp.js";
6
- import { S as J } from "./scroll-area-ZtFCv9K7.js";
6
+ import { S as J } from "./scroll-area-CY5SLYNw.js";
7
7
  import { u as R } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
8
8
  import { u as Q } from "./use-presence-transition-cDwWUXV-.js";
9
9
  import { A as W } from "./arrow-left-BfaGqVam.js";
10
- const X = E(
10
+ const X = x(
11
11
  [
12
12
  "ds:relative ds:flex ds:h-full ds:min-h-0 ds:flex-col ds:overflow-hidden",
13
13
  // Focus lands on the host itself, from script, only when the panel it
@@ -29,22 +29,22 @@ function B(e) {
29
29
  }
30
30
  function Z(e, i) {
31
31
  if (!B(e)) return;
32
- const a = Array.from(
32
+ const c = Array.from(
33
33
  e.querySelectorAll(Y)
34
- ).filter((c) => !(i != null && i.contains(c)) && B(c)), s = e.getBoundingClientRect(), p = a.find((c) => {
35
- const f = c.getBoundingClientRect();
34
+ ).filter((d) => !(i != null && i.contains(d)) && B(d)), s = e.getBoundingClientRect(), v = c.find((d) => {
35
+ const f = d.getBoundingClientRect();
36
36
  return f.bottom > s.top && f.top < s.bottom;
37
- }) ?? a[0];
38
- if (p) {
39
- p.focus();
37
+ }) ?? c[0];
38
+ if (v) {
39
+ v.focus();
40
40
  return;
41
41
  }
42
- const v = !e.hasAttribute("tabindex");
43
- v && e.setAttribute("tabindex", "-1"), e.focus(), v && (document.activeElement === e ? e.addEventListener("blur", () => e.removeAttribute("tabindex"), {
42
+ const p = !e.hasAttribute("tabindex");
43
+ p && e.setAttribute("tabindex", "-1"), e.focus(), p && (document.activeElement === e ? e.addEventListener("blur", () => e.removeAttribute("tabindex"), {
44
44
  once: !0
45
45
  }) : e.removeAttribute("tabindex"));
46
46
  }
47
- const $ = E(
47
+ const $ = x(
48
48
  [
49
49
  "ds:absolute ds:inset-0 ds:z-[2] ds:flex ds:min-h-0 ds:flex-col",
50
50
  "ds:bg-[var(--background)] ds:focus-visible:outline-none",
@@ -57,7 +57,12 @@ const $ = E(
57
57
  "ds:rtl:data-[presence=entering]:-translate-x-full ds:rtl:data-[presence=leaving]:-translate-x-full",
58
58
  "ds:data-[presence=leaving]:pointer-events-none"
59
59
  ].join(" ")
60
- ), F = '[role="combobox"][aria-expanded="true"], [aria-haspopup][aria-expanded="true"]', ee = E(
60
+ ), F = x(
61
+ [
62
+ "ds:[--panel-subview-inset:calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
63
+ "ds:p-[var(--panel-subview-inset)]"
64
+ ].join(" ")
65
+ ), ee = '[role="combobox"][aria-expanded="true"], [aria-haspopup][aria-expanded="true"]', te = x(
61
66
  [
62
67
  "ds:flex ds:shrink-0 ds:items-center",
63
68
  "ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)]",
@@ -77,13 +82,13 @@ const $ = E(
77
82
  defaultVariants: { align: "end" }
78
83
  }
79
84
  ), H = C(
80
- ({ className: e, children: i, ...a }, s) => /* @__PURE__ */ u(
85
+ ({ className: e, children: i, ...c }, s) => /* @__PURE__ */ a(
81
86
  "div",
82
87
  {
83
88
  ref: s,
84
89
  "data-component": "panel-subview-host",
85
90
  className: [X(), e].filter(Boolean).join(" "),
86
- ...a,
91
+ ...c,
87
92
  children: i
88
93
  }
89
94
  )
@@ -93,11 +98,11 @@ const L = C(
93
98
  ({
94
99
  open: e,
95
100
  onBack: i,
96
- title: a,
101
+ title: c,
97
102
  backLabel: s,
98
- icon: p,
99
- headingLevel: v,
100
- headerActions: c,
103
+ icon: v,
104
+ headingLevel: p,
105
+ headerActions: d,
101
106
  footer: f,
102
107
  footerAlign: V = "end",
103
108
  onExited: O,
@@ -106,15 +111,15 @@ const L = C(
106
111
  children: T,
107
112
  ...q
108
113
  }, m) => {
109
- const w = K(), d = Q(e, { onExited: O }), b = l(null), x = l(null), A = l(i);
114
+ const h = K(), l = Q(e, { onExited: O }), b = u(null), w = u(null), A = u(i);
110
115
  A.current = i;
111
- const { ref: P } = d, z = U(
116
+ const { ref: P } = l, z = U(
112
117
  (t) => {
113
118
  b.current = t, P(t), typeof m == "function" ? m(t) : m && (m.current = t);
114
119
  },
115
120
  [P, m]
116
- ), h = l(null), j = l(!1), S = l(e);
117
- S.current = e, e && h.current !== !0 && typeof document < "u" && (x.current = document.activeElement instanceof HTMLElement ? document.activeElement : null, j.current = h.current === null), h.current = e, R(() => {
121
+ ), E = u(null), j = u(!1), S = u(e);
122
+ S.current = e, e && E.current !== !0 && typeof document < "u" && (w.current = document.activeElement instanceof HTMLElement ? document.activeElement : null, j.current = E.current === null), E.current = e, R(() => {
118
123
  const t = b.current, n = t == null ? void 0 : t.parentElement;
119
124
  if (!e || !t || !n) return;
120
125
  const r = Array.from(n.children).filter(
@@ -123,20 +128,20 @@ const L = C(
123
128
  return r.forEach((o) => o.setAttribute("inert", "")), ((g == null ? void 0 : g.current) ?? t).focus({ preventScroll: !0 }), () => {
124
129
  r.forEach((o) => o.removeAttribute("inert"));
125
130
  };
126
- }, [e, d.mounted, g]);
131
+ }, [e, l.mounted, g]);
127
132
  const y = !e;
128
133
  return R(() => {
129
134
  const t = b.current;
130
135
  if (!t) return;
131
136
  const n = document.activeElement;
132
137
  y && n instanceof HTMLElement && t.contains(n) && n.blur(), t.toggleAttribute("inert", y);
133
- }, [y, d.mounted]), N(() => {
138
+ }, [y, l.mounted]), N(() => {
134
139
  if (!e) return;
135
140
  const t = b.current, n = (t == null ? void 0 : t.parentElement) ?? null;
136
141
  return () => {
137
142
  if (S.current && (t != null && t.isConnected)) return;
138
- const r = x.current;
139
- x.current = null;
143
+ const r = w.current;
144
+ w.current = null;
140
145
  const o = r != null && r.isConnected && (!j.current || n != null && n.contains(r)) ? r : null;
141
146
  if (o) {
142
147
  o.focus();
@@ -151,35 +156,35 @@ const L = C(
151
156
  const t = b.current;
152
157
  if (!e || !t) return;
153
158
  const n = (r) => {
154
- r.key === "Escape" && (r.stopPropagation(), !(r.defaultPrevented && t.querySelector(F)) && (r.preventDefault(), A.current()));
159
+ r.key === "Escape" && (r.stopPropagation(), !(r.defaultPrevented && t.querySelector(ee)) && (r.preventDefault(), A.current()));
155
160
  };
156
161
  return t.addEventListener("keydown", n), () => t.removeEventListener("keydown", n);
157
- }, [e, d.mounted]), d.mounted ? /* @__PURE__ */ I(
162
+ }, [e, l.mounted]), l.mounted ? /* @__PURE__ */ I(
158
163
  "section",
159
164
  {
160
165
  ...q,
161
166
  ref: z,
162
167
  tabIndex: -1,
163
- "aria-labelledby": w,
168
+ "aria-labelledby": h,
164
169
  "aria-hidden": y || void 0,
165
170
  "data-component": "panel-subview",
166
- "data-presence": d.phase,
171
+ "data-presence": l.phase,
167
172
  className: [$(), M].filter(Boolean).join(" "),
168
173
  children: [
169
- /* @__PURE__ */ u(
174
+ /* @__PURE__ */ a(
170
175
  G,
171
176
  {
172
- icon: p,
173
- title: a,
174
- headingId: w,
175
- headingLevel: v,
177
+ icon: v,
178
+ title: c,
179
+ headingId: h,
180
+ headingLevel: p,
176
181
  sticky: !0,
177
182
  divider: !0,
178
183
  actions: /* @__PURE__ */ I(D, { children: [
179
- /* @__PURE__ */ u(
184
+ /* @__PURE__ */ a(
180
185
  _,
181
186
  {
182
- icon: /* @__PURE__ */ u(W, { "aria-hidden": "true" }),
187
+ icon: /* @__PURE__ */ a(W, { "aria-hidden": "true" }),
183
188
  intent: "ghost",
184
189
  size: "sm",
185
190
  flipIconInRtl: !0,
@@ -189,16 +194,25 @@ const L = C(
189
194
  onClick: i
190
195
  }
191
196
  ),
192
- c
197
+ d
193
198
  ] })
194
199
  }
195
200
  ),
196
- /* @__PURE__ */ u(J, { orientation: "vertical", className: "ds:min-h-0 ds:flex-1", children: T }),
197
- f ? /* @__PURE__ */ u(
201
+ /* @__PURE__ */ a(
202
+ J,
203
+ {
204
+ orientation: "vertical",
205
+ role: "group",
206
+ "aria-labelledby": h,
207
+ className: "ds:min-h-0 ds:flex-1",
208
+ children: /* @__PURE__ */ a("div", { "data-panel-subview-body": "", className: F(), children: T })
209
+ }
210
+ ),
211
+ f ? /* @__PURE__ */ a(
198
212
  "div",
199
213
  {
200
214
  "data-panel-subview-footer": "",
201
- className: ee({ align: V }),
215
+ className: te({ align: V }),
202
216
  children: f
203
217
  }
204
218
  ) : null
@@ -208,10 +222,10 @@ const L = C(
208
222
  }
209
223
  );
210
224
  L.displayName = "PanelSubview";
211
- const le = Object.assign(L, {
225
+ const ue = Object.assign(L, {
212
226
  Host: H
213
227
  });
214
228
  export {
215
- le as P
229
+ ue as P
216
230
  };
217
- //# sourceMappingURL=panel-subview-BT-Apwgb.js.map
231
+ //# sourceMappingURL=panel-subview-D4o6ar6_.js.map
@@ -8,7 +8,7 @@ import { C as ie, b as te, a as se } from "./collapsible-DVPM46bq.js";
8
8
  import { D as ae } from "./description-list-DkLeHiew.js";
9
9
  import { P as de } from "./panel-header-D_mTdhUp.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-DkxY13T6.js";
11
+ import { u as ne, F as le, r as oe, P as ce } from "./patient-field-row-jcRSTrp4.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-99kEdtc5.js.map
371
+ //# sourceMappingURL=patient-details-BCaVuaXz.js.map
@@ -17,7 +17,7 @@ import { H as ie } from "./hash-CSQ9SChR.js";
17
17
  import { C as oe } from "./calendar-days-BGWklvE-.js";
18
18
  import { c as q } from "./createLucideIcon-DhHxpK9K.js";
19
19
  import { U as le } from "./user-B12p7bVF.js";
20
- import { C as ce } from "./city-input-BC_nYINn.js";
20
+ import { C as ce } from "./city-input-3J3bz9EO.js";
21
21
  import { C as de } from "./country-select-DF5Bd_mn.js";
22
22
  import { D as ue } from "./date-picker-BSZuKo13.js";
23
23
  import { E as me } from "./email-input-C7THAwh2.js";
@@ -30,7 +30,7 @@ import { S as be } from "./select-Ce5RMk93.js";
30
30
  import { S as ve } from "./switch-D--x7n6h.js";
31
31
  import { T as xe } from "./text-area-COMVJ1yE.js";
32
32
  import { T as ke } from "./text-input-CaG9ApoE.js";
33
- import { u as Ce } from "./use-state-backed-input-C7ESmxKB.js";
33
+ import { u as Ce } from "./use-state-backed-input-DhRQo6gM.js";
34
34
  import { C as K } from "./check-DrFSN__t.js";
35
35
  import { X as Ve } from "./x-B5YnXwCz.js";
36
36
  import { P as Ne } from "./pencil-B1sKKyuT.js";
@@ -826,4 +826,4 @@ export {
826
826
  Dt as r,
827
827
  St as u
828
828
  };
829
- //# sourceMappingURL=patient-field-row-DkxY13T6.js.map
829
+ //# sourceMappingURL=patient-field-row-jcRSTrp4.js.map
@@ -14,7 +14,7 @@ import { T as Ke } from "./transaction-chip-CohY6sTA.js";
14
14
  import { T as je } from "./tooltip-Cp-PLePW.js";
15
15
  import { H as G } from "./hover-card-U_ZYoh1n.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-DkxY13T6.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-jcRSTrp4.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-opdyfeW2.js.map
551
+ //# sourceMappingURL=patient-summary-card-kQIfPQOE.js.map
@@ -5,7 +5,7 @@ import { B as P } from "./badge-hnBt8o7n.js";
5
5
  import { B as y } from "./benefit-card-BWBClvdF.js";
6
6
  import { B as C } from "./button-Bn16lcFM.js";
7
7
  import { C as d } from "./card-DMO2nkt4.js";
8
- import { L as n } from "./list-RRN2TJ_7.js";
8
+ import { L as n } from "./list-CNnn7DOD.js";
9
9
  import { S as U } from "./stat-DmjGfXND.js";
10
10
  import { C as f } from "./credit-card-D9XZsHGA.js";
11
11
  import { R as _ } from "./receipt-euro-B1cLM_TN.js";
@@ -283,4 +283,4 @@ Y.displayName = "PaymentAutomationUpsell";
283
283
  export {
284
284
  Y as P
285
285
  };
286
- //# sourceMappingURL=payment-automation-upsell-DiHovmUL.js.map
286
+ //# sourceMappingURL=payment-automation-upsell-C4wHOxsp.js.map
@@ -9,7 +9,7 @@ import { D } from "./dropdown-menu-BQSNVp4x.js";
9
9
  import { E as st } from "./empty-state-gNG3qYCX.js";
10
10
  import { M as it } from "./map-view-CO2v0hfp.js";
11
11
  import { R as Ne } from "./rating-C1Vrmpsi.js";
12
- import { S as I } from "./sheet-8qsiMoUI.js";
12
+ import { S as I } from "./sheet-Dtjk0CVv.js";
13
13
  import { S as rt } from "./skeleton-B1KTdJ4N.js";
14
14
  import { S as ot } from "./spinner-CoflYlEx.js";
15
15
  import { B as $ } from "./badge-hnBt8o7n.js";
@@ -1742,4 +1742,4 @@ export {
1742
1742
  Ot as P,
1743
1743
  bt as p
1744
1744
  };
1745
- //# sourceMappingURL=practice-results-CfRkjzsI.js.map
1745
+ //# sourceMappingURL=practice-results-D07wgCqV.js.map
@@ -11,7 +11,7 @@ import * as j from "@radix-ui/react-popover";
11
11
  import { u as te, f as de } from "./non-modal-tab-exit-j3CPOuE3.js";
12
12
  import { u as ne } from "./use-controllable-state-BiY4xTzM.js";
13
13
  import { I as Q } from "./icon-button-COX76Jdj.js";
14
- import { S as oe } from "./scroll-area-ZtFCv9K7.js";
14
+ import { S as oe } from "./scroll-area-CY5SLYNw.js";
15
15
  import { S as R } from "./skeleton-B1KTdJ4N.js";
16
16
  import { T as ie } from "./timestamp-DPLDWdxA.js";
17
17
  import { s as ce } from "./safe-image-src-DstKgCo7.js";
@@ -682,4 +682,4 @@ export {
682
682
  me as b,
683
683
  Ne as p
684
684
  };
685
- //# sourceMappingURL=product-hub-panel-DlVRK7Ue.js.map
685
+ //# sourceMappingURL=product-hub-panel-DCYX0rPG.js.map
@@ -4,7 +4,7 @@ import { c as C } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as de } from "react-i18next";
5
5
  import * as m from "@radix-ui/react-navigation-menu";
6
6
  import { I as ae } from "./icon-button-COX76Jdj.js";
7
- import { S as f } from "./sheet-8qsiMoUI.js";
7
+ import { S as f } from "./sheet-Dtjk0CVv.js";
8
8
  import { u as ne } from "./use-visual-viewport-pin-ChurOsHM.js";
9
9
  import { C as R } from "./chevron-down-DWE7GSq9.js";
10
10
  import { X as re } from "./x-B5YnXwCz.js";
@@ -600,4 +600,4 @@ export {
600
600
  Le as P,
601
601
  Pe as p
602
602
  };
603
- //# sourceMappingURL=public-header.agent-BctevbuY.js.map
603
+ //# sourceMappingURL=public-header.agent-C1SlVSYt.js.map
@@ -16,9 +16,9 @@ import { u as Me } from "./use-password-requirements-C8DdwPEy.js";
16
16
  import { P as Ae } from "./phone-input-O9camxkq.js";
17
17
  import { R as De } from "./recaptcha-widget-CsvwlYTE.js";
18
18
  import { S as je } from "./select-Ce5RMk93.js";
19
- import { S as zr } from "./state-backed-text-input-DECQy5aA.js";
19
+ import { S as zr } from "./state-backed-text-input-Cgh4ms3p.js";
20
20
  import { i as Le } from "./is-development-CLUAnsU7.js";
21
- import { u as Hr } from "./use-state-backed-input-C7ESmxKB.js";
21
+ import { u as Hr } from "./use-state-backed-input-DhRQo6gM.js";
22
22
  import { a as Oe, i as Te } from "./safe-href-5dbsfbQn.js";
23
23
  import { u as Wr } from "./use-field-match-pdbEnKvO.js";
24
24
  import { u as _e, b as $e, a as ze, B as He } from "./use-registration-submit-eWAECgUC.js";
@@ -816,4 +816,4 @@ export {
816
816
  Gr as R,
817
817
  os as a
818
818
  };
819
- //# sourceMappingURL=registration-form-BlTzYywa.js.map
819
+ //# sourceMappingURL=registration-form-DrSR9Sjk.js.map
@@ -27,7 +27,7 @@ import { a as Fn } from "./tooltip-Cp-PLePW.js";
27
27
  import { P as ne } from "./popover-BG75rYjN.js";
28
28
  import { D as ie } from "./dialog-Dn-iQ0Jp.js";
29
29
  import { C as jn } from "./color-picker-BsggJovx.js";
30
- import { S as en } from "./state-backed-text-input-DECQy5aA.js";
30
+ import { S as en } from "./state-backed-text-input-Cgh4ms3p.js";
31
31
  import { C as fa } from "./checkbox--ndmyokr.js";
32
32
  import { F as ha } from "./file-upload-CxjCs7TX.js";
33
33
  import { c as I } from "./createLucideIcon-DhHxpK9K.js";
@@ -4225,4 +4225,4 @@ export {
4225
4225
  Di as r,
4226
4226
  Rs as w
4227
4227
  };
4228
- //# sourceMappingURL=rich-text-editor-DTnNZ4Ff.js.map
4228
+ //# sourceMappingURL=rich-text-editor-UgXri8h6.js.map
@@ -1,9 +1,11 @@
1
- import { jsx as e, jsxs as S } from "react/jsx-runtime";
2
- import { forwardRef as m, useRef as x } from "react";
3
- import * as r from "@radix-ui/react-scroll-area";
4
- import { c as h } from "./index-D2ZczOXr.js";
5
- import { u as y } from "./use-direction-Dp8h70PP.js";
6
- const f = h(
1
+ import { jsx as i, jsxs as H } from "react/jsx-runtime";
2
+ import { forwardRef as m, useRef as b, useMemo as w, useState as T } from "react";
3
+ import * as s from "@radix-ui/react-scroll-area";
4
+ import { c as z } from "./index-D2ZczOXr.js";
5
+ import { c as y } from "./compose-refs-C0k0tdqF.js";
6
+ import { u as O } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
7
+ import { u as D } from "./use-direction-Dp8h70PP.js";
8
+ const p = z(
7
9
  [
8
10
  "ds:flex ds:touch-none ds:select-none",
9
11
  // Fade in/out based on Radix data-state (requires forceMount on Scrollbar).
@@ -30,7 +32,7 @@ const f = h(
30
32
  size: "md"
31
33
  }
32
34
  }
33
- ), v = h(
35
+ ), g = z(
34
36
  [
35
37
  "ds:relative ds:flex-1",
36
38
  "ds:rounded-[var(--radius-full)]",
@@ -43,49 +45,73 @@ const f = h(
43
45
  'ds:before:absolute ds:before:content-[""] ds:before:inset-x-[calc((var(--min-target-size)-100%)/-2)]',
44
46
  "ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)]"
45
47
  ].join(" ")
46
- ), g = (o, a, s) => o ?? (a || s ? "region" : void 0), A = (o) => o === "auto" || o === void 0 ? "hover" : o, N = {
48
+ ), x = (o, r, c) => o ?? (r || c ? "region" : void 0), S = (o) => o === "auto" || o === "scroll";
49
+ function A(o, r) {
50
+ const [c, u] = T(!1);
51
+ return O(() => {
52
+ const e = o.current;
53
+ if (!e) return;
54
+ if (typeof ResizeObserver > "u") {
55
+ u(!0);
56
+ return;
57
+ }
58
+ const n = () => {
59
+ const a = getComputedStyle(e), v = (r !== "horizontal" || S(a.overflowY)) && e.scrollHeight - e.clientHeight > 1, f = (r !== "vertical" || S(a.overflowX)) && e.scrollWidth - e.clientWidth > 1;
60
+ u(f || v || e.ownerDocument.activeElement === e);
61
+ }, l = new ResizeObserver(n), t = () => {
62
+ l.disconnect(), l.observe(e);
63
+ for (const a of Array.from(e.children)) l.observe(a);
64
+ }, d = new MutationObserver(() => {
65
+ t(), n();
66
+ });
67
+ return t(), d.observe(e, { childList: !0 }), e.addEventListener("blur", n), n(), () => {
68
+ l.disconnect(), d.disconnect(), e.removeEventListener("blur", n);
69
+ };
70
+ }, [o, r]), c;
71
+ }
72
+ const E = (o) => o === "auto" || o === void 0 ? "hover" : o, M = {
47
73
  vertical: "ds:overflow-y-auto",
48
74
  horizontal: "ds:overflow-x-auto",
49
75
  both: "ds:overflow-auto"
50
- }, p = m(
76
+ }, R = m(
51
77
  ({
52
78
  orientation: o = "vertical",
53
- size: a = "md",
54
- type: s = "auto",
55
- className: i,
56
- children: t,
79
+ size: r = "md",
80
+ type: c = "auto",
81
+ className: u,
82
+ children: e,
57
83
  scrollHideDelay: n,
58
84
  // The name and role belong on the viewport, the element that takes
59
85
  // focus, not on the Root wrapper around it.
60
- "aria-label": d,
61
- "aria-labelledby": c,
62
- role: u,
63
- ...l
64
- }, z) => {
65
- const b = x(null), w = y(b);
66
- return /* @__PURE__ */ S(
67
- r.Root,
86
+ "aria-label": l,
87
+ "aria-labelledby": t,
88
+ role: d,
89
+ ...a
90
+ }, v) => {
91
+ const f = b(null), j = D(f), h = b(null), V = w(() => y(v, h), [v]), C = A(h, o);
92
+ return /* @__PURE__ */ H(
93
+ s.Root,
68
94
  {
69
- ref: b,
70
- type: A(s),
71
- dir: w,
95
+ ref: f,
96
+ type: E(c),
97
+ dir: j,
72
98
  scrollHideDelay: n,
73
99
  "data-component": "scroll-area",
74
100
  className: [
75
101
  "ds:relative ds:overflow-hidden",
76
102
  "ds:min-w-0 ds:min-h-0",
77
- i
103
+ u
78
104
  ].filter(Boolean).join(" "),
79
- ...l,
105
+ ...a,
80
106
  children: [
81
- /* @__PURE__ */ e(
82
- r.Viewport,
107
+ /* @__PURE__ */ i(
108
+ s.Viewport,
83
109
  {
84
- ref: z,
85
- tabIndex: 0,
86
- role: g(u, d, c),
87
- "aria-label": d,
88
- "aria-labelledby": c,
110
+ ref: V,
111
+ tabIndex: C ? 0 : void 0,
112
+ role: x(d, l, t),
113
+ "aria-label": l,
114
+ "aria-labelledby": t,
89
115
  className: [
90
116
  "ds:h-full ds:w-full ds:rounded-[inherit]",
91
117
  // Radix wraps the viewport content in an inline
@@ -103,77 +129,81 @@ const f = h(
103
129
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
104
130
  "ds:forced-colors:focus-visible:outline-[Highlight]"
105
131
  ].filter(Boolean).join(" "),
106
- children: t
132
+ children: e
107
133
  }
108
134
  ),
109
135
  (o === "vertical" || o === "both") && // forceMount keeps the element in the DOM so CSS opacity transition
110
136
  // can animate the show/hide instead of mount/unmount snapping.
111
- /* @__PURE__ */ e(
112
- r.Scrollbar,
137
+ /* @__PURE__ */ i(
138
+ s.Scrollbar,
113
139
  {
114
140
  forceMount: !0,
115
141
  orientation: "vertical",
116
- className: f({ size: a }),
117
- children: /* @__PURE__ */ e(r.Thumb, { className: v() })
142
+ className: p({ size: r }),
143
+ children: /* @__PURE__ */ i(s.Thumb, { className: g() })
118
144
  }
119
145
  ),
120
- (o === "horizontal" || o === "both") && /* @__PURE__ */ e(
121
- r.Scrollbar,
146
+ (o === "horizontal" || o === "both") && /* @__PURE__ */ i(
147
+ s.Scrollbar,
122
148
  {
123
149
  forceMount: !0,
124
150
  orientation: "horizontal",
125
- className: f({ size: a }),
126
- children: /* @__PURE__ */ e(r.Thumb, { className: v() })
151
+ className: p({ size: r }),
152
+ children: /* @__PURE__ */ i(s.Thumb, { className: g() })
127
153
  }
128
154
  ),
129
- /* @__PURE__ */ e(r.Corner, {})
155
+ /* @__PURE__ */ i(s.Corner, {})
130
156
  ]
131
157
  }
132
158
  );
133
159
  }
134
160
  );
135
- p.displayName = "RadixScrollArea";
136
- const R = m(
137
- (o, a) => {
138
- const {
139
- orientation: s = "vertical",
140
- type: i = "auto",
141
- className: t,
142
- children: n,
143
- scrollHideDelay: d,
144
- size: c,
145
- role: u,
146
- ...l
147
- } = o;
148
- return i === "native" ? /* @__PURE__ */ e(
161
+ R.displayName = "RadixScrollArea";
162
+ const N = m(
163
+ ({
164
+ orientation: o = "vertical",
165
+ type: r,
166
+ className: c,
167
+ children: u,
168
+ scrollHideDelay: e,
169
+ size: n,
170
+ role: l,
171
+ ...t
172
+ }, d) => {
173
+ const a = b(null), v = w(() => y(d, a), [d]), f = A(a, o);
174
+ return /* @__PURE__ */ i(
149
175
  "div",
150
176
  {
151
- ref: a,
152
- role: g(u, l["aria-label"], l["aria-labelledby"]),
177
+ ref: v,
178
+ role: x(l, t["aria-label"], t["aria-labelledby"]),
153
179
  "data-component": "scroll-area",
154
- tabIndex: 0,
180
+ tabIndex: f ? 0 : void 0,
155
181
  className: [
156
- N[s],
182
+ M[o],
157
183
  "ds:min-w-0 ds:min-h-0",
158
184
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
159
185
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
160
186
  "ds:forced-colors:focus-visible:outline-[Highlight]",
161
- t
187
+ c
162
188
  ].filter(Boolean).join(" "),
163
- ...l,
164
- children: n
189
+ ...t,
190
+ children: u
165
191
  }
166
- ) : /* @__PURE__ */ e(p, { ref: a, ...o });
192
+ );
167
193
  }
168
194
  );
169
- R.displayName = "ScrollArea";
170
- const B = r.Root, C = r.Viewport, D = r.Scrollbar, k = r.Thumb, I = r.Corner;
195
+ N.displayName = "NativeScrollArea";
196
+ const B = m(
197
+ (o, r) => o.type === "native" ? /* @__PURE__ */ i(N, { ref: r, ...o }) : /* @__PURE__ */ i(R, { ref: r, ...o })
198
+ );
199
+ B.displayName = "ScrollArea";
200
+ const X = s.Root, Y = s.Viewport, q = s.Scrollbar, F = s.Thumb, G = s.Corner;
171
201
  export {
172
- R as S,
173
- I as a,
174
- B as b,
175
- D as c,
176
- k as d,
177
- C as e
202
+ B as S,
203
+ G as a,
204
+ X as b,
205
+ q as c,
206
+ F as d,
207
+ Y as e
178
208
  };
179
- //# sourceMappingURL=scroll-area-ZtFCv9K7.js.map
209
+ //# sourceMappingURL=scroll-area-CY5SLYNw.js.map