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

SegmentedGroup: Fix border radius for lone segments (HDS-2988) #1892

Merged
merged 2 commits into from Jan 18, 2024

Conversation

KristinLBradley
Copy link
Contributor

@KristinLBradley KristinLBradley commented Jan 17, 2024

📌 Summary

If merged, this PR will update the SegmentedGroup styling so that lone items won't have their border-radius styles overridden and adds a Showcase example with lone items.

📸 Screenshots


image

🔗 External links


👀 Component checklist

  • Percy was checked for any visual regression
  • A11y tests have been run locally (yarn test:a11y --filter="COMPONENT-NAME")
  • If documenting a new component, an acceptance test that includes the a11yAudit has been added
  • A changelog entry was added via Changesets if needed (see templates here)

💬 Please consider using conventional comments when reviewing this PR.

Copy link

vercel bot commented Jan 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
hds-showcase ✅ Ready (Inspect) Visit Preview Jan 18, 2024 0:28am
hds-website ✅ Ready (Inspect) Visit Preview Jan 18, 2024 0:28am

Copy link
Contributor

@didoo didoo left a comment

Choose a reason for hiding this comment

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

Neat! 👌

Copy link
Contributor

@jorytindall jorytindall left a comment

Choose a reason for hiding this comment

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

Slick! Didn't think about conditional logic determining how many elements are rendered here.

@KristinLBradley KristinLBradley merged commit e101dd3 into main Jan 18, 2024
15 checks passed
@KristinLBradley KristinLBradley deleted the hds-2988-segmented-group-border-radius-fix branch January 18, 2024 21:40
This was referenced Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants