UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

17 lines (16 loc) • 380 B
import { reducedMotion } from "./env.mjs"; //#region src/base-ui/DraggablePanel/core/transition.ts const TRANSITION = { duration: .25, ease: [ .32, .72, 0, 1 ] }; const INSTANT = { duration: 0 }; const timing = (transition) => reducedMotion.get() ? INSTANT : transition ?? TRANSITION; //#endregion export { TRANSITION, timing }; //# sourceMappingURL=transition.mjs.map