@snapcall/design-system 1.26.5 → 1.26.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/components/AlertDialog/index.d.mts +2 -3
- package/dist/components/AlertDialog/index.d.ts +2 -3
- package/dist/components/Badge/index.d.mts +1 -2
- package/dist/components/Badge/index.d.ts +1 -2
- package/dist/components/Banner/index.d.mts +1 -2
- package/dist/components/Banner/index.d.ts +1 -2
- package/dist/components/Breadcrumb/index.d.mts +7 -8
- package/dist/components/Breadcrumb/index.d.ts +7 -8
- package/dist/components/Calendar/index.d.mts +1 -2
- package/dist/components/Calendar/index.d.ts +1 -2
- package/dist/components/CreatableSelect/index.d.mts +1 -2
- package/dist/components/CreatableSelect/index.d.ts +1 -2
- package/dist/components/Dialog/index.d.mts +2 -3
- package/dist/components/Dialog/index.d.ts +2 -3
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Dialog/index.mjs +1 -1
- package/dist/components/Form/index.d.mts +4 -4
- package/dist/components/Form/index.d.ts +4 -4
- package/dist/components/Input/index.js +1 -1
- package/dist/components/Input/index.mjs +1 -1
- package/dist/components/MediaCard/index.d.mts +1 -2
- package/dist/components/MediaCard/index.d.ts +1 -2
- package/dist/components/Pagination/index.d.mts +2 -2
- package/dist/components/Pagination/index.d.ts +2 -2
- package/dist/components/Sheet/index.d.mts +1 -2
- package/dist/components/Sheet/index.d.ts +1 -2
- package/dist/components/Skeleton/index.d.mts +1 -2
- package/dist/components/Skeleton/index.d.ts +1 -2
- package/dist/components/Textarea/index.js +1 -1
- package/dist/components/Textarea/index.mjs +1 -1
- package/dist/components/Toaster/index.d.mts +2 -3
- package/dist/components/Toaster/index.d.ts +2 -3
- package/dist/components/Tooltip/index.d.mts +2 -3
- package/dist/components/Tooltip/index.d.ts +2 -3
- package/dist/index.d.mts +22 -23
- package/dist/index.d.ts +22 -23
- package/dist/style.css +2 -2
- package/package.json +38 -38
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,6 @@ import * as react from 'react';
|
|
|
2
2
|
import react__default, { HTMLAttributes } from 'react';
|
|
3
3
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
4
4
|
import { I as IconProps } from './types-DBpSTFQy.mjs';
|
|
5
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
5
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
7
6
|
import { VariantProps } from 'cva';
|
|
8
7
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
@@ -211,11 +210,11 @@ declare const AlertDialog: react.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
|
211
210
|
declare const AlertDialogTrigger: react.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
212
211
|
declare const AlertDialogContent: react.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
213
212
|
declare const AlertDialogHeader: {
|
|
214
|
-
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>):
|
|
213
|
+
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
215
214
|
displayName: string;
|
|
216
215
|
};
|
|
217
216
|
declare const AlertDialogFooter: {
|
|
218
|
-
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>):
|
|
217
|
+
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
219
218
|
displayName: string;
|
|
220
219
|
};
|
|
221
220
|
declare const AlertDialogTitle: react.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -408,7 +407,7 @@ declare const badgeVariants: (props?: ({
|
|
|
408
407
|
})) | undefined) => string;
|
|
409
408
|
interface BadgeProps extends Omit<react.HTMLAttributes<HTMLDivElement>, 'color'>, VariantProps<typeof badgeVariants> {
|
|
410
409
|
}
|
|
411
|
-
declare function Badge({ className, variant, color, ...props }: BadgeProps):
|
|
410
|
+
declare function Badge({ className, variant, color, ...props }: BadgeProps): react.JSX.Element;
|
|
412
411
|
|
|
413
412
|
declare const bannerVariants: (props?: ({
|
|
414
413
|
color?: "blue" | "amber" | "red" | "green" | "gray" | "unset" | undefined;
|
|
@@ -473,17 +472,17 @@ interface BannerProps extends Omit<react.HTMLAttributes<HTMLDivElement>, 'color'
|
|
|
473
472
|
icon?: react.JSX.Element;
|
|
474
473
|
action?: react.JSX.Element;
|
|
475
474
|
}
|
|
476
|
-
declare function Banner({ title, text, icon, action, color, className, ...props }: BannerProps):
|
|
475
|
+
declare function Banner({ title, text, icon, action, color, className, ...props }: BannerProps): react.JSX.Element;
|
|
477
476
|
|
|
478
|
-
declare function Breadcrumb({ ...props }: react.ComponentProps<'nav'>):
|
|
479
|
-
declare function BreadcrumbList({ className, ...props }: react.ComponentProps<'ol'>):
|
|
480
|
-
declare function BreadcrumbItem({ className, ...props }: react.ComponentProps<'li'>):
|
|
477
|
+
declare function Breadcrumb({ ...props }: react.ComponentProps<'nav'>): react.JSX.Element;
|
|
478
|
+
declare function BreadcrumbList({ className, ...props }: react.ComponentProps<'ol'>): react.JSX.Element;
|
|
479
|
+
declare function BreadcrumbItem({ className, ...props }: react.ComponentProps<'li'>): react.JSX.Element;
|
|
481
480
|
declare function BreadcrumbLink({ asChild, className, ...props }: react.ComponentProps<'a'> & {
|
|
482
481
|
asChild?: boolean;
|
|
483
|
-
}):
|
|
484
|
-
declare function BreadcrumbPage({ className, ...props }: react.ComponentProps<'span'>):
|
|
485
|
-
declare function BreadcrumbSeparator({ children, className, ...props }: react.ComponentProps<'li'>):
|
|
486
|
-
declare function BreadcrumbEllipsis({ className, ...props }: react.ComponentProps<'span'>):
|
|
482
|
+
}): react.JSX.Element;
|
|
483
|
+
declare function BreadcrumbPage({ className, ...props }: react.ComponentProps<'span'>): react.JSX.Element;
|
|
484
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: react.ComponentProps<'li'>): react.JSX.Element;
|
|
485
|
+
declare function BreadcrumbEllipsis({ className, ...props }: react.ComponentProps<'span'>): react.JSX.Element;
|
|
487
486
|
|
|
488
487
|
type CarouselApi = UseEmblaCarouselType[1];
|
|
489
488
|
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
@@ -621,7 +620,7 @@ type CreatableSelectProps<T, Multiple extends boolean> = (CreatableSelectBasePro
|
|
|
621
620
|
valueKey?: never;
|
|
622
621
|
getItemProps?: never;
|
|
623
622
|
});
|
|
624
|
-
declare function CreatableSelect<T, Multiple extends boolean>({ isLoading, items, multiple, newLabel, nothingFoundLabel, placeholder, value, valueKey, onValueChanged, getItemProps, ...props }: CreatableSelectProps<T, Multiple>):
|
|
623
|
+
declare function CreatableSelect<T, Multiple extends boolean>({ isLoading, items, multiple, newLabel, nothingFoundLabel, placeholder, value, valueKey, onValueChanged, getItemProps, ...props }: CreatableSelectProps<T, Multiple>): react__default.JSX.Element;
|
|
625
624
|
|
|
626
625
|
declare const Dialog: react.FC<SheetPrimitive.DialogProps>;
|
|
627
626
|
declare const DialogTrigger: react.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -630,11 +629,11 @@ declare const DialogContent: react.ForwardRefExoticComponent<Omit<SheetPrimitive
|
|
|
630
629
|
showClose?: boolean;
|
|
631
630
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
632
631
|
declare const DialogHeader: {
|
|
633
|
-
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>):
|
|
632
|
+
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
634
633
|
displayName: string;
|
|
635
634
|
};
|
|
636
635
|
declare const DialogFooter: {
|
|
637
|
-
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>):
|
|
636
|
+
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
638
637
|
displayName: string;
|
|
639
638
|
};
|
|
640
639
|
declare const DialogTitle: react.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -708,7 +707,7 @@ type MediaCardProps = {
|
|
|
708
707
|
};
|
|
709
708
|
} & HTMLAttributes<HTMLDivElement>;
|
|
710
709
|
declare const MediaCard: {
|
|
711
|
-
({ title, description, duration, type, image, icon, action, actionBehavior, isLoading, size, author, className, ...otherProps }: MediaCardProps):
|
|
710
|
+
({ title, description, duration, type, image, icon, action, actionBehavior, isLoading, size, author, className, ...otherProps }: MediaCardProps): react__default.JSX.Element;
|
|
712
711
|
displayName: string;
|
|
713
712
|
};
|
|
714
713
|
|
|
@@ -726,7 +725,7 @@ interface PaginationProps {
|
|
|
726
725
|
onPageChange: (page: PaginationPageChoice) => void;
|
|
727
726
|
className?: string;
|
|
728
727
|
}
|
|
729
|
-
declare const Pagination: ({ totalRowsCaption, nextPageAvailable, previousPageAvailable, currentPageCation, onPageChange, className, }: PaginationProps) =>
|
|
728
|
+
declare const Pagination: ({ totalRowsCaption, nextPageAvailable, previousPageAvailable, currentPageCation, onPageChange, className, }: PaginationProps) => react.JSX.Element;
|
|
730
729
|
|
|
731
730
|
declare const Popover: react.FC<PopoverPrimitive.PopoverProps>;
|
|
732
731
|
declare const PopoverTrigger: react.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -821,7 +820,7 @@ interface SheetContentProps extends react.ComponentPropsWithoutRef<typeof SheetP
|
|
|
821
820
|
}
|
|
822
821
|
declare const SheetContent: react.ForwardRefExoticComponent<SheetContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
823
822
|
declare const SheetHeader: {
|
|
824
|
-
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>):
|
|
823
|
+
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
825
824
|
displayName: string;
|
|
826
825
|
};
|
|
827
826
|
declare const SheetTitle: react.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & {
|
|
@@ -829,7 +828,7 @@ declare const SheetTitle: react.ForwardRefExoticComponent<Omit<SheetPrimitive.Di
|
|
|
829
828
|
} & react.RefAttributes<HTMLHeadingElement>>;
|
|
830
829
|
declare const SheetDescription: react.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
|
|
831
830
|
|
|
832
|
-
declare function Skeleton({ className, ...props }: react__default.HTMLAttributes<HTMLDivElement>):
|
|
831
|
+
declare function Skeleton({ className, ...props }: react__default.HTMLAttributes<HTMLDivElement>): react__default.JSX.Element;
|
|
833
832
|
|
|
834
833
|
declare const Switch: react.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
835
834
|
|
|
@@ -1015,11 +1014,11 @@ declare function useToast({ toasterId }?: {
|
|
|
1015
1014
|
|
|
1016
1015
|
declare const ToastContent: ({ title, description, icon, actions, hideClose, onClose, }: Pick<ToasterToast, "title" | "description" | "icon" | "actions" | "hideClose"> & {
|
|
1017
1016
|
onClose?: react__default.MouseEventHandler<HTMLButtonElement>;
|
|
1018
|
-
}) =>
|
|
1017
|
+
}) => react__default.JSX.Element;
|
|
1019
1018
|
declare function Toaster({ className, toasterId, ...props }: ToastPrimitives.ToastProviderProps & {
|
|
1020
1019
|
toasterId?: string;
|
|
1021
1020
|
className?: string;
|
|
1022
|
-
}):
|
|
1021
|
+
}): react__default.JSX.Element;
|
|
1023
1022
|
|
|
1024
1023
|
declare const toggleVariants: (props?: ({
|
|
1025
1024
|
size?: "sm" | "md" | undefined;
|
|
@@ -1096,12 +1095,12 @@ type ToggleGroupItemProps = {
|
|
|
1096
1095
|
};
|
|
1097
1096
|
declare const ToggleGroupItem: react.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & react.RefAttributes<HTMLButtonElement>, "ref"> & ToggleGroupItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1098
1097
|
|
|
1099
|
-
declare const TooltipProvider: ({ delayDuration, ...props }: react.ComponentProps<typeof TooltipPrimitive.Provider>) =>
|
|
1098
|
+
declare const TooltipProvider: ({ delayDuration, ...props }: react.ComponentProps<typeof TooltipPrimitive.Provider>) => react.JSX.Element;
|
|
1100
1099
|
declare const Tooltip: react.FC<TooltipPrimitive.TooltipProps>;
|
|
1101
1100
|
declare const TooltipTrigger: react.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1102
1101
|
declare const TooltipContent: react.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1103
1102
|
declare const TooltipPortal: react.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
1104
|
-
declare const TooltipArrow: (props: react.ComponentProps<typeof TooltipPrimitive.Arrow>) =>
|
|
1103
|
+
declare const TooltipArrow: (props: react.ComponentProps<typeof TooltipPrimitive.Arrow>) => react.JSX.Element;
|
|
1105
1104
|
declare const TooltipContentCard: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLDivElement> & {
|
|
1106
1105
|
title: string;
|
|
1107
1106
|
description?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as react from 'react';
|
|
|
2
2
|
import react__default, { HTMLAttributes } from 'react';
|
|
3
3
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
4
4
|
import { I as IconProps } from './types-DBpSTFQy.js';
|
|
5
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
5
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
7
6
|
import { VariantProps } from 'cva';
|
|
8
7
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
@@ -211,11 +210,11 @@ declare const AlertDialog: react.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
|
211
210
|
declare const AlertDialogTrigger: react.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
212
211
|
declare const AlertDialogContent: react.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
213
212
|
declare const AlertDialogHeader: {
|
|
214
|
-
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>):
|
|
213
|
+
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
215
214
|
displayName: string;
|
|
216
215
|
};
|
|
217
216
|
declare const AlertDialogFooter: {
|
|
218
|
-
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>):
|
|
217
|
+
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
219
218
|
displayName: string;
|
|
220
219
|
};
|
|
221
220
|
declare const AlertDialogTitle: react.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -408,7 +407,7 @@ declare const badgeVariants: (props?: ({
|
|
|
408
407
|
})) | undefined) => string;
|
|
409
408
|
interface BadgeProps extends Omit<react.HTMLAttributes<HTMLDivElement>, 'color'>, VariantProps<typeof badgeVariants> {
|
|
410
409
|
}
|
|
411
|
-
declare function Badge({ className, variant, color, ...props }: BadgeProps):
|
|
410
|
+
declare function Badge({ className, variant, color, ...props }: BadgeProps): react.JSX.Element;
|
|
412
411
|
|
|
413
412
|
declare const bannerVariants: (props?: ({
|
|
414
413
|
color?: "blue" | "amber" | "red" | "green" | "gray" | "unset" | undefined;
|
|
@@ -473,17 +472,17 @@ interface BannerProps extends Omit<react.HTMLAttributes<HTMLDivElement>, 'color'
|
|
|
473
472
|
icon?: react.JSX.Element;
|
|
474
473
|
action?: react.JSX.Element;
|
|
475
474
|
}
|
|
476
|
-
declare function Banner({ title, text, icon, action, color, className, ...props }: BannerProps):
|
|
475
|
+
declare function Banner({ title, text, icon, action, color, className, ...props }: BannerProps): react.JSX.Element;
|
|
477
476
|
|
|
478
|
-
declare function Breadcrumb({ ...props }: react.ComponentProps<'nav'>):
|
|
479
|
-
declare function BreadcrumbList({ className, ...props }: react.ComponentProps<'ol'>):
|
|
480
|
-
declare function BreadcrumbItem({ className, ...props }: react.ComponentProps<'li'>):
|
|
477
|
+
declare function Breadcrumb({ ...props }: react.ComponentProps<'nav'>): react.JSX.Element;
|
|
478
|
+
declare function BreadcrumbList({ className, ...props }: react.ComponentProps<'ol'>): react.JSX.Element;
|
|
479
|
+
declare function BreadcrumbItem({ className, ...props }: react.ComponentProps<'li'>): react.JSX.Element;
|
|
481
480
|
declare function BreadcrumbLink({ asChild, className, ...props }: react.ComponentProps<'a'> & {
|
|
482
481
|
asChild?: boolean;
|
|
483
|
-
}):
|
|
484
|
-
declare function BreadcrumbPage({ className, ...props }: react.ComponentProps<'span'>):
|
|
485
|
-
declare function BreadcrumbSeparator({ children, className, ...props }: react.ComponentProps<'li'>):
|
|
486
|
-
declare function BreadcrumbEllipsis({ className, ...props }: react.ComponentProps<'span'>):
|
|
482
|
+
}): react.JSX.Element;
|
|
483
|
+
declare function BreadcrumbPage({ className, ...props }: react.ComponentProps<'span'>): react.JSX.Element;
|
|
484
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: react.ComponentProps<'li'>): react.JSX.Element;
|
|
485
|
+
declare function BreadcrumbEllipsis({ className, ...props }: react.ComponentProps<'span'>): react.JSX.Element;
|
|
487
486
|
|
|
488
487
|
type CarouselApi = UseEmblaCarouselType[1];
|
|
489
488
|
type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
@@ -621,7 +620,7 @@ type CreatableSelectProps<T, Multiple extends boolean> = (CreatableSelectBasePro
|
|
|
621
620
|
valueKey?: never;
|
|
622
621
|
getItemProps?: never;
|
|
623
622
|
});
|
|
624
|
-
declare function CreatableSelect<T, Multiple extends boolean>({ isLoading, items, multiple, newLabel, nothingFoundLabel, placeholder, value, valueKey, onValueChanged, getItemProps, ...props }: CreatableSelectProps<T, Multiple>):
|
|
623
|
+
declare function CreatableSelect<T, Multiple extends boolean>({ isLoading, items, multiple, newLabel, nothingFoundLabel, placeholder, value, valueKey, onValueChanged, getItemProps, ...props }: CreatableSelectProps<T, Multiple>): react__default.JSX.Element;
|
|
625
624
|
|
|
626
625
|
declare const Dialog: react.FC<SheetPrimitive.DialogProps>;
|
|
627
626
|
declare const DialogTrigger: react.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -630,11 +629,11 @@ declare const DialogContent: react.ForwardRefExoticComponent<Omit<SheetPrimitive
|
|
|
630
629
|
showClose?: boolean;
|
|
631
630
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
632
631
|
declare const DialogHeader: {
|
|
633
|
-
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>):
|
|
632
|
+
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
634
633
|
displayName: string;
|
|
635
634
|
};
|
|
636
635
|
declare const DialogFooter: {
|
|
637
|
-
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>):
|
|
636
|
+
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
638
637
|
displayName: string;
|
|
639
638
|
};
|
|
640
639
|
declare const DialogTitle: react.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -708,7 +707,7 @@ type MediaCardProps = {
|
|
|
708
707
|
};
|
|
709
708
|
} & HTMLAttributes<HTMLDivElement>;
|
|
710
709
|
declare const MediaCard: {
|
|
711
|
-
({ title, description, duration, type, image, icon, action, actionBehavior, isLoading, size, author, className, ...otherProps }: MediaCardProps):
|
|
710
|
+
({ title, description, duration, type, image, icon, action, actionBehavior, isLoading, size, author, className, ...otherProps }: MediaCardProps): react__default.JSX.Element;
|
|
712
711
|
displayName: string;
|
|
713
712
|
};
|
|
714
713
|
|
|
@@ -726,7 +725,7 @@ interface PaginationProps {
|
|
|
726
725
|
onPageChange: (page: PaginationPageChoice) => void;
|
|
727
726
|
className?: string;
|
|
728
727
|
}
|
|
729
|
-
declare const Pagination: ({ totalRowsCaption, nextPageAvailable, previousPageAvailable, currentPageCation, onPageChange, className, }: PaginationProps) =>
|
|
728
|
+
declare const Pagination: ({ totalRowsCaption, nextPageAvailable, previousPageAvailable, currentPageCation, onPageChange, className, }: PaginationProps) => react.JSX.Element;
|
|
730
729
|
|
|
731
730
|
declare const Popover: react.FC<PopoverPrimitive.PopoverProps>;
|
|
732
731
|
declare const PopoverTrigger: react.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
@@ -821,7 +820,7 @@ interface SheetContentProps extends react.ComponentPropsWithoutRef<typeof SheetP
|
|
|
821
820
|
}
|
|
822
821
|
declare const SheetContent: react.ForwardRefExoticComponent<SheetContentProps & react.RefAttributes<HTMLDivElement>>;
|
|
823
822
|
declare const SheetHeader: {
|
|
824
|
-
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>):
|
|
823
|
+
({ className, ...props }: react.HTMLAttributes<HTMLDivElement>): react.JSX.Element;
|
|
825
824
|
displayName: string;
|
|
826
825
|
};
|
|
827
826
|
declare const SheetTitle: react.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & {
|
|
@@ -829,7 +828,7 @@ declare const SheetTitle: react.ForwardRefExoticComponent<Omit<SheetPrimitive.Di
|
|
|
829
828
|
} & react.RefAttributes<HTMLHeadingElement>>;
|
|
830
829
|
declare const SheetDescription: react.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
|
|
831
830
|
|
|
832
|
-
declare function Skeleton({ className, ...props }: react__default.HTMLAttributes<HTMLDivElement>):
|
|
831
|
+
declare function Skeleton({ className, ...props }: react__default.HTMLAttributes<HTMLDivElement>): react__default.JSX.Element;
|
|
833
832
|
|
|
834
833
|
declare const Switch: react.ForwardRefExoticComponent<Omit<SwitchPrimitive.SwitchProps & react.RefAttributes<HTMLButtonElement>, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
835
834
|
|
|
@@ -1015,11 +1014,11 @@ declare function useToast({ toasterId }?: {
|
|
|
1015
1014
|
|
|
1016
1015
|
declare const ToastContent: ({ title, description, icon, actions, hideClose, onClose, }: Pick<ToasterToast, "title" | "description" | "icon" | "actions" | "hideClose"> & {
|
|
1017
1016
|
onClose?: react__default.MouseEventHandler<HTMLButtonElement>;
|
|
1018
|
-
}) =>
|
|
1017
|
+
}) => react__default.JSX.Element;
|
|
1019
1018
|
declare function Toaster({ className, toasterId, ...props }: ToastPrimitives.ToastProviderProps & {
|
|
1020
1019
|
toasterId?: string;
|
|
1021
1020
|
className?: string;
|
|
1022
|
-
}):
|
|
1021
|
+
}): react__default.JSX.Element;
|
|
1023
1022
|
|
|
1024
1023
|
declare const toggleVariants: (props?: ({
|
|
1025
1024
|
size?: "sm" | "md" | undefined;
|
|
@@ -1096,12 +1095,12 @@ type ToggleGroupItemProps = {
|
|
|
1096
1095
|
};
|
|
1097
1096
|
declare const ToggleGroupItem: react.ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps & react.RefAttributes<HTMLButtonElement>, "ref"> & ToggleGroupItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1098
1097
|
|
|
1099
|
-
declare const TooltipProvider: ({ delayDuration, ...props }: react.ComponentProps<typeof TooltipPrimitive.Provider>) =>
|
|
1098
|
+
declare const TooltipProvider: ({ delayDuration, ...props }: react.ComponentProps<typeof TooltipPrimitive.Provider>) => react.JSX.Element;
|
|
1100
1099
|
declare const Tooltip: react.FC<TooltipPrimitive.TooltipProps>;
|
|
1101
1100
|
declare const TooltipTrigger: react.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1102
1101
|
declare const TooltipContent: react.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
1103
1102
|
declare const TooltipPortal: react.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
1104
|
-
declare const TooltipArrow: (props: react.ComponentProps<typeof TooltipPrimitive.Arrow>) =>
|
|
1103
|
+
declare const TooltipArrow: (props: react.ComponentProps<typeof TooltipPrimitive.Arrow>) => react.JSX.Element;
|
|
1105
1104
|
declare const TooltipContentCard: react.ForwardRefExoticComponent<react.HTMLAttributes<HTMLDivElement> & {
|
|
1106
1105
|
title: string;
|
|
1107
1106
|
description?: string;
|