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

changeset-bot Bot commented May 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9d74320

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

codecov Bot commented May 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 92.05%. Comparing base (1dfd542) to head (9d74320).
⚠️ Report is 1 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.02%   92.05%   +0.03%     
==========================================
  Files         530      537       +7     
  Lines        9515     9604      +89     
  Branches     3549     3554       +5     
==========================================
+ Hits         8756     8841      +85     
- Misses        759      763       +4     
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%> (ø)

... and 6 files with indirect coverage changes


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 1dfd542...9d74320. 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