@brightspace-ui/core 1.202.2 → 1.203.0
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.
|
@@ -325,9 +325,7 @@ export const DropdownContentMixin = superclass => class extends LocalizeCoreElem
|
|
|
325
325
|
if (isNaN(newVerticalOffset)) {
|
|
326
326
|
newVerticalOffset = 20;
|
|
327
327
|
}
|
|
328
|
-
|
|
329
|
-
if (window.ShadyCSS) window.ShadyCSS.styleSubtree(this, { '--d2l-dropdown-verticaloffset': `${newVerticalOffset}px` });
|
|
330
|
-
else this.style.setProperty('--d2l-dropdown-verticaloffset', `${newVerticalOffset}px`);
|
|
328
|
+
this.style.setProperty('--d2l-dropdown-verticaloffset', `${newVerticalOffset}px`);
|
|
331
329
|
}
|
|
332
330
|
});
|
|
333
331
|
}
|
|
@@ -170,13 +170,9 @@ class LoadingSpinner extends LitElement {
|
|
|
170
170
|
updated(changedProperties) {
|
|
171
171
|
changedProperties.forEach((oldValue, propName) => {
|
|
172
172
|
if (propName === 'color') {
|
|
173
|
-
|
|
174
|
-
if (window.ShadyCSS) window.ShadyCSS.styleSubtree(this, { '--d2l-loading-spinner-color': this.color });
|
|
175
|
-
else this.style.setProperty('--d2l-loading-spinner-color', this.color);
|
|
173
|
+
this.style.setProperty('--d2l-loading-spinner-color', this.color);
|
|
176
174
|
} else if (propName === 'size') {
|
|
177
|
-
|
|
178
|
-
if (window.ShadyCSS) window.ShadyCSS.styleSubtree(this, { '--d2l-loading-spinner-size': `${this.size}px` });
|
|
179
|
-
else this.style.setProperty('--d2l-loading-spinner-size', `${this.size}px`);
|
|
175
|
+
this.style.setProperty('--d2l-loading-spinner-size', `${this.size}px`);
|
|
180
176
|
}
|
|
181
177
|
});
|
|
182
178
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.203.0",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"repository": "https://github.com/BrightspaceUI/core.git",
|
|
6
6
|
"publishConfig": {
|