@yuva-devlab/ui 2.2.0 → 2.2.1

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.d.cts CHANGED
@@ -2680,7 +2680,7 @@ type SwitchProps = React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root
2680
2680
  * @example
2681
2681
  * ```tsx
2682
2682
  * // Basic toggle switch
2683
- * <div className="flex items-center justify-between">
2683
+ * <div style={{ display: "flex", alignItems: "center", justifyContent: "space-between" }}>
2684
2684
  * <Label htmlFor="airplane-mode">Airplane Mode</Label>
2685
2685
  * <Switch id="airplane-mode" checked={enabled} onCheckedChange={setEnabled} />
2686
2686
  * </div>
package/dist/index.d.ts CHANGED
@@ -2680,7 +2680,7 @@ type SwitchProps = React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root
2680
2680
  * @example
2681
2681
  * ```tsx
2682
2682
  * // Basic toggle switch
2683
- * <div className="flex items-center justify-between">
2683
+ * <div style={{ display: "flex", alignItems: "center", justifyContent: "space-between" }}>
2684
2684
  * <Label htmlFor="airplane-mode">Airplane Mode</Label>
2685
2685
  * <Switch id="airplane-mode" checked={enabled} onCheckedChange={setEnabled} />
2686
2686
  * </div>
package/dist/index.js CHANGED
@@ -959,7 +959,7 @@ var Checkpoint = React14.forwardRef(
959
959
  ...props
960
960
  }, ref) => {
961
961
  return /* @__PURE__ */ jsx14("div", { ref, className: cn("dl-checkpoint", className), ...props, children: /* @__PURE__ */ jsxs7("div", { className: "dl-checkpoint__content", children: [
962
- /* @__PURE__ */ jsx14(History, { className: "size-3 text-muted-foreground" }),
962
+ /* @__PURE__ */ jsx14(History, { className: "dl-checkpoint__icon" }),
963
963
  /* @__PURE__ */ jsx14("span", { children: label }),
964
964
  onRestore && /* @__PURE__ */ jsx14(
965
965
  "button",
@@ -1243,11 +1243,11 @@ var CodeBlockCopyButton = React20.forwardRef(({ className, code = "", onClick, .
1243
1243
  });
1244
1244
  CodeBlockCopyButton.displayName = "CodeBlockCopyButton";
1245
1245
  var CodeBlockHeader = React20.forwardRef(({ className, filename, language, children, ...props }, ref) => /* @__PURE__ */ jsxs11("div", { ref, className: cn("dl-code-block__header", className), ...props, children: [
1246
- /* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-2", children: [
1246
+ /* @__PURE__ */ jsxs11("div", { className: "dl-code-block__header-meta", children: [
1247
1247
  filename && /* @__PURE__ */ jsx19("span", { className: "dl-code-block__filename", children: filename }),
1248
1248
  language && /* @__PURE__ */ jsx19("span", { className: "dl-code-block__language", children: language })
1249
1249
  ] }),
1250
- /* @__PURE__ */ jsx19("div", { className: "flex items-center gap-1.5", children })
1250
+ /* @__PURE__ */ jsx19("div", { className: "dl-code-block__header-actions", children })
1251
1251
  ] }));
1252
1252
  CodeBlockHeader.displayName = "CodeBlockHeader";
1253
1253
  var CodeBlockContent = React20.forwardRef(
@@ -2706,16 +2706,10 @@ var SearchInput = React42.forwardRef(
2706
2706
  onClick: onClear,
2707
2707
  "aria-label": "Clear search query",
2708
2708
  tabIndex: -1,
2709
- children: /* @__PURE__ */ jsx44(X2, { className: "size-4", "aria-hidden": "true" })
2709
+ children: /* @__PURE__ */ jsx44(X2, { className: "dl-search-icon", "aria-hidden": "true" })
2710
2710
  }
2711
2711
  ) : null;
2712
- const trailingIcon = loading ? /* @__PURE__ */ jsx44(
2713
- Loader22,
2714
- {
2715
- className: "size-4 animate-spin text-muted-foreground",
2716
- "aria-hidden": "true"
2717
- }
2718
- ) : clearButton ?? endIcon;
2712
+ const trailingIcon = loading ? /* @__PURE__ */ jsx44(Loader22, { className: "dl-search-spinner", "aria-hidden": "true" }) : clearButton ?? endIcon;
2719
2713
  return /* @__PURE__ */ jsx44(
2720
2714
  Input,
2721
2715
  {
@@ -3049,7 +3043,7 @@ function MultiSelect({
3049
3043
  onClick: (e) => handleRemove(e, opt.value),
3050
3044
  "aria-label": `Remove ${opt.label}`,
3051
3045
  className: "dl-multi-select-chip__remove",
3052
- children: /* @__PURE__ */ jsx49(X3, { className: "size-3" })
3046
+ children: /* @__PURE__ */ jsx49(X3, { className: "dl-multi-select-chip__icon" })
3053
3047
  }
3054
3048
  )
3055
3049
  ] }, opt.value)),
@@ -3059,7 +3053,7 @@ function MultiSelect({
3059
3053
  " more"
3060
3054
  ] })
3061
3055
  ] }) }),
3062
- /* @__PURE__ */ jsx49(ChevronDown4, { className: "size-4 shrink-0 text-muted-foreground" })
3056
+ /* @__PURE__ */ jsx49(ChevronDown4, { className: "dl-multi-select-chevron" })
3063
3057
  ]
3064
3058
  }
3065
3059
  ) }),
@@ -4887,7 +4881,7 @@ var PromptInput = React74.forwardRef(
4887
4881
  ...props,
4888
4882
  children: [
4889
4883
  files.length > 0 && /* @__PURE__ */ jsx78("div", { className: "dl-prompt-input__attachments", children: files.map((file) => /* @__PURE__ */ jsxs48("span", { className: "dl-prompt-input__chip", children: [
4890
- /* @__PURE__ */ jsx78(FileText, { className: "size-3 text-muted-foreground" }),
4884
+ /* @__PURE__ */ jsx78(FileText, { className: "dl-prompt-input__chip-icon" }),
4891
4885
  /* @__PURE__ */ jsx78("span", { className: "dl-prompt-input__chip-name", children: file.name }),
4892
4886
  /* @__PURE__ */ jsx78(
4893
4887
  "button",
@@ -4896,7 +4890,7 @@ var PromptInput = React74.forwardRef(
4896
4890
  onClick: () => handleRemoveFile(file.id),
4897
4891
  "aria-label": `Remove ${file.name}`,
4898
4892
  className: "dl-prompt-input__chip-remove",
4899
- children: /* @__PURE__ */ jsx78(X5, { className: "size-3" })
4893
+ children: /* @__PURE__ */ jsx78(X5, { className: "dl-prompt-input__chip-icon" })
4900
4894
  }
4901
4895
  )
4902
4896
  ] }, file.id)) }),
@@ -5149,18 +5143,18 @@ var TerminalHeader = React77.forwardRef(
5149
5143
  className: cn("dl-terminal__header", className),
5150
5144
  ...props,
5151
5145
  children: [
5152
- /* @__PURE__ */ jsxs51("div", { className: "flex items-center gap-2", children: [
5146
+ /* @__PURE__ */ jsxs51("div", { className: "dl-terminal__header-left", children: [
5153
5147
  windowControls && /* @__PURE__ */ jsxs51("div", { className: "dl-terminal__dots", "aria-hidden": "true", children: [
5154
5148
  /* @__PURE__ */ jsx81("span", { className: "dl-terminal__dot" }),
5155
5149
  /* @__PURE__ */ jsx81("span", { className: "dl-terminal__dot" }),
5156
5150
  /* @__PURE__ */ jsx81("span", { className: "dl-terminal__dot" })
5157
5151
  ] }),
5158
5152
  /* @__PURE__ */ jsxs51("div", { className: "dl-terminal__title", children: [
5159
- /* @__PURE__ */ jsx81(TerminalIcon, { className: "size-3.5" }),
5153
+ /* @__PURE__ */ jsx81(TerminalIcon, { className: "dl-terminal__icon" }),
5160
5154
  /* @__PURE__ */ jsx81("span", { children: command ?? "Terminal" })
5161
5155
  ] })
5162
5156
  ] }),
5163
- /* @__PURE__ */ jsxs51("div", { className: "flex items-center gap-1.5", children: [
5157
+ /* @__PURE__ */ jsxs51("div", { className: "dl-terminal__header-actions", children: [
5164
5158
  /* @__PURE__ */ jsx81(
5165
5159
  "button",
5166
5160
  {
@@ -5168,7 +5162,13 @@ var TerminalHeader = React77.forwardRef(
5168
5162
  onClick: handleCopy,
5169
5163
  "aria-label": copied ? "Copied" : "Copy output",
5170
5164
  className: "dl-code-block__copy-btn",
5171
- children: copied ? /* @__PURE__ */ jsx81(Check10, { className: "size-3.5 text-success" }) : /* @__PURE__ */ jsx81(Copy3, { className: "size-3.5" })
5165
+ children: copied ? /* @__PURE__ */ jsx81(
5166
+ Check10,
5167
+ {
5168
+ className: "dl-terminal__icon",
5169
+ style: { color: "var(--success, #22c55e)" }
5170
+ }
5171
+ ) : /* @__PURE__ */ jsx81(Copy3, { className: "dl-terminal__icon" })
5172
5172
  }
5173
5173
  ),
5174
5174
  children
@@ -5324,16 +5324,25 @@ var ModelSelector = React78.forwardRef(
5324
5324
  "aria-haspopup": "listbox",
5325
5325
  "aria-expanded": isOpen,
5326
5326
  children: [
5327
- /* @__PURE__ */ jsxs52("div", { className: "flex items-center gap-1.5", children: [
5328
- currentModel?.icon ?? /* @__PURE__ */ jsx82(Bot, { className: "size-3.5 text-primary" }),
5329
- /* @__PURE__ */ jsx82("span", { className: "font-semibold text-foreground", children: currentModel ? currentModel.name : placeholder })
5327
+ /* @__PURE__ */ jsxs52("div", { className: "dl-model-selector__trigger-label", children: [
5328
+ currentModel?.icon ?? /* @__PURE__ */ jsx82(
5329
+ Bot,
5330
+ {
5331
+ style: {
5332
+ width: "0.875rem",
5333
+ height: "0.875rem",
5334
+ color: "var(--primary)"
5335
+ }
5336
+ }
5337
+ ),
5338
+ /* @__PURE__ */ jsx82("span", { style: { fontWeight: 600, color: "var(--foreground)" }, children: currentModel ? currentModel.name : placeholder })
5330
5339
  ] }),
5331
5340
  /* @__PURE__ */ jsx82(
5332
5341
  ChevronDown9,
5333
5342
  {
5334
5343
  className: cn(
5335
- "size-3 text-muted-foreground transition-transform duration-200",
5336
- isOpen && "rotate-180"
5344
+ "dl-model-selector__chevron",
5345
+ isOpen && "dl-model-selector__chevron--open"
5337
5346
  )
5338
5347
  }
5339
5348
  )
@@ -5341,8 +5350,8 @@ var ModelSelector = React78.forwardRef(
5341
5350
  }
5342
5351
  ),
5343
5352
  isOpen && /* @__PURE__ */ jsxs52("div", { className: "dl-model-selector__content", role: "listbox", children: [
5344
- models.length > 3 && /* @__PURE__ */ jsxs52("div", { className: "relative", children: [
5345
- /* @__PURE__ */ jsx82(Search5, { className: "absolute left-2 top-2.5 size-3 text-muted-foreground" }),
5353
+ models.length > 3 && /* @__PURE__ */ jsxs52("div", { className: "dl-model-selector__search-wrapper", children: [
5354
+ /* @__PURE__ */ jsx82(Search5, { className: "dl-model-selector__search-icon" }),
5346
5355
  /* @__PURE__ */ jsx82(
5347
5356
  "input",
5348
5357
  {
@@ -5350,12 +5359,13 @@ var ModelSelector = React78.forwardRef(
5350
5359
  placeholder: "Filter models...",
5351
5360
  value: query,
5352
5361
  onChange: (e) => setQuery(e.target.value),
5353
- className: "dl-model-selector__search w-full pl-7",
5362
+ className: "dl-model-selector__search",
5363
+ style: { width: "100%", paddingLeft: "1.75rem" },
5354
5364
  autoFocus: true
5355
5365
  }
5356
5366
  )
5357
5367
  ] }),
5358
- /* @__PURE__ */ jsx82("div", { className: "flex flex-col gap-0.5", children: filteredModels.length === 0 ? /* @__PURE__ */ jsx82("div", { className: "p-3 text-center text-xs text-muted-foreground", children: "No matching models found" }) : filteredModels.map((model) => {
5368
+ /* @__PURE__ */ jsx82("div", { className: "dl-model-selector__list", children: filteredModels.length === 0 ? /* @__PURE__ */ jsx82("div", { className: "dl-model-selector__empty", children: "No matching models found" }) : filteredModels.map((model) => {
5359
5369
  const isSelected = model.id === activeId;
5360
5370
  return /* @__PURE__ */ jsxs52(
5361
5371
  "div",
@@ -5367,14 +5377,24 @@ var ModelSelector = React78.forwardRef(
5367
5377
  className: cn(
5368
5378
  "dl-model-selector__item",
5369
5379
  isSelected && "dl-model-selector__item--active",
5370
- model.disabled && "opacity-50 cursor-not-allowed"
5380
+ model.disabled && "dl-cursor-not-allowed"
5371
5381
  ),
5382
+ style: model.disabled ? { opacity: 0.5 } : void 0,
5372
5383
  children: [
5373
5384
  /* @__PURE__ */ jsxs52("div", { className: "dl-model-selector__item-info", children: [
5374
5385
  /* @__PURE__ */ jsxs52("div", { className: "dl-model-selector__item-title", children: [
5375
- model.icon ?? /* @__PURE__ */ jsx82(Sparkles4, { className: "size-3 text-primary" }),
5386
+ model.icon ?? /* @__PURE__ */ jsx82(
5387
+ Sparkles4,
5388
+ {
5389
+ style: {
5390
+ width: "0.75rem",
5391
+ height: "0.75rem",
5392
+ color: "var(--primary)"
5393
+ }
5394
+ }
5395
+ ),
5376
5396
  /* @__PURE__ */ jsx82("span", { children: model.name }),
5377
- /* @__PURE__ */ jsxs52("span", { className: "text-xs text-muted-foreground font-normal", children: [
5397
+ /* @__PURE__ */ jsxs52("span", { className: "dl-model-selector__provider", children: [
5378
5398
  "(",
5379
5399
  model.provider,
5380
5400
  ")"
@@ -5434,11 +5454,11 @@ var PlanHeader = React79.forwardRef(
5434
5454
  "span",
5435
5455
  {
5436
5456
  className: cn(
5437
- "px-2 py-0.5 rounded-full text-xs font-semibold uppercase tracking-wider",
5438
- status === "completed" && "bg-success/15 text-success",
5439
- status === "in-progress" && "bg-primary/15 text-primary",
5440
- status === "failed" && "bg-destructive/15 text-destructive",
5441
- status === "pending" && "bg-muted text-muted-foreground"
5457
+ "dl-plan__status-chip",
5458
+ status === "completed" && "dl-plan__status-chip--completed",
5459
+ status === "in-progress" && "dl-plan__status-chip--in-progress",
5460
+ status === "failed" && "dl-plan__status-chip--failed",
5461
+ status === "pending" && "dl-plan__status-chip--pending"
5442
5462
  ),
5443
5463
  children: status
5444
5464
  }
@@ -5463,14 +5483,47 @@ var PlanTask = React79.forwardRef(
5463
5483
  const renderIcon = () => {
5464
5484
  switch (status) {
5465
5485
  case "completed":
5466
- return /* @__PURE__ */ jsx83(CheckCircle24, { className: "size-4 text-success" });
5486
+ return /* @__PURE__ */ jsx83(
5487
+ CheckCircle24,
5488
+ {
5489
+ style: { width: "1rem", height: "1rem", color: "var(--success)" }
5490
+ }
5491
+ );
5467
5492
  case "running":
5468
- return /* @__PURE__ */ jsx83(Loader25, { className: "size-4 text-primary animate-spin" });
5493
+ return /* @__PURE__ */ jsx83(
5494
+ Loader25,
5495
+ {
5496
+ style: {
5497
+ width: "1rem",
5498
+ height: "1rem",
5499
+ color: "var(--primary)",
5500
+ animation: "spin 1s linear infinite"
5501
+ }
5502
+ }
5503
+ );
5469
5504
  case "failed":
5470
- return /* @__PURE__ */ jsx83(XCircle, { className: "size-4 text-destructive" });
5505
+ return /* @__PURE__ */ jsx83(
5506
+ XCircle,
5507
+ {
5508
+ style: {
5509
+ width: "1rem",
5510
+ height: "1rem",
5511
+ color: "var(--destructive)"
5512
+ }
5513
+ }
5514
+ );
5471
5515
  case "pending":
5472
5516
  default:
5473
- return /* @__PURE__ */ jsx83(Circle6, { className: "size-4 text-muted-foreground" });
5517
+ return /* @__PURE__ */ jsx83(
5518
+ Circle6,
5519
+ {
5520
+ style: {
5521
+ width: "1rem",
5522
+ height: "1rem",
5523
+ color: "var(--muted-foreground)"
5524
+ }
5525
+ }
5526
+ );
5474
5527
  }
5475
5528
  };
5476
5529
  return /* @__PURE__ */ jsxs53(
@@ -5493,14 +5546,14 @@ var PlanTask = React79.forwardRef(
5493
5546
  /* @__PURE__ */ jsx83("div", { className: "dl-plan__task-icon", children: renderIcon() }),
5494
5547
  /* @__PURE__ */ jsxs53("div", { className: "dl-plan__task-body", children: [
5495
5548
  /* @__PURE__ */ jsx83("span", { className: "dl-plan__task-title", children: title }),
5496
- description && !expanded && /* @__PURE__ */ jsx83("span", { className: "dl-plan__task-desc line-clamp-1", children: description })
5549
+ description && !expanded && /* @__PURE__ */ jsx83("span", { className: "dl-plan__task-desc dl-line-clamp-1", children: description })
5497
5550
  ] }),
5498
5551
  hasChildren && /* @__PURE__ */ jsx83(
5499
5552
  ChevronRight6,
5500
5553
  {
5501
5554
  className: cn(
5502
- "size-3.5 text-muted-foreground transition-transform shrink-0 mt-0.5",
5503
- expanded && "rotate-90"
5555
+ "dl-plan__chevron",
5556
+ expanded && "dl-plan__chevron--expanded"
5504
5557
  )
5505
5558
  }
5506
5559
  )
@@ -5508,7 +5561,7 @@ var PlanTask = React79.forwardRef(
5508
5561
  }
5509
5562
  ),
5510
5563
  expanded && hasChildren && /* @__PURE__ */ jsxs53("div", { className: "dl-plan__task-details", children: [
5511
- description && /* @__PURE__ */ jsx83("div", { className: "mb-2 leading-relaxed", children: description }),
5564
+ description && /* @__PURE__ */ jsx83("div", { className: "dl-plan__desc-block", children: description }),
5512
5565
  children
5513
5566
  ] })
5514
5567
  ]
@@ -5586,9 +5639,9 @@ var SourceCard = React80.forwardRef(
5586
5639
  children: [
5587
5640
  /* @__PURE__ */ jsxs54("div", { className: "dl-source-card__meta", children: [
5588
5641
  /* @__PURE__ */ jsx84("span", { className: "dl-source-card__index", children: source.index }),
5589
- /* @__PURE__ */ jsx84(Globe, { className: "size-3 text-muted-foreground shrink-0" }),
5642
+ /* @__PURE__ */ jsx84(Globe, { className: "dl-source-card__icon" }),
5590
5643
  /* @__PURE__ */ jsx84("span", { className: "dl-source-card__domain", children: domain }),
5591
- /* @__PURE__ */ jsx84(ExternalLink, { className: "size-2.5 ml-auto text-muted-foreground shrink-0 opacity-70" })
5644
+ /* @__PURE__ */ jsx84(ExternalLink, { className: "dl-source-card__external" })
5592
5645
  ] }),
5593
5646
  /* @__PURE__ */ jsx84("div", { className: "dl-source-card__title", title: source.title, children: source.title })
5594
5647
  ]
@@ -5636,15 +5689,15 @@ import {
5636
5689
  import { jsx as jsx85, jsxs as jsxs55 } from "react/jsx-runtime";
5637
5690
  var getFileIcon = (name) => {
5638
5691
  if (name.endsWith(".ts") || name.endsWith(".tsx") || name.endsWith(".js") || name.endsWith(".jsx")) {
5639
- return /* @__PURE__ */ jsx85(FileCode, { className: "size-3.5 text-primary" });
5692
+ return /* @__PURE__ */ jsx85(FileCode, { className: "dl-file-tree__glyph dl-file-tree__glyph--primary" });
5640
5693
  }
5641
5694
  if (name.endsWith(".json")) {
5642
- return /* @__PURE__ */ jsx85(FileJson, { className: "size-3.5 text-warning" });
5695
+ return /* @__PURE__ */ jsx85(FileJson, { className: "dl-file-tree__glyph dl-file-tree__glyph--warning" });
5643
5696
  }
5644
5697
  if (name.endsWith(".md") || name.endsWith(".mdx")) {
5645
- return /* @__PURE__ */ jsx85(FileText2, { className: "size-3.5 text-info" });
5698
+ return /* @__PURE__ */ jsx85(FileText2, { className: "dl-file-tree__glyph dl-file-tree__glyph--info" });
5646
5699
  }
5647
- return /* @__PURE__ */ jsx85(File, { className: "size-3.5 text-muted-foreground" });
5700
+ return /* @__PURE__ */ jsx85(File, { className: "dl-file-tree__glyph dl-file-tree__glyph--muted" });
5648
5701
  };
5649
5702
  var FileTreeNode = React81.forwardRef(
5650
5703
  ({ className, item, level = 0, selectedId, onSelect, ...props }, ref) => {
@@ -5658,7 +5711,7 @@ var FileTreeNode = React81.forwardRef(
5658
5711
  }
5659
5712
  onSelect?.(item);
5660
5713
  };
5661
- return /* @__PURE__ */ jsxs55("div", { ref, className: cn("flex flex-col", className), ...props, children: [
5714
+ return /* @__PURE__ */ jsxs55("div", { ref, className: cn("dl-file-tree__item", className), ...props, children: [
5662
5715
  /* @__PURE__ */ jsxs55(
5663
5716
  "div",
5664
5717
  {
@@ -5672,12 +5725,12 @@ var FileTreeNode = React81.forwardRef(
5672
5725
  ChevronRight7,
5673
5726
  {
5674
5727
  className: cn(
5675
- "size-3 text-muted-foreground transition-transform shrink-0",
5676
- isOpen && "rotate-90"
5728
+ "dl-file-tree__chevron",
5729
+ isOpen && "dl-file-tree__chevron--open"
5677
5730
  )
5678
5731
  }
5679
5732
  ),
5680
- /* @__PURE__ */ jsx85("span", { className: "dl-file-tree__icon", children: isFolder ? isOpen ? /* @__PURE__ */ jsx85(FolderOpen, { className: "size-3.5 text-warning shrink-0" }) : /* @__PURE__ */ jsx85(Folder, { className: "size-3.5 text-warning shrink-0" }) : getFileIcon(item.name) }),
5733
+ /* @__PURE__ */ jsx85("span", { className: "dl-file-tree__icon", children: isFolder ? isOpen ? /* @__PURE__ */ jsx85(FolderOpen, { className: "dl-file-tree__glyph dl-file-tree__glyph--warning" }) : /* @__PURE__ */ jsx85(Folder, { className: "dl-file-tree__glyph dl-file-tree__glyph--warning" }) : getFileIcon(item.name) }),
5681
5734
  /* @__PURE__ */ jsx85("span", { className: "dl-file-tree__name", children: item.name })
5682
5735
  ]
5683
5736
  }
@@ -5752,13 +5805,13 @@ var StackFrame = React82.forwardRef(
5752
5805
  className: "dl-stack-frame__header",
5753
5806
  onClick: () => hasSnippet && setExpanded((prev) => !prev),
5754
5807
  children: [
5755
- /* @__PURE__ */ jsxs56("div", { className: "flex items-center gap-1.5 min-w-0", children: [
5808
+ /* @__PURE__ */ jsxs56("div", { className: "dl-stack-frame__fn-wrapper", children: [
5756
5809
  hasSnippet && /* @__PURE__ */ jsx86(
5757
5810
  ChevronRight8,
5758
5811
  {
5759
5812
  className: cn(
5760
- "size-3 text-muted-foreground transition-transform shrink-0",
5761
- expanded && "rotate-90"
5813
+ "dl-stack-frame__chevron",
5814
+ expanded && "dl-stack-frame__chevron--expanded"
5762
5815
  )
5763
5816
  }
5764
5817
  ),
@@ -5843,24 +5896,33 @@ import { jsx as jsx87, jsxs as jsxs57 } from "react/jsx-runtime";
5843
5896
  var getStatusBadge = (status) => {
5844
5897
  switch (status) {
5845
5898
  case "running":
5846
- return /* @__PURE__ */ jsxs57("span", { className: "flex items-center gap-1 text-xs text-primary font-medium", children: [
5847
- /* @__PURE__ */ jsx87(Loader26, { className: "size-3 animate-spin" }),
5899
+ return /* @__PURE__ */ jsxs57("span", { className: "dl-subagent__status dl-subagent__status--running", children: [
5900
+ /* @__PURE__ */ jsx87(
5901
+ Loader26,
5902
+ {
5903
+ style: {
5904
+ width: "0.75rem",
5905
+ height: "0.75rem",
5906
+ animation: "spin 1s linear infinite"
5907
+ }
5908
+ }
5909
+ ),
5848
5910
  /* @__PURE__ */ jsx87("span", { children: "Running" })
5849
5911
  ] });
5850
5912
  case "completed":
5851
- return /* @__PURE__ */ jsxs57("span", { className: "flex items-center gap-1 text-xs text-success font-medium", children: [
5852
- /* @__PURE__ */ jsx87(CheckCircle25, { className: "size-3" }),
5913
+ return /* @__PURE__ */ jsxs57("span", { className: "dl-subagent__status dl-subagent__status--completed", children: [
5914
+ /* @__PURE__ */ jsx87(CheckCircle25, { style: { width: "0.75rem", height: "0.75rem" } }),
5853
5915
  /* @__PURE__ */ jsx87("span", { children: "Done" })
5854
5916
  ] });
5855
5917
  case "failed":
5856
- return /* @__PURE__ */ jsxs57("span", { className: "flex items-center gap-1 text-xs text-destructive font-medium", children: [
5857
- /* @__PURE__ */ jsx87(XCircle2, { className: "size-3" }),
5918
+ return /* @__PURE__ */ jsxs57("span", { className: "dl-subagent__status dl-subagent__status--failed", children: [
5919
+ /* @__PURE__ */ jsx87(XCircle2, { style: { width: "0.75rem", height: "0.75rem" } }),
5858
5920
  /* @__PURE__ */ jsx87("span", { children: "Failed" })
5859
5921
  ] });
5860
5922
  case "idle":
5861
5923
  default:
5862
- return /* @__PURE__ */ jsxs57("span", { className: "flex items-center gap-1 text-xs text-muted-foreground", children: [
5863
- /* @__PURE__ */ jsx87(Circle7, { className: "size-3" }),
5924
+ return /* @__PURE__ */ jsxs57("span", { className: "dl-subagent__status dl-subagent__status--idle", children: [
5925
+ /* @__PURE__ */ jsx87(Circle7, { style: { width: "0.75rem", height: "0.75rem" } }),
5864
5926
  /* @__PURE__ */ jsx87("span", { children: "Idle" })
5865
5927
  ] });
5866
5928
  }
@@ -5894,8 +5956,8 @@ var Subagent = React83.forwardRef(
5894
5956
  ] })
5895
5957
  ] }),
5896
5958
  /* @__PURE__ */ jsxs57("div", { className: "dl-subagent__badges", children: [
5897
- model && /* @__PURE__ */ jsx87("span", { className: "px-1.5 py-0.5 rounded text-[10px] font-mono bg-muted text-muted-foreground border border-border", children: model }),
5898
- conversationId && /* @__PURE__ */ jsxs57("span", { className: "px-1.5 py-0.5 rounded text-[10px] font-mono bg-muted text-muted-foreground", children: [
5959
+ model && /* @__PURE__ */ jsx87("span", { className: "dl-subagent__chip", children: model }),
5960
+ conversationId && /* @__PURE__ */ jsxs57("span", { className: "dl-subagent__chip", children: [
5899
5961
  "#",
5900
5962
  conversationId.slice(0, 6)
5901
5963
  ] }),
@@ -5904,8 +5966,8 @@ var Subagent = React83.forwardRef(
5904
5966
  ChevronRight9,
5905
5967
  {
5906
5968
  className: cn(
5907
- "size-3.5 text-muted-foreground transition-transform shrink-0 ml-1",
5908
- open && "rotate-90"
5969
+ "dl-subagent__chevron",
5970
+ open && "dl-subagent__chevron--open"
5909
5971
  )
5910
5972
  }
5911
5973
  )
@@ -6015,10 +6077,30 @@ var QueueItem = React85.forwardRef(
6015
6077
  case "active":
6016
6078
  return /* @__PURE__ */ jsx89(Loader27, { className: "size-3 text-primary animate-spin shrink-0" });
6017
6079
  case "paused":
6018
- return /* @__PURE__ */ jsx89(Pause, { className: "size-3 text-warning shrink-0" });
6080
+ return /* @__PURE__ */ jsx89(
6081
+ Pause,
6082
+ {
6083
+ style: {
6084
+ width: "0.75rem",
6085
+ height: "0.75rem",
6086
+ color: "var(--warning, #eab308)",
6087
+ flexShrink: 0
6088
+ }
6089
+ }
6090
+ );
6019
6091
  case "waiting":
6020
6092
  default:
6021
- return /* @__PURE__ */ jsx89(Clock, { className: "size-3 text-muted-foreground shrink-0" });
6093
+ return /* @__PURE__ */ jsx89(
6094
+ Clock,
6095
+ {
6096
+ style: {
6097
+ width: "0.75rem",
6098
+ height: "0.75rem",
6099
+ color: "var(--muted-foreground)",
6100
+ flexShrink: 0
6101
+ }
6102
+ }
6103
+ );
6022
6104
  }
6023
6105
  };
6024
6106
  return /* @__PURE__ */ jsxs59("div", { ref, className: cn("dl-queue-item", className), ...props, children: [
@@ -6032,23 +6114,23 @@ var QueueItem = React85.forwardRef(
6032
6114
  "span",
6033
6115
  {
6034
6116
  className: cn(
6035
- "px-1.5 py-0.5 rounded text-[10px] font-semibold uppercase tracking-wider",
6036
- task.priority === "high" && "bg-destructive/15 text-destructive",
6037
- task.priority === "normal" && "bg-primary/15 text-primary",
6038
- task.priority === "low" && "bg-muted text-muted-foreground"
6117
+ "dl-queue-item__priority",
6118
+ task.priority === "high" && "dl-queue-item__priority--high",
6119
+ task.priority === "normal" && "dl-queue-item__priority--normal",
6120
+ task.priority === "low" && "dl-queue-item__priority--low"
6039
6121
  ),
6040
6122
  children: task.priority
6041
6123
  }
6042
6124
  ),
6043
- task.estimatedDuration && /* @__PURE__ */ jsx89("span", { className: "text-xs text-muted-foreground font-mono", children: task.estimatedDuration }),
6125
+ task.estimatedDuration && /* @__PURE__ */ jsx89("span", { className: "dl-queue-item__duration", children: task.estimatedDuration }),
6044
6126
  onRemove && /* @__PURE__ */ jsx89(
6045
6127
  "button",
6046
6128
  {
6047
6129
  type: "button",
6048
6130
  onClick: onRemove,
6049
6131
  "aria-label": "Remove task",
6050
- className: "text-muted-foreground hover:text-foreground p-0.5 rounded",
6051
- children: /* @__PURE__ */ jsx89(X6, { className: "size-3.5" })
6132
+ className: "dl-queue-item__remove-btn",
6133
+ children: /* @__PURE__ */ jsx89(X6, { style: { width: "0.875rem", height: "0.875rem" } })
6052
6134
  }
6053
6135
  )
6054
6136
  ] })
@@ -6067,11 +6149,16 @@ var Queue = React85.forwardRef(
6067
6149
  }, ref) => {
6068
6150
  return /* @__PURE__ */ jsxs59("div", { ref, className: cn("dl-queue", className), ...props, children: [
6069
6151
  /* @__PURE__ */ jsxs59("div", { className: "dl-queue__header", children: [
6070
- /* @__PURE__ */ jsxs59("div", { className: "flex items-center gap-1.5", children: [
6071
- /* @__PURE__ */ jsx89(ListOrdered, { className: "size-4 text-primary" }),
6152
+ /* @__PURE__ */ jsxs59("div", { className: "dl-queue__header-left", children: [
6153
+ /* @__PURE__ */ jsx89(
6154
+ ListOrdered,
6155
+ {
6156
+ style: { width: "1rem", height: "1rem", color: "var(--primary)" }
6157
+ }
6158
+ ),
6072
6159
  /* @__PURE__ */ jsx89("span", { children: title })
6073
6160
  ] }),
6074
- /* @__PURE__ */ jsxs59("span", { className: "text-xs text-muted-foreground font-normal", children: [
6161
+ /* @__PURE__ */ jsxs59("span", { className: "dl-queue__header-count", children: [
6075
6162
  tasks.length,
6076
6163
  " item",
6077
6164
  tasks.length === 1 ? "" : "s"
@@ -6114,21 +6201,31 @@ var TestCase = React86.forwardRef(
6114
6201
  return /* @__PURE__ */ jsx90(XCircle3, { className: "size-4 text-destructive shrink-0" });
6115
6202
  case "skipped":
6116
6203
  default:
6117
- return /* @__PURE__ */ jsx90(MinusCircle, { className: "size-4 text-muted-foreground shrink-0" });
6204
+ return /* @__PURE__ */ jsx90(
6205
+ MinusCircle,
6206
+ {
6207
+ style: {
6208
+ width: "1rem",
6209
+ height: "1rem",
6210
+ color: "var(--muted-foreground)",
6211
+ flexShrink: 0
6212
+ }
6213
+ }
6214
+ );
6118
6215
  }
6119
6216
  };
6120
6217
  return /* @__PURE__ */ jsxs60("div", { ref, className: cn("dl-test-case", className), ...props, children: [
6121
6218
  /* @__PURE__ */ jsxs60(
6122
6219
  "div",
6123
6220
  {
6124
- className: cn("dl-test-case__row", hasError && "cursor-pointer"),
6221
+ className: cn("dl-test-case__row", hasError && "dl-cursor-pointer"),
6125
6222
  onClick: () => hasError && setExpanded((prev) => !prev),
6126
6223
  children: [
6127
6224
  /* @__PURE__ */ jsxs60("div", { className: "dl-test-case__info", children: [
6128
6225
  renderIcon(),
6129
6226
  /* @__PURE__ */ jsx90("span", { className: "dl-test-case__name", children: test.name })
6130
6227
  ] }),
6131
- /* @__PURE__ */ jsxs60("div", { className: "flex items-center gap-2", children: [
6228
+ /* @__PURE__ */ jsxs60("div", { className: "dl-test-case__meta", children: [
6132
6229
  test.durationMs !== void 0 && /* @__PURE__ */ jsxs60("span", { className: "dl-test-case__duration", children: [
6133
6230
  test.durationMs,
6134
6231
  "ms"
@@ -6137,8 +6234,8 @@ var TestCase = React86.forwardRef(
6137
6234
  ChevronRight10,
6138
6235
  {
6139
6236
  className: cn(
6140
- "size-3 text-muted-foreground transition-transform",
6141
- expanded && "rotate-90"
6237
+ "dl-test-case__chevron",
6238
+ expanded && "dl-test-case__chevron--expanded"
6142
6239
  )
6143
6240
  }
6144
6241
  )
@@ -6165,10 +6262,15 @@ var TestResults = React86.forwardRef(
6165
6262
  const skipped = tests.filter((t) => t.status === "skipped").length;
6166
6263
  return /* @__PURE__ */ jsxs60("div", { ref, className: cn("dl-test-results", className), ...props, children: [
6167
6264
  /* @__PURE__ */ jsxs60("div", { className: "dl-test-results__header", children: [
6168
- /* @__PURE__ */ jsxs60("div", { className: "flex items-center gap-2", children: [
6169
- /* @__PURE__ */ jsx90(FlaskConical, { className: "size-4 text-primary" }),
6170
- /* @__PURE__ */ jsx90("span", { className: "font-semibold text-foreground", children: title }),
6171
- duration && /* @__PURE__ */ jsxs60("span", { className: "text-xs text-muted-foreground font-mono", children: [
6265
+ /* @__PURE__ */ jsxs60("div", { className: "dl-test-results__header-left", children: [
6266
+ /* @__PURE__ */ jsx90(
6267
+ FlaskConical,
6268
+ {
6269
+ style: { width: "1rem", height: "1rem", color: "var(--primary)" }
6270
+ }
6271
+ ),
6272
+ /* @__PURE__ */ jsx90("span", { className: "dl-test-results__title", children: title }),
6273
+ duration && /* @__PURE__ */ jsxs60("span", { className: "dl-test-results__duration", children: [
6172
6274
  "in ",
6173
6275
  duration
6174
6276
  ] })