-
Notifications
You must be signed in to change notification settings - Fork 42
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
release-4.0.0 (HDS-2191) fix button styles across #1251
Conversation
e705bb7
to
67ebb22
Compare
5548ac8
to
de5caa5
Compare
Padding seems weird in these react storybook button examples:
Also buttons in datepicker and accordion have odd paddings on buttons when focused. In Core storybook buttons look normal. |
...ponents/cookieConsent/languageSwitcher/LanguageSwitcherItem/LanguageSwitcherItem.module.scss
Outdated
Show resolved
Hide resolved
Hmm. Everything is according to designs, could you @SillanmakiA check them (check also Accordion and DatePicker)? @Riippi the Button paddings and designs have changed a bit, but we'll check everything again. Oh the loki-test images take some stupid empty space in themselves from some container around the buttons at least (so those are not any paddings or other in the components themselves) |
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.
This makes buttons some much clearer! Excellent work! Left some comments about minor typos and excessive functions.
Squash the second commit! :)
acf104c
to
208d4b0
Compare
Can you elaborate a bit on what you found weird? The buttons seem to be the same between react and core and as designed. |
Maybe there is some issue on my machine if things look ok for others? |
Replied on Tuomo's message about this. |
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.
👍
208d4b0
to
7fbcddf
Compare
e16b0da
to
203fbfd
Compare
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.
I'll leave padding etc verifications to designers. Otherwise looks very good.
203fbfd
to
cd82519
Compare
Description
Renews the old Button component and makes changes accordingly across the rest of the components, adds possibility to theme the Button and changes some props to enums. Also adds the possibility to use icons on components by giving them correct classes (what was wanted for buttons, not to contain the spans (example on core side) )
Demos
react
core
site
You can also check the other components too which use Button-component
Related Issues
HDS-2191
HDS-1117
HDS-2195
HDS-2208
HDS-2209
HDS-2184
HDS-1831
HDS-2024
How Has This Been Tested?
Add to changelog