-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Components: replace TabPanel
with Tabs
in the Block Inspector
#56995
Conversation
Size Change: +569 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
Flaky tests detected in 13d3bc8. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7224572633
|
1480440
to
b5fcc8b
Compare
Tabs
in block-inspectorTabPanel
with Tabs
in the Block Inspector
b5fcc8b
to
13d3bc8
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.
🚀
Left a couple of comments, but overall changes look good! Feel free to merge after addressing the feedback
packages/block-editor/src/components/inspector-controls-tabs/index.js
Outdated
Show resolved
Hide resolved
packages/block-editor/src/components/inspector-controls-tabs/index.js
Outdated
Show resolved
Hide resolved
…6995) * implement `Tabs` * focusable false * add `show-icon-labels` support * address feedback
What?
Replaces the legacy TabPanel component with the new Tabs component.
Why?
Part of the work outlined in #52997
How?
TabPanel
is replaced byTabs
and its sub-components.Testing Instructions
show-icon-labels
class to the page'sbody
tag. Confirm that the tab icons are replaced with the appropriate labels.Testing Instructions for Keyboard
tabpanel
itself