@woosmap/ui 4.236.12 → 4.236.13
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/package.json
CHANGED
|
@@ -92,7 +92,7 @@ class Panel extends Component {
|
|
|
92
92
|
|
|
93
93
|
render() {
|
|
94
94
|
const { open } = this.state;
|
|
95
|
-
const { position, header,
|
|
95
|
+
const { position, header, loading, testId, children } = this.props;
|
|
96
96
|
return (
|
|
97
97
|
<AnimatePresence>
|
|
98
98
|
{open && (
|
|
@@ -108,7 +108,6 @@ class Panel extends Component {
|
|
|
108
108
|
stiffness: 800,
|
|
109
109
|
damping: 35,
|
|
110
110
|
}}
|
|
111
|
-
{...rest}
|
|
112
111
|
>
|
|
113
112
|
<div className="panel__header">
|
|
114
113
|
{loading
|
|
@@ -138,7 +137,6 @@ Panel.defaultProps = {
|
|
|
138
137
|
defaultIsOpen: false,
|
|
139
138
|
closeCb: null,
|
|
140
139
|
header: null,
|
|
141
|
-
disableCloseOutside: false,
|
|
142
140
|
testId: 'panel',
|
|
143
141
|
loading: false,
|
|
144
142
|
numberOfPlaceholderSections: 6,
|
|
@@ -148,7 +146,6 @@ Panel.propTypes = {
|
|
|
148
146
|
closeCb: PropTypes.func,
|
|
149
147
|
testId: PropTypes.string,
|
|
150
148
|
defaultIsOpen: PropTypes.bool,
|
|
151
|
-
disableCloseOutside: PropTypes.bool,
|
|
152
149
|
children: PropTypes.node.isRequired,
|
|
153
150
|
position: PropTypes.oneOf(['right', 'left']),
|
|
154
151
|
header: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),
|