@snapcall/design-system 1.26.6 → 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/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 +37 -37
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
4
3
|
import { VariantProps } from 'cva';
|
|
@@ -8,11 +7,11 @@ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
|
8
7
|
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
8
|
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
9
|
declare const AlertDialogHeader: {
|
|
11
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
10
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
12
11
|
displayName: string;
|
|
13
12
|
};
|
|
14
13
|
declare const AlertDialogFooter: {
|
|
15
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
14
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
16
15
|
displayName: string;
|
|
17
16
|
};
|
|
18
17
|
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
4
3
|
import { VariantProps } from 'cva';
|
|
@@ -8,11 +7,11 @@ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
|
8
7
|
declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
8
|
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
9
|
declare const AlertDialogHeader: {
|
|
11
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
10
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
12
11
|
displayName: string;
|
|
13
12
|
};
|
|
14
13
|
declare const AlertDialogFooter: {
|
|
15
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
14
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
16
15
|
displayName: string;
|
|
17
16
|
};
|
|
18
17
|
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { VariantProps } from 'cva';
|
|
4
3
|
|
|
@@ -62,6 +61,6 @@ declare const badgeVariants: (props?: ({
|
|
|
62
61
|
})) | undefined) => string;
|
|
63
62
|
interface BadgeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, VariantProps<typeof badgeVariants> {
|
|
64
63
|
}
|
|
65
|
-
declare function Badge({ className, variant, color, ...props }: BadgeProps):
|
|
64
|
+
declare function Badge({ className, variant, color, ...props }: BadgeProps): React.JSX.Element;
|
|
66
65
|
|
|
67
66
|
export { Badge, type BadgeProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { VariantProps } from 'cva';
|
|
4
3
|
|
|
@@ -62,6 +61,6 @@ declare const badgeVariants: (props?: ({
|
|
|
62
61
|
})) | undefined) => string;
|
|
63
62
|
interface BadgeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, VariantProps<typeof badgeVariants> {
|
|
64
63
|
}
|
|
65
|
-
declare function Badge({ className, variant, color, ...props }: BadgeProps):
|
|
64
|
+
declare function Badge({ className, variant, color, ...props }: BadgeProps): React.JSX.Element;
|
|
66
65
|
|
|
67
66
|
export { Badge, type BadgeProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { VariantProps } from 'cva';
|
|
4
3
|
|
|
@@ -65,6 +64,6 @@ interface BannerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'
|
|
|
65
64
|
icon?: React.JSX.Element;
|
|
66
65
|
action?: React.JSX.Element;
|
|
67
66
|
}
|
|
68
|
-
declare function Banner({ title, text, icon, action, color, className, ...props }: BannerProps):
|
|
67
|
+
declare function Banner({ title, text, icon, action, color, className, ...props }: BannerProps): React.JSX.Element;
|
|
69
68
|
|
|
70
69
|
export { Banner, type BannerProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { VariantProps } from 'cva';
|
|
4
3
|
|
|
@@ -65,6 +64,6 @@ interface BannerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'
|
|
|
65
64
|
icon?: React.JSX.Element;
|
|
66
65
|
action?: React.JSX.Element;
|
|
67
66
|
}
|
|
68
|
-
declare function Banner({ title, text, icon, action, color, className, ...props }: BannerProps):
|
|
67
|
+
declare function Banner({ title, text, icon, action, color, className, ...props }: BannerProps): React.JSX.Element;
|
|
69
68
|
|
|
70
69
|
export { Banner, type BannerProps };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
|
|
4
|
-
declare function Breadcrumb({ ...props }: React.ComponentProps<'nav'>):
|
|
5
|
-
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>):
|
|
6
|
-
declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<'li'>):
|
|
3
|
+
declare function Breadcrumb({ ...props }: React.ComponentProps<'nav'>): React.JSX.Element;
|
|
4
|
+
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>): React.JSX.Element;
|
|
5
|
+
declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<'li'>): React.JSX.Element;
|
|
7
6
|
declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<'a'> & {
|
|
8
7
|
asChild?: boolean;
|
|
9
|
-
}):
|
|
10
|
-
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>):
|
|
11
|
-
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<'li'>):
|
|
12
|
-
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<'span'>):
|
|
8
|
+
}): React.JSX.Element;
|
|
9
|
+
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>): React.JSX.Element;
|
|
10
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<'li'>): React.JSX.Element;
|
|
11
|
+
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<'span'>): React.JSX.Element;
|
|
13
12
|
|
|
14
13
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
|
|
4
|
-
declare function Breadcrumb({ ...props }: React.ComponentProps<'nav'>):
|
|
5
|
-
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>):
|
|
6
|
-
declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<'li'>):
|
|
3
|
+
declare function Breadcrumb({ ...props }: React.ComponentProps<'nav'>): React.JSX.Element;
|
|
4
|
+
declare function BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>): React.JSX.Element;
|
|
5
|
+
declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<'li'>): React.JSX.Element;
|
|
7
6
|
declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<'a'> & {
|
|
8
7
|
asChild?: boolean;
|
|
9
|
-
}):
|
|
10
|
-
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>):
|
|
11
|
-
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<'li'>):
|
|
12
|
-
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<'span'>):
|
|
8
|
+
}): React.JSX.Element;
|
|
9
|
+
declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>): React.JSX.Element;
|
|
10
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<'li'>): React.JSX.Element;
|
|
11
|
+
declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<'span'>): React.JSX.Element;
|
|
13
12
|
|
|
14
13
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { DayPicker } from 'react-day-picker';
|
|
4
3
|
export { DateRange } from 'react-day-picker';
|
|
5
4
|
|
|
6
5
|
type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
7
|
-
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps):
|
|
6
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): React.JSX.Element;
|
|
8
7
|
declare namespace Calendar {
|
|
9
8
|
var displayName: string;
|
|
10
9
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { DayPicker } from 'react-day-picker';
|
|
4
3
|
export { DateRange } from 'react-day-picker';
|
|
5
4
|
|
|
6
5
|
type CalendarProps = React.ComponentProps<typeof DayPicker>;
|
|
7
|
-
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps):
|
|
6
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): React.JSX.Element;
|
|
8
7
|
declare namespace Calendar {
|
|
9
8
|
var displayName: string;
|
|
10
9
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
import { C as CommandItemExtension } from '../index-CMWfBd0H.mjs';
|
|
4
3
|
|
|
@@ -27,6 +26,6 @@ type CreatableSelectProps<T, Multiple extends boolean> = (CreatableSelectBasePro
|
|
|
27
26
|
valueKey?: never;
|
|
28
27
|
getItemProps?: never;
|
|
29
28
|
});
|
|
30
|
-
declare function CreatableSelect<T, Multiple extends boolean>({ isLoading, items, multiple, newLabel, nothingFoundLabel, placeholder, value, valueKey, onValueChanged, getItemProps, ...props }: CreatableSelectProps<T, Multiple>):
|
|
29
|
+
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;
|
|
31
30
|
|
|
32
31
|
export { CreatableSelect, type CreatableSelectProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
import { C as CommandItemExtension } from '../index-CMWfBd0H.js';
|
|
4
3
|
|
|
@@ -27,6 +26,6 @@ type CreatableSelectProps<T, Multiple extends boolean> = (CreatableSelectBasePro
|
|
|
27
26
|
valueKey?: never;
|
|
28
27
|
getItemProps?: never;
|
|
29
28
|
});
|
|
30
|
-
declare function CreatableSelect<T, Multiple extends boolean>({ isLoading, items, multiple, newLabel, nothingFoundLabel, placeholder, value, valueKey, onValueChanged, getItemProps, ...props }: CreatableSelectProps<T, Multiple>):
|
|
29
|
+
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;
|
|
31
30
|
|
|
32
31
|
export { CreatableSelect, type CreatableSelectProps };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
4
3
|
|
|
@@ -9,11 +8,11 @@ declare const DialogContent: React.ForwardRefExoticComponent<Omit<SheetPrimitive
|
|
|
9
8
|
showClose?: boolean;
|
|
10
9
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
11
10
|
declare const DialogHeader: {
|
|
12
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
11
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
13
12
|
displayName: string;
|
|
14
13
|
};
|
|
15
14
|
declare const DialogFooter: {
|
|
16
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
15
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
17
16
|
displayName: string;
|
|
18
17
|
};
|
|
19
18
|
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
4
3
|
|
|
@@ -9,11 +8,11 @@ declare const DialogContent: React.ForwardRefExoticComponent<Omit<SheetPrimitive
|
|
|
9
8
|
showClose?: boolean;
|
|
10
9
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
11
10
|
declare const DialogHeader: {
|
|
12
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
11
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
13
12
|
displayName: string;
|
|
14
13
|
};
|
|
15
14
|
declare const DialogFooter: {
|
|
16
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
15
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
17
16
|
displayName: string;
|
|
18
17
|
};
|
|
19
18
|
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
1
|
import * as react_hook_form from 'react-hook-form';
|
|
4
2
|
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
5
3
|
import * as React from 'react';
|
|
@@ -8,7 +6,7 @@ import * as LabelPrimitive from '@radix-ui/react-label';
|
|
|
8
6
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
9
7
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName> & {
|
|
10
8
|
disabled?: boolean;
|
|
11
|
-
}) =>
|
|
9
|
+
}) => React.JSX.Element;
|
|
12
10
|
declare const useFormField: () => {
|
|
13
11
|
invalid: boolean;
|
|
14
12
|
isDirty: boolean;
|
|
@@ -24,7 +22,9 @@ declare const useFormField: () => {
|
|
|
24
22
|
};
|
|
25
23
|
declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
26
24
|
declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
27
|
-
declare const FormControl: React.ForwardRefExoticComponent<Omit<
|
|
25
|
+
declare const FormControl: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement> & {
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
} & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
28
28
|
declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
29
29
|
declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
30
30
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
1
|
import * as react_hook_form from 'react-hook-form';
|
|
4
2
|
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
5
3
|
import * as React from 'react';
|
|
@@ -8,7 +6,7 @@ import * as LabelPrimitive from '@radix-ui/react-label';
|
|
|
8
6
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
9
7
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName> & {
|
|
10
8
|
disabled?: boolean;
|
|
11
|
-
}) =>
|
|
9
|
+
}) => React.JSX.Element;
|
|
12
10
|
declare const useFormField: () => {
|
|
13
11
|
invalid: boolean;
|
|
14
12
|
isDirty: boolean;
|
|
@@ -24,7 +22,9 @@ declare const useFormField: () => {
|
|
|
24
22
|
};
|
|
25
23
|
declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
26
24
|
declare const FormLabel: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
27
|
-
declare const FormControl: React.ForwardRefExoticComponent<Omit<
|
|
25
|
+
declare const FormControl: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement> & {
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
} & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
28
28
|
declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
29
29
|
declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
30
30
|
|
|
@@ -100,7 +100,7 @@ var Input = React.forwardRef(
|
|
|
100
100
|
"div",
|
|
101
101
|
{
|
|
102
102
|
className: cn(
|
|
103
|
-
"flex h-9 w-full rounded-lg border border-gray-200 bg-
|
|
103
|
+
"flex h-9 w-full rounded-lg border border-gray-200 bg-white focus-within:outline-2 focus-within:outline-blue-300 focus-within:outline-offset-2",
|
|
104
104
|
{ "cursor-not-allowed opacity-50": isDisabled },
|
|
105
105
|
{
|
|
106
106
|
"border-red-700 focus-within:border-gray-200 focus-within:outline-red-700": !!props["data-has-error"]
|
|
@@ -33,7 +33,7 @@ var Input = React.forwardRef(
|
|
|
33
33
|
"div",
|
|
34
34
|
{
|
|
35
35
|
className: cn(
|
|
36
|
-
"flex h-9 w-full rounded-lg border border-gray-200 bg-
|
|
36
|
+
"flex h-9 w-full rounded-lg border border-gray-200 bg-white focus-within:outline-2 focus-within:outline-blue-300 focus-within:outline-offset-2",
|
|
37
37
|
{ "cursor-not-allowed opacity-50": isDisabled },
|
|
38
38
|
{
|
|
39
39
|
"border-red-700 focus-within:border-gray-200 focus-within:outline-red-700": !!props["data-has-error"]
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default, { HTMLAttributes } from 'react';
|
|
3
2
|
|
|
4
3
|
type MediaCardProps = {
|
|
@@ -19,7 +18,7 @@ type MediaCardProps = {
|
|
|
19
18
|
};
|
|
20
19
|
} & HTMLAttributes<HTMLDivElement>;
|
|
21
20
|
declare const MediaCard: {
|
|
22
|
-
({ title, description, duration, type, image, icon, action, actionBehavior, isLoading, size, author, className, ...otherProps }: MediaCardProps):
|
|
21
|
+
({ title, description, duration, type, image, icon, action, actionBehavior, isLoading, size, author, className, ...otherProps }: MediaCardProps): React__default.JSX.Element;
|
|
23
22
|
displayName: string;
|
|
24
23
|
};
|
|
25
24
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default, { HTMLAttributes } from 'react';
|
|
3
2
|
|
|
4
3
|
type MediaCardProps = {
|
|
@@ -19,7 +18,7 @@ type MediaCardProps = {
|
|
|
19
18
|
};
|
|
20
19
|
} & HTMLAttributes<HTMLDivElement>;
|
|
21
20
|
declare const MediaCard: {
|
|
22
|
-
({ title, description, duration, type, image, icon, action, actionBehavior, isLoading, size, author, className, ...otherProps }: MediaCardProps):
|
|
21
|
+
({ title, description, duration, type, image, icon, action, actionBehavior, isLoading, size, author, className, ...otherProps }: MediaCardProps): React__default.JSX.Element;
|
|
23
22
|
displayName: string;
|
|
24
23
|
};
|
|
25
24
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
declare enum PaginationPageChoice {
|
|
4
4
|
FIRST = "FIRST",
|
|
@@ -14,6 +14,6 @@ interface PaginationProps {
|
|
|
14
14
|
onPageChange: (page: PaginationPageChoice) => void;
|
|
15
15
|
className?: string;
|
|
16
16
|
}
|
|
17
|
-
declare const Pagination: ({ totalRowsCaption, nextPageAvailable, previousPageAvailable, currentPageCation, onPageChange, className, }: PaginationProps) =>
|
|
17
|
+
declare const Pagination: ({ totalRowsCaption, nextPageAvailable, previousPageAvailable, currentPageCation, onPageChange, className, }: PaginationProps) => React.JSX.Element;
|
|
18
18
|
|
|
19
19
|
export { Pagination, PaginationPageChoice };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
|
|
3
3
|
declare enum PaginationPageChoice {
|
|
4
4
|
FIRST = "FIRST",
|
|
@@ -14,6 +14,6 @@ interface PaginationProps {
|
|
|
14
14
|
onPageChange: (page: PaginationPageChoice) => void;
|
|
15
15
|
className?: string;
|
|
16
16
|
}
|
|
17
|
-
declare const Pagination: ({ totalRowsCaption, nextPageAvailable, previousPageAvailable, currentPageCation, onPageChange, className, }: PaginationProps) =>
|
|
17
|
+
declare const Pagination: ({ totalRowsCaption, nextPageAvailable, previousPageAvailable, currentPageCation, onPageChange, className, }: PaginationProps) => React.JSX.Element;
|
|
18
18
|
|
|
19
19
|
export { Pagination, PaginationPageChoice };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
4
3
|
import { VariantProps } from 'cva';
|
|
@@ -69,7 +68,7 @@ interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetP
|
|
|
69
68
|
}
|
|
70
69
|
declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
71
70
|
declare const SheetHeader: {
|
|
72
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
71
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
73
72
|
displayName: string;
|
|
74
73
|
};
|
|
75
74
|
declare const SheetTitle: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
4
3
|
import { VariantProps } from 'cva';
|
|
@@ -69,7 +68,7 @@ interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof SheetP
|
|
|
69
68
|
}
|
|
70
69
|
declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
71
70
|
declare const SheetHeader: {
|
|
72
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
71
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
73
72
|
displayName: string;
|
|
74
73
|
};
|
|
75
74
|
declare const SheetTitle: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
|
|
4
|
-
declare function Skeleton({ className, ...props }: React__default.HTMLAttributes<HTMLDivElement>):
|
|
3
|
+
declare function Skeleton({ className, ...props }: React__default.HTMLAttributes<HTMLDivElement>): React__default.JSX.Element;
|
|
5
4
|
|
|
6
5
|
export { Skeleton };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React__default from 'react';
|
|
3
2
|
|
|
4
|
-
declare function Skeleton({ className, ...props }: React__default.HTMLAttributes<HTMLDivElement>):
|
|
3
|
+
declare function Skeleton({ className, ...props }: React__default.HTMLAttributes<HTMLDivElement>): React__default.JSX.Element;
|
|
5
4
|
|
|
6
5
|
export { Skeleton };
|
|
@@ -95,7 +95,7 @@ var Textarea = React.forwardRef(
|
|
|
95
95
|
"div",
|
|
96
96
|
{
|
|
97
97
|
className: cn(
|
|
98
|
-
"flex flex-col gap-3 min-h-
|
|
98
|
+
"flex flex-col gap-3 min-h-20 w-full rounded-lg border border-gray-200 p-3 bg-white relative focus-within:outline-2 focus-within:outline-blue-300 focus-within:outline-offset-2",
|
|
99
99
|
{ "cursor-not-allowed opacity-50": isDisabled },
|
|
100
100
|
{
|
|
101
101
|
"border-red-700 focus-within:border-gray-200 focus-within:outline-red-700": !!props["data-has-error"]
|
|
@@ -28,7 +28,7 @@ var Textarea = React.forwardRef(
|
|
|
28
28
|
"div",
|
|
29
29
|
{
|
|
30
30
|
className: cn(
|
|
31
|
-
"flex flex-col gap-3 min-h-
|
|
31
|
+
"flex flex-col gap-3 min-h-20 w-full rounded-lg border border-gray-200 p-3 bg-white relative focus-within:outline-2 focus-within:outline-blue-300 focus-within:outline-offset-2",
|
|
32
32
|
{ "cursor-not-allowed opacity-50": isDisabled },
|
|
33
33
|
{
|
|
34
34
|
"border-red-700 focus-within:border-gray-200 focus-within:outline-red-700": !!props["data-has-error"]
|
|
@@ -3,7 +3,6 @@ import React__default from 'react';
|
|
|
3
3
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
4
4
|
import { VariantProps } from 'cva';
|
|
5
5
|
import { ButtonProps } from '../Button/index.mjs';
|
|
6
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
6
|
import { I as IconProps } from '../types-DBpSTFQy.mjs';
|
|
8
7
|
|
|
9
8
|
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
@@ -160,10 +159,10 @@ declare function useToast({ toasterId }?: {
|
|
|
160
159
|
|
|
161
160
|
declare const ToastContent: ({ title, description, icon, actions, hideClose, onClose, }: Pick<ToasterToast, "title" | "description" | "icon" | "actions" | "hideClose"> & {
|
|
162
161
|
onClose?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
163
|
-
}) =>
|
|
162
|
+
}) => React__default.JSX.Element;
|
|
164
163
|
declare function Toaster({ className, toasterId, ...props }: ToastPrimitives.ToastProviderProps & {
|
|
165
164
|
toasterId?: string;
|
|
166
165
|
className?: string;
|
|
167
|
-
}):
|
|
166
|
+
}): React__default.JSX.Element;
|
|
168
167
|
|
|
169
168
|
export { RawToast, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastContent, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, toast, useToast };
|
|
@@ -3,7 +3,6 @@ import React__default from 'react';
|
|
|
3
3
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
4
4
|
import { VariantProps } from 'cva';
|
|
5
5
|
import { ButtonProps } from '../Button/index.js';
|
|
6
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
6
|
import { I as IconProps } from '../types-DBpSTFQy.js';
|
|
8
7
|
|
|
9
8
|
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
@@ -160,10 +159,10 @@ declare function useToast({ toasterId }?: {
|
|
|
160
159
|
|
|
161
160
|
declare const ToastContent: ({ title, description, icon, actions, hideClose, onClose, }: Pick<ToasterToast, "title" | "description" | "icon" | "actions" | "hideClose"> & {
|
|
162
161
|
onClose?: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
163
|
-
}) =>
|
|
162
|
+
}) => React__default.JSX.Element;
|
|
164
163
|
declare function Toaster({ className, toasterId, ...props }: ToastPrimitives.ToastProviderProps & {
|
|
165
164
|
toasterId?: string;
|
|
166
165
|
className?: string;
|
|
167
|
-
}):
|
|
166
|
+
}): React__default.JSX.Element;
|
|
168
167
|
|
|
169
168
|
export { RawToast, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastContent, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, toast, useToast };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
4
3
|
|
|
5
|
-
declare const TooltipProvider: ({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) =>
|
|
4
|
+
declare const TooltipProvider: ({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) => React.JSX.Element;
|
|
6
5
|
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
7
6
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
8
7
|
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
8
|
declare const TooltipPortal: React.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
10
|
-
declare const TooltipArrow: (props: React.ComponentProps<typeof TooltipPrimitive.Arrow>) =>
|
|
9
|
+
declare const TooltipArrow: (props: React.ComponentProps<typeof TooltipPrimitive.Arrow>) => React.JSX.Element;
|
|
11
10
|
declare const TooltipContentCard: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
12
11
|
title: string;
|
|
13
12
|
description?: string;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
4
3
|
|
|
5
|
-
declare const TooltipProvider: ({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) =>
|
|
4
|
+
declare const TooltipProvider: ({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>) => React.JSX.Element;
|
|
6
5
|
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
7
6
|
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
8
7
|
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
8
|
declare const TooltipPortal: React.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
10
|
-
declare const TooltipArrow: (props: React.ComponentProps<typeof TooltipPrimitive.Arrow>) =>
|
|
9
|
+
declare const TooltipArrow: (props: React.ComponentProps<typeof TooltipPrimitive.Arrow>) => React.JSX.Element;
|
|
11
10
|
declare const TooltipContentCard: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
12
11
|
title: string;
|
|
13
12
|
description?: string;
|