{"version":3,"file":"Spotlight.context.cjs","names":[],"sources":["../src/Spotlight.context.ts"],"sourcesContent":["import { createSafeContext, GetStylesApi } from '@mantine/core';\nimport { SpotlightStore } from './spotlight.store';\nimport type { SpotlightRootFactory } from './SpotlightRoot';\n\ninterface SpotlightContextValue {\n  query: string;\n  setQuery: (query: string) => void;\n  getStyles: GetStylesApi<SpotlightRootFactory>;\n  store: SpotlightStore;\n  closeOnActionTrigger: boolean | undefined;\n}\n\nexport const [SpotlightProvider, useSpotlightContext] = createSafeContext<SpotlightContextValue>(\n  'Spotlight component was not found in tree'\n);\n"],"mappings":";;AAYA,MAAa,CAAC,mBAAmB,wBAAA,0BAAA,EAAA,mBAC/B,2CACF"}