@eclass/ui-kit 1.58.0 → 1.58.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.
@@ -10242,6 +10242,7 @@ const EventsList = ({
10242
10242
  }) => {
10243
10243
  var _a, _b;
10244
10244
  const border = `1px solid ${(_a = vars("colors-neutral-platinum")) != null ? _a : "#E8E8E8"}`;
10245
+ const isClickable = Boolean(onClick);
10245
10246
  const initOrEnd = ["end-course", "init-course", "init-course-flexible", "end-course-flexible"].includes(type);
10246
10247
  const dateTextStyle = {
10247
10248
  color: vars("colors-neutral-white"),
@@ -10259,10 +10260,11 @@ const EventsList = ({
10259
10260
  return /* @__PURE__ */ jsxs(Box, {
10260
10261
  className: "eventsList",
10261
10262
  borderTop: border,
10262
- p: "16px",
10263
10263
  display: "flex",
10264
10264
  gap: "12px",
10265
+ cursor: isClickable ? "pointer" : "default",
10265
10266
  onClick,
10267
+ p: "16px",
10266
10268
  children: [/* @__PURE__ */ jsxs(Box, {
10267
10269
  bg: color,
10268
10270
  minW: "88px",