@wealthx/shadcn 1.2.2 → 1.3.1

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 (230) hide show
  1. package/.turbo/turbo-build.log +193 -149
  2. package/CHANGELOG.md +28 -0
  3. package/dist/{chunk-4Y6R4WEC.mjs → chunk-2A5RRQGG.mjs} +9 -22
  4. package/dist/{chunk-TS2ZX2VS.mjs → chunk-2UM72RJ7.mjs} +11 -15
  5. package/dist/{chunk-A56YQQHG.mjs → chunk-3NCUZIFP.mjs} +2 -2
  6. package/dist/chunk-3OYFOX3X.mjs +79 -0
  7. package/dist/{chunk-RP3SQYA3.mjs → chunk-3TTACBDP.mjs} +9 -4
  8. package/dist/chunk-4GAWMKMI.mjs +710 -0
  9. package/dist/{chunk-VGSESELX.mjs → chunk-5FQIKDKP.mjs} +5 -5
  10. package/dist/{chunk-K3JYD4IU.mjs → chunk-5IS7G74I.mjs} +11 -4
  11. package/dist/chunk-6AW4KJHE.mjs +235 -0
  12. package/dist/chunk-6CR5N2JW.mjs +302 -0
  13. package/dist/{chunk-XIRTEFKH.mjs → chunk-6DZEXFNB.mjs} +36 -8
  14. package/dist/chunk-6O6KD7CE.mjs +271 -0
  15. package/dist/chunk-7PV3IWCN.mjs +33 -0
  16. package/dist/{chunk-SPJ5KXW7.mjs → chunk-7S5AESZO.mjs} +5 -5
  17. package/dist/{chunk-RYCLWMZ7.mjs → chunk-ABFDMHOR.mjs} +9 -7
  18. package/dist/{chunk-SWGT756Z.mjs → chunk-AMQZRHEZ.mjs} +10 -4
  19. package/dist/{chunk-WAZD7NFU.mjs → chunk-BKNFWEH2.mjs} +6 -6
  20. package/dist/{chunk-CLIN5525.mjs → chunk-C7CQJNMR.mjs} +1 -1
  21. package/dist/{chunk-D4ILTPOG.mjs → chunk-CFMQP5QS.mjs} +5 -4
  22. package/dist/{chunk-VPBN3WOO.mjs → chunk-DGHAXJBN.mjs} +9 -7
  23. package/dist/chunk-DOEO3CDL.mjs +27 -0
  24. package/dist/{chunk-5MEWU56Z.mjs → chunk-DUJTAXMH.mjs} +11 -6
  25. package/dist/{chunk-GGM2UYGG.mjs → chunk-EBXQWIYG.mjs} +10 -4
  26. package/dist/chunk-EWRB4PAD.mjs +468 -0
  27. package/dist/{chunk-ZSHYDDRB.mjs → chunk-FAKPBKLT.mjs} +6 -2
  28. package/dist/{chunk-A6AAWBPF.mjs → chunk-GHC7LLUX.mjs} +13 -4
  29. package/dist/chunk-HBZLGDIN.mjs +507 -0
  30. package/dist/{chunk-SIZMLSRU.mjs → chunk-HISNT2MG.mjs} +8 -6
  31. package/dist/{chunk-CGH4DRNG.mjs → chunk-HVY6KCCF.mjs} +10 -7
  32. package/dist/chunk-I3RZS7V2.mjs +136 -0
  33. package/dist/chunk-IAE3F7DR.mjs +1962 -0
  34. package/dist/{chunk-UT4KJR7V.mjs → chunk-IHMFS7NZ.mjs} +35 -74
  35. package/dist/{chunk-PCPLO5HT.mjs → chunk-IOJRDS6V.mjs} +96 -14
  36. package/dist/{chunk-LHYCMLVA.mjs → chunk-JKGDCQTZ.mjs} +11 -4
  37. package/dist/{chunk-H45TKD34.mjs → chunk-JMHR3YGZ.mjs} +1 -1
  38. package/dist/{chunk-4MN6UQHG.mjs → chunk-K5A5L6T2.mjs} +17 -39
  39. package/dist/chunk-LV35NGVG.mjs +272 -0
  40. package/dist/{chunk-FZIXGLMV.mjs → chunk-M3FV7LOK.mjs} +5 -12
  41. package/dist/{chunk-FMAXJ2SI.mjs → chunk-MBON7YRJ.mjs} +1 -1
  42. package/dist/chunk-MIZQHHUO.mjs +441 -0
  43. package/dist/chunk-MLNEWRWV.mjs +449 -0
  44. package/dist/chunk-MN5NYQCL.mjs +29 -0
  45. package/dist/chunk-NL3ZO62D.mjs +31 -0
  46. package/dist/{chunk-Q76O3RIQ.mjs → chunk-NMOI6CQD.mjs} +1 -1
  47. package/dist/{chunk-P6AM5V7O.mjs → chunk-OODBHKG7.mjs} +1 -1
  48. package/dist/chunk-PBL4OQV2.mjs +283 -0
  49. package/dist/{chunk-Y4QFWRNR.mjs → chunk-PU4YZQXV.mjs} +17 -18
  50. package/dist/chunk-Q2BGOAMG.mjs +202 -0
  51. package/dist/chunk-QMY3AZJH.mjs +80 -0
  52. package/dist/{chunk-BL3DXM2X.mjs → chunk-QZ4RE6NA.mjs} +11 -4
  53. package/dist/{chunk-VACKZOMY.mjs → chunk-R3VSPKNP.mjs} +3 -3
  54. package/dist/{chunk-OPNQAVVH.mjs → chunk-RJI6GKVF.mjs} +8 -6
  55. package/dist/{chunk-WG6JGJXB.mjs → chunk-T4BJLT57.mjs} +1 -1
  56. package/dist/chunk-UMTOX62O.mjs +415 -0
  57. package/dist/{chunk-7MMXNK3C.mjs → chunk-VLARHE5V.mjs} +8 -6
  58. package/dist/{chunk-2I5S2AMY.mjs → chunk-XREGSKX3.mjs} +2 -2
  59. package/dist/{chunk-JNQORUPP.mjs → chunk-YJG55G2H.mjs} +14 -11
  60. package/dist/components/ui/add-column-modal.js +42 -14
  61. package/dist/components/ui/add-column-modal.mjs +5 -5
  62. package/dist/components/ui/add-lead-modal.js +42 -11
  63. package/dist/components/ui/add-lead-modal.mjs +3 -3
  64. package/dist/components/ui/advisor-card.js +530 -0
  65. package/dist/components/ui/advisor-card.mjs +15 -0
  66. package/dist/components/ui/ai-assistant-drawer.js +11 -10
  67. package/dist/components/ui/ai-assistant-drawer.mjs +3 -3
  68. package/dist/components/ui/alert-dialog.js +2 -2
  69. package/dist/components/ui/alert-dialog.mjs +2 -2
  70. package/dist/components/ui/appointment-action-dialogs.js +1160 -0
  71. package/dist/components/ui/appointment-action-dialogs.mjs +23 -0
  72. package/dist/components/ui/appointment-availability-settings.js +1590 -0
  73. package/dist/components/ui/appointment-availability-settings.mjs +23 -0
  74. package/dist/components/ui/appointment-book-dialog.js +1744 -0
  75. package/dist/components/ui/appointment-book-dialog.mjs +27 -0
  76. package/dist/components/ui/appointment-calendar-view.js +833 -0
  77. package/dist/components/ui/appointment-calendar-view.mjs +14 -0
  78. package/dist/components/ui/appointment-detail-sheet.js +1517 -0
  79. package/dist/components/ui/appointment-detail-sheet.mjs +24 -0
  80. package/dist/components/ui/appointment-gmail-connect.js +467 -0
  81. package/dist/components/ui/appointment-gmail-connect.mjs +14 -0
  82. package/dist/components/ui/appointment-mini-card.js +345 -0
  83. package/dist/components/ui/appointment-mini-card.mjs +11 -0
  84. package/dist/components/ui/appointment-time-slot-picker.js +311 -0
  85. package/dist/components/ui/appointment-time-slot-picker.mjs +13 -0
  86. package/dist/components/ui/appointment-upcoming-card.js +1268 -0
  87. package/dist/components/ui/appointment-upcoming-card.mjs +21 -0
  88. package/dist/components/ui/backoffice-alert-history-chart.js +11 -5
  89. package/dist/components/ui/backoffice-alert-history-chart.mjs +5 -4
  90. package/dist/components/ui/backoffice-alerts-chart.js +786 -0
  91. package/dist/components/ui/backoffice-alerts-chart.mjs +19 -0
  92. package/dist/components/ui/backoffice-connections-chart.js +817 -0
  93. package/dist/components/ui/backoffice-connections-chart.mjs +19 -0
  94. package/dist/components/ui/backoffice-contact-history-chart.js +11 -5
  95. package/dist/components/ui/backoffice-contact-history-chart.mjs +5 -4
  96. package/dist/components/ui/badge.js +6 -6
  97. package/dist/components/ui/badge.mjs +1 -1
  98. package/dist/components/ui/borrowing-capacity-line-chart.js +30 -21
  99. package/dist/components/ui/borrowing-capacity-line-chart.mjs +5 -4
  100. package/dist/components/ui/button.js +2 -2
  101. package/dist/components/ui/button.mjs +1 -1
  102. package/dist/components/ui/calendar.js +2 -2
  103. package/dist/components/ui/calendar.mjs +2 -2
  104. package/dist/components/ui/card.js +1 -1
  105. package/dist/components/ui/card.mjs +1 -1
  106. package/dist/components/ui/cash-balance-line-chart.js +31 -23
  107. package/dist/components/ui/cash-balance-line-chart.mjs +5 -4
  108. package/dist/components/ui/cashflow-bar-chart.js +12 -5
  109. package/dist/components/ui/cashflow-bar-chart.mjs +5 -4
  110. package/dist/components/ui/chip.js +97 -18
  111. package/dist/components/ui/chip.mjs +3 -2
  112. package/dist/components/ui/color-picker.js +158 -28
  113. package/dist/components/ui/color-picker.mjs +3 -1
  114. package/dist/components/ui/data-table.js +140 -119
  115. package/dist/components/ui/data-table.mjs +3 -2
  116. package/dist/components/ui/date-picker.js +48 -27
  117. package/dist/components/ui/date-picker.mjs +4 -3
  118. package/dist/components/ui/dialog.js +37 -9
  119. package/dist/components/ui/dialog.mjs +2 -2
  120. package/dist/components/ui/expense-bar-chart.js +12 -5
  121. package/dist/components/ui/expense-bar-chart.mjs +5 -4
  122. package/dist/components/ui/field.mjs +2 -2
  123. package/dist/components/ui/financial-cards.js +322 -155
  124. package/dist/components/ui/financial-cards.mjs +5 -3
  125. package/dist/components/ui/financial-drawers.js +2 -2
  126. package/dist/components/ui/financial-drawers.mjs +3 -3
  127. package/dist/components/ui/financial-sections.js +14 -10
  128. package/dist/components/ui/financial-sections.mjs +6 -5
  129. package/dist/components/ui/income-bar-chart.js +12 -5
  130. package/dist/components/ui/income-bar-chart.mjs +5 -4
  131. package/dist/components/ui/input-group.js +2 -2
  132. package/dist/components/ui/input-group.mjs +2 -2
  133. package/dist/components/ui/kanban-column.js +52 -44
  134. package/dist/components/ui/kanban-column.mjs +7 -5
  135. package/dist/components/ui/opportunity-card.js +52 -44
  136. package/dist/components/ui/opportunity-card.mjs +6 -4
  137. package/dist/components/ui/opportunity-edit-modals.js +1367 -1263
  138. package/dist/components/ui/opportunity-edit-modals.mjs +8 -8
  139. package/dist/components/ui/opportunity-summary-tab.js +2744 -2157
  140. package/dist/components/ui/opportunity-summary-tab.mjs +14 -14
  141. package/dist/components/ui/page-header.js +92 -0
  142. package/dist/components/ui/page-header.mjs +8 -0
  143. package/dist/components/ui/page-top-bar.js +88 -0
  144. package/dist/components/ui/page-top-bar.mjs +8 -0
  145. package/dist/components/ui/pagination.js +303 -19
  146. package/dist/components/ui/pagination.mjs +11 -4
  147. package/dist/components/ui/pipeline-board.js +205 -191
  148. package/dist/components/ui/pipeline-board.mjs +9 -7
  149. package/dist/components/ui/pipeline-dialogs.js +114 -65
  150. package/dist/components/ui/pipeline-dialogs.mjs +7 -6
  151. package/dist/components/ui/pipeline-primitives.js +6 -6
  152. package/dist/components/ui/pipeline-primitives.mjs +2 -2
  153. package/dist/components/ui/property-cashflow-doughnut-chart.js +14 -12
  154. package/dist/components/ui/property-cashflow-doughnut-chart.mjs +5 -4
  155. package/dist/components/ui/property-debt-equity-doughnut-chart.js +14 -12
  156. package/dist/components/ui/property-debt-equity-doughnut-chart.mjs +5 -4
  157. package/dist/components/ui/property-mobile-estimate-line-chart.js +16 -14
  158. package/dist/components/ui/property-mobile-estimate-line-chart.mjs +5 -4
  159. package/dist/components/ui/sidebar-nav.js +426 -191
  160. package/dist/components/ui/sidebar-nav.mjs +5 -1
  161. package/dist/components/ui/stage-timeline.js +6 -6
  162. package/dist/components/ui/stage-timeline.mjs +3 -3
  163. package/dist/components/ui/transactions-expense-categories-doughnut-chart.js +18 -16
  164. package/dist/components/ui/transactions-expense-categories-doughnut-chart.mjs +5 -4
  165. package/dist/components/ui/transactions-income-expense-bar-chart.js +28 -12
  166. package/dist/components/ui/transactions-income-expense-bar-chart.mjs +5 -4
  167. package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js +18 -16
  168. package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs +5 -4
  169. package/dist/index.js +12258 -8611
  170. package/dist/index.mjs +258 -190
  171. package/dist/styles.css +1 -1
  172. package/package.json +71 -1
  173. package/src/components/index.tsx +115 -9
  174. package/src/components/ui/add-column-modal.tsx +7 -7
  175. package/src/components/ui/add-lead-modal.tsx +6 -3
  176. package/src/components/ui/advisor-card.tsx +284 -0
  177. package/src/components/ui/ai-assistant-drawer.tsx +4 -3
  178. package/src/components/ui/appointment-action-dialogs.tsx +297 -0
  179. package/src/components/ui/appointment-availability-settings.tsx +645 -0
  180. package/src/components/ui/appointment-book-dialog.tsx +618 -0
  181. package/src/components/ui/appointment-calendar-view.tsx +510 -0
  182. package/src/components/ui/appointment-detail-sheet.tsx +415 -0
  183. package/src/components/ui/appointment-gmail-connect.tsx +188 -0
  184. package/src/components/ui/appointment-mini-card.tsx +104 -0
  185. package/src/components/ui/appointment-time-slot-picker.tsx +123 -0
  186. package/src/components/ui/appointment-upcoming-card.tsx +635 -0
  187. package/src/components/ui/backoffice-alert-history-chart.tsx +10 -2
  188. package/src/components/ui/backoffice-alerts-chart.tsx +312 -0
  189. package/src/components/ui/backoffice-connections-chart.tsx +339 -0
  190. package/src/components/ui/backoffice-contact-history-chart.tsx +10 -2
  191. package/src/components/ui/badge.tsx +12 -6
  192. package/src/components/ui/borrowing-capacity-line-chart.tsx +4 -11
  193. package/src/components/ui/button.tsx +2 -2
  194. package/src/components/ui/card.tsx +1 -1
  195. package/src/components/ui/cash-balance-line-chart.tsx +4 -23
  196. package/src/components/ui/cashflow-bar-chart.tsx +9 -2
  197. package/src/components/ui/chart-shared.tsx +4 -11
  198. package/src/components/ui/chip.tsx +23 -19
  199. package/src/components/ui/color-picker.tsx +4 -2
  200. package/src/components/ui/data-table.tsx +28 -74
  201. package/src/components/ui/date-picker.tsx +42 -37
  202. package/src/components/ui/dialog.tsx +72 -6
  203. package/src/components/ui/expense-bar-chart.tsx +11 -2
  204. package/src/components/ui/financial-cards.tsx +99 -10
  205. package/src/components/ui/income-bar-chart.tsx +11 -2
  206. package/src/components/ui/opportunity-card.tsx +10 -39
  207. package/src/components/ui/opportunity-edit-modals.tsx +98 -36
  208. package/src/components/ui/opportunity-summary-tab.tsx +548 -232
  209. package/src/components/ui/page-header.tsx +57 -0
  210. package/src/components/ui/page-top-bar.tsx +48 -0
  211. package/src/components/ui/pagination.tsx +171 -22
  212. package/src/components/ui/pipeline-board.tsx +12 -5
  213. package/src/components/ui/property-cashflow-doughnut-chart.tsx +3 -1
  214. package/src/components/ui/property-debt-equity-doughnut-chart.tsx +3 -1
  215. package/src/components/ui/property-mobile-estimate-line-chart.tsx +3 -1
  216. package/src/components/ui/sidebar-nav.tsx +213 -157
  217. package/src/components/ui/transactions-expense-categories-doughnut-chart.tsx +3 -1
  218. package/src/components/ui/transactions-income-expense-bar-chart.tsx +12 -9
  219. package/src/components/ui/transactions-liabilities-breakdown-doughnut-chart.tsx +3 -1
  220. package/src/lib/format-currency.ts +44 -0
  221. package/src/lib/format-date.ts +50 -0
  222. package/src/lib/opportunity-constants.ts +12 -0
  223. package/src/styles/globals.css +17 -15
  224. package/src/styles/styles-css.ts +1 -1
  225. package/tsup.config.ts +14 -0
  226. package/dist/chunk-S4QRUQNW.mjs +0 -475
  227. package/dist/chunk-URGMJAE3.mjs +0 -1885
  228. package/dist/chunk-WNGWBVLV.mjs +0 -148
  229. package/dist/chunk-ZRSDX6OW.mjs +0 -385
  230. package/dist/{chunk-LLVQKSU3.mjs → chunk-GD4BJDJR.mjs} +3 -3
@@ -0,0 +1,530 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
+ var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
+ var __objRest = (source, exclude) => {
26
+ var target = {};
27
+ for (var prop in source)
28
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
29
+ target[prop] = source[prop];
30
+ if (source != null && __getOwnPropSymbols)
31
+ for (var prop of __getOwnPropSymbols(source)) {
32
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
33
+ target[prop] = source[prop];
34
+ }
35
+ return target;
36
+ };
37
+ var __export = (target, all) => {
38
+ for (var name in all)
39
+ __defProp(target, name, { get: all[name], enumerable: true });
40
+ };
41
+ var __copyProps = (to, from, except, desc) => {
42
+ if (from && typeof from === "object" || typeof from === "function") {
43
+ for (let key of __getOwnPropNames(from))
44
+ if (!__hasOwnProp.call(to, key) && key !== except)
45
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
46
+ }
47
+ return to;
48
+ };
49
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
50
+ // If the importer is in node compatibility mode or this is not an ESM
51
+ // file that has been converted to a CommonJS file using a Babel-
52
+ // compatible transform (i.e. "__esModule" has not been set), then set
53
+ // "default" to the CommonJS "module.exports" for node compatibility.
54
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
55
+ mod
56
+ ));
57
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
58
+
59
+ // src/components/ui/advisor-card.tsx
60
+ var advisor_card_exports = {};
61
+ __export(advisor_card_exports, {
62
+ AdvisorCard: () => AdvisorCard,
63
+ AdvisorInviteCard: () => AdvisorInviteCard
64
+ });
65
+ module.exports = __toCommonJS(advisor_card_exports);
66
+ var import_react2 = __toESM(require("react"));
67
+
68
+ // src/components/ui/badge.tsx
69
+ var import_class_variance_authority = require("class-variance-authority");
70
+
71
+ // src/lib/utils.ts
72
+ var import_clsx = require("clsx");
73
+ var import_tailwind_merge = require("tailwind-merge");
74
+ var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
75
+ extend: {
76
+ classGroups: {
77
+ "font-size": [
78
+ {
79
+ text: [
80
+ "display-large",
81
+ "display-medium",
82
+ "display-small",
83
+ "h1",
84
+ "h2",
85
+ "h3",
86
+ "h4",
87
+ "h5",
88
+ "h6",
89
+ "body-large",
90
+ "body-medium",
91
+ "body-small",
92
+ "label-large",
93
+ "label-medium",
94
+ "label-small",
95
+ "button",
96
+ "button-xs",
97
+ "caption",
98
+ "overline",
99
+ "code"
100
+ ]
101
+ }
102
+ ]
103
+ }
104
+ }
105
+ });
106
+ function cn(...inputs) {
107
+ return twMerge((0, import_clsx.clsx)(inputs));
108
+ }
109
+
110
+ // src/lib/slot.tsx
111
+ var React = __toESM(require("react"));
112
+ function mergeRefs(...refs) {
113
+ return (value) => {
114
+ for (const ref of refs) {
115
+ if (typeof ref === "function") ref(value);
116
+ else if (ref !== null)
117
+ ref.current = value;
118
+ }
119
+ };
120
+ }
121
+ var Slot = React.forwardRef(
122
+ (_a, forwardedRef) => {
123
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
124
+ const child = React.Children.only(children);
125
+ if (!React.isValidElement(child)) return null;
126
+ const childProps = child.props;
127
+ const merged = __spreadValues({}, props);
128
+ for (const key of Object.keys(childProps)) {
129
+ if (key === "className") {
130
+ merged.className = [props.className, childProps.className].filter(Boolean).join(" ");
131
+ } else if (key === "style") {
132
+ merged.style = __spreadValues(__spreadValues({}, props.style), childProps.style);
133
+ } else if (key.startsWith("on") && typeof childProps[key] === "function") {
134
+ const parentHandler = props[key];
135
+ if (typeof parentHandler === "function") {
136
+ merged[key] = (...args) => {
137
+ childProps[key](...args);
138
+ parentHandler(...args);
139
+ };
140
+ } else {
141
+ merged[key] = childProps[key];
142
+ }
143
+ } else {
144
+ merged[key] = childProps[key];
145
+ }
146
+ }
147
+ const childRef = child.ref;
148
+ merged.ref = forwardedRef ? mergeRefs(forwardedRef, childRef) : childRef;
149
+ return React.cloneElement(
150
+ child,
151
+ merged
152
+ );
153
+ }
154
+ );
155
+ Slot.displayName = "Slot";
156
+
157
+ // src/components/ui/badge.tsx
158
+ var import_jsx_runtime = require("react/jsx-runtime");
159
+ var badgeVariants = (0, import_class_variance_authority.cva)(
160
+ "inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent px-2.5 py-0.5 text-xs font-medium font-sans whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",
161
+ {
162
+ variants: {
163
+ variant: {
164
+ default: "border-primary/40 bg-primary/10 text-foreground [a&]:hover:bg-primary/15",
165
+ secondary: "border-border bg-muted text-muted-foreground [a&]:hover:bg-muted/80",
166
+ destructive: "border-destructive/40 bg-destructive/10 text-destructive-text focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 [a&]:hover:bg-destructive/15",
167
+ success: "border-success/40 bg-success/10 text-success-text [a&]:hover:bg-success/15",
168
+ warning: "border-warning/40 bg-warning/10 text-warning-text [a&]:hover:bg-warning/15",
169
+ info: "border-info/40 bg-info/10 text-info-text [a&]:hover:bg-info/15",
170
+ outline: "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
171
+ ghost: "[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
172
+ link: "text-primary underline-offset-4 [a&]:hover:underline"
173
+ }
174
+ },
175
+ defaultVariants: {
176
+ variant: "default"
177
+ }
178
+ }
179
+ );
180
+ function Badge(_a) {
181
+ var _b = _a, {
182
+ className,
183
+ variant = "default",
184
+ asChild = false
185
+ } = _b, props = __objRest(_b, [
186
+ "className",
187
+ "variant",
188
+ "asChild"
189
+ ]);
190
+ const Comp = asChild ? Slot : "span";
191
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
192
+ Comp,
193
+ __spreadValues({
194
+ className: cn(badgeVariants({ variant }), className),
195
+ "data-slot": "badge",
196
+ "data-variant": variant
197
+ }, props)
198
+ );
199
+ }
200
+
201
+ // src/components/ui/button.tsx
202
+ var import_react = require("react");
203
+ var import_class_variance_authority2 = require("class-variance-authority");
204
+ var import_lucide_react = require("lucide-react");
205
+ var import_jsx_runtime2 = require("react/jsx-runtime");
206
+ var buttonVariants = (0, import_class_variance_authority2.cva)(
207
+ "inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 font-sans text-button whitespace-nowrap transition-all active:scale-[0.98] outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
208
+ {
209
+ variants: {
210
+ variant: {
211
+ default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
212
+ secondary: "bg-brand-secondary text-brand-secondary-foreground shadow-xs hover:bg-brand-secondary/80 focus-visible:ring-brand-secondary/30",
213
+ destructive: "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",
214
+ outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground focus-visible:ring-border/50 dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
215
+ "outline-primary": "border border-primary text-foreground bg-transparent shadow-xs hover:bg-primary/5 focus-visible:ring-primary/50",
216
+ "outline-secondary": "border border-brand-secondary text-brand-secondary bg-transparent shadow-xs hover:bg-brand-secondary/10 focus-visible:ring-brand-secondary/30",
217
+ ghost: "hover:bg-accent hover:text-accent-foreground hover:shadow-xs focus-visible:ring-border/50 dark:hover:bg-accent/50",
218
+ link: "text-primary underline-offset-4 hover:underline"
219
+ },
220
+ size: {
221
+ default: "h-9 px-4 py-2 has-[>svg]:px-3",
222
+ xs: "h-6 gap-1 px-2 text-button-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",
223
+ sm: "h-8 gap-1.5 px-3 has-[>svg]:px-2.5",
224
+ lg: "h-10 px-6 has-[>svg]:px-4",
225
+ icon: "size-9",
226
+ "icon-xs": "size-6 [&_svg:not([class*='size-'])]:size-3",
227
+ "icon-sm": "size-8",
228
+ "icon-lg": "size-10"
229
+ }
230
+ },
231
+ defaultVariants: {
232
+ variant: "default",
233
+ size: "default"
234
+ }
235
+ }
236
+ );
237
+ var Button = (0, import_react.forwardRef)(function Button2(_a, ref) {
238
+ var _b = _a, {
239
+ className,
240
+ variant,
241
+ size,
242
+ asChild = false,
243
+ loading = false,
244
+ disabled,
245
+ type = "button",
246
+ children
247
+ } = _b, props = __objRest(_b, [
248
+ "className",
249
+ "variant",
250
+ "size",
251
+ "asChild",
252
+ "loading",
253
+ "disabled",
254
+ "type",
255
+ "children"
256
+ ]);
257
+ const Comp = asChild ? Slot : "button";
258
+ const isIconOnly = size === "icon" || size === "icon-xs" || size === "icon-sm" || size === "icon-lg";
259
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
260
+ Comp,
261
+ __spreadProps(__spreadValues({
262
+ className: cn(buttonVariants({ variant, size, className })),
263
+ "data-size": size,
264
+ "data-slot": "button",
265
+ "data-variant": variant,
266
+ disabled: loading || disabled,
267
+ ref,
268
+ type
269
+ }, props), {
270
+ children: loading ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
271
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_lucide_react.Loader2, { "aria-hidden": "true", className: "animate-spin" }),
272
+ !isIconOnly && children
273
+ ] }) : children
274
+ })
275
+ );
276
+ });
277
+
278
+ // src/components/ui/avatar.tsx
279
+ var import_avatar = require("@base-ui/react/avatar");
280
+ var import_jsx_runtime3 = require("react/jsx-runtime");
281
+ function Avatar(_a) {
282
+ var _b = _a, {
283
+ className,
284
+ size = "default"
285
+ } = _b, props = __objRest(_b, [
286
+ "className",
287
+ "size"
288
+ ]);
289
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
290
+ import_avatar.Avatar.Root,
291
+ __spreadValues({
292
+ className: cn(
293
+ "group/avatar relative flex size-8 shrink-0 rounded-full select-none data-[size=lg]:size-10 data-[size=sm]:size-6",
294
+ className
295
+ ),
296
+ "data-size": size,
297
+ "data-slot": "avatar"
298
+ }, props)
299
+ );
300
+ }
301
+ function AvatarImage(_a) {
302
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
303
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
304
+ import_avatar.Avatar.Image,
305
+ __spreadValues({
306
+ className: cn("aspect-square size-full rounded-full", className),
307
+ "data-slot": "avatar-image"
308
+ }, props)
309
+ );
310
+ }
311
+ function AvatarFallback(_a) {
312
+ var _b = _a, {
313
+ className
314
+ } = _b, props = __objRest(_b, [
315
+ "className"
316
+ ]);
317
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
318
+ import_avatar.Avatar.Fallback,
319
+ __spreadValues({
320
+ className: cn(
321
+ "flex size-full items-center justify-center rounded-full overflow-hidden bg-muted text-body-small font-sans text-muted-foreground group-data-[size=sm]/avatar:text-caption",
322
+ className
323
+ ),
324
+ "data-slot": "avatar-fallback"
325
+ }, props)
326
+ );
327
+ }
328
+
329
+ // src/components/ui/separator.tsx
330
+ var import_separator = require("@base-ui/react/separator");
331
+ var import_jsx_runtime4 = require("react/jsx-runtime");
332
+ function Separator(_a) {
333
+ var _b = _a, {
334
+ className,
335
+ orientation = "horizontal"
336
+ } = _b, props = __objRest(_b, [
337
+ "className",
338
+ "orientation"
339
+ ]);
340
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
341
+ import_separator.Separator,
342
+ __spreadValues({
343
+ className: cn(
344
+ "shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
345
+ className
346
+ ),
347
+ "data-orientation": orientation,
348
+ "data-slot": "separator"
349
+ }, props)
350
+ );
351
+ }
352
+
353
+ // src/components/ui/advisor-card.tsx
354
+ var import_lucide_react2 = require("lucide-react");
355
+ var import_jsx_runtime5 = require("react/jsx-runtime");
356
+ var STATUS_VARIANT = {
357
+ pending: "warning",
358
+ confirmed: "success",
359
+ cancelled: "destructive",
360
+ rescheduled: "info"
361
+ };
362
+ var STATUS_LABEL = {
363
+ pending: "Pending",
364
+ confirmed: "Confirmed",
365
+ cancelled: "Cancelled",
366
+ rescheduled: "Rescheduled"
367
+ };
368
+ var STRIP_BG = {
369
+ pending: "bg-warning/5",
370
+ confirmed: "bg-success/5",
371
+ cancelled: "bg-destructive/5",
372
+ rescheduled: "bg-info/5"
373
+ };
374
+ function AdvisorCard({
375
+ name,
376
+ role,
377
+ phone,
378
+ email,
379
+ companyName,
380
+ companyLogoUrl,
381
+ avatarInitials,
382
+ isPrimary = false,
383
+ appointments,
384
+ onRefer,
385
+ onMoreOptions,
386
+ onBookAppointment,
387
+ onViewAppointment
388
+ }) {
389
+ const hasAppointments = appointments !== void 0;
390
+ const appointmentList = appointments === null || Array.isArray(appointments) && appointments.length === 0 ? null : appointments;
391
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex flex-col border border-border bg-card", children: [
392
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-start gap-4 p-4", children: [
393
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(Avatar, { className: "h-10 w-10 shrink-0", children: [
394
+ companyLogoUrl && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(AvatarImage, { src: companyLogoUrl, alt: `${name} company logo` }),
395
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(AvatarFallback, { className: "text-sm", children: avatarInitials != null ? avatarInitials : companyName ? companyName.split(" ").map((w) => w[0]).join("").slice(0, 2).toUpperCase() : name.slice(0, 2).toUpperCase() })
396
+ ] }),
397
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
398
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("p", { className: "text-sm font-semibold leading-tight", children: name }),
399
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("p", { className: "text-sm text-muted-foreground", children: role }),
400
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "mt-2 flex flex-col gap-1", children: [
401
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center gap-1.5 text-sm text-muted-foreground", children: [
402
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react2.Phone, { className: "h-4 w-4 shrink-0" }),
403
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { children: phone })
404
+ ] }),
405
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center gap-1.5 text-sm text-muted-foreground", children: [
406
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react2.Mail, { className: "h-4 w-4 shrink-0" }),
407
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { children: email })
408
+ ] })
409
+ ] })
410
+ ] }),
411
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex shrink-0 items-center gap-1.5", children: [
412
+ isPrimary && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Badge, { variant: "success", children: "Primary" }),
413
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
414
+ Button,
415
+ {
416
+ variant: "ghost",
417
+ size: "icon",
418
+ className: "h-7 w-7",
419
+ onClick: onMoreOptions,
420
+ "aria-label": "More options",
421
+ children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react2.MoreVertical, { className: "h-4 w-4" })
422
+ }
423
+ )
424
+ ] })
425
+ ] }),
426
+ hasAppointments && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
427
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Separator, {}),
428
+ appointmentList ? appointmentList.map((appt, i) => /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_react2.default.Fragment, { children: [
429
+ i > 0 && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Separator, {}),
430
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
431
+ "div",
432
+ {
433
+ className: `flex items-center gap-3 px-4 py-3 ${STRIP_BG[appt.status]}`,
434
+ children: [
435
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react2.CalendarCheck, { className: "h-4 w-4 shrink-0 text-muted-foreground" }),
436
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
437
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center gap-2", children: [
438
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
439
+ Badge,
440
+ {
441
+ variant: STATUS_VARIANT[appt.status],
442
+ className: "text-[10px]",
443
+ children: STATUS_LABEL[appt.status]
444
+ }
445
+ ),
446
+ appt.appointmentType && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: "truncate text-sm font-semibold", children: appt.appointmentType })
447
+ ] }),
448
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("p", { className: "whitespace-nowrap text-sm text-muted-foreground", children: [
449
+ appt.date,
450
+ " \xB7 ",
451
+ appt.timeStart,
452
+ "\u2013",
453
+ appt.timeEnd
454
+ ] })
455
+ ] }),
456
+ onViewAppointment && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
457
+ Button,
458
+ {
459
+ variant: "ghost",
460
+ size: "sm",
461
+ className: "h-7 shrink-0 gap-1 px-2 text-xs",
462
+ onClick: () => onViewAppointment(i),
463
+ children: [
464
+ "View",
465
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react2.ChevronRight, { className: "h-3 w-3" })
466
+ ]
467
+ }
468
+ )
469
+ ]
470
+ }
471
+ )
472
+ ] }, i)) : (
473
+ /* Empty state */
474
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex items-center gap-3 px-4 py-3", children: [
475
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react2.Calendar, { className: "h-4 w-4 shrink-0 text-muted-foreground" }),
476
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("p", { className: "flex-1 text-xs text-muted-foreground", children: "No upcoming appointments" })
477
+ ] })
478
+ )
479
+ ] }),
480
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Separator, {}),
481
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex flex-col gap-2 px-4 py-3", children: [
482
+ onBookAppointment && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
483
+ Button,
484
+ {
485
+ variant: "outline-primary",
486
+ size: "sm",
487
+ className: "w-full",
488
+ onClick: onBookAppointment,
489
+ children: "Book Appointment"
490
+ }
491
+ ),
492
+ onRefer && /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
493
+ Button,
494
+ {
495
+ variant: "outline",
496
+ size: "sm",
497
+ className: "w-full",
498
+ onClick: onRefer,
499
+ children: [
500
+ "Refer ",
501
+ name,
502
+ " to Others"
503
+ ]
504
+ }
505
+ )
506
+ ] })
507
+ ] });
508
+ }
509
+ function AdvisorInviteCard({ onInvite }) {
510
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
511
+ Button,
512
+ {
513
+ variant: "ghost",
514
+ onClick: onInvite,
515
+ className: "flex h-auto w-full flex-col items-center justify-center gap-3 border border-dashed border-border bg-card p-8 text-center transition-colors hover:bg-muted/40",
516
+ children: [
517
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "flex h-10 w-10 items-center justify-center border border-dashed border-muted-foreground/40", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_lucide_react2.Plus, { className: "h-5 w-5 text-muted-foreground" }) }),
518
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "flex flex-col gap-1", children: [
519
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("p", { className: "text-sm font-medium", children: "Add Another Advisor" }),
520
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("p", { className: "text-xs text-muted-foreground", children: "Connect more advisors to your account" })
521
+ ] })
522
+ ]
523
+ }
524
+ );
525
+ }
526
+ // Annotate the CommonJS export names for ESM import in node:
527
+ 0 && (module.exports = {
528
+ AdvisorCard,
529
+ AdvisorInviteCard
530
+ });
@@ -0,0 +1,15 @@
1
+ import {
2
+ AdvisorCard,
3
+ AdvisorInviteCard
4
+ } from "../../chunk-Q2BGOAMG.mjs";
5
+ import "../../chunk-24FUO7TD.mjs";
6
+ import "../../chunk-BKNFWEH2.mjs";
7
+ import "../../chunk-FH6QVUVZ.mjs";
8
+ import "../../chunk-XREGSKX3.mjs";
9
+ import "../../chunk-DBHJ5KC3.mjs";
10
+ import "../../chunk-VLQZANBF.mjs";
11
+ import "../../chunk-FWCSY2DS.mjs";
12
+ export {
13
+ AdvisorCard,
14
+ AdvisorInviteCard
15
+ };
@@ -258,10 +258,10 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
258
258
  default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
259
259
  secondary: "bg-brand-secondary text-brand-secondary-foreground shadow-xs hover:bg-brand-secondary/80 focus-visible:ring-brand-secondary/30",
260
260
  destructive: "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",
261
- outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
261
+ outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground focus-visible:ring-border/50 dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
262
262
  "outline-primary": "border border-primary text-foreground bg-transparent shadow-xs hover:bg-primary/5 focus-visible:ring-primary/50",
263
263
  "outline-secondary": "border border-brand-secondary text-brand-secondary bg-transparent shadow-xs hover:bg-brand-secondary/10 focus-visible:ring-brand-secondary/30",
264
- ghost: "hover:bg-accent hover:text-accent-foreground hover:shadow-xs dark:hover:bg-accent/50",
264
+ ghost: "hover:bg-accent hover:text-accent-foreground hover:shadow-xs focus-visible:ring-border/50 dark:hover:bg-accent/50",
265
265
  link: "text-primary underline-offset-4 hover:underline"
266
266
  },
267
267
  size: {
@@ -330,12 +330,12 @@ var badgeVariants = (0, import_class_variance_authority2.cva)(
330
330
  {
331
331
  variants: {
332
332
  variant: {
333
- default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
334
- secondary: "bg-muted text-muted-foreground [a&]:hover:bg-muted/80",
335
- destructive: "bg-destructive text-destructive-foreground focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40 [a&]:hover:bg-destructive/90",
336
- success: "bg-success text-success-foreground [a&]:hover:bg-success/90",
337
- warning: "bg-warning text-warning-foreground [a&]:hover:bg-warning/90",
338
- info: "bg-info text-info-foreground [a&]:hover:bg-info/90",
333
+ default: "border-primary/40 bg-primary/10 text-foreground [a&]:hover:bg-primary/15",
334
+ secondary: "border-border bg-muted text-muted-foreground [a&]:hover:bg-muted/80",
335
+ destructive: "border-destructive/40 bg-destructive/10 text-destructive-text focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 [a&]:hover:bg-destructive/15",
336
+ success: "border-success/40 bg-success/10 text-success-text [a&]:hover:bg-success/15",
337
+ warning: "border-warning/40 bg-warning/10 text-warning-text [a&]:hover:bg-warning/15",
338
+ info: "border-info/40 bg-info/10 text-info-text [a&]:hover:bg-info/15",
339
339
  outline: "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
340
340
  ghost: "[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
341
341
  link: "text-primary underline-offset-4 [a&]:hover:underline"
@@ -455,11 +455,12 @@ function AiTaskCard({
455
455
  onSelect
456
456
  }) {
457
457
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
458
- "button",
458
+ Button,
459
459
  {
460
460
  type: "button",
461
+ variant: "ghost",
461
462
  onClick: () => onSelect(suggestion.title),
462
- className: "flex flex-col gap-1 border border-border bg-background p-3 text-left transition-colors hover:bg-muted/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
463
+ className: "h-auto w-full flex-col items-start gap-1 border border-border bg-background p-3 text-left hover:bg-muted/50",
463
464
  children: [
464
465
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-sm font-medium text-foreground", children: suggestion.title }),
465
466
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "text-xs text-muted-foreground", children: suggestion.description })
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  AiAssistantDrawer
3
- } from "../../chunk-D4ILTPOG.mjs";
3
+ } from "../../chunk-CFMQP5QS.mjs";
4
4
  import "../../chunk-462HMNO4.mjs";
5
5
  import "../../chunk-34NWQURD.mjs";
6
- import "../../chunk-WAZD7NFU.mjs";
6
+ import "../../chunk-BKNFWEH2.mjs";
7
7
  import "../../chunk-7YAU5CY6.mjs";
8
- import "../../chunk-2I5S2AMY.mjs";
8
+ import "../../chunk-XREGSKX3.mjs";
9
9
  import "../../chunk-DBHJ5KC3.mjs";
10
10
  import "../../chunk-FEZKMUCF.mjs";
11
11
  import "../../chunk-QOJ2DQD6.mjs";
@@ -184,10 +184,10 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
184
184
  default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
185
185
  secondary: "bg-brand-secondary text-brand-secondary-foreground shadow-xs hover:bg-brand-secondary/80 focus-visible:ring-brand-secondary/30",
186
186
  destructive: "bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40",
187
- outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
187
+ outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground focus-visible:ring-border/50 dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
188
188
  "outline-primary": "border border-primary text-foreground bg-transparent shadow-xs hover:bg-primary/5 focus-visible:ring-primary/50",
189
189
  "outline-secondary": "border border-brand-secondary text-brand-secondary bg-transparent shadow-xs hover:bg-brand-secondary/10 focus-visible:ring-brand-secondary/30",
190
- ghost: "hover:bg-accent hover:text-accent-foreground hover:shadow-xs dark:hover:bg-accent/50",
190
+ ghost: "hover:bg-accent hover:text-accent-foreground hover:shadow-xs focus-visible:ring-border/50 dark:hover:bg-accent/50",
191
191
  link: "text-primary underline-offset-4 hover:underline"
192
192
  },
193
193
  size: {
@@ -11,8 +11,8 @@ import {
11
11
  AlertDialogPortal,
12
12
  AlertDialogTitle,
13
13
  AlertDialogTrigger
14
- } from "../../chunk-H45TKD34.mjs";
15
- import "../../chunk-2I5S2AMY.mjs";
14
+ } from "../../chunk-JMHR3YGZ.mjs";
15
+ import "../../chunk-XREGSKX3.mjs";
16
16
  import "../../chunk-DBHJ5KC3.mjs";
17
17
  import "../../chunk-FEZKMUCF.mjs";
18
18
  import "../../chunk-QOJ2DQD6.mjs";