@inf-monkeys-tech/monkeys-design 2.0.390 → 2.0.393

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.
@@ -17,7 +17,7 @@ import { IceCreamCone as IconPopsicle2 } from "lucide-react";
17
17
  import { Settings as IconSettingsGear1 } from "lucide-react";
18
18
  import { PanelLeftClose as IconSidebarLeftArrow } from "lucide-react";
19
19
  import { UserPlus as IconUserAdd } from "lucide-react";
20
- import { MoreHorizontal, Pencil, Trash2, LoaderCircle } from "lucide-react";
20
+ import { MoreHorizontal, Pencil, Trash2, LoaderCircle, MessageSquare } from "lucide-react";
21
21
  import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem } from "../../primitives/Menus";
22
22
  import { Dialog, DialogContent, DialogTitle, DialogDescription, DialogFooter } from "../../primitives/Overlays";
23
23
  import { Input } from "../../primitives/FormControls";
@@ -67,6 +67,7 @@ export type SidebarNavProps = {
67
67
  recentUpdate?: { id: string; label: string; manual?: boolean };
68
68
  onRenameRecent?: (id: string, label: string) => void | Promise<void>;
69
69
  onDeleteRecent?: (id: string) => void | Promise<void>;
70
+ /** Use `light-edge` for pill-shaped conversation rows with a glowing selection. */
70
71
  variant?: string;
71
72
  };
72
73
 
@@ -218,7 +219,7 @@ export function BUISidebarNav({
218
219
  footerLabel = "",
219
220
  footerIcon,
220
221
  onFooterClick,
221
- recents = EMPTY_RECENTS, recentUpdate, onRenameRecent, onDeleteRecent,
222
+ recents = EMPTY_RECENTS, recentUpdate, onRenameRecent, onDeleteRecent, variant,
222
223
  }: SidebarNavProps) {
223
224
  const translate = useBUICopy();
224
225
  const [collapsed, setCollapsed] = useState(false);
@@ -294,6 +295,7 @@ export function BUISidebarNav({
294
295
  return <BUIScope>{(
295
296
  <aside
296
297
  data-sidebar-collapsed={collapsed}
298
+ data-sidebar-variant={variant === "light-edge" ? variant : undefined}
297
299
  aria-label={translate("Workspace navigation")}
298
300
  className={`relative flex shrink-0 overflow-hidden transition-[width] ${fill ? "h-full" : "h-[600px]"} ${className}`}
299
301
  style={{
@@ -452,6 +454,7 @@ export function BUISidebarNav({
452
454
  <button type="button" title={item.label} aria-current={active ? "page" : undefined}
453
455
  onClick={() => { selectNav("chats"); if (activeTitle === undefined) setLocalActiveTitle(item.label); onPick?.(item.id, item.label, item.prompt); }}
454
456
  className="sidebar-recent-select min-w-0 flex-1 self-stretch text-left">
457
+ {variant === "light-edge" && <MessageSquare size={16} aria-hidden="true" />}
455
458
  <span className={`sidebar-copy block truncate text-sm font-medium ${active ? "text-ink" : "text-ink-2"}`}>{item.label}</span>
456
459
  </button>
457
460
  {item.running && <span className="sidebar-recent-running" role="status" aria-label={translate("recentRunning")} title={translate("recentRunning")}><LoaderCircle size={16} className="animate-spin" aria-hidden="true" /></span>}
@@ -41,6 +41,16 @@
41
41
  .agent-conversation-font-scale-control {
42
42
  margin-inline-end: var(--monkeys-ui-space-s3, 0.1875rem);
43
43
  }
44
+ .monkeys-ui-segmented.agent-conversation-font-scale-control {
45
+ gap: var(--monkeys-ui-space-s2, 0.125rem);
46
+ min-height: var(--monkeys-ui-size-s28, var(--monkeys-ui-default-size-s28, 1.75rem));
47
+ padding: 0;
48
+ }
49
+ .monkeys-ui-segmented.agent-conversation-font-scale-control .monkeys-ui-segment {
50
+ min-width: var(--monkeys-ui-size-s28, var(--monkeys-ui-default-size-s28, 1.75rem));
51
+ min-height: var(--monkeys-ui-size-s28, var(--monkeys-ui-default-size-s28, 1.75rem));
52
+ padding: 0 var(--monkeys-ui-space-s2, 0.125rem);
53
+ }
44
54
  .report-product-view-toggle {
45
55
  display: flex;
46
56
  justify-content: flex-end;