@brightspace-ui/core 3.75.0 → 3.75.1
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.
|
@@ -315,7 +315,7 @@ class AlertToast extends LitElement {
|
|
|
315
315
|
this.dispatchEvent(new CustomEvent(
|
|
316
316
|
'd2l-alert-toast-resize', {
|
|
317
317
|
bubbles: true,
|
|
318
|
-
composed:
|
|
318
|
+
composed: true,
|
|
319
319
|
detail: { bottom, heightDifference: (newHeight - oldHeight), opening, closing: false }
|
|
320
320
|
}
|
|
321
321
|
));
|
|
@@ -327,7 +327,7 @@ class AlertToast extends LitElement {
|
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
_handleSiblingResize(e) {
|
|
330
|
-
if (e?.
|
|
330
|
+
if (e?.composedPath()[0] === this || !this.open) return;
|
|
331
331
|
|
|
332
332
|
if (!e.detail.opening) {
|
|
333
333
|
const containerBottom = this._innerContainer.getBoundingClientRect().bottom;
|
|
@@ -444,7 +444,7 @@ class AlertToast extends LitElement {
|
|
|
444
444
|
this.dispatchEvent(new CustomEvent(
|
|
445
445
|
'd2l-alert-toast-close', {
|
|
446
446
|
bubbles: true,
|
|
447
|
-
composed:
|
|
447
|
+
composed: true,
|
|
448
448
|
detail: { bottom, heightDifference: -this._height, opening: false, closing: true }
|
|
449
449
|
}
|
|
450
450
|
));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.75.
|
|
3
|
+
"version": "3.75.1",
|
|
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",
|