@alfadocs/ui-kit 1.102.0 → 1.103.1
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/{agenda-card-bRQ4j6U6.js → agenda-card-B8hV3dZV.js} +2 -2
- package/dist/_chunks/{agenda-tray-CzE3E8GU.js → agenda-tray-Bu46s3dI.js} +2 -2
- package/dist/_chunks/{alia-sidebar-B5mu44g2.js → alia-sidebar-CKkg3gc8.js} +3 -3
- package/dist/_chunks/{appointment-card-zPr0brha.js → appointment-card-FKOnH1uJ.js} +2 -2
- package/dist/_chunks/{appointment-peek-xFTBany4.js → appointment-peek-DWfcpoGy.js} +2 -2
- package/dist/_chunks/{appointment-timeline-AKkVx9AN.js → appointment-timeline-eOi-y8m3.js} +2 -2
- package/dist/_chunks/{appointment-tray-B8qQBW65.js → appointment-tray-C6oBvsG5.js} +2 -2
- package/dist/_chunks/{avatar-BoqdWsNe.js → avatar-Dp5apm1d.js} +61 -47
- package/dist/_chunks/{balance-badge-cell-C-Rz616n.js → balance-badge-cell-DGFm2jfP.js} +2 -2
- package/dist/_chunks/{calendar-DVe5eArk.js → calendar-_sgjuH3L.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-EYyVorFR.js → calendar-appointment-editor-dialog-DqyATSh3.js} +8 -8
- package/dist/_chunks/{care-plan-header-lROoTjYn.js → care-plan-header-k8FslxsU.js} +2 -2
- package/dist/_chunks/{chat-message-CkBCAcwn.js → chat-message-CfIyXrxA.js} +2 -2
- package/dist/_chunks/{clinical-note-card--juv_ELr.js → clinical-note-card-BVkxGiGl.js} +2 -2
- package/dist/_chunks/{contact-profile-card-D0KqxoE5.js → contact-profile-card-uExd3pKC.js} +131 -133
- package/dist/_chunks/{dependent-selector-DRN0P0Kr.js → dependent-selector-D6y4Kjg5.js} +2 -2
- package/dist/_chunks/{entity-summary-B4p8zP1J.js → entity-summary-BKfR4Vws.js} +2 -2
- package/dist/_chunks/key-value-pair-DOTl68_U.js +287 -0
- package/dist/_chunks/{link-cell-renderer-DKMgD-2v.js → link-cell-renderer-BRek9kz7.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-D2qgIuXX.js → marketplace-app-shell-BsctSegT.js} +2 -2
- package/dist/_chunks/{message-card-BzJEITml.js → message-card-BG3_3nN1.js} +2 -2
- package/dist/_chunks/{message-tray-DiPgJbOb.js → message-tray-BjZv0Fsk.js} +2 -2
- package/dist/_chunks/{notes-panel-BbNLYcdv.js → notes-panel-BjTpaz8d.js} +2 -2
- package/dist/_chunks/{operator-hero-BcuPTzS_.js → operator-hero-BELhrv9o.js} +37 -35
- package/dist/_chunks/{patient-details-DoIOWP6j.js → patient-details-BXM3dRKb.js} +2 -2
- package/dist/_chunks/{patient-summary-card-B1jvxdY8.js → patient-summary-card-DB7fv-Tr.js} +3 -3
- package/dist/_chunks/{payment-request-card-DPN5yklX.js → payment-request-card-IR83TJax.js} +2 -2
- package/dist/_chunks/{periodontal-chart-X4_4WPK8.js → periodontal-chart-DqdUEFxK.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-BzL3YkEW.js → periodontal-chart-card-CCkzStlm.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-B8vykoci.js → practice-profile-hero-BAvGdQmt.js} +24 -20
- package/dist/_chunks/{practice-results-U-5kpnJa.js → practice-results-ChBP9x2r.js} +8 -4
- package/dist/_chunks/{public-footer-t6gx6sjn.js → public-footer-3Jy1zHSs.js} +248 -204
- package/dist/_chunks/{signature-request-CQ0torGq.js → signature-request-DB6kePIm.js} +2 -2
- package/dist/_chunks/{signed-out-frame-BcQE00H1.js → signed-out-frame-Bs_LSPWe.js} +2 -2
- package/dist/_chunks/{timeline-tn5QQJdS.js → timeline-CKUaBZOx.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BNtTap_B.js → use-appointment-details-read-CmqGGYCy.js} +4 -4
- package/dist/_chunks/{workflow-map-Dm27iPKB.js → workflow-map-B1jf6QaB.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/avatar/avatar.d.ts +10 -0
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/contact-profile-card/contact-profile-card.d.ts +9 -0
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/key-value-pair/index.d.ts +1 -1
- package/dist/components/key-value-pair/index.js +3 -2
- package/dist/components/key-value-pair/key-value-pair.d.ts +20 -0
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/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/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/public-footer/index.d.ts +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +29 -0
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/host-compat.css +7 -1
- package/dist/index.js +865 -864
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/key-value-pair-CB37UXsz.js +0 -210
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
import { jsx as s, jsxs as e, Fragment as p } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as B, useState as L, useCallback as F, useContext as M, createContext as q } from "react";
|
|
3
|
+
import { c as R } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as D } from "react-i18next";
|
|
5
|
+
import { I as T } from "./icon-button-S8_weU3g.js";
|
|
6
|
+
import { C as _ } from "./check-DrFSN__t.js";
|
|
7
|
+
import { C as $ } from "./copy-vRpqqHtY.js";
|
|
8
|
+
const H = R(
|
|
9
|
+
"type-body ds:text-foreground ds:min-w-0 ds:[unicode-bidi:isolate]",
|
|
10
|
+
{
|
|
11
|
+
variants: {
|
|
12
|
+
layout: {
|
|
13
|
+
horizontal: "",
|
|
14
|
+
vertical: "ds:shrink"
|
|
15
|
+
},
|
|
16
|
+
alignValue: {
|
|
17
|
+
start: "",
|
|
18
|
+
end: ""
|
|
19
|
+
},
|
|
20
|
+
mono: {
|
|
21
|
+
true: "ds:font-[family-name:var(--font-mono)]",
|
|
22
|
+
false: ""
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
compoundVariants: [
|
|
26
|
+
// `flex-1` lets the value absorb the remaining inline space when
|
|
27
|
+
// the KVP root flexes icon / label / value as direct siblings.
|
|
28
|
+
// Without it the value shrinks to its content width and the row
|
|
29
|
+
// leaves inline-end whitespace.
|
|
30
|
+
{
|
|
31
|
+
layout: "horizontal",
|
|
32
|
+
alignValue: "start",
|
|
33
|
+
class: "ds:flex-1 ds:shrink"
|
|
34
|
+
},
|
|
35
|
+
// Pinned: drop `flex-1` so the cell is content-width, then let an
|
|
36
|
+
// auto inline-start margin eat the slack. `ms-*` is the logical
|
|
37
|
+
// spelling, so this flips correctly in a right-to-left locale.
|
|
38
|
+
{
|
|
39
|
+
layout: "horizontal",
|
|
40
|
+
alignValue: "end",
|
|
41
|
+
class: "ds:ms-auto ds:shrink-0"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
defaultVariants: {
|
|
45
|
+
layout: "horizontal",
|
|
46
|
+
alignValue: "start",
|
|
47
|
+
mono: !1
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
), j = R("ds:flex", {
|
|
51
|
+
variants: {
|
|
52
|
+
layout: {
|
|
53
|
+
horizontal: "",
|
|
54
|
+
vertical: ""
|
|
55
|
+
},
|
|
56
|
+
/** Internal — flips the root to a horizontal flex when an icon
|
|
57
|
+
is present so the icon can sit at the leading edge of both
|
|
58
|
+
horizontal and vertical inner stacks. `items-start` keeps the
|
|
59
|
+
icon anchored to the label row even when the value wraps. */
|
|
60
|
+
hasIcon: {
|
|
61
|
+
true: "ds:flex-row ds:items-start ds:gap-[var(--spacing-sm)]",
|
|
62
|
+
false: ""
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
// Direction and gap are set once per combination: a vertical row with an
|
|
66
|
+
// icon used to carry both `gap-xs` and `gap-sm`, and CSS order picked the
|
|
67
|
+
// 4px one, so its label sat closer to the icon than intended.
|
|
68
|
+
compoundVariants: [
|
|
69
|
+
{
|
|
70
|
+
layout: "horizontal",
|
|
71
|
+
hasIcon: !1,
|
|
72
|
+
class: "ds:flex-row ds:items-center ds:gap-[var(--spacing-sm)]"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
layout: "vertical",
|
|
76
|
+
hasIcon: !1,
|
|
77
|
+
class: "ds:flex-col ds:gap-[var(--spacing-xs)]"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
defaultVariants: {
|
|
81
|
+
layout: "horizontal",
|
|
82
|
+
hasIcon: !1
|
|
83
|
+
}
|
|
84
|
+
}), g = q(!1), ns = ({
|
|
85
|
+
children: n,
|
|
86
|
+
className: o
|
|
87
|
+
}) => /* @__PURE__ */ s(g.Provider, { value: !0, children: /* @__PURE__ */ s("dl", { className: `ds:m-0 ${o ?? ""}`.trim(), children: n }) }), J = B(
|
|
88
|
+
({
|
|
89
|
+
label: n,
|
|
90
|
+
labelNode: o,
|
|
91
|
+
value: i,
|
|
92
|
+
layout: a = "horizontal",
|
|
93
|
+
alignValue: l = "start",
|
|
94
|
+
mono: u = !1,
|
|
95
|
+
copyable: r = !1,
|
|
96
|
+
copyText: A,
|
|
97
|
+
icon: c,
|
|
98
|
+
className: h,
|
|
99
|
+
...y
|
|
100
|
+
}, k) => {
|
|
101
|
+
const { t: d } = D("ui"), [x, N] = L(!1), [V, m] = L(""), v = A ?? (typeof i == "string" ? i : void 0), C = F(async () => {
|
|
102
|
+
if (v)
|
|
103
|
+
try {
|
|
104
|
+
await navigator.clipboard.writeText(v), N(!0), m(d("keyValuePair.copied")), setTimeout(() => {
|
|
105
|
+
N(!1), m("");
|
|
106
|
+
}, 2e3);
|
|
107
|
+
} catch {
|
|
108
|
+
m(d("keyValuePair.notAvailable")), setTimeout(() => m(""), 3e3);
|
|
109
|
+
}
|
|
110
|
+
}, [v, d]), z = H({
|
|
111
|
+
layout: a,
|
|
112
|
+
alignValue: l,
|
|
113
|
+
mono: u
|
|
114
|
+
}), t = c != null, G = "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-0 ds:flex-1", f = /* @__PURE__ */ e(p, { children: [
|
|
115
|
+
/* @__PURE__ */ e("span", { className: "type-label ds:text-muted-foreground ds:shrink-0", children: [
|
|
116
|
+
o ?? n,
|
|
117
|
+
/* @__PURE__ */ s("span", { className: "ds:sr-only", children: ": " })
|
|
118
|
+
] }),
|
|
119
|
+
/* @__PURE__ */ s("span", { className: z, children: i }),
|
|
120
|
+
r && /* @__PURE__ */ s(
|
|
121
|
+
T,
|
|
122
|
+
{
|
|
123
|
+
icon: x ? /* @__PURE__ */ s(_, {}) : /* @__PURE__ */ s($, {}),
|
|
124
|
+
size: "sm",
|
|
125
|
+
"aria-label": d("keyValuePair.copy", { label: n }),
|
|
126
|
+
onClick: C,
|
|
127
|
+
intent: "ghost",
|
|
128
|
+
className: a === "horizontal" ? (
|
|
129
|
+
// Only one element on the row may claim the slack. When
|
|
130
|
+
// the value is pinned it has already taken it with its
|
|
131
|
+
// own `ms-auto`; a second auto margin here would split
|
|
132
|
+
// the free space between them and strand the value in
|
|
133
|
+
// the middle of the row instead of at its end.
|
|
134
|
+
l === "end" ? "ds:shrink-0" : "ds:ms-auto ds:shrink-0"
|
|
135
|
+
) : "ds:self-start"
|
|
136
|
+
}
|
|
137
|
+
)
|
|
138
|
+
] });
|
|
139
|
+
if (M(g)) {
|
|
140
|
+
const P = r ? /* @__PURE__ */ s(
|
|
141
|
+
T,
|
|
142
|
+
{
|
|
143
|
+
icon: x ? /* @__PURE__ */ s(_, {}) : /* @__PURE__ */ s($, {}),
|
|
144
|
+
size: "sm",
|
|
145
|
+
"aria-label": d("keyValuePair.copy", { label: n }),
|
|
146
|
+
onClick: C,
|
|
147
|
+
intent: "ghost",
|
|
148
|
+
className: a === "horizontal" ? l === "end" ? "ds:shrink-0" : "ds:ms-auto ds:shrink-0" : "ds:self-start"
|
|
149
|
+
}
|
|
150
|
+
) : null, b = r ? /* @__PURE__ */ s("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: V }) : null, w = t ? /* @__PURE__ */ s(
|
|
151
|
+
"span",
|
|
152
|
+
{
|
|
153
|
+
"aria-hidden": "true",
|
|
154
|
+
className: "ds:inline-flex ds:shrink-0 ds:translate-y-0.5 ds:text-[color:var(--key-value-pair-icon-color)] ds:[&_svg]:size-4",
|
|
155
|
+
children: c
|
|
156
|
+
}
|
|
157
|
+
) : null, I = /* @__PURE__ */ s("span", { className: "type-label ds:text-muted-foreground ds:shrink-0", children: o ?? n }), S = /* @__PURE__ */ s("span", { className: z, children: i }), K = a === "vertical", E = K ? `ds:grid ${t ? "ds:grid-cols-[1rem_minmax(0,1fr)] ds:gap-x-[var(--spacing-sm)]" : "ds:grid-cols-1"} ${h ?? ""}` : j({ layout: a, hasIcon: t, className: h });
|
|
158
|
+
return /* @__PURE__ */ s(
|
|
159
|
+
"div",
|
|
160
|
+
{
|
|
161
|
+
ref: k,
|
|
162
|
+
className: E,
|
|
163
|
+
"data-component": "key-value-pair",
|
|
164
|
+
"data-has-icon": t ? "" : void 0,
|
|
165
|
+
...y,
|
|
166
|
+
children: K ? (
|
|
167
|
+
// A stacked pair needs real boxes: the dd sits under the dt,
|
|
168
|
+
// in the label column.
|
|
169
|
+
/* @__PURE__ */ e(p, { children: [
|
|
170
|
+
/* @__PURE__ */ e(
|
|
171
|
+
"dt",
|
|
172
|
+
{
|
|
173
|
+
className: "ds:m-0 ds:col-span-full ds:flex ds:items-baseline ds:gap-[var(--spacing-md)]",
|
|
174
|
+
children: [
|
|
175
|
+
w,
|
|
176
|
+
I
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
),
|
|
180
|
+
/* @__PURE__ */ e(
|
|
181
|
+
"dd",
|
|
182
|
+
{
|
|
183
|
+
className: `ds:m-0 ds:mt-[var(--spacing-xs)] ds:flex ds:items-start ds:gap-[var(--spacing-sm)] ${t ? "ds:col-start-2 ds:col-end-[-1]" : "ds:col-span-full"}`,
|
|
184
|
+
children: [
|
|
185
|
+
S,
|
|
186
|
+
P,
|
|
187
|
+
b
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
)
|
|
191
|
+
] })
|
|
192
|
+
) : /* @__PURE__ */ e(p, { children: [
|
|
193
|
+
/* @__PURE__ */ e("dt", { className: "ds:contents", children: [
|
|
194
|
+
w,
|
|
195
|
+
I
|
|
196
|
+
] }),
|
|
197
|
+
/* @__PURE__ */ e("dd", { className: "ds:contents", children: [
|
|
198
|
+
S,
|
|
199
|
+
P,
|
|
200
|
+
b
|
|
201
|
+
] })
|
|
202
|
+
] })
|
|
203
|
+
}
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
return /* @__PURE__ */ e(
|
|
207
|
+
"div",
|
|
208
|
+
{
|
|
209
|
+
ref: k,
|
|
210
|
+
className: j({ layout: a, hasIcon: t, className: h }),
|
|
211
|
+
"data-component": "key-value-pair",
|
|
212
|
+
"data-has-icon": t ? "" : void 0,
|
|
213
|
+
...y,
|
|
214
|
+
children: [
|
|
215
|
+
t ? /* @__PURE__ */ e(p, { children: [
|
|
216
|
+
/* @__PURE__ */ s(
|
|
217
|
+
"span",
|
|
218
|
+
{
|
|
219
|
+
"aria-hidden": "true",
|
|
220
|
+
className: "ds:inline-flex ds:shrink-0 ds:translate-y-0.5 ds:text-[color:var(--key-value-pair-icon-color)] ds:[&_svg]:size-4",
|
|
221
|
+
children: c
|
|
222
|
+
}
|
|
223
|
+
),
|
|
224
|
+
a === "horizontal" ? f : /* @__PURE__ */ s("div", { className: G, children: f })
|
|
225
|
+
] }) : f,
|
|
226
|
+
/* @__PURE__ */ s("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: V })
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
);
|
|
232
|
+
J.displayName = "KeyValuePair";
|
|
233
|
+
const O = {
|
|
234
|
+
sm: "ds:gap-y-[var(--spacing-sm)]",
|
|
235
|
+
md: "ds:gap-y-[var(--spacing-md)]",
|
|
236
|
+
lg: "ds:gap-y-[var(--spacing-lg)]"
|
|
237
|
+
}, Q = B(
|
|
238
|
+
({ children: n, className: o, rowGap: i = "md", semantic: a = !1, ...l }, u) => {
|
|
239
|
+
const r = a ? "dl" : "div";
|
|
240
|
+
return /* @__PURE__ */ s(g.Provider, { value: a, children: /* @__PURE__ */ s(
|
|
241
|
+
r,
|
|
242
|
+
{
|
|
243
|
+
ref: u,
|
|
244
|
+
"data-component": "key-value-list",
|
|
245
|
+
className: [
|
|
246
|
+
// The label track reads a custom property, and an icon list only
|
|
247
|
+
// sets that property: it never re-declares the template, so a
|
|
248
|
+
// host's own column layout (PatientSummaryCard's two fields per
|
|
249
|
+
// row from 672px) still wins exactly as before.
|
|
250
|
+
"ds:grid ds:grid-cols-[auto_var(--kvl-label-track,auto)_minmax(0,1fr)]",
|
|
251
|
+
"ds:has-[>[data-has-icon]]:[--kvl-label-track:fit-content(40%)]",
|
|
252
|
+
"ds:gap-x-[var(--spacing-md)]",
|
|
253
|
+
O[i],
|
|
254
|
+
// Each direct `data-component="key-value-pair"` child becomes
|
|
255
|
+
// a subgrid row spanning all three columns. The KVP's own
|
|
256
|
+
// flex layout still works inside the cell (icon shrinks-0,
|
|
257
|
+
// label shrinks-0, value flexes) — subgrid just aligns the
|
|
258
|
+
// boundaries between siblings.
|
|
259
|
+
'ds:[&>[data-component="key-value-pair"]]:grid',
|
|
260
|
+
'ds:[&>[data-component="key-value-pair"]]:grid-cols-subgrid',
|
|
261
|
+
'ds:[&>[data-component="key-value-pair"]]:col-span-3',
|
|
262
|
+
'ds:[&>[data-component="key-value-pair"]]:items-baseline',
|
|
263
|
+
// Unset the KVP's intra-row `gap-sm` so the subgrid inherits
|
|
264
|
+
// the parent KeyValueList's `gap-x-md` for every track gap
|
|
265
|
+
// (icon→label and label→value). `gap-0` here would override
|
|
266
|
+
// the parent's gap and crowd the icon against the label;
|
|
267
|
+
// `[gap:normal]` is the subgrid-spec way to defer to the
|
|
268
|
+
// parent.
|
|
269
|
+
'ds:[&>[data-component="key-value-pair"]]:[gap:normal]',
|
|
270
|
+
// A `dl` has the browser's default margin reset by the kit's base
|
|
271
|
+
// layer, but say it: the list must not move when it turns semantic.
|
|
272
|
+
a ? "ds:m-0" : "",
|
|
273
|
+
o
|
|
274
|
+
].filter(Boolean).join(" "),
|
|
275
|
+
...l,
|
|
276
|
+
children: n
|
|
277
|
+
}
|
|
278
|
+
) });
|
|
279
|
+
}
|
|
280
|
+
);
|
|
281
|
+
Q.displayName = "KeyValueList";
|
|
282
|
+
export {
|
|
283
|
+
Q as K,
|
|
284
|
+
ns as S,
|
|
285
|
+
J as a
|
|
286
|
+
};
|
|
287
|
+
//# sourceMappingURL=key-value-pair-DOTl68_U.js.map
|
|
@@ -11,7 +11,7 @@ import { A as ne } from "./autocomplete-D10ydpgi.js";
|
|
|
11
11
|
import { N as D } from "./number-input-CVwI1ltI.js";
|
|
12
12
|
import { S as oe } from "./select-BBDRYxJl.js";
|
|
13
13
|
import { B as ue } from "./badge-BUk4RjTS.js";
|
|
14
|
-
import { A as $ } from "./avatar-
|
|
14
|
+
import { A as $ } from "./avatar-Dp5apm1d.js";
|
|
15
15
|
import { T as K } from "./tag-DOZGz0fT.js";
|
|
16
16
|
import { T as ce } from "./tooltip-uEBdD1-5.js";
|
|
17
17
|
import { T as X } from "./timestamp-DPLDWdxA.js";
|
|
@@ -864,4 +864,4 @@ export {
|
|
|
864
864
|
Ke as g,
|
|
865
865
|
k as h
|
|
866
866
|
};
|
|
867
|
-
//# sourceMappingURL=link-cell-renderer-
|
|
867
|
+
//# sourceMappingURL=link-cell-renderer-BRek9kz7.js.map
|
package/dist/_chunks/{marketplace-app-shell-D2qgIuXX.js → marketplace-app-shell-BsctSegT.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { forwardRef as V, useState as ve, useCallback as ge, useEffect as K, use
|
|
|
3
3
|
import { useTranslation as B, Trans as xe } from "react-i18next";
|
|
4
4
|
import { c as p } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { A as q } from "./app-frame-DUPEwu4E.js";
|
|
6
|
-
import { A as F } from "./avatar-
|
|
6
|
+
import { A as F } from "./avatar-Dp5apm1d.js";
|
|
7
7
|
import { A as be } from "./alert-9kEwDza3.js";
|
|
8
8
|
import { C as U } from "./card-C85_Ndhb.js";
|
|
9
9
|
import { D as u } from "./dropdown-menu-CqxBthww.js";
|
|
@@ -656,4 +656,4 @@ export {
|
|
|
656
656
|
na as M,
|
|
657
657
|
y as P
|
|
658
658
|
};
|
|
659
|
-
//# sourceMappingURL=marketplace-app-shell-
|
|
659
|
+
//# sourceMappingURL=marketplace-app-shell-BsctSegT.js.map
|
|
@@ -4,7 +4,7 @@ import { c as ss } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as es } from "react-i18next";
|
|
5
5
|
import { I as as } from "./icon-button-S8_weU3g.js";
|
|
6
6
|
import { B as V } from "./button-DohK_Ak_.js";
|
|
7
|
-
import { A as rs } from "./avatar-
|
|
7
|
+
import { A as rs } from "./avatar-Dp5apm1d.js";
|
|
8
8
|
import { T as ds } from "./timestamp-DPLDWdxA.js";
|
|
9
9
|
import { i as os } from "./is-safe-url-DkETxeHz.js";
|
|
10
10
|
import { X as ns } from "./x-B5YnXwCz.js";
|
|
@@ -324,4 +324,4 @@ ls.displayName = "MessageCard";
|
|
|
324
324
|
export {
|
|
325
325
|
ls as M
|
|
326
326
|
};
|
|
327
|
-
//# sourceMappingURL=message-card-
|
|
327
|
+
//# sourceMappingURL=message-card-BG3_3nN1.js.map
|
|
@@ -11,7 +11,7 @@ import { B as L } from "./button-DohK_Ak_.js";
|
|
|
11
11
|
import { S as F } from "./separator-Bdc9bqoJ.js";
|
|
12
12
|
import { S as y } from "./skeleton-tTWJpvAq.js";
|
|
13
13
|
import { S as fe } from "./scroll-area-CY5SLYNw.js";
|
|
14
|
-
import { M as ve } from "./message-card-
|
|
14
|
+
import { M as ve } from "./message-card-BG3_3nN1.js";
|
|
15
15
|
import { u as he } from "./registry-DvAUVLHh.js";
|
|
16
16
|
import { M as V } from "./mail-BqXVF2zH.js";
|
|
17
17
|
const ye = {
|
|
@@ -498,4 +498,4 @@ export {
|
|
|
498
498
|
Se as M,
|
|
499
499
|
ye as m
|
|
500
500
|
};
|
|
501
|
-
//# sourceMappingURL=message-tray-
|
|
501
|
+
//# sourceMappingURL=message-tray-BjZv0Fsk.js.map
|
|
@@ -4,7 +4,7 @@ import { c as Et } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as kn } from "react-i18next";
|
|
5
5
|
import { g as mt, h as Rt } from "./handled-rejection-6gqCf5vt.js";
|
|
6
6
|
import { u as zn } from "./registry-DvAUVLHh.js";
|
|
7
|
-
import { C as Hn } from "./clinical-note-card
|
|
7
|
+
import { C as Hn } from "./clinical-note-card-BVkxGiGl.js";
|
|
8
8
|
import { R as Mn } from "./rich-text-editor-F04przIt.js";
|
|
9
9
|
import { T as Wn } from "./text-area-COMVJ1yE.js";
|
|
10
10
|
import { A as j } from "./alert-9kEwDza3.js";
|
|
@@ -1109,4 +1109,4 @@ const jr = qn(
|
|
|
1109
1109
|
export {
|
|
1110
1110
|
jr as N
|
|
1111
1111
|
};
|
|
1112
|
-
//# sourceMappingURL=notes-panel-
|
|
1112
|
+
//# sourceMappingURL=notes-panel-BjTpaz8d.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as P, useId as z, useRef as j } from "react";
|
|
3
3
|
import { c as I } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as T } from "react-i18next";
|
|
5
|
-
import { A as V } from "./avatar-
|
|
5
|
+
import { A as V } from "./avatar-Dp5apm1d.js";
|
|
6
6
|
import { B } from "./badge-BUk4RjTS.js";
|
|
7
7
|
import { C as K } from "./card-C85_Ndhb.js";
|
|
8
8
|
import { R as S } from "./rating-CGYpg5dj.js";
|
|
@@ -22,13 +22,13 @@ const q = {
|
|
|
22
22
|
type: "string",
|
|
23
23
|
descriptionKey: "ui.agent.operatorHero.state.name",
|
|
24
24
|
description: "Operator display name currently rendered.",
|
|
25
|
-
read: (
|
|
25
|
+
read: (o) => o.getName()
|
|
26
26
|
},
|
|
27
27
|
hasColor: {
|
|
28
28
|
type: "boolean",
|
|
29
29
|
descriptionKey: "ui.agent.operatorHero.state.hasColor",
|
|
30
30
|
description: "Whether a calendar-colour identity dot is rendered. Structural flag only — never the colour id or any PHI.",
|
|
31
|
-
read: (
|
|
31
|
+
read: (o) => o.getHasColor()
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
actions: {},
|
|
@@ -67,34 +67,34 @@ const q = {
|
|
|
67
67
|
}
|
|
68
68
|
}), F = P(
|
|
69
69
|
({
|
|
70
|
-
name:
|
|
71
|
-
colorId:
|
|
70
|
+
name: o,
|
|
71
|
+
colorId: l,
|
|
72
72
|
tagline: p,
|
|
73
73
|
imageUrl: x,
|
|
74
74
|
imageAlt: b,
|
|
75
|
-
rating:
|
|
75
|
+
rating: a,
|
|
76
76
|
badges: i,
|
|
77
77
|
actionSlot: m,
|
|
78
|
-
density:
|
|
78
|
+
density: r = "comfortable",
|
|
79
79
|
surface: f = "elevated",
|
|
80
80
|
"aria-label": y,
|
|
81
81
|
id: n,
|
|
82
82
|
className: N,
|
|
83
83
|
...H
|
|
84
|
-
},
|
|
85
|
-
const { t: c, i18n:
|
|
84
|
+
}, w) => {
|
|
85
|
+
const { t: c, i18n: C } = T("ui"), u = z(), k = y ?? c("operatorHero.regionLabel"), d = l != null, v = j(null);
|
|
86
86
|
W(
|
|
87
87
|
q,
|
|
88
|
-
{ getName: () =>
|
|
88
|
+
{ getName: () => o, getHasColor: () => d },
|
|
89
89
|
n
|
|
90
90
|
), M(() => {
|
|
91
|
-
const
|
|
92
|
-
|
|
93
|
-
}, [
|
|
94
|
-
const
|
|
95
|
-
value:
|
|
96
|
-
count:
|
|
97
|
-
}) : void 0, L =
|
|
91
|
+
const s = v.current;
|
|
92
|
+
s && (d ? s.style.setProperty("--operator-hero-color", $(l)) : s.style.removeProperty("--operator-hero-color"));
|
|
93
|
+
}, [d, l]);
|
|
94
|
+
const h = a ? E(a.value, C.language) : void 0, R = a ? c("operatorHero.ratingLabel", {
|
|
95
|
+
value: h,
|
|
96
|
+
count: a.count
|
|
97
|
+
}) : void 0, L = r === "comfortable" ? "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]" : "ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", A = r === "comfortable" ? "2xl" : "xl", O = r === "comfortable" ? "type-title-page" : "type-title-card", g = /* @__PURE__ */ t(
|
|
98
98
|
"div",
|
|
99
99
|
{
|
|
100
100
|
className: [
|
|
@@ -109,7 +109,9 @@ const q = {
|
|
|
109
109
|
size: A,
|
|
110
110
|
shape: "rounded",
|
|
111
111
|
ratio: "3:4",
|
|
112
|
-
|
|
112
|
+
width: r === "comfortable" ? 96 : 48,
|
|
113
|
+
height: r === "comfortable" ? 128 : 64,
|
|
114
|
+
name: o,
|
|
113
115
|
src: x,
|
|
114
116
|
alt: b,
|
|
115
117
|
className: "ds:shrink-0"
|
|
@@ -123,7 +125,7 @@ const q = {
|
|
|
123
125
|
id: u,
|
|
124
126
|
className: `${O} ds:m-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:text-[color:var(--foreground)] ds:@[480px]/ohero:min-w-0 ds:@[480px]/ohero:flex-1`,
|
|
125
127
|
children: [
|
|
126
|
-
|
|
128
|
+
d ? /* @__PURE__ */ e(
|
|
127
129
|
"span",
|
|
128
130
|
{
|
|
129
131
|
ref: v,
|
|
@@ -132,7 +134,7 @@ const q = {
|
|
|
132
134
|
className: "ds:inline-block ds:size-[var(--spacing-sm)] ds:shrink-0 ds:rounded-[var(--radius-full)] ds:bg-[var(--operator-hero-color)]"
|
|
133
135
|
}
|
|
134
136
|
) : null,
|
|
135
|
-
/* @__PURE__ */ e("span", { dir: "auto", children:
|
|
137
|
+
/* @__PURE__ */ e("span", { dir: "auto", children: o })
|
|
136
138
|
]
|
|
137
139
|
}
|
|
138
140
|
),
|
|
@@ -146,7 +148,7 @@ const q = {
|
|
|
146
148
|
children: p
|
|
147
149
|
}
|
|
148
150
|
) : null,
|
|
149
|
-
|
|
151
|
+
a ? (
|
|
150
152
|
// One image with one name ("4,9 out of 5 stars. Reviews: 7."):
|
|
151
153
|
// a name on a div without a role is ignored by screen readers,
|
|
152
154
|
// which then read the stars and "4,9 · 7" with no "reviews".
|
|
@@ -160,16 +162,16 @@ const q = {
|
|
|
160
162
|
/* @__PURE__ */ e(
|
|
161
163
|
S,
|
|
162
164
|
{
|
|
163
|
-
value:
|
|
165
|
+
value: a.value,
|
|
164
166
|
max: 5,
|
|
165
|
-
size:
|
|
167
|
+
size: r === "comfortable" ? "md" : "sm",
|
|
166
168
|
decorative: !0
|
|
167
169
|
}
|
|
168
170
|
),
|
|
169
171
|
/* @__PURE__ */ t("span", { className: "type-body-sm ds:text-[color:var(--muted-foreground)]", children: [
|
|
170
|
-
|
|
172
|
+
h,
|
|
171
173
|
" · ",
|
|
172
|
-
|
|
174
|
+
a.count
|
|
173
175
|
] })
|
|
174
176
|
]
|
|
175
177
|
}
|
|
@@ -180,14 +182,14 @@ const q = {
|
|
|
180
182
|
{
|
|
181
183
|
role: "list",
|
|
182
184
|
className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)] ds:mt-[var(--spacing-2xs)]",
|
|
183
|
-
children: i.map((
|
|
185
|
+
children: i.map((s) => /* @__PURE__ */ e(
|
|
184
186
|
B,
|
|
185
187
|
{
|
|
186
|
-
variant:
|
|
188
|
+
variant: s.variant ?? "neutral",
|
|
187
189
|
role: "listitem",
|
|
188
|
-
children:
|
|
190
|
+
children: s.label
|
|
189
191
|
},
|
|
190
|
-
|
|
192
|
+
s.key
|
|
191
193
|
))
|
|
192
194
|
}
|
|
193
195
|
) : null
|
|
@@ -198,17 +200,17 @@ const q = {
|
|
|
198
200
|
return /* @__PURE__ */ e(
|
|
199
201
|
"div",
|
|
200
202
|
{
|
|
201
|
-
ref:
|
|
203
|
+
ref: w,
|
|
202
204
|
role: "region",
|
|
203
|
-
"aria-label":
|
|
205
|
+
"aria-label": k,
|
|
204
206
|
"aria-labelledby": u,
|
|
205
207
|
"data-component": "operator-hero",
|
|
206
208
|
"data-component-id": n,
|
|
207
|
-
"data-density":
|
|
209
|
+
"data-density": r,
|
|
208
210
|
id: n,
|
|
209
|
-
className: D({ surface: f, density:
|
|
211
|
+
className: D({ surface: f, density: r, className: N }),
|
|
210
212
|
...H,
|
|
211
|
-
children: f === "elevated" ? /* @__PURE__ */ e(K, { variant: "elevated", children:
|
|
213
|
+
children: f === "elevated" ? /* @__PURE__ */ e(K, { variant: "elevated", children: g }) : g
|
|
212
214
|
}
|
|
213
215
|
);
|
|
214
216
|
}
|
|
@@ -218,4 +220,4 @@ export {
|
|
|
218
220
|
F as O,
|
|
219
221
|
q as o
|
|
220
222
|
};
|
|
221
|
-
//# sourceMappingURL=operator-hero-
|
|
223
|
+
//# sourceMappingURL=operator-hero-BELhrv9o.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as X, useId as T, useMemo as Z, Fragment as $ } from "react";
|
|
3
3
|
import { c as j } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as A } from "react-i18next";
|
|
5
|
-
import { A as ee } from "./avatar-
|
|
5
|
+
import { A as ee } from "./avatar-Dp5apm1d.js";
|
|
6
6
|
import { C as f } from "./card-C85_Ndhb.js";
|
|
7
7
|
import { C as ie, b as te, a as se } from "./collapsible-DVPM46bq.js";
|
|
8
8
|
import { D as ae } from "./description-list-BxzDN9o2.js";
|
|
@@ -368,4 +368,4 @@ export {
|
|
|
368
368
|
ue as P,
|
|
369
369
|
me as p
|
|
370
370
|
};
|
|
371
|
-
//# sourceMappingURL=patient-details-
|
|
371
|
+
//# sourceMappingURL=patient-details-BXM3dRKb.js.map
|
|
@@ -2,11 +2,11 @@ import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as $e, useId as Ie, useMemo as De } from "react";
|
|
3
3
|
import { c as Ge } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as Le } from "react-i18next";
|
|
5
|
-
import { A as re } from "./avatar-
|
|
5
|
+
import { A as re } from "./avatar-Dp5apm1d.js";
|
|
6
6
|
import { B as D } from "./badge-BUk4RjTS.js";
|
|
7
7
|
import { I as Ue } from "./icon-button-S8_weU3g.js";
|
|
8
8
|
import { C as le } from "./card-C85_Ndhb.js";
|
|
9
|
-
import { K as Be, a as Re } from "./key-value-pair-
|
|
9
|
+
import { K as Be, a as Re } from "./key-value-pair-DOTl68_U.js";
|
|
10
10
|
import { L as V } from "./link-DtCfnLnF.js";
|
|
11
11
|
import { S as k } from "./skeleton-tTWJpvAq.js";
|
|
12
12
|
import { T as oe } from "./tag-DOZGz0fT.js";
|
|
@@ -548,4 +548,4 @@ export {
|
|
|
548
548
|
Ca as P,
|
|
549
549
|
ma as p
|
|
550
550
|
};
|
|
551
|
-
//# sourceMappingURL=patient-summary-card-
|
|
551
|
+
//# sourceMappingURL=patient-summary-card-DB7fv-Tr.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as M } from "react-i18next";
|
|
|
5
5
|
import { B as O } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { C as D } from "./card-C85_Ndhb.js";
|
|
7
7
|
import { D as d } from "./description-list-BxzDN9o2.js";
|
|
8
|
-
import { K as Y, a as H } from "./key-value-pair-
|
|
8
|
+
import { K as Y, a as H } from "./key-value-pair-DOTl68_U.js";
|
|
9
9
|
import { T as j, A as ae } from "./transaction-chip-CohY6sTA.js";
|
|
10
10
|
import { u as W } from "./registry-DvAUVLHh.js";
|
|
11
11
|
import { H as te } from "./hash-CSQ9SChR.js";
|
|
@@ -439,4 +439,4 @@ export {
|
|
|
439
439
|
Ce as b,
|
|
440
440
|
me as p
|
|
441
441
|
};
|
|
442
|
-
//# sourceMappingURL=payment-request-card-
|
|
442
|
+
//# sourceMappingURL=payment-request-card-IR83TJax.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as gt } from "react-i18next";
|
|
|
5
5
|
import { u as ft } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { o as bt } from "./floating-clearance-nIx9fFLy.js";
|
|
7
7
|
import { P as Se, i as Te, h as vt, g as yt, f as xt, Y as Nt } from "./tooth-data-DR8Kdnup.js";
|
|
8
|
-
import { P as Ye } from "./periodontal-chart-card-
|
|
8
|
+
import { P as Ye } from "./periodontal-chart-card-CCkzStlm.js";
|
|
9
9
|
const j = {
|
|
10
10
|
type: "string",
|
|
11
11
|
description: "FDI tooth id ('11'–'48' permanent, '51'–'85' primary)."
|
|
@@ -1410,4 +1410,4 @@ export {
|
|
|
1410
1410
|
ze as s,
|
|
1411
1411
|
sr as t
|
|
1412
1412
|
};
|
|
1413
|
-
//# sourceMappingURL=periodontal-chart-
|
|
1413
|
+
//# sourceMappingURL=periodontal-chart-DqdUEFxK.js.map
|
package/dist/_chunks/{periodontal-chart-card-BzL3YkEW.js → periodontal-chart-card-CCkzStlm.js}
RENAMED
|
@@ -4,7 +4,7 @@ import { c as R } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as ae } from "react-i18next";
|
|
5
5
|
import { B as re } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { C as S } from "./card-C85_Ndhb.js";
|
|
7
|
-
import { K as ne, a as se } from "./key-value-pair-
|
|
7
|
+
import { K as ne, a as se } from "./key-value-pair-DOTl68_U.js";
|
|
8
8
|
import { u as oe } from "./registry-DvAUVLHh.js";
|
|
9
9
|
const de = {
|
|
10
10
|
id: "periodontal-chart-card",
|
|
@@ -452,4 +452,4 @@ export {
|
|
|
452
452
|
he as a,
|
|
453
453
|
de as p
|
|
454
454
|
};
|
|
455
|
-
//# sourceMappingURL=periodontal-chart-card-
|
|
455
|
+
//# sourceMappingURL=periodontal-chart-card-CCkzStlm.js.map
|