@alfadocs/ui-kit 0.84.1 → 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/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
|
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as N, useState as k, useRef as q, useMemo as I } from "react";
|
|
3
3
|
import { c as L } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as R } from "react-i18next";
|
|
5
|
-
import { A as d } from "./alert-
|
|
5
|
+
import { A as d } from "./alert-Cxaqd-QO.js";
|
|
6
6
|
import { B as w } from "./badge-DCOqV9mI.js";
|
|
7
7
|
import { B as T } from "./button-CPGiR_bH.js";
|
|
8
8
|
import { C as V } from "./checkbox-BuZ1u__2.js";
|
|
@@ -167,4 +167,4 @@ export {
|
|
|
167
167
|
P as A,
|
|
168
168
|
K as a
|
|
169
169
|
};
|
|
170
|
-
//# sourceMappingURL=ai-consent-banner-
|
|
170
|
+
//# sourceMappingURL=ai-consent-banner-BXD7W6FI.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as k, jsx as e, Fragment as U } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as v, useState as I, useRef as M, useCallback as _, Children as P, isValidElement as W, useContext as O, useId as
|
|
3
|
-
import { c as
|
|
2
|
+
import { forwardRef as v, useState as I, useRef as M, useCallback as _, Children as P, isValidElement as W, useContext as O, useId as G, createContext as H } from "react";
|
|
3
|
+
import { c as X } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as R } from "react-i18next";
|
|
5
5
|
import { u as $ } from "./use-controllable-state-BiY4xTzM.js";
|
|
6
6
|
import { u as S } from "./use-clamp-overflow-DQE2kwZ9.js";
|
|
7
7
|
import { T as q } from "./tooltip-DvmfrNvB.js";
|
|
8
8
|
import { X as J } from "./x-B5YnXwCz.js";
|
|
9
9
|
import { c as K } from "./createLucideIcon-DhHxpK9K.js";
|
|
10
|
-
import { C as Q } from "./circle-
|
|
10
|
+
import { C as Q } from "./circle-alert-rGDZ73Wh.js";
|
|
11
11
|
import { T as Y } from "./triangle-alert-CBnO6nq_.js";
|
|
12
12
|
import { C as Z } from "./circle-check-BN6rz4NV.js";
|
|
13
13
|
import { I as ee } from "./info-CGn22peZ.js";
|
|
@@ -21,7 +21,7 @@ const te = [
|
|
|
21
21
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
22
22
|
["path", { d: "m16 12-4-4-4 4", key: "177agl" }],
|
|
23
23
|
["path", { d: "M12 16V8", key: "1sbj14" }]
|
|
24
|
-
], se = K("circle-arrow-up", te), C =
|
|
24
|
+
], se = K("circle-arrow-up", te), C = H(!1), oe = [
|
|
25
25
|
// Full-opacity `text-current` so it matches the body text's contrast (an
|
|
26
26
|
// `opacity` dim would drop the variant-tinted text below AA). Underline
|
|
27
27
|
// carries the affordance instead. No `--min-target-size` floor: this is an
|
|
@@ -34,7 +34,7 @@ const te = [
|
|
|
34
34
|
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
35
35
|
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
36
36
|
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
37
|
-
].join(" "), re =
|
|
37
|
+
].join(" "), re = X(
|
|
38
38
|
[
|
|
39
39
|
// Default `items-center` keeps the icon + dismiss optically aligned
|
|
40
40
|
// with a single-line description. The `data-[has-title=true]`
|
|
@@ -177,7 +177,7 @@ const te = [
|
|
|
177
177
|
);
|
|
178
178
|
y.displayName = "Alert.Title";
|
|
179
179
|
const L = v(({ className: a, children: i, ...s }, o) => {
|
|
180
|
-
const t = O(C), { t: n } = R(), d =
|
|
180
|
+
const t = O(C), { t: n } = R(), d = G(), [r, m] = I(!1), { ref: l, isOverflowing: f } = S(t && !r), c = _(
|
|
181
181
|
(u) => {
|
|
182
182
|
l.current = u, typeof o == "function" ? o(u) : o && (o.current = u);
|
|
183
183
|
},
|
|
@@ -243,7 +243,7 @@ const z = v(
|
|
|
243
243
|
value: s,
|
|
244
244
|
defaultValue: !0,
|
|
245
245
|
onChange: o
|
|
246
|
-
}), B = g ?? !0, [w,
|
|
246
|
+
}), B = g ?? !0, [w, A] = I(!1), b = M(null), D = _(() => {
|
|
247
247
|
if (typeof window > "u") return 200;
|
|
248
248
|
const p = window.getComputedStyle(document.documentElement).getPropertyValue("--animation-duration");
|
|
249
249
|
if (!p) return 200;
|
|
@@ -251,11 +251,11 @@ const z = v(
|
|
|
251
251
|
return Number.isFinite(h) ? j.endsWith("ms") ? h : h * 1e3 : 200;
|
|
252
252
|
}, []);
|
|
253
253
|
if (!B) return null;
|
|
254
|
-
const x = ie[a],
|
|
254
|
+
const x = ie[a], T = t !== void 0 ? t : x.icon, N = P.toArray(m).some(
|
|
255
255
|
(p) => W(p) && p.type === y
|
|
256
256
|
), F = () => {
|
|
257
|
-
w || (
|
|
258
|
-
|
|
257
|
+
w || (A(!0), b.current && clearTimeout(b.current), b.current = setTimeout(() => {
|
|
258
|
+
A(!1), u(!1);
|
|
259
259
|
}, D()));
|
|
260
260
|
};
|
|
261
261
|
return /* @__PURE__ */ k(
|
|
@@ -284,7 +284,7 @@ const z = v(
|
|
|
284
284
|
].join(" "),
|
|
285
285
|
...l,
|
|
286
286
|
children: [
|
|
287
|
-
|
|
287
|
+
T ? /* @__PURE__ */ e("span", { className: N ? ae : E, children: T }) : null,
|
|
288
288
|
/* @__PURE__ */ e("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ e(C.Provider, { value: d, children: m }) }),
|
|
289
289
|
i ? /* @__PURE__ */ e(
|
|
290
290
|
"button",
|
|
@@ -311,4 +311,4 @@ const Ce = Object.assign(z, {
|
|
|
311
311
|
export {
|
|
312
312
|
Ce as A
|
|
313
313
|
};
|
|
314
|
-
//# sourceMappingURL=alert-
|
|
314
|
+
//# sourceMappingURL=alert-Cxaqd-QO.js.map
|
|
@@ -6,7 +6,7 @@ import { B as G } from "./button-CPGiR_bH.js";
|
|
|
6
6
|
import { I as D } from "./icon-button-C_kbcd7I.js";
|
|
7
7
|
import { S as pe } from "./select-BW5ecXlX.js";
|
|
8
8
|
import { A as le } from "./audio-visualiser-l6zPd0AG.js";
|
|
9
|
-
import { A as F } from "./alert-
|
|
9
|
+
import { A as F } from "./alert-Cxaqd-QO.js";
|
|
10
10
|
import { u as me } from "./registry-DvAUVLHh.js";
|
|
11
11
|
import { M as fe } from "./mic-CUklMZGF.js";
|
|
12
12
|
import { c as J } from "./createLucideIcon-DhHxpK9K.js";
|
|
@@ -447,4 +447,4 @@ export {
|
|
|
447
447
|
De as A,
|
|
448
448
|
Re as a
|
|
449
449
|
};
|
|
450
|
-
//# sourceMappingURL=audio-recorder-
|
|
450
|
+
//# sourceMappingURL=audio-recorder-BjnB7V8n.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as ot, useId as rt, useState as K, useCallback as j, useRef
|
|
|
3
3
|
import { c as Pe } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as O, Trans as Pt } from "react-i18next";
|
|
5
5
|
import { u as Ot } from "./registry-DvAUVLHh.js";
|
|
6
|
-
import { A as z } from "./alert-
|
|
6
|
+
import { A as z } from "./alert-Cxaqd-QO.js";
|
|
7
7
|
import { B as ie } from "./button-CPGiR_bH.js";
|
|
8
8
|
import { C as Ke } from "./checkbox-BuZ1u__2.js";
|
|
9
9
|
import { C as Bt } from "./checkbox-group-CfqMv57d.js";
|
|
@@ -2692,4 +2692,4 @@ export {
|
|
|
2692
2692
|
X as O,
|
|
2693
2693
|
Cs as b
|
|
2694
2694
|
};
|
|
2695
|
-
//# sourceMappingURL=booking-
|
|
2695
|
+
//# sourceMappingURL=booking-BvCu2XWY.js.map
|
|
@@ -6,7 +6,7 @@ import { B as b } from "./badge-DCOqV9mI.js";
|
|
|
6
6
|
import { C as B } from "./card-DPmk26CL.js";
|
|
7
7
|
import { E as G } from "./empty-state-CrLsi0XI.js";
|
|
8
8
|
import { P as Y } from "./panel-header-D313n_9-.js";
|
|
9
|
-
import { P as J } from "./pdf-viewer-
|
|
9
|
+
import { P as J } from "./pdf-viewer-CcOuR2wj.js";
|
|
10
10
|
import { T as O, b as Q, c as X, a as Z } from "./tabs-CVTukWRD.js";
|
|
11
11
|
import { u as ee } from "./registry-DvAUVLHh.js";
|
|
12
12
|
import { F as ie, a as te } from "./file-Cwe9VC1A.js";
|
|
@@ -287,4 +287,4 @@ export {
|
|
|
287
287
|
ue as D,
|
|
288
288
|
de as d
|
|
289
289
|
};
|
|
290
|
-
//# sourceMappingURL=document-preview-
|
|
290
|
+
//# sourceMappingURL=document-preview-DXl9migE.js.map
|
|
@@ -3,8 +3,8 @@ import { forwardRef as Fe, useId as Me, useRef as m, useState as W, useEffect as
|
|
|
3
3
|
import { c as k } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as Ye } from "react-i18next";
|
|
5
5
|
import { B as K } from "./button-CPGiR_bH.js";
|
|
6
|
-
import { A as ae } from "./alert-
|
|
7
|
-
import { L as he, F as Xe } from "./file-upload-
|
|
6
|
+
import { A as ae } from "./alert-Cxaqd-QO.js";
|
|
7
|
+
import { L as he, F as Xe } from "./file-upload-CwxdqkMK.js";
|
|
8
8
|
import { u as Ze } from "./use-controllable-state-BiY4xTzM.js";
|
|
9
9
|
import { u as $e } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { R as Ge } from "./rotate-ccw-BBQnIVTr.js";
|
|
@@ -676,4 +676,4 @@ export {
|
|
|
676
676
|
or as D,
|
|
677
677
|
Qe as d
|
|
678
678
|
};
|
|
679
|
-
//# sourceMappingURL=document-scanner-
|
|
679
|
+
//# sourceMappingURL=document-scanner-cS_ispQs.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e, Fragment as _ } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as q, useId as w, useRef as f, useImperativeHandle as K, useMemo as P } from "react";
|
|
3
3
|
import { useTranslation as D } from "react-i18next";
|
|
4
|
-
import { A as I } from "./alert-
|
|
4
|
+
import { A as I } from "./alert-Cxaqd-QO.js";
|
|
5
5
|
import { A as H } from "./avatar-BNQNhoyL.js";
|
|
6
6
|
import { B as $ } from "./button-CPGiR_bH.js";
|
|
7
7
|
import { I as O } from "./icon-button-C_kbcd7I.js";
|
|
@@ -274,4 +274,4 @@ function ae({ section: t }) {
|
|
|
274
274
|
export {
|
|
275
275
|
be as E
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=entity-summary
|
|
277
|
+
//# sourceMappingURL=entity-summary-BILN4wEG.js.map
|