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

1 line
5.6 KiB
JSON

{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nconst genStepsSmallStyle = token => {\n const {\n componentCls,\n iconSizeSM,\n // stepsSmallIconMargin,\n fontSizeSM,\n fontSize,\n colorTextDescription\n } = token;\n return {\n [`&${componentCls}-small`]: {\n [`&${componentCls}-horizontal:not(${componentCls}-label-vertical) ${componentCls}-item`]: {\n paddingInlineStart: token.paddingSM,\n '&:first-child': {\n paddingInlineStart: 0\n }\n },\n [`${componentCls}-item-icon`]: {\n width: iconSizeSM,\n height: iconSizeSM,\n // margin: stepsSmallIconMargin,\n marginTop: 0,\n marginBottom: 0,\n marginInline: `0 ${unit(token.marginXS)}`,\n fontSize: fontSizeSM,\n lineHeight: unit(iconSizeSM),\n textAlign: 'center',\n borderRadius: iconSizeSM\n },\n [`${componentCls}-item-title`]: {\n paddingInlineEnd: token.paddingSM,\n fontSize,\n lineHeight: unit(iconSizeSM),\n '&::after': {\n top: token.calc(iconSizeSM).div(2).equal()\n }\n },\n [`${componentCls}-item-description`]: {\n color: colorTextDescription,\n fontSize\n },\n [`${componentCls}-item-tail`]: {\n top: token.calc(iconSizeSM).div(2).sub(token.paddingXXS).equal()\n },\n [`${componentCls}-item-custom ${componentCls}-item-icon`]: {\n width: 'inherit',\n height: 'inherit',\n lineHeight: 'inherit',\n background: 'none',\n border: 0,\n borderRadius: 0,\n [`> ${componentCls}-icon`]: {\n fontSize: iconSizeSM,\n lineHeight: unit(iconSizeSM),\n transform: 'none'\n }\n }\n }\n };\n};\nexport default genStepsSmallStyle;","map":{"version":3,"names":["unit","genStepsSmallStyle","token","componentCls","iconSizeSM","fontSizeSM","fontSize","colorTextDescription","paddingInlineStart","paddingSM","width","height","marginTop","marginBottom","marginInline","marginXS","lineHeight","textAlign","borderRadius","paddingInlineEnd","top","calc","div","equal","color","sub","paddingXXS","background","border","transform"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/steps/style/small.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nconst genStepsSmallStyle = token => {\n const {\n componentCls,\n iconSizeSM,\n // stepsSmallIconMargin,\n fontSizeSM,\n fontSize,\n colorTextDescription\n } = token;\n return {\n [`&${componentCls}-small`]: {\n [`&${componentCls}-horizontal:not(${componentCls}-label-vertical) ${componentCls}-item`]: {\n paddingInlineStart: token.paddingSM,\n '&:first-child': {\n paddingInlineStart: 0\n }\n },\n [`${componentCls}-item-icon`]: {\n width: iconSizeSM,\n height: iconSizeSM,\n // margin: stepsSmallIconMargin,\n marginTop: 0,\n marginBottom: 0,\n marginInline: `0 ${unit(token.marginXS)}`,\n fontSize: fontSizeSM,\n lineHeight: unit(iconSizeSM),\n textAlign: 'center',\n borderRadius: iconSizeSM\n },\n [`${componentCls}-item-title`]: {\n paddingInlineEnd: token.paddingSM,\n fontSize,\n lineHeight: unit(iconSizeSM),\n '&::after': {\n top: token.calc(iconSizeSM).div(2).equal()\n }\n },\n [`${componentCls}-item-description`]: {\n color: colorTextDescription,\n fontSize\n },\n [`${componentCls}-item-tail`]: {\n top: token.calc(iconSizeSM).div(2).sub(token.paddingXXS).equal()\n },\n [`${componentCls}-item-custom ${componentCls}-item-icon`]: {\n width: 'inherit',\n height: 'inherit',\n lineHeight: 'inherit',\n background: 'none',\n border: 0,\n borderRadius: 0,\n [`> ${componentCls}-icon`]: {\n fontSize: iconSizeSM,\n lineHeight: unit(iconSizeSM),\n transform: 'none'\n }\n }\n }\n };\n};\nexport default genStepsSmallStyle;"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,MAAMC,kBAAkB,GAAGC,KAAK,IAAI;EAClC,MAAM;IACJC,YAAY;IACZC,UAAU;IACV;IACAC,UAAU;IACVC,QAAQ;IACRC;EACF,CAAC,GAAGL,KAAK;EACT,OAAO;IACL,CAAC,IAAIC,YAAY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