@ikatec/nebula-react 1.9.0-beta.5 → 1.9.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ikatec-nebula-react-1.9.0-beta.7.tgz +0 -0
- package/dist/index.d.mts +36 -7
- package/dist/index.d.ts +36 -7
- package/dist/index.js +205 -76
- package/dist/index.mjs +204 -76
- package/package.json +1 -2
- package/dist/ikatec-nebula-react-1.9.0-beta.5.tgz +0 -0
|
Binary file
|
package/dist/index.d.mts
CHANGED
|
@@ -248,7 +248,7 @@ declare const BannerAlert: ({ variant, type, title, description, onClose, childr
|
|
|
248
248
|
interface BoxProps extends PropsWithChildren<HTMLAttributes<HTMLDivElement>> {
|
|
249
249
|
border?: boolean;
|
|
250
250
|
paddingSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
251
|
-
shadow?: 'sm' | 'md' | 'lg';
|
|
251
|
+
shadow?: 'sm' | 'md' | 'lg' | 'none';
|
|
252
252
|
variant?: 'primary' | 'secondary';
|
|
253
253
|
}
|
|
254
254
|
declare const Box: ({ className, paddingSize, border, shadow, variant, children, ...rest }: BoxProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -311,6 +311,11 @@ interface CropperMessages {
|
|
|
311
311
|
dialogTitle: string;
|
|
312
312
|
applyButtonLabel: string;
|
|
313
313
|
}
|
|
314
|
+
interface ComboboxMessages {
|
|
315
|
+
removeAll: string;
|
|
316
|
+
noItemsSelected: string;
|
|
317
|
+
selectAnOption: string;
|
|
318
|
+
}
|
|
314
319
|
/**
|
|
315
320
|
* Type to store the messages.
|
|
316
321
|
*/
|
|
@@ -321,6 +326,7 @@ interface Messages {
|
|
|
321
326
|
timePicker: TimePickerMessages;
|
|
322
327
|
fileUpload: FileUploadMessages;
|
|
323
328
|
cropper: CropperMessages;
|
|
329
|
+
combobox: ComboboxMessages;
|
|
324
330
|
}
|
|
325
331
|
|
|
326
332
|
declare enum NebulaLanguage {
|
|
@@ -615,6 +621,7 @@ interface InputDateTimePickerSingleProps extends Omit<InputTextProps, 'onChange'
|
|
|
615
621
|
className?: string;
|
|
616
622
|
disabledDates?: CalendarProps['disabled'];
|
|
617
623
|
onClean?: VoidFunction;
|
|
624
|
+
popoverContainer?: HTMLElement | null;
|
|
618
625
|
}
|
|
619
626
|
declare const InputDateTimePickerSingle: ({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDateTimePickerSingleProps) => react_jsx_runtime.JSX.Element;
|
|
620
627
|
|
|
@@ -630,21 +637,23 @@ interface CreateStyledSelectProps extends Omit<Props, 'isDisabled'> {
|
|
|
630
637
|
icon?: React.ReactNode;
|
|
631
638
|
disabled?: boolean;
|
|
632
639
|
isError?: boolean;
|
|
640
|
+
size?: 'sm' | 'md';
|
|
641
|
+
hideSelectArrow?: boolean;
|
|
633
642
|
}
|
|
634
643
|
declare const StyledSelect: {
|
|
635
|
-
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
644
|
+
({ icon, disabled, isError, size, hideSelectArrow, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
636
645
|
displayName: string;
|
|
637
646
|
};
|
|
638
647
|
declare const StyledCreatable: {
|
|
639
|
-
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
648
|
+
({ icon, disabled, isError, size, hideSelectArrow, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
640
649
|
displayName: string;
|
|
641
650
|
};
|
|
642
651
|
declare const StyledAsync: {
|
|
643
|
-
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
652
|
+
({ icon, disabled, isError, size, hideSelectArrow, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
644
653
|
displayName: string;
|
|
645
654
|
};
|
|
646
655
|
declare const StyledAsyncCreatable: {
|
|
647
|
-
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
656
|
+
({ icon, disabled, isError, size, hideSelectArrow, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
648
657
|
displayName: string;
|
|
649
658
|
};
|
|
650
659
|
|
|
@@ -1106,8 +1115,10 @@ interface SidebarProps {
|
|
|
1106
1115
|
defaultState?: SidebarState;
|
|
1107
1116
|
open?: boolean;
|
|
1108
1117
|
onOpenChange?: (open: boolean) => void;
|
|
1118
|
+
width?: number;
|
|
1119
|
+
railWidth?: number;
|
|
1109
1120
|
}
|
|
1110
|
-
declare function Sidebar({ children, defaultState, open, onOpenChange, }: SidebarProps): react_jsx_runtime.JSX.Element;
|
|
1121
|
+
declare function Sidebar({ children, defaultState, open, onOpenChange, width, railWidth, }: SidebarProps): react_jsx_runtime.JSX.Element;
|
|
1111
1122
|
declare function SidebarHeader({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1112
1123
|
declare function SidebarContent({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1113
1124
|
declare function SidebarTitle({ className, children, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element | null;
|
|
@@ -1136,6 +1147,24 @@ type SidebarMenuItemProps = {
|
|
|
1136
1147
|
};
|
|
1137
1148
|
declare function SidebarMenuItem({ icon, action, label, active, disabled, counter, collapsible, defaultOpen, children, }: SidebarMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
1138
1149
|
|
|
1150
|
+
type Option = {
|
|
1151
|
+
value: string;
|
|
1152
|
+
label: string;
|
|
1153
|
+
color?: TagVariantsType;
|
|
1154
|
+
};
|
|
1155
|
+
interface ComboboxProps extends Omit<CreateStyledSelectProps, 'value' | 'onChange'> {
|
|
1156
|
+
icon?: React__default.ReactNode;
|
|
1157
|
+
placeholder?: string;
|
|
1158
|
+
options: Option[];
|
|
1159
|
+
value?: Option[];
|
|
1160
|
+
onChange?: (value: Option[]) => void;
|
|
1161
|
+
isClearable?: boolean;
|
|
1162
|
+
showEmptyState?: boolean;
|
|
1163
|
+
emptyStateText?: string;
|
|
1164
|
+
emptyStateDescription?: string;
|
|
1165
|
+
}
|
|
1166
|
+
declare function Combobox({ value, onChange, showEmptyState, isClearable, emptyStateText, emptyStateDescription, ...props }: ComboboxProps): react_jsx_runtime.JSX.Element;
|
|
1167
|
+
|
|
1139
1168
|
/**
|
|
1140
1169
|
* Context type to use the NebulaI18nProvider.
|
|
1141
1170
|
*/
|
|
@@ -1208,4 +1237,4 @@ declare function useKeyPress(key: string, callback: VoidFunction): void;
|
|
|
1208
1237
|
|
|
1209
1238
|
declare const useIsMobile: (breakpoint?: number) => boolean;
|
|
1210
1239
|
|
|
1211
|
-
export { Accordion, AccordionContent, AccordionDescription, AccordionItem, type AccordionProps, AccordionTitle, AccordionTrigger, ActionBar, ActionBarButton, ActionBarClose, ActionBarContent, ActionBarDivider, ActionBarPortal, ActionBarTrigger, Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Avatar, AvatarFallback, AvatarHoverAction, AvatarImage, AvatarSizeEnum, AvatarStick, AvatarVariantEnum, Badge, type BadgeProps, BannerAlert, type BannerAlertProps, BannerType, BannerVariant, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Caption, type CaptionProps, Checkbox, type CheckboxProps, StyledCreatable as Creatable, Cropper, CropperCropArea, CropperDescription, CropperImage, type CropperProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FileMetadata, FileUpload, type FileUploadActions, FileUploadError, type FileUploadOptions, type FileUploadProps, type FileUploadState, type FileWithPreview, Heading, type HeadingProps, InputDatePickerSingle, type InputDatePickerSingleProps, InputDateRangePicker, type InputDateRangePickerProps, InputDateTimePickerSingle, type InputDateTimePickerSingleProps, InputPhone, InputText, type InputTextProps, InputTime, type InputTimeProps, KanbanBoard, type KanbanBoardCard, type KanbanBoardColumn, type KanbanBoardProps, KanbanCard, type KanbanCardDropEvent, KanbanColumn, KanbanColumnDragHandle, type KanbanColumnDropEvent, KanbanColumnFooter, KanbanColumnHeader, KanbanColumnTitle, type KanbanOrderingMode, type KanbanRenderCardContext, type KanbanRenderColumnBodyContext, type KanbanRenderColumnContext, Label, Link, type LinkProps, NebulaI18nProvider, type NebulaI18nProviderProps, Pagination, type PaginationProps, Paragraph, type ParagraphProps, Popover, PopoverContent, type PopoverContentProps, PopoverTrigger, ProfileImage, type ProfileImageProps, RadioGroup, RadioGroupItem, StyledSelect as Select, type CreateStyledSelectProps as SelectProps, Separator, type SeparatorProps, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarMenuItem, type SidebarProps, SidebarSeparator, SidebarStateEnum, SidebarTitle, SidebarTrigger, Skeleton, type SkeletonProps, Slider, Space, SpaceDirectionEnum, type SpaceProps, SpaceSizeEnum, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TextArea, type TextAreaProps, TipCard, TipCardContent, TipCardFooter, TipCardHeader, TipCardItem, TipCardMedia, TipCardMediaType, TipCardProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupTypeEnum, ToggleSizeEnum, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, dateIsAvailable, formatBytes, getNebulaLanguage, localeByi18nKey, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, toggleVariants, useClickOutside, useFileUpload, useIsMobile, useKeyPress, useNebulaI18n, useSidebar, useTipCard };
|
|
1240
|
+
export { Accordion, AccordionContent, AccordionDescription, AccordionItem, type AccordionProps, AccordionTitle, AccordionTrigger, ActionBar, ActionBarButton, ActionBarClose, ActionBarContent, ActionBarDivider, ActionBarPortal, ActionBarTrigger, Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Avatar, AvatarFallback, AvatarHoverAction, AvatarImage, AvatarSizeEnum, AvatarStick, AvatarVariantEnum, Badge, type BadgeProps, BannerAlert, type BannerAlertProps, BannerType, BannerVariant, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Caption, type CaptionProps, Checkbox, type CheckboxProps, Combobox, type Option as ComboboxOption, type ComboboxProps, StyledCreatable as Creatable, Cropper, CropperCropArea, CropperDescription, CropperImage, type CropperProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FileMetadata, FileUpload, type FileUploadActions, FileUploadError, type FileUploadOptions, type FileUploadProps, type FileUploadState, type FileWithPreview, Heading, type HeadingProps, InputDatePickerSingle, type InputDatePickerSingleProps, InputDateRangePicker, type InputDateRangePickerProps, InputDateTimePickerSingle, type InputDateTimePickerSingleProps, InputPhone, InputText, type InputTextProps, InputTime, type InputTimeProps, KanbanBoard, type KanbanBoardCard, type KanbanBoardColumn, type KanbanBoardProps, KanbanCard, type KanbanCardDropEvent, KanbanColumn, KanbanColumnDragHandle, type KanbanColumnDropEvent, KanbanColumnFooter, KanbanColumnHeader, KanbanColumnTitle, type KanbanOrderingMode, type KanbanRenderCardContext, type KanbanRenderColumnBodyContext, type KanbanRenderColumnContext, Label, Link, type LinkProps, NebulaI18nProvider, type NebulaI18nProviderProps, Pagination, type PaginationProps, Paragraph, type ParagraphProps, Popover, PopoverContent, type PopoverContentProps, PopoverTrigger, ProfileImage, type ProfileImageProps, RadioGroup, RadioGroupItem, StyledSelect as Select, type CreateStyledSelectProps as SelectProps, Separator, type SeparatorProps, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarMenuItem, type SidebarProps, SidebarSeparator, SidebarStateEnum, SidebarTitle, SidebarTrigger, Skeleton, type SkeletonProps, Slider, Space, SpaceDirectionEnum, type SpaceProps, SpaceSizeEnum, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, type TagVariantsType, TextArea, type TextAreaProps, TipCard, TipCardContent, TipCardFooter, TipCardHeader, TipCardItem, TipCardMedia, TipCardMediaType, TipCardProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupTypeEnum, ToggleSizeEnum, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, dateIsAvailable, formatBytes, getNebulaLanguage, localeByi18nKey, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, toggleVariants, useClickOutside, useFileUpload, useIsMobile, useKeyPress, useNebulaI18n, useSidebar, useTipCard };
|
package/dist/index.d.ts
CHANGED
|
@@ -248,7 +248,7 @@ declare const BannerAlert: ({ variant, type, title, description, onClose, childr
|
|
|
248
248
|
interface BoxProps extends PropsWithChildren<HTMLAttributes<HTMLDivElement>> {
|
|
249
249
|
border?: boolean;
|
|
250
250
|
paddingSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
251
|
-
shadow?: 'sm' | 'md' | 'lg';
|
|
251
|
+
shadow?: 'sm' | 'md' | 'lg' | 'none';
|
|
252
252
|
variant?: 'primary' | 'secondary';
|
|
253
253
|
}
|
|
254
254
|
declare const Box: ({ className, paddingSize, border, shadow, variant, children, ...rest }: BoxProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -311,6 +311,11 @@ interface CropperMessages {
|
|
|
311
311
|
dialogTitle: string;
|
|
312
312
|
applyButtonLabel: string;
|
|
313
313
|
}
|
|
314
|
+
interface ComboboxMessages {
|
|
315
|
+
removeAll: string;
|
|
316
|
+
noItemsSelected: string;
|
|
317
|
+
selectAnOption: string;
|
|
318
|
+
}
|
|
314
319
|
/**
|
|
315
320
|
* Type to store the messages.
|
|
316
321
|
*/
|
|
@@ -321,6 +326,7 @@ interface Messages {
|
|
|
321
326
|
timePicker: TimePickerMessages;
|
|
322
327
|
fileUpload: FileUploadMessages;
|
|
323
328
|
cropper: CropperMessages;
|
|
329
|
+
combobox: ComboboxMessages;
|
|
324
330
|
}
|
|
325
331
|
|
|
326
332
|
declare enum NebulaLanguage {
|
|
@@ -615,6 +621,7 @@ interface InputDateTimePickerSingleProps extends Omit<InputTextProps, 'onChange'
|
|
|
615
621
|
className?: string;
|
|
616
622
|
disabledDates?: CalendarProps['disabled'];
|
|
617
623
|
onClean?: VoidFunction;
|
|
624
|
+
popoverContainer?: HTMLElement | null;
|
|
618
625
|
}
|
|
619
626
|
declare const InputDateTimePickerSingle: ({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDateTimePickerSingleProps) => react_jsx_runtime.JSX.Element;
|
|
620
627
|
|
|
@@ -630,21 +637,23 @@ interface CreateStyledSelectProps extends Omit<Props, 'isDisabled'> {
|
|
|
630
637
|
icon?: React.ReactNode;
|
|
631
638
|
disabled?: boolean;
|
|
632
639
|
isError?: boolean;
|
|
640
|
+
size?: 'sm' | 'md';
|
|
641
|
+
hideSelectArrow?: boolean;
|
|
633
642
|
}
|
|
634
643
|
declare const StyledSelect: {
|
|
635
|
-
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
644
|
+
({ icon, disabled, isError, size, hideSelectArrow, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
636
645
|
displayName: string;
|
|
637
646
|
};
|
|
638
647
|
declare const StyledCreatable: {
|
|
639
|
-
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
648
|
+
({ icon, disabled, isError, size, hideSelectArrow, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
640
649
|
displayName: string;
|
|
641
650
|
};
|
|
642
651
|
declare const StyledAsync: {
|
|
643
|
-
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
652
|
+
({ icon, disabled, isError, size, hideSelectArrow, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
644
653
|
displayName: string;
|
|
645
654
|
};
|
|
646
655
|
declare const StyledAsyncCreatable: {
|
|
647
|
-
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
656
|
+
({ icon, disabled, isError, size, hideSelectArrow, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
648
657
|
displayName: string;
|
|
649
658
|
};
|
|
650
659
|
|
|
@@ -1106,8 +1115,10 @@ interface SidebarProps {
|
|
|
1106
1115
|
defaultState?: SidebarState;
|
|
1107
1116
|
open?: boolean;
|
|
1108
1117
|
onOpenChange?: (open: boolean) => void;
|
|
1118
|
+
width?: number;
|
|
1119
|
+
railWidth?: number;
|
|
1109
1120
|
}
|
|
1110
|
-
declare function Sidebar({ children, defaultState, open, onOpenChange, }: SidebarProps): react_jsx_runtime.JSX.Element;
|
|
1121
|
+
declare function Sidebar({ children, defaultState, open, onOpenChange, width, railWidth, }: SidebarProps): react_jsx_runtime.JSX.Element;
|
|
1111
1122
|
declare function SidebarHeader({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1112
1123
|
declare function SidebarContent({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
1113
1124
|
declare function SidebarTitle({ className, children, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element | null;
|
|
@@ -1136,6 +1147,24 @@ type SidebarMenuItemProps = {
|
|
|
1136
1147
|
};
|
|
1137
1148
|
declare function SidebarMenuItem({ icon, action, label, active, disabled, counter, collapsible, defaultOpen, children, }: SidebarMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
1138
1149
|
|
|
1150
|
+
type Option = {
|
|
1151
|
+
value: string;
|
|
1152
|
+
label: string;
|
|
1153
|
+
color?: TagVariantsType;
|
|
1154
|
+
};
|
|
1155
|
+
interface ComboboxProps extends Omit<CreateStyledSelectProps, 'value' | 'onChange'> {
|
|
1156
|
+
icon?: React__default.ReactNode;
|
|
1157
|
+
placeholder?: string;
|
|
1158
|
+
options: Option[];
|
|
1159
|
+
value?: Option[];
|
|
1160
|
+
onChange?: (value: Option[]) => void;
|
|
1161
|
+
isClearable?: boolean;
|
|
1162
|
+
showEmptyState?: boolean;
|
|
1163
|
+
emptyStateText?: string;
|
|
1164
|
+
emptyStateDescription?: string;
|
|
1165
|
+
}
|
|
1166
|
+
declare function Combobox({ value, onChange, showEmptyState, isClearable, emptyStateText, emptyStateDescription, ...props }: ComboboxProps): react_jsx_runtime.JSX.Element;
|
|
1167
|
+
|
|
1139
1168
|
/**
|
|
1140
1169
|
* Context type to use the NebulaI18nProvider.
|
|
1141
1170
|
*/
|
|
@@ -1208,4 +1237,4 @@ declare function useKeyPress(key: string, callback: VoidFunction): void;
|
|
|
1208
1237
|
|
|
1209
1238
|
declare const useIsMobile: (breakpoint?: number) => boolean;
|
|
1210
1239
|
|
|
1211
|
-
export { Accordion, AccordionContent, AccordionDescription, AccordionItem, type AccordionProps, AccordionTitle, AccordionTrigger, ActionBar, ActionBarButton, ActionBarClose, ActionBarContent, ActionBarDivider, ActionBarPortal, ActionBarTrigger, Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Avatar, AvatarFallback, AvatarHoverAction, AvatarImage, AvatarSizeEnum, AvatarStick, AvatarVariantEnum, Badge, type BadgeProps, BannerAlert, type BannerAlertProps, BannerType, BannerVariant, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Caption, type CaptionProps, Checkbox, type CheckboxProps, StyledCreatable as Creatable, Cropper, CropperCropArea, CropperDescription, CropperImage, type CropperProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FileMetadata, FileUpload, type FileUploadActions, FileUploadError, type FileUploadOptions, type FileUploadProps, type FileUploadState, type FileWithPreview, Heading, type HeadingProps, InputDatePickerSingle, type InputDatePickerSingleProps, InputDateRangePicker, type InputDateRangePickerProps, InputDateTimePickerSingle, type InputDateTimePickerSingleProps, InputPhone, InputText, type InputTextProps, InputTime, type InputTimeProps, KanbanBoard, type KanbanBoardCard, type KanbanBoardColumn, type KanbanBoardProps, KanbanCard, type KanbanCardDropEvent, KanbanColumn, KanbanColumnDragHandle, type KanbanColumnDropEvent, KanbanColumnFooter, KanbanColumnHeader, KanbanColumnTitle, type KanbanOrderingMode, type KanbanRenderCardContext, type KanbanRenderColumnBodyContext, type KanbanRenderColumnContext, Label, Link, type LinkProps, NebulaI18nProvider, type NebulaI18nProviderProps, Pagination, type PaginationProps, Paragraph, type ParagraphProps, Popover, PopoverContent, type PopoverContentProps, PopoverTrigger, ProfileImage, type ProfileImageProps, RadioGroup, RadioGroupItem, StyledSelect as Select, type CreateStyledSelectProps as SelectProps, Separator, type SeparatorProps, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarMenuItem, type SidebarProps, SidebarSeparator, SidebarStateEnum, SidebarTitle, SidebarTrigger, Skeleton, type SkeletonProps, Slider, Space, SpaceDirectionEnum, type SpaceProps, SpaceSizeEnum, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TextArea, type TextAreaProps, TipCard, TipCardContent, TipCardFooter, TipCardHeader, TipCardItem, TipCardMedia, TipCardMediaType, TipCardProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupTypeEnum, ToggleSizeEnum, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, dateIsAvailable, formatBytes, getNebulaLanguage, localeByi18nKey, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, toggleVariants, useClickOutside, useFileUpload, useIsMobile, useKeyPress, useNebulaI18n, useSidebar, useTipCard };
|
|
1240
|
+
export { Accordion, AccordionContent, AccordionDescription, AccordionItem, type AccordionProps, AccordionTitle, AccordionTrigger, ActionBar, ActionBarButton, ActionBarClose, ActionBarContent, ActionBarDivider, ActionBarPortal, ActionBarTrigger, Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Avatar, AvatarFallback, AvatarHoverAction, AvatarImage, AvatarSizeEnum, AvatarStick, AvatarVariantEnum, Badge, type BadgeProps, BannerAlert, type BannerAlertProps, BannerType, BannerVariant, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Caption, type CaptionProps, Checkbox, type CheckboxProps, Combobox, type Option as ComboboxOption, type ComboboxProps, StyledCreatable as Creatable, Cropper, CropperCropArea, CropperDescription, CropperImage, type CropperProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FileMetadata, FileUpload, type FileUploadActions, FileUploadError, type FileUploadOptions, type FileUploadProps, type FileUploadState, type FileWithPreview, Heading, type HeadingProps, InputDatePickerSingle, type InputDatePickerSingleProps, InputDateRangePicker, type InputDateRangePickerProps, InputDateTimePickerSingle, type InputDateTimePickerSingleProps, InputPhone, InputText, type InputTextProps, InputTime, type InputTimeProps, KanbanBoard, type KanbanBoardCard, type KanbanBoardColumn, type KanbanBoardProps, KanbanCard, type KanbanCardDropEvent, KanbanColumn, KanbanColumnDragHandle, type KanbanColumnDropEvent, KanbanColumnFooter, KanbanColumnHeader, KanbanColumnTitle, type KanbanOrderingMode, type KanbanRenderCardContext, type KanbanRenderColumnBodyContext, type KanbanRenderColumnContext, Label, Link, type LinkProps, NebulaI18nProvider, type NebulaI18nProviderProps, Pagination, type PaginationProps, Paragraph, type ParagraphProps, Popover, PopoverContent, type PopoverContentProps, PopoverTrigger, ProfileImage, type ProfileImageProps, RadioGroup, RadioGroupItem, StyledSelect as Select, type CreateStyledSelectProps as SelectProps, Separator, type SeparatorProps, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupLabel, SidebarHeader, SidebarMenuItem, type SidebarProps, SidebarSeparator, SidebarStateEnum, SidebarTitle, SidebarTrigger, Skeleton, type SkeletonProps, Slider, Space, SpaceDirectionEnum, type SpaceProps, SpaceSizeEnum, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, type TagVariantsType, TextArea, type TextAreaProps, TipCard, TipCardContent, TipCardFooter, TipCardHeader, TipCardItem, TipCardMedia, TipCardMediaType, TipCardProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupTypeEnum, ToggleSizeEnum, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, dateIsAvailable, formatBytes, getNebulaLanguage, localeByi18nKey, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, toggleVariants, useClickOutside, useFileUpload, useIsMobile, useKeyPress, useNebulaI18n, useSidebar, useTipCard };
|