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

refactor(motion): refactor Collapse and variant functions #32833

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

robertpenner
Copy link
Collaborator

Previous Behavior

New Behavior

Related Issue(s)

  • Fixes #

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 13, 2024

📊 Bundle size report

✅ No changes found

@fabricteam
Copy link
Collaborator

fabricteam commented Sep 13, 2024

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 643 623 5000
Button mount 323 325 5000
Field mount 1185 1180 5000
FluentProvider mount 717 723 5000
FluentProviderWithTheme mount 84 88 10
FluentProviderWithTheme virtual-rerender 38 34 10
FluentProviderWithTheme virtual-rerender-with-unmount 75 83 10
MakeStyles mount 908 877 50000
Persona mount 1781 1798 5000
SpinButton mount 1444 1425 5000
SwatchPicker mount 1720 1659 5000

enter: { duration, easing, keyframes: enterKeyframes },
exit: { duration, easing, keyframes: exitKeyframes },
};
import { motionTokens, type PresenceMotionFnCreator, createPresenceComponent } from '@fluentui/react-motion';
Copy link
Collaborator

@fabricteam fabricteam Sep 13, 2024

Choose a reason for hiding this comment

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

🕵🏾‍♀️ visual regressions to review in the fluentuiv9 Visual Regression Report

Avatar Converged 1 screenshots
Image Name Diff(in Pixels) Image Type
Avatar Converged.Badge Mask RTL.chromium.png 17 Changed
Drawer 2 screenshots
Image Name Diff(in Pixels) Image Type
Drawer.Full Overlay RTL.chromium.png 1141 Changed
Drawer.Full Overlay High Contrast.chromium.png 3769 Changed

@robertpenner robertpenner force-pushed the feat/collapse-refactor branch 2 times, most recently from d310af2 to 04630c8 Compare September 23, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants