alope-ui 1.2.0 → 1.2.3

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 (41) 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/BottomNavbar/BottomNavbar.d.ts +9 -0
  7. package/dist/components/BottomNavbar/BottomNavbarAction.d.ts +11 -0
  8. package/dist/components/Breadcrumb/Breadcrumb.d.ts +16 -0
  9. package/dist/components/Button/Button.d.ts +68 -0
  10. package/dist/components/Card/Card.d.ts +20 -0
  11. package/dist/components/CheckboxInput/CheckboxInput.d.ts +10 -0
  12. package/dist/components/CheckboxInput/ListCheckboxInput.d.ts +55 -0
  13. package/dist/components/CodeInput/CodeInput.d.ts +17 -0
  14. package/dist/components/Collection/Collection.d.ts +14 -0
  15. package/dist/components/DatePicker/DatePicker.d.ts +47 -0
  16. package/dist/components/FAB/FAB.d.ts +18 -0
  17. package/dist/components/FileUpload/FIleUpload.d.ts +14 -0
  18. package/dist/components/Grid/Grid.d.ts +12 -0
  19. package/dist/components/Grid/GridItem.d.ts +10 -0
  20. package/dist/components/Masonry/Masonry.d.ts +13 -0
  21. package/dist/components/Modal/Modal.d.ts +13 -0
  22. package/dist/components/Offcanvas/Offcanvas.d.ts +20 -0
  23. package/dist/components/Pagination/Pagination.d.ts +22 -0
  24. package/dist/components/RadioInput/RadioInput.d.ts +55 -0
  25. package/dist/components/SelectInput/SelectInput.d.ts +14 -0
  26. package/dist/components/Skeleton/Skeleton.d.ts +10 -0
  27. package/dist/components/Slider/Slider.d.ts +26 -0
  28. package/dist/components/Spinner/Spinner.d.ts +23 -0
  29. package/dist/components/Table/Table.d.ts +34 -0
  30. package/dist/components/Tabs/Tabs.d.ts +57 -0
  31. package/dist/components/TextInput/TextInput.d.ts +13 -0
  32. package/dist/components/Textarea/Textarea.d.ts +8 -0
  33. package/dist/components/Timeline/Timeline.d.ts +33 -0
  34. package/dist/components/Toast/Toast.d.ts +28 -0
  35. package/dist/components/Toast/ToastProvider.d.ts +11 -0
  36. package/dist/components/Toggle/Toggle.d.ts +28 -0
  37. package/dist/components/Tooltip/Tooltip.d.ts +14 -0
  38. package/dist/index.css +1 -0
  39. package/dist/main.cjs +749 -0
  40. package/dist/main.d.ts +33 -0
  41. 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
+ secondary: string;
12
+ };
13
+ declare const AlertType: {
14
+ success: string;
15
+ info: string;
16
+ warning: string;
17
+ error: string;
18
+ primary: string;
19
+ secondary: 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,9 @@
1
+ import { default as React } from 'react';
2
+ interface BottomNavbarProps {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ value: string;
6
+ onChangeValue: (value: string) => void;
7
+ }
8
+ export declare const BottomNavbar: React.FC<BottomNavbarProps>;
9
+ export {};
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ export interface BottomNavbarActionProps {
3
+ label?: React.ReactNode;
4
+ icon?: React.ReactNode;
5
+ value: string;
6
+ selectedValue?: string;
7
+ onChangeValue?: (value: string) => void;
8
+ labelClassName?: string;
9
+ className?: string;
10
+ }
11
+ export declare const BottomNavbarAction: React.FC<BottomNavbarActionProps>;
@@ -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,68 @@
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
+ secondary: {
19
+ solid: string;
20
+ outline: string;
21
+ ghost: string;
22
+ plain: string;
23
+ };
24
+ success: {
25
+ solid: string;
26
+ outline: string;
27
+ ghost: string;
28
+ plain: string;
29
+ };
30
+ warning: {
31
+ solid: string;
32
+ outline: string;
33
+ ghost: string;
34
+ plain: string;
35
+ };
36
+ error: {
37
+ solid: string;
38
+ outline: string;
39
+ ghost: string;
40
+ plain: string;
41
+ };
42
+ info: {
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 declare const getVariantClasses: (variant: Variant, variantType: VariantType) => string;
52
+ export type ButtonProps = {
53
+ children?: React.ReactNode | string;
54
+ onClick?: () => void;
55
+ size?: keyof typeof ButtonSizes;
56
+ to?: string;
57
+ variant?: Variant;
58
+ variantType?: VariantType;
59
+ borderType?: keyof typeof ButtonRadius;
60
+ type?: 'button' | 'submit' | 'reset';
61
+ disabled?: boolean;
62
+ fullWidth?: boolean;
63
+ prefixIcon?: React.ReactNode;
64
+ suffixIcon?: React.ReactNode;
65
+ className?: string;
66
+ } & React.ButtonHTMLAttributes<HTMLButtonElement>;
67
+ export declare const Button: React.FC<ButtonProps>;
68
+ export {};
@@ -0,0 +1,20 @@
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
+ ribbonClassName?: string;
16
+ ribbon?: string;
17
+ children?: React.ReactNode;
18
+ };
19
+ export declare const Card: React.FC<CardProps>;
20
+ 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,17 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ declare const CodeInputSize: {
3
+ sm: string;
4
+ md: string;
5
+ lg: string;
6
+ xl: string;
7
+ };
8
+ export type CodeInputProps = {
9
+ label?: string;
10
+ value: string;
11
+ length: number;
12
+ labelClassName?: string;
13
+ onCodeChange: (code: string) => void;
14
+ inputSize?: keyof typeof CodeInputSize;
15
+ } & Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange'>;
16
+ export declare const CodeInput: React.FC<CodeInputProps>;
17
+ export {};
@@ -0,0 +1,14 @@
1
+ export type CollectionProps<T> = {
2
+ title?: string;
3
+ data: T[];
4
+ children?: (item: T, index: number, isActive: boolean) => React.ReactNode;
5
+ className?: string;
6
+ wrapperClassName?: string;
7
+ suffixIcon?: React.ReactNode | ((item?: T, index?: number, isActive?: boolean) => React.ReactNode);
8
+ activeItem?: any;
9
+ onChangeActive?: (item: T, index: number) => void;
10
+ };
11
+ export declare function Collection<T extends {
12
+ id: any;
13
+ name?: string;
14
+ }>({ data, title, className, wrapperClassName, children, suffixIcon, activeItem, onChangeActive, }: CollectionProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,47 @@
1
+ import { default as React, InputHTMLAttributes } from 'react';
2
+ declare const DatePickerColors: {
3
+ success: {
4
+ input: string;
5
+ outline: string;
6
+ header: string;
7
+ icon: string;
8
+ day: string;
9
+ };
10
+ info: {
11
+ input: string;
12
+ outline: string;
13
+ header: string;
14
+ icon: string;
15
+ day: string;
16
+ };
17
+ error: {
18
+ input: string;
19
+ outline: string;
20
+ header: string;
21
+ icon: string;
22
+ day: string;
23
+ };
24
+ warning: {
25
+ input: string;
26
+ outline: string;
27
+ header: string;
28
+ icon: string;
29
+ day: string;
30
+ };
31
+ default: {
32
+ input: string;
33
+ outline: string;
34
+ header: string;
35
+ icon: string;
36
+ day: string;
37
+ };
38
+ };
39
+ type DatePickerProps = {
40
+ label?: string;
41
+ selectedDate?: Date;
42
+ labelClassName?: string;
43
+ color?: keyof typeof DatePickerColors;
44
+ onDateChange?: (date: Date) => void;
45
+ } & InputHTMLAttributes<HTMLInputElement>;
46
+ export declare const DatePicker: React.FC<DatePickerProps>;
47
+ export {};
@@ -0,0 +1,18 @@
1
+ import { Variant, VariantType } from '../Button/Button';
2
+ declare const FABSizes: {
3
+ sm: string;
4
+ md: string;
5
+ lg: string;
6
+ };
7
+ type FABProps = {
8
+ children: React.ReactNode;
9
+ direction?: 'horizontal' | 'vertical';
10
+ size?: keyof typeof FABSizes;
11
+ variant?: Variant;
12
+ variantType?: VariantType;
13
+ isOpen: boolean;
14
+ onOpen: () => void;
15
+ icon?: React.ReactNode;
16
+ };
17
+ export declare const FAB: ({ children, direction, size, variant, variantType, isOpen, onOpen, icon }: FABProps) => import("react/jsx-runtime").JSX.Element;
18
+ 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
+ maxKiloByte?: 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,12 @@
1
+ import { default as React, HTMLAttributes } from 'react';
2
+ type Breakpoint = 'base' | 'md' | 'lg' | 'xl' | 'lg' | 'xl' | '2xl';
3
+ export type ResponsiveValue<T extends number | string> = T | Partial<Record<Breakpoint, T>>;
4
+ type ResponsiveCols = ResponsiveValue<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12>;
5
+ type ResponsiveGap = ResponsiveValue<1 | 2 | 3 | 4 | 5 | 6>;
6
+ export interface GridProps extends HTMLAttributes<HTMLDivElement> {
7
+ children: React.ReactNode;
8
+ cols?: ResponsiveCols;
9
+ gap?: ResponsiveGap;
10
+ }
11
+ export declare const Grid: ({ className, cols, gap, children, style, ...props }: GridProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,10 @@
1
+ import { default as React, HTMLAttributes } from 'react';
2
+ type Breakpoint = 'base' | 'md' | 'lg' | 'xl' | 'lg' | 'xl' | '2xl';
3
+ export type ResponsiveValue<T extends number | string> = T | Partial<Record<Breakpoint, T>>;
4
+ type ResponsiveColSpan = ResponsiveValue<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12>;
5
+ export interface GridItemProps extends HTMLAttributes<HTMLDivElement> {
6
+ children: React.ReactNode;
7
+ colSpan?: ResponsiveColSpan;
8
+ }
9
+ export declare const GridItem: ({ className, colSpan, children, ...props }: GridItemProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ type Breakpoint = "base" | "sm" | "md" | "lg" | "xl" | "lg" | "xl" | "2xl";
3
+ export type ResponsiveValue<T extends number | string> = T | Partial<Record<Breakpoint, T>>;
4
+ type ResponsiveCols = ResponsiveValue<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12>;
5
+ type ResponsiveGap = ResponsiveValue<1 | 2 | 3 | 4 | 5 | 6>;
6
+ export interface MasonryProps extends React.HTMLAttributes<HTMLDivElement> {
7
+ children: React.ReactNode;
8
+ className?: string;
9
+ cols?: ResponsiveCols;
10
+ gap?: ResponsiveGap;
11
+ }
12
+ export declare const Masonry: React.ForwardRefExoticComponent<MasonryProps & React.RefAttributes<HTMLDivElement>>;
13
+ 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,20 @@
1
+ import { default as React } from 'react';
2
+ declare const OffcanvasWidthVariants: {
3
+ default: string;
4
+ sm: string;
5
+ md: string;
6
+ lg: string;
7
+ };
8
+ interface OffcanvasProps {
9
+ isOpen: boolean;
10
+ onClose: () => void;
11
+ title: string;
12
+ children: React.ReactNode;
13
+ position?: 'left' | 'right';
14
+ width?: keyof typeof OffcanvasWidthVariants;
15
+ titleClassName?: string;
16
+ closeButtonClassName?: string;
17
+ className?: string;
18
+ }
19
+ export declare const Offcanvas: React.FC<OffcanvasProps>;
20
+ 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,26 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ declare const SliderColor: {
3
+ primary: string;
4
+ error: string;
5
+ warning: string;
6
+ success: string;
7
+ info: string;
8
+ secondary: string;
9
+ };
10
+ declare const SliderSize: {
11
+ sm: string;
12
+ md: string;
13
+ lg: string;
14
+ xl: string;
15
+ };
16
+ export type SliderProps = {
17
+ label?: string;
18
+ prefixIcon?: React.ReactNode;
19
+ suffixIcon?: React.ReactNode;
20
+ color?: keyof typeof SliderColor;
21
+ sliderSize?: keyof typeof SliderSize;
22
+ showTooltip?: boolean;
23
+ showMarks?: boolean;
24
+ } & InputHTMLAttributes<HTMLInputElement>;
25
+ export declare const Slider: React.FC<SliderProps>;
26
+ export {};
@@ -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 {};