@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.
- package/DESIGN.md +119 -91
- package/README.md +19 -1
- package/components/ai-elements/chart.js +20 -20
- package/components/ai-elements/inline-citation.js +50 -50
- package/components/ai-elements/message.js +1 -1
- package/components/ai-elements/tool.js +5 -5
- package/components/alert.d.ts +3 -2
- package/components/alert.js +25 -25
- package/components/answer.js +1 -1
- package/components/assistant-ui/action-bar.js +1 -1
- package/components/assistant-ui/attachment.js +68 -49
- package/components/assistant-ui/composer-add-context.js +1 -1
- package/components/assistant-ui/composer-harness.js +5 -4
- package/components/assistant-ui/composer-trigger-popover.js +1 -1
- package/components/assistant-ui/composer.js +13 -13
- package/components/assistant-ui/message-timing.js +6 -6
- package/components/assistant-ui/selection-toolbar.js +5 -5
- package/components/assistant-ui/sources.js +15 -15
- package/components/assistant-ui/tooltip-icon-button.js +18 -14
- package/components/audio-waveform.d.ts +21 -8
- package/components/audio-waveform.js +371 -94
- package/components/autocomplete.js +9 -9
- package/components/breadcrumbs.js +36 -42
- package/components/button.d.ts +16 -1
- package/components/button.js +86 -73
- package/components/card.js +1 -1
- package/components/chart.d.ts +31 -4
- package/components/chart.js +900 -666
- package/components/chip.d.ts +2 -1
- package/components/chip.js +56 -51
- package/components/command-palette.js +12 -12
- package/components/connector-card.d.ts +1 -2
- package/components/connector-card.js +17 -17
- package/components/date-range-picker.js +1 -2
- package/components/drawer.js +9 -10
- package/components/dropdown.js +1 -1
- package/components/empty-state.d.ts +2 -0
- package/components/empty-state.js +17 -15
- package/components/field.js +9 -10
- package/components/file-dropzone.d.ts +6 -3
- package/components/file-dropzone.js +72 -60
- package/components/filters.d.ts +37 -0
- package/components/filters.js +129 -0
- package/components/index.d.ts +1 -0
- package/components/index.js +447 -444
- package/components/infinite-canvas.js +9 -9
- package/components/modal.d.ts +2 -1
- package/components/modal.js +102 -91
- package/components/page-body.js +8 -8
- package/components/popover.d.ts +6 -1
- package/components/popover.js +75 -65
- package/components/progress-circle.d.ts +1 -1
- package/components/progress-circle.js +57 -48
- package/components/segmented.d.ts +1 -0
- package/components/segmented.js +34 -36
- package/components/select.js +2 -2
- package/components/selection-action-bar.js +32 -31
- package/components/setting-row.js +10 -10
- package/components/sidebar.d.ts +15 -0
- package/components/sidebar.js +186 -149
- package/components/slider.js +5 -5
- package/components/stepper.d.ts +1 -1
- package/components/stepper.js +1 -1
- package/components/switch.js +10 -10
- package/components/table.d.ts +10 -2
- package/components/table.js +380 -366
- package/components/tabs.d.ts +6 -1
- package/components/tabs.js +32 -29
- package/components/timeline.js +3 -3
- package/components/toast.js +53 -56
- package/components/ui/button.js +4 -4
- package/components/ui/dialog.js +1 -1
- package/components/viz-charts.js +263 -221
- package/demo/components/add-to-artifact.js +3 -2
- package/examples/README.md +31 -0
- package/examples/agents-screen.tsx +477 -0
- package/examples/campaign-analysis-screen.tsx +138 -0
- package/examples/campaigns-screen.tsx +439 -0
- package/examples/settings-screen.tsx +90 -0
- package/examples/workspace-header.tsx +71 -0
- package/lib/icons.d.ts +8 -0
- package/lib/icons.js +171 -118
- package/llms.txt +93 -29
- package/manifest.json +1660 -113
- package/package.json +1 -1
- package/styles.css +55 -68
- package/theme.css +50 -59
package/components/switch.js
CHANGED
|
@@ -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
|
|
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
|
-
},
|
|
18
|
+
}, v = c.forwardRef(
|
|
19
19
|
({
|
|
20
20
|
className: m,
|
|
21
21
|
checked: t = !1,
|
|
22
22
|
onCheckedChange: e,
|
|
23
|
-
size:
|
|
23
|
+
size: f = "md",
|
|
24
24
|
disabled: s,
|
|
25
25
|
children: o,
|
|
26
26
|
...r
|
|
27
|
-
},
|
|
28
|
-
const l =
|
|
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:
|
|
40
|
+
ref: u,
|
|
41
41
|
type: "button",
|
|
42
42
|
role: "switch",
|
|
43
43
|
"aria-checked": t,
|
|
44
|
-
"aria-labelledby":
|
|
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
|
|
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
|
-
|
|
78
|
+
v.displayName = "Switch";
|
|
79
79
|
export {
|
|
80
|
-
|
|
80
|
+
v as Switch
|
|
81
81
|
};
|
package/components/table.d.ts
CHANGED
|
@@ -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`
|
|
37
|
-
*
|
|
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> {
|