mainstack-payments 1.0.49 → 1.0.50

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.
@@ -22088,7 +22088,7 @@ const Xg = /* @__PURE__ */ new Map([
22088
22088
  mt: "12px",
22089
22089
  flexDirection: { base: "column", md: "row" },
22090
22090
  children: [
22091
- !(b != null && b.hideBackButton) && /* @__PURE__ */ p(
22091
+ /* @__PURE__ */ p(
22092
22092
  gl,
22093
22093
  {
22094
22094
  bgColor: "#F2F4F7",
@@ -28772,32 +28772,39 @@ const Tu = [
28772
28772
  height: { base: "100%", lg: "90vh" },
28773
28773
  px: Z ? "16px" : { base: "0px", lg: "32px" },
28774
28774
  children: /* @__PURE__ */ M(Ee, { width: "100%", maxWidth: "560px", children: [
28775
+ !(P != null && P.hideBackButton) && /* @__PURE__ */ p(
28776
+ gl,
28777
+ {
28778
+ bgColor: "#fff",
28779
+ color: "#111215",
28780
+ padding: "0px",
28781
+ fontWeight: "600",
28782
+ height: "20px",
28783
+ _hover: {
28784
+ backgroundColor: "none"
28785
+ },
28786
+ _active: {
28787
+ backgroundColor: "none"
28788
+ },
28789
+ label: /* @__PURE__ */ M(te, { alignItems: "center", gap: "12px", children: [
28790
+ /* @__PURE__ */ p(
28791
+ ja,
28792
+ {
28793
+ transform: "rotate(-90deg)",
28794
+ transition: "transform 0.2s",
28795
+ boxSize: "20px"
28796
+ }
28797
+ ),
28798
+ (P == null ? void 0 : P.back_button_label) ?? "Back"
28799
+ ] }),
28800
+ width: "fit-content",
28801
+ fontFamily: "inherit",
28802
+ onClick: l
28803
+ }
28804
+ ),
28775
28805
  /* @__PURE__ */ p(ot, { children: m }),
28776
28806
  /* @__PURE__ */ M(SI, { value: j, children: [
28777
28807
  /* @__PURE__ */ p("form", { onSubmit: j.handleSubmit, children: /* @__PURE__ */ M(Ee, { borderBottom: "1px solid #E8EBF2", py: "20px", children: [
28778
- !(P != null && P.hideBackButton) && /* @__PURE__ */ p(
28779
- gl,
28780
- {
28781
- bgColor: "#fff",
28782
- color: "#111215",
28783
- padding: "0px",
28784
- fontWeight: "600",
28785
- label: /* @__PURE__ */ M(te, { alignItems: "center", gap: "12px", children: [
28786
- /* @__PURE__ */ p(
28787
- ja,
28788
- {
28789
- transform: "rotate(-90deg)",
28790
- transition: "transform 0.2s",
28791
- boxSize: "20px"
28792
- }
28793
- ),
28794
- (P == null ? void 0 : P.back_button_label) ?? "Back"
28795
- ] }),
28796
- width: "fit-content",
28797
- fontFamily: "inherit",
28798
- onClick: l
28799
- }
28800
- ),
28801
28808
  /* @__PURE__ */ M(
28802
28809
  te,
28803
28810
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mainstack-payments",
3
3
  "type": "module",
4
- "version": "1.0.49",
4
+ "version": "1.0.50",
5
5
  "main": "build/mainstack-payments.js",
6
6
  "types": "build/src/index.d.ts",
7
7
  "files": [