@salesgenterp/ui-components 0.4.96 → 0.4.97
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.
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4516,6 +4516,7 @@ var Dashboard = function Dashboard(_ref) {
|
|
|
4516
4516
|
}, /*#__PURE__*/React__default.createElement(TotalContainer, {
|
|
4517
4517
|
flexDirection: "row",
|
|
4518
4518
|
justifyContent: "space-between",
|
|
4519
|
+
primaryColor: primaryColor,
|
|
4519
4520
|
secondaryColor: secondaryColor,
|
|
4520
4521
|
fontColor: fontColor
|
|
4521
4522
|
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("p", null, data === null || data === void 0 ? void 0 : data.name), /*#__PURE__*/React__default.createElement("h3", null, "" + (isAmount ? renderMoney(data === null || data === void 0 ? void 0 : data.value) : data === null || data === void 0 ? void 0 : data.value))), /*#__PURE__*/React__default.createElement("div", null, isAmount ? /*#__PURE__*/React__default.createElement(md.MdMonetizationOn, null) : /*#__PURE__*/React__default.createElement(gr.GrStackOverflow, null))));
|
|
@@ -4561,8 +4562,10 @@ var CardContainer = styled(material.Stack)(_templateObject6$8 || (_templateObjec
|
|
|
4561
4562
|
return props.secondaryColor;
|
|
4562
4563
|
});
|
|
4563
4564
|
var TotalRoot = styled.div(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose(["\n margin: 1.2rem 0;\n"])));
|
|
4564
|
-
var TotalContainer = styled(material.Stack)(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n border-radius: 20px;\n background-color: ", ";\n padding: 1.5rem 1rem;\n box-shadow: 0px 0px 4px 0px;\n p {\n font-size: 1.2rem;\n font-weight: 600;\n color: ", ";\n margin-bottom: 1rem;\n }\n h3 {\n font-size: 1.5rem;\n font-weight: 600;\n color: #746e88;\n }\n svg {\n font-size: 2rem;\n color: ", ";\n }\n"])), function (props) {
|
|
4565
|
+
var TotalContainer = styled(material.Stack)(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n border-radius: 20px;\n background-color: ", ";\n padding: 1.5rem 1rem;\n box-shadow: 0px 0px 4px 0px;\n :hover {\n background-color: ", ";\n p,\n h3,\n svg {\n color: #fff;\n }\n }\n p {\n font-size: 1.2rem;\n font-weight: 600;\n color: ", ";\n margin-bottom: 1rem;\n }\n h3 {\n font-size: 1.5rem;\n font-weight: 600;\n color: #746e88;\n }\n svg {\n font-size: 2rem;\n color: ", ";\n }\n"])), function (props) {
|
|
4565
4566
|
return props.secondaryColor;
|
|
4567
|
+
}, function (props) {
|
|
4568
|
+
return props.primaryColor;
|
|
4566
4569
|
}, function (props) {
|
|
4567
4570
|
return props.fontColor;
|
|
4568
4571
|
}, function (props) {
|
|
@@ -4852,10 +4855,11 @@ var Main = styles.styled('main', {
|
|
|
4852
4855
|
}),
|
|
4853
4856
|
marginLeft: 0
|
|
4854
4857
|
}, {
|
|
4855
|
-
background: backgroundColor
|
|
4858
|
+
background: backgroundColor,
|
|
4859
|
+
borderRadius: 25
|
|
4856
4860
|
});
|
|
4857
4861
|
});
|
|
4858
|
-
var ContainerDrawer = styled(material.Drawer)(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n position: relative;\n width: 240px;\n z-index: 1;\n overflow: hidden;\n }\n"])), function (props) {
|
|
4862
|
+
var ContainerDrawer = styled(material.Drawer)(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n height: 100%;\n margin-right: ", ";\n .MuiDrawer-paper {\n position: relative;\n width: 240px;\n z-index: 1;\n overflow: hidden;\n border-top-right-radius: 20px;\n }\n"])), function (props) {
|
|
4859
4863
|
return props.open && '2rem';
|
|
4860
4864
|
});
|
|
4861
4865
|
var TypographyContainer$1 = styled(material.Typography)(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
|