mainstack-payments 0.1.8 → 0.2.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.
@@ -21350,7 +21350,7 @@ const Wm = /* @__PURE__ */ new Map([
21350
21350
  borderRadius: "16px",
21351
21351
  p: { md: "24px", base: "16px" },
21352
21352
  mt: "24px",
21353
- fontFamily: "Bricolage Grotesque",
21353
+ fontFamily: "inherit",
21354
21354
  children: [
21355
21355
  /* @__PURE__ */ J(pt, { children: [
21356
21356
  /* @__PURE__ */ J(
@@ -21388,10 +21388,11 @@ const Wm = /* @__PURE__ */ new Map([
21388
21388
  nt,
21389
21389
  {
21390
21390
  fontSize: { md: "16px", base: "14px" },
21391
- fontWeight: "500",
21391
+ fontWeight: "600",
21392
21392
  mb: "12px",
21393
21393
  lineHeight: "20px",
21394
21394
  letterSpacing: "-0.064px",
21395
+ fontFamily: "inherit",
21395
21396
  children: "Card Information"
21396
21397
  }
21397
21398
  ),
@@ -21544,9 +21545,9 @@ const Wm = /* @__PURE__ */ new Map([
21544
21545
  onChange: (q) => {
21545
21546
  var oe, ne;
21546
21547
  B(q.target.value), r.setFieldValue("zipCode", q.target.value), pe(
21547
- ((oe = Xr == null ? void 0 : Xr.find(
21548
+ (oe = Xr == null ? void 0 : Xr.find(
21548
21549
  (ce) => ce.name === r.values.country
21549
- )) == null ? void 0 : oe.alpha2Code) ?? "" ? LL(
21550
+ )) != null && oe.alpha2Code ? LL(
21550
21551
  q.target.value,
21551
21552
  ((ne = Xr == null ? void 0 : Xr.find(
21552
21553
  (ce) => ce.name === r.values.country
@@ -26476,7 +26477,7 @@ const WL = "Payment Completed", HL = ({
26476
26477
  }
26477
26478
  ke(!1);
26478
26479
  } else
26479
- ke(!1), U.submitForm();
26480
+ ke(!1);
26480
26481
  },
26481
26482
  _hover: {
26482
26483
  opacity: 0.8,
@@ -26612,7 +26613,7 @@ const WL = "Payment Completed", HL = ({
26612
26613
  your international currency conversion.`,
26613
26614
  label: "International cards conversion fee",
26614
26615
  triggerComponent: /* @__PURE__ */ b(af, { boxSize: "20px" }),
26615
- fontFamily: "Bricolage Grotesque"
26616
+ fontFamily: "inherit"
26616
26617
  }
26617
26618
  )
26618
26619
  ] }),
@@ -26658,7 +26659,7 @@ const WL = "Payment Completed", HL = ({
26658
26659
  ] }),
26659
26660
  label: "Fees",
26660
26661
  triggerComponent: /* @__PURE__ */ b(af, { boxSize: "20px" }),
26661
- fontFamily: "Bricolage Grotesque"
26662
+ fontFamily: "inherit"
26662
26663
  }
26663
26664
  )
26664
26665
  ] }),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mainstack-payments",
3
3
  "type": "module",
4
- "version": "0.1.8",
4
+ "version": "0.2.0",
5
5
  "main": "build/mainstack-payments.js",
6
6
  "types": "build/src/index.d.ts",
7
7
  "files": [