-
Notifications
You must be signed in to change notification settings - Fork 356
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
chore(Toolbar) convert demos to TS #9475
chore(Toolbar) convert demos to TS #9475
Conversation
Preview: https://patternfly-react-pr-9475.surge.sh A11y report: https://patternfly-react-pr-9475-a11y.surge.sh |
packages/react-core/src/demos/examples/Toolbar/ConsoleLogViewerToolbar.tsx
Outdated
Show resolved
Hide resolved
1b7eab8
to
7f3b179
Compare
packages/react-core/src/demos/examples/Toolbar/ConsoleLogViewerToolbar.tsx
Outdated
Show resolved
Hide resolved
packages/react-core/src/demos/examples/Toolbar/ConsoleLogViewerToolbar.tsx
Outdated
Show resolved
Hide resolved
bd72fb2
to
ab1080a
Compare
PR feedback from ERic and Titani update to menu footer button revert to js to fix ci
ab1080a
to
b8f9e0e
Compare
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.
One small thing I noticed TS complaining about: it looks like the type for the event arg of onPageResize on line 172 needs to be updated to MouseEvent | TouchEvent | React.KeyboardEvent<Element>
.
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.
For the leftAlignedItemsDesktop content, we just need to add role="menu"
to the first Select. Then similarly for leftAlignedItemsMobile, we need to add onOpenChangeKeys={['Escape']}
to the first Select.
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
There's one thing axe is flagging on the smaller viewport width related to the aria-controls
on the search input icon that I want to look at a little further, but that's a followup issue unrelated to the updates made in this PR
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.
🎉
Your changes have been released in:
Thanks for your contribution! 🎉 |
What: Closes #9448