@vllnt/ui 0.4.0-canary.sha36bfa21 → 0.4.0-canary.sha49f831b

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 (105) hide show
  1. package/CHANGELOG.md +170 -6
  2. package/README.md +61 -3
  3. package/dist/components/atoms/accordion/accordion.js +28 -7
  4. package/dist/components/atoms/agent-activity/agent-activity.js +1 -1
  5. package/dist/components/atoms/ai-source-citation/ai-source-citation.js +1 -1
  6. package/dist/components/atoms/alert/alert.js +1 -1
  7. package/dist/components/atoms/alert-pulse/alert-pulse.js +7 -4
  8. package/dist/components/atoms/avatar/avatar.js +129 -24
  9. package/dist/components/atoms/badge/badge.js +84 -5
  10. package/dist/components/atoms/bottom-activity-strip/bottom-activity-strip.js +3 -2
  11. package/dist/components/atoms/breadcrumb/breadcrumb.js +89 -37
  12. package/dist/components/atoms/checklist/checklist.js +2 -2
  13. package/dist/components/atoms/curriculum/curriculum.js +4 -4
  14. package/dist/components/atoms/dialog/dialog.js +4 -2
  15. package/dist/components/atoms/drawer/drawer.js +1 -1
  16. package/dist/components/atoms/dropdown-menu/dropdown-menu.js +1 -1
  17. package/dist/components/atoms/floating-toolbar/floating-toolbar.js +23 -2
  18. package/dist/components/atoms/gauge-chart/gauge-chart.js +1 -1
  19. package/dist/components/atoms/glass-progress/glass-progress.js +1 -1
  20. package/dist/components/atoms/heat-overlay/heat-overlay.js +3 -2
  21. package/dist/components/atoms/jarvis-dock/jarvis-dock.js +2 -2
  22. package/dist/components/atoms/kbd/kbd.js +41 -11
  23. package/dist/components/atoms/keyboard-shortcuts-help/keyboard-shortcuts-help.js +1 -1
  24. package/dist/components/atoms/menubar/menubar.js +1 -1
  25. package/dist/components/atoms/meter/meter.js +2 -2
  26. package/dist/components/atoms/metric-cluster/metric-cluster.js +2 -1
  27. package/dist/components/atoms/policy-delivery-panel/policy-delivery-panel.js +19 -10
  28. package/dist/components/atoms/presence-stack/presence-stack.js +1 -1
  29. package/dist/components/atoms/progress-bar/progress-bar.js +190 -30
  30. package/dist/components/atoms/pull-quote/pull-quote.js +77 -0
  31. package/dist/components/atoms/quiz/quiz.js +2 -2
  32. package/dist/components/atoms/relationship-inspector/relationship-inspector.js +1 -1
  33. package/dist/components/atoms/routing-assignment-panel/routing-assignment-panel.js +20 -11
  34. package/dist/components/atoms/runtime-overview-panel/runtime-overview-panel.js +2 -1
  35. package/dist/components/atoms/scrim/scrim.js +32 -0
  36. package/dist/components/atoms/segmented-control/segmented-control.js +2 -2
  37. package/dist/components/atoms/select/select.js +3 -3
  38. package/dist/components/atoms/sheet/sheet.js +3 -2
  39. package/dist/components/atoms/skeleton/skeleton.js +1 -1
  40. package/dist/components/atoms/state-badge-overlay/state-badge-overlay.js +14 -16
  41. package/dist/components/atoms/stepper/stepper.js +1 -1
  42. package/dist/components/atoms/sticky-metric/sticky-metric.js +2 -1
  43. package/dist/components/atoms/table/table.js +1 -1
  44. package/dist/components/atoms/table-of-contents/table-of-contents.js +1 -1
  45. package/dist/components/atoms/table-of-contents-panel/table-of-contents-panel.js +4 -4
  46. package/dist/components/atoms/tabs/tabs.js +34 -11
  47. package/dist/components/atoms/tag-group/tag-group.js +10 -5
  48. package/dist/components/atoms/tags-input/tags-input.js +1 -1
  49. package/dist/components/atoms/thread-bubble/thread-bubble.js +1 -1
  50. package/dist/components/atoms/threshold-ring/threshold-ring.js +3 -2
  51. package/dist/components/atoms/timeline/timeline.js +15 -3
  52. package/dist/components/atoms/timeline-scrubber/timeline-scrubber.js +3 -2
  53. package/dist/components/atoms/tldr-section/tldr-section.js +5 -5
  54. package/dist/components/atoms/toggle/toggle.js +1 -1
  55. package/dist/components/atoms/view-switcher/view-switcher.js +1 -1
  56. package/dist/components/atoms/viewport-bookmarks/viewport-bookmarks.js +1 -1
  57. package/dist/components/atoms/watchlist/watchlist.js +1 -1
  58. package/dist/components/atoms/workspace-switcher/workspace-switcher.js +1 -1
  59. package/dist/components/index.js +38 -2
  60. package/dist/components/molecules/ai-artifact/ai-artifact.js +2 -12
  61. package/dist/components/molecules/approval-request/approval-request.js +168 -0
  62. package/dist/components/molecules/civilization-card/civilization-card.js +1 -1
  63. package/dist/components/molecules/completion-dialog/completion-dialog.js +1 -1
  64. package/dist/components/molecules/content-intro/content-intro.js +2 -2
  65. package/dist/components/molecules/conversation-thread/conversation-thread.js +5 -5
  66. package/dist/components/molecules/cookie-consent/cookie-consent.js +188 -80
  67. package/dist/components/molecules/copy-button/use-copy-to-clipboard.js +10 -12
  68. package/dist/components/molecules/countdown-timer/countdown-timer.js +1 -1
  69. package/dist/components/molecules/credit-badge/credit-badge.js +13 -16
  70. package/dist/components/molecules/filter-bar/filter-bar.js +2 -2
  71. package/dist/components/molecules/historical-figure-card/historical-figure-card.js +1 -1
  72. package/dist/components/molecules/plan-badge/plan-badge.js +12 -13
  73. package/dist/components/molecules/pricing-table/pricing-table.js +1 -1
  74. package/dist/components/molecules/progress-tracker/progress-tracker.js +8 -17
  75. package/dist/components/molecules/sidebar/sidebar.js +24 -9
  76. package/dist/components/molecules/tour/tour.js +1 -1
  77. package/dist/components/molecules/transaction-list/transaction-list.js +7 -9
  78. package/dist/components/molecules/tutorial-filters/tutorial-filters.js +2 -2
  79. package/dist/components/molecules/usage-breakdown/usage-breakdown.js +1 -1
  80. package/dist/components/organisms/access-matrix/access-matrix.js +271 -0
  81. package/dist/components/organisms/activity-heatmap/activity-heatmap.js +1 -1
  82. package/dist/components/organisms/code-block/code-block.js +145 -81
  83. package/dist/components/organisms/cta-band/cta-band.js +79 -0
  84. package/dist/components/organisms/flow-diagram/flow-controls.js +1 -1
  85. package/dist/components/organisms/flow-diagram/flow-fullscreen.js +1 -1
  86. package/dist/components/organisms/gantt-chart/gantt-chart.js +1 -1
  87. package/dist/components/organisms/historic-timeline/historic-timeline.js +1 -1
  88. package/dist/components/organisms/navbar-saas/navbar-saas.js +1 -1
  89. package/dist/components/organisms/order-summary/order-summary.js +172 -0
  90. package/dist/components/organisms/settings-list/settings-list.js +125 -0
  91. package/dist/components/organisms/share-dialog-people/share-dialog-people.js +412 -0
  92. package/dist/components/organisms/slideshow/slideshow.js +6 -6
  93. package/dist/components/organisms/subscription-card/subscription-card.js +10 -10
  94. package/dist/components/organisms/tutorial-complete/tutorial-complete.js +2 -2
  95. package/dist/components/organisms/tutorial-mdx/tutorial-mdx.js +1 -1
  96. package/dist/index.d.ts +1143 -82
  97. package/dist/index.js +10 -0
  98. package/dist/lib/copy-text.js +64 -0
  99. package/dist/lib/status-dot.js +33 -0
  100. package/dist/tailwind-preset.js +16 -0
  101. package/package.json +17 -4
  102. package/styles.css +48 -7
  103. package/themes/default.css +48 -7
  104. package/themes/presets.css +24 -24
  105. package/themes/products.css +146 -0
@@ -1,5 +1,6 @@
1
1
  "use client";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { statusDotVariants } from "../../../lib/status-dot.js";
3
4
  import { cn } from "../../../lib/utils.js";
4
5
  const STATE_LABEL = {
5
6
  complete: "Complete",
@@ -10,20 +11,15 @@ const STATE_LABEL = {
10
11
  stopped: "Stopped"
11
12
  };
12
13
  const STATE_TONE = {
13
- complete: "border-emerald-500/40 bg-emerald-500/15 text-emerald-700 dark:text-emerald-300",
14
- failed: "border-red-500/40 bg-red-500/15 text-red-700 dark:text-red-300",
15
- idle: "border-border bg-muted/40 text-muted-foreground",
16
- queued: "border-amber-500/40 bg-amber-500/15 text-amber-800 dark:text-amber-300",
17
- running: "border-blue-500/40 bg-blue-500/15 text-blue-700 dark:text-blue-300",
18
- stopped: "border-border bg-background text-foreground"
14
+ complete: "success",
15
+ failed: "danger",
16
+ idle: "neutral",
17
+ queued: "warning",
18
+ running: "info",
19
+ stopped: "neutral"
19
20
  };
20
- const STATE_DOT = {
21
- complete: "bg-emerald-500",
22
- failed: "bg-red-500",
23
- idle: "bg-muted-foreground",
24
- queued: "bg-amber-500",
25
- running: "bg-blue-500 animate-pulse motion-reduce:animate-none",
26
- stopped: "bg-muted-foreground"
21
+ const STATE_DOT_MOTION = {
22
+ running: "animate-pulse motion-reduce:animate-none"
27
23
  };
28
24
  const ANCHOR_TRANSFORM = {
29
25
  "bottom-left": "translate(-100%, 100%)",
@@ -55,8 +51,7 @@ const StateBadgeOverlay = ({
55
51
  {
56
52
  "aria-label": `${resolvedLabels.region}: ${STATE_LABEL[state]}`,
57
53
  className: cn(
58
- "pointer-events-none absolute z-20 inline-flex items-center gap-1 rounded-full border px-2 py-0.5 text-[10px] font-medium uppercase tracking-wide shadow-sm backdrop-blur",
59
- STATE_TONE[state],
54
+ "pointer-events-none absolute z-20 inline-flex items-center gap-1 rounded-full border border-border bg-secondary px-2 py-0.5 text-[10px] font-medium uppercase tracking-wide text-foreground shadow-sm backdrop-blur",
60
55
  className
61
56
  ),
62
57
  "data-state-anchor": anchor,
@@ -75,7 +70,10 @@ const StateBadgeOverlay = ({
75
70
  "span",
76
71
  {
77
72
  "aria-hidden": "true",
78
- className: cn("size-1.5 rounded-full", STATE_DOT[state]),
73
+ className: cn(
74
+ statusDotVariants({ tone: STATE_TONE[state] }),
75
+ STATE_DOT_MOTION[state]
76
+ ),
79
77
  "data-state-badge-dot": true
80
78
  }
81
79
  ),
@@ -39,7 +39,7 @@ function StepperItem({
39
39
  {
40
40
  className: cn(
41
41
  "flex w-full items-start gap-3 rounded-lg text-left transition-colors",
42
- clickable ? "hover:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring" : "cursor-default",
42
+ clickable ? "hover:bg-secondary/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring" : "cursor-default",
43
43
  isVertical ? "p-2" : "flex-col items-start p-2 md:p-0"
44
44
  ),
45
45
  disabled: !clickable,
@@ -5,7 +5,8 @@ const TONE_DOT = {
5
5
  danger: "bg-red-500",
6
6
  neutral: "bg-muted-foreground",
7
7
  success: "bg-emerald-500",
8
- warn: "bg-amber-500"
8
+ warn: "bg-amber-500",
9
+ warning: "bg-amber-500"
9
10
  };
10
11
  const ANCHOR_OFFSET = {
11
12
  "bottom-left": { transform: "translate(-100%, 100%)" },
@@ -56,7 +56,7 @@ const TableRow = ({
56
56
  "tr",
57
57
  {
58
58
  className: cn(
59
- "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
59
+ "border-b transition-colors hover:bg-secondary/50 data-[state=selected]:bg-secondary",
60
60
  className
61
61
  ),
62
62
  ref,
@@ -51,7 +51,7 @@ function TableOfContents({
51
51
  "button",
52
52
  {
53
53
  className: cn(
54
- "block text-left text-sm transition-colors",
54
+ "block min-h-6 text-left text-sm transition-colors",
55
55
  "hover:text-foreground",
56
56
  activeSection === section.id ? "text-foreground font-medium" : "text-muted-foreground"
57
57
  ),
@@ -42,7 +42,7 @@ function TocHeader({
42
42
  "button",
43
43
  {
44
44
  "aria-label": "Close table of contents",
45
- className: "flex size-8 items-center justify-center rounded-md hover:bg-muted",
45
+ className: "flex size-8 items-center justify-center rounded-md hover:bg-secondary",
46
46
  onClick: onClose,
47
47
  ref: closeButtonRef,
48
48
  type: "button",
@@ -73,7 +73,7 @@ function TocFooter({ onReset, resetLabel }) {
73
73
  return /* @__PURE__ */ jsx("div", { className: "border-t border-border px-4 py-3", children: /* @__PURE__ */ jsx(
74
74
  "button",
75
75
  {
76
- className: "w-full rounded-md border border-border px-3 py-2 text-sm text-muted-foreground hover:bg-muted hover:text-foreground transition-colors",
76
+ className: "w-full rounded-md border border-border px-3 py-2 text-sm text-muted-foreground hover:bg-secondary hover:text-foreground transition-colors",
77
77
  onClick: onReset,
78
78
  type: "button",
79
79
  children: resetLabel
@@ -98,7 +98,7 @@ function TocProgress({
98
98
  "%)"
99
99
  ] })
100
100
  ] }),
101
- /* @__PURE__ */ jsx("div", { className: "mt-2 h-2 rounded-full bg-muted", children: /* @__PURE__ */ jsx(
101
+ /* @__PURE__ */ jsx("div", { className: "mt-2 h-2 rounded-full bg-secondary", children: /* @__PURE__ */ jsx(
102
102
  "div",
103
103
  {
104
104
  className: "h-full rounded-full bg-primary transition-all duration-300",
@@ -122,7 +122,7 @@ function TocSectionList({
122
122
  {
123
123
  className: cn(
124
124
  "flex w-full items-center gap-3 rounded-md px-3 py-2 text-left text-sm transition-colors",
125
- isCurrent ? "bg-primary/10 text-primary font-medium" : "hover:bg-muted text-foreground"
125
+ isCurrent ? "bg-primary/10 text-primary font-medium" : "hover:bg-secondary text-foreground"
126
126
  ),
127
127
  onClick: () => {
128
128
  onSelectSection(index);
@@ -11,8 +11,30 @@ import {
11
11
  useRef,
12
12
  useState
13
13
  } from "react";
14
+ import { cva } from "class-variance-authority";
14
15
  import { moveRovingFocus } from "../../../lib/roving-focus.js";
15
16
  import { cn } from "../../../lib/utils.js";
17
+ const tabsListVariants = cva("flex overflow-x-auto", {
18
+ variants: {
19
+ variant: {
20
+ link: "",
21
+ pill: "gap-1",
22
+ underline: "border-b border-border"
23
+ }
24
+ }
25
+ });
26
+ const tabsTriggerVariants = cva(
27
+ "px-4 py-2 text-sm font-medium whitespace-nowrap transition-colors motion-reduce:transition-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
28
+ {
29
+ variants: {
30
+ variant: {
31
+ link: "underline-offset-4 data-[state=active]:text-foreground data-[state=active]:underline data-[state=inactive]:text-muted-foreground data-[state=inactive]:hover:text-foreground data-[state=inactive]:hover:underline",
32
+ pill: "rounded-full data-[state=active]:bg-secondary data-[state=active]:text-foreground data-[state=inactive]:text-muted-foreground data-[state=inactive]:hover:bg-secondary/50 data-[state=inactive]:hover:text-foreground",
33
+ underline: "-mb-px border-b-2 data-[state=active]:border-primary data-[state=active]:text-primary data-[state=inactive]:border-transparent data-[state=inactive]:text-muted-foreground data-[state=inactive]:hover:border-muted-foreground/50 data-[state=inactive]:hover:text-foreground"
34
+ }
35
+ }
36
+ }
37
+ );
16
38
  function useIdRegistry() {
17
39
  const [ids, setIds] = useState(/* @__PURE__ */ new Map());
18
40
  const register = useCallback((value, id) => {
@@ -46,7 +68,8 @@ function Tabs({
46
68
  className,
47
69
  defaultValue = "",
48
70
  onValueChange,
49
- value
71
+ value,
72
+ variant = "underline"
50
73
  }) {
51
74
  const [internalTab, setInternalTab] = useState(defaultValue);
52
75
  const isControlled = value !== void 0;
@@ -77,7 +100,8 @@ function Tabs({
77
100
  registerPanel,
78
101
  registerTab,
79
102
  setActiveTab: handleSetActiveTab,
80
- tabIds
103
+ tabIds,
104
+ variant
81
105
  }),
82
106
  [
83
107
  activeTab,
@@ -87,7 +111,8 @@ function Tabs({
87
111
  panelIds,
88
112
  registerPanel,
89
113
  registerTab,
90
- tabIds
114
+ tabIds,
115
+ variant
91
116
  ]
92
117
  );
93
118
  return /* @__PURE__ */ jsx(TabsContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx("div", { className: cn("my-6", className), children }) });
@@ -98,6 +123,7 @@ function TabsList({
98
123
  className,
99
124
  onKeyDown
100
125
  }) {
126
+ const variant = use(TabsContext)?.variant ?? "underline";
101
127
  const handleKeyDown = (event) => {
102
128
  onKeyDown?.(event);
103
129
  moveRovingFocus(event, '[role="tab"]', { activate: true });
@@ -106,7 +132,7 @@ function TabsList({
106
132
  "div",
107
133
  {
108
134
  "aria-label": ariaLabel,
109
- className: cn("flex border-b border-border overflow-x-auto", className),
135
+ className: cn(tabsListVariants({ variant }), className),
110
136
  onKeyDown: handleKeyDown,
111
137
  role: "tablist",
112
138
  tabIndex: -1,
@@ -130,7 +156,8 @@ function TabsTrigger({
130
156
  panelIds,
131
157
  registerTab,
132
158
  setActiveTab,
133
- tabIds
159
+ tabIds,
160
+ variant
134
161
  } = useTabsContext();
135
162
  const isActive = activeTab === value;
136
163
  const tabId = id ?? `${baseId}-tab-${toIdPart(value)}`;
@@ -143,12 +170,8 @@ function TabsTrigger({
143
170
  "aria-controls": ariaControls ?? (isActive ? panelIds.get(value) : void 0),
144
171
  "aria-hidden": ariaHidden,
145
172
  "aria-selected": isActive,
146
- className: cn(
147
- "px-4 py-2 text-sm font-medium whitespace-nowrap transition-colors",
148
- "border-b-2 -mb-px",
149
- isActive ? "border-primary text-primary" : "border-transparent text-muted-foreground hover:text-foreground hover:border-muted-foreground/50",
150
- className
151
- ),
173
+ className: cn(tabsTriggerVariants({ variant }), className),
174
+ "data-state": isActive ? "active" : "inactive",
152
175
  id: tabId,
153
176
  onClick: () => {
154
177
  setActiveTab(value);
@@ -3,6 +3,9 @@ import { jsx, jsxs } from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { X } from "lucide-react";
5
5
  import { cn } from "../../../lib/utils.js";
6
+ function defaultRemoveLabel(tag) {
7
+ return `Remove ${tag}`;
8
+ }
6
9
  const TagGroupContext = React.createContext(null);
7
10
  function useTagGroupContext() {
8
11
  const context = React.use(TagGroupContext);
@@ -43,6 +46,7 @@ const TagGroup = ({
43
46
  defaultValue = [],
44
47
  disabled = false,
45
48
  label,
49
+ labels,
46
50
  onValueChange,
47
51
  ref,
48
52
  selectionMode = "none",
@@ -54,9 +58,10 @@ const TagGroup = ({
54
58
  selectionMode,
55
59
  value
56
60
  });
61
+ const removeLabel = labels?.remove ?? defaultRemoveLabel;
57
62
  const context = React.useMemo(
58
- () => ({ disabled, select, selectedValues, selectionMode }),
59
- [disabled, select, selectedValues, selectionMode]
63
+ () => ({ disabled, removeLabel, select, selectedValues, selectionMode }),
64
+ [disabled, removeLabel, select, selectedValues, selectionMode]
60
65
  );
61
66
  return /* @__PURE__ */ jsx(TagGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx(
62
67
  "div",
@@ -77,7 +82,7 @@ const TagGroupItem = ({
77
82
  ref,
78
83
  value
79
84
  }) => {
80
- const { disabled, select, selectedValues, selectionMode } = useTagGroupContext();
85
+ const { disabled, removeLabel, select, selectedValues, selectionMode } = useTagGroupContext();
81
86
  const selectable = selectionMode !== "none";
82
87
  const selected = selectedValues.includes(value);
83
88
  return /* @__PURE__ */ jsxs(
@@ -108,8 +113,8 @@ const TagGroupItem = ({
108
113
  onRemove ? /* @__PURE__ */ jsx(
109
114
  "button",
110
115
  {
111
- "aria-label": "Remove tag",
112
- className: "rounded-sm opacity-70 outline-none transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-ring",
116
+ "aria-label": removeLabel(value),
117
+ className: "-m-1 inline-flex size-6 shrink-0 items-center justify-center rounded-sm opacity-70 outline-none transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
113
118
  disabled,
114
119
  onClick: onRemove,
115
120
  type: "button",
@@ -104,7 +104,7 @@ function TagList({ disabled, onRemove, tags }) {
104
104
  "button",
105
105
  {
106
106
  "aria-label": `Remove ${tag}`,
107
- className: "rounded-sm text-muted-foreground outline-none ring-offset-background transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
107
+ className: "-m-1 inline-flex size-6 shrink-0 items-center justify-center rounded-sm text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
108
108
  disabled,
109
109
  onClick: (event) => {
110
110
  event.stopPropagation();
@@ -51,7 +51,7 @@ const ThreadBubble = ({
51
51
  onResolve ? /* @__PURE__ */ jsx(
52
52
  "button",
53
53
  {
54
- className: "rounded-full border border-border px-2 py-0.5 text-[10px] font-medium text-muted-foreground transition-colors hover:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
54
+ className: "rounded-full border border-border px-2 py-0.5 text-[10px] font-medium text-muted-foreground transition-colors hover:bg-secondary/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
55
55
  "data-thread-bubble-resolve": true,
56
56
  onClick: handleResolve,
57
57
  type: "button",
@@ -5,7 +5,8 @@ const TONE_STROKE = {
5
5
  danger: "stroke-red-500",
6
6
  neutral: "stroke-foreground",
7
7
  success: "stroke-emerald-500",
8
- warn: "stroke-amber-500"
8
+ warn: "stroke-amber-500",
9
+ warning: "stroke-amber-500"
9
10
  };
10
11
  const DEFAULT_LABELS = {
11
12
  region: "Threshold ring"
@@ -112,7 +113,7 @@ const ThresholdRing = ({
112
113
  /* @__PURE__ */ jsx(
113
114
  "circle",
114
115
  {
115
- className: "stroke-muted",
116
+ className: "stroke-secondary",
116
117
  cx: geom.cx,
117
118
  cy: geom.cy,
118
119
  fill: "none",
@@ -54,7 +54,13 @@ const COLOR_OVERRIDES = {
54
54
  fill: "bg-rose-500"
55
55
  }
56
56
  };
57
+ const DEFAULT_LABELS = {
58
+ active: "In progress",
59
+ completed: "Completed",
60
+ upcoming: "Upcoming"
61
+ };
57
62
  const TimelineContext = createContext({
63
+ labels: {},
58
64
  orientation: "vertical"
59
65
  });
60
66
  function useTimelineOrientation() {
@@ -74,14 +80,15 @@ const timelineVariants = cva("flex", {
74
80
  const Timeline = ({
75
81
  children,
76
82
  className,
83
+ labels,
77
84
  orientation,
78
85
  ref,
79
86
  ...rest
80
87
  }) => {
81
88
  const resolvedOrientation = orientation ?? "vertical";
82
89
  const contextValue = useMemo(
83
- () => ({ orientation: resolvedOrientation }),
84
- [resolvedOrientation]
90
+ () => ({ labels: labels ?? {}, orientation: resolvedOrientation }),
91
+ [labels, resolvedOrientation]
85
92
  );
86
93
  return /* @__PURE__ */ jsx(TimelineContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx(
87
94
  "ol",
@@ -160,6 +167,7 @@ function ItemBody({
160
167
  date,
161
168
  description,
162
169
  orientation,
170
+ statusLabel,
163
171
  title
164
172
  }) {
165
173
  return /* @__PURE__ */ jsxs(
@@ -179,6 +187,7 @@ function ItemBody({
179
187
  ),
180
188
  children: [
181
189
  /* @__PURE__ */ jsx("p", { className: "text-sm font-semibold tracking-tight text-foreground", children: title }),
190
+ statusLabel ? /* @__PURE__ */ jsx("span", { className: "sr-only", children: statusLabel }) : null,
182
191
  date ? /* @__PURE__ */ jsx("span", { className: "font-mono text-xs text-muted-foreground", children: date }) : null
183
192
  ]
184
193
  }
@@ -201,11 +210,13 @@ const TimelineItem = ({
201
210
  description,
202
211
  icon,
203
212
  isLast = false,
213
+ labels,
204
214
  status = "upcoming",
205
215
  title,
206
216
  ...rest
207
217
  } = props;
208
- const orientation = useTimelineOrientation();
218
+ const { labels: groupLabels, orientation } = use(TimelineContext);
219
+ const statusLabel = labels?.[status] ?? groupLabels[status] ?? DEFAULT_LABELS[status];
209
220
  return /* @__PURE__ */ jsxs(
210
221
  "li",
211
222
  {
@@ -226,6 +237,7 @@ const TimelineItem = ({
226
237
  date,
227
238
  description,
228
239
  orientation,
240
+ statusLabel,
229
241
  title,
230
242
  children
231
243
  }
@@ -9,7 +9,8 @@ const TONE_FILL = {
9
9
  neutral: "bg-foreground",
10
10
  primary: "bg-blue-500",
11
11
  success: "bg-emerald-500",
12
- warn: "bg-amber-500"
12
+ warn: "bg-amber-500",
13
+ warning: "bg-amber-500"
13
14
  };
14
15
  const DEFAULT_LABELS = {
15
16
  region: "Timeline scrubber"
@@ -43,7 +44,7 @@ const Track = (props) => /* @__PURE__ */ jsxs("div", { className: "relative h-6"
43
44
  "span",
44
45
  {
45
46
  "aria-hidden": "true",
46
- className: "absolute left-0 right-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-muted"
47
+ className: "absolute left-0 right-0 top-1/2 h-1 -translate-y-1/2 rounded-full bg-secondary"
47
48
  }
48
49
  ),
49
50
  /* @__PURE__ */ jsx(
@@ -46,7 +46,7 @@ function TLDRSection({ children, label }) {
46
46
  {
47
47
  "aria-controls": isExpanded ? regionId : void 0,
48
48
  "aria-expanded": isExpanded,
49
- className: "flex items-center justify-between w-full px-4 py-3 hover:bg-muted/50 transition-colors",
49
+ className: "flex items-center justify-between w-full px-4 py-3 hover:bg-secondary/50 transition-colors",
50
50
  onClick: () => {
51
51
  setIsExpanded(!isExpanded);
52
52
  },
@@ -99,10 +99,10 @@ function TLDRSection({ children, label }) {
99
99
  }
100
100
  ),
101
101
  isExpanded ? /* @__PURE__ */ jsx("div", { className: "px-4 pb-4 pt-2 border-t border-border", id: regionId, children: showSkeleton ? /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
102
- /* @__PURE__ */ jsx("div", { className: "relative h-4 bg-muted/50 rounded overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-amber-400/40 to-transparent animate-shimmer motion-reduce:animate-none" }) }),
103
- /* @__PURE__ */ jsx("div", { className: "relative h-4 bg-muted/50 rounded overflow-hidden w-5/6", children: /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-amber-400/40 to-transparent animate-shimmer motion-reduce:animate-none" }) }),
104
- /* @__PURE__ */ jsx("div", { className: "relative h-4 bg-muted/50 rounded overflow-hidden w-4/5", children: /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-amber-400/40 to-transparent animate-shimmer motion-reduce:animate-none" }) }),
105
- /* @__PURE__ */ jsx("div", { className: "relative h-4 bg-muted/50 rounded overflow-hidden w-3/4", children: /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-amber-400/40 to-transparent animate-shimmer motion-reduce:animate-none" }) })
102
+ /* @__PURE__ */ jsx("div", { className: "relative h-4 bg-secondary/50 rounded overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-amber-400/40 to-transparent animate-shimmer motion-reduce:animate-none" }) }),
103
+ /* @__PURE__ */ jsx("div", { className: "relative h-4 bg-secondary/50 rounded overflow-hidden w-5/6", children: /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-amber-400/40 to-transparent animate-shimmer motion-reduce:animate-none" }) }),
104
+ /* @__PURE__ */ jsx("div", { className: "relative h-4 bg-secondary/50 rounded overflow-hidden w-4/5", children: /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-amber-400/40 to-transparent animate-shimmer motion-reduce:animate-none" }) }),
105
+ /* @__PURE__ */ jsx("div", { className: "relative h-4 bg-secondary/50 rounded overflow-hidden w-3/4", children: /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-amber-400/40 to-transparent animate-shimmer motion-reduce:animate-none" }) })
106
106
  ] }) : /* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground leading-relaxed", children }) }) : null
107
107
  ] });
108
108
  }
@@ -4,7 +4,7 @@ import * as TogglePrimitive from "@radix-ui/react-toggle";
4
4
  import { cva } from "class-variance-authority";
5
5
  import { cn } from "../../../lib/utils.js";
6
6
  const toggleVariants = cva(
7
- "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
7
+ "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-secondary hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
8
8
  {
9
9
  defaultVariants: {
10
10
  size: "default",
@@ -18,7 +18,7 @@ function ViewSwitcherList({
18
18
  "div",
19
19
  {
20
20
  className: cn(
21
- "inline-flex items-center rounded-lg border bg-muted p-1",
21
+ "inline-flex items-center rounded-lg border bg-secondary p-1",
22
22
  className
23
23
  ),
24
24
  onKeyDown: handleListKeyDown,
@@ -11,7 +11,7 @@ const Row = (props) => {
11
11
  onSelect?.(bookmark.id);
12
12
  };
13
13
  const rowClass = "flex w-full items-center gap-2 rounded-md px-2 py-1.5 text-left text-xs transition-colors";
14
- const activeClass = active ? "bg-muted/60 text-foreground" : "text-muted-foreground hover:bg-muted/30 hover:text-foreground";
14
+ const activeClass = active ? "bg-secondary/60 text-foreground" : "text-muted-foreground hover:bg-secondary/30 hover:text-foreground";
15
15
  if (onSelect) {
16
16
  return /* @__PURE__ */ jsx(
17
17
  "button",
@@ -12,7 +12,7 @@ function formatPrice(price) {
12
12
  function WatchlistRow({ item }) {
13
13
  const isPositive = item.change >= 0;
14
14
  const TrendIcon = isPositive ? ArrowUpRight : ArrowDownRight;
15
- return /* @__PURE__ */ jsxs("li", { className: "grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center gap-3 rounded-xl px-3 py-2.5 transition-colors hover:bg-muted/40", children: [
15
+ return /* @__PURE__ */ jsxs("li", { className: "grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center gap-3 rounded-xl px-3 py-2.5 transition-colors hover:bg-secondary/40", children: [
16
16
  /* @__PURE__ */ jsx(
17
17
  "span",
18
18
  {
@@ -51,7 +51,7 @@ const WorkspaceSwitcher = ({
51
51
  "div",
52
52
  {
53
53
  className: cn(
54
- "inline-flex min-w-0 items-center gap-1 rounded-full border border-border/70 bg-muted/50 p-1",
54
+ "inline-flex min-w-0 items-center gap-1 rounded-full border border-border/70 bg-secondary/50 p-1",
55
55
  className
56
56
  ),
57
57
  onKeyDown: (event) => {
@@ -4,7 +4,9 @@ import {
4
4
  BannerAction,
5
5
  bannerVariants
6
6
  } from "./atoms/banner/banner.js";
7
- import { Breadcrumb } from "./atoms/breadcrumb/breadcrumb.js";
7
+ import {
8
+ Breadcrumb
9
+ } from "./atoms/breadcrumb/breadcrumb.js";
8
10
  import {
9
11
  Button,
10
12
  buttonVariants
@@ -95,6 +97,10 @@ import {
95
97
  FormMessage,
96
98
  useFormField
97
99
  } from "./molecules/form/form.js";
100
+ import {
101
+ SettingsList,
102
+ SettingsListItem
103
+ } from "./organisms/settings-list/settings-list.js";
98
104
  import {
99
105
  MultiSelect
100
106
  } from "./organisms/multi-select/multi-select.js";
@@ -141,6 +147,9 @@ import {
141
147
  import {
142
148
  AIToolCallDisplay
143
149
  } from "./molecules/ai-tool-call-display/ai-tool-call-display.js";
150
+ import {
151
+ ApprovalRequest
152
+ } from "./molecules/approval-request/approval-request.js";
144
153
  import {
145
154
  AISidebar,
146
155
  AISidebarClose,
@@ -365,6 +374,9 @@ import {
365
374
  import {
366
375
  DataTable
367
376
  } from "./organisms/data-table/data-table.js";
377
+ import {
378
+ AccessMatrix
379
+ } from "./organisms/access-matrix/access-matrix.js";
368
380
  import {
369
381
  DataList,
370
382
  DataListItem,
@@ -399,7 +411,11 @@ import {
399
411
  TransactionListPinned,
400
412
  TransactionListSubscriptionRow
401
413
  } from "./molecules/transaction-list/transaction-list.js";
402
- import { Avatar, AvatarFallback, AvatarImage } from "./atoms/avatar/avatar.js";
414
+ import {
415
+ Avatar,
416
+ AvatarFallback,
417
+ AvatarImage
418
+ } from "./atoms/avatar/avatar.js";
403
419
  import {
404
420
  AvatarGroup,
405
421
  avatarGroupVariants,
@@ -602,6 +618,9 @@ import {
602
618
  import {
603
619
  CreditBadge
604
620
  } from "./molecules/credit-badge/credit-badge.js";
621
+ import {
622
+ CtaBand
623
+ } from "./organisms/cta-band/cta-band.js";
605
624
  import {
606
625
  MarketTreemap
607
626
  } from "./organisms/market-treemap/market-treemap.js";
@@ -635,6 +654,9 @@ import {
635
654
  import {
636
655
  SubscriptionCard
637
656
  } from "./organisms/subscription-card/subscription-card.js";
657
+ import {
658
+ OrderSummary
659
+ } from "./organisms/order-summary/order-summary.js";
638
660
  import { TLDRSection } from "./atoms/tldr-section/tldr-section.js";
639
661
  import {
640
662
  TickerTape
@@ -863,6 +885,9 @@ import {
863
885
  import {
864
886
  ShareDialog
865
887
  } from "./organisms/share-dialog/share-dialog.js";
888
+ import {
889
+ ShareDialogPeople
890
+ } from "./organisms/share-dialog-people/share-dialog-people.js";
866
891
  import {
867
892
  SocialFAB
868
893
  } from "./atoms/social-fab/social-fab.js";
@@ -1071,6 +1096,7 @@ import { Particles } from "./atoms/particles/particles.js";
1071
1096
  import {
1072
1097
  ProgressiveBlur
1073
1098
  } from "./atoms/progressive-blur/progressive-blur.js";
1099
+ import { Scrim } from "./atoms/scrim/scrim.js";
1074
1100
  import {
1075
1101
  RevealText
1076
1102
  } from "./atoms/reveal-text/reveal-text.js";
@@ -1163,6 +1189,7 @@ import {
1163
1189
  Display
1164
1190
  } from "./atoms/display/display.js";
1165
1191
  import { Prose } from "./atoms/prose/prose.js";
1192
+ import { PullQuote } from "./atoms/pull-quote/pull-quote.js";
1166
1193
  export {
1167
1194
  AIArtifact,
1168
1195
  AIArtifactContent,
@@ -1186,6 +1213,7 @@ export {
1186
1213
  AISourceCitation,
1187
1214
  AIStreamingText,
1188
1215
  AIToolCallDisplay,
1216
+ AccessMatrix,
1189
1217
  Accordion,
1190
1218
  AccordionContent,
1191
1219
  AccordionItem,
@@ -1222,6 +1250,7 @@ export {
1222
1250
  AnimatedText,
1223
1251
  AnimatedTooltip,
1224
1252
  Annotation,
1253
+ ApprovalRequest,
1225
1254
  AreaChart,
1226
1255
  AspectRatio,
1227
1256
  AutoReload,
@@ -1329,6 +1358,7 @@ export {
1329
1358
  CopyButton,
1330
1359
  CountdownTimer,
1331
1360
  CreditBadge,
1361
+ CtaBand,
1332
1362
  Curriculum,
1333
1363
  CurriculumLesson,
1334
1364
  CurriculumModule,
@@ -1556,6 +1586,7 @@ export {
1556
1586
  ObjectHandle,
1557
1587
  ObjectInspector,
1558
1588
  OrderBook,
1589
+ OrderSummary,
1559
1590
  OverviewBoard,
1560
1591
  OverviewCard,
1561
1592
  P,
@@ -1610,6 +1641,7 @@ export {
1610
1641
  PromptTemplates,
1611
1642
  PropertySection,
1612
1643
  Prose,
1644
+ PullQuote,
1613
1645
  QrCode,
1614
1646
  Quiz,
1615
1647
  RadarChart,
@@ -1632,6 +1664,7 @@ export {
1632
1664
  SankeyChart,
1633
1665
  ScopeSelector,
1634
1666
  ScrambleText,
1667
+ Scrim,
1635
1668
  ScrollArea,
1636
1669
  ScrollBar,
1637
1670
  ScrollProgress,
@@ -1653,8 +1686,11 @@ export {
1653
1686
  SelectionHalo,
1654
1687
  SelectionPresence,
1655
1688
  Separator,
1689
+ SettingsList,
1690
+ SettingsListItem,
1656
1691
  SeverityBadge,
1657
1692
  ShareDialog,
1693
+ ShareDialogPeople,
1658
1694
  ShareSection,
1659
1695
  Sheet,
1660
1696
  SheetClose,