@alfadocs/ui-kit 1.112.1 → 1.113.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/{ai-prompt-input-CG9BEggs.js → ai-prompt-input-JIPbrTF3.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-BrTx7diS.js → anamnesis-summary-rows-DfDulR_c.js} +3 -3
- package/dist/_chunks/{audio-recorder-BlDozxdU.js → audio-recorder-CsnM_WDy.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-wJ6cTD_h.js → balance-badge-cell-BAZynD--.js} +4 -4
- package/dist/_chunks/{bishop-score-BhMomGcX.js → bishop-score-CnIft4eV.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-Oc3Df8O3.js → calendar-appointment-editor-dialog-CaZm5wGR.js} +5 -5
- package/dist/_chunks/{data-table-zXBxFYpJ.js → data-table-C9idMvs0.js} +2 -2
- package/dist/_chunks/{document-preview-BalyZqnn.js → document-preview-5xs64jME.js} +2 -2
- package/dist/_chunks/email-input-DxwbREpx.js +156 -0
- package/dist/_chunks/{file-manager-CVxBE4yy.js → file-manager-LG7B_UHB.js} +2 -2
- package/dist/_chunks/{forgot-password-form-vfCO2-Tt.js → forgot-password-form-YQVzSskq.js} +8 -7
- package/dist/_chunks/{gestational-age-calculator-AnaH00nk.js → gestational-age-calculator-Dv3IePb-.js} +2 -2
- package/dist/_chunks/{heatmap-D4qqpCEj.js → heatmap-BiwC7Gdx.js} +2 -2
- package/dist/_chunks/isEmail-BfVspSvV.js +248 -0
- package/dist/_chunks/{kit-extensions-VaJ-u44J.js → kit-extensions-BOsUgWnE.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-C8vfCOEp.js → link-cell-renderer-_Fv3WEmb.js} +2 -2
- package/dist/_chunks/{login-dev-card-Cz1Clugq.js → login-dev-card-B6-zCFq3.js} +47 -46
- package/dist/_chunks/{muscle-scheme-1BZd1-RE.js → muscle-scheme-BkmDUTmk.js} +2 -2
- package/dist/_chunks/{optical-prescription-BGVeDVSP.js → optical-prescription-CvbN8yD2.js} +2 -2
- package/dist/_chunks/{patient-details-wMgTFtpp.js → patient-details-RsT3SaYh.js} +2 -2
- package/dist/_chunks/{patient-field-row-Bhm2Ig1P.js → patient-field-row-D9rb-QJH.js} +3 -3
- package/dist/_chunks/{patient-summary-card-DMdPPG3n.js → patient-summary-card-BjZErlbt.js} +2 -2
- package/dist/_chunks/{practice-results-BOpaPaav.js → practice-results-BByRCIuR.js} +620 -566
- package/dist/_chunks/{pregnancy-dating-D6dLkMpl.js → pregnancy-dating-Cs8xpZA8.js} +2 -2
- package/dist/_chunks/{registration-form-CEJRUS9G.js → registration-form-Cq5_OSIL.js} +8 -7
- package/dist/_chunks/{reserved.agent-C-C9cvO5.js → reserved.agent-BMkapgom.js} +3 -3
- package/dist/_chunks/{reset-password-form-B0acanDD.js → reset-password-form-BVsL2fOJ.js} +2 -2
- package/dist/_chunks/{select-BBDRYxJl.js → select-uESzXTX6.js} +42 -39
- package/dist/_chunks/{send-registration-link-form-Nn0jf65G.js → send-registration-link-form-OgPomrZN.js} +8 -7
- package/dist/_chunks/{signature-request-DJwdPji_.js → signature-request-BnTihryS.js} +2 -2
- package/dist/_chunks/{tabs-DYHgRVSJ.js → tabs-CXYjr_8O.js} +2 -2
- package/dist/_chunks/{task-editor-jqRf2JP6.js → task-editor-gqWF1jI6.js} +2 -2
- package/dist/_chunks/{tasks-panel-CFo5uIHx.js → tasks-panel-OuIaydK5.js} +2 -2
- package/dist/_chunks/{unit-converter-C95sa5y8.js → unit-converter-D77vmlzN.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-VI26Z-pc.js → use-appointment-details-read-DvK7Looa.js} +2 -2
- package/dist/_chunks/verify-identity-types-C85EXNzy.js +707 -0
- package/dist/_chunks/{voice-control-panel-B0TUZAiP.js → voice-control-panel-BGiX4sqB.js} +2 -2
- package/dist/agent-catalog.json +106 -2
- package/dist/agent-i18n/en.json +11 -0
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +28 -0
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/i18n/locales/ar.d.ts +67 -0
- package/dist/i18n/locales/ar.js +68 -1
- package/dist/i18n/locales/de.d.ts +67 -0
- package/dist/i18n/locales/de.js +68 -1
- package/dist/i18n/locales/el.d.ts +67 -0
- package/dist/i18n/locales/el.js +68 -1
- package/dist/i18n/locales/en.d.ts +67 -0
- package/dist/i18n/locales/en.js +67 -0
- package/dist/i18n/locales/es.d.ts +67 -0
- package/dist/i18n/locales/es.js +68 -1
- package/dist/i18n/locales/fr.d.ts +67 -0
- package/dist/i18n/locales/fr.js +68 -1
- package/dist/i18n/locales/hi.d.ts +67 -0
- package/dist/i18n/locales/hi.js +68 -1
- package/dist/i18n/locales/it.d.ts +67 -0
- package/dist/i18n/locales/it.js +68 -1
- package/dist/i18n/locales/ja.d.ts +67 -0
- package/dist/i18n/locales/ja.js +68 -1
- package/dist/i18n/locales/nl.d.ts +67 -0
- package/dist/i18n/locales/nl.js +68 -1
- package/dist/i18n/locales/pl.d.ts +67 -0
- package/dist/i18n/locales/pl.js +68 -1
- package/dist/i18n/locales/pt.d.ts +67 -0
- package/dist/i18n/locales/pt.js +68 -1
- package/dist/i18n/locales/ro.d.ts +67 -0
- package/dist/i18n/locales/ro.js +68 -1
- package/dist/i18n/locales/ru.d.ts +67 -0
- package/dist/i18n/locales/ru.js +68 -1
- package/dist/i18n/locales/sq.d.ts +67 -0
- package/dist/i18n/locales/sq.js +68 -1
- package/dist/i18n/locales/sv.d.ts +67 -0
- package/dist/i18n/locales/sv.js +68 -1
- package/dist/i18n/locales/tr.d.ts +67 -0
- package/dist/i18n/locales/tr.js +68 -1
- package/dist/i18n/locales/zh.d.ts +67 -0
- package/dist/i18n/locales/zh.js +68 -1
- package/dist/index.js +352 -347
- package/dist/locales/ar.json +68 -1
- package/dist/locales/de.json +68 -1
- package/dist/locales/el.json +68 -1
- package/dist/locales/en.json +67 -0
- package/dist/locales/es.json +68 -1
- package/dist/locales/fr.json +68 -1
- package/dist/locales/hi.json +68 -1
- package/dist/locales/it.json +68 -1
- package/dist/locales/ja.json +68 -1
- package/dist/locales/nl.json +68 -1
- package/dist/locales/pl.json +68 -1
- package/dist/locales/pt.json +68 -1
- package/dist/locales/ro.json +68 -1
- package/dist/locales/ru.json +68 -1
- package/dist/locales/sq.json +68 -1
- package/dist/locales/sv.json +68 -1
- package/dist/locales/tr.json +68 -1
- package/dist/locales/zh.json +68 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/verify-identity/change-email-dialog.d.ts +26 -0
- package/dist/patterns/verify-identity/index.d.ts +7 -0
- package/dist/patterns/verify-identity/index.js +8 -0
- package/dist/patterns/verify-identity/use-countdown.d.ts +12 -0
- package/dist/patterns/verify-identity/verify-identity-steps.d.ts +21 -0
- package/dist/patterns/verify-identity/verify-identity-types.d.ts +47 -0
- package/dist/patterns/verify-identity/verify-identity.d.ts +54 -0
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
- package/dist/_chunks/email-input-BEO3vonE.js +0 -399
|
@@ -8,7 +8,7 @@ import { R as j } from "./radio-group-ChIKyeSJ.js";
|
|
|
8
8
|
import { F as f } from "./form-field-CyHfOVKF.js";
|
|
9
9
|
import { D as V } from "./date-picker-CdhXlgVI.js";
|
|
10
10
|
import { N as H } from "./number-input-CVwI1ltI.js";
|
|
11
|
-
import { S as Ce } from "./select-
|
|
11
|
+
import { S as Ce } from "./select-uESzXTX6.js";
|
|
12
12
|
import { S as je } from "./switch-DO6uC4HJ.js";
|
|
13
13
|
import { C as ie } from "./card-C85_Ndhb.js";
|
|
14
14
|
import { B as $ } from "./badge-BUk4RjTS.js";
|
|
@@ -767,4 +767,4 @@ Ue.displayName = "PregnancyDating";
|
|
|
767
767
|
export {
|
|
768
768
|
Ue as P
|
|
769
769
|
};
|
|
770
|
-
//# sourceMappingURL=pregnancy-dating-
|
|
770
|
+
//# sourceMappingURL=pregnancy-dating-Cs8xpZA8.js.map
|
|
@@ -3,12 +3,13 @@ import { useState as v, useRef as L, useEffect as E, useCallback as be, forwardR
|
|
|
3
3
|
import { useTranslation as fe, Trans as Lr } from "react-i18next";
|
|
4
4
|
import { c as ne } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { parsePhoneNumberFromString as Sn } from "libphonenumber-js/min";
|
|
6
|
-
import { i as tr
|
|
6
|
+
import { i as tr } from "./isEmail-BfVspSvV.js";
|
|
7
7
|
import { A as le } from "./alert-C4WKViaS.js";
|
|
8
8
|
import { B as K } from "./button-DohK_Ak_.js";
|
|
9
|
-
import { C as
|
|
9
|
+
import { C as Ar } from "./card-C85_Ndhb.js";
|
|
10
10
|
import { C as En } from "./checkbox-a7Sh-dXb.js";
|
|
11
11
|
import { D as kn } from "./dev-bypass-button-B7ePcJcg.js";
|
|
12
|
+
import { E as Pr } from "./email-input-DxwbREpx.js";
|
|
12
13
|
import { E as In } from "./error-summary-DxNhwf_G.js";
|
|
13
14
|
import { F as W } from "./form-field-CyHfOVKF.js";
|
|
14
15
|
import { L as qr } from "./list-CNnn7DOD.js";
|
|
@@ -16,7 +17,7 @@ import { P as Tr } from "./password-input-SJGHFdOO.js";
|
|
|
16
17
|
import { u as Rn } from "./use-password-requirements-C8DdwPEy.js";
|
|
17
18
|
import { P as Ln } from "./phone-input-BL8Sj6OG.js";
|
|
18
19
|
import { R as An } from "./recaptcha-widget-iglUBIF3.js";
|
|
19
|
-
import { S as Pn } from "./select-
|
|
20
|
+
import { S as Pn } from "./select-uESzXTX6.js";
|
|
20
21
|
import { S as Dr } from "./state-backed-text-input-DVETOhSS.js";
|
|
21
22
|
import { i as Zr } from "./is-development-CLUAnsU7.js";
|
|
22
23
|
import { u as Br } from "./use-state-backed-input-DhRQo6gM.js";
|
|
@@ -810,7 +811,7 @@ const cs = yn(
|
|
|
810
811
|
);
|
|
811
812
|
}, [or]);
|
|
812
813
|
const kr = ee || he, Ir = /* @__PURE__ */ n(
|
|
813
|
-
|
|
814
|
+
Pr,
|
|
814
815
|
{
|
|
815
816
|
ref: vr.ref,
|
|
816
817
|
name: re("email"),
|
|
@@ -946,7 +947,7 @@ const cs = yn(
|
|
|
946
947
|
announceError: !S.lists("emailConfirm"),
|
|
947
948
|
"data-field": "emailConfirm",
|
|
948
949
|
children: /* @__PURE__ */ n(
|
|
949
|
-
|
|
950
|
+
Pr,
|
|
950
951
|
{
|
|
951
952
|
ref: Cr.ref,
|
|
952
953
|
name: re("emailConfirm"),
|
|
@@ -1090,7 +1091,7 @@ const cs = yn(
|
|
|
1090
1091
|
...Te,
|
|
1091
1092
|
"data-component": "registration-form",
|
|
1092
1093
|
className: Jn({ className: xe }),
|
|
1093
|
-
children: /* @__PURE__ */ n(
|
|
1094
|
+
children: /* @__PURE__ */ n(Ar, { variant: "elevated", children: /* @__PURE__ */ g(Ar.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
|
|
1094
1095
|
/* @__PURE__ */ g("div", { className: Qn({ logo: t }), children: [
|
|
1095
1096
|
/* @__PURE__ */ g("div", { className: Zn({ centred: t }), children: [
|
|
1096
1097
|
t && /* @__PURE__ */ n(Tn, { motion: d, label: os }),
|
|
@@ -1334,4 +1335,4 @@ export {
|
|
|
1334
1335
|
Gr as R,
|
|
1335
1336
|
cs as a
|
|
1336
1337
|
};
|
|
1337
|
-
//# sourceMappingURL=registration-form-
|
|
1338
|
+
//# sourceMappingURL=registration-form-Cq5_OSIL.js.map
|
|
@@ -10,7 +10,7 @@ import { C as kr } from "./checkbox-group-eGdv9fZc.js";
|
|
|
10
10
|
import { R as Sr } from "./radio-BZQs6_36.js";
|
|
11
11
|
import { R as xr } from "./radio-group-ChIKyeSJ.js";
|
|
12
12
|
import { D as Ir } from "./date-picker-CdhXlgVI.js";
|
|
13
|
-
import { E as Nr } from "./email-input-
|
|
13
|
+
import { E as Nr } from "./email-input-DxwbREpx.js";
|
|
14
14
|
import { F as Je } from "./form-field-CyHfOVKF.js";
|
|
15
15
|
import { P as wr } from "./phone-input-BL8Sj6OG.js";
|
|
16
16
|
import { T as Cr } from "./text-area-COMVJ1yE.js";
|
|
@@ -24,7 +24,7 @@ import { O as Rr } from "./otp-input-gV1446Dw.js";
|
|
|
24
24
|
import { i as Or } from "./safe-href-5dbsfbQn.js";
|
|
25
25
|
import { B as zn } from "./badge-BUk4RjTS.js";
|
|
26
26
|
import { I as Mn } from "./icon-button-S8_weU3g.js";
|
|
27
|
-
import { S as an } from "./select-
|
|
27
|
+
import { S as an } from "./select-uESzXTX6.js";
|
|
28
28
|
import { C as bn } from "./combobox-duuDRI1t.js";
|
|
29
29
|
import { M as yn } from "./multi-select-Df3R8lv_.js";
|
|
30
30
|
import { c as Dr } from "./option-row-Dc7BrbK8.js";
|
|
@@ -4607,4 +4607,4 @@ export {
|
|
|
4607
4607
|
bs as b,
|
|
4608
4608
|
Ao as c
|
|
4609
4609
|
};
|
|
4610
|
-
//# sourceMappingURL=reserved.agent-
|
|
4610
|
+
//# sourceMappingURL=reserved.agent-BMkapgom.js.map
|
|
@@ -5,7 +5,7 @@ import { c as ws } from "./index-D2ZczOXr.js";
|
|
|
5
5
|
import { A as u } from "./alert-C4WKViaS.js";
|
|
6
6
|
import { B as D } from "./button-DohK_Ak_.js";
|
|
7
7
|
import { C as ms } from "./card-C85_Ndhb.js";
|
|
8
|
-
import { E as ks } from "./email-input-
|
|
8
|
+
import { E as ks } from "./email-input-DxwbREpx.js";
|
|
9
9
|
import { E as Vs } from "./error-summary-DxNhwf_G.js";
|
|
10
10
|
import { F as L } from "./form-field-CyHfOVKF.js";
|
|
11
11
|
import { P as us } from "./password-input-SJGHFdOO.js";
|
|
@@ -364,4 +364,4 @@ export {
|
|
|
364
364
|
b as R,
|
|
365
365
|
nr as a
|
|
366
366
|
};
|
|
367
|
-
//# sourceMappingURL=reset-password-form-
|
|
367
|
+
//# sourceMappingURL=reset-password-form-BVsL2fOJ.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as p } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as f, useContext as
|
|
2
|
+
import { forwardRef as f, useContext as he, useId as me, useState as M, useRef as P, useEffect as Ae, useMemo as De, Fragment as Fe, createContext as Le } from "react";
|
|
3
3
|
import { u as Ge } from "./registry-DvAUVLHh.js";
|
|
4
4
|
import * as o from "@radix-ui/react-select";
|
|
5
5
|
import { c as J } from "./index-D2ZczOXr.js";
|
|
@@ -12,7 +12,7 @@ import { b as Xe } from "./menu-row-BAr8bx1I.js";
|
|
|
12
12
|
import { P as Je } from "./popup-region-qz_5_A0V.js";
|
|
13
13
|
import { o as U, b as Qe, d as Ye, c as Ze } from "./option-row-Dc7BrbK8.js";
|
|
14
14
|
import { C as et } from "./chevron-up-umRGgtJA.js";
|
|
15
|
-
import { C as
|
|
15
|
+
import { C as ge } from "./chevron-down-DWE7GSq9.js";
|
|
16
16
|
import { C as tt } from "./check-DrFSN__t.js";
|
|
17
17
|
import { u as st } from "./use-direction-Dp8h70PP.js";
|
|
18
18
|
import { X as at } from "./x-B5YnXwCz.js";
|
|
@@ -136,6 +136,9 @@ const nt = {
|
|
|
136
136
|
// Never wider than the screen allows: a long option wraps or ends in an
|
|
137
137
|
// ellipsis instead of running past the edge, where it would be clipped.
|
|
138
138
|
"ds:max-w-[var(--radix-select-content-available-width)]",
|
|
139
|
+
// Never taller than the room left on screen: a long list scrolls inside
|
|
140
|
+
// the viewport instead of running past the edge, out of reach.
|
|
141
|
+
"ds:max-h-[var(--radix-select-content-available-height)]",
|
|
139
142
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground",
|
|
140
143
|
"ds:shadow-[var(--shadow-lg)]",
|
|
141
144
|
"ds:animate-in ds:fade-in ds:zoom-in-95",
|
|
@@ -220,8 +223,8 @@ ye.displayName = "Select.Trigger";
|
|
|
220
223
|
const X = { "data-select-value": "" }, fe = [
|
|
221
224
|
"ds:[[data-select-value]_&]:block",
|
|
222
225
|
"ds:[[data-select-value]_&]:truncate"
|
|
223
|
-
].join(" "),
|
|
224
|
-
|
|
226
|
+
].join(" "), xe = f((t, a) => /* @__PURE__ */ e(o.Value, { ref: a, ...X, ...t }));
|
|
227
|
+
xe.displayName = "Select.Value";
|
|
225
228
|
const Y = f(
|
|
226
229
|
({
|
|
227
230
|
className: t,
|
|
@@ -231,11 +234,11 @@ const Y = f(
|
|
|
231
234
|
container: u,
|
|
232
235
|
...l
|
|
233
236
|
}, w) => {
|
|
234
|
-
const T =
|
|
235
|
-
return /* @__PURE__ */ e(o.Portal, { container: u ?? void 0, children: /* @__PURE__ */ e(Je, { popupRef: w, open: T, children: (
|
|
237
|
+
const T = he(Q);
|
|
238
|
+
return /* @__PURE__ */ e(o.Portal, { container: u ?? void 0, children: /* @__PURE__ */ e(Je, { popupRef: w, open: T, children: (g) => /* @__PURE__ */ p(
|
|
236
239
|
o.Content,
|
|
237
240
|
{
|
|
238
|
-
ref:
|
|
241
|
+
ref: g,
|
|
239
242
|
position: n,
|
|
240
243
|
sideOffset: i,
|
|
241
244
|
"data-component": "select-content",
|
|
@@ -244,7 +247,7 @@ const Y = f(
|
|
|
244
247
|
children: [
|
|
245
248
|
/* @__PURE__ */ e(o.ScrollUpButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(et, { "aria-hidden": "true", className: "ds:size-4" }) }),
|
|
246
249
|
a,
|
|
247
|
-
/* @__PURE__ */ e(o.ScrollDownButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(
|
|
250
|
+
/* @__PURE__ */ e(o.ScrollDownButton, { className: "ds:flex ds:items-center ds:justify-center ds:h-6 ds:bg-background ds:cursor-default", children: /* @__PURE__ */ e(ge, { "aria-hidden": "true", className: "ds:size-4" }) })
|
|
248
251
|
]
|
|
249
252
|
}
|
|
250
253
|
) }) });
|
|
@@ -270,14 +273,14 @@ const ee = f(
|
|
|
270
273
|
description: l,
|
|
271
274
|
descriptionTone: w,
|
|
272
275
|
descriptionInName: T = !1,
|
|
273
|
-
wrapLabel:
|
|
276
|
+
wrapLabel: g = !1,
|
|
274
277
|
labelDir: v,
|
|
275
278
|
...y
|
|
276
279
|
}, O) => {
|
|
277
|
-
const A = lt[t ?? "md"], D = dt[t ?? "md"], R = me(),
|
|
280
|
+
const A = lt[t ?? "md"], D = dt[t ?? "md"], R = me(), x = me(), h = l != null && l !== "", z = h && T, k = z ? { id: x } : {}, F = z ? { "aria-labelledby": `${x} ${R}` } : {}, E = g ? U({
|
|
278
281
|
wrap: !0,
|
|
279
282
|
className: fe
|
|
280
|
-
}) : "",
|
|
283
|
+
}) : "", S = h ? "ds:group-data-[disabled]/select-item:opacity-50" : "", _ = u ? (
|
|
281
284
|
// Radix points the item's `aria-labelledby` at `ItemText`, so
|
|
282
285
|
// anything rendered outside it is dropped from the accessible
|
|
283
286
|
// name — a price there would be visible but never announced.
|
|
@@ -305,8 +308,8 @@ const ee = f(
|
|
|
305
308
|
"span",
|
|
306
309
|
{
|
|
307
310
|
className: Ye({
|
|
308
|
-
wrap:
|
|
309
|
-
className:
|
|
311
|
+
wrap: g,
|
|
312
|
+
className: S
|
|
310
313
|
}),
|
|
311
314
|
children: [
|
|
312
315
|
/* @__PURE__ */ e(
|
|
@@ -321,11 +324,11 @@ const ee = f(
|
|
|
321
324
|
]
|
|
322
325
|
}
|
|
323
326
|
) })
|
|
324
|
-
) :
|
|
327
|
+
) : h || g ? /* @__PURE__ */ e(o.ItemText, { asChild: !0, ...k, children: /* @__PURE__ */ e(
|
|
325
328
|
"span",
|
|
326
329
|
{
|
|
327
330
|
dir: v,
|
|
328
|
-
className: [E,
|
|
331
|
+
className: [E, S].filter(Boolean).join(" "),
|
|
329
332
|
children: n
|
|
330
333
|
}
|
|
331
334
|
) }) : v ? (
|
|
@@ -347,10 +350,10 @@ const ee = f(
|
|
|
347
350
|
{
|
|
348
351
|
ref: O,
|
|
349
352
|
...F,
|
|
350
|
-
"aria-describedby":
|
|
353
|
+
"aria-describedby": h && !z ? R : void 0,
|
|
351
354
|
className: rt({
|
|
352
355
|
size: t,
|
|
353
|
-
className:
|
|
356
|
+
className: h ? [
|
|
354
357
|
"ds:group/select-item ds:data-[disabled]:!opacity-100",
|
|
355
358
|
a
|
|
356
359
|
].filter(Boolean).join(" ") : a
|
|
@@ -360,7 +363,7 @@ const ee = f(
|
|
|
360
363
|
/* @__PURE__ */ e(
|
|
361
364
|
"span",
|
|
362
365
|
{
|
|
363
|
-
className: `ds:absolute ${A} ds:inline-flex ds:items-center ds:justify-center ${
|
|
366
|
+
className: `ds:absolute ${A} ds:inline-flex ds:items-center ds:justify-center ${S}`,
|
|
364
367
|
"aria-hidden": "true",
|
|
365
368
|
children: /* @__PURE__ */ e(o.ItemIndicator, { children: /* @__PURE__ */ e(tt, { className: D }) })
|
|
366
369
|
}
|
|
@@ -371,14 +374,14 @@ const ee = f(
|
|
|
371
374
|
"span",
|
|
372
375
|
{
|
|
373
376
|
"aria-hidden": "true",
|
|
374
|
-
className: `ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)] ${
|
|
377
|
+
className: `ds:inline-flex ds:items-center ds:shrink-0 ds:me-[var(--spacing-xs)] ${S}`,
|
|
375
378
|
children: i
|
|
376
379
|
}
|
|
377
380
|
)
|
|
378
381
|
) : null,
|
|
379
|
-
|
|
382
|
+
h || g ? /* @__PURE__ */ p("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:py-[var(--spacing-xs)]", children: [
|
|
380
383
|
_,
|
|
381
|
-
|
|
384
|
+
h ? /* @__PURE__ */ e(
|
|
382
385
|
"span",
|
|
383
386
|
{
|
|
384
387
|
id: R,
|
|
@@ -395,8 +398,8 @@ const ee = f(
|
|
|
395
398
|
}
|
|
396
399
|
);
|
|
397
400
|
ee.displayName = "Select.Item";
|
|
398
|
-
const
|
|
399
|
-
|
|
401
|
+
const Se = f((t, a) => /* @__PURE__ */ e(o.ItemText, { ref: a, ...t }));
|
|
402
|
+
Se.displayName = "Select.ItemText";
|
|
400
403
|
const Ne = f((t, a) => /* @__PURE__ */ e(o.Group, { ref: a, ...t }));
|
|
401
404
|
Ne.displayName = "Select.Group";
|
|
402
405
|
const te = f(({ className: t, ...a }, n) => /* @__PURE__ */ e(
|
|
@@ -440,27 +443,27 @@ const Ie = f(function({
|
|
|
440
443
|
placeholder: l,
|
|
441
444
|
clearable: w = !1,
|
|
442
445
|
disabled: T,
|
|
443
|
-
required:
|
|
446
|
+
required: g,
|
|
444
447
|
name: v,
|
|
445
448
|
id: y,
|
|
446
449
|
size: O = "md",
|
|
447
450
|
tone: A = "default",
|
|
448
451
|
className: D,
|
|
449
452
|
container: R,
|
|
450
|
-
"aria-label":
|
|
451
|
-
"aria-describedby":
|
|
453
|
+
"aria-label": x,
|
|
454
|
+
"aria-describedby": h,
|
|
452
455
|
adornmentInTrigger: z = !1,
|
|
453
456
|
showDescriptions: k = !1,
|
|
454
457
|
descriptionInName: F = !1,
|
|
455
458
|
wrapOptionLabels: E = !1,
|
|
456
|
-
...
|
|
459
|
+
...S
|
|
457
460
|
}, _) {
|
|
458
461
|
var ue;
|
|
459
|
-
const { t: L } = Ke("ui"), N = We(), b =
|
|
462
|
+
const { t: L } = Ke("ui"), N = We(), b = he($e) !== null, [Ce, B] = M(
|
|
460
463
|
n ?? i ?? ""
|
|
461
464
|
), I = n !== void 0, m = I ? n : Ce, [V, G] = M(!1), ae = P(m);
|
|
462
465
|
ae.current = m;
|
|
463
|
-
const we = qe(N, y), Te = y ?? (b ? we : void 0), K = (b ? N.disabled : !1) || !!T, W = (b ? N.required : !1) || !!
|
|
466
|
+
const we = qe(N, y), Te = y ?? (b ? we : void 0), K = (b ? N.disabled : !1) || !!T, W = (b ? N.required : !1) || !!g, ne = b ? N.invalid : !1, Re = ne ? "error" : A, ze = [b ? N.describedBy : void 0, h].filter(Boolean).join(" ") || void 0, oe = z ? (ue = a.find((s) => s.value === m)) == null ? void 0 : ue.startAdornment : void 0, j = P(null), Ve = ct(_, j), je = st(j), [Oe, ke] = M(!0);
|
|
464
467
|
Me(() => {
|
|
465
468
|
var s;
|
|
466
469
|
m === "" && ke(!!((s = j.current) != null && s.closest("form")));
|
|
@@ -482,7 +485,7 @@ const Ie = f(function({
|
|
|
482
485
|
}, Ee = (s) => {
|
|
483
486
|
var r;
|
|
484
487
|
s.preventDefault(), s.stopPropagation(), I || B(""), d == null || d(""), (r = j.current) == null || r.focus();
|
|
485
|
-
}, H = l ?? L("inputs.select.placeholder", "Select…"), _e = w && !!m && !K, de =
|
|
488
|
+
}, H = l ?? L("inputs.select.placeholder", "Select…"), _e = w && !!m && !K, de = x === void 0 && !b, le = de ? H : x, ce = !x && b ? `${N.id}-label` : void 0, Be = He(a), Pe = De(
|
|
486
489
|
() => ({
|
|
487
490
|
getValue: () => ae.current,
|
|
488
491
|
setValue: (s) => {
|
|
@@ -521,7 +524,7 @@ const Ie = f(function({
|
|
|
521
524
|
"data-name-from-placeholder": de || void 0,
|
|
522
525
|
"aria-describedby": ze,
|
|
523
526
|
"aria-invalid": ne || void 0,
|
|
524
|
-
...ft(
|
|
527
|
+
...ft(S),
|
|
525
528
|
"data-component": "select",
|
|
526
529
|
"data-component-id": y,
|
|
527
530
|
className: ve({
|
|
@@ -577,7 +580,7 @@ const Ie = f(function({
|
|
|
577
580
|
}
|
|
578
581
|
) : null,
|
|
579
582
|
/* @__PURE__ */ e(o.Icon, { asChild: !0, children: /* @__PURE__ */ e(
|
|
580
|
-
|
|
583
|
+
ge,
|
|
581
584
|
{
|
|
582
585
|
"aria-hidden": "true",
|
|
583
586
|
className: [
|
|
@@ -656,30 +659,30 @@ const Ie = f(function({
|
|
|
656
659
|
);
|
|
657
660
|
});
|
|
658
661
|
Ie.displayName = "Select";
|
|
659
|
-
const
|
|
662
|
+
const ht = Object.assign(Ie, {
|
|
660
663
|
Root: be,
|
|
661
664
|
Trigger: ye,
|
|
662
|
-
Value:
|
|
665
|
+
Value: xe,
|
|
663
666
|
Content: Y,
|
|
664
667
|
Viewport: Z,
|
|
665
668
|
Item: ee,
|
|
666
|
-
ItemText:
|
|
669
|
+
ItemText: Se,
|
|
667
670
|
Group: Ne,
|
|
668
671
|
Label: te,
|
|
669
672
|
Separator: se
|
|
670
|
-
}), Et =
|
|
673
|
+
}), Et = ht;
|
|
671
674
|
export {
|
|
672
675
|
Et as S,
|
|
673
676
|
Y as a,
|
|
674
677
|
Ne as b,
|
|
675
678
|
ee as c,
|
|
676
|
-
|
|
679
|
+
Se as d,
|
|
677
680
|
te as e,
|
|
678
681
|
be as f,
|
|
679
682
|
se as g,
|
|
680
683
|
ye as h,
|
|
681
|
-
|
|
684
|
+
xe as i,
|
|
682
685
|
Z as j,
|
|
683
686
|
ve as s
|
|
684
687
|
};
|
|
685
|
-
//# sourceMappingURL=select-
|
|
688
|
+
//# sourceMappingURL=select-uESzXTX6.js.map
|
|
@@ -3,11 +3,12 @@ import { forwardRef as Ke, useId as G, useState as f, useRef as I, useEffect as
|
|
|
3
3
|
import { useTranslation as Je } from "react-i18next";
|
|
4
4
|
import { c as Qe } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { parsePhoneNumberFromString as Xe } from "libphonenumber-js/min";
|
|
6
|
-
import { i as Ye
|
|
6
|
+
import { i as Ye } from "./isEmail-BfVspSvV.js";
|
|
7
7
|
import { A as h } from "./alert-C4WKViaS.js";
|
|
8
|
-
import { B as
|
|
8
|
+
import { B as pe } from "./button-DohK_Ak_.js";
|
|
9
9
|
import { C as B } from "./card-C85_Ndhb.js";
|
|
10
10
|
import { D as Ze } from "./date-picker-CdhXlgVI.js";
|
|
11
|
+
import { E as he } from "./email-input-DxwbREpx.js";
|
|
11
12
|
import { E as Ve } from "./error-summary-DxNhwf_G.js";
|
|
12
13
|
import { F } from "./form-field-CyHfOVKF.js";
|
|
13
14
|
import { P as ue } from "./phone-input-BL8Sj6OG.js";
|
|
@@ -180,7 +181,7 @@ const q = [
|
|
|
180
181
|
date: _(ce)
|
|
181
182
|
}) })
|
|
182
183
|
] }),
|
|
183
|
-
de && /* @__PURE__ */ n(
|
|
184
|
+
de && /* @__PURE__ */ n(pe, { asChild: !0, intent: "secondary", "data-action": "send-another", children: /* @__PURE__ */ n("a", { href: de, children: i("sendRegistrationLink.sendAnother") }) })
|
|
184
185
|
] }) })
|
|
185
186
|
}
|
|
186
187
|
) : /* @__PURE__ */ n(
|
|
@@ -247,7 +248,7 @@ const q = [
|
|
|
247
248
|
announceError: !s.lists("email"),
|
|
248
249
|
"data-field": "email",
|
|
249
250
|
children: /* @__PURE__ */ n(
|
|
250
|
-
|
|
251
|
+
he,
|
|
251
252
|
{
|
|
252
253
|
ref: te.ref,
|
|
253
254
|
name: le("email"),
|
|
@@ -271,7 +272,7 @@ const q = [
|
|
|
271
272
|
announceError: !s.lists("emailConfirm"),
|
|
272
273
|
"data-field": "emailConfirm",
|
|
273
274
|
children: /* @__PURE__ */ n(
|
|
274
|
-
|
|
275
|
+
he,
|
|
275
276
|
{
|
|
276
277
|
ref: ie.ref,
|
|
277
278
|
name: le("emailConfirm"),
|
|
@@ -381,7 +382,7 @@ const q = [
|
|
|
381
382
|
),
|
|
382
383
|
He.map(([e, o]) => /* @__PURE__ */ n("input", { type: "hidden", name: e, value: o }, e)),
|
|
383
384
|
/* @__PURE__ */ n(
|
|
384
|
-
|
|
385
|
+
pe,
|
|
385
386
|
{
|
|
386
387
|
type: "submit",
|
|
387
388
|
intent: "primary",
|
|
@@ -406,4 +407,4 @@ export {
|
|
|
406
407
|
q as S,
|
|
407
408
|
fn as a
|
|
408
409
|
};
|
|
409
|
-
//# sourceMappingURL=send-registration-link-form-
|
|
410
|
+
//# sourceMappingURL=send-registration-link-form-OgPomrZN.js.map
|
|
@@ -7,7 +7,7 @@ import { S as zi } from "./spinner-CoflYlEx.js";
|
|
|
7
7
|
import { S as Ie } from "./skeleton-tTWJpvAq.js";
|
|
8
8
|
import { B as L } from "./button-DohK_Ak_.js";
|
|
9
9
|
import { I as xn } from "./icon-button-S8_weU3g.js";
|
|
10
|
-
import { s as Fi, S as Ue } from "./select-
|
|
10
|
+
import { s as Fi, S as Ue } from "./select-uESzXTX6.js";
|
|
11
11
|
import { S as ba } from "./switch-DO6uC4HJ.js";
|
|
12
12
|
import { A as j } from "./alert-C4WKViaS.js";
|
|
13
13
|
import { S as Ra } from "./separator-Bdc9bqoJ.js";
|
|
@@ -2787,4 +2787,4 @@ Or.displayName = "SignatureRequestModal";
|
|
|
2787
2787
|
export {
|
|
2788
2788
|
Or as S
|
|
2789
2789
|
};
|
|
2790
|
-
//# sourceMappingURL=signature-request-
|
|
2790
|
+
//# sourceMappingURL=signature-request-BnTihryS.js.map
|
|
@@ -4,7 +4,7 @@ import * as S from "@radix-ui/react-tabs";
|
|
|
4
4
|
import { a as A, c as G } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { useTranslation as te } from "react-i18next";
|
|
6
6
|
import { c as se } from "./compose-refs-C0k0tdqF.js";
|
|
7
|
-
import { S as ae } from "./select-
|
|
7
|
+
import { S as ae } from "./select-uESzXTX6.js";
|
|
8
8
|
import { D as V } from "./dropdown-menu-CqxBthww.js";
|
|
9
9
|
import { u as re } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { X as oe } from "./x-B5YnXwCz.js";
|
|
@@ -410,4 +410,4 @@ export {
|
|
|
410
410
|
Q as c,
|
|
411
411
|
de as t
|
|
412
412
|
};
|
|
413
|
-
//# sourceMappingURL=tabs-
|
|
413
|
+
//# sourceMappingURL=tabs-CXYjr_8O.js.map
|
|
@@ -15,7 +15,7 @@ import { P as Ot } from "./panel-subview-DCyvn-49.js";
|
|
|
15
15
|
import { R as Pe } from "./radio-BZQs6_36.js";
|
|
16
16
|
import { R as jt } from "./radio-group-ChIKyeSJ.js";
|
|
17
17
|
import { S as Mt } from "./scroll-area-CY5SLYNw.js";
|
|
18
|
-
import { S as Ke } from "./select-
|
|
18
|
+
import { S as Ke } from "./select-uESzXTX6.js";
|
|
19
19
|
import { S as He } from "./skeleton-tTWJpvAq.js";
|
|
20
20
|
import { S as $t } from "./switch-DO6uC4HJ.js";
|
|
21
21
|
import { T as zt } from "./text-area-COMVJ1yE.js";
|
|
@@ -1239,4 +1239,4 @@ export {
|
|
|
1239
1239
|
vn as T,
|
|
1240
1240
|
ln as t
|
|
1241
1241
|
};
|
|
1242
|
-
//# sourceMappingURL=task-editor-
|
|
1242
|
+
//# sourceMappingURL=task-editor-gqWF1jI6.js.map
|
|
@@ -8,7 +8,7 @@ import { B as Pe } from "./button-DohK_Ak_.js";
|
|
|
8
8
|
import { I as qe } from "./icon-button-S8_weU3g.js";
|
|
9
9
|
import { B as Et } from "./button-group-CUnNnt8a.js";
|
|
10
10
|
import { P as Ws } from "./panel-header-CbtlTe85.js";
|
|
11
|
-
import { S as Ot } from "./select-
|
|
11
|
+
import { S as Ot } from "./select-uESzXTX6.js";
|
|
12
12
|
import { S as Ks } from "./switch-DO6uC4HJ.js";
|
|
13
13
|
import { S as Vs } from "./skeleton-tTWJpvAq.js";
|
|
14
14
|
import { E as $e } from "./empty-state-DwJ5YNzz.js";
|
|
@@ -1239,4 +1239,4 @@ export {
|
|
|
1239
1239
|
En as T,
|
|
1240
1240
|
dn as t
|
|
1241
1241
|
};
|
|
1242
|
-
//# sourceMappingURL=tasks-panel-
|
|
1242
|
+
//# sourceMappingURL=tasks-panel-OuIaydK5.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as M } from "react-i18next";
|
|
|
5
5
|
import { u as Y } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { F as C } from "./form-field-CyHfOVKF.js";
|
|
7
7
|
import { N as B } from "./number-input-CVwI1ltI.js";
|
|
8
|
-
import { S } from "./select-
|
|
8
|
+
import { S } from "./select-uESzXTX6.js";
|
|
9
9
|
import { I as D } from "./insert-result-CDMMt7q8.js";
|
|
10
10
|
const L = [
|
|
11
11
|
"weight",
|
|
@@ -334,4 +334,4 @@ export {
|
|
|
334
334
|
ee as b,
|
|
335
335
|
Q as c
|
|
336
336
|
};
|
|
337
|
-
//# sourceMappingURL=unit-converter-
|
|
337
|
+
//# sourceMappingURL=unit-converter-D77vmlzN.js.map
|
|
@@ -16,7 +16,7 @@ import { E as zt } from "./editable-description-KU56SP4P.js";
|
|
|
16
16
|
import { N as Xe } from "./note-timeline-BrjHBQfx.js";
|
|
17
17
|
import { P as Ot } from "./panel-header-CbtlTe85.js";
|
|
18
18
|
import { P as Ge } from "./panel-subview-DCyvn-49.js";
|
|
19
|
-
import { P as _t } from "./patient-summary-card-
|
|
19
|
+
import { P as _t } from "./patient-summary-card-BjZErlbt.js";
|
|
20
20
|
import { S as ne } from "./section-card-D1sV4Voz.js";
|
|
21
21
|
import { C as nn, S as ue } from "./skeleton-tTWJpvAq.js";
|
|
22
22
|
import { T as an } from "./text-area-COMVJ1yE.js";
|
|
@@ -2195,4 +2195,4 @@ export {
|
|
|
2195
2195
|
Kn as s,
|
|
2196
2196
|
_s as u
|
|
2197
2197
|
};
|
|
2198
|
-
//# sourceMappingURL=use-appointment-details-read-
|
|
2198
|
+
//# sourceMappingURL=use-appointment-details-read-DvK7Looa.js.map
|