react-flexa
Advanced tools
Comparing version 0.6.1 to 0.7.0
{"/home/travis/build/aaronvanston/react-flexa/src/config.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/config.js","statementMap":{"0":{"start":{"line":1,"column":27},"end":{"line":1,"column":34}}},"fnMap":{},"branchMap":{},"s":{"0":7},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"4413bcd3ee19a610dce1141c0eb68f5f09eb60d1"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/components/Col/Col.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/components/Col/Col.js","statementMap":{"0":{"start":{"line":8,"column":12},"end":{"line":27,"column":1}},"1":{"start":{"line":9,"column":2},"end":{"line":9,"column":75}},"2":{"start":{"line":16,"column":13},"end":{"line":26,"column":4}},"3":{"start":{"line":16,"column":68},"end":{"line":26,"column":3}},"4":{"start":{"line":29,"column":0},"end":{"line":33,"column":2}},"5":{"start":{"line":35,"column":32},"end":{"line":35,"column":99}},"6":{"start":{"line":37,"column":0},"end":{"line":89,"column":2}},"7":{"start":{"line":91,"column":0},"end":{"line":91,"column":24}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":19},"end":{"line":8,"column":20}},"loc":{"start":{"line":9,"column":2},"end":{"line":9,"column":75}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":16,"column":4},"end":{"line":16,"column":5}},"loc":{"start":{"line":16,"column":13},"end":{"line":26,"column":4}},"line":16},"2":{"name":"(anonymous_2)","decl":{"start":{"line":16,"column":54},"end":{"line":16,"column":55}},"loc":{"start":{"line":16,"column":68},"end":{"line":26,"column":3}},"line":16}},"branchMap":{},"s":{"0":1,"1":6,"2":5,"3":20,"4":1,"5":1,"6":1,"7":1},"f":{"0":6,"1":5,"2":20},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"74be4d761f739d194808633626fd8bf0c3a2ca17"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/components/Col/Col.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/components/Col/Col.js","statementMap":{"0":{"start":{"line":8,"column":12},"end":{"line":31,"column":1}},"1":{"start":{"line":9,"column":2},"end":{"line":9,"column":75}},"2":{"start":{"line":14,"column":13},"end":{"line":30,"column":4}},"3":{"start":{"line":14,"column":68},"end":{"line":30,"column":3}},"4":{"start":{"line":33,"column":0},"end":{"line":39,"column":2}},"5":{"start":{"line":41,"column":32},"end":{"line":41,"column":99}},"6":{"start":{"line":43,"column":0},"end":{"line":102,"column":2}},"7":{"start":{"line":104,"column":0},"end":{"line":104,"column":24}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":19},"end":{"line":8,"column":20}},"loc":{"start":{"line":9,"column":2},"end":{"line":9,"column":75}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":14,"column":4},"end":{"line":14,"column":5}},"loc":{"start":{"line":14,"column":13},"end":{"line":30,"column":4}},"line":14},"2":{"name":"(anonymous_2)","decl":{"start":{"line":14,"column":54},"end":{"line":14,"column":55}},"loc":{"start":{"line":14,"column":68},"end":{"line":30,"column":3}},"line":14}},"branchMap":{},"s":{"0":1,"1":7,"2":6,"3":24,"4":1,"5":1,"6":1,"7":1},"f":{"0":7,"1":6,"2":24},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"627851839e798a839eefce6d475c521ba35517aa"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/components/Row/Row.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/components/Row/Row.js","statementMap":{"0":{"start":{"line":8,"column":12},"end":{"line":26,"column":1}},"1":{"start":{"line":9,"column":2},"end":{"line":9,"column":75}},"2":{"start":{"line":14,"column":13},"end":{"line":25,"column":4}},"3":{"start":{"line":14,"column":68},"end":{"line":25,"column":3}},"4":{"start":{"line":28,"column":0},"end":{"line":36,"column":2}},"5":{"start":{"line":38,"column":23},"end":{"line":38,"column":46}},"6":{"start":{"line":39,"column":29},"end":{"line":39,"column":79}},"7":{"start":{"line":40,"column":24},"end":{"line":40,"column":58}},"8":{"start":{"line":41,"column":30},"end":{"line":41,"column":99}},"9":{"start":{"line":42,"column":26},"end":{"line":42,"column":85}},"10":{"start":{"line":43,"column":28},"end":{"line":43,"column":108}},"11":{"start":{"line":45,"column":0},"end":{"line":121,"column":2}},"12":{"start":{"line":123,"column":0},"end":{"line":123,"column":24}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":19},"end":{"line":8,"column":20}},"loc":{"start":{"line":9,"column":2},"end":{"line":9,"column":75}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":14,"column":4},"end":{"line":14,"column":5}},"loc":{"start":{"line":14,"column":13},"end":{"line":25,"column":4}},"line":14},"2":{"name":"(anonymous_2)","decl":{"start":{"line":14,"column":54},"end":{"line":14,"column":55}},"loc":{"start":{"line":14,"column":68},"end":{"line":25,"column":3}},"line":14}},"branchMap":{},"s":{"0":1,"1":6,"2":5,"3":20,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1},"f":{"0":6,"1":5,"2":20},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"b0e7b86c0f99ebacced4403f78f33fb777d7e867"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/index.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/index.js","statementMap":{},"fnMap":{},"branchMap":{},"s":{},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"d20a8fd7b5deb2942efee3bf052ac41b2c1d374a"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/CSSProperty/CSSProperty.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/CSSProperty/CSSProperty.js","statementMap":{"0":{"start":{"line":10,"column":32},"end":{"line":25,"column":1}},"1":{"start":{"line":11,"column":23},"end":{"line":11,"column":42}},"2":{"start":{"line":12,"column":27},"end":{"line":12,"column":65}},"3":{"start":{"line":14,"column":2},"end":{"line":22,"column":3}},"4":{"start":{"line":15,"column":4},"end":{"line":17,"column":5}},"5":{"start":{"line":16,"column":6},"end":{"line":16,"column":53}},"6":{"start":{"line":19,"column":4},"end":{"line":21,"column":5}},"7":{"start":{"line":20,"column":6},"end":{"line":20,"column":41}},"8":{"start":{"line":24,"column":2},"end":{"line":24,"column":14}},"9":{"start":{"line":28,"column":20},"end":{"line":34,"column":1}},"10":{"start":{"line":29,"column":16},"end":{"line":29,"column":61}},"11":{"start":{"line":31,"column":2},"end":{"line":33,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":10,"column":32},"end":{"line":10,"column":33}},"loc":{"start":{"line":10,"column":65},"end":{"line":25,"column":1}},"line":10},"1":{"name":"(anonymous_1)","decl":{"start":{"line":28,"column":20},"end":{"line":28,"column":21}},"loc":{"start":{"line":28,"column":53},"end":{"line":34,"column":1}},"line":28}},"branchMap":{"0":{"loc":{"start":{"line":14,"column":2},"end":{"line":22,"column":3}},"type":"if","locations":[{"start":{"line":14,"column":2},"end":{"line":22,"column":3}},{"start":{"line":14,"column":2},"end":{"line":22,"column":3}}],"line":14},"1":{"loc":{"start":{"line":15,"column":4},"end":{"line":17,"column":5}},"type":"if","locations":[{"start":{"line":15,"column":4},"end":{"line":17,"column":5}},{"start":{"line":15,"column":4},"end":{"line":17,"column":5}}],"line":15},"2":{"loc":{"start":{"line":16,"column":13},"end":{"line":16,"column":52}},"type":"binary-expr","locations":[{"start":{"line":16,"column":13},"end":{"line":16,"column":44}},{"start":{"line":16,"column":48},"end":{"line":16,"column":52}}],"line":16},"3":{"loc":{"start":{"line":19,"column":4},"end":{"line":21,"column":5}},"type":"if","locations":[{"start":{"line":19,"column":4},"end":{"line":21,"column":5}},{"start":{"line":19,"column":4},"end":{"line":21,"column":5}}],"line":19},"4":{"loc":{"start":{"line":20,"column":13},"end":{"line":20,"column":40}},"type":"binary-expr","locations":[{"start":{"line":20,"column":13},"end":{"line":20,"column":32}},{"start":{"line":20,"column":36},"end":{"line":20,"column":40}}],"line":20},"5":{"loc":{"start":{"line":31,"column":9},"end":{"line":33,"column":3}},"type":"cond-expr","locations":[{"start":{"line":31,"column":25},"end":{"line":31,"column":29}},{"start":{"line":31,"column":32},"end":{"line":33,"column":3}}],"line":31}},"s":{"0":3,"1":169,"2":169,"3":169,"4":167,"5":3,"6":164,"7":43,"8":123,"9":3,"10":163,"11":163},"f":{"0":169,"1":163},"b":{"0":[167,2],"1":[3,164],"2":[3,1],"3":[43,121],"4":[43,4],"5":[125,38]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"0b34f8e625af5b7b1aafcce735fd44e394236f2c"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/columnWidth/columnWidth.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/columnWidth/columnWidth.js","statementMap":{"0":{"start":{"line":6,"column":18},"end":{"line":6,"column":31}},"1":{"start":{"line":8,"column":26},"end":{"line":9,"column":60}},"2":{"start":{"line":9,"column":2},"end":{"line":9,"column":60}},"3":{"start":{"line":11,"column":24},"end":{"line":12,"column":61}},"4":{"start":{"line":12,"column":3},"end":{"line":12,"column":60}},"5":{"start":{"line":14,"column":20},"end":{"line":28,"column":1}},"6":{"start":{"line":15,"column":2},"end":{"line":19,"column":3}},"7":{"start":{"line":16,"column":4},"end":{"line":18,"column":6}},"8":{"start":{"line":21,"column":16},"end":{"line":21,"column":45}},"9":{"start":{"line":23,"column":2},"end":{"line":27,"column":11}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":26},"end":{"line":8,"column":27}},"loc":{"start":{"line":9,"column":2},"end":{"line":9,"column":60}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":11,"column":24},"end":{"line":11,"column":25}},"loc":{"start":{"line":12,"column":3},"end":{"line":12,"column":60}},"line":12},"2":{"name":"(anonymous_2)","decl":{"start":{"line":14,"column":20},"end":{"line":14,"column":21}},"loc":{"start":{"line":14,"column":43},"end":{"line":28,"column":1}},"line":14}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":3},"end":{"line":12,"column":60}},"type":"binary-expr","locations":[{"start":{"line":12,"column":3},"end":{"line":12,"column":26}},{"start":{"line":12,"column":30},"end":{"line":12,"column":60}}],"line":12},"1":{"loc":{"start":{"line":15,"column":2},"end":{"line":19,"column":3}},"type":"if","locations":[{"start":{"line":15,"column":2},"end":{"line":19,"column":3}},{"start":{"line":15,"column":2},"end":{"line":19,"column":3}}],"line":15},"2":{"loc":{"start":{"line":23,"column":9},"end":{"line":27,"column":10}},"type":"cond-expr","locations":[{"start":{"line":23,"column":39},"end":{"line":27,"column":3}},{"start":{"line":27,"column":6},"end":{"line":27,"column":10}}],"line":23}},"s":{"0":4,"1":4,"2":26,"3":4,"4":28,"5":4,"6":24,"7":2,"8":22,"9":22},"f":{"0":26,"1":28,"2":24},"b":{"0":[28,26],"1":[2,22],"2":[1,21]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"d629c77203714f042b8c996ad39b1e2630f83565"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/filterProps/filterProps.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/filterProps/filterProps.js","statementMap":{"0":{"start":{"line":5,"column":18},"end":{"line":5,"column":30}},"1":{"start":{"line":7,"column":20},"end":{"line":10,"column":3}},"2":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"3":{"start":{"line":9,"column":4},"end":{"line":9,"column":57}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":20},"end":{"line":7,"column":21}},"loc":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":16},"end":{"line":8,"column":17}},"loc":{"start":{"line":9,"column":4},"end":{"line":9,"column":57}},"line":9}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":4},"end":{"line":9,"column":57}},"type":"binary-expr","locations":[{"start":{"line":9,"column":4},"end":{"line":9,"column":28}},{"start":{"line":9,"column":32},"end":{"line":9,"column":57}}],"line":9}},"s":{"0":4,"1":4,"2":15,"3":85},"f":{"0":15,"1":85},"b":{"0":[85,64]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"0549710c04ea8f657128394fbbcc5d70c568c87a"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/gutter/gutter.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/gutter/gutter.js","statementMap":{"0":{"start":{"line":9,"column":18},"end":{"line":9,"column":31}},"1":{"start":{"line":11,"column":27},"end":{"line":23,"column":1}},"2":{"start":{"line":12,"column":2},"end":{"line":14,"column":3}},"3":{"start":{"line":13,"column":4},"end":{"line":13,"column":36}},"4":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"5":{"start":{"line":17,"column":4},"end":{"line":17,"column":24}},"6":{"start":{"line":20,"column":2},"end":{"line":22,"column":26}},"7":{"start":{"line":25,"column":19},"end":{"line":33,"column":1}},"8":{"start":{"line":26,"column":21},"end":{"line":26,"column":51}},"9":{"start":{"line":27,"column":17},"end":{"line":27,"column":71}},"10":{"start":{"line":29,"column":2},"end":{"line":32,"column":4}},"11":{"start":{"line":35,"column":19},"end":{"line":43,"column":1}},"12":{"start":{"line":36,"column":21},"end":{"line":36,"column":51}},"13":{"start":{"line":37,"column":17},"end":{"line":37,"column":71}},"14":{"start":{"line":39,"column":2},"end":{"line":42,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":27},"end":{"line":11,"column":28}},"loc":{"start":{"line":11,"column":50},"end":{"line":23,"column":1}},"line":11},"1":{"name":"(anonymous_1)","decl":{"start":{"line":25,"column":19},"end":{"line":25,"column":20}},"loc":{"start":{"line":25,"column":42},"end":{"line":33,"column":1}},"line":25},"2":{"name":"(anonymous_2)","decl":{"start":{"line":35,"column":19},"end":{"line":35,"column":20}},"loc":{"start":{"line":35,"column":42},"end":{"line":43,"column":1}},"line":35}},"branchMap":{"0":{"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},"1":{"loc":{"start":{"line":12,"column":6},"end":{"line":12,"column":66}},"type":"binary-expr","locations":[{"start":{"line":12,"column":6},"end":{"line":12,"column":28}},{"start":{"line":12,"column":32},"end":{"line":12,"column":66}}],"line":12},"2":{"loc":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"type":"if","locations":[{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},{"start":{"line":16,"column":2},"end":{"line":18,"column":3}}],"line":16},"3":{"loc":{"start":{"line":16,"column":6},"end":{"line":16,"column":53}},"type":"binary-expr","locations":[{"start":{"line":16,"column":6},"end":{"line":16,"column":29}},{"start":{"line":16,"column":33},"end":{"line":16,"column":53}}],"line":16},"4":{"loc":{"start":{"line":20,"column":9},"end":{"line":22,"column":25}},"type":"cond-expr","locations":[{"start":{"line":21,"column":6},"end":{"line":21,"column":37}},{"start":{"line":22,"column":6},"end":{"line":22,"column":25}}],"line":20},"5":{"loc":{"start":{"line":27,"column":17},"end":{"line":27,"column":71}},"type":"cond-expr","locations":[{"start":{"line":27,"column":40},"end":{"line":27,"column":58}},{"start":{"line":27,"column":61},"end":{"line":27,"column":71}}],"line":27},"6":{"loc":{"start":{"line":29,"column":9},"end":{"line":32,"column":3}},"type":"cond-expr","locations":[{"start":{"line":29,"column":35},"end":{"line":29,"column":39}},{"start":{"line":29,"column":42},"end":{"line":32,"column":3}}],"line":29},"7":{"loc":{"start":{"line":37,"column":17},"end":{"line":37,"column":71}},"type":"cond-expr","locations":[{"start":{"line":37,"column":40},"end":{"line":37,"column":58}},{"start":{"line":37,"column":61},"end":{"line":37,"column":71}}],"line":37},"8":{"loc":{"start":{"line":39,"column":9},"end":{"line":42,"column":3}},"type":"cond-expr","locations":[{"start":{"line":39,"column":35},"end":{"line":39,"column":39}},{"start":{"line":39,"column":42},"end":{"line":42,"column":3}}],"line":39}},"s":{"0":4,"1":4,"2":60,"3":10,"4":50,"5":2,"6":48,"7":4,"8":24,"9":24,"10":24,"11":4,"12":24,"13":24,"14":24},"f":{"0":60,"1":24,"2":24},"b":{"0":[10,50],"1":[60,16],"2":[2,48],"3":[50,44],"4":[48,0],"5":[22,2],"6":[1,23],"7":[22,2],"8":[1,23]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"133490085ed498cf870b302781184fd102b1ced0"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/mediaQuery/mediaQuery.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/mediaQuery/mediaQuery.js","statementMap":{"0":{"start":{"line":5,"column":18},"end":{"line":5,"column":31}},"1":{"start":{"line":7,"column":19},"end":{"line":21,"column":1}},"2":{"start":{"line":8,"column":3},"end":{"line":20,"column":8}},"3":{"start":{"line":9,"column":27},"end":{"line":9,"column":58}},"4":{"start":{"line":11,"column":4},"end":{"line":17,"column":7}},"5":{"start":{"line":12,"column":7},"end":{"line":15,"column":10}},"6":{"start":{"line":19,"column":4},"end":{"line":19,"column":23}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":19},"end":{"line":7,"column":20}},"loc":{"start":{"line":8,"column":3},"end":{"line":20,"column":8}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":47},"end":{"line":8,"column":48}},"loc":{"start":{"line":8,"column":71},"end":{"line":20,"column":3}},"line":8},"2":{"name":"(anonymous_2)","decl":{"start":{"line":11,"column":42},"end":{"line":11,"column":43}},"loc":{"start":{"line":12,"column":7},"end":{"line":15,"column":10}},"line":12}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":7},"end":{"line":15,"column":10}},"type":"cond-expr","locations":[{"start":{"line":12,"column":30},"end":{"line":12,"column":50}},{"start":{"line":13,"column":8},"end":{"line":15,"column":10}}],"line":12}},"s":{"0":4,"1":4,"2":44,"3":176,"4":176,"5":44,"6":176},"f":{"0":44,"1":176,"2":44},"b":{"0":[11,33]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"969c08651818ab22bef9e57e02d772d989e2a448"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/sortBreakpoints/sortBreakpoints.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/sortBreakpoints/sortBreakpoints.js","statementMap":{"0":{"start":{"line":4,"column":24},"end":{"line":9,"column":1}},"1":{"start":{"line":5,"column":28},"end":{"line":5,"column":78}},"2":{"start":{"line":5,"column":62},"end":{"line":5,"column":76}},"3":{"start":{"line":6,"column":28},"end":{"line":6,"column":62}},"4":{"start":{"line":8,"column":2},"end":{"line":8,"column":54}},"5":{"start":{"line":8,"column":42},"end":{"line":8,"column":51}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":4,"column":24},"end":{"line":4,"column":25}},"loc":{"start":{"line":4,"column":41},"end":{"line":9,"column":1}},"line":4},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":45},"end":{"line":5,"column":46}},"loc":{"start":{"line":5,"column":62},"end":{"line":5,"column":76}},"line":5},"2":{"name":"(anonymous_2)","decl":{"start":{"line":8,"column":32},"end":{"line":8,"column":33}},"loc":{"start":{"line":8,"column":42},"end":{"line":8,"column":51}},"line":8}},"branchMap":{},"s":{"0":4,"1":165,"2":660,"3":165,"4":165,"5":660},"f":{"0":165,"1":660,"2":660},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"7993e1b424b92115030b452a4c466b159e353a76"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/CSSProperty/CSSProperty.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/CSSProperty/CSSProperty.js","statementMap":{"0":{"start":{"line":10,"column":32},"end":{"line":25,"column":1}},"1":{"start":{"line":11,"column":23},"end":{"line":11,"column":42}},"2":{"start":{"line":12,"column":27},"end":{"line":12,"column":65}},"3":{"start":{"line":14,"column":2},"end":{"line":22,"column":3}},"4":{"start":{"line":15,"column":4},"end":{"line":17,"column":5}},"5":{"start":{"line":16,"column":6},"end":{"line":16,"column":53}},"6":{"start":{"line":19,"column":4},"end":{"line":21,"column":5}},"7":{"start":{"line":20,"column":6},"end":{"line":20,"column":41}},"8":{"start":{"line":24,"column":2},"end":{"line":24,"column":14}},"9":{"start":{"line":28,"column":20},"end":{"line":34,"column":1}},"10":{"start":{"line":29,"column":16},"end":{"line":29,"column":61}},"11":{"start":{"line":31,"column":2},"end":{"line":33,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":10,"column":32},"end":{"line":10,"column":33}},"loc":{"start":{"line":10,"column":65},"end":{"line":25,"column":1}},"line":10},"1":{"name":"(anonymous_1)","decl":{"start":{"line":28,"column":20},"end":{"line":28,"column":21}},"loc":{"start":{"line":28,"column":53},"end":{"line":34,"column":1}},"line":28}},"branchMap":{"0":{"loc":{"start":{"line":14,"column":2},"end":{"line":22,"column":3}},"type":"if","locations":[{"start":{"line":14,"column":2},"end":{"line":22,"column":3}},{"start":{"line":14,"column":2},"end":{"line":22,"column":3}}],"line":14},"1":{"loc":{"start":{"line":15,"column":4},"end":{"line":17,"column":5}},"type":"if","locations":[{"start":{"line":15,"column":4},"end":{"line":17,"column":5}},{"start":{"line":15,"column":4},"end":{"line":17,"column":5}}],"line":15},"2":{"loc":{"start":{"line":16,"column":13},"end":{"line":16,"column":52}},"type":"binary-expr","locations":[{"start":{"line":16,"column":13},"end":{"line":16,"column":44}},{"start":{"line":16,"column":48},"end":{"line":16,"column":52}}],"line":16},"3":{"loc":{"start":{"line":19,"column":4},"end":{"line":21,"column":5}},"type":"if","locations":[{"start":{"line":19,"column":4},"end":{"line":21,"column":5}},{"start":{"line":19,"column":4},"end":{"line":21,"column":5}}],"line":19},"4":{"loc":{"start":{"line":20,"column":13},"end":{"line":20,"column":40}},"type":"binary-expr","locations":[{"start":{"line":20,"column":13},"end":{"line":20,"column":32}},{"start":{"line":20,"column":36},"end":{"line":20,"column":40}}],"line":20},"5":{"loc":{"start":{"line":31,"column":9},"end":{"line":33,"column":3}},"type":"cond-expr","locations":[{"start":{"line":31,"column":25},"end":{"line":31,"column":29}},{"start":{"line":31,"column":32},"end":{"line":33,"column":3}}],"line":31}},"s":{"0":3,"1":225,"2":225,"3":225,"4":223,"5":3,"6":220,"7":57,"8":165,"9":3,"10":219,"11":219},"f":{"0":225,"1":219},"b":{"0":[223,2],"1":[3,220],"2":[3,1],"3":[57,163],"4":[57,5],"5":[168,51]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"0b34f8e625af5b7b1aafcce735fd44e394236f2c"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/columnWidth/columnWidth.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/columnWidth/columnWidth.js","statementMap":{"0":{"start":{"line":6,"column":18},"end":{"line":6,"column":31}},"1":{"start":{"line":8,"column":26},"end":{"line":9,"column":60}},"2":{"start":{"line":9,"column":2},"end":{"line":9,"column":60}},"3":{"start":{"line":11,"column":24},"end":{"line":12,"column":61}},"4":{"start":{"line":12,"column":3},"end":{"line":12,"column":60}},"5":{"start":{"line":14,"column":22},"end":{"line":15,"column":32}},"6":{"start":{"line":15,"column":3},"end":{"line":15,"column":31}},"7":{"start":{"line":17,"column":20},"end":{"line":37,"column":1}},"8":{"start":{"line":18,"column":2},"end":{"line":22,"column":3}},"9":{"start":{"line":19,"column":4},"end":{"line":21,"column":6}},"10":{"start":{"line":24,"column":2},"end":{"line":28,"column":3}},"11":{"start":{"line":25,"column":4},"end":{"line":27,"column":6}},"12":{"start":{"line":30,"column":16},"end":{"line":30,"column":45}},"13":{"start":{"line":32,"column":2},"end":{"line":36,"column":11}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":26},"end":{"line":8,"column":27}},"loc":{"start":{"line":9,"column":2},"end":{"line":9,"column":60}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":11,"column":24},"end":{"line":11,"column":25}},"loc":{"start":{"line":12,"column":3},"end":{"line":12,"column":60}},"line":12},"2":{"name":"(anonymous_2)","decl":{"start":{"line":14,"column":22},"end":{"line":14,"column":23}},"loc":{"start":{"line":15,"column":3},"end":{"line":15,"column":31}},"line":15},"3":{"name":"(anonymous_3)","decl":{"start":{"line":17,"column":20},"end":{"line":17,"column":21}},"loc":{"start":{"line":17,"column":43},"end":{"line":37,"column":1}},"line":17}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":3},"end":{"line":12,"column":60}},"type":"binary-expr","locations":[{"start":{"line":12,"column":3},"end":{"line":12,"column":26}},{"start":{"line":12,"column":30},"end":{"line":12,"column":60}}],"line":12},"1":{"loc":{"start":{"line":18,"column":2},"end":{"line":22,"column":3}},"type":"if","locations":[{"start":{"line":18,"column":2},"end":{"line":22,"column":3}},{"start":{"line":18,"column":2},"end":{"line":22,"column":3}}],"line":18},"2":{"loc":{"start":{"line":24,"column":2},"end":{"line":28,"column":3}},"type":"if","locations":[{"start":{"line":24,"column":2},"end":{"line":28,"column":3}},{"start":{"line":24,"column":2},"end":{"line":28,"column":3}}],"line":24},"3":{"loc":{"start":{"line":32,"column":9},"end":{"line":36,"column":10}},"type":"cond-expr","locations":[{"start":{"line":32,"column":39},"end":{"line":36,"column":3}},{"start":{"line":36,"column":6},"end":{"line":36,"column":10}}],"line":32}},"s":{"0":4,"1":4,"2":30,"3":4,"4":33,"5":4,"6":28,"7":4,"8":29,"9":2,"10":27,"11":1,"12":26,"13":26},"f":{"0":30,"1":33,"2":28,"3":29},"b":{"0":[33,31],"1":[2,27],"2":[1,26],"3":[1,25]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"abe3205ec05c2c47aca5e8f56362d7fb276eb3cd"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/filterProps/filterProps.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/filterProps/filterProps.js","statementMap":{"0":{"start":{"line":5,"column":18},"end":{"line":5,"column":30}},"1":{"start":{"line":7,"column":20},"end":{"line":10,"column":3}},"2":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"3":{"start":{"line":9,"column":4},"end":{"line":9,"column":57}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":20},"end":{"line":7,"column":21}},"loc":{"start":{"line":8,"column":2},"end":{"line":10,"column":3}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":16},"end":{"line":8,"column":17}},"loc":{"start":{"line":9,"column":4},"end":{"line":9,"column":57}},"line":9}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":4},"end":{"line":9,"column":57}},"type":"binary-expr","locations":[{"start":{"line":9,"column":4},"end":{"line":9,"column":28}},{"start":{"line":9,"column":32},"end":{"line":9,"column":57}}],"line":9}},"s":{"0":4,"1":4,"2":16,"3":103},"f":{"0":16,"1":103},"b":{"0":[103,81]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"0549710c04ea8f657128394fbbcc5d70c568c87a"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/gutter/gutter.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/gutter/gutter.js","statementMap":{"0":{"start":{"line":9,"column":18},"end":{"line":9,"column":31}},"1":{"start":{"line":11,"column":27},"end":{"line":23,"column":1}},"2":{"start":{"line":12,"column":2},"end":{"line":14,"column":3}},"3":{"start":{"line":13,"column":4},"end":{"line":13,"column":36}},"4":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"5":{"start":{"line":17,"column":4},"end":{"line":17,"column":24}},"6":{"start":{"line":20,"column":2},"end":{"line":22,"column":26}},"7":{"start":{"line":25,"column":19},"end":{"line":33,"column":1}},"8":{"start":{"line":26,"column":21},"end":{"line":26,"column":51}},"9":{"start":{"line":27,"column":17},"end":{"line":27,"column":71}},"10":{"start":{"line":29,"column":2},"end":{"line":32,"column":4}},"11":{"start":{"line":35,"column":19},"end":{"line":43,"column":1}},"12":{"start":{"line":36,"column":21},"end":{"line":36,"column":51}},"13":{"start":{"line":37,"column":17},"end":{"line":37,"column":71}},"14":{"start":{"line":39,"column":2},"end":{"line":42,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":27},"end":{"line":11,"column":28}},"loc":{"start":{"line":11,"column":50},"end":{"line":23,"column":1}},"line":11},"1":{"name":"(anonymous_1)","decl":{"start":{"line":25,"column":19},"end":{"line":25,"column":20}},"loc":{"start":{"line":25,"column":42},"end":{"line":33,"column":1}},"line":25},"2":{"name":"(anonymous_2)","decl":{"start":{"line":35,"column":19},"end":{"line":35,"column":20}},"loc":{"start":{"line":35,"column":42},"end":{"line":43,"column":1}},"line":35}},"branchMap":{"0":{"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},"1":{"loc":{"start":{"line":12,"column":6},"end":{"line":12,"column":66}},"type":"binary-expr","locations":[{"start":{"line":12,"column":6},"end":{"line":12,"column":28}},{"start":{"line":12,"column":32},"end":{"line":12,"column":66}}],"line":12},"2":{"loc":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"type":"if","locations":[{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},{"start":{"line":16,"column":2},"end":{"line":18,"column":3}}],"line":16},"3":{"loc":{"start":{"line":16,"column":6},"end":{"line":16,"column":53}},"type":"binary-expr","locations":[{"start":{"line":16,"column":6},"end":{"line":16,"column":29}},{"start":{"line":16,"column":33},"end":{"line":16,"column":53}}],"line":16},"4":{"loc":{"start":{"line":20,"column":9},"end":{"line":22,"column":25}},"type":"cond-expr","locations":[{"start":{"line":21,"column":6},"end":{"line":21,"column":37}},{"start":{"line":22,"column":6},"end":{"line":22,"column":25}}],"line":20},"5":{"loc":{"start":{"line":27,"column":17},"end":{"line":27,"column":71}},"type":"cond-expr","locations":[{"start":{"line":27,"column":40},"end":{"line":27,"column":58}},{"start":{"line":27,"column":61},"end":{"line":27,"column":71}}],"line":27},"6":{"loc":{"start":{"line":29,"column":9},"end":{"line":32,"column":3}},"type":"cond-expr","locations":[{"start":{"line":29,"column":35},"end":{"line":29,"column":39}},{"start":{"line":29,"column":42},"end":{"line":32,"column":3}}],"line":29},"7":{"loc":{"start":{"line":37,"column":17},"end":{"line":37,"column":71}},"type":"cond-expr","locations":[{"start":{"line":37,"column":40},"end":{"line":37,"column":58}},{"start":{"line":37,"column":61},"end":{"line":37,"column":71}}],"line":37},"8":{"loc":{"start":{"line":39,"column":9},"end":{"line":42,"column":3}},"type":"cond-expr","locations":[{"start":{"line":39,"column":35},"end":{"line":39,"column":39}},{"start":{"line":39,"column":42},"end":{"line":42,"column":3}}],"line":39}},"s":{"0":4,"1":4,"2":64,"3":10,"4":54,"5":2,"6":52,"7":4,"8":24,"9":24,"10":24,"11":4,"12":28,"13":28,"14":28},"f":{"0":64,"1":24,"2":28},"b":{"0":[10,54],"1":[64,16],"2":[2,52],"3":[54,48],"4":[52,0],"5":[22,2],"6":[1,23],"7":[26,2],"8":[1,27]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"133490085ed498cf870b302781184fd102b1ced0"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/mediaQuery/mediaQuery.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/mediaQuery/mediaQuery.js","statementMap":{"0":{"start":{"line":5,"column":18},"end":{"line":5,"column":31}},"1":{"start":{"line":7,"column":19},"end":{"line":21,"column":1}},"2":{"start":{"line":8,"column":3},"end":{"line":20,"column":8}},"3":{"start":{"line":9,"column":27},"end":{"line":9,"column":58}},"4":{"start":{"line":11,"column":4},"end":{"line":17,"column":7}},"5":{"start":{"line":12,"column":7},"end":{"line":15,"column":10}},"6":{"start":{"line":19,"column":4},"end":{"line":19,"column":23}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":19},"end":{"line":7,"column":20}},"loc":{"start":{"line":8,"column":3},"end":{"line":20,"column":8}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":8,"column":47},"end":{"line":8,"column":48}},"loc":{"start":{"line":8,"column":71},"end":{"line":20,"column":3}},"line":8},"2":{"name":"(anonymous_2)","decl":{"start":{"line":11,"column":42},"end":{"line":11,"column":43}},"loc":{"start":{"line":12,"column":7},"end":{"line":15,"column":10}},"line":12}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":7},"end":{"line":15,"column":10}},"type":"cond-expr","locations":[{"start":{"line":12,"column":30},"end":{"line":12,"column":50}},{"start":{"line":13,"column":8},"end":{"line":15,"column":10}}],"line":12}},"s":{"0":4,"1":4,"2":48,"3":192,"4":192,"5":48,"6":192},"f":{"0":48,"1":192,"2":48},"b":{"0":[12,36]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"969c08651818ab22bef9e57e02d772d989e2a448"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/helpers/sortBreakpoints/sortBreakpoints.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/helpers/sortBreakpoints/sortBreakpoints.js","statementMap":{"0":{"start":{"line":4,"column":24},"end":{"line":9,"column":1}},"1":{"start":{"line":5,"column":28},"end":{"line":5,"column":78}},"2":{"start":{"line":5,"column":62},"end":{"line":5,"column":76}},"3":{"start":{"line":6,"column":28},"end":{"line":6,"column":62}},"4":{"start":{"line":8,"column":2},"end":{"line":8,"column":54}},"5":{"start":{"line":8,"column":42},"end":{"line":8,"column":51}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":4,"column":24},"end":{"line":4,"column":25}},"loc":{"start":{"line":4,"column":41},"end":{"line":9,"column":1}},"line":4},"1":{"name":"(anonymous_1)","decl":{"start":{"line":5,"column":45},"end":{"line":5,"column":46}},"loc":{"start":{"line":5,"column":62},"end":{"line":5,"column":76}},"line":5},"2":{"name":"(anonymous_2)","decl":{"start":{"line":8,"column":32},"end":{"line":8,"column":33}},"loc":{"start":{"line":8,"column":42},"end":{"line":8,"column":51}},"line":8}},"branchMap":{},"s":{"0":4,"1":221,"2":884,"3":221,"4":221,"5":884},"f":{"0":221,"1":884,"2":884},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"7993e1b424b92115030b452a4c466b159e353a76"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/theme/defaultTheme.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/theme/defaultTheme.js","statementMap":{"0":{"start":{"line":1,"column":21},"end":{"line":15,"column":1}}},"fnMap":{},"branchMap":{},"s":{"0":7},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"afaf3836a38cd9ed887558b871509e84da433627"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/theme/index.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/theme/index.js","statementMap":{},"fnMap":{},"branchMap":{},"s":{},"f":{},"b":{},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"1ff55a7c9176ca82d3880d02767f17e58d55bf85"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/theme/theme.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/theme/theme.js","statementMap":{"0":{"start":{"line":7,"column":21},"end":{"line":23,"column":1}},"1":{"start":{"line":8,"column":22},"end":{"line":10,"column":8}},"2":{"start":{"line":11,"column":2},"end":{"line":22,"column":5}},"3":{"start":{"line":25,"column":27},"end":{"line":25,"column":60}},"4":{"start":{"line":25,"column":36},"end":{"line":25,"column":60}},"5":{"start":{"line":26,"column":31},"end":{"line":26,"column":77}},"6":{"start":{"line":26,"column":40},"end":{"line":26,"column":77}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":21},"end":{"line":7,"column":22}},"loc":{"start":{"line":7,"column":32},"end":{"line":23,"column":1}},"line":7},"1":{"name":"(anonymous_1)","decl":{"start":{"line":25,"column":27},"end":{"line":25,"column":28}},"loc":{"start":{"line":25,"column":36},"end":{"line":25,"column":60}},"line":25},"2":{"name":"(anonymous_2)","decl":{"start":{"line":26,"column":31},"end":{"line":26,"column":32}},"loc":{"start":{"line":26,"column":40},"end":{"line":26,"column":77}},"line":26}},"branchMap":{"0":{"loc":{"start":{"line":8,"column":22},"end":{"line":10,"column":8}},"type":"cond-expr","locations":[{"start":{"line":9,"column":6},"end":{"line":9,"column":30}},{"start":{"line":10,"column":6},"end":{"line":10,"column":8}}],"line":8},"1":{"loc":{"start":{"line":8,"column":23},"end":{"line":8,"column":81}},"type":"binary-expr","locations":[{"start":{"line":8,"column":23},"end":{"line":8,"column":42}},{"start":{"line":8,"column":46},"end":{"line":8,"column":81}}],"line":8}},"s":{"0":7,"1":534,"2":534,"3":7,"4":3,"5":7,"6":57},"f":{"0":534,"1":3,"2":57},"b":{"0":[8,526],"1":[534,480]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"a212aa6c88f7a252d2dfed7b348637e58fea7d62"} | ||
,"/home/travis/build/aaronvanston/react-flexa/src/theme/theme.js": {"path":"/home/travis/build/aaronvanston/react-flexa/src/theme/theme.js","statementMap":{"0":{"start":{"line":7,"column":21},"end":{"line":23,"column":1}},"1":{"start":{"line":8,"column":22},"end":{"line":10,"column":8}},"2":{"start":{"line":11,"column":2},"end":{"line":22,"column":5}},"3":{"start":{"line":25,"column":27},"end":{"line":25,"column":60}},"4":{"start":{"line":25,"column":36},"end":{"line":25,"column":60}},"5":{"start":{"line":26,"column":31},"end":{"line":26,"column":77}},"6":{"start":{"line":26,"column":40},"end":{"line":26,"column":77}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":7,"column":21},"end":{"line":7,"column":22}},"loc":{"start":{"line":7,"column":32},"end":{"line":23,"column":1}},"line":7},"1":{"name":"(anonymous_1)","decl":{"start":{"line":25,"column":27},"end":{"line":25,"column":28}},"loc":{"start":{"line":25,"column":36},"end":{"line":25,"column":60}},"line":25},"2":{"name":"(anonymous_2)","decl":{"start":{"line":26,"column":31},"end":{"line":26,"column":32}},"loc":{"start":{"line":26,"column":40},"end":{"line":26,"column":77}},"line":26}},"branchMap":{"0":{"loc":{"start":{"line":8,"column":22},"end":{"line":10,"column":8}},"type":"cond-expr","locations":[{"start":{"line":9,"column":6},"end":{"line":9,"column":30}},{"start":{"line":10,"column":6},"end":{"line":10,"column":8}}],"line":8},"1":{"loc":{"start":{"line":8,"column":23},"end":{"line":8,"column":81}},"type":"binary-expr","locations":[{"start":{"line":8,"column":23},"end":{"line":8,"column":42}},{"start":{"line":8,"column":46},"end":{"line":8,"column":81}}],"line":8}},"s":{"0":7,"1":623,"2":623,"3":7,"4":3,"5":7,"6":62},"f":{"0":623,"1":3,"2":62},"b":{"0":[8,615],"1":[623,569]},"_coverageSchema":"332fd63041d2c1bcb487cc26dd0d5f7d97098a6c","hash":"a212aa6c88f7a252d2dfed7b348637e58fea7d62"} | ||
} |
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", { | ||
var _templateObject = _taggedTemplateLiteral(['\n // Initial component properties\n box-sizing: border-box;\n flex: 0 0 auto;\n display: block;\n\n ', ';\n'], ['\n // Initial component properties\n box-sizing: border-box;\n flex: 0 0 auto;\n display: block;\n\n ', ';\n']), | ||
_templateObject2 = _taggedTemplateLiteral(['\n // Generate gutter\n ', '\n\n // Generate column width\n ', '\n\n // Responsive Flexbox properties\n ', '\n ', '\n '], ['\n // Generate gutter\n ', '\n\n // Generate column width\n ', '\n\n // Responsive Flexbox properties\n ', '\n ', '\n ']); | ||
var _templateObject = _taggedTemplateLiteral(['\n // Initial component properties\n box-sizing: border-box;\n\n ', ';\n'], ['\n // Initial component properties\n box-sizing: border-box;\n\n ', ';\n']), | ||
_templateObject2 = _taggedTemplateLiteral(['\n // Generated Display\n ', '\n\n // Generate gutter\n ', '\n\n // Generate flex rule before width, this avoid override\n ', '\n\n // Generate column width\n ', '\n\n // Responsive Flexbox properties\n ', '\n ', '\n '], ['\n // Generated Display\n ', '\n\n // Generate gutter\n ', '\n\n // Generate flex rule before width, this avoid override\n ', '\n\n // Generate column width\n ', '\n\n // Responsive Flexbox properties\n ', '\n ', '\n ']); | ||
@@ -34,3 +34,3 @@ var _react = require('react'); | ||
return _theme.themeProvider.breakpointsKeys(props).map(function (breakpoint) { | ||
return (0, _helpers.mediaQuery)(props)[breakpoint](_templateObject2, _helpers.gutter.col(props, breakpoint), (0, _helpers.columnWidth)(props, breakpoint), (0, _helpers.CSSProperty)(props, breakpoint, 'order'), (0, _helpers.CSSProperty)(props, breakpoint, 'align-self')); | ||
return (0, _helpers.mediaQuery)(props)[breakpoint](_templateObject2, (0, _helpers.CSSProperty)(props, breakpoint, 'display'), _helpers.gutter.col(props, breakpoint), (0, _helpers.CSSProperty)(props, breakpoint, 'flex'), (0, _helpers.columnWidth)(props, breakpoint), (0, _helpers.CSSProperty)(props, breakpoint, 'order'), (0, _helpers.CSSProperty)(props, breakpoint, 'align-self')); | ||
}); | ||
@@ -42,3 +42,5 @@ }); | ||
alignSelf: 'auto', | ||
elementType: 'div' | ||
elementType: 'div', | ||
display: 'block', | ||
flex: '0 0 auto' | ||
}; | ||
@@ -49,6 +51,6 @@ | ||
Col.propTypes = { | ||
xs: _propTypes2['default'].oneOfType([_propTypes2['default'].number, _propTypes2['default'].oneOf(['hidden'])]), | ||
sm: _propTypes2['default'].oneOfType([_propTypes2['default'].number, _propTypes2['default'].oneOf(['hidden'])]), | ||
md: _propTypes2['default'].oneOfType([_propTypes2['default'].number, _propTypes2['default'].oneOf(['hidden'])]), | ||
lg: _propTypes2['default'].oneOfType([_propTypes2['default'].number, _propTypes2['default'].oneOf(['hidden'])]), | ||
xs: _propTypes2['default'].oneOfType([_propTypes2['default'].number, _propTypes2['default'].oneOf(['hidden, auto'])]), | ||
sm: _propTypes2['default'].oneOfType([_propTypes2['default'].number, _propTypes2['default'].oneOf(['hidden, auto'])]), | ||
md: _propTypes2['default'].oneOfType([_propTypes2['default'].number, _propTypes2['default'].oneOf(['hidden, auto'])]), | ||
lg: _propTypes2['default'].oneOfType([_propTypes2['default'].number, _propTypes2['default'].oneOf(['hidden, auto'])]), | ||
@@ -78,2 +80,6 @@ gutter: _propTypes2['default'].oneOfType([_propTypes2['default'].number, _propTypes2['default'].string, _propTypes2['default'].shape({ | ||
flex: _propTypes2['default'].oneOfType([_propTypes2['default'].number, _propTypes2['default'].string]), | ||
display: _propTypes2['default'].string, | ||
children: _propTypes2['default'].node | ||
@@ -80,0 +86,0 @@ }; |
@@ -53,2 +53,7 @@ var _react = require('react'); | ||
}); | ||
test('generates custom with custom display css property', function () { | ||
var tree = _reactTestRenderer2['default'].create(_react2['default'].createElement(_Col2['default'], { display: 'flex' })).toJSON(); | ||
expect(tree).toHaveStyleRule('display', 'flex'); | ||
}); | ||
}); |
@@ -29,2 +29,4 @@ var _react = require('react'); | ||
return _react2['default'].createElement(_stories.Responsive, null); | ||
}).add('Auto grow example', function () { | ||
return _react2['default'].createElement(_stories.AutoGrow, null); | ||
}); |
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.isHidden = exports.percentage = undefined; | ||
exports.isAuto = exports.isHidden = exports.percentage = undefined; | ||
var _templateObject = _taggedTemplateLiteral(['\n display:none;\n '], ['\n display:none;\n ']), | ||
_templateObject2 = _taggedTemplateLiteral(['\n flex-basis: ', '%;\n max-width: ', '%;\n display: block;\n '], ['\n flex-basis: ', '%;\n max-width: ', '%;\n display: block;\n ']); | ||
var _templateObject = _taggedTemplateLiteral(['\n display: none;\n '], ['\n display: none;\n ']), | ||
_templateObject2 = _taggedTemplateLiteral(['\n flex: 1;\n '], ['\n flex: 1;\n ']), | ||
_templateObject3 = _taggedTemplateLiteral(['\n flex-basis: ', '%;\n max-width: ', '%;\n display: block;\n '], ['\n flex-basis: ', '%;\n max-width: ', '%;\n display: block;\n ']); | ||
@@ -30,2 +31,6 @@ var _styledComponents = require('styled-components'); | ||
var isAuto = exports.isAuto = function isAuto(props, breakpoint) { | ||
return props[breakpoint] === 'auto'; | ||
}; | ||
var columnWidth = function columnWidth(props, breakpoint) { | ||
@@ -36,6 +41,10 @@ if (isHidden(props, breakpoint)) { | ||
if (isAuto(props, breakpoint)) { | ||
return (0, _styledComponents.css)(_templateObject2); | ||
} | ||
var width = percentage(props, breakpoint); | ||
return (0, _has2['default'])(props, '' + String(breakpoint)) ? (0, _styledComponents.css)(_templateObject2, width, width) : null; | ||
return (0, _has2['default'])(props, '' + String(breakpoint)) ? (0, _styledComponents.css)(_templateObject3, width, width) : null; | ||
}; | ||
exports['default'] = columnWidth; |
@@ -30,2 +30,11 @@ var _columnWidth = require('./columnWidth'); | ||
describe('isAuto', function () { | ||
test('should return flex: 1 if a given property is explicitly "auto" if a given breakpoint is explicitly set to auto', function () { | ||
var autoGrowMockProps = { xs: -1, sm: 2, md: 'auto', lg: 6 }; | ||
var width = (0, _columnWidth2['default'])(autoGrowMockProps, 'md').join(''); | ||
expect((0, _columnWidth.isAuto)({ xs: 'auto' }, 'xs')).toEqual(true); | ||
expect(width).toContain('flex: 1'); | ||
}); | ||
}); | ||
describe('columnWidth', function () { | ||
@@ -45,3 +54,3 @@ test('should generate column width css', function () { | ||
var width = (0, _columnWidth2['default'])(mockProps, 'md').join(''); | ||
expect(width).toContain('display:none'); | ||
expect(width).toContain('display: none'); | ||
}); | ||
@@ -52,4 +61,4 @@ | ||
var width = (0, _columnWidth2['default'])(hiddenMockProps, 'md').join(''); | ||
expect(width).toContain('display:none'); | ||
expect(width).toContain('display: none'); | ||
}); | ||
}); |
{ | ||
"name": "react-flexa", | ||
"version": "0.6.1", | ||
"version": "0.7.0", | ||
"description": "React flexbox grid system using styled components", | ||
@@ -11,3 +11,4 @@ "main": "dist/index.js", | ||
"jest:watch": "yarn run jest -- --watch", | ||
"prepublish": "babel -d dist/ src/", | ||
"build": "babel -d dist/ src/", | ||
"prepublish": "yarn build", | ||
"storybook": "start-storybook -p 6006", | ||
@@ -14,0 +15,0 @@ "build-storybook": "build-storybook", |
@@ -86,6 +86,6 @@ # react-flexa | ||
|:--------------|:------------------------------------------------------------|:----------------------------------------------------------------------------------------|:--------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| `xs` | integer | `0`-`12`<br>(based on default columns)<br>`hidden` | nill | Sets the width of the col based the column configuration (12 by default) for the XS breakpoint and up. | | ||
| `sm` | integer | `0`-`12`<br>(based on default columns)<br>`hidden` | nill | Sets the width of the col based the column configuration (12 by default) for the SM breakpoint and up. | | ||
| `md` | integer | `0`-`12`<br>(based on default columns)<br>`hidden` | nill | Sets the width of the col based the column configuration (12 by default) for the MD breakpoint and up. | | ||
| `lg` | integer | `0`-`12`<br>(based on default columns)<br>`hidden` | nill | Sets the width of the col based the column configuration (12 by default) for the LG breakpoint and up. | | ||
| `xs` | integer | `0`-`12`<br>(based on default columns)<br>`hidden`<br>`auto` | nill | Sets the width of the col based the column configuration (12 by default) for the XS breakpoint and up. | | ||
| `sm` | integer | `0`-`12`<br>(based on default columns)<br>`hidden`<br>`auto` | nill | Sets the width of the col based the column configuration (12 by default) for the SM breakpoint and up. | | ||
| `md` | integer | `0`-`12`<br>(based on default columns)<br>`hidden`<br>`auto` | nill | Sets the width of the col based the column configuration (12 by default) for the MD breakpoint and up. | | ||
| `lg` | integer | `0`-`12`<br>(based on default columns)<br>`hidden`<br>`auto` | nill | Sets the width of the col based the column configuration (12 by default) for the LG breakpoint and up. | | ||
| `gutter` | integer, string,<br>[object](#responsive-api-using-objects) | `'1rem'`<br>`'12px'`<br>`4` | `'1rem'` | Sets the width of the gutter to be used between columns. For correct positioning you must set the same value (if custom) on the parent Row | | ||
@@ -95,2 +95,4 @@ | `order` | string,<br>[object](#responsive-api-using-objects) | `-1`<br>`0`<br>`1`<br>(etc) | `0` | By default, flex items are laid out in the source order. However, the order property controls the order in which they appear in the flex container. [Read more about order.](https://css-tricks.com/snippets/css/a-guide-to-flexbox/#article-header-id-9) | | ||
| `elementType` | string,<br>[object](#responsive-api-using-objects) | `'div'`<br>`'span'` | `'div'` | This enables you to change the HTML element type generated. | | ||
| `flex` | string, integer,<br>[object](#responsive-api-using-objects) | `1`<br>`'1 1 auto'`<br>`'1 0 auto'`<br>(etc). | `0 0 auto` | This allow to grow automatically (flex: 1) | | ||
| `display` | string,<br>[object](#responsive-api-using-objects) | `'flex'`<br>`'block'`<br>`'inline'`<br>(etc) | `block` | This defines the display property of the col, inline, block, flex etc. | | ||
@@ -97,0 +99,0 @@ Flexbox descriptions sourced from [CSS-Tricks](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) |
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
371902
1342
259