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

feat(expansion-panel): refactor to use CSS (grid) based animation and convert to use tokens and updated patterns #495

Merged
merged 4 commits into from
Mar 14, 2024

Conversation

DRiFTy17
Copy link
Collaborator

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added/updated: Y
  • Docs have been added/updated: Y
  • Does this PR introduce a breaking change? Y
  • I have linked any related GitHub issues to be closed when this PR is merged? N

Describe the new behavior?

Refactored the expansion panel to use CSS-based animation, added support for design tokens, and updated to use new component patterns/structure.

We no longer need the older CSS variables so those were all removed. Additionally, scrollable content is now to be managed by the slotted content. This could cause a scrollbar to show briefly when the panel is animating, but this can be hidden using the following selector:

forge-expansion-panel[opening] .my-content {
  overflow: hidden;
}

@DRiFTy17 DRiFTy17 added minor Increment the minor version when merged skip-release Preserve the current version when merged @next labels Mar 12, 2024
@DRiFTy17 DRiFTy17 requested a review from a team as a code owner March 12, 2024 15:42
Copy link

stackblitz bot commented Mar 12, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@DRiFTy17 DRiFTy17 added skip-release Preserve the current version when merged and removed skip-release Preserve the current version when merged labels Mar 12, 2024
@DRiFTy17 DRiFTy17 merged commit bbb3d1a into next Mar 14, 2024
9 checks passed
@DRiFTy17 DRiFTy17 deleted the next-expansion-panel-refactor branch March 14, 2024 14:39
Copy link
Contributor

🚀 PR was released in v3.0.0-next.21 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Increment the minor version when merged @next prerelease This change relates to a prerelease. skip-release Preserve the current version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants