@actioneer/ads 0.2.4 → 0.3.1

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 (62) hide show
  1. package/components/ai-elements/chain-of-thought.d.ts +88 -6
  2. package/components/ai-elements/chain-of-thought.js +370 -107
  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 -0
  6. package/components/ai-elements/message.d.ts +12 -2
  7. package/components/ai-elements/message.js +133 -100
  8. package/components/ai-elements/research-activity.d.ts +62 -0
  9. package/components/ai-elements/research-activity.js +278 -0
  10. package/components/ai-elements/task.d.ts +7 -3
  11. package/components/ai-elements/task.js +84 -52
  12. package/components/ai-elements/tool.js +39 -35
  13. package/components/ai-elements/voice.d.ts +7 -1
  14. package/components/ai-elements/voice.js +234 -180
  15. package/components/alert.js +28 -16
  16. package/components/answer.d.ts +16 -0
  17. package/components/answer.js +273 -249
  18. package/components/assistant-ui/attachment.js +5 -1
  19. package/components/assistant-ui/composer-deep-research.js +44 -29
  20. package/components/assistant-ui/composer-harness.js +45 -27
  21. package/components/assistant-ui/composer.js +16 -16
  22. package/components/assistant-ui/index.d.ts +0 -1
  23. package/components/assistant-ui/message.d.ts +7 -0
  24. package/components/assistant-ui/message.js +36 -36
  25. package/components/assistant-ui/thread.js +1 -1
  26. package/components/brand-texture.d.ts +37 -0
  27. package/components/brand-texture.js +54 -0
  28. package/components/code-block.d.ts +42 -0
  29. package/components/code-block.js +235 -0
  30. package/components/drawer.d.ts +1 -1
  31. package/components/file-dropzone.d.ts +32 -0
  32. package/components/file-dropzone.js +134 -0
  33. package/components/index.d.ts +10 -0
  34. package/components/index.js +482 -433
  35. package/components/infinite-canvas.d.ts +50 -0
  36. package/components/infinite-canvas.js +215 -0
  37. package/components/page-header.d.ts +22 -0
  38. package/components/page-header.js +52 -0
  39. package/components/resizable-panel.d.ts +29 -0
  40. package/components/resizable-panel.js +102 -0
  41. package/components/reveal.d.ts +36 -0
  42. package/components/reveal.js +35 -0
  43. package/components/scroll-area.d.ts +19 -0
  44. package/components/scroll-area.js +57 -0
  45. package/components/setting-row.d.ts +35 -0
  46. package/components/setting-row.js +86 -0
  47. package/components/sidebar.js +131 -131
  48. package/components/stepper.d.ts +40 -0
  49. package/components/stepper.js +102 -0
  50. package/components/table.js +16 -15
  51. package/components/tabs.js +1 -1
  52. package/lib/icons.d.ts +12 -0
  53. package/lib/icons.js +98 -95
  54. package/lib/motion.d.ts +7 -3
  55. package/lib/motion.js +29 -27
  56. package/llms.txt +123 -28
  57. package/manifest.json +883 -68
  58. package/package.json +2 -2
  59. package/styles.css +179 -30
  60. package/theme.css +29 -17
  61. package/components/assistant-ui/smart-message-text.d.ts +0 -15
  62. package/components/assistant-ui/smart-message-text.js +0 -29
@@ -0,0 +1,102 @@
1
+ "use client";
2
+ import { jsx as e, jsxs as m } from "react/jsx-runtime";
3
+ import * as v from "react";
4
+ import { cva as k } from "class-variance-authority";
5
+ import { cn as s } from "../lib/cn.js";
6
+ import { Check as u, Close as f } from "../lib/icons.js";
7
+ const p = k(
8
+ s(
9
+ "flex shrink-0 items-center justify-center rounded-full 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-success text-success-foreground",
16
+ current: "bg-brand text-brand-foreground",
17
+ upcoming: "bg-fill text-tertiary",
18
+ error: "bg-danger text-danger-foreground"
19
+ },
20
+ size: {
21
+ sm: "size-5 text-[11px] [&>svg]:size-3",
22
+ md: "size-6 text-xs [&>svg]:size-3.5"
23
+ }
24
+ },
25
+ defaultVariants: { status: "upcoming", size: "md" }
26
+ }
27
+ ), w = v.forwardRef(
28
+ ({
29
+ className: d,
30
+ steps: l,
31
+ activeIndex: a,
32
+ size: n = "md",
33
+ onSelect: o,
34
+ ...c
35
+ }, g) => /* @__PURE__ */ e(
36
+ "ol",
37
+ {
38
+ ref: g,
39
+ "data-slot": "stepper",
40
+ "aria-label": c["aria-label"] ?? "Progress",
41
+ className: s("flex w-full flex-row items-start", d),
42
+ ...c,
43
+ children: l.map((i, t) => {
44
+ const r = i.isError ? "error" : t < a ? "complete" : t === a ? "current" : "upcoming", b = t === l.length - 1, x = !!o && t < a, h = t < a && !i.isError, N = /* @__PURE__ */ e("span", { "aria-hidden": !0, className: p({ status: r, size: n }), children: r === "complete" ? /* @__PURE__ */ e(u, {}) : r === "error" ? /* @__PURE__ */ e(f, {}) : t + 1 });
45
+ return /* @__PURE__ */ m(
46
+ "li",
47
+ {
48
+ "data-status": r,
49
+ "aria-current": r === "current" ? "step" : void 0,
50
+ className: "flex min-w-0 flex-1 flex-col gap-2",
51
+ children: [
52
+ /* @__PURE__ */ m("div", { className: "flex w-full flex-row items-center gap-2", children: [
53
+ x ? /* @__PURE__ */ e(
54
+ "button",
55
+ {
56
+ type: "button",
57
+ onClick: () => o == null ? void 0 : o(t),
58
+ "aria-label": `Go to step ${t + 1}`,
59
+ className: s(
60
+ p({ status: r, size: n }),
61
+ "cursor-pointer outline-none focus-visible:ring-3 focus-visible:ring-ring",
62
+ "active:scale-(--scale-press)"
63
+ ),
64
+ children: r === "complete" ? /* @__PURE__ */ e(u, {}) : r === "error" ? /* @__PURE__ */ e(f, {}) : t + 1
65
+ }
66
+ ) : N,
67
+ !b && /* @__PURE__ */ e(
68
+ "span",
69
+ {
70
+ "aria-hidden": !0,
71
+ className: s(
72
+ "h-px flex-1 shrink-0 bg-border",
73
+ h && "bg-success"
74
+ )
75
+ }
76
+ )
77
+ ] }),
78
+ /* @__PURE__ */ e("div", { className: "min-w-0 pr-4", children: /* @__PURE__ */ e(
79
+ "div",
80
+ {
81
+ className: s(
82
+ "truncate",
83
+ n === "sm" ? "text-xs" : "text-base",
84
+ r === "upcoming" ? "text-tertiary" : "text-foreground",
85
+ r === "error" && "text-danger"
86
+ ),
87
+ children: i.label
88
+ }
89
+ ) })
90
+ ]
91
+ },
92
+ i.id
93
+ );
94
+ })
95
+ }
96
+ )
97
+ );
98
+ w.displayName = "Stepper";
99
+ export {
100
+ w as Stepper,
101
+ p as stepperMarkerVariants
102
+ };
@@ -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: {
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;
package/lib/icons.js CHANGED
@@ -1,106 +1,109 @@
1
1
  "use client";
2
2
  import { jsx as r } from "react/jsx-runtime";
3
3
  import { HugeiconsIcon as s } from "@hugeicons/react";
4
- import { ViewOffIcon as a, ViewIcon as i, MinusSignIcon as I, Tick02Icon as l, PlusSignIcon as h, ArrowDown01Icon as C, Search01Icon as g, InformationCircleIcon as p, AlertCircleIcon as f, Alert02Icon as d, CheckmarkCircle02Icon as u, Cancel01Icon as k, ArrowLeft01Icon as w, ArrowRight01Icon as A, DatabaseIcon as L, ArrowUp01Icon as S, ArrowUpDownIcon as m, File02Icon as O, InboxIcon as P, MoreHorizontalIcon as T, Attachment01Icon as M, Clock01Icon as B, QuoteDownIcon as D, Copy01Icon as U, BrainIcon as y, CancelCircleIcon as F, Loading03Icon as R, AtIcon as b, BoltIcon as H, Table01Icon as x, SparklesIcon as v, File01Icon as G, Download01Icon as V, Image01Icon as E, BracesIcon as W, MusicNote01Icon as z, Video01Icon as N, ImageNotFound01Icon as Q, RefreshIcon as j, Activity01Icon as q, AiChat02Icon as J, ArrowDown02Icon as K, ArrowLeft02Icon as X, ArrowRight02Icon as Y, ArrowUp02Icon as Z, Route01Icon as _, BlocksIcon as $, BookOpen01Icon as oo, Calendar01Icon as no, Call02Icon as co, CheckListIcon as eo, CircleDashedIcon as to, CodeIcon as ro, ComponentIcon as so, LinkSquare02Icon as ao, Folder01Icon as io, FolderOpenIcon as Io, DashboardSpeed01Icon as lo, GitBranchIcon as ho, HashtagIcon as Co, HistoryIcon as go, Home01Icon as po, ImageUploadIcon as fo, GridViewIcon as uo, Leaf01Icon as ko, Idea01Icon as wo, Link01Icon as Ao, Logout01Icon as Lo, Mail01Icon as So, Mic01Icon as mo, MicOff01Icon as Oo, MoreVerticalIcon as Po, PaintBoardIcon as To, SidebarLeftIcon as Mo, PencilEdit02Icon as Bo, PhoneOff01Icon as Do, PieChartIcon as Uo, PlugSocketIcon as yo, RocketIcon as Fo, Settings01Icon as Ro, ShapesIcon as bo, Share01Icon as Ho, StarIcon as xo, StopIcon as vo, Target01Icon as Go, Telescope01Icon as Vo, TextFontIcon as Eo, ToggleOnIcon as Wo, Delete02Icon as zo, UserIcon as No, UserGroupIcon as Qo, Wrench01Icon as jo, ArrowUpRight01Icon as qo } from "@hugeicons/core-free-icons";
4
+ import { Tick02Icon as a, Copy01Icon as i, File02Icon as I, Cancel01Icon as l, Upload01Icon 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
7
  return /* @__PURE__ */ r(s, { icon: c, size: "1em", ...t });
8
8
  }
9
9
  return n.displayName = e, n;
10
10
  }
11
- const Yo = o(K, "ArrowDown"), Zo = o(X, "ArrowLeft"), _o = o(Y, "ArrowRight"), $o = o(Z, "ArrowUp"), on = o(qo, "ArrowUpRight"), nn = o(C, "ChevronDown"), cn = o(w, "ChevronLeft"), en = o(A, "ChevronRight"), tn = o(S, "ChevronUp"), rn = o(m, "SortIcon"), sn = o(ao, "ExternalLink"), an = o(Mo, "PanelLeft"), In = o(b, "At"), ln = o(co, "Call"), hn = o(k, "Close"), Cn = o(F, "CloseCircle"), gn = o(U, "Copy"), pn = o(V, "Download"), fn = o(Lo, "LogOut"), dn = o(mo, "Mic"), un = o(Oo, "MicOff"), kn = o(Do, "PhoneOff"), wn = o(Bo, "Pencil"), An = o(D, "Quote"), Ln = o(i, "Eye"), Sn = o(a, "EyeOff"), mn = o(Co, "Hash"), On = o(fo, "ImageUpload"), Pn = o(Eo, "TextFont"), Tn = o(Wo, "ToggleOn"), Mn = o(no, "Calendar"), Bn = o(B, "Clock"), Dn = o(ro, "Code"), Un = o(vo, "Stop"), yn = o(I, "Minus"), Fn = o(T, "MoreHorizontal"), Rn = o(Po, "MoreVertical"), bn = o(Ao, "Link"), Hn = o(h, "Plus"), xn = o(j, "Refresh"), vn = o(_, "AuditTrail"), Gn = o(g, "Search"), Vn = o(Ho, "Share"), En = o(zo, "Trash"), Wn = o(l, "Check"), zn = o(R, "Loader"), Nn = o(u, "CheckCircle"), Qn = o(p, "Info"), jn = o(d, "Warning"), qn = o(f, "WarningCircle"), Jn = o(q, "Activity"), Kn = o(J, "AgentChat"), Xn = o(H, "Bolt"), Yn = o(oo, "BookOpen"), Zn = o(y, "Brain"), _n = o(eo, "CheckList"), $n = o(so, "Component"), oc = o(L, "Database"), nc = o(x, "Table"), cc = o(G, "File"), ec = o(O, "FileText"), tc = o(io, "Folder"), rc = o(E, "Image"), sc = o(Q, "ImageOff"), ac = o(z, "Music"), ic = o(N, "Video"), Ic = o(W, "Braces"), lc = o(Io, "FolderOpen"), hc = o(lo, "Gauge"), Cc = o(ho, "GitBranch"), gc = o(go, "HistoryClock"), pc = o(po, "Home"), fc = o($, "Blocks"), dc = o(P, "Inbox"), uc = o(wo, "Lightbulb"), kc = o(ko, "Leaf"), wc = o(uo, "LayoutGrid"), Ac = o(So, "Mail"), Lc = o(To, "Palette"), Sc = o(Uo, "PieChart"), mc = o(yo, "Plug"), Oc = o(Fo, "Rocket"), Pc = o(Ro, "Settings"), Tc = o(bo, "Shapes"), Mc = o(v, "Sparkles"), Bc = o(xo, "Star"), Dc = o(Vo, "Telescope"), Uc = o(Go, "Target"), yc = o(No, "User"), Fc = o(Qo, "Users"), Rc = o(M, "Paperclip"), bc = o(to, "CircleDashed"), Hc = o(jo, "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");
12
12
  export {
13
- Jn as Activity,
14
- Kn as AgentChat,
15
- Yo as ArrowDown,
16
- Zo as ArrowLeft,
17
- _o as ArrowRight,
18
- $o as ArrowUp,
19
- on as ArrowUpRight,
20
- In as At,
21
- vn as AuditTrail,
22
- fc as Blocks,
23
- Xn as Bolt,
24
- Yn as BookOpen,
25
- Ic as Braces,
26
- Zn as Brain,
27
- Mn as Calendar,
28
- ln as Call,
29
- Wn as Check,
30
- Nn as CheckCircle,
31
- _n as CheckList,
32
- nn as ChevronDown,
33
- cn as ChevronLeft,
34
- en as ChevronRight,
35
- tn as ChevronUp,
36
- bc as CircleDashed,
37
- Bn as Clock,
38
- hn as Close,
39
- Cn as CloseCircle,
40
- Dn as Code,
41
- $n as Component,
42
- gn as Copy,
43
- oc as Database,
44
- pn as Download,
45
- sn as ExternalLink,
46
- Ln as Eye,
47
- Sn as EyeOff,
48
- cc as File,
49
- ec as FileText,
50
- tc as Folder,
51
- lc as FolderOpen,
52
- hc as Gauge,
53
- Cc as GitBranch,
54
- mn as Hash,
55
- gc as HistoryClock,
56
- pc as Home,
57
- rc as Image,
58
- sc as ImageOff,
59
- On as ImageUpload,
60
- dc as Inbox,
61
- Qn as Info,
62
- wc as LayoutGrid,
63
- kc as Leaf,
64
- uc as Lightbulb,
65
- bn as Link,
66
- zn as Loader,
67
- fn as LogOut,
68
- Ac as Mail,
69
- dn as Mic,
70
- un as MicOff,
71
- yn as Minus,
72
- Fn as MoreHorizontal,
73
- Rn as MoreVertical,
74
- ac as Music,
75
- Lc as Palette,
76
- an as PanelLeft,
77
- Rc as Paperclip,
78
- wn as Pencil,
79
- kn as PhoneOff,
80
- Sc as PieChart,
81
- mc as Plug,
82
- Hn as Plus,
83
- An as Quote,
84
- xn as Refresh,
85
- Oc as Rocket,
86
- Gn as Search,
87
- Pc as Settings,
88
- Tc as Shapes,
89
- Vn as Share,
90
- rn as SortIcon,
91
- Mc as Sparkles,
92
- Bc as Star,
93
- Un as Stop,
94
- nc as Table,
95
- Uc as Target,
96
- Dc as Telescope,
97
- Pn as TextFont,
98
- Tn as ToggleOn,
99
- En as Trash,
100
- yc as User,
101
- Fc as Users,
102
- ic as Video,
103
- jn as Warning,
104
- qn as WarningCircle,
105
- Hc 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
106
109
  };
package/lib/motion.d.ts CHANGED
@@ -14,8 +14,12 @@ 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];
21
+ /** Mirror of --ease-disclosure — height reveals (see theme.css). */
22
+ export declare const EASE_DISCLOSURE: readonly [0.32, 0.72, 0, 1];
19
23
  /**
20
24
  * Floating panels anchored to a trigger (popover / dropdown / listboxes).
21
25
  * Pair with an origin-aware `transformOrigin` so the panel grows out of the
@@ -28,7 +32,7 @@ export declare const modalPanelVariants: Variants;
28
32
  export declare const backdropVariants: Variants;
29
33
  /** Backdrop fade timed to the drawer slide. */
30
34
  export declare const drawerBackdropVariants: Variants;
31
- /** Drawer slide — crisp iOS curve. Exit runs faster than enter. */
35
+ /** Drawer slide — Expo-Out. Exit runs faster than enter. */
32
36
  export declare const drawerEnterTransition: Transition;
33
37
  export declare const drawerExitTransition: Transition;
34
38
  /** 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], s = [0.77, 0, 0.175, 1], n = [0.32, 0.72, 0, 1], i = {
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 = [0.32, 0.72, 0, 1], o = {
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], s = [0.77, 0, 0.175, 1], n = [0.32, 0.72, 0, 1], i
10
10
  transform: "translate3d(0, 0, 0) scale(1)",
11
11
  transition: { duration: 0.15, ease: t }
12
12
  }
13
- }, r = {
13
+ }, e = {
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], s = [0.77, 0, 0.175, 1], n = [0.32, 0.72, 0, 1], i
21
21
  transform: "scale(1)",
22
22
  transition: { duration: 0.14, ease: t }
23
23
  }
24
- }, o = {
24
+ }, d = {
25
25
  hidden: {
26
26
  opacity: 0,
27
27
  transform: "translate3d(0, 8px, 0) scale(0.96)",
@@ -32,44 +32,44 @@ const t = [0.23, 1, 0.32, 1], s = [0.77, 0, 0.175, 1], n = [0.32, 0.72, 0, 1], i
32
32
  transform: "translate3d(0, 0, 0) scale(1)",
33
33
  transition: { duration: 0.22, ease: t }
34
34
  }
35
- }, e = {
35
+ }, c = {
36
36
  hidden: { opacity: 0, transition: { duration: 0.12, ease: t } },
37
37
  visible: { opacity: 1, transition: { duration: 0.18, ease: t } }
38
- }, d = {
38
+ }, l = {
39
39
  hidden: { opacity: 0, transition: { duration: 0.14, ease: t } },
40
40
  visible: { opacity: 1, transition: { duration: 0.22, ease: t } }
41
- }, c = {
41
+ }, p = {
42
42
  duration: 0.24,
43
- ease: n
44
- }, l = {
43
+ ease: a
44
+ }, f = {
45
45
  duration: 0.18,
46
- ease: n
47
- }, p = {
46
+ ease: a
47
+ }, m = {
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
- }, f = {
51
+ }, y = {
52
52
  hidden: { opacity: 0, transform: "translate3d(0, 8px, 0)" },
53
53
  visible: {
54
54
  opacity: 1,
55
55
  transform: "translate3d(0, 0, 0)",
56
56
  transition: { duration: 0.2, ease: t }
57
57
  }
58
- }, a = {
58
+ }, n = {
59
59
  type: "spring",
60
60
  stiffness: 420,
61
61
  damping: 34,
62
62
  mass: 0.9
63
- }, m = {
63
+ }, u = {
64
64
  hidden: {
65
65
  opacity: 0,
66
66
  transform: "translate3d(0, 16px, 0) scale(0.98)",
67
- transition: a
67
+ transition: n
68
68
  },
69
69
  visible: {
70
70
  opacity: 1,
71
71
  transform: "translate3d(0, 0, 0) scale(1)",
72
- transition: a
72
+ transition: n
73
73
  },
74
74
  exit: {
75
75
  opacity: 0,
@@ -78,18 +78,20 @@ const t = [0.23, 1, 0.32, 1], s = [0.77, 0, 0.175, 1], n = [0.32, 0.72, 0, 1], i
78
78
  }
79
79
  };
80
80
  export {
81
- n as EASE_DRAWER,
81
+ r as EASE_DISCLOSURE,
82
+ i as EASE_DRAWER,
83
+ a as EASE_EXPO_OUT,
82
84
  s as EASE_IN_OUT,
83
85
  t as EASE_OUT,
84
- e as backdropVariants,
85
- d as drawerBackdropVariants,
86
- c as drawerEnterTransition,
87
- l as drawerExitTransition,
88
- p as drawerOffset,
89
- i as floatVariants,
90
- o as modalPanelVariants,
91
- f as screenVariants,
92
- a as toastSpring,
93
- m as toastVariants,
94
- r as tooltipVariants
86
+ c as backdropVariants,
87
+ l as drawerBackdropVariants,
88
+ p as drawerEnterTransition,
89
+ f as drawerExitTransition,
90
+ m as drawerOffset,
91
+ o as floatVariants,
92
+ d as modalPanelVariants,
93
+ y as screenVariants,
94
+ n as toastSpring,
95
+ u as toastVariants,
96
+ e as tooltipVariants
95
97
  };