@tradalab/lyra 2.1.0 → 2.3.0
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/README.md +99 -99
- package/dist/blocks/index.d.ts +69 -1
- package/dist/blocks/index.js +158 -4
- package/dist/blocks/index.js.map +1 -1
- package/dist/{chunk-7GY2KYNW.js → chunk-2HDU26FC.js} +4 -101
- package/dist/chunk-2HDU26FC.js.map +1 -0
- package/dist/chunk-F2ET7EL2.js +104 -0
- package/dist/chunk-F2ET7EL2.js.map +1 -0
- package/dist/{chunk-F5HR244O.js → chunk-HN3UZUCS.js} +4 -5
- package/dist/chunk-HN3UZUCS.js.map +1 -0
- package/dist/chunk-VA6K3TP3.js +281 -0
- package/dist/chunk-VA6K3TP3.js.map +1 -0
- package/dist/{chunk-5M44N7SV.js → chunk-VDO6PQ5L.js} +4 -4
- package/dist/{chunk-5M44N7SV.js.map → chunk-VDO6PQ5L.js.map} +1 -1
- package/dist/{chunk-5Q4UTRYU.js → chunk-VGOGWZCF.js} +17 -3
- package/dist/chunk-VGOGWZCF.js.map +1 -0
- package/dist/{chunk-APYQOJAJ.js → chunk-XWGYXLIA.js} +3 -3
- package/dist/{chunk-APYQOJAJ.js.map → chunk-XWGYXLIA.js.map} +1 -1
- package/dist/data-table/index.js +1 -2
- package/dist/data-table/index.js.map +1 -1
- package/dist/people/index.js +5 -5
- package/dist/shell/index.js +4 -4
- package/dist/ui/index.d.ts +29 -2
- package/dist/ui/index.js +26 -266
- package/dist/ui/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-5Q4UTRYU.js.map +0 -1
- package/dist/chunk-7GY2KYNW.js.map +0 -1
- package/dist/chunk-F5HR244O.js.map +0 -1
- package/dist/chunk-PI6SANLG.js +0 -22
- package/dist/chunk-PI6SANLG.js.map +0 -1
- package/dist/chunk-QGUKTRBR.js +0 -25
- package/dist/chunk-QGUKTRBR.js.map +0 -1
package/dist/ui/index.js
CHANGED
|
@@ -1,30 +1,28 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Label } from '../chunk-
|
|
3
|
-
export { Label } from '../chunk-
|
|
2
|
+
import { Label } from '../chunk-VA6K3TP3.js';
|
|
3
|
+
export { Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Label, useComboboxAnchor } from '../chunk-VA6K3TP3.js';
|
|
4
4
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from '../chunk-CV3UXQBT.js';
|
|
5
|
-
import { Separator } from '../chunk-
|
|
6
|
-
export { AccountMenu, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ScrollArea, ScrollBar, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, defaultAccountMenuLabels, initialsOf, useSidebar } from '../chunk-
|
|
5
|
+
import { Separator } from '../chunk-HN3UZUCS.js';
|
|
6
|
+
export { AccountMenu, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, ScrollArea, ScrollBar, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, defaultAccountMenuLabels, initialsOf, useSidebar } from '../chunk-HN3UZUCS.js';
|
|
7
7
|
import '../chunk-QYA2HGKW.js';
|
|
8
8
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../chunk-LZZ3UOPT.js';
|
|
9
9
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from '../chunk-VEWKPOMS.js';
|
|
10
|
-
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from '../chunk-
|
|
11
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from '../chunk-
|
|
12
|
-
|
|
13
|
-
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export { Button, buttonVariants } from '../chunk-5Q4UTRYU.js';
|
|
10
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger } from '../chunk-VDO6PQ5L.js';
|
|
11
|
+
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from '../chunk-XWGYXLIA.js';
|
|
12
|
+
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage } from '../chunk-F2ET7EL2.js';
|
|
13
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Textarea } from '../chunk-2HDU26FC.js';
|
|
14
|
+
import { Button, buttonVariants } from '../chunk-VGOGWZCF.js';
|
|
15
|
+
export { Button, Input, buttonVariants } from '../chunk-VGOGWZCF.js';
|
|
17
16
|
import { cn } from '../chunk-XH55BHUU.js';
|
|
18
17
|
import * as React8 from 'react';
|
|
19
18
|
import { useMemo } from 'react';
|
|
20
19
|
import { Direction, Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Slot, Checkbox as Checkbox$1, Collapsible as Collapsible$1, HoverCard as HoverCard$1, Menubar as Menubar$1, NavigationMenu as NavigationMenu$1, Progress as Progress$1, RadioGroup as RadioGroup$1, Select as Select$1, Slider as Slider$1, Switch as Switch$1, Tabs as Tabs$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1 } from 'radix-ui';
|
|
21
|
-
import { ChevronDownIcon, ChevronUpIcon, ChevronLeftIcon, ChevronRightIcon, CheckIcon,
|
|
20
|
+
import { ChevronDownIcon, ChevronUpIcon, ChevronLeftIcon, ChevronRightIcon, CheckIcon, MinusIcon, ArrowDownIcon, MoreHorizontalIcon, Loader2Icon, XIcon, CircleCheckIcon, InfoIcon, TriangleAlertIcon, OctagonXIcon } from 'lucide-react';
|
|
22
21
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
23
22
|
import { cva } from 'class-variance-authority';
|
|
24
23
|
import { getDefaultClassNames, DayPicker } from 'react-day-picker';
|
|
25
24
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
26
25
|
import * as RechartsPrimitive from 'recharts';
|
|
27
|
-
import { Combobox as Combobox$1 } from '@base-ui/react';
|
|
28
26
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
29
27
|
import { OTPInput, OTPInputContext } from 'input-otp';
|
|
30
28
|
import { MessageScroller as MessageScroller$1 } from '@shadcn/react/message-scroller';
|
|
@@ -1372,258 +1370,6 @@ function CollapsibleContent({
|
|
|
1372
1370
|
}
|
|
1373
1371
|
);
|
|
1374
1372
|
}
|
|
1375
|
-
var Combobox = Combobox$1.Root;
|
|
1376
|
-
function ComboboxValue({ ...props }) {
|
|
1377
|
-
return /* @__PURE__ */ jsx(Combobox$1.Value, { "data-slot": "combobox-value", ...props });
|
|
1378
|
-
}
|
|
1379
|
-
function ComboboxTrigger({
|
|
1380
|
-
className,
|
|
1381
|
-
children,
|
|
1382
|
-
...props
|
|
1383
|
-
}) {
|
|
1384
|
-
return /* @__PURE__ */ jsxs(
|
|
1385
|
-
Combobox$1.Trigger,
|
|
1386
|
-
{
|
|
1387
|
-
"data-slot": "combobox-trigger",
|
|
1388
|
-
className: cn("[&_svg:not([class*='size-'])]:size-4", className),
|
|
1389
|
-
...props,
|
|
1390
|
-
children: [
|
|
1391
|
-
children,
|
|
1392
|
-
/* @__PURE__ */ jsx(ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
|
|
1393
|
-
]
|
|
1394
|
-
}
|
|
1395
|
-
);
|
|
1396
|
-
}
|
|
1397
|
-
function ComboboxClear({ className, ...props }) {
|
|
1398
|
-
return /* @__PURE__ */ jsx(
|
|
1399
|
-
Combobox$1.Clear,
|
|
1400
|
-
{
|
|
1401
|
-
"data-slot": "combobox-clear",
|
|
1402
|
-
render: /* @__PURE__ */ jsx(InputGroupButton, { variant: "ghost", size: "icon-xs" }),
|
|
1403
|
-
className: cn(className),
|
|
1404
|
-
...props,
|
|
1405
|
-
children: /* @__PURE__ */ jsx(XIcon, { className: "pointer-events-none" })
|
|
1406
|
-
}
|
|
1407
|
-
);
|
|
1408
|
-
}
|
|
1409
|
-
function ComboboxInput({
|
|
1410
|
-
className,
|
|
1411
|
-
children,
|
|
1412
|
-
disabled = false,
|
|
1413
|
-
showTrigger = true,
|
|
1414
|
-
showClear = false,
|
|
1415
|
-
...props
|
|
1416
|
-
}) {
|
|
1417
|
-
return /* @__PURE__ */ jsxs(InputGroup, { className: cn("w-auto", className), children: [
|
|
1418
|
-
/* @__PURE__ */ jsx(
|
|
1419
|
-
Combobox$1.Input,
|
|
1420
|
-
{
|
|
1421
|
-
render: /* @__PURE__ */ jsx(InputGroupInput, { disabled }),
|
|
1422
|
-
...props
|
|
1423
|
-
}
|
|
1424
|
-
),
|
|
1425
|
-
/* @__PURE__ */ jsxs(InputGroupAddon, { align: "inline-end", children: [
|
|
1426
|
-
showTrigger && /* @__PURE__ */ jsx(
|
|
1427
|
-
InputGroupButton,
|
|
1428
|
-
{
|
|
1429
|
-
size: "icon-xs",
|
|
1430
|
-
variant: "ghost",
|
|
1431
|
-
asChild: true,
|
|
1432
|
-
"data-slot": "input-group-button",
|
|
1433
|
-
className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
|
|
1434
|
-
disabled,
|
|
1435
|
-
children: /* @__PURE__ */ jsx(ComboboxTrigger, {})
|
|
1436
|
-
}
|
|
1437
|
-
),
|
|
1438
|
-
showClear && /* @__PURE__ */ jsx(ComboboxClear, { disabled })
|
|
1439
|
-
] }),
|
|
1440
|
-
children
|
|
1441
|
-
] });
|
|
1442
|
-
}
|
|
1443
|
-
function ComboboxContent({
|
|
1444
|
-
className,
|
|
1445
|
-
side = "bottom",
|
|
1446
|
-
sideOffset = 6,
|
|
1447
|
-
align = "start",
|
|
1448
|
-
alignOffset = 0,
|
|
1449
|
-
anchor,
|
|
1450
|
-
...props
|
|
1451
|
-
}) {
|
|
1452
|
-
return /* @__PURE__ */ jsx(Combobox$1.Portal, { children: /* @__PURE__ */ jsx(
|
|
1453
|
-
Combobox$1.Positioner,
|
|
1454
|
-
{
|
|
1455
|
-
side,
|
|
1456
|
-
sideOffset,
|
|
1457
|
-
align,
|
|
1458
|
-
alignOffset,
|
|
1459
|
-
anchor,
|
|
1460
|
-
className: "isolate z-50",
|
|
1461
|
-
children: /* @__PURE__ */ jsx(
|
|
1462
|
-
Combobox$1.Popup,
|
|
1463
|
-
{
|
|
1464
|
-
"data-slot": "combobox-content",
|
|
1465
|
-
"data-chips": !!anchor,
|
|
1466
|
-
className: cn("group/combobox-content relative max-h-(--available-height) w-(--anchor-width) max-w-(--available-width) min-w-[calc(var(--anchor-width)+--spacing(7))] origin-(--transform-origin) overflow-hidden rounded-none bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[chips=true]:min-w-(--anchor-width) 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=input-group]:m-1 *:data-[slot=input-group]:mb-0 *:data-[slot=input-group]:h-8 *:data-[slot=input-group]:border-input/30 *:data-[slot=input-group]:bg-input/30 *:data-[slot=input-group]:shadow-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", className),
|
|
1467
|
-
...props
|
|
1468
|
-
}
|
|
1469
|
-
)
|
|
1470
|
-
}
|
|
1471
|
-
) });
|
|
1472
|
-
}
|
|
1473
|
-
function ComboboxList({ className, ...props }) {
|
|
1474
|
-
return /* @__PURE__ */ jsx(
|
|
1475
|
-
Combobox$1.List,
|
|
1476
|
-
{
|
|
1477
|
-
"data-slot": "combobox-list",
|
|
1478
|
-
className: cn(
|
|
1479
|
-
"no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 overflow-y-auto overscroll-contain data-empty:p-0",
|
|
1480
|
-
className
|
|
1481
|
-
),
|
|
1482
|
-
...props
|
|
1483
|
-
}
|
|
1484
|
-
);
|
|
1485
|
-
}
|
|
1486
|
-
function ComboboxItem({
|
|
1487
|
-
className,
|
|
1488
|
-
children,
|
|
1489
|
-
...props
|
|
1490
|
-
}) {
|
|
1491
|
-
return /* @__PURE__ */ jsxs(
|
|
1492
|
-
Combobox$1.Item,
|
|
1493
|
-
{
|
|
1494
|
-
"data-slot": "combobox-item",
|
|
1495
|
-
className: cn(
|
|
1496
|
-
"relative flex w-full cursor-default items-center gap-2 rounded-none py-2 pr-8 pl-2 text-xs outline-hidden select-none data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**: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",
|
|
1497
|
-
className
|
|
1498
|
-
),
|
|
1499
|
-
...props,
|
|
1500
|
-
children: [
|
|
1501
|
-
children,
|
|
1502
|
-
/* @__PURE__ */ jsx(
|
|
1503
|
-
Combobox$1.ItemIndicator,
|
|
1504
|
-
{
|
|
1505
|
-
render: /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
|
|
1506
|
-
children: /* @__PURE__ */ jsx(CheckIcon, { className: "pointer-events-none" })
|
|
1507
|
-
}
|
|
1508
|
-
)
|
|
1509
|
-
]
|
|
1510
|
-
}
|
|
1511
|
-
);
|
|
1512
|
-
}
|
|
1513
|
-
function ComboboxGroup({ className, ...props }) {
|
|
1514
|
-
return /* @__PURE__ */ jsx(
|
|
1515
|
-
Combobox$1.Group,
|
|
1516
|
-
{
|
|
1517
|
-
"data-slot": "combobox-group",
|
|
1518
|
-
className: cn(className),
|
|
1519
|
-
...props
|
|
1520
|
-
}
|
|
1521
|
-
);
|
|
1522
|
-
}
|
|
1523
|
-
function ComboboxLabel({
|
|
1524
|
-
className,
|
|
1525
|
-
...props
|
|
1526
|
-
}) {
|
|
1527
|
-
return /* @__PURE__ */ jsx(
|
|
1528
|
-
Combobox$1.GroupLabel,
|
|
1529
|
-
{
|
|
1530
|
-
"data-slot": "combobox-label",
|
|
1531
|
-
className: cn("px-2 py-2 text-xs text-muted-foreground", className),
|
|
1532
|
-
...props
|
|
1533
|
-
}
|
|
1534
|
-
);
|
|
1535
|
-
}
|
|
1536
|
-
function ComboboxCollection({ ...props }) {
|
|
1537
|
-
return /* @__PURE__ */ jsx(Combobox$1.Collection, { "data-slot": "combobox-collection", ...props });
|
|
1538
|
-
}
|
|
1539
|
-
function ComboboxEmpty({ className, ...props }) {
|
|
1540
|
-
return /* @__PURE__ */ jsx(
|
|
1541
|
-
Combobox$1.Empty,
|
|
1542
|
-
{
|
|
1543
|
-
"data-slot": "combobox-empty",
|
|
1544
|
-
className: cn(
|
|
1545
|
-
"hidden w-full justify-center py-2 text-center text-xs text-muted-foreground group-data-empty/combobox-content:flex",
|
|
1546
|
-
className
|
|
1547
|
-
),
|
|
1548
|
-
...props
|
|
1549
|
-
}
|
|
1550
|
-
);
|
|
1551
|
-
}
|
|
1552
|
-
function ComboboxSeparator({
|
|
1553
|
-
className,
|
|
1554
|
-
...props
|
|
1555
|
-
}) {
|
|
1556
|
-
return /* @__PURE__ */ jsx(
|
|
1557
|
-
Combobox$1.Separator,
|
|
1558
|
-
{
|
|
1559
|
-
"data-slot": "combobox-separator",
|
|
1560
|
-
className: cn("-mx-1 h-px bg-border", className),
|
|
1561
|
-
...props
|
|
1562
|
-
}
|
|
1563
|
-
);
|
|
1564
|
-
}
|
|
1565
|
-
function ComboboxChips({
|
|
1566
|
-
className,
|
|
1567
|
-
...props
|
|
1568
|
-
}) {
|
|
1569
|
-
return /* @__PURE__ */ jsx(
|
|
1570
|
-
Combobox$1.Chips,
|
|
1571
|
-
{
|
|
1572
|
-
"data-slot": "combobox-chips",
|
|
1573
|
-
className: cn(
|
|
1574
|
-
"flex min-h-8 flex-wrap items-center gap-1 rounded-none border border-input bg-transparent bg-clip-padding px-2.5 py-1 text-xs transition-colors focus-within:border-ring focus-within:ring-1 focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-1 has-aria-invalid:ring-destructive/20 has-data-[slot=combobox-chip]:px-1 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40",
|
|
1575
|
-
className
|
|
1576
|
-
),
|
|
1577
|
-
...props
|
|
1578
|
-
}
|
|
1579
|
-
);
|
|
1580
|
-
}
|
|
1581
|
-
function ComboboxChip({
|
|
1582
|
-
className,
|
|
1583
|
-
children,
|
|
1584
|
-
showRemove = true,
|
|
1585
|
-
...props
|
|
1586
|
-
}) {
|
|
1587
|
-
return /* @__PURE__ */ jsxs(
|
|
1588
|
-
Combobox$1.Chip,
|
|
1589
|
-
{
|
|
1590
|
-
"data-slot": "combobox-chip",
|
|
1591
|
-
className: cn(
|
|
1592
|
-
"flex h-[calc(--spacing(5.25))] w-fit items-center justify-center gap-1 rounded-none bg-muted px-1.5 text-xs font-medium whitespace-nowrap text-foreground has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50 has-data-[slot=combobox-chip-remove]:pr-0",
|
|
1593
|
-
className
|
|
1594
|
-
),
|
|
1595
|
-
...props,
|
|
1596
|
-
children: [
|
|
1597
|
-
children,
|
|
1598
|
-
showRemove && /* @__PURE__ */ jsx(
|
|
1599
|
-
Combobox$1.ChipRemove,
|
|
1600
|
-
{
|
|
1601
|
-
render: /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "icon-xs" }),
|
|
1602
|
-
className: "-ml-1 opacity-50 hover:opacity-100",
|
|
1603
|
-
"data-slot": "combobox-chip-remove",
|
|
1604
|
-
children: /* @__PURE__ */ jsx(XIcon, { className: "pointer-events-none" })
|
|
1605
|
-
}
|
|
1606
|
-
)
|
|
1607
|
-
]
|
|
1608
|
-
}
|
|
1609
|
-
);
|
|
1610
|
-
}
|
|
1611
|
-
function ComboboxChipsInput({
|
|
1612
|
-
className,
|
|
1613
|
-
...props
|
|
1614
|
-
}) {
|
|
1615
|
-
return /* @__PURE__ */ jsx(
|
|
1616
|
-
Combobox$1.Input,
|
|
1617
|
-
{
|
|
1618
|
-
"data-slot": "combobox-chip-input",
|
|
1619
|
-
className: cn("min-w-16 flex-1 outline-none", className),
|
|
1620
|
-
...props
|
|
1621
|
-
}
|
|
1622
|
-
);
|
|
1623
|
-
}
|
|
1624
|
-
function useComboboxAnchor() {
|
|
1625
|
-
return React8.useRef(null);
|
|
1626
|
-
}
|
|
1627
1373
|
function DirectionProvider({
|
|
1628
1374
|
dir,
|
|
1629
1375
|
direction,
|
|
@@ -3809,6 +3555,20 @@ function ToggleGroupItem({
|
|
|
3809
3555
|
}
|
|
3810
3556
|
);
|
|
3811
3557
|
}
|
|
3558
|
+
function ActionButton({ pending = false, icon, disabled, children, ...props }) {
|
|
3559
|
+
return /* @__PURE__ */ jsxs(
|
|
3560
|
+
Button,
|
|
3561
|
+
{
|
|
3562
|
+
disabled: disabled || pending,
|
|
3563
|
+
"aria-busy": pending || void 0,
|
|
3564
|
+
...props,
|
|
3565
|
+
children: [
|
|
3566
|
+
pending ? /* @__PURE__ */ jsx(Spinner, {}) : icon,
|
|
3567
|
+
children
|
|
3568
|
+
]
|
|
3569
|
+
}
|
|
3570
|
+
);
|
|
3571
|
+
}
|
|
3812
3572
|
var maxWidthClass = {
|
|
3813
3573
|
sm: "max-w-screen-sm",
|
|
3814
3574
|
md: "max-w-screen-md",
|
|
@@ -3836,6 +3596,6 @@ function Container({ as: Component = "div", maxWidth = "xl", fluid = false, cent
|
|
|
3836
3596
|
);
|
|
3837
3597
|
}
|
|
3838
3598
|
|
|
3839
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Badge, Bubble, BubbleContent, BubbleGroup, BubbleReactions, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger,
|
|
3599
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionButton, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Badge, Bubble, BubbleContent, BubbleGroup, BubbleReactions, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Container, DirectionProvider, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, HoverCard, HoverCardContent, HoverCardTrigger, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Marker, MarkerContent, MarkerIcon, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Slider, Spinner, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Toast, ToastAction, ToastClose, ToastContent, ToastDescription, ToastPortal, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, badgeVariants, buttonGroupVariants, createToastManager, markerVariants, navigationMenuTriggerStyle, tabsListVariants, toast, toggleVariants, useCarousel, useDirection, useToastManager };
|
|
3840
3600
|
//# sourceMappingURL=index.js.map
|
|
3841
3601
|
//# sourceMappingURL=index.js.map
|