PromucFlow_constructor/app/client/packages/design-system/headless/src/components
Valera Melnikov 8a835357cc
fix: input alignment (#32452)
## 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 -->
2024-04-05 15:02:07 +03:00
..
Button feat: implement WDS components and tokenst at header of table widget (#28977) 2023-11-22 10:34:48 +03:00
Checkbox chore: widgets alignment (#31923) 2024-03-22 16:53:29 +03:00
Field chore: add key value widget (#30795) 2024-02-01 11:59:54 +03:00
Icon feat: Tabler Icons (#30248) 2024-01-19 11:54:44 +03:00
Menu fix: separator styles missing from action group menu (#32213) 2024-03-29 14:29:11 +03:00
Popover chore: get rid of fluid tokens (#30877) 2024-02-07 17:21:17 +03:00
Radio fix: Options in WDS radio group widget get distorted in a Section with > 1 Zone (#31797) 2024-03-18 11:48:29 +03:00
Switch chore: widgets alignment (#31923) 2024-03-22 16:53:29 +03:00
TextArea fix: use wds tokens in sections and zones (#30479) 2024-01-24 11:02:42 +03:00
TextInput fix: input alignment (#32452) 2024-04-05 15:02:07 +03:00
TextInputBase fix: input alignment (#32452) 2024-04-05 15:02:07 +03:00
Tooltip feat: add menu component (#28583) 2023-11-03 12:13:06 +03:00