PromucFlow_constructor/app/client/packages/design-system/widgets/src/components
Dhruvik Neharia b1d754ca2b
feat: Integrate WDS Menu Button Widget (#29113)
## Description
Adds WDS Menu Button Widget.

#### PR fixes following issue(s)
Fixes #28864
> if no issue exists, please create an issue and ask the maintainers
about this first
>
>
#### Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video
>
>
#### Type of change
> Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- Chore (housekeeping or task changes that don't impact user perception)
- This change requires a documentation update
>
>
>
## 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
- [ ] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed


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

## Summary by CodeRabbit

- **New Features**
- Introduced a new `Menu` component with customizable color options for
items.
  - Added dynamic styling for menu items based on color attributes.
- Implemented a new `WDSMenuButtonWidget` with configurable properties
and styles.
- Expanded the property pane with new configurations for menu items and
buttons.

- **Enhancements**
- Improved menu placement options and handling of colors within the Menu
component.
- Enhanced the `MenuButtonWidget` with additional properties for better
customization.

- **Bug Fixes**
- Fixed incorrect component naming for `MenuList` to ensure consistency.

- **Documentation**
- Updated Menu component stories to reflect new color handling features.

- **Refactor**
- Streamlined export statements for Menu components to simplify imports.
- Organized property pane configurations into separate modules for
clarity.

- **Style**
- Added new styles for the search bar and menu items for a more polished
UI.

- **Tests**
  - No visible changes to end-users.

- **Chores**
  - No visible changes to end-users.

- **Revert**
  - No visible changes to end-users.

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

---------

Co-authored-by: Valera Melnikov <valera@appsmith.com>
2023-12-06 14:33:38 +05:30
..
Button feat: implement WDS components and tokenst at header of table widget (#28977) 2023-11-22 10:34:48 +03:00
ButtonGroup feat: add menu component (#28583) 2023-11-03 12:13:06 +03:00
Checkbox chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
CheckboxGroup chore: Integrate Radio Group (#29026) 2023-11-23 11:21:23 +03:00
Flex feat: add wds modal component (#28738) 2023-11-09 17:59:28 +03:00
IconButton chore: new fluid tokens (#28072) 2023-10-19 11:57:48 +03:00
Menu feat: Integrate WDS Menu Button Widget (#29113) 2023-12-06 14:33:38 +05:30
Modal feat: wds modal improvements (#28829) 2023-11-15 16:50:44 +03:00
Radio chore: Integrate Radio Group (#29026) 2023-11-23 11:21:23 +03:00
RadioGroup chore: Integrate Radio Group (#29026) 2023-11-23 11:21:23 +03:00
Spinner chore: Refactor Text Input with css modules (#27585) 2023-09-25 14:47:08 +03:00
Switch chore: update eslint and dependencies then fix revealed errors (#27908) 2023-10-11 10:14:38 +03:00
SwitchGroup chore: Remove side label in WDS components (#27566) 2023-09-22 16:26:11 +03:00
Text feat: add wds modal component (#28738) 2023-11-09 17:59:28 +03:00
TextArea feat: implement WDS components and tokenst at header of table widget (#28977) 2023-11-22 10:34:48 +03:00
TextInput chore: integrate currency input widget (#28566) 2023-11-15 15:57:50 +03:00
Tooltip chore: new fluid tokens (#28072) 2023-10-19 11:57:48 +03:00