Skip to content

feat(selectable-card-group): add Label component#6495

Open
philibea wants to merge 1 commit into
mainfrom
add-selectable-card-group-label
Open

feat(selectable-card-group): add Label component#6495
philibea wants to merge 1 commit into
mainfrom
add-selectable-card-group-label

Conversation

@philibea
Copy link
Copy Markdown
Collaborator

Summary

Type

  • Enhancement

Summarize concisely:

What is expected?

Creates SelectableCardGroup.Label sub-component to simplify adding badges and side text to card labels.

  • Adds SelectableCardGroup.Label with props: label, labelDescription, badgeText, badgeSentiment, badgeProminence, badgeSize, sideText, disabled
  • Exports Label on both SelectableCardGroup (UI) and SelectableCardGroupField (Form)

@philibea philibea requested review from jsulpis and lisalupi as code owners May 28, 2026 21:05
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 28, 2026

⚠️ No Changeset found

Latest commit: 233516e

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

@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

❌ Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.08%. Comparing base (8d278e6) to head (233516e).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...es/ui/src/components/SelectableCardGroup/Label.tsx 92.85% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #6495      +/-   ##
==========================================
- Coverage   92.34%   92.08%   -0.27%     
==========================================
  Files         529      536       +7     
  Lines        9384     9589     +205     
  Branches     3465     3549      +84     
==========================================
+ Hits         8666     8830     +164     
- Misses        718      759      +41     
Files with missing lines Coverage Δ
...ectableCardGroupField/SelectableCardGroupField.tsx 81.81% <ø> (ø)
packages/ui/src/components/Badge/index.tsx 100.00% <ø> (ø)
...es/ui/src/components/SelectableCardGroup/index.tsx 92.85% <ø> (ø)
...es/ui/src/components/SelectableCardGroup/Label.tsx 92.85% <92.85%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b130d6e...233516e. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants