Skip to content

Commit

Permalink
Select changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
stephl3 committed Apr 23, 2024
1 parent 96c1c4c commit fac01fb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .changeset/modern-spies-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
'@leafygreen-ui/select': major
---

[LG-4138](https://jira.mongodb.org/browse/LG-4138)

1. Updated styling:
- updated spacing for `'xsmall'`, `'small'`, and `'large'` size variants
- updated placeholder text color
- removed validation icon from inside the input

2. Added default `errorMessage` of `'This input needs your attention'`

3. Added `valid` state variant and `successMessage` prop
- `successMessage` will render a default of `'Success'` and can be customized
- `successMessage` will only render when `state=valid`

0 comments on commit fac01fb

Please sign in to comment.