@refineui/react 0.0.7 → 0.0.8
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.cjs +25 -38
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -8
- package/dist/index.d.ts +4 -8
- package/dist/index.js +69 -81
- package/dist/index.js.map +1 -1
- package/dist/spec/contract-index.json +1 -1
- package/dist/spec/token-trace-v2.json +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6711,7 +6711,6 @@ interface DrawerContentProps extends Omit<HTMLAttributes<HTMLDivElement>, "title
|
|
|
6711
6711
|
size?: DrawerSize;
|
|
6712
6712
|
}
|
|
6713
6713
|
interface DrawerHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
6714
|
-
showClose?: boolean;
|
|
6715
6714
|
actions?: ReactNode;
|
|
6716
6715
|
}
|
|
6717
6716
|
type DrawerTitleProps = HTMLAttributes<HTMLHeadingElement>;
|
|
@@ -6721,19 +6720,15 @@ interface DrawerFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6721
6720
|
/** Web Kit Drawer/Footer state */
|
|
6722
6721
|
state?: DrawerFooterState;
|
|
6723
6722
|
}
|
|
6724
|
-
interface DrawerCloseProps extends Omit<ButtonProps, "children"> {
|
|
6725
|
-
children?: ReactNode;
|
|
6726
|
-
}
|
|
6727
6723
|
|
|
6728
6724
|
declare function Drawer({ open: openProp, defaultOpen, onOpenChange, type, showFooter, placement, size, children, }: DrawerProps): react.JSX.Element;
|
|
6729
6725
|
declare const DrawerTrigger: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
6730
6726
|
declare function DrawerContent({ className, style, container, children, type: typeProp, showFooter: showFooterProp, placement: placementProp, size: sizeProp, ...props }: DrawerContentProps): react.JSX.Element | null;
|
|
6731
|
-
declare function DrawerHeader({ className, children,
|
|
6727
|
+
declare function DrawerHeader({ className, children, actions, ...props }: DrawerHeaderProps): react.JSX.Element;
|
|
6732
6728
|
declare function DrawerTitle({ className, id, children, ...props }: DrawerTitleProps): react.JSX.Element;
|
|
6733
6729
|
declare function DrawerDescription({ className, id, children, ...props }: DrawerDescriptionProps): react.JSX.Element;
|
|
6734
6730
|
declare function DrawerBody({ className, ...props }: DrawerBodyProps): react.JSX.Element;
|
|
6735
6731
|
declare function DrawerFooter({ className, ...props }: DrawerFooterProps): react.JSX.Element | null;
|
|
6736
|
-
declare function DrawerClose({ children, onClick, className, type, variant, size, layout, ...props }: DrawerCloseProps): react.JSX.Element;
|
|
6737
6732
|
|
|
6738
6733
|
type MenuAlign = "start" | "end" | "center";
|
|
6739
6734
|
interface DropdownTriggerProps extends Omit<HTMLAttributes<HTMLElement>, "children"> {
|
|
@@ -7388,9 +7383,10 @@ interface CollapsibleProps extends Omit<HTMLAttributes<HTMLDivElement>, "childre
|
|
|
7388
7383
|
}
|
|
7389
7384
|
/** Root — compound pattern aligned with Accordion (`Collapsible` + Trigger + Content). */
|
|
7390
7385
|
declare const Collapsible: react.ForwardRefExoticComponent<CollapsibleProps & react.RefAttributes<HTMLDivElement>>;
|
|
7391
|
-
interface CollapsibleTriggerProps extends
|
|
7386
|
+
interface CollapsibleTriggerProps extends ButtonProps {
|
|
7392
7387
|
asChild?: boolean;
|
|
7393
7388
|
}
|
|
7389
|
+
/** Default surface is Button `ghost` — use `layout="icon"` for chevron-only triggers. */
|
|
7394
7390
|
declare const CollapsibleTrigger: react.ForwardRefExoticComponent<CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
7395
7391
|
interface CollapsibleContentProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
7396
7392
|
children?: ReactNode;
|
|
@@ -7447,4 +7443,4 @@ interface ContextMenuSubContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
7447
7443
|
}
|
|
7448
7444
|
declare const ContextMenuSubContent: react.ForwardRefExoticComponent<ContextMenuSubContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
7449
7445
|
|
|
7450
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemSlotProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionType, Alert, AlertAction, type AlertActionProps, AlertActions, type AlertActionsProps, AlertBody, type AlertBodyProps, AlertClose, type AlertCloseProps, AlertContent, type AlertContentProps, AlertDescription, type AlertDescriptionProps, AlertIcon, type AlertIconProps, type AlertProps, AlertRow, type AlertRowProps, AlertTitle, type AlertTitleProps, type AlertVariant, Avatar, AvatarBadge, type AvatarBadgeProps, type AvatarColor, type AvatarColorIcon, type AvatarColorImage, type AvatarColorInitials, AvatarFallback, type AvatarFallbackProps, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarIcon, type AvatarIconProps, AvatarImage, type AvatarImageProps, type AvatarItem, type AvatarLayout, type AvatarPresenceStatus, type AvatarProps, type AvatarSize, AvatarText, type AvatarTextProps, Avatars, type AvatarsLayout, type AvatarsProps, type AvatarsSize, Badge, type BadgeLayout, type BadgeProps, type BadgeVariant, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbEllipsisTrigger, type BreadcrumbEllipsisTriggerProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Bubble, type BubbleAlign, BubbleContent, type BubbleContentProps, BubbleGroup, type BubbleGroupProps, type BubbleProps, BubbleReactions, type BubbleReactionsProps, type BubbleReactionsSide, type BubbleVariant, Button, type ButtonLayout, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarMode, type CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardHeaderMain, type CardProps, CardTitle, Carousel, CarouselContent, type CarouselContentProps, CarouselControls, type CarouselControlsProps, CarouselIndicators, type CarouselIndicatorsProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, Chart, ChartAxisLabels, type ChartAxisLabelsProps, ChartBars, type ChartBarsProps, ChartBody, type ChartBodyProps, ChartContent, type ChartContentProps, ChartGrid, type ChartGridProps, type ChartItemState, ChartLegend, ChartLegendItem, type ChartLegendItemProps, type ChartLegendProps, ChartLine, type ChartLineProps, ChartPlot, type ChartPlotProps, type ChartProps, type ChartSeriesColor, ChartTooltip, type ChartTooltipProps, ChartYAxisLabels, type ChartYAxisLabelsProps, Checkbox, type CheckboxProps, Chip, type ChipProps, type ChipSize, type ChipVariant, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, type CommandFilter, CommandGroup, CommandGroupHeading, type CommandGroupHeadingProps, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, Container, type ContainerProps, ContextMenu, ContextMenuContent, type ContextMenuContentProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, ContextMenuPortal, type ContextMenuProps, type ContextMenuSelectEvent, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubContentProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, type ControlSize, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Divider, type DividerProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, Dropdown, type MenuAlign as DropdownAlign, DropdownContent, type DropdownContentProps, DropdownGroup, DropdownItem, type DropdownItemProps, DropdownLabel, DropdownPortal, DropdownSeparator, DropdownShortcut, DropdownSub, DropdownSubContent, type DropdownSubContentProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, Field, FieldError, type FieldErrorProps, FieldHint, type FieldHintProps, FieldLabel, type FieldLabelProps, type FieldProps, FieldRequired, type FieldRequiredProps, Footer, FooterBottom, type FooterBottomProps, FooterBrand, FooterBrandDescription, type FooterBrandDescriptionProps, FooterBrandName, type FooterBrandNameProps, type FooterBrandProps, FooterContent, type FooterContentProps, FooterCopyright, type FooterCopyrightProps, FooterExplore, type FooterExploreProps, FooterGroup, FooterGroupLabel, type FooterGroupLabelProps, type FooterGroupProps, FooterLink, type FooterLinkProps, FooterLocale, type FooterLocaleProps, FooterLogo, type FooterLogoProps, FooterMeta, FooterMetaEnd, type FooterMetaEndProps, type FooterMetaProps, FooterNav, type FooterNavProps, type FooterProps, FooterSocial, type FooterSocialProps, Grid, GridItem, type GridItemProps, type GridProps, Input, InputOTP, type InputOTPProps, type InputOTPSize, InputOTPSlot, type InputOTPSlotProps, type InputProps, Label, type LabelProps, LabelRequired, type LabelRequiredProps, type LayoutAlign, type LayoutAs, type LayoutBackground, type LayoutBorderColor, type LayoutDirection, type LayoutGap, type LayoutJustify, type LayoutRadius, type LayoutStroke, type LayoutWrap, Link, type LinkProps, Menu, MenuDivider, MenuItem, MenuLabel, type MenuLabelProps, MenuList, MenuPopover, type MenuProps, MenuSub, MenuSubContent, type MenuSubContentProps, MenuSubTrigger, type MenuSubTriggerProps, MenuTrigger, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, type PaginationRootProps, PopOver, type PopOverAlign, type PopOverProps, Popover, type PopoverAlign, PopoverContent, type PopoverContentProps, type PopoverPlacement, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, ProgressStepper, ProgressStepperItem, type ProgressStepperItemProps, ProgressStepperLabel, type ProgressStepperLabelProps, ProgressStepperList, type ProgressStepperListProps, ProgressStepperMarker, type ProgressStepperMarkerProps, type ProgressStepperProps, type ProgressStepperState, Radio, RadioInput, type RadioInputProps, type RadioProps, ResizableHandle, type ResizableHandleProps, type ResizableOrientation, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, ScrollArea, type ScrollAreaOrientation, type ScrollAreaProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, type ScrollAreaType, ScrollAreaViewport, type ScrollAreaViewportProps, SearchField, SearchFieldClear, type SearchFieldClearProps, SearchFieldIcon, type SearchFieldIconProps, SearchFieldInput, type SearchFieldInputProps, type SearchFieldProps, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectArrow, type SelectArrowProps, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectIcon, type SelectIconProps, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectLabel, type SelectLabelProps, SelectPortal, type SelectPortalProps, type SelectProps, SelectScrollDownButton, type SelectScrollDownButtonProps, SelectScrollUpButton, type SelectScrollUpButtonProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerAppearance, type SelectTriggerProps, SelectValue, type SelectValueProps, SelectViewport, type SelectViewportProps, Sidebar, SidebarBrand, type SidebarBrandProps, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupLabel, type SidebarGroupLabelProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarLink, type SidebarLinkProps, SidebarNav, type SidebarNavProps, SidebarPeek, SidebarPeekEdge, type SidebarPeekEdgeProps, SidebarPeekInset, type SidebarPeekInsetProps, type SidebarPeekMode, SidebarPeekPanel, type SidebarPeekPanelProps, SidebarPeekPin, type SidebarPeekPinProps, type SidebarPeekProps, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spacer, type SpacerProps, SpinButton, type SpinButtonProps, Spinner, type SpinnerLabelPosition, type SpinnerProps, type SpinnerSize, Stack, type StackProps, Stepper, StepperContent, type StepperContentProps, StepperDescription, type StepperDescriptionProps, StepperIndicator, type StepperIndicatorProps, StepperItem, type StepperItemProps, StepperList, type StepperListProps, type StepperOrientation, type StepperProps, StepperSeparator, type StepperSeparatorProps, type StepperState, StepperTitle, type StepperTitleProps, Toggle as Switch, type ToggleProps as SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Chip as Tag, type ChipProps as TagProps, type ChipSize as TagSize, type ChipVariant as TagVariant, Text, type TextProps, Textarea, type TextareaProps, Toast, type ToastAction, type ToastOptions, type ToastProps, type ToastSwipeDirection, type ToastVariant, Toaster, type ToasterProps, Toggle, type ToggleProps, Tooltip, type TooltipAlign, type TooltipPosition, type TooltipProps, Tree, TreeItem, TreeItemContent, type TreeItemContentProps, type TreeItemProps, TreeItemTrigger, type TreeItemTriggerProps, type TreeProps, type TreeSize, WebIcon, type WebIconProps, breadcrumbLinkClassName, componentColorTokens, componentTextClass, componentTokens, componentTypographyTokens, defaultCommandFilter, dismissToast, footerLinkClassName, footerLocaleLinkClassName, footerLocaleTriggerClassName, footerSocialLinkClassName, semanticTextClass, sizedComponentTextClass, toast, useSidebarPeek };
|
|
7446
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemSlotProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionType, Alert, AlertAction, type AlertActionProps, AlertActions, type AlertActionsProps, AlertBody, type AlertBodyProps, AlertClose, type AlertCloseProps, AlertContent, type AlertContentProps, AlertDescription, type AlertDescriptionProps, AlertIcon, type AlertIconProps, type AlertProps, AlertRow, type AlertRowProps, AlertTitle, type AlertTitleProps, type AlertVariant, Avatar, AvatarBadge, type AvatarBadgeProps, type AvatarColor, type AvatarColorIcon, type AvatarColorImage, type AvatarColorInitials, AvatarFallback, type AvatarFallbackProps, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarIcon, type AvatarIconProps, AvatarImage, type AvatarImageProps, type AvatarItem, type AvatarLayout, type AvatarPresenceStatus, type AvatarProps, type AvatarSize, AvatarText, type AvatarTextProps, Avatars, type AvatarsLayout, type AvatarsProps, type AvatarsSize, Badge, type BadgeLayout, type BadgeProps, type BadgeVariant, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbEllipsisTrigger, type BreadcrumbEllipsisTriggerProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Bubble, type BubbleAlign, BubbleContent, type BubbleContentProps, BubbleGroup, type BubbleGroupProps, type BubbleProps, BubbleReactions, type BubbleReactionsProps, type BubbleReactionsSide, type BubbleVariant, Button, type ButtonLayout, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarMode, type CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardHeaderMain, type CardProps, CardTitle, Carousel, CarouselContent, type CarouselContentProps, CarouselControls, type CarouselControlsProps, CarouselIndicators, type CarouselIndicatorsProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, Chart, ChartAxisLabels, type ChartAxisLabelsProps, ChartBars, type ChartBarsProps, ChartBody, type ChartBodyProps, ChartContent, type ChartContentProps, ChartGrid, type ChartGridProps, type ChartItemState, ChartLegend, ChartLegendItem, type ChartLegendItemProps, type ChartLegendProps, ChartLine, type ChartLineProps, ChartPlot, type ChartPlotProps, type ChartProps, type ChartSeriesColor, ChartTooltip, type ChartTooltipProps, ChartYAxisLabels, type ChartYAxisLabelsProps, Checkbox, type CheckboxProps, Chip, type ChipProps, type ChipSize, type ChipVariant, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, type CommandFilter, CommandGroup, CommandGroupHeading, type CommandGroupHeadingProps, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, Container, type ContainerProps, ContextMenu, ContextMenuContent, type ContextMenuContentProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, ContextMenuPortal, type ContextMenuProps, type ContextMenuSelectEvent, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubContentProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, type ControlSize, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Divider, type DividerProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, Dropdown, type MenuAlign as DropdownAlign, DropdownContent, type DropdownContentProps, DropdownGroup, DropdownItem, type DropdownItemProps, DropdownLabel, DropdownPortal, DropdownSeparator, DropdownShortcut, DropdownSub, DropdownSubContent, type DropdownSubContentProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, Field, FieldError, type FieldErrorProps, FieldHint, type FieldHintProps, FieldLabel, type FieldLabelProps, type FieldProps, FieldRequired, type FieldRequiredProps, Footer, FooterBottom, type FooterBottomProps, FooterBrand, FooterBrandDescription, type FooterBrandDescriptionProps, FooterBrandName, type FooterBrandNameProps, type FooterBrandProps, FooterContent, type FooterContentProps, FooterCopyright, type FooterCopyrightProps, FooterExplore, type FooterExploreProps, FooterGroup, FooterGroupLabel, type FooterGroupLabelProps, type FooterGroupProps, FooterLink, type FooterLinkProps, FooterLocale, type FooterLocaleProps, FooterLogo, type FooterLogoProps, FooterMeta, FooterMetaEnd, type FooterMetaEndProps, type FooterMetaProps, FooterNav, type FooterNavProps, type FooterProps, FooterSocial, type FooterSocialProps, Grid, GridItem, type GridItemProps, type GridProps, Input, InputOTP, type InputOTPProps, type InputOTPSize, InputOTPSlot, type InputOTPSlotProps, type InputProps, Label, type LabelProps, LabelRequired, type LabelRequiredProps, type LayoutAlign, type LayoutAs, type LayoutBackground, type LayoutBorderColor, type LayoutDirection, type LayoutGap, type LayoutJustify, type LayoutRadius, type LayoutStroke, type LayoutWrap, Link, type LinkProps, Menu, MenuDivider, MenuItem, MenuLabel, type MenuLabelProps, MenuList, MenuPopover, type MenuProps, MenuSub, MenuSubContent, type MenuSubContentProps, MenuSubTrigger, type MenuSubTriggerProps, MenuTrigger, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, type PaginationRootProps, PopOver, type PopOverAlign, type PopOverProps, Popover, type PopoverAlign, PopoverContent, type PopoverContentProps, type PopoverPlacement, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, ProgressStepper, ProgressStepperItem, type ProgressStepperItemProps, ProgressStepperLabel, type ProgressStepperLabelProps, ProgressStepperList, type ProgressStepperListProps, ProgressStepperMarker, type ProgressStepperMarkerProps, type ProgressStepperProps, type ProgressStepperState, Radio, RadioInput, type RadioInputProps, type RadioProps, ResizableHandle, type ResizableHandleProps, type ResizableOrientation, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, ScrollArea, type ScrollAreaOrientation, type ScrollAreaProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, type ScrollAreaType, ScrollAreaViewport, type ScrollAreaViewportProps, SearchField, SearchFieldClear, type SearchFieldClearProps, SearchFieldIcon, type SearchFieldIconProps, SearchFieldInput, type SearchFieldInputProps, type SearchFieldProps, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectArrow, type SelectArrowProps, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectIcon, type SelectIconProps, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectLabel, type SelectLabelProps, SelectPortal, type SelectPortalProps, type SelectProps, SelectScrollDownButton, type SelectScrollDownButtonProps, SelectScrollUpButton, type SelectScrollUpButtonProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerAppearance, type SelectTriggerProps, SelectValue, type SelectValueProps, SelectViewport, type SelectViewportProps, Sidebar, SidebarBrand, type SidebarBrandProps, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupLabel, type SidebarGroupLabelProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarLink, type SidebarLinkProps, SidebarNav, type SidebarNavProps, SidebarPeek, SidebarPeekEdge, type SidebarPeekEdgeProps, SidebarPeekInset, type SidebarPeekInsetProps, type SidebarPeekMode, SidebarPeekPanel, type SidebarPeekPanelProps, SidebarPeekPin, type SidebarPeekPinProps, type SidebarPeekProps, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spacer, type SpacerProps, SpinButton, type SpinButtonProps, Spinner, type SpinnerLabelPosition, type SpinnerProps, type SpinnerSize, Stack, type StackProps, Stepper, StepperContent, type StepperContentProps, StepperDescription, type StepperDescriptionProps, StepperIndicator, type StepperIndicatorProps, StepperItem, type StepperItemProps, StepperList, type StepperListProps, type StepperOrientation, type StepperProps, StepperSeparator, type StepperSeparatorProps, type StepperState, StepperTitle, type StepperTitleProps, Toggle as Switch, type ToggleProps as SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Chip as Tag, type ChipProps as TagProps, type ChipSize as TagSize, type ChipVariant as TagVariant, Text, type TextProps, Textarea, type TextareaProps, Toast, type ToastAction, type ToastOptions, type ToastProps, type ToastSwipeDirection, type ToastVariant, Toaster, type ToasterProps, Toggle, type ToggleProps, Tooltip, type TooltipAlign, type TooltipPosition, type TooltipProps, Tree, TreeItem, TreeItemContent, type TreeItemContentProps, type TreeItemProps, TreeItemTrigger, type TreeItemTriggerProps, type TreeProps, type TreeSize, WebIcon, type WebIconProps, breadcrumbLinkClassName, componentColorTokens, componentTextClass, componentTokens, componentTypographyTokens, defaultCommandFilter, dismissToast, footerLinkClassName, footerLocaleLinkClassName, footerLocaleTriggerClassName, footerSocialLinkClassName, semanticTextClass, sizedComponentTextClass, toast, useSidebarPeek };
|
package/dist/index.d.ts
CHANGED
|
@@ -6711,7 +6711,6 @@ interface DrawerContentProps extends Omit<HTMLAttributes<HTMLDivElement>, "title
|
|
|
6711
6711
|
size?: DrawerSize;
|
|
6712
6712
|
}
|
|
6713
6713
|
interface DrawerHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
6714
|
-
showClose?: boolean;
|
|
6715
6714
|
actions?: ReactNode;
|
|
6716
6715
|
}
|
|
6717
6716
|
type DrawerTitleProps = HTMLAttributes<HTMLHeadingElement>;
|
|
@@ -6721,19 +6720,15 @@ interface DrawerFooterProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
6721
6720
|
/** Web Kit Drawer/Footer state */
|
|
6722
6721
|
state?: DrawerFooterState;
|
|
6723
6722
|
}
|
|
6724
|
-
interface DrawerCloseProps extends Omit<ButtonProps, "children"> {
|
|
6725
|
-
children?: ReactNode;
|
|
6726
|
-
}
|
|
6727
6723
|
|
|
6728
6724
|
declare function Drawer({ open: openProp, defaultOpen, onOpenChange, type, showFooter, placement, size, children, }: DrawerProps): react.JSX.Element;
|
|
6729
6725
|
declare const DrawerTrigger: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
6730
6726
|
declare function DrawerContent({ className, style, container, children, type: typeProp, showFooter: showFooterProp, placement: placementProp, size: sizeProp, ...props }: DrawerContentProps): react.JSX.Element | null;
|
|
6731
|
-
declare function DrawerHeader({ className, children,
|
|
6727
|
+
declare function DrawerHeader({ className, children, actions, ...props }: DrawerHeaderProps): react.JSX.Element;
|
|
6732
6728
|
declare function DrawerTitle({ className, id, children, ...props }: DrawerTitleProps): react.JSX.Element;
|
|
6733
6729
|
declare function DrawerDescription({ className, id, children, ...props }: DrawerDescriptionProps): react.JSX.Element;
|
|
6734
6730
|
declare function DrawerBody({ className, ...props }: DrawerBodyProps): react.JSX.Element;
|
|
6735
6731
|
declare function DrawerFooter({ className, ...props }: DrawerFooterProps): react.JSX.Element | null;
|
|
6736
|
-
declare function DrawerClose({ children, onClick, className, type, variant, size, layout, ...props }: DrawerCloseProps): react.JSX.Element;
|
|
6737
6732
|
|
|
6738
6733
|
type MenuAlign = "start" | "end" | "center";
|
|
6739
6734
|
interface DropdownTriggerProps extends Omit<HTMLAttributes<HTMLElement>, "children"> {
|
|
@@ -7388,9 +7383,10 @@ interface CollapsibleProps extends Omit<HTMLAttributes<HTMLDivElement>, "childre
|
|
|
7388
7383
|
}
|
|
7389
7384
|
/** Root — compound pattern aligned with Accordion (`Collapsible` + Trigger + Content). */
|
|
7390
7385
|
declare const Collapsible: react.ForwardRefExoticComponent<CollapsibleProps & react.RefAttributes<HTMLDivElement>>;
|
|
7391
|
-
interface CollapsibleTriggerProps extends
|
|
7386
|
+
interface CollapsibleTriggerProps extends ButtonProps {
|
|
7392
7387
|
asChild?: boolean;
|
|
7393
7388
|
}
|
|
7389
|
+
/** Default surface is Button `ghost` — use `layout="icon"` for chevron-only triggers. */
|
|
7394
7390
|
declare const CollapsibleTrigger: react.ForwardRefExoticComponent<CollapsibleTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
7395
7391
|
interface CollapsibleContentProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
7396
7392
|
children?: ReactNode;
|
|
@@ -7447,4 +7443,4 @@ interface ContextMenuSubContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
7447
7443
|
}
|
|
7448
7444
|
declare const ContextMenuSubContent: react.ForwardRefExoticComponent<ContextMenuSubContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
7449
7445
|
|
|
7450
|
-
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemSlotProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionType, Alert, AlertAction, type AlertActionProps, AlertActions, type AlertActionsProps, AlertBody, type AlertBodyProps, AlertClose, type AlertCloseProps, AlertContent, type AlertContentProps, AlertDescription, type AlertDescriptionProps, AlertIcon, type AlertIconProps, type AlertProps, AlertRow, type AlertRowProps, AlertTitle, type AlertTitleProps, type AlertVariant, Avatar, AvatarBadge, type AvatarBadgeProps, type AvatarColor, type AvatarColorIcon, type AvatarColorImage, type AvatarColorInitials, AvatarFallback, type AvatarFallbackProps, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarIcon, type AvatarIconProps, AvatarImage, type AvatarImageProps, type AvatarItem, type AvatarLayout, type AvatarPresenceStatus, type AvatarProps, type AvatarSize, AvatarText, type AvatarTextProps, Avatars, type AvatarsLayout, type AvatarsProps, type AvatarsSize, Badge, type BadgeLayout, type BadgeProps, type BadgeVariant, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbEllipsisTrigger, type BreadcrumbEllipsisTriggerProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Bubble, type BubbleAlign, BubbleContent, type BubbleContentProps, BubbleGroup, type BubbleGroupProps, type BubbleProps, BubbleReactions, type BubbleReactionsProps, type BubbleReactionsSide, type BubbleVariant, Button, type ButtonLayout, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarMode, type CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardHeaderMain, type CardProps, CardTitle, Carousel, CarouselContent, type CarouselContentProps, CarouselControls, type CarouselControlsProps, CarouselIndicators, type CarouselIndicatorsProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, Chart, ChartAxisLabels, type ChartAxisLabelsProps, ChartBars, type ChartBarsProps, ChartBody, type ChartBodyProps, ChartContent, type ChartContentProps, ChartGrid, type ChartGridProps, type ChartItemState, ChartLegend, ChartLegendItem, type ChartLegendItemProps, type ChartLegendProps, ChartLine, type ChartLineProps, ChartPlot, type ChartPlotProps, type ChartProps, type ChartSeriesColor, ChartTooltip, type ChartTooltipProps, ChartYAxisLabels, type ChartYAxisLabelsProps, Checkbox, type CheckboxProps, Chip, type ChipProps, type ChipSize, type ChipVariant, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, type CommandFilter, CommandGroup, CommandGroupHeading, type CommandGroupHeadingProps, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, Container, type ContainerProps, ContextMenu, ContextMenuContent, type ContextMenuContentProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, ContextMenuPortal, type ContextMenuProps, type ContextMenuSelectEvent, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubContentProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, type ControlSize, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Divider, type DividerProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, Dropdown, type MenuAlign as DropdownAlign, DropdownContent, type DropdownContentProps, DropdownGroup, DropdownItem, type DropdownItemProps, DropdownLabel, DropdownPortal, DropdownSeparator, DropdownShortcut, DropdownSub, DropdownSubContent, type DropdownSubContentProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, Field, FieldError, type FieldErrorProps, FieldHint, type FieldHintProps, FieldLabel, type FieldLabelProps, type FieldProps, FieldRequired, type FieldRequiredProps, Footer, FooterBottom, type FooterBottomProps, FooterBrand, FooterBrandDescription, type FooterBrandDescriptionProps, FooterBrandName, type FooterBrandNameProps, type FooterBrandProps, FooterContent, type FooterContentProps, FooterCopyright, type FooterCopyrightProps, FooterExplore, type FooterExploreProps, FooterGroup, FooterGroupLabel, type FooterGroupLabelProps, type FooterGroupProps, FooterLink, type FooterLinkProps, FooterLocale, type FooterLocaleProps, FooterLogo, type FooterLogoProps, FooterMeta, FooterMetaEnd, type FooterMetaEndProps, type FooterMetaProps, FooterNav, type FooterNavProps, type FooterProps, FooterSocial, type FooterSocialProps, Grid, GridItem, type GridItemProps, type GridProps, Input, InputOTP, type InputOTPProps, type InputOTPSize, InputOTPSlot, type InputOTPSlotProps, type InputProps, Label, type LabelProps, LabelRequired, type LabelRequiredProps, type LayoutAlign, type LayoutAs, type LayoutBackground, type LayoutBorderColor, type LayoutDirection, type LayoutGap, type LayoutJustify, type LayoutRadius, type LayoutStroke, type LayoutWrap, Link, type LinkProps, Menu, MenuDivider, MenuItem, MenuLabel, type MenuLabelProps, MenuList, MenuPopover, type MenuProps, MenuSub, MenuSubContent, type MenuSubContentProps, MenuSubTrigger, type MenuSubTriggerProps, MenuTrigger, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, type PaginationRootProps, PopOver, type PopOverAlign, type PopOverProps, Popover, type PopoverAlign, PopoverContent, type PopoverContentProps, type PopoverPlacement, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, ProgressStepper, ProgressStepperItem, type ProgressStepperItemProps, ProgressStepperLabel, type ProgressStepperLabelProps, ProgressStepperList, type ProgressStepperListProps, ProgressStepperMarker, type ProgressStepperMarkerProps, type ProgressStepperProps, type ProgressStepperState, Radio, RadioInput, type RadioInputProps, type RadioProps, ResizableHandle, type ResizableHandleProps, type ResizableOrientation, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, ScrollArea, type ScrollAreaOrientation, type ScrollAreaProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, type ScrollAreaType, ScrollAreaViewport, type ScrollAreaViewportProps, SearchField, SearchFieldClear, type SearchFieldClearProps, SearchFieldIcon, type SearchFieldIconProps, SearchFieldInput, type SearchFieldInputProps, type SearchFieldProps, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectArrow, type SelectArrowProps, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectIcon, type SelectIconProps, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectLabel, type SelectLabelProps, SelectPortal, type SelectPortalProps, type SelectProps, SelectScrollDownButton, type SelectScrollDownButtonProps, SelectScrollUpButton, type SelectScrollUpButtonProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerAppearance, type SelectTriggerProps, SelectValue, type SelectValueProps, SelectViewport, type SelectViewportProps, Sidebar, SidebarBrand, type SidebarBrandProps, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupLabel, type SidebarGroupLabelProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarLink, type SidebarLinkProps, SidebarNav, type SidebarNavProps, SidebarPeek, SidebarPeekEdge, type SidebarPeekEdgeProps, SidebarPeekInset, type SidebarPeekInsetProps, type SidebarPeekMode, SidebarPeekPanel, type SidebarPeekPanelProps, SidebarPeekPin, type SidebarPeekPinProps, type SidebarPeekProps, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spacer, type SpacerProps, SpinButton, type SpinButtonProps, Spinner, type SpinnerLabelPosition, type SpinnerProps, type SpinnerSize, Stack, type StackProps, Stepper, StepperContent, type StepperContentProps, StepperDescription, type StepperDescriptionProps, StepperIndicator, type StepperIndicatorProps, StepperItem, type StepperItemProps, StepperList, type StepperListProps, type StepperOrientation, type StepperProps, StepperSeparator, type StepperSeparatorProps, type StepperState, StepperTitle, type StepperTitleProps, Toggle as Switch, type ToggleProps as SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Chip as Tag, type ChipProps as TagProps, type ChipSize as TagSize, type ChipVariant as TagVariant, Text, type TextProps, Textarea, type TextareaProps, Toast, type ToastAction, type ToastOptions, type ToastProps, type ToastSwipeDirection, type ToastVariant, Toaster, type ToasterProps, Toggle, type ToggleProps, Tooltip, type TooltipAlign, type TooltipPosition, type TooltipProps, Tree, TreeItem, TreeItemContent, type TreeItemContentProps, type TreeItemProps, TreeItemTrigger, type TreeItemTriggerProps, type TreeProps, type TreeSize, WebIcon, type WebIconProps, breadcrumbLinkClassName, componentColorTokens, componentTextClass, componentTokens, componentTypographyTokens, defaultCommandFilter, dismissToast, footerLinkClassName, footerLocaleLinkClassName, footerLocaleTriggerClassName, footerSocialLinkClassName, semanticTextClass, sizedComponentTextClass, toast, useSidebarPeek };
|
|
7446
|
+
export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemSlotProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionType, Alert, AlertAction, type AlertActionProps, AlertActions, type AlertActionsProps, AlertBody, type AlertBodyProps, AlertClose, type AlertCloseProps, AlertContent, type AlertContentProps, AlertDescription, type AlertDescriptionProps, AlertIcon, type AlertIconProps, type AlertProps, AlertRow, type AlertRowProps, AlertTitle, type AlertTitleProps, type AlertVariant, Avatar, AvatarBadge, type AvatarBadgeProps, type AvatarColor, type AvatarColorIcon, type AvatarColorImage, type AvatarColorInitials, AvatarFallback, type AvatarFallbackProps, AvatarGroup, AvatarGroupCount, type AvatarGroupCountProps, type AvatarGroupProps, AvatarIcon, type AvatarIconProps, AvatarImage, type AvatarImageProps, type AvatarItem, type AvatarLayout, type AvatarPresenceStatus, type AvatarProps, type AvatarSize, AvatarText, type AvatarTextProps, Avatars, type AvatarsLayout, type AvatarsProps, type AvatarsSize, Badge, type BadgeLayout, type BadgeProps, type BadgeVariant, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbEllipsisTrigger, type BreadcrumbEllipsisTriggerProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Bubble, type BubbleAlign, BubbleContent, type BubbleContentProps, BubbleGroup, type BubbleGroupProps, type BubbleProps, BubbleReactions, type BubbleReactionsProps, type BubbleReactionsSide, type BubbleVariant, Button, type ButtonLayout, type ButtonProps, type ButtonSize, type ButtonVariant, Calendar, type CalendarMode, type CalendarProps, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardHeaderMain, type CardProps, CardTitle, Carousel, CarouselContent, type CarouselContentProps, CarouselControls, type CarouselControlsProps, CarouselIndicators, type CarouselIndicatorsProps, CarouselItem, type CarouselItemProps, CarouselNext, type CarouselNextProps, CarouselPrevious, type CarouselPreviousProps, type CarouselProps, Chart, ChartAxisLabels, type ChartAxisLabelsProps, ChartBars, type ChartBarsProps, ChartBody, type ChartBodyProps, ChartContent, type ChartContentProps, ChartGrid, type ChartGridProps, type ChartItemState, ChartLegend, ChartLegendItem, type ChartLegendItemProps, type ChartLegendProps, ChartLine, type ChartLineProps, ChartPlot, type ChartPlotProps, type ChartProps, type ChartSeriesColor, ChartTooltip, type ChartTooltipProps, ChartYAxisLabels, type ChartYAxisLabelsProps, Checkbox, type CheckboxProps, Chip, type ChipProps, type ChipSize, type ChipVariant, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, type CommandFilter, CommandGroup, CommandGroupHeading, type CommandGroupHeadingProps, type CommandGroupProps, CommandInput, type CommandInputProps, CommandItem, type CommandItemProps, CommandList, type CommandListProps, type CommandProps, CommandSeparator, type CommandSeparatorProps, CommandShortcut, type CommandShortcutProps, Container, type ContainerProps, ContextMenu, ContextMenuContent, type ContextMenuContentProps, ContextMenuItem, type ContextMenuItemProps, ContextMenuLabel, ContextMenuPortal, type ContextMenuProps, type ContextMenuSelectEvent, ContextMenuSeparator, ContextMenuSub, ContextMenuSubContent, type ContextMenuSubContentProps, ContextMenuSubTrigger, type ContextMenuSubTriggerProps, ContextMenuTrigger, type ContextMenuTriggerProps, type ControlSize, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Divider, type DividerProps, Drawer, DrawerBody, type DrawerBodyProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, Dropdown, type MenuAlign as DropdownAlign, DropdownContent, type DropdownContentProps, DropdownGroup, DropdownItem, type DropdownItemProps, DropdownLabel, DropdownPortal, DropdownSeparator, DropdownShortcut, DropdownSub, DropdownSubContent, type DropdownSubContentProps, DropdownSubTrigger, type DropdownSubTriggerProps, DropdownTrigger, type DropdownTriggerProps, Field, FieldError, type FieldErrorProps, FieldHint, type FieldHintProps, FieldLabel, type FieldLabelProps, type FieldProps, FieldRequired, type FieldRequiredProps, Footer, FooterBottom, type FooterBottomProps, FooterBrand, FooterBrandDescription, type FooterBrandDescriptionProps, FooterBrandName, type FooterBrandNameProps, type FooterBrandProps, FooterContent, type FooterContentProps, FooterCopyright, type FooterCopyrightProps, FooterExplore, type FooterExploreProps, FooterGroup, FooterGroupLabel, type FooterGroupLabelProps, type FooterGroupProps, FooterLink, type FooterLinkProps, FooterLocale, type FooterLocaleProps, FooterLogo, type FooterLogoProps, FooterMeta, FooterMetaEnd, type FooterMetaEndProps, type FooterMetaProps, FooterNav, type FooterNavProps, type FooterProps, FooterSocial, type FooterSocialProps, Grid, GridItem, type GridItemProps, type GridProps, Input, InputOTP, type InputOTPProps, type InputOTPSize, InputOTPSlot, type InputOTPSlotProps, type InputProps, Label, type LabelProps, LabelRequired, type LabelRequiredProps, type LayoutAlign, type LayoutAs, type LayoutBackground, type LayoutBorderColor, type LayoutDirection, type LayoutGap, type LayoutJustify, type LayoutRadius, type LayoutStroke, type LayoutWrap, Link, type LinkProps, Menu, MenuDivider, MenuItem, MenuLabel, type MenuLabelProps, MenuList, MenuPopover, type MenuProps, MenuSub, MenuSubContent, type MenuSubContentProps, MenuSubTrigger, type MenuSubTriggerProps, MenuTrigger, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, Pagination, PaginationContent, type PaginationContentProps, PaginationEllipsis, type PaginationEllipsisProps, PaginationItem, type PaginationItemProps, PaginationLink, type PaginationLinkProps, PaginationNext, type PaginationNextProps, PaginationPrevious, type PaginationPreviousProps, type PaginationProps, type PaginationRootProps, PopOver, type PopOverAlign, type PopOverProps, Popover, type PopoverAlign, PopoverContent, type PopoverContentProps, type PopoverPlacement, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Progress, type ProgressProps, ProgressStepper, ProgressStepperItem, type ProgressStepperItemProps, ProgressStepperLabel, type ProgressStepperLabelProps, ProgressStepperList, type ProgressStepperListProps, ProgressStepperMarker, type ProgressStepperMarkerProps, type ProgressStepperProps, type ProgressStepperState, Radio, RadioInput, type RadioInputProps, type RadioProps, ResizableHandle, type ResizableHandleProps, type ResizableOrientation, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, ScrollArea, type ScrollAreaOrientation, type ScrollAreaProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, type ScrollAreaType, ScrollAreaViewport, type ScrollAreaViewportProps, SearchField, SearchFieldClear, type SearchFieldClearProps, SearchFieldIcon, type SearchFieldIconProps, SearchFieldInput, type SearchFieldInputProps, type SearchFieldProps, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectArrow, type SelectArrowProps, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectIcon, type SelectIconProps, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectLabel, type SelectLabelProps, SelectPortal, type SelectPortalProps, type SelectProps, SelectScrollDownButton, type SelectScrollDownButtonProps, SelectScrollUpButton, type SelectScrollUpButtonProps, SelectSeparator, type SelectSeparatorProps, SelectTrigger, type SelectTriggerAppearance, type SelectTriggerProps, SelectValue, type SelectValueProps, SelectViewport, type SelectViewportProps, Sidebar, SidebarBrand, type SidebarBrandProps, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, SidebarGroupLabel, type SidebarGroupLabelProps, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarLink, type SidebarLinkProps, SidebarNav, type SidebarNavProps, SidebarPeek, SidebarPeekEdge, type SidebarPeekEdgeProps, SidebarPeekInset, type SidebarPeekInsetProps, type SidebarPeekMode, SidebarPeekPanel, type SidebarPeekPanelProps, SidebarPeekPin, type SidebarPeekPinProps, type SidebarPeekProps, type SidebarProps, Skeleton, type SkeletonProps, Slider, type SliderProps, Spacer, type SpacerProps, SpinButton, type SpinButtonProps, Spinner, type SpinnerLabelPosition, type SpinnerProps, type SpinnerSize, Stack, type StackProps, Stepper, StepperContent, type StepperContentProps, StepperDescription, type StepperDescriptionProps, StepperIndicator, type StepperIndicatorProps, StepperItem, type StepperItemProps, StepperList, type StepperListProps, type StepperOrientation, type StepperProps, StepperSeparator, type StepperSeparatorProps, type StepperState, StepperTitle, type StepperTitleProps, Toggle as Switch, type ToggleProps as SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, Chip as Tag, type ChipProps as TagProps, type ChipSize as TagSize, type ChipVariant as TagVariant, Text, type TextProps, Textarea, type TextareaProps, Toast, type ToastAction, type ToastOptions, type ToastProps, type ToastSwipeDirection, type ToastVariant, Toaster, type ToasterProps, Toggle, type ToggleProps, Tooltip, type TooltipAlign, type TooltipPosition, type TooltipProps, Tree, TreeItem, TreeItemContent, type TreeItemContentProps, type TreeItemProps, TreeItemTrigger, type TreeItemTriggerProps, type TreeProps, type TreeSize, WebIcon, type WebIconProps, breadcrumbLinkClassName, componentColorTokens, componentTextClass, componentTokens, componentTypographyTokens, defaultCommandFilter, dismissToast, footerLinkClassName, footerLocaleLinkClassName, footerLocaleTriggerClassName, footerSocialLinkClassName, semanticTextClass, sizedComponentTextClass, toast, useSidebarPeek };
|
package/dist/index.js
CHANGED
|
@@ -8191,7 +8191,7 @@ import {
|
|
|
8191
8191
|
useState as useState15
|
|
8192
8192
|
} from "react";
|
|
8193
8193
|
import { createPortal as createPortal3 } from "react-dom";
|
|
8194
|
-
import {
|
|
8194
|
+
import { semanticInteraction as semanticInteraction4 } from "@refineui/tokens";
|
|
8195
8195
|
import { motionMsToNumber as motionMsToNumber2 } from "@refineui/utilities/animation";
|
|
8196
8196
|
import { resolveColorTokenValue as resolveColorTokenValue6 } from "@refineui/utilities/color";
|
|
8197
8197
|
import { acquireBodyScrollLock as acquireBodyScrollLock2 } from "@refineui/utilities/react";
|
|
@@ -8445,7 +8445,6 @@ function DrawerContent({
|
|
|
8445
8445
|
function DrawerHeader({
|
|
8446
8446
|
className,
|
|
8447
8447
|
children,
|
|
8448
|
-
showClose = true,
|
|
8449
8448
|
actions,
|
|
8450
8449
|
...props
|
|
8451
8450
|
}) {
|
|
@@ -8461,8 +8460,7 @@ function DrawerHeader({
|
|
|
8461
8460
|
...props,
|
|
8462
8461
|
children: /* @__PURE__ */ jsxs18("div", { className: drawerStyles.headerMain, children: [
|
|
8463
8462
|
/* @__PURE__ */ jsx52("div", { className: drawerStyles.headerMainText, children }),
|
|
8464
|
-
hasActions ? /* @__PURE__ */ jsx52("div", { className: drawerStyles.headerActions, children: actions }) : null
|
|
8465
|
-
showClose ? /* @__PURE__ */ jsx52(DrawerClose, {}) : null
|
|
8463
|
+
hasActions ? /* @__PURE__ */ jsx52("div", { className: drawerStyles.headerActions, children: actions }) : null
|
|
8466
8464
|
] })
|
|
8467
8465
|
}
|
|
8468
8466
|
);
|
|
@@ -8541,36 +8539,6 @@ function DrawerFooter({ className, ...props }) {
|
|
|
8541
8539
|
}
|
|
8542
8540
|
);
|
|
8543
8541
|
}
|
|
8544
|
-
function DrawerClose({
|
|
8545
|
-
children,
|
|
8546
|
-
onClick,
|
|
8547
|
-
className,
|
|
8548
|
-
type = "button",
|
|
8549
|
-
variant,
|
|
8550
|
-
size,
|
|
8551
|
-
layout,
|
|
8552
|
-
...props
|
|
8553
|
-
}) {
|
|
8554
|
-
const { setOpen } = useDrawerContext("DrawerClose");
|
|
8555
|
-
const iconOnly = children == null;
|
|
8556
|
-
return /* @__PURE__ */ jsx52(
|
|
8557
|
-
Button,
|
|
8558
|
-
{
|
|
8559
|
-
...props,
|
|
8560
|
-
type,
|
|
8561
|
-
variant: variant ?? (iconOnly ? "ghost" : "outline"),
|
|
8562
|
-
size: size ?? "md",
|
|
8563
|
-
layout: layout ?? (iconOnly ? "icon" : "label"),
|
|
8564
|
-
"aria-label": iconOnly ? "Close" : void 0,
|
|
8565
|
-
className,
|
|
8566
|
-
onClick: (e) => {
|
|
8567
|
-
onClick?.(e);
|
|
8568
|
-
if (!e.defaultPrevented) setOpen(false);
|
|
8569
|
-
},
|
|
8570
|
-
children: iconOnly ? /* @__PURE__ */ jsx52(WebIcon, { name: "dismiss", size: iconSizes13.xlarge, color: "currentColor", iconStyle: "regular", "aria-hidden": true }) : children
|
|
8571
|
-
}
|
|
8572
|
-
);
|
|
8573
|
-
}
|
|
8574
8542
|
|
|
8575
8543
|
// src/components/Dropdown/Dropdown.tsx
|
|
8576
8544
|
import { clsx as clsx70 } from "clsx";
|
|
@@ -8585,7 +8553,7 @@ import {
|
|
|
8585
8553
|
useState as useState16
|
|
8586
8554
|
} from "react";
|
|
8587
8555
|
import { createPortal as createPortal4 } from "react-dom";
|
|
8588
|
-
import { iconSizes as
|
|
8556
|
+
import { iconSizes as iconSizes13, spacings as spacings2, zIndex } from "@refineui/tokens";
|
|
8589
8557
|
import { resolveColorTokenValue as resolveColorTokenValue7 } from "@refineui/utilities/color";
|
|
8590
8558
|
|
|
8591
8559
|
// src/components/Dropdown/style.ts
|
|
@@ -9208,7 +9176,7 @@ function DropdownSubTrigger({
|
|
|
9208
9176
|
WebIcon,
|
|
9209
9177
|
{
|
|
9210
9178
|
name: "chevron-right",
|
|
9211
|
-
size:
|
|
9179
|
+
size: iconSizes13.small,
|
|
9212
9180
|
color: "currentColor",
|
|
9213
9181
|
"aria-hidden": true,
|
|
9214
9182
|
className: "ms-auto shrink-0"
|
|
@@ -9416,7 +9384,7 @@ function FieldError({ className, ...props }) {
|
|
|
9416
9384
|
|
|
9417
9385
|
// src/components/Link/Link.tsx
|
|
9418
9386
|
import { clsx as clsx74 } from "clsx";
|
|
9419
|
-
import { iconSizes as
|
|
9387
|
+
import { iconSizes as iconSizes14 } from "@refineui/tokens";
|
|
9420
9388
|
|
|
9421
9389
|
// src/components/Link/style.ts
|
|
9422
9390
|
var linkStyles = {
|
|
@@ -9454,7 +9422,7 @@ function Link({
|
|
|
9454
9422
|
...props,
|
|
9455
9423
|
children: [
|
|
9456
9424
|
children,
|
|
9457
|
-
showOpen && /* @__PURE__ */ jsx57(WebIcon, { name: "open", size:
|
|
9425
|
+
showOpen && /* @__PURE__ */ jsx57(WebIcon, { name: "open", size: iconSizes14.large, color: "currentColor" })
|
|
9458
9426
|
]
|
|
9459
9427
|
}
|
|
9460
9428
|
);
|
|
@@ -9473,7 +9441,7 @@ import {
|
|
|
9473
9441
|
useState as useState17
|
|
9474
9442
|
} from "react";
|
|
9475
9443
|
import { createPortal as createPortal5 } from "react-dom";
|
|
9476
|
-
import { iconSizes as
|
|
9444
|
+
import { iconSizes as iconSizes15, semanticInteraction as semanticInteraction5, spacings as spacings3, zIndex as zIndex2 } from "@refineui/tokens";
|
|
9477
9445
|
import { motionMsToNumber as motionMsToNumber3 } from "@refineui/utilities/animation";
|
|
9478
9446
|
import { Slot as Slot2, getMergeableTriggerChild as getMergeableTriggerChild2 } from "@refineui/utilities/react";
|
|
9479
9447
|
|
|
@@ -9755,9 +9723,9 @@ function MenuItem({
|
|
|
9755
9723
|
{
|
|
9756
9724
|
className: menuStyles.iconWrap,
|
|
9757
9725
|
style: {
|
|
9758
|
-
width:
|
|
9759
|
-
minWidth:
|
|
9760
|
-
height:
|
|
9726
|
+
width: iconSizes15.small,
|
|
9727
|
+
minWidth: iconSizes15.small,
|
|
9728
|
+
height: iconSizes15.small
|
|
9761
9729
|
},
|
|
9762
9730
|
children: startIcon
|
|
9763
9731
|
}
|
|
@@ -9782,9 +9750,9 @@ function MenuItem({
|
|
|
9782
9750
|
{
|
|
9783
9751
|
className: menuStyles.iconWrap,
|
|
9784
9752
|
style: {
|
|
9785
|
-
width:
|
|
9786
|
-
minWidth:
|
|
9787
|
-
height:
|
|
9753
|
+
width: iconSizes15.small,
|
|
9754
|
+
minWidth: iconSizes15.small,
|
|
9755
|
+
height: iconSizes15.small
|
|
9788
9756
|
},
|
|
9789
9757
|
children: endIcon
|
|
9790
9758
|
}
|
|
@@ -9936,9 +9904,9 @@ function MenuSubTrigger({
|
|
|
9936
9904
|
{
|
|
9937
9905
|
className: menuStyles.iconWrap,
|
|
9938
9906
|
style: {
|
|
9939
|
-
width:
|
|
9940
|
-
minWidth:
|
|
9941
|
-
height:
|
|
9907
|
+
width: iconSizes15.small,
|
|
9908
|
+
minWidth: iconSizes15.small,
|
|
9909
|
+
height: iconSizes15.small
|
|
9942
9910
|
},
|
|
9943
9911
|
children: startIcon
|
|
9944
9912
|
}
|
|
@@ -9961,11 +9929,11 @@ function MenuSubTrigger({
|
|
|
9961
9929
|
{
|
|
9962
9930
|
className: menuStyles.iconWrap,
|
|
9963
9931
|
style: {
|
|
9964
|
-
width:
|
|
9965
|
-
minWidth:
|
|
9966
|
-
height:
|
|
9932
|
+
width: iconSizes15.small,
|
|
9933
|
+
minWidth: iconSizes15.small,
|
|
9934
|
+
height: iconSizes15.small
|
|
9967
9935
|
},
|
|
9968
|
-
children: /* @__PURE__ */ jsx58(WebIcon, { name: "chevron-right", size:
|
|
9936
|
+
children: /* @__PURE__ */ jsx58(WebIcon, { name: "chevron-right", size: iconSizes15.small, color: "currentColor", "aria-hidden": true })
|
|
9969
9937
|
}
|
|
9970
9938
|
) })
|
|
9971
9939
|
] })
|
|
@@ -10088,7 +10056,7 @@ import {
|
|
|
10088
10056
|
useRef as useRef15,
|
|
10089
10057
|
useState as useState18
|
|
10090
10058
|
} from "react";
|
|
10091
|
-
import { iconSizes as
|
|
10059
|
+
import { iconSizes as iconSizes16, semanticInteraction as semanticInteraction6 } from "@refineui/tokens";
|
|
10092
10060
|
import { motionMsToNumber as motionMsToNumber4 } from "@refineui/utilities/animation";
|
|
10093
10061
|
|
|
10094
10062
|
// src/components/NavigationMenu/style.ts
|
|
@@ -10436,7 +10404,7 @@ function NavigationMenuTrigger({
|
|
|
10436
10404
|
WebIcon,
|
|
10437
10405
|
{
|
|
10438
10406
|
name: "chevron-down",
|
|
10439
|
-
size:
|
|
10407
|
+
size: iconSizes16.xsmall,
|
|
10440
10408
|
color: "currentColor",
|
|
10441
10409
|
className: clsx78(
|
|
10442
10410
|
navigationMenuStyles.chevron,
|
|
@@ -11034,7 +11002,7 @@ function useSidebarPeek() {
|
|
|
11034
11002
|
|
|
11035
11003
|
// src/components/Pagination/Pagination.tsx
|
|
11036
11004
|
import { clsx as clsx84 } from "clsx";
|
|
11037
|
-
import { iconSizes as
|
|
11005
|
+
import { iconSizes as iconSizes17 } from "@refineui/tokens";
|
|
11038
11006
|
import { resolveColorTokenValue as resolveColorTokenValue9 } from "@refineui/utilities/color";
|
|
11039
11007
|
|
|
11040
11008
|
// src/components/Pagination/style.ts
|
|
@@ -11097,7 +11065,7 @@ function PaginationNavButton({
|
|
|
11097
11065
|
WebIcon,
|
|
11098
11066
|
{
|
|
11099
11067
|
name: isPrev ? "chevron-left" : "chevron-right",
|
|
11100
|
-
size:
|
|
11068
|
+
size: iconSizes17.medium,
|
|
11101
11069
|
color: iconColor,
|
|
11102
11070
|
fallback: isPrev ? "\u2039" : "\u203A"
|
|
11103
11071
|
}
|
|
@@ -11124,7 +11092,7 @@ function PaginationEllipsis({ className, ...props }) {
|
|
|
11124
11092
|
WebIcon,
|
|
11125
11093
|
{
|
|
11126
11094
|
name: "more-horizontal",
|
|
11127
|
-
size:
|
|
11095
|
+
size: iconSizes17.medium,
|
|
11128
11096
|
color: resolveColorTokenValue9(componentColorTokens.pagination.navIcon.default),
|
|
11129
11097
|
fallback: "\u2026"
|
|
11130
11098
|
}
|
|
@@ -11584,7 +11552,7 @@ function Slider({
|
|
|
11584
11552
|
|
|
11585
11553
|
// src/components/Carousel/Carousel.tsx
|
|
11586
11554
|
import { clsx as clsx89 } from "clsx";
|
|
11587
|
-
import { iconSizes as
|
|
11555
|
+
import { iconSizes as iconSizes18 } from "@refineui/tokens";
|
|
11588
11556
|
import {
|
|
11589
11557
|
Children as Children6,
|
|
11590
11558
|
cloneElement as cloneElement2,
|
|
@@ -11948,7 +11916,7 @@ function CarouselPrevious({ className, disabled, onClick, ...props }) {
|
|
|
11948
11916
|
WebIcon,
|
|
11949
11917
|
{
|
|
11950
11918
|
name: "chevron-left",
|
|
11951
|
-
size:
|
|
11919
|
+
size: iconSizes18.small,
|
|
11952
11920
|
color: "currentColor",
|
|
11953
11921
|
iconStyle: "filled",
|
|
11954
11922
|
fallback: "\u2039"
|
|
@@ -11980,7 +11948,7 @@ function CarouselNext({ className, disabled, onClick, ...props }) {
|
|
|
11980
11948
|
WebIcon,
|
|
11981
11949
|
{
|
|
11982
11950
|
name: "chevron-right",
|
|
11983
|
-
size:
|
|
11951
|
+
size: iconSizes18.small,
|
|
11984
11952
|
color: "currentColor",
|
|
11985
11953
|
iconStyle: "filled",
|
|
11986
11954
|
fallback: "\u203A"
|
|
@@ -12250,7 +12218,7 @@ function BubbleReactions({
|
|
|
12250
12218
|
|
|
12251
12219
|
// src/components/Stepper/Stepper.tsx
|
|
12252
12220
|
import { clsx as clsx93 } from "clsx";
|
|
12253
|
-
import { iconSizes as
|
|
12221
|
+
import { iconSizes as iconSizes19 } from "@refineui/tokens";
|
|
12254
12222
|
import {
|
|
12255
12223
|
createContext as createContext23,
|
|
12256
12224
|
useCallback as useCallback18,
|
|
@@ -12519,7 +12487,7 @@ function StepperIndicator({ className, children, ...props }) {
|
|
|
12519
12487
|
WebIcon,
|
|
12520
12488
|
{
|
|
12521
12489
|
name: "checkmark",
|
|
12522
|
-
size:
|
|
12490
|
+
size: iconSizes19.xsmall,
|
|
12523
12491
|
color: "currentColor",
|
|
12524
12492
|
iconStyle: "filled",
|
|
12525
12493
|
fallback: "\u2713",
|
|
@@ -13139,7 +13107,7 @@ function ResizableHandle({
|
|
|
13139
13107
|
// src/components/SpinButton/SpinButton.tsx
|
|
13140
13108
|
import { clsx as clsx96 } from "clsx";
|
|
13141
13109
|
import { useEffect as useEffect17, useState as useState25 } from "react";
|
|
13142
|
-
import { iconSizes as
|
|
13110
|
+
import { iconSizes as iconSizes20 } from "@refineui/tokens";
|
|
13143
13111
|
|
|
13144
13112
|
// src/components/SpinButton/style.ts
|
|
13145
13113
|
var spinButtonStyles = {
|
|
@@ -13348,7 +13316,7 @@ function SpinButton({
|
|
|
13348
13316
|
WebIcon,
|
|
13349
13317
|
{
|
|
13350
13318
|
name: "chevron-up",
|
|
13351
|
-
size:
|
|
13319
|
+
size: iconSizes20.xsmall,
|
|
13352
13320
|
color: "currentColor",
|
|
13353
13321
|
iconStyle: "filled",
|
|
13354
13322
|
fallback: "\u25B2"
|
|
@@ -13372,7 +13340,7 @@ function SpinButton({
|
|
|
13372
13340
|
WebIcon,
|
|
13373
13341
|
{
|
|
13374
13342
|
name: "chevron-down",
|
|
13375
|
-
size:
|
|
13343
|
+
size: iconSizes20.xsmall,
|
|
13376
13344
|
color: "currentColor",
|
|
13377
13345
|
iconStyle: "filled",
|
|
13378
13346
|
fallback: "\u25BC"
|
|
@@ -13400,7 +13368,7 @@ import {
|
|
|
13400
13368
|
useSyncExternalStore
|
|
13401
13369
|
} from "react";
|
|
13402
13370
|
import { createPortal as createPortal6 } from "react-dom";
|
|
13403
|
-
import { iconSizes as
|
|
13371
|
+
import { iconSizes as iconSizes21, spacings as spacings5 } from "@refineui/tokens";
|
|
13404
13372
|
import { motionMsToNumber as motionMsToNumber6 } from "@refineui/utilities/animation";
|
|
13405
13373
|
import { resolveColorTokenValue as resolveColorTokenValue11 } from "@refineui/utilities/color";
|
|
13406
13374
|
|
|
@@ -13627,7 +13595,7 @@ var Toast = forwardRef15(function Toast2(props, ref) {
|
|
|
13627
13595
|
WebIcon,
|
|
13628
13596
|
{
|
|
13629
13597
|
name: resolvedIconName,
|
|
13630
|
-
size:
|
|
13598
|
+
size: iconSizes21.medium,
|
|
13631
13599
|
color: "currentColor",
|
|
13632
13600
|
iconStyle: "filled"
|
|
13633
13601
|
}
|
|
@@ -13973,7 +13941,7 @@ function toExpandedSet(value) {
|
|
|
13973
13941
|
|
|
13974
13942
|
// src/components/Tree/style.ts
|
|
13975
13943
|
import { clsx as clsx99 } from "clsx";
|
|
13976
|
-
import { iconSizes as
|
|
13944
|
+
import { iconSizes as iconSizes22 } from "@refineui/tokens";
|
|
13977
13945
|
var treeStyles = {
|
|
13978
13946
|
root: "m-0 flex list-none flex-col gap-px p-0",
|
|
13979
13947
|
item: "m-0 list-none p-0",
|
|
@@ -14001,9 +13969,9 @@ var treeStyles = {
|
|
|
14001
13969
|
label: "min-w-0 flex-1 truncate text-start"
|
|
14002
13970
|
};
|
|
14003
13971
|
var treeIconSize = {
|
|
14004
|
-
sm:
|
|
14005
|
-
md:
|
|
14006
|
-
lg:
|
|
13972
|
+
sm: iconSizes22.xxsmall,
|
|
13973
|
+
md: iconSizes22.xsmall,
|
|
13974
|
+
lg: iconSizes22.xsmall
|
|
14007
13975
|
};
|
|
14008
13976
|
var treeItemTypo = {
|
|
14009
13977
|
sm: sizedComponentTextClass(componentTypographyTokens.tree.item, "sm"),
|
|
@@ -15443,7 +15411,18 @@ var Collapsible = forwardRef16(function Collapsible2({ open: openProp, defaultOp
|
|
|
15443
15411
|
return /* @__PURE__ */ jsx78(CollapsibleContext.Provider, { value: contextValue, children: asChild ? /* @__PURE__ */ jsx78(Slot6, { ...shared, children }) : /* @__PURE__ */ jsx78("div", { ...shared, children }) });
|
|
15444
15412
|
});
|
|
15445
15413
|
var CollapsibleTrigger = forwardRef16(
|
|
15446
|
-
function CollapsibleTrigger2({
|
|
15414
|
+
function CollapsibleTrigger2({
|
|
15415
|
+
asChild = false,
|
|
15416
|
+
onClick,
|
|
15417
|
+
className,
|
|
15418
|
+
children,
|
|
15419
|
+
variant = "ghost",
|
|
15420
|
+
size,
|
|
15421
|
+
layout,
|
|
15422
|
+
fullWidth,
|
|
15423
|
+
type = "button",
|
|
15424
|
+
...props
|
|
15425
|
+
}, ref) {
|
|
15447
15426
|
const { open, toggle, contentId, triggerId } = useCollapsibleContext("CollapsibleTrigger");
|
|
15448
15427
|
const shared = {
|
|
15449
15428
|
...props,
|
|
@@ -15452,7 +15431,6 @@ var CollapsibleTrigger = forwardRef16(
|
|
|
15452
15431
|
"aria-expanded": open,
|
|
15453
15432
|
"aria-controls": contentId,
|
|
15454
15433
|
"data-state": open ? "open" : "closed",
|
|
15455
|
-
"data-refineui": "collapsible-trigger",
|
|
15456
15434
|
className,
|
|
15457
15435
|
onClick: (event) => {
|
|
15458
15436
|
onClick?.(event);
|
|
@@ -15460,7 +15438,18 @@ var CollapsibleTrigger = forwardRef16(
|
|
|
15460
15438
|
}
|
|
15461
15439
|
};
|
|
15462
15440
|
if (asChild) return /* @__PURE__ */ jsx78(Slot6, { ...shared, children });
|
|
15463
|
-
return /* @__PURE__ */ jsx78(
|
|
15441
|
+
return /* @__PURE__ */ jsx78(
|
|
15442
|
+
Button,
|
|
15443
|
+
{
|
|
15444
|
+
...shared,
|
|
15445
|
+
type,
|
|
15446
|
+
variant,
|
|
15447
|
+
size,
|
|
15448
|
+
layout,
|
|
15449
|
+
fullWidth,
|
|
15450
|
+
children
|
|
15451
|
+
}
|
|
15452
|
+
);
|
|
15464
15453
|
}
|
|
15465
15454
|
);
|
|
15466
15455
|
var CollapsibleContent = forwardRef16(
|
|
@@ -15510,7 +15499,7 @@ import {
|
|
|
15510
15499
|
} from "react";
|
|
15511
15500
|
import { createPortal as createPortal7 } from "react-dom";
|
|
15512
15501
|
import { clsx as clsx109 } from "clsx";
|
|
15513
|
-
import { componentSizes as componentSizes3, iconSizes as
|
|
15502
|
+
import { componentSizes as componentSizes3, iconSizes as iconSizes23, semanticInteraction as semanticInteraction10 } from "@refineui/tokens";
|
|
15514
15503
|
import { motionMsToNumber as motionMsToNumber7 } from "@refineui/utilities/animation";
|
|
15515
15504
|
import { Slot as Slot7 } from "@refineui/utilities/react";
|
|
15516
15505
|
import { Fragment as Fragment5, jsx as jsx79, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
@@ -15698,7 +15687,7 @@ var ContextMenuItem = forwardRef17(function ContextMenuItem2({ disabled = false,
|
|
|
15698
15687
|
"span",
|
|
15699
15688
|
{
|
|
15700
15689
|
className: menuStyles.iconWrap,
|
|
15701
|
-
style: { width:
|
|
15690
|
+
style: { width: iconSizes23.small, minWidth: iconSizes23.small, height: iconSizes23.small },
|
|
15702
15691
|
children: startIcon
|
|
15703
15692
|
}
|
|
15704
15693
|
) : null,
|
|
@@ -15712,7 +15701,7 @@ var ContextMenuItem = forwardRef17(function ContextMenuItem2({ disabled = false,
|
|
|
15712
15701
|
"span",
|
|
15713
15702
|
{
|
|
15714
15703
|
className: menuStyles.iconWrap,
|
|
15715
|
-
style: { width:
|
|
15704
|
+
style: { width: iconSizes23.small, minWidth: iconSizes23.small, height: iconSizes23.small },
|
|
15716
15705
|
children: endIcon
|
|
15717
15706
|
}
|
|
15718
15707
|
) : null
|
|
@@ -15814,7 +15803,7 @@ var ContextMenuSubTrigger = forwardRef17(
|
|
|
15814
15803
|
"span",
|
|
15815
15804
|
{
|
|
15816
15805
|
className: menuStyles.iconWrap,
|
|
15817
|
-
style: { width:
|
|
15806
|
+
style: { width: iconSizes23.small, minWidth: iconSizes23.small, height: iconSizes23.small },
|
|
15818
15807
|
children: startIcon
|
|
15819
15808
|
}
|
|
15820
15809
|
) : null,
|
|
@@ -15826,8 +15815,8 @@ var ContextMenuSubTrigger = forwardRef17(
|
|
|
15826
15815
|
"span",
|
|
15827
15816
|
{
|
|
15828
15817
|
className: menuStyles.iconWrap,
|
|
15829
|
-
style: { width:
|
|
15830
|
-
children: /* @__PURE__ */ jsx79(WebIcon, { name: "chevron-right", size:
|
|
15818
|
+
style: { width: iconSizes23.small, minWidth: iconSizes23.small, height: iconSizes23.small },
|
|
15819
|
+
children: /* @__PURE__ */ jsx79(WebIcon, { name: "chevron-right", size: iconSizes23.small, color: "currentColor", "aria-hidden": true })
|
|
15831
15820
|
}
|
|
15832
15821
|
) })
|
|
15833
15822
|
] }) });
|
|
@@ -15995,7 +15984,6 @@ export {
|
|
|
15995
15984
|
Divider,
|
|
15996
15985
|
Drawer,
|
|
15997
15986
|
DrawerBody,
|
|
15998
|
-
DrawerClose,
|
|
15999
15987
|
DrawerContent,
|
|
16000
15988
|
DrawerDescription,
|
|
16001
15989
|
DrawerFooter,
|