demio-ui 5.4.27 → 5.5.0
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/bundle-analysis.html +1 -1
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/types.d.ts +27 -5
- package/package.json +1 -1
- package/dist/cjs/types/jest.config.d.ts +0 -11
- package/dist/cjs/types/src/components/Alert/Alert.d.ts +0 -20
- package/dist/cjs/types/src/components/Alert/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Avatar/Avatar.d.ts +0 -13
- package/dist/cjs/types/src/components/Avatar/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Badge/Badge.d.ts +0 -10
- package/dist/cjs/types/src/components/Badge/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Button/Button.d.ts +0 -20
- package/dist/cjs/types/src/components/Button/index.d.ts +0 -1
- package/dist/cjs/types/src/components/ButtonNew/Button.d.ts +0 -17
- package/dist/cjs/types/src/components/ButtonNew/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Card/Card.d.ts +0 -12
- package/dist/cjs/types/src/components/Card/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Checkbox/Checkbox.d.ts +0 -14
- package/dist/cjs/types/src/components/Checkbox/index.d.ts +0 -1
- package/dist/cjs/types/src/components/CopyLinkInput/CopyLinkInput.d.ts +0 -4
- package/dist/cjs/types/src/components/CopyLinkInput/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Crop/Crop.d.ts +0 -16
- package/dist/cjs/types/src/components/Crop/index.d.ts +0 -1
- package/dist/cjs/types/src/components/DnDArea/DnDArea.d.ts +0 -22
- package/dist/cjs/types/src/components/DnDArea/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Drawer/Drawer.d.ts +0 -13
- package/dist/cjs/types/src/components/Drawer/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Dropdown/Dropdown.d.ts +0 -12
- package/dist/cjs/types/src/components/Dropdown/DropdownItem.d.ts +0 -11
- package/dist/cjs/types/src/components/Dropdown/index.d.ts +0 -3
- package/dist/cjs/types/src/components/FormGroup/FormGroup.d.ts +0 -10
- package/dist/cjs/types/src/components/FormGroup/index.d.ts +0 -1
- package/dist/cjs/types/src/components/InfoBanner/InfoBanner.d.ts +0 -11
- package/dist/cjs/types/src/components/InfoBanner/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Input/Input.d.ts +0 -31
- package/dist/cjs/types/src/components/Input/index.d.ts +0 -1
- package/dist/cjs/types/src/components/InputHint/InputHint.d.ts +0 -8
- package/dist/cjs/types/src/components/InputHint/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Label/Label.d.ts +0 -9
- package/dist/cjs/types/src/components/Label/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Loader/Loader.d.ts +0 -8
- package/dist/cjs/types/src/components/Loader/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Modal/Modal.d.ts +0 -24
- package/dist/cjs/types/src/components/Modal/index.d.ts +0 -1
- package/dist/cjs/types/src/components/ModalScrollable/ModalScrollable.d.ts +0 -30
- package/dist/cjs/types/src/components/ModalScrollable/index.d.ts +0 -1
- package/dist/cjs/types/src/components/ModalWindow/ModalWindow.d.ts +0 -20
- package/dist/cjs/types/src/components/ModalWindow/index.d.ts +0 -1
- package/dist/cjs/types/src/components/MultiSelect/MultiSelect.d.ts +0 -28
- package/dist/cjs/types/src/components/MultiSelect/MultiSelect.helper.d.ts +0 -9
- package/dist/cjs/types/src/components/MultiSelect/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Note/Note.d.ts +0 -9
- package/dist/cjs/types/src/components/Note/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Pagination/Pagination.d.ts +0 -11
- package/dist/cjs/types/src/components/Pagination/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Popover/Popover.d.ts +0 -16
- package/dist/cjs/types/src/components/Popover/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Progress/Progress.d.ts +0 -12
- package/dist/cjs/types/src/components/Progress/index.d.ts +0 -1
- package/dist/cjs/types/src/components/RadioGroup/RadioGroup.d.ts +0 -19
- package/dist/cjs/types/src/components/RadioGroup/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Select/Select.d.ts +0 -28
- package/dist/cjs/types/src/components/Select/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Slider/Slider.d.ts +0 -14
- package/dist/cjs/types/src/components/Slider/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Switch/Switch.d.ts +0 -16
- package/dist/cjs/types/src/components/Switch/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Tabs/Tabs.d.ts +0 -31
- package/dist/cjs/types/src/components/Tabs/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Tag/Tag.d.ts +0 -7
- package/dist/cjs/types/src/components/Tag/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Toast/Toast.d.ts +0 -15
- package/dist/cjs/types/src/components/Toast/index.d.ts +0 -1
- package/dist/cjs/types/src/components/ToastList/ToastList.d.ts +0 -3
- package/dist/cjs/types/src/components/ToastList/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Tooltip/Tooltip.d.ts +0 -29
- package/dist/cjs/types/src/components/Tooltip/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Typography/Typography.d.ts +0 -12
- package/dist/cjs/types/src/components/Typography/index.d.ts +0 -1
- package/dist/cjs/types/src/components/Upload/Upload.d.ts +0 -48
- package/dist/cjs/types/src/components/Upload/index.d.ts +0 -1
- package/dist/cjs/types/src/components/UploadError/UploadError.d.ts +0 -8
- package/dist/cjs/types/src/components/UploadError/index.d.ts +0 -1
- package/dist/cjs/types/src/components/UploadMenu/UploadMenu.d.ts +0 -30
- package/dist/cjs/types/src/components/UploadMenu/index.d.ts +0 -1
- package/dist/cjs/types/src/components/UploadPreview/UploadPreview.d.ts +0 -12
- package/dist/cjs/types/src/components/UploadPreview/index.d.ts +0 -1
- package/dist/cjs/types/src/components/UploadProgressPreview/UploadProgressPreview.d.ts +0 -14
- package/dist/cjs/types/src/components/UploadProgressPreview/index.d.ts +0 -1
- package/dist/cjs/types/src/components/index.d.ts +0 -38
- package/dist/cjs/types/src/hooks/index.d.ts +0 -2
- package/dist/cjs/types/src/hooks/useCroppedImage/index.d.ts +0 -1
- package/dist/cjs/types/src/hooks/useCroppedImage/useCroppedImage.d.ts +0 -4
- package/dist/cjs/types/src/hooks/useCroppedImage/useCroppedImage.test.d.ts +0 -1
- package/dist/cjs/types/src/hooks/useFileValidation/index.d.ts +0 -1
- package/dist/cjs/types/src/hooks/useFileValidation/useFileValidation.d.ts +0 -35
- package/dist/cjs/types/src/hooks/useFileValidation/useFileValidation.test.d.ts +0 -1
- package/dist/cjs/types/src/icons/index.d.ts +0 -105
- package/dist/cjs/types/src/index.d.ts +0 -5
- package/dist/cjs/types/src/utils/file/file-utils.d.ts +0 -9
- package/dist/cjs/types/src/utils/file/index.d.ts +0 -1
- package/dist/cjs/types/src/utils/image/image-utils.d.ts +0 -11
- package/dist/cjs/types/src/utils/image/index.d.ts +0 -1
- package/dist/cjs/types/src/utils/index.d.ts +0 -3
- package/dist/cjs/types/src/utils/toast/index.d.ts +0 -1
- package/dist/cjs/types/src/utils/toast/toast.d.ts +0 -23
- package/dist/esm/types/jest.config.d.ts +0 -11
- package/dist/esm/types/src/components/Alert/Alert.d.ts +0 -20
- package/dist/esm/types/src/components/Alert/index.d.ts +0 -1
- package/dist/esm/types/src/components/Avatar/Avatar.d.ts +0 -13
- package/dist/esm/types/src/components/Avatar/index.d.ts +0 -1
- package/dist/esm/types/src/components/Badge/Badge.d.ts +0 -10
- package/dist/esm/types/src/components/Badge/index.d.ts +0 -1
- package/dist/esm/types/src/components/Button/Button.d.ts +0 -20
- package/dist/esm/types/src/components/Button/index.d.ts +0 -1
- package/dist/esm/types/src/components/ButtonNew/Button.d.ts +0 -17
- package/dist/esm/types/src/components/ButtonNew/index.d.ts +0 -1
- package/dist/esm/types/src/components/Card/Card.d.ts +0 -12
- package/dist/esm/types/src/components/Card/index.d.ts +0 -1
- package/dist/esm/types/src/components/Checkbox/Checkbox.d.ts +0 -14
- package/dist/esm/types/src/components/Checkbox/index.d.ts +0 -1
- package/dist/esm/types/src/components/CopyLinkInput/CopyLinkInput.d.ts +0 -4
- package/dist/esm/types/src/components/CopyLinkInput/index.d.ts +0 -1
- package/dist/esm/types/src/components/Crop/Crop.d.ts +0 -16
- package/dist/esm/types/src/components/Crop/index.d.ts +0 -1
- package/dist/esm/types/src/components/DnDArea/DnDArea.d.ts +0 -22
- package/dist/esm/types/src/components/DnDArea/index.d.ts +0 -1
- package/dist/esm/types/src/components/Drawer/Drawer.d.ts +0 -13
- package/dist/esm/types/src/components/Drawer/index.d.ts +0 -1
- package/dist/esm/types/src/components/Dropdown/Dropdown.d.ts +0 -12
- package/dist/esm/types/src/components/Dropdown/DropdownItem.d.ts +0 -11
- package/dist/esm/types/src/components/Dropdown/index.d.ts +0 -3
- package/dist/esm/types/src/components/FormGroup/FormGroup.d.ts +0 -10
- package/dist/esm/types/src/components/FormGroup/index.d.ts +0 -1
- package/dist/esm/types/src/components/InfoBanner/InfoBanner.d.ts +0 -11
- package/dist/esm/types/src/components/InfoBanner/index.d.ts +0 -1
- package/dist/esm/types/src/components/Input/Input.d.ts +0 -31
- package/dist/esm/types/src/components/Input/index.d.ts +0 -1
- package/dist/esm/types/src/components/InputHint/InputHint.d.ts +0 -8
- package/dist/esm/types/src/components/InputHint/index.d.ts +0 -1
- package/dist/esm/types/src/components/Label/Label.d.ts +0 -9
- package/dist/esm/types/src/components/Label/index.d.ts +0 -1
- package/dist/esm/types/src/components/Loader/Loader.d.ts +0 -8
- package/dist/esm/types/src/components/Loader/index.d.ts +0 -1
- package/dist/esm/types/src/components/Modal/Modal.d.ts +0 -24
- package/dist/esm/types/src/components/Modal/index.d.ts +0 -1
- package/dist/esm/types/src/components/ModalScrollable/ModalScrollable.d.ts +0 -30
- package/dist/esm/types/src/components/ModalScrollable/index.d.ts +0 -1
- package/dist/esm/types/src/components/ModalWindow/ModalWindow.d.ts +0 -20
- package/dist/esm/types/src/components/ModalWindow/index.d.ts +0 -1
- package/dist/esm/types/src/components/MultiSelect/MultiSelect.d.ts +0 -28
- package/dist/esm/types/src/components/MultiSelect/MultiSelect.helper.d.ts +0 -9
- package/dist/esm/types/src/components/MultiSelect/index.d.ts +0 -1
- package/dist/esm/types/src/components/Note/Note.d.ts +0 -9
- package/dist/esm/types/src/components/Note/index.d.ts +0 -1
- package/dist/esm/types/src/components/Pagination/Pagination.d.ts +0 -11
- package/dist/esm/types/src/components/Pagination/index.d.ts +0 -1
- package/dist/esm/types/src/components/Popover/Popover.d.ts +0 -16
- package/dist/esm/types/src/components/Popover/index.d.ts +0 -1
- package/dist/esm/types/src/components/Progress/Progress.d.ts +0 -12
- package/dist/esm/types/src/components/Progress/index.d.ts +0 -1
- package/dist/esm/types/src/components/RadioGroup/RadioGroup.d.ts +0 -19
- package/dist/esm/types/src/components/RadioGroup/index.d.ts +0 -1
- package/dist/esm/types/src/components/Select/Select.d.ts +0 -28
- package/dist/esm/types/src/components/Select/index.d.ts +0 -1
- package/dist/esm/types/src/components/Slider/Slider.d.ts +0 -14
- package/dist/esm/types/src/components/Slider/index.d.ts +0 -1
- package/dist/esm/types/src/components/Switch/Switch.d.ts +0 -16
- package/dist/esm/types/src/components/Switch/index.d.ts +0 -1
- package/dist/esm/types/src/components/Tabs/Tabs.d.ts +0 -31
- package/dist/esm/types/src/components/Tabs/index.d.ts +0 -1
- package/dist/esm/types/src/components/Tag/Tag.d.ts +0 -7
- package/dist/esm/types/src/components/Tag/index.d.ts +0 -1
- package/dist/esm/types/src/components/Toast/Toast.d.ts +0 -15
- package/dist/esm/types/src/components/Toast/index.d.ts +0 -1
- package/dist/esm/types/src/components/ToastList/ToastList.d.ts +0 -3
- package/dist/esm/types/src/components/ToastList/index.d.ts +0 -1
- package/dist/esm/types/src/components/Tooltip/Tooltip.d.ts +0 -29
- package/dist/esm/types/src/components/Tooltip/index.d.ts +0 -1
- package/dist/esm/types/src/components/Typography/Typography.d.ts +0 -12
- package/dist/esm/types/src/components/Typography/index.d.ts +0 -1
- package/dist/esm/types/src/components/Upload/Upload.d.ts +0 -48
- package/dist/esm/types/src/components/Upload/index.d.ts +0 -1
- package/dist/esm/types/src/components/UploadError/UploadError.d.ts +0 -8
- package/dist/esm/types/src/components/UploadError/index.d.ts +0 -1
- package/dist/esm/types/src/components/UploadMenu/UploadMenu.d.ts +0 -30
- package/dist/esm/types/src/components/UploadMenu/index.d.ts +0 -1
- package/dist/esm/types/src/components/UploadPreview/UploadPreview.d.ts +0 -12
- package/dist/esm/types/src/components/UploadPreview/index.d.ts +0 -1
- package/dist/esm/types/src/components/UploadProgressPreview/UploadProgressPreview.d.ts +0 -14
- package/dist/esm/types/src/components/UploadProgressPreview/index.d.ts +0 -1
- package/dist/esm/types/src/components/index.d.ts +0 -38
- package/dist/esm/types/src/hooks/index.d.ts +0 -2
- package/dist/esm/types/src/hooks/useCroppedImage/index.d.ts +0 -1
- package/dist/esm/types/src/hooks/useCroppedImage/useCroppedImage.d.ts +0 -4
- package/dist/esm/types/src/hooks/useCroppedImage/useCroppedImage.test.d.ts +0 -1
- package/dist/esm/types/src/hooks/useFileValidation/index.d.ts +0 -1
- package/dist/esm/types/src/hooks/useFileValidation/useFileValidation.d.ts +0 -35
- package/dist/esm/types/src/hooks/useFileValidation/useFileValidation.test.d.ts +0 -1
- package/dist/esm/types/src/icons/index.d.ts +0 -105
- package/dist/esm/types/src/index.d.ts +0 -5
- package/dist/esm/types/src/utils/file/file-utils.d.ts +0 -9
- package/dist/esm/types/src/utils/file/index.d.ts +0 -1
- package/dist/esm/types/src/utils/image/image-utils.d.ts +0 -11
- package/dist/esm/types/src/utils/image/index.d.ts +0 -1
- package/dist/esm/types/src/utils/index.d.ts +0 -3
- package/dist/esm/types/src/utils/toast/index.d.ts +0 -1
- package/dist/esm/types/src/utils/toast/toast.d.ts +0 -23
package/dist/types.d.ts
CHANGED
|
@@ -72,15 +72,18 @@ type Props$h<Variant extends string = 'primary' | 'secondary' | 'tertiary' | 'qu
|
|
|
72
72
|
children?: ReactNode;
|
|
73
73
|
variant?: Variant;
|
|
74
74
|
color?: Variant extends 'primary' | 'secondary' | 'quarter' ? ColorVariants : never;
|
|
75
|
-
onClick
|
|
75
|
+
onClick?: MouseEventHandler<React__default.ElementRef<'button'>>;
|
|
76
76
|
type?: 'button' | 'submit' | 'reset';
|
|
77
77
|
className?: string;
|
|
78
78
|
prefix?: ReactNode;
|
|
79
79
|
suffix?: ReactNode;
|
|
80
80
|
fullWidth?: boolean;
|
|
81
81
|
showLoader?: boolean;
|
|
82
|
+
href?: string;
|
|
83
|
+
target?: string;
|
|
84
|
+
rel?: string;
|
|
82
85
|
};
|
|
83
|
-
declare const Button: React__default.ForwardRefExoticComponent<Props$h<"primary" | "secondary" | "tertiary" | "quarter"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
86
|
+
declare const Button: React__default.ForwardRefExoticComponent<Props$h<"primary" | "secondary" | "tertiary" | "quarter"> & React__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
84
87
|
|
|
85
88
|
type Props$g = {
|
|
86
89
|
children?: ReactNode;
|
|
@@ -235,11 +238,12 @@ type Props$a = {
|
|
|
235
238
|
declare const InfoBanner: FC<Props$a>;
|
|
236
239
|
|
|
237
240
|
type Props$9 = {
|
|
241
|
+
className?: string;
|
|
238
242
|
children: React__default.ReactNode;
|
|
243
|
+
testid?: string;
|
|
239
244
|
type?: 'hint' | 'error';
|
|
240
|
-
className?: string;
|
|
241
245
|
};
|
|
242
|
-
declare function InputHint({ children,
|
|
246
|
+
declare function InputHint({ className, children, testid, type }: Props$9): React__default.JSX.Element;
|
|
243
247
|
|
|
244
248
|
type Props$8 = {
|
|
245
249
|
htmlFor: string;
|
|
@@ -493,6 +497,24 @@ interface TagProps extends PropsWithChildren {
|
|
|
493
497
|
}
|
|
494
498
|
declare function Tag({ children, onDelete, className }: TagProps): React__default.JSX.Element;
|
|
495
499
|
|
|
500
|
+
type TextareaElement = React__default.ComponentRef<'textarea'>;
|
|
501
|
+
declare const Textarea: React__default.ForwardRefExoticComponent<Omit<Omit<React__default.DetailedHTMLProps<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref">, "className" | "id" | "value" | "defaultValue" | "onFocus" | "onBlur" | "onChange"> & {
|
|
502
|
+
className?: string;
|
|
503
|
+
counterVisibilityLimit?: number;
|
|
504
|
+
defaultValue?: string;
|
|
505
|
+
errorMessage?: string;
|
|
506
|
+
hint?: string;
|
|
507
|
+
id?: string;
|
|
508
|
+
isLabelStatic?: boolean;
|
|
509
|
+
label?: string;
|
|
510
|
+
onChange?: (event: React__default.ChangeEvent<TextareaElement>) => void;
|
|
511
|
+
onBlur?: (event: React__default.FocusEvent<TextareaElement>) => void;
|
|
512
|
+
onFocus?: (event: React__default.FocusEvent<TextareaElement>) => void;
|
|
513
|
+
optionalText?: string;
|
|
514
|
+
textareaWrapperClass?: string;
|
|
515
|
+
value?: string;
|
|
516
|
+
} & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
517
|
+
|
|
496
518
|
interface IToast {
|
|
497
519
|
className?: string;
|
|
498
520
|
description?: string;
|
|
@@ -3096,4 +3118,4 @@ declare class ToastManager {
|
|
|
3096
3118
|
}
|
|
3097
3119
|
declare const toast: ToastManager;
|
|
3098
3120
|
|
|
3099
|
-
export { SvgAdd as AddIcon, Alert, SvgAlert as AlertIcon, SvgAlertTriangle as AlertTriangleIcon, SvgKeyboardArrowDown as ArrowDownIcon, SvgArrowLeftDouble as ArrowLeftDoubleIcon, SvgArrowLeft as ArrowLeftIcon, SvgArrowLeftSingle as ArrowLeftSingleIcon, SvgAt as AtIcon, Avatar, Badge, SvgBarChart as BarChartIcon, SvgBlock as BlockIcon, SvgBlurOn as BlurOnIcon, Button$1 as Button, Button as ButtonNew, SvgCached as CachedIcon, SvgCalendar as CalendarIcon, SvgCamera as CameraIcon, SvgCameraOutlined as CameraOutlinedIcon, Card, SvgChatDisabled as ChatDisabledIcon, SvgChatDisabledOld as ChatDisabledOldIcon, SvgChatIcon as ChatIcon, SvgCheckCircle as CheckCircleIcon, SvgCheckCircleSolid as CheckCircleSolidIcon, SvgCheck as CheckIcon, SvgCheckVerified as CheckVerifiedIcon, Checkbox, SvgCheckbox as CheckboxIcon, SvgClock as ClockIcon, SvgClose as CloseIcon, SvgCompress as CompressIcon, SvgCopy as CopyIcon, CopyLinkInput, Crop, SvgCustomize as CustomizeIcon, SvgDelete as DeleteIcon, DnDArea, SvgDots as DotsIcon, SvgDownloadAll as DownloadAllIcon, SvgDownload as DownloadIcon, Drawer, DropdownItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger, DropdownRadioGroup, DropdownRadioItem, SvgEdit as EditIcon, SvgEditSection as EditSectionIcon, SvgElectricBolt as ElectricBoltIcon, SvgEmail as EmailIcon, SvgEmptyBasket as EmptyBasketIcon, SvgEventDetails as EventDetailsIcon, SvgEventRepeat as EventRepeatIcon, SvgExclamation as ExclamationIcon, SvgExpand as ExpandIcon, SvgExternalLink as ExternalLinkIcon, SvgEyeSolid as EyeSolidIcon, SvgFacebook as FacebookIcon, SvgFacebookSquared as FacebookSquaredIcon, SvgFeatureAction as FeatureActionIcon, SvgFile as FileIcon, SvgFilterList as FilterListIcon, SvgFlipCamera as FlipCameraIcon, FormGroup, SvgGear as GearIcon, SvgHelp as HelpIcon, SvgHelpSolid as HelpSolidIcon, InfoBanner, SvgInfoCircle as InfoCircleIcon, SvgInfoCircleSolid as InfoCircleSolidIcon, SvgInfo as InfoIcon, SvgInfo1 as InfoSolidIcon, Input, InputHint, SvgInsights as InsightsIcon, SvgItems as ItemsIcon, Label, SvgLifebuoy as LifebuoyIcon, SvgLinkedin as LinkedInIcon, SvgLinkedinSquared as LinkedInSquaredIcon, SvgList as ListIcon, Loader, SvgLocation as LocationIcon, SvgLock as LockIcon, SvgMagic as MagicIcon, SvgMail as MailIcon, SvgMailLetter as MailLetterIcon, SvgMaterial as MaterialIcon, SvgMaterials as MaterialsIcon, SvgMicBold as MicBoldIcon, SvgMicOff1 as MicOffIcon, SvgMicOff as MicOffSolidIcon, SvgMic1 as MicOnSolidIcon, SvgMicOutlined as MicOutlinedIcon, SvgMobileDevice as MobileDeviceIcon, Modal, ModalScrollable, SvgMoney as MoneyIcon, MultiSelect, Note, SvgOnDemand as OnDemanIcon, SvgOutStage as OutStageIcon, Pagination, SvgPasswordEyeCrossed as PasswordEyeCrossedIcon, SvgPasswordEye as PasswordEyeIcon, SvgPastSession as PastSessionIcon, SvgPeopleCommunity as PeopleCommunityIcon, SvgPeople as PeopleIcon, SvgPerson as Person, SvgPersonCard as PersonCardIcon, SvgPersonCheck as PersonCheckIcon, SvgPersonCrossed as PersonCrossedIcon, SvgPersonDelete as PersonDeleteIcon, SvgPerson as PersonIcon, SvgPersonPlus as PersonPlusIcon, SvgPlayCircle as PlayCircleIcon, SvgPlay as PlayIcon, SvgPlus as PlusIcon, SvgPoll as PollIcon, Popover, PopoverTooltip, SvgPresentation as PresentationIcon, Progress, SvgProgress as ProgressIcon, SvgProtection as ProtectionIcon, RadioGroup, SvgRadio as RadioIcon, SvgReplace as ReplaceIcon, SvgReplayDisabled as ReplayDisabledIcon, SvgRestart as RestartIcon, SvgRestreamingDisabled as RestreamingDisabledIcon, SvgRestreaming as RestreamingIcon, SvgRocket as RocketIcon, SvgScreenPerson as ScreenPersonIcon, SvgScreenSharing as ScreenShareIcon, SvgScreenScareWindows as ScreenShareWindowIcon, ModalScrollable as ScrollableModal, SvgSearch as SearchIcon, Select, SelectItem, SelectItemText, SvgSeriesType as SeriesTypeIcon, SvgSessionTime as SessionTimeIcon, SvgShield as ShieldIcon, SvgSidebar as SideBarIcon, SliderDemo as Slider, SvgSmile as SmileIcon, SvgSmileSolid as SmileSolidIcon, SvgSpotlight as SpotlightIcon, SvgStackedEmail as StackedEmailIcon, SvgStage as StageIcon, SvgStandardType as StandardTypeIcon, Switch, SvgSync as SyncIcon, Tab, TabsContent, TabsList, TabsRoot, Tag, SvgTimesCircle as TimesCircleIcon, Toast, SvgToday as TodayIcon, Tooltip, SvgTrash as TrashIcon, SvgTrendingDown as TrendingDownIcon, SvgTrendingUp as TrendingUpIcon, SvgTwitter as TwitterIcon, Typography, SvgUndo as UndoIcon, SvgUnverified as UnverifiedIcon, SvgUpcomingSession as UpcomingSessionIcon, Upload, SvgUpload as UploadIcon, UploadMenu, UploadProgressPreview, SvgVerified as VerifiedIcon, SvgVideocam as VideoCamOnIcon, SvgVideocam1 as VideoCamOnSolidIcon, SvgVolumeOff1 as VolumeOffIcon, SvgVolumeUp as VolumeUpSolidIcon, SvgWarning as WarningIcon, SvgWarning1 as WarningSolidIcon, SvgYoutube as YoutubeIcon, SvgYoutubeSquared as YoutubeSquaredIcon, createImage, getCroppedImageURL, getFileExtension, getFileMimeType, getRadianAngle, index as icons, isExtensionMatchingMimeType, isImage, isValidFileDimension, isValidFileSize, isValidFileType, isVideo, mimeTypeMap, rotateSize, toast, useCroppedImage, useFileValidation };
|
|
3121
|
+
export { SvgAdd as AddIcon, Alert, SvgAlert as AlertIcon, SvgAlertTriangle as AlertTriangleIcon, SvgKeyboardArrowDown as ArrowDownIcon, SvgArrowLeftDouble as ArrowLeftDoubleIcon, SvgArrowLeft as ArrowLeftIcon, SvgArrowLeftSingle as ArrowLeftSingleIcon, SvgAt as AtIcon, Avatar, Badge, SvgBarChart as BarChartIcon, SvgBlock as BlockIcon, SvgBlurOn as BlurOnIcon, Button$1 as Button, Button as ButtonNew, SvgCached as CachedIcon, SvgCalendar as CalendarIcon, SvgCamera as CameraIcon, SvgCameraOutlined as CameraOutlinedIcon, Card, SvgChatDisabled as ChatDisabledIcon, SvgChatDisabledOld as ChatDisabledOldIcon, SvgChatIcon as ChatIcon, SvgCheckCircle as CheckCircleIcon, SvgCheckCircleSolid as CheckCircleSolidIcon, SvgCheck as CheckIcon, SvgCheckVerified as CheckVerifiedIcon, Checkbox, SvgCheckbox as CheckboxIcon, SvgClock as ClockIcon, SvgClose as CloseIcon, SvgCompress as CompressIcon, SvgCopy as CopyIcon, CopyLinkInput, Crop, SvgCustomize as CustomizeIcon, SvgDelete as DeleteIcon, DnDArea, SvgDots as DotsIcon, SvgDownloadAll as DownloadAllIcon, SvgDownload as DownloadIcon, Drawer, DropdownItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger, DropdownRadioGroup, DropdownRadioItem, SvgEdit as EditIcon, SvgEditSection as EditSectionIcon, SvgElectricBolt as ElectricBoltIcon, SvgEmail as EmailIcon, SvgEmptyBasket as EmptyBasketIcon, SvgEventDetails as EventDetailsIcon, SvgEventRepeat as EventRepeatIcon, SvgExclamation as ExclamationIcon, SvgExpand as ExpandIcon, SvgExternalLink as ExternalLinkIcon, SvgEyeSolid as EyeSolidIcon, SvgFacebook as FacebookIcon, SvgFacebookSquared as FacebookSquaredIcon, SvgFeatureAction as FeatureActionIcon, SvgFile as FileIcon, SvgFilterList as FilterListIcon, SvgFlipCamera as FlipCameraIcon, FormGroup, SvgGear as GearIcon, SvgHelp as HelpIcon, SvgHelpSolid as HelpSolidIcon, InfoBanner, SvgInfoCircle as InfoCircleIcon, SvgInfoCircleSolid as InfoCircleSolidIcon, SvgInfo as InfoIcon, SvgInfo1 as InfoSolidIcon, Input, InputHint, SvgInsights as InsightsIcon, SvgItems as ItemsIcon, Label, SvgLifebuoy as LifebuoyIcon, SvgLinkedin as LinkedInIcon, SvgLinkedinSquared as LinkedInSquaredIcon, SvgList as ListIcon, Loader, SvgLocation as LocationIcon, SvgLock as LockIcon, SvgMagic as MagicIcon, SvgMail as MailIcon, SvgMailLetter as MailLetterIcon, SvgMaterial as MaterialIcon, SvgMaterials as MaterialsIcon, SvgMicBold as MicBoldIcon, SvgMicOff1 as MicOffIcon, SvgMicOff as MicOffSolidIcon, SvgMic1 as MicOnSolidIcon, SvgMicOutlined as MicOutlinedIcon, SvgMobileDevice as MobileDeviceIcon, Modal, ModalScrollable, SvgMoney as MoneyIcon, MultiSelect, Note, SvgOnDemand as OnDemanIcon, SvgOutStage as OutStageIcon, Pagination, SvgPasswordEyeCrossed as PasswordEyeCrossedIcon, SvgPasswordEye as PasswordEyeIcon, SvgPastSession as PastSessionIcon, SvgPeopleCommunity as PeopleCommunityIcon, SvgPeople as PeopleIcon, SvgPerson as Person, SvgPersonCard as PersonCardIcon, SvgPersonCheck as PersonCheckIcon, SvgPersonCrossed as PersonCrossedIcon, SvgPersonDelete as PersonDeleteIcon, SvgPerson as PersonIcon, SvgPersonPlus as PersonPlusIcon, SvgPlayCircle as PlayCircleIcon, SvgPlay as PlayIcon, SvgPlus as PlusIcon, SvgPoll as PollIcon, Popover, PopoverTooltip, SvgPresentation as PresentationIcon, Progress, SvgProgress as ProgressIcon, SvgProtection as ProtectionIcon, RadioGroup, SvgRadio as RadioIcon, SvgReplace as ReplaceIcon, SvgReplayDisabled as ReplayDisabledIcon, SvgRestart as RestartIcon, SvgRestreamingDisabled as RestreamingDisabledIcon, SvgRestreaming as RestreamingIcon, SvgRocket as RocketIcon, SvgScreenPerson as ScreenPersonIcon, SvgScreenSharing as ScreenShareIcon, SvgScreenScareWindows as ScreenShareWindowIcon, ModalScrollable as ScrollableModal, SvgSearch as SearchIcon, Select, SelectItem, SelectItemText, SvgSeriesType as SeriesTypeIcon, SvgSessionTime as SessionTimeIcon, SvgShield as ShieldIcon, SvgSidebar as SideBarIcon, SliderDemo as Slider, SvgSmile as SmileIcon, SvgSmileSolid as SmileSolidIcon, SvgSpotlight as SpotlightIcon, SvgStackedEmail as StackedEmailIcon, SvgStage as StageIcon, SvgStandardType as StandardTypeIcon, Switch, SvgSync as SyncIcon, Tab, TabsContent, TabsList, TabsRoot, Tag, Textarea, SvgTimesCircle as TimesCircleIcon, Toast, SvgToday as TodayIcon, Tooltip, SvgTrash as TrashIcon, SvgTrendingDown as TrendingDownIcon, SvgTrendingUp as TrendingUpIcon, SvgTwitter as TwitterIcon, Typography, SvgUndo as UndoIcon, SvgUnverified as UnverifiedIcon, SvgUpcomingSession as UpcomingSessionIcon, Upload, SvgUpload as UploadIcon, UploadMenu, UploadProgressPreview, SvgVerified as VerifiedIcon, SvgVideocam as VideoCamOnIcon, SvgVideocam1 as VideoCamOnSolidIcon, SvgVolumeOff1 as VolumeOffIcon, SvgVolumeUp as VolumeUpSolidIcon, SvgWarning as WarningIcon, SvgWarning1 as WarningSolidIcon, SvgYoutube as YoutubeIcon, SvgYoutubeSquared as YoutubeSquaredIcon, createImage, getCroppedImageURL, getFileExtension, getFileMimeType, getRadianAngle, index as icons, isExtensionMatchingMimeType, isImage, isValidFileDimension, isValidFileSize, isValidFileType, isVideo, mimeTypeMap, rotateSize, toast, useCroppedImage, useFileValidation };
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
collectCoverage: boolean;
|
|
3
|
-
coverageDirectory: string;
|
|
4
|
-
testEnvironment: string;
|
|
5
|
-
moduleNameMapper: {
|
|
6
|
-
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': string;
|
|
7
|
-
'\\.(css)$': string;
|
|
8
|
-
};
|
|
9
|
-
modulePathIgnorePatterns: string[];
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React, { MouseEventHandler } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
className?: string;
|
|
4
|
-
open: boolean;
|
|
5
|
-
actionText?: string;
|
|
6
|
-
onActionClick: MouseEventHandler<HTMLButtonElement>;
|
|
7
|
-
cancelText?: string;
|
|
8
|
-
onCancelClick: MouseEventHandler<HTMLButtonElement>;
|
|
9
|
-
title?: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
showLoader?: boolean;
|
|
12
|
-
isOkDisabled?: boolean;
|
|
13
|
-
onClose?: () => void;
|
|
14
|
-
actionButtonType?: 'primary' | 'danger';
|
|
15
|
-
maxWidth?: string;
|
|
16
|
-
isCloseButtonVisible?: boolean;
|
|
17
|
-
onOpenChange?: (open: boolean) => void;
|
|
18
|
-
};
|
|
19
|
-
declare function Alert({ className, open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, ...props }: Props): React.JSX.Element;
|
|
20
|
-
export default Alert;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Alert';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
export declare const AVATAR_SIZES: readonly [16, 24, 32, 40, 48, 64, 80, 96, 128];
|
|
3
|
-
type AvatarSizeType = (typeof AVATAR_SIZES)[number];
|
|
4
|
-
export interface Props {
|
|
5
|
-
src?: string;
|
|
6
|
-
size?: AvatarSizeType;
|
|
7
|
-
userName?: string;
|
|
8
|
-
alt?: string | undefined;
|
|
9
|
-
className?: string;
|
|
10
|
-
fallbackDelay?: number;
|
|
11
|
-
}
|
|
12
|
-
declare const Avatar: FC<Props>;
|
|
13
|
-
export default Avatar;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Avatar';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
export type Props = {
|
|
3
|
-
className?: string;
|
|
4
|
-
icon?: ReactNode;
|
|
5
|
-
variant?: 'outlined' | 'contained';
|
|
6
|
-
color?: 'green' | 'orange' | 'gray' | 'purple' | 'blue';
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
};
|
|
9
|
-
declare const Badge: FC<Props>;
|
|
10
|
-
export default Badge;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Badge';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React, { CSSProperties, MouseEventHandler, ReactNode } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
disabled?: boolean;
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
size?: 'small' | 'medium' | 'large';
|
|
6
|
-
variant?: 'primary' | 'secondary' | 'outline' | 'danger';
|
|
7
|
-
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
8
|
-
type?: 'button' | 'submit' | 'reset';
|
|
9
|
-
className?: string;
|
|
10
|
-
prefix?: string | React.ReactNode;
|
|
11
|
-
suffix?: string | React.ReactNode;
|
|
12
|
-
fullWidth?: boolean;
|
|
13
|
-
showLoader?: boolean;
|
|
14
|
-
style?: CSSProperties;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Button component documentation.
|
|
18
|
-
**/
|
|
19
|
-
declare const Button: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
-
export default Button;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Button';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React, { MouseEventHandler, ReactNode } from 'react';
|
|
2
|
-
type ColorVariants = 'red' | 'green' | 'dark';
|
|
3
|
-
type Props<Variant extends string = 'primary' | 'secondary' | 'tertiary' | 'quarter'> = {
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
variant?: Variant;
|
|
7
|
-
color?: Variant extends 'primary' | 'secondary' ? ColorVariants : never;
|
|
8
|
-
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
9
|
-
type?: 'button' | 'submit' | 'reset';
|
|
10
|
-
className?: string;
|
|
11
|
-
prefix?: ReactNode;
|
|
12
|
-
suffix?: ReactNode;
|
|
13
|
-
fullWidth?: boolean;
|
|
14
|
-
showLoader?: boolean;
|
|
15
|
-
};
|
|
16
|
-
declare const Button: React.ForwardRefExoticComponent<Props<"primary" | "secondary" | "tertiary" | "quarter"> & React.RefAttributes<HTMLButtonElement>>;
|
|
17
|
-
export default Button;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Button';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
export type Props = {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
isEmptyStateAvailable?: boolean;
|
|
6
|
-
isLoading?: boolean;
|
|
7
|
-
emptyStateIcon?: ReactNode;
|
|
8
|
-
emptyStateText?: ReactNode;
|
|
9
|
-
shadowElevation?: number;
|
|
10
|
-
};
|
|
11
|
-
declare const Card: FC<Props>;
|
|
12
|
-
export default Card;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Card';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CheckedState } from '@radix-ui/react-checkbox';
|
|
3
|
-
type Props = {
|
|
4
|
-
checked?: boolean;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
defaultChecked?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
id: string;
|
|
9
|
-
name?: string;
|
|
10
|
-
onCheckedChange?: (checked: CheckedState) => void;
|
|
11
|
-
value?: string;
|
|
12
|
-
};
|
|
13
|
-
declare const Checkbox: React.MemoExoticComponent<React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>>;
|
|
14
|
-
export default Checkbox;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Checkbox';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './CopyLinkInput';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC, SetStateAction } from 'react';
|
|
2
|
-
import { Area, Point } from 'react-easy-crop';
|
|
3
|
-
export interface CropProps {
|
|
4
|
-
aspect?: number;
|
|
5
|
-
className?: string;
|
|
6
|
-
image?: string;
|
|
7
|
-
isGridVisible?: boolean;
|
|
8
|
-
onCropChange?: (data: SetStateAction<Point>) => void;
|
|
9
|
-
onCropComplete?: (croppedArea: Area, croppedAreaPixels: Area) => void;
|
|
10
|
-
onZoomChange?: (value: number) => void;
|
|
11
|
-
sliderMin?: number;
|
|
12
|
-
sliderMax?: number;
|
|
13
|
-
sliderStep?: number;
|
|
14
|
-
}
|
|
15
|
-
declare const Crop: FC<CropProps>;
|
|
16
|
-
export default Crop;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Crop';
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { DragEvent, FC, ReactNode } from 'react';
|
|
2
|
-
export interface DnDAreaProps {
|
|
3
|
-
acceptableFileTypes?: string;
|
|
4
|
-
className?: string;
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
dropText?: ReactNode;
|
|
7
|
-
fileSizeMbLimit?: number;
|
|
8
|
-
errorDimension?: string;
|
|
9
|
-
error?: string;
|
|
10
|
-
errorSize?: string;
|
|
11
|
-
errorType?: string;
|
|
12
|
-
isValidationEnabled?: boolean;
|
|
13
|
-
isDimensionValidationEnabled?: boolean;
|
|
14
|
-
isSizeValidationEnabled?: boolean;
|
|
15
|
-
minHeightLimit?: number;
|
|
16
|
-
minWidthLimit?: number;
|
|
17
|
-
onDragLeave?: (event: DragEvent<HTMLDivElement>) => void;
|
|
18
|
-
onDragOver?: (event: DragEvent<HTMLDivElement>) => void;
|
|
19
|
-
onDrop?: (event: DragEvent<HTMLDivElement>, file: File | null) => void;
|
|
20
|
-
}
|
|
21
|
-
declare const DnDArea: FC<DnDAreaProps>;
|
|
22
|
-
export default DnDArea;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './DnDArea';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
export type Props = {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
isOpen?: boolean;
|
|
5
|
-
className?: string;
|
|
6
|
-
isCloseButtonVisible?: boolean;
|
|
7
|
-
header?: ReactNode;
|
|
8
|
-
toggleDrawer?: (open: boolean) => void;
|
|
9
|
-
align?: 'left' | 'right';
|
|
10
|
-
isClosable?: boolean;
|
|
11
|
-
};
|
|
12
|
-
declare const Drawer: FC<Props>;
|
|
13
|
-
export default Drawer;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Drawer';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
3
|
-
export declare const DropdownMenuContent: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
export declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<{
|
|
5
|
-
className?: string;
|
|
6
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
export declare const DropdownMenuRoot: React.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
8
|
-
export declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
9
|
-
export declare const DropdownMenuLabel: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export declare const DropdownMenuItem: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
export declare const DropdownMenuGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC, ReactEventHandler, ReactNode } from 'react';
|
|
2
|
-
export type Props = {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
onSelect?: ReactEventHandler<HTMLDivElement>;
|
|
6
|
-
isWarning?: boolean;
|
|
7
|
-
isLabel?: boolean;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
};
|
|
10
|
-
declare const DropdownItem: FC<Props>;
|
|
11
|
-
export default DropdownItem;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger } from './Dropdown';
|
|
2
|
-
import DropdownItem from './DropdownItem';
|
|
3
|
-
export { DropdownItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger, };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
children: React.ReactNode;
|
|
4
|
-
position?: 'horizontal' | 'vertical';
|
|
5
|
-
justify?: 'between' | 'start' | 'center';
|
|
6
|
-
alignItems?: 'start' | 'stretch' | 'center';
|
|
7
|
-
className?: string;
|
|
8
|
-
};
|
|
9
|
-
declare function FormGroup({ children, position, justify, alignItems, className, }: Props): React.JSX.Element;
|
|
10
|
-
export default FormGroup;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './FormGroup';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
export type Props = {
|
|
3
|
-
children?: ReactNode;
|
|
4
|
-
className?: string;
|
|
5
|
-
icon?: ReactNode;
|
|
6
|
-
isIconVisible?: boolean;
|
|
7
|
-
text?: ReactNode;
|
|
8
|
-
title?: ReactNode;
|
|
9
|
-
};
|
|
10
|
-
declare const InfoBanner: FC<Props>;
|
|
11
|
-
export default InfoBanner;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './InfoBanner';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type InputProps = {
|
|
3
|
-
autoComplete?: 'off' | 'on';
|
|
4
|
-
className?: string;
|
|
5
|
-
counterVisibilityLimit?: number;
|
|
6
|
-
defaultValue?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
endAdornment?: React.ReactNode;
|
|
9
|
-
endAdornmentClassName?: string;
|
|
10
|
-
errorMessage?: string;
|
|
11
|
-
hint?: string;
|
|
12
|
-
id: string;
|
|
13
|
-
inputWrapperClass?: string;
|
|
14
|
-
isLabelStatic?: boolean;
|
|
15
|
-
label?: string;
|
|
16
|
-
maxLength?: number;
|
|
17
|
-
name?: string;
|
|
18
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
19
|
-
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
20
|
-
onFocus?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
21
|
-
optionalText?: string;
|
|
22
|
-
placeholder?: string;
|
|
23
|
-
required?: boolean;
|
|
24
|
-
startAdornment?: React.ReactNode;
|
|
25
|
-
type?: 'text' | 'password' | 'email' | 'number' | 'search' | 'tel' | 'url';
|
|
26
|
-
value?: string;
|
|
27
|
-
autoFocus?: boolean;
|
|
28
|
-
readOnly?: boolean;
|
|
29
|
-
};
|
|
30
|
-
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
31
|
-
export default Input;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Input';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './InputHint';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
htmlFor: string;
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
weight?: 'regular' | 'semiBold';
|
|
7
|
-
};
|
|
8
|
-
declare function Label({ htmlFor, children, className, weight }: Props): React.JSX.Element;
|
|
9
|
-
export default Label;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Label';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Loader';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
export type Props = {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
contentClassName?: string;
|
|
5
|
-
isCloseButtonVisible?: boolean;
|
|
6
|
-
onClose?: () => void;
|
|
7
|
-
onOpenChange: (open: boolean) => void;
|
|
8
|
-
open: boolean;
|
|
9
|
-
overlayClassName?: string;
|
|
10
|
-
titleClassName?: string;
|
|
11
|
-
bodyClassName?: string;
|
|
12
|
-
childrenClassName?: string;
|
|
13
|
-
title?: ReactNode;
|
|
14
|
-
isClosable?: boolean | null;
|
|
15
|
-
portalContainer?: HTMLElement;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
- Focus is automatically trapped when modal.
|
|
19
|
-
- Manages screen reader announcements with Title and Description components.
|
|
20
|
-
- Esc closes the component automatically.
|
|
21
|
-
- [Accessibility and Keyboard Interactions](https://www.radix-ui.com/docs/primitives/components/dialog#accessibility)
|
|
22
|
-
**/
|
|
23
|
-
declare function Modal({ children, contentClassName, isCloseButtonVisible, onClose, onOpenChange, open, overlayClassName, title, isClosable, portalContainer, ...props }: Props): React.JSX.Element;
|
|
24
|
-
export default Modal;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Modal';
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { FC, MouseEvent, ReactNode } from 'react';
|
|
2
|
-
export interface ModalScrollableProps {
|
|
3
|
-
cancelBtnText?: string;
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
customBodyClass?: string;
|
|
6
|
-
customCancelBtnClass?: string;
|
|
7
|
-
customCloseBtnClass?: string;
|
|
8
|
-
customContentClass?: string;
|
|
9
|
-
customFooterClass?: string;
|
|
10
|
-
customOkBtnClass?: string;
|
|
11
|
-
customOverlayClass?: string;
|
|
12
|
-
customTitleClass?: string;
|
|
13
|
-
footer?: ReactNode;
|
|
14
|
-
header?: ReactNode;
|
|
15
|
-
isAvailableCancelBtn?: boolean;
|
|
16
|
-
isAvailableOkBtn?: boolean;
|
|
17
|
-
isClosable?: boolean | null;
|
|
18
|
-
isCloseButtonVisible?: boolean;
|
|
19
|
-
isOkBtnDisabled?: boolean;
|
|
20
|
-
isOpen: boolean;
|
|
21
|
-
isOpenByDefault?: boolean;
|
|
22
|
-
okBtnText?: string;
|
|
23
|
-
onCancel?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
24
|
-
onOk?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
25
|
-
onOpenChange: (open: boolean) => void;
|
|
26
|
-
portalContainer?: HTMLElement;
|
|
27
|
-
title?: ReactNode;
|
|
28
|
-
}
|
|
29
|
-
declare const ModalScrollable: FC<ModalScrollableProps>;
|
|
30
|
-
export default ModalScrollable;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ModalScrollable';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
export interface ModalWindowProps {
|
|
3
|
-
children: ReactNode;
|
|
4
|
-
customBodyClass?: string;
|
|
5
|
-
customCloseBtnClass?: string;
|
|
6
|
-
customContentClass?: string;
|
|
7
|
-
customFooterClass?: string;
|
|
8
|
-
customOverlayClass?: string;
|
|
9
|
-
customTitleClass?: string;
|
|
10
|
-
footer?: ReactNode;
|
|
11
|
-
isCloseButtonVisible?: boolean;
|
|
12
|
-
onOpenChange: (open: boolean) => void;
|
|
13
|
-
isOpen: boolean;
|
|
14
|
-
isOpenByDefault?: boolean;
|
|
15
|
-
title?: ReactNode;
|
|
16
|
-
isClosable?: boolean | null;
|
|
17
|
-
portalContainer?: HTMLElement;
|
|
18
|
-
}
|
|
19
|
-
declare const ModalWindow: FC<ModalWindowProps>;
|
|
20
|
-
export default ModalWindow;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ModalWindow';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
export type Option = unknown;
|
|
3
|
-
export interface Props {
|
|
4
|
-
autoFocus?: boolean;
|
|
5
|
-
backspaceRemovesValue?: boolean;
|
|
6
|
-
className?: string;
|
|
7
|
-
classNamePrefix?: string;
|
|
8
|
-
errorMessage?: string;
|
|
9
|
-
errorMessageClass?: string;
|
|
10
|
-
isClearable?: boolean;
|
|
11
|
-
isDisabled?: boolean;
|
|
12
|
-
isMulti?: boolean;
|
|
13
|
-
isSearchable?: boolean;
|
|
14
|
-
isVisibleOptional?: boolean;
|
|
15
|
-
label?: string;
|
|
16
|
-
menuIsOpen?: boolean;
|
|
17
|
-
name?: string;
|
|
18
|
-
noOptionsMessage?: ((obj: {
|
|
19
|
-
inputValue: string;
|
|
20
|
-
}) => ReactNode) | undefined;
|
|
21
|
-
onChange?: ((value: Option) => void) | null;
|
|
22
|
-
options?: Option[];
|
|
23
|
-
placeholder?: string;
|
|
24
|
-
portalTarget?: HTMLElement;
|
|
25
|
-
value?: Option;
|
|
26
|
-
}
|
|
27
|
-
declare const MultiSelect: FC<Props>;
|
|
28
|
-
export default MultiSelect;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './MultiSelect';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Note';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
export interface PaginationProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
currentPage?: number;
|
|
5
|
-
isDisabled?: boolean;
|
|
6
|
-
onChange?: (page: number) => void;
|
|
7
|
-
pageSize?: number;
|
|
8
|
-
total: number;
|
|
9
|
-
}
|
|
10
|
-
declare const Pagination: FC<PaginationProps>;
|
|
11
|
-
export default Pagination;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './Pagination';
|