@eclass/ui-kit 1.60.2 → 1.60.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.
@@ -10216,11 +10216,11 @@ const EventsGroup = ({
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: {
@@ -10543,8 +10543,11 @@ const EventsList = ({
10543
10543
  unitName,
10544
10544
  url
10545
10545
  }) => {
10546
- var _a, _b;
10546
+ var _a, _b, _c;
10547
10547
  const border = `1px solid ${(_a = vars("colors-neutral-platinum")) != null ? _a : "#E8E8E8"}`;
10548
+ const hoverBg = (_b = vars("colors-neutral-cultured2")) != null ? _b : "#F8F8F8";
10549
+ const hasUrl = Boolean(url);
10550
+ const isClickable = Boolean(onClick) && hasUrl;
10548
10551
  const isCpr = type === "cpr";
10549
10552
  const showEventLocation = !isCpr || Boolean(headquartersAddress);
10550
10553
  const showEventDuration = ["online", "in-person", "cpr"].includes(type) && duration !== void 0 && duration > 0;
@@ -10556,7 +10559,7 @@ const EventsList = ({
10556
10559
  lineHeight: "100%"
10557
10560
  };
10558
10561
  const detailTextStyle = {
10559
- color: (_b = vars("colors-neutral-gray")) != null ? _b : "#808080",
10562
+ color: (_c = vars("colors-neutral-gray")) != null ? _c : "#808080",
10560
10563
  fontSize: "14px",
10561
10564
  alignItems: "center",
10562
10565
  display: "flex",
@@ -10575,11 +10578,13 @@ const EventsList = ({
10575
10578
  borderTop: border,
10576
10579
  display: "flex",
10577
10580
  gap: "12px",
10578
- cursor: "default",
10579
- onClick: void 0,
10581
+ cursor: isClickable ? "pointer" : "default",
10582
+ onClick: isClickable ? onClick : void 0,
10580
10583
  p: "16px",
10581
10584
  transition: "background-color 0.2s ease",
10582
- _hover: void 0,
10585
+ _hover: isClickable ? {
10586
+ bg: hoverBg
10587
+ } : void 0,
10583
10588
  children: [/* @__PURE__ */ jsxs(Box, {
10584
10589
  bg: color,
10585
10590
  minW: "88px",