-
Notifications
You must be signed in to change notification settings - Fork 87
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(design-system): complete Button, add IconButtons and update stories #2148
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
karrui
force-pushed
the
form-v2/ds-colours
branch
from
June 11, 2021 07:45
5ed71c4
to
ab5aaf4
Compare
karrui
force-pushed
the
form-v2/buttons-components
branch
from
June 11, 2021 07:47
73d54f9
to
acc8d43
Compare
only for clear, outline, and reverse variants
karrui
force-pushed
the
form-v2/buttons-components
branch
from
June 15, 2021 03:06
e8bff49
to
3280c5f
Compare
karrui
changed the title
feat(Button): add active state and update stories
feat(Button): add active state, colorScheme theming and update stories
Jun 15, 2021
change color from .400 to .300
karrui
changed the title
feat(Button): add active state, colorScheme theming and update stories
feat(design-system): add Button active state, colorScheme theming and update stories
Jun 15, 2021
mantariksh
approved these changes
Jun 16, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yswwl
* fix: remove transparent border from button * feat: allow button to take in textStyles * feat: add IconButton component and story * fix: correctly export IconButton * feat(IconButton): update icon sizing depending on size
karrui
changed the title
feat(design-system): add Button active state, colorScheme theming and update stories
feat(design-system): add Button active state, IconButtons, colorScheme theming and update stories
Jun 16, 2021
karrui
changed the title
feat(design-system): add Button active state, IconButtons, colorScheme theming and update stories
feat(design-system): complete Button, add IconButtons and update stories
Jun 16, 2021
karrui
added a commit
that referenced
this pull request
Jun 24, 2021
…ies (#2148) * feat(button): add active state styling to buttons * feat: update button stories * fix: remove unused imports, add lint rule * ref(Spinner): update rendering of Spinner to allow for Chakra props * feat(Button): allow for specific sizing of loading spinner icon * feat: update button theme to take into account color scheme only for clear, outline, and reverse variants * feat(story): update button stories (again) * feat(story): set default bg to distinguish clear and reverse variant * feat(story): remove center decorator * feat(Button): add Solid variant to supersede Primary, Danger, Success * style(Button): update minimum height to 2.75rem * feat(story): update stories for new button variants * feat(docs): update jsdoc of Button.colorScheme * feat: add sizing theming to Button * style(Button): update styling of button when disabled change color from .400 to .300 * style(button): add correct styling if isFullWidth prop is passed in * fix: remove transparent border from button * feat: allow button to take in textStyles * feat(design-system): add IconButton component and story (#2172) * fix: remove transparent border from button * feat: allow button to take in textStyles * feat: add IconButton component and story * fix: correctly export IconButton * feat(IconButton): update icon sizing depending on size
This was referenced Oct 4, 2022
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
This PR adds styling for the button active state. Stories have also been updated.
Also add
colorScheme
theming foroutline
,clear
, andreverse
variants after discussion with @pearlyongThe colorScheme update is to prepare the theming for
IconButton
component coming in a next PRCloses #1997
Solution
Features: