Closed tulsiojha closed 1 month ago
This pull request removes the framer-motion dependency from the option-list component and replaces it with CSS animations. The changes focus on simplifying the animation implementation and improving performance by using native CSS transitions.
classDiagram
class OptionMenuContent {
+ref
+sideOffset
+align
+side
+alignOffset
+loop
+asChild
+onClick(e)
+children
}
note for OptionMenuContent "Removed framer-motion and added CSS animations"
class OptionMenuPrimitive {
+Portal
+Content
}
classDiagram
class TailwindConfig {
+keyframes
+animation
}
TailwindConfig : +slideDownAndFade
TailwindConfig : +slideLeftAndFade
TailwindConfig : +slideUpAndFade
TailwindConfig : +slideRightAndFade
note for TailwindConfig "Added new CSS animations for sliding and fading"
Change | Details | Files |
---|---|---|
Removed framer-motion animations from OptionMenuContent |
|
src/design-system/components/atoms/option-list.tsx |
Added new CSS animations to Tailwind configuration |
|
src/design-system/tailwind-base.js |
Updated OptionMenuPrimitive.Content props |
|
src/design-system/components/atoms/option-list.tsx |
Summary by Sourcery
Enhancements: