@actioneer/ads 0.6.0 → 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 (112) 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 +15 -20
  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 +0 -7
  27. package/components/breadcrumbs.js +54 -71
  28. package/components/button.d.ts +1 -1
  29. package/components/button.js +55 -49
  30. package/components/chart.js +298 -296
  31. package/components/chip.d.ts +13 -1
  32. package/components/chip.js +93 -80
  33. package/components/collection-header.d.ts +17 -0
  34. package/components/collection-header.js +31 -0
  35. package/components/connector-card.d.ts +6 -6
  36. package/components/connector-card.js +31 -32
  37. package/components/date-range-picker.d.ts +2 -1
  38. package/components/date-range-picker.js +158 -122
  39. package/components/drawer.d.ts +19 -3
  40. package/components/drawer.js +109 -100
  41. package/components/dropdown.d.ts +1 -2
  42. package/components/dropdown.js +88 -89
  43. package/components/field.js +39 -34
  44. package/components/file-dropzone.js +1 -1
  45. package/components/index.d.ts +4 -4
  46. package/components/index.js +499 -546
  47. package/components/infinite-canvas.js +24 -24
  48. package/components/input-field.d.ts +18 -3
  49. package/components/input-field.js +88 -72
  50. package/components/input.js +16 -15
  51. package/components/modal.d.ts +31 -3
  52. package/components/modal.js +243 -169
  53. package/components/number-field.js +45 -42
  54. package/components/page-body.d.ts +12 -0
  55. package/components/page-body.js +18 -0
  56. package/components/pagination.js +36 -36
  57. package/components/select.d.ts +21 -0
  58. package/components/select.js +189 -148
  59. package/components/setting-row.d.ts +6 -5
  60. package/components/setting-row.js +33 -32
  61. package/components/sidebar.d.ts +2 -0
  62. package/components/sidebar.js +165 -155
  63. package/components/skeleton.js +8 -7
  64. package/components/slider.js +1 -1
  65. package/components/surface-loader.d.ts +11 -0
  66. package/components/surface-loader.js +35 -0
  67. package/components/table.d.ts +16 -10
  68. package/components/table.js +426 -410
  69. package/components/tabs.d.ts +2 -0
  70. package/components/tabs.js +159 -294
  71. package/components/textarea.js +9 -9
  72. package/components/toast.d.ts +1 -1
  73. package/components/toast.js +181 -118
  74. package/components/tree.d.ts +5 -1
  75. package/components/tree.js +54 -49
  76. package/components/typography.d.ts +4 -4
  77. package/components/typography.js +13 -13
  78. package/components/ui/button.d.ts +1 -1
  79. package/components/ui/dialog.js +33 -33
  80. package/demo/components/add-to-artifact.js +6 -10
  81. package/lib/cn.js +11 -4
  82. package/lib/icons.d.ts +4 -0
  83. package/lib/icons.js +107 -106
  84. package/lib/interactive.d.ts +1 -1
  85. package/llms.txt +95 -152
  86. package/manifest.json +1628 -2729
  87. package/package.json +1 -2
  88. package/styles.css +347 -223
  89. package/theme.css +303 -177
  90. package/components/agent-icon.d.ts +0 -76
  91. package/components/agent-icon.js +0 -265
  92. package/components/ai-elements/queue.d.ts +0 -60
  93. package/components/ai-elements/queue.js +0 -193
  94. package/components/ai-elements/speech-input.d.ts +0 -16
  95. package/components/ai-elements/speech-input.js +0 -151
  96. package/components/ai-elements/task-progress.d.ts +0 -41
  97. package/components/ai-elements/task-progress.js +0 -224
  98. package/components/ai-elements/task.d.ts +0 -39
  99. package/components/ai-elements/task.js +0 -105
  100. package/components/ai-elements/voice.d.ts +0 -90
  101. package/components/ai-elements/voice.js +0 -496
  102. package/components/assistant-ui/follow-up-suggestions.d.ts +0 -11
  103. package/components/assistant-ui/follow-up-suggestions.js +0 -72
  104. package/components/assistant-ui/suggestions.d.ts +0 -7
  105. package/components/assistant-ui/suggestions.js +0 -19
  106. package/components/assistant-ui/voice.d.ts +0 -18
  107. package/components/link.d.ts +0 -14
  108. package/components/link.js +0 -72
  109. package/components/navbar.d.ts +0 -15
  110. package/components/navbar.js +0 -68
  111. package/components/pixel-icon.d.ts +0 -37
  112. package/components/pixel-icon.js +0 -859
@@ -1,13 +1,25 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from "react";
3
3
  declare const chipVariants: (props?: ({
4
- variant?: "soft" | "outline" | "solid" | "dot" | null | undefined;
4
+ variant?: "outline" | "solid" | null | undefined;
5
5
  color?: "success" | "warning" | "danger" | "info" | "default" | "primary" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export type ChipInteraction = "actionable" | "non-actionable";
7
8
  export interface ChipProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, "color">, VariantProps<typeof chipVariants> {
9
+ /**
10
+ * Chips have two interaction types. Actionable chips render as native
11
+ * buttons for an independent action or setting; non-actionable chips remain
12
+ * descriptive inline labels. Use `aria-pressed` for a toggle such as
13
+ * "Alerts on/off". Use tabs or segmented controls for mutually exclusive
14
+ * selection.
15
+ */
16
+ interaction?: ChipInteraction;
17
+ /** @deprecated Use `interaction="actionable"`. */
18
+ isPressable?: boolean;
8
19
  onClose?: () => void;
9
20
  startContent?: React.ReactNode;
10
21
  avatar?: React.ReactNode;
22
+ showDot?: boolean;
11
23
  }
12
24
  export declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLSpanElement>>;
13
25
  export {};
@@ -1,18 +1,16 @@
1
1
  "use client";
2
- import { jsxs as g, jsx as r } from "react/jsx-runtime";
3
- import * as f from "react";
4
- import { cva as u } from "class-variance-authority";
5
- import { Close as m } from "../lib/icons.js";
6
- import { cn as o } from "../lib/cn.js";
7
- const b = u(
8
- "inline-flex items-center gap-1.5 rounded-full px-3 py-1 text-xs font-normal whitespace-nowrap",
2
+ import { jsxs as x, Fragment as h, jsx as e } from "react/jsx-runtime";
3
+ import * as N from "react";
4
+ import { cva as y } from "class-variance-authority";
5
+ import { Close as w } from "../lib/icons.js";
6
+ import { cn as i } from "../lib/cn.js";
7
+ const k = y(
8
+ "inline-flex h-6 items-center gap-1 whitespace-nowrap rounded-[4px] border px-2 py-0 text-s font-medium leading-[var(--text-s--line-height)]",
9
9
  {
10
10
  variants: {
11
11
  variant: {
12
12
  solid: "",
13
- soft: "",
14
- outline: "bg-transparent border",
15
- dot: "bg-transparent border border-border text-foreground"
13
+ outline: ""
16
14
  },
17
15
  color: {
18
16
  default: "",
@@ -24,89 +22,104 @@ const b = u(
24
22
  }
25
23
  },
26
24
  compoundVariants: [
27
- // solid
28
- { variant: "solid", color: "default", className: "bg-fill text-fill-foreground" },
29
- { variant: "solid", color: "primary", className: "bg-foreground text-background" },
30
- { variant: "solid", color: "success", className: "bg-success text-success-foreground" },
31
- { variant: "solid", color: "warning", className: "bg-warning text-warning-foreground" },
32
- { variant: "solid", color: "danger", className: "bg-danger text-danger-foreground" },
33
- { variant: "solid", color: "info", className: "bg-info text-info-foreground" },
34
- // soft
35
- { variant: "soft", color: "default", className: "bg-muted text-muted-foreground" },
36
- { variant: "soft", color: "primary", className: "bg-fill text-fill-foreground" },
37
- { variant: "soft", color: "success", className: "bg-success-50 text-success-700" },
38
- { variant: "soft", color: "warning", className: "bg-warning-50 text-warning-700" },
39
- { variant: "soft", color: "danger", className: "bg-danger-50 text-danger-700" },
40
- { variant: "soft", color: "info", className: "bg-info-50 text-info-700" },
25
+ // solid — the default tinted surface
26
+ { variant: "solid", color: "default", className: "border-ng6 bg-ng2 text-muted-foreground" },
27
+ { variant: "solid", color: "primary", className: "border-ng5 bg-fill text-fill-foreground" },
28
+ { variant: "solid", color: "success", className: "border-success-400 bg-success-50 text-success-700" },
29
+ { variant: "solid", color: "warning", className: "border-warning-300 bg-warning-50 text-warning-700" },
30
+ { variant: "solid", color: "danger", className: "border-danger-300 bg-danger-50 text-danger-700" },
31
+ { variant: "solid", color: "info", className: "border-info-300 bg-info-50 text-info-700" },
41
32
  // outline
42
- { variant: "outline", color: "default", className: "border-border-strong text-foreground" },
43
- { variant: "outline", color: "primary", className: "border-border-strong text-foreground" },
44
- { variant: "outline", color: "success", className: "border-success-100 text-success-700" },
45
- { variant: "outline", color: "warning", className: "border-warning-100 text-warning-700" },
46
- { variant: "outline", color: "danger", className: "border-danger-100 text-danger-700" },
47
- { variant: "outline", color: "info", className: "border-info-100 text-info-700" }
33
+ { variant: "outline", color: "default", className: "border-border-strong bg-card text-foreground" },
34
+ { variant: "outline", color: "primary", className: "border-border-strong bg-card text-foreground" },
35
+ { variant: "outline", color: "success", className: "border-success-400 bg-success-50 text-success-700" },
36
+ { variant: "outline", color: "warning", className: "border-warning-400 bg-warning-50 text-warning-700" },
37
+ { variant: "outline", color: "danger", className: "border-danger-400 bg-danger-50 text-danger-700" },
38
+ { variant: "outline", color: "info", className: "border-info-400 bg-info-50 text-info-700" }
48
39
  ],
49
- defaultVariants: { variant: "soft", color: "default" }
40
+ defaultVariants: { variant: "solid", color: "default" }
50
41
  }
51
- ), p = {
42
+ ), z = {
52
43
  default: "bg-muted-foreground",
53
44
  primary: "bg-foreground",
54
45
  success: "bg-success",
55
46
  warning: "bg-warning",
56
47
  danger: "bg-danger",
57
48
  info: "bg-info"
58
- }, x = f.forwardRef(
49
+ }, j = N.forwardRef(
59
50
  ({
60
- className: i,
61
- variant: n = "soft",
62
- color: s = "default",
63
- onClose: e,
51
+ className: u,
52
+ variant: b = "solid",
53
+ color: o = "default",
54
+ interaction: f,
55
+ isPressable: m = !1,
56
+ onClose: r,
64
57
  startContent: t,
65
58
  avatar: a,
66
- children: l,
67
- ...c
68
- }, d) => /* @__PURE__ */ g(
69
- "span",
70
- {
71
- ref: d,
72
- className: o(
73
- b({ variant: n, color: s }),
74
- a && "pl-1",
75
- e && "pr-1.5",
76
- i
59
+ showDot: p = !1,
60
+ children: v,
61
+ ...s
62
+ }, c) => {
63
+ const n = r ? "actionable" : f ?? (m ? "actionable" : "non-actionable"), l = n === "actionable" && !r, d = i(
64
+ k({ variant: b, color: o }),
65
+ a && "pl-1",
66
+ r && "pr-1.5",
67
+ l && "cursor-pointer select-none shadow-100 outline-none transition-[background,border,color,box-shadow,transform] duration-150 ease-out data-[interaction=actionable]:border-action-primary data-[interaction=actionable]:bg-card data-[interaction=actionable]:text-action-primary-text hover:-translate-y-px hover:bg-action-primary-soft hover:shadow-200 active:translate-y-0 active:scale-[0.97] active:bg-action-primary-soft aria-pressed:border-success-400! aria-pressed:bg-success-50! aria-pressed:text-success-700! focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background motion-reduce:transition-none motion-reduce:hover:translate-y-0 motion-reduce:active:scale-100",
68
+ u
69
+ ), g = /* @__PURE__ */ x(h, { children: [
70
+ a && /* @__PURE__ */ e("span", { className: "-ml-0.5 inline-flex shrink-0", children: a }),
71
+ p && /* @__PURE__ */ e(
72
+ "span",
73
+ {
74
+ "aria-hidden": !0,
75
+ className: i(
76
+ "size-1.5",
77
+ "rounded-dot",
78
+ z[o ?? "default"]
79
+ )
80
+ }
77
81
  ),
78
- ...c,
79
- children: [
80
- a && /* @__PURE__ */ r("span", { className: "-ml-0.5 inline-flex shrink-0", children: a }),
81
- n === "dot" && /* @__PURE__ */ r(
82
- "span",
83
- {
84
- "aria-hidden": !0,
85
- className: o("size-2 rounded-dot", p[s ?? "default"])
86
- }
87
- ),
88
- t && /* @__PURE__ */ r("span", { className: "inline-flex shrink-0 [&_svg]:size-4", children: t }),
89
- l,
90
- e && /* @__PURE__ */ r(
91
- "button",
92
- {
93
- type: "button",
94
- "aria-label": "Remove",
95
- onClick: e,
96
- className: o(
97
- "inline-flex size-4 shrink-0 items-center justify-center rounded-full",
98
- "opacity-60 transition-opacity hover:opacity-100",
99
- "outline-none focus-visible:ring-3 focus-visible:ring-ring",
100
- "[&_svg]:size-3"
101
- ),
102
- children: /* @__PURE__ */ r(m, { "aria-hidden": !0 })
103
- }
104
- )
105
- ]
106
- }
107
- )
82
+ t && /* @__PURE__ */ e("span", { className: "inline-flex shrink-0 [&_svg]:size-3.5", children: t }),
83
+ v,
84
+ r && /* @__PURE__ */ e(
85
+ "button",
86
+ {
87
+ type: "button",
88
+ "aria-label": "Remove",
89
+ onClick: r,
90
+ className: i(
91
+ "inline-flex size-4 shrink-0 items-center justify-center rounded-full",
92
+ "opacity-60 transition-opacity hover:opacity-100",
93
+ "outline-none focus-visible:ring-3 focus-visible:ring-ring",
94
+ "[&_svg]:size-3"
95
+ ),
96
+ children: /* @__PURE__ */ e(w, { "aria-hidden": !0 })
97
+ }
98
+ )
99
+ ] });
100
+ return l ? /* @__PURE__ */ e(
101
+ "button",
102
+ {
103
+ ref: c,
104
+ type: "button",
105
+ "data-interaction": n,
106
+ className: d,
107
+ ...s,
108
+ children: g
109
+ }
110
+ ) : /* @__PURE__ */ e(
111
+ "span",
112
+ {
113
+ ref: c,
114
+ "data-interaction": n,
115
+ className: d,
116
+ ...s,
117
+ children: g
118
+ }
119
+ );
120
+ }
108
121
  );
109
- x.displayName = "Chip";
122
+ j.displayName = "Chip";
110
123
  export {
111
- x as Chip
124
+ j as Chip
112
125
  };
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ export interface CollectionHeaderProps extends Omit<React.HTMLAttributes<HTMLElement>, "title"> {
3
+ /** Product or destination icon rendered before the title. */
4
+ icon: React.ReactNode;
5
+ /** Collection or top-level destination title. */
6
+ title: React.ReactNode;
7
+ /** Optional compact metadata rendered beside the title. */
8
+ meta?: React.ReactNode;
9
+ /** Search and page-level actions rendered at the trailing edge. */
10
+ actions?: React.ReactNode;
11
+ }
12
+ /**
13
+ * Canonical header for top-level collections and sidebar destinations.
14
+ * It aligns with the sidebar brand row, carries the destination icon, and
15
+ * owns the subtle bottom separator used by ADS product shells.
16
+ */
17
+ export declare const CollectionHeader: React.ForwardRefExoticComponent<CollectionHeaderProps & React.RefAttributes<HTMLElement>>;
@@ -0,0 +1,31 @@
1
+ "use client";
2
+ import { jsxs as a, jsx as e } from "react/jsx-runtime";
3
+ import * as c from "react";
4
+ import { cn as d } from "../lib/cn.js";
5
+ const f = c.forwardRef(
6
+ ({ className: n, icon: s, title: i, meta: r, actions: t, ...l }, o) => /* @__PURE__ */ a(
7
+ "header",
8
+ {
9
+ ref: o,
10
+ className: d(
11
+ "relative flex h-(--sidebar-header) shrink-0 items-center justify-between gap-4 px-6",
12
+ "after:pointer-events-none after:absolute after:inset-x-0 after:bottom-0 after:h-px",
13
+ "after:bg-[linear-gradient(to_right,var(--color-border)_0%,transparent_100%)] after:content-['']",
14
+ n
15
+ ),
16
+ ...l,
17
+ children: [
18
+ /* @__PURE__ */ a("div", { className: "flex min-w-0 items-center gap-2.5", children: [
19
+ /* @__PURE__ */ e("span", { className: "shrink-0 text-foreground [&_svg]:size-4", "aria-hidden": "true", children: s }),
20
+ /* @__PURE__ */ e("h1", { className: "truncate text-base font-semibold text-foreground", children: i }),
21
+ r ? /* @__PURE__ */ e("span", { className: "shrink-0 text-xs tabular-nums text-secondary", children: r }) : null
22
+ ] }),
23
+ t ? /* @__PURE__ */ e("div", { className: "flex shrink-0 items-center gap-2", children: t }) : null
24
+ ]
25
+ }
26
+ )
27
+ );
28
+ f.displayName = "CollectionHeader";
29
+ export {
30
+ f as CollectionHeader
31
+ };
@@ -4,9 +4,9 @@ import * as React from "react";
4
4
  * screen. Structure: identity row (logo + name + schema + connection status),
5
5
  * a tinted health strip, and a recessed footer with a usage metric + action.
6
6
  *
7
- * On-principle: elevation marks actionability — the card carries
8
- * `shadow-elevation` only when clickable (`onOpen`); otherwise it sits flat,
9
- * delineated by fill. The health strip uses a soft status tint and the footer
7
+ * The clickable state retains the flat `shadow-elevation` compatibility hook;
8
+ * add a numbered elevation utility only after an explicit user request. The
9
+ * health strip uses a soft status tint and the footer
10
10
  * steps down to `bg-muted`.
11
11
  */
12
12
  /**
@@ -54,9 +54,9 @@ export interface ConnectionStatusProps {
54
54
  label?: string;
55
55
  }
56
56
  /**
57
- * Square status dot + muted sync label — the connection-state language of
58
- * the connector cards. Exported so detail screens render the same status
59
- * the same way.
57
+ * Muted sync label for healthy connections; exceptional disconnected states
58
+ * retain the stronger status-chip treatment. Exported so detail screens render
59
+ * the same status the same way.
60
60
  */
61
61
  export declare function ConnectionStatus({ connected, lastSync, label: labelOverride, }: ConnectionStatusProps): React.JSX.Element;
62
62
  export declare const ConnectorCard: React.ForwardRefExoticComponent<ConnectorCardProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,13 +1,14 @@
1
1
  "use client";
2
2
  import { jsxs as r, Fragment as f, jsx as t } from "react/jsx-runtime";
3
- import * as h from "react";
4
- import { Database as x, ChevronRight as b } from "../lib/icons.js";
3
+ import * as g from "react";
4
+ import { Chip as x } from "./chip.js";
5
+ import { Database as b, ChevronRight as p } from "../lib/icons.js";
5
6
  import { cn as o } from "../lib/cn.js";
6
7
  const u = {
7
8
  issue: { band: "bg-linear-to-r from-danger-50 to-danger-50/0" },
8
9
  healthy: { band: "bg-linear-to-r from-success-50 to-success-50/0" }
9
10
  };
10
- function p(s) {
11
+ function y(s) {
11
12
  const e = /* @__PURE__ */ new Date();
12
13
  if (s.toDateString() === e.toDateString())
13
14
  return `Last sync at ${s.toLocaleTimeString("en-US", { hour: "numeric", minute: "2-digit" })}`;
@@ -24,27 +25,27 @@ function p(s) {
24
25
  }
25
26
  return `Last sync from ${a}`;
26
27
  }
27
- function y({
28
+ function N({
28
29
  connected: s,
29
30
  lastSync: e,
30
31
  label: n
31
32
  }) {
32
- const a = n ?? (s ? e ? p(e) : "Connected" : "Disconnected");
33
- return /* @__PURE__ */ r("span", { className: "inline-flex shrink-0 items-center gap-1.5 whitespace-nowrap text-xs text-tertiary", children: [
34
- /* @__PURE__ */ t(
35
- "span",
36
- {
37
- "aria-hidden": !0,
38
- className: o(
39
- "size-2 rounded-dot",
40
- s ? "bg-success" : "bg-danger"
41
- )
42
- }
43
- ),
33
+ const a = n ?? (s ? e ? y(e) : "Connected" : "Disconnected");
34
+ return s ? /* @__PURE__ */ r("span", { className: "inline-flex shrink-0 items-center gap-1.5 whitespace-nowrap text-xs text-tertiary", children: [
35
+ /* @__PURE__ */ t("span", { "aria-hidden": !0, className: "size-2 rounded-dot bg-success" }),
44
36
  a
45
- ] });
37
+ ] }) : /* @__PURE__ */ t(
38
+ x,
39
+ {
40
+ variant: "solid",
41
+ color: "danger",
42
+ showDot: !0,
43
+ className: "shrink-0",
44
+ children: a
45
+ }
46
+ );
46
47
  }
47
- function N({ strip: s }) {
48
+ function v({ strip: s }) {
48
49
  const e = u[s.tint] ?? u.issue;
49
50
  return /* @__PURE__ */ t(
50
51
  "div",
@@ -65,10 +66,10 @@ function N({ strip: s }) {
65
66
  }
66
67
  );
67
68
  }
68
- const v = h.forwardRef(
69
+ const w = g.forwardRef(
69
70
  ({ className: s, card: e, onOpen: n, ...a }, i) => {
70
71
  var m;
71
- const c = !!n, g = ((m = e.action) == null ? void 0 : m.tone) === "reconnect", l = /* @__PURE__ */ r(f, { children: [
72
+ const c = !!n, h = ((m = e.action) == null ? void 0 : m.tone) === "reconnect", l = /* @__PURE__ */ r(f, { children: [
72
73
  /* @__PURE__ */ r("div", { className: "rounded-t-xl p-[var(--card-padding)]", children: [
73
74
  /* @__PURE__ */ r("div", { className: "mb-5 flex items-center gap-3.5", children: [
74
75
  e.logo ? /* @__PURE__ */ t(
@@ -78,12 +79,12 @@ const v = h.forwardRef(
78
79
  alt: "",
79
80
  className: "size-10 shrink-0 rounded-md object-contain"
80
81
  }
81
- ) : /* @__PURE__ */ t("span", { className: "grid size-10 shrink-0 place-items-center rounded-md bg-muted text-secondary", children: /* @__PURE__ */ t(x, { className: "size-5", "aria-hidden": !0 }) }),
82
+ ) : /* @__PURE__ */ t("span", { className: "grid size-10 shrink-0 place-items-center rounded-md bg-muted text-secondary", children: /* @__PURE__ */ t(b, { className: "size-5", "aria-hidden": !0 }) }),
82
83
  /* @__PURE__ */ r("div", { className: "min-w-0 flex-1", children: [
83
84
  /* @__PURE__ */ r("div", { className: "flex items-baseline justify-between gap-3", children: [
84
85
  /* @__PURE__ */ t("div", { className: "min-w-0 truncate text-base font-medium leading-tight text-foreground", children: e.name }),
85
86
  /* @__PURE__ */ t(
86
- y,
87
+ N,
87
88
  {
88
89
  connected: e.connected,
89
90
  lastSync: e.lastSync
@@ -93,16 +94,14 @@ const v = h.forwardRef(
93
94
  e.schema && /* @__PURE__ */ t("div", { className: "mt-0.5 truncate text-xs tabular-nums text-tertiary", children: e.schema })
94
95
  ] })
95
96
  ] }),
96
- /* @__PURE__ */ t(N, { strip: e.strip })
97
+ /* @__PURE__ */ t(v, { strip: e.strip })
97
98
  ] }),
98
99
  /* @__PURE__ */ r("div", { className: "flex items-center justify-between gap-3 rounded-b-xl bg-ink-100 px-[var(--card-padding)] py-3", children: [
99
100
  /* @__PURE__ */ t(
100
101
  "span",
101
102
  {
102
- className: o(
103
- "min-w-0 truncate text-xs",
104
- "text-secondary"
105
- ),
103
+ className: "min-w-0 truncate text-xs",
104
+ style: { color: "var(--text-secondary)" },
106
105
  children: e.footer.text
107
106
  }
108
107
  ),
@@ -111,11 +110,11 @@ const v = h.forwardRef(
111
110
  {
112
111
  className: o(
113
112
  "inline-flex shrink-0 items-center gap-0.5 text-xs font-normal",
114
- g ? "text-danger" : "text-foreground"
113
+ h ? "text-danger" : "text-foreground"
115
114
  ),
116
115
  children: [
117
116
  e.action.label,
118
- /* @__PURE__ */ t(b, { strokeWidth: 2, className: "size-3.5" })
117
+ /* @__PURE__ */ t(p, { strokeWidth: 2, className: "size-3.5" })
119
118
  ]
120
119
  }
121
120
  )
@@ -147,8 +146,8 @@ const v = h.forwardRef(
147
146
  ) : /* @__PURE__ */ t("div", { ref: i, className: d, ...a, children: l });
148
147
  }
149
148
  );
150
- v.displayName = "ConnectorCard";
149
+ w.displayName = "ConnectorCard";
151
150
  export {
152
- y as ConnectionStatus,
153
- v as ConnectorCard
151
+ N as ConnectionStatus,
152
+ w as ConnectorCard
154
153
  };
@@ -10,6 +10,7 @@ export interface DateRangePickerProps {
10
10
  label?: React.ReactNode;
11
11
  description?: React.ReactNode;
12
12
  errorMessage?: React.ReactNode;
13
+ /** @deprecated Date range fields use a single 32px control height. */
13
14
  size?: "sm" | "md";
14
15
  disabled?: boolean;
15
16
  minValue?: string;
@@ -22,4 +23,4 @@ export interface DateRangePickerProps {
22
23
  * React Aria owns keyboard, focus, locale, and range-selection behavior while
23
24
  * ADS owns every visual token, state, radius, and elevation.
24
25
  */
25
- export declare function DateRangePicker({ value, defaultValue, onChange, label, description, errorMessage, size, disabled, minValue, maxValue, className, "aria-label": ariaLabel, }: DateRangePickerProps): React.JSX.Element;
26
+ export declare function DateRangePicker({ value, defaultValue, onChange, label, description, errorMessage, disabled, minValue, maxValue, className, "aria-label": ariaLabel, }: DateRangePickerProps): React.JSX.Element;