@eclass/ui-kit 1.58.1 → 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.
- package/dist/eclass-ui-kit.es.js +3 -2
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +3 -3
- package/dist/eclass-ui-kit.umd.js.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
|
@@ -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,11 +10260,11 @@ const EventsList = ({
|
|
|
10259
10260
|
return /* @__PURE__ */ jsxs(Box, {
|
|
10260
10261
|
className: "eventsList",
|
|
10261
10262
|
borderTop: border,
|
|
10262
|
-
cursor: onClick ? "pointer" : "default",
|
|
10263
|
-
p: "16px",
|
|
10264
10263
|
display: "flex",
|
|
10265
10264
|
gap: "12px",
|
|
10265
|
+
cursor: isClickable ? "pointer" : "default",
|
|
10266
10266
|
onClick,
|
|
10267
|
+
p: "16px",
|
|
10267
10268
|
children: [/* @__PURE__ */ jsxs(Box, {
|
|
10268
10269
|
bg: color,
|
|
10269
10270
|
minW: "88px",
|