@vvedantb/ui 0.63.0 → 0.64.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 (80) hide show
  1. package/app/src/settings/SettingsPage.tsx +1 -1
  2. package/app/src/settings/SettingsSection.tsx +1 -1
  3. package/app/src/settings/ThemeModePicker.tsx +10 -2
  4. package/dist/app/src/settings/SettingsPage.js +1 -1
  5. package/dist/app/src/settings/SettingsSection.js +1 -1
  6. package/dist/app/src/settings/ThemeModePicker.js +11 -5
  7. package/dist/shell/src/PageHeaderBar.js +391 -175
  8. package/dist/shell/src/PageWrapper.js +159 -103
  9. package/dist/shell/src/SidebarChrome.js +1 -1
  10. package/dist/shell/src/SidebarPanel.js +1 -1
  11. package/dist/shell/src/SidebarResize.js +2 -2
  12. package/dist/shell/src/SidebarUpgradeCard.js +1 -1
  13. package/dist/shell/src/app-shell-classes.js +1 -1
  14. package/dist/src/ai-elements/activity-question.js +78 -39
  15. package/dist/src/ai-elements/message.js +2 -2
  16. package/dist/src/ai-elements/model-picker-content.js +1 -1
  17. package/dist/src/ai-elements/model-picker.js +1 -1
  18. package/dist/src/ai-elements/prompt-input.js +1 -1
  19. package/dist/src/generative-ui/content.js +3 -3
  20. package/dist/src/generative-ui/layout.js +1 -1
  21. package/dist/src/kibo/kanban.js +1 -1
  22. package/dist/src/kibo/list.js +1 -1
  23. package/dist/src/kibo/video-player.js +0 -1
  24. package/dist/src/marketing/ProductHeroOrbit.js +26 -32
  25. package/dist/src/marketing/createLandingKit.js +1 -1
  26. package/dist/src/marketing/landing.js +1 -1
  27. package/dist/src/ui/_menu-classes.alt.js +1 -1
  28. package/dist/src/ui/_menu-classes.js +1 -1
  29. package/dist/src/ui/bulk-action-bar.js +1 -1
  30. package/dist/src/ui/calendar.js +1 -1
  31. package/dist/src/ui/card.js +1 -1
  32. package/dist/src/ui/clear-input.js +33 -46
  33. package/dist/src/ui/clearInputDissolve.js +2 -57
  34. package/dist/src/ui/command.js +3 -3
  35. package/dist/src/ui/count-pop.js +1 -1
  36. package/dist/src/ui/dialog.js +1 -1
  37. package/dist/src/ui/media-preview.js +1 -1
  38. package/dist/src/ui/progress.js +1 -1
  39. package/dist/src/ui/radix-select.js +1 -1
  40. package/dist/src/ui/select.js +1 -1
  41. package/dist/src/ui/table.js +1 -1
  42. package/dist/tokens/src/css/clear-input.css +4 -19
  43. package/package.json +1 -1
  44. package/shell/src/PageHeaderBar.tsx +162 -21
  45. package/shell/src/PageWrapper.tsx +116 -33
  46. package/shell/src/SidebarChrome.tsx +1 -1
  47. package/shell/src/SidebarPanel.tsx +1 -1
  48. package/shell/src/SidebarResize.tsx +2 -2
  49. package/shell/src/SidebarUpgradeCard.tsx +1 -1
  50. package/shell/src/app-shell-classes.ts +1 -1
  51. package/src/ai-elements/activity-question.tsx +23 -5
  52. package/src/ai-elements/message.tsx +3 -3
  53. package/src/ai-elements/model-picker-content.tsx +1 -1
  54. package/src/ai-elements/model-picker.tsx +1 -1
  55. package/src/ai-elements/prompt-input.tsx +1 -1
  56. package/src/generative-ui/content.tsx +3 -3
  57. package/src/generative-ui/layout.tsx +1 -1
  58. package/src/kibo/kanban.tsx +1 -1
  59. package/src/kibo/list.tsx +1 -1
  60. package/src/kibo/video-player.tsx +0 -2
  61. package/src/marketing/ProductHeroOrbit.tsx +3 -4
  62. package/src/marketing/createLandingKit.tsx +1 -1
  63. package/src/marketing/landing.tsx +1 -1
  64. package/src/ui/_menu-classes.alt.ts +1 -1
  65. package/src/ui/_menu-classes.ts +1 -1
  66. package/src/ui/bulk-action-bar.tsx +1 -1
  67. package/src/ui/calendar.tsx +1 -1
  68. package/src/ui/card.tsx +1 -1
  69. package/src/ui/clear-input.tsx +1 -5
  70. package/src/ui/clearInputDissolve.ts +2 -85
  71. package/src/ui/command.tsx +3 -3
  72. package/src/ui/count-pop.tsx +1 -1
  73. package/src/ui/dialog.tsx +1 -1
  74. package/src/ui/media-preview.tsx +1 -1
  75. package/src/ui/progress.tsx +1 -1
  76. package/src/ui/radix-select.tsx +1 -1
  77. package/src/ui/select.tsx +1 -1
  78. package/src/ui/table.tsx +1 -1
  79. package/tokens/examples/tokens-moved/Fixture.tsx +1 -1
  80. package/tokens/src/css/clear-input.css +4 -19
@@ -1,6 +1,8 @@
1
1
  import { c as _c } from "react/compiler-runtime";
2
+ import { LazyMotion, domMax, m } from "motion/react";
2
3
  import { PageHeaderBar } from "./PageHeaderBar.js";
3
4
  import { cn } from "../../src/utils/cn.js";
5
+ import { motionDistance, motionDuration, motionEase } from "../../src/motion/presets.js";
4
6
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
7
  /**
6
8
  * A full-height page: a `PageHeaderBar` over a scrolling (or height-filling)
@@ -9,127 +11,181 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
11
  * `usePageTitleSync(title)` in the component that renders this one.
10
12
  */
11
13
  export function PageWrapper(t0) {
12
- const $ = _c(29);
13
- let children;
14
- let comfortable;
15
- let fillHeight;
14
+ const $ = _c(30);
15
+ let bodyClass;
16
+ let bodyMotion;
17
+ let header;
18
+ let inner;
19
+ let scrollRef;
16
20
  let t1;
17
21
  let t2;
18
- let t3;
19
- let t4;
20
- let t5;
21
22
  if ($[0] !== t0) {
22
- const {
23
- children: t6,
24
- fillHeight: t7,
25
- childPadding: t8,
26
- bodyScrollbar: t9,
27
- ...header
28
- } = t0;
29
- children = t6;
30
- fillHeight = t7 === undefined ? false : t7;
31
- const childPadding = t8 === undefined ? true : t8;
32
- const bodyScrollbar = t9 === undefined ? false : t9;
33
- const {
34
- comfortable: t10,
35
- animated: t11
36
- } = header;
37
- comfortable = t10 === undefined ? false : t10;
38
- const animated = t11 === undefined ? false : t11;
39
- t5 = cn("h-full min-h-0 flex-1 overflow-hidden", animated && "animate-in fade-in duration-300");
40
- t3 = "flex h-full min-h-0 flex-col overflow-hidden";
41
- t4 = /*#__PURE__*/_jsx(PageHeaderBar, {
42
- ...header
43
- });
44
- if ($[9] !== bodyScrollbar || $[10] !== fillHeight) {
45
- t2 = cn("min-h-0 flex-1", fillHeight ? "flex flex-col overflow-hidden" : cn("overflow-auto", bodyScrollbar && "scrollbar"));
46
- $[9] = bodyScrollbar;
47
- $[10] = fillHeight;
48
- $[11] = t2;
49
- } else {
50
- t2 = $[11];
23
+ t2 = Symbol.for("react.early_return_sentinel");
24
+ bb0: {
25
+ const {
26
+ children,
27
+ fillHeight: t3,
28
+ childPadding: t4,
29
+ bodyScrollbar: t5,
30
+ scrollMode: t6,
31
+ scrollRef: t7,
32
+ bodyMotion: t8,
33
+ bodyClassName,
34
+ ...t9
35
+ } = t0;
36
+ scrollRef = t7;
37
+ header = t9;
38
+ const fillHeight = t3 === undefined ? false : t3;
39
+ const childPadding = t4 === undefined ? true : t4;
40
+ const bodyScrollbar = t5 === undefined ? false : t5;
41
+ const scrollMode = t6 === undefined ? "owned" : t6;
42
+ bodyMotion = t8 === undefined ? false : t8;
43
+ const {
44
+ comfortable: t10,
45
+ contentMaxWidth: t11,
46
+ animated: t12
47
+ } = header;
48
+ const comfortable = t10 === undefined ? false : t10;
49
+ const contentMaxWidth = t11 === undefined ? false : t11;
50
+ const animated = t12 === undefined ? false : t12;
51
+ const content = comfortable || contentMaxWidth ? /*#__PURE__*/_jsx("div", {
52
+ className: cn("mx-auto w-full max-w-5xl", scrollMode === "owned" && fillHeight && "flex min-h-0 flex-1 flex-col"),
53
+ children: children
54
+ }) : children;
55
+ if (scrollMode === "unbounded") {
56
+ const t13 = childPadding && (comfortable ? "px-4 pb-8 pt-0 sm:px-6" : "px-3 pb-6 pt-0 sm:px-4");
57
+ let t14;
58
+ if ($[8] !== bodyClassName || $[9] !== t13) {
59
+ t14 = cn(t13, bodyClassName);
60
+ $[8] = bodyClassName;
61
+ $[9] = t13;
62
+ $[10] = t14;
63
+ } else {
64
+ t14 = $[10];
65
+ }
66
+ let t15;
67
+ if ($[11] !== content || $[12] !== t14) {
68
+ t15 = /*#__PURE__*/_jsx("div", {
69
+ className: t14,
70
+ children: content
71
+ });
72
+ $[11] = content;
73
+ $[12] = t14;
74
+ $[13] = t15;
75
+ } else {
76
+ t15 = $[13];
77
+ }
78
+ t2 = /*#__PURE__*/_jsxs("div", {
79
+ children: [/*#__PURE__*/_jsx(PageHeaderBar, {
80
+ ...header
81
+ }), t15]
82
+ });
83
+ break bb0;
84
+ }
85
+ let t13;
86
+ if ($[14] !== bodyScrollbar || $[15] !== fillHeight) {
87
+ t13 = cn("min-h-0 flex-1", fillHeight ? "flex flex-col overflow-hidden" : cn(bodyScrollbar === "thin" ? "overflow-y-auto" : "overflow-auto", bodyScrollbar === "thin" ? "scrollbar-thin" : bodyScrollbar && "scrollbar"));
88
+ $[14] = bodyScrollbar;
89
+ $[15] = fillHeight;
90
+ $[16] = t13;
91
+ } else {
92
+ t13 = $[16];
93
+ }
94
+ bodyClass = t13;
95
+ inner = /*#__PURE__*/_jsx("div", {
96
+ className: cn("flex flex-col gap-4", animated && "animate-in fade-in slide-in-from-bottom-1 duration-200", childPadding && (comfortable ? "p-4 pt-0 sm:px-6" : "p-3 pt-0 sm:px-4"), fillHeight ? "min-h-0 flex-1 overflow-hidden" : "min-h-full", bodyClassName),
97
+ children: content
98
+ });
99
+ t1 = cn("h-full min-h-0 flex-1 overflow-hidden", animated && "animate-in fade-in duration-200");
51
100
  }
52
- t1 = cn("flex flex-col gap-4", animated && "animate-in fade-in slide-in-from-bottom-1 duration-300", childPadding && (comfortable ? "p-4 pt-0 sm:px-6" : "p-3 pt-0 sm:px-4"), fillHeight ? "min-h-0 flex-1 overflow-hidden" : "min-h-full");
53
101
  $[0] = t0;
54
- $[1] = children;
55
- $[2] = comfortable;
56
- $[3] = fillHeight;
57
- $[4] = t1;
58
- $[5] = t2;
59
- $[6] = t3;
60
- $[7] = t4;
61
- $[8] = t5;
102
+ $[1] = bodyClass;
103
+ $[2] = bodyMotion;
104
+ $[3] = header;
105
+ $[4] = inner;
106
+ $[5] = scrollRef;
107
+ $[6] = t1;
108
+ $[7] = t2;
62
109
  } else {
63
- children = $[1];
64
- comfortable = $[2];
65
- fillHeight = $[3];
66
- t1 = $[4];
67
- t2 = $[5];
68
- t3 = $[6];
69
- t4 = $[7];
70
- t5 = $[8];
110
+ bodyClass = $[1];
111
+ bodyMotion = $[2];
112
+ header = $[3];
113
+ inner = $[4];
114
+ scrollRef = $[5];
115
+ t1 = $[6];
116
+ t2 = $[7];
71
117
  }
72
- let t6;
73
- if ($[12] !== children || $[13] !== comfortable || $[14] !== fillHeight) {
74
- t6 = comfortable ? /*#__PURE__*/_jsx("div", {
75
- className: cn("mx-auto w-full max-w-5xl", fillHeight && "flex min-h-0 flex-1 flex-col"),
76
- children: children
77
- }) : children;
78
- $[12] = children;
79
- $[13] = comfortable;
80
- $[14] = fillHeight;
81
- $[15] = t6;
82
- } else {
83
- t6 = $[15];
118
+ if (t2 !== Symbol.for("react.early_return_sentinel")) {
119
+ return t2;
84
120
  }
85
- let t7;
86
- if ($[16] !== t1 || $[17] !== t6) {
87
- t7 = /*#__PURE__*/_jsx("div", {
88
- className: t1,
89
- children: t6
121
+ let t3;
122
+ if ($[17] !== header) {
123
+ t3 = /*#__PURE__*/_jsx(PageHeaderBar, {
124
+ ...header
90
125
  });
91
- $[16] = t1;
92
- $[17] = t6;
93
- $[18] = t7;
126
+ $[17] = header;
127
+ $[18] = t3;
94
128
  } else {
95
- t7 = $[18];
129
+ t3 = $[18];
96
130
  }
97
- let t8;
98
- if ($[19] !== t2 || $[20] !== t7) {
99
- t8 = /*#__PURE__*/_jsx("div", {
100
- className: t2,
101
- children: t7
131
+ let t4;
132
+ if ($[19] !== bodyClass || $[20] !== bodyMotion || $[21] !== inner || $[22] !== scrollRef) {
133
+ t4 = bodyMotion ? /*#__PURE__*/_jsx(LazyMotion, {
134
+ features: domMax,
135
+ children: /*#__PURE__*/_jsx(m.div, {
136
+ ref: scrollRef,
137
+ className: bodyClass,
138
+ initial: {
139
+ opacity: 0,
140
+ y: motionDistance.pageY
141
+ },
142
+ animate: {
143
+ opacity: 1,
144
+ y: 0
145
+ },
146
+ transition: {
147
+ duration: motionDuration.base,
148
+ ease: motionEase,
149
+ delay: 0.12
150
+ },
151
+ children: inner
152
+ })
153
+ }) : /*#__PURE__*/_jsx("div", {
154
+ ref: scrollRef,
155
+ className: bodyClass,
156
+ children: inner
102
157
  });
103
- $[19] = t2;
104
- $[20] = t7;
105
- $[21] = t8;
158
+ $[19] = bodyClass;
159
+ $[20] = bodyMotion;
160
+ $[21] = inner;
161
+ $[22] = scrollRef;
162
+ $[23] = t4;
106
163
  } else {
107
- t8 = $[21];
164
+ t4 = $[23];
108
165
  }
109
- let t9;
110
- if ($[22] !== t3 || $[23] !== t4 || $[24] !== t8) {
111
- t9 = /*#__PURE__*/_jsxs("div", {
112
- className: t3,
113
- children: [t4, t8]
166
+ let t5;
167
+ if ($[24] !== t3 || $[25] !== t4) {
168
+ t5 = /*#__PURE__*/_jsxs("div", {
169
+ className: "flex h-full min-h-0 flex-col overflow-hidden",
170
+ children: [t3, t4]
114
171
  });
115
- $[22] = t3;
116
- $[23] = t4;
117
- $[24] = t8;
118
- $[25] = t9;
172
+ $[24] = t3;
173
+ $[25] = t4;
174
+ $[26] = t5;
119
175
  } else {
120
- t9 = $[25];
176
+ t5 = $[26];
121
177
  }
122
- let t10;
123
- if ($[26] !== t5 || $[27] !== t9) {
124
- t10 = /*#__PURE__*/_jsx("div", {
125
- className: t5,
126
- children: t9
178
+ let t6;
179
+ if ($[27] !== t1 || $[28] !== t5) {
180
+ t6 = /*#__PURE__*/_jsx("div", {
181
+ className: t1,
182
+ children: t5
127
183
  });
128
- $[26] = t5;
129
- $[27] = t9;
130
- $[28] = t10;
184
+ $[27] = t1;
185
+ $[28] = t5;
186
+ $[29] = t6;
131
187
  } else {
132
- t10 = $[28];
188
+ t6 = $[29];
133
189
  }
134
- return t10;
190
+ return t6;
135
191
  }
@@ -289,7 +289,7 @@ function MobileTitle(t0) {
289
289
  }
290
290
  let t1;
291
291
  if ($[5] !== className) {
292
- t1 = cn("pointer-events-none min-w-0 truncate text-center text-base font-semibold leading-tight tracking-tight text-foreground", className);
292
+ t1 = cn("pointer-events-none min-w-0 truncate text-center text-base font-medium leading-tight tracking-tight text-foreground", className);
293
293
  $[5] = className;
294
294
  $[6] = t1;
295
295
  } else {
@@ -209,7 +209,7 @@ export function PanelTitle(t0) {
209
209
  }
210
210
  let t1;
211
211
  if ($[3] !== className) {
212
- t1 = cn("min-w-0 flex-1 truncate text-left text-base font-semibold leading-none tracking-tight text-foreground", className);
212
+ t1 = cn("min-w-0 flex-1 truncate text-left text-base font-medium leading-none tracking-tight text-foreground", className);
213
213
  $[3] = className;
214
214
  $[4] = t1;
215
215
  } else {
@@ -137,8 +137,8 @@ export function useSidebarResizeState(options) {
137
137
  animRef.current?.stop();
138
138
  animRef.current = animate(from, to, {
139
139
  type: "spring",
140
- bounce: 0.2,
141
- duration: 0.35,
140
+ bounce: 0,
141
+ duration: 0.25,
142
142
  velocity,
143
143
  onUpdate: value => setWidth(value)
144
144
  });
@@ -55,7 +55,7 @@ export function SidebarUpgradeCard(t0) {
55
55
  let t3;
56
56
  if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
57
57
  t3 = /*#__PURE__*/_jsx("span", {
58
- className: "min-w-0 truncate text-sm font-semibold",
58
+ className: "min-w-0 truncate text-sm font-medium",
59
59
  children: "Upgrade to Pro"
60
60
  });
61
61
  $[7] = t3;
@@ -38,7 +38,7 @@ export const railGroupClass = "relative isolate flex flex-col items-center gap-1
38
38
  export const railGroupPillClass = "t-tabs-pill rounded-lg bg-segment";
39
39
 
40
40
  /** Count badge pinned to the bottom-right of a rail tile. */
41
- export const railBadgeClass = "absolute -bottom-0.5 -right-0.5 flex h-4 min-w-4 items-center justify-center rounded-full bg-accent px-1 text-[10px] font-semibold leading-none text-accent-foreground"; // check-tokens-allow: accent
41
+ export const railBadgeClass = "absolute -bottom-0.5 -right-0.5 flex h-4 min-w-4 items-center justify-center rounded-full bg-accent px-1 text-[10px] font-medium leading-none text-accent-foreground"; // check-tokens-allow: accent
42
42
 
43
43
  /**
44
44
  * Static section label above a group of panel nav rows. `px-4` lines the text
@@ -10,7 +10,7 @@ import { freeTextAnswer, selectedLabels } from "./activity-question-utils.js";
10
10
  */
11
11
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
12
  const OPTION_LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
13
- const CHIP_CLASS = "mt-0.5 flex size-5 shrink-0 items-center justify-center rounded-md text-3xs font-bold tracking-wide";
13
+ const CHIP_CLASS = "mt-0.5 flex size-5 shrink-0 items-center justify-center rounded-md text-3xs font-medium tracking-wide";
14
14
  function OptionRow(t0) {
15
15
  const $ = _c(24);
16
16
  const {
@@ -118,42 +118,81 @@ function OptionRow(t0) {
118
118
  * Read-only record of an AskUserQuestion prompt and the answer given. The live
119
119
  * prompt is `MultipleChoiceQuestion` in the composer dock; this is the history
120
120
  * left behind in the transcript once the question is answered.
121
+ *
122
+ * `headerAction` renders at the right end of the "Question" header row, for
123
+ * controls such as a pager when the caller shows one question at a time.
121
124
  */
122
125
  export function ActivityQuestionCard(t0) {
123
- const $ = _c(11);
126
+ const $ = _c(20);
124
127
  const {
125
128
  questions,
126
- answers
129
+ answers,
130
+ headerAction
127
131
  } = t0;
132
+ const merge = useCn();
128
133
  if (questions.length === 0) {
129
134
  return null;
130
135
  }
131
- let t1;
132
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
133
- t1 = /*#__PURE__*/_jsx(IconMessageQuestion, {
136
+ const t1 = headerAction ? "min-h-7" : undefined;
137
+ let t2;
138
+ if ($[0] !== merge || $[1] !== t1) {
139
+ t2 = merge("flex items-center justify-between gap-2", t1);
140
+ $[0] = merge;
141
+ $[1] = t1;
142
+ $[2] = t2;
143
+ } else {
144
+ t2 = $[2];
145
+ }
146
+ let t3;
147
+ if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
148
+ t3 = /*#__PURE__*/_jsx(IconMessageQuestion, {
134
149
  size: 14
135
150
  });
136
- $[0] = t1;
151
+ $[3] = t3;
137
152
  } else {
138
- t1 = $[0];
153
+ t3 = $[3];
139
154
  }
140
- const t2 = questions.length > 1 ? "Questions" : "Question";
141
- let t3;
142
- if ($[1] !== t2) {
143
- t3 = /*#__PURE__*/_jsxs("div", {
155
+ const t4 = questions.length > 1 ? "Questions" : "Question";
156
+ let t5;
157
+ if ($[4] !== t4) {
158
+ t5 = /*#__PURE__*/_jsxs("div", {
144
159
  className: "flex items-center gap-1.5 text-xs font-medium text-muted-foreground",
145
- children: [t1, t2]
160
+ children: [t3, t4]
146
161
  });
147
- $[1] = t2;
148
- $[2] = t3;
162
+ $[4] = t4;
163
+ $[5] = t5;
149
164
  } else {
150
- t3 = $[2];
165
+ t5 = $[5];
151
166
  }
152
- let t4;
153
- if ($[3] !== answers || $[4] !== questions) {
154
- let t5;
155
- if ($[6] !== answers) {
156
- t5 = (question, questionIndex) => {
167
+ let t6;
168
+ if ($[6] !== headerAction) {
169
+ t6 = headerAction ? /*#__PURE__*/_jsx("div", {
170
+ className: "flex shrink-0 items-center gap-1",
171
+ children: headerAction
172
+ }) : null;
173
+ $[6] = headerAction;
174
+ $[7] = t6;
175
+ } else {
176
+ t6 = $[7];
177
+ }
178
+ let t7;
179
+ if ($[8] !== t2 || $[9] !== t5 || $[10] !== t6) {
180
+ t7 = /*#__PURE__*/_jsxs("div", {
181
+ className: t2,
182
+ children: [t5, t6]
183
+ });
184
+ $[8] = t2;
185
+ $[9] = t5;
186
+ $[10] = t6;
187
+ $[11] = t7;
188
+ } else {
189
+ t7 = $[11];
190
+ }
191
+ let t8;
192
+ if ($[12] !== answers || $[13] !== questions) {
193
+ let t9;
194
+ if ($[15] !== answers) {
195
+ t9 = (question, questionIndex) => {
157
196
  const answer = answers?.[question.question];
158
197
  const hasAnswer = answer !== undefined && answer.trim().length > 0;
159
198
  const chosen = selectedLabels(answer, question);
@@ -167,7 +206,7 @@ export function ActivityQuestionCard(t0) {
167
206
  children: question.question
168
207
  }), question.header ? /*#__PURE__*/_jsx(Badge, {
169
208
  variant: "secondary",
170
- className: "shrink-0 text-3xs font-semibold",
209
+ className: "shrink-0 text-3xs font-medium",
171
210
  children: question.header
172
211
  }) : null]
173
212
  }), /*#__PURE__*/_jsxs("div", {
@@ -198,29 +237,29 @@ export function ActivityQuestionCard(t0) {
198
237
  })]
199
238
  }, `${question.question}-${questionIndex}`);
200
239
  };
201
- $[6] = answers;
202
- $[7] = t5;
240
+ $[15] = answers;
241
+ $[16] = t9;
203
242
  } else {
204
- t5 = $[7];
243
+ t9 = $[16];
205
244
  }
206
- t4 = questions.map(t5);
207
- $[3] = answers;
208
- $[4] = questions;
209
- $[5] = t4;
245
+ t8 = questions.map(t9);
246
+ $[12] = answers;
247
+ $[13] = questions;
248
+ $[14] = t8;
210
249
  } else {
211
- t4 = $[5];
250
+ t8 = $[14];
212
251
  }
213
- let t5;
214
- if ($[8] !== t3 || $[9] !== t4) {
215
- t5 = /*#__PURE__*/_jsxs("div", {
252
+ let t9;
253
+ if ($[17] !== t7 || $[18] !== t8) {
254
+ t9 = /*#__PURE__*/_jsxs("div", {
216
255
  className: "rounded-surface bg-card p-3 space-y-3",
217
- children: [t3, t4]
256
+ children: [t7, t8]
218
257
  });
219
- $[8] = t3;
220
- $[9] = t4;
221
- $[10] = t5;
258
+ $[17] = t7;
259
+ $[18] = t8;
260
+ $[19] = t9;
222
261
  } else {
223
- t5 = $[10];
262
+ t9 = $[19];
224
263
  }
225
- return t5;
264
+ return t9;
226
265
  }
@@ -55,7 +55,7 @@ export const Message = t0 => {
55
55
  const hasActions = actions !== undefined && actions.length > 0;
56
56
  const t1 = classes?.root ?? "group flex w-full max-w-[95%] flex-col gap-2";
57
57
  const t2 = from === "user" ? classes?.user ?? "is-user ml-auto justify-end" : classes?.assistant ?? "is-assistant";
58
- const t3 = highlighted !== undefined && "rounded-xl transition-[background-color,box-shadow] duration-1000";
58
+ const t3 = highlighted !== undefined && "rounded-xl transition-[background-color,box-shadow] duration-200";
59
59
  const t4 = highlighted && "bg-primary/10 ring-2 ring-primary/30";
60
60
  let t5;
61
61
  if ($[7] !== className || $[8] !== merge || $[9] !== t1 || $[10] !== t2 || $[11] !== t3 || $[12] !== t4) {
@@ -319,7 +319,7 @@ export const MessageQuote = t0 => {
319
319
  let t1;
320
320
  if ($[6] !== author) {
321
321
  t1 = /*#__PURE__*/_jsx("span", {
322
- className: "block truncate text-xs font-semibold opacity-70",
322
+ className: "block truncate text-xs font-medium opacity-70",
323
323
  children: author
324
324
  });
325
325
  $[6] = author;
@@ -75,7 +75,7 @@ function InstanceIcon(t0) {
75
75
  let t3;
76
76
  if ($[3] !== instance.label || $[4] !== ring || $[5] !== showBadge) {
77
77
  t3 = showBadge ? /*#__PURE__*/_jsx("span", {
78
- className: "pointer-events-none absolute -right-0.5 -bottom-0.5 z-10 flex h-3 min-w-3 items-center justify-center rounded-full bg-surface-secondary px-0.5 text-[7px] font-semibold leading-none text-muted-foreground",
78
+ className: "pointer-events-none absolute -right-0.5 -bottom-0.5 z-10 flex h-3 min-w-3 items-center justify-center rounded-full bg-surface-secondary px-0.5 text-[7px] font-medium leading-none text-muted-foreground",
79
79
  style: {
80
80
  boxShadow: `0 0 0 1.5px ${ring}`
81
81
  },
@@ -204,7 +204,7 @@ export function ModelPicker(t0) {
204
204
  provider: selectedModel?.provider ?? "claude",
205
205
  size: 14
206
206
  }), /*#__PURE__*/_jsx("span", {
207
- className: "pointer-events-none absolute -right-0.5 -bottom-0.5 z-10 flex h-3 min-w-3 items-center justify-center rounded-full bg-surface-secondary px-0.5 text-[7px] font-semibold leading-none text-muted-foreground",
207
+ className: "pointer-events-none absolute -right-0.5 -bottom-0.5 z-10 flex h-3 min-w-3 items-center justify-center rounded-full bg-surface-secondary px-0.5 text-[7px] font-medium leading-none text-muted-foreground",
208
208
  style: {
209
209
  boxShadow: `0 0 0 1.5px ${config?.badgeRing?.trigger ?? "var(--color-border)"}`
210
210
  },
@@ -1326,7 +1326,7 @@ export const ReplyQuoteChip = t0 => {
1326
1326
  let t5;
1327
1327
  if ($[11] !== author) {
1328
1328
  t5 = /*#__PURE__*/_jsx("span", {
1329
- className: "block truncate text-xs font-semibold text-muted-foreground",
1329
+ className: "block truncate text-xs font-medium text-muted-foreground",
1330
1330
  children: author
1331
1331
  });
1332
1332
  $[11] = author;
@@ -27,7 +27,7 @@ export function HeadingElement(t0) {
27
27
  const t1 = level === "h2" ? "text-base" : "text-sm";
28
28
  let t2;
29
29
  if ($[0] !== t1) {
30
- t2 = cn("font-semibold text-foreground", t1);
30
+ t2 = cn("font-medium text-foreground", t1);
31
31
  $[0] = t1;
32
32
  $[1] = t2;
33
33
  } else {
@@ -100,7 +100,7 @@ export function MetricElement(t0) {
100
100
  const t2 = TONE_TEXT[tone];
101
101
  let t3;
102
102
  if ($[2] !== t2) {
103
- t3 = cn("text-lg font-semibold tabular-nums leading-tight", t2);
103
+ t3 = cn("text-lg font-medium tabular-nums leading-tight", t2);
104
104
  $[2] = t2;
105
105
  $[3] = t3;
106
106
  } else {
@@ -186,7 +186,7 @@ export function CalloutElement(t0) {
186
186
  let t3;
187
187
  if ($[2] !== title || $[3] !== tone) {
188
188
  t3 = title ? /*#__PURE__*/_jsx("span", {
189
- className: cn("text-xs font-semibold", TONE_TEXT[tone]),
189
+ className: cn("text-xs font-medium", TONE_TEXT[tone]),
190
190
  children: title
191
191
  }) : null;
192
192
  $[2] = title;
@@ -104,7 +104,7 @@ export function PanelElement(t0) {
104
104
  let t1;
105
105
  if ($[0] !== title) {
106
106
  t1 = title ? /*#__PURE__*/_jsx("p", {
107
- className: "text-sm font-semibold text-foreground",
107
+ className: "text-sm font-medium text-foreground",
108
108
  children: title
109
109
  }) : null;
110
110
  $[0] = title;
@@ -277,7 +277,7 @@ export const KanbanHeader = t0 => {
277
277
  const merge = useCn();
278
278
  let t1;
279
279
  if ($[3] !== className || $[4] !== merge) {
280
- t1 = merge("m-0 p-2 font-semibold text-sm", className);
280
+ t1 = merge("m-0 p-2 font-medium text-sm", className);
281
281
  $[3] = className;
282
282
  $[4] = merge;
283
283
  $[5] = t1;
@@ -47,7 +47,7 @@ export const SortableListHeader = props => {
47
47
  backgroundColor: props.color
48
48
  }
49
49
  }), /*#__PURE__*/_jsx("p", {
50
- className: "m-0 font-semibold text-sm",
50
+ className: "m-0 font-medium text-sm",
51
51
  children: props.name
52
52
  })]
53
53
  });
@@ -27,7 +27,6 @@ const variables = {
27
27
  "--media-range-thumb-background": "rgb(255 255 255 / 0.95)",
28
28
  "--media-tooltip-background-color": "rgb(24 24 27 / 0.98)",
29
29
  "--media-tooltip-arrow-color": "rgb(24 24 27 / 0.98)",
30
- "--media-tooltip-filter": "drop-shadow(0 6px 16px rgb(0 0 0 / 0.55)) drop-shadow(0 1px 2px rgb(0 0 0 / 0.4))",
31
30
  "--media-tooltip-distance": "10px",
32
31
  "--media-tooltip-border-radius": "6px"
33
32
  };