@eclass/ui-kit 1.64.2 → 1.64.3
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/eclass-ui-kit.es.js +7 -5
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +5 -5
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/organisms/Modals/Modal/Modal.d.ts.map +1 -1
- package/dist/organisms/SimpleCourseBox/SimpleCourseBox.d.ts.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/eclass-ui-kit.es.js
CHANGED
|
@@ -7719,6 +7719,7 @@ const useModalConfig = ({
|
|
|
7719
7719
|
}
|
|
7720
7720
|
};
|
|
7721
7721
|
};
|
|
7722
|
+
const StyledModalContent$1 = ModalContent$1;
|
|
7722
7723
|
const uiKitModalIsDesktop = 641;
|
|
7723
7724
|
const ModalPadding = {
|
|
7724
7725
|
py: "32px",
|
|
@@ -7773,7 +7774,7 @@ const Modal = ({
|
|
|
7773
7774
|
}
|
|
7774
7775
|
}
|
|
7775
7776
|
},
|
|
7776
|
-
children: /* @__PURE__ */ jsx(
|
|
7777
|
+
children: /* @__PURE__ */ jsx(StyledModalContent$1, {
|
|
7777
7778
|
...modalConfig.contentProps,
|
|
7778
7779
|
children: /* @__PURE__ */ jsx(ModalContentBase, {
|
|
7779
7780
|
fixedButtons,
|
|
@@ -11556,8 +11557,9 @@ const SimpleCourseBox = ({
|
|
|
11556
11557
|
noBorder = false
|
|
11557
11558
|
}) => {
|
|
11558
11559
|
const link = !isEnabled || !href || href === "" ? void 0 : href;
|
|
11560
|
+
const [isDesktop] = useMediaQuery("(min-width: 768px)");
|
|
11559
11561
|
return /* @__PURE__ */ jsx(StyledLinkBox, {
|
|
11560
|
-
p: "16px
|
|
11562
|
+
p: isDesktop ? "16px 24px" : "16px",
|
|
11561
11563
|
borderBottom: noBorder ? "none" : `1px solid ${vars("colors-neutral-platinum")}`,
|
|
11562
11564
|
_hover: {
|
|
11563
11565
|
backgroundColor: link ? vars("colors-neutral-cultured2") : "none",
|
|
@@ -11575,10 +11577,10 @@ const SimpleCourseBox = ({
|
|
|
11575
11577
|
gap: "24px",
|
|
11576
11578
|
alignItems: "center",
|
|
11577
11579
|
justifyContent: "space-between",
|
|
11578
|
-
pr: "8px",
|
|
11579
11580
|
children: [/* @__PURE__ */ jsxs(StyledFlex, {
|
|
11580
|
-
gap: "24px",
|
|
11581
|
-
alignItems: "center",
|
|
11581
|
+
gap: isDesktop ? "24px" : "16px",
|
|
11582
|
+
alignItems: isDesktop ? "center" : "flex-start",
|
|
11583
|
+
flexDir: isDesktop ? "row" : "column",
|
|
11582
11584
|
children: [/* @__PURE__ */ jsx(StyledImage, {
|
|
11583
11585
|
src: img,
|
|
11584
11586
|
w: "150px",
|