@panneau/element-modal 3.0.288 → 3.0.290
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 +2 -5
- package/package.json +6 -6
package/es/index.js
CHANGED
|
@@ -50,7 +50,6 @@ var ModalPortal = function ModalPortal(_ref) {
|
|
|
50
50
|
};
|
|
51
51
|
ModalPortal.propTypes = propTypes$2;
|
|
52
52
|
ModalPortal.defaultProps = defaultProps$2;
|
|
53
|
-
var ModalPortal$1 = ModalPortal;
|
|
54
53
|
|
|
55
54
|
var styles = {"modal":"panneau-element-modal-modal","center":"panneau-element-modal-center","inner":"panneau-element-modal-inner","top":"panneau-element-modal-top","button":"panneau-element-modal-button","modalsContainer":"panneau-element-modal-modalsContainer","modals":"panneau-element-modal-modals","hasModals":"panneau-element-modal-hasModals"};
|
|
56
55
|
|
|
@@ -84,7 +83,7 @@ var Modal = function Modal(_ref) {
|
|
|
84
83
|
onClose: onClose
|
|
85
84
|
};
|
|
86
85
|
}, [title, onClose]);
|
|
87
|
-
return /*#__PURE__*/React.createElement(ModalPortal
|
|
86
|
+
return /*#__PURE__*/React.createElement(ModalPortal, {
|
|
88
87
|
id: finalId,
|
|
89
88
|
data: data
|
|
90
89
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -96,7 +95,6 @@ var Modal = function Modal(_ref) {
|
|
|
96
95
|
};
|
|
97
96
|
Modal.propTypes = propTypes$1;
|
|
98
97
|
Modal.defaultProps = defaultProps$1;
|
|
99
|
-
var Modal$1 = Modal;
|
|
100
98
|
|
|
101
99
|
var propTypes = {
|
|
102
100
|
theme: PropTypes.string,
|
|
@@ -145,6 +143,5 @@ var Modals = function Modals(_ref) {
|
|
|
145
143
|
};
|
|
146
144
|
Modals.propTypes = propTypes;
|
|
147
145
|
Modals.defaultProps = defaultProps;
|
|
148
|
-
var Modals$1 = Modals;
|
|
149
146
|
|
|
150
|
-
export { Modal
|
|
147
|
+
export { Modal, ModalPortal, Modals, Modal as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panneau/element-modal",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.290",
|
|
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": "^3.0.
|
|
55
|
-
"@panneau/element-button": "^3.0.
|
|
56
|
-
"@panneau/element-icon": "^3.0.
|
|
57
|
-
"@panneau/element-label": "^3.0.
|
|
54
|
+
"@panneau/core": "^3.0.290",
|
|
55
|
+
"@panneau/element-button": "^3.0.290",
|
|
56
|
+
"@panneau/element-icon": "^3.0.290",
|
|
57
|
+
"@panneau/element-label": "^3.0.290",
|
|
58
58
|
"classnames": "^2.5.1",
|
|
59
59
|
"prop-types": "^15.7.2",
|
|
60
60
|
"react-intl": "^5.15.8||^6.0.0"
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "682156ae8f9e789cca229bd2aab2c8f3228b5ffe"
|
|
66
66
|
}
|