Skip to content

Conversation

@tlabaj
Copy link
Contributor

@tlabaj tlabaj commented Mar 2, 2023

What: Closes #8456

@patternfly-build
Copy link
Contributor

patternfly-build commented Mar 3, 2023

@tlabaj tlabaj requested a review from mcoker March 3, 2023 16:11
@gitdallas gitdallas requested a review from thatblindgeye March 3, 2023 16:39
<header className={css(styles.popoverHeader, className)} {...props}>
<div className={css(styles.popoverTitle)}>
{icon && <PopoverHeaderIcon>{icon}</PopoverHeaderIcon>}
<PopoverHeaderText headingLevel={titleHeadingLevel} id={id}>
Copy link
Contributor

Choose a reason for hiding this comment

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

This is fine but should it be <PopoverHeaderTitleText>? That will match the core class. It's named that way to try and avoid naming conflicts if we introduce something like a subtitle in the header.

Copy link
Contributor

@mcoker mcoker left a comment

Choose a reason for hiding this comment

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

Looks like the id was moved to the title text element - it should go on the title element instead. Otherwise lgtm!

<div className={css(styles.popoverTitle)}>

tlabaj

This comment was marked as resolved.

@nicolethoen nicolethoen merged commit aede226 into patternfly:v5 Mar 7, 2023
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.

Popover - add structural elements for header/title

6 participants