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

feat(meter): add meter component #712

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft

Conversation

samrichardsontylertech
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added/updated: N
  • Docs have been added/updated: N
  • Does this PR introduce a breaking change? N
  • I have linked any related GitHub issues to be closed when this PR is merged? N

Describe the new behavior?

Added a new Forge Meter component to parallel the native HTML <meter> element.

Copy link

stackblitz bot commented Oct 18, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions bot added the minor Increment the minor version when merged label Oct 18, 2024
@DRiFTy17 DRiFTy17 changed the base branch from lit to main December 13, 2024 16:12
@DRiFTy17 DRiFTy17 added the skip-release Preserve the current version when merged label Dec 13, 2024
Comment on lines 175 to 176
meter.style.setProperty('--z-index', `${meters.length - index}`);
meter.style.setProperty('--inset', `${inset}%`);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we use prefixed and private named CSS vars here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think so but the linter was complaining about it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged new component skip-release Preserve the current version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants