1 line
7.5 KiB
JSON
1 line
7.5 KiB
JSON
{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nconst genStepsVerticalStyle = token => {\n const {\n componentCls,\n iconSizeSM,\n iconSize\n } = token;\n return {\n [`&${componentCls}-vertical`]: {\n display: 'flex',\n flexDirection: 'column',\n [`> ${componentCls}-item`]: {\n display: 'block',\n flex: '1 0 auto',\n paddingInlineStart: 0,\n overflow: 'visible',\n [`${componentCls}-item-icon`]: {\n float: 'left',\n marginInlineEnd: token.margin\n },\n [`${componentCls}-item-content`]: {\n display: 'block',\n minHeight: token.calc(token.controlHeight).mul(1.5).equal(),\n overflow: 'hidden'\n },\n [`${componentCls}-item-title`]: {\n lineHeight: unit(iconSize)\n },\n [`${componentCls}-item-description`]: {\n paddingBottom: token.paddingSM\n }\n },\n [`> ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n position: 'absolute',\n top: 0,\n insetInlineStart: token.calc(iconSize).div(2).sub(token.lineWidth).equal(),\n width: token.lineWidth,\n height: '100%',\n padding: `${unit(token.calc(token.marginXXS).mul(1.5).add(iconSize).equal())} 0 ${unit(token.calc(token.marginXXS).mul(1.5).equal())}`,\n '&::after': {\n width: token.lineWidth,\n height: '100%'\n }\n },\n [`> ${componentCls}-item:not(:last-child) > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n display: 'block'\n },\n [` > ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-content > ${componentCls}-item-title`]: {\n '&::after': {\n display: 'none'\n }\n },\n [`&${componentCls}-small ${componentCls}-item-container`]: {\n [`${componentCls}-item-tail`]: {\n position: 'absolute',\n top: 0,\n insetInlineStart: token.calc(iconSizeSM).div(2).sub(token.lineWidth).equal(),\n padding: `${unit(token.calc(token.marginXXS).mul(1.5).add(iconSizeSM).equal())} 0 ${unit(token.calc(token.marginXXS).mul(1.5).equal())}`\n },\n [`${componentCls}-item-title`]: {\n lineHeight: unit(iconSizeSM)\n }\n }\n }\n };\n};\nexport default genStepsVerticalStyle;","map":{"version":3,"names":["unit","genStepsVerticalStyle","token","componentCls","iconSizeSM","iconSize","display","flexDirection","flex","paddingInlineStart","overflow","float","marginInlineEnd","margin","minHeight","calc","controlHeight","mul","equal","lineHeight","paddingBottom","paddingSM","position","top","insetInlineStart","div","sub","lineWidth","width","height","padding","marginXXS","add"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/steps/style/vertical.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nconst genStepsVerticalStyle = token => {\n const {\n componentCls,\n iconSizeSM,\n iconSize\n } = token;\n return {\n [`&${componentCls}-vertical`]: {\n display: 'flex',\n flexDirection: 'column',\n [`> ${componentCls}-item`]: {\n display: 'block',\n flex: '1 0 auto',\n paddingInlineStart: 0,\n overflow: 'visible',\n [`${componentCls}-item-icon`]: {\n float: 'left',\n marginInlineEnd: token.margin\n },\n [`${componentCls}-item-content`]: {\n display: 'block',\n minHeight: token.calc(token.controlHeight).mul(1.5).equal(),\n overflow: 'hidden'\n },\n [`${componentCls}-item-title`]: {\n lineHeight: unit(iconSize)\n },\n [`${componentCls}-item-description`]: {\n paddingBottom: token.paddingSM\n }\n },\n [`> ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n position: 'absolute',\n top: 0,\n insetInlineStart: token.calc(iconSize).div(2).sub(token.lineWidth).equal(),\n width: token.lineWidth,\n height: '100%',\n padding: `${unit(token.calc(token.marginXXS).mul(1.5).add(iconSize).equal())} 0 ${unit(token.calc(token.marginXXS).mul(1.5).equal())}`,\n '&::after': {\n width: token.lineWidth,\n height: '100%'\n }\n },\n [`> ${componentCls}-item:not(:last-child) > ${componentCls}-item-container > ${componentCls}-item-tail`]: {\n display: 'block'\n },\n [` > ${componentCls}-item > ${componentCls}-item-container > ${componentCls}-item-content > ${componentCls}-item-title`]: {\n '&::after': {\n display: 'none'\n }\n },\n [`&${componentCls}-small ${componentCls}-item-container`]: {\n [`${componentCls}-item-tail`]: {\n position: 'absolute',\n top: 0,\n insetInlineStart: token.calc(iconSizeSM).div(2).sub(token.lineWidth).equal(),\n padding: `${unit(token.calc(token.marginXXS).mul(1.5).add(iconSizeSM).equal())} 0 ${unit(token.calc(token.marginXXS).mul(1.5).equal())}`\n },\n [`${componentCls}-item-title`]: {\n lineHeight: unit(iconSizeSM)\n }\n }\n }\n };\n};\nexport default genStepsVerticalStyle;"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,MAAMC,qBAAqB,GAAGC,KAAK,IAAI;EACrC,MAAM;IACJC,YAAY;IACZC,UAAU;IACVC;EACF,CAAC,GAAGH,KAAK;EACT,OAAO;IACL,CAAC,IAAIC,YAAY,WAAW,GAAG;MAC7BG,OAAO,EAAE,MAAM;MACfC,aAAa,EAAE,QAAQ;MACvB,CAAC,KAAKJ,YAAY,OAAO,GAAG;QAC1BG,OAAO,EAAE,OAAO;QAChBE,IAAI,EAAE,UAAU;QAChBC,kBAAkB,EAAE,CAAC;QACrBC,QAAQ,EAAE,SAAS;QACnB,CAAC,GAAGP,YAAY,YAAY,GAAG;UAC7BQ,KAAK,EAAE,MAAM;UACbC,eAAe,EAAEV,KAAK,CAACW;QACzB,CAAC;QACD,CAAC,GAAGV,YAAY,eAAe,GAAG;UAChCG,OAAO,EAAE,OAAO;UAChBQ,SAAS,EAAEZ,KAAK,CAACa,IAAI,CAACb,KAAK,CAACc,aAAa,CAAC,CAACC,GAAG,CAAC,GAAG,CAAC,CAACC,KAAK,CAAC,CAAC;UAC3DR,QAAQ,EAAE;QACZ,CAAC;QACD,CAAC,GAAGP,YAAY,aAAa,GAAG;UAC9BgB,UAAU,EAAEnB,IAAI,CAACK,QAAQ;QAC3B,CAAC;QACD,CAAC,GAAGF,YAAY,mBAAmB,GAAG;UACpCiB,aAAa,EAAElB,KAAK,CAACmB;QACvB;MACF,CAAC;MACD,CAAC,KAAKlB,YAAY,WAAWA,YAAY,qBAAqBA,YAAY,YAAY,GAAG;QACvFmB,QA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