@brightspace-ui/core 2.184.5 → 2.184.7
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.
@@ -42,8 +42,8 @@
|
|
42
42
|
</script>
|
43
43
|
<d2l-demo-snippet full-width>
|
44
44
|
<d2l-tag-list description="A bunch of example tags">
|
45
|
-
<d2l-tag-list-item text="Example 1"></d2l-tag-list-item>
|
46
|
-
<d2l-tag-list-item text="Example 2
|
45
|
+
<d2l-tag-list-item text="Example 1 - much much much much much much much much longer"></d2l-tag-list-item>
|
46
|
+
<d2l-tag-list-item text="Example 2"></d2l-tag-list-item>
|
47
47
|
<d2l-tag-list-item text="Example 3"></d2l-tag-list-item>
|
48
48
|
<d2l-tag-list-item-mixin-consumer name="Custom Tag List Item"></d2l-tag-list-item-mixin-consumer>
|
49
49
|
<d2l-tag-list-item text="Example 5"></d2l-tag-list-item>
|
@@ -191,11 +191,11 @@ export const TagListItemMixin = superclass => class extends LocalizeCoreElement(
|
|
191
191
|
|
192
192
|
announce(message);
|
193
193
|
}
|
194
|
+
this._onFocusIn();
|
194
195
|
|
195
196
|
await this.updateComplete;
|
196
197
|
// delay the focus to allow focusin to fire
|
197
198
|
setTimeout(() => {
|
198
|
-
this._onFocusIn();
|
199
199
|
container.focus();
|
200
200
|
});
|
201
201
|
});
|
@@ -946,7 +946,8 @@ class Tooltip extends RtlMixin(LitElement) {
|
|
946
946
|
if (logAccessibilityWarning && !isInteractive && !this.announced) {
|
947
947
|
console.warn(
|
948
948
|
'd2l-tooltip may be being used in a non-accessible manner; it should be attached to interactive elements like \'a\', \'button\',' +
|
949
|
-
'\'input\'', '\'select\', \'textarea\' or static / custom elements if a role has been set and the element is focusable.'
|
949
|
+
'\'input\'', '\'select\', \'textarea\' or static / custom elements if a role has been set and the element is focusable.',
|
950
|
+
this._target
|
950
951
|
);
|
951
952
|
logAccessibilityWarning = false;
|
952
953
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "2.184.
|
3
|
+
"version": "2.184.7",
|
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",
|