## Description 1. WDS menu component has been completely refactored. WDS headless component has been removed, we use `react-aria-components` instead. The menu component now has the ability to use submenus and icons for items. 2. Rename components `ActionGroup` to `ToolbarButtons and `ButtonGroup` to `InlineButtons` 3. Make API of the `ToolbarButtons`, `Menu`, `InlineButtons`, `Select` consistent. 4. Cosmetic refactoring of `ToolbarButtons` and `InlineButtons` and related widgets. Fixes: #32299 #32109 ## Automation /ok-to-test tags="@tag.Anvil" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/9210315418> > Commit: b11c0029c656b4fbf61b9760d16f77564478d053 > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=9210315418&attempt=1" target="_blank">Click here!</a> <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No --------- Co-authored-by: Pawan Kumar <pawan@appsmith.com>
36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"name": "@design-system/widgets",
|
|
"version": "1.0.0",
|
|
"main": "src/index.ts",
|
|
"author": "Valera Melnikov <valera@appsmith.com>, Pawan Kumar <pawan@appsmith.com>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"lint": "yarn g:lint",
|
|
"prettier": "yarn g:prettier",
|
|
"test:unit": "yarn g:jest",
|
|
"build:icons": "npx tsx ./src/scripts/build-icons.ts"
|
|
},
|
|
"dependencies": {
|
|
"@design-system/headless": "workspace:^",
|
|
"@design-system/theming": "workspace:^",
|
|
"@emotion/css": "^11.11.2",
|
|
"@react-aria/actiongroup": "^3.7.0",
|
|
"@react-aria/utils": "^3.16.0",
|
|
"@react-aria/visually-hidden": "^3.8.0",
|
|
"@react-types/actiongroup": "^3.4.6",
|
|
"@react-types/shared": "^3.23.1",
|
|
"@tabler/icons-react": "^2.45.0",
|
|
"clsx": "^2.0.0",
|
|
"colorjs.io": "^0.4.3",
|
|
"lodash": "*",
|
|
"react-aria-components": "^1.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/fs-extra": "^11.0.4",
|
|
"eslint-plugin-storybook": "^0.6.10"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
|
}
|
|
}
|