@brightspace-ui/core 3.204.5 → 3.204.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.
|
@@ -69,8 +69,17 @@ class Button extends ButtonMixin(LitElement) {
|
|
|
69
69
|
|
|
70
70
|
:host([disabled]) button {
|
|
71
71
|
cursor: default;
|
|
72
|
+
position: relative;
|
|
73
|
+
}
|
|
74
|
+
:host([disabled]) button::before {
|
|
75
|
+
background-color: white;
|
|
76
|
+
border-radius: inherit;
|
|
77
|
+
content: "";
|
|
78
|
+
inset: 0;
|
|
72
79
|
opacity: 0.5;
|
|
80
|
+
position: absolute;
|
|
73
81
|
}
|
|
82
|
+
|
|
74
83
|
:host([primary]) button,
|
|
75
84
|
:host([primary]) button[disabled]:hover,
|
|
76
85
|
:host([primary]) button[disabled]:focus,
|
|
@@ -351,7 +351,7 @@ export const PopoverMixin = superclass => class extends superclass {
|
|
|
351
351
|
this._opened = true;
|
|
352
352
|
|
|
353
353
|
await this.updateComplete; // wait for popover attribute before managing top-layer
|
|
354
|
-
if (this._useNativePopover) this.showPopover();
|
|
354
|
+
if (this.isConnected && this._useNativePopover) this.showPopover();
|
|
355
355
|
|
|
356
356
|
this._previousFocusableAncestor = getPreviousFocusableAncestor(this, false, false);
|
|
357
357
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.204.
|
|
3
|
+
"version": "3.204.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",
|