demio-ui 2.5.44 → 2.5.45
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/cjs/index.css +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/types/src/components/ModalWindow/ModalWindow.d.ts +20 -0
- package/dist/cjs/types/src/components/ModalWindow/index.d.ts +1 -0
- package/dist/cjs/types/src/components/index.d.ts +1 -0
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/types/src/components/ModalWindow/ModalWindow.d.ts +20 -0
- package/dist/esm/types/src/components/ModalWindow/index.d.ts +1 -0
- package/dist/esm/types/src/components/index.d.ts +1 -0
- package/dist/types.d.ts +20 -1
- package/package.json +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ModalWindow';
|
|
@@ -16,6 +16,7 @@ export { default as InputHint } from './InputHint';
|
|
|
16
16
|
export { default as Label } from './Label';
|
|
17
17
|
export { default as Loader } from './Loader';
|
|
18
18
|
export { default as Modal } from './Modal';
|
|
19
|
+
export { default as ModalWindow } from './ModalWindow';
|
|
19
20
|
export { default as MultiSelect } from './MultiSelect';
|
|
20
21
|
export { default as Pagination } from './Pagination';
|
|
21
22
|
export { Popover, PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger } from './Popover';
|
package/dist/types.d.ts
CHANGED
|
@@ -265,6 +265,25 @@ type Props$6 = {
|
|
|
265
265
|
**/
|
|
266
266
|
declare function Modal({ children, contentClassName, isCloseButtonVisible, onClose, onOpenChange, open, overlayClassName, title, isClosable, portalContainer, ...props }: Props$6): React__default.JSX.Element;
|
|
267
267
|
|
|
268
|
+
interface ModalWindowProps {
|
|
269
|
+
children: ReactNode;
|
|
270
|
+
customBodyClass?: string;
|
|
271
|
+
customCloseBtnClass?: string;
|
|
272
|
+
customContentClass?: string;
|
|
273
|
+
customFooterClass?: string;
|
|
274
|
+
customOverlayClass?: string;
|
|
275
|
+
customTitleClass?: string;
|
|
276
|
+
footer?: ReactNode;
|
|
277
|
+
isCloseButtonVisible?: boolean;
|
|
278
|
+
onOpenChange: (open: boolean) => void;
|
|
279
|
+
isOpen: boolean;
|
|
280
|
+
isOpenByDefault?: boolean;
|
|
281
|
+
title?: ReactNode;
|
|
282
|
+
isClosable?: boolean | null;
|
|
283
|
+
portalContainer?: HTMLElement;
|
|
284
|
+
}
|
|
285
|
+
declare const ModalWindow: FC<ModalWindowProps>;
|
|
286
|
+
|
|
268
287
|
type Option = unknown;
|
|
269
288
|
interface Props$5 {
|
|
270
289
|
autoFocus?: boolean;
|
|
@@ -2350,4 +2369,4 @@ declare const getCroppedImageURL: (imageSrc: string, pixelCrop: Area, rotation?:
|
|
|
2350
2369
|
vertical: boolean;
|
|
2351
2370
|
}) => Promise<string | null>;
|
|
2352
2371
|
|
|
2353
|
-
export { Alert, Avatar, Badge, Button$1 as Button, Button as ButtonNew, Card, Checkbox, Crop, DnDArea, Drawer, DropdownItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger, FormGroup, InfoBanner, Input, InputHint, Label, Loader, Modal, MultiSelect, Pagination, Popover, PopoverTooltip, Progress, RadioGroup, Select, SelectItem, SelectItemText, SliderDemo as Slider, Switch, Tab, TabsContent, TabsList, TabsRoot, Tag, Tooltip, Typography, Upload, UploadError, UploadMenu, UploadPreview, createImage, getCroppedImageURL, getFileExtension, getFileMimeType, getRadianAngle, index as icons, isExtensionMatchingMimeType, isImage, isValidFileDimension, isValidFileSize, isValidFileType, isVideo, mimeTypeMap, rotateSize, useCroppedImage, useFileValidation };
|
|
2372
|
+
export { Alert, Avatar, Badge, Button$1 as Button, Button as ButtonNew, Card, Checkbox, Crop, DnDArea, Drawer, DropdownItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger, FormGroup, InfoBanner, Input, InputHint, Label, Loader, Modal, ModalWindow, MultiSelect, Pagination, Popover, PopoverTooltip, Progress, RadioGroup, Select, SelectItem, SelectItemText, SliderDemo as Slider, Switch, Tab, TabsContent, TabsList, TabsRoot, Tag, Tooltip, Typography, Upload, UploadError, UploadMenu, UploadPreview, createImage, getCroppedImageURL, getFileExtension, getFileMimeType, getRadianAngle, index as icons, isExtensionMatchingMimeType, isImage, isValidFileDimension, isValidFileSize, isValidFileType, isVideo, mimeTypeMap, rotateSize, useCroppedImage, useFileValidation };
|