@actioneer/ads 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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], n = [0.32, 0.72, 0, 1], i = {
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
+ }, r = {
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
+ }, o = {
25
25
  hidden: {
26
26
  opacity: 0,
27
27
  transform: "translate3d(0, 8px, 0) scale(0.96)",
@@ -32,39 +32,64 @@ 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
+ }, e = {
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
+ }, d = {
39
39
  hidden: { opacity: 0, transition: { duration: 0.14, ease: t } },
40
40
  visible: { opacity: 1, transition: { duration: 0.22, ease: t } }
41
- }, d = {
42
- duration: 0.24,
43
- ease: a
44
41
  }, c = {
45
- duration: 0.18,
46
- ease: a
42
+ duration: 0.24,
43
+ ease: n
47
44
  }, l = {
45
+ duration: 0.18,
46
+ ease: n
47
+ }, p = {
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
+ }, f = {
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
+ }, a = {
52
59
  type: "spring",
53
60
  stiffness: 420,
54
61
  damping: 34,
55
62
  mass: 0.9
63
+ }, m = {
64
+ hidden: {
65
+ opacity: 0,
66
+ transform: "translate3d(0, 16px, 0) scale(0.98)",
67
+ transition: a
68
+ },
69
+ visible: {
70
+ opacity: 1,
71
+ transform: "translate3d(0, 0, 0) scale(1)",
72
+ transition: a
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
+ n as EASE_DRAWER,
82
+ s as EASE_IN_OUT,
60
83
  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
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
70
95
  };
package/lib/router.js ADDED
@@ -0,0 +1,19 @@
1
+ "use client";
2
+ import * as n from "react";
3
+ function s() {
4
+ const e = () => {
5
+ const t = window.location.hash.replace(/^#/, "");
6
+ return t.startsWith("/") ? t : "/";
7
+ }, [a, o] = n.useState(e);
8
+ return n.useEffect(() => {
9
+ const t = () => o(e());
10
+ return window.addEventListener("hashchange", t), () => window.removeEventListener("hashchange", t);
11
+ }, []), a;
12
+ }
13
+ function h(e) {
14
+ window.location.hash.replace(/^#/, "") !== e && (window.location.hash = e);
15
+ }
16
+ export {
17
+ h as navigate,
18
+ s as useHashPath
19
+ };
package/lib/utils.js ADDED
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ import { cn as n } from "./cn.js";
3
+ export {
4
+ n as cn
5
+ };
package/llms.txt CHANGED
@@ -205,6 +205,7 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
205
205
 
206
206
  ### Overlays
207
207
 
208
+ - [CommandPalette] — component [docs](https://ads.actioneer.dev/#/command-palette)
208
209
  - [Drawer] — Use the portaled Drawer for a focused, blocking task (form, details, settings) that slides in over the page with a backdrop and focus trap; use InlineDrawer instead for a contextual panel that must stay in-flow beside content the user still needs. (variants: side: right|left|bottom; size: sm|md|lg|xl) [docs](https://ads.actioneer.dev/#/drawer)
209
210
  - [DrawerBody] — component (variants: side: right|left|bottom; size: sm|md|lg|xl) [docs](https://ads.actioneer.dev/#/drawer)
210
211
  - [DrawerFooter] — component (variants: side: right|left|bottom; size: sm|md|lg|xl) [docs](https://ads.actioneer.dev/#/drawer)
@@ -229,6 +230,8 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
229
230
  - [PopoverTrigger] — component [docs](https://ads.actioneer.dev/#/popover)
230
231
  - [ToastProvider] — component [docs](https://ads.actioneer.dev/#/toast)
231
232
  - [Tooltip] — Use to label a single hover/focus-triggered element (icon-only buttons, avatars, truncated text) with a short informational hint — not for actions or content that needs to stay open. [docs](https://ads.actioneer.dev/#/tooltip)
233
+ - [CommandPaletteItem] — TypeScript type
234
+ - [CommandPaletteProps] — TypeScript type
232
235
  - [DrawerProps] — TypeScript type
233
236
  - [DropdownContentProps] — TypeScript type
234
237
  - [DropdownItemProps] — TypeScript type
@@ -293,7 +296,7 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
293
296
  - [TableColumn] — component [docs](https://ads.actioneer.dev/#/table)
294
297
  - [TableHeader] — component [docs](https://ads.actioneer.dev/#/table)
295
298
  - [TableRow] — component [docs](https://ads.actioneer.dev/#/table)
296
- - [TabList] — component (variants: variant: primary|secondary; orientation: horizontal|vertical; size: sm|md|lg; selected: true|false) [docs](https://ads.actioneer.dev/#/tabs)
299
+ - [TabList] — component (variants: variant: primary|secondary; orientation: horizontal|vertical; size: sm|md|lg) [docs](https://ads.actioneer.dev/#/tabs)
297
300
  - [TabPanel] — component (variants: variant: primary|secondary; orientation: horizontal|vertical; size: sm|md|lg; selected: true|false) [docs](https://ads.actioneer.dev/#/tabs)
298
301
  - [Tabs] — Use Tabs to switch between mutually exclusive views/sections that share the same page context, not for page-level navigation. (variants: variant: primary|secondary; orientation: horizontal|vertical; size: sm|md|lg; selected: true|false) [docs](https://ads.actioneer.dev/#/tabs)
299
302
  - [TabSeparator] — component (variants: variant: primary|secondary; orientation: horizontal|vertical; size: sm|md|lg; selected: true|false) [docs](https://ads.actioneer.dev/#/tabs)
@@ -326,8 +329,14 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
326
329
  - [CarouselPreviousProps] — TypeScript type
327
330
  - [CarouselProps] — TypeScript type
328
331
  - [ChartAnnotation] — TypeScript type
332
+ - [ChartAxisDomain] — TypeScript type
329
333
  - [ChartColor] — TypeScript type
330
334
  - [ChartDatum] — TypeScript type
335
+ - [ChartTickFormatter] — TypeScript type
336
+ - [ChartTooltipContext] — TypeScript type
337
+ - [ChartTooltipItem] — TypeScript type
338
+ - [ChartTooltipRenderer] — TypeScript type
339
+ - [ChartXScale] — TypeScript type
331
340
  - [ChipProps] — TypeScript type
332
341
  - [ComboChartProps] — TypeScript type
333
342
  - [ComparisonAnswerProps] — TypeScript type
@@ -343,6 +352,8 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
343
352
  - [ExplanationAnswerProps] — TypeScript type
344
353
  - [ExplanationAnswerSpec] — TypeScript type
345
354
  - [FunnelChartProps] — TypeScript type
355
+ - [FunnelLabelContext] — TypeScript type
356
+ - [FunnelLabelRenderer] — TypeScript type
346
357
  - [LineChartProps] — TypeScript type
347
358
  - [PieChartProps] — TypeScript type
348
359
  - [RadarChartProps] — TypeScript type
@@ -460,11 +471,12 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
460
471
 
461
472
  - [ChainOfThought] — component [docs](https://ads.actioneer.dev/#/ai/chain-of-thought)
462
473
  - [ChainOfThoughtContent] — component [docs](https://ads.actioneer.dev/#/ai/chain-of-thought)
463
- - [ChainOfThoughtHeader] — component [docs](https://ads.actioneer.dev/#/ai/chain-of-thought)
464
474
  - [ChainOfThoughtImage] — component [docs](https://ads.actioneer.dev/#/ai/chain-of-thought)
475
+ - [ChainOfThoughtItem] — component [docs](https://ads.actioneer.dev/#/ai/chain-of-thought)
465
476
  - [ChainOfThoughtSearchResult] — component [docs](https://ads.actioneer.dev/#/ai/chain-of-thought)
466
477
  - [ChainOfThoughtSearchResults] — component [docs](https://ads.actioneer.dev/#/ai/chain-of-thought)
467
478
  - [ChainOfThoughtStep] — component [docs](https://ads.actioneer.dev/#/ai/chain-of-thought)
479
+ - [ChainOfThoughtTrigger] — component [docs](https://ads.actioneer.dev/#/ai/chain-of-thought)
468
480
  - [InlineCitation] — component [docs](https://ads.actioneer.dev/#/ai/inline-citation)
469
481
  - [InlineCitationCard] — component [docs](https://ads.actioneer.dev/#/ai/inline-citation)
470
482
  - [InlineCitationCardBody] — component [docs](https://ads.actioneer.dev/#/ai/inline-citation)
@@ -479,21 +491,21 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
479
491
  - [InlineCitationQuote] — component [docs](https://ads.actioneer.dev/#/ai/inline-citation)
480
492
  - [InlineCitationSource] — component [docs](https://ads.actioneer.dev/#/ai/inline-citation)
481
493
  - [InlineCitationText] — component [docs](https://ads.actioneer.dev/#/ai/inline-citation)
482
- - [Message] — component [docs](https://ads.actioneer.dev/#/ai/message)
483
- - [MessageAction] — component [docs](https://ads.actioneer.dev/#/ai/message)
484
- - [MessageActions] — component [docs](https://ads.actioneer.dev/#/ai/message)
485
- - [MessageAttachment] — component [docs](https://ads.actioneer.dev/#/ai/message)
486
- - [MessageAttachments] — component [docs](https://ads.actioneer.dev/#/ai/message)
487
- - [MessageAvatar] — component [docs](https://ads.actioneer.dev/#/ai/message)
488
- - [MessageBranch] — component [docs](https://ads.actioneer.dev/#/ai/message)
489
- - [MessageBranchContent] — component [docs](https://ads.actioneer.dev/#/ai/message)
490
- - [MessageBranchNext] — component [docs](https://ads.actioneer.dev/#/ai/message)
491
- - [MessageBranchPage] — component [docs](https://ads.actioneer.dev/#/ai/message)
492
- - [MessageBranchPrevious] — component [docs](https://ads.actioneer.dev/#/ai/message)
493
- - [MessageBranchSelector] — component [docs](https://ads.actioneer.dev/#/ai/message)
494
- - [MessageContent] — component [docs](https://ads.actioneer.dev/#/ai/message)
495
- - [MessageResponse] — component [docs](https://ads.actioneer.dev/#/ai/message)
496
- - [MessageToolbar] — component [docs](https://ads.actioneer.dev/#/ai/message)
494
+ - [Message] — component (variants: align: start|end) [docs](https://ads.actioneer.dev/#/ai/message)
495
+ - [MessageAction] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
496
+ - [MessageActions] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
497
+ - [MessageAttachment] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
498
+ - [MessageAttachments] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
499
+ - [MessageAvatar] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
500
+ - [MessageBranch] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
501
+ - [MessageBranchContent] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
502
+ - [MessageBranchNext] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
503
+ - [MessageBranchPage] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
504
+ - [MessageBranchPrevious] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
505
+ - [MessageBranchSelector] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
506
+ - [MessageContent] — component (variants: variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
507
+ - [MessageResponse] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
508
+ - [MessageToolbar] — component (variants: align: start|end; variant: contained|flat|plain) [docs](https://ads.actioneer.dev/#/ai/message)
497
509
  - [Queue] — component [docs](https://ads.actioneer.dev/#/ai/queue)
498
510
  - [QueueItem] — component [docs](https://ads.actioneer.dev/#/ai/queue)
499
511
  - [QueueItemAction] — component [docs](https://ads.actioneer.dev/#/ai/queue)
@@ -509,9 +521,6 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
509
521
  - [QueueSectionContent] — component [docs](https://ads.actioneer.dev/#/ai/queue)
510
522
  - [QueueSectionLabel] — component [docs](https://ads.actioneer.dev/#/ai/queue)
511
523
  - [QueueSectionTrigger] — component [docs](https://ads.actioneer.dev/#/ai/queue)
512
- - [Reasoning] — component [docs](https://ads.actioneer.dev/#/ai/reasoning)
513
- - [ReasoningContent] — component [docs](https://ads.actioneer.dev/#/ai/reasoning)
514
- - [ReasoningTrigger] — component [docs](https://ads.actioneer.dev/#/ai/reasoning)
515
524
  - [Shimmer] — component [docs](https://ads.actioneer.dev/#/ai/shimmer)
516
525
  - [SpeechInput] — component [docs](https://ads.actioneer.dev/#/ai/speech-input)
517
526
  - [Task] — component [docs](https://ads.actioneer.dev/#/ai/task)
@@ -532,12 +541,14 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
532
541
  - [VoiceMuteButton] — component [docs](https://ads.actioneer.dev/#/ai/voice)
533
542
  - [VoiceStatusDot] — component [docs](https://ads.actioneer.dev/#/ai/voice)
534
543
  - [ChainOfThoughtContentProps] — TypeScript type
535
- - [ChainOfThoughtHeaderProps] — TypeScript type
536
544
  - [ChainOfThoughtImageProps] — TypeScript type
545
+ - [ChainOfThoughtItemProps] — TypeScript type
537
546
  - [ChainOfThoughtProps] — TypeScript type
538
547
  - [ChainOfThoughtSearchResultProps] — TypeScript type
539
548
  - [ChainOfThoughtSearchResultsProps] — TypeScript type
549
+ - [ChainOfThoughtStatus] — TypeScript type
540
550
  - [ChainOfThoughtStepProps] — TypeScript type
551
+ - [ChainOfThoughtTriggerProps] — TypeScript type
541
552
  - [InlineCitationCardBodyProps] — TypeScript type
542
553
  - [InlineCitationCardProps] — TypeScript type
543
554
  - [InlineCitationCardTriggerProps] — TypeScript type
@@ -587,9 +598,6 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
587
598
  - [QueueSectionProps] — TypeScript type
588
599
  - [QueueSectionTriggerProps] — TypeScript type
589
600
  - [QueueTodo] — TypeScript type
590
- - [ReasoningContentProps] — TypeScript type
591
- - [ReasoningProps] — TypeScript type
592
- - [ReasoningTriggerProps] — TypeScript type
593
601
  - [SpeechInputProps] — TypeScript type
594
602
  - [TaskContentProps] — TypeScript type
595
603
  - [TaskItemFileProps] — TypeScript type
@@ -617,7 +625,6 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
617
625
  - [VoiceState] — TypeScript type
618
626
  - [VoiceStatusDotProps] — TypeScript type
619
627
  - [VoiceVariant] — TypeScript type
620
- - [useReasoning] — React hook
621
628
  - [Tool] — utility
622
629
  - [VOICE_PALETTES] — utility
623
630
  - [VOICE_STATES] — utility
@@ -729,6 +736,8 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
729
736
  - [TooltipIconButtonProps] — TypeScript type
730
737
  - [useAssistantRuntime] — React hook
731
738
  - [useAuiState] — React hook
739
+ - [useComposer] — React hook
740
+ - [useComposerRuntime] — React hook
732
741
  - [useLocalRuntime] — React hook
733
742
  - [ACTIONEER_FILE_ACCEPT] — utility
734
743
  - [ActioneerFileAttachmentAdapter] — utility
@@ -751,3 +760,4 @@ ADS targets landscape tablet (1024) → laptop (1440) → wide display (1920+);
751
760
  - [sourceVariants] — utility
752
761
  - [ThreadComponentsContext] — utility
753
762
  - [toolGroupVariants] — utility
763
+ - [unstable_useSlashCommandAdapter] — utility