@umami/react-zen 1.0.5 → 1.0.7
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 +38 -24
- package/dist/index.d.ts +38 -24
- package/dist/index.js +172 -78
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +173 -76
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/styles.css +1 -1
- package/styles.full.css +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -82,7 +82,7 @@ type Display = 'none' | 'inline' | 'inline-block' | 'block';
|
|
|
82
82
|
type Cursor = 'auto' | 'default' | 'pointer' | 'wait' | 'text' | 'move' | 'help' | 'not-allowed' | 'none' | 'grab' | 'grabbing';
|
|
83
83
|
type Border = true | 'top' | 'right' | 'bottom' | 'left' | 'none';
|
|
84
84
|
type BorderWidth = 'sm' | 'md' | 'lg' | 'xl';
|
|
85
|
-
type BorderRadius = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' | true;
|
|
85
|
+
type BorderRadius = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | 'full' | true;
|
|
86
86
|
type BoxShadow = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'inner' | true;
|
|
87
87
|
type FontSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl';
|
|
88
88
|
type HeadingSize = 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl';
|
|
@@ -406,9 +406,34 @@ type DataTableSorting = {
|
|
|
406
406
|
id: string;
|
|
407
407
|
desc: boolean;
|
|
408
408
|
}[];
|
|
409
|
+
/** What `renderCard` gets about the row besides its data. */
|
|
410
|
+
interface DataTableCardContext {
|
|
411
|
+
/** The row's id (see `getRowId`). */
|
|
412
|
+
id: string;
|
|
413
|
+
/** The row's index in `data`. */
|
|
414
|
+
index: number;
|
|
415
|
+
isSelected: boolean;
|
|
416
|
+
/** Selects or deselects the row; without an argument, flips it. */
|
|
417
|
+
toggleSelected: (selected?: boolean) => void;
|
|
418
|
+
/** Each visible column's rendered cell, by column id. */
|
|
419
|
+
cells: Record<string, ReactNode>;
|
|
420
|
+
}
|
|
409
421
|
interface DataTableProps<TData extends RowData = any> extends ComponentProps<typeof Table> {
|
|
410
422
|
data?: TData[];
|
|
411
423
|
displayMode?: 'table' | 'cards';
|
|
424
|
+
/**
|
|
425
|
+
* In card mode, lays the cards out in as many columns as fit, each at least this wide
|
|
426
|
+
* (e.g. `'360px'`). Without it, cards stack in a single column.
|
|
427
|
+
*/
|
|
428
|
+
cardMinWidth?: string;
|
|
429
|
+
/**
|
|
430
|
+
* In card mode, renders each row's card in place of the default label/value card. Sorting,
|
|
431
|
+
* filtering, pagination and selection still apply; no checkbox is added, so use `isSelected` and
|
|
432
|
+
* `toggleSelected` from the context.
|
|
433
|
+
*/
|
|
434
|
+
renderCard?: (row: TData, context: DataTableCardContext) => ReactNode;
|
|
435
|
+
/** In card mode, renders a placeholder card while `loading` (default: a placeholder label/value card). */
|
|
436
|
+
renderCardSkeleton?: (index: number) => ReactNode;
|
|
412
437
|
/** Returns a row's unique id. Defaults to the row's `id` property, or its index without one. */
|
|
413
438
|
getRowId?: (row: TData, index: number) => string;
|
|
414
439
|
/** Adds a checkbox column for selecting rows. */
|
|
@@ -437,6 +462,10 @@ interface DataTableProps<TData extends RowData = any> extends ComponentProps<typ
|
|
|
437
462
|
onPageIndexChange?: (pageIndex: number) => void;
|
|
438
463
|
/** Shown when there are no rows to display (default: "No results."). */
|
|
439
464
|
emptyState?: ReactNode;
|
|
465
|
+
/** Shows placeholder rows in place of the data, keeping the headers and column layout. */
|
|
466
|
+
loading?: boolean;
|
|
467
|
+
/** Number of placeholder rows while `loading` (default: `pageSize`, or 5). */
|
|
468
|
+
loadingRows?: number;
|
|
440
469
|
}
|
|
441
470
|
interface DataColumnProps<TData = any> extends Omit<HTMLAttributes<HTMLTableCellElement>, 'children'> {
|
|
442
471
|
id: string;
|
|
@@ -455,7 +484,7 @@ interface DataColumnProps<TData = any> extends Omit<HTMLAttributes<HTMLTableCell
|
|
|
455
484
|
}
|
|
456
485
|
/** Declares a column of a DataTable. Renders nothing on its own. */
|
|
457
486
|
declare function DataColumn<TData = any>(_props: DataColumnProps<TData>): null;
|
|
458
|
-
declare function DataTable<TData extends RowData = any>({ data, displayMode, getRowId, selectionMode, selectedRows: selectedRowsProp, defaultSelectedRows, onSelectedRowsChange, sorting: sortingProp, defaultSorting, onSortingChange, filter, pageSize, pageIndex: pageIndexProp, defaultPageIndex, onPageIndexChange, emptyState, className, children, ...props }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
487
|
+
declare function DataTable<TData extends RowData = any>({ data, displayMode, cardMinWidth, renderCard, renderCardSkeleton, getRowId, selectionMode, selectedRows: selectedRowsProp, defaultSelectedRows, onSelectedRowsChange, sorting: sortingProp, defaultSorting, onSortingChange, filter, pageSize, pageIndex: pageIndexProp, defaultPageIndex, onPageIndexChange, emptyState, loading, loadingRows, className, children, ...props }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
459
488
|
|
|
460
489
|
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
461
490
|
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
@@ -824,27 +853,6 @@ interface NumberFieldProps extends NumberField$1.Root.Props {
|
|
|
824
853
|
}
|
|
825
854
|
declare const NumberField: React$1.ForwardRefExoticComponent<Omit<NumberFieldProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
826
855
|
|
|
827
|
-
interface RowProps extends FlexboxProps {
|
|
828
|
-
children?: ReactNode;
|
|
829
|
-
reverse?: boolean;
|
|
830
|
-
}
|
|
831
|
-
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
832
|
-
|
|
833
|
-
interface PageHeaderProps extends RowProps {
|
|
834
|
-
children?: ReactNode;
|
|
835
|
-
}
|
|
836
|
-
declare function PageHeader({ children, ...props }: PageHeaderProps): react_jsx_runtime.JSX.Element;
|
|
837
|
-
interface PageHeaderTitleProps extends Omit<ColumnProps, 'title'> {
|
|
838
|
-
title: ReactNode;
|
|
839
|
-
description?: ReactNode;
|
|
840
|
-
breadcrumb?: ReactNode;
|
|
841
|
-
}
|
|
842
|
-
declare function PageHeaderTitle({ title, description, breadcrumb, children, ...props }: PageHeaderTitleProps): react_jsx_runtime.JSX.Element;
|
|
843
|
-
interface PageHeaderActionsProps extends RowProps {
|
|
844
|
-
children?: ReactNode;
|
|
845
|
-
}
|
|
846
|
-
declare function PageHeaderActions({ children, ...props }: PageHeaderActionsProps): react_jsx_runtime.JSX.Element;
|
|
847
|
-
|
|
848
856
|
interface PasswordFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'children'> {
|
|
849
857
|
label?: ReactNode;
|
|
850
858
|
/** Controls whether the value is visible. Leave undefined for uncontrolled behavior. */
|
|
@@ -861,6 +869,12 @@ interface ProgressCircleProps extends ProgressRoot.Props {
|
|
|
861
869
|
}
|
|
862
870
|
declare function ProgressCircle({ className, showPercentage, value, min, max, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
863
871
|
|
|
872
|
+
interface RowProps extends FlexboxProps {
|
|
873
|
+
children?: ReactNode;
|
|
874
|
+
reverse?: boolean;
|
|
875
|
+
}
|
|
876
|
+
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
877
|
+
|
|
864
878
|
interface SearchFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'onSearch' | 'children'> {
|
|
865
879
|
label?: ReactNode;
|
|
866
880
|
/** Debounce delay in milliseconds for `onSearch`. */
|
|
@@ -1535,4 +1549,4 @@ interface ZenProviderProps {
|
|
|
1535
1549
|
}
|
|
1536
1550
|
declare function ZenProvider({ children, theme, colorScheme, palette, toast, tooltip, }: ZenProviderProps): react_jsx_runtime.JSX.Element;
|
|
1537
1551
|
|
|
1538
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AlignContent, type AlignItems, type AlignSelf, AspectRatio, Autocomplete, type AutocompleteProps, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, type BackgroundColor, type BackgroundColorToken, Badge, Blockquote, type BlockquoteProps, type Border, type BorderColor, type BorderColorToken, type BorderRadius, type BorderWidth, type Bottom, Box, type BoxProps, type BoxRenderProps, type BoxShadow, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type Breakpoint$1 as Breakpoint, type BreakpointKey, Breakpoints, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxGroup, type CheckboxGroupProps, Code, CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockTitle, type CodeProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorName, type ColorShade, Column, type ColumnProps, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, type Cursor, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, type DataTableSelectionMode, type DataTableSorting, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type Display, Dots, type DotsProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FillColor, type FlexDirection, type FlexDisplay, type FlexGrow, type FlexShrink, type FlexWrap, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, type FontColor, type FontSize, type FontWeight, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormFieldRenderProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, type FormSubmitButtonProps, type Fraction, type Gap, Grid, type GridAutoFlow, type GridColumns, type GridDisplay, type GridProps, type GridRows, type GridTemplateAreas, type GridTemplateColumns, type GridTemplateRows, Heading, type HeadingProps, type HeadingSize, type Height, type HeightViewport, HoverCard, HoverCardContent, HoverCardTrigger, Icon, type IconProps, Image, type ImageProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, type JustifyContent, type JustifyItems, type JustifySelf, Kbd, KbdGroup, Label, type Left, type LetterSpacing, type LineHeight, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, type ListSeparatorProps, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, type Margin, type MaxHeight, type MaxWidth, type MaxWidthSpecial, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Meter, type MeterProps, type MinHeight, type MinWidth, Navbar, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, type NegativeSpacing, NumberField, type NumberFieldProps, type ObjectFit, type Opacity, type Overflow, PALETTES, type Padding,
|
|
1552
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AlignContent, type AlignItems, type AlignSelf, AspectRatio, Autocomplete, type AutocompleteProps, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, type BackgroundColor, type BackgroundColorToken, Badge, Blockquote, type BlockquoteProps, type Border, type BorderColor, type BorderColorToken, type BorderRadius, type BorderWidth, type Bottom, Box, type BoxProps, type BoxRenderProps, type BoxShadow, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type Breakpoint$1 as Breakpoint, type BreakpointKey, Breakpoints, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxGroup, type CheckboxGroupProps, Code, CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockTitle, type CodeProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorName, type ColorShade, Column, type ColumnProps, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, type Cursor, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableCardContext, type DataTableProps, type DataTableSelectionMode, type DataTableSorting, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type Display, Dots, type DotsProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FillColor, type FlexDirection, type FlexDisplay, type FlexGrow, type FlexShrink, type FlexWrap, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, type FontColor, type FontSize, type FontWeight, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormFieldRenderProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, type FormSubmitButtonProps, type Fraction, type Gap, Grid, type GridAutoFlow, type GridColumns, type GridDisplay, type GridProps, type GridRows, type GridTemplateAreas, type GridTemplateColumns, type GridTemplateRows, Heading, type HeadingProps, type HeadingSize, type Height, type HeightViewport, HoverCard, HoverCardContent, HoverCardTrigger, Icon, type IconProps, Image, type ImageProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, type JustifyContent, type JustifyItems, type JustifySelf, Kbd, KbdGroup, Label, type Left, type LetterSpacing, type LineHeight, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, type ListSeparatorProps, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, type Margin, type MaxHeight, type MaxWidth, type MaxWidthSpecial, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Meter, type MeterProps, type MinHeight, type MinWidth, Navbar, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, type NegativeSpacing, NumberField, type NumberFieldProps, type ObjectFit, type Opacity, type Overflow, PALETTES, type Padding, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type Palette, type PaletteColor, PasswordField, type PasswordFieldProps, type PointerEvents, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, type Position, type Primitive, Progress, ProgressCircle, type ProgressCircleProps, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, type RenderProp, ResizableHandle, ResizablePanel, ResizablePanelGroup, type Responsive$1 as Responsive, type Right, Row, type RowProps, ScrollArea, ScrollBar, SearchField, type SearchFieldProps, 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, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type SizingSpecial, Skeleton, Slider, type Spacing, Spinner, type SpinnerProps, type StateStyles, type StatusColorToken, StatusLight, type StatusLightProps, type StatusLightVariant, type StrokeColor, type StrokeWidth, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TagGroup, type TagGroupProps, type TagProps, type TailwindColor, Text, type TextAlign, type TextColorToken, type TextDecorationStyle, TextField, type TextFieldProps, type TextIndent, type TextProps, type TextRenderProps, type TextTransform, type TextWrap, Textarea, type Theme, ThemeButton, type ThemeButtonProps, type ThemeMode, ThemeSwitcher, type ThemeSwitcherProps, Toast, ToastContext, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarGroup, type ToolbarGroupProps, ToolbarLink, type ToolbarLinkProps, type ToolbarProps, ToolbarSeparator, type ToolbarSeparatorProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type Top, type VerticalAlign, type Whitespace, type Width, type WidthViewport, type WordBreak, ZenProvider, type ZenProviderProps, badgeVariants, buttonGroupVariants, buttonVariants, getCssColorValue, isHeightPreset, isMaxHeightPreset, isMaxWidthPreset, isMinHeightPreset, isMinWidthPreset, isWidthPreset, mapAlignContent, mapAlignItems, mapAlignSelf, mapBackgroundColor, mapBorder, mapBorderColor, mapBorderRadius, mapBorderWidth, mapCursor, mapDecorationColor, mapDisplay, mapFlexDirection, mapFlexWrap, mapFontSize, mapFontWeight, mapGap, mapGridAutoFlow, mapGridColumns, mapGridRows, mapHeadingSize, mapHeight, mapJustifyContent, mapJustifyItems, mapLetterSpacing, mapLineHeight, mapMargin, mapMaxHeight, mapMaxWidth, mapMinHeight, mapMinWidth, mapOpacity, mapOverflow, mapPadding, mapPointerEvents, mapPosition, mapShadow, mapSpace, mapStateStyles, mapTextAlign, mapTextColor, mapTextDecorationStyle, mapTextIndent, mapTextTransform, mapTextWrap, mapVerticalAlign, mapWhitespace, mapWidth, mapWordBreak, removeToast, resolveRender, tabsListVariants, toggleVariants, useBreakpoint, useCarousel, useComboboxAnchor, useDebounce, useHighlightedCode, useInitTheme, useIsMobile, useSidebar, useTheme, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ type Display = 'none' | 'inline' | 'inline-block' | 'block';
|
|
|
82
82
|
type Cursor = 'auto' | 'default' | 'pointer' | 'wait' | 'text' | 'move' | 'help' | 'not-allowed' | 'none' | 'grab' | 'grabbing';
|
|
83
83
|
type Border = true | 'top' | 'right' | 'bottom' | 'left' | 'none';
|
|
84
84
|
type BorderWidth = 'sm' | 'md' | 'lg' | 'xl';
|
|
85
|
-
type BorderRadius = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' | true;
|
|
85
|
+
type BorderRadius = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | 'full' | true;
|
|
86
86
|
type BoxShadow = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'inner' | true;
|
|
87
87
|
type FontSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl';
|
|
88
88
|
type HeadingSize = 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl';
|
|
@@ -406,9 +406,34 @@ type DataTableSorting = {
|
|
|
406
406
|
id: string;
|
|
407
407
|
desc: boolean;
|
|
408
408
|
}[];
|
|
409
|
+
/** What `renderCard` gets about the row besides its data. */
|
|
410
|
+
interface DataTableCardContext {
|
|
411
|
+
/** The row's id (see `getRowId`). */
|
|
412
|
+
id: string;
|
|
413
|
+
/** The row's index in `data`. */
|
|
414
|
+
index: number;
|
|
415
|
+
isSelected: boolean;
|
|
416
|
+
/** Selects or deselects the row; without an argument, flips it. */
|
|
417
|
+
toggleSelected: (selected?: boolean) => void;
|
|
418
|
+
/** Each visible column's rendered cell, by column id. */
|
|
419
|
+
cells: Record<string, ReactNode>;
|
|
420
|
+
}
|
|
409
421
|
interface DataTableProps<TData extends RowData = any> extends ComponentProps<typeof Table> {
|
|
410
422
|
data?: TData[];
|
|
411
423
|
displayMode?: 'table' | 'cards';
|
|
424
|
+
/**
|
|
425
|
+
* In card mode, lays the cards out in as many columns as fit, each at least this wide
|
|
426
|
+
* (e.g. `'360px'`). Without it, cards stack in a single column.
|
|
427
|
+
*/
|
|
428
|
+
cardMinWidth?: string;
|
|
429
|
+
/**
|
|
430
|
+
* In card mode, renders each row's card in place of the default label/value card. Sorting,
|
|
431
|
+
* filtering, pagination and selection still apply; no checkbox is added, so use `isSelected` and
|
|
432
|
+
* `toggleSelected` from the context.
|
|
433
|
+
*/
|
|
434
|
+
renderCard?: (row: TData, context: DataTableCardContext) => ReactNode;
|
|
435
|
+
/** In card mode, renders a placeholder card while `loading` (default: a placeholder label/value card). */
|
|
436
|
+
renderCardSkeleton?: (index: number) => ReactNode;
|
|
412
437
|
/** Returns a row's unique id. Defaults to the row's `id` property, or its index without one. */
|
|
413
438
|
getRowId?: (row: TData, index: number) => string;
|
|
414
439
|
/** Adds a checkbox column for selecting rows. */
|
|
@@ -437,6 +462,10 @@ interface DataTableProps<TData extends RowData = any> extends ComponentProps<typ
|
|
|
437
462
|
onPageIndexChange?: (pageIndex: number) => void;
|
|
438
463
|
/** Shown when there are no rows to display (default: "No results."). */
|
|
439
464
|
emptyState?: ReactNode;
|
|
465
|
+
/** Shows placeholder rows in place of the data, keeping the headers and column layout. */
|
|
466
|
+
loading?: boolean;
|
|
467
|
+
/** Number of placeholder rows while `loading` (default: `pageSize`, or 5). */
|
|
468
|
+
loadingRows?: number;
|
|
440
469
|
}
|
|
441
470
|
interface DataColumnProps<TData = any> extends Omit<HTMLAttributes<HTMLTableCellElement>, 'children'> {
|
|
442
471
|
id: string;
|
|
@@ -455,7 +484,7 @@ interface DataColumnProps<TData = any> extends Omit<HTMLAttributes<HTMLTableCell
|
|
|
455
484
|
}
|
|
456
485
|
/** Declares a column of a DataTable. Renders nothing on its own. */
|
|
457
486
|
declare function DataColumn<TData = any>(_props: DataColumnProps<TData>): null;
|
|
458
|
-
declare function DataTable<TData extends RowData = any>({ data, displayMode, getRowId, selectionMode, selectedRows: selectedRowsProp, defaultSelectedRows, onSelectedRowsChange, sorting: sortingProp, defaultSorting, onSortingChange, filter, pageSize, pageIndex: pageIndexProp, defaultPageIndex, onPageIndexChange, emptyState, className, children, ...props }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
487
|
+
declare function DataTable<TData extends RowData = any>({ data, displayMode, cardMinWidth, renderCard, renderCardSkeleton, getRowId, selectionMode, selectedRows: selectedRowsProp, defaultSelectedRows, onSelectedRowsChange, sorting: sortingProp, defaultSorting, onSortingChange, filter, pageSize, pageIndex: pageIndexProp, defaultPageIndex, onPageIndexChange, emptyState, loading, loadingRows, className, children, ...props }: DataTableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
459
488
|
|
|
460
489
|
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
461
490
|
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
@@ -824,27 +853,6 @@ interface NumberFieldProps extends NumberField$1.Root.Props {
|
|
|
824
853
|
}
|
|
825
854
|
declare const NumberField: React$1.ForwardRefExoticComponent<Omit<NumberFieldProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
826
855
|
|
|
827
|
-
interface RowProps extends FlexboxProps {
|
|
828
|
-
children?: ReactNode;
|
|
829
|
-
reverse?: boolean;
|
|
830
|
-
}
|
|
831
|
-
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
832
|
-
|
|
833
|
-
interface PageHeaderProps extends RowProps {
|
|
834
|
-
children?: ReactNode;
|
|
835
|
-
}
|
|
836
|
-
declare function PageHeader({ children, ...props }: PageHeaderProps): react_jsx_runtime.JSX.Element;
|
|
837
|
-
interface PageHeaderTitleProps extends Omit<ColumnProps, 'title'> {
|
|
838
|
-
title: ReactNode;
|
|
839
|
-
description?: ReactNode;
|
|
840
|
-
breadcrumb?: ReactNode;
|
|
841
|
-
}
|
|
842
|
-
declare function PageHeaderTitle({ title, description, breadcrumb, children, ...props }: PageHeaderTitleProps): react_jsx_runtime.JSX.Element;
|
|
843
|
-
interface PageHeaderActionsProps extends RowProps {
|
|
844
|
-
children?: ReactNode;
|
|
845
|
-
}
|
|
846
|
-
declare function PageHeaderActions({ children, ...props }: PageHeaderActionsProps): react_jsx_runtime.JSX.Element;
|
|
847
|
-
|
|
848
856
|
interface PasswordFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'children'> {
|
|
849
857
|
label?: ReactNode;
|
|
850
858
|
/** Controls whether the value is visible. Leave undefined for uncontrolled behavior. */
|
|
@@ -861,6 +869,12 @@ interface ProgressCircleProps extends ProgressRoot.Props {
|
|
|
861
869
|
}
|
|
862
870
|
declare function ProgressCircle({ className, showPercentage, value, min, max, ...props }: ProgressCircleProps): react_jsx_runtime.JSX.Element;
|
|
863
871
|
|
|
872
|
+
interface RowProps extends FlexboxProps {
|
|
873
|
+
children?: ReactNode;
|
|
874
|
+
reverse?: boolean;
|
|
875
|
+
}
|
|
876
|
+
declare function Row({ reverse, children, ...props }: RowProps): react_jsx_runtime.JSX.Element;
|
|
877
|
+
|
|
864
878
|
interface SearchFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'onSearch' | 'children'> {
|
|
865
879
|
label?: ReactNode;
|
|
866
880
|
/** Debounce delay in milliseconds for `onSearch`. */
|
|
@@ -1535,4 +1549,4 @@ interface ZenProviderProps {
|
|
|
1535
1549
|
}
|
|
1536
1550
|
declare function ZenProvider({ children, theme, colorScheme, palette, toast, tooltip, }: ZenProviderProps): react_jsx_runtime.JSX.Element;
|
|
1537
1551
|
|
|
1538
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AlignContent, type AlignItems, type AlignSelf, AspectRatio, Autocomplete, type AutocompleteProps, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, type BackgroundColor, type BackgroundColorToken, Badge, Blockquote, type BlockquoteProps, type Border, type BorderColor, type BorderColorToken, type BorderRadius, type BorderWidth, type Bottom, Box, type BoxProps, type BoxRenderProps, type BoxShadow, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type Breakpoint$1 as Breakpoint, type BreakpointKey, Breakpoints, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxGroup, type CheckboxGroupProps, Code, CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockTitle, type CodeProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorName, type ColorShade, Column, type ColumnProps, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, type Cursor, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableProps, type DataTableSelectionMode, type DataTableSorting, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type Display, Dots, type DotsProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FillColor, type FlexDirection, type FlexDisplay, type FlexGrow, type FlexShrink, type FlexWrap, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, type FontColor, type FontSize, type FontWeight, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormFieldRenderProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, type FormSubmitButtonProps, type Fraction, type Gap, Grid, type GridAutoFlow, type GridColumns, type GridDisplay, type GridProps, type GridRows, type GridTemplateAreas, type GridTemplateColumns, type GridTemplateRows, Heading, type HeadingProps, type HeadingSize, type Height, type HeightViewport, HoverCard, HoverCardContent, HoverCardTrigger, Icon, type IconProps, Image, type ImageProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, type JustifyContent, type JustifyItems, type JustifySelf, Kbd, KbdGroup, Label, type Left, type LetterSpacing, type LineHeight, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, type ListSeparatorProps, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, type Margin, type MaxHeight, type MaxWidth, type MaxWidthSpecial, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Meter, type MeterProps, type MinHeight, type MinWidth, Navbar, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, type NegativeSpacing, NumberField, type NumberFieldProps, type ObjectFit, type Opacity, type Overflow, PALETTES, type Padding,
|
|
1552
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, type AlignContent, type AlignItems, type AlignSelf, AspectRatio, Autocomplete, type AutocompleteProps, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, type BackgroundColor, type BackgroundColorToken, Badge, Blockquote, type BlockquoteProps, type Border, type BorderColor, type BorderColorToken, type BorderRadius, type BorderWidth, type Bottom, Box, type BoxProps, type BoxRenderProps, type BoxShadow, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type Breakpoint$1 as Breakpoint, type BreakpointKey, Breakpoints, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxGroup, type CheckboxGroupProps, Code, CodeBlock, CodeBlockActions, CodeBlockContent, CodeBlockCopyButton, CodeBlockFooter, CodeBlockHeader, CodeBlockLine, CodeBlockTitle, type CodeProps, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColorName, type ColorShade, Column, type ColumnProps, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmationDialog, type ConfirmationDialogProps, Container, type ContainerProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CopyButton, type CopyButtonProps, type Cursor, DataCard, type DataCardProps, DataColumn, type DataColumnProps, DataTable, type DataTableCardContext, type DataTableProps, type DataTableSelectionMode, type DataTableSorting, DatePicker, type DatePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, type Display, Dots, type DotsProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerSwipeHandle, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FillColor, type FlexDirection, type FlexDisplay, type FlexGrow, type FlexShrink, type FlexWrap, Flexbox, type FlexboxProps, FloatingTooltip, type FloatingTooltipProps, type FontColor, type FontSize, type FontWeight, Form, FormButtons, type FormButtonsProps, FormController, type FormControllerProps, FormField, FormFieldArray, type FormFieldArrayProps, type FormFieldProps, type FormFieldRenderProps, type FormProps, FormResetButton, type FormResetButtonProps, FormSubmitButton, type FormSubmitButtonProps, type Fraction, type Gap, Grid, type GridAutoFlow, type GridColumns, type GridDisplay, type GridProps, type GridRows, type GridTemplateAreas, type GridTemplateColumns, type GridTemplateRows, Heading, type HeadingProps, type HeadingSize, type Height, type HeightViewport, HoverCard, HoverCardContent, HoverCardTrigger, Icon, type IconProps, Image, type ImageProps, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, type JustifyContent, type JustifyItems, type JustifySelf, Kbd, KbdGroup, Label, type Left, type LetterSpacing, type LineHeight, List, ListItem, type ListItemProps, type ListProps, ListSection, type ListSectionProps, ListSeparator, type ListSeparatorProps, Loading, LoadingButton, type LoadingButtonProps, type LoadingProps, type Margin, type MaxHeight, type MaxWidth, type MaxWidthSpecial, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Meter, type MeterProps, type MinHeight, type MinWidth, Navbar, NavbarItem, type NavbarItemProps, NavbarLink, type NavbarLinkProps, type NavbarProps, type NegativeSpacing, NumberField, type NumberFieldProps, type ObjectFit, type Opacity, type Overflow, PALETTES, type Padding, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type Palette, type PaletteColor, PasswordField, type PasswordFieldProps, type PointerEvents, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, type Position, type Primitive, Progress, ProgressCircle, type ProgressCircleProps, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, type RenderProp, ResizableHandle, ResizablePanel, ResizablePanelGroup, type Responsive$1 as Responsive, type Right, Row, type RowProps, ScrollArea, ScrollBar, SearchField, type SearchFieldProps, 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, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, type SizingSpecial, Skeleton, Slider, type Spacing, Spinner, type SpinnerProps, type StateStyles, type StatusColorToken, StatusLight, type StatusLightProps, type StatusLightVariant, type StrokeColor, type StrokeWidth, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TagGroup, type TagGroupProps, type TagProps, type TailwindColor, Text, type TextAlign, type TextColorToken, type TextDecorationStyle, TextField, type TextFieldProps, type TextIndent, type TextProps, type TextRenderProps, type TextTransform, type TextWrap, Textarea, type Theme, ThemeButton, type ThemeButtonProps, type ThemeMode, ThemeSwitcher, type ThemeSwitcherProps, Toast, ToastContext, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastProviderProps, type ToastState, type ToastVariant, Toaster, type ToasterProps, Toggle, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarGroup, type ToolbarGroupProps, ToolbarLink, type ToolbarLinkProps, type ToolbarProps, ToolbarSeparator, type ToolbarSeparatorProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type Top, type VerticalAlign, type Whitespace, type Width, type WidthViewport, type WordBreak, ZenProvider, type ZenProviderProps, badgeVariants, buttonGroupVariants, buttonVariants, getCssColorValue, isHeightPreset, isMaxHeightPreset, isMaxWidthPreset, isMinHeightPreset, isMinWidthPreset, isWidthPreset, mapAlignContent, mapAlignItems, mapAlignSelf, mapBackgroundColor, mapBorder, mapBorderColor, mapBorderRadius, mapBorderWidth, mapCursor, mapDecorationColor, mapDisplay, mapFlexDirection, mapFlexWrap, mapFontSize, mapFontWeight, mapGap, mapGridAutoFlow, mapGridColumns, mapGridRows, mapHeadingSize, mapHeight, mapJustifyContent, mapJustifyItems, mapLetterSpacing, mapLineHeight, mapMargin, mapMaxHeight, mapMaxWidth, mapMinHeight, mapMinWidth, mapOpacity, mapOverflow, mapPadding, mapPointerEvents, mapPosition, mapShadow, mapSpace, mapStateStyles, mapTextAlign, mapTextColor, mapTextDecorationStyle, mapTextIndent, mapTextTransform, mapTextWrap, mapVerticalAlign, mapWhitespace, mapWidth, mapWordBreak, removeToast, resolveRender, tabsListVariants, toggleVariants, useBreakpoint, useCarousel, useComboboxAnchor, useDebounce, useHighlightedCode, useInitTheme, useIsMobile, useSidebar, useTheme, useToast };
|
package/dist/index.js
CHANGED
|
@@ -1398,6 +1398,7 @@ var borderRadiusMap = {
|
|
|
1398
1398
|
xl: "rounded-xl",
|
|
1399
1399
|
"2xl": "rounded-2xl",
|
|
1400
1400
|
"3xl": "rounded-3xl",
|
|
1401
|
+
"4xl": "rounded-4xl",
|
|
1401
1402
|
full: "rounded-full",
|
|
1402
1403
|
true: "rounded-lg"
|
|
1403
1404
|
};
|
|
@@ -3453,6 +3454,16 @@ function Checkbox({ className, ...props }) {
|
|
|
3453
3454
|
}
|
|
3454
3455
|
);
|
|
3455
3456
|
}
|
|
3457
|
+
function Skeleton({ className, ...props }) {
|
|
3458
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3459
|
+
"div",
|
|
3460
|
+
{
|
|
3461
|
+
"data-slot": "skeleton",
|
|
3462
|
+
className: cn.cn("animate-pulse rounded-md bg-muted", className),
|
|
3463
|
+
...props
|
|
3464
|
+
}
|
|
3465
|
+
);
|
|
3466
|
+
}
|
|
3456
3467
|
function Table({ className, ...props }) {
|
|
3457
3468
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3458
3469
|
"div",
|
|
@@ -3574,7 +3585,12 @@ var features = reactTable.tableFeatures({
|
|
|
3574
3585
|
}
|
|
3575
3586
|
});
|
|
3576
3587
|
var SELECTION_COLUMN_WIDTH = "2.5rem";
|
|
3577
|
-
var ROW_CLASS = "grid [&>*:first-child]:pl-4";
|
|
3588
|
+
var ROW_CLASS = "grid [&>*:first-child]:pl-4 [&>*:last-child]:pr-4";
|
|
3589
|
+
var SKELETON_WIDTHS = [70, 50, 85, 60, 40, 75];
|
|
3590
|
+
var DEFAULT_LOADING_ROWS = 5;
|
|
3591
|
+
function skeletonWidth(rowIndex, columnIndex) {
|
|
3592
|
+
return `${SKELETON_WIDTHS[(rowIndex * 2 + columnIndex) % SKELETON_WIDTHS.length]}%`;
|
|
3593
|
+
}
|
|
3578
3594
|
var alignClasses = {
|
|
3579
3595
|
start: "justify-start text-left",
|
|
3580
3596
|
center: "justify-center text-center",
|
|
@@ -3611,6 +3627,9 @@ function renderCell(column, row, index) {
|
|
|
3611
3627
|
function DataTable({
|
|
3612
3628
|
data = [],
|
|
3613
3629
|
displayMode = "table",
|
|
3630
|
+
cardMinWidth,
|
|
3631
|
+
renderCard,
|
|
3632
|
+
renderCardSkeleton,
|
|
3614
3633
|
getRowId = defaultGetRowId,
|
|
3615
3634
|
selectionMode = "none",
|
|
3616
3635
|
selectedRows: selectedRowsProp,
|
|
@@ -3625,6 +3644,8 @@ function DataTable({
|
|
|
3625
3644
|
defaultPageIndex = 0,
|
|
3626
3645
|
onPageIndexChange,
|
|
3627
3646
|
emptyState = "No results.",
|
|
3647
|
+
loading = false,
|
|
3648
|
+
loadingRows,
|
|
3628
3649
|
className,
|
|
3629
3650
|
children,
|
|
3630
3651
|
...props
|
|
@@ -3680,10 +3701,15 @@ function DataTable({
|
|
|
3680
3701
|
});
|
|
3681
3702
|
const rows = (isPaginated ? table.getRowModel() : table.getPrePaginatedRowModel()).rows;
|
|
3682
3703
|
const pageCount = isPaginated ? table.getPageCount() : 1;
|
|
3683
|
-
const
|
|
3704
|
+
const skeletonRows = Array.from(
|
|
3705
|
+
{ length: Math.max(loadingRows ?? (isPaginated ? pageSize : DEFAULT_LOADING_ROWS), 0) },
|
|
3706
|
+
(_, index) => index
|
|
3707
|
+
);
|
|
3708
|
+
const pagination = !loading && isPaginated && pageCount > 1 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3684
3709
|
"div",
|
|
3685
3710
|
{
|
|
3686
3711
|
"data-slot": "data-table-pagination",
|
|
3712
|
+
style: { gridColumn: "1 / -1" },
|
|
3687
3713
|
className: "flex w-full items-center justify-between gap-4 py-3 text-sm text-muted-foreground",
|
|
3688
3714
|
children: [
|
|
3689
3715
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
@@ -3717,39 +3743,118 @@ function DataTable({
|
|
|
3717
3743
|
]
|
|
3718
3744
|
}
|
|
3719
3745
|
);
|
|
3720
|
-
const empty = /* @__PURE__ */ jsxRuntime.jsx(
|
|
3746
|
+
const empty = /* @__PURE__ */ jsxRuntime.jsx(
|
|
3747
|
+
"div",
|
|
3748
|
+
{
|
|
3749
|
+
"data-slot": "data-table-empty",
|
|
3750
|
+
style: { gridColumn: "1 / -1" },
|
|
3751
|
+
className: "py-10 text-center text-sm text-muted-foreground",
|
|
3752
|
+
children: emptyState
|
|
3753
|
+
}
|
|
3754
|
+
);
|
|
3721
3755
|
if (displayMode === "cards") {
|
|
3722
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
}))
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3756
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3757
|
+
Grid,
|
|
3758
|
+
{
|
|
3759
|
+
width: "100%",
|
|
3760
|
+
gap: "6",
|
|
3761
|
+
columns: cardMinWidth ? `repeat(auto-fill, minmax(min(${cardMinWidth}, 100%), 1fr))` : void 0,
|
|
3762
|
+
alignItems: cardMinWidth ? "start" : void 0,
|
|
3763
|
+
"data-slot": "data-table",
|
|
3764
|
+
"data-display-mode": "cards",
|
|
3765
|
+
"data-loading": loading || void 0,
|
|
3766
|
+
"aria-busy": loading || void 0,
|
|
3767
|
+
children: [
|
|
3768
|
+
loading ? skeletonRows.map(
|
|
3769
|
+
(rowIndex) => renderCardSkeleton ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3770
|
+
"div",
|
|
3733
3771
|
{
|
|
3734
|
-
"
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3772
|
+
"data-slot": "data-table-card",
|
|
3773
|
+
"data-skeleton": "",
|
|
3774
|
+
"aria-hidden": "true",
|
|
3775
|
+
className: "min-w-0",
|
|
3776
|
+
children: renderCardSkeleton(rowIndex)
|
|
3777
|
+
},
|
|
3778
|
+
rowIndex
|
|
3779
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
3780
|
+
DataCard,
|
|
3781
|
+
{
|
|
3782
|
+
"data-skeleton": "",
|
|
3783
|
+
"aria-hidden": "true",
|
|
3784
|
+
data: [
|
|
3785
|
+
...isSelectable ? [{ label: "", value: /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "size-4 rounded-[4px]" }) }] : [],
|
|
3786
|
+
...visibleColumns.map((column, columnIndex) => ({
|
|
3787
|
+
label: column.label,
|
|
3788
|
+
value: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3789
|
+
Skeleton,
|
|
3790
|
+
{
|
|
3791
|
+
className: "my-0.5 h-4",
|
|
3792
|
+
style: { width: skeletonWidth(rowIndex, columnIndex) }
|
|
3793
|
+
}
|
|
3794
|
+
)
|
|
3795
|
+
}))
|
|
3796
|
+
]
|
|
3797
|
+
},
|
|
3798
|
+
rowIndex
|
|
3738
3799
|
)
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3800
|
+
) : rows.length === 0 ? empty : rows.map((row) => {
|
|
3801
|
+
const original = row.original;
|
|
3802
|
+
const isSelected = row.getIsSelected();
|
|
3803
|
+
if (renderCard) {
|
|
3804
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3805
|
+
"div",
|
|
3806
|
+
{
|
|
3807
|
+
"data-slot": "data-table-card",
|
|
3808
|
+
"data-row-id": row.id,
|
|
3809
|
+
"data-state": isSelected ? "selected" : void 0,
|
|
3810
|
+
className: "min-w-0",
|
|
3811
|
+
children: renderCard(original, {
|
|
3812
|
+
id: row.id,
|
|
3813
|
+
index: row.index,
|
|
3814
|
+
isSelected,
|
|
3815
|
+
toggleSelected: (selected) => row.toggleSelected(selected),
|
|
3816
|
+
cells: Object.fromEntries(
|
|
3817
|
+
visibleColumns.map((column) => [
|
|
3818
|
+
column.id,
|
|
3819
|
+
renderCell(column, original, row.index)
|
|
3820
|
+
])
|
|
3821
|
+
)
|
|
3822
|
+
})
|
|
3823
|
+
},
|
|
3824
|
+
row.id
|
|
3825
|
+
);
|
|
3826
|
+
}
|
|
3827
|
+
const items = visibleColumns.map((column) => ({
|
|
3828
|
+
label: column.label,
|
|
3829
|
+
value: renderCell(column, original, row.index)
|
|
3830
|
+
}));
|
|
3831
|
+
if (isSelectable) {
|
|
3832
|
+
items.unshift({
|
|
3833
|
+
label: "",
|
|
3834
|
+
value: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3835
|
+
Checkbox,
|
|
3836
|
+
{
|
|
3837
|
+
"aria-label": "Select row",
|
|
3838
|
+
checked: isSelected,
|
|
3839
|
+
onCheckedChange: (checked) => row.toggleSelected(checked)
|
|
3840
|
+
}
|
|
3841
|
+
)
|
|
3842
|
+
});
|
|
3843
|
+
}
|
|
3844
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3845
|
+
DataCard,
|
|
3846
|
+
{
|
|
3847
|
+
"data-row-id": row.id,
|
|
3848
|
+
"data-state": isSelected ? "selected" : void 0,
|
|
3849
|
+
data: items
|
|
3850
|
+
},
|
|
3851
|
+
row.id
|
|
3852
|
+
);
|
|
3853
|
+
}),
|
|
3854
|
+
pagination
|
|
3855
|
+
]
|
|
3856
|
+
}
|
|
3857
|
+
);
|
|
3753
3858
|
}
|
|
3754
3859
|
const gridTemplateColumns = [
|
|
3755
3860
|
...isSelectable ? [SELECTION_COLUMN_WIDTH] : [],
|
|
@@ -3765,6 +3870,8 @@ function DataTable({
|
|
|
3765
3870
|
role: "table",
|
|
3766
3871
|
"data-slot": "data-table",
|
|
3767
3872
|
"data-selection-mode": isSelectable ? selectionMode : void 0,
|
|
3873
|
+
"data-loading": loading || void 0,
|
|
3874
|
+
"aria-busy": loading || void 0,
|
|
3768
3875
|
className: cn.cn(
|
|
3769
3876
|
"grid overflow-hidden rounded-lg border border-border bg-white dark:bg-black",
|
|
3770
3877
|
className
|
|
@@ -3783,6 +3890,7 @@ function DataTable({
|
|
|
3783
3890
|
"aria-label": "Select all rows",
|
|
3784
3891
|
checked: allSelected,
|
|
3785
3892
|
indeterminate: someSelected && !allSelected,
|
|
3893
|
+
disabled: loading,
|
|
3786
3894
|
onCheckedChange: (checked) => table.toggleAllRowsSelected(checked)
|
|
3787
3895
|
}
|
|
3788
3896
|
) }),
|
|
@@ -3822,7 +3930,38 @@ function DataTable({
|
|
|
3822
3930
|
]
|
|
3823
3931
|
}
|
|
3824
3932
|
) }),
|
|
3825
|
-
/* @__PURE__ */ jsxRuntime.jsx(TableBody, { role: "rowgroup", className: "contents", children:
|
|
3933
|
+
/* @__PURE__ */ jsxRuntime.jsx(TableBody, { role: "rowgroup", className: "contents", children: loading ? skeletonRows.map((rowIndex) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3934
|
+
TableRow,
|
|
3935
|
+
{
|
|
3936
|
+
role: "row",
|
|
3937
|
+
"aria-hidden": "true",
|
|
3938
|
+
"data-skeleton": "",
|
|
3939
|
+
className: cn.cn(ROW_CLASS, "hover:bg-transparent"),
|
|
3940
|
+
style: rowStyle,
|
|
3941
|
+
children: [
|
|
3942
|
+
isSelectable && /* @__PURE__ */ jsxRuntime.jsx(TableCell, { role: "cell", className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsx(Skeleton, { className: "size-4 rounded-[4px]" }) }),
|
|
3943
|
+
visibleColumns.map((column, columnIndex) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3944
|
+
TableCell,
|
|
3945
|
+
{
|
|
3946
|
+
role: "cell",
|
|
3947
|
+
className: cn.cn(
|
|
3948
|
+
"flex min-w-0 items-center",
|
|
3949
|
+
column.align && alignClasses[column.align]
|
|
3950
|
+
),
|
|
3951
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3952
|
+
Skeleton,
|
|
3953
|
+
{
|
|
3954
|
+
className: "my-0.5 h-4",
|
|
3955
|
+
style: { width: skeletonWidth(rowIndex, columnIndex) }
|
|
3956
|
+
}
|
|
3957
|
+
)
|
|
3958
|
+
},
|
|
3959
|
+
column.id
|
|
3960
|
+
))
|
|
3961
|
+
]
|
|
3962
|
+
},
|
|
3963
|
+
rowIndex
|
|
3964
|
+
)) : rows.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(TableRow, { role: "row", className: "grid hover:bg-transparent", style: rowStyle, children: /* @__PURE__ */ jsxRuntime.jsx(TableCell, { role: "cell", style: { gridColumn: "1 / -1" }, children: empty }) }) : rows.map((row) => {
|
|
3826
3965
|
const isSelected = isSelectable && row.getIsSelected();
|
|
3827
3966
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3828
3967
|
TableRow,
|
|
@@ -6054,38 +6193,6 @@ var NumberField = React4.forwardRef(function NumberField2({
|
|
|
6054
6193
|
}
|
|
6055
6194
|
);
|
|
6056
6195
|
});
|
|
6057
|
-
function PageHeader({ children, ...props }) {
|
|
6058
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6059
|
-
Row,
|
|
6060
|
-
{
|
|
6061
|
-
width: "100%",
|
|
6062
|
-
paddingY: "4",
|
|
6063
|
-
alignItems: "center",
|
|
6064
|
-
justifyContent: "space-between",
|
|
6065
|
-
border: "bottom",
|
|
6066
|
-
gap: "4",
|
|
6067
|
-
...props,
|
|
6068
|
-
children
|
|
6069
|
-
}
|
|
6070
|
-
);
|
|
6071
|
-
}
|
|
6072
|
-
function PageHeaderTitle({
|
|
6073
|
-
title,
|
|
6074
|
-
description,
|
|
6075
|
-
breadcrumb,
|
|
6076
|
-
children,
|
|
6077
|
-
...props
|
|
6078
|
-
}) {
|
|
6079
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Column, { gap: "1", ...props, children: [
|
|
6080
|
-
breadcrumb,
|
|
6081
|
-
/* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xl", weight: "semibold", children: title }),
|
|
6082
|
-
description && /* @__PURE__ */ jsxRuntime.jsx(Text, { color: "muted", children: description }),
|
|
6083
|
-
children
|
|
6084
|
-
] });
|
|
6085
|
-
}
|
|
6086
|
-
function PageHeaderActions({ children, ...props }) {
|
|
6087
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Row, { gap: "2", alignItems: "center", ...props, children });
|
|
6088
|
-
}
|
|
6089
6196
|
var RADIUS = 45;
|
|
6090
6197
|
var CIRCUMFERENCE = RADIUS * 2 * Math.PI;
|
|
6091
6198
|
function ProgressCircle({
|
|
@@ -9994,16 +10101,6 @@ function SheetDescription({
|
|
|
9994
10101
|
}
|
|
9995
10102
|
);
|
|
9996
10103
|
}
|
|
9997
|
-
function Skeleton({ className, ...props }) {
|
|
9998
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9999
|
-
"div",
|
|
10000
|
-
{
|
|
10001
|
-
"data-slot": "skeleton",
|
|
10002
|
-
className: cn.cn("animate-pulse rounded-md bg-muted", className),
|
|
10003
|
-
...props
|
|
10004
|
-
}
|
|
10005
|
-
);
|
|
10006
|
-
}
|
|
10007
10104
|
function TooltipProvider({
|
|
10008
10105
|
delay = 0,
|
|
10009
10106
|
...props
|
|
@@ -11116,9 +11213,6 @@ exports.NavbarItem = NavbarItem;
|
|
|
11116
11213
|
exports.NavbarLink = NavbarLink;
|
|
11117
11214
|
exports.NumberField = NumberField;
|
|
11118
11215
|
exports.PALETTES = PALETTES;
|
|
11119
|
-
exports.PageHeader = PageHeader;
|
|
11120
|
-
exports.PageHeaderActions = PageHeaderActions;
|
|
11121
|
-
exports.PageHeaderTitle = PageHeaderTitle;
|
|
11122
11216
|
exports.Pagination = Pagination;
|
|
11123
11217
|
exports.PaginationContent = PaginationContent;
|
|
11124
11218
|
exports.PaginationEllipsis = PaginationEllipsis;
|