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: badge cleanup #221

Merged
merged 5 commits into from
Dec 10, 2021
Merged

feat: badge cleanup #221

merged 5 commits into from
Dec 10, 2021

Conversation

seedy
Copy link
Contributor

@seedy seedy commented Dec 6, 2021

Description

Cleaning up badge component, NB: this applies no design system changes.

This will be done, hopefully in a future step.

  • added missing compoundVariants programatically
  • added all color variants in story programatically
    • default color variant (gray) is duplicated to make sure it's clear to the user
  • cleaned up theme file

Package changes

@seedy seedy added the enhancement New feature or request label Dec 6, 2021
variant: 'orange',
css: { '&:focus-visible': { boxShadow: '0 0 0 1px $colors$orange9' } },
},
{
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ℹ️ missing compoundVariant purple

</Badge>
<Badge as="button" {...args} variant="orange">
Orange
</Badge>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ℹ️ missing purple in story

</Badge>
<Badge {...args} variant="orange">
Orange
</Badge>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ℹ️ missing purple in story

@@ -69,7 +69,7 @@
"react": "17.0.1",
"react-dom": "17.0.1",
"rollup": "^2.33.1",
"rollup-plugin-typescript2": "^0.29.0",
"rollup-plugin-typescript2": "^0.30.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

ℹ️ Check PR description

Copy link
Contributor

@matthieuh matthieuh left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@paulocfjunior paulocfjunior left a comment

Choose a reason for hiding this comment

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

LGTM

@traefiker
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants