{"ast":null,"code":"const genStepsInlineStyle = token => {\n  const {\n    componentCls,\n    inlineDotSize,\n    inlineTitleColor,\n    inlineTailColor\n  } = token;\n  const containerPaddingTop = token.paddingXS + token.lineWidth;\n  const titleStyle = {\n    [`${componentCls}-item-container ${componentCls}-item-content ${componentCls}-item-title`]: {\n      color: inlineTitleColor\n    }\n  };\n  return {\n    [`&${componentCls}-inline`]: {\n      width: 'auto',\n      display: 'inline-flex',\n      [`${componentCls}-item`]: {\n        flex: 'none',\n        '&-container': {\n          padding: `${containerPaddingTop}px ${token.paddingXXS}px 0`,\n          margin: `0 ${token.marginXXS / 2}px`,\n          borderRadius: token.borderRadiusSM,\n          cursor: 'pointer',\n          transition: `background-color ${token.motionDurationMid}`,\n          '&:hover': {\n            background: token.controlItemBgHover\n          },\n          [`&[role='button']:hover`]: {\n            opacity: 1\n          }\n        },\n        '&-icon': {\n          width: inlineDotSize,\n          height: inlineDotSize,\n          marginInlineStart: `calc(50% - ${inlineDotSize / 2}px)`,\n          [`> ${componentCls}-icon`]: {\n            top: 0\n          },\n          [`${componentCls}-icon-dot`]: {\n            borderRadius: token.fontSizeSM / 4\n          }\n        },\n        '&-content': {\n          width: 'auto',\n          marginTop: token.marginXS - token.lineWidth\n        },\n        '&-title': {\n          color: inlineTitleColor,\n          fontSize: token.fontSizeSM,\n          lineHeight: token.lineHeightSM,\n          fontWeight: 'normal',\n          marginBottom: token.marginXXS / 2\n        },\n        '&-description': {\n          display: 'none'\n        },\n        '&-tail': {\n          marginInlineStart: 0,\n          top: containerPaddingTop + inlineDotSize / 2,\n          transform: `translateY(-50%)`,\n          '&:after': {\n            width: '100%',\n            height: token.lineWidth,\n            borderRadius: 0,\n            marginInlineStart: 0,\n            background: inlineTailColor\n          }\n        },\n        [`&:first-child ${componentCls}-item-tail`]: {\n          width: '50%',\n          marginInlineStart: '50%'\n        },\n        [`&:last-child ${componentCls}-item-tail`]: {\n          display: 'block',\n          width: '50%'\n        },\n        '&-wait': Object.assign({\n          [`${componentCls}-item-icon ${componentCls}-icon ${componentCls}-icon-dot`]: {\n            backgroundColor: token.colorBorderBg,\n            border: `${token.lineWidth}px ${token.lineType} ${inlineTailColor}`\n          }\n        }, titleStyle),\n        '&-finish': Object.assign({\n          [`${componentCls}-item-tail::after`]: {\n            backgroundColor: inlineTailColor\n          },\n          [`${componentCls}-item-icon ${componentCls}-icon ${componentCls}-icon-dot`]: {\n            backgroundColor: inlineTailColor,\n            border: `${token.lineWidth}px ${token.lineType} ${inlineTailColor}`\n          }\n        }, titleStyle),\n        '&-error': titleStyle,\n        '&-active, &-process': Object.assign({\n          [`${componentCls}-item-icon`]: {\n            width: inlineDotSize,\n            height: inlineDotSize,\n            marginInlineStart: `calc(50% - ${inlineDotSize / 2}px)`,\n            top: 0\n          }\n        }, titleStyle),\n        [`&:not(${componentCls}-item-active) > ${componentCls}-item-container[role='button']:hover`]: {\n          [`${componentCls}-item-title`]: {\n            color: inlineTitleColor\n          }\n        }\n      }\n    }\n  };\n};\nexport default genStepsInlineStyle;","map":{"version":3,"names":["genStepsInlineStyle","token","componentCls","inlineDotSize","inlineTitleColor","inlineTailColor","containerPaddingTop","paddingXS","lineWidth","titleStyle","color","width","display","flex","padding","paddingXXS","margin","marginXXS","borderRadius","borderRadiusSM","cursor","transition","motionDurationMid","background","controlItemBgHover","opacity","height","marginInlineStart","top","fontSizeSM","marginTop","marginXS","fontSize","lineHeight","lineHeightSM","fontWeight","marginBottom","transform","Object","assign","backgroundColor","colorBorderBg","border","lineType"],"sources":["/Users/chrishaack/UC_Trains_Voice/react-demo/node_modules/antd/es/steps/style/inline.js"],"sourcesContent":["const genStepsInlineStyle = token => {\n  const {\n    componentCls,\n    inlineDotSize,\n    inlineTitleColor,\n    inlineTailColor\n  } = token;\n  const containerPaddingTop = token.paddingXS + token.lineWidth;\n  const titleStyle = {\n    [`${componentCls}-item-container ${componentCls}-item-content ${componentCls}-item-title`]: {\n      color: inlineTitleColor\n    }\n  };\n  return {\n    [`&${componentCls}-inline`]: {\n      width: 'auto',\n      display: 'inline-flex',\n      [`${componentCls}-item`]: {\n        flex: 'none',\n        '&-container': {\n          padding: `${containerPaddingTop}px ${token.paddingXXS}px 0`,\n          margin: `0 ${token.marginXXS / 2}px`,\n          borderRadius: token.borderRadiusSM,\n          cursor: 'pointer',\n          transition: `background-color ${token.motionDurationMid}`,\n          '&:hover': {\n            background: token.controlItemBgHover\n          },\n          [`&[role='button']:hover`]: {\n            opacity: 1\n          }\n        },\n        '&-icon': {\n          width: inlineDotSize,\n          height: inlineDotSize,\n          marginInlineStart: `calc(50% - ${inlineDotSize / 2}px)`,\n          [`> ${componentCls}-icon`]: {\n            top: 0\n          },\n          [`${componentCls}-icon-dot`]: {\n            borderRadius: token.fontSizeSM / 4\n          }\n        },\n        '&-content': {\n          width: 'auto',\n          marginTop: token.marginXS - token.lineWidth\n        },\n        '&-title': {\n          color: inlineTitleColor,\n          fontSize: token.fontSizeSM,\n          lineHeight: token.lineHeightSM,\n          fontWeight: 'normal',\n          marginBottom: token.marginXXS / 2\n        },\n        '&-description': {\n          display: 'none'\n        },\n        '&-tail': {\n          marginInlineStart: 0,\n          top: containerPaddingTop + inlineDotSize / 2,\n          transform: `translateY(-50%)`,\n          '&:after': {\n            width: '100%',\n            height: token.lineWidth,\n            borderRadius: 0,\n            marginInlineStart: 0,\n            background: inlineTailColor\n          }\n        },\n        [`&:first-child ${componentCls}-item-tail`]: {\n          width: '50%',\n          marginInlineStart: '50%'\n        },\n        [`&:last-child ${componentCls}-item-tail`]: {\n          display: 'block',\n          width: '50%'\n        },\n        '&-wait': Object.assign({\n          [`${componentCls}-item-icon ${componentCls}-icon ${componentCls}-icon-dot`]: {\n            backgroundColor: token.colorBorderBg,\n            border: `${token.lineWidth}px ${token.lineType} ${inlineTailColor}`\n          }\n        }, titleStyle),\n        '&-finish': Object.assign({\n          [`${componentCls}-item-tail::after`]: {\n            backgroundColor: inlineTailColor\n          },\n          [`${componentCls}-item-icon ${componentCls}-icon ${componentCls}-icon-dot`]: {\n            backgroundColor: inlineTailColor,\n            border: `${token.lineWidth}px ${token.lineType} ${inlineTailColor}`\n          }\n        }, titleStyle),\n        '&-error': titleStyle,\n        '&-active, &-process': Object.assign({\n          [`${componentCls}-item-icon`]: {\n            width: inlineDotSize,\n            height: inlineDotSize,\n            marginInlineStart: `calc(50% - ${inlineDotSize / 2}px)`,\n            top: 0\n          }\n        }, titleStyle),\n        [`&:not(${componentCls}-item-active) > ${componentCls}-item-container[role='button']:hover`]: {\n          [`${componentCls}-item-title`]: {\n            color: inlineTitleColor\n          }\n        }\n      }\n    }\n  };\n};\nexport default genStepsInlineStyle;"],"mappings":"AAAA,MAAMA,mBAAmB,GAAGC,KAAK,IAAI;EACnC,MAAM;IACJC,YAAY;IACZC,aAAa;IACbC,gBAAgB;IAChBC;EACF,CAAC,GAAGJ,KAAK;EACT,MAAMK,mBAAmB,GAAGL,KAAK,CAACM,SAAS,GAAGN,KAAK,CAACO,SAAS;EAC7D,MAAMC,UAAU,GAAG;IACjB,CAAE,GAAEP,YAAa,mBAAkBA,YAAa,iBAAgBA,YAAa,aAAY,GAAG;MAC1FQ,KAAK,EAAEN;IACT;EACF,CAAC;EACD,OAAO;IACL,CAAE,IAAGF,YAAa,SAAQ,GAAG;MAC3BS,KAAK,EAAE,MAAM;MACbC,OAAO,EAAE,aAAa;MACtB,CAAE,GAAEV,YAAa,OAAM,GAAG;QACxBW,IAAI,EAAE,MAAM;QACZ,aAAa,EAAE;UACbC,OAAO,EAAG,GAAER,mBAAoB,MAAKL,KAAK,CAACc,UAAW,MAAK;UAC3DC,MAAM,EAAG,KAAIf,KAAK,CAACgB,SAAS,GAAG,CAAE,IAAG;UACpCC,YAAY,EAAEjB,KAAK,CAACkB,cAAc;UAClCC,MAAM,EAAE,SAAS;UACjBC,UAAU,EAAG,oBAAmBpB,KAAK,CAACqB,iBAAkB,EAAC;UACzD,SAAS,EAAE;YACTC,UAAU,EAAEtB,KAAK,CAACuB;UACpB,CAAC;U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