fix(dashboard,ui): Fixes to Combobox and CategoryCombobox (#9537)

**What**
- Fixes the Combobox to keep the width of the content constant.
- Brings CategoryCombobox inline with the other Combobox component
- Adds keyboard navigation to the CategoryCombobox: You can now navigate options using ArrowUp and ArrowDown, and if an option has children you can use ArrowRight to see the children options.
- Add "outline-none" to the Drawer component to stop it from flashing whenever focus is dropped.
- Removes a dependency that was added to the UI package by mistake

Resolves CC-155
This commit is contained in:
Kasper Fabricius Kristensen
2024-10-12 14:46:32 +00:00
committed by GitHub
parent 93b38bf47b
commit 1f682daf5c
8 changed files with 1323 additions and 1765 deletions
+10 -11
View File
@@ -43,14 +43,14 @@
},
"devDependencies": {
"@medusajs/ui-preset": "^1.1.3",
"@storybook/addon-essentials": "^7.0.23",
"@storybook/addon-interactions": "^7.0.23",
"@storybook/addon-links": "^7.0.23",
"@storybook/addon-styling": "^1.3.6",
"@storybook/blocks": "^7.0.23",
"@storybook/react": "^7.0.23",
"@storybook/react-vite": "^7.0.23",
"@storybook/testing-library": "^0.0.14-next.2",
"@storybook/addon-essentials": "^8.3.5",
"@storybook/addon-interactions": "^8.3.5",
"@storybook/addon-links": "^8.3.5",
"@storybook/addon-styling": "^1.3.7",
"@storybook/blocks": "^8.3.5",
"@storybook/react": "^8.3.5",
"@storybook/react-vite": "^8.3.5",
"@storybook/testing-library": "^0.2.2",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
@@ -71,7 +71,7 @@
"react-dom": "^18.2.0",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^5.0.1",
"storybook": "^7.0.23",
"storybook": "^8.3.5",
"tailwindcss": "^3.4.3",
"tsc-alias": "^1.8.7",
"typescript": "^5.1.6",
@@ -105,8 +105,7 @@
"react-currency-input-field": "^3.6.11",
"react-stately": "^3.31.1",
"sonner": "^1.5.0",
"tailwind-merge": "^2.2.1",
"upgrade": "^1.1.0"
"tailwind-merge": "^2.2.1"
},
"peerDependencies": {
"react": "^18.0.0",