@alfadocs/ui-kit 0.30.2 → 0.30.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{agenda-card-CznB7K8e.js → agenda-card-DO9_yogb.js} +2 -2
- package/dist/_chunks/{agenda-tray-C_bha7oK.js → agenda-tray-WLbfMip6.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-Bka3jX3i.js → ai-prompt-input-BXlwNnWe.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CnvXq95r.js → alia-sidebar-C-232sD7.js} +4 -4
- package/dist/_chunks/{audio-recorder-OB6IV9B1.js → audio-recorder-DL800PE_.js} +2 -2
- package/dist/_chunks/{badge-cLYVGlMh.js → badge-CIjQ1Us1.js} +2 -2
- package/dist/_chunks/{benefit-card-CjYM8vNr.js → benefit-card-CLPNpiQE.js} +14 -3
- package/dist/_chunks/{booking-CBaSujVP.js → booking-DiyuLsQV.js} +4 -4
- package/dist/_chunks/{carousel.agent-C9swH-Uf.js → carousel.agent-C2Icc9_T.js} +2 -2
- package/dist/_chunks/{chat-input-BfDcz1Yi.js → chat-input-cyl_y9bh.js} +2 -2
- package/dist/_chunks/{checkbox-mwbrPZDY.js → checkbox-Dgp_cfUr.js} +2 -2
- package/dist/_chunks/{checkbox-group-Bwmt1ovQ.js → checkbox-group-eVowqKcT.js} +2 -2
- package/dist/_chunks/{description-list-yl3y3QKg.js → description-list-CWjnaDGn.js} +2 -2
- package/dist/_chunks/{dialog-BBXqpZIt.js → dialog-C-lTGVkB.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-DSReCae7.js → editable-currency-cell-renderer-CztRy_21.js} +8 -8
- package/dist/_chunks/{header-CkMb1TZS.js → header-DDj7uGD-.js} +2 -2
- package/dist/_chunks/{icon-button-BRHSSFmZ.js → icon-button-DPEqBKBQ.js} +2 -2
- package/dist/_chunks/{key-value-pair-CqeKiP__.js → key-value-pair-BvDY3zuc.js} +2 -2
- package/dist/_chunks/{locale-picker-BHxbTNmR.js → locale-picker-CY89MChR.js} +3 -3
- package/dist/_chunks/{message-card-DjRtA8GG.js → message-card-D6iyPacd.js} +2 -2
- package/dist/_chunks/{message-tray-DfsAMncP.js → message-tray-Bh-0ra-Y.js} +3 -3
- package/dist/_chunks/{multi-select-CyspR5ZF.js → multi-select-dSe6Xtc4.js} +2 -2
- package/dist/_chunks/{notification-card-B_847w5g.js → notification-card-vaMaA7Wa.js} +2 -2
- package/dist/_chunks/{notification-tray-6f7smmT1.js → notification-tray-Cnum6LwM.js} +3 -3
- package/dist/_chunks/{patient-shell-CAXYzbRw.js → patient-shell-CYaNkbA1.js} +4 -4
- package/dist/_chunks/{popover-D0slaBB9.js → popover-BfHSBEKq.js} +2 -2
- package/dist/_chunks/{privacy-lock-BI4vi9Ud.js → privacy-lock-C6Ra5m3p.js} +2 -2
- package/dist/_chunks/{public-header.agent-5U3S9QiC.js → public-header.agent-B-B0WDAi.js} +3 -3
- package/dist/_chunks/{radio-group-BHZOxrIK.js → radio-group-CTlGc36r.js} +2 -2
- package/dist/_chunks/{radio-DvF59ThA.js → radio-i4ogu3cq.js} +2 -2
- package/dist/_chunks/{reviews-panel-D-zjPKFL.js → reviews-panel-bKEUKSic.js} +2 -2
- package/dist/_chunks/{sheet-D8M8hf8B.js → sheet-D8Yl0nKR.js} +2 -2
- package/dist/_chunks/{slot-grid-B2zprPcv.js → slot-grid-Q94gVmhn.js} +2 -2
- package/dist/_chunks/{tag-CQmHRM4Y.js → tag-bBPAvXyh.js} +2 -2
- package/dist/_chunks/{task-tray-Bcmrrs8m.js → task-tray-6NlryfMJ.js} +2 -2
- package/dist/_chunks/{theme-toggle-nPzb378f.js → theme-toggle-JoeMs_ws.js} +2 -2
- package/dist/_chunks/{toast.agent-CTF6nIj5.js → toast.agent-DVpKt38p.js} +2 -2
- package/dist/_chunks/{tooltip-DHik5yRI.js → tooltip-ClJd0ciy.js} +31 -19
- package/dist/_chunks/{workflow-map-BKsKdYvZ.js → workflow-map-DlWBJJBt.js} +4 -4
- package/dist/agent-catalog.json +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/benefit-card/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +2 -2
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/index.js +38 -38
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as p } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as q, useRef as k, useMemo as z, useImperativeHandle as M } from "react";
|
|
3
3
|
import { c as S } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as _ } from "react-i18next";
|
|
5
|
-
import { I as C } from "./icon-button-
|
|
5
|
+
import { I as C } from "./icon-button-DPEqBKBQ.js";
|
|
6
6
|
import { S as K } from "./skeleton-CZbwyJAA.js";
|
|
7
7
|
import { E } from "./empty-state-BLy7tigq.js";
|
|
8
8
|
import { T as L } from "./task-card-BUVMh6HN.js";
|
|
@@ -192,4 +192,4 @@ export {
|
|
|
192
192
|
Q as T,
|
|
193
193
|
G as t
|
|
194
194
|
};
|
|
195
|
-
//# sourceMappingURL=task-tray-
|
|
195
|
+
//# sourceMappingURL=task-tray-6NlryfMJ.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as m, Fragment as V } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as M, useRef as k, useImperativeHandle as N, useMemo as _, useCallback as S } from "react";
|
|
3
3
|
import { c as P } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as g } from "react-i18next";
|
|
5
|
-
import { I as y } from "./icon-button-
|
|
5
|
+
import { I as y } from "./icon-button-DPEqBKBQ.js";
|
|
6
6
|
import { I as K } from "./icon-button-group-DeV3FpNY.js";
|
|
7
7
|
import { S as x } from "./switch-D916VW86.js";
|
|
8
8
|
import { D as o } from "./dropdown-menu-DZxwF23X.js";
|
|
@@ -352,4 +352,4 @@ export {
|
|
|
352
352
|
O as T,
|
|
353
353
|
H as t
|
|
354
354
|
};
|
|
355
|
-
//# sourceMappingURL=theme-toggle-
|
|
355
|
+
//# sourceMappingURL=theme-toggle-JoeMs_ws.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as P, jsxs as Ht } from "react/jsx-runtime";
|
|
|
2
2
|
import s, { useState as Ot, useRef as te, useEffect as jt } from "react";
|
|
3
3
|
import ee from "react-dom";
|
|
4
4
|
import { useTranslation as ae } from "react-i18next";
|
|
5
|
-
import { I as se } from "./icon-button-
|
|
5
|
+
import { I as se } from "./icon-button-DPEqBKBQ.js";
|
|
6
6
|
import { X as oe } from "./x-CCcI3eJp.js";
|
|
7
7
|
import { C as ne } from "./circle-x-Du2CmjaU.js";
|
|
8
8
|
import { T as re } from "./triangle-alert-CBPUIzQo.js";
|
|
@@ -983,4 +983,4 @@ export {
|
|
|
983
983
|
Ze as e,
|
|
984
984
|
aa as t
|
|
985
985
|
};
|
|
986
|
-
//# sourceMappingURL=toast.agent-
|
|
986
|
+
//# sourceMappingURL=toast.agent-DVpKt38p.js.map
|
|
@@ -1,22 +1,34 @@
|
|
|
1
1
|
import { jsxs as l, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as p, useState as
|
|
2
|
+
import { useRef as p, useState as h, useEffect as v } from "react";
|
|
3
3
|
import * as o from "@radix-ui/react-tooltip";
|
|
4
|
-
import { c as
|
|
5
|
-
function
|
|
6
|
-
const [e, r] =
|
|
7
|
-
return
|
|
4
|
+
import { c as g } from "./index-D2ZczOXr.js";
|
|
5
|
+
function w(t) {
|
|
6
|
+
const [e, r] = h(() => typeof document > "u" ? "ltr" : document.documentElement.dir || "ltr");
|
|
7
|
+
return v(() => {
|
|
8
8
|
const d = t.current;
|
|
9
9
|
if (!d) return;
|
|
10
|
-
const s = d.closest("[dir]"),
|
|
11
|
-
r(
|
|
10
|
+
const s = d.closest("[dir]"), a = (s == null ? void 0 : s.getAttribute("dir")) ?? document.documentElement.dir ?? "ltr";
|
|
11
|
+
r(a === "rtl" ? "rtl" : "ltr");
|
|
12
12
|
}, [t]), e;
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const x = g(
|
|
15
15
|
[
|
|
16
16
|
"ds:z-[var(--z-tooltip)]",
|
|
17
17
|
"ds:max-w-[240px]",
|
|
18
18
|
"ds:overflow-hidden ds:rounded-[var(--radius-sm)]",
|
|
19
|
-
|
|
19
|
+
// High-contrast solid tooltip surface — inverted vs the page so it
|
|
20
|
+
// reads against any background (gradient washes, coloured cards,
|
|
21
|
+
// images). The `[var(...)]` syntax is the same one every other
|
|
22
|
+
// floating surface in the kit uses; the previous `bg-foreground` /
|
|
23
|
+
// `text-background` shorthand was emitting transparent backgrounds
|
|
24
|
+
// in some consumer bundles where the Tailwind theme inline wasn't
|
|
25
|
+
// resolving the named utility. See 0.30.3 follow-up issue 4b.
|
|
26
|
+
"ds:bg-[var(--foreground)] ds:text-[var(--background)]",
|
|
27
|
+
"ds:shadow-[var(--shadow-md)]",
|
|
28
|
+
// Forced-colours users (Windows High Contrast) lose `bg-/text-`
|
|
29
|
+
// entirely — emit a CanvasText border so the tooltip is still
|
|
30
|
+
// visible.
|
|
31
|
+
"ds:forced-colors:[outline:1px_solid_CanvasText]",
|
|
20
32
|
"ds:ps-3 ds:pe-3 ds:py-1.5 type-meta",
|
|
21
33
|
"ds:break-normal ds:[overflow-wrap:anywhere]",
|
|
22
34
|
"ds:animate-in ds:fade-in ds:zoom-in-95",
|
|
@@ -28,7 +40,7 @@ const y = v(
|
|
|
28
40
|
"ds:motion-reduce:animate-none"
|
|
29
41
|
].join(" ")
|
|
30
42
|
);
|
|
31
|
-
function
|
|
43
|
+
function b(t, e) {
|
|
32
44
|
switch (t) {
|
|
33
45
|
case "top":
|
|
34
46
|
return "top";
|
|
@@ -40,7 +52,7 @@ function w(t, e) {
|
|
|
40
52
|
return e === "rtl" ? "left" : "right";
|
|
41
53
|
}
|
|
42
54
|
}
|
|
43
|
-
const
|
|
55
|
+
const y = ({
|
|
44
56
|
children: t,
|
|
45
57
|
delayDuration: e = 700,
|
|
46
58
|
skipDelayDuration: r = 300
|
|
@@ -52,30 +64,30 @@ const x = ({
|
|
|
52
64
|
children: t
|
|
53
65
|
}
|
|
54
66
|
);
|
|
55
|
-
|
|
67
|
+
y.displayName = "TooltipProvider";
|
|
56
68
|
const T = ({
|
|
57
69
|
label: t,
|
|
58
70
|
children: e,
|
|
59
71
|
side: r = "top",
|
|
60
72
|
align: d = "center",
|
|
61
73
|
sideOffset: s = 4,
|
|
62
|
-
delayDuration:
|
|
74
|
+
delayDuration: a,
|
|
63
75
|
open: c,
|
|
64
76
|
onOpenChange: m
|
|
65
77
|
}) => {
|
|
66
|
-
const
|
|
78
|
+
const n = p(null), u = w(n), f = b(r, u);
|
|
67
79
|
return /* @__PURE__ */ l(
|
|
68
80
|
o.Root,
|
|
69
81
|
{
|
|
70
|
-
delayDuration:
|
|
82
|
+
delayDuration: a,
|
|
71
83
|
open: c,
|
|
72
84
|
onOpenChange: m,
|
|
73
85
|
children: [
|
|
74
|
-
/* @__PURE__ */ i(o.Trigger, { asChild: !0, ref:
|
|
86
|
+
/* @__PURE__ */ i(o.Trigger, { asChild: !0, ref: n, children: e }),
|
|
75
87
|
/* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ l(
|
|
76
88
|
o.Content,
|
|
77
89
|
{
|
|
78
|
-
className:
|
|
90
|
+
className: x(),
|
|
79
91
|
side: f,
|
|
80
92
|
align: d,
|
|
81
93
|
sideOffset: s,
|
|
@@ -93,6 +105,6 @@ const T = ({
|
|
|
93
105
|
T.displayName = "Tooltip";
|
|
94
106
|
export {
|
|
95
107
|
T,
|
|
96
|
-
|
|
108
|
+
y as a
|
|
97
109
|
};
|
|
98
|
-
//# sourceMappingURL=tooltip-
|
|
110
|
+
//# sourceMappingURL=tooltip-ClJd0ciy.js.map
|
|
@@ -3,10 +3,10 @@ import { forwardRef as O, useMemo as R, useRef as j, useCallback as W, useState
|
|
|
3
3
|
import { c as L } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as z } from "react-i18next";
|
|
5
5
|
import { C } from "./card-DKTMLVrw.js";
|
|
6
|
-
import { B as be } from "./badge-
|
|
7
|
-
import { K as Z } from "./key-value-pair-
|
|
6
|
+
import { B as be } from "./badge-CIjQ1Us1.js";
|
|
7
|
+
import { K as Z } from "./key-value-pair-BvDY3zuc.js";
|
|
8
8
|
import { T as xe } from "./timestamp-BV2lC-wV.js";
|
|
9
|
-
import { I as S } from "./icon-button-
|
|
9
|
+
import { I as S } from "./icon-button-DPEqBKBQ.js";
|
|
10
10
|
import { c as _ } from "./createLucideIcon-CrFbzy84.js";
|
|
11
11
|
import { C as Ne } from "./circle-BkqTgYmt.js";
|
|
12
12
|
import { u as Ce } from "./registry-C9nwlNyL.js";
|
|
@@ -1412,4 +1412,4 @@ export {
|
|
|
1412
1412
|
ee as r,
|
|
1413
1413
|
D as w
|
|
1414
1414
|
};
|
|
1415
|
-
//# sourceMappingURL=workflow-map-
|
|
1415
|
+
//# sourceMappingURL=workflow-map-DlWBJJBt.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as r } from "../../_chunks/button-DD_0Xdmr.js";
|
|
2
|
-
import { I as e } from "../../_chunks/icon-button-
|
|
2
|
+
import { I as e } from "../../_chunks/icon-button-DPEqBKBQ.js";
|
|
3
3
|
import { b as f } from "../../_chunks/button.agent-BuGZBktn.js";
|
|
4
4
|
export {
|
|
5
5
|
r as Button,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-
|
|
1
|
+
import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-CztRy_21.js";
|
|
2
2
|
export {
|
|
3
3
|
l as ActionsCellRenderer,
|
|
4
4
|
r as BalanceCellRenderer,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as r, a as d, b as H, c as s, d as n, e as t, f as i, g as o } from "../../_chunks/header-
|
|
1
|
+
import { H as r, a as d, b as H, c as s, d as n, e as t, f as i, g as o } from "../../_chunks/header-DDj7uGD-.js";
|
|
2
2
|
export {
|
|
3
3
|
r as Header,
|
|
4
4
|
d as HeaderBrand,
|
|
@@ -2,11 +2,11 @@ import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as A, useRef as p, useImperativeHandle as C, useCallback as x, useMemo as I } from "react";
|
|
3
3
|
import { c as N } from "../../_chunks/index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as E } from "react-i18next";
|
|
5
|
-
import { I as o } from "../../_chunks/icon-button-
|
|
5
|
+
import { I as o } from "../../_chunks/icon-button-DPEqBKBQ.js";
|
|
6
6
|
import { I as M } from "../../_chunks/icon-button-group-DeV3FpNY.js";
|
|
7
7
|
import { D as r } from "../../_chunks/dropdown-menu-DZxwF23X.js";
|
|
8
8
|
import { S as R } from "../../_chunks/switch-D916VW86.js";
|
|
9
|
-
import { c as v, a as _, L as H } from "../../_chunks/locale-picker-
|
|
9
|
+
import { c as v, a as _, L as H } from "../../_chunks/locale-picker-CY89MChR.js";
|
|
10
10
|
import { u as O } from "../../_chunks/use-locale-BkCIHujH.js";
|
|
11
11
|
import { u as P } from "../../_chunks/use-theme-C2dHKUAN.js";
|
|
12
12
|
import { u as j } from "../../_chunks/registry-C9nwlNyL.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as a } from "../../_chunks/radio-
|
|
2
|
-
import { R as p } from "../../_chunks/radio-group-
|
|
1
|
+
import { R as a } from "../../_chunks/radio-i4ogu3cq.js";
|
|
2
|
+
import { R as p } from "../../_chunks/radio-group-CTlGc36r.js";
|
|
3
3
|
export {
|
|
4
4
|
a as Radio,
|
|
5
5
|
p as RadioGroup
|
|
@@ -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-DlWBJJBt.js";
|
|
2
2
|
export {
|
|
3
3
|
r as CORE_PATIENT_FIELDS,
|
|
4
4
|
e as WorkflowCard,
|