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(ValidationMessage): icon when error #2596

Open
wants to merge 4 commits into
base: next
Choose a base branch
from

Conversation

Barsnes
Copy link
Member

@Barsnes Barsnes commented Oct 10, 2024

this syncs code with figma

Copy link

changeset-bot bot commented Oct 10, 2024

🦋 Changeset detected

Latest commit: a08e083

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@digdir/designsystemet-css Patch
@digdir/designsystemet Patch
@digdir/designsystemet-theme Patch
@digdir/designsystemet-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Oct 10, 2024

Preview deployments for this pull request:

Storybook - 10. Oct 2024 - 12:19

Copy link
Contributor

github-actions bot commented Oct 10, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 59.34% 3734 / 6292
🔵 Statements 59.34% 3734 / 6292
🔵 Functions 87.23% 164 / 188
🔵 Branches 75.32% 516 / 685
File CoverageNo changed files found.
Generated in workflow #269 for commit a08e083 by the Vitest Coverage Report Action

@Barsnes Barsnes marked this pull request as ready for review October 10, 2024 07:38
margin-right: var(--dsc-validation-message-icon-gap);
vertical-align: top;
background-color: currentcolor;
mask: var(--dsc-validation-message-icon-url) center/contain no-repeat;
Copy link
Contributor

Choose a reason for hiding this comment

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

If there is multiple lines of error text, should the text wrap around the icon, or should we solve this in the same way as Alert with padding + position?

Copy link
Member Author

Choose a reason for hiding this comment

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

@Viveca24 should probably answer this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 Ready for review
Development

Successfully merging this pull request may close these issues.

2 participants