PromucFlow_constructor/app/client/packages/design-system/widgets
Pawan Kumar 24c1dda69a
fix: Options in WDS radio group widget get distorted in a Section with > 1 Zone (#31797)
Fixes #29365 

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

- **New Features**
- Enhanced label positioning for Checkbox, Radio, and Switch components
with "start" and "end" options.
- Introduced dynamic orientation for Checkbox and Radio groups based on
container size.
- Added new story for RadioGroup component to demonstrate vertical
orientation.
- **Style Updates**
- Updated CSS for Switch, Checkbox, and Radio components to align with
the new label positioning options.
- Improved field group styles with `flex-wrap` to accommodate various
layouts.
- **Refactor**
- Modified handling of `labelPosition` across components for consistency
and flexibility.
- Implemented `useGroupOrientation` hook for dynamic orientation
management.
- **Chores**
- Adjusted default configurations and property pane options for widgets
to align with new label positioning and orientation features.
- Added feature flag checks for specific functionalities to always
return `true`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro-2.local>
2024-03-18 11:48:29 +03:00
..
src fix: Options in WDS radio group widget get distorted in a Section with > 1 Zone (#31797) 2024-03-18 11:48:29 +03:00
.eslintrc.json chore: move local dependency to packages (#23395) 2023-05-22 15:55:46 +03:00
jest.config.js feat: enable CSS Modules fro WDS (#26162) 2023-09-15 10:17:06 +03:00
package.json feat: Tabler Icons (#30248) 2024-01-19 11:54:44 +03:00
tsconfig.json chore: copy old ads components and move them to packages (#23142) 2023-05-15 10:08:58 +03:00