1 line
3.0 KiB
JSON
1 line
3.0 KiB
JSON
|
{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nconst genStepsCustomIconStyle = token => {\n const {\n componentCls,\n customIconTop,\n customIconSize,\n customIconFontSize\n } = token;\n return {\n [`${componentCls}-item-custom`]: {\n [`> ${componentCls}-item-container > ${componentCls}-item-icon`]: {\n height: 'auto',\n background: 'none',\n border: 0,\n [`> ${componentCls}-icon`]: {\n top: customIconTop,\n width: customIconSize,\n height: customIconSize,\n fontSize: customIconFontSize,\n lineHeight: unit(customIconSize)\n }\n }\n },\n // Only adjust horizontal customize icon width\n [`&:not(${componentCls}-vertical)`]: {\n [`${componentCls}-item-custom`]: {\n [`${componentCls}-item-icon`]: {\n width: 'auto',\n background: 'none'\n }\n }\n }\n };\n};\nexport default genStepsCustomIconStyle;","map":{"version":3,"names":["unit","genStepsCustomIconStyle","token","componentCls","customIconTop","customIconSize","customIconFontSize","height","background","border","top","width","fontSize","lineHeight"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/steps/style/custom-icon.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nconst genStepsCustomIconStyle = token => {\n const {\n componentCls,\n customIconTop,\n customIconSize,\n customIconFontSize\n } = token;\n return {\n [`${componentCls}-item-custom`]: {\n [`> ${componentCls}-item-container > ${componentCls}-item-icon`]: {\n height: 'auto',\n background: 'none',\n border: 0,\n [`> ${componentCls}-icon`]: {\n top: customIconTop,\n width: customIconSize,\n height: customIconSize,\n fontSize: customIconFontSize,\n lineHeight: unit(customIconSize)\n }\n }\n },\n // Only adjust horizontal customize icon width\n [`&:not(${componentCls}-vertical)`]: {\n [`${componentCls}-item-custom`]: {\n [`${componentCls}-item-icon`]: {\n width: 'auto',\n background: 'none'\n }\n }\n }\n };\n};\nexport default genStepsCustomIconStyle;"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,MAAMC,uBAAuB,GAAGC,KAAK,IAAI;EACvC,MAAM;IACJC,YAAY;IACZC,aAAa;IACbC,cAAc;IACdC;EACF,CAAC,GAAGJ,KAAK;EACT,OAAO;IACL,CAAC,GAAGC,YAAY,cAAc,GAAG;MAC/B,CAAC,KAAKA,YAAY,qBAAqBA,YAAY,YAAY,GAAG;QAChEI,MAAM,EAAE,MAAM;QACdC,UAAU,EAAE,MAAM;QAClBC,MAAM,EAAE,CAAC;QACT,CAAC,KAAKN,YAAY,OAAO,GAAG;UAC1BO,GAAG,EAAEN,aAAa;UAClBO,KAAK,EAAEN,cAAc;UACrBE,MAAM,EAAEF,cAAc;UACtBO,QAAQ,EAAEN,kBAAkB;UAC5BO,UAAU,EAAEb,IAAI,CAACK,cAAc;QACjC;MACF;IACF,CAAC;IACD;IACA,CAAC,SAASF,YAAY,YAAY,GAAG;MACnC,CAAC,GAAGA,YAAY,cAAc,GAAG;QAC/B,CAAC,GAAGA,YAAY,YAAY,GAAG;UAC7BQ,KAAK,EAAE,MAAM;UACbH,UAAU,EAAE;QACd;MACF;IACF;EACF,CAAC;AACH,CAAC;AACD,eAAeP,uBAAuB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|