Skip to content

Commit a275b4b

Browse files
chore(textfield): add changeset
1 parent b1108ff commit a275b4b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.changeset/healthy-chicken-clap.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
"@spectrum-css/textfield": major
3+
---
4+
5+
Migrate to Spectrum 2
6+
7+
- Default styles are used for medium
8+
- Removal of quiet variant
9+
- Style adjustments to match design spec:
10+
- Spacing start/end edge to value for XL component should use `component-edge-to-text-300`, not `-200`
11+
- Spacing top edge to value should change with size, now uses different spacing tokens for each component tshirt size according to spec (`component-top-to-text-75`, `-100`, `-200`, and `-300`)
12+
- Spacing bottom edge to value should change with size, now uses different spacing tokens for each component tshirt size according to spec (`component-bottom-to-text-75`, `-100`, `-200`, and `-300`)
13+
- Adjust border thickness to 2px
14+
- Adjust side label inline spacing to field, should be `spacing-200` for all tshirt sizes
15+
- Adjust border colors to match spec
16+
- Change disabled background color to `gray-25`
17+
- Change disabled-border-color from transparent to `disabled-border-color`
18+
- Use new and updated tokens:
19+
- use tokens for textfield width (`field-default-width-small`, `-medium`, `-large`, `-extra-large`)
20+
- use updated corner radius tokens
21+
- use different component-bottom-to-text tokens for character-count-spacing-block
22+
- update tokens for alert icon block spacing
23+
- update tokens for alert and invalid inline-start spacing
24+
25+
Removes mods:
26+
27+
- `--mod-text-area-min-block-size-quiet`
28+
- `--mod-textfield-character-count-spacing-block-quiet`
29+
- `--mod-textfield-icon-spacing-inline-end-quiet-invalid`
30+
- `--mod-textfield-icon-spacing-inline-end-quiet-valid`
31+
- `--mod-textfield-label-spacing-block-quiet`
32+
- `--mod-textfield-spacing-block-quiet`
33+
- `--mod-textfield-spacing-inline-quiet`

0 commit comments

Comments
 (0)