@salesgenterp/ui-components 0.4.293 → 0.4.294

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 CHANGED
@@ -1602,6 +1602,7 @@ var Dashboard = function Dashboard(_ref) {
1602
1602
  defaultStoreId = _ref.defaultStoreId,
1603
1603
  storeIdList = _ref.storeIdList,
1604
1604
  isNightMode = _ref.isNightMode,
1605
+ exploreCategoryImage = _ref.exploreCategoryImage,
1605
1606
  sectionLeftImageSection = _ref.sectionLeftImageSection,
1606
1607
  sectionRightImageSection = _ref.sectionRightImageSection,
1607
1608
  discountImageSection = _ref.discountImageSection,
@@ -1844,10 +1845,13 @@ var Dashboard = function Dashboard(_ref) {
1844
1845
  md: 5
1845
1846
  }, /*#__PURE__*/React__default.createElement(ImageContainer, {
1846
1847
  component: "img",
1847
- image: "https://d23gso0b80cetw.cloudfront.net/dashboard-image/Group+168+(1).png",
1848
+ image: (exploreCategoryImage === null || exploreCategoryImage === void 0 ? void 0 : exploreCategoryImage.src) || 'https://d23gso0b80cetw.cloudfront.net/dashboard-image/Group+168+(1).png',
1848
1849
  alt: "image",
1849
1850
  style: {
1850
1851
  padding: '0 1rem'
1852
+ },
1853
+ onClick: function onClick() {
1854
+ (exploreCategoryImage === null || exploreCategoryImage === void 0 ? void 0 : exploreCategoryImage.onClick) && (exploreCategoryImage === null || exploreCategoryImage === void 0 ? void 0 : exploreCategoryImage.onClick());
1851
1855
  }
1852
1856
  }))))), /*#__PURE__*/React__default.createElement(material.Grid, {
1853
1857
  item: true,
@@ -2085,7 +2089,7 @@ var MeetContainer = styled__default.h4(_templateObject3$2 || (_templateObject3$2
2085
2089
  var TypographyContainer$2 = styled__default(material.Typography)(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteralLoose(["\n color: ", ";\n display: flex;\n align-items: center;\n"])), function (props) {
2086
2090
  return props.fontColor;
2087
2091
  });
2088
- var CardMediaContainer = styled__default(material.CardMedia)(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteralLoose(["\n border-radius: 50%;\n max-width: 80px;\n margin: 1.5rem 0;\n"])));
2092
+ var CardMediaContainer = styled__default(material.CardMedia)(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteralLoose(["\n border-radius: 16%;\n max-width: 80px;\n margin: 1.5rem 0;\n"])));
2089
2093
  var DividerContainer = styled__default(material.Divider)(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteralLoose([""])));
2090
2094
  var CardContainer = styled__default(material.Stack)(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n border-radius: 14px;\n box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 8px 0px;\n max-width: 300px;\n"])), function (props) {
2091
2095
  return props.isNightMode ? props.secondaryColor : "rgba(" + hexToRgbA(props.primaryColor) + ",0.1)";
@@ -3574,6 +3578,7 @@ var AccountDetails = function AccountDetails(_ref) {
3574
3578
  onChangePath = _ref.onChangePath,
3575
3579
  maxWidth = _ref.maxWidth,
3576
3580
  sectionLeftImageSection = _ref.sectionLeftImageSection,
3581
+ exploreCategoryImage = _ref.exploreCategoryImage,
3577
3582
  sectionRightImageSection = _ref.sectionRightImageSection,
3578
3583
  discountImageSection = _ref.discountImageSection,
3579
3584
  hideDiscountImage = _ref.hideDiscountImage,
@@ -3687,6 +3692,7 @@ var AccountDetails = function AccountDetails(_ref) {
3687
3692
  storeIdList: storeIdList,
3688
3693
  defaultStoreId: defaultStoreId,
3689
3694
  isNightMode: isNightMode,
3695
+ exploreCategoryImage: exploreCategoryImage,
3690
3696
  sectionLeftImageSection: sectionLeftImageSection,
3691
3697
  sectionRightImageSection: sectionRightImageSection,
3692
3698
  discountImageSection: discountImageSection,