PromucFlow_constructor/app/client/packages/design-system
Pawan Kumar 863214785a
fix: button group (#31701)
Fixes the bug in inline button group where it button don't spread out
when the widget is selected.

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


- **Refactor**
- Simplified the `ButtonGroup` component's flex basis style to always be
`"100%"`.
- Streamlined the logic in the `useButtonGroup` function by removing the
`isMeasuring` property and focusing on orientation management.
- **New Features**
- Enhanced feature flag checks to directly return `true` for
"ab_wds_enabled" and "release_anvil_enabled" flags, improving feature
management.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro-2.local>
2024-03-13 12:15:57 +03:00
..
headless chore: Create toolbar widget (#30910) 2024-02-12 10:54:44 +03:00
theming chore: WDS color refinement (#31499) 2024-03-06 11:51:43 +03:00
widgets fix: button group (#31701) 2024-03-13 12:15:57 +03:00
widgets-old fix: add testing library eslint rules (#31028) 2024-02-12 18:59:10 +03:00