@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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @wealthx/shadcn
2
2
 
3
+ ## 1.5.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 2e2ffe4: Update appointment style
8
+
3
9
  ## 1.5.9
4
10
 
5
11
  ### Patch Changes
@@ -391,7 +391,7 @@ function AppointmentCalendarView({
391
391
  /* @__PURE__ */ jsx(TabsTrigger, { value: "week", children: "Week" }),
392
392
  /* @__PURE__ */ jsx(TabsTrigger, { value: "month", children: "Month" })
393
393
  ] }) }),
394
- /* @__PURE__ */ jsx(TabsContent, { value: "day", className: "mt-0", children: /* @__PURE__ */ jsx(
394
+ /* @__PURE__ */ jsx(TabsContent, { value: "day", className: "mt-0 max-h-[75vh] overflow-y-auto", children: /* @__PURE__ */ jsx(
395
395
  DayView,
396
396
  {
397
397
  appointments,
@@ -401,7 +401,7 @@ function AppointmentCalendarView({
401
401
  onSelectAppointment
402
402
  }
403
403
  ) }),
404
- /* @__PURE__ */ jsx(TabsContent, { value: "week", className: "mt-0", children: /* @__PURE__ */ jsx(
404
+ /* @__PURE__ */ jsx(TabsContent, { value: "week", className: "mt-0 max-h-[75vh] overflow-y-auto", children: /* @__PURE__ */ jsx(
405
405
  WeekView,
406
406
  {
407
407
  appointments,
@@ -411,15 +411,22 @@ function AppointmentCalendarView({
411
411
  onSelectAppointment
412
412
  }
413
413
  ) }),
414
- /* @__PURE__ */ jsx(TabsContent, { value: "month", className: "mt-0", children: /* @__PURE__ */ jsx(
415
- MonthView,
414
+ /* @__PURE__ */ jsx(
415
+ TabsContent,
416
416
  {
417
- appointments,
418
- viewDate: effectiveViewDate,
419
- today,
420
- onSelectAppointment
417
+ value: "month",
418
+ className: "mt-0 max-h-[75vh] overflow-y-auto",
419
+ children: /* @__PURE__ */ jsx(
420
+ MonthView,
421
+ {
422
+ appointments,
423
+ viewDate: effectiveViewDate,
424
+ today,
425
+ onSelectAppointment
426
+ }
427
+ )
421
428
  }
422
- ) })
429
+ )
423
430
  ]
424
431
  }
425
432
  )
@@ -822,7 +822,7 @@ function AppointmentCalendarView({
822
822
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(TabsTrigger, { value: "week", children: "Week" }),
823
823
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(TabsTrigger, { value: "month", children: "Month" })
824
824
  ] }) }),
825
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(TabsContent, { value: "day", className: "mt-0", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
825
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(TabsContent, { value: "day", className: "mt-0 max-h-[75vh] overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
826
826
  DayView,
827
827
  {
828
828
  appointments,
@@ -832,7 +832,7 @@ function AppointmentCalendarView({
832
832
  onSelectAppointment
833
833
  }
834
834
  ) }),
835
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(TabsContent, { value: "week", className: "mt-0", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
835
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(TabsContent, { value: "week", className: "mt-0 max-h-[75vh] overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
836
836
  WeekView,
837
837
  {
838
838
  appointments,
@@ -842,15 +842,22 @@ function AppointmentCalendarView({
842
842
  onSelectAppointment
843
843
  }
844
844
  ) }),
845
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(TabsContent, { value: "month", className: "mt-0", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
846
- MonthView,
845
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
846
+ TabsContent,
847
847
  {
848
- appointments,
849
- viewDate: effectiveViewDate,
850
- today,
851
- onSelectAppointment
848
+ value: "month",
849
+ className: "mt-0 max-h-[75vh] overflow-y-auto",
850
+ children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
851
+ MonthView,
852
+ {
853
+ appointments,
854
+ viewDate: effectiveViewDate,
855
+ today,
856
+ onSelectAppointment
857
+ }
858
+ )
852
859
  }
853
- ) })
860
+ )
854
861
  ]
855
862
  }
856
863
  )
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AppointmentCalendarView
3
- } from "../../chunk-TAFL4WDY.mjs";
3
+ } from "../../chunk-Z2BW5T7P.mjs";
4
4
  import "../../chunk-WE4YKBDE.mjs";
5
5
  import "../../chunk-2GIYVERS.mjs";
6
6
  import "../../chunk-H6NQTIF4.mjs";
package/dist/index.js CHANGED
@@ -9716,7 +9716,7 @@ function AppointmentCalendarView({
9716
9716
  /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TabsTrigger, { value: "week", children: "Week" }),
9717
9717
  /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TabsTrigger, { value: "month", children: "Month" })
9718
9718
  ] }) }),
9719
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TabsContent, { value: "day", className: "mt-0", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9719
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TabsContent, { value: "day", className: "mt-0 max-h-[75vh] overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9720
9720
  DayView,
9721
9721
  {
9722
9722
  appointments,
@@ -9726,7 +9726,7 @@ function AppointmentCalendarView({
9726
9726
  onSelectAppointment
9727
9727
  }
9728
9728
  ) }),
9729
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TabsContent, { value: "week", className: "mt-0", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9729
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TabsContent, { value: "week", className: "mt-0 max-h-[75vh] overflow-y-auto", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9730
9730
  WeekView,
9731
9731
  {
9732
9732
  appointments,
@@ -9736,15 +9736,22 @@ function AppointmentCalendarView({
9736
9736
  onSelectAppointment
9737
9737
  }
9738
9738
  ) }),
9739
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TabsContent, { value: "month", className: "mt-0", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9740
- MonthView,
9739
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9740
+ TabsContent,
9741
9741
  {
9742
- appointments,
9743
- viewDate: effectiveViewDate,
9744
- today,
9745
- onSelectAppointment
9742
+ value: "month",
9743
+ className: "mt-0 max-h-[75vh] overflow-y-auto",
9744
+ children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
9745
+ MonthView,
9746
+ {
9747
+ appointments,
9748
+ viewDate: effectiveViewDate,
9749
+ today,
9750
+ onSelectAppointment
9751
+ }
9752
+ )
9746
9753
  }
9747
- ) })
9754
+ )
9748
9755
  ]
9749
9756
  }
9750
9757
  )
package/dist/index.mjs CHANGED
@@ -379,7 +379,7 @@ import {
379
379
  } from "./chunk-ISUA7DSB.mjs";
380
380
  import {
381
381
  AppointmentCalendarView
382
- } from "./chunk-TAFL4WDY.mjs";
382
+ } from "./chunk-Z2BW5T7P.mjs";
383
383
  import {
384
384
  AppointmentDetailSheet
385
385
  } from "./chunk-XUCDPAVI.mjs";