Skip to content

Conversation

@Jeremy-Walton
Copy link
Member

Why?

With the following features gaining support in some browsers and having a graceful fallback (to existing behavior) for browsers that don't support it, animated accordions are now possible.

What Changed

What changed in this PR?

  • Add token and documentation for accordion content transition
  • Add styles and documentation to animate or disable animation on accordions
  • Add documentation around Exclusive details with instruction on how to use it.

Sanity Check

  • [ ] Have you updated any usage of changed tokens?
  • Have you updated the docs with any component changes?
  • [ ] Have you updated the dependency graph with any component changes?
  • Have you run linters?
  • Have you run prettier?
  • Have you tried building the css?
  • Have you tried building storybook?
  • [ ] Do you need to update the package version?

Screenshots

Kapture 2025-02-08 at 16 10 23
Kapture 2025-02-08 at 16 11 38
Kapture 2025-02-08 at 16 12 27
Screenshot 2025-02-08 at 4 22 43 PM

@Jeremy-Walton Jeremy-Walton added documentation Improvements or additions to documentation Base Tokens Changes to the base tokens Components Changes to a component labels Feb 8, 2025
@Jeremy-Walton Jeremy-Walton self-assigned this Feb 8, 2025
@linear
Copy link

linear bot commented Feb 8, 2025

@Jeremy-Walton Jeremy-Walton merged commit 434b469 into main Feb 10, 2025
1 check passed
@Jeremy-Walton Jeremy-Walton deleted the op-198-accordion-add-animation branch February 10, 2025 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Base Tokens Changes to the base tokens Components Changes to a component documentation Improvements or additions to documentation

Development

Successfully merging this pull request may close these issues.

4 participants