quicksnack 3.13.4 → 3.13.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ var Box_1 = require("../Box/Box");
14
14
  var Wrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n border-radius: ", ";\n padding: ", ";\n background-color: ", "; \n box-sizing: border-box;\n height: 100%;\n"], ["\n display: flex;\n border-radius: ", ";\n padding: ", ";\n background-color: ", "; \n box-sizing: border-box;\n height: 100%;\n"])), function (props) { return props.theme.spacing(1); }, function (props) { return props.theme.spacing(4); }, function (props) { return props.theme.palette.colors[props.backgroundColor]; });
15
15
  var Label = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n text-transform: uppercase;\n color: ", ";\n font-size: ", "; \n"], ["\n text-transform: uppercase;\n color: ", ";\n font-size: ", "; \n"])), function (props) { return props.theme.palette.common.white; }, function (props) { return props.theme.spacing(3); });
16
16
  var Value = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-weight: bold; \n"], ["\n color: ", ";\n font-size: ", ";\n font-weight: bold; \n"])), function (props) { return props.theme.palette.common.white; }, function (props) { return props.theme.spacing(7.5); });
17
- var IconWrapper = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n & svg {\n height: 100%;\n width: ", ";\n color: white;\n }\n"], ["\n & svg {\n height: 100%;\n width: ", ";\n color: white;\n }\n"])), function (props) { return props.theme.spacing(10); });
17
+ var IconWrapper = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n margin: ", " 0 auto 0; \n & svg {\n height: 100%;\n width: ", ";\n color: white;\n }\n"], ["\n margin: ", " 0 auto 0; \n & svg {\n height: 100%;\n width: ", ";\n color: white;\n }\n"])), function (props) { return props.theme.spacing(1); }, function (props) { return props.theme.spacing(10); });
18
18
  var Statistic = function (_a) {
19
19
  var icon = _a.icon, value = _a.value, label = _a.label, backgroundColor = _a.backgroundColor;
20
20
  return (react_1.default.createElement(Wrapper, { backgroundColor: backgroundColor },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "quicksnack",
3
3
  "description": "Quickly create beautiful admin layouts using react",
4
- "version": "3.13.4",
4
+ "version": "3.13.5",
5
5
  "private": false,
6
6
  "files": [
7
7
  "dist/**"