@brightspace-ui/core 2.11.0 → 2.11.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.
|
@@ -113,12 +113,12 @@ export const TagListItemMixin = superclass => class extends LocalizeCoreElement(
|
|
|
113
113
|
this.addEventListener('focus', (e) => {
|
|
114
114
|
// ignore focus events coming from inside the tag content
|
|
115
115
|
if (e.composedPath()[0] !== this) return;
|
|
116
|
-
|
|
117
|
-
container.dispatchEvent(
|
|
116
|
+
/** @ignore */
|
|
117
|
+
container.dispatchEvent(new FocusEvent('focus', { bubbles: true, cancelable: true }));
|
|
118
118
|
});
|
|
119
119
|
this.addEventListener('blur', () => {
|
|
120
|
-
|
|
121
|
-
container.dispatchEvent(
|
|
120
|
+
/** @ignore */
|
|
121
|
+
container.dispatchEvent(new FocusEvent('blur', { bubbles: true, cancelable: true }));
|
|
122
122
|
});
|
|
123
123
|
this.addEventListener('keydown', this._handleKeydown);
|
|
124
124
|
}
|
package/custom-elements.json
CHANGED
|
@@ -9792,12 +9792,6 @@
|
|
|
9792
9792
|
}
|
|
9793
9793
|
],
|
|
9794
9794
|
"events": [
|
|
9795
|
-
{
|
|
9796
|
-
"name": "focus"
|
|
9797
|
-
},
|
|
9798
|
-
{
|
|
9799
|
-
"name": "blur"
|
|
9800
|
-
},
|
|
9801
9795
|
{
|
|
9802
9796
|
"name": "d2l-tag-list-item-cleared",
|
|
9803
9797
|
"description": "Dispatched when a user selects to delete a tag list item. The consumer must handle the actual element deletion and focus behaviour if there are no remaining list items."
|
|
@@ -9876,12 +9870,6 @@
|
|
|
9876
9870
|
}
|
|
9877
9871
|
],
|
|
9878
9872
|
"events": [
|
|
9879
|
-
{
|
|
9880
|
-
"name": "focus"
|
|
9881
|
-
},
|
|
9882
|
-
{
|
|
9883
|
-
"name": "blur"
|
|
9884
|
-
},
|
|
9885
9873
|
{
|
|
9886
9874
|
"name": "d2l-tag-list-item-cleared",
|
|
9887
9875
|
"description": "Dispatched when a user selects to delete a tag list item. The consumer must handle the actual element deletion and focus behaviour if there are no remaining list items."
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.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",
|