@alfadocs/ui-kit 0.42.0 → 0.43.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 (84) hide show
  1. package/dist/_chunks/{ar-Cn_NxqkN.js → ar-DEz65ZJW.js} +2 -2
  2. package/dist/_chunks/bmi-calculator-DuVSFDuw.js +259 -0
  3. package/dist/_chunks/{booking-4mCw3Mpl.js → booking-CtLwaxkK.js} +4 -4
  4. package/dist/_chunks/{calculator-dialog-B74fqpFZ.js → calculator-dialog-DdexHrTP.js} +2 -2
  5. package/dist/_chunks/{chart-Cbt0_sKv.js → chart-Cg3e9EH9.js} +101 -99
  6. package/dist/_chunks/{cycle-calculator-DsZbyzX6.js → cycle-calculator-Dln-y1k_.js} +43 -42
  7. package/dist/_chunks/{date-picker-CvQfs6Xh.js → date-picker-Bq7xhMA-.js} +109 -108
  8. package/dist/_chunks/date-picker-variants-DLi1Va_e.js +3238 -0
  9. package/dist/_chunks/{date-range-picker-U9fn1g9d.js → date-range-picker-DcXuI9y7.js} +20 -19
  10. package/dist/_chunks/{date-time-picker-Cva0ZCWw.js → date-time-picker-RimumeLR.js} +18 -17
  11. package/dist/_chunks/{de-BMM2H7Bs.js → de-bTBGdjPS.js} +2 -2
  12. package/dist/_chunks/{dialog-Cee13rHU.js → dialog-DOYgd75U.js} +46 -37
  13. package/dist/_chunks/{due-date-calculator-s_CBgaFs.js → due-date-calculator-Cc4dRqTI.js} +46 -38
  14. package/dist/_chunks/{editable-currency-cell-renderer-BhUkRiPZ.js → editable-currency-cell-renderer-9jqwDv5x.js} +2 -2
  15. package/dist/_chunks/{el-BYPonAaK.js → el-BWG5RXxa.js} +6 -6
  16. package/dist/_chunks/{es-CMkVCQ4F.js → es-DfO_G435.js} +2 -2
  17. package/dist/_chunks/{fr-BcuWxqft.js → fr-BTn24bs8.js} +2 -2
  18. package/dist/_chunks/{gestation-BXEgDGmP.js → gestation-mWF4AXea.js} +3 -3
  19. package/dist/_chunks/{gestational-age-calculator-CWOG3bkI.js → gestational-age-calculator-ZMSrzkRW.js} +42 -41
  20. package/dist/_chunks/{header-CTZWX-tm.js → header-Ce1Br27u.js} +70 -75
  21. package/dist/_chunks/{hi-wkq_rQAh.js → hi-Dj3oYd84.js} +2 -2
  22. package/dist/_chunks/{insert-result-DtQQeSSf.js → insert-result-DisOY2G-.js} +91 -75
  23. package/dist/_chunks/{isSameWeek-Bim5ftRd.js → isSameWeek-HfxKk6Lz.js} +2 -2
  24. package/dist/_chunks/{it-GiQrQ9p4.js → it-Y85ofIQQ.js} +7 -7
  25. package/dist/_chunks/{ja-qfYg3Rua.js → ja-CQ7J6YoA.js} +2 -2
  26. package/dist/_chunks/{marketplace-app-shell-kVAVycz_.js → marketplace-app-shell-Dc5cTIt8.js} +186 -149
  27. package/dist/_chunks/{nl-xOogO4sZ.js → nl-D9kHCmp3.js} +2 -2
  28. package/dist/_chunks/{patient-shell-lDX3wwu6.js → patient-shell-CnT4L8gn.js} +2 -2
  29. package/dist/_chunks/{pl-GnOW6eGK.js → pl-B3Smqpkr.js} +3 -3
  30. package/dist/_chunks/{pregnancy-weight-gain-B7kBK-ZR.js → pregnancy-weight-gain-zZL5Ir2-.js} +49 -48
  31. package/dist/_chunks/{pt-_bV5b5RW.js → pt-D3J-1c_7.js} +6 -6
  32. package/dist/_chunks/{ro-BEcyh5Nj.js → ro-BKAbbEA3.js} +2 -2
  33. package/dist/_chunks/{ru-Bi86hqMf.js → ru-BeG8f0Ep.js} +3 -3
  34. package/dist/_chunks/{sign-document-QHfcNKFj.js → sign-document-B-3k_0LO.js} +165 -137
  35. package/dist/_chunks/{sq-BujHSAWu.js → sq-_hRPaeUy.js} +6 -6
  36. package/dist/_chunks/subDays-Dv7q9S7u.js +8 -0
  37. package/dist/_chunks/{sv-C8AeDrTA.js → sv-g009fSpe.js} +2 -2
  38. package/dist/_chunks/{tab-bar-C4II-7ej.js → tab-bar-Xetknddo.js} +53 -34
  39. package/dist/_chunks/{tr-CMSs_Vgf.js → tr-OKUOuhMW.js} +2 -2
  40. package/dist/_chunks/{unit-converter-D1UrEUxa.js → unit-converter-CuXCXJhK.js} +2 -2
  41. package/dist/_chunks/{zh-CN-eXB-PFu4.js → zh-CN-De4zwEhx.js} +3 -3
  42. package/dist/agent-catalog.json +1 -1
  43. package/dist/components/_shared/calendar-class-names.d.ts +8 -0
  44. package/dist/components/_shared/index.d.ts +2 -0
  45. package/dist/components/_shared/insert-result.d.ts +57 -2
  46. package/dist/components/badge/badge.d.ts +1 -1
  47. package/dist/components/bmi-calculator/index.js +1 -1
  48. package/dist/components/booking/index.js +1 -1
  49. package/dist/components/calculator-dialog/index.js +1 -1
  50. package/dist/components/card/card.d.ts +1 -1
  51. package/dist/components/chart/chart.d.ts +10 -0
  52. package/dist/components/chart/index.js +1 -1
  53. package/dist/components/cycle-calculator/index.js +1 -1
  54. package/dist/components/data-table/index.js +1 -1
  55. package/dist/components/date-picker/date-picker.d.ts +0 -1
  56. package/dist/components/date-picker/index.js +1 -1
  57. package/dist/components/date-range-picker/date-range-picker.d.ts +0 -1
  58. package/dist/components/date-range-picker/index.js +1 -1
  59. package/dist/components/date-time-picker/date-time-picker.d.ts +0 -1
  60. package/dist/components/date-time-picker/index.js +1 -1
  61. package/dist/components/dialog/index.js +1 -1
  62. package/dist/components/due-date-calculator/index.js +2 -2
  63. package/dist/components/gestational-age-calculator/index.js +1 -1
  64. package/dist/components/header/header.d.ts +8 -0
  65. package/dist/components/header/index.js +1 -1
  66. package/dist/components/index.d.ts +1 -1
  67. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  68. package/dist/components/public-header/public-header.d.ts +1 -1
  69. package/dist/components/sign-document/index.js +1 -1
  70. package/dist/components/sign-document/sign-document.d.ts +12 -0
  71. package/dist/components/stat/stat.d.ts +1 -1
  72. package/dist/components/tab-bar/index.d.ts +1 -1
  73. package/dist/components/tab-bar/index.js +1 -1
  74. package/dist/components/tab-bar/tab-bar.d.ts +44 -1
  75. package/dist/components/unit-converter/index.js +1 -1
  76. package/dist/index.js +495 -494
  77. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  78. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +57 -1
  79. package/dist/patterns/patient-shell/index.js +1 -1
  80. package/dist/tokens.css +1411 -2
  81. package/package.json +1 -1
  82. package/dist/_chunks/bmi-calculator-D4juUcyF.js +0 -219
  83. package/dist/_chunks/react-day-picker-CdtIiKjx.js +0 -3174
  84. package/dist/_chunks/subDays-_T9YeKPX.js +0 -8
@@ -1,22 +1,22 @@
1
- import { jsxs as t, jsx as e, Fragment as V } from "react/jsx-runtime";
2
- import { forwardRef as b, useState as j } from "react";
3
- import { useTranslation as C } from "react-i18next";
4
- import { c } from "./index-D2ZczOXr.js";
5
- import { A as O } from "./app-frame-BYx1gcV7.js";
6
- import { A as W } from "./avatar-BNQNhoyL.js";
7
- import { A as P } from "./alert-ywPR59NE.js";
8
- import { C as y } from "./card-DPmk26CL.js";
1
+ import { jsxs as n, jsx as e, Fragment as T } from "react/jsx-runtime";
2
+ import { forwardRef as b, useState as P } from "react";
3
+ import { useTranslation as M } from "react-i18next";
4
+ import { c as p } from "./index-D2ZczOXr.js";
5
+ import { A as E } from "./app-frame-BYx1gcV7.js";
6
+ import { A as $ } from "./avatar-BNQNhoyL.js";
7
+ import { A as D } from "./alert-ywPR59NE.js";
8
+ import { C } from "./card-DPmk26CL.js";
9
9
  import { D as i } from "./dropdown-menu-CUEXqKis.js";
10
- import { T as R } from "./tab-bar-C4II-7ej.js";
11
- import { H as E, g as $, f as S, e as D, a as F, c as q, d as G } from "./header-CTZWX-tm.js";
12
- import { H as J } from "./header-settings-Bx0Biimh.js";
13
- import { S as K } from "./sign-in-with-alfadocs-button-DeHBFRNS.js";
14
- import { S as Q, a as U, h as X, j as Y, k as Z, i as _ } from "./sidebar-_vJXI9rB.js";
15
- import { T as ee } from "./theme-root-BOO73p5t.js";
16
- import { a as ae } from "./tooltip-DvmfrNvB.js";
17
- import { u as se } from "./use-theme-C2dHKUAN.js";
18
- import { L as te } from "./logo-yituK7sE.js";
19
- const ne = c("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), re = c(
10
+ import { T as F } from "./tab-bar-Xetknddo.js";
11
+ import { a as S, H as q, g as G, f as w, e as J, c as K, d as Q } from "./header-Ce1Br27u.js";
12
+ import { H as U } from "./header-settings-Bx0Biimh.js";
13
+ import { S as X } from "./sign-in-with-alfadocs-button-DeHBFRNS.js";
14
+ import { S as Y, a as Z, j as _, k as ee, i as ae, h as A } from "./sidebar-_vJXI9rB.js";
15
+ import { T as se } from "./theme-root-BOO73p5t.js";
16
+ import { a as te } from "./tooltip-DvmfrNvB.js";
17
+ import { u as re } from "./use-theme-C2dHKUAN.js";
18
+ import { L as ne } from "./logo-yituK7sE.js";
19
+ const de = p("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), le = p(
20
20
  [
21
21
  "ds:[font-family:var(--font-serif)]",
22
22
  "ds:font-semibold",
@@ -57,30 +57,30 @@ const ne = c("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), re =
57
57
  },
58
58
  defaultVariants: { size: "md", tone: "gradient" }
59
59
  }
60
- ), g = b(
60
+ ), h = b(
61
61
  ({
62
62
  name: s,
63
- monochrome: a = !1,
64
- tone: n = "auto",
65
- size: r = "md",
63
+ monochrome: r = !1,
64
+ tone: a = "auto",
65
+ size: t = "md",
66
66
  className: d,
67
67
  ...l
68
- }, m) => /* @__PURE__ */ t(
68
+ }, o) => /* @__PURE__ */ n(
69
69
  "span",
70
70
  {
71
- ref: m,
71
+ ref: o,
72
72
  role: "img",
73
73
  "aria-label": `Alfadocs ${s}`.trim(),
74
- className: ne({ className: d }),
74
+ className: de({ className: d }),
75
75
  "data-component": "product-lockup",
76
76
  ...l,
77
77
  children: [
78
78
  /* @__PURE__ */ e(
79
- te,
79
+ ne,
80
80
  {
81
- variant: a ? "monochrome" : "wordmark",
82
- tone: n,
83
- size: r,
81
+ variant: r ? "monochrome" : "wordmark",
82
+ tone: a,
83
+ size: t,
84
84
  decorative: !0
85
85
  }
86
86
  ),
@@ -88,9 +88,9 @@ const ne = c("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), re =
88
88
  "span",
89
89
  {
90
90
  "aria-hidden": !0,
91
- className: re({
92
- size: r,
93
- tone: a ? "solid" : "gradient"
91
+ className: le({
92
+ size: t,
93
+ tone: r ? "solid" : "gradient"
94
94
  }),
95
95
  children: s
96
96
  }
@@ -99,46 +99,46 @@ const ne = c("ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]"), re =
99
99
  }
100
100
  )
101
101
  );
102
- g.displayName = "ProductLockup";
103
- function de(s) {
102
+ h.displayName = "ProductLockup";
103
+ function ie(s) {
104
104
  return s > 99 ? "99+" : String(s);
105
105
  }
106
- function le({
106
+ function oe({
107
107
  user: s,
108
- labels: a,
109
- onSignOut: n,
110
- onToggleFullscreen: r
108
+ labels: r,
109
+ onSignOut: a,
110
+ onToggleFullscreen: t
111
111
  }) {
112
- const { t: d } = C(), l = a.fullscreen ?? d("patientShell.settings.fullscreen");
112
+ const { t: d } = M(), l = r.fullscreen ?? d("patientShell.settings.fullscreen");
113
113
  return (
114
114
  // Non-modal: an account menu shouldn't inert/aria-hide the whole shell
115
115
  // behind it (which leaves the still-focusable chrome inside an
116
116
  // aria-hidden region — an `aria-hidden-focus` violation).
117
- /* @__PURE__ */ t(i.Root, { modal: !1, children: [
118
- /* @__PURE__ */ e(i.Trigger, { asChild: !0, children: /* @__PURE__ */ t(
117
+ /* @__PURE__ */ n(i.Root, { modal: !1, children: [
118
+ /* @__PURE__ */ e(i.Trigger, { asChild: !0, children: /* @__PURE__ */ n(
119
119
  "button",
120
120
  {
121
121
  type: "button",
122
- "aria-label": a.accountMenu,
122
+ "aria-label": r.accountMenu,
123
123
  "data-testid": "marketplace-account-trigger",
124
124
  className: "ds:rounded-full ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)] ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)] ds:justify-center ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]",
125
125
  children: [
126
- /* @__PURE__ */ e(W, { name: s.name, src: s.avatarSrc, size: "md" }),
126
+ /* @__PURE__ */ e($, { name: s.name, src: s.avatarSrc, size: "md" }),
127
127
  /* @__PURE__ */ e("span", { className: "ds:hidden ds:sm:inline", children: s.name })
128
128
  ]
129
129
  }
130
130
  ) }),
131
- /* @__PURE__ */ t(i.Content, { align: "end", children: [
132
- /* @__PURE__ */ e(i.Label, { children: /* @__PURE__ */ t("span", { className: "ds:flex ds:flex-col", children: [
131
+ /* @__PURE__ */ n(i.Content, { align: "end", children: [
132
+ /* @__PURE__ */ e(i.Label, { children: /* @__PURE__ */ n("span", { className: "ds:flex ds:flex-col", children: [
133
133
  /* @__PURE__ */ e("span", { className: "ds:font-medium", children: s.name }),
134
134
  s.email ? /* @__PURE__ */ e("span", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[color:var(--muted-foreground)]", children: s.email }) : null
135
135
  ] }) }),
136
- r ? /* @__PURE__ */ t(V, { children: [
136
+ t ? /* @__PURE__ */ n(T, { children: [
137
137
  /* @__PURE__ */ e(i.Separator, {}),
138
138
  /* @__PURE__ */ e(
139
139
  i.Item,
140
140
  {
141
- onSelect: r,
141
+ onSelect: t,
142
142
  "data-testid": "marketplace-fullscreen",
143
143
  children: l
144
144
  }
@@ -148,148 +148,185 @@ function le({
148
148
  /* @__PURE__ */ e(
149
149
  i.Item,
150
150
  {
151
- onSelect: n,
151
+ onSelect: a,
152
152
  "data-testid": "marketplace-sign-out",
153
- children: a.signOut
153
+ children: r.signOut
154
154
  }
155
155
  )
156
156
  ] })
157
157
  ] })
158
158
  );
159
159
  }
160
- function ie({ nav: s }) {
161
- return /* @__PURE__ */ e(U, { children: s.map((a) => {
162
- const n = typeof a.badgeCount == "number" && a.badgeCount > 0 ? a.badgeCount : void 0;
163
- return /* @__PURE__ */ t(
164
- X,
160
+ function ce({
161
+ nav: s,
162
+ renderLink: r
163
+ }) {
164
+ return /* @__PURE__ */ e(Z, { children: s.map((a) => {
165
+ const t = typeof a.badgeCount == "number" && a.badgeCount > 0 ? a.badgeCount : void 0, d = /* @__PURE__ */ n(T, { children: [
166
+ a.icon ? /* @__PURE__ */ e(_, { children: a.icon }) : null,
167
+ /* @__PURE__ */ e(ee, { children: a.label }),
168
+ t !== void 0 ? /* @__PURE__ */ e(ae, { children: ie(t) }) : null
169
+ ] });
170
+ return r ? /* @__PURE__ */ e(A, { asChild: !0, isActive: a.isActive, children: r({
171
+ href: a.href,
172
+ children: d,
173
+ "aria-current": a.isActive ? "page" : void 0
174
+ }) }, a.id) : /* @__PURE__ */ e(
175
+ A,
165
176
  {
166
177
  href: a.href,
167
178
  "aria-label": a.label,
168
179
  isActive: a.isActive,
169
- children: [
170
- a.icon ? /* @__PURE__ */ e(Y, { children: a.icon }) : null,
171
- /* @__PURE__ */ e(Z, { children: a.label }),
172
- n !== void 0 ? /* @__PURE__ */ e(_, { children: de(n) }) : null
173
- ]
180
+ ...a.onClick ? { onClick: a.onClick } : {},
181
+ children: d
174
182
  },
175
183
  a.id
176
184
  );
177
185
  }) });
178
186
  }
179
- const w = c("ds:bg-[color:var(--app-shell-background)]", {
187
+ const z = p("ds:bg-[color:var(--app-shell-background)]", {
180
188
  variants: {
181
189
  variant: {
182
190
  standalone: "",
183
- embedded: "ds:flex-1"
191
+ embedded: [
192
+ "ds:flex-1",
193
+ "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
194
+ "ds:pt-[var(--spacing-lg)] ds:pb-[var(--spacing-md)]"
195
+ ].join(" ")
184
196
  }
185
197
  },
186
198
  defaultVariants: { variant: "standalone" }
187
199
  });
188
- function oe({
200
+ function me({
189
201
  nav: s,
190
- ariaLabel: a
202
+ ariaLabel: r,
203
+ renderLink: a
191
204
  }) {
192
- return /* @__PURE__ */ e(R, { items: s, ariaLabel: a });
205
+ const t = a ? ({
206
+ href: d,
207
+ className: l,
208
+ children: o,
209
+ "aria-current": m
210
+ }) => a({ href: d, className: l, children: o, "aria-current": m }) : void 0;
211
+ return /* @__PURE__ */ e(
212
+ F,
213
+ {
214
+ items: s,
215
+ ariaLabel: r,
216
+ ...t ? { renderLink: t } : {}
217
+ }
218
+ );
193
219
  }
194
- const ce = b(
220
+ const pe = b(
195
221
  ({
196
222
  productName: s,
197
- productHref: a = "/",
198
- nav: n,
199
- user: r,
200
- labels: d,
201
- onSignOut: l,
223
+ productHref: r = "/",
224
+ nav: a,
225
+ renderLink: t,
226
+ user: d,
227
+ labels: l,
228
+ onSignOut: o,
202
229
  onToggleFullscreen: m,
203
- sidebarState: p,
204
- mainAriaLabel: o,
205
- variant: f = "standalone",
230
+ sidebarState: c,
231
+ mainAriaLabel: f,
232
+ variant: g = "standalone",
206
233
  children: u
207
- }, h) => {
208
- const { t: v } = C(), { theme: A, accessibility: z, resolvedTheme: x } = se(), T = A !== "system" || z !== "system", M = x.startsWith("dark") ? "dark" : "light", H = x.endsWith("-accessible"), [B, N] = j(!1), I = /* @__PURE__ */ e(ae, { children: /* @__PURE__ */ e(
209
- O,
234
+ }, x) => {
235
+ const { t: v } = M(), B = t ? /* @__PURE__ */ e(S, { asChild: !0, children: t({
236
+ href: r,
237
+ children: /* @__PURE__ */ e(h, { name: s, size: "md", monochrome: !0 })
238
+ }) }) : /* @__PURE__ */ e(
239
+ S,
210
240
  {
211
- mainAriaLabel: o,
212
- mainClassName: w({ variant: "standalone" }),
213
- header: /* @__PURE__ */ t(E, { children: [
214
- /* @__PURE__ */ t($, { children: [
215
- /* @__PURE__ */ e(S, { href: "#main-content" }),
216
- /* @__PURE__ */ e(D, { onMenuOpen: () => N(!0) }),
217
- /* @__PURE__ */ e(
218
- F,
219
- {
220
- href: a,
221
- logo: /* @__PURE__ */ e(g, { name: s, size: "md", monochrome: !0 })
222
- }
223
- )
241
+ href: r,
242
+ logo: /* @__PURE__ */ e(h, { name: s, size: "md", monochrome: !0 })
243
+ }
244
+ ), { theme: H, accessibility: I, resolvedTheme: k } = re(), V = H !== "system" || I !== "system", j = k.startsWith("dark") ? "dark" : "light", L = k.endsWith("-accessible"), [O, N] = P(!1), W = /* @__PURE__ */ e(te, { children: /* @__PURE__ */ e(
245
+ E,
246
+ {
247
+ mainAriaLabel: f,
248
+ mainClassName: z({ variant: "standalone" }),
249
+ header: /* @__PURE__ */ n(q, { children: [
250
+ /* @__PURE__ */ n(G, { children: [
251
+ /* @__PURE__ */ e(w, { href: "#main-content" }),
252
+ /* @__PURE__ */ e(J, { onMenuOpen: () => N(!0) }),
253
+ B
224
254
  ] }),
225
- /* @__PURE__ */ e(q, {}),
226
- /* @__PURE__ */ t(G, { children: [
227
- /* @__PURE__ */ e(J, { size: "sm" }),
255
+ /* @__PURE__ */ e(K, {}),
256
+ /* @__PURE__ */ n(Q, { children: [
257
+ /* @__PURE__ */ e(U, { size: "sm" }),
228
258
  /* @__PURE__ */ e(
229
- le,
259
+ oe,
230
260
  {
231
- user: r,
232
- labels: d,
233
- onSignOut: l,
261
+ user: d,
262
+ labels: l,
263
+ onSignOut: o,
234
264
  onToggleFullscreen: m
235
265
  }
236
266
  )
237
267
  ] })
238
268
  ] }),
239
269
  sidebar: /* @__PURE__ */ e(
240
- Q,
270
+ Y,
241
271
  {
242
- ...p !== void 0 ? { state: p } : { defaultState: "expanded" },
243
- open: B,
272
+ ...c !== void 0 ? { state: c } : { defaultState: "expanded" },
273
+ open: O,
244
274
  onOpenChange: N,
245
275
  "aria-label": v("navigation.sidebar.label"),
246
276
  "data-testid": "marketplace-app-shell-sidebar",
247
- children: /* @__PURE__ */ e(ie, { nav: n })
277
+ children: /* @__PURE__ */ e(ce, { nav: a, renderLink: t })
248
278
  }
249
279
  ),
250
280
  children: u
251
281
  }
252
- ) }), L = (
282
+ ) }), R = (
253
283
  // The shell owns the warm-grey canvas; TabBar's strip is transparent and
254
284
  // floats its pill on it, and `<main>` continues the same surface.
255
- /* @__PURE__ */ t("div", { className: "ds:flex ds:min-h-dvh ds:flex-col ds:bg-[color:var(--app-shell-background)]", children: [
256
- /* @__PURE__ */ e(S, { href: "#main-content" }),
257
- /* @__PURE__ */ e(oe, { nav: n, ariaLabel: v("navigation.sidebar.label") }),
285
+ /* @__PURE__ */ n("div", { className: "ds:flex ds:min-h-dvh ds:flex-col ds:bg-[color:var(--app-shell-background)]", children: [
286
+ /* @__PURE__ */ e(w, { href: "#main-content" }),
287
+ /* @__PURE__ */ e(
288
+ me,
289
+ {
290
+ nav: a,
291
+ ariaLabel: v("navigation.sidebar.label"),
292
+ renderLink: t
293
+ }
294
+ ),
258
295
  /* @__PURE__ */ e(
259
296
  "main",
260
297
  {
261
298
  id: "main-content",
262
299
  tabIndex: -1,
263
- "aria-label": o ?? v("navigation.main.label", "Main content"),
264
- className: w({ variant: "embedded" }),
300
+ "aria-label": f ?? v("navigation.main.label", "Main content"),
301
+ className: z({ variant: "embedded" }),
265
302
  children: u
266
303
  }
267
304
  )
268
305
  ] })
269
- ), k = f === "embedded" ? L : I;
270
- return T ? /* @__PURE__ */ e(
271
- ee,
306
+ ), y = g === "embedded" ? R : W;
307
+ return V ? /* @__PURE__ */ e(
308
+ se,
272
309
  {
273
- ref: h,
274
- theme: M,
275
- accessible: H,
310
+ ref: x,
311
+ theme: j,
312
+ accessible: L,
276
313
  className: "ds:contents",
277
314
  "data-component": "marketplace-app-shell",
278
- children: k
315
+ children: y
279
316
  }
280
317
  ) : /* @__PURE__ */ e(
281
318
  "div",
282
319
  {
283
- ref: h,
320
+ ref: x,
284
321
  className: "ds:contents",
285
322
  "data-component": "marketplace-app-shell",
286
- children: k
323
+ children: y
287
324
  }
288
325
  );
289
326
  }
290
327
  );
291
- ce.displayName = "MarketplaceAppShell";
292
- const me = c(
328
+ pe.displayName = "MarketplaceAppShell";
329
+ const fe = p(
293
330
  "ds:flex ds:min-h-dvh ds:bg-[color:var(--app-shell-background)]",
294
331
  {
295
332
  variants: {
@@ -300,7 +337,7 @@ const me = c(
300
337
  },
301
338
  defaultVariants: { layout: "card" }
302
339
  }
303
- ), pe = c("ds:w-full", {
340
+ ), he = p("ds:w-full", {
304
341
  variants: {
305
342
  layout: {
306
343
  card: "ds:max-w-[400px]",
@@ -308,39 +345,39 @@ const me = c(
308
345
  }
309
346
  },
310
347
  defaultVariants: { layout: "card" }
311
- }), fe = c("", {
348
+ }), ue = p("", {
312
349
  variants: {
313
350
  layout: { card: "", split: "ds:lg:hidden" }
314
351
  },
315
352
  defaultVariants: { layout: "card" }
316
- }), ue = b(
353
+ }), ge = b(
317
354
  ({
318
355
  productName: s,
319
- title: a,
320
- description: n,
321
- connectLabel: r,
356
+ title: r,
357
+ description: a,
358
+ connectLabel: t,
322
359
  status: d = "idle",
323
360
  error: l,
324
- onConnect: m,
325
- footer: p,
326
- layout: o = "card",
361
+ onConnect: o,
362
+ footer: m,
363
+ layout: c = "card",
327
364
  brandPanel: f,
328
- className: u
329
- }, h) => /* @__PURE__ */ t(
365
+ className: g
366
+ }, u) => /* @__PURE__ */ n(
330
367
  "div",
331
368
  {
332
- ref: h,
369
+ ref: u,
333
370
  "data-component": "connect-with-alfadocs",
334
- className: `${me({ layout: o })} ${u ?? ""}`,
371
+ className: `${fe({ layout: c })} ${g ?? ""}`,
335
372
  children: [
336
- o === "split" ? (
373
+ c === "split" ? (
337
374
  // Desktop brand panel (lg+ only): a bold `--primary` surface with the
338
375
  // monochrome lockup riding the `--primary-foreground` ink, plus an
339
376
  // optional `brandPanel` slot. Decorative — the card carries the real
340
377
  // heading + CTA, and shows its own lockup below `lg:`.
341
- /* @__PURE__ */ t("div", { className: "ds:hidden ds:lg:flex ds:lg:w-[55%] ds:flex-col ds:items-center ds:justify-center ds:gap-[var(--spacing-lg)] ds:bg-[color:var(--primary)] ds:text-[color:var(--primary-foreground)] ds:ps-[var(--spacing-2xl)] ds:pe-[var(--spacing-2xl)] ds:pt-[var(--spacing-2xl)] ds:pb-[var(--spacing-2xl)] ds:text-start", children: [
378
+ /* @__PURE__ */ n("div", { className: "ds:hidden ds:lg:flex ds:lg:w-[55%] ds:flex-col ds:items-center ds:justify-center ds:gap-[var(--spacing-lg)] ds:bg-[color:var(--primary)] ds:text-[color:var(--primary-foreground)] ds:ps-[var(--spacing-2xl)] ds:pe-[var(--spacing-2xl)] ds:pt-[var(--spacing-2xl)] ds:pb-[var(--spacing-2xl)] ds:text-start", children: [
342
379
  /* @__PURE__ */ e(
343
- g,
380
+ h,
344
381
  {
345
382
  name: s,
346
383
  size: "lg",
@@ -351,41 +388,41 @@ const me = c(
351
388
  f ? /* @__PURE__ */ e("div", { className: "type-body ds:max-w-[28rem] ds:text-start", children: f }) : null
352
389
  ] })
353
390
  ) : null,
354
- /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-1 ds:items-center ds:justify-center ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ e(y, { className: pe({ layout: o }), children: /* @__PURE__ */ t(y.Body, { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-lg)] ds:text-center", children: [
391
+ /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-1 ds:items-center ds:justify-center ds:p-[var(--spacing-lg)]", children: /* @__PURE__ */ e(C, { className: he({ layout: c }), children: /* @__PURE__ */ n(C.Body, { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-lg)] ds:text-center", children: [
355
392
  /* @__PURE__ */ e(
356
- g,
393
+ h,
357
394
  {
358
395
  name: s,
359
396
  size: "lg",
360
- className: fe({ layout: o })
397
+ className: ue({ layout: c })
361
398
  }
362
399
  ),
363
- /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
364
- /* @__PURE__ */ e("h1", { className: "type-title-card", children: a }),
365
- /* @__PURE__ */ e("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: n })
400
+ /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
401
+ /* @__PURE__ */ e("h1", { className: "type-title-card", children: r }),
402
+ /* @__PURE__ */ e("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: a })
366
403
  ] }),
367
- d === "error" && l ? /* @__PURE__ */ e(P, { variant: "error", className: "ds:w-full ds:text-start", children: l }) : null,
404
+ d === "error" && l ? /* @__PURE__ */ e(D, { variant: "error", className: "ds:w-full ds:text-start", children: l }) : null,
368
405
  /* @__PURE__ */ e(
369
- K,
406
+ X,
370
407
  {
371
408
  intent: "primary",
372
409
  className: "ds:w-full",
373
410
  loading: d === "connecting",
374
- onClick: m,
375
- label: r,
411
+ onClick: o,
412
+ label: t,
376
413
  "data-testid": "connect-with-alfadocs-button"
377
414
  }
378
415
  ),
379
- p ? /* @__PURE__ */ e("div", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: p }) : null
416
+ m ? /* @__PURE__ */ e("div", { className: "type-meta ds:text-[color:var(--muted-foreground)]", children: m }) : null
380
417
  ] }) }) })
381
418
  ]
382
419
  }
383
420
  )
384
421
  );
385
- ue.displayName = "ConnectWithAlfadocs";
422
+ ge.displayName = "ConnectWithAlfadocs";
386
423
  export {
387
- ue as C,
388
- ce as M,
389
- g as P
424
+ ge as C,
425
+ pe as M,
426
+ h as P
390
427
  };
391
- //# sourceMappingURL=marketplace-app-shell-kVAVycz_.js.map
428
+ //# sourceMappingURL=marketplace-app-shell-Dc5cTIt8.js.map
@@ -1,4 +1,4 @@
1
- import { o as d, q as n, r, v as s } from "./react-day-picker-CdtIiKjx.js";
1
+ import { q as d, r as n, v as r, w as s } from "./date-picker-variants-DLi1Va_e.js";
2
2
  const m = {
3
3
  lessThanXSeconds: {
4
4
  one: "minder dan een seconde",
@@ -323,4 +323,4 @@ const m = {
323
323
  export {
324
324
  S as nl
325
325
  };
326
- //# sourceMappingURL=nl-xOogO4sZ.js.map
326
+ //# sourceMappingURL=nl-D9kHCmp3.js.map
@@ -4,7 +4,7 @@ import { useTranslation as m } from "react-i18next";
4
4
  import { A } from "./app-frame-BYx1gcV7.js";
5
5
  import { I as C } from "./icon-button-CKEOrN37.js";
6
6
  import { D as i } from "./dropdown-menu-CUEXqKis.js";
7
- import { H, g as x, f as N, e as B, a as M, c as T, d as O } from "./header-CTZWX-tm.js";
7
+ import { H, g as x, f as N, e as B, a as M, c as T, d as O } from "./header-Ce1Br27u.js";
8
8
  import { L as P } from "./logo-yituK7sE.js";
9
9
  import { S as W, a as j, h as R, j as _, k as z, i as D } from "./sidebar-_vJXI9rB.js";
10
10
  import { T as E } from "./theme-root-BOO73p5t.js";
@@ -171,4 +171,4 @@ $.displayName = "PatientShell";
171
171
  export {
172
172
  $ as P
173
173
  };
174
- //# sourceMappingURL=patient-shell-lDX3wwu6.js.map
174
+ //# sourceMappingURL=patient-shell-CnT4L8gn.js.map
@@ -1,5 +1,5 @@
1
- import { o as s, q as a, r, v as l } from "./react-day-picker-CdtIiKjx.js";
2
- import { i as p } from "./isSameWeek-Bim5ftRd.js";
1
+ import { q as s, r as a, v as r, w as l } from "./date-picker-variants-DLi1Va_e.js";
2
+ import { i as p } from "./isSameWeek-HfxKk6Lz.js";
3
3
  const w = {
4
4
  lessThanXSeconds: {
5
5
  one: {
@@ -511,4 +511,4 @@ const I = {
511
511
  export {
512
512
  Z as pl
513
513
  };
514
- //# sourceMappingURL=pl-GnOW6eGK.js.map
514
+ //# sourceMappingURL=pl-B3Smqpkr.js.map