@alfadocs/ui-kit 0.2.2 → 0.4.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-prompt-input-BBiDlEIS.js → ai-prompt-input-DLgY8lrW.js} +2 -2
- package/dist/_chunks/{audio-recorder-B4U1LuiQ.js → audio-recorder-BdBbU-UK.js} +2 -2
- package/dist/_chunks/{command-palette-C_vgSgrI.js → command-palette-DkL-aW4O.js} +9 -2
- package/dist/_chunks/{dialog-BPD7wlGE.js → dialog-D5bK95-N.js} +24 -24
- package/dist/_chunks/{dropdown-menu-CpiF6CPz.js → dropdown-menu-dyV7gHh_.js} +2 -1
- package/dist/_chunks/{leo-sidebar-kHO45M6C.js → leo-sidebar-D1RdE54a.js} +2 -2
- package/dist/_chunks/{patient-shell-BlsEUKWB.js → patient-shell-IhMULVrt.js} +2 -2
- package/dist/_chunks/{select-y6bXV1f1.js → select-BOU_Osnf.js} +2 -1
- package/dist/_chunks/{sheet-4tgMFwj0.js → sheet-B9T3OQmz.js} +23 -23
- package/dist/_chunks/{tabs-DaFA3Muo.js → tabs-BZQy_Rmb.js} +2 -2
- package/dist/_chunks/{theme-toggle-B9zzCnvl.js → theme-toggle-B3UR6ouK.js} +2 -2
- package/dist/_chunks/{toast.agent-BwKXA0km.js → toast.agent-DihA6MON.js} +206 -203
- package/dist/_chunks/{workflow-map-C-nlogPC.js → workflow-map-Bi5liGzo.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/index.js +13 -13
- package/dist/patterns/leo-assistant/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/safe-html/index.js +13 -12
- package/dist/tokens.css +1 -1
- package/package.json +2 -1
|
@@ -12,7 +12,7 @@ import { C as Ne } from "./circle-BkqTgYmt.js";
|
|
|
12
12
|
import { u as Ce } from "./registry-C9nwlNyL.js";
|
|
13
13
|
import { A as V } from "./alert-B1sj8Ss0.js";
|
|
14
14
|
import { B as _e } from "./button-DD_0Xdmr.js";
|
|
15
|
-
import { D as N } from "./dropdown-menu-
|
|
15
|
+
import { D as N } from "./dropdown-menu-dyV7gHh_.js";
|
|
16
16
|
import { E } from "./empty-state-3CLJIXSj.js";
|
|
17
17
|
import { P as ae } from "./plus-CYKNmfuA.js";
|
|
18
18
|
import { G as ne } from "./globe-BkEFMNSg.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-Bi5liGzo.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as t, a as e, b as o, c as s, d as n, e as d, f as i, g as C, h as r, i as l, j as c, k as h, u as g } from "../../_chunks/command-palette-
|
|
1
|
+
import { C as t, a as e, b as o, c as s, d as n, e as d, f as i, g as C, h as r, i as l, j as c, k as h, u as g } from "../../_chunks/command-palette-DkL-aW4O.js";
|
|
2
2
|
export {
|
|
3
3
|
t as CommandEmpty,
|
|
4
4
|
e as CommandGroup,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as a, a as l, b as S, c, d as s, e as o, f as r, g as p, h as g, i, j as m } from "../../_chunks/select-
|
|
1
|
+
import { S as a, a as l, b as S, c, d as s, e as o, f as r, g as p, h as g, i, j as m } from "../../_chunks/select-BOU_Osnf.js";
|
|
2
2
|
export {
|
|
3
3
|
a as Select,
|
|
4
4
|
l as SelectContent,
|
|
@@ -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-Bi5liGzo.js";
|
|
2
2
|
export {
|
|
3
3
|
r as CORE_PATIENT_FIELDS,
|
|
4
4
|
e as WorkflowCard,
|
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import { R as Da } from "./_chunks/radio-DvF59ThA.js";
|
|
|
30
30
|
import { R as va } from "./_chunks/radio-group-Cz1a4QCA.js";
|
|
31
31
|
import { S as Ha } from "./_chunks/search-input-CdJIEjFo.js";
|
|
32
32
|
import { s as _a } from "./_chunks/search-input.agent-CfZvViOd.js";
|
|
33
|
-
import { S as Wa, a as Ua, b as Ka, c as Ya, d as ja, e as za, f as qa, g as Qa, h as Ja, i as Xa, j as Za } from "./_chunks/select-
|
|
33
|
+
import { S as Wa, a as Ua, b as Ka, c as Ya, d as ja, e as za, f as qa, g as Qa, h as Ja, i as Xa, j as Za } from "./_chunks/select-BOU_Osnf.js";
|
|
34
34
|
import { S as ae } from "./_chunks/slider-BT2bZWsy.js";
|
|
35
35
|
import { S as re } from "./_chunks/switch-C0psfIQF.js";
|
|
36
36
|
import { T as te } from "./_chunks/text-area-CO9Dz0qX.js";
|
|
@@ -55,7 +55,7 @@ import { T as gr } from "./_chunks/tag-DuLMjRbF.js";
|
|
|
55
55
|
import { T as xr, t as Ar } from "./_chunks/timeline-BvmnQadS.js";
|
|
56
56
|
import { T as ur } from "./_chunks/timestamp-BV2lC-wV.js";
|
|
57
57
|
import { B as Cr, a as br, b as Pr, c as hr, d as Ir, e as Rr, f as kr } from "./_chunks/breadcrumb-D1snXjPb.js";
|
|
58
|
-
import { C as Er, a as Nr, b as Fr, c as Mr, d as yr, e as Br, f as Dr, g as Vr, h as vr, i as wr, j as Hr, k as Or, u as _r } from "./_chunks/command-palette-
|
|
58
|
+
import { C as Er, a as Nr, b as Fr, c as Mr, d as yr, e as Br, f as Dr, g as Vr, h as vr, i as wr, j as Hr, k as Or, u as _r } from "./_chunks/command-palette-DkL-aW4O.js";
|
|
59
59
|
import { H as Wr, a as Ur, b as Kr, c as Yr, d as jr, e as zr, f as qr, g as Qr } from "./_chunks/header-D0ULgQl3.js";
|
|
60
60
|
import { N as Xr, a as Zr, b as $r, c as ao, d as eo, e as ro, f as oo, g as to, n as so } from "./_chunks/navigation-menu-ClbHeawy.js";
|
|
61
61
|
import { S as io } from "./_chunks/skip-link-DmZ3c6cb.js";
|
|
@@ -66,14 +66,14 @@ import { S as ko, a as Lo, b as Eo, c as No, d as Fo, e as Mo, f as yo, g as Bo,
|
|
|
66
66
|
import { S as zo, s as qo } from "./_chunks/stepper-accordion.agent-ckKYZCIP.js";
|
|
67
67
|
import { S as Jo, s as Xo } from "./_chunks/stepper-calendar-BLOJUE0-.js";
|
|
68
68
|
import { S as $o, s as at } from "./_chunks/stepper-progress-jFY8BSf7.js";
|
|
69
|
-
import { T as rt, a as ot, b as tt, c as st, t as nt } from "./_chunks/tabs-
|
|
70
|
-
import { T as pt, t as mt } from "./_chunks/theme-toggle-
|
|
69
|
+
import { T as rt, a as ot, b as tt, c as st, t as nt } from "./_chunks/tabs-BZQy_Rmb.js";
|
|
70
|
+
import { T as pt, t as mt } from "./_chunks/theme-toggle-B3UR6ouK.js";
|
|
71
71
|
import { A as dt, i as ft } from "./_chunks/agenda-card-CalZqycc.js";
|
|
72
72
|
import { a as ct } from "./_chunks/agenda-card.agent-B_R47-c9.js";
|
|
73
73
|
import { A as At, a as St } from "./_chunks/agenda-tray-3ffFDQZC.js";
|
|
74
74
|
import { A as Tt } from "./_chunks/alert-B1sj8Ss0.js";
|
|
75
|
-
import { D as bt, d as Pt } from "./_chunks/dialog-
|
|
76
|
-
import { D as It, d as Rt } from "./_chunks/dropdown-menu-
|
|
75
|
+
import { D as bt, d as Pt } from "./_chunks/dialog-D5bK95-N.js";
|
|
76
|
+
import { D as It, d as Rt } from "./_chunks/dropdown-menu-dyV7gHh_.js";
|
|
77
77
|
import { L as Lt } from "./_chunks/live-region-C41SO3cA.js";
|
|
78
78
|
import { M as Nt } from "./_chunks/matrix-rain-CRPMXcVx.js";
|
|
79
79
|
import { M as Mt, i as yt } from "./_chunks/message-card-DjvsB_3U.js";
|
|
@@ -85,12 +85,12 @@ import { N as Kt, n as Yt } from "./_chunks/notification-tray-PGtMqXbP.js";
|
|
|
85
85
|
import { P as zt, p as qt } from "./_chunks/popover-DekUKNBk.js";
|
|
86
86
|
import { P as Jt, p as Xt } from "./_chunks/privacy-lock-BKsI6ReN.js";
|
|
87
87
|
import { P as $t, p as as } from "./_chunks/progress-C11tqhoI.js";
|
|
88
|
-
import { S as rs, s as os } from "./_chunks/sheet-
|
|
88
|
+
import { S as rs, s as os } from "./_chunks/sheet-B9T3OQmz.js";
|
|
89
89
|
import { S as ss } from "./_chunks/spinner-DLaYfLPl.js";
|
|
90
90
|
import { T as is, i as ps } from "./_chunks/task-card-Dw_ZJDL8.js";
|
|
91
91
|
import { t as ls } from "./_chunks/task-card.agent-CUPKYd7w.js";
|
|
92
92
|
import { T as fs, t as gs } from "./_chunks/task-tray-XlIW9ueh.js";
|
|
93
|
-
import { T as xs, t as As, a as Ss, b as us, c as Ts, d as Cs, e as bs } from "./_chunks/toast.agent-
|
|
93
|
+
import { T as xs, t as As, a as Ss, b as us, c as Ts, d as Cs, e as bs } from "./_chunks/toast.agent-DihA6MON.js";
|
|
94
94
|
import { T as hs, a as Is } from "./_chunks/tooltip-DHik5yRI.js";
|
|
95
95
|
import { W as ks } from "./_chunks/warning-stack-VygGHSqC.js";
|
|
96
96
|
import { A as Es } from "./_chunks/app-frame-CDJOgPXe.js";
|
|
@@ -102,8 +102,8 @@ import { S as Xs } from "./_chunks/separator-CYU_bGFn.js";
|
|
|
102
102
|
import { T as $s } from "./_chunks/theme-root-CSKD5ZRm.js";
|
|
103
103
|
import { V as en } from "./_chunks/visually-hidden-BHxEUGyT.js";
|
|
104
104
|
import { C as on, c as tn, a as sn } from "./_chunks/chart-BLvFl169.js";
|
|
105
|
-
import { A as pn, a as mn } from "./_chunks/ai-prompt-input-
|
|
106
|
-
import { A as dn, a as fn } from "./_chunks/audio-recorder-
|
|
105
|
+
import { A as pn, a as mn } from "./_chunks/ai-prompt-input-DLgY8lrW.js";
|
|
106
|
+
import { A as dn, a as fn } from "./_chunks/audio-recorder-BdBbU-UK.js";
|
|
107
107
|
import { A as cn } from "./_chunks/audio-visualiser-ByDEFLNm.js";
|
|
108
108
|
import { C as An, c as Sn } from "./_chunks/chat-container-ClzsWXp2.js";
|
|
109
109
|
import { C as Tn, c as Cn } from "./_chunks/chat-input-Bov-gkwP.js";
|
|
@@ -122,9 +122,9 @@ import { S as ii, s as pi } from "./_chunks/signature-capture-DjMlFOzS.js";
|
|
|
122
122
|
import { S as li, f as di, i as fi } from "./_chunks/slot-grid-CgpYgBkW.js";
|
|
123
123
|
import { C as ci, a as xi, b as Ai, F as Si, c as ui, d as Ti, P as Ci, e as bi, T as Pi, f as hi, g as Ii, h as Ri, l as ki, i as Li, t as Ei, r as Ni } from "./_chunks/tooth-scheme-3mITSXiZ.js";
|
|
124
124
|
import { T as Mi } from "./_chunks/transaction-chip-DE6DITun.js";
|
|
125
|
-
import { C as Bi, W as Di, a as Vi, b as vi, c as wi, i as Hi, l as Oi, m as _i, r as Gi, w as Wi, d as Ui, e as Ki, f as Yi } from "./_chunks/workflow-map-
|
|
126
|
-
import { L as zi, a as qi, b as Qi, c as Ji } from "./_chunks/leo-sidebar-
|
|
127
|
-
import { P as Zi } from "./_chunks/patient-shell-
|
|
125
|
+
import { C as Bi, W as Di, a as Vi, b as vi, c as wi, i as Hi, l as Oi, m as _i, r as Gi, w as Wi, d as Ui, e as Ki, f as Yi } from "./_chunks/workflow-map-Bi5liGzo.js";
|
|
126
|
+
import { L as zi, a as qi, b as Qi, c as Ji } from "./_chunks/leo-sidebar-D1RdE54a.js";
|
|
127
|
+
import { P as Zi } from "./_chunks/patient-shell-IhMULVrt.js";
|
|
128
128
|
import { Root as ap } from "@radix-ui/react-aspect-ratio";
|
|
129
129
|
export {
|
|
130
130
|
i as ACCESSIBILITY_STORAGE_KEY,
|
package/dist/safe-html/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { p as
|
|
3
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { p as a } from "../_chunks/purify.es-DpIUMBYC.js";
|
|
3
|
+
import { forwardRef as i, useMemo as m } from "react";
|
|
4
4
|
const c = {
|
|
5
5
|
ALLOWED_TAGS: [
|
|
6
6
|
"a",
|
|
@@ -23,7 +23,7 @@ const c = {
|
|
|
23
23
|
ALLOWED_TAGS: ["a", "p", "br", "strong", "em", "b", "i"],
|
|
24
24
|
ALLOWED_ATTR: ["href"],
|
|
25
25
|
ALLOWED_URI_REGEXP: /^(https?:|mailto:)/i
|
|
26
|
-
},
|
|
26
|
+
}, f = {
|
|
27
27
|
// DOMPurify strips on* attributes by default; the explicit FORBID_TAGS
|
|
28
28
|
// below adds defence-in-depth against the few tags that are not always
|
|
29
29
|
// removed by defaults under relaxed configs.
|
|
@@ -46,30 +46,31 @@ const c = {
|
|
|
46
46
|
"onblur"
|
|
47
47
|
]
|
|
48
48
|
};
|
|
49
|
-
function
|
|
49
|
+
function _(t) {
|
|
50
50
|
switch (t) {
|
|
51
51
|
case "markdown":
|
|
52
52
|
return c;
|
|
53
53
|
case "email":
|
|
54
54
|
return l;
|
|
55
55
|
case "rich-text":
|
|
56
|
-
return
|
|
56
|
+
return f;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
function u(t, e) {
|
|
60
|
-
return
|
|
60
|
+
return a.sanitize(t, _(e));
|
|
61
61
|
}
|
|
62
|
-
const A =
|
|
63
|
-
({ html: t, profile: e = "markdown", ...
|
|
62
|
+
const A = i(
|
|
63
|
+
({ html: t, profile: e = "markdown", ...o }, r) => {
|
|
64
64
|
const n = m(
|
|
65
65
|
() => u(t, e),
|
|
66
66
|
[t, e]
|
|
67
67
|
);
|
|
68
|
-
return /* @__PURE__ */
|
|
68
|
+
return /* @__PURE__ */ s(
|
|
69
69
|
"div",
|
|
70
70
|
{
|
|
71
|
-
ref:
|
|
72
|
-
|
|
71
|
+
ref: r,
|
|
72
|
+
"data-component": "safe-html",
|
|
73
|
+
...o,
|
|
73
74
|
dangerouslySetInnerHTML: { __html: n }
|
|
74
75
|
}
|
|
75
76
|
);
|