@brightspace-ui/core 2.32.0 → 2.32.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.
|
@@ -102,7 +102,7 @@ class TooltipHelp extends FocusMixin(FocusVisiblePolyfillMixin(LitElement)) {
|
|
|
102
102
|
'd2l-body-small': !this.inheritFontStyle
|
|
103
103
|
};
|
|
104
104
|
return html`
|
|
105
|
-
<button id="d2l-tooltip-help-text" class="${classMap(classes)}">
|
|
105
|
+
<button id="d2l-tooltip-help-text" class="${classMap(classes)}" type="button">
|
|
106
106
|
${this.text}
|
|
107
107
|
</button>
|
|
108
108
|
<d2l-tooltip for="d2l-tooltip-help-text" delay="0" offset="13" position="${ifDefined(this.position)}" ?showing="${this.showing}">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { clearDismissible, setDismissible } from '../../helpers/dismissible.js';
|
|
2
2
|
import { css, html, LitElement } from 'lit';
|
|
3
|
-
import { cssEscape, elemIdListAdd, getBoundingAncestor, getOffsetParent } from '../../helpers/dom.js';
|
|
3
|
+
import { cssEscape, elemIdListAdd, elemIdListRemove, getBoundingAncestor, getOffsetParent } from '../../helpers/dom.js';
|
|
4
4
|
import { announce } from '../../helpers/announce.js';
|
|
5
5
|
import { bodySmallStyles } from '../typography/styles.js';
|
|
6
6
|
import { getUniqueId } from '../../helpers/uniqueId.js';
|
|
@@ -446,6 +446,10 @@ class Tooltip extends RtlMixin(LitElement) {
|
|
|
446
446
|
clearDismissible(this._dismissibleId);
|
|
447
447
|
delayTimeoutId = null;
|
|
448
448
|
this._dismissibleId = null;
|
|
449
|
+
if (this._target) {
|
|
450
|
+
elemIdListRemove(this._target, 'aria-labelledby', this.id);
|
|
451
|
+
elemIdListRemove(this._target, 'aria-describedby', this.id);
|
|
452
|
+
}
|
|
449
453
|
}
|
|
450
454
|
|
|
451
455
|
render() {
|
package/helpers/prism.js
CHANGED
|
@@ -41,7 +41,7 @@ const darkColors = Object.freeze({
|
|
|
41
41
|
background: '#202122',
|
|
42
42
|
language: '#90989d',
|
|
43
43
|
lineNumbers: '#9ea5a9',
|
|
44
|
-
lineNumbersBackground: '#
|
|
44
|
+
lineNumbersBackground: '#303133',
|
|
45
45
|
tokenDefault: '#cdd5dc',
|
|
46
46
|
tokenComment: '#81898d',
|
|
47
47
|
tokenPunctuation: '#cdd5dc',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.32.
|
|
3
|
+
"version": "2.32.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",
|