@alfadocs/ui-kit 0.84.0 → 0.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{ai-consent-banner-DUhr1yNj.js → ai-consent-banner-BXD7W6FI.js} +2 -2
- package/dist/_chunks/{alert-KJbsPYkI.js → alert-Cxaqd-QO.js} +12 -12
- package/dist/_chunks/{audio-recorder-Cc3KuL9y.js → audio-recorder-BjnB7V8n.js} +2 -2
- package/dist/_chunks/{booking-CLmeXtGv.js → booking-BvCu2XWY.js} +2 -2
- package/dist/_chunks/{document-preview-nwfulDEs.js → document-preview-DXl9migE.js} +2 -2
- package/dist/_chunks/{document-scanner-B6h1Ir56.js → document-scanner-cS_ispQs.js} +3 -3
- package/dist/_chunks/{entity-summary--vP698Jn.js → entity-summary-BILN4wEG.js} +2 -2
- package/dist/_chunks/{field-value-DHG6gEKS.js → field-value-BRVbZJej.js} +133 -144
- package/dist/_chunks/{file-manager-DLJlinIO.js → file-manager-B9LZzT5E.js} +129 -129
- package/dist/_chunks/{file-upload-DENvuhfs.js → file-upload-CwxdqkMK.js} +134 -146
- package/dist/_chunks/{freemium-paywall-CmV642PA.js → freemium-paywall-Dr2342_S.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-Br2yebEK.js → marketplace-app-shell-Chcj4q4z.js} +2 -2
- package/dist/_chunks/message-square-Bye4ATvx.js +20 -0
- package/dist/_chunks/{notes-panel-Cvdp818a.js → notes-panel-BLjlYBt-.js} +2 -2
- package/dist/_chunks/{patient-details-COvYWp2e.js → patient-details-B9LCdyWW.js} +2 -2
- package/dist/_chunks/{patient-search-BaUJ_Y-N.js → patient-search-vtRTSdf6.js} +2 -2
- package/dist/_chunks/{patient-summary-card-D6kgdTNn.js → patient-summary-card-vn1H4xWj.js} +2 -2
- package/dist/_chunks/{patient-table-BHzmUbzu.js → patient-table-B6AKMTm3.js} +182 -196
- package/dist/_chunks/{payment-form-DL9xk9BA.js → payment-form-BoGxEmGn.js} +2 -2
- package/dist/_chunks/{payment-request-card-d-RmzsUd.js → payment-request-card-CygO1anM.js} +72 -70
- package/dist/_chunks/{pdf-viewer-DF3VMaPo.js → pdf-viewer-CcOuR2wj.js} +2 -2
- package/dist/_chunks/{practice-results-BCr7jMt1.js → practice-results-yKbwIxqa.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-CxF9pVxd.js → radiograph-panel.agent-M9XD4ze4.js} +2 -2
- package/dist/_chunks/{rich-text-editor-CCWjNkbx.js → rich-text-editor-RRkBN_WB.js} +2 -2
- package/dist/_chunks/{session-countdown-C8AsE072.js → session-countdown-Bc70VXN1.js} +58 -48
- package/dist/_chunks/{sign-document-Bfk0WpWV.js → sign-document-DI561d1C.js} +2 -2
- package/dist/_chunks/{signature-request-CEOrCDyk.js → signature-request-D_6jgDZd.js} +60 -77
- package/dist/_chunks/{task-tray-Br3vc0O1.js → task-tray-CLIqIXUZ.js} +58 -70
- package/dist/_chunks/{toast.agent-uV8CeAy6.js → toast.agent-Iw2jWdce.js} +2 -2
- package/dist/_chunks/{warning-stack-BlG_Ujy3.js → warning-stack-CAHQ0xxS.js} +2 -2
- package/dist/_chunks/{workflow-map-C643Q43h.js → workflow-map-SIfAhmWz.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/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/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/select/select.d.ts +8 -5
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/index.js +434 -445
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +5 -3
- package/dist/_chunks/circle-x-W8Enq3i4.js +0 -16
|
@@ -1,27 +1,15 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { I as
|
|
6
|
-
import { S as
|
|
7
|
-
import { E as
|
|
8
|
-
import { T as
|
|
9
|
-
import { u as
|
|
10
|
-
import {
|
|
1
|
+
import { jsx as t, jsxs as v } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as B, useRef as N, useMemo as E, useImperativeHandle as P } from "react";
|
|
3
|
+
import { c as H } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as M } from "react-i18next";
|
|
5
|
+
import { I as A } from "./icon-button-C_kbcd7I.js";
|
|
6
|
+
import { S as V } from "./skeleton-CZbwyJAA.js";
|
|
7
|
+
import { E as F } from "./empty-state-CrLsi0XI.js";
|
|
8
|
+
import { T as G } from "./task-card-BUgK6yZT.js";
|
|
9
|
+
import { u as J } from "./registry-DvAUVLHh.js";
|
|
10
|
+
import { S as L } from "./square-check-big-dj0o8yA3.js";
|
|
11
11
|
import { P as Q } from "./plus-DzMQ_c6b.js";
|
|
12
|
-
|
|
13
|
-
* @license lucide-react v1.22.0 - ISC
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the ISC license.
|
|
16
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/
|
|
18
|
-
const U = [
|
|
19
|
-
["path", { d: "M13 5h8", key: "a7qcls" }],
|
|
20
|
-
["path", { d: "M13 12h8", key: "h98zly" }],
|
|
21
|
-
["path", { d: "M13 19h8", key: "c3s6r1" }],
|
|
22
|
-
["path", { d: "m3 17 2 2 4-4", key: "1jhpwq" }],
|
|
23
|
-
["rect", { x: "3", y: "4", width: "6", height: "6", rx: "1", key: "cif1o7" }]
|
|
24
|
-
], W = J("list-todo", U), X = {
|
|
12
|
+
const U = {
|
|
25
13
|
id: "task-tray",
|
|
26
14
|
capabilities: ["select_single", "dismiss"],
|
|
27
15
|
state: {
|
|
@@ -94,7 +82,7 @@ const U = [
|
|
|
94
82
|
description: "Stable task id emitted on each rendered TaskCard inside the tray."
|
|
95
83
|
}
|
|
96
84
|
}
|
|
97
|
-
},
|
|
85
|
+
}, W = H(
|
|
98
86
|
[
|
|
99
87
|
"ds:flex ds:flex-col",
|
|
100
88
|
"ds:rounded-[var(--radius-md)] ds:shadow-[var(--shadow-card)]",
|
|
@@ -113,38 +101,38 @@ const U = [
|
|
|
113
101
|
size: "sm"
|
|
114
102
|
}
|
|
115
103
|
}
|
|
116
|
-
),
|
|
104
|
+
), X = B(
|
|
117
105
|
({
|
|
118
106
|
id: s,
|
|
119
107
|
items: a,
|
|
120
|
-
title:
|
|
121
|
-
size:
|
|
122
|
-
onOpenTask:
|
|
108
|
+
title: S,
|
|
109
|
+
size: g = "sm",
|
|
110
|
+
onOpenTask: i,
|
|
123
111
|
onToggleDone: n,
|
|
124
112
|
onDismissTask: c,
|
|
125
|
-
onAddTask:
|
|
126
|
-
addLabel:
|
|
113
|
+
onAddTask: h,
|
|
114
|
+
addLabel: j,
|
|
127
115
|
loading: m = !1,
|
|
128
|
-
emptyTitle:
|
|
129
|
-
emptyDescription:
|
|
130
|
-
emptyAction:
|
|
116
|
+
emptyTitle: T,
|
|
117
|
+
emptyDescription: R,
|
|
118
|
+
emptyAction: q,
|
|
131
119
|
viewAllLabel: k,
|
|
132
120
|
onViewAll: b,
|
|
133
121
|
renderItemActions: u,
|
|
134
122
|
scrollable: f = !1,
|
|
135
|
-
className:
|
|
136
|
-
...
|
|
137
|
-
},
|
|
138
|
-
const { t: l } =
|
|
123
|
+
className: C,
|
|
124
|
+
...I
|
|
125
|
+
}, _) => {
|
|
126
|
+
const { t: l } = M(), y = S ?? l("taskTray.title", "Tasks"), z = j ?? l("taskTray.add", "Add task"), x = !m && a.length === 0;
|
|
139
127
|
let p;
|
|
140
|
-
m ? p = /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)]", children: [0, 1, 2].map((e) => /* @__PURE__ */ t(
|
|
141
|
-
|
|
128
|
+
m ? p = /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)]", children: [0, 1, 2].map((e) => /* @__PURE__ */ t(V, { variant: "rectangular", height: "2.5rem" }, e)) }) : x ? p = /* @__PURE__ */ t("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ t(
|
|
129
|
+
F,
|
|
142
130
|
{
|
|
143
131
|
variant: "first-use",
|
|
144
132
|
size: "sm",
|
|
145
|
-
title:
|
|
146
|
-
description:
|
|
147
|
-
primaryAction:
|
|
133
|
+
title: T ?? l("taskTray.empty.title", "No tasks yet"),
|
|
134
|
+
description: R ?? l("taskTray.empty.description", "New tasks will appear here."),
|
|
135
|
+
primaryAction: q
|
|
148
136
|
}
|
|
149
137
|
) }) : p = /* @__PURE__ */ t(
|
|
150
138
|
"ul",
|
|
@@ -159,13 +147,13 @@ const U = [
|
|
|
159
147
|
f ? "ds:overflow-y-auto" : ""
|
|
160
148
|
].filter(Boolean).join(" "),
|
|
161
149
|
tabIndex: f ? 0 : void 0,
|
|
162
|
-
"aria-label": f ?
|
|
150
|
+
"aria-label": f ? y : void 0,
|
|
163
151
|
children: a.map((e) => /* @__PURE__ */ t(
|
|
164
|
-
|
|
152
|
+
G,
|
|
165
153
|
{
|
|
166
154
|
item: e,
|
|
167
|
-
size:
|
|
168
|
-
onActivate:
|
|
155
|
+
size: g,
|
|
156
|
+
onActivate: i,
|
|
169
157
|
actions: u == null ? void 0 : u(e),
|
|
170
158
|
"data-task-id": e.id
|
|
171
159
|
},
|
|
@@ -175,50 +163,50 @@ const U = [
|
|
|
175
163
|
);
|
|
176
164
|
const d = N(a);
|
|
177
165
|
d.current = a;
|
|
178
|
-
const
|
|
166
|
+
const K = E(
|
|
179
167
|
() => ({
|
|
180
168
|
getItems: () => d.current.map((e) => ({
|
|
181
169
|
id: e.id,
|
|
182
170
|
status: e.status ?? "open"
|
|
183
171
|
})),
|
|
184
172
|
selectItem: (e) => {
|
|
185
|
-
const
|
|
186
|
-
|
|
173
|
+
const r = d.current.find((o) => o.id === e);
|
|
174
|
+
r && (i == null || i(r));
|
|
187
175
|
},
|
|
188
176
|
toggleDone: (e) => {
|
|
189
|
-
const
|
|
190
|
-
|
|
177
|
+
const r = d.current.find((o) => o.id === e);
|
|
178
|
+
r && (n == null || n(r));
|
|
191
179
|
},
|
|
192
180
|
dismiss: (e) => {
|
|
193
|
-
const
|
|
194
|
-
|
|
181
|
+
const r = d.current.find((o) => o.id === e);
|
|
182
|
+
r && (c == null || c(r));
|
|
195
183
|
}
|
|
196
184
|
}),
|
|
197
|
-
[
|
|
185
|
+
[i, n, c]
|
|
198
186
|
), w = N(null);
|
|
199
|
-
return P(
|
|
187
|
+
return P(_, () => w.current, []), J(U, K, s), /* @__PURE__ */ v(
|
|
200
188
|
"section",
|
|
201
189
|
{
|
|
202
190
|
ref: w,
|
|
203
|
-
"aria-label":
|
|
191
|
+
"aria-label": y,
|
|
204
192
|
"data-component": "task-tray",
|
|
205
193
|
"data-component-id": s,
|
|
206
|
-
className:
|
|
207
|
-
...
|
|
194
|
+
className: W({ size: g, className: C }),
|
|
195
|
+
...I,
|
|
208
196
|
children: [
|
|
209
|
-
/* @__PURE__ */
|
|
210
|
-
/* @__PURE__ */
|
|
211
|
-
/* @__PURE__ */ t(
|
|
212
|
-
|
|
197
|
+
/* @__PURE__ */ v("header", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)]", children: [
|
|
198
|
+
/* @__PURE__ */ v("h3", { className: "ds:m-0 ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] type-title-card", children: [
|
|
199
|
+
/* @__PURE__ */ t(L, { "aria-hidden": "true", className: "ds:size-4" }),
|
|
200
|
+
y
|
|
213
201
|
] }),
|
|
214
|
-
|
|
215
|
-
|
|
202
|
+
h ? /* @__PURE__ */ t(
|
|
203
|
+
A,
|
|
216
204
|
{
|
|
217
205
|
icon: /* @__PURE__ */ t(Q, {}),
|
|
218
206
|
intent: "outline",
|
|
219
207
|
size: "sm",
|
|
220
|
-
"aria-label":
|
|
221
|
-
onClick:
|
|
208
|
+
"aria-label": z,
|
|
209
|
+
onClick: h
|
|
222
210
|
}
|
|
223
211
|
) : null
|
|
224
212
|
] }),
|
|
@@ -243,9 +231,9 @@ const U = [
|
|
|
243
231
|
);
|
|
244
232
|
}
|
|
245
233
|
);
|
|
246
|
-
|
|
234
|
+
X.displayName = "TaskTray";
|
|
247
235
|
export {
|
|
248
|
-
|
|
249
|
-
|
|
236
|
+
X as T,
|
|
237
|
+
U as t
|
|
250
238
|
};
|
|
251
|
-
//# sourceMappingURL=task-tray-
|
|
239
|
+
//# sourceMappingURL=task-tray-CLIqIXUZ.js.map
|
|
@@ -3,7 +3,7 @@ import s, { useState as Ot, useRef as Zt, useEffect as jt } from "react";
|
|
|
3
3
|
import te from "react-dom";
|
|
4
4
|
import { useTranslation as ee } from "react-i18next";
|
|
5
5
|
import { I as ae } from "./icon-button-C_kbcd7I.js";
|
|
6
|
-
import { C as se } from "./circle-
|
|
6
|
+
import { C as se } from "./circle-alert-rGDZ73Wh.js";
|
|
7
7
|
import { T as oe } from "./triangle-alert-CBnO6nq_.js";
|
|
8
8
|
import { C as ne } from "./circle-check-BN6rz4NV.js";
|
|
9
9
|
import { I as re } from "./info-CGn22peZ.js";
|
|
@@ -1002,4 +1002,4 @@ export {
|
|
|
1002
1002
|
Ze as e,
|
|
1003
1003
|
aa as t
|
|
1004
1004
|
};
|
|
1005
|
-
//# sourceMappingURL=toast.agent-
|
|
1005
|
+
//# sourceMappingURL=toast.agent-Iw2jWdce.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as cn, useId as P, useState as y, useEffect as f, useMemo as
|
|
|
3
3
|
import { c as dn } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as ln } from "react-i18next";
|
|
5
5
|
import { u as un } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
6
|
-
import { A as C } from "./alert-
|
|
6
|
+
import { A as C } from "./alert-Cxaqd-QO.js";
|
|
7
7
|
import { B as fn } from "./button-CPGiR_bH.js";
|
|
8
8
|
import { I as mn } from "./icon-button-C_kbcd7I.js";
|
|
9
9
|
import { X as gn } from "./x-B5YnXwCz.js";
|
|
@@ -265,4 +265,4 @@ Nn.displayName = "WarningStack";
|
|
|
265
265
|
export {
|
|
266
266
|
Nn as W
|
|
267
267
|
};
|
|
268
|
-
//# sourceMappingURL=warning-stack-
|
|
268
|
+
//# sourceMappingURL=warning-stack-CAHQ0xxS.js.map
|
|
@@ -12,7 +12,7 @@ import { c as D } from "./createLucideIcon-DhHxpK9K.js";
|
|
|
12
12
|
import { T as ae } from "./trash-2-uumy3fy1.js";
|
|
13
13
|
import { C as Ne } from "./circle-j7oZoouK.js";
|
|
14
14
|
import { u as Ce } from "./registry-DvAUVLHh.js";
|
|
15
|
-
import { A as $ } from "./alert-
|
|
15
|
+
import { A as $ } from "./alert-Cxaqd-QO.js";
|
|
16
16
|
import { B as _e } from "./button-CPGiR_bH.js";
|
|
17
17
|
import { D as N } from "./dropdown-menu-DU-Hrf33.js";
|
|
18
18
|
import { E } from "./empty-state-CrLsi0XI.js";
|
|
@@ -1353,4 +1353,4 @@ export {
|
|
|
1353
1353
|
ee as r,
|
|
1354
1354
|
L as w
|
|
1355
1355
|
};
|
|
1356
|
-
//# sourceMappingURL=workflow-map-
|
|
1356
|
+
//# sourceMappingURL=workflow-map-SIfAhmWz.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, C as l, N as t, P as n, a as C, b as i, g as o, u } from "../../_chunks/patient-table-
|
|
1
|
+
import { B as s, C as l, N as t, P as n, a as C, b as i, g as o, u } from "../../_chunks/patient-table-B6AKMTm3.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
4
|
l as CarePlanStatusCell,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as r, f as s, p as m, a as e, s as n, b as o, c as i } from "../../_chunks/payment-form-
|
|
1
|
+
import { P as r, f as s, p as m, a as e, s as n, b as o, c as i } from "../../_chunks/payment-form-BoGxEmGn.js";
|
|
2
2
|
export {
|
|
3
3
|
r as PaymentForm,
|
|
4
4
|
s as formatPaymentAmount,
|
|
@@ -69,11 +69,14 @@ export interface SelectProps<T extends string = string> {
|
|
|
69
69
|
'aria-label'?: string;
|
|
70
70
|
className?: string;
|
|
71
71
|
/**
|
|
72
|
-
* Portal target for the listbox. Defaults to `document.body
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
72
|
+
* Portal target for the listbox. Defaults to `document.body`, which is
|
|
73
|
+
* almost always correct.
|
|
74
|
+
*
|
|
75
|
+
* You do not need this to fix stacking. `--z-dropdown` and `--z-popover`
|
|
76
|
+
* are one layer, so a Select nested inside a Popover already paints over it
|
|
77
|
+
* by portal order (the listbox mounts last). Only pass a container when the
|
|
78
|
+
* listbox must live inside a specific subtree — e.g. a shadow root, or a
|
|
79
|
+
* scroll container that would otherwise clip it.
|
|
77
80
|
*/
|
|
78
81
|
container?: HTMLElement | null;
|
|
79
82
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-
|
|
1
|
+
import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-SIfAhmWz.js";
|
|
2
2
|
export {
|
|
3
3
|
r as CORE_PATIENT_FIELDS,
|
|
4
4
|
e as WorkflowCard,
|