@alfadocs/ui-kit 1.101.0 → 1.102.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/{calendar-appointment-editor-dialog-CUJMnFL7.js → calendar-appointment-editor-dialog-EYyVorFR.js} +3 -3
- package/dist/_chunks/{care-plan-header-BBh0X7EO.js → care-plan-header-lROoTjYn.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CFAhByRk.js → contact-profile-card-D0KqxoE5.js} +37 -35
- package/dist/_chunks/{key-value-pair-BoXOtBL1.js → key-value-pair-CB37UXsz.js} +43 -28
- package/dist/_chunks/{patient-summary-card-CL04aq8h.js → patient-summary-card-B1jvxdY8.js} +2 -2
- package/dist/_chunks/{payment-request-card-BbpN8GQg.js → payment-request-card-DPN5yklX.js} +2 -2
- package/dist/_chunks/{periodontal-chart-Cw-ZsIls.js → periodontal-chart-X4_4WPK8.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CG8mxR62.js → periodontal-chart-card-BzL3YkEW.js} +2 -2
- package/dist/_chunks/{specialty-icon-KuovHTxh.js → specialty-icon-BkpExzMh.js} +2 -1
- package/dist/_chunks/specialty-list-BzalHR8_.js +100 -0
- package/dist/_chunks/{use-appointment-details-read-BbIoPWO6.js → use-appointment-details-read-BNtTap_B.js} +2 -2
- package/dist/_chunks/{workflow-map-k-dQkpe7.js → workflow-map-Dm27iPKB.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/patient-summary-card/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/specialty-icon/index.js +1 -1
- package/dist/components/specialty-list/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/index.js +12 -12
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/specialty-list-urUQJLk3.js +0 -67
|
@@ -16,12 +16,12 @@ import { d as vt, c as qs, b as ra } from "./toast-BNoN8Qjh.js";
|
|
|
16
16
|
import { T as Ga, a as Si } from "./tooltip-uEBdD1-5.js";
|
|
17
17
|
import { A as he } from "./alert-9kEwDza3.js";
|
|
18
18
|
import { B as ge } from "./button-DohK_Ak_.js";
|
|
19
|
-
import { f as ft, b as ja, c as _o, d as $o, e as zo, A as wi, u as Fo, R as wr, g as Ho, D as Ti, M as Vo, C as js, h as Uo, i as Ko, j as Go, k as qo, l as wa, I as jo, s as Yo } from "./use-appointment-details-read-
|
|
19
|
+
import { f as ft, b as ja, c as _o, d as $o, e as zo, A as wi, u as Fo, R as wr, g as Ho, D as Ti, M as Vo, C as js, h as Uo, i as Ko, j as Go, k as qo, l as wa, I as jo, s as Yo } from "./use-appointment-details-read-BNtTap_B.js";
|
|
20
20
|
import { V as va } from "./visually-hidden-BHxEUGyT.js";
|
|
21
21
|
import { C as Xo } from "./calendar-DVe5eArk.js";
|
|
22
22
|
import { C as lr } from "./card-C85_Ndhb.js";
|
|
23
23
|
import { C as zn } from "./checkbox-a7Sh-dXb.js";
|
|
24
|
-
import { a as Ua } from "./key-value-pair-
|
|
24
|
+
import { a as Ua } from "./key-value-pair-CB37UXsz.js";
|
|
25
25
|
import { K as Jo } from "./kbd-Bx7eQv9f.js";
|
|
26
26
|
import { R as Zo } from "./resource-chip-DB5jDwUO.js";
|
|
27
27
|
import { T as ur } from "./tag-DOZGz0fT.js";
|
|
@@ -10983,4 +10983,4 @@ export {
|
|
|
10983
10983
|
hp as r,
|
|
10984
10984
|
Vn as u
|
|
10985
10985
|
};
|
|
10986
|
-
//# sourceMappingURL=calendar-appointment-editor-dialog-
|
|
10986
|
+
//# sourceMappingURL=calendar-appointment-editor-dialog-EYyVorFR.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as n, Fragment as N } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as F, useId as M } from "react";
|
|
3
3
|
import { useTranslation as U } from "react-i18next";
|
|
4
4
|
import { B as P } from "./badge-BUk4RjTS.js";
|
|
5
|
-
import { a as G } from "./key-value-pair-
|
|
5
|
+
import { a as G } from "./key-value-pair-CB37UXsz.js";
|
|
6
6
|
import { L as O } from "./link-DtCfnLnF.js";
|
|
7
7
|
import { S as $ } from "./separator-Bdc9bqoJ.js";
|
|
8
8
|
import { T as A } from "./timestamp-DPLDWdxA.js";
|
|
@@ -195,4 +195,4 @@ export {
|
|
|
195
195
|
ee as C,
|
|
196
196
|
X as c
|
|
197
197
|
};
|
|
198
|
-
//# sourceMappingURL=care-plan-header-
|
|
198
|
+
//# sourceMappingURL=care-plan-header-lROoTjYn.js.map
|
|
@@ -4,9 +4,9 @@ import { c as ue } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as me } from "react-i18next";
|
|
5
5
|
import { B as k } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { C as H } from "./card-C85_Ndhb.js";
|
|
7
|
-
import { K as he, a as O } from "./key-value-pair-
|
|
7
|
+
import { K as he, a as O } from "./key-value-pair-CB37UXsz.js";
|
|
8
8
|
import { L as d } from "./link-DtCfnLnF.js";
|
|
9
|
-
import { S as ge } from "./specialty-list-
|
|
9
|
+
import { S as ge } from "./specialty-list-BzalHR8_.js";
|
|
10
10
|
import { b as ye } from "./format-price-BcFBa-WP.js";
|
|
11
11
|
import { u as ve } from "./registry-DvAUVLHh.js";
|
|
12
12
|
import { S as w } from "./stethoscope-sZXGC43m.js";
|
|
@@ -80,15 +80,15 @@ const Ce = [
|
|
|
80
80
|
function ke(i) {
|
|
81
81
|
return i.replace(/[^\d+]/g, "");
|
|
82
82
|
}
|
|
83
|
-
function we(i,
|
|
84
|
-
const
|
|
85
|
-
return
|
|
83
|
+
function we(i, t) {
|
|
84
|
+
const a = `https://wa.me/${i}`;
|
|
85
|
+
return t ? `${a}?text=${encodeURIComponent(t)}` : a;
|
|
86
86
|
}
|
|
87
87
|
function Me(i) {
|
|
88
|
-
const
|
|
88
|
+
const t = i.trim(), a = /^[a-z][a-z0-9+.-]*:/i.test(t) ? t : `https://${t}`;
|
|
89
89
|
try {
|
|
90
|
-
const { protocol: l } = new URL(
|
|
91
|
-
return l === "http:" || l === "https:" ?
|
|
90
|
+
const { protocol: l } = new URL(a);
|
|
91
|
+
return l === "http:" || l === "https:" ? a : void 0;
|
|
92
92
|
} catch {
|
|
93
93
|
return;
|
|
94
94
|
}
|
|
@@ -98,11 +98,11 @@ function Se(i) {
|
|
|
98
98
|
}
|
|
99
99
|
function $e() {
|
|
100
100
|
if (typeof document > "u") return "4945a3";
|
|
101
|
-
const i = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(),
|
|
102
|
-
return
|
|
101
|
+
const i = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(), t = /^#?([0-9a-fA-F]{6})$/.exec(i);
|
|
102
|
+
return t ? t[1] : "4945a3";
|
|
103
103
|
}
|
|
104
|
-
function
|
|
105
|
-
const s = $e(), h = `https://maps.googleapis.com/maps/api/staticmap?center=${
|
|
104
|
+
function Ne({ apiKey: i, center: t, zoom: a, altText: l }) {
|
|
105
|
+
const s = $e(), h = `https://maps.googleapis.com/maps/api/staticmap?center=${t.lat},${t.lng}&zoom=${a}&size=640x192&scale=2&markers=color:0x${s}%7C${t.lat},${t.lng}&key=${encodeURIComponent(i)}`;
|
|
106
106
|
return /* @__PURE__ */ e(
|
|
107
107
|
"img",
|
|
108
108
|
{
|
|
@@ -116,11 +116,11 @@ function Ae({ apiKey: i, center: a, zoom: t, altText: l }) {
|
|
|
116
116
|
}
|
|
117
117
|
);
|
|
118
118
|
}
|
|
119
|
-
const
|
|
119
|
+
const Ae = de(
|
|
120
120
|
({
|
|
121
121
|
heading: i,
|
|
122
|
-
description:
|
|
123
|
-
address:
|
|
122
|
+
description: t,
|
|
123
|
+
address: a,
|
|
124
124
|
phone: l,
|
|
125
125
|
whatsappNumber: s,
|
|
126
126
|
whatsappMessage: h,
|
|
@@ -142,14 +142,14 @@ const Ne = de(
|
|
|
142
142
|
onEmailClick: X,
|
|
143
143
|
headerSlot: Z,
|
|
144
144
|
footerSlot: ee,
|
|
145
|
-
mapSlot:
|
|
145
|
+
mapSlot: ae,
|
|
146
146
|
surface: $ = "elevated",
|
|
147
|
-
"aria-label":
|
|
147
|
+
"aria-label": te,
|
|
148
148
|
id: P,
|
|
149
149
|
className: re,
|
|
150
150
|
...ie
|
|
151
151
|
}, oe) => {
|
|
152
|
-
const { t: r, i18n:
|
|
152
|
+
const { t: r, i18n: N } = me("ui"), A = pe(), R = N.language ?? "en", I = i ?? r("contactProfileCard.heading"), ne = te ?? I, K = fe(() => {
|
|
153
153
|
if (b != null)
|
|
154
154
|
return ye(
|
|
155
155
|
b,
|
|
@@ -158,16 +158,16 @@ const Ne = de(
|
|
|
158
158
|
r("common.freeOfCharge")
|
|
159
159
|
);
|
|
160
160
|
}, [b, M, R, r]), n = [];
|
|
161
|
-
if (
|
|
161
|
+
if (a && n.push({
|
|
162
162
|
key: "address",
|
|
163
163
|
icon: /* @__PURE__ */ e(j, { "aria-hidden": "true" }),
|
|
164
164
|
label: r("contactProfileCard.label.address"),
|
|
165
165
|
value: /* @__PURE__ */ m("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
166
|
-
/* @__PURE__ */ e("span", { dir: "auto", children:
|
|
167
|
-
|
|
166
|
+
/* @__PURE__ */ e("span", { dir: "auto", children: a.line }),
|
|
167
|
+
a.lat != null && a.lng != null ? /* @__PURE__ */ e(
|
|
168
168
|
d,
|
|
169
169
|
{
|
|
170
|
-
href: Se(
|
|
170
|
+
href: Se(a),
|
|
171
171
|
external: !0,
|
|
172
172
|
intent: "default",
|
|
173
173
|
onClick: Q,
|
|
@@ -228,7 +228,7 @@ const Ne = de(
|
|
|
228
228
|
const o = (c) => {
|
|
229
229
|
if (f != null && f[c]) return f[c];
|
|
230
230
|
const _ = `languages.${c}`;
|
|
231
|
-
return
|
|
231
|
+
return N.exists(_) ? r(_) : c.toUpperCase();
|
|
232
232
|
};
|
|
233
233
|
n.push({
|
|
234
234
|
key: "languages",
|
|
@@ -267,19 +267,19 @@ const Ne = de(
|
|
|
267
267
|
},
|
|
268
268
|
P
|
|
269
269
|
);
|
|
270
|
-
const le = !!S && (
|
|
271
|
-
|
|
270
|
+
const le = !!S && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
|
|
271
|
+
Ne,
|
|
272
272
|
{
|
|
273
273
|
apiKey: S,
|
|
274
|
-
center: { lat:
|
|
274
|
+
center: { lat: a.lat, lng: a.lng },
|
|
275
275
|
zoom: D,
|
|
276
276
|
altText: r("contactProfileCard.map.alt", {
|
|
277
|
-
address:
|
|
277
|
+
address: a.line,
|
|
278
278
|
defaultValue: "Map showing {{address}}"
|
|
279
279
|
})
|
|
280
280
|
}
|
|
281
|
-
) : null, ce =
|
|
282
|
-
|
|
281
|
+
) : null, ce = ae ?? le, se = /* @__PURE__ */ m(F, { children: [
|
|
282
|
+
t ? /* @__PURE__ */ e("p", { dir: "auto", className: "type-body-sm ds:m-0 ds:whitespace-pre-line", children: t }) : null,
|
|
283
283
|
n.length > 0 ? /* @__PURE__ */ e(he, { rowGap: "md", children: n.map((o) => /* @__PURE__ */ e(
|
|
284
284
|
O,
|
|
285
285
|
{
|
|
@@ -292,11 +292,13 @@ const Ne = de(
|
|
|
292
292
|
u ? (
|
|
293
293
|
// Outside the KeyValueList on purpose: its rows are promoted to a
|
|
294
294
|
// three-column subgrid, which a stacked label-above-value row does
|
|
295
|
-
// not fit.
|
|
295
|
+
// not fit. The icon gap is the list's column gap (`gap-x-md`), so
|
|
296
|
+
// this label and its list line up with the labels above.
|
|
296
297
|
/* @__PURE__ */ e(
|
|
297
298
|
O,
|
|
298
299
|
{
|
|
299
300
|
layout: "vertical",
|
|
301
|
+
className: "ds:!gap-[var(--spacing-md)]",
|
|
300
302
|
icon: /* @__PURE__ */ e(w, { "aria-hidden": "true" }),
|
|
301
303
|
label: r("contactProfileCard.label.profession"),
|
|
302
304
|
value: /* @__PURE__ */ e(ge, { items: u })
|
|
@@ -311,7 +313,7 @@ const Ne = de(
|
|
|
311
313
|
/* @__PURE__ */ e(
|
|
312
314
|
"h2",
|
|
313
315
|
{
|
|
314
|
-
id:
|
|
316
|
+
id: A,
|
|
315
317
|
className: "type-title-card ds:m-0 ds:text-[color:var(--foreground)]",
|
|
316
318
|
children: I
|
|
317
319
|
}
|
|
@@ -325,7 +327,7 @@ const Ne = de(
|
|
|
325
327
|
ref: oe,
|
|
326
328
|
role: "region",
|
|
327
329
|
"aria-label": ne,
|
|
328
|
-
"aria-labelledby":
|
|
330
|
+
"aria-labelledby": A,
|
|
329
331
|
"data-component": "contact-profile-card",
|
|
330
332
|
"data-component-id": P,
|
|
331
333
|
id: P,
|
|
@@ -336,7 +338,7 @@ const Ne = de(
|
|
|
336
338
|
);
|
|
337
339
|
}
|
|
338
340
|
);
|
|
339
|
-
|
|
341
|
+
Ae.displayName = "ContactProfileCard";
|
|
340
342
|
const Xe = [
|
|
341
343
|
"address",
|
|
342
344
|
"phone",
|
|
@@ -363,7 +365,7 @@ const Xe = [
|
|
|
363
365
|
export {
|
|
364
366
|
Ze as C,
|
|
365
367
|
Xe as a,
|
|
366
|
-
|
|
368
|
+
Ae as b,
|
|
367
369
|
xe as c
|
|
368
370
|
};
|
|
369
|
-
//# sourceMappingURL=contact-profile-card-
|
|
371
|
+
//# sourceMappingURL=contact-profile-card-D0KqxoE5.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
1
|
+
import { jsx as a, jsxs as r, Fragment as f } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as h, useState as y, useCallback as K } from "react";
|
|
3
3
|
import { c as v } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as T } from "react-i18next";
|
|
@@ -50,8 +50,8 @@ const B = v(
|
|
|
50
50
|
), L = v("ds:flex", {
|
|
51
51
|
variants: {
|
|
52
52
|
layout: {
|
|
53
|
-
horizontal: "
|
|
54
|
-
vertical: "
|
|
53
|
+
horizontal: "",
|
|
54
|
+
vertical: ""
|
|
55
55
|
},
|
|
56
56
|
/** Internal — flips the root to a horizontal flex when an icon
|
|
57
57
|
is present so the icon can sit at the leading edge of both
|
|
@@ -62,6 +62,21 @@ const B = v(
|
|
|
62
62
|
false: ""
|
|
63
63
|
}
|
|
64
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
|
+
],
|
|
65
80
|
defaultVariants: {
|
|
66
81
|
layout: "horizontal",
|
|
67
82
|
hasIcon: !1
|
|
@@ -69,42 +84,42 @@ const B = v(
|
|
|
69
84
|
}), S = h(
|
|
70
85
|
({
|
|
71
86
|
label: t,
|
|
72
|
-
labelNode:
|
|
87
|
+
labelNode: i,
|
|
73
88
|
value: e,
|
|
74
89
|
layout: s = "horizontal",
|
|
75
|
-
alignValue:
|
|
90
|
+
alignValue: o = "start",
|
|
76
91
|
mono: g = !1,
|
|
77
92
|
copyable: k = !1,
|
|
78
93
|
copyText: x,
|
|
79
94
|
icon: d,
|
|
80
95
|
className: V,
|
|
81
|
-
...
|
|
82
|
-
},
|
|
83
|
-
const { t:
|
|
96
|
+
...z
|
|
97
|
+
}, C) => {
|
|
98
|
+
const { t: n } = T("ui"), [N, u] = y(!1), [b, l] = y(""), c = x ?? (typeof e == "string" ? e : void 0), w = K(async () => {
|
|
84
99
|
if (c)
|
|
85
100
|
try {
|
|
86
|
-
await navigator.clipboard.writeText(c), u(!0),
|
|
87
|
-
u(!1),
|
|
101
|
+
await navigator.clipboard.writeText(c), u(!0), l(n("keyValuePair.copied")), setTimeout(() => {
|
|
102
|
+
u(!1), l("");
|
|
88
103
|
}, 2e3);
|
|
89
104
|
} catch {
|
|
90
|
-
|
|
105
|
+
l(n("keyValuePair.notAvailable")), setTimeout(() => l(""), 3e3);
|
|
91
106
|
}
|
|
92
|
-
}, [c,
|
|
107
|
+
}, [c, n]), I = B({
|
|
93
108
|
layout: s,
|
|
94
|
-
alignValue:
|
|
109
|
+
alignValue: o,
|
|
95
110
|
mono: g
|
|
96
|
-
}), m = d != null,
|
|
97
|
-
/* @__PURE__ */
|
|
98
|
-
|
|
111
|
+
}), m = d != null, P = "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-0 ds:flex-1", p = /* @__PURE__ */ r(f, { children: [
|
|
112
|
+
/* @__PURE__ */ r("span", { className: "type-label ds:text-muted-foreground ds:shrink-0", children: [
|
|
113
|
+
i ?? t,
|
|
99
114
|
/* @__PURE__ */ a("span", { className: "ds:sr-only", children: ": " })
|
|
100
115
|
] }),
|
|
101
|
-
/* @__PURE__ */ a("span", { className:
|
|
116
|
+
/* @__PURE__ */ a("span", { className: I, children: e }),
|
|
102
117
|
k && /* @__PURE__ */ a(
|
|
103
118
|
j,
|
|
104
119
|
{
|
|
105
120
|
icon: N ? /* @__PURE__ */ a(_, {}) : /* @__PURE__ */ a(A, {}),
|
|
106
121
|
size: "sm",
|
|
107
|
-
"aria-label":
|
|
122
|
+
"aria-label": n("keyValuePair.copy", { label: t }),
|
|
108
123
|
onClick: w,
|
|
109
124
|
intent: "ghost",
|
|
110
125
|
className: s === "horizontal" ? (
|
|
@@ -113,21 +128,21 @@ const B = v(
|
|
|
113
128
|
// own `ms-auto`; a second auto margin here would split
|
|
114
129
|
// the free space between them and strand the value in
|
|
115
130
|
// the middle of the row instead of at its end.
|
|
116
|
-
|
|
131
|
+
o === "end" ? "ds:shrink-0" : "ds:ms-auto ds:shrink-0"
|
|
117
132
|
) : "ds:self-start"
|
|
118
133
|
}
|
|
119
134
|
)
|
|
120
135
|
] });
|
|
121
|
-
return /* @__PURE__ */
|
|
136
|
+
return /* @__PURE__ */ r(
|
|
122
137
|
"div",
|
|
123
138
|
{
|
|
124
|
-
ref:
|
|
139
|
+
ref: C,
|
|
125
140
|
className: L({ layout: s, hasIcon: m, className: V }),
|
|
126
141
|
"data-component": "key-value-pair",
|
|
127
142
|
"data-has-icon": m ? "" : void 0,
|
|
128
|
-
...
|
|
143
|
+
...z,
|
|
129
144
|
children: [
|
|
130
|
-
m ? /* @__PURE__ */
|
|
145
|
+
m ? /* @__PURE__ */ r(f, { children: [
|
|
131
146
|
/* @__PURE__ */ a(
|
|
132
147
|
"span",
|
|
133
148
|
{
|
|
@@ -136,7 +151,7 @@ const B = v(
|
|
|
136
151
|
children: d
|
|
137
152
|
}
|
|
138
153
|
),
|
|
139
|
-
s === "horizontal" ? p : /* @__PURE__ */ a("div", { className:
|
|
154
|
+
s === "horizontal" ? p : /* @__PURE__ */ a("div", { className: P, children: p })
|
|
140
155
|
] }) : p,
|
|
141
156
|
/* @__PURE__ */ a("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: b })
|
|
142
157
|
]
|
|
@@ -150,10 +165,10 @@ const F = {
|
|
|
150
165
|
md: "ds:gap-y-[var(--spacing-md)]",
|
|
151
166
|
lg: "ds:gap-y-[var(--spacing-lg)]"
|
|
152
167
|
}, G = h(
|
|
153
|
-
({ children: t, className:
|
|
168
|
+
({ children: t, className: i, rowGap: e = "md", ...s }, o) => /* @__PURE__ */ a(
|
|
154
169
|
"div",
|
|
155
170
|
{
|
|
156
|
-
ref:
|
|
171
|
+
ref: o,
|
|
157
172
|
"data-component": "key-value-list",
|
|
158
173
|
className: [
|
|
159
174
|
// The label track reads a custom property, and an icon list only
|
|
@@ -180,7 +195,7 @@ const F = {
|
|
|
180
195
|
// `[gap:normal]` is the subgrid-spec way to defer to the
|
|
181
196
|
// parent.
|
|
182
197
|
'ds:[&>[data-component="key-value-pair"]]:[gap:normal]',
|
|
183
|
-
|
|
198
|
+
i
|
|
184
199
|
].filter(Boolean).join(" "),
|
|
185
200
|
...s,
|
|
186
201
|
children: t
|
|
@@ -192,4 +207,4 @@ export {
|
|
|
192
207
|
G as K,
|
|
193
208
|
S as a
|
|
194
209
|
};
|
|
195
|
-
//# sourceMappingURL=key-value-pair-
|
|
210
|
+
//# sourceMappingURL=key-value-pair-CB37UXsz.js.map
|
|
@@ -6,7 +6,7 @@ import { A as re } from "./avatar-BoqdWsNe.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-CB37UXsz.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-B1jvxdY8.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-CB37UXsz.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-DPN5yklX.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-BzL3YkEW.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-X4_4WPK8.js.map
|
package/dist/_chunks/{periodontal-chart-card-CG8mxR62.js → periodontal-chart-card-BzL3YkEW.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-CB37UXsz.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-BzL3YkEW.js.map
|
|
@@ -261,6 +261,7 @@ const R = C(
|
|
|
261
261
|
"svg",
|
|
262
262
|
{
|
|
263
263
|
focusable: "false",
|
|
264
|
+
"data-slot": "ring",
|
|
264
265
|
className: "ds:absolute ds:inset-[calc(var(--border-width-sm)/2)] ds:size-[calc(100%-var(--border-width-sm))] ds:overflow-visible",
|
|
265
266
|
children: [
|
|
266
267
|
/* @__PURE__ */ r("defs", { children: /* @__PURE__ */ a("linearGradient", { id: m, x1: "0", y1: "0", x2: "1", y2: "1", children: [
|
|
@@ -335,4 +336,4 @@ export {
|
|
|
335
336
|
R as c,
|
|
336
337
|
P as r
|
|
337
338
|
};
|
|
338
|
-
//# sourceMappingURL=specialty-icon-
|
|
339
|
+
//# sourceMappingURL=specialty-icon-BkpExzMh.js.map
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { jsxs as p, jsx as s, Fragment as v } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as b, useState as k, useId as y } from "react";
|
|
3
|
+
import { useTranslation as w } from "react-i18next";
|
|
4
|
+
import { B as _ } from "./button-DohK_Ak_.js";
|
|
5
|
+
import { c as S } from "./specialty-icon-BkpExzMh.js";
|
|
6
|
+
const m = [
|
|
7
|
+
"ds:relative ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
8
|
+
"ds:min-h-[var(--min-target-size)] ds:text-foreground ds:no-underline",
|
|
9
|
+
"ds:rounded-[var(--radius-md)]",
|
|
10
|
+
"ds:md:[min-block-size:var(--accessible-target-floor,0px)] ds:md:gap-[var(--spacing-2xs)] ds:md:rounded-full",
|
|
11
|
+
"ds:md:ps-[var(--spacing-xs)] ds:md:pe-[var(--spacing-md)]",
|
|
12
|
+
// The chip frame needs `mask-composite: exclude` (Chromium 120+). Without
|
|
13
|
+
// it the ring stays and there is no outline, rather than a gradient
|
|
14
|
+
// painted over the label. `--foreground` is only the mask's opaque source.
|
|
15
|
+
"ds:md:supports-[mask-composite:exclude]:[&_[data-slot=ring]]:hidden",
|
|
16
|
+
"ds:md:supports-[mask-composite:exclude]:before:pointer-events-none ds:md:supports-[mask-composite:exclude]:before:absolute",
|
|
17
|
+
'ds:md:supports-[mask-composite:exclude]:before:inset-0 ds:md:supports-[mask-composite:exclude]:before:content-[""]',
|
|
18
|
+
"ds:md:supports-[mask-composite:exclude]:before:rounded-[inherit] ds:md:supports-[mask-composite:exclude]:before:p-[var(--border-width-sm)]",
|
|
19
|
+
"ds:md:supports-[mask-composite:exclude]:before:[background:var(--gradient-wordmark)]",
|
|
20
|
+
"ds:md:supports-[mask-composite:exclude]:before:[mask:linear-gradient(var(--foreground)_0_0)_content-box_exclude,linear-gradient(var(--foreground)_0_0)]",
|
|
21
|
+
"ds:md:forced-colors:before:hidden ds:md:forced-colors:[border:var(--border-width-sm)_solid_CanvasText]",
|
|
22
|
+
"ds:md:forced-colors:[&_[data-slot=ring]]:hidden"
|
|
23
|
+
].join(" "), N = [
|
|
24
|
+
"ds:group",
|
|
25
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
26
|
+
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
27
|
+
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
28
|
+
].join(" "), L = [
|
|
29
|
+
"ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-2xs)] ds:p-0",
|
|
30
|
+
"ds:md:flex-row ds:md:flex-wrap ds:md:gap-[var(--spacing-sm)]"
|
|
31
|
+
].join(" ");
|
|
32
|
+
function j({
|
|
33
|
+
item: e,
|
|
34
|
+
hidden: r
|
|
35
|
+
}) {
|
|
36
|
+
const d = /* @__PURE__ */ p(v, { children: [
|
|
37
|
+
/* @__PURE__ */ s(S, { specialty: e.key }),
|
|
38
|
+
/* @__PURE__ */ s(
|
|
39
|
+
"span",
|
|
40
|
+
{
|
|
41
|
+
dir: "auto",
|
|
42
|
+
className: "type-body ds:min-w-0 ds:underline-offset-4 ds:group-hover:underline ds:group-focus-visible:underline",
|
|
43
|
+
children: e.label
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
] });
|
|
47
|
+
return /* @__PURE__ */ s(
|
|
48
|
+
"li",
|
|
49
|
+
{
|
|
50
|
+
hidden: r,
|
|
51
|
+
className: "ds:min-w-0 ds:max-w-full ds:[&[hidden]]:hidden",
|
|
52
|
+
children: e.href ? /* @__PURE__ */ s("a", { href: e.href, className: `${m} ${N}`, children: d }) : /* @__PURE__ */ s("span", { className: m, children: d })
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
const C = b(
|
|
57
|
+
({ items: e, collapsedCount: r = 5, className: d, ...u }, f) => {
|
|
58
|
+
const { t: a } = w("ui"), [n, g] = k(!1), t = y(), i = Math.max(0, r), l = Math.max(0, e.length - i), x = l > 0, h = [
|
|
59
|
+
"ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-2xs)] ds:md:gap-[var(--spacing-xs)]",
|
|
60
|
+
d
|
|
61
|
+
].filter(Boolean).join(" ");
|
|
62
|
+
return /* @__PURE__ */ p(
|
|
63
|
+
"div",
|
|
64
|
+
{
|
|
65
|
+
ref: f,
|
|
66
|
+
"data-component": "specialty-list",
|
|
67
|
+
className: h,
|
|
68
|
+
...u,
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ s("ul", { id: t, className: L, children: e.map((o, c) => /* @__PURE__ */ s(
|
|
71
|
+
j,
|
|
72
|
+
{
|
|
73
|
+
item: o,
|
|
74
|
+
hidden: c >= i && !n ? !0 : void 0
|
|
75
|
+
},
|
|
76
|
+
`${o.key}-${c}`
|
|
77
|
+
)) }),
|
|
78
|
+
x ? /* @__PURE__ */ s(
|
|
79
|
+
_,
|
|
80
|
+
{
|
|
81
|
+
type: "button",
|
|
82
|
+
intent: "link",
|
|
83
|
+
size: "md",
|
|
84
|
+
className: "ds:!ps-0 ds:!pe-0",
|
|
85
|
+
"aria-expanded": n,
|
|
86
|
+
"aria-controls": t,
|
|
87
|
+
onClick: () => g((o) => !o),
|
|
88
|
+
children: n ? a("specialtyList.showLess") : a("specialtyList.showAll", { count: l })
|
|
89
|
+
}
|
|
90
|
+
) : null
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
C.displayName = "SpecialtyList";
|
|
97
|
+
export {
|
|
98
|
+
C as S
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=specialty-list-BzalHR8_.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-B1jvxdY8.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-BNtTap_B.js.map
|
|
@@ -4,7 +4,7 @@ import { c as j } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as M } from "react-i18next";
|
|
5
5
|
import { C } from "./card-C85_Ndhb.js";
|
|
6
6
|
import { B as ye } from "./badge-BUk4RjTS.js";
|
|
7
|
-
import { a as Z } from "./key-value-pair-
|
|
7
|
+
import { a as Z } from "./key-value-pair-CB37UXsz.js";
|
|
8
8
|
import { T as xe } from "./timestamp-DPLDWdxA.js";
|
|
9
9
|
import { I as S } from "./icon-button-S8_weU3g.js";
|
|
10
10
|
import { P as $ } from "./pencil-B1sKKyuT.js";
|
|
@@ -1321,4 +1321,4 @@ export {
|
|
|
1321
1321
|
ee as r,
|
|
1322
1322
|
D as w
|
|
1323
1323
|
};
|
|
1324
|
-
//# sourceMappingURL=workflow-map-
|
|
1324
|
+
//# sourceMappingURL=workflow-map-Dm27iPKB.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-
|
|
1
|
+
import { A as e, a as n, p, u as s } from "../../_chunks/use-appointment-details-read-BNtTap_B.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AppointmentDetailsPanel,
|
|
4
4
|
n as appointmentDetailsPanelAgent,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-
|
|
1
|
+
import { C as _, a as O, b as o, c as r } from "../../_chunks/contact-profile-card-D0KqxoE5.js";
|
|
2
2
|
export {
|
|
3
3
|
_ as CONTACT_PROFILE_CARD_ROW_ICONS,
|
|
4
4
|
O as CONTACT_PROFILE_CARD_ROW_KEYS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as t, M as s, P as e, a as i, b as E, c as r, d as P, S as _, e as n, f as A, g as d, h as l, p as T, i as p, j as C, k as L, s as N, t as O, l as R } from "../../_chunks/periodontal-chart-
|
|
1
|
+
import { B as t, M as s, P as e, a as i, b as E, c as r, d as P, S as _, e as n, f as A, g as d, h as l, p as T, i as p, j as C, k as L, s as N, t as O, l as R } from "../../_chunks/periodontal-chart-X4_4WPK8.js";
|
|
2
2
|
export {
|
|
3
3
|
t as BLEEDING_WARN_PERCENT,
|
|
4
4
|
s as MODERATE_POCKET_MM,
|