alope-ui 1.1.6 → 1.2.2

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.
Files changed (31) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +18 -0
  2. package/dist/components/Alert/Alert.d.ts +34 -0
  3. package/dist/components/Avatar/Avatar.d.ts +38 -0
  4. package/dist/components/Avatar/AvatarGroup.d.ts +10 -0
  5. package/dist/components/Badge/Badge.d.ts +25 -0
  6. package/dist/components/Breadcrumb/Breadcrumb.d.ts +16 -0
  7. package/dist/components/Button/Button.d.ts +67 -0
  8. package/dist/components/Card/Card.d.ts +19 -0
  9. package/dist/components/CheckboxInput/CheckboxInput.d.ts +10 -0
  10. package/dist/components/CheckboxInput/ListCheckboxInput.d.ts +55 -0
  11. package/dist/components/FileUpload/FIleUpload.d.ts +14 -0
  12. package/dist/components/Modal/Modal.d.ts +13 -0
  13. package/dist/components/Offcanvas/Offcanvas.d.ts +14 -0
  14. package/dist/components/Pagination/Pagination.d.ts +22 -0
  15. package/dist/components/RadioInput/RadioInput.d.ts +55 -0
  16. package/dist/components/SelectInput/SelectInput.d.ts +14 -0
  17. package/dist/components/Skeleton/Skeleton.d.ts +10 -0
  18. package/dist/components/Spinner/Spinner.d.ts +23 -0
  19. package/dist/components/Table/Table.d.ts +34 -0
  20. package/dist/components/Tabs/Tabs.d.ts +57 -0
  21. package/dist/components/TextInput/TextInput.d.ts +6 -0
  22. package/dist/components/Textarea/Textarea.d.ts +8 -0
  23. package/dist/components/Toast/Toast.d.ts +28 -0
  24. package/dist/components/Toast/ToastProvider.d.ts +11 -0
  25. package/dist/components/Toggle/Toggle.d.ts +27 -0
  26. package/dist/components/Tooltip/Tooltip.d.ts +14 -0
  27. package/dist/components/index.d.ts +24 -0
  28. package/dist/index.css +1 -0
  29. package/dist/main.cjs +723 -0
  30. package/dist/main.d.ts +25 -0
  31. package/package.json +1 -1
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ type AccordionItem = {
3
+ label: string;
4
+ description: string;
5
+ };
6
+ export type AccordionProps = {
7
+ data: AccordionItem[];
8
+ openIndex?: number | number[] | null;
9
+ single?: boolean;
10
+ onToggleItem?: (index: number | number[] | null) => void;
11
+ icon?: React.ReactNode | ((isOpen: boolean) => React.ReactNode);
12
+ className?: string;
13
+ labelClassName?: string;
14
+ labelContainerClassName?: string;
15
+ descriptionClassName?: string;
16
+ } & React.HTMLAttributes<HTMLDivElement>;
17
+ export declare const Accordion: React.FC<AccordionProps>;
18
+ export {};
@@ -0,0 +1,34 @@
1
+ declare const AlertVariants: {
2
+ outline: string;
3
+ solid: string;
4
+ };
5
+ declare const IconColors: {
6
+ success: string;
7
+ info: string;
8
+ error: string;
9
+ warning: string;
10
+ primary: string;
11
+ default: string;
12
+ };
13
+ declare const AlertType: {
14
+ success: string;
15
+ info: string;
16
+ warning: string;
17
+ error: string;
18
+ primary: string;
19
+ default: string;
20
+ };
21
+ export type AlertProps = {
22
+ title: string;
23
+ description?: string;
24
+ type?: keyof typeof AlertType;
25
+ variant?: keyof typeof AlertVariants;
26
+ icon?: React.ReactNode;
27
+ withClose?: boolean;
28
+ titleClassName?: string;
29
+ descriptionClassName?: string;
30
+ action?: React.ReactNode | (() => React.ReactNode);
31
+ iconColor?: keyof typeof IconColors;
32
+ };
33
+ export declare const Alert: React.FC<AlertProps>;
34
+ export {};
@@ -0,0 +1,38 @@
1
+ import { default as React } from 'react';
2
+ declare const AvatarSize: {
3
+ sm: string;
4
+ md: string;
5
+ lg: string;
6
+ };
7
+ declare const AvatarVariant: {
8
+ solid: string;
9
+ outline: string;
10
+ };
11
+ declare const AvatarShape: {
12
+ sharp: string;
13
+ cornered: string;
14
+ rounded: string;
15
+ };
16
+ declare const AvatarFallbackColor: {
17
+ primary: string;
18
+ error: string;
19
+ warning: string;
20
+ success: string;
21
+ info: string;
22
+ secondary: string;
23
+ };
24
+ export type AvatarProps = {
25
+ imageSrc?: string;
26
+ shape?: keyof typeof AvatarShape;
27
+ variant?: keyof typeof AvatarVariant;
28
+ size?: keyof typeof AvatarSize;
29
+ ring?: boolean;
30
+ ringClassName?: string;
31
+ fallbackName?: string;
32
+ fallbackColor?: keyof typeof AvatarFallbackColor;
33
+ alt?: string;
34
+ status?: 'online' | 'offline';
35
+ className?: string;
36
+ };
37
+ export declare const Avatar: React.FC<AvatarProps>;
38
+ export {};
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { AvatarProps } from './Avatar';
3
+ export type AvatarGroupProps = {
4
+ avatars: AvatarProps[];
5
+ maxVisible?: number;
6
+ size?: AvatarProps['size'];
7
+ overlap?: string;
8
+ className?: string;
9
+ };
10
+ export declare const AvatarGroup: React.FC<AvatarGroupProps>;
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ declare const BadgeVariants: {
3
+ default: string;
4
+ secondary: string;
5
+ success: string;
6
+ error: string;
7
+ info: string;
8
+ warning: string;
9
+ };
10
+ declare const BadgePositions: {
11
+ 'top-right': string;
12
+ 'top-left': string;
13
+ 'bottom-right': string;
14
+ 'bottom-left': string;
15
+ };
16
+ export type BadgeProps = {
17
+ children?: React.ReactNode | string;
18
+ variant?: keyof typeof BadgeVariants;
19
+ position?: keyof typeof BadgePositions;
20
+ isAbsolute?: boolean;
21
+ className?: string;
22
+ icon?: React.ReactNode;
23
+ } & React.ButtonHTMLAttributes<HTMLSpanElement>;
24
+ export declare const Badge: React.FC<BadgeProps>;
25
+ export {};
@@ -0,0 +1,16 @@
1
+ import { default as React } from 'react';
2
+ type BreadcrumbItem = {
3
+ label: string;
4
+ path?: string;
5
+ icon?: React.ReactNode;
6
+ };
7
+ type BreadcrumbProps = {
8
+ data: BreadcrumbItem[];
9
+ labelClassName?: string;
10
+ linkClassName?: string;
11
+ currentLinkClassName?: string;
12
+ separatorClassName?: string;
13
+ separator?: React.ReactNode;
14
+ };
15
+ export declare const Breadcrumb: React.FC<BreadcrumbProps>;
16
+ export {};
@@ -0,0 +1,67 @@
1
+ import { default as React } from 'react';
2
+ declare const ButtonSizes: {
3
+ sm: string;
4
+ md: string;
5
+ lg: string;
6
+ };
7
+ declare const ButtonRadius: {
8
+ regular: string;
9
+ stadium: string;
10
+ };
11
+ export declare const ButtonVariantsMap: {
12
+ primary: {
13
+ solid: string;
14
+ outline: string;
15
+ ghost: string;
16
+ plain: string;
17
+ };
18
+ error: {
19
+ solid: string;
20
+ outline: string;
21
+ ghost: string;
22
+ plain: string;
23
+ };
24
+ warning: {
25
+ solid: string;
26
+ outline: string;
27
+ ghost: string;
28
+ plain: string;
29
+ };
30
+ success: {
31
+ solid: string;
32
+ outline: string;
33
+ ghost: string;
34
+ plain: string;
35
+ };
36
+ info: {
37
+ solid: string;
38
+ outline: string;
39
+ ghost: string;
40
+ plain: string;
41
+ };
42
+ secondary: {
43
+ solid: string;
44
+ outline: string;
45
+ ghost: string;
46
+ plain: string;
47
+ };
48
+ };
49
+ export type VariantType = keyof typeof ButtonVariantsMap;
50
+ export type Variant = keyof typeof ButtonVariantsMap[VariantType];
51
+ export type ButtonProps = {
52
+ children?: React.ReactNode | string;
53
+ onClick?: () => void;
54
+ size?: keyof typeof ButtonSizes;
55
+ to?: string;
56
+ variant?: Variant;
57
+ variantType?: VariantType;
58
+ borderType?: keyof typeof ButtonRadius;
59
+ type?: 'button' | 'submit' | 'reset';
60
+ disabled?: boolean;
61
+ fullWidth?: boolean;
62
+ prefixIcon?: React.ReactNode;
63
+ suffixIcon?: React.ReactNode;
64
+ className?: string;
65
+ } & React.ButtonHTMLAttributes<HTMLButtonElement>;
66
+ export declare const Button: React.FC<ButtonProps>;
67
+ export {};
@@ -0,0 +1,19 @@
1
+ import { default as React } from 'react';
2
+ type CardSize = 'sm' | 'md' | 'lg' | 'full';
3
+ type CardProps = {
4
+ title?: string;
5
+ description?: string;
6
+ image?: string | React.ReactNode;
7
+ onClick?: () => void;
8
+ horizontal?: boolean;
9
+ footer?: React.ReactNode;
10
+ size?: CardSize;
11
+ containerClassName?: string;
12
+ imageClassName?: string;
13
+ titleClassName?: string;
14
+ descriptionClassName?: string;
15
+ ribbon?: string;
16
+ children?: React.ReactNode;
17
+ };
18
+ export declare const Card: React.FC<CardProps>;
19
+ export {};
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ export interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
+ label?: React.ReactNode;
4
+ indeterminate?: boolean;
5
+ checkboxClassName?: string;
6
+ labelClassName?: string;
7
+ description?: string;
8
+ descriptionClassName?: string;
9
+ }
10
+ export declare const CheckboxInput: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,55 @@
1
+ import { default as React } from 'react';
2
+ export type CheckboxOptionType = {
3
+ label: string;
4
+ value: string;
5
+ };
6
+ declare const CheckboxSizes: {
7
+ sm: {
8
+ container: string;
9
+ checkbox: string;
10
+ label: string;
11
+ };
12
+ md: {
13
+ container: string;
14
+ checkbox: string;
15
+ label: string;
16
+ };
17
+ lg: {
18
+ container: string;
19
+ checkbox: string;
20
+ label: string;
21
+ };
22
+ };
23
+ declare const CheckboxVariants: {
24
+ solid: {
25
+ label: string;
26
+ checked: string;
27
+ checkbox: string;
28
+ checkedCheckbox: string;
29
+ };
30
+ subtle: {
31
+ label: string;
32
+ checked: string;
33
+ checkbox: string;
34
+ checkedCheckbox: string;
35
+ };
36
+ outline: {
37
+ label: string;
38
+ checked: string;
39
+ checkbox: string;
40
+ checkedCheckbox: string;
41
+ };
42
+ };
43
+ export type ListCheckBoxInputProps = {
44
+ options: CheckboxOptionType[];
45
+ selectedValues: CheckboxOptionType[] | undefined;
46
+ onValueChange: (value: CheckboxOptionType[]) => void;
47
+ containerClassName?: string;
48
+ inputLabelClassName?: (option: CheckboxOptionType, isChecked: boolean) => string;
49
+ inputGroupClassName?: (option: CheckboxOptionType, isChecked: boolean) => string;
50
+ inputCheckboxClassName?: (option: CheckboxOptionType, isChecked: boolean) => string;
51
+ variant?: keyof typeof CheckboxVariants;
52
+ checkboxSize?: keyof typeof CheckboxSizes;
53
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>;
54
+ export declare const ListCheckboxInput: React.FC<ListCheckBoxInputProps>;
55
+ export {};
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ interface FileUploadProps {
3
+ acceptedFiles?: string;
4
+ maxFiles?: number;
5
+ helperText?: string;
6
+ inputLabel?: string;
7
+ maxByte?: number;
8
+ mediaCapture?: 'user' | 'environment';
9
+ mode?: 'dropzone' | 'textinput';
10
+ clearable?: boolean;
11
+ onFilesChange: (files: File[]) => void;
12
+ }
13
+ export declare const FileUpload: React.FC<FileUploadProps>;
14
+ export {};
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ type ModalProps = {
3
+ isOpen: boolean;
4
+ overlayClose?: boolean;
5
+ onClose: () => void;
6
+ title?: string;
7
+ children: React.ReactNode;
8
+ showCloseButton?: boolean;
9
+ size?: 'sm' | 'md' | 'lg' | 'xl';
10
+ className?: string;
11
+ };
12
+ export declare const Modal: React.FC<ModalProps>;
13
+ export {};
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ interface OffcanvasProps {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ title: string;
6
+ children: React.ReactNode;
7
+ position?: 'left' | 'right';
8
+ width?: 'sm' | 'md' | 'lg';
9
+ titleClassName?: string;
10
+ closeButtonClassName?: string;
11
+ className?: string;
12
+ }
13
+ export declare const Offcanvas: React.FC<OffcanvasProps>;
14
+ export {};
@@ -0,0 +1,22 @@
1
+ type PaginationProps = {
2
+ currentPage: number;
3
+ format?: 'none' | 'long';
4
+ count?: number;
5
+ pageSize?: number;
6
+ simplified?: boolean;
7
+ asLink?: boolean;
8
+ getPageHref?: (page: number) => string;
9
+ totalPages?: number;
10
+ onPageChange: (page: number) => void;
11
+ siblingCount?: number;
12
+ prevIcon?: React.ReactNode;
13
+ nextIcon?: React.ReactNode;
14
+ size?: keyof typeof PaginationSizes;
15
+ };
16
+ declare const PaginationSizes: {
17
+ sm: string;
18
+ md: string;
19
+ lg: string;
20
+ };
21
+ export declare const Pagination: React.FC<PaginationProps>;
22
+ export {};
@@ -0,0 +1,55 @@
1
+ import { default as React } from 'react';
2
+ export type RadioOptionType = {
3
+ label: string;
4
+ value: string;
5
+ };
6
+ declare const RadioSizes: {
7
+ sm: {
8
+ container: string;
9
+ radio: string;
10
+ label: string;
11
+ };
12
+ md: {
13
+ container: string;
14
+ radio: string;
15
+ label: string;
16
+ };
17
+ lg: {
18
+ container: string;
19
+ radio: string;
20
+ label: string;
21
+ };
22
+ };
23
+ declare const RadioVariants: {
24
+ solid: {
25
+ label: string;
26
+ checked: string;
27
+ radio: string;
28
+ checkedRadio: string;
29
+ };
30
+ subtle: {
31
+ label: string;
32
+ checked: string;
33
+ radio: string;
34
+ checkedRadio: string;
35
+ };
36
+ outline: {
37
+ label: string;
38
+ checked: string;
39
+ radio: string;
40
+ checkedRadio: string;
41
+ };
42
+ };
43
+ export type RadioInputProps = {
44
+ options: RadioOptionType[];
45
+ selectedValue?: RadioOptionType;
46
+ onValueChange: (value: RadioOptionType) => void;
47
+ containerClassName?: string;
48
+ inputLabelClassName?: (isChecked: boolean, option: RadioOptionType) => string;
49
+ inputGroupClassName?: (isChecked: boolean, option: RadioOptionType) => string;
50
+ inputRadioClassName?: (isChecked: boolean, option: RadioOptionType) => string;
51
+ variant?: keyof typeof RadioVariants;
52
+ radioSize?: keyof typeof RadioSizes;
53
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>;
54
+ export declare const RadioInput: React.FC<RadioInputProps>;
55
+ export {};
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { Props as SelectProps, GroupBase, ClassNamesConfig } from 'react-select';
3
+ export interface SelectOptionType {
4
+ value: string;
5
+ label: string;
6
+ }
7
+ export type SelectInputProps = {
8
+ label?: string;
9
+ error?: string;
10
+ labelClassName?: string;
11
+ errorClassName?: string;
12
+ customClassNames?: ClassNamesConfig<SelectOptionType, boolean, GroupBase<SelectOptionType>>;
13
+ } & SelectProps<SelectOptionType, boolean, GroupBase<SelectOptionType>>;
14
+ export declare const SelectInput: React.FC<SelectInputProps>;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ export type SkeletonProps = {
3
+ width?: string;
4
+ height?: string;
5
+ rounded?: boolean;
6
+ isLoading?: boolean;
7
+ children?: React.ReactNode;
8
+ animode?: "shimmer" | "flash";
9
+ };
10
+ export declare const Skeleton: React.FC<SkeletonProps>;
@@ -0,0 +1,23 @@
1
+ import { default as React } from 'react';
2
+ declare const SpinnerSize: {
3
+ sm: string;
4
+ md: string;
5
+ lg: string;
6
+ };
7
+ declare const SpinnerColor: {
8
+ primary: string;
9
+ error: string;
10
+ warning: string;
11
+ success: string;
12
+ info: string;
13
+ secondary: string;
14
+ };
15
+ export type SpinnerProps = {
16
+ size?: keyof typeof SpinnerSize;
17
+ color?: keyof typeof SpinnerColor;
18
+ className?: string;
19
+ duration?: number;
20
+ thickness?: number | undefined;
21
+ };
22
+ export declare const Spinner: React.FC<SpinnerProps>;
23
+ export {};
@@ -0,0 +1,34 @@
1
+ export type Column<T> = {
2
+ header: string;
3
+ accessor: keyof T;
4
+ render?: (value: T[keyof T], row: T) => React.ReactNode;
5
+ };
6
+ declare const TableSize: {
7
+ sm: string;
8
+ md: string;
9
+ lg: string;
10
+ };
11
+ export type TableType<T> = {
12
+ columns: Column<T>[];
13
+ data: T[];
14
+ striped?: boolean;
15
+ stripeColor?: string;
16
+ headerClassName?: string;
17
+ dataColumnClassName?: string;
18
+ dataRowClassName?: string;
19
+ tableClassName?: string;
20
+ captionClassName?: string;
21
+ containerClassName?: string;
22
+ customEmptyData?: React.ReactNode;
23
+ size?: keyof typeof TableSize;
24
+ caption?: string;
25
+ captionPosition?: 'top' | 'bottom';
26
+ stickyHeader?: boolean;
27
+ selectable?: boolean;
28
+ onSelectionChange?: (selected: T[]) => void;
29
+ selectedRows?: T[];
30
+ };
31
+ export declare function Table<T extends {
32
+ id: any;
33
+ }>({ columns, data, striped, stripeColor, headerClassName, dataColumnClassName, dataRowClassName, customEmptyData, tableClassName, captionClassName, containerClassName, size, caption, captionPosition, stickyHeader, selectable, onSelectionChange, selectedRows, }: TableType<T>): import("react/jsx-runtime").JSX.Element;
34
+ export {};
@@ -0,0 +1,57 @@
1
+ declare const TabsVariants: {
2
+ line: {
3
+ wrapper: string;
4
+ button: string;
5
+ active: string;
6
+ inactive: string;
7
+ };
8
+ solid: {
9
+ wrapper: string;
10
+ button: string;
11
+ active: string;
12
+ inactive: string;
13
+ };
14
+ subtle: {
15
+ wrapper: string;
16
+ button: string;
17
+ active: string;
18
+ inactive: string;
19
+ };
20
+ inline: {
21
+ wrapper: string;
22
+ button: string;
23
+ active: string;
24
+ inactive: string;
25
+ };
26
+ outline: {
27
+ wrapper: string;
28
+ button: string;
29
+ active: string;
30
+ inactive: string;
31
+ };
32
+ plain: {
33
+ wrapper: string;
34
+ button: string;
35
+ active: string;
36
+ inactive: string;
37
+ };
38
+ };
39
+ export type Tabs = {
40
+ label: string;
41
+ content: React.ReactNode;
42
+ disabled?: boolean;
43
+ link?: string;
44
+ };
45
+ export type TabsProps = {
46
+ tabs: Tabs[];
47
+ variant?: keyof typeof TabsVariants;
48
+ fitted?: boolean;
49
+ wrapperClassName?: string;
50
+ buttonClassName?: string;
51
+ activeClassName?: string;
52
+ inactiveClassName?: string;
53
+ activeTab?: number;
54
+ onTabChange?: (index: number) => void;
55
+ };
56
+ export declare const Tabs: React.FC<TabsProps>;
57
+ export {};
@@ -0,0 +1,6 @@
1
+ import { default as React, InputHTMLAttributes } from 'react';
2
+ export type TextInputProps = {
3
+ label?: string;
4
+ error?: string;
5
+ } & InputHTMLAttributes<HTMLInputElement>;
6
+ export declare const TextInput: React.FC<TextInputProps>;
@@ -0,0 +1,8 @@
1
+ import { default as React, InputHTMLAttributes } from 'react';
2
+ export type TextareaType = {
3
+ label?: string;
4
+ error?: string;
5
+ autoResize?: boolean;
6
+ customClassName?: string;
7
+ } & InputHTMLAttributes<HTMLTextAreaElement>;
8
+ export declare const Textarea: React.FC<TextareaType>;
@@ -0,0 +1,28 @@
1
+ import { default as React } from 'react';
2
+ export interface ToastProps {
3
+ title?: string;
4
+ message: string;
5
+ type: keyof typeof ToastTypes;
6
+ position?: keyof typeof ToastPositions;
7
+ variant?: keyof typeof ToastVariants;
8
+ icon?: React.ReactNode;
9
+ onClose?: () => void;
10
+ }
11
+ export declare const ToastVariants: {
12
+ outline: string;
13
+ solid: string;
14
+ };
15
+ export declare const ToastPositions: {
16
+ topLeft: string;
17
+ bottomLeft: string;
18
+ topRight: string;
19
+ bottomRight: string;
20
+ };
21
+ export declare const ToastTypes: {
22
+ success: string;
23
+ info: string;
24
+ warning: string;
25
+ error: string;
26
+ };
27
+ declare const Toast: React.FC<ToastProps>;
28
+ export default Toast;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { ToastProps } from './Toast';
3
+ interface ToastContextType {
4
+ addToast: ({ title, message, type, variant, icon, onClose }: ToastProps) => void;
5
+ }
6
+ export declare const useToast: () => ToastContextType;
7
+ interface ToastProviderProps {
8
+ children: React.ReactNode;
9
+ }
10
+ export declare const ToastProvider: React.FC<ToastProviderProps>;
11
+ export {};
@@ -0,0 +1,27 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ export declare const ToggleVariant: {
3
+ primary: string;
4
+ error: string;
5
+ warning: string;
6
+ success: string;
7
+ info: string;
8
+ secondary: string;
9
+ };
10
+ export declare const ToggleThumbShape: {
11
+ stadium: string;
12
+ rounded: string;
13
+ };
14
+ export declare const ToggleSize: {
15
+ sm: string;
16
+ md: string;
17
+ lg: string;
18
+ };
19
+ export type ToggleProps = {
20
+ customSize?: keyof typeof ToggleSize;
21
+ variant?: keyof typeof ToggleVariant;
22
+ thumbShape?: keyof typeof ToggleThumbShape;
23
+ label?: string;
24
+ wrapperClassName?: string;
25
+ labelClassName?: string;
26
+ } & InputHTMLAttributes<HTMLInputElement>;
27
+ export declare const Toggle: React.FC<ToggleProps>;
@@ -0,0 +1,14 @@
1
+ export type TooltipProps = {
2
+ children: React.ReactNode;
3
+ text: string;
4
+ showArrow?: boolean;
5
+ placement?: 'top' | 'bottom' | 'left' | 'right';
6
+ offset?: number;
7
+ bgColor?: string;
8
+ isOpen?: boolean;
9
+ onOpenChange?: (open: boolean) => void;
10
+ disabled?: boolean;
11
+ animationDuration?: number;
12
+ delay?: number;
13
+ };
14
+ export declare const Tooltip: React.FC<TooltipProps>;