@eclass/ui-kit 1.60.2 → 1.60.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.
@@ -10210,17 +10210,17 @@ const EventsGroup = ({
10210
10210
  children: /* @__PURE__ */ jsx(MenuGroup, {
10211
10211
  title,
10212
10212
  children: events.map((event) => {
10213
- var _a2, _b;
10213
+ var _a2;
10214
10214
  const hasUrl = Boolean(event.url);
10215
10215
  const eventOnClick = onClickEvent && hasUrl ? () => onClickEvent(event) : void 0;
10216
10216
  return /* @__PURE__ */ jsx(Box, {
10217
10217
  bg: (_a2 = vars("colors-neutral-white")) != null ? _a2 : "#FFFFFF",
10218
10218
  border: "none",
10219
- cursor: "default",
10219
+ cursor: eventOnClick ? "pointer" : "default",
10220
10220
  padding: "0",
10221
10221
  _hover: {
10222
10222
  boxShadow: "none !important",
10223
- cursor: "default !important",
10223
+ cursor: eventOnClick ? "pointer !important" : "default !important",
10224
10224
  bg: "none !important"
10225
10225
  },
10226
10226
  _focus: {
@@ -10240,8 +10240,7 @@ const EventsGroup = ({
10240
10240
  hasNotification: event.isNew,
10241
10241
  headquartersAddress: event.headquarters_address,
10242
10242
  onClick: eventOnClick,
10243
- showCourse: true,
10244
- url: (_b = event.url) != null ? _b : ""
10243
+ showCourse: true
10245
10244
  }, event.id)
10246
10245
  }, event.id);
10247
10246
  })
@@ -10540,11 +10539,11 @@ const EventsList = ({
10540
10539
  time,
10541
10540
  text: text2,
10542
10541
  type,
10543
- unitName,
10544
- url
10542
+ unitName
10545
10543
  }) => {
10546
- var _a, _b;
10544
+ var _a, _b, _c;
10547
10545
  const border = `1px solid ${(_a = vars("colors-neutral-platinum")) != null ? _a : "#E8E8E8"}`;
10546
+ const hoverBg = (_b = vars("colors-neutral-cultured2")) != null ? _b : "#F8F8F8";
10548
10547
  const isCpr = type === "cpr";
10549
10548
  const showEventLocation = !isCpr || Boolean(headquartersAddress);
10550
10549
  const showEventDuration = ["online", "in-person", "cpr"].includes(type) && duration !== void 0 && duration > 0;
@@ -10556,7 +10555,7 @@ const EventsList = ({
10556
10555
  lineHeight: "100%"
10557
10556
  };
10558
10557
  const detailTextStyle = {
10559
- color: (_b = vars("colors-neutral-gray")) != null ? _b : "#808080",
10558
+ color: (_c = vars("colors-neutral-gray")) != null ? _c : "#808080",
10560
10559
  fontSize: "14px",
10561
10560
  alignItems: "center",
10562
10561
  display: "flex",
@@ -10575,11 +10574,13 @@ const EventsList = ({
10575
10574
  borderTop: border,
10576
10575
  display: "flex",
10577
10576
  gap: "12px",
10578
- cursor: "default",
10579
- onClick: void 0,
10577
+ cursor: "pointer",
10578
+ onClick,
10580
10579
  p: "16px",
10581
10580
  transition: "background-color 0.2s ease",
10582
- _hover: void 0,
10581
+ _hover: {
10582
+ bg: hoverBg
10583
+ },
10583
10584
  children: [/* @__PURE__ */ jsxs(Box, {
10584
10585
  bg: color,
10585
10586
  minW: "88px",