@actioneer/ads 1.0.7 → 1.0.9

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 (87) hide show
  1. package/DESIGN.md +119 -91
  2. package/README.md +19 -1
  3. package/components/ai-elements/chart.js +20 -20
  4. package/components/ai-elements/inline-citation.js +50 -50
  5. package/components/ai-elements/message.js +1 -1
  6. package/components/ai-elements/tool.js +5 -5
  7. package/components/alert.d.ts +3 -2
  8. package/components/alert.js +25 -25
  9. package/components/answer.js +1 -1
  10. package/components/assistant-ui/action-bar.js +1 -1
  11. package/components/assistant-ui/attachment.js +68 -49
  12. package/components/assistant-ui/composer-add-context.js +1 -1
  13. package/components/assistant-ui/composer-harness.js +5 -4
  14. package/components/assistant-ui/composer-trigger-popover.js +1 -1
  15. package/components/assistant-ui/composer.js +13 -13
  16. package/components/assistant-ui/message-timing.js +6 -6
  17. package/components/assistant-ui/selection-toolbar.js +5 -5
  18. package/components/assistant-ui/sources.js +15 -15
  19. package/components/assistant-ui/tooltip-icon-button.js +18 -14
  20. package/components/audio-waveform.d.ts +21 -8
  21. package/components/audio-waveform.js +371 -94
  22. package/components/autocomplete.js +9 -9
  23. package/components/breadcrumbs.js +36 -42
  24. package/components/button.d.ts +16 -1
  25. package/components/button.js +86 -73
  26. package/components/card.js +1 -1
  27. package/components/chart.d.ts +31 -4
  28. package/components/chart.js +900 -666
  29. package/components/chip.d.ts +2 -1
  30. package/components/chip.js +56 -51
  31. package/components/command-palette.js +12 -12
  32. package/components/connector-card.d.ts +1 -2
  33. package/components/connector-card.js +17 -17
  34. package/components/date-range-picker.js +1 -2
  35. package/components/drawer.js +9 -10
  36. package/components/dropdown.js +1 -1
  37. package/components/empty-state.d.ts +2 -0
  38. package/components/empty-state.js +17 -15
  39. package/components/field.js +9 -10
  40. package/components/file-dropzone.d.ts +6 -3
  41. package/components/file-dropzone.js +72 -60
  42. package/components/filters.d.ts +37 -0
  43. package/components/filters.js +129 -0
  44. package/components/index.d.ts +1 -0
  45. package/components/index.js +447 -444
  46. package/components/infinite-canvas.js +9 -9
  47. package/components/modal.d.ts +2 -1
  48. package/components/modal.js +102 -91
  49. package/components/page-body.js +8 -8
  50. package/components/popover.d.ts +6 -1
  51. package/components/popover.js +75 -65
  52. package/components/progress-circle.d.ts +1 -1
  53. package/components/progress-circle.js +57 -48
  54. package/components/segmented.d.ts +1 -0
  55. package/components/segmented.js +34 -36
  56. package/components/select.js +2 -2
  57. package/components/selection-action-bar.js +32 -31
  58. package/components/setting-row.js +10 -10
  59. package/components/sidebar.d.ts +15 -0
  60. package/components/sidebar.js +186 -149
  61. package/components/slider.js +5 -5
  62. package/components/stepper.d.ts +1 -1
  63. package/components/stepper.js +1 -1
  64. package/components/switch.js +10 -10
  65. package/components/table.d.ts +10 -2
  66. package/components/table.js +380 -366
  67. package/components/tabs.d.ts +6 -1
  68. package/components/tabs.js +32 -29
  69. package/components/timeline.js +3 -3
  70. package/components/toast.js +53 -56
  71. package/components/ui/button.js +4 -4
  72. package/components/ui/dialog.js +1 -1
  73. package/components/viz-charts.js +263 -221
  74. package/demo/components/add-to-artifact.js +3 -2
  75. package/examples/README.md +31 -0
  76. package/examples/agents-screen.tsx +477 -0
  77. package/examples/campaign-analysis-screen.tsx +138 -0
  78. package/examples/campaigns-screen.tsx +439 -0
  79. package/examples/settings-screen.tsx +90 -0
  80. package/examples/workspace-header.tsx +71 -0
  81. package/lib/icons.d.ts +8 -0
  82. package/lib/icons.js +171 -118
  83. package/llms.txt +93 -29
  84. package/manifest.json +1660 -113
  85. package/package.json +1 -1
  86. package/styles.css +55 -68
  87. package/theme.css +50 -59
@@ -4,7 +4,7 @@ import * as c from "react";
4
4
  import { MotionConfig as w, motion as x } from "motion/react";
5
5
  import { cn as n } from "../lib/cn.js";
6
6
  import { springSwitch as g } from "../lib/motion.js";
7
- const v = {
7
+ const y = {
8
8
  sm: {
9
9
  track: "h-5 w-9",
10
10
  knob: "size-4",
@@ -15,17 +15,17 @@ const v = {
15
15
  knob: "size-5",
16
16
  offset: 20
17
17
  }
18
- }, y = c.forwardRef(
18
+ }, v = c.forwardRef(
19
19
  ({
20
20
  className: m,
21
21
  checked: t = !1,
22
22
  onCheckedChange: e,
23
- size: d = "md",
23
+ size: f = "md",
24
24
  disabled: s,
25
25
  children: o,
26
26
  ...r
27
- }, f) => {
28
- const l = v[d], a = c.useId(), u = r["aria-label"] != null || r["aria-labelledby"] != null, b = o && !u ? a : void 0;
27
+ }, u) => {
28
+ const l = y[f], a = c.useId(), b = r["aria-label"] != null || r["aria-labelledby"] != null, d = o && !b ? a : void 0;
29
29
  return /* @__PURE__ */ p(
30
30
  "label",
31
31
  {
@@ -37,11 +37,11 @@ const v = {
37
37
  /* @__PURE__ */ i(
38
38
  "button",
39
39
  {
40
- ref: f,
40
+ ref: u,
41
41
  type: "button",
42
42
  role: "switch",
43
43
  "aria-checked": t,
44
- "aria-labelledby": b,
44
+ "aria-labelledby": d,
45
45
  disabled: s,
46
46
  onClick: () => e == null ? void 0 : e(!t),
47
47
  className: n(
@@ -62,7 +62,7 @@ const v = {
62
62
  animate: { x: t ? l.offset : 0 },
63
63
  transition: g,
64
64
  className: n(
65
- "ml-0.5 inline-block rounded-full bg-elevated shadow-elevation",
65
+ "ml-0.5 inline-block rounded-full bg-elevated",
66
66
  l.knob
67
67
  )
68
68
  }
@@ -75,7 +75,7 @@ const v = {
75
75
  );
76
76
  }
77
77
  );
78
- y.displayName = "Switch";
78
+ v.displayName = "Switch";
79
79
  export {
80
- y as Switch
80
+ v as Switch
81
81
  };
@@ -33,8 +33,8 @@ export interface TableProps extends Omit<React.TableHTMLAttributes<HTMLTableElem
33
33
  rowKeys?: string[];
34
34
  /**
35
35
  * Turns the final `sticky="right"` column into a persistent action surface.
36
- * Its cells stay on `bg-elevated` while one flat Table-level
37
- * `shadow-elevation` compatibility hook spans the body below the White header.
36
+ * Its cells stay on `bg-elevated` and flat beside the body below the White
37
+ * header.
38
38
  * The matching header cell stays transparent and scrolls normally, so it
39
39
  * never becomes a blank sticky surface over the header labels.
40
40
  */
@@ -95,6 +95,14 @@ export interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement>
95
95
  disclosureLabel?: string;
96
96
  /** @deprecated Existing visual-only marker. New rows should pass an action via onClick. */
97
97
  isInteractive?: boolean;
98
+ /**
99
+ * This row's detail panel is open (e.g. the shell-level inline `Drawer`
100
+ * that `onClick` opened). Paints the same soft-teal left-to-right fade as a
101
+ * selected row and sets `aria-current="true"`, without needing a selection
102
+ * column. Clear it when the panel closes. Independent of `selectionMode`:
103
+ * a row can be both active and checked.
104
+ */
105
+ isActive?: boolean;
98
106
  }
99
107
  export declare const TableRow: React.ForwardRefExoticComponent<TableRowProps & React.RefAttributes<HTMLTableRowElement>>;
100
108
  export interface TableColumnProps extends React.ThHTMLAttributes<HTMLTableCellElement> {