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

fix(DetailsCard): New animation for card open/close with hidden label mode #979

Merged
merged 4 commits into from
Jan 25, 2024

Conversation

marcinsawicki
Copy link
Contributor

@marcinsawicki marcinsawicki commented Jan 24, 2024

Description

Styling the animation for open/close for hidden label mode.

Storybook

https://feature-details-card-animation-improve--613a8e945a5665003a05113b.chromatic.com

Checklist

Obligatory:

  • Self review (use this as your final check for proposed changes before requesting the review)
  • Add reviewers (livechat/design-system)
  • Add correct label
  • Assign pull request with the correct issue

@marcinsawicki marcinsawicki changed the title new card animaton for hidden label fix(DetailsCard): New animation for card open/close with hidden label mode Jan 24, 2024
@marcinsawicki marcinsawicki self-assigned this Jan 24, 2024
@marcinsawicki marcinsawicki added the design UI/UX oriented issue label Jan 24, 2024
@marcinsawicki marcinsawicki added this to the v1.0 milestone Jan 24, 2024
@marcinsawicki marcinsawicki marked this pull request as ready for review January 24, 2024 12:11
Comment on lines +26 to +30
transition:
opacity var(--transition-duration-fast-1) ease-out
var(--transition-duration-moderate-1),
padding 0s ease-out var(--transition-duration-moderate-1),
max-height 0s ease-out;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we can try to extract this into separate SCSS mixin function and use here and in other places below

@marcinsawicki marcinsawicki merged commit 92eec3a into main Jan 25, 2024
4 checks passed
@marcinsawicki marcinsawicki deleted the feature/details-card-animation-improve branch January 25, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design UI/UX oriented issue
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants