@facter/ds-core 1.34.0 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +65 -19
- package/dist/index.d.ts +65 -19
- package/dist/index.js +217 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +215 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -18,7 +18,6 @@ import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
|
18
18
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
19
19
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
20
20
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
21
|
-
import { LucideIcon } from 'lucide-react';
|
|
22
21
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
23
22
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
24
23
|
import { ClassValue } from 'clsx';
|
|
@@ -830,6 +829,24 @@ declare const toast: ((message: string) => string | number) & {
|
|
|
830
829
|
};
|
|
831
830
|
};
|
|
832
831
|
|
|
832
|
+
interface NumberStepperProps {
|
|
833
|
+
value?: number;
|
|
834
|
+
onChange?: (value: number) => void;
|
|
835
|
+
onBlur?: () => void;
|
|
836
|
+
min?: number;
|
|
837
|
+
max?: number;
|
|
838
|
+
step?: number;
|
|
839
|
+
defaultValue?: number;
|
|
840
|
+
label?: string;
|
|
841
|
+
required?: boolean;
|
|
842
|
+
disabled?: boolean;
|
|
843
|
+
error?: boolean;
|
|
844
|
+
labelSuffix?: React$1.ReactNode;
|
|
845
|
+
className?: string;
|
|
846
|
+
name?: string;
|
|
847
|
+
}
|
|
848
|
+
declare const NumberStepper: React$1.ForwardRefExoticComponent<NumberStepperProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
849
|
+
|
|
833
850
|
declare const checkboxVariants: (props?: ({
|
|
834
851
|
variant?: "default" | "outline" | "secondary" | "muted" | null | undefined;
|
|
835
852
|
size?: "sm" | "lg" | "md" | null | undefined;
|
|
@@ -861,7 +878,7 @@ interface TextareaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextArea
|
|
|
861
878
|
declare const Textarea: React$1.NamedExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
862
879
|
|
|
863
880
|
interface FormContextValue<T extends FieldValues = FieldValues> {
|
|
864
|
-
form: UseFormReturn<T>;
|
|
881
|
+
form: UseFormReturn<T, any, any>;
|
|
865
882
|
}
|
|
866
883
|
interface FormFieldContextValue {
|
|
867
884
|
name: string;
|
|
@@ -1018,6 +1035,19 @@ declare namespace FormRadioGroup {
|
|
|
1018
1035
|
var displayName: string;
|
|
1019
1036
|
}
|
|
1020
1037
|
|
|
1038
|
+
interface FormNumberStepperProps<T extends FieldValues = FieldValues> extends BaseFieldProps<T> {
|
|
1039
|
+
min?: number;
|
|
1040
|
+
max?: number;
|
|
1041
|
+
step?: number;
|
|
1042
|
+
defaultValue?: number;
|
|
1043
|
+
hideError?: boolean;
|
|
1044
|
+
tooltip?: FieldTooltip;
|
|
1045
|
+
}
|
|
1046
|
+
declare function FormNumberStepper<T extends FieldValues = FieldValues>({ name, label, description, tooltip, required, disabled, className, min, max, step, defaultValue, hideError, }: FormNumberStepperProps<T>): react_jsx_runtime.JSX.Element;
|
|
1047
|
+
declare namespace FormNumberStepper {
|
|
1048
|
+
var displayName: string;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1021
1051
|
declare function useFormFieldContext(): FormFieldContextValue;
|
|
1022
1052
|
interface FormFieldProviderProps {
|
|
1023
1053
|
name: string;
|
|
@@ -1026,7 +1056,7 @@ interface FormFieldProviderProps {
|
|
|
1026
1056
|
declare function FormFieldProvider({ name, children }: FormFieldProviderProps): react_jsx_runtime.JSX.Element;
|
|
1027
1057
|
|
|
1028
1058
|
interface FormRootProps<T extends FieldValues = FieldValues> extends Omit<React$1.FormHTMLAttributes<HTMLFormElement>, 'onSubmit' | 'onError'> {
|
|
1029
|
-
form: UseFormReturn<T>;
|
|
1059
|
+
form: UseFormReturn<T, any, any>;
|
|
1030
1060
|
onSubmit: SubmitHandler<T>;
|
|
1031
1061
|
onError?: SubmitErrorHandler<T>;
|
|
1032
1062
|
}
|
|
@@ -1043,6 +1073,7 @@ declare const Form: typeof FormRoot & {
|
|
|
1043
1073
|
Checkbox: typeof FormCheckbox;
|
|
1044
1074
|
Switch: typeof FormSwitch;
|
|
1045
1075
|
RadioGroup: typeof FormRadioGroup;
|
|
1076
|
+
NumberStepper: typeof FormNumberStepper;
|
|
1046
1077
|
Label: React$1.ForwardRefExoticComponent<FormLabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1047
1078
|
Description: React$1.ForwardRefExoticComponent<FormDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1048
1079
|
Error: React$1.ForwardRefExoticComponent<FormErrorProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -1255,6 +1286,9 @@ declare const AuthLayout: typeof AuthLayoutRoot & {
|
|
|
1255
1286
|
Divider: typeof AuthLayoutDivider;
|
|
1256
1287
|
};
|
|
1257
1288
|
|
|
1289
|
+
type IconComponent$2 = React$1.ComponentType<{
|
|
1290
|
+
className?: string;
|
|
1291
|
+
}>;
|
|
1258
1292
|
interface SelectionLayoutProps {
|
|
1259
1293
|
children: React$1.ReactNode;
|
|
1260
1294
|
className?: string;
|
|
@@ -1302,7 +1336,7 @@ interface SelectionLayoutTabsProps {
|
|
|
1302
1336
|
interface SelectionLayoutTabProps {
|
|
1303
1337
|
value: string;
|
|
1304
1338
|
label: string;
|
|
1305
|
-
icon?:
|
|
1339
|
+
icon?: IconComponent$2;
|
|
1306
1340
|
badge?: string | number;
|
|
1307
1341
|
className?: string;
|
|
1308
1342
|
}
|
|
@@ -1314,7 +1348,7 @@ interface SelectionLayoutCardProps {
|
|
|
1314
1348
|
children?: React$1.ReactNode;
|
|
1315
1349
|
className?: string;
|
|
1316
1350
|
onClick?: () => void;
|
|
1317
|
-
icon?:
|
|
1351
|
+
icon?: IconComponent$2 | React$1.ReactNode;
|
|
1318
1352
|
title: string;
|
|
1319
1353
|
description?: string;
|
|
1320
1354
|
badge?: React$1.ReactNode;
|
|
@@ -1322,7 +1356,7 @@ interface SelectionLayoutCardProps {
|
|
|
1322
1356
|
onFavoriteClick?: () => void;
|
|
1323
1357
|
}
|
|
1324
1358
|
interface SelectionLayoutEmptyProps {
|
|
1325
|
-
icon?:
|
|
1359
|
+
icon?: IconComponent$2;
|
|
1326
1360
|
title: string;
|
|
1327
1361
|
description?: string;
|
|
1328
1362
|
action?: React$1.ReactNode;
|
|
@@ -1396,6 +1430,9 @@ declare const SelectionLayout: typeof SelectionLayoutRoot & {
|
|
|
1396
1430
|
Empty: typeof SelectionLayoutEmpty;
|
|
1397
1431
|
};
|
|
1398
1432
|
|
|
1433
|
+
type IconComponent$1 = React.ComponentType<{
|
|
1434
|
+
className?: string;
|
|
1435
|
+
}>;
|
|
1399
1436
|
interface DashboardLayoutContextValue {
|
|
1400
1437
|
sidebarExpanded: boolean;
|
|
1401
1438
|
setSidebarExpanded: (expanded: boolean) => void;
|
|
@@ -1429,7 +1466,7 @@ interface DashboardLayoutSidebarNavProps {
|
|
|
1429
1466
|
className?: string;
|
|
1430
1467
|
}
|
|
1431
1468
|
interface DashboardLayoutSidebarNavItemProps {
|
|
1432
|
-
icon?:
|
|
1469
|
+
icon?: IconComponent$1 | React.ReactNode;
|
|
1433
1470
|
label: string;
|
|
1434
1471
|
href?: string;
|
|
1435
1472
|
onClick?: () => void;
|
|
@@ -1440,7 +1477,7 @@ interface DashboardLayoutSidebarNavItemProps {
|
|
|
1440
1477
|
disabled?: boolean;
|
|
1441
1478
|
}
|
|
1442
1479
|
interface DashboardLayoutSidebarNavGroupProps {
|
|
1443
|
-
icon?:
|
|
1480
|
+
icon?: IconComponent$1 | React.ReactNode;
|
|
1444
1481
|
label: string;
|
|
1445
1482
|
children: React.ReactNode;
|
|
1446
1483
|
defaultOpen?: boolean;
|
|
@@ -1488,7 +1525,7 @@ interface DashboardLayoutBreadcrumbsProps {
|
|
|
1488
1525
|
items: Array<{
|
|
1489
1526
|
label: string;
|
|
1490
1527
|
href?: string;
|
|
1491
|
-
icon?:
|
|
1528
|
+
icon?: IconComponent$1;
|
|
1492
1529
|
}>;
|
|
1493
1530
|
className?: string;
|
|
1494
1531
|
separator?: React.ReactNode;
|
|
@@ -1498,7 +1535,7 @@ interface DashboardLayoutMobileNavProps {
|
|
|
1498
1535
|
className?: string;
|
|
1499
1536
|
}
|
|
1500
1537
|
interface DashboardLayoutMobileNavItemProps {
|
|
1501
|
-
icon:
|
|
1538
|
+
icon: IconComponent$1;
|
|
1502
1539
|
label: string;
|
|
1503
1540
|
href?: string;
|
|
1504
1541
|
onClick?: () => void;
|
|
@@ -1589,6 +1626,9 @@ declare const DashboardLayout: typeof DashboardLayoutRoot & {
|
|
|
1589
1626
|
MobileNavItem: typeof DashboardLayoutMobileNavItem;
|
|
1590
1627
|
};
|
|
1591
1628
|
|
|
1629
|
+
type IconComponent = React.ComponentType<{
|
|
1630
|
+
className?: string;
|
|
1631
|
+
}>;
|
|
1592
1632
|
interface SidebarContextValue {
|
|
1593
1633
|
expanded: boolean;
|
|
1594
1634
|
setExpanded: (expanded: boolean) => void;
|
|
@@ -1626,7 +1666,7 @@ interface SidebarSectionProps {
|
|
|
1626
1666
|
}
|
|
1627
1667
|
type BadgeVariant = 'default' | 'notification' | 'success' | 'warning';
|
|
1628
1668
|
interface SidebarNavItemProps {
|
|
1629
|
-
icon?:
|
|
1669
|
+
icon?: IconComponent | React.ReactNode;
|
|
1630
1670
|
label: string;
|
|
1631
1671
|
href?: string;
|
|
1632
1672
|
onClick?: () => void;
|
|
@@ -1637,7 +1677,7 @@ interface SidebarNavItemProps {
|
|
|
1637
1677
|
className?: string;
|
|
1638
1678
|
}
|
|
1639
1679
|
interface SidebarNavGroupProps {
|
|
1640
|
-
icon?:
|
|
1680
|
+
icon?: IconComponent | React.ReactNode;
|
|
1641
1681
|
label: string;
|
|
1642
1682
|
children: React.ReactNode;
|
|
1643
1683
|
id?: string;
|
|
@@ -1653,7 +1693,7 @@ interface SidebarFooterUser {
|
|
|
1653
1693
|
avatar?: string;
|
|
1654
1694
|
}
|
|
1655
1695
|
interface SidebarFooterMenuItem {
|
|
1656
|
-
icon?:
|
|
1696
|
+
icon?: IconComponent;
|
|
1657
1697
|
label: string;
|
|
1658
1698
|
onClick: () => void;
|
|
1659
1699
|
variant?: 'default' | 'destructive';
|
|
@@ -1713,7 +1753,9 @@ declare function useSidebarOptional(): SidebarContextValue | null;
|
|
|
1713
1753
|
declare function useMediaQuery(query: string): boolean;
|
|
1714
1754
|
|
|
1715
1755
|
interface MobileNavItemConfig {
|
|
1716
|
-
icon:
|
|
1756
|
+
icon: React.ComponentType<{
|
|
1757
|
+
className?: string;
|
|
1758
|
+
}> | React.ReactNode;
|
|
1717
1759
|
label: string;
|
|
1718
1760
|
href?: string;
|
|
1719
1761
|
onClick?: () => void;
|
|
@@ -1730,7 +1772,9 @@ interface MobileNavProps {
|
|
|
1730
1772
|
className?: string;
|
|
1731
1773
|
}
|
|
1732
1774
|
interface MobileNavItemProps {
|
|
1733
|
-
icon:
|
|
1775
|
+
icon: React.ComponentType<{
|
|
1776
|
+
className?: string;
|
|
1777
|
+
}> | React.ReactNode;
|
|
1734
1778
|
label: string;
|
|
1735
1779
|
isActive?: boolean;
|
|
1736
1780
|
onClick?: () => void;
|
|
@@ -1861,7 +1905,9 @@ declare namespace SectionHeaderRoot {
|
|
|
1861
1905
|
var displayName: string;
|
|
1862
1906
|
}
|
|
1863
1907
|
interface SectionHeaderIconProps {
|
|
1864
|
-
icon:
|
|
1908
|
+
icon: React$1.ComponentType<{
|
|
1909
|
+
className?: string;
|
|
1910
|
+
}>;
|
|
1865
1911
|
className?: string;
|
|
1866
1912
|
}
|
|
1867
1913
|
declare function SectionHeaderIcon({ icon: Icon, className }: SectionHeaderIconProps): react_jsx_runtime.JSX.Element;
|
|
@@ -2273,7 +2319,7 @@ interface WizardProps<T extends FieldValues = FieldValues> {
|
|
|
2273
2319
|
/** Child components (Wizard.Steps, Wizard.Content, etc.) */
|
|
2274
2320
|
children: ReactNode;
|
|
2275
2321
|
/** React Hook Form instance */
|
|
2276
|
-
form: UseFormReturn<T>;
|
|
2322
|
+
form: UseFormReturn<T, any, any>;
|
|
2277
2323
|
/** Array of step configurations */
|
|
2278
2324
|
steps: WizardStepConfig<T>[];
|
|
2279
2325
|
/** Initial step index (0-based) */
|
|
@@ -2322,7 +2368,7 @@ interface WizardContextValue<T extends FieldValues = FieldValues> {
|
|
|
2322
2368
|
/** Check if a step has errors */
|
|
2323
2369
|
hasStepErrors: (index: number) => boolean;
|
|
2324
2370
|
/** React Hook Form instance */
|
|
2325
|
-
form: UseFormReturn<T>;
|
|
2371
|
+
form: UseFormReturn<T, any, any>;
|
|
2326
2372
|
/** Current step configuration */
|
|
2327
2373
|
currentStepConfig: WizardStepConfig<T>;
|
|
2328
2374
|
/** Get step config by index */
|
|
@@ -2812,4 +2858,4 @@ declare const useTheme: () => ThemeProviderState;
|
|
|
2812
2858
|
*/
|
|
2813
2859
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2814
2860
|
|
|
2815
|
-
export { AuthLayout, type AuthLayoutBodyProps, type AuthLayoutContentProps, type AuthLayoutDividerProps, type AuthLayoutFooterProps, type AuthLayoutHeaderProps, type AuthLayoutImageProps, type AuthLayoutLinkProps, type AuthLayoutProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, type BadgeVariant, type BaseFieldProps, BigNumberCard, type BigNumberCardContentProps, type BigNumberCardHeaderProps, type BigNumberCardLinkProps, type BigNumberCardRootProps, type BigNumberCardSize, type BigNumberCardSparklineProps, type BigNumberCardTitleProps, type BigNumberCardTrendProps, type BigNumberCardValueProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type ChartDataPoint, Checkbox, type CheckboxProps, type Company, DENSITY_CONFIG, DashboardLayout, type DashboardLayoutBreadcrumbsProps, type DashboardLayoutContentProps, type DashboardLayoutContextValue, type DashboardLayoutHeaderActionsProps, type DashboardLayoutHeaderProps, type DashboardLayoutHeaderTitleProps, type DashboardLayoutHeaderUserProps, type DashboardLayoutMobileNavItemProps, type DashboardLayoutMobileNavProps, type DashboardLayoutProps, type DashboardLayoutSidebarFooterProps, type DashboardLayoutSidebarHeaderProps, type DashboardLayoutSidebarNavGroupProps, type DashboardLayoutSidebarNavItemProps, type DashboardLayoutSidebarNavProps, type DashboardLayoutSidebarProps, type DashboardLayoutSidebarSectionProps, DataTable, type DataTableBulkActionsProps, type DataTableColumnHeaderProps, type DataTableColumnVisibilityProps, type DataTableContentProps, type DataTableContextValue, type DataTableDensity, type DataTableDensityToggleProps, type DataTableEmptyStateProps, type DataTableExportFormat, type DataTableExportProps, type DataTableFilterOption, type DataTableFilterProps, type DataTableFiltersProps, type DataTableLoadingProps, type DataTableMeta, type DataTablePaginationMode, type DataTablePaginationProps, type DataTableProps, type DataTableRowActionsProps, type DataTableSearchProps, type DataTableState, type DataTableTab, type DataTableTabsProps, type DataTableToolbarProps, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogWrapper, type DialogWrapperProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, FloatingBarCompound as FloatingBar, FloatingBarAction, type FloatingBarActionProps, FloatingBarCounter, type FloatingBarCounterProps, FloatingBarDivider, type FloatingBarDividerProps, FloatingBarIconAction, type FloatingBarIconActionProps, type FloatingBarProps, Form, FormCheckbox, type FormCheckboxProps, type FormContextValue, FormDescription, type FormDescriptionProps, FormError, type FormErrorProps, type FormFieldContextValue, FormFieldProvider, FormFieldWrapper, type FormFieldWrapperProps, FormInput, type FormInputProps, FormLabel, type FormLabelProps, FormRadioGroup, type FormRadioGroupProps, type FormRootProps, FormSelect, type FormSelectProps, FormSwitch, type FormSwitchProps, FormTextarea, type FormTextareaProps, GlobalLoaderController, Input, type InputProps, ItemCard, ItemCardActionButton, type ItemCardActionButtonProps, ItemCardActions, type ItemCardActionsProps, ItemCardActionsRow, type ItemCardActionsRowProps, ItemCardBadge, type ItemCardBadgeProps, ItemCardContent, ItemCardContentItem, type ItemCardContentItemProps, type ItemCardContentProps, ItemCardEmpty, type ItemCardEmptyProps, ItemCardFooter, ItemCardFooterDivider, type ItemCardFooterDividerProps, ItemCardFooterItem, type ItemCardFooterItemProps, type ItemCardFooterProps, ItemCardHeader, type ItemCardHeaderProps, ItemCardIcon, type ItemCardIconProps, ItemCardRoot, type ItemCardRootProps, ItemCardSubtitle, type ItemCardSubtitleProps, ItemCardTitle, ItemCardTitleGroup, type ItemCardTitleGroupProps, type ItemCardTitleProps, Kanban, type KanbanBoardProps, type KanbanCardProps, type KanbanColumnConfig, type KanbanColumnProps, type KanbanContextValue, type KanbanDragResult, type KanbanEmptyProps, type KanbanItem, Loader, type LoaderProps, LoaderProvider, Logo, type LogoProps, type MaskType, MobileNav, type MobileNavFabAction, MobileNavItem, type MobileNavItemConfig, type MobileNavItemProps, type MobileNavProps, Navbar, NavbarCompanyProfile, type NavbarCompanyProfileProps, NavbarNotification, type NavbarNotificationProps, type NavbarProps, NavbarUserMenu, type NavbarUserMenuProps, type NotificationItem, PageHeader, type PageHeaderProps, type PaginatedResponse, type PaginationMeta, type PaginationParams, Popover, PopoverContent, PopoverTrigger, type RadioOption, type RadioOptionColor, RippleBackground, type RippleBackgroundProps, RippleEffect, type RippleEffectProps, RippleWrapper, type RippleWrapperProps, ScrollArea, ScrollBar, SectionHeader, SectionHeaderActions, type SectionHeaderActionsProps, SectionHeaderBadge, type SectionHeaderBadgeProps, SectionHeaderContent, type SectionHeaderContentProps, SectionHeaderIcon, type SectionHeaderIconProps, SectionHeaderRoot, type SectionHeaderRootProps, SectionHeaderSubtitle, type SectionHeaderSubtitleProps, SectionHeaderTitle, type SectionHeaderTitleProps, Select, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectOption, type SelectProps, SelectSeparator, SelectionLayout, type SelectionLayoutCardProps, type SelectionLayoutEmptyProps, type SelectionLayoutHeaderProps, type SelectionLayoutHeadlineProps, type SelectionLayoutListProps, type SelectionLayoutLogoProps, type SelectionLayoutMainProps, type SelectionLayoutProps, type SelectionLayoutSearchProps, type SelectionLayoutSidebarProps, type SelectionLayoutStatsProps, type SelectionLayoutTabProps, type SelectionLayoutTabsProps, Separator, Sidebar, type SidebarContextValue, type SidebarFooterMenuItem, type SidebarFooterProps, type SidebarFooterUser, type SidebarHeaderProps, type SidebarNavGroupProps, type SidebarNavItemProps, type SidebarNavProps, type SidebarProps, type SidebarSectionProps, SimpleTooltip, type SimpleTooltipProps, Skeleton, type SkeletonProps, Sparkline, type SparklineColor, StatsCard, type StatsCardChangeProps, type StatsCardChartProps, type ColorScheme as StatsCardColorScheme, type StatsCardContentProps, type StatsCardHeaderProps, type StatsCardIconProps, type StatsCardRootProps, type StatsCardSubtitleProps, type StatsCardTitleProps, type StatsCardTodayProps, type StatsCardValueProps, type Variant as StatsCardVariant, type StepState, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, ThemeProvider, ThemeToggle, type ThemeToggleProps, Toaster, type ToasterProps, Tooltip, TooltipAction, type TooltipActionProps, TooltipActions, type TooltipActionsProps, TooltipArrow, TooltipContent, type TooltipContentProps, TooltipDescription, type TooltipDescriptionProps, TooltipHeader, type TooltipHeaderProps, TooltipIcon, type TooltipIconProps, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTitle, type TooltipTitleProps, TooltipTrigger, type UseDataTableConfig, type UserMenuItemConfig, type ValidationSchema, Wizard, WizardContent, type WizardContentProps, type WizardContextValue, WizardNavigation, type WizardNavigationProps, WizardPanel, type WizardPanelProps, WizardProgress, type WizardProgressProps, type WizardProps, WizardProvider, type WizardStepConfig, WizardStepConnector, type WizardStepConnectorProps, WizardStepIndicator, type WizardStepIndicatorProps, WizardSteps, type WizardStepsProps, cn, itemCardBadgeVariants, itemCardIconVariants, itemCardVariants, loader, toast, useAutoPageSize, useAvailableHeight, useDashboardLayout, useDataTable, useDataTableColumnVisibility, useDataTableDensity, useDataTableEmpty, useDataTableInstance, useDataTableLoading, useDataTableMeta, useDataTablePagination, useDataTableSelection, useDataTableSorting, useDataTableState, useDebounce, useDebouncedCallback, useFormFieldContext, useItemCard, useKanban, useKanbanOptional, useLoader, useMediaQuery, useSidebar, useSidebarOptional, useTheme, useWizardContext, useWizardContextOptional };
|
|
2861
|
+
export { AuthLayout, type AuthLayoutBodyProps, type AuthLayoutContentProps, type AuthLayoutDividerProps, type AuthLayoutFooterProps, type AuthLayoutHeaderProps, type AuthLayoutImageProps, type AuthLayoutLinkProps, type AuthLayoutProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, type BadgeVariant, type BaseFieldProps, BigNumberCard, type BigNumberCardContentProps, type BigNumberCardHeaderProps, type BigNumberCardLinkProps, type BigNumberCardRootProps, type BigNumberCardSize, type BigNumberCardSparklineProps, type BigNumberCardTitleProps, type BigNumberCardTrendProps, type BigNumberCardValueProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type ChartDataPoint, Checkbox, type CheckboxProps, type Company, DENSITY_CONFIG, DashboardLayout, type DashboardLayoutBreadcrumbsProps, type DashboardLayoutContentProps, type DashboardLayoutContextValue, type DashboardLayoutHeaderActionsProps, type DashboardLayoutHeaderProps, type DashboardLayoutHeaderTitleProps, type DashboardLayoutHeaderUserProps, type DashboardLayoutMobileNavItemProps, type DashboardLayoutMobileNavProps, type DashboardLayoutProps, type DashboardLayoutSidebarFooterProps, type DashboardLayoutSidebarHeaderProps, type DashboardLayoutSidebarNavGroupProps, type DashboardLayoutSidebarNavItemProps, type DashboardLayoutSidebarNavProps, type DashboardLayoutSidebarProps, type DashboardLayoutSidebarSectionProps, DataTable, type DataTableBulkActionsProps, type DataTableColumnHeaderProps, type DataTableColumnVisibilityProps, type DataTableContentProps, type DataTableContextValue, type DataTableDensity, type DataTableDensityToggleProps, type DataTableEmptyStateProps, type DataTableExportFormat, type DataTableExportProps, type DataTableFilterOption, type DataTableFilterProps, type DataTableFiltersProps, type DataTableLoadingProps, type DataTableMeta, type DataTablePaginationMode, type DataTablePaginationProps, type DataTableProps, type DataTableRowActionsProps, type DataTableSearchProps, type DataTableState, type DataTableTab, type DataTableTabsProps, type DataTableToolbarProps, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogWrapper, type DialogWrapperProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, type FieldTooltip, type FieldTooltipConfig, FloatingBarCompound as FloatingBar, FloatingBarAction, type FloatingBarActionProps, FloatingBarCounter, type FloatingBarCounterProps, FloatingBarDivider, type FloatingBarDividerProps, FloatingBarIconAction, type FloatingBarIconActionProps, type FloatingBarProps, Form, FormCheckbox, type FormCheckboxProps, type FormContextValue, FormDescription, type FormDescriptionProps, FormError, type FormErrorProps, type FormFieldContextValue, FormFieldProvider, FormFieldWrapper, type FormFieldWrapperProps, FormInput, type FormInputProps, FormLabel, type FormLabelProps, FormMultiSelect, type FormMultiSelectProps, FormNumberStepper, type FormNumberStepperProps, FormRadioGroup, type FormRadioGroupProps, type FormRootProps, FormSelect, type FormSelectProps, FormSwitch, type FormSwitchProps, FormTextarea, type FormTextareaProps, GlobalLoaderController, Input, type InputProps, ItemCard, ItemCardActionButton, type ItemCardActionButtonProps, ItemCardActions, type ItemCardActionsProps, ItemCardActionsRow, type ItemCardActionsRowProps, ItemCardBadge, type ItemCardBadgeProps, ItemCardContent, ItemCardContentItem, type ItemCardContentItemProps, type ItemCardContentProps, ItemCardEmpty, type ItemCardEmptyProps, ItemCardFooter, ItemCardFooterDivider, type ItemCardFooterDividerProps, ItemCardFooterItem, type ItemCardFooterItemProps, type ItemCardFooterProps, ItemCardHeader, type ItemCardHeaderProps, ItemCardIcon, type ItemCardIconProps, ItemCardRoot, type ItemCardRootProps, ItemCardSubtitle, type ItemCardSubtitleProps, ItemCardTitle, ItemCardTitleGroup, type ItemCardTitleGroupProps, type ItemCardTitleProps, Kanban, type KanbanBoardProps, type KanbanCardProps, type KanbanColumnConfig, type KanbanColumnProps, type KanbanContextValue, type KanbanDragResult, type KanbanEmptyProps, type KanbanItem, Loader, type LoaderProps, LoaderProvider, Logo, type LogoProps, type MaskType, MobileNav, type MobileNavFabAction, MobileNavItem, type MobileNavItemConfig, type MobileNavItemProps, type MobileNavProps, Navbar, NavbarCompanyProfile, type NavbarCompanyProfileProps, NavbarNotification, type NavbarNotificationProps, type NavbarProps, NavbarUserMenu, type NavbarUserMenuProps, type NotificationItem, NumberStepper, type NumberStepperProps, PageHeader, type PageHeaderProps, type PaginatedResponse, type PaginationMeta, type PaginationParams, Popover, PopoverContent, PopoverTrigger, type RadioOption, type RadioOptionColor, RippleBackground, type RippleBackgroundProps, RippleEffect, type RippleEffectProps, RippleWrapper, type RippleWrapperProps, ScrollArea, ScrollBar, SectionHeader, SectionHeaderActions, type SectionHeaderActionsProps, SectionHeaderBadge, type SectionHeaderBadgeProps, SectionHeaderContent, type SectionHeaderContentProps, SectionHeaderIcon, type SectionHeaderIconProps, SectionHeaderRoot, type SectionHeaderRootProps, SectionHeaderSubtitle, type SectionHeaderSubtitleProps, SectionHeaderTitle, type SectionHeaderTitleProps, Select, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectOption, type SelectProps, SelectSeparator, SelectionLayout, type SelectionLayoutCardProps, type SelectionLayoutEmptyProps, type SelectionLayoutHeaderProps, type SelectionLayoutHeadlineProps, type SelectionLayoutListProps, type SelectionLayoutLogoProps, type SelectionLayoutMainProps, type SelectionLayoutProps, type SelectionLayoutSearchProps, type SelectionLayoutSidebarProps, type SelectionLayoutStatsProps, type SelectionLayoutTabProps, type SelectionLayoutTabsProps, Separator, Sidebar, type SidebarContextValue, type SidebarFooterMenuItem, type SidebarFooterProps, type SidebarFooterUser, type SidebarHeaderProps, type SidebarNavGroupProps, type SidebarNavItemProps, type SidebarNavProps, type SidebarProps, type SidebarSectionProps, SimpleTooltip, type SimpleTooltipProps, Skeleton, type SkeletonProps, Sparkline, type SparklineColor, StatsCard, type StatsCardChangeProps, type StatsCardChartProps, type ColorScheme as StatsCardColorScheme, type StatsCardContentProps, type StatsCardHeaderProps, type StatsCardIconProps, type StatsCardRootProps, type StatsCardSubtitleProps, type StatsCardTitleProps, type StatsCardTodayProps, type StatsCardValueProps, type Variant as StatsCardVariant, type StepState, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, ThemeProvider, ThemeToggle, type ThemeToggleProps, Toaster, type ToasterProps, Tooltip, TooltipAction, type TooltipActionProps, TooltipActions, type TooltipActionsProps, TooltipArrow, TooltipContent, type TooltipContentProps, TooltipDescription, type TooltipDescriptionProps, TooltipHeader, type TooltipHeaderProps, TooltipIcon, type TooltipIconProps, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTitle, type TooltipTitleProps, TooltipTrigger, type UseDataTableConfig, type UserMenuItemConfig, type ValidationSchema, Wizard, WizardContent, type WizardContentProps, type WizardContextValue, WizardNavigation, type WizardNavigationProps, WizardPanel, type WizardPanelProps, WizardProgress, type WizardProgressProps, type WizardProps, WizardProvider, type WizardStepConfig, WizardStepConnector, type WizardStepConnectorProps, WizardStepIndicator, type WizardStepIndicatorProps, WizardSteps, type WizardStepsProps, cn, itemCardBadgeVariants, itemCardIconVariants, itemCardVariants, loader, toast, useAutoPageSize, useAvailableHeight, useDashboardLayout, useDataTable, useDataTableColumnVisibility, useDataTableDensity, useDataTableEmpty, useDataTableInstance, useDataTableLoading, useDataTableMeta, useDataTablePagination, useDataTableSelection, useDataTableSorting, useDataTableState, useDebounce, useDebouncedCallback, useFormFieldContext, useItemCard, useKanban, useKanbanOptional, useLoader, useMediaQuery, useSidebar, useSidebarOptional, useTheme, useWizardContext, useWizardContextOptional };
|
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
|
18
18
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
19
19
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
20
20
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
21
|
-
import { LucideIcon } from 'lucide-react';
|
|
22
21
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
23
22
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
24
23
|
import { ClassValue } from 'clsx';
|
|
@@ -830,6 +829,24 @@ declare const toast: ((message: string) => string | number) & {
|
|
|
830
829
|
};
|
|
831
830
|
};
|
|
832
831
|
|
|
832
|
+
interface NumberStepperProps {
|
|
833
|
+
value?: number;
|
|
834
|
+
onChange?: (value: number) => void;
|
|
835
|
+
onBlur?: () => void;
|
|
836
|
+
min?: number;
|
|
837
|
+
max?: number;
|
|
838
|
+
step?: number;
|
|
839
|
+
defaultValue?: number;
|
|
840
|
+
label?: string;
|
|
841
|
+
required?: boolean;
|
|
842
|
+
disabled?: boolean;
|
|
843
|
+
error?: boolean;
|
|
844
|
+
labelSuffix?: React$1.ReactNode;
|
|
845
|
+
className?: string;
|
|
846
|
+
name?: string;
|
|
847
|
+
}
|
|
848
|
+
declare const NumberStepper: React$1.ForwardRefExoticComponent<NumberStepperProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
849
|
+
|
|
833
850
|
declare const checkboxVariants: (props?: ({
|
|
834
851
|
variant?: "default" | "outline" | "secondary" | "muted" | null | undefined;
|
|
835
852
|
size?: "sm" | "lg" | "md" | null | undefined;
|
|
@@ -861,7 +878,7 @@ interface TextareaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextArea
|
|
|
861
878
|
declare const Textarea: React$1.NamedExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
862
879
|
|
|
863
880
|
interface FormContextValue<T extends FieldValues = FieldValues> {
|
|
864
|
-
form: UseFormReturn<T>;
|
|
881
|
+
form: UseFormReturn<T, any, any>;
|
|
865
882
|
}
|
|
866
883
|
interface FormFieldContextValue {
|
|
867
884
|
name: string;
|
|
@@ -1018,6 +1035,19 @@ declare namespace FormRadioGroup {
|
|
|
1018
1035
|
var displayName: string;
|
|
1019
1036
|
}
|
|
1020
1037
|
|
|
1038
|
+
interface FormNumberStepperProps<T extends FieldValues = FieldValues> extends BaseFieldProps<T> {
|
|
1039
|
+
min?: number;
|
|
1040
|
+
max?: number;
|
|
1041
|
+
step?: number;
|
|
1042
|
+
defaultValue?: number;
|
|
1043
|
+
hideError?: boolean;
|
|
1044
|
+
tooltip?: FieldTooltip;
|
|
1045
|
+
}
|
|
1046
|
+
declare function FormNumberStepper<T extends FieldValues = FieldValues>({ name, label, description, tooltip, required, disabled, className, min, max, step, defaultValue, hideError, }: FormNumberStepperProps<T>): react_jsx_runtime.JSX.Element;
|
|
1047
|
+
declare namespace FormNumberStepper {
|
|
1048
|
+
var displayName: string;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1021
1051
|
declare function useFormFieldContext(): FormFieldContextValue;
|
|
1022
1052
|
interface FormFieldProviderProps {
|
|
1023
1053
|
name: string;
|
|
@@ -1026,7 +1056,7 @@ interface FormFieldProviderProps {
|
|
|
1026
1056
|
declare function FormFieldProvider({ name, children }: FormFieldProviderProps): react_jsx_runtime.JSX.Element;
|
|
1027
1057
|
|
|
1028
1058
|
interface FormRootProps<T extends FieldValues = FieldValues> extends Omit<React$1.FormHTMLAttributes<HTMLFormElement>, 'onSubmit' | 'onError'> {
|
|
1029
|
-
form: UseFormReturn<T>;
|
|
1059
|
+
form: UseFormReturn<T, any, any>;
|
|
1030
1060
|
onSubmit: SubmitHandler<T>;
|
|
1031
1061
|
onError?: SubmitErrorHandler<T>;
|
|
1032
1062
|
}
|
|
@@ -1043,6 +1073,7 @@ declare const Form: typeof FormRoot & {
|
|
|
1043
1073
|
Checkbox: typeof FormCheckbox;
|
|
1044
1074
|
Switch: typeof FormSwitch;
|
|
1045
1075
|
RadioGroup: typeof FormRadioGroup;
|
|
1076
|
+
NumberStepper: typeof FormNumberStepper;
|
|
1046
1077
|
Label: React$1.ForwardRefExoticComponent<FormLabelProps & React$1.RefAttributes<HTMLLabelElement>>;
|
|
1047
1078
|
Description: React$1.ForwardRefExoticComponent<FormDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1048
1079
|
Error: React$1.ForwardRefExoticComponent<FormErrorProps & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
@@ -1255,6 +1286,9 @@ declare const AuthLayout: typeof AuthLayoutRoot & {
|
|
|
1255
1286
|
Divider: typeof AuthLayoutDivider;
|
|
1256
1287
|
};
|
|
1257
1288
|
|
|
1289
|
+
type IconComponent$2 = React$1.ComponentType<{
|
|
1290
|
+
className?: string;
|
|
1291
|
+
}>;
|
|
1258
1292
|
interface SelectionLayoutProps {
|
|
1259
1293
|
children: React$1.ReactNode;
|
|
1260
1294
|
className?: string;
|
|
@@ -1302,7 +1336,7 @@ interface SelectionLayoutTabsProps {
|
|
|
1302
1336
|
interface SelectionLayoutTabProps {
|
|
1303
1337
|
value: string;
|
|
1304
1338
|
label: string;
|
|
1305
|
-
icon?:
|
|
1339
|
+
icon?: IconComponent$2;
|
|
1306
1340
|
badge?: string | number;
|
|
1307
1341
|
className?: string;
|
|
1308
1342
|
}
|
|
@@ -1314,7 +1348,7 @@ interface SelectionLayoutCardProps {
|
|
|
1314
1348
|
children?: React$1.ReactNode;
|
|
1315
1349
|
className?: string;
|
|
1316
1350
|
onClick?: () => void;
|
|
1317
|
-
icon?:
|
|
1351
|
+
icon?: IconComponent$2 | React$1.ReactNode;
|
|
1318
1352
|
title: string;
|
|
1319
1353
|
description?: string;
|
|
1320
1354
|
badge?: React$1.ReactNode;
|
|
@@ -1322,7 +1356,7 @@ interface SelectionLayoutCardProps {
|
|
|
1322
1356
|
onFavoriteClick?: () => void;
|
|
1323
1357
|
}
|
|
1324
1358
|
interface SelectionLayoutEmptyProps {
|
|
1325
|
-
icon?:
|
|
1359
|
+
icon?: IconComponent$2;
|
|
1326
1360
|
title: string;
|
|
1327
1361
|
description?: string;
|
|
1328
1362
|
action?: React$1.ReactNode;
|
|
@@ -1396,6 +1430,9 @@ declare const SelectionLayout: typeof SelectionLayoutRoot & {
|
|
|
1396
1430
|
Empty: typeof SelectionLayoutEmpty;
|
|
1397
1431
|
};
|
|
1398
1432
|
|
|
1433
|
+
type IconComponent$1 = React.ComponentType<{
|
|
1434
|
+
className?: string;
|
|
1435
|
+
}>;
|
|
1399
1436
|
interface DashboardLayoutContextValue {
|
|
1400
1437
|
sidebarExpanded: boolean;
|
|
1401
1438
|
setSidebarExpanded: (expanded: boolean) => void;
|
|
@@ -1429,7 +1466,7 @@ interface DashboardLayoutSidebarNavProps {
|
|
|
1429
1466
|
className?: string;
|
|
1430
1467
|
}
|
|
1431
1468
|
interface DashboardLayoutSidebarNavItemProps {
|
|
1432
|
-
icon?:
|
|
1469
|
+
icon?: IconComponent$1 | React.ReactNode;
|
|
1433
1470
|
label: string;
|
|
1434
1471
|
href?: string;
|
|
1435
1472
|
onClick?: () => void;
|
|
@@ -1440,7 +1477,7 @@ interface DashboardLayoutSidebarNavItemProps {
|
|
|
1440
1477
|
disabled?: boolean;
|
|
1441
1478
|
}
|
|
1442
1479
|
interface DashboardLayoutSidebarNavGroupProps {
|
|
1443
|
-
icon?:
|
|
1480
|
+
icon?: IconComponent$1 | React.ReactNode;
|
|
1444
1481
|
label: string;
|
|
1445
1482
|
children: React.ReactNode;
|
|
1446
1483
|
defaultOpen?: boolean;
|
|
@@ -1488,7 +1525,7 @@ interface DashboardLayoutBreadcrumbsProps {
|
|
|
1488
1525
|
items: Array<{
|
|
1489
1526
|
label: string;
|
|
1490
1527
|
href?: string;
|
|
1491
|
-
icon?:
|
|
1528
|
+
icon?: IconComponent$1;
|
|
1492
1529
|
}>;
|
|
1493
1530
|
className?: string;
|
|
1494
1531
|
separator?: React.ReactNode;
|
|
@@ -1498,7 +1535,7 @@ interface DashboardLayoutMobileNavProps {
|
|
|
1498
1535
|
className?: string;
|
|
1499
1536
|
}
|
|
1500
1537
|
interface DashboardLayoutMobileNavItemProps {
|
|
1501
|
-
icon:
|
|
1538
|
+
icon: IconComponent$1;
|
|
1502
1539
|
label: string;
|
|
1503
1540
|
href?: string;
|
|
1504
1541
|
onClick?: () => void;
|
|
@@ -1589,6 +1626,9 @@ declare const DashboardLayout: typeof DashboardLayoutRoot & {
|
|
|
1589
1626
|
MobileNavItem: typeof DashboardLayoutMobileNavItem;
|
|
1590
1627
|
};
|
|
1591
1628
|
|
|
1629
|
+
type IconComponent = React.ComponentType<{
|
|
1630
|
+
className?: string;
|
|
1631
|
+
}>;
|
|
1592
1632
|
interface SidebarContextValue {
|
|
1593
1633
|
expanded: boolean;
|
|
1594
1634
|
setExpanded: (expanded: boolean) => void;
|
|
@@ -1626,7 +1666,7 @@ interface SidebarSectionProps {
|
|
|
1626
1666
|
}
|
|
1627
1667
|
type BadgeVariant = 'default' | 'notification' | 'success' | 'warning';
|
|
1628
1668
|
interface SidebarNavItemProps {
|
|
1629
|
-
icon?:
|
|
1669
|
+
icon?: IconComponent | React.ReactNode;
|
|
1630
1670
|
label: string;
|
|
1631
1671
|
href?: string;
|
|
1632
1672
|
onClick?: () => void;
|
|
@@ -1637,7 +1677,7 @@ interface SidebarNavItemProps {
|
|
|
1637
1677
|
className?: string;
|
|
1638
1678
|
}
|
|
1639
1679
|
interface SidebarNavGroupProps {
|
|
1640
|
-
icon?:
|
|
1680
|
+
icon?: IconComponent | React.ReactNode;
|
|
1641
1681
|
label: string;
|
|
1642
1682
|
children: React.ReactNode;
|
|
1643
1683
|
id?: string;
|
|
@@ -1653,7 +1693,7 @@ interface SidebarFooterUser {
|
|
|
1653
1693
|
avatar?: string;
|
|
1654
1694
|
}
|
|
1655
1695
|
interface SidebarFooterMenuItem {
|
|
1656
|
-
icon?:
|
|
1696
|
+
icon?: IconComponent;
|
|
1657
1697
|
label: string;
|
|
1658
1698
|
onClick: () => void;
|
|
1659
1699
|
variant?: 'default' | 'destructive';
|
|
@@ -1713,7 +1753,9 @@ declare function useSidebarOptional(): SidebarContextValue | null;
|
|
|
1713
1753
|
declare function useMediaQuery(query: string): boolean;
|
|
1714
1754
|
|
|
1715
1755
|
interface MobileNavItemConfig {
|
|
1716
|
-
icon:
|
|
1756
|
+
icon: React.ComponentType<{
|
|
1757
|
+
className?: string;
|
|
1758
|
+
}> | React.ReactNode;
|
|
1717
1759
|
label: string;
|
|
1718
1760
|
href?: string;
|
|
1719
1761
|
onClick?: () => void;
|
|
@@ -1730,7 +1772,9 @@ interface MobileNavProps {
|
|
|
1730
1772
|
className?: string;
|
|
1731
1773
|
}
|
|
1732
1774
|
interface MobileNavItemProps {
|
|
1733
|
-
icon:
|
|
1775
|
+
icon: React.ComponentType<{
|
|
1776
|
+
className?: string;
|
|
1777
|
+
}> | React.ReactNode;
|
|
1734
1778
|
label: string;
|
|
1735
1779
|
isActive?: boolean;
|
|
1736
1780
|
onClick?: () => void;
|
|
@@ -1861,7 +1905,9 @@ declare namespace SectionHeaderRoot {
|
|
|
1861
1905
|
var displayName: string;
|
|
1862
1906
|
}
|
|
1863
1907
|
interface SectionHeaderIconProps {
|
|
1864
|
-
icon:
|
|
1908
|
+
icon: React$1.ComponentType<{
|
|
1909
|
+
className?: string;
|
|
1910
|
+
}>;
|
|
1865
1911
|
className?: string;
|
|
1866
1912
|
}
|
|
1867
1913
|
declare function SectionHeaderIcon({ icon: Icon, className }: SectionHeaderIconProps): react_jsx_runtime.JSX.Element;
|
|
@@ -2273,7 +2319,7 @@ interface WizardProps<T extends FieldValues = FieldValues> {
|
|
|
2273
2319
|
/** Child components (Wizard.Steps, Wizard.Content, etc.) */
|
|
2274
2320
|
children: ReactNode;
|
|
2275
2321
|
/** React Hook Form instance */
|
|
2276
|
-
form: UseFormReturn<T>;
|
|
2322
|
+
form: UseFormReturn<T, any, any>;
|
|
2277
2323
|
/** Array of step configurations */
|
|
2278
2324
|
steps: WizardStepConfig<T>[];
|
|
2279
2325
|
/** Initial step index (0-based) */
|
|
@@ -2322,7 +2368,7 @@ interface WizardContextValue<T extends FieldValues = FieldValues> {
|
|
|
2322
2368
|
/** Check if a step has errors */
|
|
2323
2369
|
hasStepErrors: (index: number) => boolean;
|
|
2324
2370
|
/** React Hook Form instance */
|
|
2325
|
-
form: UseFormReturn<T>;
|
|
2371
|
+
form: UseFormReturn<T, any, any>;
|
|
2326
2372
|
/** Current step configuration */
|
|
2327
2373
|
currentStepConfig: WizardStepConfig<T>;
|
|
2328
2374
|
/** Get step config by index */
|
|
@@ -2812,4 +2858,4 @@ declare const useTheme: () => ThemeProviderState;
|
|
|
2812
2858
|
*/
|
|
2813
2859
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2814
2860
|
|
|
2815
|
-
export { AuthLayout, type AuthLayoutBodyProps, type AuthLayoutContentProps, type AuthLayoutDividerProps, type AuthLayoutFooterProps, type AuthLayoutHeaderProps, type AuthLayoutImageProps, type AuthLayoutLinkProps, type AuthLayoutProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, type BadgeVariant, type BaseFieldProps, BigNumberCard, type BigNumberCardContentProps, type BigNumberCardHeaderProps, type BigNumberCardLinkProps, type BigNumberCardRootProps, type BigNumberCardSize, type BigNumberCardSparklineProps, type BigNumberCardTitleProps, type BigNumberCardTrendProps, type BigNumberCardValueProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type ChartDataPoint, Checkbox, type CheckboxProps, type Company, DENSITY_CONFIG, DashboardLayout, type DashboardLayoutBreadcrumbsProps, type DashboardLayoutContentProps, type DashboardLayoutContextValue, type DashboardLayoutHeaderActionsProps, type DashboardLayoutHeaderProps, type DashboardLayoutHeaderTitleProps, type DashboardLayoutHeaderUserProps, type DashboardLayoutMobileNavItemProps, type DashboardLayoutMobileNavProps, type DashboardLayoutProps, type DashboardLayoutSidebarFooterProps, type DashboardLayoutSidebarHeaderProps, type DashboardLayoutSidebarNavGroupProps, type DashboardLayoutSidebarNavItemProps, type DashboardLayoutSidebarNavProps, type DashboardLayoutSidebarProps, type DashboardLayoutSidebarSectionProps, DataTable, type DataTableBulkActionsProps, type DataTableColumnHeaderProps, type DataTableColumnVisibilityProps, type DataTableContentProps, type DataTableContextValue, type DataTableDensity, type DataTableDensityToggleProps, type DataTableEmptyStateProps, type DataTableExportFormat, type DataTableExportProps, type DataTableFilterOption, type DataTableFilterProps, type DataTableFiltersProps, type DataTableLoadingProps, type DataTableMeta, type DataTablePaginationMode, type DataTablePaginationProps, type DataTableProps, type DataTableRowActionsProps, type DataTableSearchProps, type DataTableState, type DataTableTab, type DataTableTabsProps, type DataTableToolbarProps, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogWrapper, type DialogWrapperProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, FloatingBarCompound as FloatingBar, FloatingBarAction, type FloatingBarActionProps, FloatingBarCounter, type FloatingBarCounterProps, FloatingBarDivider, type FloatingBarDividerProps, FloatingBarIconAction, type FloatingBarIconActionProps, type FloatingBarProps, Form, FormCheckbox, type FormCheckboxProps, type FormContextValue, FormDescription, type FormDescriptionProps, FormError, type FormErrorProps, type FormFieldContextValue, FormFieldProvider, FormFieldWrapper, type FormFieldWrapperProps, FormInput, type FormInputProps, FormLabel, type FormLabelProps, FormRadioGroup, type FormRadioGroupProps, type FormRootProps, FormSelect, type FormSelectProps, FormSwitch, type FormSwitchProps, FormTextarea, type FormTextareaProps, GlobalLoaderController, Input, type InputProps, ItemCard, ItemCardActionButton, type ItemCardActionButtonProps, ItemCardActions, type ItemCardActionsProps, ItemCardActionsRow, type ItemCardActionsRowProps, ItemCardBadge, type ItemCardBadgeProps, ItemCardContent, ItemCardContentItem, type ItemCardContentItemProps, type ItemCardContentProps, ItemCardEmpty, type ItemCardEmptyProps, ItemCardFooter, ItemCardFooterDivider, type ItemCardFooterDividerProps, ItemCardFooterItem, type ItemCardFooterItemProps, type ItemCardFooterProps, ItemCardHeader, type ItemCardHeaderProps, ItemCardIcon, type ItemCardIconProps, ItemCardRoot, type ItemCardRootProps, ItemCardSubtitle, type ItemCardSubtitleProps, ItemCardTitle, ItemCardTitleGroup, type ItemCardTitleGroupProps, type ItemCardTitleProps, Kanban, type KanbanBoardProps, type KanbanCardProps, type KanbanColumnConfig, type KanbanColumnProps, type KanbanContextValue, type KanbanDragResult, type KanbanEmptyProps, type KanbanItem, Loader, type LoaderProps, LoaderProvider, Logo, type LogoProps, type MaskType, MobileNav, type MobileNavFabAction, MobileNavItem, type MobileNavItemConfig, type MobileNavItemProps, type MobileNavProps, Navbar, NavbarCompanyProfile, type NavbarCompanyProfileProps, NavbarNotification, type NavbarNotificationProps, type NavbarProps, NavbarUserMenu, type NavbarUserMenuProps, type NotificationItem, PageHeader, type PageHeaderProps, type PaginatedResponse, type PaginationMeta, type PaginationParams, Popover, PopoverContent, PopoverTrigger, type RadioOption, type RadioOptionColor, RippleBackground, type RippleBackgroundProps, RippleEffect, type RippleEffectProps, RippleWrapper, type RippleWrapperProps, ScrollArea, ScrollBar, SectionHeader, SectionHeaderActions, type SectionHeaderActionsProps, SectionHeaderBadge, type SectionHeaderBadgeProps, SectionHeaderContent, type SectionHeaderContentProps, SectionHeaderIcon, type SectionHeaderIconProps, SectionHeaderRoot, type SectionHeaderRootProps, SectionHeaderSubtitle, type SectionHeaderSubtitleProps, SectionHeaderTitle, type SectionHeaderTitleProps, Select, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectOption, type SelectProps, SelectSeparator, SelectionLayout, type SelectionLayoutCardProps, type SelectionLayoutEmptyProps, type SelectionLayoutHeaderProps, type SelectionLayoutHeadlineProps, type SelectionLayoutListProps, type SelectionLayoutLogoProps, type SelectionLayoutMainProps, type SelectionLayoutProps, type SelectionLayoutSearchProps, type SelectionLayoutSidebarProps, type SelectionLayoutStatsProps, type SelectionLayoutTabProps, type SelectionLayoutTabsProps, Separator, Sidebar, type SidebarContextValue, type SidebarFooterMenuItem, type SidebarFooterProps, type SidebarFooterUser, type SidebarHeaderProps, type SidebarNavGroupProps, type SidebarNavItemProps, type SidebarNavProps, type SidebarProps, type SidebarSectionProps, SimpleTooltip, type SimpleTooltipProps, Skeleton, type SkeletonProps, Sparkline, type SparklineColor, StatsCard, type StatsCardChangeProps, type StatsCardChartProps, type ColorScheme as StatsCardColorScheme, type StatsCardContentProps, type StatsCardHeaderProps, type StatsCardIconProps, type StatsCardRootProps, type StatsCardSubtitleProps, type StatsCardTitleProps, type StatsCardTodayProps, type StatsCardValueProps, type Variant as StatsCardVariant, type StepState, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, ThemeProvider, ThemeToggle, type ThemeToggleProps, Toaster, type ToasterProps, Tooltip, TooltipAction, type TooltipActionProps, TooltipActions, type TooltipActionsProps, TooltipArrow, TooltipContent, type TooltipContentProps, TooltipDescription, type TooltipDescriptionProps, TooltipHeader, type TooltipHeaderProps, TooltipIcon, type TooltipIconProps, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTitle, type TooltipTitleProps, TooltipTrigger, type UseDataTableConfig, type UserMenuItemConfig, type ValidationSchema, Wizard, WizardContent, type WizardContentProps, type WizardContextValue, WizardNavigation, type WizardNavigationProps, WizardPanel, type WizardPanelProps, WizardProgress, type WizardProgressProps, type WizardProps, WizardProvider, type WizardStepConfig, WizardStepConnector, type WizardStepConnectorProps, WizardStepIndicator, type WizardStepIndicatorProps, WizardSteps, type WizardStepsProps, cn, itemCardBadgeVariants, itemCardIconVariants, itemCardVariants, loader, toast, useAutoPageSize, useAvailableHeight, useDashboardLayout, useDataTable, useDataTableColumnVisibility, useDataTableDensity, useDataTableEmpty, useDataTableInstance, useDataTableLoading, useDataTableMeta, useDataTablePagination, useDataTableSelection, useDataTableSorting, useDataTableState, useDebounce, useDebouncedCallback, useFormFieldContext, useItemCard, useKanban, useKanbanOptional, useLoader, useMediaQuery, useSidebar, useSidebarOptional, useTheme, useWizardContext, useWizardContextOptional };
|
|
2861
|
+
export { AuthLayout, type AuthLayoutBodyProps, type AuthLayoutContentProps, type AuthLayoutDividerProps, type AuthLayoutFooterProps, type AuthLayoutHeaderProps, type AuthLayoutImageProps, type AuthLayoutLinkProps, type AuthLayoutProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, type BadgeVariant, type BaseFieldProps, BigNumberCard, type BigNumberCardContentProps, type BigNumberCardHeaderProps, type BigNumberCardLinkProps, type BigNumberCardRootProps, type BigNumberCardSize, type BigNumberCardSparklineProps, type BigNumberCardTitleProps, type BigNumberCardTrendProps, type BigNumberCardValueProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Card, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, type ChartDataPoint, Checkbox, type CheckboxProps, type Company, DENSITY_CONFIG, DashboardLayout, type DashboardLayoutBreadcrumbsProps, type DashboardLayoutContentProps, type DashboardLayoutContextValue, type DashboardLayoutHeaderActionsProps, type DashboardLayoutHeaderProps, type DashboardLayoutHeaderTitleProps, type DashboardLayoutHeaderUserProps, type DashboardLayoutMobileNavItemProps, type DashboardLayoutMobileNavProps, type DashboardLayoutProps, type DashboardLayoutSidebarFooterProps, type DashboardLayoutSidebarHeaderProps, type DashboardLayoutSidebarNavGroupProps, type DashboardLayoutSidebarNavItemProps, type DashboardLayoutSidebarNavProps, type DashboardLayoutSidebarProps, type DashboardLayoutSidebarSectionProps, DataTable, type DataTableBulkActionsProps, type DataTableColumnHeaderProps, type DataTableColumnVisibilityProps, type DataTableContentProps, type DataTableContextValue, type DataTableDensity, type DataTableDensityToggleProps, type DataTableEmptyStateProps, type DataTableExportFormat, type DataTableExportProps, type DataTableFilterOption, type DataTableFilterProps, type DataTableFiltersProps, type DataTableLoadingProps, type DataTableMeta, type DataTablePaginationMode, type DataTablePaginationProps, type DataTableProps, type DataTableRowActionsProps, type DataTableSearchProps, type DataTableState, type DataTableTab, type DataTableTabsProps, type DataTableToolbarProps, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DialogWrapper, type DialogWrapperProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, type FieldTooltip, type FieldTooltipConfig, FloatingBarCompound as FloatingBar, FloatingBarAction, type FloatingBarActionProps, FloatingBarCounter, type FloatingBarCounterProps, FloatingBarDivider, type FloatingBarDividerProps, FloatingBarIconAction, type FloatingBarIconActionProps, type FloatingBarProps, Form, FormCheckbox, type FormCheckboxProps, type FormContextValue, FormDescription, type FormDescriptionProps, FormError, type FormErrorProps, type FormFieldContextValue, FormFieldProvider, FormFieldWrapper, type FormFieldWrapperProps, FormInput, type FormInputProps, FormLabel, type FormLabelProps, FormMultiSelect, type FormMultiSelectProps, FormNumberStepper, type FormNumberStepperProps, FormRadioGroup, type FormRadioGroupProps, type FormRootProps, FormSelect, type FormSelectProps, FormSwitch, type FormSwitchProps, FormTextarea, type FormTextareaProps, GlobalLoaderController, Input, type InputProps, ItemCard, ItemCardActionButton, type ItemCardActionButtonProps, ItemCardActions, type ItemCardActionsProps, ItemCardActionsRow, type ItemCardActionsRowProps, ItemCardBadge, type ItemCardBadgeProps, ItemCardContent, ItemCardContentItem, type ItemCardContentItemProps, type ItemCardContentProps, ItemCardEmpty, type ItemCardEmptyProps, ItemCardFooter, ItemCardFooterDivider, type ItemCardFooterDividerProps, ItemCardFooterItem, type ItemCardFooterItemProps, type ItemCardFooterProps, ItemCardHeader, type ItemCardHeaderProps, ItemCardIcon, type ItemCardIconProps, ItemCardRoot, type ItemCardRootProps, ItemCardSubtitle, type ItemCardSubtitleProps, ItemCardTitle, ItemCardTitleGroup, type ItemCardTitleGroupProps, type ItemCardTitleProps, Kanban, type KanbanBoardProps, type KanbanCardProps, type KanbanColumnConfig, type KanbanColumnProps, type KanbanContextValue, type KanbanDragResult, type KanbanEmptyProps, type KanbanItem, Loader, type LoaderProps, LoaderProvider, Logo, type LogoProps, type MaskType, MobileNav, type MobileNavFabAction, MobileNavItem, type MobileNavItemConfig, type MobileNavItemProps, type MobileNavProps, Navbar, NavbarCompanyProfile, type NavbarCompanyProfileProps, NavbarNotification, type NavbarNotificationProps, type NavbarProps, NavbarUserMenu, type NavbarUserMenuProps, type NotificationItem, NumberStepper, type NumberStepperProps, PageHeader, type PageHeaderProps, type PaginatedResponse, type PaginationMeta, type PaginationParams, Popover, PopoverContent, PopoverTrigger, type RadioOption, type RadioOptionColor, RippleBackground, type RippleBackgroundProps, RippleEffect, type RippleEffectProps, RippleWrapper, type RippleWrapperProps, ScrollArea, ScrollBar, SectionHeader, SectionHeaderActions, type SectionHeaderActionsProps, SectionHeaderBadge, type SectionHeaderBadgeProps, SectionHeaderContent, type SectionHeaderContentProps, SectionHeaderIcon, type SectionHeaderIconProps, SectionHeaderRoot, type SectionHeaderRootProps, SectionHeaderSubtitle, type SectionHeaderSubtitleProps, SectionHeaderTitle, type SectionHeaderTitleProps, Select, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, type SelectOption, type SelectProps, SelectSeparator, SelectionLayout, type SelectionLayoutCardProps, type SelectionLayoutEmptyProps, type SelectionLayoutHeaderProps, type SelectionLayoutHeadlineProps, type SelectionLayoutListProps, type SelectionLayoutLogoProps, type SelectionLayoutMainProps, type SelectionLayoutProps, type SelectionLayoutSearchProps, type SelectionLayoutSidebarProps, type SelectionLayoutStatsProps, type SelectionLayoutTabProps, type SelectionLayoutTabsProps, Separator, Sidebar, type SidebarContextValue, type SidebarFooterMenuItem, type SidebarFooterProps, type SidebarFooterUser, type SidebarHeaderProps, type SidebarNavGroupProps, type SidebarNavItemProps, type SidebarNavProps, type SidebarProps, type SidebarSectionProps, SimpleTooltip, type SimpleTooltipProps, Skeleton, type SkeletonProps, Sparkline, type SparklineColor, StatsCard, type StatsCardChangeProps, type StatsCardChartProps, type ColorScheme as StatsCardColorScheme, type StatsCardContentProps, type StatsCardHeaderProps, type StatsCardIconProps, type StatsCardRootProps, type StatsCardSubtitleProps, type StatsCardTitleProps, type StatsCardTodayProps, type StatsCardValueProps, type Variant as StatsCardVariant, type StepState, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, ThemeProvider, ThemeToggle, type ThemeToggleProps, Toaster, type ToasterProps, Tooltip, TooltipAction, type TooltipActionProps, TooltipActions, type TooltipActionsProps, TooltipArrow, TooltipContent, type TooltipContentProps, TooltipDescription, type TooltipDescriptionProps, TooltipHeader, type TooltipHeaderProps, TooltipIcon, type TooltipIconProps, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTitle, type TooltipTitleProps, TooltipTrigger, type UseDataTableConfig, type UserMenuItemConfig, type ValidationSchema, Wizard, WizardContent, type WizardContentProps, type WizardContextValue, WizardNavigation, type WizardNavigationProps, WizardPanel, type WizardPanelProps, WizardProgress, type WizardProgressProps, type WizardProps, WizardProvider, type WizardStepConfig, WizardStepConnector, type WizardStepConnectorProps, WizardStepIndicator, type WizardStepIndicatorProps, WizardSteps, type WizardStepsProps, cn, itemCardBadgeVariants, itemCardIconVariants, itemCardVariants, loader, toast, useAutoPageSize, useAvailableHeight, useDashboardLayout, useDataTable, useDataTableColumnVisibility, useDataTableDensity, useDataTableEmpty, useDataTableInstance, useDataTableLoading, useDataTableMeta, useDataTablePagination, useDataTableSelection, useDataTableSorting, useDataTableState, useDebounce, useDebouncedCallback, useFormFieldContext, useItemCard, useKanban, useKanbanOptional, useLoader, useMediaQuery, useSidebar, useSidebarOptional, useTheme, useWizardContext, useWizardContextOptional };
|