@eclass/ui-kit 1.58.3 → 1.58.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.
@@ -10272,8 +10272,9 @@ const EventsList = ({
10272
10272
  type,
10273
10273
  unitName
10274
10274
  }) => {
10275
- var _a, _b;
10275
+ var _a, _b, _c;
10276
10276
  const border = `1px solid ${(_a = vars("colors-neutral-platinum")) != null ? _a : "#E8E8E8"}`;
10277
+ const hoverBg = (_b = vars("colors-neutral-cultured2")) != null ? _b : "#F8F8F8";
10277
10278
  const isClickable = Boolean(onClick);
10278
10279
  const initOrEnd = ["end-course", "init-course", "init-course-flexible", "end-course-flexible"].includes(type);
10279
10280
  const dateTextStyle = {
@@ -10283,7 +10284,7 @@ const EventsList = ({
10283
10284
  lineHeight: "100%"
10284
10285
  };
10285
10286
  const detailTextStyle = {
10286
- color: (_b = vars("colors-neutral-gray")) != null ? _b : "#808080",
10287
+ color: (_c = vars("colors-neutral-gray")) != null ? _c : "#808080",
10287
10288
  fontSize: "14px",
10288
10289
  display: "inline",
10289
10290
  gap: "4px",
@@ -10297,6 +10298,10 @@ const EventsList = ({
10297
10298
  cursor: isClickable ? "pointer" : "default",
10298
10299
  onClick,
10299
10300
  p: "16px",
10301
+ transition: "background-color 0.2s ease",
10302
+ _hover: isClickable ? {
10303
+ bg: hoverBg
10304
+ } : void 0,
10300
10305
  children: [/* @__PURE__ */ jsxs(Box, {
10301
10306
  bg: color,
10302
10307
  minW: "88px",