@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.
- package/dist/_chunks/{ar-Cn_NxqkN.js → ar-DEz65ZJW.js} +2 -2
- package/dist/_chunks/bmi-calculator-DuVSFDuw.js +259 -0
- package/dist/_chunks/{booking-4mCw3Mpl.js → booking-CtLwaxkK.js} +4 -4
- package/dist/_chunks/{calculator-dialog-B74fqpFZ.js → calculator-dialog-DdexHrTP.js} +2 -2
- package/dist/_chunks/{chart-Cbt0_sKv.js → chart-Cg3e9EH9.js} +101 -99
- package/dist/_chunks/{cycle-calculator-DsZbyzX6.js → cycle-calculator-Dln-y1k_.js} +43 -42
- package/dist/_chunks/{date-picker-CvQfs6Xh.js → date-picker-Bq7xhMA-.js} +109 -108
- package/dist/_chunks/date-picker-variants-DLi1Va_e.js +3238 -0
- package/dist/_chunks/{date-range-picker-U9fn1g9d.js → date-range-picker-DcXuI9y7.js} +20 -19
- package/dist/_chunks/{date-time-picker-Cva0ZCWw.js → date-time-picker-RimumeLR.js} +18 -17
- package/dist/_chunks/{de-BMM2H7Bs.js → de-bTBGdjPS.js} +2 -2
- package/dist/_chunks/{dialog-Cee13rHU.js → dialog-DOYgd75U.js} +46 -37
- package/dist/_chunks/{due-date-calculator-s_CBgaFs.js → due-date-calculator-Cc4dRqTI.js} +46 -38
- package/dist/_chunks/{editable-currency-cell-renderer-BhUkRiPZ.js → editable-currency-cell-renderer-9jqwDv5x.js} +2 -2
- package/dist/_chunks/{el-BYPonAaK.js → el-BWG5RXxa.js} +6 -6
- package/dist/_chunks/{es-CMkVCQ4F.js → es-DfO_G435.js} +2 -2
- package/dist/_chunks/{fr-BcuWxqft.js → fr-BTn24bs8.js} +2 -2
- package/dist/_chunks/{gestation-BXEgDGmP.js → gestation-mWF4AXea.js} +3 -3
- package/dist/_chunks/{gestational-age-calculator-CWOG3bkI.js → gestational-age-calculator-ZMSrzkRW.js} +42 -41
- package/dist/_chunks/{header-CTZWX-tm.js → header-Ce1Br27u.js} +70 -75
- package/dist/_chunks/{hi-wkq_rQAh.js → hi-Dj3oYd84.js} +2 -2
- package/dist/_chunks/{insert-result-DtQQeSSf.js → insert-result-DisOY2G-.js} +91 -75
- package/dist/_chunks/{isSameWeek-Bim5ftRd.js → isSameWeek-HfxKk6Lz.js} +2 -2
- package/dist/_chunks/{it-GiQrQ9p4.js → it-Y85ofIQQ.js} +7 -7
- package/dist/_chunks/{ja-qfYg3Rua.js → ja-CQ7J6YoA.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-kVAVycz_.js → marketplace-app-shell-Dc5cTIt8.js} +186 -149
- package/dist/_chunks/{nl-xOogO4sZ.js → nl-D9kHCmp3.js} +2 -2
- package/dist/_chunks/{patient-shell-lDX3wwu6.js → patient-shell-CnT4L8gn.js} +2 -2
- package/dist/_chunks/{pl-GnOW6eGK.js → pl-B3Smqpkr.js} +3 -3
- package/dist/_chunks/{pregnancy-weight-gain-B7kBK-ZR.js → pregnancy-weight-gain-zZL5Ir2-.js} +49 -48
- package/dist/_chunks/{pt-_bV5b5RW.js → pt-D3J-1c_7.js} +6 -6
- package/dist/_chunks/{ro-BEcyh5Nj.js → ro-BKAbbEA3.js} +2 -2
- package/dist/_chunks/{ru-Bi86hqMf.js → ru-BeG8f0Ep.js} +3 -3
- package/dist/_chunks/{sign-document-QHfcNKFj.js → sign-document-B-3k_0LO.js} +165 -137
- package/dist/_chunks/{sq-BujHSAWu.js → sq-_hRPaeUy.js} +6 -6
- package/dist/_chunks/subDays-Dv7q9S7u.js +8 -0
- package/dist/_chunks/{sv-C8AeDrTA.js → sv-g009fSpe.js} +2 -2
- package/dist/_chunks/{tab-bar-C4II-7ej.js → tab-bar-Xetknddo.js} +53 -34
- package/dist/_chunks/{tr-CMSs_Vgf.js → tr-OKUOuhMW.js} +2 -2
- package/dist/_chunks/{unit-converter-D1UrEUxa.js → unit-converter-CuXCXJhK.js} +2 -2
- package/dist/_chunks/{zh-CN-eXB-PFu4.js → zh-CN-De4zwEhx.js} +3 -3
- package/dist/agent-catalog.json +1 -1
- package/dist/components/_shared/calendar-class-names.d.ts +8 -0
- package/dist/components/_shared/index.d.ts +2 -0
- package/dist/components/_shared/insert-result.d.ts +57 -2
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/card/card.d.ts +1 -1
- package/dist/components/chart/chart.d.ts +10 -0
- package/dist/components/chart/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/date-picker.d.ts +0 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts +0 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/date-time-picker.d.ts +0 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/header/header.d.ts +8 -0
- package/dist/components/header/index.js +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/public-header/public-header.d.ts +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-document/sign-document.d.ts +12 -0
- package/dist/components/stat/stat.d.ts +1 -1
- package/dist/components/tab-bar/index.d.ts +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tab-bar/tab-bar.d.ts +44 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/index.js +495 -494
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +57 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1411 -2
- package/package.json +1 -1
- package/dist/_chunks/bmi-calculator-D4juUcyF.js +0 -219
- package/dist/_chunks/react-day-picker-CdtIiKjx.js +0 -3174
- package/dist/_chunks/subDays-_T9YeKPX.js +0 -8
package/dist/_chunks/{marketplace-app-shell-kVAVycz_.js → marketplace-app-shell-Dc5cTIt8.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as b, useState as
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { c } from "./index-D2ZczOXr.js";
|
|
5
|
-
import { A as
|
|
6
|
-
import { A as
|
|
7
|
-
import { A as
|
|
8
|
-
import { C
|
|
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
|
|
11
|
-
import {
|
|
12
|
-
import { H as
|
|
13
|
-
import { S as
|
|
14
|
-
import { S as
|
|
15
|
-
import { T as
|
|
16
|
-
import { a as
|
|
17
|
-
import { u as
|
|
18
|
-
import { L as
|
|
19
|
-
const
|
|
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
|
-
),
|
|
60
|
+
), h = b(
|
|
61
61
|
({
|
|
62
62
|
name: s,
|
|
63
|
-
monochrome:
|
|
64
|
-
tone:
|
|
65
|
-
size:
|
|
63
|
+
monochrome: r = !1,
|
|
64
|
+
tone: a = "auto",
|
|
65
|
+
size: t = "md",
|
|
66
66
|
className: d,
|
|
67
67
|
...l
|
|
68
|
-
},
|
|
68
|
+
}, o) => /* @__PURE__ */ n(
|
|
69
69
|
"span",
|
|
70
70
|
{
|
|
71
|
-
ref:
|
|
71
|
+
ref: o,
|
|
72
72
|
role: "img",
|
|
73
73
|
"aria-label": `Alfadocs ${s}`.trim(),
|
|
74
|
-
className:
|
|
74
|
+
className: de({ className: d }),
|
|
75
75
|
"data-component": "product-lockup",
|
|
76
76
|
...l,
|
|
77
77
|
children: [
|
|
78
78
|
/* @__PURE__ */ e(
|
|
79
|
-
|
|
79
|
+
ne,
|
|
80
80
|
{
|
|
81
|
-
variant:
|
|
82
|
-
tone:
|
|
83
|
-
size:
|
|
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:
|
|
92
|
-
size:
|
|
93
|
-
tone:
|
|
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
|
-
|
|
103
|
-
function
|
|
102
|
+
h.displayName = "ProductLockup";
|
|
103
|
+
function ie(s) {
|
|
104
104
|
return s > 99 ? "99+" : String(s);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function oe({
|
|
107
107
|
user: s,
|
|
108
|
-
labels:
|
|
109
|
-
onSignOut:
|
|
110
|
-
onToggleFullscreen:
|
|
108
|
+
labels: r,
|
|
109
|
+
onSignOut: a,
|
|
110
|
+
onToggleFullscreen: t
|
|
111
111
|
}) {
|
|
112
|
-
const { t: d } =
|
|
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__ */
|
|
118
|
-
/* @__PURE__ */ e(i.Trigger, { asChild: !0, children: /* @__PURE__ */
|
|
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":
|
|
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(
|
|
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__ */
|
|
132
|
-
/* @__PURE__ */ e(i.Label, { children: /* @__PURE__ */
|
|
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
|
-
|
|
136
|
+
t ? /* @__PURE__ */ n(T, { children: [
|
|
137
137
|
/* @__PURE__ */ e(i.Separator, {}),
|
|
138
138
|
/* @__PURE__ */ e(
|
|
139
139
|
i.Item,
|
|
140
140
|
{
|
|
141
|
-
onSelect:
|
|
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:
|
|
151
|
+
onSelect: a,
|
|
152
152
|
"data-testid": "marketplace-sign-out",
|
|
153
|
-
children:
|
|
153
|
+
children: r.signOut
|
|
154
154
|
}
|
|
155
155
|
)
|
|
156
156
|
] })
|
|
157
157
|
] })
|
|
158
158
|
);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
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
|
-
|
|
170
|
-
|
|
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
|
|
187
|
+
const z = p("ds:bg-[color:var(--app-shell-background)]", {
|
|
180
188
|
variants: {
|
|
181
189
|
variant: {
|
|
182
190
|
standalone: "",
|
|
183
|
-
embedded:
|
|
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
|
|
200
|
+
function me({
|
|
189
201
|
nav: s,
|
|
190
|
-
ariaLabel:
|
|
202
|
+
ariaLabel: r,
|
|
203
|
+
renderLink: a
|
|
191
204
|
}) {
|
|
192
|
-
|
|
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
|
|
220
|
+
const pe = b(
|
|
195
221
|
({
|
|
196
222
|
productName: s,
|
|
197
|
-
productHref:
|
|
198
|
-
nav:
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
223
|
+
productHref: r = "/",
|
|
224
|
+
nav: a,
|
|
225
|
+
renderLink: t,
|
|
226
|
+
user: d,
|
|
227
|
+
labels: l,
|
|
228
|
+
onSignOut: o,
|
|
202
229
|
onToggleFullscreen: m,
|
|
203
|
-
sidebarState:
|
|
204
|
-
mainAriaLabel:
|
|
205
|
-
variant:
|
|
230
|
+
sidebarState: c,
|
|
231
|
+
mainAriaLabel: f,
|
|
232
|
+
variant: g = "standalone",
|
|
206
233
|
children: u
|
|
207
|
-
},
|
|
208
|
-
const { t: v } =
|
|
209
|
-
|
|
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
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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(
|
|
226
|
-
/* @__PURE__ */
|
|
227
|
-
/* @__PURE__ */ e(
|
|
255
|
+
/* @__PURE__ */ e(K, {}),
|
|
256
|
+
/* @__PURE__ */ n(Q, { children: [
|
|
257
|
+
/* @__PURE__ */ e(U, { size: "sm" }),
|
|
228
258
|
/* @__PURE__ */ e(
|
|
229
|
-
|
|
259
|
+
oe,
|
|
230
260
|
{
|
|
231
|
-
user:
|
|
232
|
-
labels:
|
|
233
|
-
onSignOut:
|
|
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
|
-
|
|
270
|
+
Y,
|
|
241
271
|
{
|
|
242
|
-
...
|
|
243
|
-
open:
|
|
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(
|
|
277
|
+
children: /* @__PURE__ */ e(ce, { nav: a, renderLink: t })
|
|
248
278
|
}
|
|
249
279
|
),
|
|
250
280
|
children: u
|
|
251
281
|
}
|
|
252
|
-
) }),
|
|
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__ */
|
|
256
|
-
/* @__PURE__ */ e(
|
|
257
|
-
/* @__PURE__ */ e(
|
|
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":
|
|
264
|
-
className:
|
|
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
|
-
),
|
|
270
|
-
return
|
|
271
|
-
|
|
306
|
+
), y = g === "embedded" ? R : W;
|
|
307
|
+
return V ? /* @__PURE__ */ e(
|
|
308
|
+
se,
|
|
272
309
|
{
|
|
273
|
-
ref:
|
|
274
|
-
theme:
|
|
275
|
-
accessible:
|
|
310
|
+
ref: x,
|
|
311
|
+
theme: j,
|
|
312
|
+
accessible: L,
|
|
276
313
|
className: "ds:contents",
|
|
277
314
|
"data-component": "marketplace-app-shell",
|
|
278
|
-
children:
|
|
315
|
+
children: y
|
|
279
316
|
}
|
|
280
317
|
) : /* @__PURE__ */ e(
|
|
281
318
|
"div",
|
|
282
319
|
{
|
|
283
|
-
ref:
|
|
320
|
+
ref: x,
|
|
284
321
|
className: "ds:contents",
|
|
285
322
|
"data-component": "marketplace-app-shell",
|
|
286
|
-
children:
|
|
323
|
+
children: y
|
|
287
324
|
}
|
|
288
325
|
);
|
|
289
326
|
}
|
|
290
327
|
);
|
|
291
|
-
|
|
292
|
-
const
|
|
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
|
-
),
|
|
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
|
-
}),
|
|
348
|
+
}), ue = p("", {
|
|
312
349
|
variants: {
|
|
313
350
|
layout: { card: "", split: "ds:lg:hidden" }
|
|
314
351
|
},
|
|
315
352
|
defaultVariants: { layout: "card" }
|
|
316
|
-
}),
|
|
353
|
+
}), ge = b(
|
|
317
354
|
({
|
|
318
355
|
productName: s,
|
|
319
|
-
title:
|
|
320
|
-
description:
|
|
321
|
-
connectLabel:
|
|
356
|
+
title: r,
|
|
357
|
+
description: a,
|
|
358
|
+
connectLabel: t,
|
|
322
359
|
status: d = "idle",
|
|
323
360
|
error: l,
|
|
324
|
-
onConnect:
|
|
325
|
-
footer:
|
|
326
|
-
layout:
|
|
361
|
+
onConnect: o,
|
|
362
|
+
footer: m,
|
|
363
|
+
layout: c = "card",
|
|
327
364
|
brandPanel: f,
|
|
328
|
-
className:
|
|
329
|
-
},
|
|
365
|
+
className: g
|
|
366
|
+
}, u) => /* @__PURE__ */ n(
|
|
330
367
|
"div",
|
|
331
368
|
{
|
|
332
|
-
ref:
|
|
369
|
+
ref: u,
|
|
333
370
|
"data-component": "connect-with-alfadocs",
|
|
334
|
-
className: `${
|
|
371
|
+
className: `${fe({ layout: c })} ${g ?? ""}`,
|
|
335
372
|
children: [
|
|
336
|
-
|
|
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__ */
|
|
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
|
-
|
|
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(
|
|
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
|
-
|
|
393
|
+
h,
|
|
357
394
|
{
|
|
358
395
|
name: s,
|
|
359
396
|
size: "lg",
|
|
360
|
-
className:
|
|
397
|
+
className: ue({ layout: c })
|
|
361
398
|
}
|
|
362
399
|
),
|
|
363
|
-
/* @__PURE__ */
|
|
364
|
-
/* @__PURE__ */ e("h1", { className: "type-title-card", children:
|
|
365
|
-
/* @__PURE__ */ e("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children:
|
|
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(
|
|
404
|
+
d === "error" && l ? /* @__PURE__ */ e(D, { variant: "error", className: "ds:w-full ds:text-start", children: l }) : null,
|
|
368
405
|
/* @__PURE__ */ e(
|
|
369
|
-
|
|
406
|
+
X,
|
|
370
407
|
{
|
|
371
408
|
intent: "primary",
|
|
372
409
|
className: "ds:w-full",
|
|
373
410
|
loading: d === "connecting",
|
|
374
|
-
onClick:
|
|
375
|
-
label:
|
|
411
|
+
onClick: o,
|
|
412
|
+
label: t,
|
|
376
413
|
"data-testid": "connect-with-alfadocs-button"
|
|
377
414
|
}
|
|
378
415
|
),
|
|
379
|
-
|
|
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
|
-
|
|
422
|
+
ge.displayName = "ConnectWithAlfadocs";
|
|
386
423
|
export {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
424
|
+
ge as C,
|
|
425
|
+
pe as M,
|
|
426
|
+
h as P
|
|
390
427
|
};
|
|
391
|
-
//# sourceMappingURL=marketplace-app-shell-
|
|
428
|
+
//# sourceMappingURL=marketplace-app-shell-Dc5cTIt8.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
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-
|
|
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-
|
|
174
|
+
//# sourceMappingURL=patient-shell-CnT4L8gn.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as p } from "./isSameWeek-
|
|
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-
|
|
514
|
+
//# sourceMappingURL=pl-B3Smqpkr.js.map
|