-
Notifications
You must be signed in to change notification settings - Fork 80
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(accordion): header spacing and disabled panel content color #1168
Conversation
👋 @mivaylo,
Thank you, 🤖 Clarity Release Bot |
This PR introduces visual changes: ae98060
|
This PR introduces visual changes: 45a4785
|
This PR introduces visual changes: 3697de0
|
6cfe414
to
849a727
Compare
This PR introduces visual changes: 3770e02
|
This PR introduces visual changes: b8c5fa0
|
This PR introduces visual changes: fda3cec
|
This PR introduces visual changes: 565645f
|
This PR introduces visual changes: cfb3ad4
|
This PR introduces visual changes: c5ea391
|
This PR introduces visual changes: bfb079c
|
🎉 This PR is included in version 17.0.0-beta.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 17.0.0-next.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 17.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed PRs after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: CDE-1603
What is the new behavior?
Does this PR introduce a breaking change?
Other information
This PR introduces changes in the API (removed obsolete custom properties) of the accordion / stepper and the appearance of the stepper.
There are spacing differences (hence it was marked as breaking change) and color differences. Previous version was not following figma specs or was not well defined, so this is marked as a "fix".
Removed obsolete custom property is:
--clr-accordion-header-button-padding
Spacing changes are:
-we used to have stepper header panel padding set to 18px on top and bottom, and the overall height of the header panel was calculated to 56.4px; overall height is calculated to exactly 56px;
-when a step is completed header panel used to have bigger height (60px) because of the size of the complete icon, now it stays to 56px on complete/error etc;
-gap between header panel container children was changed to 24px to reflect figma spec;
-there was smaller padding-left of the header panel container and some margin-left to the first child; changed to bigger padding-left and no margin for the child -> this helps with vertical alignments when there are two rows in smaller screens;
-top and bottom padding for header container was reduced from 18 to 8px for "breathing" space when there is a very long text or a small screen;
Preview link look in normal screen (padding right is 24 and padding left is 32 because of the box-shadow blue indicator which is 8px):
Smaller screen (big enough to have only one row though):
When we have two rows (they are now vertically aligned, the gap is 24px by design and that's why we have so big space between the rows):
When texts are long (there is this "breathing" space and texts are not fixed to the header container border:
BREAKING CHANGE: Changed spacing in stepper header