@alfadocs/ui-kit 1.7.0 → 1.9.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/{actions-cell-renderer-ALEAGO3j.js → actions-cell-renderer-B2pw6iH8.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-F-cCmFAn.js → anamnesis-summary-rows-d44s_whc.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-BjlF2rTz.js → antenatal-schedule-timeline-B1k8QkA6.js} +3 -3
- package/dist/_chunks/{appointment-card-BhcPJpXh.js → appointment-card-Dzr3GeVz.js} +73 -90
- package/dist/_chunks/{appointment-timeline-CMPvzlGZ.js → appointment-timeline-0mwtpErq.js} +3 -3
- package/dist/_chunks/{appointment-tray-3c_FLxXJ.js → appointment-tray-4FUu_5NX.js} +2 -2
- package/dist/_chunks/armchair-BaLDW6Hz.js +23 -0
- package/dist/_chunks/{booking-CQMJUFG-.js → booking-DHkKcUIl.js} +4 -4
- package/dist/_chunks/{calendar-4dXTvsCz.js → calendar-B4Gnyu1C.js} +553 -437
- package/dist/_chunks/calendar-event-card-Bjdbik8G.js +425 -0
- package/dist/_chunks/{care-plan-card-DQjVRDxO.js → care-plan-card-aDN4oem9.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-CMpoeNkb.js → care-plan-entry-card-BEhANdBE.js} +2 -2
- package/dist/_chunks/{care-plan-header-CxYoq23f.js → care-plan-header-CkpPyQqG.js} +2 -2
- package/dist/_chunks/{color-picker-D-tUwxxT.js → color-picker-oZ6zYks8.js} +164 -151
- package/dist/_chunks/control-room-rail-Cj2iX9h_.js +337 -0
- package/dist/_chunks/{cycle-calculator-DzgO1vzP.js → cycle-calculator-DmtYGhqq.js} +3 -3
- package/dist/_chunks/{date-picker-Bp64zk2p.js → date-picker-CepI_oI2.js} +77 -74
- package/dist/_chunks/{date-picker-variants-pKAJfnWr.js → date-picker-variants-DfuooXEK.js} +7 -2
- package/dist/_chunks/{date-range-picker-CDrZ8Zh0.js → date-range-picker-BD8P_rJq.js} +46 -45
- package/dist/_chunks/{date-time-picker-DVETwpzc.js → date-time-picker-3I2vVKGV.js} +2 -2
- package/dist/_chunks/{due-date-calculator-wK8Tajzz.js → due-date-calculator-BF_Ikofx.js} +4 -4
- package/dist/_chunks/{entity-card-9_62gY7l.js → entity-card-DmrgYSEX.js} +4 -4
- package/dist/_chunks/{file-manager-Cc_upjZX.js → file-manager-Crg5dKez.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-C_uDAeP_.js → gestational-age-calculator-CxZelpu2.js} +5 -5
- package/dist/_chunks/{hcg-doubling-BaXkJhT-.js → hcg-doubling-CpU7H5rQ.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-DH4JYpKU.js → link-cell-renderer-BZQtsuFz.js} +2 -2
- package/dist/_chunks/{notes-panel-DlnENphf.js → notes-panel-e9cJWVRg.js} +2 -2
- package/dist/_chunks/{operator-hero-CCDnIa1S.js → operator-hero-BnFv-Uef.js} +2 -2
- package/dist/_chunks/{parse-JqixfsU0.js → parse-MN9bGkrY.js} +2 -2
- package/dist/_chunks/{patient-details-qnsqYBGQ.js → patient-details-xrqe13az.js} +160 -159
- package/dist/_chunks/{patient-table-DwshfVsQ.js → patient-table-ChXM2K7H.js} +11 -7
- package/dist/_chunks/{payment-automation-upsell-BBIG7NFL.js → payment-automation-upsell-DwQW2fRp.js} +52 -63
- package/dist/_chunks/{payment-request-card-BjjBMdsp.js → payment-request-card-YVCcCZ25.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-BVS_9YU2.js → pregnancy-dating-DtToyMyc.js} +5 -5
- package/dist/_chunks/{radiograph-panel.agent-CiHwgISa.js → radiograph-panel.agent-C3trfWqB.js} +3 -3
- package/dist/_chunks/repeat-CvQa5rZt.js +17 -0
- package/dist/_chunks/resource-chip-DYTG0IQQ.js +83 -0
- package/dist/_chunks/{rich-text-editor-DARnq_6N.js → rich-text-editor-BDfFtK4H.js} +2 -2
- package/dist/_chunks/subDays-BLl3y3pd.js +8 -0
- package/dist/agent-catalog.json +2 -2
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/calendar.d.ts +138 -12
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/calendar-event-card.d.ts +48 -11
- package/dist/components/calendar-event-card/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/color-picker/index.d.ts +1 -1
- package/dist/components/color-picker/index.js +4 -3
- package/dist/components/color-picker/palettes.d.ts +10 -0
- package/dist/components/control-room-rail/control-room-rail.d.ts +9 -0
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-picker/date-picker.d.ts +11 -0
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- 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-details/patient-details.d.ts +8 -0
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/patient-table/patient-table.d.ts +5 -4
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/resource-chip/index.d.ts +3 -0
- package/dist/components/resource-chip/index.js +5 -0
- package/dist/components/resource-chip/resource-chip.d.ts +26 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/host-compat.css +7 -1
- package/dist/i18n/locales/ar.d.ts +4 -0
- package/dist/i18n/locales/ar.js +4 -0
- package/dist/i18n/locales/de.d.ts +4 -0
- package/dist/i18n/locales/de.js +4 -0
- package/dist/i18n/locales/el.d.ts +4 -0
- package/dist/i18n/locales/el.js +4 -0
- package/dist/i18n/locales/en.d.ts +4 -0
- package/dist/i18n/locales/en.js +4 -0
- package/dist/i18n/locales/es.d.ts +4 -0
- package/dist/i18n/locales/es.js +4 -0
- package/dist/i18n/locales/fr.d.ts +4 -0
- package/dist/i18n/locales/fr.js +4 -0
- package/dist/i18n/locales/hi.d.ts +4 -0
- package/dist/i18n/locales/hi.js +4 -0
- package/dist/i18n/locales/it.d.ts +4 -0
- package/dist/i18n/locales/it.js +4 -0
- package/dist/i18n/locales/ja.d.ts +4 -0
- package/dist/i18n/locales/ja.js +4 -0
- package/dist/i18n/locales/nl.d.ts +4 -0
- package/dist/i18n/locales/nl.js +4 -0
- package/dist/i18n/locales/pl.d.ts +4 -0
- package/dist/i18n/locales/pl.js +4 -0
- package/dist/i18n/locales/pt.d.ts +4 -0
- package/dist/i18n/locales/pt.js +4 -0
- package/dist/i18n/locales/ro.d.ts +4 -0
- package/dist/i18n/locales/ro.js +4 -0
- package/dist/i18n/locales/ru.d.ts +4 -0
- package/dist/i18n/locales/ru.js +4 -0
- package/dist/i18n/locales/sq.d.ts +4 -0
- package/dist/i18n/locales/sq.js +4 -0
- package/dist/i18n/locales/sv.d.ts +4 -0
- package/dist/i18n/locales/sv.js +4 -0
- package/dist/i18n/locales/tr.d.ts +4 -0
- package/dist/i18n/locales/tr.js +4 -0
- package/dist/i18n/locales/zh.d.ts +4 -0
- package/dist/i18n/locales/zh.js +4 -0
- package/dist/index.js +961 -958
- package/dist/locales/ar.json +4 -0
- package/dist/locales/de.json +4 -0
- package/dist/locales/el.json +4 -0
- package/dist/locales/en.json +4 -0
- package/dist/locales/es.json +4 -0
- package/dist/locales/fr.json +4 -0
- package/dist/locales/hi.json +4 -0
- package/dist/locales/it.json +4 -0
- package/dist/locales/ja.json +4 -0
- package/dist/locales/nl.json +4 -0
- package/dist/locales/pl.json +4 -0
- package/dist/locales/pt.json +4 -0
- package/dist/locales/ro.json +4 -0
- package/dist/locales/ru.json +4 -0
- package/dist/locales/sq.json +4 -0
- package/dist/locales/sv.json +4 -0
- package/dist/locales/tr.json +4 -0
- package/dist/locales/zh.json +4 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/tokens.css +41 -24
- package/package.json +5 -1
- package/dist/_chunks/calendar-event-card-C6qGtywL.js +0 -257
- package/dist/_chunks/control-room-rail-IH1eBjrK.js +0 -333
- package/dist/_chunks/subDays-CAUv47M1.js +0 -8
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as O, jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { createElement as x, useRef as k, useEffect as ee, useCallback as z, forwardRef as he, useState as te, useImperativeHandle as pe, useMemo as Y } from "react";
|
|
3
3
|
import { useTranslation as $ } from "react-i18next";
|
|
4
|
-
import { a as p, T as b, A as be, d as ne, D as P, e as ge } from "./actions-cell-renderer-
|
|
4
|
+
import { a as p, T as b, A as be, d as ne, D as P, e as ge } from "./actions-cell-renderer-B2pw6iH8.js";
|
|
5
5
|
import { S as Ce } from "./select-BW5ecXlX.js";
|
|
6
6
|
import { u as ve } from "./registry-DvAUVLHh.js";
|
|
7
|
-
import { I as Ne, L as we, b as L, a as _, c as U, N as H, d as F, S as R, T as ie, D as K, C as Te, g as Fe, f as Re, U as Ie, e as ye } from "./link-cell-renderer-
|
|
7
|
+
import { I as Ne, L as we, b as L, a as _, c as U, N as H, d as F, S as R, T as ie, D as K, C as Te, g as Fe, f as Re, U as Ie, e as ye } from "./link-cell-renderer-BZQtsuFz.js";
|
|
8
8
|
import { B as ae } from "./badge-sTusUqZD.js";
|
|
9
9
|
import { c as Pe } from "./index-D2ZczOXr.js";
|
|
10
10
|
import { T as We } from "./timestamp-BV2lC-wV.js";
|
|
@@ -285,9 +285,13 @@ function Ze(e, i = {}) {
|
|
|
285
285
|
// Hug the 32px (size="sm") avatar + cell padding — a tight fixed column,
|
|
286
286
|
// not a wide empty one. width === minWidth === maxWidth pins it to size so
|
|
287
287
|
// the pinned group can't stretch it (pinned columns never flex).
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
288
|
+
//
|
|
289
|
+
// 48 = 32 (avatar) + 16 (--spacing-sm each side, the reduced padding the
|
|
290
|
+
// theme gives graphic-only cells). The old 52 assumed 20px of padding
|
|
291
|
+
// against a cell that actually had 30px, so the avatar clipped by 10px.
|
|
292
|
+
width: 48,
|
|
293
|
+
minWidth: 48,
|
|
294
|
+
maxWidth: 48
|
|
291
295
|
// Anchor — never auto-hidden (no tier).
|
|
292
296
|
},
|
|
293
297
|
/* ── First name (P0, pinned-start) — plain text ────────────────── */
|
|
@@ -973,7 +977,7 @@ const lt = he(
|
|
|
973
977
|
loading: a = !1,
|
|
974
978
|
toolbar: w,
|
|
975
979
|
hideQuickSearch: t = !1,
|
|
976
|
-
pagination: n = !
|
|
980
|
+
pagination: n = !1,
|
|
977
981
|
paginationPageSizeSelector: r,
|
|
978
982
|
hideDetails: h = !1,
|
|
979
983
|
identityHref: v,
|
|
@@ -1101,4 +1105,4 @@ export {
|
|
|
1101
1105
|
q as g,
|
|
1102
1106
|
tt as u
|
|
1103
1107
|
};
|
|
1104
|
-
//# sourceMappingURL=patient-table-
|
|
1108
|
+
//# sourceMappingURL=patient-table-ChXM2K7H.js.map
|
package/dist/_chunks/{payment-automation-upsell-BBIG7NFL.js → payment-automation-upsell-DwQW2fRp.js}
RENAMED
|
@@ -1,88 +1,77 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as D, useId as r } from "react";
|
|
3
3
|
import { A as p } from "./alert-CiJT540z.js";
|
|
4
|
-
import { B as
|
|
4
|
+
import { B as M } from "./badge-sTusUqZD.js";
|
|
5
5
|
import { B as y } from "./benefit-card-DB1Kdrmc.js";
|
|
6
6
|
import { B as C } from "./button-nJaPh_HC.js";
|
|
7
7
|
import { C as d } from "./card-DPmk26CL.js";
|
|
8
8
|
import { L as n } from "./list-DgE1xWBM.js";
|
|
9
|
-
import { S as
|
|
10
|
-
import { C as f, R as
|
|
11
|
-
import { C as
|
|
9
|
+
import { S as P } from "./stat-Bs80Z6Yv.js";
|
|
10
|
+
import { C as f, R as U } from "./receipt-euro-C6k4Gzhr.js";
|
|
11
|
+
import { C as I } from "./circle-check-BN6rz4NV.js";
|
|
12
12
|
import { L as F } from "./lock-ClAFG1gy.js";
|
|
13
|
-
import { S as
|
|
14
|
-
import { c as
|
|
15
|
-
import { C as
|
|
16
|
-
import { R as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
13
|
+
import { S as q } from "./send-C5kDJ-Mz.js";
|
|
14
|
+
import { c as O } from "./createLucideIcon-DhHxpK9K.js";
|
|
15
|
+
import { C as W } from "./calendar-clock-hbObjfGY.js";
|
|
16
|
+
import { R as $ } from "./refresh-cw-DnI0cLFC.js";
|
|
17
|
+
import { R as G } from "./repeat-CvQa5rZt.js";
|
|
18
|
+
import { T as J } from "./triangle-alert-CBnO6nq_.js";
|
|
19
|
+
import { C as K } from "./clock-Drd4Wtis.js";
|
|
20
|
+
import { S as Q } from "./shield-check-DCJALLVh.js";
|
|
20
21
|
/**
|
|
21
22
|
* @license lucide-react v1.22.0 - ISC
|
|
22
23
|
*
|
|
23
24
|
* This source code is licensed under the ISC license.
|
|
24
25
|
* See the LICENSE file in the root directory of this source tree.
|
|
25
26
|
*/
|
|
26
|
-
const
|
|
27
|
+
const V = [
|
|
27
28
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
28
29
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
29
|
-
],
|
|
30
|
-
/**
|
|
31
|
-
* @license lucide-react v1.22.0 - ISC
|
|
32
|
-
*
|
|
33
|
-
* This source code is licensed under the ISC license.
|
|
34
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
35
|
-
*/
|
|
36
|
-
const X = [
|
|
37
|
-
["path", { d: "m17 2 4 4-4 4", key: "nntrym" }],
|
|
38
|
-
["path", { d: "M3 11v-1a4 4 0 0 1 4-4h14", key: "84bu3i" }],
|
|
39
|
-
["path", { d: "m7 22-4-4 4-4", key: "1wqhfi" }],
|
|
40
|
-
["path", { d: "M21 13v1a4 4 0 0 1-4 4H3", key: "1rx37r" }]
|
|
41
|
-
], Y = I("repeat", X), Z = [
|
|
30
|
+
], X = O("arrow-right", V), Y = [
|
|
42
31
|
// eslint-disable-next-line no-restricted-syntax -- sanctioned PAU marketing serif display heading (constraint 10)
|
|
43
32
|
"ds:[font-family:var(--font-serif)] ds:italic ds:font-semibold ds:leading-tight",
|
|
44
33
|
"ds:text-[color:var(--primary)]"
|
|
45
34
|
].join(" "), w = [
|
|
46
|
-
/* @__PURE__ */ e(
|
|
35
|
+
/* @__PURE__ */ e(W, { "aria-hidden": "true", className: "ds:size-5" }, "0"),
|
|
47
36
|
/* @__PURE__ */ e(f, { "aria-hidden": "true", className: "ds:size-5" }, "1"),
|
|
48
|
-
/* @__PURE__ */ e(
|
|
49
|
-
/* @__PURE__ */ e(
|
|
50
|
-
], z = ["violet", "purple", "magenta"],
|
|
37
|
+
/* @__PURE__ */ e($, { "aria-hidden": "true", className: "ds:size-5" }, "2"),
|
|
38
|
+
/* @__PURE__ */ e(G, { "aria-hidden": "true", className: "ds:size-5" }, "3")
|
|
39
|
+
], z = ["violet", "purple", "magenta"], Z = {
|
|
51
40
|
paid: {
|
|
52
41
|
variant: "success",
|
|
53
|
-
icon: /* @__PURE__ */ e(
|
|
42
|
+
icon: /* @__PURE__ */ e(I, { "aria-hidden": "true", className: "ds:size-3.5" })
|
|
54
43
|
},
|
|
55
44
|
authorized: {
|
|
56
45
|
variant: "info",
|
|
57
|
-
icon: /* @__PURE__ */ e(
|
|
46
|
+
icon: /* @__PURE__ */ e(Q, { "aria-hidden": "true", className: "ds:size-3.5" })
|
|
58
47
|
},
|
|
59
48
|
pending: {
|
|
60
49
|
variant: "warning",
|
|
61
|
-
icon: /* @__PURE__ */ e(
|
|
50
|
+
icon: /* @__PURE__ */ e(K, { "aria-hidden": "true", className: "ds:size-3.5" })
|
|
62
51
|
},
|
|
63
52
|
overdue: {
|
|
64
53
|
variant: "error",
|
|
65
|
-
icon: /* @__PURE__ */ e(
|
|
54
|
+
icon: /* @__PURE__ */ e(J, { "aria-hidden": "true", className: "ds:size-3.5" })
|
|
66
55
|
}
|
|
67
|
-
},
|
|
56
|
+
}, ee = D(
|
|
68
57
|
({
|
|
69
|
-
role:
|
|
58
|
+
role: b = "owner",
|
|
70
59
|
labels: a,
|
|
71
|
-
steps:
|
|
60
|
+
steps: g,
|
|
72
61
|
features: l,
|
|
73
62
|
metrics: c,
|
|
74
63
|
previewRows: S,
|
|
75
64
|
locale: T = "it-IT",
|
|
76
65
|
currency: A = "EUR",
|
|
77
|
-
onActivate:
|
|
78
|
-
onNotifyAdmin:
|
|
79
|
-
className:
|
|
80
|
-
...
|
|
66
|
+
onActivate: k,
|
|
67
|
+
onNotifyAdmin: L,
|
|
68
|
+
className: R,
|
|
69
|
+
...B
|
|
81
70
|
}, E) => {
|
|
82
|
-
const
|
|
71
|
+
const h = r(), u = r(), o = r(), m = r(), v = r(), H = new Intl.NumberFormat(T, {
|
|
83
72
|
style: "currency",
|
|
84
73
|
currency: A
|
|
85
|
-
}),
|
|
74
|
+
}), j = Math.min(Math.max(g.length, 1), 4), x = Math.ceil(l.length / 2), _ = [
|
|
86
75
|
l.slice(0, x),
|
|
87
76
|
l.slice(x)
|
|
88
77
|
].filter((s) => s.length > 0);
|
|
@@ -91,13 +80,13 @@ const X = [
|
|
|
91
80
|
{
|
|
92
81
|
ref: E,
|
|
93
82
|
"data-component": "payment-automation-upsell",
|
|
94
|
-
"aria-labelledby":
|
|
83
|
+
"aria-labelledby": h,
|
|
95
84
|
className: [
|
|
96
85
|
"ds:mx-auto ds:flex ds:w-full ds:max-w-[80rem] ds:flex-col ds:gap-[var(--spacing-lg)]",
|
|
97
86
|
"ds:text-[color:var(--foreground)]",
|
|
98
|
-
|
|
87
|
+
R ?? ""
|
|
99
88
|
].filter(Boolean).join(" "),
|
|
100
|
-
...
|
|
89
|
+
...B,
|
|
101
90
|
children: [
|
|
102
91
|
/* @__PURE__ */ e(d, { variant: "elevated", children: /* @__PURE__ */ i(d.Body, { className: "ds:relative ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:overflow-hidden ds:sm:flex-row ds:sm:items-center ds:sm:justify-between ds:sm:gap-[var(--spacing-lg)]", children: [
|
|
103
92
|
/* @__PURE__ */ i("div", { className: "ds:flex ds:max-w-prose ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
@@ -108,8 +97,8 @@ const X = [
|
|
|
108
97
|
/* @__PURE__ */ e(
|
|
109
98
|
"h1",
|
|
110
99
|
{
|
|
111
|
-
id:
|
|
112
|
-
className: `${
|
|
100
|
+
id: h,
|
|
101
|
+
className: `${Y} ds:text-[length:var(--font-size-4xl)]`,
|
|
113
102
|
children: a.title
|
|
114
103
|
}
|
|
115
104
|
),
|
|
@@ -130,7 +119,7 @@ const X = [
|
|
|
130
119
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
|
|
131
120
|
children: [
|
|
132
121
|
/* @__PURE__ */ e("h2", { id: u, className: "type-title-section", children: a.howItWorksHeading }),
|
|
133
|
-
/* @__PURE__ */ e(y.Row, { columns:
|
|
122
|
+
/* @__PURE__ */ e(y.Row, { columns: j, children: g.map((s, t) => /* @__PURE__ */ e(
|
|
134
123
|
y,
|
|
135
124
|
{
|
|
136
125
|
step: t + 1,
|
|
@@ -161,23 +150,23 @@ const X = [
|
|
|
161
150
|
density: "relaxed",
|
|
162
151
|
"aria-labelledby": o,
|
|
163
152
|
children: S.map((s) => {
|
|
164
|
-
const t =
|
|
153
|
+
const t = Z[s.status];
|
|
165
154
|
return /* @__PURE__ */ e(
|
|
166
155
|
n.Item,
|
|
167
156
|
{
|
|
168
157
|
title: s.title,
|
|
169
158
|
description: s.meta,
|
|
170
159
|
leading: /* @__PURE__ */ e("span", { className: "ds:flex ds:size-10 ds:items-center ds:justify-center ds:rounded-full ds:bg-[color:var(--muted)] ds:text-[color:var(--accent)]", children: /* @__PURE__ */ e(
|
|
171
|
-
|
|
160
|
+
U,
|
|
172
161
|
{
|
|
173
162
|
"aria-hidden": "true",
|
|
174
163
|
className: "ds:size-5"
|
|
175
164
|
}
|
|
176
165
|
) }),
|
|
177
166
|
trailing: /* @__PURE__ */ i("span", { className: "ds:flex ds:flex-col ds:items-end ds:gap-[var(--spacing-2xs)]", children: [
|
|
178
|
-
/* @__PURE__ */ e("span", { className: "type-metric ds:text-[color:var(--foreground)] ds:[--type-metric-size:var(--font-size-xl)]", children:
|
|
167
|
+
/* @__PURE__ */ e("span", { className: "type-metric ds:text-[color:var(--foreground)] ds:[--type-metric-size:var(--font-size-xl)]", children: H.format(s.amountCents / 100) }),
|
|
179
168
|
/* @__PURE__ */ e(
|
|
180
|
-
|
|
169
|
+
M,
|
|
181
170
|
{
|
|
182
171
|
variant: t.variant,
|
|
183
172
|
size: "sm",
|
|
@@ -206,7 +195,7 @@ const X = [
|
|
|
206
195
|
a.ctaCardSubtitle ? /* @__PURE__ */ e("p", { className: "type-body ds:text-[color:var(--muted-foreground)]", children: a.ctaCardSubtitle }) : null
|
|
207
196
|
] }),
|
|
208
197
|
c && c.length > 0 ? /* @__PURE__ */ e("div", { className: "ds:grid ds:gap-[var(--spacing-md)] ds:[grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))]", children: c.map((s) => /* @__PURE__ */ e(
|
|
209
|
-
|
|
198
|
+
P,
|
|
210
199
|
{
|
|
211
200
|
label: s.label,
|
|
212
201
|
value: s.value,
|
|
@@ -226,7 +215,7 @@ const X = [
|
|
|
226
215
|
children: a.featuresHeading
|
|
227
216
|
}
|
|
228
217
|
) : null,
|
|
229
|
-
/* @__PURE__ */ e("div", { className: "ds:grid ds:gap-x-[var(--spacing-2xl)] ds:gap-y-[var(--spacing-sm)] ds:sm:grid-cols-2", children:
|
|
218
|
+
/* @__PURE__ */ e("div", { className: "ds:grid ds:gap-x-[var(--spacing-2xl)] ds:gap-y-[var(--spacing-sm)] ds:sm:grid-cols-2", children: _.map((s, t) => /* @__PURE__ */ e(
|
|
230
219
|
n,
|
|
231
220
|
{
|
|
232
221
|
divider: "spaced",
|
|
@@ -237,7 +226,7 @@ const X = [
|
|
|
237
226
|
{
|
|
238
227
|
title: N.label,
|
|
239
228
|
leading: /* @__PURE__ */ e(
|
|
240
|
-
|
|
229
|
+
I,
|
|
241
230
|
{
|
|
242
231
|
"aria-hidden": "true",
|
|
243
232
|
className: "ds:size-5 ds:text-[color:var(--success)]"
|
|
@@ -251,7 +240,7 @@ const X = [
|
|
|
251
240
|
)) })
|
|
252
241
|
] }) }),
|
|
253
242
|
/* @__PURE__ */ i("div", { className: "ds:mx-auto ds:flex ds:w-full ds:max-w-[28rem] ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
254
|
-
|
|
243
|
+
b === "member" ? /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
255
244
|
a.memberNoticeTitle || a.memberNoticeDescription ? /* @__PURE__ */ i(
|
|
256
245
|
p,
|
|
257
246
|
{
|
|
@@ -269,9 +258,9 @@ const X = [
|
|
|
269
258
|
{
|
|
270
259
|
intent: "secondary",
|
|
271
260
|
size: "lg",
|
|
272
|
-
startIcon: /* @__PURE__ */ e(
|
|
261
|
+
startIcon: /* @__PURE__ */ e(q, {}),
|
|
273
262
|
flipIconInRtl: !0,
|
|
274
|
-
onClick:
|
|
263
|
+
onClick: L,
|
|
275
264
|
className: "ds:w-full",
|
|
276
265
|
children: a.notifyAdminLabel ?? a.activateLabel
|
|
277
266
|
}
|
|
@@ -281,9 +270,9 @@ const X = [
|
|
|
281
270
|
{
|
|
282
271
|
intent: "primary",
|
|
283
272
|
size: "lg",
|
|
284
|
-
endIcon: /* @__PURE__ */ e(
|
|
273
|
+
endIcon: /* @__PURE__ */ e(X, {}),
|
|
285
274
|
flipIconInRtl: !0,
|
|
286
|
-
onClick:
|
|
275
|
+
onClick: k,
|
|
287
276
|
className: "ds:w-full",
|
|
288
277
|
children: a.activateLabel
|
|
289
278
|
}
|
|
@@ -298,8 +287,8 @@ const X = [
|
|
|
298
287
|
);
|
|
299
288
|
}
|
|
300
289
|
);
|
|
301
|
-
|
|
290
|
+
ee.displayName = "PaymentAutomationUpsell";
|
|
302
291
|
export {
|
|
303
|
-
|
|
292
|
+
ee as P
|
|
304
293
|
};
|
|
305
|
-
//# sourceMappingURL=payment-automation-upsell-
|
|
294
|
+
//# sourceMappingURL=payment-automation-upsell-DwQW2fRp.js.map
|
|
@@ -14,7 +14,7 @@ import { R as ne, C as $ } from "./receipt-euro-C6k4Gzhr.js";
|
|
|
14
14
|
import { F as J } from "./file-text-5yv6r2ls.js";
|
|
15
15
|
import { U as ie } from "./user-B12p7bVF.js";
|
|
16
16
|
import { U as le } from "./user-cog-BTn98Arm.js";
|
|
17
|
-
import { e as Q } from "./entity-card-
|
|
17
|
+
import { e as Q } from "./entity-card-DmrgYSEX.js";
|
|
18
18
|
import { A as de } from "./arrow-up-right-C2v_MKsK.js";
|
|
19
19
|
import { L as oe } from "./link-CPb_pZPr.js";
|
|
20
20
|
import { C as se } from "./calendar-clock-hbObjfGY.js";
|
|
@@ -438,4 +438,4 @@ export {
|
|
|
438
438
|
Ce as b,
|
|
439
439
|
me as p
|
|
440
440
|
};
|
|
441
|
-
//# sourceMappingURL=payment-request-card-
|
|
441
|
+
//# sourceMappingURL=payment-request-card-YVCcCZ25.js.map
|
|
@@ -6,16 +6,16 @@ import { u as Te } from "./registry-DvAUVLHh.js";
|
|
|
6
6
|
import { R as u } from "./radio-TWf9Q-mp.js";
|
|
7
7
|
import { R as j } from "./radio-group-rXDJADzW.js";
|
|
8
8
|
import { F as f } from "./form-field-CahJzTxp.js";
|
|
9
|
-
import { D as V } from "./date-picker-
|
|
9
|
+
import { D as V } from "./date-picker-CepI_oI2.js";
|
|
10
10
|
import { N as H } from "./number-input-Cgu2TtA8.js";
|
|
11
11
|
import { S as Ce } from "./select-BW5ecXlX.js";
|
|
12
12
|
import { S as je } from "./switch-OILsBLWo.js";
|
|
13
13
|
import { C as ie } from "./card-DPmk26CL.js";
|
|
14
14
|
import { B as $ } from "./badge-sTusUqZD.js";
|
|
15
15
|
import { I as Ee } from "./insert-result-LCNTskNJ.js";
|
|
16
|
-
import { D as E, r as Pe, c as Oe, g as _e, e as Ie, f as Fe, A as Ge, h as Ke, i as Ve, j as le, G as He } from "./antenatal-schedule-timeline-
|
|
17
|
-
import { s as P } from "./subDays-
|
|
18
|
-
import { c as q } from "./date-picker-variants-
|
|
16
|
+
import { D as E, r as Pe, c as Oe, g as _e, e as Ie, f as Fe, A as Ge, h as Ke, i as Ve, j as le, G as He } from "./antenatal-schedule-timeline-B1k8QkA6.js";
|
|
17
|
+
import { s as P } from "./subDays-BLl3y3pd.js";
|
|
18
|
+
import { c as q } from "./date-picker-variants-DfuooXEK.js";
|
|
19
19
|
import { p as $e } from "./parseISO-fOGpHKXm.js";
|
|
20
20
|
import { f as qe } from "./format-4HNwNGrN.js";
|
|
21
21
|
const B = {
|
|
@@ -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-DtToyMyc.js.map
|
package/dist/_chunks/{radiograph-panel.agent-CiHwgISa.js → radiograph-panel.agent-C3trfWqB.js}
RENAMED
|
@@ -8,8 +8,8 @@ import { B as L } from "./badge-sTusUqZD.js";
|
|
|
8
8
|
import { F as V } from "./form-field-CahJzTxp.js";
|
|
9
9
|
import { T as oe } from "./text-area-Bt3p7Pt0.js";
|
|
10
10
|
import { F as de } from "./file-upload-CwxdqkMK.js";
|
|
11
|
-
import { D as te } from "./date-picker-
|
|
12
|
-
import { D as le } from "./date-range-picker-
|
|
11
|
+
import { D as te } from "./date-picker-CepI_oI2.js";
|
|
12
|
+
import { D as le } from "./date-range-picker-BD8P_rJq.js";
|
|
13
13
|
import { E } from "./empty-state-X0sVPfVo.js";
|
|
14
14
|
import { P as ne } from "./panel-header-D313n_9-.js";
|
|
15
15
|
import { c as $ } from "./createLucideIcon-DhHxpK9K.js";
|
|
@@ -533,4 +533,4 @@ export {
|
|
|
533
533
|
qe as R,
|
|
534
534
|
Ae as r
|
|
535
535
|
};
|
|
536
|
-
//# sourceMappingURL=radiograph-panel.agent-
|
|
536
|
+
//# sourceMappingURL=radiograph-panel.agent-C3trfWqB.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { c as e } from "./createLucideIcon-DhHxpK9K.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v1.22.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const t = [
|
|
9
|
+
["path", { d: "m17 2 4 4-4 4", key: "nntrym" }],
|
|
10
|
+
["path", { d: "M3 11v-1a4 4 0 0 1 4-4h14", key: "84bu3i" }],
|
|
11
|
+
["path", { d: "m7 22-4-4 4-4", key: "1wqhfi" }],
|
|
12
|
+
["path", { d: "M21 13v1a4 4 0 0 1-4 4H3", key: "1rx37r" }]
|
|
13
|
+
], o = e("repeat", t);
|
|
14
|
+
export {
|
|
15
|
+
o as R
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=repeat-CvQa5rZt.js.map
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as p } from "react";
|
|
3
|
+
import { c as u } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { A as m } from "./armchair-BaLDW6Hz.js";
|
|
5
|
+
const h = u(
|
|
6
|
+
[
|
|
7
|
+
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
8
|
+
"ds:max-w-full",
|
|
9
|
+
// No pill: the label sits on the page ink, so it is legible in all
|
|
10
|
+
// four themes without knowing the resource colour.
|
|
11
|
+
"ds:text-[color:var(--foreground)]",
|
|
12
|
+
"type-eyebrow ds:[--type-eyebrow-size:var(--font-size-2xs)]"
|
|
13
|
+
].join(" "),
|
|
14
|
+
{
|
|
15
|
+
variants: {
|
|
16
|
+
orientation: {
|
|
17
|
+
// Disc above, name beneath — the stack spends the header's
|
|
18
|
+
// block axis, which is the one a resource column has to spare.
|
|
19
|
+
horizontal: "ds:flex-col",
|
|
20
|
+
// column-REVERSE: the label writes bottom-to-top (the kit's
|
|
21
|
+
// rotated-label direction), so the glyph circle must sit at the
|
|
22
|
+
// BLOCK-END — the start of the reading flow — while keeping
|
|
23
|
+
// circle-first DOM order in both orientations.
|
|
24
|
+
vertical: "ds:flex-col-reverse"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
defaultVariants: { orientation: "horizontal" }
|
|
28
|
+
}
|
|
29
|
+
), f = p(
|
|
30
|
+
({ label: o, color: s, icon: i, orientation: r, className: a, style: t, ...c }, d) => {
|
|
31
|
+
const n = s ? { "--resource-chip-color": s } : void 0;
|
|
32
|
+
return /* @__PURE__ */ l(
|
|
33
|
+
"span",
|
|
34
|
+
{
|
|
35
|
+
ref: d,
|
|
36
|
+
...c,
|
|
37
|
+
"data-component": "resource-chip",
|
|
38
|
+
"data-orientation": r ?? "horizontal",
|
|
39
|
+
className: h({ orientation: r, className: a }),
|
|
40
|
+
style: t,
|
|
41
|
+
children: [
|
|
42
|
+
/* @__PURE__ */ e(
|
|
43
|
+
"span",
|
|
44
|
+
{
|
|
45
|
+
className: [
|
|
46
|
+
"ds:flex ds:size-6 ds:shrink-0 ds:items-center ds:justify-center",
|
|
47
|
+
/* Hairline ring, NOT 1.5px: the Lucide glyph is a 24-unit
|
|
48
|
+
icon at stroke-width 2 drawn at 14px, so its strokes land
|
|
49
|
+
at ~1.17px — a 1.5px ring is visibly HEAVIER than the
|
|
50
|
+
glyph it encloses, and a fractional width on a full-radius
|
|
51
|
+
circle antialiases unevenly around the curve. 1px sits
|
|
52
|
+
just under the glyph weight and matches the kit's other
|
|
53
|
+
indicator disc. */
|
|
54
|
+
"ds:rounded-full ds:border ds:[&_svg]:size-3.5",
|
|
55
|
+
// Seeded default; the inline setter wins when a colour is given.
|
|
56
|
+
"ds:[--resource-chip-color:var(--muted-foreground)]",
|
|
57
|
+
"ds:[--resource-chip-ink:color-mix(in_srgb,var(--resource-chip-color)_70%,var(--foreground))]",
|
|
58
|
+
"ds:[background-color:color-mix(in_srgb,var(--resource-chip-color)_16%,transparent)]",
|
|
59
|
+
"ds:[border-color:var(--resource-chip-ink)]",
|
|
60
|
+
"ds:[color:var(--resource-chip-ink)]"
|
|
61
|
+
].join(" "),
|
|
62
|
+
style: n,
|
|
63
|
+
"aria-hidden": "true",
|
|
64
|
+
children: i ?? /* @__PURE__ */ e(m, {})
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
/* @__PURE__ */ e(
|
|
68
|
+
"span",
|
|
69
|
+
{
|
|
70
|
+
className: r === "vertical" ? "ds:truncate ds:text-start ds:[writing-mode:vertical-rl] ds:rotate-180 ds:[max-inline-size:6.5rem]" : "ds:truncate ds:text-center ds:[max-inline-size:100%]",
|
|
71
|
+
children: o
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
f.displayName = "ResourceChip";
|
|
80
|
+
export {
|
|
81
|
+
f as R
|
|
82
|
+
};
|
|
83
|
+
//# sourceMappingURL=resource-chip-DYTG0IQQ.js.map
|
|
@@ -19,7 +19,7 @@ import { a as pt } from "./tooltip-DvmfrNvB.js";
|
|
|
19
19
|
import { P as q } from "./popover-Cqcjx-Ny.js";
|
|
20
20
|
import { D as Ae } from "./dropdown-menu-DU-Hrf33.js";
|
|
21
21
|
import { D as B } from "./dialog-UbKJCi1X.js";
|
|
22
|
-
import { C as We } from "./color-picker-
|
|
22
|
+
import { C as We } from "./color-picker-oZ6zYks8.js";
|
|
23
23
|
import { T as Ie } from "./text-input-CUvCb6ST.js";
|
|
24
24
|
import { C as Xt } from "./checkbox-BuZ1u__2.js";
|
|
25
25
|
import { F as Ut } from "./file-upload-CwxdqkMK.js";
|
|
@@ -2626,4 +2626,4 @@ export {
|
|
|
2626
2626
|
hn as r,
|
|
2627
2627
|
Qn as w
|
|
2628
2628
|
};
|
|
2629
|
-
//# sourceMappingURL=rich-text-editor-
|
|
2629
|
+
//# sourceMappingURL=rich-text-editor-BDfFtK4H.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "1.
|
|
3
|
+
"packageVersion": "1.9.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -1585,7 +1585,7 @@
|
|
|
1585
1585
|
},
|
|
1586
1586
|
"item": {
|
|
1587
1587
|
"attr": "data-event-id",
|
|
1588
|
-
"description": "Emitted on every rendered FullCalendar event by the kit event renderer. Used by focusEvent."
|
|
1588
|
+
"description": "Emitted on every rendered FullCalendar event by the kit event renderer. Used by focusEvent. Cards also carry data-kind=\"task\"|\"draft\"|\"appointment\" and data-status for classification."
|
|
1589
1589
|
}
|
|
1590
1590
|
}
|
|
1591
1591
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as p } from "../../_chunks/appointment-card-
|
|
2
|
-
import { A as e, a as o, b as r } from "../../_chunks/appointment-tray-
|
|
1
|
+
import { A as p } from "../../_chunks/appointment-card-Dzr3GeVz.js";
|
|
2
|
+
import { A as e, a as o, b as r } from "../../_chunks/appointment-tray-4FUu_5NX.js";
|
|
3
3
|
import { i } from "../../_chunks/is-safe-url-DkETxeHz.js";
|
|
4
4
|
export {
|
|
5
5
|
p as AppointmentCard,
|