{"version":3,"file":"LevelsGroup.cjs","names":["factory","useProps","useStyles","Box","classes"],"sources":["../../../src/components/LevelsGroup/LevelsGroup.tsx"],"sourcesContent":["import {\n  Box,\n  BoxProps,\n  ElementProps,\n  factory,\n  Factory,\n  MantineSize,\n  StylesApiProps,\n  useProps,\n  useStyles,\n} from '@mantine/core';\nimport classes from './LevelsGroup.module.css';\n\nexport type LevelsGroupStylesNames = 'levelsGroup';\n\nexport interface LevelsGroupProps\n  extends BoxProps, StylesApiProps<LevelsGroupFactory>, ElementProps<'div'> {\n  __staticSelector?: string;\n  size?: MantineSize;\n\n  /** Determines whether the group should take the full width of its container @default false */\n  fullWidth?: boolean;\n}\n\nexport type LevelsGroupFactory = Factory<{\n  props: LevelsGroupProps;\n  ref: HTMLDivElement;\n  stylesNames: LevelsGroupStylesNames;\n}>;\n\nexport const LevelsGroup = factory<LevelsGroupFactory>((_props) => {\n  const props = useProps('LevelsGroup', null, _props);\n  const {\n    classNames,\n    className,\n    style,\n    styles,\n    unstyled,\n    vars,\n    __staticSelector,\n    fullWidth,\n    attributes,\n    ...others\n  } = props;\n\n  const getStyles = useStyles<LevelsGroupFactory>({\n    name: __staticSelector || 'LevelsGroup',\n    classes,\n    props,\n    className,\n    style,\n    classNames,\n    styles,\n    unstyled,\n    attributes,\n    vars,\n    rootSelector: 'levelsGroup',\n  });\n\n  return <Box {...getStyles('levelsGroup')} data-full-width={fullWidth || undefined} {...others} />;\n});\n\nLevelsGroup.classes = classes;\nLevelsGroup.displayName = '@mantine/dates/LevelsGroup';\n"],"mappings":";;;;;AA8BA,MAAa,eAAA,GAAcA,cAAAA,QAAAA,EAA6B,WAAW;CACjE,MAAM,SAAA,GAAQC,cAAAA,SAAAA,CAAS,eAAe,MAAM,MAAM;CAClD,MAAM,EACJ,YACA,WACA,OACA,QACA,UACA,MACA,kBACA,WACA,YACA,GAAG,WACD;CAEJ,MAAM,aAAA,GAAYC,cAAAA,UAAAA,CAA8B;EAC9C,MAAM,oBAAoB;EAC1B,SAAA,2BAAA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,cAAc;CAChB,CAAC;CAED,OAAO,iBAAA,GAAA,kBAAA,IAAA,CAACC,cAAAA,KAAD;EAAK,GAAI,UAAU,aAAa;EAAG,mBAAiB,aAAa,KAAA;EAAW,GAAI;CAAS,CAAA;AAClG,CAAC;AAED,YAAY,UAAUC,2BAAAA;AACtB,YAAY,cAAc"}