{"version":3,"sources":["../src/step.tsx"],"sourcesContent":["import { cx, dataAttr } from \"@chakra-ui/shared-utils\"\nimport { HTMLChakraProps, chakra, forwardRef } from \"@chakra-ui/system\"\nimport { useStepContext, useStepperStyles } from \"./step-context\"\n\nexport interface StepProps extends HTMLChakraProps<\"div\"> {}\n\nexport const Step = forwardRef<{}, \"div\">(function Step(props, ref) {\n  const { orientation, status, showLastSeparator } = useStepContext()\n  const styles = useStepperStyles()\n\n  return (\n    <chakra.div\n      ref={ref}\n      data-status={status}\n      data-orientation={orientation}\n      data-stretch={dataAttr(showLastSeparator)}\n      __css={styles.step}\n      {...props}\n      className={cx(\"chakra-step\", props.className)}\n    />\n  )\n})\n"],"mappings":";;;;;;;AAAA,SAAS,IAAI,gBAAgB;AAC7B,SAA0B,QAAQ,kBAAkB;AAUhD;AALG,IAAM,OAAO,WAAsB,SAASA,MAAK,OAAO,KAAK;AAClE,QAAM,EAAE,aAAa,QAAQ,kBAAkB,IAAI,eAAe;AAClE,QAAM,SAAS,iBAAiB;AAEhC,SACE;AAAA,IAAC,OAAO;AAAA,IAAP;AAAA,MACC;AAAA,MACA,eAAa;AAAA,MACb,oBAAkB;AAAA,MAClB,gBAAc,SAAS,iBAAiB;AAAA,MACxC,OAAO,OAAO;AAAA,MACb,GAAG;AAAA,MACJ,WAAW,GAAG,eAAe,MAAM,SAAS;AAAA;AAAA,EAC9C;AAEJ,CAAC;","names":["Step"]}