@underverse-ui/underverse 1.0.8 → 1.0.9
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/index.cjs +4 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +4 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6616,6 +6616,7 @@ function Calendar2({
|
|
|
6616
6616
|
highlightWeekends = false,
|
|
6617
6617
|
cellMode = "compact",
|
|
6618
6618
|
maxEventsPerDay = 3,
|
|
6619
|
+
showEventCount = true,
|
|
6619
6620
|
onEventClick,
|
|
6620
6621
|
renderEvent,
|
|
6621
6622
|
enableEventSheet,
|
|
@@ -6838,7 +6839,7 @@ function Calendar2({
|
|
|
6838
6839
|
children: d.getDate()
|
|
6839
6840
|
}
|
|
6840
6841
|
),
|
|
6841
|
-
dayEvents.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "text-[10px] px-1.5 py-0.5 rounded-md bg-muted/60 text-muted-foreground font-medium", children: dayEvents.length })
|
|
6842
|
+
dayEvents.length > 0 && showEventCount && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "text-[10px] px-1.5 py-0.5 rounded-md bg-muted/60 text-muted-foreground font-medium", children: dayEvents.length })
|
|
6842
6843
|
] }),
|
|
6843
6844
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "space-y-1 px-2 pb-2", children: [
|
|
6844
6845
|
visibleEvents.map((e, i) => {
|
|
@@ -7003,19 +7004,8 @@ function Calendar2({
|
|
|
7003
7004
|
),
|
|
7004
7005
|
children: [
|
|
7005
7006
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-center justify-between px-2.5 py-1.5", children: [
|
|
7006
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
7007
|
-
|
|
7008
|
-
{
|
|
7009
|
-
className: cn(
|
|
7010
|
-
"font-semibold tabular-nums",
|
|
7011
|
-
cellSz.day,
|
|
7012
|
-
isToday2 && "text-primary",
|
|
7013
|
-
selectedDay && "text-primary"
|
|
7014
|
-
),
|
|
7015
|
-
children: d.getDate()
|
|
7016
|
-
}
|
|
7017
|
-
),
|
|
7018
|
-
dayEvents.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "text-[10px] px-1.5 py-0.5 rounded-md bg-muted/60 text-muted-foreground font-medium", children: dayEvents.length })
|
|
7007
|
+
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: cn("font-semibold tabular-nums", cellSz.day, isToday2 && "text-primary", selectedDay && "text-primary"), children: d.getDate() }),
|
|
7008
|
+
dayEvents.length > 0 && showEventCount && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "text-[10px] px-1.5 py-0.5 rounded-md bg-muted/60 text-muted-foreground font-medium", children: dayEvents.length })
|
|
7019
7009
|
] }),
|
|
7020
7010
|
/* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "space-y-1 px-2 pb-2", children: [
|
|
7021
7011
|
visibleEvents.map((e, i) => {
|