@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wealthx/shadcn",
3
- "version": "1.5.9",
3
+ "version": "1.5.10",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./src/index.ts",
@@ -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 value="month" className="mt-0">
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}