@eclass/ui-kit 1.51.14 → 1.51.16
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
CHANGED
|
@@ -35561,7 +35561,7 @@ const CalendarDropdownContainer = ({
|
|
|
35561
35561
|
onlyToCalendar,
|
|
35562
35562
|
m: m2
|
|
35563
35563
|
}) => {
|
|
35564
|
-
var _a, _b, _c, _d, _e, _f;
|
|
35564
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
35565
35565
|
const [isMobile] = useMediaQuery("(max-width: 577px)");
|
|
35566
35566
|
const {
|
|
35567
35567
|
closeAndMarkSeen,
|
|
@@ -35653,7 +35653,7 @@ const CalendarDropdownContainer = ({
|
|
|
35653
35653
|
width: isMobile ? "100vw" : "500px",
|
|
35654
35654
|
maxHeight: isMobile ? "calc(100vh - 62px)" : "auto",
|
|
35655
35655
|
overflowY: isMobile ? "auto" : "hidden",
|
|
35656
|
-
background: "
|
|
35656
|
+
background: "transparent",
|
|
35657
35657
|
border: "none",
|
|
35658
35658
|
borderRadius: isMobile ? "0" : "10px",
|
|
35659
35659
|
boxShadow: isMobile ? "none" : "rgba(47, 47, 47, 0.2) -1px 6px 40px 0px",
|
|
@@ -35687,16 +35687,19 @@ const CalendarDropdownContainer = ({
|
|
|
35687
35687
|
children: [/* @__PURE__ */ jsx(Header, {
|
|
35688
35688
|
text: (_d = text == null ? void 0 : text.header) != null ? _d : "Pr\xF3ximas fechas importantes de tus cursos",
|
|
35689
35689
|
isMobile
|
|
35690
|
-
}),
|
|
35691
|
-
|
|
35692
|
-
|
|
35693
|
-
|
|
35694
|
-
|
|
35695
|
-
|
|
35696
|
-
|
|
35697
|
-
|
|
35698
|
-
|
|
35699
|
-
|
|
35690
|
+
}), /* @__PURE__ */ jsx(Box, {
|
|
35691
|
+
bg: (_e = vars("colors-neutral-white")) != null ? _e : "#FFF",
|
|
35692
|
+
children: loading ? /* @__PURE__ */ jsx(Loading, {
|
|
35693
|
+
text: (_f = text == null ? void 0 : text.loading) != null ? _f : "Cargando"
|
|
35694
|
+
}) : events.length === 0 || empty ? /* @__PURE__ */ jsx(Empty, {
|
|
35695
|
+
text: (_g = text == null ? void 0 : text.empty) != null ? _g : "A\xFAn no tienes eventos en tu calendario"
|
|
35696
|
+
}) : /* @__PURE__ */ jsx(Events, {
|
|
35697
|
+
colors: courseColors,
|
|
35698
|
+
events: all,
|
|
35699
|
+
text,
|
|
35700
|
+
redirecToCalendar: redirectToCalendar,
|
|
35701
|
+
isMobile
|
|
35702
|
+
})
|
|
35700
35703
|
})]
|
|
35701
35704
|
})]
|
|
35702
35705
|
})
|
|
@@ -35830,13 +35833,17 @@ const EventsList = ({
|
|
|
35830
35833
|
gap: "4px",
|
|
35831
35834
|
lineHeight: "19px",
|
|
35832
35835
|
children: [/* @__PURE__ */ jsx(Box, {
|
|
35833
|
-
|
|
35834
|
-
w: "10px",
|
|
35836
|
+
alignSelf: "flex-start",
|
|
35835
35837
|
bg: color2,
|
|
35836
35838
|
borderRadius: "50%",
|
|
35837
35839
|
display: "block",
|
|
35838
|
-
|
|
35839
|
-
mt: "4px"
|
|
35840
|
+
h: "10px",
|
|
35841
|
+
mt: "4px",
|
|
35842
|
+
maxH: "10px",
|
|
35843
|
+
maxW: "10px",
|
|
35844
|
+
minH: "10px",
|
|
35845
|
+
minW: "10px",
|
|
35846
|
+
w: "10px"
|
|
35840
35847
|
}), /* @__PURE__ */ jsxs(Box, {
|
|
35841
35848
|
as: "span",
|
|
35842
35849
|
color: (_b = vars("colors-neutral-gray")) != null ? _b : "#808080",
|