@brightspace-ui/core 3.317.1 → 3.317.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.
|
@@ -116,6 +116,7 @@ export const DialogMixin = superclass => class extends superclass {
|
|
|
116
116
|
const ifrauDialogService = await tryGetIfrauBackdropService();
|
|
117
117
|
if (this.opened) {
|
|
118
118
|
if (ifrauDialogService) {
|
|
119
|
+
this.#ifrauDialogService = ifrauDialogService;
|
|
119
120
|
this._ifrauContextInfo = await ifrauDialogService.showBackdrop();
|
|
120
121
|
this._inIframe = true;
|
|
121
122
|
}
|
|
@@ -125,6 +126,7 @@ export const DialogMixin = superclass => class extends superclass {
|
|
|
125
126
|
ifrauDialogService.hideBackdrop();
|
|
126
127
|
this._ifrauContextInfo = null;
|
|
127
128
|
}
|
|
129
|
+
this.#ifrauDialogService = null;
|
|
128
130
|
this._close();
|
|
129
131
|
}
|
|
130
132
|
}
|
|
@@ -165,6 +167,7 @@ export const DialogMixin = superclass => class extends superclass {
|
|
|
165
167
|
}
|
|
166
168
|
|
|
167
169
|
#useNativeInitialized = false;
|
|
170
|
+
#ifrauDialogService = null;
|
|
168
171
|
|
|
169
172
|
#handleMvcDialogOpen = () => {
|
|
170
173
|
// native dialogs on top layer will be stacked on non-native dialogs regardless of z-index
|
|
@@ -182,6 +185,7 @@ export const DialogMixin = superclass => class extends superclass {
|
|
|
182
185
|
};
|
|
183
186
|
|
|
184
187
|
#updateSize = async() => {
|
|
188
|
+
if (this._inIframe && this.#ifrauDialogService) this._ifrauContextInfo = await this.#ifrauDialogService.getContextInfo();
|
|
185
189
|
if (this._autoSize) {
|
|
186
190
|
if (this._ifrauContextInfo) {
|
|
187
191
|
if (this._ifrauContextInfo.top > defaultMargin.top) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.317.
|
|
3
|
+
"version": "3.317.2",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|