-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add transparent buttons using "type" and "emphasis" props #315
Comments
Hey @jilliankeenan , can I take a shot at this issue? I'm trying to learn more React 😊 |
Absolutely @MaximeKoitsalu Go for it! Feel free to let us know if you have any trouble setting up the development environment. |
Thanks @jilliankeenan, just for clarification, when you write the below message, that is the branch I should create a pull request to, right?
Edit: I'm not sure I am doing the right steps to setup the development environment. First following the instructions on the npm page here, I first forked the project. I navigated to In my second attempt following the instructions in the Github README.md file here for local sandbox. I first forked the project, navigated to I'm on Windows 10 and running bash through VSCode |
@MaximeKoitsalu Thanks for sharing this! - We're looking into this currently, seems to be an issue related to running the puppet design system development environment in Windows. |
What component is this referring to?
Button
We want to add transparent buttons using "type" and "emphasis". See attachment for design spec for updated Button component.
In addition:
Move type="text" to emphasis="text" or emphasis="text-only"
Add a prop for width in order to support full width buttons with width="100%". (It can just set the CSS width with that string.) An alternative would be to add a boolean fullWidth prop.
Note: This will be a breaking change due to "transparent" becoming an emphasis rather than a type, so it should be implemented in the releases/alpha branch.
The text was updated successfully, but these errors were encountered: