@eclass/ui-kit 1.7.1 → 1.7.4

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.
@@ -26083,23 +26083,26 @@ const styles = {
26083
26083
  borderStyle: "none"
26084
26084
  },
26085
26085
  ".chakra-modal__content-container": {
26086
+ padding: "1.87rem",
26086
26087
  zIndex: "1400",
26087
26088
  justifyContent: "center",
26088
26089
  alignItems: "center",
26089
26090
  overflow: "auto"
26090
26091
  },
26091
26092
  ".chakra-modal__content": {
26092
- borderRadius: "8px",
26093
+ borderRadius: "0.5rem",
26093
26094
  background: "white",
26094
26095
  color: "inherit",
26095
26096
  zIndex: "1400",
26096
- maxWidth: "589px"
26097
+ maxWidth: "36.813rem",
26098
+ boxShadow: "0px 4px 16px rgba(92, 92, 92, 0.2)"
26097
26099
  },
26098
26100
  ".chakra-modal__header": {
26099
26101
  paddingInlineStart: "1.5rem",
26100
26102
  paddingInlineEnd: "1.5rem",
26101
26103
  fontSize: "1.25rem",
26102
26104
  fontWeight: "700",
26105
+ textAlign: "center",
26103
26106
  ".chakra-icon": {
26104
26107
  width: "13rem"
26105
26108
  }
@@ -26107,7 +26110,7 @@ const styles = {
26107
26110
  ".chakra-modal__close-btn": {
26108
26111
  width: "2rem",
26109
26112
  height: "2rem",
26110
- borderRadius: "8px",
26113
+ borderRadius: "0.5rem",
26111
26114
  fontSize: "0.75rem",
26112
26115
  position: "absolute",
26113
26116
  top: "0.5rem",
@@ -27450,9 +27453,10 @@ function PaymentModal({
27450
27453
  onClose,
27451
27454
  size: "xl",
27452
27455
  blockScrollOnMount: false,
27456
+ closeOnOverlayClick: false,
27453
27457
  children: [overlay, /* @__PURE__ */ jsxs(ModalContent, {
27454
27458
  marginTop: "0",
27455
- marginBottom: "10.75rem",
27459
+ marginBottom: ["25.75rem", "15.75rem"],
27456
27460
  children: [/* @__PURE__ */ jsxs(ModalHeader, {
27457
27461
  justifyContent: "center",
27458
27462
  display: "flex",
@@ -27473,6 +27477,7 @@ function PaymentModal({
27473
27477
  }), /* @__PURE__ */ jsx(ModalBody, {
27474
27478
  p: "1rem 2rem 2rem 2rem",
27475
27479
  children: /* @__PURE__ */ jsx(Text, {
27480
+ align: "center",
27476
27481
  children: modalPaymentText.body
27477
27482
  })
27478
27483
  }), /* @__PURE__ */ jsx(ModalFooter, {
@@ -27490,7 +27495,7 @@ function PaymentModal({
27490
27495
  _hover: cssButton,
27491
27496
  _focus: cssButton,
27492
27497
  _active: cssButton,
27493
- children: "Entendido"
27498
+ children: modalPaymentText.buttonName
27494
27499
  })
27495
27500
  })]
27496
27501
  })]
@@ -27500,7 +27505,6 @@ Modal.displayName = "Modal";
27500
27505
  function Footer({
27501
27506
  modalPaymentText
27502
27507
  }) {
27503
- var _a;
27504
27508
  const {
27505
27509
  action,
27506
27510
  Profile: Profile2,
@@ -27519,7 +27523,7 @@ function Footer({
27519
27523
  setOverlay(true);
27520
27524
  onOpen();
27521
27525
  };
27522
- if (action == null || (action == null ? void 0 : action.enabled) && ((_a = action.href) == null ? void 0 : _a.length) === 0) {
27526
+ if (action == null) {
27523
27527
  return null;
27524
27528
  }
27525
27529
  return /* @__PURE__ */ jsxs(Center, {
@@ -27537,6 +27541,7 @@ function Footer({
27537
27541
  mr: action.hasIcon ? "1.5rem" : "0",
27538
27542
  lineHeight: "1.172rem",
27539
27543
  p: "0",
27544
+ zIndex: "inherit !important",
27540
27545
  _hover: cssButton,
27541
27546
  _focus: cssButton,
27542
27547
  _active: cssButton,