@panneau/element-modal 4.0.0 → 4.0.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/es/index.js +1 -2
- package/package.json +6 -6
package/es/index.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
-
import
|
|
3
|
+
import { useMemo, useEffect, useRef } from 'react';
|
|
4
4
|
import { getDisplayName } from '@panneau/core/utils';
|
|
5
5
|
import ReactDOM from 'react-dom';
|
|
6
6
|
import { useModal } from '@panneau/core/contexts';
|
|
7
7
|
import { useKeyboardKeys, KEYCODES } from '@panneau/core/hooks';
|
|
8
8
|
|
|
9
|
-
/* eslint-disable react/no-array-index-key, react/jsx-props-no-spreading */
|
|
10
9
|
function ModalPortal(_ref) {
|
|
11
10
|
var _ref$id = _ref.id,
|
|
12
11
|
id = _ref$id === void 0 ? null : _ref$id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/element-modal",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "Modal element",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@babel/runtime": "^7.12.5",
|
|
54
|
-
"@panneau/core": "^4.0.
|
|
55
|
-
"@panneau/element-button": "^4.0.
|
|
56
|
-
"@panneau/element-icon": "^4.0.
|
|
57
|
-
"@panneau/element-label": "^4.0.
|
|
54
|
+
"@panneau/core": "^4.0.2",
|
|
55
|
+
"@panneau/element-button": "^4.0.2",
|
|
56
|
+
"@panneau/element-icon": "^4.0.2",
|
|
57
|
+
"@panneau/element-label": "^4.0.2",
|
|
58
58
|
"classnames": "^2.5.1",
|
|
59
59
|
"prop-types": "^15.7.2",
|
|
60
60
|
"react-intl": "^5.15.8 || ^6.0.0 || ^7.0.0"
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "53ad0f27e467992c23158732e0f7d39d8615780b"
|
|
66
66
|
}
|