@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.
Files changed (70) hide show
  1. package/components/ai-elements/chain-of-thought.d.ts +88 -19
  2. package/components/ai-elements/chain-of-thought.js +358 -149
  3. package/components/ai-elements/chart.d.ts +30 -0
  4. package/components/ai-elements/chart.js +303 -0
  5. package/components/ai-elements/index.d.ts +2 -1
  6. package/components/ai-elements/message.d.ts +19 -4
  7. package/components/ai-elements/message.js +177 -130
  8. package/components/ai-elements/research-activity.d.ts +45 -0
  9. package/components/ai-elements/research-activity.js +260 -0
  10. package/components/ai-elements/task-progress.js +69 -66
  11. package/components/ai-elements/tool.js +42 -38
  12. package/components/answer.d.ts +19 -0
  13. package/components/answer.js +363 -300
  14. package/components/assistant-ui/attachment.js +5 -1
  15. package/components/assistant-ui/composer-deep-research.js +44 -29
  16. package/components/assistant-ui/composer-harness.js +55 -38
  17. package/components/assistant-ui/composer.js +16 -16
  18. package/components/assistant-ui/index.d.ts +0 -1
  19. package/components/assistant-ui/message.d.ts +7 -0
  20. package/components/assistant-ui/message.js +64 -51
  21. package/components/assistant-ui/primitives.d.ts +1 -1
  22. package/components/assistant-ui/thread-context.d.ts +2 -0
  23. package/components/assistant-ui/thread.js +34 -32
  24. package/components/brand-texture.d.ts +37 -0
  25. package/components/brand-texture.js +54 -0
  26. package/components/chart.d.ts +64 -2
  27. package/components/chart.js +717 -456
  28. package/components/code-block.d.ts +36 -0
  29. package/components/code-block.js +136 -0
  30. package/components/command-palette.d.ts +43 -0
  31. package/components/command-palette.js +146 -0
  32. package/components/drawer.d.ts +1 -1
  33. package/components/file-dropzone.d.ts +32 -0
  34. package/components/file-dropzone.js +134 -0
  35. package/components/index.d.ts +11 -0
  36. package/components/index.js +480 -430
  37. package/components/infinite-canvas.d.ts +50 -0
  38. package/components/infinite-canvas.js +215 -0
  39. package/components/page-header.d.ts +22 -0
  40. package/components/page-header.js +52 -0
  41. package/components/resizable-panel.d.ts +29 -0
  42. package/components/resizable-panel.js +102 -0
  43. package/components/reveal.d.ts +36 -0
  44. package/components/reveal.js +35 -0
  45. package/components/scroll-area.d.ts +19 -0
  46. package/components/scroll-area.js +57 -0
  47. package/components/setting-row.d.ts +35 -0
  48. package/components/setting-row.js +86 -0
  49. package/components/sidebar.d.ts +4 -1
  50. package/components/sidebar.js +134 -132
  51. package/components/stepper.d.ts +32 -0
  52. package/components/stepper.js +113 -0
  53. package/components/table.js +16 -15
  54. package/components/tabs.js +1 -1
  55. package/hooks/agents-ui/voice-visualizer-types.js +1 -0
  56. package/lib/icons.d.ts +24 -0
  57. package/lib/icons.js +100 -110
  58. package/lib/motion.d.ts +5 -3
  59. package/lib/motion.js +46 -20
  60. package/lib/router.js +19 -0
  61. package/lib/utils.js +5 -0
  62. package/llms.txt +143 -39
  63. package/manifest.json +1232 -100
  64. package/package.json +2 -2
  65. package/styles.css +71 -28
  66. package/theme.css +19 -15
  67. package/components/ai-elements/reasoning.d.ts +0 -26
  68. package/components/ai-elements/reasoning.js +0 -131
  69. package/components/assistant-ui/smart-message-text.d.ts +0 -15
  70. 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
+ };
@@ -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: g,
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]), b = d === "all", u = b ? null : d ?? /* @__PURE__ */ new Set(), N = s.useCallback(
42
- (c) => b || !!(u != null && u.has(c)),
43
- [b, u]
44
- ), v = f.length > 0 && (b || f.every((c) => u == null ? void 0 : u.has(c))), T = !v && (b || f.some((c) => u == null ? void 0 : u.has(c))), k = s.useCallback(
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(b ? f : u ?? /* @__PURE__ */ 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, b, f, u]
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: g
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, ...g }, p) => {
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
- ...g,
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: g, children: p, ...d }, i) => {
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 = !!g && !!(t != null && t.requestSort), m = n && ((h = t == null ? void 0 : t.sortDescriptor) == null ? void 0 : h.column) === g, w = (f = t == null ? void 0 : t.sortDescriptor) == null ? void 0 : f.direction;
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(g),
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, ...g }, p) => /* @__PURE__ */ r(
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
- ...g
243
+ ...b
243
244
  }
244
245
  )
245
246
  );
@@ -80,7 +80,7 @@ const B = S("inline-flex", {
80
80
  secondary: "gap-0"
81
81
  },
82
82
  orientation: {
83
- horizontal: "flex-row items-center",
83
+ horizontal: "self-start flex-row items-center",
84
84
  vertical: "flex-col items-stretch"
85
85
  },
86
86
  size: {
@@ -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 I } from "@hugeicons/react";
4
- import { ViewOffIcon as s, ViewIcon as i, MinusSignIcon as a, Tick02Icon as l, PlusSignIcon as h, ArrowDown01Icon as C, Search01Icon as f, InformationCircleIcon as p, AlertCircleIcon as g, Alert02Icon as w, CheckmarkCircle02Icon as d, Cancel01Icon as A, ArrowLeft01Icon as u, ArrowRight01Icon as k, DatabaseIcon as S, ArrowUp01Icon as L, ArrowUpDownIcon as m, File02Icon as D, InboxIcon as M, MoreHorizontalIcon as P, BrainIcon as O, Attachment01Icon as B, Clock01Icon as U, QuoteDownIcon as R, Copy01Icon as T, CancelCircleIcon as F, Loading03Icon as y, SparklesIcon as b, File01Icon as v, Download01Icon as x, Image01Icon as H, BracesIcon as V, MusicNote01Icon as W, Video01Icon as E, ImageNotFound01Icon as G, RefreshIcon as z, AtIcon as N, Telescope01Icon as Q, BoltIcon as j, ArrowRight02Icon as q, ArrowLeft02Icon as J, SidebarLeftIcon as K, StopIcon as X, MicOff01Icon as Y, Mic01Icon as Z, Wrench01Icon as _, PencilEdit02Icon as $, Call02Icon as oo, PhoneOff01Icon as no, ArrowUp02Icon as co, CheckListIcon as eo, CircleDashedIcon as to, ArrowDown02Icon as ro, ArrowUpRight01Icon as Io, LinkSquare02Icon as so, Logout01Icon as io, HashtagIcon as ao, ImageUploadIcon as lo, TextFontIcon as ho, ToggleOnIcon as Co, Calendar01Icon as fo, CodeIcon as po, MoreVerticalIcon as go, Link01Icon as wo, Route01Icon as Ao, Share01Icon as uo, Delete02Icon as ko, Activity01Icon as So, AiChat02Icon as Lo, BookOpen01Icon as mo, ComponentIcon as Do, Table01Icon as Mo, Folder01Icon as Po, FolderOpenIcon as Oo, DashboardSpeed01Icon as Bo, GitBranchIcon as Uo, Home01Icon as Ro, BlocksIcon as To, Leaf01Icon as Fo, GridViewIcon as yo, Mail01Icon as bo, PaintBoardIcon as vo, PieChartIcon as xo, PlugSocketIcon as Ho, RocketIcon as Vo, Settings01Icon as Wo, ShapesIcon as Eo, StarIcon as Go, UserIcon as zo, UserGroupIcon as No } from "@hugeicons/core-free-icons";
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(I, { icon: c, size: "1em", ...t });
7
+ return /* @__PURE__ */ r(s, { icon: c, size: "1em", ...t });
8
8
  }
9
9
  return n.displayName = e, n;
10
10
  }
11
- const Jo = o(ro, "ArrowDown"), Ko = o(J, "ArrowLeft"), Xo = o(q, "ArrowRight"), Yo = o(co, "ArrowUp"), Zo = o(Io, "ArrowUpRight"), _o = o(C, "ChevronDown"), $o = o(u, "ChevronLeft"), on = o(k, "ChevronRight"), nn = o(L, "ChevronUp"), cn = o(m, "SortIcon");
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
- Jo as ArrowDown,
66
- Ko as ArrowLeft,
67
- Xo as ArrowRight,
68
- Yo as ArrowUp,
69
- Zo as ArrowUpRight,
70
- tn as At,
71
- Tn as Bolt,
72
- Gn as Braces,
73
- Fn as Brain,
74
- rn as Call,
75
- Mn as Check,
76
- On as CheckCircle,
77
- yn as CheckList,
78
- _o as ChevronDown,
79
- $o as ChevronLeft,
80
- on as ChevronRight,
81
- nn as ChevronUp,
82
- qn as CircleDashed,
83
- An as Clock,
84
- In as Close,
85
- sn as CloseCircle,
86
- an as Copy,
87
- bn as Database,
88
- ln as Download,
89
- wn as Eye,
90
- dn as EyeOff,
91
- vn as File,
92
- xn as FileText,
93
- Hn as Image,
94
- Vn as ImageOff,
95
- zn as Inbox,
96
- Bn as Info,
97
- Pn as Loader,
98
- hn as Mic,
99
- Cn as MicOff,
100
- kn as Minus,
101
- Sn as MoreHorizontal,
102
- Wn as Music,
103
- en as PanelLeft,
104
- jn as Paperclip,
105
- pn as Pencil,
106
- fn as PhoneOff,
107
- Ln as Plus,
108
- gn as Quote,
109
- mn as Refresh,
110
- Dn as Search,
111
- cn as SortIcon,
112
- Nn as Sparkles,
113
- un as Stop,
114
- Qn as Telescope,
115
- En as Video,
116
- Un as Warning,
117
- Rn as WarningCircle,
118
- Jn as Wrench
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-drawer (iOS-like slide, via Ionic). */
18
- export declare const EASE_DRAWER: readonly [0.32, 0.72, 0, 1];
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 — crisp iOS curve. Exit runs faster than enter. */
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], n = [0.77, 0, 0.175, 1], a = [0.32, 0.72, 0, 1], s = {
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
- }, i = {
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
- }, r = {
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
- }, o = {
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
- }, e = {
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
- }, d = {
41
+ }, l = {
42
42
  duration: 0.24,
43
43
  ease: a
44
- }, c = {
44
+ }, p = {
45
45
  duration: 0.18,
46
46
  ease: a
47
- }, l = {
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
- }, p = {
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
- a as EASE_DRAWER,
59
- n as EASE_IN_OUT,
81
+ i as EASE_DRAWER,
82
+ a as EASE_EXPO_OUT,
83
+ s as EASE_IN_OUT,
60
84
  t as EASE_OUT,
61
- o as backdropVariants,
62
- e as drawerBackdropVariants,
63
- d as drawerEnterTransition,
64
- c as drawerExitTransition,
65
- l as drawerOffset,
66
- s as floatVariants,
67
- r as modalPanelVariants,
68
- p as toastSpring,
69
- i as tooltipVariants
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
  };