@ikatec/nebula-react 1.4.0-beta.1 → 1.4.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 CHANGED
@@ -19,6 +19,7 @@ import * as RPNInput from 'react-phone-number-input';
19
19
  import { DayPicker, Locale } from 'react-day-picker';
20
20
  import * as SliderPrimitive from '@radix-ui/react-slider';
21
21
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
22
+ import { UniqueIdentifier, DragEndEvent, CollisionDetection, Modifiers, SensorDescriptor, DndContext } from '@dnd-kit/core';
22
23
 
23
24
  declare enum buttonVariantEnum {
24
25
  primary = "\n bg-button-primary-background-default\n hover:bg-button-primary-background-hover\n active:bg-button-primary-background-active\n focus:bg-button-primary-background-focus\n focus:ring-button-primary-border-focus\n text-button-primary-text\n ",
@@ -822,11 +823,18 @@ interface StepperItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
822
823
  loading?: boolean;
823
824
  }
824
825
  declare function StepperItem({ step, completed, disabled, loading, className, children, ...props }: StepperItemProps): react_jsx_runtime.JSX.Element;
825
- interface StepperTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
826
+ type StepperTriggerClickable = {
827
+ isClickable?: true;
828
+ onClick?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
829
+ };
830
+ type StepperTriggerNotClickable = {
831
+ isClickable?: false;
832
+ onClick?: undefined;
833
+ };
834
+ type StepperTriggerProps = (StepperTriggerClickable | StepperTriggerNotClickable) & {
826
835
  asChild?: boolean;
827
- isClickable?: boolean;
828
- }
829
- declare function StepperTrigger({ asChild, className, children, isClickable, ...props }: StepperTriggerProps): react_jsx_runtime.JSX.Element;
836
+ } & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;
837
+ declare function StepperTrigger({ asChild, className, children, isClickable, onClick, ...props }: StepperTriggerProps): react_jsx_runtime.JSX.Element;
830
838
  interface StepperIndicatorProps extends React$1.HTMLAttributes<HTMLDivElement> {
831
839
  asChild?: boolean;
832
840
  }
@@ -835,6 +843,125 @@ declare function StepperTitle({ className, ...props }: React$1.HTMLAttributes<HT
835
843
  declare function StepperDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
836
844
  declare function StepperSeparator({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
837
845
 
846
+ declare enum BannerVariant {
847
+ outline = "outline",
848
+ filled = "filled"
849
+ }
850
+ declare enum BannerType {
851
+ info = "info",
852
+ success = "success",
853
+ warning = "warning",
854
+ error = "error"
855
+ }
856
+ declare const bannerAlertVariants: (props?: ({
857
+ variant?: "filled" | "outline" | null | undefined;
858
+ type?: "info" | "success" | "warning" | "error" | null | undefined;
859
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
860
+ interface BannerAlertProps extends VariantProps<typeof bannerAlertVariants> {
861
+ variant: keyof typeof BannerVariant;
862
+ type: keyof typeof BannerType;
863
+ title?: string;
864
+ description: string;
865
+ onClose?: VoidFunction;
866
+ children?: React.ReactNode;
867
+ }
868
+ declare const BannerAlert: ({ variant, type, title, description, onClose, children, }: BannerAlertProps) => react_jsx_runtime.JSX.Element;
869
+
870
+ type AnySensorDescriptor = SensorDescriptor<Record<string, unknown>>;
871
+ type KanbanOrderingMode = 'manual' | 'external';
872
+ interface KanbanBoardCard {
873
+ id: UniqueIdentifier;
874
+ isDraggable?: boolean;
875
+ [key: string]: unknown;
876
+ }
877
+ interface KanbanVirtualizationOptions {
878
+ enabled?: boolean;
879
+ estimateCardHeight?: number;
880
+ overscan?: number;
881
+ }
882
+ interface KanbanBoardColumn<TCard extends KanbanBoardCard = KanbanBoardCard> {
883
+ id: UniqueIdentifier;
884
+ title: React$1.ReactNode;
885
+ description?: React$1.ReactNode;
886
+ cards: TCard[];
887
+ footer?: React$1.ReactNode;
888
+ canDrag?: boolean;
889
+ allowDrop?: boolean;
890
+ ordering?: KanbanOrderingMode;
891
+ virtualization?: KanbanVirtualizationOptions;
892
+ onLoadMore?: () => void;
893
+ isLoadingMore?: boolean;
894
+ hasMore?: boolean;
895
+ loadMoreOffset?: number;
896
+ emptyState?: React$1.ReactNode;
897
+ [key: string]: unknown;
898
+ }
899
+ interface KanbanRenderCardContext<TCard extends KanbanBoardCard = KanbanBoardCard> {
900
+ card: TCard;
901
+ column: KanbanBoardColumn<TCard>;
902
+ columnIndex: number;
903
+ index: number;
904
+ isDragging: boolean;
905
+ isOverlay: boolean;
906
+ }
907
+ interface KanbanRenderColumnContext<TCard extends KanbanBoardCard = KanbanBoardCard> {
908
+ column: KanbanBoardColumn<TCard>;
909
+ columnIndex: number;
910
+ cardCount: number;
911
+ isDropTarget: boolean;
912
+ isDropTargetExternal: boolean;
913
+ isDragDisabled: boolean;
914
+ }
915
+ interface KanbanCardDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
916
+ event: DragEndEvent;
917
+ card: TCard;
918
+ cardId: UniqueIdentifier;
919
+ fromColumnId: UniqueIdentifier;
920
+ toColumnId: UniqueIdentifier;
921
+ fromIndex: number;
922
+ toIndex: number | null;
923
+ ordering: KanbanOrderingMode;
924
+ isDifferentColumn: boolean;
925
+ }
926
+ interface KanbanColumnDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
927
+ event: DragEndEvent;
928
+ column: KanbanBoardColumn<TCard>;
929
+ columnId: UniqueIdentifier;
930
+ fromIndex: number;
931
+ toIndex: number;
932
+ }
933
+ interface KanbanBoardProps<TCard extends KanbanBoardCard = KanbanBoardCard> {
934
+ columns: KanbanBoardColumn<TCard>[];
935
+ renderCard: (context: KanbanRenderCardContext<TCard>) => React$1.ReactNode;
936
+ renderColumnHeader?: (context: KanbanRenderColumnContext<TCard>) => React$1.ReactNode;
937
+ renderColumnFooter?: (context: KanbanRenderColumnContext<TCard>) => React$1.ReactNode;
938
+ renderEmptyState?: (context: KanbanRenderColumnContext<TCard>) => React$1.ReactNode;
939
+ getCardId?: (card: TCard) => UniqueIdentifier;
940
+ onCardDrop?: (event: KanbanCardDropEvent<TCard>) => void;
941
+ onColumnDrop?: (event: KanbanColumnDropEvent<TCard>) => void;
942
+ className?: string;
943
+ columnClassName?: string | ((context: KanbanRenderColumnContext<TCard>) => string | undefined);
944
+ collisionDetection?: CollisionDetection;
945
+ modifiers?: Modifiers;
946
+ sensors?: AnySensorDescriptor[];
947
+ measuring?: Parameters<typeof DndContext>[0]['measuring'];
948
+ }
949
+
950
+ declare function KanbanBoard<TCard extends KanbanBoardCard = KanbanBoardCard>({ columns, renderCard, renderColumnHeader, renderColumnFooter, renderEmptyState, getCardId: getCardIdProp, onCardDrop, onColumnDrop, className, columnClassName, collisionDetection, modifiers, sensors: sensorsProp, measuring, }: KanbanBoardProps<TCard>): react_jsx_runtime.JSX.Element;
951
+
952
+ interface KanbanColumnProps extends HTMLAttributes<HTMLDivElement> {
953
+ }
954
+ declare const KanbanColumn: React$1.ForwardRefExoticComponent<KanbanColumnProps & React$1.RefAttributes<HTMLDivElement>>;
955
+ declare const KanbanColumnHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
956
+ declare const KanbanColumnTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
957
+ declare const KanbanColumnFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
958
+ interface KanbanCardProps extends HTMLAttributes<HTMLDivElement> {
959
+ isDragging?: boolean;
960
+ isOverlay?: boolean;
961
+ }
962
+ declare const KanbanCard: React$1.ForwardRefExoticComponent<KanbanCardProps & React$1.RefAttributes<HTMLDivElement>>;
963
+ declare const KanbanColumnDragHandle: React$1.ForwardRefExoticComponent<React$1.ButtonHTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
964
+
838
965
  interface Content {
839
966
  /**
840
967
  * Path to `node_modules` where `flowbite-react` is installed
@@ -905,4 +1032,4 @@ declare function useClickOutside<T extends HTMLElement>(refs: PossibleRefs<T>, o
905
1032
 
906
1033
  declare function useKeyPress(key: string, callback: VoidFunction): void;
907
1034
 
908
- 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, Badge, type BadgeProps, 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, 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, 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, Toaster, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, dateIsAvailable, formatBytes, getNebulaLanguage, localeByi18nKey, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, useClickOutside, useFileUpload, useKeyPress, useNebulaI18n };
1035
+ 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, 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 KanbanRenderColumnContext, type KanbanVirtualizationOptions, 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, 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, Toaster, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, dateIsAvailable, formatBytes, getNebulaLanguage, localeByi18nKey, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, useClickOutside, useFileUpload, useKeyPress, useNebulaI18n };
package/dist/index.d.ts CHANGED
@@ -19,6 +19,7 @@ import * as RPNInput from 'react-phone-number-input';
19
19
  import { DayPicker, Locale } from 'react-day-picker';
20
20
  import * as SliderPrimitive from '@radix-ui/react-slider';
21
21
  import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
22
+ import { UniqueIdentifier, DragEndEvent, CollisionDetection, Modifiers, SensorDescriptor, DndContext } from '@dnd-kit/core';
22
23
 
23
24
  declare enum buttonVariantEnum {
24
25
  primary = "\n bg-button-primary-background-default\n hover:bg-button-primary-background-hover\n active:bg-button-primary-background-active\n focus:bg-button-primary-background-focus\n focus:ring-button-primary-border-focus\n text-button-primary-text\n ",
@@ -822,11 +823,18 @@ interface StepperItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
822
823
  loading?: boolean;
823
824
  }
824
825
  declare function StepperItem({ step, completed, disabled, loading, className, children, ...props }: StepperItemProps): react_jsx_runtime.JSX.Element;
825
- interface StepperTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
826
+ type StepperTriggerClickable = {
827
+ isClickable?: true;
828
+ onClick?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
829
+ };
830
+ type StepperTriggerNotClickable = {
831
+ isClickable?: false;
832
+ onClick?: undefined;
833
+ };
834
+ type StepperTriggerProps = (StepperTriggerClickable | StepperTriggerNotClickable) & {
826
835
  asChild?: boolean;
827
- isClickable?: boolean;
828
- }
829
- declare function StepperTrigger({ asChild, className, children, isClickable, ...props }: StepperTriggerProps): react_jsx_runtime.JSX.Element;
836
+ } & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;
837
+ declare function StepperTrigger({ asChild, className, children, isClickable, onClick, ...props }: StepperTriggerProps): react_jsx_runtime.JSX.Element;
830
838
  interface StepperIndicatorProps extends React$1.HTMLAttributes<HTMLDivElement> {
831
839
  asChild?: boolean;
832
840
  }
@@ -835,6 +843,125 @@ declare function StepperTitle({ className, ...props }: React$1.HTMLAttributes<HT
835
843
  declare function StepperDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
836
844
  declare function StepperSeparator({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
837
845
 
846
+ declare enum BannerVariant {
847
+ outline = "outline",
848
+ filled = "filled"
849
+ }
850
+ declare enum BannerType {
851
+ info = "info",
852
+ success = "success",
853
+ warning = "warning",
854
+ error = "error"
855
+ }
856
+ declare const bannerAlertVariants: (props?: ({
857
+ variant?: "filled" | "outline" | null | undefined;
858
+ type?: "info" | "success" | "warning" | "error" | null | undefined;
859
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
860
+ interface BannerAlertProps extends VariantProps<typeof bannerAlertVariants> {
861
+ variant: keyof typeof BannerVariant;
862
+ type: keyof typeof BannerType;
863
+ title?: string;
864
+ description: string;
865
+ onClose?: VoidFunction;
866
+ children?: React.ReactNode;
867
+ }
868
+ declare const BannerAlert: ({ variant, type, title, description, onClose, children, }: BannerAlertProps) => react_jsx_runtime.JSX.Element;
869
+
870
+ type AnySensorDescriptor = SensorDescriptor<Record<string, unknown>>;
871
+ type KanbanOrderingMode = 'manual' | 'external';
872
+ interface KanbanBoardCard {
873
+ id: UniqueIdentifier;
874
+ isDraggable?: boolean;
875
+ [key: string]: unknown;
876
+ }
877
+ interface KanbanVirtualizationOptions {
878
+ enabled?: boolean;
879
+ estimateCardHeight?: number;
880
+ overscan?: number;
881
+ }
882
+ interface KanbanBoardColumn<TCard extends KanbanBoardCard = KanbanBoardCard> {
883
+ id: UniqueIdentifier;
884
+ title: React$1.ReactNode;
885
+ description?: React$1.ReactNode;
886
+ cards: TCard[];
887
+ footer?: React$1.ReactNode;
888
+ canDrag?: boolean;
889
+ allowDrop?: boolean;
890
+ ordering?: KanbanOrderingMode;
891
+ virtualization?: KanbanVirtualizationOptions;
892
+ onLoadMore?: () => void;
893
+ isLoadingMore?: boolean;
894
+ hasMore?: boolean;
895
+ loadMoreOffset?: number;
896
+ emptyState?: React$1.ReactNode;
897
+ [key: string]: unknown;
898
+ }
899
+ interface KanbanRenderCardContext<TCard extends KanbanBoardCard = KanbanBoardCard> {
900
+ card: TCard;
901
+ column: KanbanBoardColumn<TCard>;
902
+ columnIndex: number;
903
+ index: number;
904
+ isDragging: boolean;
905
+ isOverlay: boolean;
906
+ }
907
+ interface KanbanRenderColumnContext<TCard extends KanbanBoardCard = KanbanBoardCard> {
908
+ column: KanbanBoardColumn<TCard>;
909
+ columnIndex: number;
910
+ cardCount: number;
911
+ isDropTarget: boolean;
912
+ isDropTargetExternal: boolean;
913
+ isDragDisabled: boolean;
914
+ }
915
+ interface KanbanCardDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
916
+ event: DragEndEvent;
917
+ card: TCard;
918
+ cardId: UniqueIdentifier;
919
+ fromColumnId: UniqueIdentifier;
920
+ toColumnId: UniqueIdentifier;
921
+ fromIndex: number;
922
+ toIndex: number | null;
923
+ ordering: KanbanOrderingMode;
924
+ isDifferentColumn: boolean;
925
+ }
926
+ interface KanbanColumnDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
927
+ event: DragEndEvent;
928
+ column: KanbanBoardColumn<TCard>;
929
+ columnId: UniqueIdentifier;
930
+ fromIndex: number;
931
+ toIndex: number;
932
+ }
933
+ interface KanbanBoardProps<TCard extends KanbanBoardCard = KanbanBoardCard> {
934
+ columns: KanbanBoardColumn<TCard>[];
935
+ renderCard: (context: KanbanRenderCardContext<TCard>) => React$1.ReactNode;
936
+ renderColumnHeader?: (context: KanbanRenderColumnContext<TCard>) => React$1.ReactNode;
937
+ renderColumnFooter?: (context: KanbanRenderColumnContext<TCard>) => React$1.ReactNode;
938
+ renderEmptyState?: (context: KanbanRenderColumnContext<TCard>) => React$1.ReactNode;
939
+ getCardId?: (card: TCard) => UniqueIdentifier;
940
+ onCardDrop?: (event: KanbanCardDropEvent<TCard>) => void;
941
+ onColumnDrop?: (event: KanbanColumnDropEvent<TCard>) => void;
942
+ className?: string;
943
+ columnClassName?: string | ((context: KanbanRenderColumnContext<TCard>) => string | undefined);
944
+ collisionDetection?: CollisionDetection;
945
+ modifiers?: Modifiers;
946
+ sensors?: AnySensorDescriptor[];
947
+ measuring?: Parameters<typeof DndContext>[0]['measuring'];
948
+ }
949
+
950
+ declare function KanbanBoard<TCard extends KanbanBoardCard = KanbanBoardCard>({ columns, renderCard, renderColumnHeader, renderColumnFooter, renderEmptyState, getCardId: getCardIdProp, onCardDrop, onColumnDrop, className, columnClassName, collisionDetection, modifiers, sensors: sensorsProp, measuring, }: KanbanBoardProps<TCard>): react_jsx_runtime.JSX.Element;
951
+
952
+ interface KanbanColumnProps extends HTMLAttributes<HTMLDivElement> {
953
+ }
954
+ declare const KanbanColumn: React$1.ForwardRefExoticComponent<KanbanColumnProps & React$1.RefAttributes<HTMLDivElement>>;
955
+ declare const KanbanColumnHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
956
+ declare const KanbanColumnTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
957
+ declare const KanbanColumnFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
958
+ interface KanbanCardProps extends HTMLAttributes<HTMLDivElement> {
959
+ isDragging?: boolean;
960
+ isOverlay?: boolean;
961
+ }
962
+ declare const KanbanCard: React$1.ForwardRefExoticComponent<KanbanCardProps & React$1.RefAttributes<HTMLDivElement>>;
963
+ declare const KanbanColumnDragHandle: React$1.ForwardRefExoticComponent<React$1.ButtonHTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
964
+
838
965
  interface Content {
839
966
  /**
840
967
  * Path to `node_modules` where `flowbite-react` is installed
@@ -905,4 +1032,4 @@ declare function useClickOutside<T extends HTMLElement>(refs: PossibleRefs<T>, o
905
1032
 
906
1033
  declare function useKeyPress(key: string, callback: VoidFunction): void;
907
1034
 
908
- 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, Badge, type BadgeProps, 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, 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, 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, Toaster, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, dateIsAvailable, formatBytes, getNebulaLanguage, localeByi18nKey, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, useClickOutside, useFileUpload, useKeyPress, useNebulaI18n };
1035
+ 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, 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 KanbanRenderColumnContext, type KanbanVirtualizationOptions, 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, 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, Toaster, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, dateIsAvailable, formatBytes, getNebulaLanguage, localeByi18nKey, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, useClickOutside, useFileUpload, useKeyPress, useNebulaI18n };