@brightspace-ui/core 3.141.0 → 3.141.1
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.
@@ -454,11 +454,8 @@ export const DialogMixin = superclass => class extends RtlMixin(superclass) {
|
|
454
454
|
if (reduceMotion) await new Promise(resolve => requestAnimationFrame(resolve));
|
455
455
|
else await animPromise;
|
456
456
|
|
457
|
-
|
458
|
-
|
459
|
-
await this.waitForUpdateComplete();
|
460
|
-
await this._updateSize();
|
461
|
-
}
|
457
|
+
await this.waitForUpdateComplete();
|
458
|
+
await this._updateSize();
|
462
459
|
/** Dispatched when the dialog is opened */
|
463
460
|
this.dispatchEvent(new CustomEvent(
|
464
461
|
'd2l-dialog-open', { bubbles: true, composed: true }
|
@@ -205,12 +205,7 @@ class Dialog extends PropertyRequiredMixin(LocalizeCoreElement(AsyncContainerMix
|
|
205
205
|
super.updated(changedProperties);
|
206
206
|
if (!changedProperties.has('asyncState')) return;
|
207
207
|
if (this.asyncState === asyncStates.complete) {
|
208
|
-
|
209
|
-
if (flag) {
|
210
|
-
this.waitForUpdateComplete().then(() => this.resize());
|
211
|
-
} else {
|
212
|
-
this.resize();
|
213
|
-
}
|
208
|
+
this.waitForUpdateComplete().then(() => this.resize());
|
214
209
|
}
|
215
210
|
}
|
216
211
|
|
@@ -359,7 +359,7 @@ class InputColor extends InputInlineHelpMixin(PropertyRequiredMixin(FocusMixin(F
|
|
359
359
|
|
360
360
|
_getTooltipLabel() {
|
361
361
|
const valueLabel = this.value !== undefined ? this.value : this.localize('components.input-color.none');
|
362
|
-
return `${this._getLabel()}: ${valueLabel}
|
362
|
+
return `${this._getLabel()}: ${valueLabel}`;
|
363
363
|
}
|
364
364
|
|
365
365
|
_handleClose() {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.141.
|
3
|
+
"version": "3.141.1",
|
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",
|