react-magma-dom 4.12.2-next.0 → 4.13.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DatePicker/utils.d.ts +1 -0
- package/dist/components/Modal/Modal.d.ts +7 -0
- package/dist/esm/index.js +50 -26
- package/dist/esm/index.js.map +1 -1
- package/dist/i18n/interface.d.ts +12 -0
- package/dist/properties.json +146 -137
- package/dist/react-magma-dom.cjs.development.js +50 -26
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +3 -3
|
@@ -14,3 +14,4 @@ export declare function setMonthForDate(prevDate: any, numberMonth: number): Dat
|
|
|
14
14
|
export declare function setYearForDate(prevDate: any, numberYear: number): Date;
|
|
15
15
|
export declare const MAX_YEAR = 2099;
|
|
16
16
|
export declare const MIN_YEAR = 1900;
|
|
17
|
+
export declare const isYearOutOfRange: (year: number) => boolean;
|
|
@@ -66,6 +66,13 @@ export interface ModalProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
66
66
|
* @default true
|
|
67
67
|
*/
|
|
68
68
|
unmountOnExit?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* DOM element to portal the modal into. Defaults to `document.body`.
|
|
71
|
+
* Useful when the modal must render inside a specific subtree, such as
|
|
72
|
+
* when the parent element has been put into the browser's fullscreen mode
|
|
73
|
+
* (only DOM within the fullscreen element is rendered by the browser).
|
|
74
|
+
*/
|
|
75
|
+
portalContainer?: HTMLElement | null;
|
|
69
76
|
/**
|
|
70
77
|
* @internal
|
|
71
78
|
*/
|