@wealthx/shadcn 1.5.14 → 1.5.15

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.
@@ -1688,7 +1688,7 @@ function AppointmentBookDialog({
1688
1688
  ] })
1689
1689
  ] }),
1690
1690
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Separator, {}),
1691
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex flex-col gap-4", children: [
1691
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex flex-col gap-4 overflow-y-auto max-h-[calc(90vh-200px)]", children: [
1692
1692
  !isClientMode && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex flex-col gap-1.5", children: [
1693
1693
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Label, { children: "Client" }),
1694
1694
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AppointmentBookDialog
3
- } from "../../chunk-J7KQON2N.mjs";
3
+ } from "../../chunk-RKHKBEE6.mjs";
4
4
  import "../../chunk-JTK6VJXY.mjs";
5
5
  import "../../chunk-MXP2RX2V.mjs";
6
6
  import "../../chunk-ISUA7DSB.mjs";
package/dist/index.js CHANGED
@@ -3105,6 +3105,31 @@ var MEETING_LABEL = {
3105
3105
  phone: "Phone Call",
3106
3106
  "in-person": "In Person"
3107
3107
  };
3108
+ var MEETING_DETAIL_ICON = {
3109
+ video: import_lucide_react6.Link2,
3110
+ phone: import_lucide_react6.PhoneCall,
3111
+ "in-person": import_lucide_react6.Navigation
3112
+ };
3113
+ function MeetingDetailRow({
3114
+ meetingType,
3115
+ detail
3116
+ }) {
3117
+ const DetailIcon = MEETING_DETAIL_ICON[meetingType];
3118
+ const isLink = detail.startsWith("http");
3119
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex items-center gap-2", children: [
3120
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(DetailIcon, { className: "size-4 shrink-0 text-muted-foreground" }),
3121
+ isLink ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3122
+ "a",
3123
+ {
3124
+ href: detail,
3125
+ target: "_blank",
3126
+ rel: "noopener noreferrer",
3127
+ className: "text-sm text-primary underline underline-offset-2 break-all hover:text-primary/80",
3128
+ children: detail
3129
+ }
3130
+ ) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-sm text-muted-foreground break-all", children: detail })
3131
+ ] });
3132
+ }
3108
3133
  function AppointmentSection({
3109
3134
  appointment,
3110
3135
  contactId,
@@ -3124,6 +3149,13 @@ function AppointmentSection({
3124
3149
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(AppointmentIcon, { className: "size-4 shrink-0 text-muted-foreground" }),
3125
3150
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "text-sm text-muted-foreground", children: MEETING_LABEL[appointment.meetingType] })
3126
3151
  ] }),
3152
+ appointment.meetingDetail && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3153
+ MeetingDetailRow,
3154
+ {
3155
+ meetingType: appointment.meetingType,
3156
+ detail: appointment.meetingDetail
3157
+ }
3158
+ ),
3127
3159
  /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
3128
3160
  "span",
3129
3161
  {
@@ -9233,7 +9265,7 @@ function AppointmentBookDialog({
9233
9265
  ] })
9234
9266
  ] }),
9235
9267
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Separator, {}),
9236
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex flex-col gap-4", children: [
9268
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex flex-col gap-4 overflow-y-auto max-h-[calc(90vh-200px)]", children: [
9237
9269
  !isClientMode && /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex flex-col gap-1.5", children: [
9238
9270
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Label, { children: "Client" }),
9239
9271
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
package/dist/index.mjs CHANGED
@@ -364,7 +364,7 @@ import {
364
364
  } from "./chunk-R2ON6CAN.mjs";
365
365
  import {
366
366
  AppointmentBookDialog
367
- } from "./chunk-J7KQON2N.mjs";
367
+ } from "./chunk-RKHKBEE6.mjs";
368
368
  import {
369
369
  RadioGroup,
370
370
  RadioGroupCard,
@@ -516,7 +516,7 @@ import {
516
516
  ConversationStatusChip,
517
517
  ConversationsPage,
518
518
  LeadInfoPanel
519
- } from "./chunk-EB626HVW.mjs";
519
+ } from "./chunk-LRQSY3TP.mjs";
520
520
  import {
521
521
  Tooltip,
522
522
  TooltipContent,