@actioneer/ads 0.5.9 → 0.7.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 (116) hide show
  1. package/components/ai-elements/agent-trace.d.ts +2 -2
  2. package/components/ai-elements/agent-trace.js +163 -104
  3. package/components/ai-elements/chain-of-thought.d.ts +2 -2
  4. package/components/ai-elements/chain-of-thought.js +1 -1
  5. package/components/ai-elements/index.d.ts +0 -5
  6. package/components/ai-elements/inline-citation.js +1 -1
  7. package/components/alert.d.ts +6 -6
  8. package/components/alert.js +89 -53
  9. package/components/answer-sources.d.ts +2 -6
  10. package/components/answer-sources.js +58 -60
  11. package/components/answer.d.ts +5 -0
  12. package/components/answer.js +311 -271
  13. package/components/assistant-ui/composer-harness.js +11 -14
  14. package/components/assistant-ui/composer.d.ts +3 -1
  15. package/components/assistant-ui/composer.js +148 -144
  16. package/components/assistant-ui/index.d.ts +0 -3
  17. package/components/assistant-ui/thread-context.d.ts +3 -1
  18. package/components/assistant-ui/thread.js +50 -42
  19. package/components/avatar.js +42 -42
  20. package/components/badge.d.ts +5 -6
  21. package/components/badge.js +13 -76
  22. package/components/body-page-header.d.ts +15 -0
  23. package/components/body-page-header.js +24 -0
  24. package/components/brand-loader.d.ts +0 -3
  25. package/components/brand-loader.js +10 -32
  26. package/components/breadcrumbs.d.ts +1 -8
  27. package/components/breadcrumbs.js +65 -78
  28. package/components/button.d.ts +1 -1
  29. package/components/button.js +55 -49
  30. package/components/card.js +19 -18
  31. package/components/chart.js +526 -503
  32. package/components/chip.d.ts +13 -1
  33. package/components/chip.js +93 -80
  34. package/components/collection-header.d.ts +17 -0
  35. package/components/collection-header.js +31 -0
  36. package/components/connector-card.d.ts +6 -6
  37. package/components/connector-card.js +31 -32
  38. package/components/date-range-picker.d.ts +26 -0
  39. package/components/date-range-picker.js +223 -0
  40. package/components/drawer.d.ts +19 -3
  41. package/components/drawer.js +143 -116
  42. package/components/dropdown.d.ts +1 -2
  43. package/components/dropdown.js +88 -89
  44. package/components/field.js +39 -34
  45. package/components/file-dropzone.js +1 -1
  46. package/components/index.d.ts +5 -4
  47. package/components/index.js +501 -546
  48. package/components/infinite-canvas.js +24 -24
  49. package/components/input-field.d.ts +18 -3
  50. package/components/input-field.js +88 -72
  51. package/components/input.js +16 -15
  52. package/components/modal.d.ts +31 -3
  53. package/components/modal.js +243 -169
  54. package/components/number-field.js +45 -42
  55. package/components/page-body.d.ts +12 -0
  56. package/components/page-body.js +18 -0
  57. package/components/pagination.js +36 -36
  58. package/components/panel.js +31 -28
  59. package/components/select.d.ts +21 -0
  60. package/components/select.js +189 -148
  61. package/components/setting-row.d.ts +6 -5
  62. package/components/setting-row.js +33 -32
  63. package/components/sidebar.d.ts +2 -0
  64. package/components/sidebar.js +165 -155
  65. package/components/skeleton.js +8 -7
  66. package/components/slider.js +1 -1
  67. package/components/surface-loader.d.ts +11 -0
  68. package/components/surface-loader.js +35 -0
  69. package/components/table.d.ts +16 -10
  70. package/components/table.js +426 -410
  71. package/components/tabs.d.ts +2 -0
  72. package/components/tabs.js +159 -294
  73. package/components/textarea.js +9 -9
  74. package/components/toast.d.ts +1 -1
  75. package/components/toast.js +181 -118
  76. package/components/tree.d.ts +5 -1
  77. package/components/tree.js +96 -63
  78. package/components/typography.d.ts +4 -4
  79. package/components/typography.js +13 -13
  80. package/components/ui/button.d.ts +1 -1
  81. package/components/ui/dialog.js +33 -33
  82. package/components/viz-charts.js +186 -183
  83. package/demo/components/add-to-artifact.js +8 -10
  84. package/fonts.css +2 -0
  85. package/lib/cn.js +11 -4
  86. package/lib/icons.d.ts +4 -0
  87. package/lib/icons.js +107 -106
  88. package/lib/interactive.d.ts +1 -1
  89. package/llms.txt +115 -152
  90. package/manifest.json +13730 -1084
  91. package/package.json +4 -2
  92. package/styles.css +365 -225
  93. package/theme.css +315 -176
  94. package/components/agent-icon.d.ts +0 -76
  95. package/components/agent-icon.js +0 -265
  96. package/components/ai-elements/queue.d.ts +0 -60
  97. package/components/ai-elements/queue.js +0 -193
  98. package/components/ai-elements/speech-input.d.ts +0 -16
  99. package/components/ai-elements/speech-input.js +0 -151
  100. package/components/ai-elements/task-progress.d.ts +0 -41
  101. package/components/ai-elements/task-progress.js +0 -224
  102. package/components/ai-elements/task.d.ts +0 -39
  103. package/components/ai-elements/task.js +0 -105
  104. package/components/ai-elements/voice.d.ts +0 -90
  105. package/components/ai-elements/voice.js +0 -496
  106. package/components/assistant-ui/follow-up-suggestions.d.ts +0 -11
  107. package/components/assistant-ui/follow-up-suggestions.js +0 -72
  108. package/components/assistant-ui/suggestions.d.ts +0 -7
  109. package/components/assistant-ui/suggestions.js +0 -19
  110. package/components/assistant-ui/voice.d.ts +0 -18
  111. package/components/link.d.ts +0 -14
  112. package/components/link.js +0 -72
  113. package/components/navbar.d.ts +0 -15
  114. package/components/navbar.js +0 -68
  115. package/components/pixel-icon.d.ts +0 -37
  116. package/components/pixel-icon.js +0 -859
@@ -12,11 +12,16 @@ export type SelectionMode = "none" | "single" | "multiple";
12
12
  /** `"all"` selects every current key without enumerating them. */
13
13
  export type Selection = Set<string> | "all";
14
14
  export interface TableProps extends Omit<React.TableHTMLAttributes<HTMLTableElement>, "onSelect"> {
15
- /** Class applied to the outer shell (the gray rounded surface). */
15
+ /** Class applied to the outer rounded table surface. */
16
16
  wrapperClassName?: string;
17
17
  /**
18
- * Optional footer rendered inside the shell, on the gray, below the
19
- * table card — the HeroUI table-footer slot. Pagination lives here.
18
+ * Optional controls rendered above the table, aligned to its top-right.
19
+ * Use this slot for consumer-owned filtering, search, and table actions.
20
+ */
21
+ toolbar?: React.ReactNode;
22
+ /**
23
+ * Optional footer rendered inside the table surface below the rows.
24
+ * Pagination lives here.
20
25
  */
21
26
  footer?: React.ReactNode;
22
27
  selectionMode?: SelectionMode;
@@ -26,8 +31,8 @@ export interface TableProps extends Omit<React.TableHTMLAttributes<HTMLTableElem
26
31
  rowKeys?: string[];
27
32
  /**
28
33
  * Turns the final `sticky="right"` column into a persistent action surface.
29
- * Its cells stay on `bg-elevated` while one Table-level `shadow-elevation`
30
- * spans the body below the muted header instead of repeating on every cell.
34
+ * Its cells stay on `bg-elevated` while one flat Table-level
35
+ * `shadow-elevation` compatibility hook spans the body below the NG1 header.
31
36
  * The matching header cell stays transparent and scrolls normally, so it
32
37
  * never becomes a blank sticky surface over the header labels.
33
38
  */
@@ -39,10 +44,9 @@ export interface TableProps extends Omit<React.TableHTMLAttributes<HTMLTableElem
39
44
  /** Enable sortable data-column headers. Defaults to true. */
40
45
  allowsSorting?: boolean;
41
46
  /**
42
- * A purely display table: no row hover/focus wash, no selection. Set this
43
- * when rows have nothing to click — a plain data grid — so hovering never
44
- * implies an action that doesn't exist (principle 2). Leave unset for any
45
- * table with row selection, sorting, or a click-through action.
47
+ * Explicitly suppress row hover/focus washes. Display-only rows already omit
48
+ * hover automatically; use this to keep a table static even when a row has
49
+ * an event handler or disclosure state.
46
50
  */
47
51
  isStatic?: boolean;
48
52
  /**
@@ -56,7 +60,7 @@ export interface TableProps extends Omit<React.TableHTMLAttributes<HTMLTableElem
56
60
  resizableColumns?: boolean;
57
61
  /**
58
62
  * Caps the table's height: the viewport scrolls vertically inside the
59
- * shell and the header row pins to its top (painted on the shell gray so
63
+ * shell and the header row pins to its top (painted on the table surface so
60
64
  * body rows pass underneath). For long results read in place — an
61
65
  * expanded board table, a log — instead of pagination.
62
66
  */
@@ -77,6 +81,8 @@ export declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttrib
77
81
  export interface TableRowProps extends React.HTMLAttributes<HTMLTableRowElement> {
78
82
  /** Stable key for selection (required on body rows to be selectable). */
79
83
  rowKey?: string;
84
+ /** Explicitly marks a row as opening or expanding something. */
85
+ isInteractive?: boolean;
80
86
  }
81
87
  export declare const TableRow: React.ForwardRefExoticComponent<TableRowProps & React.RefAttributes<HTMLTableRowElement>>;
82
88
  export interface TableColumnProps extends React.ThHTMLAttributes<HTMLTableCellElement> {