PromoCursed/node_modules/.cache/babel-loader/f13ca8bdc35639bd9bd7973c31eecabc34bc911575d1d2b70b158919013373fe.json
2024-08-20 23:25:37 +04:00

1 line
4.8 KiB
JSON

{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nconst genStepsLabelPlacementStyle = token => {\n const {\n componentCls,\n iconSize,\n lineHeight,\n iconSizeSM\n } = token;\n return {\n [`&${componentCls}-label-vertical`]: {\n [`${componentCls}-item`]: {\n overflow: 'visible',\n '&-tail': {\n marginInlineStart: token.calc(iconSize).div(2).add(token.controlHeightLG).equal(),\n padding: `0 ${unit(token.paddingLG)}`\n },\n '&-content': {\n display: 'block',\n width: token.calc(iconSize).div(2).add(token.controlHeightLG).mul(2).equal(),\n marginTop: token.marginSM,\n textAlign: 'center'\n },\n '&-icon': {\n display: 'inline-block',\n marginInlineStart: token.controlHeightLG\n },\n '&-title': {\n paddingInlineEnd: 0,\n paddingInlineStart: 0,\n '&::after': {\n display: 'none'\n }\n },\n '&-subtitle': {\n display: 'block',\n marginBottom: token.marginXXS,\n marginInlineStart: 0,\n lineHeight\n }\n },\n [`&${componentCls}-small:not(${componentCls}-dot)`]: {\n [`${componentCls}-item`]: {\n '&-icon': {\n marginInlineStart: token.calc(iconSize).sub(iconSizeSM).div(2).add(token.controlHeightLG).equal()\n }\n }\n }\n }\n };\n};\nexport default genStepsLabelPlacementStyle;","map":{"version":3,"names":["unit","genStepsLabelPlacementStyle","token","componentCls","iconSize","lineHeight","iconSizeSM","overflow","marginInlineStart","calc","div","add","controlHeightLG","equal","padding","paddingLG","display","width","mul","marginTop","marginSM","textAlign","paddingInlineEnd","paddingInlineStart","marginBottom","marginXXS","sub"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/steps/style/label-placement.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nconst genStepsLabelPlacementStyle = token => {\n const {\n componentCls,\n iconSize,\n lineHeight,\n iconSizeSM\n } = token;\n return {\n [`&${componentCls}-label-vertical`]: {\n [`${componentCls}-item`]: {\n overflow: 'visible',\n '&-tail': {\n marginInlineStart: token.calc(iconSize).div(2).add(token.controlHeightLG).equal(),\n padding: `0 ${unit(token.paddingLG)}`\n },\n '&-content': {\n display: 'block',\n width: token.calc(iconSize).div(2).add(token.controlHeightLG).mul(2).equal(),\n marginTop: token.marginSM,\n textAlign: 'center'\n },\n '&-icon': {\n display: 'inline-block',\n marginInlineStart: token.controlHeightLG\n },\n '&-title': {\n paddingInlineEnd: 0,\n paddingInlineStart: 0,\n '&::after': {\n display: 'none'\n }\n },\n '&-subtitle': {\n display: 'block',\n marginBottom: token.marginXXS,\n marginInlineStart: 0,\n lineHeight\n }\n },\n [`&${componentCls}-small:not(${componentCls}-dot)`]: {\n [`${componentCls}-item`]: {\n '&-icon': {\n marginInlineStart: token.calc(iconSize).sub(iconSizeSM).div(2).add(token.controlHeightLG).equal()\n }\n }\n }\n }\n };\n};\nexport default genStepsLabelPlacementStyle;"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,MAAMC,2BAA2B,GAAGC,KAAK,IAAI;EAC3C,MAAM;IACJC,YAAY;IACZC,QAAQ;IACRC,UAAU;IACVC;EACF,CAAC,GAAGJ,KAAK;EACT,OAAO;IACL,CAAC,IAAIC,YAAY,iBAAiB,GAAG;MACnC,CAAC,GAAGA,YAAY,OAAO,GAAG;QACxBI,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE;UACRC,iBAAiB,EAAEN,KAAK,CAACO,IAAI,CAACL,QAAQ,CAAC,CAACM,GAAG,CAAC,CAAC,CAAC,CAACC,GAAG,CAACT,KAAK,CAACU,eAAe,CAAC,CAACC,KAAK,CAAC,CAAC;UACjFC,OAAO,EAAE,KAAKd,IAAI,CAACE,KAAK,CAACa,SAAS,CAAC;QACrC,CAAC;QACD,WAAW,EAAE;UACXC,OAAO,EAAE,OAAO;UAChBC,KAAK,EAAEf,KAAK,CAACO,IAAI,CAACL,QAAQ,CAAC,CAACM,GAAG,C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