@alfadocs/ui-kit 1.44.0 → 1.45.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-sparkle-DXeP_6a0.js +52 -0
- package/dist/_chunks/{calendar-workspace-DBYAtdyd.js → calendar-workspace-B7KvZ1_D.js} +2 -2
- package/dist/_chunks/{notes-panel-CY4KmDo-.js → notes-panel-Dkk9QPPX.js} +2 -2
- package/dist/_chunks/{rich-text-editor-BYE6kK4u.js → rich-text-editor-BrAvNajV.js} +1207 -1267
- package/dist/_chunks/use-ai-sparkle-CyQSRTCe.js +103 -0
- package/dist/agent-catalog.json +1 -1
- package/dist/components/ai-sparkle/ai-sparkle.d.ts +24 -0
- package/dist/components/ai-sparkle/index.d.ts +3 -0
- package/dist/components/ai-sparkle/index.js +5 -0
- package/dist/components/index.d.ts +3 -2
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +64 -56
- package/dist/hooks/use-ai-sparkle.d.ts +109 -0
- package/dist/index.js +1106 -1102
- package/dist/patterns/calendar/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as i } from "react";
|
|
3
|
+
import { c as p } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { C as m, a as o, b as e, S as c, B as t } from "./use-ai-sparkle-CyQSRTCe.js";
|
|
5
|
+
import { A as n } from "./astroid-BN4f5VXU.js";
|
|
6
|
+
const k = p("ds:pointer-events-none", {
|
|
7
|
+
variants: {
|
|
8
|
+
state: {
|
|
9
|
+
intro: "",
|
|
10
|
+
working: "",
|
|
11
|
+
landed: ""
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}), S = i(
|
|
15
|
+
({ state: s }, d) => s ? /* @__PURE__ */ l(
|
|
16
|
+
"span",
|
|
17
|
+
{
|
|
18
|
+
ref: d,
|
|
19
|
+
"data-component": "ai-sparkle",
|
|
20
|
+
"aria-hidden": "true",
|
|
21
|
+
className: k({ state: s }),
|
|
22
|
+
children: [
|
|
23
|
+
m.map((a) => /* @__PURE__ */ r(
|
|
24
|
+
"span",
|
|
25
|
+
{
|
|
26
|
+
className: `${o} ${e[s]} ${a.lag}`,
|
|
27
|
+
children: /* @__PURE__ */ r(
|
|
28
|
+
"span",
|
|
29
|
+
{
|
|
30
|
+
className: `ds:block ds:rounded-full ds:bg-[var(--ai-sparkle)] ds:shadow-[0_0_var(--spacing-2xs)_var(--ai-sparkle)] ${a.dot}`
|
|
31
|
+
}
|
|
32
|
+
)
|
|
33
|
+
},
|
|
34
|
+
a.key
|
|
35
|
+
)),
|
|
36
|
+
/* @__PURE__ */ r("span", { className: `${o} ${e[s]}`, children: /* @__PURE__ */ r(n, { className: "ds:block ds:size-3 ds:fill-current ds:text-[color:var(--primary-foreground)] ds:drop-shadow-[0_0_var(--spacing-2xs)_var(--ai-sparkle)]" }) }),
|
|
37
|
+
c.map((a) => /* @__PURE__ */ r(
|
|
38
|
+
n,
|
|
39
|
+
{
|
|
40
|
+
className: `${a.className} ${t[s]}`
|
|
41
|
+
},
|
|
42
|
+
a.key
|
|
43
|
+
))
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
) : null
|
|
47
|
+
);
|
|
48
|
+
S.displayName = "AiSparkle";
|
|
49
|
+
export {
|
|
50
|
+
S as A
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=ai-sparkle-DXeP_6a0.js.map
|
|
@@ -28,7 +28,7 @@ import { S as Kt } from "./switch-OILsBLWo.js";
|
|
|
28
28
|
import { T as Vs } from "./text-area-Bt3p7Pt0.js";
|
|
29
29
|
import { T as ai } from "./text-input-CUvCb6ST.js";
|
|
30
30
|
import { T as Pr } from "./time-picker-D0RS391l.js";
|
|
31
|
-
import { g as ts, N as Jo } from "./notes-panel-
|
|
31
|
+
import { g as ts, N as Jo } from "./notes-panel-Dkk9QPPX.js";
|
|
32
32
|
import { E as gs } from "./empty-state-BUN_UAWf.js";
|
|
33
33
|
import { S as ha } from "./section-card-XR2bW1Ie.js";
|
|
34
34
|
import { V as qt } from "./visually-hidden-BHxEUGyT.js";
|
|
@@ -12158,4 +12158,4 @@ export {
|
|
|
12158
12158
|
fp as r,
|
|
12159
12159
|
Fn as u
|
|
12160
12160
|
};
|
|
12161
|
-
//# sourceMappingURL=calendar-workspace-
|
|
12161
|
+
//# sourceMappingURL=calendar-workspace-B7KvZ1_D.js.map
|
|
@@ -4,7 +4,7 @@ import { c as Ce } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as pt } from "react-i18next";
|
|
5
5
|
import { u as ft } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { C as mt } from "./clinical-note-card-DdsGYMmI.js";
|
|
7
|
-
import { R as gt } from "./rich-text-editor-
|
|
7
|
+
import { R as gt } from "./rich-text-editor-BrAvNajV.js";
|
|
8
8
|
import { T as ht } from "./text-area-Bt3p7Pt0.js";
|
|
9
9
|
import { A as I } from "./alert-CiQ5Pa3Q.js";
|
|
10
10
|
import { B as z } from "./button-CaUe1uyd.js";
|
|
@@ -670,4 +670,4 @@ export {
|
|
|
670
670
|
nn as N,
|
|
671
671
|
ve as g
|
|
672
672
|
};
|
|
673
|
-
//# sourceMappingURL=notes-panel-
|
|
673
|
+
//# sourceMappingURL=notes-panel-Dkk9QPPX.js.map
|