@salesgenterp/ui-components 0.4.189 → 0.4.191

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
@@ -1616,7 +1616,7 @@ EnhancedTableHead.propTypes = {
1616
1616
  rowCount: propTypes.number.isRequired
1617
1617
  };
1618
1618
  function EnhancedTable(_ref) {
1619
- var _styles$scroll, _styles$scroll2, _styles$cartSummary4, _styles$Btn;
1619
+ var _styles$scroll, _styles$scroll2, _styles$Btn, _styles$Btn2;
1620
1620
  var cartData = _ref.cartData,
1621
1621
  loading = _ref.loading,
1622
1622
  imgnotfoundUrl = _ref.imgnotfoundUrl,
@@ -1729,8 +1729,8 @@ function EnhancedTable(_ref) {
1729
1729
  handleRemoveProduct: handleRemoveProduct
1730
1730
  });
1731
1731
  }))))), /*#__PURE__*/React.createElement(CartButtonsRow, {
1732
- bg: styles === null || styles === void 0 ? void 0 : (_styles$cartSummary4 = styles.cartSummary) === null || _styles$cartSummary4 === void 0 ? void 0 : _styles$cartSummary4.bg,
1733
- color: styles === null || styles === void 0 ? void 0 : (_styles$Btn = styles.Btn) === null || _styles$Btn === void 0 ? void 0 : _styles$Btn.color
1732
+ bg: styles === null || styles === void 0 ? void 0 : (_styles$Btn = styles.Btn) === null || _styles$Btn === void 0 ? void 0 : _styles$Btn.background,
1733
+ color: styles === null || styles === void 0 ? void 0 : (_styles$Btn2 = styles.Btn) === null || _styles$Btn2 === void 0 ? void 0 : _styles$Btn2.color
1734
1734
  }, /*#__PURE__*/React.createElement("button", {
1735
1735
  onClick: function onClick() {
1736
1736
  new Promise(function (resolve, reject) {
@@ -2758,7 +2758,7 @@ var Step1 = function Step1(_ref) {
2758
2758
  };
2759
2759
 
2760
2760
  var Step2 = function Step2(_ref) {
2761
- var _addressList$, _addressList, _styles$button;
2761
+ var _addressList$, _addressList, _styles$button2;
2762
2762
  var handleBack = _ref.handleBack,
2763
2763
  _handleNext = _ref.handleNext,
2764
2764
  options = _ref.options,
@@ -2847,7 +2847,7 @@ var Step2 = function Step2(_ref) {
2847
2847
  alignItems: 'flex-start',
2848
2848
  paddingBottom: '2em'
2849
2849
  }, options === null || options === void 0 ? void 0 : options.map(function (option, i) {
2850
- var _styles$input, _styles$input2, _option$amount;
2850
+ var _styles$input, _styles$input2, _styles$button, _option$amount;
2851
2851
  return /*#__PURE__*/React__default.createElement(DeliveryOption, {
2852
2852
  hovered: (option === null || option === void 0 ? void 0 : option.id) === (method === null || method === void 0 ? void 0 : method.id),
2853
2853
  onClick: function onClick() {
@@ -2857,7 +2857,7 @@ var Step2 = function Step2(_ref) {
2857
2857
  bg: styles === null || styles === void 0 ? void 0 : (_styles$input = styles.input) === null || _styles$input === void 0 ? void 0 : _styles$input.bg,
2858
2858
  border: styles === null || styles === void 0 ? void 0 : (_styles$input2 = styles.input) === null || _styles$input2 === void 0 ? void 0 : _styles$input2.border,
2859
2859
  color: styles === null || styles === void 0 ? void 0 : styles.primaryColor,
2860
- buttonBg: styles === null || styles === void 0 ? void 0 : styles.button.bg
2860
+ buttonBg: styles === null || styles === void 0 ? void 0 : (_styles$button = styles.button) === null || _styles$button === void 0 ? void 0 : _styles$button.bg
2861
2861
  }, /*#__PURE__*/React__default.createElement("div", {
2862
2862
  className: "circle"
2863
2863
  }, /*#__PURE__*/React__default.createElement("span", {
@@ -2874,7 +2874,7 @@ var Step2 = function Step2(_ref) {
2874
2874
  _handleNext();
2875
2875
  },
2876
2876
  nextDisabled: showShipping && !address || (address === null || address === void 0 ? void 0 : address.id) === 99999999,
2877
- color: styles === null || styles === void 0 ? void 0 : (_styles$button = styles.button) === null || _styles$button === void 0 ? void 0 : _styles$button.bg
2877
+ color: styles === null || styles === void 0 ? void 0 : (_styles$button2 = styles.button) === null || _styles$button2 === void 0 ? void 0 : _styles$button2.bg
2878
2878
  })));
2879
2879
  };
2880
2880