Skip to content

Commit 1d8627a

Browse files
caseyisonitcastastrophe
authored andcommitted
chore: add changeset
1 parent aaad43d commit 1d8627a

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.changeset/silly-rooms-talk.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@spectrum-web-components/number-field': patch
3+
'@spectrum-web-components/textfield': patch
4+
---
5+
6+
The changes included resolve UI issues with number-field by proxy of textfield. The validation icons in number-field no longer overlap the infield buttons. The width of the number-field now calculates accurately and can be modified via `--mod-stepper-width` token as it was before.

packages/textfield/src/textfield.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ governing permissions and limitations under the License.
3232
}
3333

3434
#textfield {
35+
--spectrum-textfield-input-line-height: var(--spectrum-textfield-height);
36+
3537
inline-size: 100%;
3638
}
3739

@@ -41,7 +43,10 @@ textarea {
4143
}
4244

4345
.input {
44-
min-inline-size: var(--spectrum-textfield-min-width);
46+
min-inline-size: var(
47+
--mod-textfield-min-width,
48+
var(--spectrum-textfield-width)
49+
);
4550
}
4651

4752
:host([focused]) .input {

0 commit comments

Comments
 (0)