@@ -45,15 +45,12 @@ export type { Variants };
4545 * same hand as the CSS animations it sits beside.
4646 */
4747export const EASE_CALM = [ 0.22 , 1 , 0.36 , 1 ] as const ;
48- /** Symmetric ease for moves that both enter and leave (e.g. crossfades). */
49- export const EASE_INOUT = [ 0.4 , 0 , 0.2 , 1 ] as const ;
5048
5149/** Duration scale (seconds). Deliberately short — calm, not sluggish. */
5250export const DUR = { fast : 0.16 , base : 0.26 , slow : 0.4 } as const ;
5351
5452export const calm : Transition = { duration : DUR . base , ease : EASE_CALM } ;
5553export const calmFast : Transition = { duration : DUR . fast , ease : EASE_CALM } ;
56- export const calmSlow : Transition = { duration : DUR . slow , ease : EASE_CALM } ;
5754
5855/**
5956 * Shared variant vocabulary. Each carries `initial`/`animate`/`exit` so the
@@ -105,20 +102,6 @@ export const variants = {
105102 } ,
106103} satisfies Record < string , Variants > ;
107104
108- /**
109- * Stagger container + item for list/grid reveals (the home tool cards). The
110- * container orchestrates; each child uses `staggerItem` (a fadeUp). Distances
111- * stay small so a full grid settling reads as one calm wave, not a cascade.
112- */
113- export const staggerContainer : Variants = {
114- initial : { } ,
115- animate : { transition : { staggerChildren : 0.045 , delayChildren : 0.02 } } ,
116- } ;
117- export const staggerItem : Variants = {
118- initial : { opacity : 0 , y : 12 } ,
119- animate : { opacity : 1 , y : 0 , transition : calm } ,
120- } ;
121-
122105/**
123106 * Root motion provider. Wrap the whole app once. Keeps the feature bundle
124107 * lazy (`m` + domAnimation) and applies the reduced-motion policy globally.
0 commit comments