@maxsteinwender/sort-ui 1.2.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.d.mts +118 -29
- package/dist/index.d.ts +118 -29
- package/dist/index.js +1102 -433
- package/dist/index.mjs +1091 -434
- package/dist/styles.css +1237 -303
- package/dist/tailwind-preset.js +4 -4
- package/dist/tailwind-preset.mjs +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,10 +67,10 @@ Sort UI supports 4 themes built on two color schemes:
|
|
|
67
67
|
|
|
68
68
|
| Theme | Base | Accent | Mode |
|
|
69
69
|
|-------|------|--------|------|
|
|
70
|
-
|
|
|
71
|
-
|
|
|
72
|
-
|
|
|
73
|
-
|
|
|
70
|
+
| Default Blue Light | Zinc | Blue | `light` |
|
|
71
|
+
| Default Blue Dark | Zinc | Blue | `dark` |
|
|
72
|
+
| Neutral Violet Light | Neutral | Violet | `theme-2` |
|
|
73
|
+
| Neutral Violet Dark | Neutral | Violet | `theme-2-dark` |
|
|
74
74
|
|
|
75
75
|
Themes are applied via CSS classes on the root element. Switch between them in Storybook using the theme toolbar.
|
|
76
76
|
|
package/dist/index.d.mts
CHANGED
|
@@ -66,6 +66,59 @@ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<Ale
|
|
|
66
66
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
67
67
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
68
68
|
|
|
69
|
+
declare const buttonVariants: (props?: ({
|
|
70
|
+
variant?: "default" | "ghost" | "destructive" | "secondary" | "outline" | "ghost-muted" | null | undefined;
|
|
71
|
+
shape?: "rounded" | "pill" | null | undefined;
|
|
72
|
+
size?: "lg" | "md" | "sm" | "xs" | "2xs" | null | undefined;
|
|
73
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
74
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
75
|
+
asChild?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Renders the button as a square icon-only variant (no text, larger icon).
|
|
78
|
+
* **IMPORTANT:** You MUST supply an `aria-label` prop when `iconOnly` is true
|
|
79
|
+
* so screen readers have an accessible name, e.g.:
|
|
80
|
+
* `<Button iconOnly aria-label="Open settings"><SettingsIcon /></Button>`
|
|
81
|
+
*/
|
|
82
|
+
iconOnly?: boolean;
|
|
83
|
+
/** Activates loading state: shows spinner, loading background, disables button */
|
|
84
|
+
loading?: boolean;
|
|
85
|
+
/** Story-only toggle — consumed by Storybook render, stripped here to prevent DOM warning */
|
|
86
|
+
leadIcon?: boolean;
|
|
87
|
+
/** Story-only toggle — consumed by Storybook render, stripped here to prevent DOM warning */
|
|
88
|
+
tailIcon?: boolean;
|
|
89
|
+
/** Keyboard shortcut badge rendered before children (e.g. "⌘K"). Ignored when iconOnly or asChild. */
|
|
90
|
+
badgeLeft?: string;
|
|
91
|
+
/** Keyboard shortcut badge rendered after children (e.g. "/"). Ignored when iconOnly or asChild. */
|
|
92
|
+
badgeRight?: string;
|
|
93
|
+
}
|
|
94
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
95
|
+
|
|
96
|
+
declare const attachmentVariants: (props?: ({
|
|
97
|
+
size?: "default" | "sm" | "xs" | null | undefined;
|
|
98
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
99
|
+
state?: "done" | "idle" | "uploading" | "processing" | "error" | null | undefined;
|
|
100
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
101
|
+
interface AttachmentProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof attachmentVariants> {
|
|
102
|
+
}
|
|
103
|
+
declare const Attachment: React$1.ForwardRefExoticComponent<AttachmentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
104
|
+
interface AttachmentMediaProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
105
|
+
/** Icon slot (default) or full image thumbnail. */
|
|
106
|
+
variant?: "icon" | "image";
|
|
107
|
+
}
|
|
108
|
+
declare const AttachmentMedia: React$1.ForwardRefExoticComponent<AttachmentMediaProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
109
|
+
declare const AttachmentContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
110
|
+
declare const AttachmentTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
111
|
+
declare const AttachmentDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
112
|
+
declare const AttachmentActions: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
113
|
+
interface AttachmentActionProps extends Omit<ButtonProps, "variant" | "iconOnly"> {
|
|
114
|
+
}
|
|
115
|
+
declare const AttachmentAction: React$1.ForwardRefExoticComponent<AttachmentActionProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
116
|
+
interface AttachmentTriggerProps extends React$1.ComponentPropsWithoutRef<"button"> {
|
|
117
|
+
asChild?: boolean;
|
|
118
|
+
}
|
|
119
|
+
declare const AttachmentTrigger: React$1.ForwardRefExoticComponent<AttachmentTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
120
|
+
declare const AttachmentGroup: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
121
|
+
|
|
69
122
|
type StatusBadgeVariant = "verified" | "company" | "online" | "offline" | "busy" | "away";
|
|
70
123
|
type StatusBadgeSize = "2xs" | "xs" | "sm" | "md" | "lg" | "default";
|
|
71
124
|
interface StatusBadgeProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
@@ -279,33 +332,6 @@ interface SortBreadcrumbItemProps {
|
|
|
279
332
|
}
|
|
280
333
|
declare function SortBreadcrumbItem({ label, href, type, state, leadIcon, icon, avatarSrc, avatarAlt, className, }: SortBreadcrumbItemProps): react_jsx_runtime.JSX.Element;
|
|
281
334
|
|
|
282
|
-
declare const buttonVariants: (props?: ({
|
|
283
|
-
variant?: "default" | "ghost" | "destructive" | "secondary" | "outline" | "ghost-muted" | null | undefined;
|
|
284
|
-
shape?: "rounded" | "pill" | null | undefined;
|
|
285
|
-
size?: "lg" | "md" | "sm" | "xs" | "2xs" | null | undefined;
|
|
286
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
287
|
-
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
288
|
-
asChild?: boolean;
|
|
289
|
-
/**
|
|
290
|
-
* Renders the button as a square icon-only variant (no text, larger icon).
|
|
291
|
-
* **IMPORTANT:** You MUST supply an `aria-label` prop when `iconOnly` is true
|
|
292
|
-
* so screen readers have an accessible name, e.g.:
|
|
293
|
-
* `<Button iconOnly aria-label="Open settings"><SettingsIcon /></Button>`
|
|
294
|
-
*/
|
|
295
|
-
iconOnly?: boolean;
|
|
296
|
-
/** Activates loading state: shows spinner, loading background, disables button */
|
|
297
|
-
loading?: boolean;
|
|
298
|
-
/** Story-only toggle — consumed by Storybook render, stripped here to prevent DOM warning */
|
|
299
|
-
leadIcon?: boolean;
|
|
300
|
-
/** Story-only toggle — consumed by Storybook render, stripped here to prevent DOM warning */
|
|
301
|
-
tailIcon?: boolean;
|
|
302
|
-
/** Keyboard shortcut badge rendered before children (e.g. "⌘K"). Ignored when iconOnly or asChild. */
|
|
303
|
-
badgeLeft?: string;
|
|
304
|
-
/** Keyboard shortcut badge rendered after children (e.g. "/"). Ignored when iconOnly or asChild. */
|
|
305
|
-
badgeRight?: string;
|
|
306
|
-
}
|
|
307
|
-
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
308
|
-
|
|
309
335
|
type ButtonGroupSize = "lg" | "md" | "sm" | "xs" | "2xs";
|
|
310
336
|
type ButtonGroupOrientation = "horizontal" | "vertical";
|
|
311
337
|
interface ButtonGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
@@ -1092,7 +1118,7 @@ interface GridTableCellProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
1092
1118
|
declare const GridTableCell: React$1.ForwardRefExoticComponent<GridTableCellProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1093
1119
|
|
|
1094
1120
|
declare const gridTableSlotItemVariants: (props?: ({
|
|
1095
|
-
variant?: "number" | "default" | "checkbox" | "
|
|
1121
|
+
variant?: "number" | "default" | "checkbox" | "icon" | "avatar" | "badge" | "empty" | "progressBar" | null | undefined;
|
|
1096
1122
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1097
1123
|
type SlotState = "default" | "selected" | "failed";
|
|
1098
1124
|
interface GridTableSlotItemProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridTableSlotItemVariants> {
|
|
@@ -1414,6 +1440,40 @@ declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
|
1414
1440
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1415
1441
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1416
1442
|
|
|
1443
|
+
type ProductCardVariant = "minimal" | "featured" | "detailed" | "author" | "overlay" | "compact";
|
|
1444
|
+
interface ProductCardAuthor {
|
|
1445
|
+
name: string;
|
|
1446
|
+
category?: string;
|
|
1447
|
+
avatar?: string;
|
|
1448
|
+
}
|
|
1449
|
+
interface ProductCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1450
|
+
/** Card layout variant */
|
|
1451
|
+
variant?: ProductCardVariant;
|
|
1452
|
+
/** Product title */
|
|
1453
|
+
title?: string;
|
|
1454
|
+
/** Price display (e.g. "$48") */
|
|
1455
|
+
price?: string;
|
|
1456
|
+
/** Cover image URL */
|
|
1457
|
+
image?: string;
|
|
1458
|
+
/** Date string (e.g. "March 13, 2025") */
|
|
1459
|
+
date?: string;
|
|
1460
|
+
/** Description text — used in `detailed` variant */
|
|
1461
|
+
description?: string;
|
|
1462
|
+
/** Badge tag labels — used in `featured` and `detailed` variants */
|
|
1463
|
+
tags?: string[];
|
|
1464
|
+
/** Author info — used in `author` variant */
|
|
1465
|
+
author?: ProductCardAuthor;
|
|
1466
|
+
/** Numeric rating — shown as badge in `minimal` variant (hidden when undefined or 0) */
|
|
1467
|
+
rating?: number;
|
|
1468
|
+
/** CTA button label */
|
|
1469
|
+
ctaLabel?: string;
|
|
1470
|
+
/** CTA button click handler */
|
|
1471
|
+
onCta?: () => void;
|
|
1472
|
+
/** Thumbnail image URL — used in `compact` variant (falls back to `image`) */
|
|
1473
|
+
thumbnail?: string;
|
|
1474
|
+
}
|
|
1475
|
+
declare const ProductCard: React$1.ForwardRefExoticComponent<ProductCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1476
|
+
|
|
1417
1477
|
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1418
1478
|
|
|
1419
1479
|
declare const progressBarVariants: (props?: ({
|
|
@@ -1804,6 +1864,35 @@ interface SidebarMenuItemProps extends Omit<React$1.ButtonHTMLAttributes<HTMLBut
|
|
|
1804
1864
|
}
|
|
1805
1865
|
declare const SidebarMenuItem: React$1.ForwardRefExoticComponent<SidebarMenuItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1806
1866
|
|
|
1867
|
+
type SignInCardVariant = "simple" | "centered" | "social" | "email-only";
|
|
1868
|
+
interface SignInCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1869
|
+
/** Card layout variant */
|
|
1870
|
+
variant?: SignInCardVariant;
|
|
1871
|
+
/** Heading text */
|
|
1872
|
+
title?: string;
|
|
1873
|
+
/** Subtitle / description text */
|
|
1874
|
+
subtitle?: string;
|
|
1875
|
+
/** Logo / brand element rendered above the heading */
|
|
1876
|
+
logo?: React$1.ReactNode;
|
|
1877
|
+
/** Show "Remember me" checkbox — applies to simple + centered */
|
|
1878
|
+
showRememberMe?: boolean;
|
|
1879
|
+
/** Show "Reset password" link in password label tail — applies to simple + centered */
|
|
1880
|
+
showResetPassword?: boolean;
|
|
1881
|
+
/** Show "Single sign-on (SSO)" button below Sign In — centered only */
|
|
1882
|
+
showSso?: boolean;
|
|
1883
|
+
/** Social provider brands to display — social variant */
|
|
1884
|
+
socialProviders?: SocialBrand[];
|
|
1885
|
+
/** Override the primary CTA button label */
|
|
1886
|
+
ctaLabel?: string;
|
|
1887
|
+
/** Footer prompt text (before the link) */
|
|
1888
|
+
footerText?: string;
|
|
1889
|
+
/** Footer link label */
|
|
1890
|
+
footerLinkText?: string;
|
|
1891
|
+
/** Footer link click handler */
|
|
1892
|
+
onFooterClick?: () => void;
|
|
1893
|
+
}
|
|
1894
|
+
declare const SignInCard: React$1.ForwardRefExoticComponent<SignInCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1895
|
+
|
|
1807
1896
|
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1808
1897
|
|
|
1809
1898
|
interface SliderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
@@ -2308,4 +2397,4 @@ interface VerticalStepperItemProps extends React$1.HTMLAttributes<HTMLDivElement
|
|
|
2308
2397
|
}
|
|
2309
2398
|
declare const VerticalStepperItem: React$1.ForwardRefExoticComponent<VerticalStepperItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2310
2399
|
|
|
2311
|
-
export { Accordion, AccordionContent, AccordionItem, type AccordionItemVariant, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarButton, type AvatarButtonProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, type AvatarGroupSize, type AvatarGroupStacking, AvatarImage, type AvatarProps, AvatarUpload, type AvatarUploadProps, Badge, type BadgeColor, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemData, type BreadcrumbItemState, type BreadcrumbItemType, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BreadcrumbVariant, Button, ButtonGroup, ButtonGroupItem, type ButtonGroupItemProps, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSize, type ButtonProps, Calendar, CalendarDayButton, type CaptionColor, Card, CardContent, CardCover, type CardCoverProps, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxCard, CheckboxList, type CheckboxListProps, CheckboxWithText, Chip, type ChipProps, CodeBlock, type CodeBlockProps, type CodeBlockTab, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlButton, type ControlButtonProps, DataRangeSlider, DataRangeSliderInput, DatePicker, DatePickerInput, type DatePickerInputProps, type DatePickerProps, DatePickerWithPresets, type DatePickerWithPresetsProps, type DatePreset, DateRangePicker, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DropdownMenu, DropdownMenuCaption, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuLargeItem, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropdownMenuUserbar, EmptyState, FileUpload, FileUploadArea, type FileUploadAreaProps, FileUploadCard, type FileUploadCardProps, type FileUploadProps, FilterButton, type FilterButtonProps, type GridSortDirection, GridTableCell, type GridTableCellProps, GridTableHeaderItem, type GridTableHeaderItemProps, GridTableRow, type GridTableRowProps, GridTableSlotItem, type GridTableSlotItemProps, HorizontalStepper, HorizontalStepperItem, type HorizontalStepperItemProps, type HorizontalStepperProps, InlineTips, Input, InputButton, type InputButtonProps, InputCaption, type InputCaptionProps, InputField, type InputFieldProps, InputStepper, type InputStepperProps, Label, LinkButton, type LinkButtonProps, MenuSearchInput, type MenuSearchInputProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageItem, type PageItemProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Paginator, type PaginatorProps, type PasswordRequirement, Popover, PopoverContent, PopoverTrigger, Progress, ProgressBar, type ProgressBarProps, RadialProgressBar, type RadialProgressBarProps, RadioButton, RadioButtonCard, RadioButtonList, type RadioButtonListProps, RadioButtonWithText, RadioCardGroup, RadioGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectInput, type SelectInputProps, SelectItem, SelectLabel, SelectMenu, SelectMenuDescription, SelectMenuFooterButton, type SelectMenuFooterButtonProps, type SelectMenuIndicator, SelectMenuItem, type SelectMenuItemProps, SelectMenuLabel, type SelectMenuLabelProps, SelectMenuLargeItem, type SelectMenuLargeItemProps, type SelectMenuProps, SelectMenuSeparator, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Toaster as ShadcnToaster, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarCard, type SidebarCardProps, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, type SidebarMenuItemProps, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderHandle, SliderInput, SliderRange, SliderRangeInput, type SlotState, type SocialBrand, SocialButton, type SocialButtonProps, SortBreadcrumb, SortBreadcrumbItem, type SortBreadcrumbItemProps, type SortBreadcrumbProps, type SortDirection, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, type StatusBadgeVariant, type StepperColorMode, StepperIcon, type StepperIconProps, StepperNumber, type StepperNumberProps, type StepperState, type StepperStep, type StepperVariant, Switch, SwitchList, type SwitchListProps, SwitchWithText, type SwitchWithTextProps, TabItem, type TabItemProps, TabList, type TabListProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableHeaderItem, TableItem, TablePagination, type TablePaginationProps, TableRow, TableRowSort, type TableSkeletonColumn, TableSkeletonRow, type TableSkeletonRowProps, Tabs, TabsContent, TabsList, TabsTrigger, TextAreaField, type TextAreaFieldProps, Textarea, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster$1 as Toaster, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, UnderlineTabItem, UnderlineTabsList, type UploadFile, Userbar, type UserbarProps, VerticalStepper, type VerticalStepperColorMode, VerticalStepperItem, type VerticalStepperItemProps, type VerticalStepperProps, type VerticalStepperStep, accordionItemVariants, avatarButtonVariants, avatarVariants, buttonGroupItemVariants, buttonVariants, cardVariants, checkboxCardVariants, checkboxVariants, checkboxWithTextVariants, chipVariants, controlButtonVariants, datePickerInputContainerVariants, dividerVariants, emptyStateVariants, extractInitials, fileUploadCardVariants, filterButtonVariants, formatBytes, gridTableHeaderItemVariants, gridTableRowVariants, gridTableSlotItemVariants, horizontalStepperItemVariants, inlineTipsVariants, inputButtonVariants, inputContainerVariants, lineVariants, linkButtonVariants, navigationMenuTriggerStyle, pageItemVariants, progressBarVariants, radialProgressBarVariants, radioButtonCardVariants, radioButtonVariants, radioButtonWithTextVariants, sidebarCardVariants, sidebarMenuItemVariants, sliderHandleVariants, socialButtonVariants, stepperIconVariants, stepperNumberVariants, tabItemVariants, tabListVariants, tableHeaderItemVariants, tableItemVariants, tableRowSortVariants, textAreaContainerVariants, toggleVariants, tooltipContentVariants, underlineTabItemVariants, underlineTabsListVariants, useSidebar, userbarVariants, validateFile };
|
|
2400
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemVariant, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Attachment, AttachmentAction, type AttachmentActionProps, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, type AttachmentMediaProps, type AttachmentProps, AttachmentTitle, AttachmentTrigger, type AttachmentTriggerProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, type AvatarGroupSize, type AvatarGroupStacking, AvatarImage, type AvatarProps, AvatarUpload, type AvatarUploadProps, Badge, type BadgeColor, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemData, type BreadcrumbItemState, type BreadcrumbItemType, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BreadcrumbVariant, Button, ButtonGroup, ButtonGroupItem, type ButtonGroupItemProps, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSize, type ButtonProps, Calendar, CalendarDayButton, type CaptionColor, Card, CardContent, CardCover, type CardCoverProps, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxCard, CheckboxList, type CheckboxListProps, CheckboxWithText, Chip, type ChipProps, CodeBlock, type CodeBlockProps, type CodeBlockTab, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlButton, type ControlButtonProps, DataRangeSlider, DataRangeSliderInput, DatePicker, DatePickerInput, type DatePickerInputProps, type DatePickerProps, DatePickerWithPresets, type DatePickerWithPresetsProps, type DatePreset, DateRangePicker, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DropdownMenu, DropdownMenuCaption, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuLargeItem, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropdownMenuUserbar, EmptyState, FileUpload, FileUploadArea, type FileUploadAreaProps, FileUploadCard, type FileUploadCardProps, type FileUploadProps, FilterButton, type FilterButtonProps, type GridSortDirection, GridTableCell, type GridTableCellProps, GridTableHeaderItem, type GridTableHeaderItemProps, GridTableRow, type GridTableRowProps, GridTableSlotItem, type GridTableSlotItemProps, HorizontalStepper, HorizontalStepperItem, type HorizontalStepperItemProps, type HorizontalStepperProps, InlineTips, Input, InputButton, type InputButtonProps, InputCaption, type InputCaptionProps, InputField, type InputFieldProps, InputStepper, type InputStepperProps, Label, LinkButton, type LinkButtonProps, MenuSearchInput, type MenuSearchInputProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageItem, type PageItemProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Paginator, type PaginatorProps, type PasswordRequirement, Popover, PopoverContent, PopoverTrigger, ProductCard, type ProductCardAuthor, type ProductCardProps, type ProductCardVariant, Progress, ProgressBar, type ProgressBarProps, RadialProgressBar, type RadialProgressBarProps, RadioButton, RadioButtonCard, RadioButtonList, type RadioButtonListProps, RadioButtonWithText, RadioCardGroup, RadioGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectInput, type SelectInputProps, SelectItem, SelectLabel, SelectMenu, SelectMenuDescription, SelectMenuFooterButton, type SelectMenuFooterButtonProps, type SelectMenuIndicator, SelectMenuItem, type SelectMenuItemProps, SelectMenuLabel, type SelectMenuLabelProps, SelectMenuLargeItem, type SelectMenuLargeItemProps, type SelectMenuProps, SelectMenuSeparator, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Toaster as ShadcnToaster, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarCard, type SidebarCardProps, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, type SidebarMenuItemProps, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignInCard, type SignInCardProps, type SignInCardVariant, Skeleton, Slider, SliderHandle, SliderInput, SliderRange, SliderRangeInput, type SlotState, type SocialBrand, SocialButton, type SocialButtonProps, SortBreadcrumb, SortBreadcrumbItem, type SortBreadcrumbItemProps, type SortBreadcrumbProps, type SortDirection, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, type StatusBadgeVariant, type StepperColorMode, StepperIcon, type StepperIconProps, StepperNumber, type StepperNumberProps, type StepperState, type StepperStep, type StepperVariant, Switch, SwitchList, type SwitchListProps, SwitchWithText, type SwitchWithTextProps, TabItem, type TabItemProps, TabList, type TabListProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableHeaderItem, TableItem, TablePagination, type TablePaginationProps, TableRow, TableRowSort, type TableSkeletonColumn, TableSkeletonRow, type TableSkeletonRowProps, Tabs, TabsContent, TabsList, TabsTrigger, TextAreaField, type TextAreaFieldProps, Textarea, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster$1 as Toaster, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, UnderlineTabItem, UnderlineTabsList, type UploadFile, Userbar, type UserbarProps, VerticalStepper, type VerticalStepperColorMode, VerticalStepperItem, type VerticalStepperItemProps, type VerticalStepperProps, type VerticalStepperStep, accordionItemVariants, attachmentVariants, avatarButtonVariants, avatarVariants, buttonGroupItemVariants, buttonVariants, cardVariants, checkboxCardVariants, checkboxVariants, checkboxWithTextVariants, chipVariants, controlButtonVariants, datePickerInputContainerVariants, dividerVariants, emptyStateVariants, extractInitials, fileUploadCardVariants, filterButtonVariants, formatBytes, gridTableHeaderItemVariants, gridTableRowVariants, gridTableSlotItemVariants, horizontalStepperItemVariants, inlineTipsVariants, inputButtonVariants, inputContainerVariants, lineVariants, linkButtonVariants, navigationMenuTriggerStyle, pageItemVariants, progressBarVariants, radialProgressBarVariants, radioButtonCardVariants, radioButtonVariants, radioButtonWithTextVariants, sidebarCardVariants, sidebarMenuItemVariants, sliderHandleVariants, socialButtonVariants, stepperIconVariants, stepperNumberVariants, tabItemVariants, tabListVariants, tableHeaderItemVariants, tableItemVariants, tableRowSortVariants, textAreaContainerVariants, toggleVariants, tooltipContentVariants, underlineTabItemVariants, underlineTabsListVariants, useSidebar, userbarVariants, validateFile };
|
package/dist/index.d.ts
CHANGED
|
@@ -66,6 +66,59 @@ declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<Ale
|
|
|
66
66
|
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
67
67
|
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
68
68
|
|
|
69
|
+
declare const buttonVariants: (props?: ({
|
|
70
|
+
variant?: "default" | "ghost" | "destructive" | "secondary" | "outline" | "ghost-muted" | null | undefined;
|
|
71
|
+
shape?: "rounded" | "pill" | null | undefined;
|
|
72
|
+
size?: "lg" | "md" | "sm" | "xs" | "2xs" | null | undefined;
|
|
73
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
74
|
+
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
75
|
+
asChild?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Renders the button as a square icon-only variant (no text, larger icon).
|
|
78
|
+
* **IMPORTANT:** You MUST supply an `aria-label` prop when `iconOnly` is true
|
|
79
|
+
* so screen readers have an accessible name, e.g.:
|
|
80
|
+
* `<Button iconOnly aria-label="Open settings"><SettingsIcon /></Button>`
|
|
81
|
+
*/
|
|
82
|
+
iconOnly?: boolean;
|
|
83
|
+
/** Activates loading state: shows spinner, loading background, disables button */
|
|
84
|
+
loading?: boolean;
|
|
85
|
+
/** Story-only toggle — consumed by Storybook render, stripped here to prevent DOM warning */
|
|
86
|
+
leadIcon?: boolean;
|
|
87
|
+
/** Story-only toggle — consumed by Storybook render, stripped here to prevent DOM warning */
|
|
88
|
+
tailIcon?: boolean;
|
|
89
|
+
/** Keyboard shortcut badge rendered before children (e.g. "⌘K"). Ignored when iconOnly or asChild. */
|
|
90
|
+
badgeLeft?: string;
|
|
91
|
+
/** Keyboard shortcut badge rendered after children (e.g. "/"). Ignored when iconOnly or asChild. */
|
|
92
|
+
badgeRight?: string;
|
|
93
|
+
}
|
|
94
|
+
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
95
|
+
|
|
96
|
+
declare const attachmentVariants: (props?: ({
|
|
97
|
+
size?: "default" | "sm" | "xs" | null | undefined;
|
|
98
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
99
|
+
state?: "done" | "idle" | "uploading" | "processing" | "error" | null | undefined;
|
|
100
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
101
|
+
interface AttachmentProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof attachmentVariants> {
|
|
102
|
+
}
|
|
103
|
+
declare const Attachment: React$1.ForwardRefExoticComponent<AttachmentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
104
|
+
interface AttachmentMediaProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
105
|
+
/** Icon slot (default) or full image thumbnail. */
|
|
106
|
+
variant?: "icon" | "image";
|
|
107
|
+
}
|
|
108
|
+
declare const AttachmentMedia: React$1.ForwardRefExoticComponent<AttachmentMediaProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
109
|
+
declare const AttachmentContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
110
|
+
declare const AttachmentTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
111
|
+
declare const AttachmentDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
112
|
+
declare const AttachmentActions: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
113
|
+
interface AttachmentActionProps extends Omit<ButtonProps, "variant" | "iconOnly"> {
|
|
114
|
+
}
|
|
115
|
+
declare const AttachmentAction: React$1.ForwardRefExoticComponent<AttachmentActionProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
116
|
+
interface AttachmentTriggerProps extends React$1.ComponentPropsWithoutRef<"button"> {
|
|
117
|
+
asChild?: boolean;
|
|
118
|
+
}
|
|
119
|
+
declare const AttachmentTrigger: React$1.ForwardRefExoticComponent<AttachmentTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
120
|
+
declare const AttachmentGroup: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
121
|
+
|
|
69
122
|
type StatusBadgeVariant = "verified" | "company" | "online" | "offline" | "busy" | "away";
|
|
70
123
|
type StatusBadgeSize = "2xs" | "xs" | "sm" | "md" | "lg" | "default";
|
|
71
124
|
interface StatusBadgeProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
@@ -279,33 +332,6 @@ interface SortBreadcrumbItemProps {
|
|
|
279
332
|
}
|
|
280
333
|
declare function SortBreadcrumbItem({ label, href, type, state, leadIcon, icon, avatarSrc, avatarAlt, className, }: SortBreadcrumbItemProps): react_jsx_runtime.JSX.Element;
|
|
281
334
|
|
|
282
|
-
declare const buttonVariants: (props?: ({
|
|
283
|
-
variant?: "default" | "ghost" | "destructive" | "secondary" | "outline" | "ghost-muted" | null | undefined;
|
|
284
|
-
shape?: "rounded" | "pill" | null | undefined;
|
|
285
|
-
size?: "lg" | "md" | "sm" | "xs" | "2xs" | null | undefined;
|
|
286
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
287
|
-
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
288
|
-
asChild?: boolean;
|
|
289
|
-
/**
|
|
290
|
-
* Renders the button as a square icon-only variant (no text, larger icon).
|
|
291
|
-
* **IMPORTANT:** You MUST supply an `aria-label` prop when `iconOnly` is true
|
|
292
|
-
* so screen readers have an accessible name, e.g.:
|
|
293
|
-
* `<Button iconOnly aria-label="Open settings"><SettingsIcon /></Button>`
|
|
294
|
-
*/
|
|
295
|
-
iconOnly?: boolean;
|
|
296
|
-
/** Activates loading state: shows spinner, loading background, disables button */
|
|
297
|
-
loading?: boolean;
|
|
298
|
-
/** Story-only toggle — consumed by Storybook render, stripped here to prevent DOM warning */
|
|
299
|
-
leadIcon?: boolean;
|
|
300
|
-
/** Story-only toggle — consumed by Storybook render, stripped here to prevent DOM warning */
|
|
301
|
-
tailIcon?: boolean;
|
|
302
|
-
/** Keyboard shortcut badge rendered before children (e.g. "⌘K"). Ignored when iconOnly or asChild. */
|
|
303
|
-
badgeLeft?: string;
|
|
304
|
-
/** Keyboard shortcut badge rendered after children (e.g. "/"). Ignored when iconOnly or asChild. */
|
|
305
|
-
badgeRight?: string;
|
|
306
|
-
}
|
|
307
|
-
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
308
|
-
|
|
309
335
|
type ButtonGroupSize = "lg" | "md" | "sm" | "xs" | "2xs";
|
|
310
336
|
type ButtonGroupOrientation = "horizontal" | "vertical";
|
|
311
337
|
interface ButtonGroupProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
@@ -1092,7 +1118,7 @@ interface GridTableCellProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
1092
1118
|
declare const GridTableCell: React$1.ForwardRefExoticComponent<GridTableCellProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1093
1119
|
|
|
1094
1120
|
declare const gridTableSlotItemVariants: (props?: ({
|
|
1095
|
-
variant?: "number" | "default" | "checkbox" | "
|
|
1121
|
+
variant?: "number" | "default" | "checkbox" | "icon" | "avatar" | "badge" | "empty" | "progressBar" | null | undefined;
|
|
1096
1122
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1097
1123
|
type SlotState = "default" | "selected" | "failed";
|
|
1098
1124
|
interface GridTableSlotItemProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof gridTableSlotItemVariants> {
|
|
@@ -1414,6 +1440,40 @@ declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
|
1414
1440
|
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1415
1441
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1416
1442
|
|
|
1443
|
+
type ProductCardVariant = "minimal" | "featured" | "detailed" | "author" | "overlay" | "compact";
|
|
1444
|
+
interface ProductCardAuthor {
|
|
1445
|
+
name: string;
|
|
1446
|
+
category?: string;
|
|
1447
|
+
avatar?: string;
|
|
1448
|
+
}
|
|
1449
|
+
interface ProductCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1450
|
+
/** Card layout variant */
|
|
1451
|
+
variant?: ProductCardVariant;
|
|
1452
|
+
/** Product title */
|
|
1453
|
+
title?: string;
|
|
1454
|
+
/** Price display (e.g. "$48") */
|
|
1455
|
+
price?: string;
|
|
1456
|
+
/** Cover image URL */
|
|
1457
|
+
image?: string;
|
|
1458
|
+
/** Date string (e.g. "March 13, 2025") */
|
|
1459
|
+
date?: string;
|
|
1460
|
+
/** Description text — used in `detailed` variant */
|
|
1461
|
+
description?: string;
|
|
1462
|
+
/** Badge tag labels — used in `featured` and `detailed` variants */
|
|
1463
|
+
tags?: string[];
|
|
1464
|
+
/** Author info — used in `author` variant */
|
|
1465
|
+
author?: ProductCardAuthor;
|
|
1466
|
+
/** Numeric rating — shown as badge in `minimal` variant (hidden when undefined or 0) */
|
|
1467
|
+
rating?: number;
|
|
1468
|
+
/** CTA button label */
|
|
1469
|
+
ctaLabel?: string;
|
|
1470
|
+
/** CTA button click handler */
|
|
1471
|
+
onCta?: () => void;
|
|
1472
|
+
/** Thumbnail image URL — used in `compact` variant (falls back to `image`) */
|
|
1473
|
+
thumbnail?: string;
|
|
1474
|
+
}
|
|
1475
|
+
declare const ProductCard: React$1.ForwardRefExoticComponent<ProductCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1476
|
+
|
|
1417
1477
|
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1418
1478
|
|
|
1419
1479
|
declare const progressBarVariants: (props?: ({
|
|
@@ -1804,6 +1864,35 @@ interface SidebarMenuItemProps extends Omit<React$1.ButtonHTMLAttributes<HTMLBut
|
|
|
1804
1864
|
}
|
|
1805
1865
|
declare const SidebarMenuItem: React$1.ForwardRefExoticComponent<SidebarMenuItemProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1806
1866
|
|
|
1867
|
+
type SignInCardVariant = "simple" | "centered" | "social" | "email-only";
|
|
1868
|
+
interface SignInCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
1869
|
+
/** Card layout variant */
|
|
1870
|
+
variant?: SignInCardVariant;
|
|
1871
|
+
/** Heading text */
|
|
1872
|
+
title?: string;
|
|
1873
|
+
/** Subtitle / description text */
|
|
1874
|
+
subtitle?: string;
|
|
1875
|
+
/** Logo / brand element rendered above the heading */
|
|
1876
|
+
logo?: React$1.ReactNode;
|
|
1877
|
+
/** Show "Remember me" checkbox — applies to simple + centered */
|
|
1878
|
+
showRememberMe?: boolean;
|
|
1879
|
+
/** Show "Reset password" link in password label tail — applies to simple + centered */
|
|
1880
|
+
showResetPassword?: boolean;
|
|
1881
|
+
/** Show "Single sign-on (SSO)" button below Sign In — centered only */
|
|
1882
|
+
showSso?: boolean;
|
|
1883
|
+
/** Social provider brands to display — social variant */
|
|
1884
|
+
socialProviders?: SocialBrand[];
|
|
1885
|
+
/** Override the primary CTA button label */
|
|
1886
|
+
ctaLabel?: string;
|
|
1887
|
+
/** Footer prompt text (before the link) */
|
|
1888
|
+
footerText?: string;
|
|
1889
|
+
/** Footer link label */
|
|
1890
|
+
footerLinkText?: string;
|
|
1891
|
+
/** Footer link click handler */
|
|
1892
|
+
onFooterClick?: () => void;
|
|
1893
|
+
}
|
|
1894
|
+
declare const SignInCard: React$1.ForwardRefExoticComponent<SignInCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1895
|
+
|
|
1807
1896
|
declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1808
1897
|
|
|
1809
1898
|
interface SliderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
@@ -2308,4 +2397,4 @@ interface VerticalStepperItemProps extends React$1.HTMLAttributes<HTMLDivElement
|
|
|
2308
2397
|
}
|
|
2309
2398
|
declare const VerticalStepperItem: React$1.ForwardRefExoticComponent<VerticalStepperItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2310
2399
|
|
|
2311
|
-
export { Accordion, AccordionContent, AccordionItem, type AccordionItemVariant, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarButton, type AvatarButtonProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, type AvatarGroupSize, type AvatarGroupStacking, AvatarImage, type AvatarProps, AvatarUpload, type AvatarUploadProps, Badge, type BadgeColor, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemData, type BreadcrumbItemState, type BreadcrumbItemType, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BreadcrumbVariant, Button, ButtonGroup, ButtonGroupItem, type ButtonGroupItemProps, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSize, type ButtonProps, Calendar, CalendarDayButton, type CaptionColor, Card, CardContent, CardCover, type CardCoverProps, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxCard, CheckboxList, type CheckboxListProps, CheckboxWithText, Chip, type ChipProps, CodeBlock, type CodeBlockProps, type CodeBlockTab, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlButton, type ControlButtonProps, DataRangeSlider, DataRangeSliderInput, DatePicker, DatePickerInput, type DatePickerInputProps, type DatePickerProps, DatePickerWithPresets, type DatePickerWithPresetsProps, type DatePreset, DateRangePicker, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DropdownMenu, DropdownMenuCaption, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuLargeItem, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropdownMenuUserbar, EmptyState, FileUpload, FileUploadArea, type FileUploadAreaProps, FileUploadCard, type FileUploadCardProps, type FileUploadProps, FilterButton, type FilterButtonProps, type GridSortDirection, GridTableCell, type GridTableCellProps, GridTableHeaderItem, type GridTableHeaderItemProps, GridTableRow, type GridTableRowProps, GridTableSlotItem, type GridTableSlotItemProps, HorizontalStepper, HorizontalStepperItem, type HorizontalStepperItemProps, type HorizontalStepperProps, InlineTips, Input, InputButton, type InputButtonProps, InputCaption, type InputCaptionProps, InputField, type InputFieldProps, InputStepper, type InputStepperProps, Label, LinkButton, type LinkButtonProps, MenuSearchInput, type MenuSearchInputProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageItem, type PageItemProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Paginator, type PaginatorProps, type PasswordRequirement, Popover, PopoverContent, PopoverTrigger, Progress, ProgressBar, type ProgressBarProps, RadialProgressBar, type RadialProgressBarProps, RadioButton, RadioButtonCard, RadioButtonList, type RadioButtonListProps, RadioButtonWithText, RadioCardGroup, RadioGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectInput, type SelectInputProps, SelectItem, SelectLabel, SelectMenu, SelectMenuDescription, SelectMenuFooterButton, type SelectMenuFooterButtonProps, type SelectMenuIndicator, SelectMenuItem, type SelectMenuItemProps, SelectMenuLabel, type SelectMenuLabelProps, SelectMenuLargeItem, type SelectMenuLargeItemProps, type SelectMenuProps, SelectMenuSeparator, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Toaster as ShadcnToaster, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarCard, type SidebarCardProps, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, type SidebarMenuItemProps, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderHandle, SliderInput, SliderRange, SliderRangeInput, type SlotState, type SocialBrand, SocialButton, type SocialButtonProps, SortBreadcrumb, SortBreadcrumbItem, type SortBreadcrumbItemProps, type SortBreadcrumbProps, type SortDirection, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, type StatusBadgeVariant, type StepperColorMode, StepperIcon, type StepperIconProps, StepperNumber, type StepperNumberProps, type StepperState, type StepperStep, type StepperVariant, Switch, SwitchList, type SwitchListProps, SwitchWithText, type SwitchWithTextProps, TabItem, type TabItemProps, TabList, type TabListProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableHeaderItem, TableItem, TablePagination, type TablePaginationProps, TableRow, TableRowSort, type TableSkeletonColumn, TableSkeletonRow, type TableSkeletonRowProps, Tabs, TabsContent, TabsList, TabsTrigger, TextAreaField, type TextAreaFieldProps, Textarea, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster$1 as Toaster, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, UnderlineTabItem, UnderlineTabsList, type UploadFile, Userbar, type UserbarProps, VerticalStepper, type VerticalStepperColorMode, VerticalStepperItem, type VerticalStepperItemProps, type VerticalStepperProps, type VerticalStepperStep, accordionItemVariants, avatarButtonVariants, avatarVariants, buttonGroupItemVariants, buttonVariants, cardVariants, checkboxCardVariants, checkboxVariants, checkboxWithTextVariants, chipVariants, controlButtonVariants, datePickerInputContainerVariants, dividerVariants, emptyStateVariants, extractInitials, fileUploadCardVariants, filterButtonVariants, formatBytes, gridTableHeaderItemVariants, gridTableRowVariants, gridTableSlotItemVariants, horizontalStepperItemVariants, inlineTipsVariants, inputButtonVariants, inputContainerVariants, lineVariants, linkButtonVariants, navigationMenuTriggerStyle, pageItemVariants, progressBarVariants, radialProgressBarVariants, radioButtonCardVariants, radioButtonVariants, radioButtonWithTextVariants, sidebarCardVariants, sidebarMenuItemVariants, sliderHandleVariants, socialButtonVariants, stepperIconVariants, stepperNumberVariants, tabItemVariants, tabListVariants, tableHeaderItemVariants, tableItemVariants, tableRowSortVariants, textAreaContainerVariants, toggleVariants, tooltipContentVariants, underlineTabItemVariants, underlineTabsListVariants, useSidebar, userbarVariants, validateFile };
|
|
2400
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemVariant, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Attachment, AttachmentAction, type AttachmentActionProps, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, type AttachmentMediaProps, type AttachmentProps, AttachmentTitle, AttachmentTrigger, type AttachmentTriggerProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarFallback, type AvatarFallbackProps, AvatarGroup, type AvatarGroupProps, type AvatarGroupSize, type AvatarGroupStacking, AvatarImage, type AvatarProps, AvatarUpload, type AvatarUploadProps, Badge, type BadgeColor, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemData, type BreadcrumbItemState, type BreadcrumbItemType, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BreadcrumbVariant, Button, ButtonGroup, ButtonGroupItem, type ButtonGroupItemProps, type ButtonGroupOrientation, type ButtonGroupProps, type ButtonGroupSize, type ButtonProps, Calendar, CalendarDayButton, type CaptionColor, Card, CardContent, CardCover, type CardCoverProps, CardDescription, CardFooter, CardHeader, type CardProps, CardTitle, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxCard, CheckboxList, type CheckboxListProps, CheckboxWithText, Chip, type ChipProps, CodeBlock, type CodeBlockProps, type CodeBlockTab, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ControlButton, type ControlButtonProps, DataRangeSlider, DataRangeSliderInput, DatePicker, DatePickerInput, type DatePickerInputProps, type DatePickerProps, DatePickerWithPresets, type DatePickerWithPresetsProps, type DatePreset, DateRangePicker, type DateRangePickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, type DividerProps, DropdownMenu, DropdownMenuCaption, DropdownMenuCheckboxItem, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuLargeItem, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DropdownMenuUserbar, EmptyState, FileUpload, FileUploadArea, type FileUploadAreaProps, FileUploadCard, type FileUploadCardProps, type FileUploadProps, FilterButton, type FilterButtonProps, type GridSortDirection, GridTableCell, type GridTableCellProps, GridTableHeaderItem, type GridTableHeaderItemProps, GridTableRow, type GridTableRowProps, GridTableSlotItem, type GridTableSlotItemProps, HorizontalStepper, HorizontalStepperItem, type HorizontalStepperItemProps, type HorizontalStepperProps, InlineTips, Input, InputButton, type InputButtonProps, InputCaption, type InputCaptionProps, InputField, type InputFieldProps, InputStepper, type InputStepperProps, Label, LinkButton, type LinkButtonProps, MenuSearchInput, type MenuSearchInputProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, PageItem, type PageItemProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Paginator, type PaginatorProps, type PasswordRequirement, Popover, PopoverContent, PopoverTrigger, ProductCard, type ProductCardAuthor, type ProductCardProps, type ProductCardVariant, Progress, ProgressBar, type ProgressBarProps, RadialProgressBar, type RadialProgressBarProps, RadioButton, RadioButtonCard, RadioButtonList, type RadioButtonListProps, RadioButtonWithText, RadioCardGroup, RadioGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectInput, type SelectInputProps, SelectItem, SelectLabel, SelectMenu, SelectMenuDescription, SelectMenuFooterButton, type SelectMenuFooterButtonProps, type SelectMenuIndicator, SelectMenuItem, type SelectMenuItemProps, SelectMenuLabel, type SelectMenuLabelProps, SelectMenuLargeItem, type SelectMenuLargeItemProps, type SelectMenuProps, SelectMenuSeparator, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Toaster as ShadcnToaster, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarCard, type SidebarCardProps, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, type SidebarMenuItemProps, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SignInCard, type SignInCardProps, type SignInCardVariant, Skeleton, Slider, SliderHandle, SliderInput, SliderRange, SliderRangeInput, type SlotState, type SocialBrand, SocialButton, type SocialButtonProps, SortBreadcrumb, SortBreadcrumbItem, type SortBreadcrumbItemProps, type SortBreadcrumbProps, type SortDirection, StatusBadge, type StatusBadgeProps, type StatusBadgeSize, type StatusBadgeVariant, type StepperColorMode, StepperIcon, type StepperIconProps, StepperNumber, type StepperNumberProps, type StepperState, type StepperStep, type StepperVariant, Switch, SwitchList, type SwitchListProps, SwitchWithText, type SwitchWithTextProps, TabItem, type TabItemProps, TabList, type TabListProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableHeaderItem, TableItem, TablePagination, type TablePaginationProps, TableRow, TableRowSort, type TableSkeletonColumn, TableSkeletonRow, type TableSkeletonRowProps, Tabs, TabsContent, TabsList, TabsTrigger, TextAreaField, type TextAreaFieldProps, Textarea, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster$1 as Toaster, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, UnderlineTabItem, UnderlineTabsList, type UploadFile, Userbar, type UserbarProps, VerticalStepper, type VerticalStepperColorMode, VerticalStepperItem, type VerticalStepperItemProps, type VerticalStepperProps, type VerticalStepperStep, accordionItemVariants, attachmentVariants, avatarButtonVariants, avatarVariants, buttonGroupItemVariants, buttonVariants, cardVariants, checkboxCardVariants, checkboxVariants, checkboxWithTextVariants, chipVariants, controlButtonVariants, datePickerInputContainerVariants, dividerVariants, emptyStateVariants, extractInitials, fileUploadCardVariants, filterButtonVariants, formatBytes, gridTableHeaderItemVariants, gridTableRowVariants, gridTableSlotItemVariants, horizontalStepperItemVariants, inlineTipsVariants, inputButtonVariants, inputContainerVariants, lineVariants, linkButtonVariants, navigationMenuTriggerStyle, pageItemVariants, progressBarVariants, radialProgressBarVariants, radioButtonCardVariants, radioButtonVariants, radioButtonWithTextVariants, sidebarCardVariants, sidebarMenuItemVariants, sliderHandleVariants, socialButtonVariants, stepperIconVariants, stepperNumberVariants, tabItemVariants, tabListVariants, tableHeaderItemVariants, tableItemVariants, tableRowSortVariants, textAreaContainerVariants, toggleVariants, tooltipContentVariants, underlineTabItemVariants, underlineTabsListVariants, useSidebar, userbarVariants, validateFile };
|