@thecb/components 7.11.0-beta.7 → 7.11.1-beta.0

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.cjs.js CHANGED
@@ -13815,16 +13815,16 @@ var CheckmarkIcon = function CheckmarkIcon() {
13815
13815
  transform: "translate(672.000000, 64.000000)"
13816
13816
  }, /*#__PURE__*/React__default.createElement("circle", {
13817
13817
  id: "Oval-2",
13818
- stroke: MATISSE_BLUE,
13818
+ stroke: SEA_GREEN,
13819
13819
  strokeWidth: "2",
13820
- fill: INFO_BLUE,
13820
+ fill: HINT_GREEN,
13821
13821
  cx: "48",
13822
13822
  cy: "48",
13823
13823
  r: "48"
13824
13824
  }), /*#__PURE__*/React__default.createElement("g", {
13825
13825
  id: "Group-2",
13826
13826
  transform: "translate(20.800000, 28.400000)",
13827
- fill: MATISSE_BLUE
13827
+ fill: SEA_GREEN
13828
13828
  }, /*#__PURE__*/React__default.createElement("polygon", {
13829
13829
  id: "Rectangle-2",
13830
13830
  transform: "translate(12.800000, 30.000000) rotate(-45.000000) translate(-12.800000, -30.000000) ",
@@ -46529,12 +46529,10 @@ var PartialAmountForm = function PartialAmountForm(_ref) {
46529
46529
  var errorMessages = amountErrors;
46530
46530
 
46531
46531
  if (blockPartialPaymentOverpay) {
46532
- console.log("item amount in form is", itemAmount);
46533
46532
  var maxAmountError = "There is a maximum payment of ".concat(displayCurrency(itemAmount));
46534
46533
  return _objectSpread2(_objectSpread2({}, errorMessages), {}, _defineProperty({}, numberLessThanOrEqualTo.error, maxAmountError));
46535
46534
  }
46536
46535
 
46537
- console.log("error messages are", errorMessages);
46538
46536
  return errorMessages;
46539
46537
  };
46540
46538
 
@@ -46577,9 +46575,6 @@ var createPartialAmountFormState = function createPartialAmountFormState(lineIte
46577
46575
  var minimum = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
46578
46576
  var blockPartialPaymentOverpay = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
46579
46577
  var formConfig = lineItems.reduce(function (acc, item) {
46580
- console.log("maximum is", maximum);
46581
- console.log("item amount is", item.amount);
46582
- console.log("block payment overpay", blockPartialPaymentOverpay);
46583
46578
  var validators = [required(), validateSum(numberGreaterThanOrEqualTo(minimum), lineItems.filter(function (lineItem) {
46584
46579
  return lineItem != item;
46585
46580
  }).reduce(function (acc, curr) {