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

fix(button): update button kind prop type #7212

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Nov 3, 2020

Closes #7211

This PR adds the ghost danger button to the list of accepted button kind prop types and updates the danger button variant class modifiers to use the double dash naming convention

Changelog

New

  • double dash danger button variant classes

Changed

  • update button prop types
  • deprecate single dash danger button variant classes

Testing / Reviewing

View storybook in dev mode and confirm there are no prop type warnings

@emyarod emyarod requested review from a team as code owners November 3, 2020 18:01
@netlify
Copy link

netlify bot commented Nov 3, 2020

Deploy preview for carbon-elements ready!

Built with commit 1e828c1

https://deploy-preview-7212--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Nov 3, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 1e828c1

https://deploy-preview-7212--carbon-components-react.netlify.app

Copy link
Contributor

@joshblack joshblack left a comment

Choose a reason for hiding this comment

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

Definitely down with this change for naming, will also help out with #7221 where this came up as well. Curious what you think about the naming @tw15egan 👀

Copy link
Member

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks for fixing! 👍 ✅

@kodiakhq kodiakhq bot merged commit 9698f5d into carbon-design-system:master Nov 4, 2020
@emyarod emyarod deleted the 7211-remove-tertiary-danger-button-proptype-warnings branch November 5, 2020 18:24
@emyarod emyarod mentioned this pull request Nov 12, 2020
59 tasks
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.

Storybook emits prop type warning for tertiary and ghost danger buttons
3 participants