1 line
34 KiB
JSON
1 line
34 KiB
JSON
{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nimport { genFocusOutline, resetComponent } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport genStepsCustomIconStyle from './custom-icon';\nimport genStepsHorizontalStyle from './horizontal';\nimport genStepsInlineStyle from './inline';\nimport genStepsLabelPlacementStyle from './label-placement';\nimport genStepsNavStyle from './nav';\nimport genStepsProgressStyle from './progress';\nimport genStepsProgressDotStyle from './progress-dot';\nimport genStepsRTLStyle from './rtl';\nimport genStepsSmallStyle from './small';\nimport genStepsVerticalStyle from './vertical';\nconst STEP_ITEM_STATUS_WAIT = 'wait';\nconst STEP_ITEM_STATUS_PROCESS = 'process';\nconst STEP_ITEM_STATUS_FINISH = 'finish';\nconst STEP_ITEM_STATUS_ERROR = 'error';\nconst genStepsItemStatusStyle = (status, token) => {\n const prefix = `${token.componentCls}-item`;\n const iconColorKey = `${status}IconColor`;\n const titleColorKey = `${status}TitleColor`;\n const descriptionColorKey = `${status}DescriptionColor`;\n const tailColorKey = `${status}TailColor`;\n const iconBgColorKey = `${status}IconBgColor`;\n const iconBorderColorKey = `${status}IconBorderColor`;\n const dotColorKey = `${status}DotColor`;\n return {\n [`${prefix}-${status} ${prefix}-icon`]: {\n backgroundColor: token[iconBgColorKey],\n borderColor: token[iconBorderColorKey],\n [`> ${token.componentCls}-icon`]: {\n color: token[iconColorKey],\n [`${token.componentCls}-icon-dot`]: {\n background: token[dotColorKey]\n }\n }\n },\n [`${prefix}-${status}${prefix}-custom ${prefix}-icon`]: {\n [`> ${token.componentCls}-icon`]: {\n color: token[dotColorKey]\n }\n },\n [`${prefix}-${status} > ${prefix}-container > ${prefix}-content > ${prefix}-title`]: {\n color: token[titleColorKey],\n '&::after': {\n backgroundColor: token[tailColorKey]\n }\n },\n [`${prefix}-${status} > ${prefix}-container > ${prefix}-content > ${prefix}-description`]: {\n color: token[descriptionColorKey]\n },\n [`${prefix}-${status} > ${prefix}-container > ${prefix}-tail::after`]: {\n backgroundColor: token[tailColorKey]\n }\n };\n};\nconst genStepsItemStyle = token => {\n const {\n componentCls,\n motionDurationSlow\n } = token;\n const stepsItemCls = `${componentCls}-item`; // .ant-steps-item\n const stepItemIconCls = `${stepsItemCls}-icon`;\n return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({\n [stepsItemCls]: {\n position: 'relative',\n display: 'inline-block',\n flex: 1,\n overflow: 'hidden',\n verticalAlign: 'top',\n '&:last-child': {\n flex: 'none',\n [`> ${stepsItemCls}-container > ${stepsItemCls}-tail, > ${stepsItemCls}-container > ${stepsItemCls}-content > ${stepsItemCls}-title::after`]: {\n display: 'none'\n }\n }\n },\n [`${stepsItemCls}-container`]: {\n outline: 'none',\n '&:focus-visible': {\n [stepItemIconCls]: Object.assign({}, genFocusOutline(token))\n }\n },\n [`${stepItemIconCls}, ${stepsItemCls}-content`]: {\n display: 'inline-block',\n verticalAlign: 'top'\n },\n [stepItemIconCls]: {\n width: token.iconSize,\n height: token.iconSize,\n marginTop: 0,\n marginBottom: 0,\n marginInlineStart: 0,\n marginInlineEnd: token.marginXS,\n fontSize: token.iconFontSize,\n fontFamily: token.fontFamily,\n lineHeight: unit(token.iconSize),\n textAlign: 'center',\n borderRadius: token.iconSize,\n border: `${unit(token.lineWidth)} ${token.lineType} transparent`,\n transition: `background-color ${motionDurationSlow}, border-color ${motionDurationSlow}`,\n [`${componentCls}-icon`]: {\n position: 'relative',\n top: token.iconTop,\n color: token.colorPrimary,\n lineHeight: 1\n }\n },\n [`${stepsItemCls}-tail`]: {\n position: 'absolute',\n top: token.calc(token.iconSize).div(2).equal(),\n insetInlineStart: 0,\n width: '100%',\n '&::after': {\n display: 'inline-block',\n width: '100%',\n height: token.lineWidth,\n background: token.colorSplit,\n borderRadius: token.lineWidth,\n transition: `background ${motionDurationSlow}`,\n content: '\"\"'\n }\n },\n [`${stepsItemCls}-title`]: {\n position: 'relative',\n display: 'inline-block',\n paddingInlineEnd: token.padding,\n color: token.colorText,\n fontSize: token.fontSizeLG,\n lineHeight: unit(token.titleLineHeight),\n '&::after': {\n position: 'absolute',\n top: token.calc(token.titleLineHeight).div(2).equal(),\n insetInlineStart: '100%',\n display: 'block',\n width: 9999,\n height: token.lineWidth,\n background: token.processTailColor,\n content: '\"\"'\n }\n },\n [`${stepsItemCls}-subtitle`]: {\n display: 'inline',\n marginInlineStart: token.marginXS,\n color: token.colorTextDescription,\n fontWeight: 'normal',\n fontSize: token.fontSize\n },\n [`${stepsItemCls}-description`]: {\n color: token.colorTextDescription,\n fontSize: token.fontSize\n }\n }, genStepsItemStatusStyle(STEP_ITEM_STATUS_WAIT, token)), genStepsItemStatusStyle(STEP_ITEM_STATUS_PROCESS, token)), {\n [`${stepsItemCls}-process > ${stepsItemCls}-container > ${stepsItemCls}-title`]: {\n fontWeight: token.fontWeightStrong\n }\n }), genStepsItemStatusStyle(STEP_ITEM_STATUS_FINISH, token)), genStepsItemStatusStyle(STEP_ITEM_STATUS_ERROR, token)), {\n [`${stepsItemCls}${componentCls}-next-error > ${componentCls}-item-title::after`]: {\n background: token.colorError\n },\n [`${stepsItemCls}-disabled`]: {\n cursor: 'not-allowed'\n }\n });\n};\n// ============================= Clickable ===========================\nconst genStepsClickableStyle = token => {\n const {\n componentCls,\n motionDurationSlow\n } = token;\n return {\n [`& ${componentCls}-item`]: {\n [`&:not(${componentCls}-item-active)`]: {\n [`& > ${componentCls}-item-container[role='button']`]: {\n cursor: 'pointer',\n [`${componentCls}-item`]: {\n [`&-title, &-subtitle, &-description, &-icon ${componentCls}-icon`]: {\n transition: `color ${motionDurationSlow}`\n }\n },\n '&:hover': {\n [`${componentCls}-item`]: {\n '&-title, &-subtitle, &-description': {\n color: token.colorPrimary\n }\n }\n }\n },\n [`&:not(${componentCls}-item-process)`]: {\n [`& > ${componentCls}-item-container[role='button']:hover`]: {\n [`${componentCls}-item`]: {\n '&-icon': {\n borderColor: token.colorPrimary,\n [`${componentCls}-icon`]: {\n color: token.colorPrimary\n }\n }\n }\n }\n }\n }\n },\n [`&${componentCls}-horizontal:not(${componentCls}-label-vertical)`]: {\n [`${componentCls}-item`]: {\n paddingInlineStart: token.padding,\n whiteSpace: 'nowrap',\n '&:first-child': {\n paddingInlineStart: 0\n },\n [`&:last-child ${componentCls}-item-title`]: {\n paddingInlineEnd: 0\n },\n '&-tail': {\n display: 'none'\n },\n '&-description': {\n maxWidth: token.descriptionMaxWidth,\n whiteSpace: 'normal'\n }\n }\n }\n };\n};\nconst genStepsStyle = token => {\n const {\n componentCls\n } = token; // .ant-steps\n return {\n [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), {\n display: 'flex',\n width: '100%',\n fontSize: 0,\n textAlign: 'initial'\n }), genStepsItemStyle(token)), genStepsClickableStyle(token)), genStepsCustomIconStyle(token)), genStepsSmallStyle(token)), genStepsVerticalStyle(token)), genStepsHorizontalStyle(token)), genStepsLabelPlacementStyle(token)), genStepsProgressDotStyle(token)), genStepsNavStyle(token)), genStepsRTLStyle(token)), genStepsProgressStyle(token)), genStepsInlineStyle(token))\n };\n};\n// ============================== Export ==============================\nexport const prepareComponentToken = token => ({\n titleLineHeight: token.controlHeight,\n customIconSize: token.controlHeight,\n customIconTop: 0,\n customIconFontSize: token.controlHeightSM,\n iconSize: token.controlHeight,\n iconTop: -0.5,\n // magic for ui experience\n iconFontSize: token.fontSize,\n iconSizeSM: token.fontSizeHeading3,\n dotSize: token.controlHeight / 4,\n dotCurrentSize: token.controlHeightLG / 4,\n navArrowColor: token.colorTextDisabled,\n navContentMaxWidth: 'auto',\n descriptionMaxWidth: 140,\n waitIconColor: token.wireframe ? token.colorTextDisabled : token.colorTextLabel,\n waitIconBgColor: token.wireframe ? token.colorBgContainer : token.colorFillContent,\n waitIconBorderColor: token.wireframe ? token.colorTextDisabled : 'transparent',\n finishIconBgColor: token.wireframe ? token.colorBgContainer : token.controlItemBgActive,\n finishIconBorderColor: token.wireframe ? token.colorPrimary : token.controlItemBgActive\n});\nexport default genStyleHooks('Steps', token => {\n const {\n colorTextDisabled,\n controlHeightLG,\n colorTextLightSolid,\n colorText,\n colorPrimary,\n colorTextDescription,\n colorTextQuaternary,\n colorError,\n colorBorderSecondary,\n colorSplit\n } = token;\n const stepsToken = mergeToken(token, {\n // Steps component less variable\n processIconColor: colorTextLightSolid,\n processTitleColor: colorText,\n processDescriptionColor: colorText,\n processIconBgColor: colorPrimary,\n processIconBorderColor: colorPrimary,\n processDotColor: colorPrimary,\n processTailColor: colorSplit,\n waitTitleColor: colorTextDescription,\n waitDescriptionColor: colorTextDescription,\n waitTailColor: colorSplit,\n waitDotColor: colorTextDisabled,\n finishIconColor: colorPrimary,\n finishTitleColor: colorText,\n finishDescriptionColor: colorTextDescription,\n finishTailColor: colorPrimary,\n finishDotColor: colorPrimary,\n errorIconColor: colorTextLightSolid,\n errorTitleColor: colorError,\n errorDescriptionColor: colorError,\n errorTailColor: colorSplit,\n errorIconBgColor: colorError,\n errorIconBorderColor: colorError,\n errorDotColor: colorError,\n stepsNavActiveColor: colorPrimary,\n stepsProgressSize: controlHeightLG,\n // Steps inline variable\n inlineDotSize: 6,\n inlineTitleColor: colorTextQuaternary,\n inlineTailColor: colorBorderSecondary\n });\n return [genStepsStyle(stepsToken)];\n}, prepareComponentToken);","map":{"version":3,"names":["unit","genFocusOutline","resetComponent","genStyleHooks","mergeToken","genStepsCustomIconStyle","genStepsHorizontalStyle","genStepsInlineStyle","genStepsLabelPlacementStyle","genStepsNavStyle","genStepsProgressStyle","genStepsProgressDotStyle","genStepsRTLStyle","genStepsSmallStyle","genStepsVerticalStyle","STEP_ITEM_STATUS_WAIT","STEP_ITEM_STATUS_PROCESS","STEP_ITEM_STATUS_FINISH","STEP_ITEM_STATUS_ERROR","genStepsItemStatusStyle","status","token","prefix","componentCls","iconColorKey","titleColorKey","descriptionColorKey","tailColorKey","iconBgColorKey","iconBorderColorKey","dotColorKey","backgroundColor","borderColor","color","background","genStepsItemStyle","motionDurationSlow","stepsItemCls","stepItemIconCls","Object","assign","position","display","flex","overflow","verticalAlign","outline","width","iconSize","height","marginTop","marginBottom","marginInlineStart","marginInlineEnd","marginXS","fontSize","iconFontSize","fontFamily","lineHeight","textAlign","borderRadius","border","lineWidth","lineType","transition","top","iconTop","colorPrimary","calc","div","equal","insetInlineStart","colorSplit","content","paddingInlineEnd","padding","colorText","fontSizeLG","titleLineHeight","processTailColor","colorTextDescription","fontWeight","fontWeightStrong","colorError","cursor","genStepsClickableStyle","paddingInlineStart","whiteSpace","maxWidth","descriptionMaxWidth","genStepsStyle","prepareComponentToken","controlHeight","customIconSize","customIconTop","customIconFontSize","controlHeightSM","iconSizeSM","fontSizeHeading3","dotSize","dotCurrentSize","controlHeightLG","navArrowColor","colorTextDisabled","navContentMaxWidth","waitIconColor","wireframe","colorTextLabel","waitIconBgColor","colorBgContainer","colorFillContent","waitIconBorderColor","finishIconBgColor","controlItemBgActive","finishIconBorderColor","colorTextLightSolid","colorTextQuaternary","colorBorderSecondary","stepsToken","processIconColor","processTitleColor","processDescriptionColor","processIconBgColor","processIconBorderColor","processDotColor","waitTitleColor","waitDescriptionColor","waitTailColor","waitDotColor","finishIconColor","finishTitleColor","finishDescriptionColor","finishTailColor","finishDotColor","errorIconColor","errorTitleColor","errorDescriptionColor","errorTailColor","errorIconBgColor","errorIconBorderColor","errorDotColor","stepsNavActiveColor","stepsProgressSize","inlineDotSize","inlineTitleColor","inlineTailColor"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/steps/style/index.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { genFocusOutline, resetComponent } from '../../style';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport genStepsCustomIconStyle from './custom-icon';\nimport genStepsHorizontalStyle from './horizontal';\nimport genStepsInlineStyle from './inline';\nimport genStepsLabelPlacementStyle from './label-placement';\nimport genStepsNavStyle from './nav';\nimport genStepsProgressStyle from './progress';\nimport genStepsProgressDotStyle from './progress-dot';\nimport genStepsRTLStyle from './rtl';\nimport genStepsSmallStyle from './small';\nimport genStepsVerticalStyle from './vertical';\nconst STEP_ITEM_STATUS_WAIT = 'wait';\nconst STEP_ITEM_STATUS_PROCESS = 'process';\nconst STEP_ITEM_STATUS_FINISH = 'finish';\nconst STEP_ITEM_STATUS_ERROR = 'error';\nconst genStepsItemStatusStyle = (status, token) => {\n const prefix = `${token.componentCls}-item`;\n const iconColorKey = `${status}IconColor`;\n const titleColorKey = `${status}TitleColor`;\n const descriptionColorKey = `${status}DescriptionColor`;\n const tailColorKey = `${status}TailColor`;\n const iconBgColorKey = `${status}IconBgColor`;\n const iconBorderColorKey = `${status}IconBorderColor`;\n const dotColorKey = `${status}DotColor`;\n return {\n [`${prefix}-${status} ${prefix}-icon`]: {\n backgroundColor: token[iconBgColorKey],\n borderColor: token[iconBorderColorKey],\n [`> ${token.componentCls}-icon`]: {\n color: token[iconColorKey],\n [`${token.componentCls}-icon-dot`]: {\n background: token[dotColorKey]\n }\n }\n },\n [`${prefix}-${status}${prefix}-custom ${prefix}-icon`]: {\n [`> ${token.componentCls}-icon`]: {\n color: token[dotColorKey]\n }\n },\n [`${prefix}-${status} > ${prefix}-container > ${prefix}-content > ${prefix}-title`]: {\n color: token[titleColorKey],\n '&::after': {\n backgroundColor: token[tailColorKey]\n }\n },\n [`${prefix}-${status} > ${prefix}-container > ${prefix}-content > ${prefix}-description`]: {\n color: token[descriptionColorKey]\n },\n [`${prefix}-${status} > ${prefix}-container > ${prefix}-tail::after`]: {\n backgroundColor: token[tailColorKey]\n }\n };\n};\nconst genStepsItemStyle = token => {\n const {\n componentCls,\n motionDurationSlow\n } = token;\n const stepsItemCls = `${componentCls}-item`; // .ant-steps-item\n const stepItemIconCls = `${stepsItemCls}-icon`;\n return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({\n [stepsItemCls]: {\n position: 'relative',\n display: 'inline-block',\n flex: 1,\n overflow: 'hidden',\n verticalAlign: 'top',\n '&:last-child': {\n flex: 'none',\n [`> ${stepsItemCls}-container > ${stepsItemCls}-tail, > ${stepsItemCls}-container > ${stepsItemCls}-content > ${stepsItemCls}-title::after`]: {\n display: 'none'\n }\n }\n },\n [`${stepsItemCls}-container`]: {\n outline: 'none',\n '&:focus-visible': {\n [stepItemIconCls]: Object.assign({}, genFocusOutline(token))\n }\n },\n [`${stepItemIconCls}, ${stepsItemCls}-content`]: {\n display: 'inline-block',\n verticalAlign: 'top'\n },\n [stepItemIconCls]: {\n width: token.iconSize,\n height: token.iconSize,\n marginTop: 0,\n marginBottom: 0,\n marginInlineStart: 0,\n marginInlineEnd: token.marginXS,\n fontSize: token.iconFontSize,\n fontFamily: token.fontFamily,\n lineHeight: unit(token.iconSize),\n textAlign: 'center',\n borderRadius: token.iconSize,\n border: `${unit(token.lineWidth)} ${token.lineType} transparent`,\n transition: `background-color ${motionDurationSlow}, border-color ${motionDurationSlow}`,\n [`${componentCls}-icon`]: {\n position: 'relative',\n top: token.iconTop,\n color: token.colorPrimary,\n lineHeight: 1\n }\n },\n [`${stepsItemCls}-tail`]: {\n position: 'absolute',\n top: token.calc(token.iconSize).div(2).equal(),\n insetInlineStart: 0,\n width: '100%',\n '&::after': {\n display: 'inline-block',\n width: '100%',\n height: token.lineWidth,\n background: token.colorSplit,\n borderRadius: token.lineWidth,\n transition: `background ${motionDurationSlow}`,\n content: '\"\"'\n }\n },\n [`${stepsItemCls}-title`]: {\n position: 'relative',\n display: 'inline-block',\n paddingInlineEnd: token.padding,\n color: token.colorText,\n fontSize: token.fontSizeLG,\n lineHeight: unit(token.titleLineHeight),\n '&::after': {\n position: 'absolute',\n top: token.calc(token.titleLineHeight).div(2).equal(),\n insetInlineStart: '100%',\n display: 'block',\n width: 9999,\n height: token.lineWidth,\n background: token.processTailColor,\n content: '\"\"'\n }\n },\n [`${stepsItemCls}-subtitle`]: {\n display: 'inline',\n marginInlineStart: token.marginXS,\n color: token.colorTextDescription,\n fontWeight: 'normal',\n fontSize: token.fontSize\n },\n [`${stepsItemCls}-description`]: {\n color: token.colorTextDescription,\n fontSize: token.fontSize\n }\n }, genStepsItemStatusStyle(STEP_ITEM_STATUS_WAIT, token)), genStepsItemStatusStyle(STEP_ITEM_STATUS_PROCESS, token)), {\n [`${stepsItemCls}-process > ${stepsItemCls}-container > ${stepsItemCls}-title`]: {\n fontWeight: token.fontWeightStrong\n }\n }), genStepsItemStatusStyle(STEP_ITEM_STATUS_FINISH, token)), genStepsItemStatusStyle(STEP_ITEM_STATUS_ERROR, token)), {\n [`${stepsItemCls}${componentCls}-next-error > ${componentCls}-item-title::after`]: {\n background: token.colorError\n },\n [`${stepsItemCls}-disabled`]: {\n cursor: 'not-allowed'\n }\n });\n};\n// ============================= Clickable ===========================\nconst genStepsClickableStyle = token => {\n const {\n componentCls,\n motionDurationSlow\n } = token;\n return {\n [`& ${componentCls}-item`]: {\n [`&:not(${componentCls}-item-active)`]: {\n [`& > ${componentCls}-item-container[role='button']`]: {\n cursor: 'pointer',\n [`${componentCls}-item`]: {\n [`&-title, &-subtitle, &-description, &-icon ${componentCls}-icon`]: {\n transition: `color ${motionDurationSlow}`\n }\n },\n '&:hover': {\n [`${componentCls}-item`]: {\n '&-title, &-subtitle, &-description': {\n color: token.colorPrimary\n }\n }\n }\n },\n [`&:not(${componentCls}-item-process)`]: {\n [`& > ${componentCls}-item-container[role='button']:hover`]: {\n [`${componentCls}-item`]: {\n '&-icon': {\n borderColor: token.colorPrimary,\n [`${componentCls}-icon`]: {\n color: token.colorPrimary\n }\n }\n }\n }\n }\n }\n },\n [`&${componentCls}-horizontal:not(${componentCls}-label-vertical)`]: {\n [`${componentCls}-item`]: {\n paddingInlineStart: token.padding,\n whiteSpace: 'nowrap',\n '&:first-child': {\n paddingInlineStart: 0\n },\n [`&:last-child ${componentCls}-item-title`]: {\n paddingInlineEnd: 0\n },\n '&-tail': {\n display: 'none'\n },\n '&-description': {\n maxWidth: token.descriptionMaxWidth,\n whiteSpace: 'normal'\n }\n }\n }\n };\n};\nconst genStepsStyle = token => {\n const {\n componentCls\n } = token; // .ant-steps\n return {\n [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), {\n display: 'flex',\n width: '100%',\n fontSize: 0,\n textAlign: 'initial'\n }), genStepsItemStyle(token)), genStepsClickableStyle(token)), genStepsCustomIconStyle(token)), genStepsSmallStyle(token)), genStepsVerticalStyle(token)), genStepsHorizontalStyle(token)), genStepsLabelPlacementStyle(token)), genStepsProgressDotStyle(token)), genStepsNavStyle(token)), genStepsRTLStyle(token)), genStepsProgressStyle(token)), genStepsInlineStyle(token))\n };\n};\n// ============================== Export ==============================\nexport const prepareComponentToken = token => ({\n titleLineHeight: token.controlHeight,\n customIconSize: token.controlHeight,\n customIconTop: 0,\n customIconFontSize: token.controlHeightSM,\n iconSize: token.controlHeight,\n iconTop: -0.5,\n // magic for ui experience\n iconFontSize: token.fontSize,\n iconSizeSM: token.fontSizeHeading3,\n dotSize: token.controlHeight / 4,\n dotCurrentSize: token.controlHeightLG / 4,\n navArrowColor: token.colorTextDisabled,\n navContentMaxWidth: 'auto',\n descriptionMaxWidth: 140,\n waitIconColor: token.wireframe ? token.colorTextDisabled : token.colorTextLabel,\n waitIconBgColor: token.wireframe ? token.colorBgContainer : token.colorFillContent,\n waitIconBorderColor: token.wireframe ? token.colorTextDisabled : 'transparent',\n finishIconBgColor: token.wireframe ? token.colorBgContainer : token.controlItemBgActive,\n finishIconBorderColor: token.wireframe ? token.colorPrimary : token.controlItemBgActive\n});\nexport default genStyleHooks('Steps', token => {\n const {\n colorTextDisabled,\n controlHeightLG,\n colorTextLightSolid,\n colorText,\n colorPrimary,\n colorTextDescription,\n colorTextQuaternary,\n colorError,\n colorBorderSecondary,\n colorSplit\n } = token;\n const stepsToken = mergeToken(token, {\n // Steps component less variable\n processIconColor: colorTextLightSolid,\n processTitleColor: colorText,\n processDescriptionColor: colorText,\n processIconBgColor: colorPrimary,\n processIconBorderColor: colorPrimary,\n processDotColor: colorPrimary,\n processTailColor: colorSplit,\n waitTitleColor: colorTextDescription,\n waitDescriptionColor: colorTextDescription,\n waitTailColor: colorSplit,\n waitDotColor: colorTextDisabled,\n finishIconColor: colorPrimary,\n finishTitleColor: colorText,\n finishDescriptionColor: colorTextDescription,\n finishTailColor: colorPrimary,\n finishDotColor: colorPrimary,\n errorIconColor: colorTextLightSolid,\n errorTitleColor: colorError,\n errorDescriptionColor: colorError,\n errorTailColor: colorSplit,\n errorIconBgColor: colorError,\n errorIconBorderColor: colorError,\n errorDotColor: colorError,\n stepsNavActiveColor: colorPrimary,\n stepsProgressSize: controlHeightLG,\n // Steps inline variable\n inlineDotSize: 6,\n inlineTitleColor: colorTextQuaternary,\n inlineTailColor: colorBorderSecondary\n });\n return [genStepsStyle(stepsToken)];\n}, prepareComponentToken);"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,SAASC,eAAe,EAAEC,cAAc,QAAQ,aAAa;AAC7D,SAASC,aAAa,EAAEC,UAAU,QAAQ,sBAAsB;AAChE,OAAOC,uBAAuB,MAAM,eAAe;AACnD,OAAOC,uBAAuB,MAAM,cAAc;AAClD,OAAOC,mBAAmB,MAAM,UAAU;AAC1C,OAAOC,2BAA2B,MAAM,mBAAmB;AAC3D,OAAOC,gBAAgB,MAAM,OAAO;AACpC,OAAOC,qBAAqB,MAAM,YAAY;AAC9C,OAAOC,wBAAwB,MAAM,gBAAgB;AACrD,OAAOC,gBAAgB,MAAM,OAAO;AACpC,OAAOC,kBAAkB,MAAM,SAAS;AACxC,OAAOC,qBAAqB,MAAM,YAAY;AAC9C,MAAMC,qBAAqB,GAAG,MAAM;AACpC,MAAMC,wBAAwB,GAAG,SAAS;AAC1C,MAAMC,uBAAuB,GAAG,QAAQ;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