@brightspace-ui/core 2.71.0 → 2.71.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.
- package/README.md +2 -2
- package/components/inputs/input-text.js +2 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -133,10 +133,10 @@ The golden snapshots in source control must be updated by the [visual-diff GitHu
|
|
|
133
133
|
To run the tests locally to help troubleshoot or develop new tests, first install these dependencies:
|
|
134
134
|
|
|
135
135
|
```shell
|
|
136
|
-
npm install @brightspace-ui/visual-diff@X
|
|
136
|
+
npm install @brightspace-ui/visual-diff@X --no-save
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
Replace `X
|
|
139
|
+
Replace `X` with [the current version](https://github.com/BrightspaceUI/actions/tree/main/visual-diff#current-dependency-versions) the action is using.
|
|
140
140
|
|
|
141
141
|
Then run the tests:
|
|
142
142
|
|
|
@@ -476,6 +476,7 @@ class InputText extends FocusMixin(LabelledMixin(FormElementMixin(SkeletonMixin(
|
|
|
476
476
|
|
|
477
477
|
changedProperties.forEach((oldVal, prop) => {
|
|
478
478
|
if (prop === 'unit' || prop === 'unitLabel') {
|
|
479
|
+
this._updateInputLayout();
|
|
479
480
|
this._validateUnit();
|
|
480
481
|
} else if (prop === 'validationError') {
|
|
481
482
|
if (oldVal && this.validationError) {
|
|
@@ -573,15 +574,7 @@ class InputText extends FocusMixin(LabelledMixin(FormElementMixin(SkeletonMixin(
|
|
|
573
574
|
}
|
|
574
575
|
|
|
575
576
|
_handleSlotChange() {
|
|
576
|
-
|
|
577
|
-
if (navigator.userAgent.indexOf('Edge/') > -1) {
|
|
578
|
-
this.requestUpdate();
|
|
579
|
-
this.updateComplete.then(() => {
|
|
580
|
-
this._updateInputLayout();
|
|
581
|
-
});
|
|
582
|
-
} else {
|
|
583
|
-
this._updateInputLayout();
|
|
584
|
-
}
|
|
577
|
+
this._updateInputLayout();
|
|
585
578
|
}
|
|
586
579
|
|
|
587
580
|
_handleUnitClick() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.71.
|
|
3
|
+
"version": "2.71.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",
|