@litelens/design-system 1.7.11 → 1.7.15
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.d.ts +1 -1
- package/dist/atoms/index.js +3 -3
- package/dist/{chunk-WSKXR7ZS.js → chunk-6JU5D3YE.js} +1 -1
- package/dist/{chunk-P3JHHECV.js → chunk-7LS75KDJ.js} +179 -2
- package/dist/{chunk-ENO55SX2.js → chunk-D45POWLP.js} +3 -180
- package/dist/{chunk-4PJ44ICV.js → chunk-FUZF3NOG.js} +34 -104
- package/dist/{chunk-H5LPB7HL.js → chunk-SV3XUWM2.js} +1 -1
- package/dist/components/index.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/libs/index.js +2 -2
- package/package.json +6 -6
package/dist/atoms/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export { toast } from 'sonner';
|
|
|
20
20
|
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
21
21
|
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
22
22
|
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
23
|
-
export { AppWindowIcon, 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, HardDriveIcon, HouseIcon, InfoIcon, KeyIcon, LayersIcon, LayoutDashboardIcon, Link2Icon, 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, XCircleIcon, XIcon } from 'lucide-react';
|
|
23
|
+
export { AppWindowIcon, 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, HardDriveIcon, HouseIcon, InfoIcon, KeyIcon, LayersIcon, LayoutDashboardIcon, Link2Icon, 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, ShipWheelIcon, SlidersHorizontalIcon, SquareIcon, StarIcon, TerminalIcon, TimerIcon, Trash2Icon, TriangleAlertIcon, UserRoundIcon, WebhookIcon, XCircleIcon, XIcon } from 'lucide-react';
|
|
24
24
|
|
|
25
25
|
declare const badgeVariants: (props?: ({
|
|
26
26
|
variant?: "default" | "secondary" | "destructive" | "success" | "warning" | "info" | "danger" | "ghost" | null | undefined;
|
package/dist/atoms/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { Checkbox, Collapsible, CollapsiblePanel, CollapsibleTrigger, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuPortal, ContextMenuSeparator, ContextMenuTrigger, Drawer, DrawerContent, DrawerPopup, DrawerPortal, DrawerViewport,
|
|
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, Separator, Slider, Switch, Tabs, TabsContent, TabsIndicator, TabsList, TabsTrigger, Textarea, Toaster, textareaVariants } from '../chunk-D45POWLP.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, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, toast } from '../chunk-7LS75KDJ.js';
|
|
3
3
|
import '../chunk-3ZL7QROP.js';
|
|
4
4
|
import '../chunk-NFJMUQY6.js';
|
|
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-
|
|
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, ShipWheelIcon, SlidersHorizontalIcon, SquareIcon, StarIcon, TerminalIcon, TimerIcon, Trash2Icon, TriangleAlertIcon, UserRoundIcon, WebhookIcon, WindowsIcon, XCircleIcon, XIcon } from '../chunk-SV3XUWM2.js';
|
|
6
6
|
import '../chunk-QUNCRUSO.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { XIcon, ChevronRightIcon, CheckIcon } from './chunk-
|
|
1
|
+
import { XIcon, ChevronRightIcon, CheckIcon, ChevronDownIcon, ChevronUpIcon } from './chunk-SV3XUWM2.js';
|
|
2
2
|
import { cn } from './chunk-QUNCRUSO.js';
|
|
3
3
|
import { mergeProps } from '@base-ui/react/merge-props';
|
|
4
4
|
import { useRender } from '@base-ui/react/use-render';
|
|
@@ -9,6 +9,7 @@ import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
|
|
|
9
9
|
import * as React from 'react';
|
|
10
10
|
import { Menu } from '@base-ui/react/menu';
|
|
11
11
|
import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
|
|
12
|
+
import { Select as Select$1 } from '@base-ui/react/select';
|
|
12
13
|
export { toast } from 'sonner';
|
|
13
14
|
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
14
15
|
|
|
@@ -491,6 +492,182 @@ function ScrollBar({
|
|
|
491
492
|
}
|
|
492
493
|
);
|
|
493
494
|
}
|
|
495
|
+
var Select = Select$1.Root;
|
|
496
|
+
function SelectGroup({ className, ...props }) {
|
|
497
|
+
return /* @__PURE__ */ jsx(
|
|
498
|
+
Select$1.Group,
|
|
499
|
+
{
|
|
500
|
+
"data-slot": "select-group",
|
|
501
|
+
className: cn("scroll-my-1 p-1", className),
|
|
502
|
+
...props
|
|
503
|
+
}
|
|
504
|
+
);
|
|
505
|
+
}
|
|
506
|
+
function SelectValue({ className, ...props }) {
|
|
507
|
+
return /* @__PURE__ */ jsx(
|
|
508
|
+
Select$1.Value,
|
|
509
|
+
{
|
|
510
|
+
"data-slot": "select-value",
|
|
511
|
+
className: cn("flex flex-1 text-left", className),
|
|
512
|
+
...props
|
|
513
|
+
}
|
|
514
|
+
);
|
|
515
|
+
}
|
|
516
|
+
var SELECT_TRIGGER_STATE_CLASSES = {
|
|
517
|
+
default: "",
|
|
518
|
+
error: "border-destructive bg-destructive/5 dark:border-destructive/50 dark:bg-destructive/10",
|
|
519
|
+
success: "border-success bg-success/5 dark:border-success dark:bg-success/5",
|
|
520
|
+
warning: "border-warning bg-warning/5 dark:border-warning dark:bg-warning/5",
|
|
521
|
+
loading: "opacity-75 cursor-not-allowed"
|
|
522
|
+
};
|
|
523
|
+
function SelectTrigger({
|
|
524
|
+
className,
|
|
525
|
+
size = "default",
|
|
526
|
+
state = "default",
|
|
527
|
+
children,
|
|
528
|
+
...props
|
|
529
|
+
}) {
|
|
530
|
+
return /* @__PURE__ */ jsxs(
|
|
531
|
+
Select$1.Trigger,
|
|
532
|
+
{
|
|
533
|
+
"data-slot": "select-trigger",
|
|
534
|
+
"data-size": size,
|
|
535
|
+
className: cn(
|
|
536
|
+
"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",
|
|
537
|
+
SELECT_TRIGGER_STATE_CLASSES[state],
|
|
538
|
+
"cursor-pointer",
|
|
539
|
+
className
|
|
540
|
+
),
|
|
541
|
+
...props,
|
|
542
|
+
children: [
|
|
543
|
+
children,
|
|
544
|
+
/* @__PURE__ */ jsx(
|
|
545
|
+
Select$1.Icon,
|
|
546
|
+
{
|
|
547
|
+
render: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
|
|
548
|
+
}
|
|
549
|
+
)
|
|
550
|
+
]
|
|
551
|
+
}
|
|
552
|
+
);
|
|
553
|
+
}
|
|
554
|
+
function SelectContent({
|
|
555
|
+
className,
|
|
556
|
+
positionerClassName,
|
|
557
|
+
children,
|
|
558
|
+
side = "bottom",
|
|
559
|
+
sideOffset = 4,
|
|
560
|
+
align = "center",
|
|
561
|
+
alignOffset = 0,
|
|
562
|
+
alignItemWithTrigger = true,
|
|
563
|
+
...props
|
|
564
|
+
}) {
|
|
565
|
+
return /* @__PURE__ */ jsx(Select$1.Portal, { children: /* @__PURE__ */ jsx(
|
|
566
|
+
Select$1.Positioner,
|
|
567
|
+
{
|
|
568
|
+
side,
|
|
569
|
+
sideOffset,
|
|
570
|
+
align,
|
|
571
|
+
alignOffset,
|
|
572
|
+
alignItemWithTrigger,
|
|
573
|
+
className: cn("z-overlay isolate", positionerClassName),
|
|
574
|
+
children: /* @__PURE__ */ jsxs(
|
|
575
|
+
Select$1.Popup,
|
|
576
|
+
{
|
|
577
|
+
"data-slot": "select-content",
|
|
578
|
+
"data-align-trigger": alignItemWithTrigger,
|
|
579
|
+
className: cn(
|
|
580
|
+
"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",
|
|
581
|
+
className
|
|
582
|
+
),
|
|
583
|
+
...props,
|
|
584
|
+
children: [
|
|
585
|
+
/* @__PURE__ */ jsx(SelectScrollUpButton, {}),
|
|
586
|
+
/* @__PURE__ */ jsx(Select$1.List, { children }),
|
|
587
|
+
/* @__PURE__ */ jsx(SelectScrollDownButton, {})
|
|
588
|
+
]
|
|
589
|
+
}
|
|
590
|
+
)
|
|
591
|
+
}
|
|
592
|
+
) });
|
|
593
|
+
}
|
|
594
|
+
function SelectLabel({ className, ...props }) {
|
|
595
|
+
return /* @__PURE__ */ jsx(
|
|
596
|
+
Select$1.GroupLabel,
|
|
597
|
+
{
|
|
598
|
+
"data-slot": "select-label",
|
|
599
|
+
className: cn("px-1.5 py-1 text-xs text-muted-foreground", className),
|
|
600
|
+
...props
|
|
601
|
+
}
|
|
602
|
+
);
|
|
603
|
+
}
|
|
604
|
+
function SelectItem({ className, children, ...props }) {
|
|
605
|
+
return /* @__PURE__ */ jsxs(
|
|
606
|
+
Select$1.Item,
|
|
607
|
+
{
|
|
608
|
+
"data-slot": "select-item",
|
|
609
|
+
className: cn(
|
|
610
|
+
"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",
|
|
611
|
+
className
|
|
612
|
+
),
|
|
613
|
+
...props,
|
|
614
|
+
children: [
|
|
615
|
+
/* @__PURE__ */ jsx(Select$1.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
|
|
616
|
+
/* @__PURE__ */ jsx(
|
|
617
|
+
Select$1.ItemIndicator,
|
|
618
|
+
{
|
|
619
|
+
render: /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
|
|
620
|
+
children: /* @__PURE__ */ jsx(CheckIcon, { className: "pointer-events-none" })
|
|
621
|
+
}
|
|
622
|
+
)
|
|
623
|
+
]
|
|
624
|
+
}
|
|
625
|
+
);
|
|
626
|
+
}
|
|
627
|
+
function SelectSeparator({ className, ...props }) {
|
|
628
|
+
return /* @__PURE__ */ jsx(
|
|
629
|
+
Select$1.Separator,
|
|
630
|
+
{
|
|
631
|
+
"data-slot": "select-separator",
|
|
632
|
+
className: cn("pointer-events-none -mx-1 my-1 h-px bg-border", className),
|
|
633
|
+
...props
|
|
634
|
+
}
|
|
635
|
+
);
|
|
636
|
+
}
|
|
637
|
+
function SelectScrollUpButton({
|
|
638
|
+
className,
|
|
639
|
+
...props
|
|
640
|
+
}) {
|
|
641
|
+
return /* @__PURE__ */ jsx(
|
|
642
|
+
Select$1.ScrollUpArrow,
|
|
643
|
+
{
|
|
644
|
+
"data-slot": "select-scroll-up-button",
|
|
645
|
+
className: cn(
|
|
646
|
+
"top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
|
|
647
|
+
className
|
|
648
|
+
),
|
|
649
|
+
...props,
|
|
650
|
+
children: /* @__PURE__ */ jsx(ChevronUpIcon, {})
|
|
651
|
+
}
|
|
652
|
+
);
|
|
653
|
+
}
|
|
654
|
+
function SelectScrollDownButton({
|
|
655
|
+
className,
|
|
656
|
+
...props
|
|
657
|
+
}) {
|
|
658
|
+
return /* @__PURE__ */ jsx(
|
|
659
|
+
Select$1.ScrollDownArrow,
|
|
660
|
+
{
|
|
661
|
+
"data-slot": "select-scroll-down-button",
|
|
662
|
+
className: cn(
|
|
663
|
+
"bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
|
|
664
|
+
className
|
|
665
|
+
),
|
|
666
|
+
...props,
|
|
667
|
+
children: /* @__PURE__ */ jsx(ChevronDownIcon, {})
|
|
668
|
+
}
|
|
669
|
+
);
|
|
670
|
+
}
|
|
494
671
|
function Sheet({ ...props }) {
|
|
495
672
|
return /* @__PURE__ */ jsx(Dialog$1.Root, { "data-slot": "sheet", ...props });
|
|
496
673
|
}
|
|
@@ -733,4 +910,4 @@ function TooltipContent({
|
|
|
733
910
|
) });
|
|
734
911
|
}
|
|
735
912
|
|
|
736
|
-
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 };
|
|
913
|
+
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, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
1
|
+
import { Button } from './chunk-7LS75KDJ.js';
|
|
2
2
|
import { useCopyToClipboard } from './chunk-3ZL7QROP.js';
|
|
3
3
|
import { SplitAndHighlightText } from './chunk-NFJMUQY6.js';
|
|
4
|
-
import { CheckIcon,
|
|
4
|
+
import { CheckIcon, Loader2Icon, OctagonXIcon, TriangleAlertIcon, InfoIcon, CircleCheckIcon, CopyIcon } from './chunk-SV3XUWM2.js';
|
|
5
5
|
import { cn } from './chunk-QUNCRUSO.js';
|
|
6
6
|
import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
import { Collapsible as Collapsible$1 } from '@base-ui/react/collapsible';
|
|
9
9
|
import { ContextMenu as ContextMenu$1 } from '@base-ui/react/context-menu';
|
|
10
10
|
import { Drawer as Drawer$1 } from '@base-ui/react/drawer';
|
|
11
|
-
import { Select as Select$1 } from '@base-ui/react/select';
|
|
12
11
|
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
13
12
|
import { Slider as Slider$1 } from '@base-ui/react/slider';
|
|
14
13
|
import { useTheme } from 'next-themes';
|
|
@@ -154,182 +153,6 @@ function DrawerContent({ className, ...props }) {
|
|
|
154
153
|
}
|
|
155
154
|
);
|
|
156
155
|
}
|
|
157
|
-
var Select = Select$1.Root;
|
|
158
|
-
function SelectGroup({ className, ...props }) {
|
|
159
|
-
return /* @__PURE__ */ jsx(
|
|
160
|
-
Select$1.Group,
|
|
161
|
-
{
|
|
162
|
-
"data-slot": "select-group",
|
|
163
|
-
className: cn("scroll-my-1 p-1", className),
|
|
164
|
-
...props
|
|
165
|
-
}
|
|
166
|
-
);
|
|
167
|
-
}
|
|
168
|
-
function SelectValue({ className, ...props }) {
|
|
169
|
-
return /* @__PURE__ */ jsx(
|
|
170
|
-
Select$1.Value,
|
|
171
|
-
{
|
|
172
|
-
"data-slot": "select-value",
|
|
173
|
-
className: cn("flex flex-1 text-left", className),
|
|
174
|
-
...props
|
|
175
|
-
}
|
|
176
|
-
);
|
|
177
|
-
}
|
|
178
|
-
var SELECT_TRIGGER_STATE_CLASSES = {
|
|
179
|
-
default: "",
|
|
180
|
-
error: "border-destructive bg-destructive/5 dark:border-destructive/50 dark:bg-destructive/10",
|
|
181
|
-
success: "border-success bg-success/5 dark:border-success dark:bg-success/5",
|
|
182
|
-
warning: "border-warning bg-warning/5 dark:border-warning dark:bg-warning/5",
|
|
183
|
-
loading: "opacity-75 cursor-not-allowed"
|
|
184
|
-
};
|
|
185
|
-
function SelectTrigger({
|
|
186
|
-
className,
|
|
187
|
-
size = "default",
|
|
188
|
-
state = "default",
|
|
189
|
-
children,
|
|
190
|
-
...props
|
|
191
|
-
}) {
|
|
192
|
-
return /* @__PURE__ */ jsxs(
|
|
193
|
-
Select$1.Trigger,
|
|
194
|
-
{
|
|
195
|
-
"data-slot": "select-trigger",
|
|
196
|
-
"data-size": size,
|
|
197
|
-
className: cn(
|
|
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
|
-
SELECT_TRIGGER_STATE_CLASSES[state],
|
|
200
|
-
"cursor-pointer",
|
|
201
|
-
className
|
|
202
|
-
),
|
|
203
|
-
...props,
|
|
204
|
-
children: [
|
|
205
|
-
children,
|
|
206
|
-
/* @__PURE__ */ jsx(
|
|
207
|
-
Select$1.Icon,
|
|
208
|
-
{
|
|
209
|
-
render: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
|
|
210
|
-
}
|
|
211
|
-
)
|
|
212
|
-
]
|
|
213
|
-
}
|
|
214
|
-
);
|
|
215
|
-
}
|
|
216
|
-
function SelectContent({
|
|
217
|
-
className,
|
|
218
|
-
positionerClassName,
|
|
219
|
-
children,
|
|
220
|
-
side = "bottom",
|
|
221
|
-
sideOffset = 4,
|
|
222
|
-
align = "center",
|
|
223
|
-
alignOffset = 0,
|
|
224
|
-
alignItemWithTrigger = true,
|
|
225
|
-
...props
|
|
226
|
-
}) {
|
|
227
|
-
return /* @__PURE__ */ jsx(Select$1.Portal, { children: /* @__PURE__ */ jsx(
|
|
228
|
-
Select$1.Positioner,
|
|
229
|
-
{
|
|
230
|
-
side,
|
|
231
|
-
sideOffset,
|
|
232
|
-
align,
|
|
233
|
-
alignOffset,
|
|
234
|
-
alignItemWithTrigger,
|
|
235
|
-
className: cn("z-overlay isolate", positionerClassName),
|
|
236
|
-
children: /* @__PURE__ */ jsxs(
|
|
237
|
-
Select$1.Popup,
|
|
238
|
-
{
|
|
239
|
-
"data-slot": "select-content",
|
|
240
|
-
"data-align-trigger": alignItemWithTrigger,
|
|
241
|
-
className: cn(
|
|
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
|
-
className
|
|
244
|
-
),
|
|
245
|
-
...props,
|
|
246
|
-
children: [
|
|
247
|
-
/* @__PURE__ */ jsx(SelectScrollUpButton, {}),
|
|
248
|
-
/* @__PURE__ */ jsx(Select$1.List, { children }),
|
|
249
|
-
/* @__PURE__ */ jsx(SelectScrollDownButton, {})
|
|
250
|
-
]
|
|
251
|
-
}
|
|
252
|
-
)
|
|
253
|
-
}
|
|
254
|
-
) });
|
|
255
|
-
}
|
|
256
|
-
function SelectLabel({ className, ...props }) {
|
|
257
|
-
return /* @__PURE__ */ jsx(
|
|
258
|
-
Select$1.GroupLabel,
|
|
259
|
-
{
|
|
260
|
-
"data-slot": "select-label",
|
|
261
|
-
className: cn("px-1.5 py-1 text-xs text-muted-foreground", className),
|
|
262
|
-
...props
|
|
263
|
-
}
|
|
264
|
-
);
|
|
265
|
-
}
|
|
266
|
-
function SelectItem({ className, children, ...props }) {
|
|
267
|
-
return /* @__PURE__ */ jsxs(
|
|
268
|
-
Select$1.Item,
|
|
269
|
-
{
|
|
270
|
-
"data-slot": "select-item",
|
|
271
|
-
className: cn(
|
|
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
|
-
className
|
|
274
|
-
),
|
|
275
|
-
...props,
|
|
276
|
-
children: [
|
|
277
|
-
/* @__PURE__ */ jsx(Select$1.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
|
|
278
|
-
/* @__PURE__ */ jsx(
|
|
279
|
-
Select$1.ItemIndicator,
|
|
280
|
-
{
|
|
281
|
-
render: /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
|
|
282
|
-
children: /* @__PURE__ */ jsx(CheckIcon, { className: "pointer-events-none" })
|
|
283
|
-
}
|
|
284
|
-
)
|
|
285
|
-
]
|
|
286
|
-
}
|
|
287
|
-
);
|
|
288
|
-
}
|
|
289
|
-
function SelectSeparator({ className, ...props }) {
|
|
290
|
-
return /* @__PURE__ */ jsx(
|
|
291
|
-
Select$1.Separator,
|
|
292
|
-
{
|
|
293
|
-
"data-slot": "select-separator",
|
|
294
|
-
className: cn("pointer-events-none -mx-1 my-1 h-px bg-border", className),
|
|
295
|
-
...props
|
|
296
|
-
}
|
|
297
|
-
);
|
|
298
|
-
}
|
|
299
|
-
function SelectScrollUpButton({
|
|
300
|
-
className,
|
|
301
|
-
...props
|
|
302
|
-
}) {
|
|
303
|
-
return /* @__PURE__ */ jsx(
|
|
304
|
-
Select$1.ScrollUpArrow,
|
|
305
|
-
{
|
|
306
|
-
"data-slot": "select-scroll-up-button",
|
|
307
|
-
className: cn(
|
|
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
|
-
className
|
|
310
|
-
),
|
|
311
|
-
...props,
|
|
312
|
-
children: /* @__PURE__ */ jsx(ChevronUpIcon, {})
|
|
313
|
-
}
|
|
314
|
-
);
|
|
315
|
-
}
|
|
316
|
-
function SelectScrollDownButton({
|
|
317
|
-
className,
|
|
318
|
-
...props
|
|
319
|
-
}) {
|
|
320
|
-
return /* @__PURE__ */ jsx(
|
|
321
|
-
Select$1.ScrollDownArrow,
|
|
322
|
-
{
|
|
323
|
-
"data-slot": "select-scroll-down-button",
|
|
324
|
-
className: cn(
|
|
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
|
-
className
|
|
327
|
-
),
|
|
328
|
-
...props,
|
|
329
|
-
children: /* @__PURE__ */ jsx(ChevronDownIcon, {})
|
|
330
|
-
}
|
|
331
|
-
);
|
|
332
|
-
}
|
|
333
156
|
function Separator({ className, orientation = "horizontal", ...props }) {
|
|
334
157
|
return /* @__PURE__ */ jsx(
|
|
335
158
|
Separator$1,
|
|
@@ -964,4 +787,4 @@ function Textarea({
|
|
|
964
787
|
);
|
|
965
788
|
}
|
|
966
789
|
|
|
967
|
-
export { Checkbox, Collapsible, CollapsiblePanel, CollapsibleTrigger, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuPortal, ContextMenuSeparator, ContextMenuTrigger, Drawer, DrawerContent, DrawerPopup, DrawerPortal, DrawerViewport,
|
|
790
|
+
export { Checkbox, Collapsible, CollapsiblePanel, CollapsibleTrigger, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuPortal, ContextMenuSeparator, ContextMenuTrigger, Drawer, DrawerContent, DrawerPopup, DrawerPortal, DrawerViewport, Separator, Slider, Switch, Tabs, TabsContent, TabsIndicator, TabsList, TabsTrigger, Textarea, Toaster, textareaVariants };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Tooltip, TooltipTrigger, TooltipContent, Button, DropdownMenuItem, TooltipProvider, Sheet, SheetContent, SheetHeader, ScrollArea, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, TableRow, TableCell, toast, Badge } from './chunk-
|
|
2
|
-
import { CheckIcon, CopyIcon, Loader2Icon, MinusIcon, PlusIcon, Trash2Icon, PencilIcon, RefreshCwIcon, ScalingIcon, XCircleIcon, CheckCircle2Icon, SearchIcon, Input,
|
|
1
|
+
import { Tooltip, TooltipTrigger, TooltipContent, Button, DropdownMenuItem, TooltipProvider, Sheet, SheetContent, SheetHeader, ScrollArea, Select, SelectTrigger, SelectValue, SelectContent, SelectItem, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, TableRow, TableCell, toast, Badge } from './chunk-7LS75KDJ.js';
|
|
2
|
+
import { CheckIcon, CopyIcon, Loader2Icon, MinusIcon, PlusIcon, Trash2Icon, PencilIcon, RefreshCwIcon, ScalingIcon, XCircleIcon, CheckCircle2Icon, SearchIcon, Input, CircleCheckIcon, CircleXIcon } from './chunk-SV3XUWM2.js';
|
|
3
3
|
import { cn } from './chunk-QUNCRUSO.js';
|
|
4
|
-
import { useRef, useState, useLayoutEffect, Component, useMemo
|
|
4
|
+
import { useRef, useState, useLayoutEffect, Component, useMemo } from 'react';
|
|
5
5
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
6
|
-
import { createPortal } from 'react-dom';
|
|
7
6
|
import ReactMarkdown from 'react-markdown';
|
|
8
7
|
import remarkGfm from 'remark-gfm';
|
|
9
8
|
|
|
@@ -510,112 +509,43 @@ var TimezoneSelect = ({
|
|
|
510
509
|
onChange,
|
|
511
510
|
"aria-labelledby": ariaLabelledBy
|
|
512
511
|
}) => {
|
|
513
|
-
const [open, setOpen] = useState(false);
|
|
514
512
|
const [search, setSearch] = useState("");
|
|
515
|
-
const [dropdownRect, setDropdownRect] = useState(null);
|
|
516
|
-
const triggerRef = useRef(null);
|
|
517
|
-
const dropdownRef = useRef(null);
|
|
518
|
-
const searchRef = useRef(null);
|
|
519
513
|
const filtered = useMemo(
|
|
520
514
|
() => search.trim() ? TIMEZONES.filter((tz) => tz.toLowerCase().includes(search.toLowerCase())) : TIMEZONES,
|
|
521
515
|
[search]
|
|
522
516
|
);
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
}, [open]);
|
|
541
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
542
|
-
/* @__PURE__ */ jsxs(
|
|
543
|
-
Button,
|
|
544
|
-
{
|
|
545
|
-
ref: triggerRef,
|
|
546
|
-
variant: "outline",
|
|
547
|
-
"aria-haspopup": "listbox",
|
|
548
|
-
"aria-expanded": open,
|
|
549
|
-
"aria-labelledby": ariaLabelledBy,
|
|
550
|
-
onClick: handleOpen,
|
|
551
|
-
className: "w-full justify-between font-normal",
|
|
552
|
-
children: [
|
|
553
|
-
/* @__PURE__ */ jsx("span", { className: "truncate", children: value }),
|
|
554
|
-
/* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4 shrink-0 text-muted-foreground" })
|
|
555
|
-
]
|
|
556
|
-
}
|
|
557
|
-
),
|
|
558
|
-
open && dropdownRect && createPortal(
|
|
559
|
-
/* @__PURE__ */ jsxs(
|
|
560
|
-
"div",
|
|
561
|
-
{
|
|
562
|
-
ref: dropdownRef,
|
|
563
|
-
style: {
|
|
564
|
-
position: "fixed",
|
|
565
|
-
top: dropdownRect.top,
|
|
566
|
-
left: dropdownRect.left,
|
|
567
|
-
width: dropdownRect.width,
|
|
568
|
-
zIndex: 50
|
|
569
|
-
},
|
|
570
|
-
className: "flex flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10",
|
|
571
|
-
children: [
|
|
572
|
-
/* @__PURE__ */ jsx("div", { className: "border-b p-1.5", children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
573
|
-
/* @__PURE__ */ jsx(SearchIcon, { className: "pointer-events-none absolute top-1/2 left-2.5 size-3.5 -translate-y-1/2 text-muted-foreground" }),
|
|
574
|
-
/* @__PURE__ */ jsx(
|
|
575
|
-
Input,
|
|
576
|
-
{
|
|
577
|
-
ref: searchRef,
|
|
578
|
-
value: search,
|
|
579
|
-
onChange: (e) => setSearch(e.target.value),
|
|
580
|
-
placeholder: "Search timezone\u2026",
|
|
581
|
-
className: "pl-8 text-sm"
|
|
582
|
-
}
|
|
583
|
-
)
|
|
584
|
-
] }) }),
|
|
585
|
-
/* @__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(
|
|
586
|
-
"div",
|
|
517
|
+
return /* @__PURE__ */ jsxs(
|
|
518
|
+
Select,
|
|
519
|
+
{
|
|
520
|
+
value,
|
|
521
|
+
onValueChange: (v) => {
|
|
522
|
+
if (v) onChange(v);
|
|
523
|
+
},
|
|
524
|
+
onOpenChange: (open) => {
|
|
525
|
+
if (!open) setSearch("");
|
|
526
|
+
},
|
|
527
|
+
children: [
|
|
528
|
+
/* @__PURE__ */ jsx(SelectTrigger, { "aria-labelledby": ariaLabelledBy, className: "w-full", children: /* @__PURE__ */ jsx(SelectValue, {}) }),
|
|
529
|
+
/* @__PURE__ */ jsxs(SelectContent, { alignItemWithTrigger: false, className: "max-h-72", children: [
|
|
530
|
+
/* @__PURE__ */ jsx("div", { className: "border-b p-1.5", children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
531
|
+
/* @__PURE__ */ jsx(SearchIcon, { className: "pointer-events-none absolute top-1/2 left-2.5 size-3.5 -translate-y-1/2 text-muted-foreground" }),
|
|
532
|
+
/* @__PURE__ */ jsx(
|
|
533
|
+
Input,
|
|
587
534
|
{
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
className: cn(
|
|
603
|
-
"flex cursor-pointer items-center justify-between rounded-md px-3 py-1.5 text-sm",
|
|
604
|
-
tz === value ? "bg-accent text-accent-foreground" : "hover:bg-accent hover:text-accent-foreground"
|
|
605
|
-
),
|
|
606
|
-
children: [
|
|
607
|
-
tz,
|
|
608
|
-
tz === value && /* @__PURE__ */ jsx(CheckIcon, { className: "size-3.5 shrink-0" })
|
|
609
|
-
]
|
|
610
|
-
},
|
|
611
|
-
tz
|
|
612
|
-
)) })
|
|
613
|
-
]
|
|
614
|
-
}
|
|
615
|
-
),
|
|
616
|
-
document.body
|
|
617
|
-
)
|
|
618
|
-
] });
|
|
535
|
+
autoFocus: true,
|
|
536
|
+
value: search,
|
|
537
|
+
onChange: (e) => setSearch(e.target.value),
|
|
538
|
+
onKeyDown: (e) => e.stopPropagation(),
|
|
539
|
+
placeholder: "Search timezone\u2026",
|
|
540
|
+
className: "pl-8 text-sm"
|
|
541
|
+
}
|
|
542
|
+
)
|
|
543
|
+
] }) }),
|
|
544
|
+
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__ */ jsx(SelectItem, { value: tz, children: tz }, tz))
|
|
545
|
+
] })
|
|
546
|
+
]
|
|
547
|
+
}
|
|
548
|
+
);
|
|
619
549
|
};
|
|
620
550
|
var ConfirmationModal = ({
|
|
621
551
|
open,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cn } from './chunk-QUNCRUSO.js';
|
|
2
|
-
export { AppWindowIcon, 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, HardDriveIcon, HouseIcon, InfoIcon, KeyIcon, LayersIcon, LayoutDashboardIcon, Link2Icon, 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, XCircleIcon, XIcon } from 'lucide-react';
|
|
2
|
+
export { AppWindowIcon, 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, HardDriveIcon, HouseIcon, InfoIcon, KeyIcon, LayersIcon, LayoutDashboardIcon, Link2Icon, 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, ShipWheelIcon, SlidersHorizontalIcon, SquareIcon, StarIcon, TerminalIcon, TimerIcon, Trash2Icon, TriangleAlertIcon, UserRoundIcon, WebhookIcon, XCircleIcon, XIcon } from 'lucide-react';
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import { Input as Input$1 } from '@base-ui/react/input';
|
|
5
5
|
import { cva } from 'class-variance-authority';
|
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-
|
|
3
|
-
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-FUZF3NOG.js';
|
|
2
|
+
import '../chunk-7LS75KDJ.js';
|
|
3
|
+
import '../chunk-SV3XUWM2.js';
|
|
4
4
|
import '../chunk-QUNCRUSO.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { AnnotationBadge, ButtonGroup, ButtonGroupProps, ConfirmationModal, Divi
|
|
|
4
4
|
export { BREAKPOINTS, Breakpoint, useBreakpoint, useCopyToClipboard, useMediaQuery } from './hooks/index.js';
|
|
5
5
|
export { clamp, cn, formatRelativeTime, formatTs } from './utils/index.js';
|
|
6
6
|
export { FullTextSearchInput, SplitAndHighlightText, UseFullTextSearchCustomOptions, UseFullTextSearchOptions, UseFullTextSearchReturn, UseFullTextSearchWithHandlersReturn, useFullTextSearch } from './libs/index.js';
|
|
7
|
-
export { AppWindowIcon, 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, HardDriveIcon, HouseIcon, InfoIcon, KeyIcon, LayersIcon, LayoutDashboardIcon, Link2Icon, 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, XCircleIcon, XIcon } from 'lucide-react';
|
|
7
|
+
export { AppWindowIcon, 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, HardDriveIcon, HouseIcon, InfoIcon, KeyIcon, LayersIcon, LayoutDashboardIcon, Link2Icon, 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, ShipWheelIcon, SlidersHorizontalIcon, SquareIcon, StarIcon, TerminalIcon, TimerIcon, Trash2Icon, TriangleAlertIcon, UserRoundIcon, WebhookIcon, XCircleIcon, XIcon } from 'lucide-react';
|
|
8
8
|
export { VariantProps } from 'class-variance-authority';
|
|
9
9
|
import 'react';
|
|
10
10
|
import 'class-variance-authority/types';
|
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,
|
|
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, Separator, Slider, Switch, Tabs, TabsContent, TabsIndicator, TabsList, TabsTrigger, Textarea, Toaster, textareaVariants } from './chunk-D45POWLP.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-FUZF3NOG.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, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, toast } from './chunk-7LS75KDJ.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-6JU5D3YE.js';
|
|
8
8
|
export { SplitAndHighlightText } from './chunk-NFJMUQY6.js';
|
|
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-
|
|
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, ShipWheelIcon, SlidersHorizontalIcon, SquareIcon, StarIcon, TerminalIcon, TimerIcon, Trash2Icon, TriangleAlertIcon, UserRoundIcon, WebhookIcon, WindowsIcon, XCircleIcon, XIcon } from './chunk-SV3XUWM2.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-6JU5D3YE.js';
|
|
2
2
|
export { SplitAndHighlightText } from '../chunk-NFJMUQY6.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-SV3XUWM2.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.15",
|
|
4
4
|
"description": "Design system components, utilities, and hooks for litelens",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -46,16 +46,16 @@
|
|
|
46
46
|
"./dist/styles.js"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@base-ui/react": "^1.
|
|
49
|
+
"@base-ui/react": "^1.8.0",
|
|
50
50
|
"@fontsource-variable/inter": "^5.3.0",
|
|
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.42.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.21.0",
|
|
59
59
|
"sonner": "^2.0.8",
|
|
60
60
|
"tailwind-merge": "^3.6.0",
|
|
61
61
|
"tw-animate-css": "^1.4.0"
|
|
@@ -68,9 +68,9 @@
|
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@testing-library/jest-dom": "^6.10.0",
|
|
70
70
|
"@testing-library/react": "^16.3.3",
|
|
71
|
-
"@types/node": "^26.
|
|
71
|
+
"@types/node": "^26.5.0",
|
|
72
72
|
"@types/react": "^19.2.18",
|
|
73
|
-
"@types/react-dom": "^19.2.
|
|
73
|
+
"@types/react-dom": "^19.2.7",
|
|
74
74
|
"@vitejs/plugin-react": "^6.1.1",
|
|
75
75
|
"@vitest/coverage-v8": "^4.1.11",
|
|
76
76
|
"cross-env": "^10.1.0",
|