@litelens/design-system 1.7.1 → 1.7.4
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/atoms/index.js +2 -2
- package/dist/{chunk-A3HUPART.js → chunk-5BURJRJL.js} +50 -50
- package/dist/{chunk-SGI4TV5J.js → chunk-ENO55SX2.js} +40 -40
- package/dist/{chunk-UXCVSUSL.js → chunk-P3JHHECV.js} +30 -30
- package/dist/{chunk-74UTXQDZ.js → chunk-WSKXR7ZS.js} +3 -3
- package/dist/components/index.js +2 -2
- package/dist/index.js +4 -4
- package/dist/libs/index.js +1 -1
- package/package.json +9 -9
package/dist/atoms/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Checkbox, Collapsible, CollapsiblePanel, CollapsibleTrigger, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuPortal, ContextMenuSeparator, ContextMenuTrigger, Drawer, DrawerContent, DrawerPopup, DrawerPortal, DrawerViewport, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, Switch, Tabs, TabsContent, TabsIndicator, TabsList, TabsTrigger, Textarea, Toaster, textareaVariants } from '../chunk-
|
|
2
|
-
export { Badge, Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ScrollArea, ScrollBar, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, toast } from '../chunk-
|
|
1
|
+
export { Checkbox, Collapsible, CollapsiblePanel, CollapsibleTrigger, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuPortal, ContextMenuSeparator, ContextMenuTrigger, Drawer, DrawerContent, DrawerPopup, DrawerPortal, DrawerViewport, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, Switch, Tabs, TabsContent, TabsIndicator, TabsList, TabsTrigger, Textarea, Toaster, textareaVariants } from '../chunk-ENO55SX2.js';
|
|
2
|
+
export { Badge, Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ScrollArea, ScrollBar, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, toast } from '../chunk-P3JHHECV.js';
|
|
3
3
|
import '../chunk-3ZL7QROP.js';
|
|
4
4
|
import '../chunk-NFJMUQY6.js';
|
|
5
5
|
export { AppWindowIcon, AppleIcon, ArrowLeftRightIcon, ArrowUpCircleIcon, ArrowUpIcon, BellIcon, BoxesIcon, CheckCircle2Icon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, ChevronsLeftIcon, ChevronsRightIcon, CircleCheckIcon, CircleXIcon, ClockIcon, ContainerIcon, CopyIcon, CornerDownLeftIcon, CpuIcon, DatabaseIcon, DownloadIcon, DropletIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FileTextIcon, FolderOpenIcon, FolderSyncIcon, FrownIcon, GaugeIcon, GithubIcon, HardDriveIcon, HouseIcon, InfoIcon, Input, KeyIcon, LayersIcon, LayoutDashboardIcon, Link2Icon, LinuxIcon, ListChecksIcon, Loader2Icon, LockIcon, LockOpenIcon, Maximize2Icon, Minimize2Icon, MinusIcon, MoreVerticalIcon, NetworkIcon, OctagonXIcon, PackageIcon, PauseIcon, PencilIcon, PlayIcon, PlugIcon, PlusIcon, RefreshCwIcon, RocketIcon, RotateCcwIcon, RouteIcon, SaveIcon, ScalingIcon, ScrollTextIcon, SearchIcon, ServerIcon, Settings2Icon, SettingsIcon, ShieldAlertIcon, ShieldCheckIcon, ShieldIcon, SlidersHorizontalIcon, SquareIcon, StarIcon, TerminalIcon, TimerIcon, Trash2Icon, TriangleAlertIcon, UserRoundIcon, WebhookIcon, WindowsIcon, XCircleIcon, XIcon } from '../chunk-H5LPB7HL.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Tooltip, TooltipTrigger, TooltipContent, Button, DropdownMenuItem, TooltipProvider, Sheet, SheetContent, SheetHeader, ScrollArea, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, TableRow, TableCell, toast, Badge } from './chunk-
|
|
1
|
+
import { Tooltip, TooltipTrigger, TooltipContent, Button, DropdownMenuItem, TooltipProvider, Sheet, SheetContent, SheetHeader, ScrollArea, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, TableRow, TableCell, toast, Badge } from './chunk-P3JHHECV.js';
|
|
2
2
|
import { CheckIcon, CopyIcon, Loader2Icon, MinusIcon, PlusIcon, Trash2Icon, PencilIcon, RefreshCwIcon, ScalingIcon, XCircleIcon, CheckCircle2Icon, SearchIcon, Input, ChevronDownIcon, CircleCheckIcon, CircleXIcon } from './chunk-H5LPB7HL.js';
|
|
3
3
|
import { cn } from './chunk-QUNCRUSO.js';
|
|
4
4
|
import { useRef, useState, useLayoutEffect, Component, useMemo, useEffect } from 'react';
|
|
@@ -18,11 +18,11 @@ var AnnotationBadge = ({ label }) => {
|
|
|
18
18
|
if (!isOverflowing) return badge;
|
|
19
19
|
return /* @__PURE__ */ jsxs(Tooltip, { children: [
|
|
20
20
|
/* @__PURE__ */ jsx(TooltipTrigger, { className: "text-left", children: badge }),
|
|
21
|
-
/* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("span", { className: "break-all
|
|
21
|
+
/* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("span", { className: "font-mono break-all", children: label }) })
|
|
22
22
|
] });
|
|
23
23
|
};
|
|
24
24
|
var Divider = ({ className }) => {
|
|
25
|
-
return /* @__PURE__ */ jsx("hr", { className: cn("border-border
|
|
25
|
+
return /* @__PURE__ */ jsx("hr", { className: cn("w-full border-border", className) });
|
|
26
26
|
};
|
|
27
27
|
var ResourceLink = ({
|
|
28
28
|
children,
|
|
@@ -44,25 +44,25 @@ var ResourceLink = ({
|
|
|
44
44
|
variant: "link",
|
|
45
45
|
type: "button",
|
|
46
46
|
size: "xs",
|
|
47
|
-
className: cn("
|
|
47
|
+
className: cn("h-auto w-fit p-0 text-info", className),
|
|
48
48
|
onClick,
|
|
49
49
|
children: truncate ? /* @__PURE__ */ jsx(
|
|
50
50
|
"span",
|
|
51
51
|
{
|
|
52
52
|
ref,
|
|
53
53
|
className: cn(
|
|
54
|
-
"max-w-65
|
|
54
|
+
"inline-block max-w-65 truncate group-hover/button:[box-shadow:0_1px_0_0_currentColor]",
|
|
55
55
|
truncateTextClassName
|
|
56
56
|
),
|
|
57
57
|
children
|
|
58
58
|
}
|
|
59
59
|
) : children
|
|
60
60
|
}
|
|
61
|
-
) : /* @__PURE__ */ jsx("span", { className: cn("text-info
|
|
61
|
+
) : /* @__PURE__ */ jsx("span", { className: cn("cursor-default text-info", className), children: truncate ? /* @__PURE__ */ jsx("span", { ref, className: cn("inline-block max-w-65 truncate", truncateTextClassName), children }) : children });
|
|
62
62
|
if (!truncate || !isOverflowing) return inner;
|
|
63
63
|
return /* @__PURE__ */ jsxs(Tooltip, { children: [
|
|
64
64
|
/* @__PURE__ */ jsx(TooltipTrigger, { render: inner }),
|
|
65
|
-
/* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("span", { className: "break-all
|
|
65
|
+
/* @__PURE__ */ jsx(TooltipContent, { children: /* @__PURE__ */ jsx("span", { className: "font-mono break-all", children }) })
|
|
66
66
|
] });
|
|
67
67
|
};
|
|
68
68
|
var RADIUS = 36;
|
|
@@ -180,9 +180,9 @@ ${error.stack ?? ""}`;
|
|
|
180
180
|
if (error) {
|
|
181
181
|
if (this.props.fallback) return this.props.fallback(error, this.reset);
|
|
182
182
|
return /* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col items-center justify-center gap-4 p-8 text-center", children: [
|
|
183
|
-
/* @__PURE__ */ jsx("p", { className: "text-destructive
|
|
183
|
+
/* @__PURE__ */ jsx("p", { className: "font-semibold text-destructive", children: "Something went wrong" }),
|
|
184
184
|
/* @__PURE__ */ jsxs("div", { className: "relative w-full max-w-xl", children: [
|
|
185
|
-
/* @__PURE__ */ jsxs("pre", { className: "
|
|
185
|
+
/* @__PURE__ */ jsxs("pre", { className: "overflow-auto rounded bg-muted p-4 text-left text-xs text-muted-foreground", children: [
|
|
186
186
|
error.message,
|
|
187
187
|
"\n",
|
|
188
188
|
error.stack
|
|
@@ -193,10 +193,10 @@ ${error.stack ?? ""}`;
|
|
|
193
193
|
type: "button",
|
|
194
194
|
variant: "ghost",
|
|
195
195
|
size: "icon",
|
|
196
|
-
className: "absolute
|
|
196
|
+
className: "absolute top-2 right-2 h-6 w-6",
|
|
197
197
|
"aria-label": "Copy error",
|
|
198
198
|
onClick: this.copyError,
|
|
199
|
-
children: copied ? /* @__PURE__ */ jsx(CheckIcon, { className: "
|
|
199
|
+
children: copied ? /* @__PURE__ */ jsx(CheckIcon, { className: "size-3.5 text-success" }) : /* @__PURE__ */ jsx(CopyIcon, { className: "size-3.5" })
|
|
200
200
|
}
|
|
201
201
|
)
|
|
202
202
|
] }),
|
|
@@ -206,28 +206,28 @@ ${error.stack ?? ""}`;
|
|
|
206
206
|
return this.props.children;
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
|
-
var LoadingSpinner = ({ className }) => /* @__PURE__ */ jsx("div", { className: cn("flex h-full items-center justify-center", className), children: /* @__PURE__ */ jsx(Loader2Icon, { className: "
|
|
209
|
+
var LoadingSpinner = ({ className }) => /* @__PURE__ */ jsx("div", { className: cn("flex h-full items-center justify-center", className), children: /* @__PURE__ */ jsx(Loader2Icon, { className: "size-5 animate-spin text-muted-foreground" }) });
|
|
210
210
|
function barColor(percent) {
|
|
211
211
|
if (percent <= 50) return "bg-success";
|
|
212
212
|
if (percent <= 80) return "bg-warning";
|
|
213
213
|
return "bg-destructive";
|
|
214
214
|
}
|
|
215
215
|
var ResourceCell = ({ label, percent }) => /* @__PURE__ */ jsxs("div", { className: "flex min-w-36 flex-col gap-1", children: [
|
|
216
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
216
|
+
/* @__PURE__ */ jsx("div", { className: "h-1.5 w-full rounded-full bg-muted", children: percent > 0 && /* @__PURE__ */ jsx(
|
|
217
217
|
"div",
|
|
218
218
|
{
|
|
219
219
|
className: cn("transition-interactive h-full rounded-full", barColor(percent)),
|
|
220
220
|
style: { width: `${Math.min(percent, 100)}%` }
|
|
221
221
|
}
|
|
222
222
|
) }),
|
|
223
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
223
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground", children: label })
|
|
224
224
|
] });
|
|
225
225
|
var ButtonGroup = ({ children, className }) => /* @__PURE__ */ jsx(
|
|
226
226
|
"div",
|
|
227
227
|
{
|
|
228
228
|
"data-slot": "button-group",
|
|
229
229
|
className: cn(
|
|
230
|
-
"flex -space-x-px [&>button:first-child]:rounded-l-lg [&>button:focus-visible]:z-10 [&>button:last-child]:rounded-r-lg
|
|
230
|
+
"flex -space-x-px [&>button]:rounded-none [&>button:first-child]:rounded-l-lg [&>button:focus-visible]:z-10 [&>button:last-child]:rounded-r-lg",
|
|
231
231
|
className
|
|
232
232
|
),
|
|
233
233
|
children
|
|
@@ -253,7 +253,7 @@ var ResourceBulkDeletionButton = ({
|
|
|
253
253
|
onClick,
|
|
254
254
|
children: [
|
|
255
255
|
/* @__PURE__ */ jsx(MinusIcon, { className: "size-3.5" }),
|
|
256
|
-
count > 0 && /* @__PURE__ */ jsx("span", { className: "
|
|
256
|
+
count > 0 && /* @__PURE__ */ jsx("span", { className: "absolute -top-2.5 -right-2.5 flex size-5 items-center justify-center rounded-full bg-destructive text-[10px] font-bold text-white", children: count })
|
|
257
257
|
]
|
|
258
258
|
}
|
|
259
259
|
)
|
|
@@ -434,7 +434,7 @@ var ResourceScaleButton = ({
|
|
|
434
434
|
"Scale"
|
|
435
435
|
] });
|
|
436
436
|
};
|
|
437
|
-
var ResourceDetailEmptyBody = ({ resourceKind }) => /* @__PURE__ */ jsxs("p", { className: "
|
|
437
|
+
var ResourceDetailEmptyBody = ({ resourceKind }) => /* @__PURE__ */ jsxs("p", { className: "p-4 text-xs text-muted-foreground", children: [
|
|
438
438
|
"There are no information for this ",
|
|
439
439
|
resourceKind,
|
|
440
440
|
"."
|
|
@@ -456,7 +456,7 @@ var ResourceDetailDrawer = ({
|
|
|
456
456
|
SheetContent,
|
|
457
457
|
{
|
|
458
458
|
side: "right",
|
|
459
|
-
className: cn("
|
|
459
|
+
className: cn("flex w-200 flex-col gap-0 p-0 sm:max-w-200", className),
|
|
460
460
|
children
|
|
461
461
|
}
|
|
462
462
|
)
|
|
@@ -481,10 +481,10 @@ var LineIcon = ({
|
|
|
481
481
|
isError,
|
|
482
482
|
isSpinning
|
|
483
483
|
}) => {
|
|
484
|
-
if (isError) return /* @__PURE__ */ jsx(XCircleIcon, { className: "
|
|
484
|
+
if (isError) return /* @__PURE__ */ jsx(XCircleIcon, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 text-destructive" });
|
|
485
485
|
if (isSpinning)
|
|
486
|
-
return /* @__PURE__ */ jsx(Loader2Icon, { className: "
|
|
487
|
-
return /* @__PURE__ */ jsx(CheckCircle2Icon, { className: "
|
|
486
|
+
return /* @__PURE__ */ jsx(Loader2Icon, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 animate-spin text-info" });
|
|
487
|
+
return /* @__PURE__ */ jsx(CheckCircle2Icon, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 text-success" });
|
|
488
488
|
};
|
|
489
489
|
var SearchInput = ({
|
|
490
490
|
wrapperClassName = "w-68",
|
|
@@ -492,7 +492,7 @@ var SearchInput = ({
|
|
|
492
492
|
...props
|
|
493
493
|
}) => {
|
|
494
494
|
return /* @__PURE__ */ jsxs("div", { className: cn("relative", wrapperClassName), children: [
|
|
495
|
-
/* @__PURE__ */ jsx(SearchIcon, { className: "
|
|
495
|
+
/* @__PURE__ */ jsx(SearchIcon, { className: "absolute top-1/2 left-2.5 size-3.5 -translate-y-1/2 text-muted-foreground" }),
|
|
496
496
|
/* @__PURE__ */ jsx(Input, { className: cn("pl-8 text-xs", className), ...props })
|
|
497
497
|
] });
|
|
498
498
|
};
|
|
@@ -543,7 +543,7 @@ var TimezoneSelect = ({
|
|
|
543
543
|
className: "w-full justify-between font-normal",
|
|
544
544
|
children: [
|
|
545
545
|
/* @__PURE__ */ jsx("span", { className: "truncate", children: value }),
|
|
546
|
-
/* @__PURE__ */ jsx(ChevronDownIcon, { className: "
|
|
546
|
+
/* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4 shrink-0 text-muted-foreground" })
|
|
547
547
|
]
|
|
548
548
|
}
|
|
549
549
|
),
|
|
@@ -559,10 +559,10 @@ var TimezoneSelect = ({
|
|
|
559
559
|
width: dropdownRect.width,
|
|
560
560
|
zIndex: 50
|
|
561
561
|
},
|
|
562
|
-
className: "
|
|
562
|
+
className: "flex flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10",
|
|
563
563
|
children: [
|
|
564
564
|
/* @__PURE__ */ jsx("div", { className: "border-b p-1.5", children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
565
|
-
/* @__PURE__ */ jsx(SearchIcon, { className: "
|
|
565
|
+
/* @__PURE__ */ jsx(SearchIcon, { className: "pointer-events-none absolute top-1/2 left-2.5 size-3.5 -translate-y-1/2 text-muted-foreground" }),
|
|
566
566
|
/* @__PURE__ */ jsx(
|
|
567
567
|
Input,
|
|
568
568
|
{
|
|
@@ -574,7 +574,7 @@ var TimezoneSelect = ({
|
|
|
574
574
|
}
|
|
575
575
|
)
|
|
576
576
|
] }) }),
|
|
577
|
-
/* @__PURE__ */ jsx("div", { role: "listbox", "aria-label": "Timezone", className: "max-h-56 overflow-y-auto p-1", children: filtered.length === 0 ? /* @__PURE__ */ jsx("p", { className: "
|
|
577
|
+
/* @__PURE__ */ jsx("div", { role: "listbox", "aria-label": "Timezone", className: "max-h-56 overflow-y-auto p-1", children: filtered.length === 0 ? /* @__PURE__ */ jsx("p", { className: "px-3 py-4 text-center text-sm text-muted-foreground", children: "No timezone found." }) : filtered.map((tz) => /* @__PURE__ */ jsxs(
|
|
578
578
|
"div",
|
|
579
579
|
{
|
|
580
580
|
role: "option",
|
|
@@ -627,7 +627,7 @@ var ConfirmationModal = ({
|
|
|
627
627
|
},
|
|
628
628
|
children: /* @__PURE__ */ jsxs(DialogContent, { children: [
|
|
629
629
|
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { className: "text-h2 flex gap-2", children: title }) }),
|
|
630
|
-
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground
|
|
630
|
+
/* @__PURE__ */ jsx("p", { className: "text-body text-muted-foreground", children: description }),
|
|
631
631
|
/* @__PURE__ */ jsxs(DialogFooter, { children: [
|
|
632
632
|
/* @__PURE__ */ jsx(Button, { variant: "outline", disabled: isPending, onClick: onClose, children: "Cancel" }),
|
|
633
633
|
/* @__PURE__ */ jsxs(Button, { variant: confirmVariant, disabled: isPending, onClick: onConfirm, children: [
|
|
@@ -677,11 +677,11 @@ var TableSkeletonRow = ({
|
|
|
677
677
|
includeCheckbox = false,
|
|
678
678
|
columnWidths = EMPTY_COLUMN_WIDTHS
|
|
679
679
|
}) => /* @__PURE__ */ jsxs(TableRow, { children: [
|
|
680
|
-
includeCheckbox && /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("div", { className: "
|
|
680
|
+
includeCheckbox && /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("div", { className: "h-4 w-4 animate-pulse rounded-[4px] bg-muted" }) }),
|
|
681
681
|
Array.from({ length: columns }).map((_, i) => /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx(
|
|
682
682
|
"div",
|
|
683
683
|
{
|
|
684
|
-
className: cn("
|
|
684
|
+
className: cn("h-4 animate-pulse rounded-sm bg-muted", columnWidths[i] ?? "w-[70%]")
|
|
685
685
|
}
|
|
686
686
|
) }, i)),
|
|
687
687
|
/* @__PURE__ */ jsx(TableCell, {})
|
|
@@ -702,41 +702,41 @@ var TableSkeletonLoader = ({
|
|
|
702
702
|
i
|
|
703
703
|
)) });
|
|
704
704
|
var markdownComponents = {
|
|
705
|
-
h1: ({ children }) => /* @__PURE__ */ jsx("h1", { className: "
|
|
706
|
-
h2: ({ children }) => /* @__PURE__ */ jsx("h2", { className: "
|
|
707
|
-
h3: ({ children }) => /* @__PURE__ */ jsx("h3", { className: "
|
|
708
|
-
h4: ({ children }) => /* @__PURE__ */ jsx("h4", { className: "
|
|
709
|
-
h5: ({ children }) => /* @__PURE__ */ jsx("h5", { className: "
|
|
710
|
-
h6: ({ children }) => /* @__PURE__ */ jsx("h6", { className: "
|
|
711
|
-
p: ({ children }) => /* @__PURE__ */ jsx("p", { className: "
|
|
712
|
-
ul: ({ children }) => /* @__PURE__ */ jsx("ul", { className: "
|
|
713
|
-
ol: ({ children }) => /* @__PURE__ */ jsx("ol", { className: "
|
|
714
|
-
li: ({ children }) => /* @__PURE__ */ jsx("li", { className: "text-
|
|
715
|
-
pre: ({ children }) => /* @__PURE__ */ jsx("pre", { className: "
|
|
705
|
+
h1: ({ children }) => /* @__PURE__ */ jsx("h1", { className: "mt-4 mb-3 text-lg leading-tight font-bold text-foreground", children }),
|
|
706
|
+
h2: ({ children }) => /* @__PURE__ */ jsx("h2", { className: "mt-3.5 mb-2.5 border-b border-border/50 pb-2 text-base leading-snug font-semibold text-foreground", children }),
|
|
707
|
+
h3: ({ children }) => /* @__PURE__ */ jsx("h3", { className: "mt-3 mb-2 text-sm leading-snug font-semibold text-foreground", children }),
|
|
708
|
+
h4: ({ children }) => /* @__PURE__ */ jsx("h4", { className: "mt-2.5 mb-1.5 text-sm leading-snug font-semibold text-foreground", children }),
|
|
709
|
+
h5: ({ children }) => /* @__PURE__ */ jsx("h5", { className: "mt-2.5 mb-1.5 text-xs leading-snug font-semibold text-foreground", children }),
|
|
710
|
+
h6: ({ children }) => /* @__PURE__ */ jsx("h6", { className: "mt-2.5 mb-1.5 text-xs leading-snug font-semibold text-muted-foreground", children }),
|
|
711
|
+
p: ({ children }) => /* @__PURE__ */ jsx("p", { className: "mb-2.5 text-xs leading-relaxed text-foreground", children }),
|
|
712
|
+
ul: ({ children }) => /* @__PURE__ */ jsx("ul", { className: "mb-2.5 list-inside list-disc space-y-1 text-xs leading-relaxed text-foreground", children }),
|
|
713
|
+
ol: ({ children }) => /* @__PURE__ */ jsx("ol", { className: "mb-2.5 list-inside list-decimal space-y-1 text-xs leading-relaxed text-foreground", children }),
|
|
714
|
+
li: ({ children }) => /* @__PURE__ */ jsx("li", { className: "text-xs leading-relaxed text-foreground", children }),
|
|
715
|
+
pre: ({ children }) => /* @__PURE__ */ jsx("pre", { className: "my-3 overflow-x-auto rounded border border-border/40 bg-muted/40 p-3", children }),
|
|
716
716
|
code: ({ children, className }) => {
|
|
717
717
|
const isBlock = !!className;
|
|
718
718
|
if (isBlock) {
|
|
719
|
-
return /* @__PURE__ */ jsx("code", { className: "
|
|
719
|
+
return /* @__PURE__ */ jsx("code", { className: "block font-mono text-xs leading-relaxed text-foreground", children });
|
|
720
720
|
}
|
|
721
|
-
return /* @__PURE__ */ jsx("code", { className: "bg-muted/60
|
|
721
|
+
return /* @__PURE__ */ jsx("code", { className: "rounded bg-muted/60 px-1.5 py-0.5 font-mono text-xs text-foreground", children });
|
|
722
722
|
},
|
|
723
723
|
table: ({ children }) => /* @__PURE__ */ jsx("div", { className: "my-3 overflow-x-auto", children: /* @__PURE__ */ jsx("table", { className: "border-collapse text-xs", children }) }),
|
|
724
724
|
thead: ({ children }) => /* @__PURE__ */ jsx("thead", { className: "bg-muted/50", children }),
|
|
725
|
-
th: ({ children }) => /* @__PURE__ */ jsx("th", { className: "
|
|
726
|
-
td: ({ children }) => /* @__PURE__ */ jsx("td", { className: "border-border/40
|
|
727
|
-
blockquote: ({ children }) => /* @__PURE__ */ jsx("blockquote", { className: "
|
|
725
|
+
th: ({ children }) => /* @__PURE__ */ jsx("th", { className: "border border-border/40 px-2.5 py-2 text-left text-xs font-semibold text-foreground", children }),
|
|
726
|
+
td: ({ children }) => /* @__PURE__ */ jsx("td", { className: "border border-border/40 px-2.5 py-2 text-xs text-foreground", children }),
|
|
727
|
+
blockquote: ({ children }) => /* @__PURE__ */ jsx("blockquote", { className: "my-2.5 border-l-4 border-border/60 py-1 pl-3 text-xs text-muted-foreground italic", children }),
|
|
728
728
|
a: ({ children, href }) => /* @__PURE__ */ jsx(
|
|
729
729
|
"a",
|
|
730
730
|
{
|
|
731
731
|
href,
|
|
732
732
|
target: "_blank",
|
|
733
733
|
rel: "noreferrer",
|
|
734
|
-
className: "wrap-break-word
|
|
734
|
+
className: "cursor-pointer wrap-break-word text-blue-500 underline-offset-1 hover:underline",
|
|
735
735
|
children
|
|
736
736
|
}
|
|
737
737
|
),
|
|
738
|
-
img: ({ src, alt }) => /* @__PURE__ */ jsx("img", { src, alt, className: "
|
|
739
|
-
hr: () => /* @__PURE__ */ jsx("hr", { className: "
|
|
738
|
+
img: ({ src, alt }) => /* @__PURE__ */ jsx("img", { src, alt, className: "my-2.5 h-auto max-w-full rounded border border-border/40" }),
|
|
739
|
+
hr: () => /* @__PURE__ */ jsx("hr", { className: "my-3 border-t border-border/40" })
|
|
740
740
|
};
|
|
741
741
|
var Markdown = ({ children, className }) => /* @__PURE__ */ jsx("div", { className: cn("text-foreground", className), children: /* @__PURE__ */ jsx(ReactMarkdown, { remarkPlugins: [remarkGfm], components: markdownComponents, children: children.replace(/<!--[\s\S]*?-->/g, "") }) });
|
|
742
742
|
var TruncatedText = ({ text, className, tooltipClassName, positionerClassName }) => {
|
|
@@ -762,7 +762,7 @@ var TruncatedText = ({ text, className, tooltipClassName, positionerClassName })
|
|
|
762
762
|
] }) : content });
|
|
763
763
|
};
|
|
764
764
|
var SuccessToast = ({ title, description, action }) => {
|
|
765
|
-
return /* @__PURE__ */ jsxs("div", { className: "
|
|
765
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col gap-1.5 rounded-(--radius) bg-success px-4 py-3 text-white shadow-lg", children: [
|
|
766
766
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
|
|
767
767
|
/* @__PURE__ */ jsx(CircleCheckIcon, { className: "mt-0.5 h-4 w-4 shrink-0" }),
|
|
768
768
|
/* @__PURE__ */ jsx("p", { className: "flex-1 text-sm font-semibold", children: title }),
|
|
@@ -802,7 +802,7 @@ function renderSuccessToast(props) {
|
|
|
802
802
|
);
|
|
803
803
|
}
|
|
804
804
|
var ErrorToast = ({ title, description, action }) => {
|
|
805
|
-
return /* @__PURE__ */ jsxs("div", { className: "
|
|
805
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col gap-1.5 rounded-(--radius) bg-destructive px-4 py-3 text-white shadow-lg", children: [
|
|
806
806
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
|
|
807
807
|
/* @__PURE__ */ jsx(CircleXIcon, { className: "mt-0.5 h-4 w-4 shrink-0" }),
|
|
808
808
|
/* @__PURE__ */ jsx("p", { className: "flex-1 text-sm font-semibold", children: title }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
1
|
+
import { Button } from './chunk-P3JHHECV.js';
|
|
2
2
|
import { useCopyToClipboard } from './chunk-3ZL7QROP.js';
|
|
3
3
|
import { SplitAndHighlightText } from './chunk-NFJMUQY6.js';
|
|
4
4
|
import { CheckIcon, ChevronDownIcon, ChevronUpIcon, Loader2Icon, OctagonXIcon, TriangleAlertIcon, InfoIcon, CircleCheckIcon, CopyIcon } from './chunk-H5LPB7HL.js';
|
|
@@ -35,7 +35,7 @@ function Checkbox({
|
|
|
35
35
|
{
|
|
36
36
|
"data-slot": "checkbox",
|
|
37
37
|
className: cn(
|
|
38
|
-
"border-input group-has-disabled/field:opacity-50
|
|
38
|
+
"focus-ring transition-theme peer relative flex size-4 shrink-0 cursor-pointer items-center justify-center rounded-[4px] border border-input outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",
|
|
39
39
|
CHECKBOX_STATE_CLASSES[state],
|
|
40
40
|
className
|
|
41
41
|
),
|
|
@@ -63,7 +63,7 @@ function CollapsiblePanel({ className, ...props }) {
|
|
|
63
63
|
{
|
|
64
64
|
"data-slot": "collapsible-panel",
|
|
65
65
|
className: cn(
|
|
66
|
-
"transition-height h-(--collapsible-panel-height) data-ending-style:h-0 data-starting-style:h-0
|
|
66
|
+
"transition-height h-(--collapsible-panel-height) overflow-hidden data-ending-style:h-0 data-starting-style:h-0",
|
|
67
67
|
className
|
|
68
68
|
),
|
|
69
69
|
...props
|
|
@@ -84,7 +84,7 @@ function ContextMenuContent({ className, ...props }) {
|
|
|
84
84
|
ContextMenu$1.Popup,
|
|
85
85
|
{
|
|
86
86
|
className: cn(
|
|
87
|
-
"bg-popover text-popover-foreground ring-foreground/10 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95
|
|
87
|
+
"z-overlay min-w-[8rem] rounded-lg bg-popover p-1 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
88
88
|
className
|
|
89
89
|
),
|
|
90
90
|
...props
|
|
@@ -96,7 +96,7 @@ function ContextMenuItem({ className, ...props }) {
|
|
|
96
96
|
ContextMenu$1.Item,
|
|
97
97
|
{
|
|
98
98
|
className: cn(
|
|
99
|
-
"
|
|
99
|
+
"transition-theme relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none select-none focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
100
100
|
className
|
|
101
101
|
),
|
|
102
102
|
...props
|
|
@@ -107,7 +107,7 @@ function ContextMenuSeparator({ className, ...props }) {
|
|
|
107
107
|
return /* @__PURE__ */ jsx(
|
|
108
108
|
ContextMenu$1.Separator,
|
|
109
109
|
{
|
|
110
|
-
className: cn("
|
|
110
|
+
className: cn("-mx-1 my-1 h-px bg-border", className),
|
|
111
111
|
...props
|
|
112
112
|
}
|
|
113
113
|
);
|
|
@@ -137,7 +137,7 @@ function DrawerPopup({ className, ...props }) {
|
|
|
137
137
|
{
|
|
138
138
|
"data-slot": "drawer-popup",
|
|
139
139
|
className: cn(
|
|
140
|
-
"
|
|
140
|
+
"pointer-events-auto flex w-full flex-col border-t bg-background text-foreground shadow-[0_-4px_24px_rgba(0,0,0,0.15)] transition-[height] duration-150 ease-in-out data-ending-style:h-0 data-starting-style:h-0",
|
|
141
141
|
className
|
|
142
142
|
),
|
|
143
143
|
...props
|
|
@@ -195,7 +195,7 @@ function SelectTrigger({
|
|
|
195
195
|
"data-slot": "select-trigger",
|
|
196
196
|
"data-size": size,
|
|
197
197
|
className: cn(
|
|
198
|
-
"
|
|
198
|
+
"focus-ring transition-theme flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap outline-none select-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
199
199
|
SELECT_TRIGGER_STATE_CLASSES[state],
|
|
200
200
|
"cursor-pointer",
|
|
201
201
|
className
|
|
@@ -206,7 +206,7 @@ function SelectTrigger({
|
|
|
206
206
|
/* @__PURE__ */ jsx(
|
|
207
207
|
Select$1.Icon,
|
|
208
208
|
{
|
|
209
|
-
render: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "
|
|
209
|
+
render: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
|
|
210
210
|
}
|
|
211
211
|
)
|
|
212
212
|
]
|
|
@@ -239,7 +239,7 @@ function SelectContent({
|
|
|
239
239
|
"data-slot": "select-content",
|
|
240
240
|
"data-align-trigger": alignItemWithTrigger,
|
|
241
241
|
className: cn(
|
|
242
|
-
"max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95
|
|
242
|
+
"z-overlay relative isolate max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
243
243
|
className
|
|
244
244
|
),
|
|
245
245
|
...props,
|
|
@@ -258,7 +258,7 @@ function SelectLabel({ className, ...props }) {
|
|
|
258
258
|
Select$1.GroupLabel,
|
|
259
259
|
{
|
|
260
260
|
"data-slot": "select-label",
|
|
261
|
-
className: cn("
|
|
261
|
+
className: cn("px-1.5 py-1 text-xs text-muted-foreground", className),
|
|
262
262
|
...props
|
|
263
263
|
}
|
|
264
264
|
);
|
|
@@ -269,7 +269,7 @@ function SelectItem({ className, children, ...props }) {
|
|
|
269
269
|
{
|
|
270
270
|
"data-slot": "select-item",
|
|
271
271
|
className: cn(
|
|
272
|
-
"outline-hidden focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50
|
|
272
|
+
"relative flex w-full cursor-pointer items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
|
|
273
273
|
className
|
|
274
274
|
),
|
|
275
275
|
...props,
|
|
@@ -291,7 +291,7 @@ function SelectSeparator({ className, ...props }) {
|
|
|
291
291
|
Select$1.Separator,
|
|
292
292
|
{
|
|
293
293
|
"data-slot": "select-separator",
|
|
294
|
-
className: cn("
|
|
294
|
+
className: cn("pointer-events-none -mx-1 my-1 h-px bg-border", className),
|
|
295
295
|
...props
|
|
296
296
|
}
|
|
297
297
|
);
|
|
@@ -305,7 +305,7 @@ function SelectScrollUpButton({
|
|
|
305
305
|
{
|
|
306
306
|
"data-slot": "select-scroll-up-button",
|
|
307
307
|
className: cn(
|
|
308
|
-
"
|
|
308
|
+
"top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
|
|
309
309
|
className
|
|
310
310
|
),
|
|
311
311
|
...props,
|
|
@@ -322,7 +322,7 @@ function SelectScrollDownButton({
|
|
|
322
322
|
{
|
|
323
323
|
"data-slot": "select-scroll-down-button",
|
|
324
324
|
className: cn(
|
|
325
|
-
"
|
|
325
|
+
"bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
|
|
326
326
|
className
|
|
327
327
|
),
|
|
328
328
|
...props,
|
|
@@ -337,7 +337,7 @@ function Separator({ className, orientation = "horizontal", ...props }) {
|
|
|
337
337
|
"data-slot": "separator",
|
|
338
338
|
orientation,
|
|
339
339
|
className: cn(
|
|
340
|
-
"bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch
|
|
340
|
+
"shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",
|
|
341
341
|
className
|
|
342
342
|
),
|
|
343
343
|
...props
|
|
@@ -364,17 +364,17 @@ function Slider({
|
|
|
364
364
|
max,
|
|
365
365
|
thumbAlignment: "edge",
|
|
366
366
|
...props,
|
|
367
|
-
children: /* @__PURE__ */ jsxs(Slider$1.Control, { className: "data-disabled:opacity-50 data-vertical:h-full data-vertical:min-h-40 data-vertical:w-auto data-vertical:flex-col
|
|
367
|
+
children: /* @__PURE__ */ jsxs(Slider$1.Control, { className: "relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:min-h-40 data-vertical:w-auto data-vertical:flex-col", children: [
|
|
368
368
|
/* @__PURE__ */ jsx(
|
|
369
369
|
Slider$1.Track,
|
|
370
370
|
{
|
|
371
371
|
"data-slot": "slider-track",
|
|
372
|
-
className: "bg-muted data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1
|
|
372
|
+
className: "relative grow overflow-hidden rounded-full bg-muted select-none data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1",
|
|
373
373
|
children: /* @__PURE__ */ jsx(
|
|
374
374
|
Slider$1.Indicator,
|
|
375
375
|
{
|
|
376
376
|
"data-slot": "slider-range",
|
|
377
|
-
className: "bg-primary data-horizontal:h-full data-vertical:w-full
|
|
377
|
+
className: "bg-primary select-none data-horizontal:h-full data-vertical:w-full"
|
|
378
378
|
}
|
|
379
379
|
)
|
|
380
380
|
}
|
|
@@ -383,7 +383,7 @@ function Slider({
|
|
|
383
383
|
Slider$1.Thumb,
|
|
384
384
|
{
|
|
385
385
|
"data-slot": "slider-thumb",
|
|
386
|
-
className: "border-ring ring-ring/75 hover:ring-3 focus-visible:ring-3 focus-visible:ring-ring focus-visible:outline-hidden active:ring-3
|
|
386
|
+
className: "transition-focus relative block size-3 shrink-0 rounded-full border border-ring bg-white ring-ring/75 select-none after:absolute after:-inset-2 hover:ring-3 focus-visible:ring-3 focus-visible:ring-ring focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50"
|
|
387
387
|
},
|
|
388
388
|
_values[index]
|
|
389
389
|
))
|
|
@@ -402,7 +402,7 @@ var Toaster = ({ ...props }) => {
|
|
|
402
402
|
success: /* @__PURE__ */ jsx(CircleCheckIcon, { className: "size-4" }),
|
|
403
403
|
info: /* @__PURE__ */ jsx(InfoIcon, { className: "size-4" }),
|
|
404
404
|
warning: /* @__PURE__ */ jsx(TriangleAlertIcon, { className: "size-4" }),
|
|
405
|
-
error: /* @__PURE__ */ jsx(OctagonXIcon, { className: "text-destructive
|
|
405
|
+
error: /* @__PURE__ */ jsx(OctagonXIcon, { className: "size-4 text-destructive" }),
|
|
406
406
|
loading: /* @__PURE__ */ jsx(Loader2Icon, { className: "size-4 animate-spin" })
|
|
407
407
|
},
|
|
408
408
|
style: {
|
|
@@ -434,7 +434,7 @@ function Switch({
|
|
|
434
434
|
"data-slot": "switch",
|
|
435
435
|
"data-size": size,
|
|
436
436
|
className: cn(
|
|
437
|
-
"group/switch focus-ring
|
|
437
|
+
"group/switch focus-ring transition-interactive peer relative inline-flex shrink-0 items-center rounded-full border border-transparent outline-none after:absolute after:-inset-x-3 after:-inset-y-2 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50",
|
|
438
438
|
!!props.onCheckedChange && "cursor-pointer",
|
|
439
439
|
className
|
|
440
440
|
),
|
|
@@ -443,7 +443,7 @@ function Switch({
|
|
|
443
443
|
Switch$1.Thumb,
|
|
444
444
|
{
|
|
445
445
|
"data-slot": "switch-thumb",
|
|
446
|
-
className: "bg-background group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] dark:data-checked:bg-primary-foreground group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 dark:data-unchecked:bg-foreground
|
|
446
|
+
className: "pointer-events-none block rounded-full bg-background ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] dark:data-checked:bg-primary-foreground group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 dark:data-unchecked:bg-foreground"
|
|
447
447
|
}
|
|
448
448
|
)
|
|
449
449
|
}
|
|
@@ -456,7 +456,7 @@ function Tabs({ className, orientation = "horizontal", ...props }) {
|
|
|
456
456
|
"data-slot": "tabs",
|
|
457
457
|
orientation,
|
|
458
458
|
className: cn(
|
|
459
|
-
"group/tabs data-horizontal:grid-rows-[auto_1fr] data-vertical:grid-cols-[auto_1fr]
|
|
459
|
+
"group/tabs grid gap-2 data-horizontal:grid-rows-[auto_1fr] data-vertical:grid-cols-[auto_1fr]",
|
|
460
460
|
className
|
|
461
461
|
),
|
|
462
462
|
...props
|
|
@@ -504,7 +504,7 @@ function TabsTrigger({ className, ...props }) {
|
|
|
504
504
|
{
|
|
505
505
|
"data-slot": "tabs-trigger",
|
|
506
506
|
className: cn(
|
|
507
|
-
"
|
|
507
|
+
"transition-interactive relative z-10 inline-flex h-[calc(100%-1px)] flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-md border border-transparent bg-transparent px-1.5 py-0.5 text-sm font-medium whitespace-nowrap text-foreground/60 group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/75 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
508
508
|
"data-active:text-foreground dark:data-active:text-foreground",
|
|
509
509
|
className
|
|
510
510
|
),
|
|
@@ -522,8 +522,8 @@ function TabsIndicator({ className, variant = "default", ...props }) {
|
|
|
522
522
|
variant === "line" ? cn(
|
|
523
523
|
"bg-primary",
|
|
524
524
|
"group-data-horizontal/tabs:bottom-0 group-data-horizontal/tabs:left-(--active-tab-left) group-data-horizontal/tabs:h-0.5 group-data-horizontal/tabs:w-(--active-tab-width)",
|
|
525
|
-
"group-data-vertical/tabs:
|
|
526
|
-
) : "
|
|
525
|
+
"group-data-vertical/tabs:top-(--active-tab-top) group-data-vertical/tabs:right-0 group-data-vertical/tabs:h-(--active-tab-height) group-data-vertical/tabs:w-0.5"
|
|
526
|
+
) : "top-(--active-tab-top) left-(--active-tab-left) h-(--active-tab-height) w-(--active-tab-width) rounded-md border border-transparent bg-background shadow-sm dark:border-input dark:bg-input/30",
|
|
527
527
|
className
|
|
528
528
|
),
|
|
529
529
|
...props
|
|
@@ -536,7 +536,7 @@ function TabsContent({ className, ...props }) {
|
|
|
536
536
|
{
|
|
537
537
|
"data-slot": "tabs-content",
|
|
538
538
|
className: cn(
|
|
539
|
-
"transition-fade
|
|
539
|
+
"transition-fade min-h-0 min-w-0 flex-1 text-sm outline-none group-data-horizontal/tabs:col-start-1 group-data-horizontal/tabs:row-start-2 group-data-vertical/tabs:col-start-2 group-data-vertical/tabs:row-start-1 data-ending-style:opacity-0 data-hidden:opacity-0 data-starting-style:opacity-0",
|
|
540
540
|
className
|
|
541
541
|
),
|
|
542
542
|
...props
|
|
@@ -751,7 +751,7 @@ function TextareaYaml({
|
|
|
751
751
|
width: gutterWidth,
|
|
752
752
|
minWidth: gutterWidth
|
|
753
753
|
};
|
|
754
|
-
const highlightRows = lines.map((line, i) => /* @__PURE__ */ jsx("div", { className: "whitespace-pre
|
|
754
|
+
const highlightRows = lines.map((line, i) => /* @__PURE__ */ jsx("div", { className: "leading-5 whitespace-pre", children: /* @__PURE__ */ jsx(
|
|
755
755
|
YamlLine,
|
|
756
756
|
{
|
|
757
757
|
line,
|
|
@@ -777,10 +777,10 @@ function TextareaYaml({
|
|
|
777
777
|
type: "button",
|
|
778
778
|
variant: "ghost",
|
|
779
779
|
size: "icon-sm",
|
|
780
|
-
className: "absolute
|
|
780
|
+
className: "absolute top-1 right-1 z-10",
|
|
781
781
|
onClick: () => copy(text),
|
|
782
782
|
"aria-label": "Copy value",
|
|
783
|
-
children: isCopied ? /* @__PURE__ */ jsx(CheckIcon, { className: "
|
|
783
|
+
children: isCopied ? /* @__PURE__ */ jsx(CheckIcon, { className: "h-3.5 w-3.5 text-success" }) : /* @__PURE__ */ jsx(CopyIcon, { className: "h-3.5 w-3.5", style: { color: YC.lineNum } })
|
|
784
784
|
}
|
|
785
785
|
),
|
|
786
786
|
editable ? (
|
|
@@ -790,7 +790,7 @@ function TextareaYaml({
|
|
|
790
790
|
"div",
|
|
791
791
|
{
|
|
792
792
|
ref: gutterRef,
|
|
793
|
-
className: "
|
|
793
|
+
className: "overflow-hidden py-1 pr-3 pl-2 text-right font-mono text-xs leading-5 select-none",
|
|
794
794
|
style: gutterStyle,
|
|
795
795
|
children: gutterLines
|
|
796
796
|
}
|
|
@@ -801,7 +801,7 @@ function TextareaYaml({
|
|
|
801
801
|
{
|
|
802
802
|
ref: highlightRef,
|
|
803
803
|
"aria-hidden": true,
|
|
804
|
-
className: "pointer-events-none absolute inset-0 overflow-hidden py-1
|
|
804
|
+
className: "pointer-events-none absolute inset-0 overflow-hidden py-1 pr-4 pl-4",
|
|
805
805
|
children: highlightRows
|
|
806
806
|
}
|
|
807
807
|
),
|
|
@@ -815,7 +815,7 @@ function TextareaYaml({
|
|
|
815
815
|
wrap: "off",
|
|
816
816
|
"data-yaml-editor": true,
|
|
817
817
|
"aria-label": ariaLabel,
|
|
818
|
-
className: "absolute inset-0 h-full w-full resize-none overflow-auto bg-transparent py-1
|
|
818
|
+
className: "absolute inset-0 h-full w-full resize-none overflow-auto bg-transparent py-1 pr-4 pl-4 font-mono text-xs leading-5 outline-none",
|
|
819
819
|
style: { color: "transparent", caretColor: YC.default }
|
|
820
820
|
}
|
|
821
821
|
)
|
|
@@ -827,7 +827,7 @@ function TextareaYaml({
|
|
|
827
827
|
/* @__PURE__ */ jsx(
|
|
828
828
|
"div",
|
|
829
829
|
{
|
|
830
|
-
className: "
|
|
830
|
+
className: "py-1 pr-3 pl-2 text-right font-mono text-xs leading-5 select-none",
|
|
831
831
|
style: gutterStyle,
|
|
832
832
|
children: gutterLines
|
|
833
833
|
}
|
|
@@ -835,7 +835,7 @@ function TextareaYaml({
|
|
|
835
835
|
/* @__PURE__ */ jsx("div", { className: "flex-1 py-1", children: lines.map((line, i) => /* @__PURE__ */ jsx(
|
|
836
836
|
"div",
|
|
837
837
|
{
|
|
838
|
-
className: "
|
|
838
|
+
className: "pr-4 pl-4 leading-5 whitespace-pre hover:bg-white/5",
|
|
839
839
|
children: /* @__PURE__ */ jsx(
|
|
840
840
|
YamlLine,
|
|
841
841
|
{
|
|
@@ -879,14 +879,14 @@ function TextareaCode({
|
|
|
879
879
|
type: "button",
|
|
880
880
|
variant: "ghost",
|
|
881
881
|
size: "icon-sm",
|
|
882
|
-
className: "absolute
|
|
882
|
+
className: "absolute top-1 right-1 z-10",
|
|
883
883
|
onClick: () => copy(text),
|
|
884
884
|
"aria-label": "Copy value",
|
|
885
|
-
children: isCopied ? /* @__PURE__ */ jsx(CheckIcon, { className: "
|
|
885
|
+
children: isCopied ? /* @__PURE__ */ jsx(CheckIcon, { className: "h-3.5 w-3.5 text-success" }) : /* @__PURE__ */ jsx(CopyIcon, { className: "h-3.5 w-3.5" })
|
|
886
886
|
}
|
|
887
887
|
),
|
|
888
888
|
/* @__PURE__ */ jsxs("div", { className: "flex", children: [
|
|
889
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
889
|
+
/* @__PURE__ */ jsx("div", { className: "border-r border-zinc-800 py-2 select-none", children: lines.map((line, i) => /* @__PURE__ */ jsx(
|
|
890
890
|
"div",
|
|
891
891
|
{
|
|
892
892
|
className: "w-10 min-w-10 bg-zinc-950 pr-3 text-right font-mono text-xs leading-5 text-zinc-600",
|
|
@@ -894,7 +894,7 @@ function TextareaCode({
|
|
|
894
894
|
},
|
|
895
895
|
`${i}-${line}`
|
|
896
896
|
)) }),
|
|
897
|
-
disabled ? /* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 overflow-x-auto", children: /* @__PURE__ */ jsx("pre", { className: "flex flex-col py-2", children: lines.map((line, i) => /* @__PURE__ */ jsx("span", { className: "flex", children: /* @__PURE__ */ jsx("span", { className: "
|
|
897
|
+
disabled ? /* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1 overflow-x-auto", children: /* @__PURE__ */ jsx("pre", { className: "flex flex-col py-2", children: lines.map((line, i) => /* @__PURE__ */ jsx("span", { className: "flex", children: /* @__PURE__ */ jsx("span", { className: "pl-3 font-mono text-xs leading-5 whitespace-pre text-zinc-200", children: line || " " }) }, `${i}-${line}`)) }) }) : /* @__PURE__ */ jsx(
|
|
898
898
|
"textarea",
|
|
899
899
|
{
|
|
900
900
|
value,
|
|
@@ -116,7 +116,7 @@ function DialogOverlay({ className, ...props }) {
|
|
|
116
116
|
{
|
|
117
117
|
"data-slot": "dialog-overlay",
|
|
118
118
|
className: cn(
|
|
119
|
-
"supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0
|
|
119
|
+
"z-overlay fixed inset-0 isolate bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",
|
|
120
120
|
className
|
|
121
121
|
),
|
|
122
122
|
...props
|
|
@@ -144,7 +144,7 @@ function DialogContent({
|
|
|
144
144
|
{
|
|
145
145
|
"data-slot": "dialog-content",
|
|
146
146
|
className: cn(
|
|
147
|
-
"
|
|
147
|
+
"shadow-depth-2 z-overlay fixed top-1/2 left-1/2 grid max-h-[90vh] w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
148
148
|
dialogSizeClasses[size],
|
|
149
149
|
className
|
|
150
150
|
),
|
|
@@ -155,7 +155,7 @@ function DialogContent({
|
|
|
155
155
|
Dialog$1.Close,
|
|
156
156
|
{
|
|
157
157
|
"data-slot": "dialog-close",
|
|
158
|
-
render: /* @__PURE__ */ jsx(Button, { variant: "ghost", className: "absolute
|
|
158
|
+
render: /* @__PURE__ */ jsx(Button, { variant: "ghost", className: "absolute top-2 right-2", size: "icon-sm" }),
|
|
159
159
|
children: [
|
|
160
160
|
/* @__PURE__ */ jsx(XIcon, {}),
|
|
161
161
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
@@ -182,7 +182,7 @@ function DialogFooter({
|
|
|
182
182
|
{
|
|
183
183
|
"data-slot": "dialog-footer",
|
|
184
184
|
className: cn(
|
|
185
|
-
"
|
|
185
|
+
"-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",
|
|
186
186
|
className
|
|
187
187
|
),
|
|
188
188
|
...props,
|
|
@@ -202,7 +202,7 @@ function DialogTitle({ className, ...props }) {
|
|
|
202
202
|
Dialog$1.Title,
|
|
203
203
|
{
|
|
204
204
|
"data-slot": "dialog-title",
|
|
205
|
-
className: cn("font-heading
|
|
205
|
+
className: cn("text-h2 font-heading leading-none", className),
|
|
206
206
|
...props
|
|
207
207
|
}
|
|
208
208
|
);
|
|
@@ -213,7 +213,7 @@ function DialogDescription({ className, ...props }) {
|
|
|
213
213
|
{
|
|
214
214
|
"data-slot": "dialog-description",
|
|
215
215
|
className: cn(
|
|
216
|
-
"text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground
|
|
216
|
+
"text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",
|
|
217
217
|
className
|
|
218
218
|
),
|
|
219
219
|
...props
|
|
@@ -251,7 +251,7 @@ function DropdownMenuContent({
|
|
|
251
251
|
{
|
|
252
252
|
"data-slot": "dropdown-menu-content",
|
|
253
253
|
className: cn(
|
|
254
|
-
"max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95
|
|
254
|
+
"z-overlay max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
255
255
|
className
|
|
256
256
|
),
|
|
257
257
|
...props
|
|
@@ -274,7 +274,7 @@ function DropdownMenuLabel({
|
|
|
274
274
|
"data-slot": "dropdown-menu-label",
|
|
275
275
|
"data-inset": inset,
|
|
276
276
|
className: cn(
|
|
277
|
-
"
|
|
277
|
+
"px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",
|
|
278
278
|
className
|
|
279
279
|
),
|
|
280
280
|
...props
|
|
@@ -295,7 +295,7 @@ function DropdownMenuItem({
|
|
|
295
295
|
"data-inset": inset,
|
|
296
296
|
"data-variant": variant,
|
|
297
297
|
className: cn(
|
|
298
|
-
"group/dropdown-menu-item outline-hidden focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50
|
|
298
|
+
"group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive",
|
|
299
299
|
onClick ? `cursor-pointer` : void 0,
|
|
300
300
|
className
|
|
301
301
|
),
|
|
@@ -319,7 +319,7 @@ function DropdownMenuSubTrigger({
|
|
|
319
319
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
320
320
|
"data-inset": inset,
|
|
321
321
|
className: cn(
|
|
322
|
-
"outline-hidden focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground
|
|
322
|
+
"flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
323
323
|
className
|
|
324
324
|
),
|
|
325
325
|
...props,
|
|
@@ -343,7 +343,7 @@ function DropdownMenuSubContent({
|
|
|
343
343
|
{
|
|
344
344
|
"data-slot": "dropdown-menu-sub-content",
|
|
345
345
|
className: cn(
|
|
346
|
-
"bg-popover text-popover-foreground ring-foreground/10 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95
|
|
346
|
+
"w-auto min-w-[96px] rounded-lg bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
347
347
|
className
|
|
348
348
|
),
|
|
349
349
|
align,
|
|
@@ -367,7 +367,7 @@ function DropdownMenuCheckboxItem({
|
|
|
367
367
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
368
368
|
"data-inset": inset,
|
|
369
369
|
className: cn(
|
|
370
|
-
"outline-hidden focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50
|
|
370
|
+
"relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
371
371
|
props.onCheckedChange && "cursor-pointer",
|
|
372
372
|
className
|
|
373
373
|
),
|
|
@@ -402,7 +402,7 @@ function DropdownMenuRadioItem({
|
|
|
402
402
|
"data-slot": "dropdown-menu-radio-item",
|
|
403
403
|
"data-inset": inset,
|
|
404
404
|
className: cn(
|
|
405
|
-
"outline-hidden focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50
|
|
405
|
+
"relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
406
406
|
className
|
|
407
407
|
),
|
|
408
408
|
...props,
|
|
@@ -425,7 +425,7 @@ function DropdownMenuSeparator({ className, ...props }) {
|
|
|
425
425
|
Menu.Separator,
|
|
426
426
|
{
|
|
427
427
|
"data-slot": "dropdown-menu-separator",
|
|
428
|
-
className: cn("
|
|
428
|
+
className: cn("-mx-1 my-1 h-px bg-border", className),
|
|
429
429
|
...props
|
|
430
430
|
}
|
|
431
431
|
);
|
|
@@ -436,7 +436,7 @@ function DropdownMenuShortcut({ className, ...props }) {
|
|
|
436
436
|
{
|
|
437
437
|
"data-slot": "dropdown-menu-shortcut",
|
|
438
438
|
className: cn(
|
|
439
|
-
"text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground
|
|
439
|
+
"ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",
|
|
440
440
|
className
|
|
441
441
|
),
|
|
442
442
|
...props
|
|
@@ -455,7 +455,7 @@ function ScrollArea({ className, children, ...props }) {
|
|
|
455
455
|
ScrollArea$1.Viewport,
|
|
456
456
|
{
|
|
457
457
|
"data-slot": "scroll-area-viewport",
|
|
458
|
-
className: "
|
|
458
|
+
className: "transition-focus size-full rounded-[inherit] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/75 focus-visible:outline-1",
|
|
459
459
|
children
|
|
460
460
|
}
|
|
461
461
|
),
|
|
@@ -477,7 +477,7 @@ function ScrollBar({
|
|
|
477
477
|
"data-orientation": orientation,
|
|
478
478
|
orientation,
|
|
479
479
|
className: cn(
|
|
480
|
-
"data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent
|
|
480
|
+
"transition-theme flex touch-none p-px select-none data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent",
|
|
481
481
|
className
|
|
482
482
|
),
|
|
483
483
|
...props,
|
|
@@ -485,7 +485,7 @@ function ScrollBar({
|
|
|
485
485
|
ScrollArea$1.Thumb,
|
|
486
486
|
{
|
|
487
487
|
"data-slot": "scroll-area-thumb",
|
|
488
|
-
className: "
|
|
488
|
+
className: "relative flex-1 rounded-full bg-border"
|
|
489
489
|
}
|
|
490
490
|
)
|
|
491
491
|
}
|
|
@@ -509,7 +509,7 @@ function SheetOverlay({ className, ...props }) {
|
|
|
509
509
|
{
|
|
510
510
|
"data-slot": "sheet-overlay",
|
|
511
511
|
className: cn(
|
|
512
|
-
"data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs
|
|
512
|
+
"z-overlay transition-fade fixed inset-0 bg-black/10 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs",
|
|
513
513
|
className
|
|
514
514
|
),
|
|
515
515
|
...props
|
|
@@ -531,7 +531,7 @@ function SheetContent({
|
|
|
531
531
|
"data-slot": "sheet-content",
|
|
532
532
|
"data-side": side,
|
|
533
533
|
className: cn(
|
|
534
|
-
"bg-popover text-popover-foreground data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:
|
|
534
|
+
"shadow-depth-1 z-overlay fixed flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground transition duration-200 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=bottom]:data-ending-style:translate-y-[2.5rem] data-[side=bottom]:data-starting-style:translate-y-[2.5rem] data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=left]:data-ending-style:translate-x-[-2.5rem] data-[side=left]:data-starting-style:translate-x-[-2.5rem] data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:border-l data-[side=right]:data-ending-style:translate-x-[2.5rem] data-[side=right]:data-starting-style:translate-x-[2.5rem] data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=top]:data-ending-style:translate-y-[-2.5rem] data-[side=top]:data-starting-style:translate-y-[-2.5rem] data-[side=left]:sm:max-w-sm",
|
|
535
535
|
className
|
|
536
536
|
),
|
|
537
537
|
...props,
|
|
@@ -541,7 +541,7 @@ function SheetContent({
|
|
|
541
541
|
Dialog$1.Close,
|
|
542
542
|
{
|
|
543
543
|
"data-slot": "sheet-close",
|
|
544
|
-
render: /* @__PURE__ */ jsx(Button, { variant: "ghost", className: "absolute
|
|
544
|
+
render: /* @__PURE__ */ jsx(Button, { variant: "ghost", className: "absolute top-3 right-3", size: "icon-sm" }),
|
|
545
545
|
children: [
|
|
546
546
|
/* @__PURE__ */ jsx(XIcon, {}),
|
|
547
547
|
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
@@ -578,7 +578,7 @@ function SheetTitle({ className, ...props }) {
|
|
|
578
578
|
Dialog$1.Title,
|
|
579
579
|
{
|
|
580
580
|
"data-slot": "sheet-title",
|
|
581
|
-
className: cn("font-heading text-
|
|
581
|
+
className: cn("font-heading text-base font-medium text-foreground", className),
|
|
582
582
|
...props
|
|
583
583
|
}
|
|
584
584
|
);
|
|
@@ -588,7 +588,7 @@ function SheetDescription({ className, ...props }) {
|
|
|
588
588
|
Dialog$1.Description,
|
|
589
589
|
{
|
|
590
590
|
"data-slot": "sheet-description",
|
|
591
|
-
className: cn("text-muted-foreground
|
|
591
|
+
className: cn("text-sm text-muted-foreground", className),
|
|
592
592
|
...props
|
|
593
593
|
}
|
|
594
594
|
);
|
|
@@ -632,7 +632,7 @@ function TableFooter({ className, ...props }) {
|
|
|
632
632
|
"tfoot",
|
|
633
633
|
{
|
|
634
634
|
"data-slot": "table-footer",
|
|
635
|
-
className: cn("bg-muted/50
|
|
635
|
+
className: cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className),
|
|
636
636
|
...props
|
|
637
637
|
}
|
|
638
638
|
);
|
|
@@ -643,7 +643,7 @@ function TableRow({ className, ...props }) {
|
|
|
643
643
|
{
|
|
644
644
|
"data-slot": "table-row",
|
|
645
645
|
className: cn(
|
|
646
|
-
"hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted
|
|
646
|
+
"transition-theme border-b hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",
|
|
647
647
|
!!props.onClick && "cursor-pointer",
|
|
648
648
|
className
|
|
649
649
|
),
|
|
@@ -657,7 +657,7 @@ function TableHead({ className, ...props }) {
|
|
|
657
657
|
{
|
|
658
658
|
"data-slot": "table-head",
|
|
659
659
|
className: cn(
|
|
660
|
-
"
|
|
660
|
+
"h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground has-[[role=checkbox]]:pr-0",
|
|
661
661
|
className
|
|
662
662
|
),
|
|
663
663
|
...props
|
|
@@ -670,7 +670,7 @@ function TableCell({ className, ...props }) {
|
|
|
670
670
|
{
|
|
671
671
|
"data-slot": "table-cell",
|
|
672
672
|
className: cn(
|
|
673
|
-
"
|
|
673
|
+
"p-2 text-left align-middle whitespace-nowrap tabular-nums has-[[role=checkbox]]:pr-0",
|
|
674
674
|
className
|
|
675
675
|
),
|
|
676
676
|
...props
|
|
@@ -682,7 +682,7 @@ function TableCaption({ className, ...props }) {
|
|
|
682
682
|
"caption",
|
|
683
683
|
{
|
|
684
684
|
"data-slot": "table-caption",
|
|
685
|
-
className: cn("
|
|
685
|
+
className: cn("mt-4 text-sm text-muted-foreground", className),
|
|
686
686
|
...props
|
|
687
687
|
}
|
|
688
688
|
);
|
|
@@ -719,13 +719,13 @@ function TooltipContent({
|
|
|
719
719
|
{
|
|
720
720
|
"data-slot": "tooltip-content",
|
|
721
721
|
className: cn(
|
|
722
|
-
"origin-(--transform-origin) bg-foreground text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:
|
|
722
|
+
"**:data-[slot=kbd]:z-overlay z-overlay inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
723
723
|
className
|
|
724
724
|
),
|
|
725
725
|
...props,
|
|
726
726
|
children: [
|
|
727
727
|
children,
|
|
728
|
-
/* @__PURE__ */ jsx(Tooltip$1.Arrow, { className: "bg-foreground fill-foreground data-[side=
|
|
728
|
+
/* @__PURE__ */ jsx(Tooltip$1.Arrow, { className: "z-overlay size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })
|
|
729
729
|
]
|
|
730
730
|
}
|
|
731
731
|
)
|
|
@@ -10,11 +10,11 @@ var FullTextSearchInput = ({
|
|
|
10
10
|
onSearchNext,
|
|
11
11
|
ariaLabel = "Search"
|
|
12
12
|
}) => /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
13
|
-
/* @__PURE__ */ jsx(SearchIcon, { className: "
|
|
13
|
+
/* @__PURE__ */ jsx(SearchIcon, { className: "absolute top-1/2 left-1.5 size-3 -translate-y-1/2 text-muted-foreground" }),
|
|
14
14
|
/* @__PURE__ */ jsx(
|
|
15
15
|
Input,
|
|
16
16
|
{
|
|
17
|
-
className: "h-6 w-44 pl-6
|
|
17
|
+
className: "h-6 w-44 pr-9 pl-6 text-xs",
|
|
18
18
|
placeholder: "Search\u2026",
|
|
19
19
|
value: searchTerm,
|
|
20
20
|
onChange: (e) => onSearch(e.target.value),
|
|
@@ -31,7 +31,7 @@ var FullTextSearchInput = ({
|
|
|
31
31
|
"output",
|
|
32
32
|
{
|
|
33
33
|
"aria-live": "polite",
|
|
34
|
-
className: "
|
|
34
|
+
className: "absolute top-1/2 right-1.5 -translate-y-1/2 text-[10px] text-muted-foreground tabular-nums",
|
|
35
35
|
children: searchTerm ? matchCount === 0 ? "0" : `${currentMatchIdx + 1}/${matchCount}` : ""
|
|
36
36
|
}
|
|
37
37
|
)
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AnnotationBadge, ButtonGroup, ConfirmationModal, Divider, DonutChart, EmptyState, ErrorBoundary, ErrorToast, FormModal, LineIcon, LoadingSpinner, Markdown, ResourceBulkDeletionButton, ResourceCell, ResourceCreationButton, ResourceDeletionButton, ResourceDetailDrawer, ResourceDetailDrawerBody, ResourceDetailDrawerHeader, ResourceDetailEmptyBody, ResourceLink, ResourceModificationButton, ResourceRestartButton, ResourceScaleButton, SearchInput, SuccessToast, TOAST_STYLE, TableSkeletonLoader, TableSkeletonRow, TimezoneSelect, TruncatedText, renderErrorToast, renderSuccessToast } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { AnnotationBadge, ButtonGroup, ConfirmationModal, Divider, DonutChart, EmptyState, ErrorBoundary, ErrorToast, FormModal, LineIcon, LoadingSpinner, Markdown, ResourceBulkDeletionButton, ResourceCell, ResourceCreationButton, ResourceDeletionButton, ResourceDetailDrawer, ResourceDetailDrawerBody, ResourceDetailDrawerHeader, ResourceDetailEmptyBody, ResourceLink, ResourceModificationButton, ResourceRestartButton, ResourceScaleButton, SearchInput, SuccessToast, TOAST_STYLE, TableSkeletonLoader, TableSkeletonRow, TimezoneSelect, TruncatedText, renderErrorToast, renderSuccessToast } from '../chunk-5BURJRJL.js';
|
|
2
|
+
import '../chunk-P3JHHECV.js';
|
|
3
3
|
import '../chunk-H5LPB7HL.js';
|
|
4
4
|
import '../chunk-QUNCRUSO.js';
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Checkbox, Collapsible, CollapsiblePanel, CollapsibleTrigger, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuPortal, ContextMenuSeparator, ContextMenuTrigger, Drawer, DrawerContent, DrawerPopup, DrawerPortal, DrawerViewport, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, Switch, Tabs, TabsContent, TabsIndicator, TabsList, TabsTrigger, Textarea, Toaster, textareaVariants } from './chunk-
|
|
2
|
-
export { AnnotationBadge, ButtonGroup, ConfirmationModal, Divider, DonutChart, EmptyState, ErrorBoundary, ErrorToast, FormModal, LineIcon, LoadingSpinner, Markdown, ResourceBulkDeletionButton, ResourceCell, ResourceCreationButton, ResourceDeletionButton, ResourceDetailDrawer, ResourceDetailDrawerBody, ResourceDetailDrawerHeader, ResourceDetailEmptyBody, ResourceLink, ResourceModificationButton, ResourceRestartButton, ResourceScaleButton, SearchInput, SuccessToast, TOAST_STYLE, TableSkeletonLoader, TableSkeletonRow, TimezoneSelect, TruncatedText, renderErrorToast, renderSuccessToast } from './chunk-
|
|
3
|
-
export { Badge, Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ScrollArea, ScrollBar, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, toast } from './chunk-
|
|
1
|
+
export { Checkbox, Collapsible, CollapsiblePanel, CollapsibleTrigger, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuPortal, ContextMenuSeparator, ContextMenuTrigger, Drawer, DrawerContent, DrawerPopup, DrawerPortal, DrawerViewport, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, Switch, Tabs, TabsContent, TabsIndicator, TabsList, TabsTrigger, Textarea, Toaster, textareaVariants } from './chunk-ENO55SX2.js';
|
|
2
|
+
export { AnnotationBadge, ButtonGroup, ConfirmationModal, Divider, DonutChart, EmptyState, ErrorBoundary, ErrorToast, FormModal, LineIcon, LoadingSpinner, Markdown, ResourceBulkDeletionButton, ResourceCell, ResourceCreationButton, ResourceDeletionButton, ResourceDetailDrawer, ResourceDetailDrawerBody, ResourceDetailDrawerHeader, ResourceDetailEmptyBody, ResourceLink, ResourceModificationButton, ResourceRestartButton, ResourceScaleButton, SearchInput, SuccessToast, TOAST_STYLE, TableSkeletonLoader, TableSkeletonRow, TimezoneSelect, TruncatedText, renderErrorToast, renderSuccessToast } from './chunk-5BURJRJL.js';
|
|
3
|
+
export { Badge, Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ScrollArea, ScrollBar, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, toast } from './chunk-P3JHHECV.js';
|
|
4
4
|
export { BREAKPOINTS, useBreakpoint, useMediaQuery } from './chunk-XLB44BWQ.js';
|
|
5
5
|
export { useCopyToClipboard } from './chunk-3ZL7QROP.js';
|
|
6
6
|
export { formatRelativeTime, formatTs } from './chunk-CPX26L4M.js';
|
|
7
|
-
export { FullTextSearchInput, useFullTextSearch } from './chunk-
|
|
7
|
+
export { FullTextSearchInput, useFullTextSearch } from './chunk-WSKXR7ZS.js';
|
|
8
8
|
export { SplitAndHighlightText } from './chunk-NFJMUQY6.js';
|
|
9
9
|
export { AppWindowIcon, AppleIcon, ArrowLeftRightIcon, ArrowUpCircleIcon, ArrowUpIcon, BellIcon, BoxesIcon, CheckCircle2Icon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, ChevronsLeftIcon, ChevronsRightIcon, CircleCheckIcon, CircleXIcon, ClockIcon, ContainerIcon, CopyIcon, CornerDownLeftIcon, CpuIcon, DatabaseIcon, DownloadIcon, DropletIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FileTextIcon, FolderOpenIcon, FolderSyncIcon, FrownIcon, GaugeIcon, GithubIcon, HardDriveIcon, HouseIcon, InfoIcon, Input, KeyIcon, LayersIcon, LayoutDashboardIcon, Link2Icon, LinuxIcon, ListChecksIcon, Loader2Icon, LockIcon, LockOpenIcon, Maximize2Icon, Minimize2Icon, MinusIcon, MoreVerticalIcon, NetworkIcon, OctagonXIcon, PackageIcon, PauseIcon, PencilIcon, PlayIcon, PlugIcon, PlusIcon, RefreshCwIcon, RocketIcon, RotateCcwIcon, RouteIcon, SaveIcon, ScalingIcon, ScrollTextIcon, SearchIcon, ServerIcon, Settings2Icon, SettingsIcon, ShieldAlertIcon, ShieldCheckIcon, ShieldIcon, SlidersHorizontalIcon, SquareIcon, StarIcon, TerminalIcon, TimerIcon, Trash2Icon, TriangleAlertIcon, UserRoundIcon, WebhookIcon, WindowsIcon, XCircleIcon, XIcon } from './chunk-H5LPB7HL.js';
|
|
10
10
|
export { clamp, cn } from './chunk-QUNCRUSO.js';
|
package/dist/libs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { FullTextSearchInput, useFullTextSearch } from '../chunk-
|
|
1
|
+
export { FullTextSearchInput, useFullTextSearch } from '../chunk-WSKXR7ZS.js';
|
|
2
2
|
export { SplitAndHighlightText } from '../chunk-NFJMUQY6.js';
|
|
3
3
|
import '../chunk-H5LPB7HL.js';
|
|
4
4
|
import '../chunk-QUNCRUSO.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@litelens/design-system",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"description": "Design system components, utilities, and hooks for litelens",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"@fontsource-variable/space-grotesk": "^5.3.0",
|
|
52
52
|
"class-variance-authority": "^0.7.1",
|
|
53
53
|
"clsx": "^2.1.1",
|
|
54
|
-
"lucide-react": "^1.
|
|
54
|
+
"lucide-react": "^1.34.0",
|
|
55
55
|
"next-themes": "^0.4.6",
|
|
56
56
|
"react-markdown": "^10.1.0",
|
|
57
57
|
"remark-gfm": "^4.0.1",
|
|
58
|
-
"shadcn": "^4.
|
|
58
|
+
"shadcn": "^4.19.0",
|
|
59
59
|
"sonner": "^2.0.8",
|
|
60
60
|
"tailwind-merge": "^3.6.0",
|
|
61
61
|
"tw-animate-css": "^1.4.0"
|
|
@@ -66,19 +66,19 @@
|
|
|
66
66
|
"tailwindcss": "^4.0.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@testing-library/jest-dom": "^6.
|
|
69
|
+
"@testing-library/jest-dom": "^6.10.0",
|
|
70
70
|
"@testing-library/react": "^16.3.2",
|
|
71
|
-
"@types/node": "^26.
|
|
71
|
+
"@types/node": "^26.3.0",
|
|
72
72
|
"@types/react": "^19.2.18",
|
|
73
|
-
"@types/react-dom": "^19.2.
|
|
74
|
-
"@vitejs/plugin-react": "^6.0
|
|
75
|
-
"@vitest/coverage-v8": "^4.1.
|
|
73
|
+
"@types/react-dom": "^19.2.5",
|
|
74
|
+
"@vitejs/plugin-react": "^6.1.0",
|
|
75
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
76
76
|
"cross-env": "^10.1.0",
|
|
77
77
|
"esbuild-visualizer": "^0.7.0",
|
|
78
78
|
"jsdom": "^29.1.1",
|
|
79
79
|
"tsup": "^8.5.1",
|
|
80
80
|
"typescript": "^6.0.3",
|
|
81
|
-
"vitest": "^4.1.
|
|
81
|
+
"vitest": "^4.1.11"
|
|
82
82
|
},
|
|
83
83
|
"scripts": {
|
|
84
84
|
"build": "tsup",
|