## Description Fixed the alignment of the content inside the input <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced `prefix` and `suffix` props for better customization in TextInput components, replacing `startIcon` and `endIcon`. - Added examples for using menus as prefixes/suffixes and for type password functionality in TextInput stories. - Implemented loading indicator functionality with priority over icons in TextInput. - Added support for disabled and readonly states with icon prefixes and suffixes in TextInput. - **Bug Fixes** - Adjusted styles for autofill, focus states, and padding in input fields to improve user experience. - **Documentation** - Updated TextInput component documentation to reflect new `prefix` and `suffix` props usage and examples. - **Refactor** - Removed `startIcon` and `endIcon` properties from TextInputProps and updated rendering logic. - Replaced `startIcon` with `prefix` in CurrencyInputComponent and PhoneInputComponent. - Changed `startIcon` and `endIcon` to `prefix` and `suffix` in InputComponent. - **Style** - Removed specific styling for `[data-field-input-group]` affecting display and alignment. - Updated text-input module CSS to enhance the appearance of prefix and suffix elements and small-sized input fields. - **Chores** - Added `MULTI_LINE_TEXT` constant to the `InputTypes` object. - Updated the label for the "Icon" property in WDSInputWidget's propertyPaneStyleConfig. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|---|---|---|
| .. | ||
| src | ||
| .eslintrc.json | ||
| package.json | ||
| tsconfig.json | ||