@brightspace-ui/core 1.233.4 → 1.233.5
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.
|
@@ -37,6 +37,7 @@ class DropdownMenu extends ThemeMixin(DropdownContentMixin(LitElement)) {
|
|
|
37
37
|
this.addEventListener('d2l-dropdown-close', this._onClose);
|
|
38
38
|
this.addEventListener('d2l-menu-resize', this._onMenuResize);
|
|
39
39
|
this.addEventListener('d2l-menu-item-select', this._onSelect);
|
|
40
|
+
this.addEventListener('d2l-selection-action-click', this._onSelect);
|
|
40
41
|
this.addEventListener('d2l-menu-item-change', this._onChange);
|
|
41
42
|
this.addEventListener('focus', this._onFocus);
|
|
42
43
|
}
|
|
@@ -117,7 +118,7 @@ class DropdownMenu extends ThemeMixin(DropdownContentMixin(LitElement)) {
|
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
_onSelect(e) {
|
|
120
|
-
if (['D2L-MENU-ITEM', 'D2L-MENU-ITEM-LINK'].indexOf(e.target.tagName) < 0) {
|
|
121
|
+
if (['D2L-MENU-ITEM', 'D2L-MENU-ITEM-LINK', 'D2L-SELECTION-ACTION-MENU-ITEM'].indexOf(e.target.tagName) < 0) {
|
|
121
122
|
return;
|
|
122
123
|
}
|
|
123
124
|
this.close();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "1.233.
|
|
3
|
+
"version": "1.233.5",
|
|
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",
|