-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Redesign all
Input
components (#2030)
## Changes ### TextInput - Redesigned UI - Add `leadingIcon` prop -⚠️ Deprecate `icon` prop in favour of `leadingIcon` which will be removed in the next major version - Add `trailingIcon` prop - Add `trailingLinkButton` prop - Add `size` prop ### TextArea - Redesigned UI - Add `size` prop ### PasswordInput - Redesigned UI - Adds `size` prop ### OTPInput - Redesigned UI - Add `size` prop ### SelectInput - Redesigned UI - Add `size` prop ### Autocomplete - Redesigned UI - Add `size` prop ### Radio - Add `size` prop ### Checkbox - Add `size` prop
- Loading branch information
1 parent
e27131a
commit 015e682
Showing
110 changed files
with
14,508 additions
and
4,765 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
"@razorpay/blade": minor | ||
--- | ||
|
||
feat: Redesign all `Input` components | ||
|
||
> Note: No breaking changes to the existing API. The Input components will continue to work as before but with an updated design. | ||
## Changes | ||
### TextInput | ||
- Redesigned UI | ||
- Add `leadingIcon` prop | ||
- ⚠️ Deprecate `icon` prop in favour of `leadingIcon` which will be removed in the next major version | ||
- Add `trailingIcon` prop | ||
- Add `trailingLinkButton` prop | ||
- Add `size` prop | ||
|
||
### TextArea | ||
- Redesigned UI | ||
- Add `size` prop | ||
|
||
### PasswordInput | ||
- Redesigned UI | ||
- Adds `size` prop | ||
|
||
### OTPInput | ||
- Redesigned UI | ||
- Add `size` prop | ||
|
||
### SelectInput | ||
- Redesigned UI | ||
- Add `size` prop | ||
|
||
### Autocomplete | ||
- Redesigned UI | ||
- Add `size` prop | ||
|
||
### Radio | ||
- Add `size` prop | ||
|
||
### Checkbox | ||
- Add `size` prop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.