@wealthx/shadcn 1.5.23 → 1.5.25

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.
Files changed (72) hide show
  1. package/.turbo/turbo-build.log +147 -147
  2. package/CHANGELOG.md +12 -0
  3. package/dist/{chunk-K4GJTP6N.mjs → chunk-4FJC64FV.mjs} +467 -386
  4. package/dist/{chunk-FGHM34AV.mjs → chunk-7JVKSZ4O.mjs} +1 -1
  5. package/dist/{chunk-6HTE24TP.mjs → chunk-EY5YPFKX.mjs} +1 -1
  6. package/dist/{chunk-3HFOSFOM.mjs → chunk-IG7DEIWU.mjs} +4 -4
  7. package/dist/{chunk-2VTOF7PW.mjs → chunk-K2KX3NX7.mjs} +1 -1
  8. package/dist/{chunk-NXZ2F4JA.mjs → chunk-KGBLORCQ.mjs} +1 -1
  9. package/dist/{chunk-2SDEURIQ.mjs → chunk-PX2B3Q3A.mjs} +7 -7
  10. package/dist/{chunk-66NM4AX2.mjs → chunk-QM7LU2BR.mjs} +10 -10
  11. package/dist/{chunk-4UCRTTVL.mjs → chunk-RNLIZRAK.mjs} +1 -1
  12. package/dist/{chunk-BWG7AX6X.mjs → chunk-SQ54W3JH.mjs} +1 -1
  13. package/dist/{chunk-RJHE3V4M.mjs → chunk-UMR3HVZF.mjs} +4 -4
  14. package/dist/{chunk-JGUC3KCA.mjs → chunk-VNB5E7SI.mjs} +5 -5
  15. package/dist/{chunk-ETT5JAXF.mjs → chunk-Z5QI7CW2.mjs} +1 -1
  16. package/dist/components/ui/about-you-form.mjs +4 -4
  17. package/dist/components/ui/ai-assistant-drawer.mjs +2 -2
  18. package/dist/components/ui/{ai-conversations.js → ai-conversations/index.js} +818 -740
  19. package/dist/components/ui/ai-conversations/index.mjs +42 -0
  20. package/dist/components/ui/appointment-action-dialogs.mjs +1 -1
  21. package/dist/components/ui/appointment-availability-settings.mjs +5 -5
  22. package/dist/components/ui/appointment-book-dialog.mjs +4 -4
  23. package/dist/components/ui/appointment-detail-sheet.mjs +3 -3
  24. package/dist/components/ui/appointment-upcoming-card.mjs +1 -1
  25. package/dist/components/ui/assets-liabilities-side-card.mjs +6 -6
  26. package/dist/components/ui/backoffice-signup-steps.mjs +4 -4
  27. package/dist/components/ui/bank-statement-generate-dialog.mjs +6 -6
  28. package/dist/components/ui/contact-alert-dialog/index.mjs +2 -2
  29. package/dist/components/ui/create-contact-modal.mjs +3 -3
  30. package/dist/components/ui/date-picker.mjs +2 -2
  31. package/dist/components/ui/expense-detail-item.mjs +3 -3
  32. package/dist/components/ui/expense-work-details.mjs +9 -9
  33. package/dist/components/ui/file-preview-dialog.mjs +2 -2
  34. package/dist/components/ui/financial-drawers.mjs +2 -2
  35. package/dist/components/ui/form-primitives.mjs +2 -2
  36. package/dist/components/ui/frontend-signup-steps.mjs +5 -5
  37. package/dist/components/ui/income-work-details.mjs +3 -3
  38. package/dist/components/ui/kanban-column.mjs +4 -4
  39. package/dist/components/ui/opportunity-card.mjs +1 -1
  40. package/dist/components/ui/opportunity-edit-modals.mjs +6 -6
  41. package/dist/components/ui/opportunity-summary-tab.mjs +8 -8
  42. package/dist/components/ui/pipeline-board.mjs +6 -6
  43. package/dist/components/ui/pipeline-dialogs.mjs +5 -5
  44. package/dist/components/ui/property-report-dialog.mjs +4 -4
  45. package/dist/components/ui/savings-goal-modal.mjs +4 -4
  46. package/dist/components/ui/share-details-dialog.mjs +2 -2
  47. package/dist/components/ui/signup-form-primitives.mjs +1 -1
  48. package/dist/index.js +4912 -4834
  49. package/dist/index.mjs +160 -160
  50. package/dist/styles.css +1 -1
  51. package/package.json +4 -4
  52. package/src/components/index.tsx +1 -0
  53. package/src/components/ui/ai-conversations/helpers.tsx +31 -0
  54. package/src/components/ui/ai-conversations/index.tsx +468 -0
  55. package/src/components/ui/ai-conversations/lead-panel.tsx +517 -0
  56. package/src/components/ui/ai-conversations/list.tsx +335 -0
  57. package/src/components/ui/ai-conversations/thread.tsx +919 -0
  58. package/src/components/ui/ai-conversations/types.ts +83 -0
  59. package/src/styles/styles-css.ts +1 -1
  60. package/tsup.config.ts +1 -1
  61. package/dist/components/ui/ai-conversations.mjs +0 -42
  62. package/src/components/ui/ai-conversations.tsx +0 -2213
  63. package/dist/{chunk-A43XIVO6.mjs → chunk-2PWTXE66.mjs} +3 -3
  64. package/dist/{chunk-PSBQ4I3M.mjs → chunk-53ZB2JWT.mjs} +6 -6
  65. package/dist/{chunk-G6RCC2SF.mjs → chunk-5ST6BK7R.mjs} +3 -3
  66. package/dist/{chunk-H5NI6ZIU.mjs → chunk-734FOOJC.mjs} +3 -3
  67. package/dist/{chunk-ONYADWSO.mjs → chunk-ABVCQWDY.mjs} +3 -3
  68. package/dist/{chunk-AADJ5IT6.mjs → chunk-ECC2LLZM.mjs} +3 -3
  69. package/dist/{chunk-DK55HZPN.mjs → chunk-KENLXFJ7.mjs} +6 -6
  70. package/dist/{chunk-ET4MTPIY.mjs → chunk-LDC6V6DJ.mjs} +3 -3
  71. package/dist/{chunk-3S4XQTAL.mjs → chunk-SO4RB3XB.mjs} +9 -9
  72. package/dist/{chunk-UMF6LLQK.mjs → chunk-TRM3KIHT.mjs} +3 -3
@@ -0,0 +1,83 @@
1
+ export type AiConvStatus =
2
+ | "ai-active"
3
+ | "manual"
4
+ | "needs-attention"
5
+ | "closed";
6
+
7
+ export type AiConvMessageRole = "bot" | "visitor" | "advisor" | "system";
8
+
9
+ export type AiConvFieldConfidence = "confirmed" | "estimated";
10
+
11
+ export type AiConvFilterTab =
12
+ | "all"
13
+ | "emails"
14
+ | "ai-active"
15
+ | "needs-attention"
16
+ | "closed";
17
+
18
+ export type AiConvMode = "ai" | "manual";
19
+
20
+ export type AiConvChannel = "chat" | "email";
21
+
22
+ export type AiConvChannelFilter = "all" | AiConvChannel;
23
+
24
+ export type AiConvMeetingType = "video" | "phone" | "in-person";
25
+
26
+ export interface AiConvContact {
27
+ id: string;
28
+ name: string;
29
+ email?: string;
30
+ phone?: string;
31
+ }
32
+
33
+ export interface AiConvAdvisor {
34
+ id: string;
35
+ name: string;
36
+ initials: string;
37
+ role?: string;
38
+ }
39
+
40
+ export interface AiConvListItemData {
41
+ id: string;
42
+ contact: AiConvContact;
43
+ status: AiConvStatus;
44
+ lastMessage: string;
45
+ lastMessageRole?: AiConvMessageRole;
46
+ timestamp: string;
47
+ unreadCount?: number;
48
+ /** Assigned advisor display name. */
49
+ assignedTo?: string;
50
+ /**
51
+ * Conversation topic tag — e.g. "Buy a Home", "Refinance", "Investment".
52
+ * Shown as a small secondary badge so the broker can categorise conversations
53
+ * at a glance without opening each thread.
54
+ */
55
+ topic?: string;
56
+ /** Channel this conversation is using — "chat" (default) or "email". */
57
+ channel?: AiConvChannel;
58
+ }
59
+
60
+ export interface AiConvMessage {
61
+ id: string;
62
+ role: AiConvMessageRole;
63
+ content: string;
64
+ timestamp?: string;
65
+ /** Display name shown above the bubble. */
66
+ senderName?: string;
67
+ /** Email subject line — shown as a header in the bubble for email-channel messages. */
68
+ subject?: string;
69
+ }
70
+
71
+ export interface AiConvDataField {
72
+ label: string;
73
+ value: string;
74
+ confidence: AiConvFieldConfidence;
75
+ }
76
+
77
+ export interface AiConvAppointmentData {
78
+ datetime: string;
79
+ meetingType: AiConvMeetingType;
80
+ /** Meeting link (video), phone number (phone), or address (in-person). */
81
+ meetingDetail?: string;
82
+ status: "requested" | "confirmed" | "pending" | "cancelled";
83
+ }