@sustaina/shared-ui 1.9.5 → 1.10.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/dist/index.d.mts +155 -33
- package/dist/index.d.ts +155 -33
- package/dist/index.js +1386 -358
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1243 -254
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5,8 +5,9 @@ import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
|
5
5
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
6
6
|
import { VariantProps } from 'class-variance-authority';
|
|
7
7
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
8
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
8
9
|
import { Header, RowData as RowData$1, Column as Column$1, Table as Table$1, ColumnDef, ColumnFiltersState, OnChangeFn, FilterFnOption, SortingState, ColumnOrderState, VisibilityState, ColumnPinningState, GroupingState, GroupingOptions, ColumnResizeMode, RowSelectionState, Row, ExpandedState, Cell, HeaderGroup, HeaderContext } from '@tanstack/react-table';
|
|
9
|
-
import * as
|
|
10
|
+
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
10
11
|
import * as react_hook_form from 'react-hook-form';
|
|
11
12
|
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
12
13
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
@@ -17,8 +18,8 @@ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
|
17
18
|
import { EditorState } from 'lexical';
|
|
18
19
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
19
20
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
20
|
-
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
21
21
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
22
|
+
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
22
23
|
import { ClassValue } from 'clsx';
|
|
23
24
|
|
|
24
25
|
declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
@@ -104,6 +105,10 @@ declare function Button({ className, variant, size, active, asChild, ...props }:
|
|
|
104
105
|
|
|
105
106
|
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
106
107
|
|
|
108
|
+
declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
109
|
+
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): react_jsx_runtime.JSX.Element;
|
|
110
|
+
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): react_jsx_runtime.JSX.Element;
|
|
111
|
+
|
|
107
112
|
declare function TableContainer({ className, children, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
108
113
|
declare function Table({ className, ...props }: React$1.ComponentProps<"table">): react_jsx_runtime.JSX.Element;
|
|
109
114
|
declare function TableHeader({ className, ...props }: React$1.ComponentProps<"thead">): react_jsx_runtime.JSX.Element;
|
|
@@ -327,7 +332,7 @@ type DataTableProps<TData extends RowData$1> = {
|
|
|
327
332
|
childrenKey?: DataTableChildrenKeyHandler<TData>;
|
|
328
333
|
onRowClick?: DataTableRowClickHandler<TData>;
|
|
329
334
|
};
|
|
330
|
-
declare const
|
|
335
|
+
declare const DataTable: <TData extends RowData$1>({ tableRef, isInitialLoading, columns, data, filters, sorting, columnOrder, columnVisibility, columnPinning, columnGrouping, columnResizing, rowSelection, rowExpansion, scrollFetch, activeStatusContent, statusContent, rowIdKey, childrenKey, onRowClick, debug, components }: DataTableProps<TData>) => react_jsx_runtime.JSX.Element;
|
|
331
336
|
|
|
332
337
|
declare module "@tanstack/react-table" {
|
|
333
338
|
interface ColumnMeta<TData extends RowData> {
|
|
@@ -410,16 +415,16 @@ type DatePickerProps = {
|
|
|
410
415
|
} & Omit<CalendarProps$1, "selectedDate" | "onDateSelect" | "className">;
|
|
411
416
|
declare const DatePicker: React__default.FC<DatePickerProps>;
|
|
412
417
|
|
|
413
|
-
declare function Dialog(props: React$1.ComponentProps<typeof
|
|
414
|
-
declare function DialogTrigger(props: React$1.ComponentProps<typeof
|
|
415
|
-
interface DialogContentProps extends React$1.ComponentProps<typeof
|
|
418
|
+
declare function Dialog(props: React$1.ComponentProps<typeof SheetPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
419
|
+
declare function DialogTrigger(props: React$1.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
420
|
+
interface DialogContentProps extends React$1.ComponentProps<typeof SheetPrimitive.Content> {
|
|
416
421
|
header?: React$1.ReactNode;
|
|
417
422
|
showOverlay?: boolean;
|
|
418
423
|
}
|
|
419
424
|
declare function DialogContent({ className, children, header, showOverlay, ...props }: DialogContentProps): react_jsx_runtime.JSX.Element;
|
|
420
425
|
declare function DialogFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
421
|
-
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof
|
|
422
|
-
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof
|
|
426
|
+
declare function DialogTitle({ className, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
427
|
+
declare function DialogDescription({ className, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
423
428
|
|
|
424
429
|
type DialogVariant = "default" | "success" | "error" | "warning";
|
|
425
430
|
interface DialogAlertProps {
|
|
@@ -575,6 +580,8 @@ declare const Input: React$1.ForwardRefExoticComponent<Omit<InputPrimitiveProps,
|
|
|
575
580
|
validationMessageProps?: React$1.HTMLAttributes<HTMLParagraphElement>;
|
|
576
581
|
} & React$1.RefAttributes<HTMLInputElement>>;
|
|
577
582
|
|
|
583
|
+
declare function Label({ className, ...props }: React$1.ComponentProps<typeof LabelPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
584
|
+
|
|
578
585
|
type ListProps = {
|
|
579
586
|
gridSettingPayload: GridPayload;
|
|
580
587
|
isLeftExpanded: boolean;
|
|
@@ -729,6 +736,17 @@ declare function PopoverArrow(props: React$1.ComponentProps<typeof PopoverPrimit
|
|
|
729
736
|
declare function PopoverContent({ className, align, sideOffset, children, ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
730
737
|
declare function PopoverAnchor({ ...props }: React$1.ComponentProps<typeof PopoverPrimitive.Anchor>): react_jsx_runtime.JSX.Element;
|
|
731
738
|
|
|
739
|
+
declare function Sheet({ ...props }: React$1.ComponentProps<typeof SheetPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
740
|
+
declare function SheetTrigger({ ...props }: React$1.ComponentProps<typeof SheetPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
741
|
+
declare function SheetClose({ ...props }: React$1.ComponentProps<typeof SheetPrimitive.Close>): react_jsx_runtime.JSX.Element;
|
|
742
|
+
declare function SheetContent({ className, children, side, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
743
|
+
side?: "top" | "right" | "bottom" | "left";
|
|
744
|
+
}): react_jsx_runtime.JSX.Element;
|
|
745
|
+
declare function SheetHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
746
|
+
declare function SheetFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
747
|
+
declare function SheetTitle({ className, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Title>): react_jsx_runtime.JSX.Element;
|
|
748
|
+
declare function SheetDescription({ className, ...props }: React$1.ComponentProps<typeof SheetPrimitive.Description>): react_jsx_runtime.JSX.Element;
|
|
749
|
+
|
|
732
750
|
declare const PreventPageLeave: ({ children }: React__default.PropsWithChildren) => React__default.ReactNode;
|
|
733
751
|
|
|
734
752
|
type PreventPageLeaveStore = {
|
|
@@ -790,19 +808,6 @@ declare function SelectScrollDownButton({ className, ...props }: React$1.Compone
|
|
|
790
808
|
|
|
791
809
|
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof SeparatorPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
792
810
|
|
|
793
|
-
declare function Switch({ className, ...props }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
794
|
-
|
|
795
|
-
type TextareaProps = React$1.ComponentProps<"textarea"> & {
|
|
796
|
-
autoResize?: boolean;
|
|
797
|
-
};
|
|
798
|
-
declare function Textarea({ className, autoResize, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
799
|
-
|
|
800
|
-
declare function TooltipProvider$1({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
801
|
-
declare function Tooltip$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
802
|
-
declare function TooltipTrigger$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
803
|
-
declare function TooltipArrow(props: React$1.ComponentProps<typeof TooltipPrimitive.Arrow>): react_jsx_runtime.JSX.Element;
|
|
804
|
-
declare function TooltipContent$1({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
805
|
-
|
|
806
811
|
type ClearButtonProps = {
|
|
807
812
|
onClick?: () => void;
|
|
808
813
|
title?: string;
|
|
@@ -811,7 +816,7 @@ type ClearButtonProps = {
|
|
|
811
816
|
};
|
|
812
817
|
declare const ClearButton: React__default.FC<ClearButtonProps>;
|
|
813
818
|
|
|
814
|
-
declare function
|
|
819
|
+
declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
815
820
|
|
|
816
821
|
declare const spinnerVariants: (props?: ({
|
|
817
822
|
variant?: "primary" | "secondary" | "destructive" | "muted" | null | undefined;
|
|
@@ -821,12 +826,19 @@ interface SpinnerProps extends React$1.HTMLAttributes<HTMLDivElement>, Omit<Vari
|
|
|
821
826
|
className?: string;
|
|
822
827
|
size?: VariantProps<typeof spinnerVariants>["size"] | number;
|
|
823
828
|
}
|
|
824
|
-
declare const Spinner: ({ className, variant, size }: SpinnerProps) => react_jsx_runtime.JSX.Element;
|
|
829
|
+
declare const Spinner: ({ className, variant, size, ...props }: SpinnerProps) => react_jsx_runtime.JSX.Element;
|
|
825
830
|
|
|
826
|
-
declare function
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
831
|
+
declare function Switch({ className, ...props }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
832
|
+
|
|
833
|
+
type TextareaProps = React$1.ComponentProps<"textarea"> & {
|
|
834
|
+
autoResize?: boolean;
|
|
835
|
+
};
|
|
836
|
+
declare function Textarea({ className, autoResize, ...props }: TextareaProps): react_jsx_runtime.JSX.Element;
|
|
837
|
+
|
|
838
|
+
declare function TooltipProvider$1({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
839
|
+
declare function Tooltip$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
840
|
+
declare function TooltipTrigger$1({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
841
|
+
declare function TooltipContent$1({ className, arrowClassName, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content> & {
|
|
830
842
|
arrowClassName?: string;
|
|
831
843
|
}): react_jsx_runtime.JSX.Element;
|
|
832
844
|
|
|
@@ -837,6 +849,9 @@ declare const index_AccordionTrigger: typeof AccordionTrigger;
|
|
|
837
849
|
declare const index_Button: typeof Button;
|
|
838
850
|
declare const index_Checkbox: typeof Checkbox;
|
|
839
851
|
declare const index_ClearButton: typeof ClearButton;
|
|
852
|
+
declare const index_Collapsible: typeof Collapsible;
|
|
853
|
+
declare const index_CollapsibleContent: typeof CollapsibleContent;
|
|
854
|
+
declare const index_CollapsibleTrigger: typeof CollapsibleTrigger;
|
|
840
855
|
declare const index_Dialog: typeof Dialog;
|
|
841
856
|
declare const index_DialogContent: typeof DialogContent;
|
|
842
857
|
declare const index_DialogDescription: typeof DialogDescription;
|
|
@@ -873,6 +888,39 @@ declare const index_SelectSeparator: typeof SelectSeparator;
|
|
|
873
888
|
declare const index_SelectTrigger: typeof SelectTrigger;
|
|
874
889
|
declare const index_SelectValue: typeof SelectValue;
|
|
875
890
|
declare const index_Separator: typeof Separator;
|
|
891
|
+
declare const index_Sheet: typeof Sheet;
|
|
892
|
+
declare const index_SheetClose: typeof SheetClose;
|
|
893
|
+
declare const index_SheetContent: typeof SheetContent;
|
|
894
|
+
declare const index_SheetDescription: typeof SheetDescription;
|
|
895
|
+
declare const index_SheetFooter: typeof SheetFooter;
|
|
896
|
+
declare const index_SheetHeader: typeof SheetHeader;
|
|
897
|
+
declare const index_SheetTitle: typeof SheetTitle;
|
|
898
|
+
declare const index_SheetTrigger: typeof SheetTrigger;
|
|
899
|
+
declare const index_Sidebar: typeof Sidebar;
|
|
900
|
+
declare const index_SidebarContent: typeof SidebarContent;
|
|
901
|
+
declare const index_SidebarFooter: typeof SidebarFooter;
|
|
902
|
+
declare const index_SidebarGroup: typeof SidebarGroup;
|
|
903
|
+
declare const index_SidebarGroupAction: typeof SidebarGroupAction;
|
|
904
|
+
declare const index_SidebarGroupContent: typeof SidebarGroupContent;
|
|
905
|
+
declare const index_SidebarGroupLabel: typeof SidebarGroupLabel;
|
|
906
|
+
declare const index_SidebarHeader: typeof SidebarHeader;
|
|
907
|
+
declare const index_SidebarInput: typeof SidebarInput;
|
|
908
|
+
declare const index_SidebarInset: typeof SidebarInset;
|
|
909
|
+
declare const index_SidebarLayout: typeof SidebarLayout;
|
|
910
|
+
declare const index_SidebarMenu: typeof SidebarMenu;
|
|
911
|
+
declare const index_SidebarMenuAction: typeof SidebarMenuAction;
|
|
912
|
+
declare const index_SidebarMenuBadge: typeof SidebarMenuBadge;
|
|
913
|
+
declare const index_SidebarMenuButton: typeof SidebarMenuButton;
|
|
914
|
+
declare const index_SidebarMenuItem: typeof SidebarMenuItem;
|
|
915
|
+
declare const index_SidebarMenuSkeleton: typeof SidebarMenuSkeleton;
|
|
916
|
+
declare const index_SidebarMenuSub: typeof SidebarMenuSub;
|
|
917
|
+
declare const index_SidebarMenuSubButton: typeof SidebarMenuSubButton;
|
|
918
|
+
declare const index_SidebarMenuSubItem: typeof SidebarMenuSubItem;
|
|
919
|
+
declare const index_SidebarProvider: typeof SidebarProvider;
|
|
920
|
+
declare const index_SidebarRail: typeof SidebarRail;
|
|
921
|
+
declare const index_SidebarSeparator: typeof SidebarSeparator;
|
|
922
|
+
declare const index_SidebarTrigger: typeof SidebarTrigger;
|
|
923
|
+
declare const index_Skeleton: typeof Skeleton;
|
|
876
924
|
declare const index_Spinner: typeof Spinner;
|
|
877
925
|
type index_SpinnerProps = SpinnerProps;
|
|
878
926
|
declare const index_Switch: typeof Switch;
|
|
@@ -886,17 +934,91 @@ declare const index_TableHead: typeof TableHead;
|
|
|
886
934
|
declare const index_TableHeader: typeof TableHeader;
|
|
887
935
|
declare const index_TableRow: typeof TableRow;
|
|
888
936
|
declare const index_Textarea: typeof Textarea;
|
|
889
|
-
declare const index_Tooltip: typeof Tooltip;
|
|
890
|
-
declare const index_TooltipContent: typeof TooltipContent;
|
|
891
|
-
declare const index_TooltipProvider: typeof TooltipProvider;
|
|
892
|
-
declare const index_TooltipTrigger: typeof TooltipTrigger;
|
|
893
937
|
declare const index_buttonVariants: typeof buttonVariants;
|
|
894
938
|
declare const index_spinnerVariants: typeof spinnerVariants;
|
|
895
939
|
declare const index_useFormField: typeof useFormField;
|
|
940
|
+
declare const index_useSidebar: typeof useSidebar;
|
|
896
941
|
declare namespace index {
|
|
897
|
-
export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, index_AccordionTrigger as AccordionTrigger, index_Button as Button, index_Checkbox as Checkbox, index_ClearButton as ClearButton, DatePicker$1 as DatePicker, index_Dialog as Dialog, index_DialogContent as DialogContent, index_DialogDescription as DialogDescription, index_DialogFooter as DialogFooter, index_DialogTitle as DialogTitle, index_DialogTrigger as DialogTrigger, index_Form as Form, index_FormControl as FormControl, index_FormDescription as FormDescription, index_FormField as FormField, index_FormItem as FormItem, index_FormLabel as FormLabel, index_FormMessage as FormMessage, index_InputPrimitive as InputPrimitive, type index_InputPrimitiveProps as InputPrimitiveProps, index_Label as Label, MonthPicker$1 as MonthPicker, type MonthPickerProps$1 as MonthPickerProps, index_Popover as Popover, index_PopoverAnchor as PopoverAnchor, index_PopoverArrow as PopoverArrow, index_PopoverContent as PopoverContent, index_PopoverTrigger as PopoverTrigger, index_RadioGroupItem as RadioGroupItem, index_RadioGroupRoot as RadioGroupRoot, index_RadioLabel as RadioLabel, index_RichText as RichText, index_Select as Select, index_SelectContent as SelectContent, index_SelectGroup as SelectGroup, index_SelectItem as SelectItem, index_SelectLabel as SelectLabel, index_SelectScrollDownButton as SelectScrollDownButton, index_SelectScrollUpButton as SelectScrollUpButton, index_SelectSeparator as SelectSeparator, index_SelectTrigger as SelectTrigger, index_SelectValue as SelectValue, index_Separator as Separator, index_Spinner as Spinner, type index_SpinnerProps as SpinnerProps, index_Switch as Switch, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableContainer as TableContainer, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow, index_Textarea as Textarea,
|
|
942
|
+
export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, index_AccordionTrigger as AccordionTrigger, index_Button as Button, index_Checkbox as Checkbox, index_ClearButton as ClearButton, index_Collapsible as Collapsible, index_CollapsibleContent as CollapsibleContent, index_CollapsibleTrigger as CollapsibleTrigger, DatePicker$1 as DatePicker, index_Dialog as Dialog, index_DialogContent as DialogContent, index_DialogDescription as DialogDescription, index_DialogFooter as DialogFooter, index_DialogTitle as DialogTitle, index_DialogTrigger as DialogTrigger, index_Form as Form, index_FormControl as FormControl, index_FormDescription as FormDescription, index_FormField as FormField, index_FormItem as FormItem, index_FormLabel as FormLabel, index_FormMessage as FormMessage, index_InputPrimitive as InputPrimitive, type index_InputPrimitiveProps as InputPrimitiveProps, index_Label as Label, MonthPicker$1 as MonthPicker, type MonthPickerProps$1 as MonthPickerProps, index_Popover as Popover, index_PopoverAnchor as PopoverAnchor, index_PopoverArrow as PopoverArrow, index_PopoverContent as PopoverContent, index_PopoverTrigger as PopoverTrigger, index_RadioGroupItem as RadioGroupItem, index_RadioGroupRoot as RadioGroupRoot, index_RadioLabel as RadioLabel, index_RichText as RichText, index_Select as Select, index_SelectContent as SelectContent, index_SelectGroup as SelectGroup, index_SelectItem as SelectItem, index_SelectLabel as SelectLabel, index_SelectScrollDownButton as SelectScrollDownButton, index_SelectScrollUpButton as SelectScrollUpButton, index_SelectSeparator as SelectSeparator, index_SelectTrigger as SelectTrigger, index_SelectValue as SelectValue, index_Separator as Separator, index_Sheet as Sheet, index_SheetClose as SheetClose, index_SheetContent as SheetContent, index_SheetDescription as SheetDescription, index_SheetFooter as SheetFooter, index_SheetHeader as SheetHeader, index_SheetTitle as SheetTitle, index_SheetTrigger as SheetTrigger, index_Sidebar as Sidebar, index_SidebarContent as SidebarContent, index_SidebarFooter as SidebarFooter, index_SidebarGroup as SidebarGroup, index_SidebarGroupAction as SidebarGroupAction, index_SidebarGroupContent as SidebarGroupContent, index_SidebarGroupLabel as SidebarGroupLabel, index_SidebarHeader as SidebarHeader, index_SidebarInput as SidebarInput, index_SidebarInset as SidebarInset, index_SidebarLayout as SidebarLayout, index_SidebarMenu as SidebarMenu, index_SidebarMenuAction as SidebarMenuAction, index_SidebarMenuBadge as SidebarMenuBadge, index_SidebarMenuButton as SidebarMenuButton, index_SidebarMenuItem as SidebarMenuItem, index_SidebarMenuSkeleton as SidebarMenuSkeleton, index_SidebarMenuSub as SidebarMenuSub, index_SidebarMenuSubButton as SidebarMenuSubButton, index_SidebarMenuSubItem as SidebarMenuSubItem, index_SidebarProvider as SidebarProvider, index_SidebarRail as SidebarRail, index_SidebarSeparator as SidebarSeparator, index_SidebarTrigger as SidebarTrigger, index_Skeleton as Skeleton, index_Spinner as Spinner, type index_SpinnerProps as SpinnerProps, index_Switch as Switch, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableContainer as TableContainer, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow, index_Textarea as Textarea, Tooltip$1 as Tooltip, TooltipContent$1 as TooltipContent, TooltipProvider$1 as TooltipProvider, TooltipTrigger$1 as TooltipTrigger, index_buttonVariants as buttonVariants, index_spinnerVariants as spinnerVariants, index_useFormField as useFormField, index_useSidebar as useSidebar };
|
|
898
943
|
}
|
|
899
944
|
|
|
945
|
+
type SidebarContextProps = {
|
|
946
|
+
state: "expanded" | "collapsed";
|
|
947
|
+
open: boolean;
|
|
948
|
+
setOpen: (open: boolean) => void;
|
|
949
|
+
openMobile: boolean;
|
|
950
|
+
setOpenMobile: (open: boolean) => void;
|
|
951
|
+
isMobile: boolean;
|
|
952
|
+
toggleSidebar: () => void;
|
|
953
|
+
};
|
|
954
|
+
declare function useSidebar(): SidebarContextProps;
|
|
955
|
+
declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
956
|
+
defaultOpen?: boolean;
|
|
957
|
+
open?: boolean;
|
|
958
|
+
onOpenChange?: (open: boolean) => void;
|
|
959
|
+
}): react_jsx_runtime.JSX.Element;
|
|
960
|
+
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React$1.ComponentProps<"div"> & {
|
|
961
|
+
side?: "left" | "right";
|
|
962
|
+
variant?: "sidebar" | "floating" | "inset";
|
|
963
|
+
collapsible?: "offcanvas" | "icon" | "none";
|
|
964
|
+
}): react_jsx_runtime.JSX.Element;
|
|
965
|
+
declare function SidebarTrigger({ className, onClick, ...props }: React$1.ComponentProps<typeof Button>): react_jsx_runtime.JSX.Element;
|
|
966
|
+
declare function SidebarRail({ className, ...props }: React$1.ComponentProps<"button">): react_jsx_runtime.JSX.Element;
|
|
967
|
+
declare function SidebarInset({ className, ...props }: React$1.ComponentProps<"main">): react_jsx_runtime.JSX.Element;
|
|
968
|
+
declare function SidebarInput({ className, ...props }: React$1.ComponentProps<typeof InputPrimitive>): react_jsx_runtime.JSX.Element;
|
|
969
|
+
declare function SidebarHeader({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
970
|
+
declare function SidebarFooter({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
971
|
+
declare function SidebarSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
972
|
+
declare function SidebarContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
973
|
+
declare function SidebarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
974
|
+
declare function SidebarGroupLabel({ className, asChild, ...props }: React$1.ComponentProps<"div"> & {
|
|
975
|
+
asChild?: boolean;
|
|
976
|
+
}): react_jsx_runtime.JSX.Element;
|
|
977
|
+
declare function SidebarGroupAction({ className, asChild, ...props }: React$1.ComponentProps<"button"> & {
|
|
978
|
+
asChild?: boolean;
|
|
979
|
+
}): react_jsx_runtime.JSX.Element;
|
|
980
|
+
declare function SidebarGroupContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
981
|
+
declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
982
|
+
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
983
|
+
declare const sidebarMenuButtonVariants: (props?: ({
|
|
984
|
+
variant?: "default" | "outline" | null | undefined;
|
|
985
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
986
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
987
|
+
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
|
|
988
|
+
asChild?: boolean;
|
|
989
|
+
isActive?: boolean;
|
|
990
|
+
tooltip?: string | React$1.ComponentProps<typeof TooltipContent$1>;
|
|
991
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime.JSX.Element;
|
|
992
|
+
declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React$1.ComponentProps<"button"> & {
|
|
993
|
+
asChild?: boolean;
|
|
994
|
+
showOnHover?: boolean;
|
|
995
|
+
}): react_jsx_runtime.JSX.Element;
|
|
996
|
+
declare function SidebarMenuBadge({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
997
|
+
declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React$1.ComponentProps<"div"> & {
|
|
998
|
+
showIcon?: boolean;
|
|
999
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1000
|
+
declare function SidebarMenuSub({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
1001
|
+
declare function SidebarMenuSubItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
1002
|
+
declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React$1.ComponentProps<"a"> & {
|
|
1003
|
+
asChild?: boolean;
|
|
1004
|
+
size?: "sm" | "md";
|
|
1005
|
+
isActive?: boolean;
|
|
1006
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1007
|
+
type SidebarLayoutProps = Omit<React$1.ComponentProps<typeof SidebarProvider>, "children"> & {
|
|
1008
|
+
sidebar: React$1.ReactNode;
|
|
1009
|
+
children?: React$1.ReactNode;
|
|
1010
|
+
layoutProps?: React$1.HTMLAttributes<HTMLDivElement>;
|
|
1011
|
+
sidebarProps?: Omit<React$1.ComponentProps<typeof Sidebar>, "children">;
|
|
1012
|
+
insetProps?: Omit<React$1.ComponentProps<typeof SidebarInset>, "children">;
|
|
1013
|
+
};
|
|
1014
|
+
declare function SidebarLayout({ sidebar, children, layoutProps, sidebarProps, insetProps, ...providerProps }: SidebarLayoutProps): react_jsx_runtime.JSX.Element;
|
|
1015
|
+
|
|
1016
|
+
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
1017
|
+
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1018
|
+
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
1019
|
+
declare function TooltipArrow(props: React$1.ComponentProps<typeof TooltipPrimitive.Arrow>): react_jsx_runtime.JSX.Element;
|
|
1020
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Content>): react_jsx_runtime.JSX.Element;
|
|
1021
|
+
|
|
900
1022
|
declare function isDefined(value: any): boolean;
|
|
901
1023
|
declare function isEmptyObject(value: any): boolean;
|
|
902
1024
|
type DebounceOptions = {
|
|
@@ -994,4 +1116,4 @@ type UseTruncatedOptions<T> = {
|
|
|
994
1116
|
type UseTruncatedResult = boolean;
|
|
995
1117
|
declare const useTruncated: <T extends HTMLElement = any>({ elementRef, onChange, resizeDetectDelay }: UseTruncatedOptions<T>) => UseTruncatedResult;
|
|
996
1118
|
|
|
997
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvanceSearch, ArrowIcon, type Breakpoints, Button, Checkbox, type Column,
|
|
1119
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvanceSearch, ArrowIcon, type Breakpoints, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, Dialog, DialogAlert, type DialogAlertProps, DialogContent, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type FieldSchema, type FieldType, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HeaderCell, type HeaderCellProps, Input, type InputProps, Label, List, ListContainer, type ListContainerProps, ListHeader, type ListHeaderProps, type ListProps, ListTable, type ListTableProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type Params, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PreventPageLeave, RadioGroupItem, RadioGroupRoot, RadioLabel, RichText, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, type StatusContentKey, SuiCalendarIcon, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, Textarea, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, index as UI, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, booleanToSelectValue, buttonVariants, cn, compareAlphanumeric, debounce, inputVariants, isDefined, isEmptyObject, selectValueToBoolean, stripNullishObject, throttle, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useScreenSize, useSidebar, useTruncated };
|