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

(web-components): Create rating-display component #31625

Merged
merged 27 commits into from
Jun 27, 2024

Conversation

mlijanto
Copy link
Member

@mlijanto mlijanto commented Jun 7, 2024

Previous Behavior

Before this PR, the web-components package did not include a rating-display component.

New Behavior

This PR adds a new rating-display component, designed to show a rating value. Because the component is non-interactive, from an accessibility perspective, it is considered a single image and labeled by the value label.

Available attributes:

  • Color
    • Neutral
    • Brand
    • Marigold
  • Compact
  • Count
  • Max
  • Size
    • Small
    • Medium
    • Large

@mlijanto mlijanto marked this pull request as ready for review June 11, 2024 17:31
@mlijanto mlijanto requested a review from a team as a code owner June 11, 2024 17:31
Copy link
Contributor

@davatron5000 davatron5000 left a comment

Choose a reason for hiding this comment

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

Great work @mlijanto! This all looks pretty good to me. Just a couple questions.

@chrisdholt
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@fabricteam
Copy link
Collaborator

📊 Bundle size report

✅ No changes found

@eljefe223 eljefe223 merged commit e8819fb into microsoft:master Jun 27, 2024
18 checks passed
@mlijanto mlijanto deleted the rating-display branch June 27, 2024 22:58
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.

6 participants