@tradalab/lyra 3.10.0 → 3.13.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 +34 -3
- package/dist/{account-menu-D9M_kEzN.d.ts → account-menu-q2VMEk3b.d.ts} +10 -2
- package/dist/blocks/index.d.ts +84 -29
- package/dist/blocks/index.js +31 -7
- package/dist/blocks/index.js.map +1 -1
- package/dist/{chunk-S5O4AGES.js → chunk-4ILJ3M7K.js} +5 -111
- package/dist/chunk-4ILJ3M7K.js.map +1 -0
- package/dist/{chunk-CLNMWZPV.js → chunk-SQELPQZU.js} +83 -4
- package/dist/chunk-SQELPQZU.js.map +1 -0
- package/dist/{chunk-AM6UJ666.js → chunk-U4HIZXI6.js} +33 -5
- package/dist/chunk-U4HIZXI6.js.map +1 -0
- package/dist/data-table/index.d.ts +43 -5
- package/dist/data-table/index.js +135 -15
- package/dist/data-table/index.js.map +1 -1
- package/dist/shell/index.d.ts +51 -2
- package/dist/shell/index.js +69 -4
- package/dist/shell/index.js.map +1 -1
- package/dist/ui/index.d.ts +4 -12
- package/dist/ui/index.js +3 -3
- package/package.json +2 -2
- package/styles/globals.css +28 -0
- package/dist/chunk-AM6UJ666.js.map +0 -1
- package/dist/chunk-CLNMWZPV.js.map +0 -1
- package/dist/chunk-S5O4AGES.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Separator } from './chunk-
|
|
1
|
+
import { Separator } from './chunk-SQELPQZU.js';
|
|
2
2
|
import { PLATE_KEY, COMPACT_KEY } from './chunk-D7DMRCDY.js';
|
|
3
3
|
import { InputGroup, InputGroupInput, InputGroupAddon, InputGroupButton } from './chunk-VXW3K5O5.js';
|
|
4
4
|
import { Button, buttonVariants } from './chunk-VGOGWZCF.js';
|
|
5
5
|
import { cn } from './chunk-XH55BHUU.js';
|
|
6
6
|
import * as React8 from 'react';
|
|
7
7
|
import { useMemo } from 'react';
|
|
8
|
-
import { Direction, Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Slot,
|
|
8
|
+
import { Direction, Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Slot, Collapsible as Collapsible$1, Label as Label$1, HoverCard as HoverCard$1, Menubar as Menubar$1, NavigationMenu as NavigationMenu$1, Progress as Progress$1, Select as Select$1, Slider as Slider$1, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1 } from 'radix-ui';
|
|
9
9
|
import { ChevronDownIcon, ChevronUpIcon, ChevronLeftIcon, ChevronRightIcon, CheckIcon, XIcon, MinusIcon, ArrowDownIcon, MoreHorizontalIcon, Loader2Icon, CircleCheckIcon, InfoIcon, TriangleAlertIcon, OctagonXIcon } from 'lucide-react';
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
11
11
|
import { cva } from 'class-variance-authority';
|
|
@@ -1307,33 +1307,6 @@ function getPayloadConfigFromPayload(config, payload, key) {
|
|
|
1307
1307
|
}
|
|
1308
1308
|
return configLabelKey in config ? config[configLabelKey] : config[key];
|
|
1309
1309
|
}
|
|
1310
|
-
function Checkbox({
|
|
1311
|
-
className,
|
|
1312
|
-
...props
|
|
1313
|
-
}) {
|
|
1314
|
-
return /* @__PURE__ */ jsx(
|
|
1315
|
-
Checkbox$1.Root,
|
|
1316
|
-
{
|
|
1317
|
-
"data-slot": "checkbox",
|
|
1318
|
-
className: cn(
|
|
1319
|
-
"peer relative flex size-4 shrink-0 items-center justify-center rounded-none border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-1 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",
|
|
1320
|
-
className
|
|
1321
|
-
),
|
|
1322
|
-
...props,
|
|
1323
|
-
children: /* @__PURE__ */ jsx(
|
|
1324
|
-
Checkbox$1.Indicator,
|
|
1325
|
-
{
|
|
1326
|
-
"data-slot": "checkbox-indicator",
|
|
1327
|
-
className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
|
|
1328
|
-
children: /* @__PURE__ */ jsx(
|
|
1329
|
-
CheckIcon,
|
|
1330
|
-
{}
|
|
1331
|
-
)
|
|
1332
|
-
}
|
|
1333
|
-
)
|
|
1334
|
-
}
|
|
1335
|
-
);
|
|
1336
|
-
}
|
|
1337
1310
|
function Collapsible({
|
|
1338
1311
|
...props
|
|
1339
1312
|
}) {
|
|
@@ -3662,85 +3635,6 @@ function Slider({
|
|
|
3662
3635
|
function Spinner({ className, ...props }) {
|
|
3663
3636
|
return /* @__PURE__ */ jsx(Loader2Icon, { "data-slot": "spinner", role: "status", "aria-label": "Loading", className: cn("size-4 animate-spin", className), ...props });
|
|
3664
3637
|
}
|
|
3665
|
-
function Tabs({
|
|
3666
|
-
className,
|
|
3667
|
-
orientation = "horizontal",
|
|
3668
|
-
...props
|
|
3669
|
-
}) {
|
|
3670
|
-
return /* @__PURE__ */ jsx(
|
|
3671
|
-
Tabs$1.Root,
|
|
3672
|
-
{
|
|
3673
|
-
"data-slot": "tabs",
|
|
3674
|
-
"data-orientation": orientation,
|
|
3675
|
-
className: cn(
|
|
3676
|
-
"group/tabs flex gap-2 data-horizontal:flex-col",
|
|
3677
|
-
className
|
|
3678
|
-
),
|
|
3679
|
-
...props
|
|
3680
|
-
}
|
|
3681
|
-
);
|
|
3682
|
-
}
|
|
3683
|
-
var tabsListVariants = cva(
|
|
3684
|
-
"group/tabs-list inline-flex w-fit items-center justify-center rounded-none p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none",
|
|
3685
|
-
{
|
|
3686
|
-
variants: {
|
|
3687
|
-
variant: {
|
|
3688
|
-
default: "bg-muted",
|
|
3689
|
-
line: "gap-1 bg-transparent"
|
|
3690
|
-
}
|
|
3691
|
-
},
|
|
3692
|
-
defaultVariants: {
|
|
3693
|
-
variant: "default"
|
|
3694
|
-
}
|
|
3695
|
-
}
|
|
3696
|
-
);
|
|
3697
|
-
function TabsList({
|
|
3698
|
-
className,
|
|
3699
|
-
variant = "default",
|
|
3700
|
-
...props
|
|
3701
|
-
}) {
|
|
3702
|
-
return /* @__PURE__ */ jsx(
|
|
3703
|
-
Tabs$1.List,
|
|
3704
|
-
{
|
|
3705
|
-
"data-slot": "tabs-list",
|
|
3706
|
-
"data-variant": variant,
|
|
3707
|
-
className: cn(tabsListVariants({ variant }), className),
|
|
3708
|
-
...props
|
|
3709
|
-
}
|
|
3710
|
-
);
|
|
3711
|
-
}
|
|
3712
|
-
function TabsTrigger({
|
|
3713
|
-
className,
|
|
3714
|
-
...props
|
|
3715
|
-
}) {
|
|
3716
|
-
return /* @__PURE__ */ jsx(
|
|
3717
|
-
Tabs$1.Trigger,
|
|
3718
|
-
{
|
|
3719
|
-
"data-slot": "tabs-trigger",
|
|
3720
|
-
className: cn(
|
|
3721
|
-
"relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-none border border-transparent px-1.5 py-0.5 text-xs font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start group-data-vertical/tabs:py-[calc(--spacing(1.25))] hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 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 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
3722
|
-
"group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent",
|
|
3723
|
-
"data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground",
|
|
3724
|
-
"after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100",
|
|
3725
|
-
className
|
|
3726
|
-
),
|
|
3727
|
-
...props
|
|
3728
|
-
}
|
|
3729
|
-
);
|
|
3730
|
-
}
|
|
3731
|
-
function TabsContent({
|
|
3732
|
-
className,
|
|
3733
|
-
...props
|
|
3734
|
-
}) {
|
|
3735
|
-
return /* @__PURE__ */ jsx(
|
|
3736
|
-
Tabs$1.Content,
|
|
3737
|
-
{
|
|
3738
|
-
"data-slot": "tabs-content",
|
|
3739
|
-
className: cn("flex-1 text-xs/relaxed outline-none", className),
|
|
3740
|
-
...props
|
|
3741
|
-
}
|
|
3742
|
-
);
|
|
3743
|
-
}
|
|
3744
3638
|
var toast = Toast$1.createToastManager();
|
|
3745
3639
|
function ToastProvider({ ...props }) {
|
|
3746
3640
|
return /* @__PURE__ */ jsx(Toast$1.Provider, { ...props });
|
|
@@ -4083,6 +3977,6 @@ function PreferenceScript() {
|
|
|
4083
3977
|
return /* @__PURE__ */ jsx("script", { dangerouslySetInnerHTML: { __html: SCRIPT } });
|
|
4084
3978
|
}
|
|
4085
3979
|
|
|
4086
|
-
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,
|
|
4087
|
-
//# sourceMappingURL=chunk-
|
|
4088
|
-
//# sourceMappingURL=chunk-
|
|
3980
|
+
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, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Container, DirectionProvider, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, 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, Label, 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, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PreferenceScript, Progress, Questionnaire, QuestionnaireActions, QuestionnaireChoice, QuestionnaireChoiceDescription, QuestionnaireChoices, QuestionnaireDescription, QuestionnaireError, QuestionnaireInput, QuestionnaireItem, QuestionnaireNext, QuestionnairePrevious, QuestionnaireProgress, QuestionnaireSkip, QuestionnaireSubmit, QuestionnaireTitle, ResizableHandle, ResizablePanel, ResizablePanelGroup, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Slider, Spinner, StatusBadge, Toast, ToastAction, ToastClose, ToastContent, ToastDescription, ToastPortal, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, badgeVariants, buttonGroupVariants, createToastManager, markerVariants, navigationMenuTriggerStyle, toast, toggleVariants, useCarousel, useComboboxAnchor, useDirection, useToastManager };
|
|
3981
|
+
//# sourceMappingURL=chunk-4ILJ3M7K.js.map
|
|
3982
|
+
//# sourceMappingURL=chunk-4ILJ3M7K.js.map
|