@eclass/ui-kit 1.54.12 → 1.54.14

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.
@@ -4194,14 +4194,6 @@ const Modal = ({
4194
4194
  marginX: isDesktop ? "auto" : 0,
4195
4195
  maxH: isInside ? "calc(100dvh - 96px)" : "auto",
4196
4196
  maxWidth: isDesktop ? "690px" : "100%",
4197
- ".chakra-modal__close-btn": {
4198
- "&:hover": {
4199
- bg: "transparent"
4200
- },
4201
- "&:focus-visible": {
4202
- boxShadow: `inset 0 0 0 2px ${vars("colors-alert-deepSkyBlue")}, inset 0 0 0 4px ${vars("colors-neutral-white")}`
4203
- }
4204
- },
4205
4197
  ...fixedButtons && {
4206
4198
  ".uikit-modalContent": {
4207
4199
  pb: 0
@@ -4234,6 +4226,8 @@ const Modal = ({
4234
4226
  textAlign: "center",
4235
4227
  children: title
4236
4228
  }), closeOnOverlayClick && /* @__PURE__ */ jsx(ModalCloseButton, {
4229
+ background: "transparent!important",
4230
+ border: "none",
4237
4231
  color: vars("colors-neutral-white"),
4238
4232
  h: "12px",
4239
4233
  p: "22px",
@@ -4242,6 +4236,9 @@ const Modal = ({
4242
4236
  w: "12px",
4243
4237
  _focus: {
4244
4238
  boxShadow: "none"
4239
+ },
4240
+ _focusVisible: {
4241
+ boxShadow: `inset 0 0 0 2px ${vars("colors-alert-deepSkyBlue")}, inset 0 0 0 4px ${vars("colors-neutral-white")}`
4245
4242
  }
4246
4243
  }), (fixedSubtitle == null ? void 0 : fixedSubtitle.trim()) && /* @__PURE__ */ jsx(Box, {
4247
4244
  as: "p",
@@ -4376,11 +4373,13 @@ const ModalAlertNew = ({
4376
4373
  fontWeight: "700",
4377
4374
  fontSize: isDesktop ? "20px" : "18px",
4378
4375
  lineHeight: "24px",
4376
+ mb: 0,
4379
4377
  children: title
4380
4378
  }), description && /* @__PURE__ */ jsx(Box, {
4381
4379
  as: "p",
4382
4380
  fontSize: "16px",
4383
4381
  lineHeight: "24px",
4382
+ mb: 0,
4384
4383
  children: description
4385
4384
  })]
4386
4385
  }), type !== "loading" && children ? children : /* @__PURE__ */ jsx(Fragment, {})]