@salesgenterp/ui-components 0.4.146 → 0.4.147

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
@@ -4783,19 +4783,14 @@ var Dashboard = function Dashboard(_ref) {
4783
4783
  spacing: 4,
4784
4784
  alignItems: "center"
4785
4785
  }, /*#__PURE__*/React__default.createElement(material.Grid, {
4786
- item: true,
4787
- xs: 12,
4788
- md: 4,
4789
- lg: 2
4786
+ item: true
4790
4787
  }, /*#__PURE__*/React__default.createElement(CardMediaContainer, {
4791
4788
  component: "img",
4792
4789
  image: "/images/imgnotfound.jpeg",
4793
4790
  alt: "image"
4794
4791
  })), /*#__PURE__*/React__default.createElement(material.Grid, {
4795
4792
  item: true,
4796
- xs: 12,
4797
- md: 8,
4798
- lg: 10
4793
+ flex: 1
4799
4794
  }, /*#__PURE__*/React__default.createElement(MeetContainer, {
4800
4795
  primaryColor: primaryColor,
4801
4796
  secondaryColor: secondaryColor,
@@ -5117,19 +5112,14 @@ var MyProfile = function MyProfile(_ref) {
5117
5112
  spacing: 4,
5118
5113
  alignItems: "center"
5119
5114
  }, /*#__PURE__*/React__default.createElement(material.Grid, {
5120
- item: true,
5121
- xs: 12,
5122
- md: 4,
5123
- lg: 2
5115
+ item: true
5124
5116
  }, /*#__PURE__*/React__default.createElement(CardMediaContainer$1, {
5125
5117
  component: "img",
5126
5118
  image: "/images/imgnotfound.jpeg",
5127
5119
  alt: "image"
5128
5120
  })), /*#__PURE__*/React__default.createElement(material.Grid, {
5129
5121
  item: true,
5130
- xs: 12,
5131
- md: 8,
5132
- lg: 10
5122
+ flex: 1
5133
5123
  }, /*#__PURE__*/React__default.createElement(MeetContainer$1, {
5134
5124
  primaryColor: primaryColor,
5135
5125
  secondaryColor: secondaryColor,
@@ -5148,7 +5138,7 @@ var MyProfile = function MyProfile(_ref) {
5148
5138
  }
5149
5139
  }, /*#__PURE__*/React__default.createElement(md.MdPersonOutline, {
5150
5140
  style: {
5151
- fontSize: '1.2rem',
5141
+ fontSize: '1.8rem',
5152
5142
  color: primaryColor,
5153
5143
  marginRight: '1rem'
5154
5144
  }
@@ -5164,7 +5154,7 @@ var MyProfile = function MyProfile(_ref) {
5164
5154
  }
5165
5155
  }, /*#__PURE__*/React__default.createElement(md.MdOutlineCall, {
5166
5156
  style: {
5167
- fontSize: '1.2rem',
5157
+ fontSize: '1.8rem',
5168
5158
  color: primaryColor,
5169
5159
  marginRight: '1rem'
5170
5160
  }
@@ -5180,7 +5170,7 @@ var MyProfile = function MyProfile(_ref) {
5180
5170
  }
5181
5171
  }, /*#__PURE__*/React__default.createElement(md.MdMailOutline, {
5182
5172
  style: {
5183
- fontSize: '1.2rem',
5173
+ fontSize: '1.8rem',
5184
5174
  color: primaryColor,
5185
5175
  marginRight: '1rem'
5186
5176
  }
@@ -6934,10 +6924,9 @@ var AccountDetails = function AccountDetails(_ref) {
6934
6924
  };
6935
6925
  var handleNightMode = function handleNightMode(data) {
6936
6926
  setIsNightMode(!data);
6937
- onChangeColors && onChangeColors(_extends({}, colors, {
6927
+ onChangeColors ? onChangeColors(_extends({}, colors, {
6938
6928
  isNightMode: !data
6939
- }));
6940
- handleColors(!data);
6929
+ })) : handleColors(!data);
6941
6930
  };
6942
6931
  var handleColors = function handleColors(isNightMode) {
6943
6932
  isNightMode ? setColors({
@@ -6965,10 +6954,10 @@ var AccountDetails = function AccountDetails(_ref) {
6965
6954
  apiEndPoint: apiEndPoint,
6966
6955
  serviceApiEndPoint: serviceApiEndPoint,
6967
6956
  token: token,
6968
- primaryColor: colors.primaryColor,
6969
- secondaryColor: colors.secondaryColor,
6970
- backgroundColor: colors.backgroundColor,
6971
- fontColor: colors.fontColor,
6957
+ primaryColor: primaryColor || colors.primaryColor,
6958
+ secondaryColor: secondaryColor || colors.secondaryColor,
6959
+ backgroundColor: backgroundColor || colors.backgroundColor,
6960
+ fontColor: fontColor || colors.fontColor,
6972
6961
  storeIdList: storeIdList
6973
6962
  });
6974
6963