-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(menuitem): add determinate/indeterminate variant to the MenuItem #602
feat(menuitem): add determinate/indeterminate variant to the MenuItem #602
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @masoudmanson !!
@@ -110,9 +110,9 @@ | |||
"build-storybook": "storybook build -o docs-build", | |||
"test-storybook": "test-storybook", | |||
"storybook:axe": "yarn build-storybook && yarn storybook:axeOnly", | |||
"storybook:axeOnly": "axe-storybook --build-dir docs-build", | |||
"storybook:axeOnly": "axe-storybook --build-dir docs-build --timeout 10000", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this, @masoudmanson !
We can probably remove the following config in test files now we set the flag globally!
axe: {
timeout: 10 * 1000,
},
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, you're right.
We don't even need a global timeout config. I'll revert this change and set a timeout for that specific component. 😯😥
Summary
MenuItem
Github issue: #601
As part of implementing the new Multi-column dropdown, we need to temporarily introduce a determinate/indeterminate variant for the MenuItem component. This change is temporary as we're planning to use the InputCheckbox component inside the MenuItem component to handle checkbox states instead of directly managing them within the MenuItem component.
Checklist
defaultTheme.ts
used wherever possible