@brightspace-ui/core 2.10.0 → 2.10.3
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.
|
@@ -14,7 +14,8 @@ import { tryGetIfrauBackdropService } from '../../helpers/ifrauBackdropService.j
|
|
|
14
14
|
window.D2L = window.D2L || {};
|
|
15
15
|
window.D2L.DialogMixin = window.D2L.DialogMixin || {};
|
|
16
16
|
|
|
17
|
-
window.D2L.DialogMixin.hasNative = (window.HTMLDialogElement !== undefined)
|
|
17
|
+
window.D2L.DialogMixin.hasNative = (window.HTMLDialogElement !== undefined)
|
|
18
|
+
&& (navigator.vendor && navigator.vendor.toLowerCase().indexOf('apple') === -1);
|
|
18
19
|
if (window.D2L.DialogMixin.preferNative === undefined) {
|
|
19
20
|
window.D2L.DialogMixin.preferNative = true;
|
|
20
21
|
}
|
|
@@ -279,7 +279,6 @@ class ListItemDragHandle extends LocalizeCoreElement(RtlMixin(LitElement)) {
|
|
|
279
279
|
return html`
|
|
280
280
|
<button
|
|
281
281
|
aria-label="${this._defaultLabel}"
|
|
282
|
-
aria-live="assertive"
|
|
283
282
|
class="d2l-list-item-drag-handle-keyboard-button"
|
|
284
283
|
@focusin="${this._onFocusInKeyboardButton}"
|
|
285
284
|
@focusout="${this._onFocusOutKeyboardButton}"
|
|
@@ -72,7 +72,10 @@ export const TagListItemMixin = superclass => class extends superclass {
|
|
|
72
72
|
super.firstUpdated(changedProperties);
|
|
73
73
|
|
|
74
74
|
const container = this.shadowRoot.querySelector('.tag-list-item-container');
|
|
75
|
-
this.addEventListener('focus', () =>
|
|
75
|
+
this.addEventListener('focus', (e) => {
|
|
76
|
+
// ignore focus events coming from inside the tag content
|
|
77
|
+
if (e.composedPath()[0] === this) container.focus();
|
|
78
|
+
});
|
|
76
79
|
this.addEventListener('blur', () => container.blur());
|
|
77
80
|
}
|
|
78
81
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.3",
|
|
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",
|