{"version":3,"file":"OnboardingTourFocusRevealGroup.context.cjs","sources":["../../../src/OnboardingTourFocusRevealGroup/OnboardingTourFocusRevealGroup.context.ts"],"sourcesContent":["import {\n  createOptionalContext,\n  ElementProps,\n  OverlayProps,\n  PopoverProps,\n  TransitionOverride,\n} from '@mantine/core';\nimport { OnboardingTourFocusRevealFocusedMode } from '../OnboardingTourFocusReveal/focus-reveal-modes';\n\ninterface OnboardingTourFocusRevealGroupContextValue {\n  /** Asking for */\n  setRequestOverlay?: (value: boolean) => void;\n  setMeInViewport?: (uuid: string, visible: boolean) => void;\n\n  /** FocusReveal mode/effects when focused */\n  focusedMode?: OnboardingTourFocusRevealFocusedMode;\n\n  /** Indicator if element should be revealed */\n  withReveal?: boolean;\n\n  /** Will render overlay if set to `true` */\n  withOverlay?: boolean;\n\n  /** Props passed down to `Overlay` component */\n  overlayProps?: OverlayProps & ElementProps<'div'>;\n\n  /** Props passed down to the `Transition` component that used to animate the Overlay, use to configure duration and animation type, `{ duration: 150, transition: 'fade' }` by default */\n  transitionProps?: TransitionOverride;\n\n  /** Props passed down to the `Popover` component */\n  popoverProps?: Omit<PopoverProps, 'withinPortal'>;\n}\n\nexport const [OnboardingTourFocusRevealGroupProvider, useOnboardingTourFocusRevealGroupContext] =\n  createOptionalContext<OnboardingTourFocusRevealGroupContextValue>();\n"],"names":["createOptionalContext"],"mappings":";;;;;AAGY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,CAAC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAsC,CAAA,CAAE,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAwC,CAAC,GAAGA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA,CAAqB,CAAA,CAAA,CAAA;;;"}