@actioneer/ads 0.2.3 → 0.3.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/components/ai-elements/chain-of-thought.d.ts +88 -19
- package/components/ai-elements/chain-of-thought.js +358 -149
- package/components/ai-elements/chart.d.ts +30 -0
- package/components/ai-elements/chart.js +303 -0
- package/components/ai-elements/index.d.ts +2 -1
- package/components/ai-elements/message.d.ts +19 -4
- package/components/ai-elements/message.js +177 -130
- package/components/ai-elements/research-activity.d.ts +45 -0
- package/components/ai-elements/research-activity.js +260 -0
- package/components/ai-elements/task-progress.js +69 -66
- package/components/ai-elements/tool.js +42 -38
- package/components/answer.d.ts +19 -0
- package/components/answer.js +363 -300
- package/components/assistant-ui/attachment.js +5 -1
- package/components/assistant-ui/composer-deep-research.js +44 -29
- package/components/assistant-ui/composer-harness.js +55 -38
- package/components/assistant-ui/composer.js +16 -16
- package/components/assistant-ui/index.d.ts +0 -1
- package/components/assistant-ui/message.d.ts +7 -0
- package/components/assistant-ui/message.js +64 -51
- package/components/assistant-ui/primitives.d.ts +1 -1
- package/components/assistant-ui/thread-context.d.ts +2 -0
- package/components/assistant-ui/thread.js +34 -32
- package/components/brand-texture.d.ts +37 -0
- package/components/brand-texture.js +54 -0
- package/components/chart.d.ts +64 -2
- package/components/chart.js +717 -456
- package/components/code-block.d.ts +36 -0
- package/components/code-block.js +136 -0
- package/components/command-palette.d.ts +43 -0
- package/components/command-palette.js +146 -0
- package/components/drawer.d.ts +1 -1
- package/components/file-dropzone.d.ts +32 -0
- package/components/file-dropzone.js +134 -0
- package/components/index.d.ts +11 -0
- package/components/index.js +480 -430
- package/components/infinite-canvas.d.ts +50 -0
- package/components/infinite-canvas.js +215 -0
- package/components/page-header.d.ts +22 -0
- package/components/page-header.js +52 -0
- package/components/resizable-panel.d.ts +29 -0
- package/components/resizable-panel.js +102 -0
- package/components/reveal.d.ts +36 -0
- package/components/reveal.js +35 -0
- package/components/scroll-area.d.ts +19 -0
- package/components/scroll-area.js +57 -0
- package/components/setting-row.d.ts +35 -0
- package/components/setting-row.js +86 -0
- package/components/sidebar.d.ts +4 -1
- package/components/sidebar.js +134 -132
- package/components/stepper.d.ts +32 -0
- package/components/stepper.js +113 -0
- package/components/table.js +16 -15
- package/components/tabs.js +1 -1
- package/hooks/agents-ui/voice-visualizer-types.js +1 -0
- package/lib/icons.d.ts +24 -0
- package/lib/icons.js +100 -110
- package/lib/motion.d.ts +5 -3
- package/lib/motion.js +46 -20
- package/lib/router.js +19 -0
- package/lib/utils.js +5 -0
- package/llms.txt +143 -39
- package/manifest.json +1232 -100
- package/package.json +2 -2
- package/styles.css +71 -28
- package/theme.css +19 -15
- package/components/ai-elements/reasoning.d.ts +0 -26
- package/components/ai-elements/reasoning.js +0 -131
- package/components/assistant-ui/smart-message-text.d.ts +0 -15
- package/components/assistant-ui/smart-message-text.js +0 -29
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as r, jsxs as l } from "react/jsx-runtime";
|
|
3
|
+
import * as h from "react";
|
|
4
|
+
import { cva as v } from "class-variance-authority";
|
|
5
|
+
import { cn as t } from "../lib/cn.js";
|
|
6
|
+
import { Check as d } from "../lib/icons.js";
|
|
7
|
+
const f = v(
|
|
8
|
+
t(
|
|
9
|
+
"flex size-6 shrink-0 items-center justify-center rounded-full text-xs font-medium tabular-nums",
|
|
10
|
+
"transition-colors duration-(--duration-fast) ease-out motion-reduce:transition-none"
|
|
11
|
+
),
|
|
12
|
+
{
|
|
13
|
+
variants: {
|
|
14
|
+
status: {
|
|
15
|
+
complete: "bg-brand text-brand-foreground [&>svg]:size-3.5",
|
|
16
|
+
current: "bg-brand text-brand-foreground",
|
|
17
|
+
upcoming: "bg-fill text-tertiary"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
defaultVariants: { status: "upcoming" }
|
|
21
|
+
}
|
|
22
|
+
), N = h.forwardRef(
|
|
23
|
+
({ className: g, steps: o, activeIndex: c, orientation: m = "horizontal", onSelect: i, ...u }, b) => {
|
|
24
|
+
const a = m === "vertical";
|
|
25
|
+
return /* @__PURE__ */ r(
|
|
26
|
+
"ol",
|
|
27
|
+
{
|
|
28
|
+
ref: b,
|
|
29
|
+
"data-slot": "stepper",
|
|
30
|
+
"data-orientation": m,
|
|
31
|
+
"aria-label": u["aria-label"] ?? "Progress",
|
|
32
|
+
className: t(
|
|
33
|
+
"flex w-full",
|
|
34
|
+
a ? "flex-col gap-0" : "flex-row items-start gap-0",
|
|
35
|
+
g
|
|
36
|
+
),
|
|
37
|
+
...u,
|
|
38
|
+
children: o.map((n, s) => {
|
|
39
|
+
const e = s < c ? "complete" : s === c ? "current" : "upcoming", p = s === o.length - 1, x = !!i && e === "complete";
|
|
40
|
+
return /* @__PURE__ */ l(
|
|
41
|
+
"li",
|
|
42
|
+
{
|
|
43
|
+
"data-status": e,
|
|
44
|
+
"aria-current": e === "current" ? "step" : void 0,
|
|
45
|
+
className: t(
|
|
46
|
+
"flex min-w-0",
|
|
47
|
+
a ? "flex-row gap-3" : "flex-1 flex-col gap-2",
|
|
48
|
+
!p && a && "pb-6"
|
|
49
|
+
),
|
|
50
|
+
children: [
|
|
51
|
+
/* @__PURE__ */ l(
|
|
52
|
+
"div",
|
|
53
|
+
{
|
|
54
|
+
className: t(
|
|
55
|
+
"flex min-w-0",
|
|
56
|
+
a ? "flex-col items-center gap-1" : "w-full flex-row items-center gap-2"
|
|
57
|
+
),
|
|
58
|
+
children: [
|
|
59
|
+
x ? /* @__PURE__ */ r(
|
|
60
|
+
"button",
|
|
61
|
+
{
|
|
62
|
+
type: "button",
|
|
63
|
+
onClick: () => i == null ? void 0 : i(s),
|
|
64
|
+
"aria-label": `Go to step ${s + 1}`,
|
|
65
|
+
className: t(
|
|
66
|
+
f({ status: e }),
|
|
67
|
+
"cursor-pointer outline-none focus-visible:ring-3 focus-visible:ring-ring",
|
|
68
|
+
"active:scale-(--scale-press)"
|
|
69
|
+
),
|
|
70
|
+
children: /* @__PURE__ */ r(d, { "aria-hidden": !0 })
|
|
71
|
+
}
|
|
72
|
+
) : /* @__PURE__ */ r("span", { "aria-hidden": !0, className: f({ status: e }), children: e === "complete" ? /* @__PURE__ */ r(d, {}) : s + 1 }),
|
|
73
|
+
!p && /* @__PURE__ */ r(
|
|
74
|
+
"span",
|
|
75
|
+
{
|
|
76
|
+
"aria-hidden": !0,
|
|
77
|
+
className: t(
|
|
78
|
+
"shrink-0 bg-border",
|
|
79
|
+
a ? "w-px flex-1" : "h-px flex-1",
|
|
80
|
+
e === "complete" && "bg-brand"
|
|
81
|
+
)
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ l("div", { className: t("min-w-0", a ? "pb-1" : "pr-4"), children: [
|
|
88
|
+
/* @__PURE__ */ r(
|
|
89
|
+
"div",
|
|
90
|
+
{
|
|
91
|
+
className: t(
|
|
92
|
+
"truncate text-base",
|
|
93
|
+
e === "upcoming" ? "text-tertiary" : "text-foreground"
|
|
94
|
+
),
|
|
95
|
+
children: n.label
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
n.description && /* @__PURE__ */ r("div", { className: "truncate text-xs text-tertiary", children: n.description })
|
|
99
|
+
] })
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
n.id
|
|
103
|
+
);
|
|
104
|
+
})
|
|
105
|
+
}
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
);
|
|
109
|
+
N.displayName = "Stepper";
|
|
110
|
+
export {
|
|
111
|
+
N as Stepper,
|
|
112
|
+
f as stepperMarkerVariants
|
|
113
|
+
};
|
package/components/table.js
CHANGED
|
@@ -29,7 +29,7 @@ const S = (e) => e === "center" ? "text-center" : e === "right" ? "text-right" :
|
|
|
29
29
|
className: e,
|
|
30
30
|
wrapperClassName: a,
|
|
31
31
|
footer: l,
|
|
32
|
-
children:
|
|
32
|
+
children: b,
|
|
33
33
|
selectionMode: p = "none",
|
|
34
34
|
selectedKeys: d,
|
|
35
35
|
onSelectionChange: i,
|
|
@@ -38,20 +38,20 @@ const S = (e) => e === "center" ? "text-center" : e === "right" ? "text-right" :
|
|
|
38
38
|
onSortChange: m,
|
|
39
39
|
...w
|
|
40
40
|
}, h) => {
|
|
41
|
-
const f = s.useMemo(() => t ?? [], [t]),
|
|
42
|
-
(c) =>
|
|
43
|
-
[
|
|
44
|
-
), v = f.length > 0 && (
|
|
41
|
+
const f = s.useMemo(() => t ?? [], [t]), g = d === "all", u = g ? null : d ?? /* @__PURE__ */ new Set(), N = s.useCallback(
|
|
42
|
+
(c) => g || !!(u != null && u.has(c)),
|
|
43
|
+
[g, u]
|
|
44
|
+
), v = f.length > 0 && (g || f.every((c) => u == null ? void 0 : u.has(c))), T = !v && (g || f.some((c) => u == null ? void 0 : u.has(c))), k = s.useCallback(
|
|
45
45
|
(c) => {
|
|
46
46
|
if (!i) return;
|
|
47
47
|
if (p === "single") {
|
|
48
48
|
i(N(c) ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([c]));
|
|
49
49
|
return;
|
|
50
50
|
}
|
|
51
|
-
const x = new Set(
|
|
51
|
+
const x = new Set(g ? f : u ?? /* @__PURE__ */ new Set());
|
|
52
52
|
x.has(c) ? x.delete(c) : x.add(c), i(x);
|
|
53
53
|
},
|
|
54
|
-
[i, p, N,
|
|
54
|
+
[i, p, N, g, f, u]
|
|
55
55
|
), z = s.useCallback(() => {
|
|
56
56
|
i && i(v ? /* @__PURE__ */ new Set() : new Set(f));
|
|
57
57
|
}, [i, v, f]), R = s.useCallback(
|
|
@@ -96,12 +96,13 @@ const S = (e) => e === "center" ? "text-center" : e === "right" ? "text-right" :
|
|
|
96
96
|
"table",
|
|
97
97
|
{
|
|
98
98
|
ref: h,
|
|
99
|
+
"data-slot": "table",
|
|
99
100
|
className: o(
|
|
100
101
|
"w-full border-separate border-spacing-0 text-xs",
|
|
101
102
|
e
|
|
102
103
|
),
|
|
103
104
|
...w,
|
|
104
|
-
children:
|
|
105
|
+
children: b
|
|
105
106
|
}
|
|
106
107
|
) }),
|
|
107
108
|
l && /* @__PURE__ */ r("div", { className: "flex items-center px-4 py-2.5", children: l })
|
|
@@ -123,7 +124,7 @@ G.displayName = "TableHeader";
|
|
|
123
124
|
const J = s.forwardRef(({ className: e, ...a }, l) => /* @__PURE__ */ r(C.Provider, { value: "body", children: /* @__PURE__ */ r("tbody", { ref: l, className: o(e), ...a }) }));
|
|
124
125
|
J.displayName = "TableBody";
|
|
125
126
|
const L = s.forwardRef(
|
|
126
|
-
({ className: e, rowKey: a, children: l, ...
|
|
127
|
+
({ className: e, rowKey: a, children: l, ...b }, p) => {
|
|
127
128
|
const d = j(), i = s.useContext(C), t = !!d && d.selectionMode !== "none", n = t && i === "body" && a !== void 0 ? d.isSelected(a) : !1;
|
|
128
129
|
return /* @__PURE__ */ y(
|
|
129
130
|
"tr",
|
|
@@ -131,7 +132,7 @@ const L = s.forwardRef(
|
|
|
131
132
|
ref: p,
|
|
132
133
|
"data-selected": n || void 0,
|
|
133
134
|
className: o("group/row", e),
|
|
134
|
-
...
|
|
135
|
+
...b,
|
|
135
136
|
children: [
|
|
136
137
|
t && (i === "header" ? /* @__PURE__ */ r(
|
|
137
138
|
"th",
|
|
@@ -185,9 +186,9 @@ const L = s.forwardRef(
|
|
|
185
186
|
}
|
|
186
187
|
);
|
|
187
188
|
L.displayName = "TableRow";
|
|
188
|
-
const O = s.forwardRef(({ className: e, align: a, sticky: l, sortKey:
|
|
189
|
+
const O = s.forwardRef(({ className: e, align: a, sticky: l, sortKey: b, children: p, ...d }, i) => {
|
|
189
190
|
var h, f;
|
|
190
|
-
const t = j(), n = !!
|
|
191
|
+
const t = j(), n = !!b && !!(t != null && t.requestSort), m = n && ((h = t == null ? void 0 : t.sortDescriptor) == null ? void 0 : h.column) === b, w = (f = t == null ? void 0 : t.sortDescriptor) == null ? void 0 : f.direction;
|
|
191
192
|
return /* @__PURE__ */ r(
|
|
192
193
|
"th",
|
|
193
194
|
{
|
|
@@ -209,7 +210,7 @@ const O = s.forwardRef(({ className: e, align: a, sticky: l, sortKey: g, childre
|
|
|
209
210
|
"button",
|
|
210
211
|
{
|
|
211
212
|
type: "button",
|
|
212
|
-
onClick: () => t.requestSort(
|
|
213
|
+
onClick: () => t.requestSort(b),
|
|
213
214
|
className: o(
|
|
214
215
|
"group/sort -mx-1 inline-flex items-center gap-1 rounded px-1 outline-none transition-colors",
|
|
215
216
|
"hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
|
|
@@ -227,7 +228,7 @@ const O = s.forwardRef(({ className: e, align: a, sticky: l, sortKey: g, childre
|
|
|
227
228
|
});
|
|
228
229
|
O.displayName = "TableColumn";
|
|
229
230
|
const Q = s.forwardRef(
|
|
230
|
-
({ className: e, align: a, sticky: l, ...
|
|
231
|
+
({ className: e, align: a, sticky: l, ...b }, p) => /* @__PURE__ */ r(
|
|
231
232
|
"td",
|
|
232
233
|
{
|
|
233
234
|
ref: p,
|
|
@@ -239,7 +240,7 @@ const Q = s.forwardRef(
|
|
|
239
240
|
l && P(l),
|
|
240
241
|
e
|
|
241
242
|
),
|
|
242
|
-
...
|
|
243
|
+
...b
|
|
243
244
|
}
|
|
244
245
|
)
|
|
245
246
|
);
|
package/components/tabs.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
package/lib/icons.d.ts
CHANGED
|
@@ -128,6 +128,10 @@ export declare const ImageUpload: {
|
|
|
128
128
|
(props: IconProps): React.JSX.Element;
|
|
129
129
|
displayName: string;
|
|
130
130
|
};
|
|
131
|
+
export declare const Upload: {
|
|
132
|
+
(props: IconProps): React.JSX.Element;
|
|
133
|
+
displayName: string;
|
|
134
|
+
};
|
|
131
135
|
export declare const TextFont: {
|
|
132
136
|
(props: IconProps): React.JSX.Element;
|
|
133
137
|
displayName: string;
|
|
@@ -152,6 +156,14 @@ export declare const Stop: {
|
|
|
152
156
|
(props: IconProps): React.JSX.Element;
|
|
153
157
|
displayName: string;
|
|
154
158
|
};
|
|
159
|
+
export declare const Magnet: {
|
|
160
|
+
(props: IconProps): React.JSX.Element;
|
|
161
|
+
displayName: string;
|
|
162
|
+
};
|
|
163
|
+
export declare const Maximize: {
|
|
164
|
+
(props: IconProps): React.JSX.Element;
|
|
165
|
+
displayName: string;
|
|
166
|
+
};
|
|
155
167
|
export declare const Minus: {
|
|
156
168
|
(props: IconProps): React.JSX.Element;
|
|
157
169
|
displayName: string;
|
|
@@ -296,6 +308,10 @@ export declare const GitBranch: {
|
|
|
296
308
|
(props: IconProps): React.JSX.Element;
|
|
297
309
|
displayName: string;
|
|
298
310
|
};
|
|
311
|
+
export declare const HistoryClock: {
|
|
312
|
+
(props: IconProps): React.JSX.Element;
|
|
313
|
+
displayName: string;
|
|
314
|
+
};
|
|
299
315
|
export declare const Home: {
|
|
300
316
|
(props: IconProps): React.JSX.Element;
|
|
301
317
|
displayName: string;
|
|
@@ -308,6 +324,10 @@ export declare const Inbox: {
|
|
|
308
324
|
(props: IconProps): React.JSX.Element;
|
|
309
325
|
displayName: string;
|
|
310
326
|
};
|
|
327
|
+
export declare const Lightbulb: {
|
|
328
|
+
(props: IconProps): React.JSX.Element;
|
|
329
|
+
displayName: string;
|
|
330
|
+
};
|
|
311
331
|
export declare const Leaf: {
|
|
312
332
|
(props: IconProps): React.JSX.Element;
|
|
313
333
|
displayName: string;
|
|
@@ -356,6 +376,10 @@ export declare const Telescope: {
|
|
|
356
376
|
(props: IconProps): React.JSX.Element;
|
|
357
377
|
displayName: string;
|
|
358
378
|
};
|
|
379
|
+
export declare const Target: {
|
|
380
|
+
(props: IconProps): React.JSX.Element;
|
|
381
|
+
displayName: string;
|
|
382
|
+
};
|
|
359
383
|
export declare const User: {
|
|
360
384
|
(props: IconProps): React.JSX.Element;
|
|
361
385
|
displayName: string;
|
package/lib/icons.js
CHANGED
|
@@ -1,119 +1,109 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as r } from "react/jsx-runtime";
|
|
3
|
-
import { HugeiconsIcon as
|
|
4
|
-
import {
|
|
3
|
+
import { HugeiconsIcon as s } from "@hugeicons/react";
|
|
4
|
+
import { Tick02Icon as a, Copy01Icon as i, File02Icon as I, Cancel01Icon as l, Upload04Icon as h, ViewOffIcon as C, ViewIcon as g, MinusSignIcon as p, PlusSignIcon as f, ArrowDown01Icon as d, Search01Icon as u, InformationCircleIcon as k, AlertCircleIcon as w, Alert02Icon as A, CheckmarkCircle02Icon as L, ArrowLeft01Icon as m, ArrowRight01Icon as S, DatabaseIcon as M, Maximize01Icon as O, Magnet01Icon as P, ArrowUp01Icon as T, ArrowUpDownIcon as U, InboxIcon as B, ArrowLeft02Icon as D, MoreHorizontalIcon as y, RefreshIcon as F, CancelCircleIcon as R, Attachment01Icon as b, SparklesIcon as x, Clock01Icon as H, QuoteDownIcon as v, BrainIcon as G, Loading03Icon as V, AtIcon as z, BoltIcon as E, Table01Icon as W, File01Icon as N, Download01Icon as Q, Image01Icon as j, BracesIcon as q, MusicNote01Icon as J, Video01Icon as K, ImageNotFound01Icon as X, Activity01Icon as Y, AiChat02Icon as Z, ArrowDown02Icon as _, ArrowRight02Icon as $, ArrowUp02Icon as oo, Route01Icon as no, BlocksIcon as co, BookOpen01Icon as eo, Calendar01Icon as to, Call02Icon as ro, CheckListIcon as so, CircleDashedIcon as ao, CodeIcon as io, ComponentIcon as Io, LinkSquare02Icon as lo, Folder01Icon as ho, FolderOpenIcon as Co, DashboardSpeed01Icon as go, GitBranchIcon as po, HashtagIcon as fo, HistoryIcon as uo, Home01Icon as ko, ImageUploadIcon as wo, GridViewIcon as Ao, Leaf01Icon as Lo, Idea01Icon as mo, Link01Icon as So, Logout01Icon as Mo, Mail01Icon as Oo, Mic01Icon as Po, MicOff01Icon as To, MoreVerticalIcon as Uo, PaintBoardIcon as Bo, SidebarLeftIcon as Do, PencilEdit02Icon as yo, PhoneOff01Icon as Fo, PieChartIcon as Ro, PlugSocketIcon as bo, RocketIcon as xo, Settings01Icon as Ho, ShapesIcon as vo, Share01Icon as Go, StarIcon as Vo, StopIcon as zo, Target01Icon as Eo, Telescope01Icon as Wo, TextFontIcon as No, ToggleOnIcon as Qo, Delete02Icon as jo, UserIcon as qo, UserGroupIcon as Jo, Wrench01Icon as Ko, ArrowUpRight01Icon as Xo } from "@hugeicons/core-free-icons";
|
|
5
5
|
function o(c, e) {
|
|
6
6
|
function n(t) {
|
|
7
|
-
return /* @__PURE__ */ r(
|
|
7
|
+
return /* @__PURE__ */ r(s, { icon: c, size: "1em", ...t });
|
|
8
8
|
}
|
|
9
9
|
return n.displayName = e, n;
|
|
10
10
|
}
|
|
11
|
-
const
|
|
12
|
-
o(so, "ExternalLink");
|
|
13
|
-
const en = o(K, "PanelLeft"), tn = o(N, "At"), rn = o(oo, "Call"), In = o(A, "Close"), sn = o(F, "CloseCircle"), an = o(T, "Copy"), ln = o(x, "Download");
|
|
14
|
-
o(io, "LogOut");
|
|
15
|
-
const hn = o(Z, "Mic"), Cn = o(Y, "MicOff"), fn = o(no, "PhoneOff"), pn = o($, "Pencil"), gn = o(R, "Quote"), wn = o(i, "Eye"), dn = o(s, "EyeOff");
|
|
16
|
-
o(ao, "Hash");
|
|
17
|
-
o(lo, "ImageUpload");
|
|
18
|
-
o(ho, "TextFont");
|
|
19
|
-
o(Co, "ToggleOn");
|
|
20
|
-
o(fo, "Calendar");
|
|
21
|
-
const An = o(U, "Clock");
|
|
22
|
-
o(po, "Code");
|
|
23
|
-
const un = o(X, "Stop"), kn = o(a, "Minus"), Sn = o(P, "MoreHorizontal");
|
|
24
|
-
o(go, "MoreVertical");
|
|
25
|
-
o(wo, "Link");
|
|
26
|
-
const Ln = o(h, "Plus"), mn = o(z, "Refresh");
|
|
27
|
-
o(Ao, "AuditTrail");
|
|
28
|
-
const Dn = o(f, "Search");
|
|
29
|
-
o(uo, "Share");
|
|
30
|
-
o(ko, "Trash");
|
|
31
|
-
const Mn = o(l, "Check"), Pn = o(y, "Loader"), On = o(d, "CheckCircle"), Bn = o(p, "Info"), Un = o(w, "Warning"), Rn = o(g, "WarningCircle");
|
|
32
|
-
o(So, "Activity");
|
|
33
|
-
o(Lo, "AgentChat");
|
|
34
|
-
const Tn = o(j, "Bolt");
|
|
35
|
-
o(mo, "BookOpen");
|
|
36
|
-
const Fn = o(O, "Brain"), yn = o(eo, "CheckList");
|
|
37
|
-
o(Do, "Component");
|
|
38
|
-
const bn = o(S, "Database");
|
|
39
|
-
o(Mo, "Table");
|
|
40
|
-
const vn = o(v, "File"), xn = o(D, "FileText");
|
|
41
|
-
o(Po, "Folder");
|
|
42
|
-
const Hn = o(H, "Image"), Vn = o(G, "ImageOff"), Wn = o(W, "Music"), En = o(E, "Video"), Gn = o(V, "Braces");
|
|
43
|
-
o(Oo, "FolderOpen");
|
|
44
|
-
o(Bo, "Gauge");
|
|
45
|
-
o(Uo, "GitBranch");
|
|
46
|
-
o(Ro, "Home");
|
|
47
|
-
o(To, "Blocks");
|
|
48
|
-
const zn = o(M, "Inbox");
|
|
49
|
-
o(Fo, "Leaf");
|
|
50
|
-
o(yo, "LayoutGrid");
|
|
51
|
-
o(bo, "Mail");
|
|
52
|
-
o(vo, "Palette");
|
|
53
|
-
o(xo, "PieChart");
|
|
54
|
-
o(Ho, "Plug");
|
|
55
|
-
o(Vo, "Rocket");
|
|
56
|
-
o(Wo, "Settings");
|
|
57
|
-
o(Eo, "Shapes");
|
|
58
|
-
const Nn = o(b, "Sparkles");
|
|
59
|
-
o(Go, "Star");
|
|
60
|
-
const Qn = o(Q, "Telescope");
|
|
61
|
-
o(zo, "User");
|
|
62
|
-
o(No, "Users");
|
|
63
|
-
const jn = o(B, "Paperclip"), qn = o(to, "CircleDashed"), Jn = o(_, "Wrench");
|
|
11
|
+
const $o = o(_, "ArrowDown"), on = o(D, "ArrowLeft"), nn = o($, "ArrowRight"), cn = o(oo, "ArrowUp"), en = o(Xo, "ArrowUpRight"), tn = o(d, "ChevronDown"), rn = o(m, "ChevronLeft"), sn = o(S, "ChevronRight"), an = o(T, "ChevronUp"), In = o(U, "SortIcon"), ln = o(lo, "ExternalLink"), hn = o(Do, "PanelLeft"), Cn = o(z, "At"), gn = o(ro, "Call"), pn = o(l, "Close"), fn = o(R, "CloseCircle"), dn = o(i, "Copy"), un = o(Q, "Download"), kn = o(Mo, "LogOut"), wn = o(Po, "Mic"), An = o(To, "MicOff"), Ln = o(Fo, "PhoneOff"), mn = o(yo, "Pencil"), Sn = o(v, "Quote"), Mn = o(g, "Eye"), On = o(C, "EyeOff"), Pn = o(fo, "Hash"), Tn = o(wo, "ImageUpload"), Un = o(h, "Upload"), Bn = o(No, "TextFont"), Dn = o(Qo, "ToggleOn"), yn = o(to, "Calendar"), Fn = o(H, "Clock"), Rn = o(io, "Code"), bn = o(zo, "Stop"), xn = o(P, "Magnet"), Hn = o(O, "Maximize"), vn = o(p, "Minus"), Gn = o(y, "MoreHorizontal"), Vn = o(Uo, "MoreVertical"), zn = o(So, "Link"), En = o(f, "Plus"), Wn = o(F, "Refresh"), Nn = o(no, "AuditTrail"), Qn = o(u, "Search"), jn = o(Go, "Share"), qn = o(jo, "Trash"), Jn = o(a, "Check"), Kn = o(V, "Loader"), Xn = o(L, "CheckCircle"), Yn = o(k, "Info"), Zn = o(A, "Warning"), _n = o(w, "WarningCircle"), $n = o(Y, "Activity"), oc = o(Z, "AgentChat"), nc = o(E, "Bolt"), cc = o(eo, "BookOpen"), ec = o(G, "Brain"), tc = o(so, "CheckList"), rc = o(Io, "Component"), sc = o(M, "Database"), ac = o(W, "Table"), ic = o(N, "File"), Ic = o(I, "FileText"), lc = o(ho, "Folder"), hc = o(j, "Image"), Cc = o(X, "ImageOff"), gc = o(J, "Music"), pc = o(K, "Video"), fc = o(q, "Braces"), dc = o(Co, "FolderOpen"), uc = o(go, "Gauge"), kc = o(po, "GitBranch"), wc = o(uo, "HistoryClock"), Ac = o(ko, "Home"), Lc = o(co, "Blocks"), mc = o(B, "Inbox"), Sc = o(mo, "Lightbulb"), Mc = o(Lo, "Leaf"), Oc = o(Ao, "LayoutGrid"), Pc = o(Oo, "Mail"), Tc = o(Bo, "Palette"), Uc = o(Ro, "PieChart"), Bc = o(bo, "Plug"), Dc = o(xo, "Rocket"), yc = o(Ho, "Settings"), Fc = o(vo, "Shapes"), Rc = o(x, "Sparkles"), bc = o(Vo, "Star"), xc = o(Wo, "Telescope"), Hc = o(Eo, "Target"), vc = o(qo, "User"), Gc = o(Jo, "Users"), Vc = o(b, "Paperclip"), zc = o(ao, "CircleDashed"), Ec = o(Ko, "Wrench");
|
|
64
12
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
13
|
+
$n as Activity,
|
|
14
|
+
oc as AgentChat,
|
|
15
|
+
$o as ArrowDown,
|
|
16
|
+
on as ArrowLeft,
|
|
17
|
+
nn as ArrowRight,
|
|
18
|
+
cn as ArrowUp,
|
|
19
|
+
en as ArrowUpRight,
|
|
20
|
+
Cn as At,
|
|
21
|
+
Nn as AuditTrail,
|
|
22
|
+
Lc as Blocks,
|
|
23
|
+
nc as Bolt,
|
|
24
|
+
cc as BookOpen,
|
|
25
|
+
fc as Braces,
|
|
26
|
+
ec as Brain,
|
|
27
|
+
yn as Calendar,
|
|
28
|
+
gn as Call,
|
|
29
|
+
Jn as Check,
|
|
30
|
+
Xn as CheckCircle,
|
|
31
|
+
tc as CheckList,
|
|
32
|
+
tn as ChevronDown,
|
|
33
|
+
rn as ChevronLeft,
|
|
34
|
+
sn as ChevronRight,
|
|
35
|
+
an as ChevronUp,
|
|
36
|
+
zc as CircleDashed,
|
|
37
|
+
Fn as Clock,
|
|
38
|
+
pn as Close,
|
|
39
|
+
fn as CloseCircle,
|
|
40
|
+
Rn as Code,
|
|
41
|
+
rc as Component,
|
|
42
|
+
dn as Copy,
|
|
43
|
+
sc as Database,
|
|
44
|
+
un as Download,
|
|
45
|
+
ln as ExternalLink,
|
|
46
|
+
Mn as Eye,
|
|
47
|
+
On as EyeOff,
|
|
48
|
+
ic as File,
|
|
49
|
+
Ic as FileText,
|
|
50
|
+
lc as Folder,
|
|
51
|
+
dc as FolderOpen,
|
|
52
|
+
uc as Gauge,
|
|
53
|
+
kc as GitBranch,
|
|
54
|
+
Pn as Hash,
|
|
55
|
+
wc as HistoryClock,
|
|
56
|
+
Ac as Home,
|
|
57
|
+
hc as Image,
|
|
58
|
+
Cc as ImageOff,
|
|
59
|
+
Tn as ImageUpload,
|
|
60
|
+
mc as Inbox,
|
|
61
|
+
Yn as Info,
|
|
62
|
+
Oc as LayoutGrid,
|
|
63
|
+
Mc as Leaf,
|
|
64
|
+
Sc as Lightbulb,
|
|
65
|
+
zn as Link,
|
|
66
|
+
Kn as Loader,
|
|
67
|
+
kn as LogOut,
|
|
68
|
+
xn as Magnet,
|
|
69
|
+
Pc as Mail,
|
|
70
|
+
Hn as Maximize,
|
|
71
|
+
wn as Mic,
|
|
72
|
+
An as MicOff,
|
|
73
|
+
vn as Minus,
|
|
74
|
+
Gn as MoreHorizontal,
|
|
75
|
+
Vn as MoreVertical,
|
|
76
|
+
gc as Music,
|
|
77
|
+
Tc as Palette,
|
|
78
|
+
hn as PanelLeft,
|
|
79
|
+
Vc as Paperclip,
|
|
80
|
+
mn as Pencil,
|
|
81
|
+
Ln as PhoneOff,
|
|
82
|
+
Uc as PieChart,
|
|
83
|
+
Bc as Plug,
|
|
84
|
+
En as Plus,
|
|
85
|
+
Sn as Quote,
|
|
86
|
+
Wn as Refresh,
|
|
87
|
+
Dc as Rocket,
|
|
88
|
+
Qn as Search,
|
|
89
|
+
yc as Settings,
|
|
90
|
+
Fc as Shapes,
|
|
91
|
+
jn as Share,
|
|
92
|
+
In as SortIcon,
|
|
93
|
+
Rc as Sparkles,
|
|
94
|
+
bc as Star,
|
|
95
|
+
bn as Stop,
|
|
96
|
+
ac as Table,
|
|
97
|
+
Hc as Target,
|
|
98
|
+
xc as Telescope,
|
|
99
|
+
Bn as TextFont,
|
|
100
|
+
Dn as ToggleOn,
|
|
101
|
+
qn as Trash,
|
|
102
|
+
Un as Upload,
|
|
103
|
+
vc as User,
|
|
104
|
+
Gc as Users,
|
|
105
|
+
pc as Video,
|
|
106
|
+
Zn as Warning,
|
|
107
|
+
_n as WarningCircle,
|
|
108
|
+
Ec as Wrench
|
|
119
109
|
};
|
package/lib/motion.d.ts
CHANGED
|
@@ -14,8 +14,10 @@ import { Transition, Variants } from 'motion/react';
|
|
|
14
14
|
export declare const EASE_OUT: readonly [0.23, 1, 0.32, 1];
|
|
15
15
|
/** Mirrors --ease-in-out for movement that remains on screen. */
|
|
16
16
|
export declare const EASE_IN_OUT: readonly [0.77, 0, 0.175, 1];
|
|
17
|
-
/** Mirrors --ease-
|
|
18
|
-
export declare const
|
|
17
|
+
/** Mirrors --ease-expo-out. Strong launch with a long, controlled glide. */
|
|
18
|
+
export declare const EASE_EXPO_OUT: readonly [0.16, 1, 0.3, 1];
|
|
19
|
+
/** @deprecated Use `EASE_EXPO_OUT`. Kept as a compatibility alias. */
|
|
20
|
+
export declare const EASE_DRAWER: readonly [0.16, 1, 0.3, 1];
|
|
19
21
|
/**
|
|
20
22
|
* Floating panels anchored to a trigger (popover / dropdown / listboxes).
|
|
21
23
|
* Pair with an origin-aware `transformOrigin` so the panel grows out of the
|
|
@@ -28,7 +30,7 @@ export declare const modalPanelVariants: Variants;
|
|
|
28
30
|
export declare const backdropVariants: Variants;
|
|
29
31
|
/** Backdrop fade timed to the drawer slide. */
|
|
30
32
|
export declare const drawerBackdropVariants: Variants;
|
|
31
|
-
/** Drawer slide —
|
|
33
|
+
/** Drawer slide — Expo-Out. Exit runs faster than enter. */
|
|
32
34
|
export declare const drawerEnterTransition: Transition;
|
|
33
35
|
export declare const drawerExitTransition: Transition;
|
|
34
36
|
/** Off-screen offset for a drawer on each side (own-size percentages). */
|
package/lib/motion.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const t = [0.23, 1, 0.32, 1],
|
|
2
|
+
const t = [0.23, 1, 0.32, 1], s = [0.77, 0, 0.175, 1], a = [0.16, 1, 0.3, 1], i = a, r = {
|
|
3
3
|
hidden: {
|
|
4
4
|
opacity: 0,
|
|
5
5
|
transform: "translate3d(0, -4px, 0) scale(0.96)",
|
|
@@ -10,7 +10,7 @@ const t = [0.23, 1, 0.32, 1], n = [0.77, 0, 0.175, 1], a = [0.32, 0.72, 0, 1], s
|
|
|
10
10
|
transform: "translate3d(0, 0, 0) scale(1)",
|
|
11
11
|
transition: { duration: 0.15, ease: t }
|
|
12
12
|
}
|
|
13
|
-
},
|
|
13
|
+
}, o = {
|
|
14
14
|
hidden: {
|
|
15
15
|
opacity: 0,
|
|
16
16
|
transform: "scale(0.96)",
|
|
@@ -21,7 +21,7 @@ const t = [0.23, 1, 0.32, 1], n = [0.77, 0, 0.175, 1], a = [0.32, 0.72, 0, 1], s
|
|
|
21
21
|
transform: "scale(1)",
|
|
22
22
|
transition: { duration: 0.14, ease: t }
|
|
23
23
|
}
|
|
24
|
-
},
|
|
24
|
+
}, e = {
|
|
25
25
|
hidden: {
|
|
26
26
|
opacity: 0,
|
|
27
27
|
transform: "translate3d(0, 8px, 0) scale(0.96)",
|
|
@@ -32,39 +32,65 @@ const t = [0.23, 1, 0.32, 1], n = [0.77, 0, 0.175, 1], a = [0.32, 0.72, 0, 1], s
|
|
|
32
32
|
transform: "translate3d(0, 0, 0) scale(1)",
|
|
33
33
|
transition: { duration: 0.22, ease: t }
|
|
34
34
|
}
|
|
35
|
-
},
|
|
35
|
+
}, d = {
|
|
36
36
|
hidden: { opacity: 0, transition: { duration: 0.12, ease: t } },
|
|
37
37
|
visible: { opacity: 1, transition: { duration: 0.18, ease: t } }
|
|
38
|
-
},
|
|
38
|
+
}, c = {
|
|
39
39
|
hidden: { opacity: 0, transition: { duration: 0.14, ease: t } },
|
|
40
40
|
visible: { opacity: 1, transition: { duration: 0.22, ease: t } }
|
|
41
|
-
},
|
|
41
|
+
}, l = {
|
|
42
42
|
duration: 0.24,
|
|
43
43
|
ease: a
|
|
44
|
-
},
|
|
44
|
+
}, p = {
|
|
45
45
|
duration: 0.18,
|
|
46
46
|
ease: a
|
|
47
|
-
},
|
|
47
|
+
}, f = {
|
|
48
48
|
right: { transform: "translate3d(100%, 0, 0)" },
|
|
49
49
|
left: { transform: "translate3d(-100%, 0, 0)" },
|
|
50
50
|
bottom: { transform: "translate3d(0, 100%, 0)" }
|
|
51
|
-
},
|
|
51
|
+
}, m = {
|
|
52
|
+
hidden: { opacity: 0, transform: "translate3d(0, 8px, 0)" },
|
|
53
|
+
visible: {
|
|
54
|
+
opacity: 1,
|
|
55
|
+
transform: "translate3d(0, 0, 0)",
|
|
56
|
+
transition: { duration: 0.2, ease: t }
|
|
57
|
+
}
|
|
58
|
+
}, n = {
|
|
52
59
|
type: "spring",
|
|
53
60
|
stiffness: 420,
|
|
54
61
|
damping: 34,
|
|
55
62
|
mass: 0.9
|
|
63
|
+
}, y = {
|
|
64
|
+
hidden: {
|
|
65
|
+
opacity: 0,
|
|
66
|
+
transform: "translate3d(0, 16px, 0) scale(0.98)",
|
|
67
|
+
transition: n
|
|
68
|
+
},
|
|
69
|
+
visible: {
|
|
70
|
+
opacity: 1,
|
|
71
|
+
transform: "translate3d(0, 0, 0) scale(1)",
|
|
72
|
+
transition: n
|
|
73
|
+
},
|
|
74
|
+
exit: {
|
|
75
|
+
opacity: 0,
|
|
76
|
+
transform: "translate3d(0, 16px, 0) scale(0.98)",
|
|
77
|
+
transition: { duration: 0.14, ease: t }
|
|
78
|
+
}
|
|
56
79
|
};
|
|
57
80
|
export {
|
|
58
|
-
|
|
59
|
-
|
|
81
|
+
i as EASE_DRAWER,
|
|
82
|
+
a as EASE_EXPO_OUT,
|
|
83
|
+
s as EASE_IN_OUT,
|
|
60
84
|
t as EASE_OUT,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
85
|
+
d as backdropVariants,
|
|
86
|
+
c as drawerBackdropVariants,
|
|
87
|
+
l as drawerEnterTransition,
|
|
88
|
+
p as drawerExitTransition,
|
|
89
|
+
f as drawerOffset,
|
|
90
|
+
r as floatVariants,
|
|
91
|
+
e as modalPanelVariants,
|
|
92
|
+
m as screenVariants,
|
|
93
|
+
n as toastSpring,
|
|
94
|
+
y as toastVariants,
|
|
95
|
+
o as tooltipVariants
|
|
70
96
|
};
|