@eclass/ui-kit 1.53.0 → 1.53.2
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 +20 -7
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +28 -28
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/molecules/Buttons/BtnLink.d.ts +2 -1
- package/dist/molecules/Buttons/BtnLink.d.ts.map +1 -1
- package/dist/organisms/Calendar/Dropdown/CalendarDropdown/Components/EventsGroup.d.ts.map +1 -1
- package/dist/organisms/Calendar/EventsList/EventsList.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
|
@@ -1769,15 +1769,17 @@ function BtnLink({
|
|
|
1769
1769
|
onClick,
|
|
1770
1770
|
role = "link",
|
|
1771
1771
|
tabIndex,
|
|
1772
|
+
target = "_blank",
|
|
1772
1773
|
textDecorationLine = true
|
|
1773
1774
|
}) {
|
|
1774
1775
|
const typeButton = {
|
|
1775
1776
|
button: {
|
|
1776
|
-
onClick
|
|
1777
|
+
onClick,
|
|
1778
|
+
target
|
|
1777
1779
|
},
|
|
1778
1780
|
a: {
|
|
1779
1781
|
href,
|
|
1780
|
-
target
|
|
1782
|
+
target
|
|
1781
1783
|
}
|
|
1782
1784
|
};
|
|
1783
1785
|
return /* @__PURE__ */ jsx(Box, {
|
|
@@ -6127,6 +6129,7 @@ const EventsGroup = ({
|
|
|
6127
6129
|
children: textSeeMore
|
|
6128
6130
|
}), " ", /* @__PURE__ */ jsx(BtnLink, {
|
|
6129
6131
|
onClick: redirect,
|
|
6132
|
+
target: "_self",
|
|
6130
6133
|
children: textLinkMore
|
|
6131
6134
|
})]
|
|
6132
6135
|
})]
|
|
@@ -6412,9 +6415,9 @@ const EventsList = ({
|
|
|
6412
6415
|
const border = `1px solid ${(_a = vars("colors-neutral-platinum")) != null ? _a : "#E8E8E8"}`;
|
|
6413
6416
|
const initOrEnd = ["end-course", "init-course", "init-course-flexible", "end-course-flexible"].includes(type);
|
|
6414
6417
|
const dateTextStyle = {
|
|
6418
|
+
color: vars("colors-neutral-white"),
|
|
6415
6419
|
fontSize: "14px",
|
|
6416
6420
|
fontWeight: "700",
|
|
6417
|
-
color: vars("colors-neutral-white"),
|
|
6418
6421
|
lineHeight: "100%"
|
|
6419
6422
|
};
|
|
6420
6423
|
const detailTextStyle = {
|
|
@@ -6459,13 +6462,23 @@ const EventsList = ({
|
|
|
6459
6462
|
gap: "8px",
|
|
6460
6463
|
w: "100%",
|
|
6461
6464
|
children: [/* @__PURE__ */ jsxs(Box, {
|
|
6462
|
-
lineHeight: "21px",
|
|
6463
|
-
display: "flex",
|
|
6464
|
-
justifyContent: "space-between",
|
|
6465
6465
|
alignItems: "center",
|
|
6466
|
+
display: "flex",
|
|
6466
6467
|
fontSize: "16px",
|
|
6467
6468
|
fontWeight: "700",
|
|
6468
|
-
|
|
6469
|
+
justifyContent: "space-between",
|
|
6470
|
+
lineHeight: "21px",
|
|
6471
|
+
sx: {
|
|
6472
|
+
">span": {
|
|
6473
|
+
width: "calc(100% - 12px)"
|
|
6474
|
+
},
|
|
6475
|
+
">svg": {
|
|
6476
|
+
alignSelf: "flex-start"
|
|
6477
|
+
}
|
|
6478
|
+
},
|
|
6479
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
6480
|
+
children: name
|
|
6481
|
+
}), hasNotification && /* @__PURE__ */ jsx(NotificationIcon, {}), /* @__PURE__ */ jsx(NotificationIcon, {})]
|
|
6469
6482
|
}), showCourse && !initOrEnd && /* @__PURE__ */ jsxs(Box, {
|
|
6470
6483
|
as: "span",
|
|
6471
6484
|
sx: detailTextStyle,
|