studiokit-scaffolding-js 7.0.9-alpha.1 → 7.0.9
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.
|
@@ -133,8 +133,7 @@ function configureFullscreenModalComponent(WrappedComponent) {
|
|
|
133
133
|
});
|
|
134
134
|
};
|
|
135
135
|
FullscreenModalComponent.prototype.render = function () {
|
|
136
|
-
var _a;
|
|
137
|
-
var _b = this.props, contentLabel = _b.contentLabel, isTopOpenFullscreenModal = _b.isTopOpenFullscreenModal, onEntering = _b.onEntering, onExited = _b.onExited, _ = _b.isOpen, closeModal = _b.closeModal, remainingProps = __rest(_b, ["contentLabel", "isTopOpenFullscreenModal", "onEntering", "onExited", "isOpen", "closeModal"]);
|
|
136
|
+
var _a = this.props, contentLabel = _a.contentLabel, isTopOpenFullscreenModal = _a.isTopOpenFullscreenModal, onEntering = _a.onEntering, onExited = _a.onExited, _ = _a.isOpen, closeModal = _a.closeModal, zIndex = _a.zIndex, remainingProps = __rest(_a, ["contentLabel", "isTopOpenFullscreenModal", "onEntering", "onExited", "isOpen", "closeModal", "zIndex"]);
|
|
138
137
|
// do not pass ConnectedModalWrappedProps to wrapped component
|
|
139
138
|
var wrappedProps = __assign(__assign({}, remainingProps), { closeModal: this.closeModal });
|
|
140
139
|
var isOpen = this.state.isOpen;
|
|
@@ -156,7 +155,7 @@ function configureFullscreenModalComponent(WrappedComponent) {
|
|
|
156
155
|
left: 0,
|
|
157
156
|
right: 0,
|
|
158
157
|
bottom: 0,
|
|
159
|
-
zIndex:
|
|
158
|
+
zIndex: zIndex !== null && zIndex !== void 0 ? zIndex : 2000
|
|
160
159
|
}
|
|
161
160
|
},
|
|
162
161
|
// hide the rendered portal if this is not the top open fullscreen modal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "studiokit-scaffolding-js",
|
|
3
|
-
"version": "7.0.9
|
|
3
|
+
"version": "7.0.9",
|
|
4
4
|
"description": "Common scaffolding for Studio apps at Purdue",
|
|
5
5
|
"repository": "https://gitlab.com/purdue-informatics/studiokit/studiokit-scaffolding-js",
|
|
6
6
|
"license": "MIT",
|