@brightspace-ui/core 2.139.3 → 2.139.4

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.
@@ -373,7 +373,7 @@ class InputNumber extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixi
373
373
  `;
374
374
  }
375
375
 
376
- updated(changedProperties) {
376
+ async updated(changedProperties) {
377
377
  super.updated(changedProperties);
378
378
 
379
379
  let checkValidity = false;
@@ -390,6 +390,9 @@ class InputNumber extends FocusMixin(LabelledMixin(SkeletonMixin(FormElementMixi
390
390
  });
391
391
 
392
392
  if (checkValidity) {
393
+ const inputTextElem = this.shadowRoot.querySelector('d2l-input-text');
394
+ await inputTextElem.updateComplete;
395
+
393
396
  let rangeUnderflowCondition = false;
394
397
  if (typeof(this.min) === 'number') {
395
398
  rangeUnderflowCondition = this.minExclusive ? this.value <= this.min : this.value < this.min;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brightspace-ui/core",
3
- "version": "2.139.3",
3
+ "version": "2.139.4",
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",