{"version":3,"file":"SpotlightEmpty.cjs","names":["Box","useSpotlightContext","classes"],"sources":["../src/SpotlightEmpty.tsx"],"sourcesContent":["import {\n  Box,\n  BoxProps,\n  CompoundStylesApiProps,\n  ElementProps,\n  factory,\n  Factory,\n  useProps,\n} from '@mantine/core';\nimport { useSpotlightContext } from './Spotlight.context';\nimport classes from './Spotlight.module.css';\n\nexport type SpotlightEmptyStylesNames = 'empty';\n\nexport interface SpotlightEmptyProps\n  extends BoxProps, CompoundStylesApiProps<SpotlightEmptyFactory>, ElementProps<'div'> {}\n\nexport type SpotlightEmptyFactory = Factory<{\n  props: SpotlightEmptyProps;\n  ref: HTMLDivElement;\n  stylesNames: SpotlightEmptyStylesNames;\n  compound: true;\n}>;\n\nexport const SpotlightEmpty = factory<SpotlightEmptyFactory>((props) => {\n  const { className, style, classNames, styles, ...others } = useProps(\n    'SpotlightEmpty',\n    null,\n    props\n  );\n\n  const ctx = useSpotlightContext();\n\n  return <Box {...ctx.getStyles('empty', { classNames, styles, className, style })} {...others} />;\n});\n\nSpotlightEmpty.classes = classes;\nSpotlightEmpty.displayName = '@mantine/spotlight/SpotlightEmpty';\n"],"mappings":";;;;;;AAwBA,MAAa,kBAAA,GAAA,cAAA,UAAiD,UAAU;CACtE,MAAM,EAAE,WAAW,OAAO,YAAY,QAAQ,GAAG,YAAA,GAAA,cAAA,UAC/C,kBACA,MACA,KACF;CAIA,OAAO,iBAAA,GAAA,kBAAA,KAACA,cAAAA,KAAD;EAAK,GAFAC,0BAAAA,oBAEM,EAAE,UAAU,SAAS;GAAE;GAAY;GAAQ;GAAW;EAAM,CAAC;EAAG,GAAI;CAAS,CAAA;AACjG,CAAC;AAED,eAAe,UAAUC,yBAAAA;AACzB,eAAe,cAAc"}