PromucFlow_constructor/app/client/packages/design-system/headless/src/components
Valera Melnikov ad256ed64a
feat: add readonly mode to input (#29778)
## Description
Add readonly mode for input component and widgets

#### PR fixes following issue(s)
Fixes #29145 

#### Media


https://github.com/appsmithorg/appsmith/assets/11555074/2d42a2bf-603b-4b30-a74c-6c1edd408216

![Снимок экрана 2023-12-20 в 20 13
43](https://github.com/appsmithorg/appsmith/assets/11555074/bbb45fee-65ae-4f0b-8681-33713bee079f)

#### Type of change
> Please delete options that are not relevant.
- New feature (non-breaking change which adds functionality)

## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [x] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a "Read-only" mode for input fields, enabling users to view
data without the ability to modify it.

- **Enhancements**
- Improved input components to respect both disabled and read-only
states.
  - Updated widget properties to include read-only configurations.

- **Style Updates**
- Standardized padding across various components to use spacing
variables for consistency.

- **Documentation**
- Added "Read-only" property documentation to relevant component
interfaces and configurations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-12-21 15:03:28 +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: Integrate Radio Group (#29026) 2023-11-23 11:21:23 +03:00
Field feat: add readonly mode to input (#29778) 2023-12-21 15:03:28 +03:00
Icon chore: add strict-boolean-expressions rule (#27852) 2023-10-06 16:05:32 +03:00
Menu chore: add action group component (#29645) 2023-12-19 16:04:27 +03:00
Popover feat: implement WDS components and tokenst at header of table widget (#28977) 2023-11-22 10:34:48 +03:00
Radio chore: Integrate Radio Group (#29026) 2023-11-23 11:21:23 +03:00
Switch chore: Add tag group component (#29387) 2023-12-11 10:10:40 +03:00
TextArea chore: Add tag group component (#29387) 2023-12-11 10:10:40 +03:00
TextInput chore: integrate currency input widget (#28566) 2023-11-15 15:57:50 +03:00
TextInputBase feat: add readonly mode to input (#29778) 2023-12-21 15:03:28 +03:00
Tooltip feat: add menu component (#28583) 2023-11-03 12:13:06 +03:00