@optilogic/chat 1.3.5 → 1.3.6

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/dist/index.cjs CHANGED
@@ -215,7 +215,7 @@ var MetadataRow = React11__namespace.forwardRef(
215
215
  {
216
216
  "data-tour": thinkingToggleAnchor,
217
217
  onClick: onToggle,
218
- className: "flex items-center gap-1.5 hover:bg-muted/50 -ml-1.5 pl-1.5 pr-2 py-0.5 rounded transition-colors shrink-0",
218
+ className: "flex items-center gap-1.5 hover:bg-hover -ml-1.5 pl-1.5 pr-2 py-0.5 rounded transition-colors shrink-0",
219
219
  children: leftContent
220
220
  }
221
221
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-1.5 shrink-0", children: leftContent }),
@@ -250,7 +250,7 @@ var ThinkingStepItem = ({ step, renderMarkdown }) => {
250
250
  "button",
251
251
  {
252
252
  onClick: toggleCollapse,
253
- className: "w-full flex items-center gap-1.5 py-1.5 px-2 hover:bg-muted/50 transition-colors text-left",
253
+ className: "w-full flex items-center gap-1.5 py-1.5 px-2 hover:bg-hover transition-colors text-left",
254
254
  style: { paddingLeft: `${indentPadding + 8}px` },
255
255
  children: [
256
256
  isCollapsed ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "w-3 h-3 text-muted-foreground flex-shrink-0" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "w-3 h-3 text-muted-foreground flex-shrink-0" }),
@@ -346,7 +346,7 @@ var ActionBar = React11__namespace.forwardRef(
346
346
  {
347
347
  "data-tour": copyAnchor,
348
348
  onClick: handleCopy,
349
- className: "p-1.5 rounded hover:bg-muted transition-colors text-muted-foreground hover:text-foreground",
349
+ className: "p-1.5 rounded hover:bg-hover transition-colors text-muted-foreground hover:text-foreground",
350
350
  title: copied ? "Copied!" : "Copy response",
351
351
  children: copied ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "w-4 h-4 text-green-500" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Copy, { className: "w-4 h-4" })
352
352
  }
@@ -357,7 +357,7 @@ var ActionBar = React11__namespace.forwardRef(
357
357
  "data-tour": thumbsUpAnchor,
358
358
  onClick: handleThumbsUp,
359
359
  className: core.cn(
360
- "p-1.5 rounded hover:bg-muted transition-colors",
360
+ "p-1.5 rounded hover:bg-hover transition-colors",
361
361
  isThumbsUp ? "text-green-500" : "text-muted-foreground hover:text-foreground"
362
362
  ),
363
363
  title: "Good response",
@@ -370,7 +370,7 @@ var ActionBar = React11__namespace.forwardRef(
370
370
  "data-tour": thumbsDownAnchor,
371
371
  onClick: handleThumbsDown,
372
372
  className: core.cn(
373
- "p-1.5 rounded hover:bg-muted transition-colors",
373
+ "p-1.5 rounded hover:bg-hover transition-colors",
374
374
  isThumbsDown ? "text-red-500" : "text-muted-foreground hover:text-foreground"
375
375
  ),
376
376
  title: "Poor response",
@@ -658,7 +658,7 @@ var HITLSection = React11__namespace.forwardRef(
658
658
  "button",
659
659
  {
660
660
  onClick: toggleExpanded,
661
- className: "w-full flex items-center gap-2 py-2 px-3 hover:bg-muted/50 transition-colors text-left",
661
+ className: "w-full flex items-center gap-2 py-2 px-3 hover:bg-hover transition-colors text-left",
662
662
  children: [
663
663
  isExpanded ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "w-3.5 h-3.5 text-muted-foreground flex-shrink-0" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "w-3.5 h-3.5 text-muted-foreground flex-shrink-0" }),
664
664
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MessageCircleQuestion, { className: "w-3.5 h-3.5 text-muted-foreground flex-shrink-0" }),
@@ -1175,7 +1175,7 @@ function TimelineAgentBlock({
1175
1175
  "button",
1176
1176
  {
1177
1177
  onClick: onToggleCollapsed,
1178
- className: "w-full flex items-center gap-1.5 py-1 hover:bg-muted/50 -ml-1 pl-1 pr-2 rounded transition-colors text-left",
1178
+ className: "w-full flex items-center gap-1.5 py-1 hover:bg-hover -ml-1 pl-1 pr-2 rounded transition-colors text-left",
1179
1179
  children: [
1180
1180
  isCollapsed ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "w-3 h-3 text-muted-foreground flex-shrink-0" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "w-3 h-3 text-muted-foreground flex-shrink-0" }),
1181
1181
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-medium text-foreground/80", children: block.agentName }),
@@ -1291,7 +1291,7 @@ function AgentTimeline({ entries, renderMarkdown, uiState, maxHeight = "300px" }
1291
1291
  "button",
1292
1292
  {
1293
1293
  onClick: () => toggleFilter(tc.type),
1294
- className: `inline-flex items-center gap-1 px-1.5 py-0.5 rounded text-[10px] transition-colors ${isActive ? "bg-accent text-accent-foreground ring-1 ring-accent-foreground/20" : "text-muted-foreground/60 hover:text-muted-foreground hover:bg-muted/50"}`,
1294
+ className: `inline-flex items-center gap-1 px-1.5 py-0.5 rounded text-[10px] transition-colors ${isActive ? "bg-accent text-accent-foreground ring-1 ring-accent-foreground/20" : "text-muted-foreground/60 hover:text-muted-foreground hover:bg-hover"}`,
1295
1295
  title: `${isActive ? "Hide" : "Show only"} ${tc.label}`,
1296
1296
  children: [
1297
1297
  /* @__PURE__ */ jsxRuntime.jsx(tc.icon, { className: "w-3 h-3" }),
@@ -1315,7 +1315,7 @@ function AgentTimeline({ entries, renderMarkdown, uiState, maxHeight = "300px" }
1315
1315
  "button",
1316
1316
  {
1317
1317
  onClick: collapseAll,
1318
- className: "inline-flex items-center gap-0.5 text-[10px] text-muted-foreground/60 hover:text-muted-foreground px-1 py-0.5 rounded hover:bg-muted/50 transition-colors",
1318
+ className: "inline-flex items-center gap-0.5 text-[10px] text-muted-foreground/60 hover:text-muted-foreground px-1 py-0.5 rounded hover:bg-hover transition-colors",
1319
1319
  title: "Collapse all",
1320
1320
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronsDownUp, { className: "w-3 h-3" })
1321
1321
  }
@@ -1324,7 +1324,7 @@ function AgentTimeline({ entries, renderMarkdown, uiState, maxHeight = "300px" }
1324
1324
  "button",
1325
1325
  {
1326
1326
  onClick: expandAll,
1327
- className: "inline-flex items-center gap-0.5 text-[10px] text-muted-foreground/60 hover:text-muted-foreground px-1 py-0.5 rounded hover:bg-muted/50 transition-colors",
1327
+ className: "inline-flex items-center gap-0.5 text-[10px] text-muted-foreground/60 hover:text-muted-foreground px-1 py-0.5 rounded hover:bg-hover transition-colors",
1328
1328
  title: "Expand all",
1329
1329
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronsUpDown, { className: "w-3 h-3" })
1330
1330
  }