@wealthx/shadcn 1.5.6 → 1.5.8

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 (212) hide show
  1. package/.turbo/turbo-build.log +177 -171
  2. package/CHANGELOG.md +12 -0
  3. package/dist/{chunk-XHGISOX5.mjs → chunk-33VT74R4.mjs} +1 -1
  4. package/dist/{chunk-M4LTX3MH.mjs → chunk-3C4DZTGA.mjs} +1 -1
  5. package/dist/{chunk-ODO6BUOF.mjs → chunk-3CGM3QXQ.mjs} +3 -5
  6. package/dist/{chunk-QBPNYXTI.mjs → chunk-3NJPNSJG.mjs} +1 -1
  7. package/dist/{chunk-6SR4K5T5.mjs → chunk-3S6KVFF5.mjs} +1 -1
  8. package/dist/{chunk-7KT5HPYM.mjs → chunk-3VZ6CYY2.mjs} +1 -1
  9. package/dist/chunk-3Z75IKFO.mjs +34 -0
  10. package/dist/{chunk-DFL5CV75.mjs → chunk-4BHDDLWK.mjs} +2 -2
  11. package/dist/{chunk-KLJLDNCA.mjs → chunk-4LLTZ45R.mjs} +1 -1
  12. package/dist/{chunk-RAKBWNQH.mjs → chunk-54MTIKNC.mjs} +27 -66
  13. package/dist/{chunk-JTG5R5YV.mjs → chunk-54TRNCID.mjs} +287 -61
  14. package/dist/{chunk-KCKYGQVQ.mjs → chunk-5DAQU3B6.mjs} +1 -1
  15. package/dist/{chunk-CKPEFZNH.mjs → chunk-5LZZYODG.mjs} +2 -2
  16. package/dist/{chunk-2A53WPEC.mjs → chunk-5YVJSKFH.mjs} +2 -2
  17. package/dist/{chunk-JUBUN65Q.mjs → chunk-5YWUGE6F.mjs} +1 -1
  18. package/dist/chunk-65PZNG4Y.mjs +129 -0
  19. package/dist/{chunk-K7WSRWOU.mjs → chunk-6LWCFAB4.mjs} +1 -1
  20. package/dist/{chunk-Q5SGEIJV.mjs → chunk-6MDNL5I2.mjs} +3 -3
  21. package/dist/{chunk-AUEUTZIC.mjs → chunk-6U4NQGVM.mjs} +3 -3
  22. package/dist/{chunk-V4CUTCHS.mjs → chunk-77L3UPBW.mjs} +1 -1
  23. package/dist/{chunk-CW32WTZU.mjs → chunk-7UIL5UN3.mjs} +1 -1
  24. package/dist/{chunk-2LLFNGJZ.mjs → chunk-AANINK2B.mjs} +3 -3
  25. package/dist/{chunk-UEREFDAE.mjs → chunk-AZGLSIHF.mjs} +1 -1
  26. package/dist/{chunk-XN37434W.mjs → chunk-B3CTBLIY.mjs} +2 -2
  27. package/dist/{chunk-XTWAJWCQ.mjs → chunk-BAONSY54.mjs} +1 -1
  28. package/dist/{chunk-XIY5DJXI.mjs → chunk-BXL74CM2.mjs} +1 -1
  29. package/dist/{chunk-OYBIUEGE.mjs → chunk-BZGFW6L7.mjs} +1 -1
  30. package/dist/chunk-CEEVYRQA.mjs +61 -0
  31. package/dist/{chunk-BD3DWDT4.mjs → chunk-CEYEK3TI.mjs} +1 -1
  32. package/dist/{chunk-I3UDLWQ7.mjs → chunk-D3HKFRQO.mjs} +1 -1
  33. package/dist/{chunk-3AREQTZU.mjs → chunk-DCKT635J.mjs} +1 -1
  34. package/dist/{chunk-VLELWBEW.mjs → chunk-E2BNCA6L.mjs} +1 -1
  35. package/dist/{chunk-QRVEI6J3.mjs → chunk-E5EDZQ5J.mjs} +1 -3
  36. package/dist/{chunk-QHJDGB54.mjs → chunk-EAKRTKHJ.mjs} +2 -2
  37. package/dist/{chunk-Q35PNFJ7.mjs → chunk-FBNEIYSE.mjs} +1 -1
  38. package/dist/{chunk-KB7MZMED.mjs → chunk-FGMDBJCF.mjs} +1 -1
  39. package/dist/{chunk-S4CTM3UE.mjs → chunk-FRCTOAKZ.mjs} +35 -4
  40. package/dist/{chunk-K7TWMLLW.mjs → chunk-FW4U543X.mjs} +4 -4
  41. package/dist/{chunk-PGR53HMH.mjs → chunk-G2W754UJ.mjs} +1 -1
  42. package/dist/{chunk-46Q4335I.mjs → chunk-GS47ZSSA.mjs} +12 -22
  43. package/dist/{chunk-AHKHVBWR.mjs → chunk-GYWOD2YI.mjs} +1 -1
  44. package/dist/{chunk-HNDTLT5X.mjs → chunk-H5DTKPJ2.mjs} +1 -1
  45. package/dist/{chunk-C6SWS7OW.mjs → chunk-HB5BKRMH.mjs} +1 -1
  46. package/dist/{chunk-WUA546RX.mjs → chunk-IFSQWDRN.mjs} +1 -1
  47. package/dist/{chunk-KAD26MCC.mjs → chunk-IRZWYTGV.mjs} +1 -1
  48. package/dist/{chunk-AL6GOL2Y.mjs → chunk-IW33VLL5.mjs} +1 -1
  49. package/dist/{chunk-A6ER36CW.mjs → chunk-JGBV3XMQ.mjs} +1 -1
  50. package/dist/{chunk-Y6UM3VTN.mjs → chunk-JUMEIPII.mjs} +1 -1
  51. package/dist/{chunk-VFH632TB.mjs → chunk-K4WDPVFY.mjs} +3 -3
  52. package/dist/{chunk-PV3Y7QGK.mjs → chunk-LHWJQNLG.mjs} +3 -3
  53. package/dist/{chunk-NCUH54IZ.mjs → chunk-LI2CTS5O.mjs} +1 -1
  54. package/dist/{chunk-F24U4QQQ.mjs → chunk-LPVXO3TD.mjs} +1 -1
  55. package/dist/{chunk-VJ3GC7W3.mjs → chunk-MNMSHB2J.mjs} +5 -5
  56. package/dist/{chunk-J5NW5NCT.mjs → chunk-NCMV3LTP.mjs} +1 -1
  57. package/dist/{chunk-IXR4BQSQ.mjs → chunk-O5CP6VP6.mjs} +3 -3
  58. package/dist/{chunk-TGVXRD53.mjs → chunk-OZ2R6ERP.mjs} +1 -1
  59. package/dist/{chunk-D447W45Z.mjs → chunk-PCULNQWA.mjs} +42 -50
  60. package/dist/{chunk-CDVG7SFT.mjs → chunk-PGJRZHN7.mjs} +1 -1
  61. package/dist/{chunk-IKDTOCSY.mjs → chunk-RSEVIQEO.mjs} +1 -1
  62. package/dist/{chunk-GNER6MCO.mjs → chunk-SSUK6C2K.mjs} +1 -1
  63. package/dist/{chunk-6TX73WG7.mjs → chunk-TCE5L44O.mjs} +3 -2
  64. package/dist/{chunk-OECGKCVF.mjs → chunk-TLLD5IU6.mjs} +1 -1
  65. package/dist/{chunk-BFB3UH7V.mjs → chunk-TRM3KIHT.mjs} +2 -2
  66. package/dist/{chunk-TLYSVRSK.mjs → chunk-TUC2BNUR.mjs} +3 -3
  67. package/dist/{chunk-HXU5JGLQ.mjs → chunk-UBHBIWIA.mjs} +3 -3
  68. package/dist/{chunk-TXUBGKB7.mjs → chunk-UJMVXREM.mjs} +2 -2
  69. package/dist/{chunk-TAX3KL66.mjs → chunk-USOVLDGS.mjs} +1 -1
  70. package/dist/{chunk-HF4FUBCY.mjs → chunk-UTCW5YUX.mjs} +1 -1
  71. package/dist/{chunk-OL65UQHQ.mjs → chunk-UYRHYJPX.mjs} +27 -61
  72. package/dist/{chunk-BDESHD25.mjs → chunk-VLVEZHFE.mjs} +1 -1
  73. package/dist/{chunk-EUYPMDQG.mjs → chunk-VWZS32ZQ.mjs} +1 -1
  74. package/dist/{chunk-HROG643K.mjs → chunk-W5QJ57PU.mjs} +1 -1
  75. package/dist/{chunk-F4O2YPXJ.mjs → chunk-WHIW6KOB.mjs} +1 -1
  76. package/dist/{chunk-TOIVHWNC.mjs → chunk-WWIWRNBK.mjs} +1 -1
  77. package/dist/{chunk-2QNOPXMQ.mjs → chunk-XMP24PWA.mjs} +1 -1
  78. package/dist/{chunk-HO6S3ECM.mjs → chunk-XUCDPAVI.mjs} +2 -2
  79. package/dist/{chunk-EW72FINW.mjs → chunk-XVZGXPIX.mjs} +1 -1
  80. package/dist/{chunk-WDTXHLYM.mjs → chunk-XYSRRDBH.mjs} +17 -11
  81. package/dist/{chunk-QAX6HCUH.mjs → chunk-ZAXZBOWI.mjs} +1 -1
  82. package/dist/{chunk-E3PQDBYI.mjs → chunk-ZFKAYRFQ.mjs} +1 -1
  83. package/dist/components/ui/about-you-form.mjs +6 -6
  84. package/dist/components/ui/add-column-modal.js +56 -227
  85. package/dist/components/ui/add-column-modal.mjs +4 -5
  86. package/dist/components/ui/add-lead-modal.mjs +6 -6
  87. package/dist/components/ui/ai-assistant-drawer.mjs +4 -4
  88. package/dist/components/ui/ai-builder.mjs +4 -4
  89. package/dist/components/ui/ai-conversations.js +278 -58
  90. package/dist/components/ui/ai-conversations.mjs +6 -6
  91. package/dist/components/ui/alert-dialog.mjs +3 -3
  92. package/dist/components/ui/appointment-action-dialogs.mjs +7 -7
  93. package/dist/components/ui/appointment-availability-settings.js +1 -1
  94. package/dist/components/ui/appointment-availability-settings.mjs +9 -9
  95. package/dist/components/ui/appointment-book-dialog.js +11 -21
  96. package/dist/components/ui/appointment-book-dialog.mjs +7 -7
  97. package/dist/components/ui/appointment-calendar-view.mjs +2 -2
  98. package/dist/components/ui/appointment-detail-sheet.mjs +9 -9
  99. package/dist/components/ui/appointment-upcoming-card.mjs +6 -6
  100. package/dist/components/ui/assets-liabilities-side-card.mjs +3 -3
  101. package/dist/components/ui/backoffice-alert-history-chart.mjs +3 -3
  102. package/dist/components/ui/backoffice-alert-matching-chart.mjs +3 -3
  103. package/dist/components/ui/backoffice-alerts-chart.mjs +3 -3
  104. package/dist/components/ui/backoffice-connections-chart.mjs +3 -3
  105. package/dist/components/ui/backoffice-contact-history-chart.mjs +3 -3
  106. package/dist/components/ui/backoffice-contact-matching-chart.mjs +3 -3
  107. package/dist/components/ui/backoffice-signup-steps.mjs +9 -9
  108. package/dist/components/ui/bank-statement-generate-dialog.mjs +9 -9
  109. package/dist/components/ui/bank-statement-pdf-viewer.mjs +4 -4
  110. package/dist/components/ui/borrowing-capacity-card.mjs +3 -3
  111. package/dist/components/ui/borrowing-capacity-line-chart.mjs +3 -3
  112. package/dist/components/ui/calculator-section.mjs +4 -4
  113. package/dist/components/ui/calendar.mjs +2 -2
  114. package/dist/components/ui/cash-balance-line-chart.mjs +3 -3
  115. package/dist/components/ui/cashflow-bar-chart.mjs +3 -3
  116. package/dist/components/ui/category-edit-dialog.mjs +4 -4
  117. package/dist/components/ui/color-picker.mjs +4 -4
  118. package/dist/components/ui/contact-alert-dialog/index.mjs +5 -5
  119. package/dist/components/ui/create-contact-modal.mjs +5 -5
  120. package/dist/components/ui/csv-import-modal.mjs +4 -4
  121. package/dist/components/ui/dashboard-transactions-table.mjs +5 -5
  122. package/dist/components/ui/data-table.mjs +6 -6
  123. package/dist/components/ui/date-picker.mjs +6 -6
  124. package/dist/components/ui/delete-contact-component.mjs +4 -4
  125. package/dist/components/ui/dialog.mjs +3 -3
  126. package/dist/components/ui/document-checklist-template.mjs +4 -4
  127. package/dist/components/ui/drawer.mjs +3 -3
  128. package/dist/components/ui/dropdown-menu.mjs +3 -3
  129. package/dist/components/ui/dynamic-tabs.mjs +3 -3
  130. package/dist/components/ui/editable-money-item.mjs +4 -4
  131. package/dist/components/ui/expense-bar-chart.mjs +3 -3
  132. package/dist/components/ui/expense-work-details.mjs +4 -4
  133. package/dist/components/ui/file-preview-dialog.mjs +6 -6
  134. package/dist/components/ui/financial-cards.mjs +2 -2
  135. package/dist/components/ui/financial-drawers.mjs +4 -4
  136. package/dist/components/ui/financial-sections.mjs +3 -3
  137. package/dist/components/ui/frontend-signup-steps.mjs +7 -7
  138. package/dist/components/ui/income-bar-chart.mjs +3 -3
  139. package/dist/components/ui/income-work-details.mjs +4 -4
  140. package/dist/components/ui/integration-card.js +326 -0
  141. package/dist/components/ui/integration-card.mjs +11 -0
  142. package/dist/components/ui/kanban-column.js +151 -243
  143. package/dist/components/ui/kanban-column.mjs +6 -7
  144. package/dist/components/ui/loan-application-cards.mjs +1 -1
  145. package/dist/components/ui/money-item-with-color-indicator.mjs +4 -4
  146. package/dist/components/ui/onboarding-layout.js +65 -4
  147. package/dist/components/ui/onboarding-layout.mjs +6 -4
  148. package/dist/components/ui/opportunity-card.js +126 -216
  149. package/dist/components/ui/opportunity-card.mjs +5 -6
  150. package/dist/components/ui/opportunity-edit-modals.mjs +9 -9
  151. package/dist/components/ui/opportunity-summary-tab.mjs +11 -11
  152. package/dist/components/ui/pagination.mjs +4 -4
  153. package/dist/components/ui/password-strength-tooltip.mjs +4 -4
  154. package/dist/components/ui/pipeline-board.js +167 -261
  155. package/dist/components/ui/pipeline-board.mjs +7 -8
  156. package/dist/components/ui/pipeline-chart.js +128 -55
  157. package/dist/components/ui/pipeline-chart.mjs +4 -3
  158. package/dist/components/ui/pipeline-dialogs.mjs +9 -9
  159. package/dist/components/ui/popover.mjs +3 -3
  160. package/dist/components/ui/property-cashflow-doughnut-chart.mjs +3 -3
  161. package/dist/components/ui/property-debt-equity-doughnut-chart.mjs +3 -3
  162. package/dist/components/ui/property-mobile-estimate-line-chart.mjs +3 -3
  163. package/dist/components/ui/property-report-dialog.mjs +4 -4
  164. package/dist/components/ui/resource-center.mjs +4 -4
  165. package/dist/components/ui/review-alerts-dialog.mjs +4 -4
  166. package/dist/components/ui/savings-goal-modal.mjs +7 -7
  167. package/dist/components/ui/scenario-drawer.mjs +3 -3
  168. package/dist/components/ui/scenario-item.mjs +4 -4
  169. package/dist/components/ui/scenario-list.mjs +4 -4
  170. package/dist/components/ui/select.mjs +3 -3
  171. package/dist/components/ui/selectable-card.js +163 -0
  172. package/dist/components/ui/selectable-card.mjs +9 -0
  173. package/dist/components/ui/share-details-dialog.mjs +4 -4
  174. package/dist/components/ui/sheet.mjs +3 -3
  175. package/dist/components/ui/sidebar-nav.mjs +4 -4
  176. package/dist/components/ui/signup-form-primitives.mjs +6 -6
  177. package/dist/components/ui/signup-shell.js +3 -2
  178. package/dist/components/ui/signup-shell.mjs +2 -2
  179. package/dist/components/ui/stepper.js +3 -2
  180. package/dist/components/ui/stepper.mjs +1 -1
  181. package/dist/components/ui/tooltip.mjs +3 -3
  182. package/dist/components/ui/transactions-expense-categories-doughnut-chart.mjs +3 -3
  183. package/dist/components/ui/transactions-income-expense-bar-chart.mjs +3 -3
  184. package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs +3 -3
  185. package/dist/index.js +2144 -1875
  186. package/dist/index.mjs +105 -95
  187. package/dist/lib/colors.js +36 -3
  188. package/dist/lib/colors.mjs +5 -1
  189. package/dist/lib/theme-provider.js +60 -13
  190. package/dist/lib/theme-provider.mjs +2 -2
  191. package/dist/styles.css +1 -1
  192. package/package.json +11 -1
  193. package/src/components/index.tsx +13 -1
  194. package/src/components/ui/add-column-modal.tsx +9 -58
  195. package/src/components/ui/ai-conversations.tsx +308 -42
  196. package/src/components/ui/appointment-availability-settings.tsx +1 -1
  197. package/src/components/ui/appointment-book-dialog.tsx +25 -48
  198. package/src/components/ui/integration-card.tsx +88 -0
  199. package/src/components/ui/kanban-column.tsx +0 -7
  200. package/src/components/ui/onboarding-layout.tsx +102 -1
  201. package/src/components/ui/opportunity-card.tsx +5 -53
  202. package/src/components/ui/pipeline-board.tsx +0 -3
  203. package/src/components/ui/pipeline-chart.tsx +47 -53
  204. package/src/components/ui/selectable-card.tsx +37 -0
  205. package/src/components/ui/stepper.tsx +3 -2
  206. package/src/lib/colors.ts +73 -5
  207. package/src/lib/format-date.ts +6 -6
  208. package/src/lib/theme-provider.tsx +13 -8
  209. package/src/styles/globals.css +37 -9
  210. package/src/styles/styles-css.ts +1 -1
  211. package/tsup.config.ts +2 -0
  212. package/dist/chunk-2P7HP7LR.mjs +0 -68
@@ -0,0 +1,326 @@
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/integration-card.tsx
60
+ var integration_card_exports = {};
61
+ __export(integration_card_exports, {
62
+ IntegrationCard: () => IntegrationCard
63
+ });
64
+ module.exports = __toCommonJS(integration_card_exports);
65
+ var import_lucide_react2 = require("lucide-react");
66
+
67
+ // src/components/ui/badge.tsx
68
+ var import_class_variance_authority = require("class-variance-authority");
69
+
70
+ // src/lib/utils.ts
71
+ var import_clsx = require("clsx");
72
+ var import_tailwind_merge = require("tailwind-merge");
73
+ var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
74
+ extend: {
75
+ classGroups: {
76
+ "font-size": [
77
+ {
78
+ text: [
79
+ "display-large",
80
+ "display-medium",
81
+ "display-small",
82
+ "h1",
83
+ "h2",
84
+ "h3",
85
+ "h4",
86
+ "h5",
87
+ "h6",
88
+ "body-large",
89
+ "body-medium",
90
+ "body-small",
91
+ "label-large",
92
+ "label-medium",
93
+ "label-small",
94
+ "button",
95
+ "button-xs",
96
+ "caption",
97
+ "overline",
98
+ "code"
99
+ ]
100
+ }
101
+ ]
102
+ }
103
+ }
104
+ });
105
+ function cn(...inputs) {
106
+ return twMerge((0, import_clsx.clsx)(inputs));
107
+ }
108
+
109
+ // src/lib/slot.tsx
110
+ var React = __toESM(require("react"));
111
+ function mergeRefs(...refs) {
112
+ return (value) => {
113
+ for (const ref of refs) {
114
+ if (typeof ref === "function") ref(value);
115
+ else if (ref !== null)
116
+ ref.current = value;
117
+ }
118
+ };
119
+ }
120
+ var Slot = React.forwardRef(
121
+ (_a, forwardedRef) => {
122
+ var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
123
+ const child = React.Children.only(children);
124
+ if (!React.isValidElement(child)) return null;
125
+ const childProps = child.props;
126
+ const merged = __spreadValues({}, props);
127
+ for (const key of Object.keys(childProps)) {
128
+ if (key === "className") {
129
+ merged.className = [props.className, childProps.className].filter(Boolean).join(" ");
130
+ } else if (key === "style") {
131
+ merged.style = __spreadValues(__spreadValues({}, props.style), childProps.style);
132
+ } else if (key.startsWith("on") && typeof childProps[key] === "function") {
133
+ const parentHandler = props[key];
134
+ if (typeof parentHandler === "function") {
135
+ merged[key] = (...args) => {
136
+ childProps[key](...args);
137
+ parentHandler(...args);
138
+ };
139
+ } else {
140
+ merged[key] = childProps[key];
141
+ }
142
+ } else {
143
+ merged[key] = childProps[key];
144
+ }
145
+ }
146
+ const childRef = child.ref;
147
+ merged.ref = forwardedRef ? mergeRefs(forwardedRef, childRef) : childRef;
148
+ return React.cloneElement(
149
+ child,
150
+ merged
151
+ );
152
+ }
153
+ );
154
+ Slot.displayName = "Slot";
155
+
156
+ // src/components/ui/badge.tsx
157
+ var import_jsx_runtime = require("react/jsx-runtime");
158
+ var badgeVariants = (0, import_class_variance_authority.cva)(
159
+ "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",
160
+ {
161
+ variants: {
162
+ variant: {
163
+ default: "border-primary/40 bg-primary/10 text-foreground [a&]:hover:bg-primary/15",
164
+ secondary: "border-border bg-muted text-muted-foreground [a&]:hover:bg-muted/80",
165
+ 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",
166
+ success: "border-success/40 bg-success/10 text-success-text [a&]:hover:bg-success/15",
167
+ warning: "border-warning/40 bg-warning/10 text-warning-text [a&]:hover:bg-warning/15",
168
+ info: "border-info/40 bg-info/10 text-info-text [a&]:hover:bg-info/15",
169
+ outline: "border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
170
+ ghost: "[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
171
+ link: "text-primary underline-offset-4 [a&]:hover:underline"
172
+ }
173
+ },
174
+ defaultVariants: {
175
+ variant: "default"
176
+ }
177
+ }
178
+ );
179
+ function Badge(_a) {
180
+ var _b = _a, {
181
+ className,
182
+ variant = "default",
183
+ asChild = false
184
+ } = _b, props = __objRest(_b, [
185
+ "className",
186
+ "variant",
187
+ "asChild"
188
+ ]);
189
+ const Comp = asChild ? Slot : "span";
190
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
191
+ Comp,
192
+ __spreadValues({
193
+ className: cn(badgeVariants({ variant }), className),
194
+ "data-slot": "badge",
195
+ "data-variant": variant
196
+ }, props)
197
+ );
198
+ }
199
+
200
+ // src/components/ui/button.tsx
201
+ var import_react = require("react");
202
+ var import_class_variance_authority2 = require("class-variance-authority");
203
+ var import_lucide_react = require("lucide-react");
204
+ var import_jsx_runtime2 = require("react/jsx-runtime");
205
+ var buttonVariants = (0, import_class_variance_authority2.cva)(
206
+ "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",
207
+ {
208
+ variants: {
209
+ variant: {
210
+ default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
211
+ secondary: "bg-brand-secondary text-brand-secondary-foreground shadow-xs hover:bg-brand-secondary/80 focus-visible:ring-brand-secondary/30",
212
+ 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",
213
+ outline: "border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground focus-visible:border-border focus-visible:ring-border/50 dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
214
+ "outline-primary": "border border-primary text-foreground bg-transparent shadow-xs hover:bg-primary/5 focus-visible:ring-primary/50",
215
+ "outline-secondary": "border border-brand-secondary text-brand-secondary bg-transparent shadow-xs hover:bg-brand-secondary/10 focus-visible:border-brand-secondary focus-visible:ring-brand-secondary/30",
216
+ ghost: "hover:bg-accent hover:text-accent-foreground hover:shadow-xs focus-visible:ring-border/50 dark:hover:bg-accent/50",
217
+ link: "text-primary underline-offset-4 hover:underline"
218
+ },
219
+ size: {
220
+ default: "h-9 px-4 py-2 has-[>svg]:px-3",
221
+ xs: "h-6 gap-1 px-2 text-button-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",
222
+ sm: "h-8 gap-1.5 px-3 has-[>svg]:px-2.5",
223
+ lg: "h-10 px-6 has-[>svg]:px-4",
224
+ icon: "size-9",
225
+ "icon-xs": "size-6 [&_svg:not([class*='size-'])]:size-3",
226
+ "icon-sm": "size-8",
227
+ "icon-lg": "size-10"
228
+ }
229
+ },
230
+ defaultVariants: {
231
+ variant: "default",
232
+ size: "default"
233
+ }
234
+ }
235
+ );
236
+ var Button = (0, import_react.forwardRef)(function Button2(_a, ref) {
237
+ var _b = _a, {
238
+ className,
239
+ variant,
240
+ size,
241
+ asChild = false,
242
+ loading = false,
243
+ disabled,
244
+ type = "button",
245
+ children
246
+ } = _b, props = __objRest(_b, [
247
+ "className",
248
+ "variant",
249
+ "size",
250
+ "asChild",
251
+ "loading",
252
+ "disabled",
253
+ "type",
254
+ "children"
255
+ ]);
256
+ const Comp = asChild ? Slot : "button";
257
+ const isIconOnly = size === "icon" || size === "icon-xs" || size === "icon-sm" || size === "icon-lg";
258
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
259
+ Comp,
260
+ __spreadProps(__spreadValues({
261
+ className: cn(buttonVariants({ variant, size, className })),
262
+ "data-size": size,
263
+ "data-slot": "button",
264
+ "data-variant": variant,
265
+ disabled: loading || disabled,
266
+ ref,
267
+ type
268
+ }, props), {
269
+ children: loading ? /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
270
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_lucide_react.Loader2, { "aria-hidden": "true", className: "animate-spin" }),
271
+ !isIconOnly && children
272
+ ] }) : children
273
+ })
274
+ );
275
+ });
276
+
277
+ // src/components/ui/integration-card.tsx
278
+ var import_jsx_runtime3 = require("react/jsx-runtime");
279
+ function IntegrationCard({
280
+ name,
281
+ description,
282
+ logoSrc,
283
+ logoFallback,
284
+ connected = false,
285
+ onConnect,
286
+ onDisconnect,
287
+ children,
288
+ className
289
+ }) {
290
+ const hasLogo = Boolean(logoSrc || logoFallback);
291
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
292
+ "div",
293
+ {
294
+ className: cn(
295
+ "flex flex-col gap-3 border border-border p-4",
296
+ connected && "bg-muted/20",
297
+ className
298
+ ),
299
+ children: [
300
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex items-center gap-2", children: [
301
+ hasLogo && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex shrink-0 items-center", children: logoSrc ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
302
+ "img",
303
+ {
304
+ src: logoSrc,
305
+ alt: `${name} logo`,
306
+ className: "h-8 w-16 object-contain object-left"
307
+ }
308
+ ) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex h-9 w-9 items-center justify-center", children: logoFallback }) }),
309
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-label-medium", children: name }),
310
+ connected && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Badge, { variant: "success", className: "gap-1", children: [
311
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_lucide_react2.Check, { className: "h-3 w-3" }),
312
+ "Connected"
313
+ ] })
314
+ ] }),
315
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "text-body-small text-muted-foreground", children: description }),
316
+ children,
317
+ !connected && onConnect && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Button, { variant: "outline", size: "sm", onClick: onConnect, children: "Connect" }) }),
318
+ connected && onDisconnect && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex justify-end", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Button, { variant: "outline", size: "sm", onClick: onDisconnect, children: "Disconnect" }) })
319
+ ]
320
+ }
321
+ );
322
+ }
323
+ // Annotate the CommonJS export names for ESM import in node:
324
+ 0 && (module.exports = {
325
+ IntegrationCard
326
+ });
@@ -0,0 +1,11 @@
1
+ import {
2
+ IntegrationCard
3
+ } from "../../chunk-CEEVYRQA.mjs";
4
+ import "../../chunk-WL6WVV47.mjs";
5
+ import "../../chunk-NOOEKOWY.mjs";
6
+ import "../../chunk-R4HCRDU5.mjs";
7
+ import "../../chunk-AFML43VJ.mjs";
8
+ import "../../chunk-WNQUEZJF.mjs";
9
+ export {
10
+ IntegrationCard
11
+ };