@brightspace-ui/core 3.176.0 → 3.176.2
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.
|
@@ -442,7 +442,7 @@ class CollapsiblePanel extends SkeletonMixin(FocusMixin(LitElement)) {
|
|
|
442
442
|
|
|
443
443
|
_handlePanelClick(e) {
|
|
444
444
|
const content = this.shadowRoot.querySelector('.d2l-collapsible-panel-content');
|
|
445
|
-
if (e.target !== content && !isComposedAncestor(content, e.target)) this._toggleExpand();
|
|
445
|
+
if (e.target !== content && e.target.isConnected && !isComposedAncestor(content, e.target)) this._toggleExpand();
|
|
446
446
|
}
|
|
447
447
|
|
|
448
448
|
_handleSummarySlotChange(e) {
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import '../colors/colors.js';
|
|
2
2
|
import '../tooltip/tooltip.js';
|
|
3
|
-
import { css, html, LitElement, nothing
|
|
3
|
+
import { css, html, LitElement, nothing } from 'lit';
|
|
4
4
|
import { bodySmallStyles } from '../typography/styles.js';
|
|
5
5
|
import { classMap } from 'lit/directives/class-map.js';
|
|
6
6
|
import { FocusMixin } from '../../mixins/focus/focus-mixin.js';
|
|
7
|
-
import { getFlag } from '../../helpers/flags.js';
|
|
8
7
|
import { getFocusRingStyles } from '../../helpers/focus.js';
|
|
9
8
|
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
10
9
|
import { SkeletonMixin } from '../skeleton/skeleton-mixin.js';
|
|
11
10
|
import { SlottedIconMixin } from '../icons/slotted-icon-mixin.js';
|
|
12
11
|
|
|
13
|
-
const startAlignText = getFlag('GAUD-8232-tooltip-help-start-align-text', true);
|
|
14
|
-
|
|
15
12
|
/**
|
|
16
13
|
* A component used to display additional information when users focus or hover over some text.
|
|
17
14
|
* @slot - Default content placed inside of the tooltip
|
|
@@ -61,7 +58,7 @@ class TooltipHelp extends SlottedIconMixin(SkeletonMixin(FocusMixin(LitElement))
|
|
|
61
58
|
display: inline-flex;
|
|
62
59
|
font-family: inherit;
|
|
63
60
|
padding: 0;
|
|
64
|
-
text-align:
|
|
61
|
+
text-align: start;
|
|
65
62
|
text-decoration-line: underline;
|
|
66
63
|
text-decoration-style: dashed;
|
|
67
64
|
text-decoration-thickness: 1px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.176.
|
|
3
|
+
"version": "3.176.2",
|
|
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",
|