@brightspace-ui/core 2.46.1 → 2.46.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.
- package/components/alert/alert.js +0 -11
- package/package.json +1 -1
|
@@ -196,23 +196,12 @@ class Alert extends LocalizeCoreElement(RtlMixin(LitElement)) {
|
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
close() {
|
|
199
|
-
// deprecated - event names should be present tense
|
|
200
|
-
/** @ignore */
|
|
201
|
-
const didDispatch = this.dispatchEvent(new CustomEvent('d2l-alert-closed', { bubbles: true, composed: true, cancelable: true }));
|
|
202
|
-
if (didDispatch) {
|
|
203
|
-
this.hidden = true;
|
|
204
|
-
}
|
|
205
199
|
if (this.dispatchEvent(new CustomEvent('d2l-alert-close', { bubbles: true, composed: true, cancelable: true }))) {
|
|
206
200
|
this.hidden = true;
|
|
207
201
|
}
|
|
208
202
|
}
|
|
209
203
|
|
|
210
204
|
_onButtonClick() {
|
|
211
|
-
// deprecated - event names should be present tense
|
|
212
|
-
/** @ignore */
|
|
213
|
-
this.dispatchEvent(new CustomEvent(
|
|
214
|
-
'd2l-alert-button-pressed', { bubbles: true, composed: true }
|
|
215
|
-
));
|
|
216
205
|
this.dispatchEvent(new CustomEvent(
|
|
217
206
|
'd2l-alert-button-press', { bubbles: true, composed: true }
|
|
218
207
|
));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.46.
|
|
3
|
+
"version": "2.46.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",
|