Skip to content
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: Expose Tabs as private API #55327

Merged
merged 3 commits into from
Oct 13, 2023
Merged

Components: Expose Tabs as private API #55327

merged 3 commits into from
Oct 13, 2023

Conversation

chad1008
Copy link
Contributor

What?

Exposes the new Tabs component as a private API.

Why?

To experiment with Tabs in the editor as a substitute for TabPabel implementations, or use cases where TabPanel wasn't suitable and custom solutions were needed instead.

How?

Adding Tabs to the package's list of private APIs

Testing Instructions

All tests should pass, but no impactful changes are being made on this PR.

@chad1008 chad1008 added [Package] Components /packages/components [Type] Experimental Experimental feature or API. labels Oct 12, 2023
@chad1008 chad1008 self-assigned this Oct 12, 2023
@chad1008 chad1008 requested a review from ajitbohra as a code owner October 12, 2023 21:04
Copy link
Contributor

@brookewp brookewp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this just needs a CHANGELOG (a similar PR #53262), and then it's ready to go! ✅

Copy link
Member

@tyxla tyxla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

packages/components/src/private-apis.ts Outdated Show resolved Hide resolved
Comment on lines 64 to 65
Theme,
Tabs,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're intentionally keeping the Tabs. namespace because we're aiming to access the components with Tabs.TabList and Tabs.Tab right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct!

chad1008 and others added 2 commits October 13, 2023 10:56
@chad1008 chad1008 enabled auto-merge (squash) October 13, 2023 15:00
@chad1008 chad1008 merged commit b2ac3a5 into trunk Oct 13, 2023
50 checks passed
@chad1008 chad1008 deleted the tabs-private-apis branch October 13, 2023 15:42
@github-actions github-actions bot added this to the Gutenberg 16.9 milestone Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components [Type] Experimental Experimental feature or API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants