@unizap/uniui 1.0.4 → 1.0.6
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/Accordion/Accordion.d.ts +4 -0
- package/dist/components/Accordion/Accordion.types.d.ts +13 -0
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/ActionMenu/ActionMenu.d.ts +2 -0
- package/dist/components/ActionMenu/ActionMenu.types.d.ts +14 -0
- package/dist/components/ActionMenu/index.d.ts +1 -0
- package/dist/components/Alert/Alert.d.ts +4 -0
- package/dist/components/Alert/Alert.types.d.ts +8 -0
- package/dist/components/Alert/index.d.ts +1 -0
- package/dist/components/Avatar/Avatar.d.ts +3 -0
- package/dist/components/Avatar/Avatar.types.d.ts +10 -0
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Badge/Badge.d.ts +4 -0
- package/dist/components/Badge/Badge.types.d.ts +9 -0
- package/dist/components/Badge/index.d.ts +1 -0
- package/dist/components/BottomNavigation/BottomNavigation.d.ts +4 -0
- package/dist/components/BottomNavigation/BottomNavigation.types.d.ts +14 -0
- package/dist/components/BottomNavigation/index.d.ts +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +3 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +9 -0
- package/dist/components/Breadcrumbs/index.d.ts +1 -0
- package/dist/components/Button/Button.d.ts +4 -0
- package/dist/components/Button/Button.types.d.ts +18 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Card/Card.d.ts +4 -0
- package/dist/components/Card/Card.types.d.ts +17 -0
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/CardWrapper/CardWrapper.d.ts +8 -0
- package/dist/components/CardWrapper/CardWrapper.types.d.ts +1 -0
- package/dist/components/CardWrapper/index.d.ts +1 -0
- package/dist/components/Carousel/Carousel.d.ts +4 -0
- package/dist/components/Carousel/Carousel.types.d.ts +21 -0
- package/dist/components/Carousel/index.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/components/Checkbox/Checkbox.types.d.ts +9 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/DashboardStatBoxes/DashboardStatBoxes.d.ts +3 -0
- package/dist/components/DashboardStatBoxes/DashboardStatBoxes.types.d.ts +12 -0
- package/dist/components/DashboardStatBoxes/index.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.d.ts +3 -0
- package/dist/components/DatePicker/DatePicker.types.d.ts +16 -0
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/Dialog/Dialog.d.ts +3 -0
- package/dist/components/Dialog/Dialog.types.d.ts +17 -0
- package/dist/components/Dialog/index.d.ts +1 -0
- package/dist/components/Divider/Divider.d.ts +4 -0
- package/dist/components/Divider/Divider.types.d.ts +6 -0
- package/dist/components/Divider/index.d.ts +1 -0
- package/dist/components/Drawer/Drawer.d.ts +4 -0
- package/dist/components/Drawer/Drawer.types.d.ts +12 -0
- package/dist/components/Drawer/index.d.ts +1 -0
- package/dist/components/Dropdown/Dropdown.d.ts +4 -0
- package/dist/components/Dropdown/Dropdown.types.d.ts +11 -0
- package/dist/components/Dropdown/index.d.ts +1 -0
- package/dist/components/DropzoneUploader/DropzoneUploader.d.ts +4 -0
- package/dist/components/DropzoneUploader/DropzoneUploader.types.d.ts +23 -0
- package/dist/components/DropzoneUploader/index.d.ts +1 -0
- package/dist/components/EmptyState/EmptyState.d.ts +4 -0
- package/dist/components/EmptyState/EmptyState.types.d.ts +18 -0
- package/dist/components/EmptyState/index.d.ts +1 -0
- package/dist/components/IconButton/IconButton.d.ts +4 -0
- package/dist/components/IconButton/IconButton.types.d.ts +12 -0
- package/dist/components/IconButton/index.d.ts +1 -0
- package/dist/components/List/List.d.ts +3 -0
- package/dist/components/List/List.types.d.ts +10 -0
- package/dist/components/List/ListItem.d.ts +3 -0
- package/dist/components/List/index.d.ts +2 -0
- package/dist/components/Menu/Menu.d.ts +8 -0
- package/dist/components/Menu/Menu.types.d.ts +1 -0
- package/dist/components/Menu/index.d.ts +1 -0
- package/dist/components/Pagination/Pagination.d.ts +4 -0
- package/dist/components/Pagination/Pagination.types.d.ts +8 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/PasswordInput/PasswordInput.d.ts +3 -0
- package/dist/components/PasswordInput/index.d.ts +1 -0
- package/dist/components/Pill/Pill.d.ts +4 -0
- package/dist/components/Pill/Pill.type.d.ts +8 -0
- package/dist/components/Pill/index.d.ts +1 -0
- package/dist/components/ProfileImageShowcase/ProfileShowcase.d.ts +10 -0
- package/dist/components/ProfileImageShowcase/ProfileShowcase.type.d.ts +1 -0
- package/dist/components/ProfileImageShowcase/index.d.ts +1 -0
- package/dist/components/Progress/Progress.d.ts +4 -0
- package/dist/components/Progress/Progress.types.d.ts +48 -0
- package/dist/components/Progress/index.d.ts +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +4 -0
- package/dist/components/RadioGroup/RadioGroup.types.d.ts +16 -0
- package/dist/components/RadioGroup/index.d.ts +1 -0
- package/dist/components/SearchBar/SearchBar.d.ts +4 -0
- package/dist/components/SearchBar/SearchBar.types.d.ts +24 -0
- package/dist/components/SearchBar/index.d.ts +1 -0
- package/dist/components/Select/Select.d.ts +4 -0
- package/dist/components/Select/Select.types.d.ts +17 -0
- package/dist/components/Select/index.d.ts +1 -0
- package/dist/components/Sidebar/Sidebar.d.ts +10 -0
- package/dist/components/Sidebar/Sidebar.types.d.ts +16 -0
- package/dist/components/Sidebar/index.d.ts +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +4 -0
- package/dist/components/Skeleton/Skeleton.types.d.ts +28 -0
- package/dist/components/Skeleton/index.d.ts +1 -0
- package/dist/components/Slider/Slider.d.ts +4 -0
- package/dist/components/Slider/Slider.types.d.ts +21 -0
- package/dist/components/Slider/index.d.ts +1 -0
- package/dist/components/Snackbar/Snackbar.d.ts +4 -0
- package/dist/components/Snackbar/Snackbar.types.d.ts +41 -0
- package/dist/components/Snackbar/index.d.ts +1 -0
- package/dist/components/Stepper/Stepper.d.ts +12 -0
- package/dist/components/Stepper/Stepper.type.d.ts +1 -0
- package/dist/components/Stepper/index.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +5 -0
- package/dist/components/Table/Table.types.d.ts +15 -0
- package/dist/components/Table/index.d.ts +1 -0
- package/dist/components/Tabs/Tabs.d.ts +4 -0
- package/dist/components/Tabs/Tabs.types.d.ts +17 -0
- package/dist/components/Tabs/index.d.ts +1 -0
- package/dist/components/TextArea/TextArea.d.ts +4 -0
- package/dist/components/TextArea/TextArea.types.d.ts +7 -0
- package/dist/components/TextArea/index.d.ts +1 -0
- package/dist/components/TextInput/TextInput.d.ts +3 -0
- package/dist/components/TextInput/TextInput.types.d.ts +15 -0
- package/dist/components/TextInput/index.d.ts +1 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.d.ts +3 -0
- package/dist/components/ToggleSwitch/ToggleSwitch.types.d.ts +8 -0
- package/dist/components/ToggleSwitch/index.d.ts +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +4 -0
- package/dist/components/Tooltip/Tooltip.type.d.ts +5 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/components/Typography/Typography.d.ts +4 -0
- package/dist/components/Typography/Typography.types.d.ts +8 -0
- package/dist/components/Typography/index.d.ts +1 -0
- package/dist/components/index.d.ts +42 -0
- package/dist/components/otpInput/OtpInput.d.ts +4 -0
- package/dist/components/otpInput/OtpInput.type.d.ts +13 -0
- package/dist/components/otpInput/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/uniui.css +2209 -0
- package/dist/uniui.js +9092 -0
- package/dist/uniui.umd.cjs +187 -0
- package/dist/utils/ColorMap.d.ts +156 -0
- package/dist/utils/constants.d.ts +1 -0
- package/package.json +26 -75
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface AccordionProps {
|
|
3
|
+
title: ReactNode;
|
|
4
|
+
content: ReactNode;
|
|
5
|
+
expandIcon?: ReactNode;
|
|
6
|
+
collapseIcon?: ReactNode;
|
|
7
|
+
isOpen?: boolean;
|
|
8
|
+
defaultExpanded?: boolean;
|
|
9
|
+
onToggle?: (expanded: boolean) => void;
|
|
10
|
+
className?: string;
|
|
11
|
+
titleClass?: string;
|
|
12
|
+
contentClass?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Accordion';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ActionMenuItem {
|
|
3
|
+
label?: string;
|
|
4
|
+
icon?: ReactNode;
|
|
5
|
+
itemClass?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
}
|
|
9
|
+
export interface ActionMenuProps {
|
|
10
|
+
items: ActionMenuItem[];
|
|
11
|
+
trigger: ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
dropdownItemClass?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ActionMenu';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Alert';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CompColor } from '../../utils/ColorMap';
|
|
2
|
+
export interface AvatarProps {
|
|
3
|
+
src?: string;
|
|
4
|
+
alt?: string;
|
|
5
|
+
fallback?: React.ReactNode;
|
|
6
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
7
|
+
shape?: 'circle' | 'rounded' | 'square';
|
|
8
|
+
color?: CompColor;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Avatar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Badge';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface NavItem {
|
|
2
|
+
label: string;
|
|
3
|
+
icon: React.ReactNode;
|
|
4
|
+
path: string;
|
|
5
|
+
}
|
|
6
|
+
export interface BottomNavigationProps {
|
|
7
|
+
variant?: 'floating' | 'static' | 'fixed';
|
|
8
|
+
activeTab: string;
|
|
9
|
+
navItems: NavItem[];
|
|
10
|
+
onTabChange: (label: string) => void;
|
|
11
|
+
className?: string;
|
|
12
|
+
activeClass?: string;
|
|
13
|
+
buttonClass?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './BottomNavigation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Breadcrumbs';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CompColor } from '../../utils/ColorMap';
|
|
3
|
+
export interface IButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
title?: string;
|
|
5
|
+
variant?: 'filled' | 'outlined' | 'text';
|
|
6
|
+
color?: CompColor;
|
|
7
|
+
size?: 'small' | 'medium' | 'large';
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
fullWidth?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
roundedFull?: boolean;
|
|
13
|
+
icon?: React.ReactNode;
|
|
14
|
+
href?: string;
|
|
15
|
+
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
16
|
+
type?: 'submit' | 'reset' | 'button';
|
|
17
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Button';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ICardProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
subtitle?: string;
|
|
5
|
+
space?: 'none' | 'small' | 'medium' | 'large';
|
|
6
|
+
shadow?: 'default' | 'small' | 'medium' | 'large';
|
|
7
|
+
roundness?: 'small' | 'medium' | 'large';
|
|
8
|
+
image?: string;
|
|
9
|
+
divider?: boolean;
|
|
10
|
+
actionMenu?: React.ReactNode;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
hoverable?: boolean;
|
|
14
|
+
bordered?: boolean;
|
|
15
|
+
onClick?: () => void;
|
|
16
|
+
loaderJsx?: boolean;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Card';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CardWrapper';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface CarouselProps {
|
|
2
|
+
children: React.ReactNode[];
|
|
3
|
+
width?: string;
|
|
4
|
+
height?: string;
|
|
5
|
+
showIndicators?: boolean;
|
|
6
|
+
showArrows?: boolean;
|
|
7
|
+
autoplay?: boolean;
|
|
8
|
+
interval?: number;
|
|
9
|
+
infiniteLoop?: boolean;
|
|
10
|
+
perview?: number;
|
|
11
|
+
onClickItem?: (index: number) => void;
|
|
12
|
+
showThumbs?: boolean;
|
|
13
|
+
pauseOnHover?: boolean;
|
|
14
|
+
swipeable?: boolean;
|
|
15
|
+
thumbWidth?: number;
|
|
16
|
+
gap?: number;
|
|
17
|
+
nextIcon?: React.ReactNode;
|
|
18
|
+
prevIcon?: React.ReactNode;
|
|
19
|
+
className?: string;
|
|
20
|
+
orientation?: 'horizontal' | 'vertical';
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Carousel';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Checkbox';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type DashboardStatBox = {
|
|
2
|
+
icon: React.ReactNode;
|
|
3
|
+
name: string;
|
|
4
|
+
value: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
accentColor?: string;
|
|
7
|
+
accentBackground?: string;
|
|
8
|
+
};
|
|
9
|
+
export type DashboardStatBoxesProps = {
|
|
10
|
+
stats: DashboardStatBox[];
|
|
11
|
+
className?: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DashboardStatBoxes';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DatePickerProps } from './DatePicker.types';
|
|
2
|
+
export declare const DatePicker: ({ mode, type, showTime, onlyTime, className, onChange, placeholder, icon, disableBefore, disableAfter, selectedDate, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default DatePicker;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface DatePickerProps {
|
|
2
|
+
mode?: 'single' | 'range';
|
|
3
|
+
type?: 'inline' | 'dialog';
|
|
4
|
+
showTime?: boolean;
|
|
5
|
+
onlyTime?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
onChange?: (value: number | null | {
|
|
8
|
+
startDate: number | null;
|
|
9
|
+
endDate: number | null;
|
|
10
|
+
}) => void;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
disableBefore?: number;
|
|
14
|
+
disableAfter?: number;
|
|
15
|
+
selectedDate?: number | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DatePicker';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface DialogProps {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
onClose?: () => void;
|
|
5
|
+
className?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
actions?: React.ReactNode;
|
|
9
|
+
showCloseIcon?: boolean;
|
|
10
|
+
fullscreen?: boolean;
|
|
11
|
+
fullWidth?: boolean;
|
|
12
|
+
maxWidth?: 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '4xl' | '6xl';
|
|
13
|
+
}
|
|
14
|
+
export interface DialogHandle {
|
|
15
|
+
open: () => void;
|
|
16
|
+
close: () => void;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Dialog';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Divider';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface DrawerProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
className?: string;
|
|
5
|
+
childrenClass?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
actions?: React.ReactNode;
|
|
10
|
+
showCloseIcon?: boolean;
|
|
11
|
+
anchor?: 'left' | 'right' | 'top' | 'bottom';
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Drawer';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface DropdownItemTypes {
|
|
2
|
+
label: React.ReactNode;
|
|
3
|
+
onClick: (val: any) => void;
|
|
4
|
+
}
|
|
5
|
+
export interface IDropdownProps {
|
|
6
|
+
selected?: DropdownItemTypes;
|
|
7
|
+
items: DropdownItemTypes[];
|
|
8
|
+
className?: string;
|
|
9
|
+
menuClassName?: string;
|
|
10
|
+
stayOpenOnSelect?: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Dropdown';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface IDropzoneUploaderProps {
|
|
2
|
+
onFilesAccepted: (files: File[]) => void;
|
|
3
|
+
onError?: (errorMessages: string[]) => void;
|
|
4
|
+
accept?: {
|
|
5
|
+
[mimeType: string]: string[];
|
|
6
|
+
};
|
|
7
|
+
multiple?: boolean;
|
|
8
|
+
maxSizeInBytes?: number;
|
|
9
|
+
maxFiles?: number;
|
|
10
|
+
label?: string;
|
|
11
|
+
subLabel?: string;
|
|
12
|
+
icon?: React.ReactNode;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
wrapperClass?: string;
|
|
15
|
+
iconClass?: string;
|
|
16
|
+
labelClass?: string;
|
|
17
|
+
subLabelClass?: string;
|
|
18
|
+
showList?: boolean;
|
|
19
|
+
listView?: boolean;
|
|
20
|
+
showListImage?: boolean;
|
|
21
|
+
uploadedFiles?: File[];
|
|
22
|
+
onDeleteCallback?: (remainingFiles: File[]) => void;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DropzoneUploader';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CompColor } from '../../utils/ColorMap';
|
|
2
|
+
export interface EmptyStateProps {
|
|
3
|
+
/** Heading shown above the description */
|
|
4
|
+
title: string;
|
|
5
|
+
/** Optional explanatory text */
|
|
6
|
+
description?: string;
|
|
7
|
+
/** Optional primary action (e.g., “Add item”) */
|
|
8
|
+
actionLabel?: string;
|
|
9
|
+
color?: CompColor;
|
|
10
|
+
/** Callback executed when primary button is clicked */
|
|
11
|
+
onAction?: () => void;
|
|
12
|
+
/** Optional illustration (SVG, img url, or React node) */
|
|
13
|
+
illustration?: React.ReactNode;
|
|
14
|
+
/** Width of the illustration (defaults 120px) */
|
|
15
|
+
illustrationWidth?: number | string;
|
|
16
|
+
/** Render children under the call-to-action area (links, tips, etc.) */
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './EmptyState';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CompColor } from '../../utils/ColorMap';
|
|
3
|
+
export interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
variant?: 'filled' | 'outlined' | 'transparent';
|
|
5
|
+
color?: CompColor;
|
|
6
|
+
size?: 'small' | 'medium' | 'large';
|
|
7
|
+
className?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
roundedFull?: boolean;
|
|
10
|
+
icon?: React.ReactNode;
|
|
11
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './IconButton';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type MenuProps<T extends React.ReactNode> = {
|
|
2
|
+
options?: T[];
|
|
3
|
+
selectedValue?: T;
|
|
4
|
+
onChange?: (value: T) => void;
|
|
5
|
+
placementTop?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export default function Menu<T extends React.ReactNode>({ options, selectedValue, onChange, placementTop, }: MenuProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Menu';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Pagination';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './PasswordInput';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Pill';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ProfileShowcaseProps {
|
|
3
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
4
|
+
imageUrl: string;
|
|
5
|
+
name: string;
|
|
6
|
+
number: string;
|
|
7
|
+
className: string;
|
|
8
|
+
}
|
|
9
|
+
declare const ProfileShowcase: React.FC<ProfileShowcaseProps>;
|
|
10
|
+
export default ProfileShowcase;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ProfileShowcase';
|