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: add Toggle Button component (resolves #336) #338

Merged
merged 4 commits into from
May 13, 2020

Conversation

greatislander
Copy link
Collaborator

@greatislander greatislander commented May 5, 2020

Description

Adds toggle button and toggle button group components.

  • Default toggle button
  • Inverse toggle button
  • Default toggle button group
  • Inverse toggle button group

Steps to test

Review Toggle Button (Atom) and Toggle Button Group (Molecule).

Additional information

Not applicable.

Related issues

Resolves #336.

@greatislander greatislander added the enhancement New feature or request label May 5, 2020
@greatislander greatislander added this to the 1.0.0-beta.1 milestone May 5, 2020
@greatislander greatislander self-assigned this May 5, 2020
@greatislander greatislander added the needs-design This feature depends on designs label May 5, 2020
@netlify
Copy link

netlify bot commented May 5, 2020

Deploy preview for pinecone ready!

Built with commit 5bc4884

https://deploy-preview-338--pinecone.netlify.app

@cherylhjli cherylhjli added this to Reviewer approved in Pinecone 1.0.0 via automation May 5, 2020
Copy link

@cherylhjli cherylhjli left a comment

Choose a reason for hiding this comment

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

Looks great! Also, I think we accidentally made a strobe light button. :)
toggle button disco ball

@greatislander
Copy link
Collaborator Author

Lol! @cherylhjli can you give me colours for the default (light background) version before I merge this?

@cherylhjli
Copy link

@greatislander
Copy link
Collaborator Author

@cherylhjli Ready for another review.

@greatislander greatislander marked this pull request as ready for review May 6, 2020 17:27
Copy link
Contributor

@jhung jhung left a comment

Choose a reason for hiding this comment

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

Component is fine. There's a question about adding context for "All" option when implemented.

@greatislander greatislander merged commit b3915e1 into dev May 13, 2020
Pinecone 1.0.0 automation moved this from Reviewer approved to Done May 13, 2020
@greatislander greatislander deleted the add/toggle-buttons branch May 13, 2020 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-design This feature depends on designs
Projects
Development

Successfully merging this pull request may close these issues.

Atom: toggle button
3 participants