1 line
2.0 KiB
JSON
1 line
2.0 KiB
JSON
{"ast":null,"code":"export default function genSizeMapToken(token) {\n const {\n sizeUnit,\n sizeStep\n } = token;\n return {\n sizeXXL: sizeUnit * (sizeStep + 8),\n // 48\n sizeXL: sizeUnit * (sizeStep + 4),\n // 32\n sizeLG: sizeUnit * (sizeStep + 2),\n // 24\n sizeMD: sizeUnit * (sizeStep + 1),\n // 20\n sizeMS: sizeUnit * sizeStep,\n // 16\n size: sizeUnit * sizeStep,\n // 16\n sizeSM: sizeUnit * (sizeStep - 1),\n // 12\n sizeXS: sizeUnit * (sizeStep - 2),\n // 8\n sizeXXS: sizeUnit * (sizeStep - 3) // 4\n };\n}","map":{"version":3,"names":["genSizeMapToken","token","sizeUnit","sizeStep","sizeXXL","sizeXL","sizeLG","sizeMD","sizeMS","size","sizeSM","sizeXS","sizeXXS"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/theme/themes/shared/genSizeMapToken.js"],"sourcesContent":["export default function genSizeMapToken(token) {\n const {\n sizeUnit,\n sizeStep\n } = token;\n return {\n sizeXXL: sizeUnit * (sizeStep + 8),\n // 48\n sizeXL: sizeUnit * (sizeStep + 4),\n // 32\n sizeLG: sizeUnit * (sizeStep + 2),\n // 24\n sizeMD: sizeUnit * (sizeStep + 1),\n // 20\n sizeMS: sizeUnit * sizeStep,\n // 16\n size: sizeUnit * sizeStep,\n // 16\n sizeSM: sizeUnit * (sizeStep - 1),\n // 12\n sizeXS: sizeUnit * (sizeStep - 2),\n // 8\n sizeXXS: sizeUnit * (sizeStep - 3) // 4\n };\n}"],"mappings":"AAAA,eAAe,SAASA,eAAeA,CAACC,KAAK,EAAE;EAC7C,MAAM;IACJC,QAAQ;IACRC;EACF,CAAC,GAAGF,KAAK;EACT,OAAO;IACLG,OAAO,EAAEF,QAAQ,IAAIC,QAAQ,GAAG,CAAC,CAAC;IAClC;IACAE,MAAM,EAAEH,QAAQ,IAAIC,QAAQ,GAAG,CAAC,CAAC;IACjC;IACAG,MAAM,EAAEJ,QAAQ,IAAIC,QAAQ,GAAG,CAAC,CAAC;IACjC;IACAI,MAAM,EAAEL,QAAQ,IAAIC,QAAQ,GAAG,CAAC,CAAC;IACjC;IACAK,MAAM,EAAEN,QAAQ,GAAGC,QAAQ;IAC3B;IACAM,IAAI,EAAEP,QAAQ,GAAGC,QAAQ;IACzB;IACAO,MAAM,EAAER,QAAQ,IAAIC,QAAQ,GAAG,CAAC,CAAC;IACjC;IACAQ,MAAM,EAAET,QAAQ,IAAIC,QAAQ,GAAG,CAAC,CAAC;IACjC;IACAS,OAAO,EAAEV,QAAQ,IAAIC,QAAQ,GAAG,CAAC,CAAC,CAAC;EACrC,CAAC;AACH","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |