@alfadocs/ui-kit 0.43.0 → 0.45.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/{alia-sidebar-BpX4z_af.js → alia-sidebar-Be8FhKYd.js} +332 -237
- package/dist/_chunks/{autocomplete-DIgdhCGJ.js → autocomplete-CDqxB68B.js} +2 -2
- package/dist/_chunks/bmi-calculator-CQqXTVNL.js +258 -0
- package/dist/_chunks/{booking-CtLwaxkK.js → booking-DlDVuWMd.js} +2 -2
- package/dist/_chunks/{calculator-dialog-DdexHrTP.js → calculator-dialog-D-nfvteH.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Dln-y1k_.js → cycle-calculator-KxA8dqDf.js} +73 -54
- package/dist/_chunks/dialog-BTpZV6It.js +223 -0
- package/dist/_chunks/{due-date-calculator-Cc4dRqTI.js → due-date-calculator-mFxpHLml.js} +73 -49
- package/dist/_chunks/{editable-currency-cell-renderer-9jqwDv5x.js → editable-currency-cell-renderer-BEBUQl9P.js} +2 -2
- package/dist/_chunks/{freemium-paywall-BLXESpH4.js → freemium-paywall-BYist2sJ.js} +2 -2
- package/dist/_chunks/gestational-age-calculator-gWI_uRA1.js +203 -0
- package/dist/_chunks/insert-result-C5ABnzDl.js +711 -0
- package/dist/_chunks/{marketplace-app-shell-Dc5cTIt8.js → marketplace-app-shell-Gfsf78ge.js} +2 -2
- package/dist/_chunks/{patient-search-DPe2ZYEL.js → patient-search-CocVcGJ3.js} +2 -2
- package/dist/_chunks/{payment-form-BzVsG6Ks.js → payment-form-DqEiEJRO.js} +247 -195
- package/dist/_chunks/{pdf-viewer-B6MC6VTx.js → pdf-viewer-CWEXTlwq.js} +2 -2
- package/dist/_chunks/{practice-results-CrLpEiiW.js → practice-results-DDi-kvaD.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-zZL5Ir2-.js → pregnancy-weight-gain-BtEHaSqy.js} +78 -56
- package/dist/_chunks/{search-bar-CP6wUJFY.js → search-bar-CvN_S0jW.js} +2 -2
- package/dist/_chunks/{search-input-C1C3jQpD.js → search-input-D3aMvi4l.js} +2 -2
- package/dist/_chunks/{sign-document-B-3k_0LO.js → sign-document-BCyLpFHJ.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-DeHBFRNS.js → sign-in-with-alfadocs-button-CuYn_kKP.js} +2 -2
- package/dist/_chunks/{social-sign-in-button-X54ySJr1.js → social-sign-in-button-uJYLM366.js} +2 -2
- package/dist/_chunks/{spinner-CCByyvcb.js → spinner-OjQNn8oN.js} +7 -3
- package/dist/_chunks/{transcript-panel-CR7VY1uw.js → transcript-panel-B4HiC7ed.js} +2 -2
- package/dist/_chunks/{unit-converter-CuXCXJhK.js → unit-converter-u3CwNDpP.js} +96 -74
- package/dist/_chunks/{wallet-pay-button-DK4ESYge.js → wallet-pay-button-DuDPBlCO.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/_shared/banded-gauge.d.ts +193 -0
- package/dist/components/_shared/index.d.ts +1 -1
- package/dist/components/_shared/insert-result.d.ts +173 -10
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/bmi-calculator/bmi-calculator.d.ts +6 -0
- 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/cycle-calculator/cycle-calculator.d.ts +6 -0
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +1 -0
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/due-date-calculator/due-date-calculator.d.ts +6 -0
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +6 -0
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/payment-form/payment-form.d.ts +24 -2
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +6 -0
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/social-sign-in-button/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/spinner/spinner.d.ts +2 -2
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/unit-converter/unit-converter.d.ts +6 -0
- package/dist/components/wallet-pay-button/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +1 -1
- package/dist/i18n/locales/ar.js +1 -1
- package/dist/i18n/locales/de.d.ts +1 -1
- package/dist/i18n/locales/de.js +1 -1
- package/dist/i18n/locales/el.d.ts +1 -1
- package/dist/i18n/locales/el.js +1 -1
- package/dist/i18n/locales/en.d.ts +1 -1
- package/dist/i18n/locales/en.js +1 -1
- package/dist/i18n/locales/es.d.ts +1 -1
- package/dist/i18n/locales/es.js +1 -1
- package/dist/i18n/locales/fr.d.ts +1 -1
- package/dist/i18n/locales/fr.js +1 -1
- package/dist/i18n/locales/hi.d.ts +1 -1
- package/dist/i18n/locales/hi.js +1 -1
- package/dist/i18n/locales/it.d.ts +1 -1
- package/dist/i18n/locales/it.js +1 -1
- package/dist/i18n/locales/ja.d.ts +1 -1
- package/dist/i18n/locales/ja.js +1 -1
- package/dist/i18n/locales/nl.d.ts +1 -1
- package/dist/i18n/locales/nl.js +1 -1
- package/dist/i18n/locales/pl.d.ts +1 -1
- package/dist/i18n/locales/pl.js +1 -1
- package/dist/i18n/locales/pt.d.ts +1 -1
- package/dist/i18n/locales/pt.js +1 -1
- package/dist/i18n/locales/ro.d.ts +1 -1
- package/dist/i18n/locales/ro.js +1 -1
- package/dist/i18n/locales/ru.d.ts +1 -1
- package/dist/i18n/locales/ru.js +1 -1
- package/dist/i18n/locales/sq.d.ts +1 -1
- package/dist/i18n/locales/sq.js +1 -1
- package/dist/i18n/locales/sv.d.ts +1 -1
- package/dist/i18n/locales/sv.js +1 -1
- package/dist/i18n/locales/tr.d.ts +1 -1
- package/dist/i18n/locales/tr.js +1 -1
- package/dist/i18n/locales/zh.d.ts +1 -1
- package/dist/i18n/locales/zh.js +1 -1
- package/dist/index.js +497 -496
- package/dist/locales/ar.json +1 -1
- package/dist/locales/de.json +1 -1
- package/dist/locales/el.json +1 -1
- package/dist/locales/en.json +1 -1
- package/dist/locales/es.json +1 -1
- package/dist/locales/fr.json +1 -1
- package/dist/locales/hi.json +1 -1
- package/dist/locales/it.json +1 -1
- package/dist/locales/ja.json +1 -1
- package/dist/locales/nl.json +1 -1
- package/dist/locales/pl.json +1 -1
- package/dist/locales/pt.json +1 -1
- package/dist/locales/ro.json +1 -1
- package/dist/locales/ru.json +1 -1
- package/dist/locales/sq.json +1 -1
- package/dist/locales/sv.json +1 -1
- package/dist/locales/tr.json +1 -1
- package/dist/locales/zh.json +1 -1
- package/dist/patterns/alia-assistant/alia-types.d.ts +20 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/bmi-calculator-DuVSFDuw.js +0 -259
- package/dist/_chunks/dialog-DOYgd75U.js +0 -224
- package/dist/_chunks/gestational-age-calculator-ZMSrzkRW.js +0 -179
- package/dist/_chunks/insert-result-DisOY2G-.js +0 -243
|
@@ -5,7 +5,7 @@ import { c as J } from "./index-D2ZczOXr.js";
|
|
|
5
5
|
import { useTranslation as pe } from "react-i18next";
|
|
6
6
|
import * as ee from "@radix-ui/react-popover";
|
|
7
7
|
import Ce from "pdfjs-dist/build/pdf.worker.min.mjs?url";
|
|
8
|
-
import { S as Ze } from "./spinner-
|
|
8
|
+
import { S as Ze } from "./spinner-OjQNn8oN.js";
|
|
9
9
|
import { A as we } from "./alert-ywPR59NE.js";
|
|
10
10
|
import { u as Ke } from "./registry-nPAVE19X.js";
|
|
11
11
|
import { X as Be } from "./x-CCcI3eJp.js";
|
|
@@ -957,4 +957,4 @@ export {
|
|
|
957
957
|
at as P,
|
|
958
958
|
Ge as p
|
|
959
959
|
};
|
|
960
|
-
//# sourceMappingURL=pdf-viewer-
|
|
960
|
+
//# sourceMappingURL=pdf-viewer-CWEXTlwq.js.map
|
|
@@ -11,7 +11,7 @@ import { M as We } from "./map-view-Tb5VfK9Y.js";
|
|
|
11
11
|
import { R as Ce } from "./rating-BRD7O74e.js";
|
|
12
12
|
import { S as z } from "./sheet-xbzu4YiY.js";
|
|
13
13
|
import { S as Xe } from "./skeleton-CZbwyJAA.js";
|
|
14
|
-
import { S as Ye } from "./spinner-
|
|
14
|
+
import { S as Ye } from "./spinner-OjQNn8oN.js";
|
|
15
15
|
import { B as L } from "./badge-zsf5i5bH.js";
|
|
16
16
|
import { u as et } from "./use-media-query-CcAx5SMM.js";
|
|
17
17
|
import { u as tt } from "./registry-nPAVE19X.js";
|
|
@@ -1569,4 +1569,4 @@ export {
|
|
|
1569
1569
|
Ct as P,
|
|
1570
1570
|
rt as p
|
|
1571
1571
|
};
|
|
1572
|
-
//# sourceMappingURL=practice-results-
|
|
1572
|
+
//# sourceMappingURL=practice-results-DDi-kvaD.js.map
|
package/dist/_chunks/{pregnancy-weight-gain-zZL5Ir2-.js → pregnancy-weight-gain-BtEHaSqy.js}
RENAMED
|
@@ -1,89 +1,98 @@
|
|
|
1
1
|
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as A, useState as f, useMemo as
|
|
3
|
-
import { c as
|
|
2
|
+
import { forwardRef as A, useState as f, useMemo as w, useEffect as F } from "react";
|
|
3
|
+
import { c as k } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as R } from "react-i18next";
|
|
5
5
|
import { F as y } from "./form-field-BOm9hK35.js";
|
|
6
6
|
import { N as x } from "./number-input-Dj5L3pXK.js";
|
|
7
|
-
import { C as
|
|
8
|
-
import { B as
|
|
9
|
-
import { I as
|
|
7
|
+
import { C as $ } from "./card-DPmk26CL.js";
|
|
8
|
+
import { B as C } from "./badge-zsf5i5bH.js";
|
|
9
|
+
import { I as H } from "./insert-result-C5ABnzDl.js";
|
|
10
10
|
import { b as M, e as j } from "./bmi-BxD-tFzU.js";
|
|
11
|
-
const
|
|
11
|
+
const L = {
|
|
12
12
|
underweight: { min: 12.5, max: 18 },
|
|
13
13
|
normal: { min: 11.5, max: 16 },
|
|
14
14
|
overweight: { min: 7, max: 11.5 },
|
|
15
15
|
obese: { min: 5, max: 9 }
|
|
16
|
-
},
|
|
16
|
+
}, O = {
|
|
17
17
|
underweight: { min: 0.44, max: 0.58 },
|
|
18
18
|
normal: { min: 0.35, max: 0.5 },
|
|
19
19
|
overweight: { min: 0.23, max: 0.33 },
|
|
20
20
|
obese: { min: 0.17, max: 0.27 }
|
|
21
21
|
}, G = { min: 0.5, max: 2 }, v = 13;
|
|
22
|
-
function
|
|
22
|
+
function U(t, i) {
|
|
23
23
|
if (i <= 0) return { min: 0, max: 0 };
|
|
24
24
|
if (i <= v) {
|
|
25
|
-
const
|
|
25
|
+
const c = i / v;
|
|
26
26
|
return {
|
|
27
|
-
min: G.min *
|
|
28
|
-
max: G.max *
|
|
27
|
+
min: G.min * c,
|
|
28
|
+
max: G.max * c
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
const
|
|
31
|
+
const l = Math.min(i, 40) - v, r = O[t];
|
|
32
32
|
return {
|
|
33
|
-
min: G.min + r.min *
|
|
34
|
-
max: G.max + r.max *
|
|
33
|
+
min: G.min + r.min * l,
|
|
34
|
+
max: G.max + r.max * l
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
const i = M(t.prePregnancyBmi),
|
|
37
|
+
function z(t) {
|
|
38
|
+
const i = M(t.prePregnancyBmi), l = L[i], r = U(
|
|
39
39
|
i,
|
|
40
40
|
t.gestationalWeeks
|
|
41
|
-
),
|
|
42
|
-
return { category: i, totalRange:
|
|
41
|
+
), c = t.currentWeightKg - t.prePregnancyWeightKg, W = c < r.min ? "below" : c > r.max ? "above" : "within";
|
|
42
|
+
return { category: i, totalRange: l, recommendedToDate: r, actualGainKg: c, status: W };
|
|
43
43
|
}
|
|
44
|
-
const
|
|
44
|
+
const V = k("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
|
|
45
45
|
variants: {
|
|
46
46
|
width: { full: "ds:w-full", auto: "ds:inline-flex" }
|
|
47
47
|
},
|
|
48
48
|
defaultVariants: { width: "full" }
|
|
49
|
-
}),
|
|
49
|
+
}), q = {
|
|
50
50
|
below: "warning",
|
|
51
51
|
within: "success",
|
|
52
52
|
above: "warning"
|
|
53
|
-
},
|
|
53
|
+
}, J = {
|
|
54
|
+
below: "--warning-readable",
|
|
55
|
+
within: "--success",
|
|
56
|
+
above: "--warning-readable"
|
|
57
|
+
};
|
|
58
|
+
function Q(t) {
|
|
59
|
+
return J[t];
|
|
60
|
+
}
|
|
61
|
+
const X = A(
|
|
54
62
|
({
|
|
55
63
|
onResultChange: t,
|
|
56
64
|
onInsert: i,
|
|
57
|
-
insertVariant:
|
|
65
|
+
insertVariant: l = "insert",
|
|
58
66
|
onCopy: r,
|
|
59
|
-
onError:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
67
|
+
onError: c,
|
|
68
|
+
insertBrand: W,
|
|
69
|
+
id: K,
|
|
70
|
+
width: P,
|
|
71
|
+
className: S
|
|
63
72
|
}, B) => {
|
|
64
|
-
const { t: e, i18n:
|
|
73
|
+
const { t: e, i18n: b } = R(), [N, D] = f(null), [m, I] = f(null), [g, E] = f(null), [u, _] = f(null), p = j(m, N), n = w(() => p === null || m === null || g === null || u === null ? null : z({
|
|
65
74
|
prePregnancyBmi: p,
|
|
66
|
-
prePregnancyWeightKg:
|
|
75
|
+
prePregnancyWeightKg: m,
|
|
67
76
|
currentWeightKg: g,
|
|
68
77
|
gestationalWeeks: u
|
|
69
|
-
}), [p,
|
|
70
|
-
() => new Intl.NumberFormat(
|
|
78
|
+
}), [p, m, g, u]), d = w(
|
|
79
|
+
() => new Intl.NumberFormat(b.language, {
|
|
71
80
|
minimumFractionDigits: 1,
|
|
72
81
|
maximumFractionDigits: 1
|
|
73
82
|
}),
|
|
74
|
-
[
|
|
83
|
+
[b.language]
|
|
75
84
|
);
|
|
76
85
|
F(() => {
|
|
77
86
|
t == null || t(n);
|
|
78
87
|
}, [n, t]);
|
|
79
|
-
const
|
|
88
|
+
const o = e("pregnancyWeightGain.units.kg"), h = (T) => `${d.format(T.min)} – ${d.format(T.max)} ${o}`;
|
|
80
89
|
return /* @__PURE__ */ s(
|
|
81
90
|
"div",
|
|
82
91
|
{
|
|
83
92
|
ref: B,
|
|
84
93
|
"data-component": "pregnancy-weight-gain",
|
|
85
|
-
"data-component-id":
|
|
86
|
-
className:
|
|
94
|
+
"data-component-id": K,
|
|
95
|
+
className: V({ width: P, className: S }),
|
|
87
96
|
children: [
|
|
88
97
|
/* @__PURE__ */ s("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:sm:grid-cols-2", children: [
|
|
89
98
|
/* @__PURE__ */ a(
|
|
@@ -96,7 +105,7 @@ const U = _("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
|
|
|
96
105
|
mode: "decimal",
|
|
97
106
|
min: 0,
|
|
98
107
|
step: 0.5,
|
|
99
|
-
value:
|
|
108
|
+
value: N,
|
|
100
109
|
onChange: D
|
|
101
110
|
}
|
|
102
111
|
)
|
|
@@ -105,15 +114,15 @@ const U = _("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
|
|
|
105
114
|
/* @__PURE__ */ a(
|
|
106
115
|
y,
|
|
107
116
|
{
|
|
108
|
-
label: `${e("pregnancyWeightGain.prePregnancyWeight")} (${
|
|
117
|
+
label: `${e("pregnancyWeightGain.prePregnancyWeight")} (${o})`,
|
|
109
118
|
children: /* @__PURE__ */ a(
|
|
110
119
|
x,
|
|
111
120
|
{
|
|
112
121
|
mode: "decimal",
|
|
113
122
|
min: 0,
|
|
114
123
|
step: 0.1,
|
|
115
|
-
value:
|
|
116
|
-
onChange:
|
|
124
|
+
value: m,
|
|
125
|
+
onChange: I
|
|
117
126
|
}
|
|
118
127
|
)
|
|
119
128
|
}
|
|
@@ -121,7 +130,7 @@ const U = _("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
|
|
|
121
130
|
/* @__PURE__ */ a(
|
|
122
131
|
y,
|
|
123
132
|
{
|
|
124
|
-
label: `${e("pregnancyWeightGain.currentWeight")} (${
|
|
133
|
+
label: `${e("pregnancyWeightGain.currentWeight")} (${o})`,
|
|
125
134
|
children: /* @__PURE__ */ a(
|
|
126
135
|
x,
|
|
127
136
|
{
|
|
@@ -141,14 +150,14 @@ const U = _("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
|
|
|
141
150
|
min: 0,
|
|
142
151
|
max: 42,
|
|
143
152
|
value: u,
|
|
144
|
-
onChange:
|
|
153
|
+
onChange: _
|
|
145
154
|
}
|
|
146
155
|
) })
|
|
147
156
|
] }),
|
|
148
157
|
/* @__PURE__ */ a("p", { className: "ds:sr-only", role: "status", "aria-live": "polite", children: n ? `${e("pregnancyWeightGain.actualGain")}: ${d.format(
|
|
149
158
|
n.actualGainKg
|
|
150
|
-
)} ${
|
|
151
|
-
n ? /* @__PURE__ */ a(
|
|
159
|
+
)} ${o}. ${e(`pregnancyWeightGain.status.${n.status}`)}.` : "" }),
|
|
160
|
+
n ? /* @__PURE__ */ a($, { variant: "elevated", children: /* @__PURE__ */ s($.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
152
161
|
/* @__PURE__ */ s("dl", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:sm:grid-cols-2", children: [
|
|
153
162
|
/* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
154
163
|
/* @__PURE__ */ a("dt", { className: "type-label ds:text-muted-foreground", children: e("pregnancyWeightGain.prePregnancyBmi") }),
|
|
@@ -165,9 +174,9 @@ const U = _("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
|
|
|
165
174
|
/* @__PURE__ */ s("span", { className: "type-metric ds:text-foreground", children: [
|
|
166
175
|
d.format(n.actualGainKg),
|
|
167
176
|
" ",
|
|
168
|
-
|
|
177
|
+
o
|
|
169
178
|
] }),
|
|
170
|
-
/* @__PURE__ */ a(
|
|
179
|
+
/* @__PURE__ */ a(C, { variant: q[n.status], size: "lg", children: e(`pregnancyWeightGain.status.${n.status}`) })
|
|
171
180
|
] })
|
|
172
181
|
] }),
|
|
173
182
|
/* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
@@ -180,26 +189,39 @@ const U = _("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
|
|
|
180
189
|
] })
|
|
181
190
|
] }),
|
|
182
191
|
/* @__PURE__ */ a("p", { className: "type-body-sm ds:text-muted-foreground", children: e("pregnancyWeightGain.disclaimer") }),
|
|
183
|
-
|
|
184
|
-
|
|
192
|
+
l === "copy" || i ? /* @__PURE__ */ a(
|
|
193
|
+
H,
|
|
185
194
|
{
|
|
186
195
|
onInsert: i,
|
|
187
|
-
variant:
|
|
196
|
+
variant: l,
|
|
188
197
|
onCopy: r,
|
|
189
|
-
onError:
|
|
198
|
+
onError: c,
|
|
190
199
|
card: {
|
|
191
200
|
title: e("insert.title.weightGain"),
|
|
201
|
+
icon: "baby",
|
|
192
202
|
highlight: e(`pregnancyWeightGain.status.${n.status}`),
|
|
203
|
+
// Chip shares the gain-status semantic token so the
|
|
204
|
+
// inserted PNG chip matches the on-screen status badge —
|
|
205
|
+
// with the contrast-safe orange override for the
|
|
206
|
+
// `--warning` below/above statuses.
|
|
207
|
+
highlightToken: Q(n.status),
|
|
208
|
+
brand: W,
|
|
193
209
|
fields: [
|
|
194
210
|
{
|
|
211
|
+
// Actual gain is the headline trend → trending-up glyph.
|
|
212
|
+
icon: "trending-up",
|
|
195
213
|
label: e("pregnancyWeightGain.actualGain"),
|
|
196
|
-
value: `${d.format(n.actualGainKg)} ${
|
|
214
|
+
value: `${d.format(n.actualGainKg)} ${o}`
|
|
197
215
|
},
|
|
198
216
|
{
|
|
217
|
+
// Recommended weight band → scale glyph.
|
|
218
|
+
icon: "scale",
|
|
199
219
|
label: e("pregnancyWeightGain.recommendedToDate"),
|
|
200
220
|
value: h(n.recommendedToDate)
|
|
201
221
|
},
|
|
202
222
|
{
|
|
223
|
+
// Recommended total weight band → scale glyph.
|
|
224
|
+
icon: "scale",
|
|
203
225
|
label: e("pregnancyWeightGain.recommendedTotal"),
|
|
204
226
|
value: h(n.totalRange)
|
|
205
227
|
}
|
|
@@ -213,12 +235,12 @@ const U = _("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
|
|
|
213
235
|
);
|
|
214
236
|
}
|
|
215
237
|
);
|
|
216
|
-
|
|
238
|
+
X.displayName = "PregnancyWeightGain";
|
|
217
239
|
export {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
240
|
+
X as P,
|
|
241
|
+
O as R,
|
|
242
|
+
L as T,
|
|
243
|
+
z as a,
|
|
244
|
+
U as r
|
|
223
245
|
};
|
|
224
|
-
//# sourceMappingURL=pregnancy-weight-gain-
|
|
246
|
+
//# sourceMappingURL=pregnancy-weight-gain-BtEHaSqy.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as te, useState as _, useEffect as F, useRef as j, useMemo a
|
|
|
3
3
|
import { c as A } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as U } from "react-i18next";
|
|
5
5
|
import * as q from "@radix-ui/react-popover";
|
|
6
|
-
import { S as oe } from "./search-input-
|
|
6
|
+
import { S as oe } from "./search-input-D3aMvi4l.js";
|
|
7
7
|
import { u as W } from "./registry-nPAVE19X.js";
|
|
8
8
|
import { n as O } from "./normalize-diacritics-BNGbFNlJ.js";
|
|
9
9
|
import { S as ie } from "./search-BonnQsHv.js";
|
|
@@ -582,4 +582,4 @@ export {
|
|
|
582
582
|
Ie as f,
|
|
583
583
|
J as s
|
|
584
584
|
};
|
|
585
|
-
//# sourceMappingURL=search-bar-
|
|
585
|
+
//# sourceMappingURL=search-bar-CvN_S0jW.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as ie, useState as F, useRef as K, useCallback as V, useImpe
|
|
|
3
3
|
import { c as x } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as le } from "react-i18next";
|
|
5
5
|
import { T as ce } from "./text-input-BaClJL8Y.js";
|
|
6
|
-
import { S as ue } from "./spinner-
|
|
6
|
+
import { S as ue } from "./spinner-OjQNn8oN.js";
|
|
7
7
|
import { u as fe } from "./form-field-context-B3APVHKx.js";
|
|
8
8
|
import { u as me } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
9
9
|
import { u as be } from "./use-debounced-callback-BisrB-Fq.js";
|
|
@@ -234,4 +234,4 @@ Ee.displayName = "SearchInput";
|
|
|
234
234
|
export {
|
|
235
235
|
Ee as S
|
|
236
236
|
};
|
|
237
|
-
//# sourceMappingURL=search-input-
|
|
237
|
+
//# sourceMappingURL=search-input-D3aMvi4l.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as ce, useId as le, useMemo as G, useRef as L, useState as x, useEffect as _, useCallback as l, useImperativeHandle as ue } from "react";
|
|
3
3
|
import { c as i } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as me } from "react-i18next";
|
|
5
|
-
import { P as ge } from "./pdf-viewer-
|
|
5
|
+
import { P as ge } from "./pdf-viewer-CWEXTlwq.js";
|
|
6
6
|
import { S as pe } from "./signature-capture-CpMBhqQ9.js";
|
|
7
7
|
import { u as fe } from "./registry-nPAVE19X.js";
|
|
8
8
|
import { C as J } from "./circle-check-9AeSgJD_.js";
|
|
@@ -341,4 +341,4 @@ export {
|
|
|
341
341
|
je as S,
|
|
342
342
|
ve as s
|
|
343
343
|
};
|
|
344
|
-
//# sourceMappingURL=sign-document-
|
|
344
|
+
//# sourceMappingURL=sign-document-BCyLpFHJ.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as L, useRef as c, useEffect as b } from "react";
|
|
|
3
3
|
import { useTranslation as y } from "react-i18next";
|
|
4
4
|
import { B as E } from "./button-DD_0Xdmr.js";
|
|
5
5
|
import { L as I } from "./logo-yituK7sE.js";
|
|
6
|
-
import { S as g } from "./spinner-
|
|
6
|
+
import { S as g } from "./spinner-OjQNn8oN.js";
|
|
7
7
|
const A = /* @__PURE__ */ new Set([
|
|
8
8
|
"primary",
|
|
9
9
|
"secondary",
|
|
@@ -46,4 +46,4 @@ B.displayName = "SignInWithAlfadocsButton";
|
|
|
46
46
|
export {
|
|
47
47
|
B as S
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=sign-in-with-alfadocs-button-
|
|
49
|
+
//# sourceMappingURL=sign-in-with-alfadocs-button-CuYn_kKP.js.map
|
package/dist/_chunks/{social-sign-in-button-X54ySJr1.js → social-sign-in-button-uJYLM366.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { jsx as s, jsxs as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as y, useRef as p, useEffect as N } from "react";
|
|
3
3
|
import { c as n } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as j } from "react-i18next";
|
|
5
|
-
import { S as V } from "./spinner-
|
|
5
|
+
import { S as V } from "./spinner-OjQNn8oN.js";
|
|
6
6
|
function A({ className: e }) {
|
|
7
7
|
return /* @__PURE__ */ s(
|
|
8
8
|
"svg",
|
|
@@ -240,4 +240,4 @@ I.displayName = "SocialSignInButton";
|
|
|
240
240
|
export {
|
|
241
241
|
I as S
|
|
242
242
|
};
|
|
243
|
-
//# sourceMappingURL=social-sign-in-button-
|
|
243
|
+
//# sourceMappingURL=social-sign-in-button-uJYLM366.js.map
|
|
@@ -12,7 +12,8 @@ const f = i("ds:inline-block ds:shrink-0 ds:text-current", {
|
|
|
12
12
|
variant: {
|
|
13
13
|
pulse: "",
|
|
14
14
|
chase: "",
|
|
15
|
-
prism: ""
|
|
15
|
+
prism: "",
|
|
16
|
+
static: ""
|
|
16
17
|
},
|
|
17
18
|
speed: {
|
|
18
19
|
slower: "",
|
|
@@ -105,7 +106,10 @@ const f = i("ds:inline-block ds:shrink-0 ds:text-current", {
|
|
|
105
106
|
variant: {
|
|
106
107
|
pulse: "ds:animate-[spinner-pulse_var(--spinner-duration)_ease-in-out_infinite]",
|
|
107
108
|
chase: "ds:animate-[spinner-chase_var(--spinner-duration)_ease-out_infinite]",
|
|
108
|
-
prism: "ds:animate-[spinner-prism_var(--spinner-duration)_linear_infinite] ds:motion-reduce:fill-[var(--primary)]"
|
|
109
|
+
prism: "ds:animate-[spinner-prism_var(--spinner-duration)_linear_infinite] ds:motion-reduce:fill-[var(--primary)]",
|
|
110
|
+
// No animation — the brand mark at rest (a static logo glyph). Inherits
|
|
111
|
+
// currentColor via the base `fill-current`.
|
|
112
|
+
static: ""
|
|
109
113
|
},
|
|
110
114
|
position: {
|
|
111
115
|
top: "ds:[--spinner-position:0]",
|
|
@@ -213,4 +217,4 @@ v.displayName = "Spinner";
|
|
|
213
217
|
export {
|
|
214
218
|
v as S
|
|
215
219
|
};
|
|
216
|
-
//# sourceMappingURL=spinner-
|
|
220
|
+
//# sourceMappingURL=spinner-OjQNn8oN.js.map
|
|
@@ -4,7 +4,7 @@ import { c as V } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as D } from "react-i18next";
|
|
5
5
|
import { u as F } from "./registry-nPAVE19X.js";
|
|
6
6
|
import { u as H } from "./index-CJE9uQmb.js";
|
|
7
|
-
import { S as q } from "./search-input-
|
|
7
|
+
import { S as q } from "./search-input-D3aMvi4l.js";
|
|
8
8
|
import { u as B } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
9
9
|
const U = {
|
|
10
10
|
id: "transcript-panel",
|
|
@@ -345,4 +345,4 @@ export {
|
|
|
345
345
|
te as T,
|
|
346
346
|
U as t
|
|
347
347
|
};
|
|
348
|
-
//# sourceMappingURL=transcript-panel-
|
|
348
|
+
//# sourceMappingURL=transcript-panel-B4HiC7ed.js.map
|