1 line
2.0 KiB
JSON
1 line
2.0 KiB
JSON
{"ast":null,"code":"import genRadius from './genRadius';\nexport default function genCommonMapToken(token) {\n const {\n motionUnit,\n motionBase,\n borderRadius,\n lineWidth\n } = token;\n return Object.assign({\n // motion\n motionDurationFast: `${(motionBase + motionUnit).toFixed(1)}s`,\n motionDurationMid: `${(motionBase + motionUnit * 2).toFixed(1)}s`,\n motionDurationSlow: `${(motionBase + motionUnit * 3).toFixed(1)}s`,\n // line\n lineWidthBold: lineWidth + 1\n }, genRadius(borderRadius));\n}","map":{"version":3,"names":["genRadius","genCommonMapToken","token","motionUnit","motionBase","borderRadius","lineWidth","Object","assign","motionDurationFast","toFixed","motionDurationMid","motionDurationSlow","lineWidthBold"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/theme/themes/shared/genCommonMapToken.js"],"sourcesContent":["import genRadius from './genRadius';\nexport default function genCommonMapToken(token) {\n const {\n motionUnit,\n motionBase,\n borderRadius,\n lineWidth\n } = token;\n return Object.assign({\n // motion\n motionDurationFast: `${(motionBase + motionUnit).toFixed(1)}s`,\n motionDurationMid: `${(motionBase + motionUnit * 2).toFixed(1)}s`,\n motionDurationSlow: `${(motionBase + motionUnit * 3).toFixed(1)}s`,\n // line\n lineWidthBold: lineWidth + 1\n }, genRadius(borderRadius));\n}"],"mappings":"AAAA,OAAOA,SAAS,MAAM,aAAa;AACnC,eAAe,SAASC,iBAAiBA,CAACC,KAAK,EAAE;EAC/C,MAAM;IACJC,UAAU;IACVC,UAAU;IACVC,YAAY;IACZC;EACF,CAAC,GAAGJ,KAAK;EACT,OAAOK,MAAM,CAACC,MAAM,CAAC;IACnB;IACAC,kBAAkB,EAAE,GAAG,CAACL,UAAU,GAAGD,UAAU,EAAEO,OAAO,CAAC,CAAC,CAAC,GAAG;IAC9DC,iBAAiB,EAAE,GAAG,CAACP,UAAU,GAAGD,UAAU,GAAG,CAAC,EAAEO,OAAO,CAAC,CAAC,CAAC,GAAG;IACjEE,kBAAkB,EAAE,GAAG,CAACR,UAAU,GAAGD,UAAU,GAAG,CAAC,EAAEO,OAAO,CAAC,CAAC,CAAC,GAAG;IAClE;IACAG,aAAa,EAAEP,SAAS,GAAG;EAC7B,CAAC,EAAEN,SAAS,CAACK,YAAY,CAAC,CAAC;AAC7B","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |