{"version":3,"file":"SpotlightFooter.mjs","names":["classes"],"sources":["../src/SpotlightFooter.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 SpotlightFooterStylesNames = 'footer';\n\nexport interface SpotlightFooterProps\n  extends BoxProps, CompoundStylesApiProps<SpotlightFooterFactory>, ElementProps<'div'> {}\n\nexport type SpotlightFooterFactory = Factory<{\n  props: SpotlightFooterProps;\n  ref: HTMLDivElement;\n  stylesNames: SpotlightFooterStylesNames;\n  compound: true;\n}>;\n\nexport const SpotlightFooter = factory<SpotlightFooterFactory>((props) => {\n  const { className, style, classNames, styles, ...others } = useProps(\n    'SpotlightFooter',\n    null,\n    props\n  );\n  const ctx = useSpotlightContext();\n  return <Box {...ctx.getStyles('footer', { className, classNames, style, styles })} {...others} />;\n});\n\nSpotlightFooter.classes = classes;\nSpotlightFooter.displayName = '@mantine/spotlight/SpotlightFooter';\n"],"mappings":";;;;;;AAwBA,MAAa,kBAAkB,SAAiC,UAAU;CACxE,MAAM,EAAE,WAAW,OAAO,YAAY,QAAQ,GAAG,WAAW,SAC1D,mBACA,MACA,KACF;CAEA,OAAO,oBAAC,KAAD;EAAK,GADA,oBACM,EAAE,UAAU,UAAU;GAAE;GAAW;GAAY;GAAO;EAAO,CAAC;EAAG,GAAI;CAAS,CAAA;AAClG,CAAC;AAED,gBAAgB,UAAUA;AAC1B,gBAAgB,cAAc"}