@salesgenterp/ui-components 0.4.67 → 0.4.69

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
@@ -1974,7 +1974,7 @@ var CartPageComponent = function CartPageComponent(_ref) {
1974
1974
  };
1975
1975
 
1976
1976
  var _templateObject$6, _templateObject2$6, _templateObject3$6, _templateObject4$5, _templateObject5$5, _templateObject6$5, _templateObject7$3;
1977
- var CheckoutPageContainer = styled.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n background-color: ", ";\n margin: 0 auto;\n padding: 2.375em 3.5em 2.5em 4.5em;\n padding-left: min(4.5em, 2.5vw);\n font-family: 'karla-fonts';\n color: rgba(50, 50, 50, 1);\n /* max-height: 90vh; */\n overflow: hidden;\n background: #fff8f6;\n /* background: gainsboro; */\n border-radius: 28px;\n @media only screen and (max-width: 1508px) {\n flex-direction: column;\n align-items: center;\n max-height: max-content;\n }\n @media only screen and (max-width: 788px) {\n padding: 1em 0.5em;\n }\n .icon {\n font-size: 12px;\n }\n"])), function (props) {
1977
+ var CheckoutPageContainer = styled.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: ", ";\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-start;\n background-color: ", ";\n margin: 0 auto;\n padding: 2.375em 3.5em 2.5em 4.5em;\n padding-left: min(4.5em, 2.5vw);\n font-family: 'karla-fonts';\n color: rgba(50, 50, 50, 1);\n /* max-height: 90vh; */\n overflow: hidden;\n /* background: gainsboro; */\n border-radius: 28px;\n background-color: #fff8f6;\n @media only screen and (max-width: 1508px) {\n flex-direction: column;\n align-items: center;\n max-height: max-content;\n }\n @media only screen and (max-width: 788px) {\n padding: 1em 0.5em;\n }\n .icon {\n font-size: 12px;\n }\n"])), function (props) {
1978
1978
  return props.maxWidth || '1605px';
1979
1979
  }, function (props) {
1980
1980
  return props.bg || 'rgba(255, 248, 246, 1)';
@@ -3262,6 +3262,7 @@ var CheckoutPageComponent = function CheckoutPageComponent(_ref) {
3262
3262
  setPaymentDetails = _ref.setPaymentDetails,
3263
3263
  paymentMethods = _ref.paymentMethods,
3264
3264
  storeCredits = _ref.storeCredits,
3265
+ selectedStoreCredits = _ref.selectedStoreCredits,
3265
3266
  cartData = _ref.cartData,
3266
3267
  vat = _ref.vat,
3267
3268
  clickRedirect = _ref.clickRedirect,
@@ -3410,7 +3411,7 @@ var CheckoutPageComponent = function CheckoutPageComponent(_ref) {
3410
3411
  deliveryCharges: deliveryCharges,
3411
3412
  ordering: loading,
3412
3413
  placeOrder: placeOrder,
3413
- storeCredits: storeCredits
3414
+ storeCredits: selectedStoreCredits
3414
3415
  })));
3415
3416
  }))))), /*#__PURE__*/React__default.createElement(CheckoutSummary, {
3416
3417
  billingInformation: billingAddress,