@inf-monkeys-tech/monkeys-design 1.0.102 → 1.0.103

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.
@@ -6,7 +6,6 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
6
  import { ChevronDown, Check, ChevronRight, Circle, ChevronUp, ArrowUp, ArrowDown, Pencil, Trash2, Image, File, LoaderCircle, CircleAlert, RotateCcw, X, Paperclip, FileText, Mic, Send, Square, ShoppingBag, Code2, Search, Palette, Sparkles, ArrowLeft, Upload, ArrowUpRight, Plus, Pin, Blocks, Settings, Clock3, TerminalSquare, FileOutput, Download, PanelLeft, PanelRight, Loader2, ListFilter, Link2, TriangleAlert, RefreshCw, ExternalLink, PanelRightClose, Wrench, BookOpen, Bot, SquarePen, MessageSquare, CheckCircle2, XCircle, CircleStop, AlertCircle, GitFork, PencilLine, Copy, FileCode2, Files, TestTube2, Globe2, Film, Presentation, FileImage, Music2, Ellipsis } from 'lucide-react';
7
7
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
8
8
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
9
- import * as PopoverPrimitive2 from '@radix-ui/react-popover';
10
9
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
11
10
  import { Slot } from '@radix-ui/react-slot';
12
11
  import * as SwitchPrimitive from '@radix-ui/react-switch';
@@ -17,6 +16,7 @@ import * as SelectPrimitive from '@radix-ui/react-select';
17
16
  import * as DialogPrimitive from '@radix-ui/react-dialog';
18
17
  import { resolveAgentWorkbenchSidebarConfig } from '@inf-monkeys-tech/monkeys';
19
18
  import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
19
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
20
20
  import { useSensors, useSensor, PointerSensor, KeyboardSensor, DndContext, closestCenter } from '@dnd-kit/core';
21
21
  import { sortableKeyboardCoordinates, SortableContext, horizontalListSortingStrategy, useSortable } from '@dnd-kit/sortable';
22
22
  import { CSS } from '@dnd-kit/utilities';
@@ -663,20 +663,6 @@ var Button = React5.forwardRef(
663
663
  }
664
664
  );
665
665
  Button.displayName = "Button";
666
- var PopoverContent = React5.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive2.Portal, { children: /* @__PURE__ */ jsx(
667
- PopoverPrimitive2.Content,
668
- {
669
- ref,
670
- align,
671
- sideOffset,
672
- className: cn(
673
- "z-50 w-72 rounded-lg border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
674
- className
675
- ),
676
- ...props
677
- }
678
- ) }));
679
- PopoverContent.displayName = "PopoverContent";
680
666
  var ScrollArea = React5.forwardRef(
681
667
  ({
682
668
  className,
@@ -5265,9 +5251,9 @@ function AgentWorkbenchArtifactSummary({
5265
5251
  const outputs = artifacts.filter((artifact) => artifact.origin === "output");
5266
5252
  const sources = artifacts.filter((artifact) => artifact.origin === "source");
5267
5253
  if (artifacts.length === 0) return null;
5268
- return /* @__PURE__ */ jsxs(PopoverPrimitive2.Root, { open, defaultOpen, onOpenChange, children: [
5254
+ return /* @__PURE__ */ jsxs(PopoverPrimitive.Root, { open, defaultOpen, onOpenChange, children: [
5269
5255
  /* @__PURE__ */ jsx(
5270
- PopoverPrimitive2.Trigger,
5256
+ PopoverPrimitive.Trigger,
5271
5257
  {
5272
5258
  type: "button",
5273
5259
  className: cn2(
@@ -5279,7 +5265,7 @@ function AgentWorkbenchArtifactSummary({
5279
5265
  }
5280
5266
  ),
5281
5267
  /* @__PURE__ */ jsxs(
5282
- PopoverPrimitive2.Content,
5268
+ PopoverPrimitive.Content,
5283
5269
  {
5284
5270
  "aria-label": messages.toggleSummary,
5285
5271
  side: "bottom",
@@ -5326,7 +5312,7 @@ function AgentWorkbenchArtifactSummary({
5326
5312
  }
5327
5313
  ) : null
5328
5314
  ] }),
5329
- /* @__PURE__ */ jsx(PopoverPrimitive2.Arrow, { className: "fill-popover" })
5315
+ /* @__PURE__ */ jsx(PopoverPrimitive.Arrow, { className: "fill-popover" })
5330
5316
  ]
5331
5317
  }
5332
5318
  )