@bufferapp/analyze-shared-components
Advanced tools
Comparing version 1.39.2 to 1.40.0
@@ -13,3 +13,3 @@ import React from 'react'; | ||
box-shadow: 0px 0px 10px rgba(48, 71, 89, 0.05); | ||
margin: 0 0 1.25rem; | ||
margin: 0 0 16px; | ||
@@ -16,0 +16,0 @@ &:after { |
@@ -9,3 +9,3 @@ import React from 'react'; | ||
align-items: center; | ||
padding: 1.5rem; | ||
padding: 16px; | ||
`; | ||
@@ -12,0 +12,0 @@ |
import React from 'react'; | ||
import Text from '@bufferapp/components/Text'; | ||
import Text from '@bufferapp/ui/Text'; | ||
import PropTypes from 'prop-types'; | ||
import styled from 'styled-components'; | ||
const Header = styled.h2` | ||
const Header = styled.div` | ||
margin: 0; | ||
@@ -12,2 +12,6 @@ padding: 0; | ||
align-items: center; | ||
h3 { | ||
margin: 0; | ||
} | ||
`; | ||
@@ -17,3 +21,3 @@ | ||
<Header> | ||
<Text color="outerSpace" weight="semi-bold" size="large"> | ||
<Text type="h3"> | ||
{children} | ||
@@ -20,0 +24,0 @@ </Text> |
@@ -26,3 +26,3 @@ import React from 'react'; | ||
const LayoutContents = styled.div` | ||
padding: 1.25rem 1.5rem; | ||
padding: 16px; | ||
overflow-y: auto; | ||
@@ -29,0 +29,0 @@ `; |
@@ -1,6 +0,2 @@ | ||
{"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/shared-components/CommonChart/chartConfig.jsx": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/shared-components/CommonChart/chartConfig.jsx","statementMap":{"0":{"start":{"line":9,"column":15},"end":{"line":9,"column":37}},"1":{"start":{"line":11,"column":2},"end":{"line":19,"column":3}},"2":{"start":{"line":12,"column":4},"end":{"line":12,"column":47}},"3":{"start":{"line":13,"column":9},"end":{"line":19,"column":3}},"4":{"start":{"line":14,"column":4},"end":{"line":14,"column":46}},"5":{"start":{"line":15,"column":9},"end":{"line":19,"column":3}},"6":{"start":{"line":16,"column":4},"end":{"line":16,"column":45}},"7":{"start":{"line":18,"column":4},"end":{"line":18,"column":43}},"8":{"start":{"line":21,"column":2},"end":{"line":21,"column":16}},"9":{"start":{"line":25,"column":15},"end":{"line":25,"column":49}},"10":{"start":{"line":26,"column":2},"end":{"line":26,"column":41}},"11":{"start":{"line":26,"column":23},"end":{"line":26,"column":41}},"12":{"start":{"line":27,"column":25},"end":{"line":27,"column":42}},"13":{"start":{"line":28,"column":2},"end":{"line":30,"column":3}},"14":{"start":{"line":29,"column":4},"end":{"line":29,"column":32}},"15":{"start":{"line":31,"column":2},"end":{"line":31,"column":26}},"16":{"start":{"line":34,"column":24},"end":{"line":56,"column":2}},"17":{"start":{"line":34,"column":31},"end":{"line":56,"column":1}},"18":{"start":{"line":58,"column":24},"end":{"line":110,"column":2}},"19":{"start":{"line":58,"column":31},"end":{"line":110,"column":1}},"20":{"start":{"line":112,"column":45},"end":{"line":121,"column":1}},"21":{"start":{"line":123,"column":22},"end":{"line":183,"column":1}},"22":{"start":{"line":160,"column":26},"end":{"line":160,"column":46}},"23":{"start":{"line":161,"column":28},"end":{"line":161,"column":80}},"24":{"start":{"line":163,"column":6},"end":{"line":166,"column":7}},"25":{"start":{"line":164,"column":8},"end":{"line":164,"column":40}},"26":{"start":{"line":165,"column":8},"end":{"line":165,"column":47}},"27":{"start":{"line":167,"column":6},"end":{"line":173,"column":8}},"28":{"start":{"line":178,"column":26},"end":{"line":178,"column":70}}},"fnMap":{"0":{"name":"truncateNumber","decl":{"start":{"line":8,"column":16},"end":{"line":8,"column":30}},"loc":{"start":{"line":8,"column":33},"end":{"line":22,"column":1}},"line":8},"1":{"name":"xAxisLabelFormatter","decl":{"start":{"line":24,"column":16},"end":{"line":24,"column":35}},"loc":{"start":{"line":24,"column":38},"end":{"line":32,"column":1}},"line":24},"2":{"name":"(anonymous_2)","decl":{"start":{"line":34,"column":24},"end":{"line":34,"column":25}},"loc":{"start":{"line":34,"column":31},"end":{"line":56,"column":1}},"line":34},"3":{"name":"(anonymous_3)","decl":{"start":{"line":58,"column":24},"end":{"line":58,"column":25}},"loc":{"start":{"line":58,"column":31},"end":{"line":110,"column":1}},"line":58},"4":{"name":"(anonymous_4)","decl":{"start":{"line":123,"column":15},"end":{"line":123,"column":16}},"loc":{"start":{"line":123,"column":22},"end":{"line":183,"column":1}},"line":123},"5":{"name":"(anonymous_5)","decl":{"start":{"line":178,"column":20},"end":{"line":178,"column":21}},"loc":{"start":{"line":178,"column":26},"end":{"line":178,"column":70}},"line":178}},"branchMap":{"0":{"loc":{"start":{"line":11,"column":2},"end":{"line":19,"column":3}},"type":"if","locations":[{"start":{"line":11,"column":2},"end":{"line":19,"column":3}},{"start":{"line":11,"column":2},"end":{"line":19,"column":3}}],"line":11},"1":{"loc":{"start":{"line":13,"column":9},"end":{"line":19,"column":3}},"type":"if","locations":[{"start":{"line":13,"column":9},"end":{"line":19,"column":3}},{"start":{"line":13,"column":9},"end":{"line":19,"column":3}}],"line":13},"2":{"loc":{"start":{"line":15,"column":9},"end":{"line":19,"column":3}},"type":"if","locations":[{"start":{"line":15,"column":9},"end":{"line":19,"column":3}},{"start":{"line":15,"column":9},"end":{"line":19,"column":3}}],"line":15},"3":{"loc":{"start":{"line":15,"column":13},"end":{"line":15,"column":37}},"type":"binary-expr","locations":[{"start":{"line":15,"column":13},"end":{"line":15,"column":23}},{"start":{"line":15,"column":27},"end":{"line":15,"column":37}}],"line":15},"4":{"loc":{"start":{"line":26,"column":2},"end":{"line":26,"column":41}},"type":"if","locations":[{"start":{"line":26,"column":2},"end":{"line":26,"column":41}},{"start":{"line":26,"column":2},"end":{"line":26,"column":41}}],"line":26},"5":{"loc":{"start":{"line":28,"column":2},"end":{"line":30,"column":3}},"type":"if","locations":[{"start":{"line":28,"column":2},"end":{"line":30,"column":3}},{"start":{"line":28,"column":2},"end":{"line":30,"column":3}}],"line":28},"6":{"loc":{"start":{"line":28,"column":6},"end":{"line":28,"column":36}},"type":"binary-expr","locations":[{"start":{"line":28,"column":6},"end":{"line":28,"column":18}},{"start":{"line":28,"column":22},"end":{"line":28,"column":36}}],"line":28},"7":{"loc":{"start":{"line":161,"column":28},"end":{"line":161,"column":80}},"type":"cond-expr","locations":[{"start":{"line":161,"column":53},"end":{"line":161,"column":73}},{"start":{"line":161,"column":76},"end":{"line":161,"column":80}}],"line":161},"8":{"loc":{"start":{"line":163,"column":6},"end":{"line":166,"column":7}},"type":"if","locations":[{"start":{"line":163,"column":6},"end":{"line":166,"column":7}},{"start":{"line":163,"column":6},"end":{"line":166,"column":7}}],"line":163},"9":{"loc":{"start":{"line":163,"column":10},"end":{"line":163,"column":106}},"type":"binary-expr","locations":[{"start":{"line":163,"column":10},"end":{"line":163,"column":37}},{"start":{"line":163,"column":41},"end":{"line":163,"column":56}},{"start":{"line":163,"column":60},"end":{"line":163,"column":106}}],"line":163},"10":{"loc":{"start":{"line":170,"column":27},"end":{"line":170,"column":78}},"type":"cond-expr","locations":[{"start":{"line":170,"column":45},"end":{"line":170,"column":71}},{"start":{"line":170,"column":74},"end":{"line":170,"column":78}}],"line":170}},"s":{"0":6,"1":6,"2":0,"3":6,"4":4,"5":2,"6":1,"7":1,"8":6,"9":3,"10":3,"11":1,"12":2,"13":2,"14":1,"15":1,"16":1,"17":0,"18":1,"19":0,"20":1,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0},"f":{"0":6,"1":3,"2":0,"3":0,"4":0,"5":0},"b":{"0":[0,6],"1":[4,2],"2":[1,1],"3":[2,1],"4":[1,2],"5":[1,1],"6":[2,2],"7":[0,0],"8":[0,0],"9":[0,0,0],"10":[0,0]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"a69fab58619f81cf2e0a015b3bae20e3fb36e0b7"} | ||
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/shared-components/CommonChart/components/ChartTooltip/index.jsx": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/shared-components/CommonChart/components/ChartTooltip/index.jsx","statementMap":{"0":{"start":{"line":11,"column":21},"end":{"line":11,"column":26}},"1":{"start":{"line":14,"column":2},"end":{"line":14,"column":34}},"2":{"start":{"line":18,"column":2},"end":{"line":18,"column":51}},"3":{"start":{"line":22,"column":16},"end":{"line":22,"column":18}},"4":{"start":{"line":23,"column":2},"end":{"line":27,"column":3}},"5":{"start":{"line":25,"column":6},"end":{"line":25,"column":23}},"6":{"start":{"line":26,"column":6},"end":{"line":26,"column":12}},"7":{"start":{"line":28,"column":2},"end":{"line":28,"column":47}},"8":{"start":{"line":32,"column":2},"end":{"line":32,"column":38}},"9":{"start":{"line":36,"column":2},"end":{"line":39,"column":3}},"10":{"start":{"line":38,"column":6},"end":{"line":38,"column":32}},"11":{"start":{"line":43,"column":23},"end":{"line":60,"column":5}},"12":{"start":{"line":61,"column":2},"end":{"line":61,"column":22}},"13":{"start":{"line":64,"column":20},"end":{"line":78,"column":1}},"14":{"start":{"line":67,"column":2},"end":{"line":77,"column":9}},"15":{"start":{"line":80,"column":0},"end":{"line":86,"column":2}},"16":{"start":{"line":88,"column":20},"end":{"line":94,"column":1}},"17":{"start":{"line":91,"column":2},"end":{"line":93,"column":9}},"18":{"start":{"line":92,"column":22},"end":{"line":92,"column":62}},"19":{"start":{"line":96,"column":0},"end":{"line":102,"column":2}},"20":{"start":{"line":104,"column":23},"end":{"line":124,"column":1}},"21":{"start":{"line":110,"column":2},"end":{"line":123,"column":9}},"22":{"start":{"line":126,"column":0},"end":{"line":144,"column":2}},"23":{"start":{"line":146,"column":0},"end":{"line":149,"column":2}},"24":{"start":{"line":151,"column":22},"end":{"line":168,"column":1}},"25":{"start":{"line":156,"column":2},"end":{"line":167,"column":9}},"26":{"start":{"line":170,"column":0},"end":{"line":183,"column":2}},"27":{"start":{"line":185,"column":0},"end":{"line":187,"column":2}},"28":{"start":{"line":189,"column":15},"end":{"line":197,"column":1}},"29":{"start":{"line":192,"column":2},"end":{"line":196,"column":9}},"30":{"start":{"line":199,"column":0},"end":{"line":201,"column":2}},"31":{"start":{"line":203,"column":21},"end":{"line":225,"column":1}},"32":{"start":{"line":209,"column":2},"end":{"line":224,"column":8}},"33":{"start":{"line":227,"column":0},"end":{"line":234,"column":2}},"34":{"start":{"line":236,"column":0},"end":{"line":239,"column":2}}},"fnMap":{"0":{"name":"transformLabelForTooltip","decl":{"start":{"line":13,"column":9},"end":{"line":13,"column":33}},"loc":{"start":{"line":13,"column":41},"end":{"line":15,"column":1}},"line":13},"1":{"name":"isUpdatesMetric","decl":{"start":{"line":17,"column":9},"end":{"line":17,"column":24}},"loc":{"start":{"line":17,"column":32},"end":{"line":19,"column":1}},"line":17},"2":{"name":"postsWording","decl":{"start":{"line":21,"column":9},"end":{"line":21,"column":21}},"loc":{"start":{"line":21,"column":45},"end":{"line":29,"column":1}},"line":21},"3":{"name":"wasOrWere","decl":{"start":{"line":31,"column":9},"end":{"line":31,"column":18}},"loc":{"start":{"line":31,"column":26},"end":{"line":33,"column":1}},"line":31},"4":{"name":"rewardWording","decl":{"start":{"line":35,"column":9},"end":{"line":35,"column":22}},"loc":{"start":{"line":35,"column":39},"end":{"line":40,"column":1}},"line":35},"5":{"name":"parsePresetRewardWording","decl":{"start":{"line":42,"column":9},"end":{"line":42,"column":33}},"loc":{"start":{"line":42,"column":52},"end":{"line":62,"column":1}},"line":42},"6":{"name":"(anonymous_6)","decl":{"start":{"line":64,"column":20},"end":{"line":64,"column":21}},"loc":{"start":{"line":67,"column":2},"end":{"line":77,"column":9}},"line":67},"7":{"name":"(anonymous_7)","decl":{"start":{"line":88,"column":20},"end":{"line":88,"column":21}},"loc":{"start":{"line":91,"column":2},"end":{"line":93,"column":9}},"line":91},"8":{"name":"(anonymous_8)","decl":{"start":{"line":92,"column":17},"end":{"line":92,"column":18}},"loc":{"start":{"line":92,"column":22},"end":{"line":92,"column":62}},"line":92},"9":{"name":"(anonymous_9)","decl":{"start":{"line":104,"column":23},"end":{"line":104,"column":24}},"loc":{"start":{"line":110,"column":2},"end":{"line":123,"column":9}},"line":110},"10":{"name":"(anonymous_10)","decl":{"start":{"line":151,"column":22},"end":{"line":151,"column":23}},"loc":{"start":{"line":156,"column":2},"end":{"line":167,"column":9}},"line":156},"11":{"name":"(anonymous_11)","decl":{"start":{"line":189,"column":15},"end":{"line":189,"column":16}},"loc":{"start":{"line":192,"column":2},"end":{"line":196,"column":9}},"line":192},"12":{"name":"(anonymous_12)","decl":{"start":{"line":203,"column":21},"end":{"line":203,"column":22}},"loc":{"start":{"line":209,"column":2},"end":{"line":224,"column":8}},"line":209}},"branchMap":{"0":{"loc":{"start":{"line":23,"column":2},"end":{"line":27,"column":3}},"type":"switch","locations":[{"start":{"line":24,"column":4},"end":{"line":26,"column":12}}],"line":23},"1":{"loc":{"start":{"line":28,"column":22},"end":{"line":28,"column":44}},"type":"cond-expr","locations":[{"start":{"line":28,"column":36},"end":{"line":28,"column":38}},{"start":{"line":28,"column":41},"end":{"line":28,"column":44}}],"line":28},"2":{"loc":{"start":{"line":32,"column":9},"end":{"line":32,"column":37}},"type":"cond-expr","locations":[{"start":{"line":32,"column":23},"end":{"line":32,"column":28}},{"start":{"line":32,"column":31},"end":{"line":32,"column":37}}],"line":32},"3":{"loc":{"start":{"line":36,"column":2},"end":{"line":39,"column":3}},"type":"switch","locations":[{"start":{"line":37,"column":4},"end":{"line":38,"column":32}}],"line":36},"4":{"loc":{"start":{"line":55,"column":6},"end":{"line":55,"column":37}},"type":"cond-expr","locations":[{"start":{"line":55,"column":26},"end":{"line":55,"column":30}},{"start":{"line":55,"column":33},"end":{"line":55,"column":37}}],"line":55},"5":{"loc":{"start":{"line":59,"column":6},"end":{"line":59,"column":34}},"type":"cond-expr","locations":[{"start":{"line":59,"column":25},"end":{"line":59,"column":29}},{"start":{"line":59,"column":32},"end":{"line":59,"column":34}}],"line":59},"6":{"loc":{"start":{"line":68,"column":5},"end":{"line":76,"column":11}},"type":"binary-expr","locations":[{"start":{"line":68,"column":5},"end":{"line":68,"column":35}},{"start":{"line":68,"column":39},"end":{"line":76,"column":11}}],"line":68},"7":{"loc":{"start":{"line":111,"column":5},"end":{"line":118,"column":13}},"type":"binary-expr","locations":[{"start":{"line":111,"column":5},"end":{"line":111,"column":34}},{"start":{"line":112,"column":6},"end":{"line":118,"column":13}}],"line":111},"8":{"loc":{"start":{"line":122,"column":5},"end":{"line":122,"column":81}},"type":"binary-expr","locations":[{"start":{"line":122,"column":5},"end":{"line":122,"column":12}},{"start":{"line":122,"column":16},"end":{"line":122,"column":44}},{"start":{"line":122,"column":48},"end":{"line":122,"column":81}}],"line":122},"9":{"loc":{"start":{"line":221,"column":5},"end":{"line":221,"column":90}},"type":"binary-expr","locations":[{"start":{"line":221,"column":5},"end":{"line":221,"column":23}},{"start":{"line":221,"column":27},"end":{"line":221,"column":55}},{"start":{"line":221,"column":59},"end":{"line":221,"column":90}}],"line":221},"10":{"loc":{"start":{"line":222,"column":5},"end":{"line":222,"column":81}},"type":"binary-expr","locations":[{"start":{"line":222,"column":5},"end":{"line":222,"column":17}},{"start":{"line":222,"column":21},"end":{"line":222,"column":81}}],"line":222},"11":{"loc":{"start":{"line":223,"column":5},"end":{"line":223,"column":83}},"type":"binary-expr","locations":[{"start":{"line":223,"column":5},"end":{"line":223,"column":18}},{"start":{"line":223,"column":22},"end":{"line":223,"column":83}}],"line":223}},"s":{"0":1,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":1,"14":0,"15":1,"16":1,"17":0,"18":0,"19":1,"20":1,"21":0,"22":1,"23":1,"24":1,"25":0,"26":1,"27":1,"28":1,"29":0,"30":1,"31":1,"32":0,"33":1,"34":1},"f":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0},"b":{"0":[0],"1":[0,0],"2":[0,0],"3":[0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0,0],"9":[0,0,0],"10":[0,0],"11":[0,0]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"b34f2f0a2bba87cf769352eeaa8efebe3a4edfa9"} | ||
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/shared-components/MetricIcon/index.jsx": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/shared-components/MetricIcon/index.jsx","statementMap":{"0":{"start":{"line":12,"column":17},"end":{"line":12,"column":18}},"1":{"start":{"line":13,"column":13},"end":{"line":13,"column":15}},"2":{"start":{"line":14,"column":14},"end":{"line":23,"column":1}},"3":{"start":{"line":26,"column":17},"end":{"line":26,"column":22}},"4":{"start":{"line":27,"column":2},"end":{"line":30,"column":3}},"5":{"start":{"line":28,"column":4},"end":{"line":28,"column":27}},"6":{"start":{"line":29,"column":4},"end":{"line":29,"column":20}},"7":{"start":{"line":33,"column":14},"end":{"line":33,"column":33}},"8":{"start":{"line":34,"column":10},"end":{"line":34,"column":27}},"9":{"start":{"line":35,"column":2},"end":{"line":36,"column":24}},"10":{"start":{"line":35,"column":15},"end":{"line":35,"column":23}},"11":{"start":{"line":36,"column":7},"end":{"line":36,"column":24}},"12":{"start":{"line":36,"column":18},"end":{"line":36,"column":24}},"13":{"start":{"line":38,"column":10},"end":{"line":38,"column":37}},"14":{"start":{"line":39,"column":2},"end":{"line":40,"column":24}},"15":{"start":{"line":39,"column":15},"end":{"line":39,"column":23}},"16":{"start":{"line":40,"column":7},"end":{"line":40,"column":24}},"17":{"start":{"line":40,"column":18},"end":{"line":40,"column":24}},"18":{"start":{"line":42,"column":10},"end":{"line":42,"column":32}},"19":{"start":{"line":43,"column":2},"end":{"line":44,"column":24}},"20":{"start":{"line":43,"column":15},"end":{"line":43,"column":23}},"21":{"start":{"line":44,"column":7},"end":{"line":44,"column":24}},"22":{"start":{"line":44,"column":18},"end":{"line":44,"column":24}},"23":{"start":{"line":46,"column":2},"end":{"line":46,"column":76}},"24":{"start":{"line":50,"column":16},"end":{"line":50,"column":80}},"25":{"start":{"line":51,"column":2},"end":{"line":55,"column":5}},"26":{"start":{"line":58,"column":19},"end":{"line":58,"column":74}},"27":{"start":{"line":58,"column":36},"end":{"line":58,"column":73}},"28":{"start":{"line":60,"column":0},"end":{"line":65,"column":2}}},"fnMap":{"0":{"name":"lightenDarkenColor","decl":{"start":{"line":25,"column":9},"end":{"line":25,"column":27}},"loc":{"start":{"line":25,"column":40},"end":{"line":47,"column":1}},"line":25},"1":{"name":"getIconStyle","decl":{"start":{"line":49,"column":9},"end":{"line":49,"column":21}},"loc":{"start":{"line":49,"column":30},"end":{"line":56,"column":1}},"line":49},"2":{"name":"(anonymous_2)","decl":{"start":{"line":58,"column":19},"end":{"line":58,"column":20}},"loc":{"start":{"line":58,"column":36},"end":{"line":58,"column":73}},"line":58}},"branchMap":{"0":{"loc":{"start":{"line":27,"column":2},"end":{"line":30,"column":3}},"type":"if","locations":[{"start":{"line":27,"column":2},"end":{"line":30,"column":3}},{"start":{"line":27,"column":2},"end":{"line":30,"column":3}}],"line":27},"1":{"loc":{"start":{"line":35,"column":2},"end":{"line":36,"column":24}},"type":"if","locations":[{"start":{"line":35,"column":2},"end":{"line":36,"column":24}},{"start":{"line":35,"column":2},"end":{"line":36,"column":24}}],"line":35},"2":{"loc":{"start":{"line":36,"column":7},"end":{"line":36,"column":24}},"type":"if","locations":[{"start":{"line":36,"column":7},"end":{"line":36,"column":24}},{"start":{"line":36,"column":7},"end":{"line":36,"column":24}}],"line":36},"3":{"loc":{"start":{"line":39,"column":2},"end":{"line":40,"column":24}},"type":"if","locations":[{"start":{"line":39,"column":2},"end":{"line":40,"column":24}},{"start":{"line":39,"column":2},"end":{"line":40,"column":24}}],"line":39},"4":{"loc":{"start":{"line":40,"column":7},"end":{"line":40,"column":24}},"type":"if","locations":[{"start":{"line":40,"column":7},"end":{"line":40,"column":24}},{"start":{"line":40,"column":7},"end":{"line":40,"column":24}}],"line":40},"5":{"loc":{"start":{"line":43,"column":2},"end":{"line":44,"column":24}},"type":"if","locations":[{"start":{"line":43,"column":2},"end":{"line":44,"column":24}},{"start":{"line":43,"column":2},"end":{"line":44,"column":24}}],"line":43},"6":{"loc":{"start":{"line":44,"column":7},"end":{"line":44,"column":24}},"type":"if","locations":[{"start":{"line":44,"column":7},"end":{"line":44,"column":24}},{"start":{"line":44,"column":7},"end":{"line":44,"column":24}}],"line":44},"7":{"loc":{"start":{"line":46,"column":12},"end":{"line":46,"column":31}},"type":"cond-expr","locations":[{"start":{"line":46,"column":23},"end":{"line":46,"column":26}},{"start":{"line":46,"column":29},"end":{"line":46,"column":31}}],"line":46},"8":{"loc":{"start":{"line":50,"column":16},"end":{"line":50,"column":80}},"type":"cond-expr","locations":[{"start":{"line":50,"column":31},"end":{"line":50,"column":43}},{"start":{"line":50,"column":46},"end":{"line":50,"column":80}}],"line":50},"9":{"loc":{"start":{"line":50,"column":46},"end":{"line":50,"column":80}},"type":"binary-expr","locations":[{"start":{"line":50,"column":46},"end":{"line":50,"column":70}},{"start":{"line":50,"column":74},"end":{"line":50,"column":80}}],"line":50},"10":{"loc":{"start":{"line":54,"column":21},"end":{"line":54,"column":50}},"type":"cond-expr","locations":[{"start":{"line":54,"column":42},"end":{"line":54,"column":43}},{"start":{"line":54,"column":46},"end":{"line":54,"column":50}}],"line":54}},"s":{"0":1,"1":1,"2":1,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":1,"27":0,"28":1},"f":{"0":0,"1":0,"2":0},"b":{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"b41d560632fa7c38369714d08a5601c406333380"} | ||
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/shared-components/TruncatedNumber/index.jsx": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/shared-components/TruncatedNumber/index.jsx","statementMap":{"0":{"start":{"line":5,"column":24},"end":{"line":33,"column":1}},"1":{"start":{"line":6,"column":15},"end":{"line":6,"column":23}},"2":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"3":{"start":{"line":9,"column":4},"end":{"line":9,"column":26}},"4":{"start":{"line":12,"column":2},"end":{"line":14,"column":3}},"5":{"start":{"line":13,"column":4},"end":{"line":13,"column":17}},"6":{"start":{"line":16,"column":24},"end":{"line":16,"column":30}},"7":{"start":{"line":18,"column":2},"end":{"line":30,"column":3}},"8":{"start":{"line":19,"column":4},"end":{"line":19,"column":56}},"9":{"start":{"line":20,"column":9},"end":{"line":30,"column":3}},"10":{"start":{"line":21,"column":4},"end":{"line":21,"column":51}},"11":{"start":{"line":22,"column":9},"end":{"line":30,"column":3}},"12":{"start":{"line":23,"column":4},"end":{"line":23,"column":53}},"13":{"start":{"line":24,"column":9},"end":{"line":30,"column":3}},"14":{"start":{"line":25,"column":4},"end":{"line":25,"column":52}},"15":{"start":{"line":26,"column":9},"end":{"line":30,"column":3}},"16":{"start":{"line":27,"column":4},"end":{"line":27,"column":54}},"17":{"start":{"line":29,"column":4},"end":{"line":29,"column":52}},"18":{"start":{"line":32,"column":2},"end":{"line":32,"column":64}},"19":{"start":{"line":35,"column":0},"end":{"line":40,"column":2}},"20":{"start":{"line":42,"column":0},"end":{"line":47,"column":2}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":5,"column":24},"end":{"line":5,"column":25}},"loc":{"start":{"line":5,"column":89},"end":{"line":33,"column":1}},"line":5}},"branchMap":{"0":{"loc":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"type":"if","locations":[{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},{"start":{"line":8,"column":2},"end":{"line":10,"column":3}}],"line":8},"1":{"loc":{"start":{"line":12,"column":2},"end":{"line":14,"column":3}},"type":"if","locations":[{"start":{"line":12,"column":2},"end":{"line":14,"column":3}},{"start":{"line":12,"column":2},"end":{"line":14,"column":3}}],"line":12},"2":{"loc":{"start":{"line":12,"column":6},"end":{"line":12,"column":33}},"type":"binary-expr","locations":[{"start":{"line":12,"column":6},"end":{"line":12,"column":16}},{"start":{"line":12,"column":20},"end":{"line":12,"column":33}}],"line":12},"3":{"loc":{"start":{"line":18,"column":2},"end":{"line":30,"column":3}},"type":"if","locations":[{"start":{"line":18,"column":2},"end":{"line":30,"column":3}},{"start":{"line":18,"column":2},"end":{"line":30,"column":3}}],"line":18},"4":{"loc":{"start":{"line":20,"column":9},"end":{"line":30,"column":3}},"type":"if","locations":[{"start":{"line":20,"column":9},"end":{"line":30,"column":3}},{"start":{"line":20,"column":9},"end":{"line":30,"column":3}}],"line":20},"5":{"loc":{"start":{"line":20,"column":13},"end":{"line":20,"column":46}},"type":"binary-expr","locations":[{"start":{"line":20,"column":13},"end":{"line":20,"column":26}},{"start":{"line":20,"column":30},"end":{"line":20,"column":46}}],"line":20},"6":{"loc":{"start":{"line":22,"column":9},"end":{"line":30,"column":3}},"type":"if","locations":[{"start":{"line":22,"column":9},"end":{"line":30,"column":3}},{"start":{"line":22,"column":9},"end":{"line":30,"column":3}}],"line":22},"7":{"loc":{"start":{"line":24,"column":9},"end":{"line":30,"column":3}},"type":"if","locations":[{"start":{"line":24,"column":9},"end":{"line":30,"column":3}},{"start":{"line":24,"column":9},"end":{"line":30,"column":3}}],"line":24},"8":{"loc":{"start":{"line":24,"column":13},"end":{"line":24,"column":57}},"type":"binary-expr","locations":[{"start":{"line":24,"column":13},"end":{"line":24,"column":24}},{"start":{"line":24,"column":28},"end":{"line":24,"column":38}},{"start":{"line":24,"column":42},"end":{"line":24,"column":57}}],"line":24},"9":{"loc":{"start":{"line":26,"column":9},"end":{"line":30,"column":3}},"type":"if","locations":[{"start":{"line":26,"column":9},"end":{"line":30,"column":3}},{"start":{"line":26,"column":9},"end":{"line":30,"column":3}}],"line":26},"10":{"loc":{"start":{"line":26,"column":13},"end":{"line":26,"column":37}},"type":"binary-expr","locations":[{"start":{"line":26,"column":13},"end":{"line":26,"column":23}},{"start":{"line":26,"column":27},"end":{"line":26,"column":37}}],"line":26},"11":{"loc":{"start":{"line":32,"column":33},"end":{"line":32,"column":55}},"type":"binary-expr","locations":[{"start":{"line":32,"column":33},"end":{"line":32,"column":48}},{"start":{"line":32,"column":52},"end":{"line":32,"column":55}}],"line":32}},"s":{"0":1,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":1,"20":1},"f":{"0":0},"b":{"0":[0,0],"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0,0],"9":[0,0],"10":[0,0],"11":[0,0]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"e3fb5365737a83db2e8b438d6441edf70c1e2ab6"} | ||
,"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/shared-components/style/index.js": {"path":"/Users/mike/repository/buffer/buffer-dev/buffer-analyze/packages/shared-components/style/index.js","statementMap":{"0":{"start":{"line":2,"column":21},"end":{"line":30,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":1},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"9768862ba2bfc5f78155d68287fdd5a35c97d380"} | ||
{"/Users/julianagomez/Documents/buffer/buffer-analyze/packages/shared-components/utils/chartUtils/chartConfig.jsx": {"path":"/Users/julianagomez/Documents/buffer/buffer-analyze/packages/shared-components/utils/chartUtils/chartConfig.jsx","statementMap":{"0":{"start":{"line":6,"column":15},"end":{"line":6,"column":37}},"1":{"start":{"line":8,"column":2},"end":{"line":16,"column":3}},"2":{"start":{"line":9,"column":4},"end":{"line":9,"column":47}},"3":{"start":{"line":10,"column":9},"end":{"line":16,"column":3}},"4":{"start":{"line":11,"column":4},"end":{"line":11,"column":46}},"5":{"start":{"line":12,"column":9},"end":{"line":16,"column":3}},"6":{"start":{"line":13,"column":4},"end":{"line":13,"column":45}},"7":{"start":{"line":15,"column":4},"end":{"line":15,"column":43}},"8":{"start":{"line":18,"column":2},"end":{"line":18,"column":16}},"9":{"start":{"line":22,"column":15},"end":{"line":22,"column":49}},"10":{"start":{"line":23,"column":2},"end":{"line":23,"column":41}},"11":{"start":{"line":23,"column":23},"end":{"line":23,"column":41}},"12":{"start":{"line":24,"column":25},"end":{"line":24,"column":42}},"13":{"start":{"line":25,"column":2},"end":{"line":27,"column":3}},"14":{"start":{"line":26,"column":4},"end":{"line":26,"column":32}},"15":{"start":{"line":28,"column":2},"end":{"line":28,"column":26}},"16":{"start":{"line":31,"column":24},"end":{"line":53,"column":2}},"17":{"start":{"line":31,"column":31},"end":{"line":53,"column":1}},"18":{"start":{"line":55,"column":24},"end":{"line":140,"column":1}},"19":{"start":{"line":56,"column":16},"end":{"line":108,"column":3}},"20":{"start":{"line":110,"column":2},"end":{"line":137,"column":3}},"21":{"start":{"line":111,"column":4},"end":{"line":136,"column":6}},"22":{"start":{"line":139,"column":2},"end":{"line":139,"column":15}},"23":{"start":{"line":142,"column":45},"end":{"line":151,"column":1}},"24":{"start":{"line":153,"column":36},"end":{"line":160,"column":1}},"25":{"start":{"line":154,"column":17},"end":{"line":154,"column":33}},"26":{"start":{"line":155,"column":25},"end":{"line":155,"column":48}},"27":{"start":{"line":157,"column":2},"end":{"line":159,"column":11}},"28":{"start":{"line":163,"column":15},"end":{"line":163,"column":17}},"29":{"start":{"line":164,"column":24},"end":{"line":164,"column":69}},"30":{"start":{"line":164,"column":40},"end":{"line":164,"column":68}},"31":{"start":{"line":164,"column":60},"end":{"line":164,"column":67}},"32":{"start":{"line":165,"column":2},"end":{"line":165,"column":63}},"33":{"start":{"line":165,"column":33},"end":{"line":165,"column":59}},"34":{"start":{"line":166,"column":2},"end":{"line":166,"column":16}},"35":{"start":{"line":170,"column":2},"end":{"line":188,"column":3}},"36":{"start":{"line":171,"column":18},"end":{"line":171,"column":40}},"37":{"start":{"line":172,"column":4},"end":{"line":172,"column":31}},"38":{"start":{"line":173,"column":4},"end":{"line":173,"column":33}},"39":{"start":{"line":175,"column":18},"end":{"line":175,"column":45}},"40":{"start":{"line":176,"column":27},"end":{"line":176,"column":54}},"41":{"start":{"line":178,"column":4},"end":{"line":178,"column":31}},"42":{"start":{"line":179,"column":4},"end":{"line":179,"column":33}},"43":{"start":{"line":180,"column":4},"end":{"line":180,"column":40}},"44":{"start":{"line":181,"column":4},"end":{"line":181,"column":42}},"45":{"start":{"line":183,"column":4},"end":{"line":187,"column":5}},"46":{"start":{"line":184,"column":25},"end":{"line":184,"column":52}},"47":{"start":{"line":185,"column":6},"end":{"line":185,"column":38}},"48":{"start":{"line":186,"column":6},"end":{"line":186,"column":40}},"49":{"start":{"line":192,"column":24},"end":{"line":192,"column":52}},"50":{"start":{"line":193,"column":12},"end":{"line":193,"column":47}},"51":{"start":{"line":194,"column":12},"end":{"line":194,"column":47}},"52":{"start":{"line":195,"column":31},"end":{"line":195,"column":35}},"53":{"start":{"line":196,"column":31},"end":{"line":196,"column":34}},"54":{"start":{"line":197,"column":30},"end":{"line":197,"column":68}},"55":{"start":{"line":198,"column":2},"end":{"line":200,"column":3}},"56":{"start":{"line":199,"column":4},"end":{"line":199,"column":48}},"57":{"start":{"line":201,"column":33},"end":{"line":201,"column":71}},"58":{"start":{"line":202,"column":2},"end":{"line":204,"column":3}},"59":{"start":{"line":203,"column":4},"end":{"line":203,"column":51}},"60":{"start":{"line":205,"column":2},"end":{"line":205,"column":47}},"61":{"start":{"line":206,"column":2},"end":{"line":206,"column":44}},"62":{"start":{"line":207,"column":2},"end":{"line":210,"column":4}},"63":{"start":{"line":213,"column":29},"end":{"line":237,"column":1}},"64":{"start":{"line":215,"column":19},"end":{"line":215,"column":78}},"65":{"start":{"line":216,"column":22},"end":{"line":216,"column":27}},"66":{"start":{"line":217,"column":2},"end":{"line":232,"column":3}},"67":{"start":{"line":218,"column":30},"end":{"line":218,"column":91}},"68":{"start":{"line":219,"column":31},"end":{"line":219,"column":34}},"69":{"start":{"line":220,"column":26},"end":{"line":220,"column":27}},"70":{"start":{"line":221,"column":4},"end":{"line":225,"column":5}},"71":{"start":{"line":222,"column":6},"end":{"line":222,"column":79}},"72":{"start":{"line":224,"column":6},"end":{"line":224,"column":79}},"73":{"start":{"line":226,"column":4},"end":{"line":231,"column":5}},"74":{"start":{"line":227,"column":6},"end":{"line":227,"column":32}},"75":{"start":{"line":228,"column":6},"end":{"line":228,"column":27}},"76":{"start":{"line":230,"column":6},"end":{"line":230,"column":32}},"77":{"start":{"line":233,"column":2},"end":{"line":236,"column":20}},"78":{"start":{"line":234,"column":79},"end":{"line":234,"column":103}},"79":{"start":{"line":239,"column":34},"end":{"line":244,"column":1}},"80":{"start":{"line":240,"column":25},"end":{"line":240,"column":64}},"81":{"start":{"line":241,"column":2},"end":{"line":243,"column":10}},"82":{"start":{"line":246,"column":25},"end":{"line":251,"column":1}},"83":{"start":{"line":247,"column":25},"end":{"line":247,"column":64}},"84":{"start":{"line":248,"column":2},"end":{"line":250,"column":10}},"85":{"start":{"line":254,"column":17},"end":{"line":294,"column":3}},"86":{"start":{"line":296,"column":2},"end":{"line":296,"column":16}}},"fnMap":{"0":{"name":"truncateNumber","decl":{"start":{"line":5,"column":16},"end":{"line":5,"column":30}},"loc":{"start":{"line":5,"column":33},"end":{"line":19,"column":1}},"line":5},"1":{"name":"xAxisLabelFormatter","decl":{"start":{"line":21,"column":16},"end":{"line":21,"column":35}},"loc":{"start":{"line":21,"column":38},"end":{"line":29,"column":1}},"line":21},"2":{"name":"(anonymous_2)","decl":{"start":{"line":31,"column":24},"end":{"line":31,"column":25}},"loc":{"start":{"line":31,"column":31},"end":{"line":53,"column":1}},"line":31},"3":{"name":"(anonymous_3)","decl":{"start":{"line":55,"column":24},"end":{"line":55,"column":25}},"loc":{"start":{"line":55,"column":37},"end":{"line":140,"column":1}},"line":55},"4":{"name":"(anonymous_4)","decl":{"start":{"line":153,"column":36},"end":{"line":153,"column":37}},"loc":{"start":{"line":153,"column":53},"end":{"line":160,"column":1}},"line":153},"5":{"name":"reduceSeriesToValues","decl":{"start":{"line":162,"column":9},"end":{"line":162,"column":29}},"loc":{"start":{"line":162,"column":38},"end":{"line":167,"column":1}},"line":162},"6":{"name":"(anonymous_6)","decl":{"start":{"line":164,"column":35},"end":{"line":164,"column":36}},"loc":{"start":{"line":164,"column":40},"end":{"line":164,"column":68}},"line":164},"7":{"name":"(anonymous_7)","decl":{"start":{"line":164,"column":51},"end":{"line":164,"column":52}},"loc":{"start":{"line":164,"column":60},"end":{"line":164,"column":67}},"line":164},"8":{"name":"(anonymous_8)","decl":{"start":{"line":165,"column":24},"end":{"line":165,"column":25}},"loc":{"start":{"line":165,"column":31},"end":{"line":165,"column":61}},"line":165},"9":{"name":"setChartLimits","decl":{"start":{"line":169,"column":9},"end":{"line":169,"column":23}},"loc":{"start":{"line":169,"column":58},"end":{"line":189,"column":1}},"line":169},"10":{"name":"getSeriesRange","decl":{"start":{"line":191,"column":9},"end":{"line":191,"column":23}},"loc":{"start":{"line":191,"column":32},"end":{"line":211,"column":1}},"line":191},"11":{"name":"(anonymous_11)","decl":{"start":{"line":213,"column":29},"end":{"line":213,"column":30}},"loc":{"start":{"line":213,"column":97},"end":{"line":237,"column":1}},"line":213},"12":{"name":"(anonymous_12)","decl":{"start":{"line":234,"column":74},"end":{"line":234,"column":75}},"loc":{"start":{"line":234,"column":79},"end":{"line":234,"column":103}},"line":234},"13":{"name":"(anonymous_13)","decl":{"start":{"line":239,"column":34},"end":{"line":239,"column":35}},"loc":{"start":{"line":239,"column":45},"end":{"line":244,"column":1}},"line":239},"14":{"name":"(anonymous_14)","decl":{"start":{"line":246,"column":25},"end":{"line":246,"column":26}},"loc":{"start":{"line":246,"column":45},"end":{"line":251,"column":1}},"line":246},"15":{"name":"(anonymous_15)","decl":{"start":{"line":253,"column":15},"end":{"line":253,"column":16}},"loc":{"start":{"line":253,"column":51},"end":{"line":297,"column":1}},"line":253}},"branchMap":{"0":{"loc":{"start":{"line":8,"column":2},"end":{"line":16,"column":3}},"type":"if","locations":[{"start":{"line":8,"column":2},"end":{"line":16,"column":3}},{"start":{"line":8,"column":2},"end":{"line":16,"column":3}}],"line":8},"1":{"loc":{"start":{"line":10,"column":9},"end":{"line":16,"column":3}},"type":"if","locations":[{"start":{"line":10,"column":9},"end":{"line":16,"column":3}},{"start":{"line":10,"column":9},"end":{"line":16,"column":3}}],"line":10},"2":{"loc":{"start":{"line":12,"column":9},"end":{"line":16,"column":3}},"type":"if","locations":[{"start":{"line":12,"column":9},"end":{"line":16,"column":3}},{"start":{"line":12,"column":9},"end":{"line":16,"column":3}}],"line":12},"3":{"loc":{"start":{"line":12,"column":13},"end":{"line":12,"column":37}},"type":"binary-expr","locations":[{"start":{"line":12,"column":13},"end":{"line":12,"column":23}},{"start":{"line":12,"column":27},"end":{"line":12,"column":37}}],"line":12},"4":{"loc":{"start":{"line":23,"column":2},"end":{"line":23,"column":41}},"type":"if","locations":[{"start":{"line":23,"column":2},"end":{"line":23,"column":41}},{"start":{"line":23,"column":2},"end":{"line":23,"column":41}}],"line":23},"5":{"loc":{"start":{"line":25,"column":2},"end":{"line":27,"column":3}},"type":"if","locations":[{"start":{"line":25,"column":2},"end":{"line":27,"column":3}},{"start":{"line":25,"column":2},"end":{"line":27,"column":3}}],"line":25},"6":{"loc":{"start":{"line":25,"column":6},"end":{"line":25,"column":36}},"type":"binary-expr","locations":[{"start":{"line":25,"column":6},"end":{"line":25,"column":18}},{"start":{"line":25,"column":22},"end":{"line":25,"column":36}}],"line":25},"7":{"loc":{"start":{"line":110,"column":2},"end":{"line":137,"column":3}},"type":"if","locations":[{"start":{"line":110,"column":2},"end":{"line":137,"column":3}},{"start":{"line":110,"column":2},"end":{"line":137,"column":3}}],"line":110},"8":{"loc":{"start":{"line":157,"column":9},"end":{"line":159,"column":10}},"type":"cond-expr","locations":[{"start":{"line":158,"column":4},"end":{"line":158,"column":8}},{"start":{"line":159,"column":4},"end":{"line":159,"column":10}}],"line":157},"9":{"loc":{"start":{"line":170,"column":2},"end":{"line":188,"column":3}},"type":"if","locations":[{"start":{"line":170,"column":2},"end":{"line":188,"column":3}},{"start":{"line":170,"column":2},"end":{"line":188,"column":3}}],"line":170},"10":{"loc":{"start":{"line":183,"column":4},"end":{"line":187,"column":5}},"type":"if","locations":[{"start":{"line":183,"column":4},"end":{"line":187,"column":5}},{"start":{"line":183,"column":4},"end":{"line":187,"column":5}}],"line":183},"11":{"loc":{"start":{"line":198,"column":2},"end":{"line":200,"column":3}},"type":"if","locations":[{"start":{"line":198,"column":2},"end":{"line":200,"column":3}},{"start":{"line":198,"column":2},"end":{"line":200,"column":3}}],"line":198},"12":{"loc":{"start":{"line":202,"column":2},"end":{"line":204,"column":3}},"type":"if","locations":[{"start":{"line":202,"column":2},"end":{"line":204,"column":3}},{"start":{"line":202,"column":2},"end":{"line":204,"column":3}}],"line":202},"13":{"loc":{"start":{"line":217,"column":2},"end":{"line":232,"column":3}},"type":"if","locations":[{"start":{"line":217,"column":2},"end":{"line":232,"column":3}},{"start":{"line":217,"column":2},"end":{"line":232,"column":3}}],"line":217},"14":{"loc":{"start":{"line":221,"column":4},"end":{"line":225,"column":5}},"type":"if","locations":[{"start":{"line":221,"column":4},"end":{"line":225,"column":5}},{"start":{"line":221,"column":4},"end":{"line":225,"column":5}}],"line":221},"15":{"loc":{"start":{"line":226,"column":4},"end":{"line":231,"column":5}},"type":"if","locations":[{"start":{"line":226,"column":4},"end":{"line":231,"column":5}},{"start":{"line":226,"column":4},"end":{"line":231,"column":5}}],"line":226},"16":{"loc":{"start":{"line":226,"column":8},"end":{"line":226,"column":66}},"type":"binary-expr","locations":[{"start":{"line":226,"column":8},"end":{"line":226,"column":45}},{"start":{"line":226,"column":49},"end":{"line":226,"column":66}}],"line":226},"17":{"loc":{"start":{"line":241,"column":9},"end":{"line":243,"column":9}},"type":"cond-expr","locations":[{"start":{"line":242,"column":4},"end":{"line":242,"column":44}},{"start":{"line":243,"column":4},"end":{"line":243,"column":9}}],"line":241},"18":{"loc":{"start":{"line":248,"column":9},"end":{"line":250,"column":9}},"type":"cond-expr","locations":[{"start":{"line":249,"column":4},"end":{"line":249,"column":50}},{"start":{"line":250,"column":4},"end":{"line":250,"column":9}}],"line":248},"19":{"loc":{"start":{"line":253,"column":31},"end":{"line":253,"column":46}},"type":"default-arg","locations":[{"start":{"line":253,"column":41},"end":{"line":253,"column":46}}],"line":253},"20":{"loc":{"start":{"line":273,"column":18},"end":{"line":273,"column":41}},"type":"cond-expr","locations":[{"start":{"line":273,"column":28},"end":{"line":273,"column":36}},{"start":{"line":273,"column":39},"end":{"line":273,"column":41}}],"line":273}},"s":{"0":6,"1":6,"2":0,"3":6,"4":4,"5":2,"6":1,"7":1,"8":6,"9":3,"10":3,"11":1,"12":2,"13":2,"14":1,"15":1,"16":1,"17":0,"18":1,"19":0,"20":0,"21":0,"22":0,"23":1,"24":1,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":1,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":1,"80":0,"81":0,"82":1,"83":0,"84":0,"85":0,"86":0},"f":{"0":6,"1":3,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0},"b":{"0":[0,6],"1":[4,2],"2":[1,1],"3":[2,1],"4":[1,2],"5":[1,1],"6":[2,2],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0],"17":[0,0],"18":[0,0],"19":[0],"20":[0,0]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"90c18d7cc2ec2dc05a3dd010f896c856e5e62c8e"} | ||
} |
@@ -51,3 +51,3 @@ import React from 'react'; | ||
color: ${outerSpace}; | ||
padding: 1.2rem 1rem 1rem 1rem; | ||
padding: 1rem; | ||
text-align: left; | ||
@@ -65,3 +65,3 @@ align-items: center; | ||
width: 46px; | ||
padding: 1.2rem 1rem 1rem 0; | ||
padding-left: 0; | ||
text-align: right; | ||
@@ -68,0 +68,0 @@ border-right: 0px; |
@@ -19,4 +19,3 @@ import React from 'react'; | ||
justify-content: center; | ||
padding-left: 0; | ||
padding-right: 1rem; | ||
margin: 0 0 ${props => props.inline ? '' : '1.25rem'}; | ||
@@ -60,3 +59,3 @@ | ||
const GridItemChartContainer = styled.div` | ||
border: 1px solid #ECEEEF; | ||
border: 1px solid #CCDAE5; | ||
border-width: 0 0 1px; | ||
@@ -63,0 +62,0 @@ margin: 0 0 1rem; |
@@ -7,3 +7,3 @@ import styled from 'styled-components'; | ||
align-items: center; | ||
padding: ${props => props.big ? '20px' : '12px'} 0 ${props => props.big ? '20px' : '12px'} 24px; | ||
padding: ${props => props.big ? '20px' : '12px'} 0 ${props => props.big ? '20px' : '12px'} 16px; | ||
justify-content: space-between; | ||
@@ -10,0 +10,0 @@ background: #ffffff; |
@@ -13,19 +13,2 @@ import React, { Component } from "react"; | ||
const animationDropper = keyframes` | ||
0% { opacity: 0; } | ||
50% { opacity: 0; } | ||
100% { opacity: 1; } | ||
`; | ||
const animationInfo = keyframes` | ||
0% { | ||
opacity: 0; | ||
transform: translateX(-8px); | ||
} | ||
100% { | ||
opacity: 0.3; | ||
transform: translateX(0); | ||
} | ||
`; | ||
const Container = styled.div` | ||
@@ -41,17 +24,4 @@ display: inline-block; | ||
svg { | ||
width: 0.75rem !important; | ||
height: 0.75rem !important; | ||
opacity: 0; | ||
transform: translateX(-8px); | ||
color: #333e46; | ||
} | ||
&:hover { | ||
cursor: pointer; | ||
svg { | ||
transform: translateX(0); | ||
opacity: 0.3; | ||
animation: ${animationInfo} 50ms ease-out; | ||
} | ||
} | ||
@@ -64,3 +34,3 @@ `; | ||
position: absolute; | ||
bottom: 1.75rem; | ||
bottom: ${props => props.isButton ? '34px' : '1.75rem'}; | ||
left: auto; /* calculated later */ | ||
@@ -85,23 +55,2 @@ background: rgba(0, 0, 0, 0.8); | ||
const Dropper = styled.div` | ||
display: none; | ||
opacity: 0; | ||
position: absolute; | ||
left: 0; | ||
bottom: 25px; | ||
width: 12px; | ||
height: 12px; | ||
background: #333e46; | ||
border-radius: 2px; | ||
transform: rotate(45deg); | ||
${(props) => | ||
props.show && | ||
css` | ||
display: block; | ||
animation: ${animationDropper} 250ms linear; | ||
opacity: 1; | ||
`} | ||
`; | ||
function normalizeLabel(label) { | ||
@@ -118,3 +67,3 @@ // this is to ensure we strip any erronous capital letters from label | ||
show: false, | ||
left: 0, | ||
left: -100, | ||
}; | ||
@@ -176,3 +125,3 @@ } | ||
render() { | ||
const { children, label, text } = this.props; | ||
const { children, label, text, isButton } = this.props; | ||
const { show, left } = this.state; | ||
@@ -190,2 +139,4 @@ let content = label ? helpers[normalizeLabel(label)] : text; | ||
onMouseMove={this.handleMouseMove} | ||
onFocus={this.handleMouseOver} | ||
onBlur={this.handleMouseOut} | ||
> | ||
@@ -197,2 +148,3 @@ {children} | ||
style={{ left }} | ||
isButton={isButton} | ||
> | ||
@@ -199,0 +151,0 @@ <Text type='label' color="white"> |
@@ -51,2 +51,3 @@ import GridList from './GridList'; | ||
Page, | ||
Container | ||
} from './Layout'; | ||
@@ -53,0 +54,0 @@ export utils from './utils'; |
@@ -7,2 +7,7 @@ import React from 'react'; | ||
export const Container = styled.div` | ||
position: relative; | ||
padding: 0 16px 24px; | ||
`; | ||
export const LayoutPage = styled.div` | ||
@@ -9,0 +14,0 @@ display: grid; |
{ | ||
"name": "@bufferapp/analyze-shared-components", | ||
"version": "1.39.2", | ||
"version": "1.40.0", | ||
"description": "Shared components for Analyze", | ||
@@ -40,3 +40,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "550ae311410ce63dc1f803f3be5f298ed660f4f3" | ||
"gitHead": "8e7cf67e3f19a46b1b243541e3571ff07abd36b1" | ||
} |
@@ -10,3 +10,3 @@ import React from 'react'; | ||
const topPostsHeaderContainer = { | ||
padding: '0.75rem 1.5rem 1.5rem', | ||
padding: '0 16px 1.5rem', | ||
display: 'flex', | ||
@@ -13,0 +13,0 @@ justifyContent: 'space-between', |
@@ -32,3 +32,3 @@ import React, { useState } from 'react'; | ||
const PostsTableWrapper = styled.ol` | ||
padding: 0.75rem; | ||
padding: 0.75rem 16px; | ||
margin: 0; | ||
@@ -35,0 +35,0 @@ list-style: none; |
@@ -15,2 +15,3 @@ import React from "react"; | ||
margin: 0 auto; | ||
position: relative; | ||
`; | ||
@@ -50,2 +51,3 @@ | ||
controlMinMax={item.controlMinMax} | ||
inline | ||
/> | ||
@@ -52,0 +54,0 @@ ); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
483659
159
12082