import { createContext } from "../../utils/createContext.mjs"; import { computed } from "vue"; //#region src/components/motion-config/context.ts /** * Default motion configuration */ var defaultConfig = { reducedMotion: "never", transition: void 0, nonce: void 0 }; /** * Context for sharing motion configuration with child components */ var [injectMotionConfig, provideMotionConfig, motionConfigInjectionKey] = createContext("MotionConfig"); function useMotionConfig() { return injectMotionConfig(computed(() => defaultConfig)); } //#endregion export { defaultConfig, injectMotionConfig, motionConfigInjectionKey, provideMotionConfig, useMotionConfig };