@ikatec/nebula-react 1.6.0-beta.4 → 1.6.0-beta.5
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.6.0-beta.5.tgz +0 -0
- package/dist/index.d.mts +38 -23
- package/dist/index.d.ts +38 -23
- package/dist/index.js +407 -376
- package/dist/index.mjs +251 -220
- package/package.json +1 -2
- package/dist/ikatec-nebula-react-1.6.0-beta.4.tgz +0 -0
|
Binary file
|
package/dist/index.d.mts
CHANGED
|
@@ -654,12 +654,7 @@ interface KanbanBoardCard {
|
|
|
654
654
|
isDraggable?: boolean;
|
|
655
655
|
[key: string]: unknown;
|
|
656
656
|
}
|
|
657
|
-
interface
|
|
658
|
-
enabled?: boolean;
|
|
659
|
-
estimateCardHeight?: number;
|
|
660
|
-
overscan?: number;
|
|
661
|
-
}
|
|
662
|
-
interface KanbanBoardColumn<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
657
|
+
interface KanbanBoardColumn<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
663
658
|
id: UniqueIdentifier;
|
|
664
659
|
title: React$1.ReactNode;
|
|
665
660
|
description?: React$1.ReactNode;
|
|
@@ -668,29 +663,48 @@ interface KanbanBoardColumn<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
|
668
663
|
canDrag?: boolean;
|
|
669
664
|
allowDrop?: boolean;
|
|
670
665
|
ordering?: KanbanOrderingMode;
|
|
671
|
-
virtualization?: KanbanVirtualizationOptions;
|
|
672
666
|
onLoadMore?: () => void;
|
|
673
667
|
isLoadingMore?: boolean;
|
|
674
668
|
hasMore?: boolean;
|
|
675
669
|
loadMoreOffset?: number;
|
|
676
670
|
emptyState?: React$1.ReactNode;
|
|
671
|
+
meta?: TColumnMeta;
|
|
677
672
|
[key: string]: unknown;
|
|
678
673
|
}
|
|
679
|
-
interface KanbanRenderCardContext<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
674
|
+
interface KanbanRenderCardContext<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
680
675
|
card: TCard;
|
|
681
|
-
column: KanbanBoardColumn<TCard>;
|
|
676
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
682
677
|
columnIndex: number;
|
|
683
678
|
index: number;
|
|
684
679
|
isDragging: boolean;
|
|
685
680
|
isOverlay: boolean;
|
|
686
681
|
}
|
|
687
|
-
interface KanbanRenderColumnContext<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
688
|
-
column: KanbanBoardColumn<TCard>;
|
|
682
|
+
interface KanbanRenderColumnContext<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
683
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
689
684
|
columnIndex: number;
|
|
690
685
|
cardCount: number;
|
|
691
686
|
isDropTarget: boolean;
|
|
692
687
|
isDropTargetExternal: boolean;
|
|
693
688
|
isDragDisabled: boolean;
|
|
689
|
+
columnMeta?: TColumnMeta;
|
|
690
|
+
}
|
|
691
|
+
interface KanbanRenderColumnBodyContext<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
692
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
693
|
+
columnIndex: number;
|
|
694
|
+
cardCount: number;
|
|
695
|
+
cards: TCard[];
|
|
696
|
+
renderCardItem: (card: TCard, index: number) => React$1.ReactNode;
|
|
697
|
+
getCardId: (card: TCard) => UniqueIdentifier;
|
|
698
|
+
renderEmptyState: React$1.ReactNode;
|
|
699
|
+
isManualOrdering: boolean;
|
|
700
|
+
isDropTarget: boolean;
|
|
701
|
+
activeCardId: UniqueIdentifier | null;
|
|
702
|
+
dropRef: (node: HTMLDivElement | null) => void;
|
|
703
|
+
columnMeta?: TColumnMeta;
|
|
704
|
+
onLoadMore?: () => void;
|
|
705
|
+
hasMore?: boolean;
|
|
706
|
+
isLoadingMore?: boolean;
|
|
707
|
+
loadMoreOffset?: number;
|
|
694
708
|
}
|
|
695
709
|
interface KanbanCardDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
696
710
|
event: DragEndEvent;
|
|
@@ -703,31 +717,32 @@ interface KanbanCardDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
|
703
717
|
ordering: KanbanOrderingMode;
|
|
704
718
|
isDifferentColumn: boolean;
|
|
705
719
|
}
|
|
706
|
-
interface KanbanColumnDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
720
|
+
interface KanbanColumnDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
707
721
|
event: DragEndEvent;
|
|
708
|
-
column: KanbanBoardColumn<TCard>;
|
|
722
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
709
723
|
columnId: UniqueIdentifier;
|
|
710
724
|
fromIndex: number;
|
|
711
725
|
toIndex: number;
|
|
712
726
|
}
|
|
713
|
-
interface KanbanBoardProps<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
714
|
-
columns: KanbanBoardColumn<TCard>[];
|
|
715
|
-
renderCard: (context: KanbanRenderCardContext<TCard>) => React$1.ReactNode;
|
|
716
|
-
renderColumnHeader?: (context: KanbanRenderColumnContext<TCard>) => React$1.ReactNode;
|
|
717
|
-
renderColumnFooter?: (context: KanbanRenderColumnContext<TCard>) => React$1.ReactNode;
|
|
718
|
-
renderEmptyState?: (context: KanbanRenderColumnContext<TCard>) => React$1.ReactNode;
|
|
727
|
+
interface KanbanBoardProps<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
728
|
+
columns: KanbanBoardColumn<TCard, TColumnMeta>[];
|
|
729
|
+
renderCard: (context: KanbanRenderCardContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
730
|
+
renderColumnHeader?: (context: KanbanRenderColumnContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
731
|
+
renderColumnFooter?: (context: KanbanRenderColumnContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
732
|
+
renderEmptyState?: (context: KanbanRenderColumnContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
733
|
+
renderColumnBody?: (context: KanbanRenderColumnBodyContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
719
734
|
getCardId?: (card: TCard) => UniqueIdentifier;
|
|
720
735
|
onCardDrop?: (event: KanbanCardDropEvent<TCard>) => void;
|
|
721
|
-
onColumnDrop?: (event: KanbanColumnDropEvent<TCard>) => void;
|
|
736
|
+
onColumnDrop?: (event: KanbanColumnDropEvent<TCard, TColumnMeta>) => void;
|
|
722
737
|
className?: string;
|
|
723
|
-
columnClassName?: string | ((context: KanbanRenderColumnContext<TCard>) => string | undefined);
|
|
738
|
+
columnClassName?: string | ((context: KanbanRenderColumnContext<TCard, TColumnMeta>) => string | undefined);
|
|
724
739
|
collisionDetection?: CollisionDetection;
|
|
725
740
|
modifiers?: Modifiers;
|
|
726
741
|
sensors?: AnySensorDescriptor[];
|
|
727
742
|
measuring?: Parameters<typeof DndContext>[0]['measuring'];
|
|
728
743
|
}
|
|
729
744
|
|
|
730
|
-
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;
|
|
745
|
+
declare function KanbanBoard<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>>({ columns, renderCard, renderColumnHeader, renderColumnFooter, renderEmptyState, renderColumnBody, getCardId: getCardIdProp, onCardDrop, onColumnDrop, className, columnClassName, collisionDetection, modifiers, sensors: sensorsProp, measuring, }: KanbanBoardProps<TCard, TColumnMeta>): react_jsx_runtime.JSX.Element;
|
|
731
746
|
|
|
732
747
|
interface KanbanColumnProps extends HTMLAttributes<HTMLDivElement> {
|
|
733
748
|
}
|
|
@@ -1137,4 +1152,4 @@ declare function useClickOutside<T extends HTMLElement>(refs: PossibleRefs<T>, o
|
|
|
1137
1152
|
|
|
1138
1153
|
declare function useKeyPress(key: string, callback: VoidFunction): void;
|
|
1139
1154
|
|
|
1140
|
-
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
|
|
1155
|
+
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, 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, useKeyPress, useNebulaI18n, useTipCard };
|
package/dist/index.d.ts
CHANGED
|
@@ -654,12 +654,7 @@ interface KanbanBoardCard {
|
|
|
654
654
|
isDraggable?: boolean;
|
|
655
655
|
[key: string]: unknown;
|
|
656
656
|
}
|
|
657
|
-
interface
|
|
658
|
-
enabled?: boolean;
|
|
659
|
-
estimateCardHeight?: number;
|
|
660
|
-
overscan?: number;
|
|
661
|
-
}
|
|
662
|
-
interface KanbanBoardColumn<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
657
|
+
interface KanbanBoardColumn<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
663
658
|
id: UniqueIdentifier;
|
|
664
659
|
title: React$1.ReactNode;
|
|
665
660
|
description?: React$1.ReactNode;
|
|
@@ -668,29 +663,48 @@ interface KanbanBoardColumn<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
|
668
663
|
canDrag?: boolean;
|
|
669
664
|
allowDrop?: boolean;
|
|
670
665
|
ordering?: KanbanOrderingMode;
|
|
671
|
-
virtualization?: KanbanVirtualizationOptions;
|
|
672
666
|
onLoadMore?: () => void;
|
|
673
667
|
isLoadingMore?: boolean;
|
|
674
668
|
hasMore?: boolean;
|
|
675
669
|
loadMoreOffset?: number;
|
|
676
670
|
emptyState?: React$1.ReactNode;
|
|
671
|
+
meta?: TColumnMeta;
|
|
677
672
|
[key: string]: unknown;
|
|
678
673
|
}
|
|
679
|
-
interface KanbanRenderCardContext<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
674
|
+
interface KanbanRenderCardContext<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
680
675
|
card: TCard;
|
|
681
|
-
column: KanbanBoardColumn<TCard>;
|
|
676
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
682
677
|
columnIndex: number;
|
|
683
678
|
index: number;
|
|
684
679
|
isDragging: boolean;
|
|
685
680
|
isOverlay: boolean;
|
|
686
681
|
}
|
|
687
|
-
interface KanbanRenderColumnContext<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
688
|
-
column: KanbanBoardColumn<TCard>;
|
|
682
|
+
interface KanbanRenderColumnContext<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
683
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
689
684
|
columnIndex: number;
|
|
690
685
|
cardCount: number;
|
|
691
686
|
isDropTarget: boolean;
|
|
692
687
|
isDropTargetExternal: boolean;
|
|
693
688
|
isDragDisabled: boolean;
|
|
689
|
+
columnMeta?: TColumnMeta;
|
|
690
|
+
}
|
|
691
|
+
interface KanbanRenderColumnBodyContext<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
692
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
693
|
+
columnIndex: number;
|
|
694
|
+
cardCount: number;
|
|
695
|
+
cards: TCard[];
|
|
696
|
+
renderCardItem: (card: TCard, index: number) => React$1.ReactNode;
|
|
697
|
+
getCardId: (card: TCard) => UniqueIdentifier;
|
|
698
|
+
renderEmptyState: React$1.ReactNode;
|
|
699
|
+
isManualOrdering: boolean;
|
|
700
|
+
isDropTarget: boolean;
|
|
701
|
+
activeCardId: UniqueIdentifier | null;
|
|
702
|
+
dropRef: (node: HTMLDivElement | null) => void;
|
|
703
|
+
columnMeta?: TColumnMeta;
|
|
704
|
+
onLoadMore?: () => void;
|
|
705
|
+
hasMore?: boolean;
|
|
706
|
+
isLoadingMore?: boolean;
|
|
707
|
+
loadMoreOffset?: number;
|
|
694
708
|
}
|
|
695
709
|
interface KanbanCardDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
696
710
|
event: DragEndEvent;
|
|
@@ -703,31 +717,32 @@ interface KanbanCardDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
|
703
717
|
ordering: KanbanOrderingMode;
|
|
704
718
|
isDifferentColumn: boolean;
|
|
705
719
|
}
|
|
706
|
-
interface KanbanColumnDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
720
|
+
interface KanbanColumnDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
707
721
|
event: DragEndEvent;
|
|
708
|
-
column: KanbanBoardColumn<TCard>;
|
|
722
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
709
723
|
columnId: UniqueIdentifier;
|
|
710
724
|
fromIndex: number;
|
|
711
725
|
toIndex: number;
|
|
712
726
|
}
|
|
713
|
-
interface KanbanBoardProps<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
714
|
-
columns: KanbanBoardColumn<TCard>[];
|
|
715
|
-
renderCard: (context: KanbanRenderCardContext<TCard>) => React$1.ReactNode;
|
|
716
|
-
renderColumnHeader?: (context: KanbanRenderColumnContext<TCard>) => React$1.ReactNode;
|
|
717
|
-
renderColumnFooter?: (context: KanbanRenderColumnContext<TCard>) => React$1.ReactNode;
|
|
718
|
-
renderEmptyState?: (context: KanbanRenderColumnContext<TCard>) => React$1.ReactNode;
|
|
727
|
+
interface KanbanBoardProps<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
728
|
+
columns: KanbanBoardColumn<TCard, TColumnMeta>[];
|
|
729
|
+
renderCard: (context: KanbanRenderCardContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
730
|
+
renderColumnHeader?: (context: KanbanRenderColumnContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
731
|
+
renderColumnFooter?: (context: KanbanRenderColumnContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
732
|
+
renderEmptyState?: (context: KanbanRenderColumnContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
733
|
+
renderColumnBody?: (context: KanbanRenderColumnBodyContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
719
734
|
getCardId?: (card: TCard) => UniqueIdentifier;
|
|
720
735
|
onCardDrop?: (event: KanbanCardDropEvent<TCard>) => void;
|
|
721
|
-
onColumnDrop?: (event: KanbanColumnDropEvent<TCard>) => void;
|
|
736
|
+
onColumnDrop?: (event: KanbanColumnDropEvent<TCard, TColumnMeta>) => void;
|
|
722
737
|
className?: string;
|
|
723
|
-
columnClassName?: string | ((context: KanbanRenderColumnContext<TCard>) => string | undefined);
|
|
738
|
+
columnClassName?: string | ((context: KanbanRenderColumnContext<TCard, TColumnMeta>) => string | undefined);
|
|
724
739
|
collisionDetection?: CollisionDetection;
|
|
725
740
|
modifiers?: Modifiers;
|
|
726
741
|
sensors?: AnySensorDescriptor[];
|
|
727
742
|
measuring?: Parameters<typeof DndContext>[0]['measuring'];
|
|
728
743
|
}
|
|
729
744
|
|
|
730
|
-
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;
|
|
745
|
+
declare function KanbanBoard<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>>({ columns, renderCard, renderColumnHeader, renderColumnFooter, renderEmptyState, renderColumnBody, getCardId: getCardIdProp, onCardDrop, onColumnDrop, className, columnClassName, collisionDetection, modifiers, sensors: sensorsProp, measuring, }: KanbanBoardProps<TCard, TColumnMeta>): react_jsx_runtime.JSX.Element;
|
|
731
746
|
|
|
732
747
|
interface KanbanColumnProps extends HTMLAttributes<HTMLDivElement> {
|
|
733
748
|
}
|
|
@@ -1137,4 +1152,4 @@ declare function useClickOutside<T extends HTMLElement>(refs: PossibleRefs<T>, o
|
|
|
1137
1152
|
|
|
1138
1153
|
declare function useKeyPress(key: string, callback: VoidFunction): void;
|
|
1139
1154
|
|
|
1140
|
-
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
|
|
1155
|
+
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, 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, useKeyPress, useNebulaI18n, useTipCard };
|