{"version":3,"file":"Drawer.context.mjs","sources":["../../../src/components/Drawer/Drawer.context.ts"],"sourcesContent":["import { createSafeContext, GetStylesApi, RaikouRadius } from '../../core';\nimport type { DrawerRootFactory } from './DrawerRoot';\n\nexport type ScrollAreaComponent = React.FC<any>;\n\ninterface DrawerContext {\n  scrollAreaComponent: ScrollAreaComponent | undefined;\n  getStyles: GetStylesApi<DrawerRootFactory>;\n  radius: RaikouRadius | undefined;\n}\n\nexport const [DrawerProvider, useDrawerContext] = createSafeContext<DrawerContext>(\n  'Drawer component was not found in tree'\n);\n"],"names":[],"mappings":";;;;;;;;;AAWa,MAAA,CAAC,cAAgB,EAAA,gBAAgB,CAAI,GAAA,iBAAA;AAAA,EAChD;AACF;;;;"}