mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 11:20:07 +08:00
- Added new components including CodeEditor, CollapsibleSearchBar, and DraggableList. - Removed obsolete components such as Button, CustomCollapse, and StatusTag. - Updated migration status documentation and adjusted component exports. - Enhanced package.json dependencies for better compatibility.
39 lines
664 B
TypeScript
39 lines
664 B
TypeScript
import type { Variants } from 'motion/react'
|
|
export const lightbulbVariants: Variants = {
|
|
active: {
|
|
opacity: [1, 0.2, 1],
|
|
transition: {
|
|
duration: 1.2,
|
|
ease: 'easeInOut',
|
|
times: [0, 0.5, 1],
|
|
repeat: Infinity
|
|
}
|
|
},
|
|
idle: {
|
|
opacity: 1,
|
|
transition: {
|
|
duration: 0.3,
|
|
ease: 'easeInOut'
|
|
}
|
|
}
|
|
}
|
|
|
|
export const lightbulbSoftVariants: Variants = {
|
|
active: {
|
|
opacity: [1, 0.5, 1],
|
|
transition: {
|
|
duration: 2,
|
|
ease: 'easeInOut',
|
|
times: [0, 0.5, 1],
|
|
repeat: Infinity
|
|
}
|
|
},
|
|
idle: {
|
|
opacity: 1,
|
|
transition: {
|
|
duration: 0.3,
|
|
ease: 'easeInOut'
|
|
}
|
|
}
|
|
}
|