mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
3.6 KiB
JSON
1 line
3.6 KiB
JSON
|
{"ast":null,"code":"import style from './style';\nimport compose from './compose';\n\nfunction getBorder(value) {\n if (typeof value !== 'number') {\n return value;\n }\n\n return \"\".concat(value, \"px solid\");\n}\n\nexport var border = style({\n prop: 'border',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderTop = style({\n prop: 'borderTop',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderRight = style({\n prop: 'borderRight',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderBottom = style({\n prop: 'borderBottom',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderLeft = style({\n prop: 'borderLeft',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderColor = style({\n prop: 'borderColor',\n themeKey: 'palette'\n});\nexport var borderRadius = style({\n prop: 'borderRadius',\n themeKey: 'shape'\n});\nvar borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderRadius);\nexport default borders;","map":{"version":3,"sources":["/app/node_modules/@material-ui/system/esm/borders.js"],"names":["style","compose","getBorder","value","concat","border","prop","themeKey","transform","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","borders"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,SAAlB;AACA,OAAOC,OAAP,MAAoB,WAApB;;AAEA,SAASC,SAAT,CAAmBC,KAAnB,EAA0B;AACxB,MAAI,OAAOA,KAAP,KAAiB,QAArB,EAA+B;AAC7B,WAAOA,KAAP;AACD;;AAED,SAAO,GAAGC,MAAH,CAAUD,KAAV,EAAiB,UAAjB,CAAP;AACD;;AAED,OAAO,IAAIE,MAAM,GAAGL,KAAK,CAAC;AACxBM,EAAAA,IAAI,EAAE,QADkB;AAExBC,EAAAA,QAAQ,EAAE,SAFc;AAGxBC,EAAAA,SAAS,EAAEN;AAHa,CAAD,CAAlB;AAKP,OAAO,IAAIO,SAAS,GAAGT,KAAK,CAAC;AAC3BM,EAAAA,IAAI,EAAE,WADqB;AAE3BC,EAAAA,QAAQ,EAAE,SAFiB;AAG3BC,EAAAA,SAAS,EAAEN;AAHgB,CAAD,CAArB;AAKP,OAAO,IAAIQ,WAAW,GAAGV,KAAK,CAAC;AAC7BM,EAAAA,IAAI,EAAE,aADuB;AAE7BC,EAAAA,QAAQ,EAAE,SAFmB;AAG7BC,EAAAA,SAAS,EAAEN;AAHkB,CAAD,CAAvB;AAKP,OAAO,IAAIS,YAAY,GAAGX,KAAK,CAAC;AAC9BM,EAAAA,IAAI,EAAE,cADwB;AAE9BC,EAAAA,QAAQ,EAAE,SAFoB;AAG9BC,EAAAA,SAAS,EAAEN;AAHmB,CAAD,CAAxB;AAKP,OAAO,IAAIU,UAAU,GAAGZ,KAAK,CAAC;AAC5BM,EAAAA,IAAI,EAAE,YADsB;AAE5BC,EAAAA,QAAQ,EAAE,SAFkB;AAG5BC,EAAAA,SAAS,EAAEN;AAHiB,CAAD,CAAtB;AAKP,OAAO,IAAIW,WAAW,GAAGb,KAAK,CAAC;AAC7BM,EAAAA,IAAI,EAAE,aADuB;AAE7BC,EAAAA,QAAQ,EAAE;AAFmB,CAAD,CAAvB;AAIP,OAAO,IAAIO,YAAY,GAAGd,KAAK,CAAC;AAC9BM,EAAAA,IAAI,EAAE,cADwB;AAE9BC,EAAAA,QAAQ,EAAE;AAFoB,CAAD,CAAxB;AAIP,IAAIQ,OAAO,GAAGd,OAAO,CAACI,MAAD,EAASI,SAAT,EAAoBC,WAApB,EAAiCC,YAAjC,EAA+CC,UAA/C,EAA2DC,WAA3D,EAAwEC,YAAxE,CAArB;AACA,eAAeC,OAAf","sourcesContent":["import style from './style';\nimport compose from './compose';\n\nfunction getBorder(value) {\n if (typeof value !== 'number') {\n return value;\n }\n\n return \"\".concat(value, \"px solid\");\n}\n\nexport var border = style({\n prop: 'border',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderTop = style({\n prop: 'borderTop',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderRight = style({\n prop: 'borderRight',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderBottom = style({\n prop: 'borderBottom',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderLeft = style({\n prop: 'borderLeft',\n themeKey: 'borders',\n transform: getBorder\n});\nexport var borderColor = style({\n prop: 'borderColor',\n themeKey: 'palette'\n});\nexport var borderRadius = style({\n prop: 'borderRadius',\n themeKey: 'shape'\n});\nvar borders = compose(border, borderTop, borderRight, borderBottom, borderLeft, borderColor, borderRadius);\nexport default borders;"]},"metadata":{},"sourceType":"module"}
|