@wealthx/shadcn 1.5.9 → 1.5.10
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/.turbo/turbo-build.log +114 -114
- package/CHANGELOG.md +6 -0
- package/dist/{chunk-TAFL4WDY.mjs → chunk-Z2BW5T7P.mjs} +16 -9
- package/dist/components/ui/appointment-calendar-view.js +16 -9
- package/dist/components/ui/appointment-calendar-view.mjs +1 -1
- package/dist/index.js +16 -9
- package/dist/index.mjs +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/ui/appointment-calendar-view.tsx +7 -6
- package/src/styles/styles-css.ts +1 -1
package/package.json
CHANGED
|
@@ -481,9 +481,7 @@ export function AppointmentCalendarView({
|
|
|
481
481
|
|
|
482
482
|
<Tabs
|
|
483
483
|
defaultValue={defaultView}
|
|
484
|
-
onValueChange={(v) =>
|
|
485
|
-
onViewChange?.(v as "day" | "week" | "month")
|
|
486
|
-
}
|
|
484
|
+
onValueChange={(v) => onViewChange?.(v as "day" | "week" | "month")}
|
|
487
485
|
className="flex flex-col"
|
|
488
486
|
>
|
|
489
487
|
<div className="px-4 pt-3">
|
|
@@ -493,7 +491,7 @@ export function AppointmentCalendarView({
|
|
|
493
491
|
<TabsTrigger value="month">Month</TabsTrigger>
|
|
494
492
|
</TabsList>
|
|
495
493
|
</div>
|
|
496
|
-
<TabsContent value="day" className="mt-0">
|
|
494
|
+
<TabsContent value="day" className="mt-0 max-h-[75vh] overflow-y-auto">
|
|
497
495
|
<DayView
|
|
498
496
|
appointments={appointments}
|
|
499
497
|
date={effectiveViewDate}
|
|
@@ -502,7 +500,7 @@ export function AppointmentCalendarView({
|
|
|
502
500
|
onSelectAppointment={onSelectAppointment}
|
|
503
501
|
/>
|
|
504
502
|
</TabsContent>
|
|
505
|
-
<TabsContent value="week" className="mt-0">
|
|
503
|
+
<TabsContent value="week" className="mt-0 max-h-[75vh] overflow-y-auto">
|
|
506
504
|
<WeekView
|
|
507
505
|
appointments={appointments}
|
|
508
506
|
weekDays={weekDays}
|
|
@@ -511,7 +509,10 @@ export function AppointmentCalendarView({
|
|
|
511
509
|
onSelectAppointment={onSelectAppointment}
|
|
512
510
|
/>
|
|
513
511
|
</TabsContent>
|
|
514
|
-
<TabsContent
|
|
512
|
+
<TabsContent
|
|
513
|
+
value="month"
|
|
514
|
+
className="mt-0 max-h-[75vh] overflow-y-auto"
|
|
515
|
+
>
|
|
515
516
|
<MonthView
|
|
516
517
|
appointments={appointments}
|
|
517
518
|
viewDate={effectiveViewDate}
|