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

fix(select): hr styles #2701

Merged
merged 3 commits into from
Mar 12, 2024
Merged

fix(select): hr styles #2701

merged 3 commits into from
Mar 12, 2024

Conversation

bennypowers
Copy link
Member

Closes #2700

What I did

  1. implement styles for pf select hr separators

Testing Instructions

  1. compare to http://v4-archive.patternfly.org/v4/components/select/

@bennypowers bennypowers requested review from zeroedin and nikkimk March 5, 2024 15:00
Copy link

changeset-bot bot commented Mar 5, 2024

⚠️ No Changeset found

Latest commit: 0ef98b8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the styles An issue or PR pertaining only to CSS/Sass label Mar 5, 2024
Copy link
Contributor

github-actions bot commented Mar 5, 2024

Deploy Preview for patternfly-elements ready!

Name Link
🔨 Latest commit 6721eac
😎 Deploy Preview https://deploy-preview-2701--patternfly-elements.netlify.app/

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link

netlify bot commented Mar 5, 2024

Deploy Preview for patternfly-elements ready!

Name Link
🔨 Latest commit 0ef98b8
🔍 Latest deploy log https://app.netlify.com/sites/patternfly-elements/deploys/65ef039612e90200084f3bc3
😎 Deploy Preview https://deploy-preview-2701--patternfly-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added the AT passed Automated testing has passed label Mar 5, 2024
Copy link
Collaborator

@nikkimk nikkimk left a comment

Choose a reason for hiding this comment

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

pf-select-group has a border bottom creating the illusion of a double border when the hr appears after it

@bennypowers
Copy link
Member Author

pf-select-group has a border bottom creating the illusion of a double border when the hr appears after it

Can we just consider that an antipattern, then?

@zeroedin
Copy link
Collaborator

zeroedin commented Mar 6, 2024

pf-select-group has a border bottom creating the illusion of a double border when the hr appears after it

Can we just consider that an antipattern, then?

So if I understand correctly, <hr> is slotted with <pf-option> but when an <pf-option-group> is used you don't need to add the <hr> manually.

I feel like the use case is different enough to have a different expectation on the implementation. pf-option-group is an explicit pattern and grouping, where as the <hr> between <pf-option> is an additive visual reference of a perceived separation, but technically all the options are still the same "group".

@bennypowers bennypowers requested a review from nikkimk March 11, 2024 13:12
Copy link
Collaborator

@nikkimk nikkimk left a comment

Choose a reason for hiding this comment

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

Luxurious garden topiary marvel

@bennypowers bennypowers enabled auto-merge (squash) March 11, 2024 16:36
@bennypowers
Copy link
Member Author

@nikkimk don't forget the gh approval, plznthx

@bennypowers bennypowers requested a review from nikkimk March 11, 2024 16:37
@bennypowers bennypowers disabled auto-merge March 12, 2024 06:29
@bennypowers bennypowers merged commit e504281 into main Mar 12, 2024
23 checks passed
@bennypowers bennypowers deleted the fix/select/divider-styles branch March 12, 2024 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AT passed Automated testing has passed styles An issue or PR pertaining only to CSS/Sass
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

<pf-select>: hr dividers should be styled
3 participants