@actioneer/ads 0.1.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 (231) hide show
  1. package/LICENSE +21 -0
  2. package/bin/ads-init.mjs +314 -0
  3. package/components/accordion.d.ts +13 -0
  4. package/components/accordion.js +91 -0
  5. package/components/agents-ui/agent-audio-visualizer-aura.d.ts +11 -0
  6. package/components/agents-ui/agent-audio-visualizer-aura.js +277 -0
  7. package/components/agents-ui/agent-audio-visualizer-wave.d.ts +12 -0
  8. package/components/agents-ui/agent-audio-visualizer-wave.js +203 -0
  9. package/components/agents-ui/react-shader-toy.d.ts +87 -0
  10. package/components/agents-ui/react-shader-toy.js +531 -0
  11. package/components/ai-elements/chain-of-thought.d.ts +30 -0
  12. package/components/ai-elements/chain-of-thought.js +182 -0
  13. package/components/ai-elements/index.d.ts +11 -0
  14. package/components/ai-elements/inline-citation.d.ts +44 -0
  15. package/components/ai-elements/inline-citation.js +314 -0
  16. package/components/ai-elements/message.d.ts +96 -0
  17. package/components/ai-elements/message.js +308 -0
  18. package/components/ai-elements/queue.d.ts +60 -0
  19. package/components/ai-elements/queue.js +193 -0
  20. package/components/ai-elements/reasoning.d.ts +26 -0
  21. package/components/ai-elements/reasoning.js +131 -0
  22. package/components/ai-elements/shimmer.d.ts +25 -0
  23. package/components/ai-elements/shimmer.js +44 -0
  24. package/components/ai-elements/speech-input.d.ts +16 -0
  25. package/components/ai-elements/speech-input.js +151 -0
  26. package/components/ai-elements/task-progress.d.ts +41 -0
  27. package/components/ai-elements/task-progress.js +211 -0
  28. package/components/ai-elements/task.d.ts +35 -0
  29. package/components/ai-elements/task.js +73 -0
  30. package/components/ai-elements/tool.d.ts +53 -0
  31. package/components/ai-elements/tool.js +116 -0
  32. package/components/ai-elements/voice.d.ts +74 -0
  33. package/components/ai-elements/voice.js +875 -0
  34. package/components/alert.d.ts +21 -0
  35. package/components/alert.js +76 -0
  36. package/components/answer.d.ts +984 -0
  37. package/components/answer.js +543 -0
  38. package/components/assistant-ui/action-bar.d.ts +3 -0
  39. package/components/assistant-ui/action-bar.js +57 -0
  40. package/components/assistant-ui/answer-tool-ui.d.ts +5 -0
  41. package/components/assistant-ui/answer-tool-ui.js +42 -0
  42. package/components/assistant-ui/attachment.d.ts +50 -0
  43. package/components/assistant-ui/attachment.js +353 -0
  44. package/components/assistant-ui/badge.d.ts +11 -0
  45. package/components/assistant-ui/badge.js +54 -0
  46. package/components/assistant-ui/branch-picker.d.ts +3 -0
  47. package/components/assistant-ui/branch-picker.js +36 -0
  48. package/components/assistant-ui/chain-of-thought.d.ts +46 -0
  49. package/components/assistant-ui/composer-add-context.d.ts +50 -0
  50. package/components/assistant-ui/composer-add-context.js +209 -0
  51. package/components/assistant-ui/composer-deep-research.d.ts +16 -0
  52. package/components/assistant-ui/composer-deep-research.js +38 -0
  53. package/components/assistant-ui/composer-harness.d.ts +18 -0
  54. package/components/assistant-ui/composer-harness.js +186 -0
  55. package/components/assistant-ui/composer-trigger-popover.d.ts +47 -0
  56. package/components/assistant-ui/composer-trigger-popover.js +147 -0
  57. package/components/assistant-ui/composer.d.ts +8 -0
  58. package/components/assistant-ui/composer.js +276 -0
  59. package/components/assistant-ui/directive-text.d.ts +16 -0
  60. package/components/assistant-ui/directive-text.js +40 -0
  61. package/components/assistant-ui/error.d.ts +6 -0
  62. package/components/assistant-ui/error.js +39 -0
  63. package/components/assistant-ui/file.d.ts +37 -0
  64. package/components/assistant-ui/file.js +159 -0
  65. package/components/assistant-ui/follow-up-suggestions.d.ts +7 -0
  66. package/components/assistant-ui/follow-up-suggestions.js +44 -0
  67. package/components/assistant-ui/image.d.ts +46 -0
  68. package/components/assistant-ui/image.js +351 -0
  69. package/components/assistant-ui/index.d.ts +28 -0
  70. package/components/assistant-ui/markdown-text.d.ts +1 -0
  71. package/components/assistant-ui/markdown-text.js +242 -0
  72. package/components/assistant-ui/message-timing.d.ts +25 -0
  73. package/components/assistant-ui/message-timing.js +56 -0
  74. package/components/assistant-ui/message.d.ts +4 -0
  75. package/components/assistant-ui/message.js +159 -0
  76. package/components/assistant-ui/primitives.d.ts +2 -0
  77. package/components/assistant-ui/quote.d.ts +37 -0
  78. package/components/assistant-ui/quote.js +150 -0
  79. package/components/assistant-ui/reasoning.d.ts +44 -0
  80. package/components/assistant-ui/reasoning.js +261 -0
  81. package/components/assistant-ui/selection-toolbar.d.ts +29 -0
  82. package/components/assistant-ui/selection-toolbar.js +91 -0
  83. package/components/assistant-ui/smart-message-text.d.ts +15 -0
  84. package/components/assistant-ui/smart-message-text.js +29 -0
  85. package/components/assistant-ui/sources.d.ts +17 -0
  86. package/components/assistant-ui/sources.js +121 -0
  87. package/components/assistant-ui/suggestions.d.ts +7 -0
  88. package/components/assistant-ui/suggestions.js +19 -0
  89. package/components/assistant-ui/thread-context.d.ts +37 -0
  90. package/components/assistant-ui/thread-context.js +8 -0
  91. package/components/assistant-ui/thread.d.ts +5 -0
  92. package/components/assistant-ui/thread.js +77 -0
  93. package/components/assistant-ui/tool-fallback.d.ts +36 -0
  94. package/components/assistant-ui/tool-fallback.js +428 -0
  95. package/components/assistant-ui/tool-group.d.ts +33 -0
  96. package/components/assistant-ui/tool-group.js +173 -0
  97. package/components/assistant-ui/tooltip-icon-button.d.ts +7 -0
  98. package/components/assistant-ui/tooltip-icon-button.js +31 -0
  99. package/components/assistant-ui/voice.d.ts +18 -0
  100. package/components/autocomplete.d.ts +18 -0
  101. package/components/autocomplete.js +162 -0
  102. package/components/avatar.d.ts +26 -0
  103. package/components/avatar.js +92 -0
  104. package/components/badge.d.ts +10 -0
  105. package/components/badge.js +83 -0
  106. package/components/brand-loader.d.ts +16 -0
  107. package/components/brand-loader.js +64 -0
  108. package/components/breadcrumbs.d.ts +8 -0
  109. package/components/breadcrumbs.js +58 -0
  110. package/components/button.d.ts +13 -0
  111. package/components/button.js +100 -0
  112. package/components/card.d.ts +19 -0
  113. package/components/card.js +82 -0
  114. package/components/carousel.d.ts +31 -0
  115. package/components/carousel.js +351 -0
  116. package/components/chart.d.ts +165 -0
  117. package/components/chart.js +841 -0
  118. package/components/checkbox.d.ts +13 -0
  119. package/components/checkbox.js +84 -0
  120. package/components/chip.d.ts +13 -0
  121. package/components/chip.js +112 -0
  122. package/components/collapsible.d.ts +5 -0
  123. package/components/collapsible.js +31 -0
  124. package/components/connector-card.d.ts +62 -0
  125. package/components/connector-card.js +154 -0
  126. package/components/divider.d.ts +23 -0
  127. package/components/divider.js +69 -0
  128. package/components/drawer.d.ts +45 -0
  129. package/components/drawer.js +234 -0
  130. package/components/dropdown.d.ts +33 -0
  131. package/components/dropdown.js +198 -0
  132. package/components/empty-state.d.ts +8 -0
  133. package/components/empty-state.js +30 -0
  134. package/components/field.d.ts +20 -0
  135. package/components/field.js +74 -0
  136. package/components/index.d.ts +56 -0
  137. package/components/index.js +444 -0
  138. package/components/input-field.d.ts +22 -0
  139. package/components/input-field.js +91 -0
  140. package/components/input.d.ts +8 -0
  141. package/components/input.js +61 -0
  142. package/components/kbd.d.ts +6 -0
  143. package/components/kbd.js +26 -0
  144. package/components/link.d.ts +14 -0
  145. package/components/link.js +72 -0
  146. package/components/modal.d.ts +18 -0
  147. package/components/modal.js +156 -0
  148. package/components/navbar.d.ts +15 -0
  149. package/components/navbar.js +68 -0
  150. package/components/number-field.d.ts +11 -0
  151. package/components/number-field.js +89 -0
  152. package/components/pagination.d.ts +28 -0
  153. package/components/pagination.js +179 -0
  154. package/components/panel.d.ts +14 -0
  155. package/components/panel.js +71 -0
  156. package/components/pixel-blast-svg.d.ts +22 -0
  157. package/components/pixel-blast-svg.js +154 -0
  158. package/components/popover.d.ts +20 -0
  159. package/components/popover.js +101 -0
  160. package/components/progress-circle.d.ts +11 -0
  161. package/components/progress-circle.js +75 -0
  162. package/components/progress.d.ts +22 -0
  163. package/components/progress.js +66 -0
  164. package/components/radio.d.ts +16 -0
  165. package/components/radio.js +101 -0
  166. package/components/segmented.d.ts +16 -0
  167. package/components/segmented.js +103 -0
  168. package/components/select.d.ts +28 -0
  169. package/components/select.js +180 -0
  170. package/components/selection-action-bar.d.ts +11 -0
  171. package/components/selection-action-bar.js +59 -0
  172. package/components/sidebar.d.ts +118 -0
  173. package/components/sidebar.js +375 -0
  174. package/components/skeleton.d.ts +6 -0
  175. package/components/skeleton.js +26 -0
  176. package/components/slider.d.ts +11 -0
  177. package/components/slider.js +62 -0
  178. package/components/spinner.d.ts +11 -0
  179. package/components/spinner.js +62 -0
  180. package/components/switch.d.ts +7 -0
  181. package/components/switch.js +61 -0
  182. package/components/table.d.ts +59 -0
  183. package/components/table.js +254 -0
  184. package/components/tabs.d.ts +29 -0
  185. package/components/tabs.js +371 -0
  186. package/components/textarea.d.ts +5 -0
  187. package/components/textarea.js +24 -0
  188. package/components/timeline.d.ts +7 -0
  189. package/components/timeline.js +47 -0
  190. package/components/toast.d.ts +74 -0
  191. package/components/toast.js +211 -0
  192. package/components/tooltip.d.ts +11 -0
  193. package/components/tooltip.js +143 -0
  194. package/components/tree.d.ts +42 -0
  195. package/components/tree.js +86 -0
  196. package/components/typography.d.ts +33 -0
  197. package/components/typography.js +65 -0
  198. package/components/ui/avatar.d.ts +11 -0
  199. package/components/ui/avatar.js +56 -0
  200. package/components/ui/button.d.ts +10 -0
  201. package/components/ui/button.js +57 -0
  202. package/components/ui/collapsible.d.ts +5 -0
  203. package/components/ui/collapsible.js +35 -0
  204. package/components/ui/dialog.d.ts +17 -0
  205. package/components/ui/dialog.js +93 -0
  206. package/components/ui/tabs.d.ts +22 -0
  207. package/components/ui/tooltip.d.ts +7 -0
  208. package/components/ui/tooltip.js +56 -0
  209. package/fonts/aribau-grotesk-400.otf +0 -0
  210. package/fonts/aribau-grotesk-700.otf +0 -0
  211. package/fonts.css +21 -0
  212. package/hooks/agents-ui/use-agent-audio-visualizer-aura.d.ts +8 -0
  213. package/hooks/agents-ui/use-agent-audio-visualizer-aura.js +62 -0
  214. package/hooks/agents-ui/use-agent-audio-visualizer-wave.d.ts +7 -0
  215. package/hooks/agents-ui/use-agent-audio-visualizer-wave.js +60 -0
  216. package/hooks/agents-ui/voice-visualizer-types.d.ts +9 -0
  217. package/lib/cn.d.ts +3 -0
  218. package/lib/cn.js +9 -0
  219. package/lib/icons.d.ts +378 -0
  220. package/lib/icons.js +119 -0
  221. package/lib/interactive.d.ts +24 -0
  222. package/lib/interactive.js +36 -0
  223. package/lib/motion.d.ts +58 -0
  224. package/lib/motion.js +70 -0
  225. package/lib/router.d.ts +3 -0
  226. package/lib/utils.d.ts +6 -0
  227. package/llms.txt +537 -0
  228. package/manifest.json +5085 -0
  229. package/package.json +60 -0
  230. package/styles.css +653 -0
  231. package/theme.css +273 -0
package/lib/icons.d.ts ADDED
@@ -0,0 +1,378 @@
1
+ import { HugeiconsIcon } from '@hugeicons/react';
2
+ import * as React from "react";
3
+ /**
4
+ * ADS icon set — Hugeicons, **Stroke Rounded style only**.
5
+ *
6
+ * The single place icons enter the design system. Components import named
7
+ * icons from `@/lib/icons`, never from an icon package directly, so the
8
+ * underlying set can be swapped (e.g. free → Pro) in this one file.
9
+ *
10
+ * House rules:
11
+ * - Stroke icons only — no solid/duotone/fill variants, matching the
12
+ * stroke-led icon language of ADS.
13
+ * - Default size is `1em` so icons scale with the surrounding text unless
14
+ * given an explicit `size` or a `size-*` class.
15
+ * - Stroke weight stays at the drawn 1.5; pass `strokeWidth={2}` for the
16
+ * rare bold emphasis (was Phosphor `weight="bold"`).
17
+ */
18
+ export type IconProps = Omit<React.ComponentProps<typeof HugeiconsIcon>, "icon" | "altIcon" | "showAlt">;
19
+ export declare const ArrowDown: {
20
+ (props: IconProps): React.JSX.Element;
21
+ displayName: string;
22
+ };
23
+ export declare const ArrowLeft: {
24
+ (props: IconProps): React.JSX.Element;
25
+ displayName: string;
26
+ };
27
+ export declare const ArrowRight: {
28
+ (props: IconProps): React.JSX.Element;
29
+ displayName: string;
30
+ };
31
+ export declare const ArrowUp: {
32
+ (props: IconProps): React.JSX.Element;
33
+ displayName: string;
34
+ };
35
+ export declare const ArrowUpRight: {
36
+ (props: IconProps): React.JSX.Element;
37
+ displayName: string;
38
+ };
39
+ export declare const ChevronDown: {
40
+ (props: IconProps): React.JSX.Element;
41
+ displayName: string;
42
+ };
43
+ export declare const ChevronLeft: {
44
+ (props: IconProps): React.JSX.Element;
45
+ displayName: string;
46
+ };
47
+ export declare const ChevronRight: {
48
+ (props: IconProps): React.JSX.Element;
49
+ displayName: string;
50
+ };
51
+ export declare const ChevronUp: {
52
+ (props: IconProps): React.JSX.Element;
53
+ displayName: string;
54
+ };
55
+ export declare const SortIcon: {
56
+ (props: IconProps): React.JSX.Element;
57
+ displayName: string;
58
+ };
59
+ export declare const ExternalLink: {
60
+ (props: IconProps): React.JSX.Element;
61
+ displayName: string;
62
+ };
63
+ export declare const PanelLeft: {
64
+ (props: IconProps): React.JSX.Element;
65
+ displayName: string;
66
+ };
67
+ export declare const At: {
68
+ (props: IconProps): React.JSX.Element;
69
+ displayName: string;
70
+ };
71
+ export declare const Call: {
72
+ (props: IconProps): React.JSX.Element;
73
+ displayName: string;
74
+ };
75
+ export declare const Close: {
76
+ (props: IconProps): React.JSX.Element;
77
+ displayName: string;
78
+ };
79
+ export declare const CloseCircle: {
80
+ (props: IconProps): React.JSX.Element;
81
+ displayName: string;
82
+ };
83
+ export declare const Copy: {
84
+ (props: IconProps): React.JSX.Element;
85
+ displayName: string;
86
+ };
87
+ export declare const Download: {
88
+ (props: IconProps): React.JSX.Element;
89
+ displayName: string;
90
+ };
91
+ export declare const LogOut: {
92
+ (props: IconProps): React.JSX.Element;
93
+ displayName: string;
94
+ };
95
+ export declare const Mic: {
96
+ (props: IconProps): React.JSX.Element;
97
+ displayName: string;
98
+ };
99
+ export declare const MicOff: {
100
+ (props: IconProps): React.JSX.Element;
101
+ displayName: string;
102
+ };
103
+ export declare const PhoneOff: {
104
+ (props: IconProps): React.JSX.Element;
105
+ displayName: string;
106
+ };
107
+ export declare const Pencil: {
108
+ (props: IconProps): React.JSX.Element;
109
+ displayName: string;
110
+ };
111
+ export declare const Quote: {
112
+ (props: IconProps): React.JSX.Element;
113
+ displayName: string;
114
+ };
115
+ export declare const Eye: {
116
+ (props: IconProps): React.JSX.Element;
117
+ displayName: string;
118
+ };
119
+ export declare const EyeOff: {
120
+ (props: IconProps): React.JSX.Element;
121
+ displayName: string;
122
+ };
123
+ export declare const Hash: {
124
+ (props: IconProps): React.JSX.Element;
125
+ displayName: string;
126
+ };
127
+ export declare const ImageUpload: {
128
+ (props: IconProps): React.JSX.Element;
129
+ displayName: string;
130
+ };
131
+ export declare const TextFont: {
132
+ (props: IconProps): React.JSX.Element;
133
+ displayName: string;
134
+ };
135
+ export declare const ToggleOn: {
136
+ (props: IconProps): React.JSX.Element;
137
+ displayName: string;
138
+ };
139
+ export declare const Calendar: {
140
+ (props: IconProps): React.JSX.Element;
141
+ displayName: string;
142
+ };
143
+ export declare const Clock: {
144
+ (props: IconProps): React.JSX.Element;
145
+ displayName: string;
146
+ };
147
+ export declare const Code: {
148
+ (props: IconProps): React.JSX.Element;
149
+ displayName: string;
150
+ };
151
+ export declare const Stop: {
152
+ (props: IconProps): React.JSX.Element;
153
+ displayName: string;
154
+ };
155
+ export declare const Minus: {
156
+ (props: IconProps): React.JSX.Element;
157
+ displayName: string;
158
+ };
159
+ export declare const MoreHorizontal: {
160
+ (props: IconProps): React.JSX.Element;
161
+ displayName: string;
162
+ };
163
+ export declare const MoreVertical: {
164
+ (props: IconProps): React.JSX.Element;
165
+ displayName: string;
166
+ };
167
+ export declare const Link: {
168
+ (props: IconProps): React.JSX.Element;
169
+ displayName: string;
170
+ };
171
+ export declare const Plus: {
172
+ (props: IconProps): React.JSX.Element;
173
+ displayName: string;
174
+ };
175
+ export declare const Refresh: {
176
+ (props: IconProps): React.JSX.Element;
177
+ displayName: string;
178
+ };
179
+ export declare const AuditTrail: {
180
+ (props: IconProps): React.JSX.Element;
181
+ displayName: string;
182
+ };
183
+ export declare const Search: {
184
+ (props: IconProps): React.JSX.Element;
185
+ displayName: string;
186
+ };
187
+ export declare const Share: {
188
+ (props: IconProps): React.JSX.Element;
189
+ displayName: string;
190
+ };
191
+ export declare const Trash: {
192
+ (props: IconProps): React.JSX.Element;
193
+ displayName: string;
194
+ };
195
+ export declare const Check: {
196
+ (props: IconProps): React.JSX.Element;
197
+ displayName: string;
198
+ };
199
+ export declare const Loader: {
200
+ (props: IconProps): React.JSX.Element;
201
+ displayName: string;
202
+ };
203
+ export declare const CheckCircle: {
204
+ (props: IconProps): React.JSX.Element;
205
+ displayName: string;
206
+ };
207
+ export declare const Info: {
208
+ (props: IconProps): React.JSX.Element;
209
+ displayName: string;
210
+ };
211
+ export declare const Warning: {
212
+ (props: IconProps): React.JSX.Element;
213
+ displayName: string;
214
+ };
215
+ export declare const WarningCircle: {
216
+ (props: IconProps): React.JSX.Element;
217
+ displayName: string;
218
+ };
219
+ export declare const Activity: {
220
+ (props: IconProps): React.JSX.Element;
221
+ displayName: string;
222
+ };
223
+ export declare const AgentChat: {
224
+ (props: IconProps): React.JSX.Element;
225
+ displayName: string;
226
+ };
227
+ export declare const Bolt: {
228
+ (props: IconProps): React.JSX.Element;
229
+ displayName: string;
230
+ };
231
+ export declare const BookOpen: {
232
+ (props: IconProps): React.JSX.Element;
233
+ displayName: string;
234
+ };
235
+ export declare const Brain: {
236
+ (props: IconProps): React.JSX.Element;
237
+ displayName: string;
238
+ };
239
+ export declare const CheckList: {
240
+ (props: IconProps): React.JSX.Element;
241
+ displayName: string;
242
+ };
243
+ export declare const Component: {
244
+ (props: IconProps): React.JSX.Element;
245
+ displayName: string;
246
+ };
247
+ export declare const Database: {
248
+ (props: IconProps): React.JSX.Element;
249
+ displayName: string;
250
+ };
251
+ export declare const Table: {
252
+ (props: IconProps): React.JSX.Element;
253
+ displayName: string;
254
+ };
255
+ export declare const File: {
256
+ (props: IconProps): React.JSX.Element;
257
+ displayName: string;
258
+ };
259
+ export declare const FileText: {
260
+ (props: IconProps): React.JSX.Element;
261
+ displayName: string;
262
+ };
263
+ export declare const Folder: {
264
+ (props: IconProps): React.JSX.Element;
265
+ displayName: string;
266
+ };
267
+ export declare const Image: {
268
+ (props: IconProps): React.JSX.Element;
269
+ displayName: string;
270
+ };
271
+ export declare const ImageOff: {
272
+ (props: IconProps): React.JSX.Element;
273
+ displayName: string;
274
+ };
275
+ export declare const Music: {
276
+ (props: IconProps): React.JSX.Element;
277
+ displayName: string;
278
+ };
279
+ export declare const Video: {
280
+ (props: IconProps): React.JSX.Element;
281
+ displayName: string;
282
+ };
283
+ export declare const Braces: {
284
+ (props: IconProps): React.JSX.Element;
285
+ displayName: string;
286
+ };
287
+ export declare const FolderOpen: {
288
+ (props: IconProps): React.JSX.Element;
289
+ displayName: string;
290
+ };
291
+ export declare const Gauge: {
292
+ (props: IconProps): React.JSX.Element;
293
+ displayName: string;
294
+ };
295
+ export declare const GitBranch: {
296
+ (props: IconProps): React.JSX.Element;
297
+ displayName: string;
298
+ };
299
+ export declare const Home: {
300
+ (props: IconProps): React.JSX.Element;
301
+ displayName: string;
302
+ };
303
+ export declare const Blocks: {
304
+ (props: IconProps): React.JSX.Element;
305
+ displayName: string;
306
+ };
307
+ export declare const Inbox: {
308
+ (props: IconProps): React.JSX.Element;
309
+ displayName: string;
310
+ };
311
+ export declare const Leaf: {
312
+ (props: IconProps): React.JSX.Element;
313
+ displayName: string;
314
+ };
315
+ export declare const LayoutGrid: {
316
+ (props: IconProps): React.JSX.Element;
317
+ displayName: string;
318
+ };
319
+ export declare const Mail: {
320
+ (props: IconProps): React.JSX.Element;
321
+ displayName: string;
322
+ };
323
+ export declare const Palette: {
324
+ (props: IconProps): React.JSX.Element;
325
+ displayName: string;
326
+ };
327
+ export declare const PieChart: {
328
+ (props: IconProps): React.JSX.Element;
329
+ displayName: string;
330
+ };
331
+ export declare const Plug: {
332
+ (props: IconProps): React.JSX.Element;
333
+ displayName: string;
334
+ };
335
+ export declare const Rocket: {
336
+ (props: IconProps): React.JSX.Element;
337
+ displayName: string;
338
+ };
339
+ export declare const Settings: {
340
+ (props: IconProps): React.JSX.Element;
341
+ displayName: string;
342
+ };
343
+ export declare const Shapes: {
344
+ (props: IconProps): React.JSX.Element;
345
+ displayName: string;
346
+ };
347
+ export declare const Sparkles: {
348
+ (props: IconProps): React.JSX.Element;
349
+ displayName: string;
350
+ };
351
+ export declare const Star: {
352
+ (props: IconProps): React.JSX.Element;
353
+ displayName: string;
354
+ };
355
+ export declare const Telescope: {
356
+ (props: IconProps): React.JSX.Element;
357
+ displayName: string;
358
+ };
359
+ export declare const User: {
360
+ (props: IconProps): React.JSX.Element;
361
+ displayName: string;
362
+ };
363
+ export declare const Users: {
364
+ (props: IconProps): React.JSX.Element;
365
+ displayName: string;
366
+ };
367
+ export declare const Paperclip: {
368
+ (props: IconProps): React.JSX.Element;
369
+ displayName: string;
370
+ };
371
+ export declare const CircleDashed: {
372
+ (props: IconProps): React.JSX.Element;
373
+ displayName: string;
374
+ };
375
+ export declare const Wrench: {
376
+ (props: IconProps): React.JSX.Element;
377
+ displayName: string;
378
+ };
package/lib/icons.js ADDED
@@ -0,0 +1,119 @@
1
+ "use client";
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";
5
+ function o(c, e) {
6
+ function n(t) {
7
+ return /* @__PURE__ */ r(I, { icon: c, size: "1em", ...t });
8
+ }
9
+ return n.displayName = e, n;
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");
64
+ 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
119
+ };
@@ -0,0 +1,24 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ /**
3
+ * `interactive()` — a reusable interactive-border primitive.
4
+ *
5
+ * Returns the classes that make ANY bordered element darken its border and bloom
6
+ * into an (optionally animated) glow on hover / focus / focus-within. Compose it
7
+ * onto text fields, cards, tiles, buttons — anything. Backed by the
8
+ * `.ads-interactive` rules + CSS custom properties in `index.css`, so it stays
9
+ * fully themeable.
10
+ *
11
+ * Requirements on the host element: give it `border` (width only) and DON'T also
12
+ * set a `border-<color>` utility — the primitive controls the border color.
13
+ *
14
+ * @example
15
+ * <div className={cn("rounded-xl border bg-card p-4", interactive({ on: "hover", color: "info" }))} />
16
+ * <input className={cn("rounded-md border px-3", interactive())} />
17
+ */
18
+ export declare const interactive: (props?: ({
19
+ on?: "hover" | "focus" | "within" | "all" | null | undefined;
20
+ color?: "brand" | "success" | "warning" | "danger" | "info" | null | undefined;
21
+ intensity?: "soft" | "medium" | "strong" | null | undefined;
22
+ animate?: boolean | null | undefined;
23
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
24
+ export type InteractiveProps = VariantProps<typeof interactive>;
@@ -0,0 +1,36 @@
1
+ "use client";
2
+ import { cva as o } from "class-variance-authority";
3
+ const a = o("ads-interactive", {
4
+ variants: {
5
+ /** Which state lights up the glow. */
6
+ on: {
7
+ hover: "ads-on-hover",
8
+ focus: "ads-on-focus",
9
+ within: "ads-on-within",
10
+ all: "ads-on-hover ads-on-focus"
11
+ },
12
+ /** Glow + active-border color. */
13
+ color: {
14
+ brand: "[--glow:var(--brand)]",
15
+ success: "[--glow:var(--color-success-500)] [--glow-border-hover:var(--color-success-500)] [--glow-border-active:var(--color-success-600)]",
16
+ warning: "[--glow:var(--color-warning-500)] [--glow-border-hover:var(--color-warning-500)] [--glow-border-active:var(--color-warning-600)]",
17
+ danger: "[--glow:var(--color-danger-500)] [--glow-border-hover:var(--color-danger-500)] [--glow-border-active:var(--color-danger-600)]",
18
+ info: "[--glow:var(--color-info-500)] [--glow-border-hover:var(--color-info-500)] [--glow-border-active:var(--color-info-600)]"
19
+ },
20
+ /** Glow size / softness. */
21
+ intensity: {
22
+ soft: "[--glow-strength:6%] [--glow-blur:8px] [--glow-spread:3px]",
23
+ medium: "[--glow-strength:12%] [--glow-blur:12px] [--glow-spread:3px]",
24
+ strong: "[--glow-strength:22%] [--glow-blur:18px] [--glow-spread:4px]"
25
+ },
26
+ /** Breathing pulse while active. */
27
+ animate: {
28
+ true: "ads-animate",
29
+ false: ""
30
+ }
31
+ },
32
+ defaultVariants: { on: "all", color: "brand", intensity: "medium", animate: !0 }
33
+ });
34
+ export {
35
+ a as interactive
36
+ };
@@ -0,0 +1,58 @@
1
+ import { Transition, Variants } from 'motion/react';
2
+ /**
3
+ * Shared Motion (v12) presets for ADS 1.0 overlays — the JS mirror of the
4
+ * `--ease-*` / `--duration-*` tokens in src/styles/theme.css. Keep in sync.
5
+ *
6
+ * House rules (guide: .claude/skills/emil-design-eng):
7
+ * - Strong ease-out on everything that enters or exits; never built-ins.
8
+ * - UI animations stay under 300ms; exits run faster than enters.
9
+ * - Floating panels scale in from their trigger (origin-aware); modals are
10
+ * the exception and stay center-origin.
11
+ * - Nothing enters from scale(0); start ≥ 0.95 with opacity.
12
+ */
13
+ /** Mirrors --ease-out. */
14
+ export declare const EASE_OUT: readonly [0.23, 1, 0.32, 1];
15
+ /** Mirrors --ease-in-out for movement that remains on screen. */
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];
19
+ /**
20
+ * Floating panels anchored to a trigger (popover / dropdown / listboxes).
21
+ * Pair with an origin-aware `transformOrigin` so the panel grows out of the
22
+ * trigger. Enter/exit transitions ride inside the variants.
23
+ */
24
+ export declare const floatVariants: Variants;
25
+ export declare const tooltipVariants: Variants;
26
+ export declare const modalPanelVariants: Variants;
27
+ /** Backdrop fade timed to the modal panel. */
28
+ export declare const backdropVariants: Variants;
29
+ /** Backdrop fade timed to the drawer slide. */
30
+ export declare const drawerBackdropVariants: Variants;
31
+ /** Drawer slide — crisp iOS curve. Exit runs faster than enter. */
32
+ export declare const drawerEnterTransition: Transition;
33
+ export declare const drawerExitTransition: Transition;
34
+ /** Off-screen offset for a drawer on each side (own-size percentages). */
35
+ export declare const drawerOffset: {
36
+ readonly right: {
37
+ readonly transform: "translate3d(100%, 0, 0)";
38
+ };
39
+ readonly left: {
40
+ readonly transform: "translate3d(-100%, 0, 0)";
41
+ };
42
+ readonly bottom: {
43
+ readonly transform: "translate3d(0, 100%, 0)";
44
+ };
45
+ };
46
+ /**
47
+ * Screen/route entrance (e.g. demo screens swapping in the content region):
48
+ * a quiet fade + slight rise. Enter-only — route changes are frequent, so no
49
+ * exit choreography that would delay the incoming screen.
50
+ */
51
+ export declare const screenVariants: Variants;
52
+ /** Springy entrance for toasts; also drives their stack-reflow (layout). */
53
+ export declare const toastSpring: Transition;
54
+ /**
55
+ * Toasts enter from the bottom and exit the same way (spatial consistency —
56
+ * one direction, in and out), with a quicker duration-based exit.
57
+ */
58
+ export declare const toastVariants: Variants;
package/lib/motion.js ADDED
@@ -0,0 +1,70 @@
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 = {
3
+ hidden: {
4
+ opacity: 0,
5
+ transform: "translate3d(0, -4px, 0) scale(0.96)",
6
+ transition: { duration: 0.1, ease: t }
7
+ },
8
+ visible: {
9
+ opacity: 1,
10
+ transform: "translate3d(0, 0, 0) scale(1)",
11
+ transition: { duration: 0.15, ease: t }
12
+ }
13
+ }, i = {
14
+ hidden: {
15
+ opacity: 0,
16
+ transform: "scale(0.96)",
17
+ transition: { duration: 0.09, ease: t }
18
+ },
19
+ visible: {
20
+ opacity: 1,
21
+ transform: "scale(1)",
22
+ transition: { duration: 0.14, ease: t }
23
+ }
24
+ }, r = {
25
+ hidden: {
26
+ opacity: 0,
27
+ transform: "translate3d(0, 8px, 0) scale(0.96)",
28
+ transition: { duration: 0.14, ease: t }
29
+ },
30
+ visible: {
31
+ opacity: 1,
32
+ transform: "translate3d(0, 0, 0) scale(1)",
33
+ transition: { duration: 0.22, ease: t }
34
+ }
35
+ }, o = {
36
+ hidden: { opacity: 0, transition: { duration: 0.12, ease: t } },
37
+ visible: { opacity: 1, transition: { duration: 0.18, ease: t } }
38
+ }, e = {
39
+ hidden: { opacity: 0, transition: { duration: 0.14, ease: t } },
40
+ visible: { opacity: 1, transition: { duration: 0.22, ease: t } }
41
+ }, d = {
42
+ duration: 0.24,
43
+ ease: a
44
+ }, c = {
45
+ duration: 0.18,
46
+ ease: a
47
+ }, l = {
48
+ right: { transform: "translate3d(100%, 0, 0)" },
49
+ left: { transform: "translate3d(-100%, 0, 0)" },
50
+ bottom: { transform: "translate3d(0, 100%, 0)" }
51
+ }, p = {
52
+ type: "spring",
53
+ stiffness: 420,
54
+ damping: 34,
55
+ mass: 0.9
56
+ };
57
+ export {
58
+ a as EASE_DRAWER,
59
+ n as EASE_IN_OUT,
60
+ 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
70
+ };
@@ -0,0 +1,3 @@
1
+ /** Minimal dependency-free hash router. Route = the part after `#`, e.g. `#/buttons`. */
2
+ export declare function useHashPath(): string;
3
+ export declare function navigate(to: string): void;
package/lib/utils.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ /**
2
+ * shadcn-compat alias — the vendored chat components (src/components/ui,
3
+ * src/components/assistant-ui) import `cn` from here. ADS code imports
4
+ * from `@/lib/cn` directly.
5
+ */
6
+ export { cn } from './cn';