1 line
2.5 KiB
JSON
1 line
2.5 KiB
JSON
{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nimport { genNoticeStyle, prepareComponentToken, prepareNotificationToken } from '.';\nimport { genSubStyleComponent } from '../../theme/internal';\nexport default genSubStyleComponent(['Notification', 'PurePanel'], token => {\n const noticeCls = `${token.componentCls}-notice`;\n const notificationToken = prepareNotificationToken(token);\n return {\n [`${noticeCls}-pure-panel`]: Object.assign(Object.assign({}, genNoticeStyle(notificationToken)), {\n width: notificationToken.width,\n maxWidth: `calc(100vw - ${unit(token.calc(notificationToken.notificationMarginEdge).mul(2).equal())})`,\n margin: 0\n })\n };\n}, prepareComponentToken);","map":{"version":3,"names":["unit","genNoticeStyle","prepareComponentToken","prepareNotificationToken","genSubStyleComponent","token","noticeCls","componentCls","notificationToken","Object","assign","width","maxWidth","calc","notificationMarginEdge","mul","equal","margin"],"sources":["C:/Users/Аришина)/Desktop/promo/node_modules/antd/es/notification/style/pure-panel.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { genNoticeStyle, prepareComponentToken, prepareNotificationToken } from '.';\nimport { genSubStyleComponent } from '../../theme/internal';\nexport default genSubStyleComponent(['Notification', 'PurePanel'], token => {\n const noticeCls = `${token.componentCls}-notice`;\n const notificationToken = prepareNotificationToken(token);\n return {\n [`${noticeCls}-pure-panel`]: Object.assign(Object.assign({}, genNoticeStyle(notificationToken)), {\n width: notificationToken.width,\n maxWidth: `calc(100vw - ${unit(token.calc(notificationToken.notificationMarginEdge).mul(2).equal())})`,\n margin: 0\n })\n };\n}, prepareComponentToken);"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,SAASC,cAAc,EAAEC,qBAAqB,EAAEC,wBAAwB,QAAQ,GAAG;AACnF,SAASC,oBAAoB,QAAQ,sBAAsB;AAC3D,eAAeA,oBAAoB,CAAC,CAAC,cAAc,EAAE,WAAW,CAAC,EAAEC,KAAK,IAAI;EAC1E,MAAMC,SAAS,GAAG,GAAGD,KAAK,CAACE,YAAY,SAAS;EAChD,MAAMC,iBAAiB,GAAGL,wBAAwB,CAACE,KAAK,CAAC;EACzD,OAAO;IACL,CAAC,GAAGC,SAAS,aAAa,GAAGG,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAET,cAAc,CAACO,iBAAiB,CAAC,CAAC,EAAE;MAC/FG,KAAK,EAAEH,iBAAiB,CAACG,KAAK;MAC9BC,QAAQ,EAAE,gBAAgBZ,IAAI,CAACK,KAAK,CAACQ,IAAI,CAACL,iBAAiB,CAACM,sBAAsB,CAAC,CAACC,GAAG,CAAC,CAAC,CAAC,CAACC,KAAK,CAAC,CAAC,CAAC,GAAG;MACtGC,MAAM,EAAE;IACV,CAAC;EACH,CAAC;AACH,CAAC,EAAEf,qBAAqB,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |