1 line
2.1 KiB
JSON
1 line
2.1 KiB
JSON
|
{"ast":null,"code":"export default function genSizeMapToken(token) {\n const {\n sizeUnit,\n sizeStep\n } = token;\n const compactSizeStep = sizeStep - 2;\n return {\n sizeXXL: sizeUnit * (compactSizeStep + 10),\n sizeXL: sizeUnit * (compactSizeStep + 6),\n sizeLG: sizeUnit * (compactSizeStep + 2),\n sizeMD: sizeUnit * (compactSizeStep + 2),\n sizeMS: sizeUnit * (compactSizeStep + 1),\n size: sizeUnit * compactSizeStep,\n sizeSM: sizeUnit * compactSizeStep,\n sizeXS: sizeUnit * (compactSizeStep - 1),\n sizeXXS: sizeUnit * (compactSizeStep - 1)\n };\n}","map":{"version":3,"names":["genSizeMapToken","token","sizeUnit","sizeStep","compactSizeStep","sizeXXL","sizeXL","sizeLG","sizeMD","sizeMS","size","sizeSM","sizeXS","sizeXXS"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/theme/themes/compact/genCompactSizeMapToken.js"],"sourcesContent":["export default function genSizeMapToken(token) {\n const {\n sizeUnit,\n sizeStep\n } = token;\n const compactSizeStep = sizeStep - 2;\n return {\n sizeXXL: sizeUnit * (compactSizeStep + 10),\n sizeXL: sizeUnit * (compactSizeStep + 6),\n sizeLG: sizeUnit * (compactSizeStep + 2),\n sizeMD: sizeUnit * (compactSizeStep + 2),\n sizeMS: sizeUnit * (compactSizeStep + 1),\n size: sizeUnit * compactSizeStep,\n sizeSM: sizeUnit * compactSizeStep,\n sizeXS: sizeUnit * (compactSizeStep - 1),\n sizeXXS: sizeUnit * (compactSizeStep - 1)\n };\n}"],"mappings":"AAAA,eAAe,SAASA,eAAeA,CAACC,KAAK,EAAE;EAC7C,MAAM;IACJC,QAAQ;IACRC;EACF,CAAC,GAAGF,KAAK;EACT,MAAMG,eAAe,GAAGD,QAAQ,GAAG,CAAC;EACpC,OAAO;IACLE,OAAO,EAAEH,QAAQ,IAAIE,eAAe,GAAG,EAAE,CAAC;IAC1CE,MAAM,EAAEJ,QAAQ,IAAIE,eAAe,GAAG,CAAC,CAAC;IACxCG,MAAM,EAAEL,QAAQ,IAAIE,eAAe,GAAG,CAAC,CAAC;IACxCI,MAAM,EAAEN,QAAQ,IAAIE,eAAe,GAAG,CAAC,CAAC;IACxCK,MAAM,EAAEP,QAAQ,IAAIE,eAAe,GAAG,CAAC,CAAC;IACxCM,IAAI,EAAER,QAAQ,GAAGE,eAAe;IAChCO,MAAM,EAAET,QAAQ,GAAGE,eAAe;IAClCQ,MAAM,EAAEV,QAAQ,IAAIE,eAAe,GAAG,CAAC,CAAC;IACxCS,OAAO,EAAEX,QAAQ,IAAIE,eAAe,GAAG,CAAC;EAC1C,CAAC;AACH","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|