@actioneer/ads 0.5.6 → 0.5.8

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 (149) hide show
  1. package/bin/ads-init.mjs +6 -0
  2. package/components/accordion.js +50 -48
  3. package/components/agent-icon.d.ts +12 -0
  4. package/components/agent-icon.js +135 -121
  5. package/components/ai-elements/chain-of-thought-icon.d.ts +10 -12
  6. package/components/ai-elements/chain-of-thought-icon.js +341 -201
  7. package/components/ai-elements/chain-of-thought.d.ts +2 -2
  8. package/components/ai-elements/chain-of-thought.js +108 -108
  9. package/components/ai-elements/chart.js +16 -14
  10. package/components/ai-elements/inline-citation.js +41 -41
  11. package/components/ai-elements/message.js +4 -4
  12. package/components/ai-elements/queue.js +7 -7
  13. package/components/ai-elements/research-activity.js +114 -114
  14. package/components/ai-elements/shimmer.d.ts +2 -2
  15. package/components/ai-elements/speech-input.js +28 -28
  16. package/components/ai-elements/task-progress.js +26 -16
  17. package/components/ai-elements/task.js +17 -17
  18. package/components/ai-elements/tool.js +6 -6
  19. package/components/ai-elements/transcript.js +6 -5
  20. package/components/ai-elements/voice.js +1 -1
  21. package/components/alert.js +10 -10
  22. package/components/answer-sources.d.ts +42 -0
  23. package/components/answer-sources.js +111 -0
  24. package/components/answer.js +115 -114
  25. package/components/assistant-ui/action-bar.js +94 -48
  26. package/components/assistant-ui/attachment.js +131 -103
  27. package/components/assistant-ui/badge.d.ts +1 -1
  28. package/components/assistant-ui/badge.js +17 -17
  29. package/components/assistant-ui/chain-of-thought.d.ts +1 -1
  30. package/components/assistant-ui/composer-add-context.js +9 -9
  31. package/components/assistant-ui/composer-deep-research.js +5 -5
  32. package/components/assistant-ui/composer-harness.js +12 -9
  33. package/components/assistant-ui/composer-trigger-popover.js +45 -34
  34. package/components/assistant-ui/composer.js +59 -59
  35. package/components/assistant-ui/error.js +14 -14
  36. package/components/assistant-ui/file.d.ts +1 -1
  37. package/components/assistant-ui/image.d.ts +1 -1
  38. package/components/assistant-ui/image.js +113 -103
  39. package/components/assistant-ui/markdown-text.js +18 -18
  40. package/components/assistant-ui/message.js +46 -45
  41. package/components/assistant-ui/quote.js +1 -1
  42. package/components/assistant-ui/reasoning.d.ts +1 -1
  43. package/components/assistant-ui/reasoning.js +66 -77
  44. package/components/assistant-ui/suggestions.js +4 -4
  45. package/components/assistant-ui/thread-context.d.ts +2 -0
  46. package/components/assistant-ui/thread.js +41 -40
  47. package/components/assistant-ui/tool-fallback.js +60 -63
  48. package/components/assistant-ui/tool-group.d.ts +1 -1
  49. package/components/assistant-ui/tool-group.js +36 -42
  50. package/components/audio-waveform.js +25 -24
  51. package/components/autocomplete.d.ts +1 -0
  52. package/components/autocomplete.js +45 -43
  53. package/components/avatar.js +30 -30
  54. package/components/badge.d.ts +1 -1
  55. package/components/breadcrumbs.js +2 -2
  56. package/components/button.d.ts +2 -2
  57. package/components/button.js +22 -20
  58. package/components/card.js +8 -8
  59. package/components/carousel.js +105 -104
  60. package/components/chart.js +9 -7
  61. package/components/checkbox.js +74 -38
  62. package/components/chip.d.ts +1 -1
  63. package/components/code-block.js +3 -3
  64. package/components/collapsible.js +67 -23
  65. package/components/connector-card.js +6 -6
  66. package/components/drawer.d.ts +15 -10
  67. package/components/drawer.js +78 -77
  68. package/components/dropdown.d.ts +3 -1
  69. package/components/dropdown.js +88 -79
  70. package/components/empty-state.d.ts +4 -4
  71. package/components/empty-state.js +7 -7
  72. package/components/field.d.ts +4 -0
  73. package/components/field.js +45 -34
  74. package/components/file-dropzone.js +12 -12
  75. package/components/index.d.ts +4 -0
  76. package/components/index.js +584 -553
  77. package/components/infinite-canvas.js +1 -1
  78. package/components/input-field.js +51 -46
  79. package/components/input.js +20 -20
  80. package/components/link.js +9 -9
  81. package/components/modal.js +105 -73
  82. package/components/navbar.d.ts +1 -1
  83. package/components/navbar.js +1 -1
  84. package/components/number-field.js +38 -29
  85. package/components/page-header.js +12 -12
  86. package/components/pagination.js +19 -19
  87. package/components/panel.js +2 -2
  88. package/components/pixel-blast-svg.js +3 -3
  89. package/components/pixel-icon.d.ts +3 -1
  90. package/components/pixel-icon.js +294 -215
  91. package/components/popover.d.ts +1 -1
  92. package/components/popover.js +66 -64
  93. package/components/progress-circle.js +36 -32
  94. package/components/progress.js +28 -24
  95. package/components/radio.js +59 -49
  96. package/components/resizable-panel.js +1 -1
  97. package/components/reveal.d.ts +2 -2
  98. package/components/ripple.d.ts +3 -3
  99. package/components/scroll-area.js +17 -16
  100. package/components/segmented.d.ts +4 -1
  101. package/components/segmented.js +26 -25
  102. package/components/select.d.ts +2 -0
  103. package/components/select.js +61 -57
  104. package/components/setting-row.js +45 -42
  105. package/components/sidebar.d.ts +2 -2
  106. package/components/sidebar.js +131 -127
  107. package/components/skeleton.js +5 -5
  108. package/components/spinner.d.ts +13 -4
  109. package/components/spinner.js +42 -42
  110. package/components/stepper.js +21 -21
  111. package/components/switch.js +52 -32
  112. package/components/table.d.ts +24 -7
  113. package/components/table.js +457 -220
  114. package/components/tabs.js +149 -137
  115. package/components/textarea.js +1 -2
  116. package/components/toast.js +66 -66
  117. package/components/tooltip.js +2 -2
  118. package/components/tree.js +62 -51
  119. package/components/typography.d.ts +2 -1
  120. package/components/typography.js +33 -32
  121. package/components/ui/button.d.ts +2 -2
  122. package/components/ui/button.js +19 -19
  123. package/components/ui/collapsible.d.ts +1 -5
  124. package/components/ui/dialog.d.ts +3 -3
  125. package/components/ui/dialog.js +95 -58
  126. package/components/ui/tooltip.d.ts +2 -2
  127. package/components/ui/tooltip.js +67 -33
  128. package/components/viz-charts.js +95 -95
  129. package/demo/components/add-to-artifact.js +341 -0
  130. package/demo/lib/artifact-library.js +134 -0
  131. package/fonts/aribau-grotesk-medium.woff2 +0 -0
  132. package/fonts/aribau-grotesk-regular.woff2 +0 -0
  133. package/fonts.css +11 -11
  134. package/hooks/agents-ui/use-agent-audio-visualizer-aura.js +17 -16
  135. package/hooks/agents-ui/use-agent-audio-visualizer-wave.js +21 -20
  136. package/lib/icons.d.ts +12 -0
  137. package/lib/icons.js +107 -104
  138. package/lib/motion.d.ts +42 -39
  139. package/lib/motion.js +112 -52
  140. package/lib/spinner-mark.d.ts +9 -0
  141. package/lib/spinner-mark.js +98 -0
  142. package/llms.txt +69 -26
  143. package/manifest.json +344 -42
  144. package/package.json +1 -1
  145. package/styles.css +175 -161
  146. package/theme.css +104 -128
  147. package/components/ui/collapsible.js +0 -35
  148. package/fonts/aribau-grotesk-500.otf +0 -0
  149. package/fonts/aribau-grotesk-600.woff2 +0 -0
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as f, Fragment as M } from "react/jsx-runtime";
2
+ import { jsx as e, jsxs as f, Fragment as L } from "react/jsx-runtime";
3
3
  import * as l from "react";
4
- import { useContext as L } from "react";
5
- import { ComposerAttachments as D, ComposerAddImage as I } from "./attachment.js";
4
+ import { useContext as D } from "react";
5
+ import { ComposerAttachments as I, ComposerAddImage as k } from "./attachment.js";
6
6
  import { ComposerAddContext as F } from "./composer-add-context.js";
7
7
  import { ComposerHarness as B } from "./composer-harness.js";
8
8
  import { ComposerQuotePreview as H } from "./quote.js";
@@ -24,27 +24,27 @@ function J(i, t, p, b, T) {
24
24
  } };
25
25
  let w = 0, v, o;
26
26
  return {
27
- promise: new Promise((d) => {
28
- o = d;
27
+ promise: new Promise((u) => {
28
+ o = u;
29
29
  let y = performance.now(), h = null;
30
- const n = (c) => {
30
+ const r = (c) => {
31
31
  if (b()) {
32
- d();
32
+ u();
33
33
  return;
34
34
  }
35
35
  if (T()) {
36
- h === null && (h = c), v = window.setTimeout(() => n(performance.now()), 100);
36
+ h === null && (h = c), v = window.setTimeout(() => r(performance.now()), 100);
37
37
  return;
38
38
  }
39
39
  h !== null && (y += c - h, h = null);
40
- const a = Math.min(1, (c - y) / t), u = a >= 1 ? i.length : Math.floor(a * i.length);
41
- if (p(i.slice(0, u)), a >= 1) {
42
- d();
40
+ const a = Math.min(1, (c - y) / t), d = a >= 1 ? i.length : Math.floor(a * i.length);
41
+ if (p(i.slice(0, d)), a >= 1) {
42
+ u();
43
43
  return;
44
44
  }
45
- w = requestAnimationFrame(n);
45
+ w = requestAnimationFrame(r);
46
46
  };
47
- w = requestAnimationFrame(n);
47
+ w = requestAnimationFrame(r);
48
48
  }),
49
49
  cancel: () => {
50
50
  cancelAnimationFrame(w), v !== void 0 && window.clearTimeout(v), o();
@@ -52,46 +52,46 @@ function J(i, t, p, b, T) {
52
52
  };
53
53
  }
54
54
  const W = () => {
55
- const { setText: i } = q(), t = l.useContext(k), [p, b] = l.useState(
55
+ const { setText: i } = q(), t = l.useContext(M), [p, b] = l.useState(
56
56
  (t == null ? void 0 : t[0]) ?? "Send a message…"
57
- ), [T, w] = l.useState(!1), v = l.useRef(null), [o, z] = l.useState(null), d = l.useRef(!1), y = l.useCallback((n) => {
58
- v.current = n, z(n);
57
+ ), [T, w] = l.useState(!1), v = l.useRef(null), [o, z] = l.useState(null), u = l.useRef(!1), y = l.useCallback((r) => {
58
+ v.current = r, z(r);
59
59
  }, []);
60
60
  l.useEffect(() => {
61
61
  if (!o) return;
62
- let n = 0;
63
- const c = (r) => {
64
- d.current = r || document.activeElement === o, w(r);
62
+ let r = 0;
63
+ const c = (n) => {
64
+ u.current = n || document.activeElement === o, w(n);
65
65
  }, a = () => {
66
- const r = o.value.length > 0;
67
- c(r);
68
- }, u = () => {
69
- window.clearTimeout(n), n = window.setTimeout(a, 0);
66
+ const n = o.value.length > 0;
67
+ c(n);
68
+ }, d = () => {
69
+ window.clearTimeout(r), r = window.setTimeout(a, 0);
70
70
  }, g = () => {
71
- d.current = o.value.length > 0 || document.activeElement === o;
72
- }, E = (r, m) => {
73
- i(r), o.value = r, o.dispatchEvent(new Event("input", { bubbles: !0 })), c(r.length > 0), window.setTimeout(() => {
71
+ u.current = o.value.length > 0 || document.activeElement === o;
72
+ }, E = (n, m) => {
73
+ i(n), o.value = n, o.dispatchEvent(new Event("input", { bubbles: !0 })), c(n.length > 0), window.setTimeout(() => {
74
74
  document.activeElement === o && o.setSelectionRange(m, m);
75
75
  }, 0);
76
- }, P = (r) => {
76
+ }, P = (n) => {
77
77
  const m = o.selectionStart ?? 0, A = o.selectionEnd ?? m;
78
- return m === A || r.inputType !== "deleteContentBackward" && r.inputType !== "deleteContentForward" && r.inputType !== "deleteByCut" ? !1 : (r.preventDefault(), E(
78
+ return m === A || n.inputType !== "deleteContentBackward" && n.inputType !== "deleteContentForward" && n.inputType !== "deleteByCut" ? !1 : (n.preventDefault(), E(
79
79
  o.value.slice(0, m) + o.value.slice(A),
80
80
  m
81
81
  ), !0);
82
- }, C = (r) => {
83
- if (!r.isComposing && !P(r)) {
84
- if (typeof r.data == "string" && r.data.length > 0) {
82
+ }, C = (n) => {
83
+ if (!n.isComposing && !P(n)) {
84
+ if (typeof n.data == "string" && n.data.length > 0) {
85
85
  c(!0);
86
86
  return;
87
87
  }
88
- u();
88
+ d();
89
89
  }
90
- }, x = (r) => {
91
- (r.metaKey || r.ctrlKey) && !r.altKey && r.key.toLowerCase() === "a" && (r.preventDefault(), o.select());
90
+ }, x = (n) => {
91
+ (n.metaKey || n.ctrlKey) && !n.altKey && n.key.toLowerCase() === "a" && (n.preventDefault(), o.select());
92
92
  };
93
93
  return a(), o.addEventListener("beforeinput", C), o.addEventListener("input", a), o.addEventListener("focus", g), o.addEventListener("blur", g), o.addEventListener("keydown", x), () => {
94
- window.clearTimeout(n), o.removeEventListener("beforeinput", C), o.removeEventListener("input", a), o.removeEventListener("focus", g), o.removeEventListener("blur", g), o.removeEventListener("keydown", x);
94
+ window.clearTimeout(r), o.removeEventListener("beforeinput", C), o.removeEventListener("input", a), o.removeEventListener("focus", g), o.removeEventListener("blur", g), o.removeEventListener("keydown", x);
95
95
  };
96
96
  }, [o, i]), l.useEffect(() => {
97
97
  var C;
@@ -103,31 +103,31 @@ const W = () => {
103
103
  b(t[0]);
104
104
  return;
105
105
  }
106
- let n = !1, c = 0, a, u;
107
- const g = (x) => new Promise((r) => {
108
- a = window.setTimeout(r, x);
109
- }), E = () => n;
106
+ let r = !1, c = 0, a, d;
107
+ const g = (x) => new Promise((n) => {
108
+ a = window.setTimeout(n, x);
109
+ }), E = () => r;
110
110
  return (async () => {
111
- for (; !n; ) {
112
- for (; d.current && !n; ) await g(100);
113
- if (n) return;
111
+ for (; !r; ) {
112
+ for (; u.current && !r; ) await g(100);
113
+ if (r) return;
114
114
  const x = t[c];
115
115
  b("");
116
- const { promise: r, cancel: m } = J(
116
+ const { promise: n, cancel: m } = J(
117
117
  x,
118
118
  G(x),
119
119
  b,
120
120
  E,
121
- () => d.current
121
+ () => u.current
122
122
  );
123
- if (u = m, await r, u = void 0, n) return;
124
- if (!d.current) {
125
- if (await g(X), n) return;
123
+ if (d = m, await n, d = void 0, r) return;
124
+ if (!u.current) {
125
+ if (await g(X), r) return;
126
126
  c = (c + 1) % t.length;
127
127
  }
128
128
  }
129
129
  })(), () => {
130
- n = !0, u == null || u(), a && window.clearTimeout(a);
130
+ r = !0, d == null || d(), a && window.clearTimeout(a);
131
131
  };
132
132
  }, [t]);
133
133
  const h = !!(t != null && t.length) && !T;
@@ -153,16 +153,16 @@ const W = () => {
153
153
  }
154
154
  )
155
155
  ] });
156
- }, k = l.createContext(
156
+ }, M = l.createContext(
157
157
  void 0
158
158
  );
159
- function ue({
159
+ function de({
160
160
  prompts: i,
161
161
  children: t
162
162
  }) {
163
- return /* @__PURE__ */ e(k.Provider, { value: i, children: t });
163
+ return /* @__PURE__ */ e(M.Provider, { value: i, children: t });
164
164
  }
165
- const me = () => /* @__PURE__ */ e(s.Root, { className: "aui-composer-root animate-in fade-in slide-in-from-bottom-2 fill-mode-both relative flex w-full flex-col duration-(--duration-normal) delay-(--stagger-3)", children: /* @__PURE__ */ e(s.Unstable_TriggerPopoverRoot, { children: /* @__PURE__ */ e(s.AttachmentDropzone, { asChild: !0, children: /* @__PURE__ */ f(
165
+ const me = () => /* @__PURE__ */ e(s.Root, { className: "aui-composer-root animate-in fade-in slide-in-from-bottom-2 fill-mode-both relative flex w-full flex-col duration-200 delay-[420ms]", children: /* @__PURE__ */ e(s.Unstable_TriggerPopoverRoot, { children: /* @__PURE__ */ e(s.AttachmentDropzone, { asChild: !0, children: /* @__PURE__ */ f(
166
166
  "div",
167
167
  {
168
168
  "data-slot": "aui_composer-shell",
@@ -170,16 +170,16 @@ const me = () => /* @__PURE__ */ e(s.Root, { className: "aui-composer-root anima
170
170
  var p;
171
171
  i.target.closest("button, a, input, textarea, [role='button']") || (p = i.currentTarget.querySelector("textarea")) == null || p.focus();
172
172
  },
173
- className: "border-border/60 data-[dragging=true]:border-ring focus-within:border-border dark:border-muted-foreground/15 dark:focus-within:border-muted-foreground/30 relative flex w-full flex-col gap-2 rounded-(--composer-radius) border bg-(--composer-bg) p-(--composer-padding) shadow-[0_4px_16px_-8px_rgba(0,0,0,0.08),0_1px_2px_rgba(0,0,0,0.04)] transition-[border-color,box-shadow] focus-within:shadow-[0_6px_24px_-8px_rgba(0,0,0,0.12),0_1px_2px_rgba(0,0,0,0.05)] data-[dragging=true]:border-dashed data-[dragging=true]:bg-[color-mix(in_oklab,var(--color-accent)_50%,var(--color-background))] dark:shadow-none",
173
+ className: "border-border/60 data-[dragging=true]:border-ring focus-within:border-border relative flex w-full flex-col gap-2 rounded-(--composer-radius) border bg-(--composer-bg) p-(--composer-padding) shadow-[0_4px_16px_-8px_rgba(0,0,0,0.08),0_1px_2px_rgba(0,0,0,0.04)] transition-[border-color,box-shadow] focus-within:shadow-[0_6px_24px_-8px_rgba(0,0,0,0.12),0_1px_2px_rgba(0,0,0,0.05)] data-[dragging=true]:border-dashed data-[dragging=true]:bg-[color-mix(in_oklab,var(--color-accent)_50%,var(--color-background))]",
174
174
  children: [
175
175
  /* @__PURE__ */ e(H, { className: "mx-0 mt-0" }),
176
- /* @__PURE__ */ e(D, {}),
176
+ /* @__PURE__ */ e(I, {}),
177
177
  /* @__PURE__ */ e(W, {}),
178
178
  /* @__PURE__ */ e(Z, {})
179
179
  ]
180
180
  }
181
181
  ) }) }) }), Z = () => {
182
- const { ComposerAccessories: i = $ } = L(K);
182
+ const { ComposerAccessories: i = $ } = D(K);
183
183
  return /* @__PURE__ */ f("div", { className: "aui-composer-action-wrapper relative flex items-center justify-between", children: [
184
184
  /* @__PURE__ */ e("div", { className: "flex items-center gap-1", children: /* @__PURE__ */ e(i, {}) }),
185
185
  /* @__PURE__ */ f("div", { className: "flex items-center gap-1.5", children: [
@@ -237,16 +237,16 @@ const me = () => /* @__PURE__ */ e(s.Root, { className: "aui-composer-root anima
237
237
  ) }) })
238
238
  ] })
239
239
  ] });
240
- }, $ = () => /* @__PURE__ */ f(M, { children: [
240
+ }, $ = () => /* @__PURE__ */ f(L, { children: [
241
241
  /* @__PURE__ */ e(F, {}),
242
- /* @__PURE__ */ e(I, {}),
242
+ /* @__PURE__ */ e(k, {}),
243
243
  /* @__PURE__ */ e(B, {})
244
244
  ] }), pe = () => /* @__PURE__ */ e(
245
245
  j.Root,
246
246
  {
247
247
  "data-slot": "aui_edit-composer-wrapper",
248
248
  className: "flex flex-col px-2 [contain-intrinsic-size:auto_200px] [content-visibility:auto]",
249
- children: /* @__PURE__ */ f(s.Root, { className: "aui-edit-composer-root border-border/60 dark:border-muted-foreground/15 ms-auto flex w-full max-w-[85%] flex-col rounded-(--composer-radius) border bg-(--composer-bg) shadow-[0_4px_16px_-8px_rgba(0,0,0,0.08),0_1px_2px_rgba(0,0,0,0.04)] dark:shadow-none", children: [
249
+ children: /* @__PURE__ */ f(s.Root, { className: "aui-edit-composer-root border-border/60 ms-auto flex w-full max-w-[85%] flex-col rounded-(--composer-radius) border bg-(--composer-bg) shadow-[0_4px_16px_-8px_rgba(0,0,0,0.08),0_1px_2px_rgba(0,0,0,0.04)]", children: [
250
250
  /* @__PURE__ */ e(
251
251
  s.Input,
252
252
  {
@@ -271,6 +271,6 @@ const me = () => /* @__PURE__ */ e(s.Root, { className: "aui-composer-root anima
271
271
  );
272
272
  export {
273
273
  me as Composer,
274
- ue as ComposerPlaceholdersProvider,
274
+ de as ComposerPlaceholdersProvider,
275
275
  pe as EditComposer
276
276
  };
@@ -1,39 +1,39 @@
1
1
  "use client";
2
2
  import { jsx as r } from "react/jsx-runtime";
3
- import { ErrorPrimitive as o, MessagePrimitive as i } from "@assistant-ui/react";
3
+ import { ErrorPrimitive as t, MessagePrimitive as a } from "@assistant-ui/react";
4
4
  import { cn as s } from "../../lib/cn.js";
5
- function a({
5
+ function i({
6
6
  className: e,
7
- ...t
7
+ ...o
8
8
  }) {
9
9
  return /* @__PURE__ */ r(
10
- o.Root,
10
+ t.Root,
11
11
  {
12
12
  "data-slot": "error-root",
13
13
  className: s(
14
- "aui-message-error-root border-destructive bg-destructive/10 text-destructive dark:bg-destructive/5 mt-2 rounded-md border p-3 text-xs dark:text-red-200",
14
+ "aui-message-error-root mt-2 rounded-md border border-danger-100 bg-danger-50 p-3 text-xs text-danger-700",
15
15
  e
16
16
  ),
17
- ...t
17
+ ...o
18
18
  }
19
19
  );
20
20
  }
21
- function d({
21
+ function n({
22
22
  className: e,
23
- ...t
23
+ ...o
24
24
  }) {
25
25
  return /* @__PURE__ */ r(
26
- o.Message,
26
+ t.Message,
27
27
  {
28
28
  "data-slot": "error-text",
29
29
  className: s("aui-message-error-message line-clamp-2", e),
30
- ...t
30
+ ...o
31
31
  }
32
32
  );
33
33
  }
34
- const u = () => /* @__PURE__ */ r(i.Error, { children: /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r(d, {}) }) });
34
+ const g = () => /* @__PURE__ */ r(a.Error, { children: /* @__PURE__ */ r(i, { children: /* @__PURE__ */ r(n, {}) }) });
35
35
  export {
36
- a as ErrorRoot,
37
- d as ErrorText,
38
- u as MessageError
36
+ i as ErrorRoot,
37
+ n as ErrorText,
38
+ g as MessageError
39
39
  };
@@ -2,7 +2,7 @@ import { FC } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import { FileMessagePartComponent } from '@assistant-ui/react';
4
4
  declare const fileVariants: (props?: ({
5
- variant?: "muted" | "outline" | "ghost" | null | undefined;
5
+ variant?: "outline" | "muted" | "ghost" | null | undefined;
6
6
  size?: "default" | "sm" | "lg" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  declare function getMimeTypeIcon(mimeType: string): FC<{
@@ -2,7 +2,7 @@ import { PropsWithChildren } from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
3
  import { ImageMessagePart, ImageMessagePartComponent } from '@assistant-ui/react';
4
4
  declare const imageVariants: (props?: ({
5
- variant?: "muted" | "outline" | "ghost" | null | undefined;
5
+ variant?: "outline" | "muted" | "ghost" | null | undefined;
6
6
  size?: "default" | "sm" | "lg" | "full" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  export type ImageRootProps = React.ComponentProps<"div"> & VariantProps<typeof imageVariants>;