PromucFlow_constructor/app/client/packages/design-system/widgets/src/index.ts
Pawan Kumar 8db4cd3872
chore: create inline buttons widget (#31318)
Fixes #30438 

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

- **New Features**
- Introduced a new `ButtonGroup` component that manages groups of
buttons with customizable properties like color, size, and orientation.
- Added a `ButtonGroupItem` component for rendering buttons within the
`ButtonGroup`.
- Launched an "Inline Buttons" widget allowing users to configure a
group of buttons inline with various properties such as labels,
visibility, and icons.
- Enhanced icon loading with fallback styles for better spacing and
appearance.
- **Refactor**
- Updated various components (ActionGroup, Button, Menu) to use new
`ButtonGroupProps` and `ButtonGroupItemProps`, aligning with the new
`ButtonGroup` component structure.
- Renamed widget names and updated configurations to improve clarity and
consistency across the application.
- **Bug Fixes**
- Fixed feature flag checks to directly return `true` for specific
flags, ensuring feature availability checks are more efficient.
- **Documentation**
- Added comprehensive story and documentation for the `ButtonGroup`
component, showcasing its usage with different options.
- **Chores**
- Enhanced internal codebase by optimizing the `Icon` component
performance through memoization.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro-2.local>
2024-03-04 10:28:11 +03:00

27 lines
864 B
TypeScript

// components
export * from "./components/Icon";
export * from "./components/Button";
export * from "./components/IconButton";
export * from "./components/Checkbox";
export * from "./components/Text";
export * from "./components/CheckboxGroup";
export * from "./components/Tooltip";
export * from "./components/Flex";
export * from "./components/Radio";
export * from "./components/RadioGroup";
export * from "./components/Switch";
export * from "./components/SwitchGroup";
export * from "./components/TextInput";
export * from "./components/TextArea";
export * from "./components/Spinner";
export * from "./components/Menu";
export * from "./components/Modal";
export * from "./components/TagGroup";
export * from "./components/ActionGroup";
export * from "./components/ButtonGroup";
export * from "./utils";
export * from "./styles";
export * from "./shared";