/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
"use client";
//#region src/components/client/BottomSheet/getBottomSheetSnapTransition.ts
const SNAP_TRANSITION_EASING = "cubic-bezier(0.32, 0.72, 0, 1)";
function getBottomSheetSnapTransition({ prefersReducedMotion, animateExpansionMargins }) {
	if (prefersReducedMotion) return;
	let transition = `height 500ms ${SNAP_TRANSITION_EASING}`;
	if (animateExpansionMargins) transition += `, margin-left 500ms ${SNAP_TRANSITION_EASING}, margin-right 500ms ${SNAP_TRANSITION_EASING}, margin-bottom 500ms ${SNAP_TRANSITION_EASING}`;
	return transition;
}
//#endregion
export { getBottomSheetSnapTransition };
