//#region components/style/motion/collapse.ts
var genCollapseMotion = (token) => ({ [token.componentCls]: {
	[`${token.antCls}-motion-collapse-legacy`]: {
		overflow: "hidden",
		"&-active": { transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
        opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important` }
	},
	[`${token.antCls}-motion-collapse`]: {
		overflow: "hidden",
		transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
        opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
	}
} });
//#endregion
export { genCollapseMotion };
