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

feat(Tabs): consumed Penta updates #10044

Merged
merged 3 commits into from
Jan 31, 2024
Merged

Conversation

thatblindgeye
Copy link
Contributor

@thatblindgeye thatblindgeye commented Jan 25, 2024

What: Closes #10043, closes #9909

Codemod for tabs
Preview for tabs

As an FYI this PR suffers (may suffer depending on whether it affects you) the same visual bug mentioned in the original Core PR, which that will require a followup.

This also bumps the core alphas as they're needed for this update.

Per convo with design during one of the Penta meetings, it was decided that the secondary styling for TabContent should only be enabled when the Tabs component has both pf-m-box and pf-m-secondary, as the background colors of the current tab and the tab content will match as intended. Consumers can still use a non-box Tabs with secondary TabContent styling, though. If we'd want to restrict that a bit more we could consider removing the isBox prop and update the variant prop to accept default, box, and box-secondary values.

Additional issues:

@patternfly-build
Copy link
Contributor

patternfly-build commented Jan 25, 2024

@thatblindgeye thatblindgeye marked this pull request as ready for review January 26, 2024 13:13
@thatblindgeye thatblindgeye requested review from a team, nicolethoen, mfrances17, andrew-ronaldson, lboehling and mattnolting and removed request for a team January 26, 2024 13:14
Copy link
Contributor

@nicolethoen nicolethoen left a comment

Choose a reason for hiding this comment

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

This looks good from what I can tell :)
(needs a rebase, though)

Copy link
Collaborator

@andrew-ronaldson andrew-ronaldson left a comment

Choose a reason for hiding this comment

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

Approved. We talked about the followup issue for the overflow border but this can be merged now.

Copy link
Collaborator

@lboehling lboehling left a comment

Choose a reason for hiding this comment

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

lgtm!

Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

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

LGTM

@tlabaj tlabaj merged commit 8fdd83e into patternfly:v6 Jan 31, 2024
14 checks passed
@patternfly-build
Copy link
Contributor

Your changes have been released in:

Thanks for your contribution! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consume core Penta updates: Tabs Consume core Penta updates: Tab content
7 participants