@wealthx/shadcn 1.2.0 → 1.2.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 (57) hide show
  1. package/.turbo/turbo-build.log +47 -47
  2. package/CHANGELOG.md +6 -0
  3. package/dist/{chunk-NXA3CZ7A.mjs → chunk-4Y6R4WEC.mjs} +2 -0
  4. package/dist/{chunk-AH52LG6N.mjs → chunk-7MMXNK3C.mjs} +2 -0
  5. package/dist/{chunk-5QQVZTVZ.mjs → chunk-BL3DXM2X.mjs} +2 -1
  6. package/dist/{chunk-QVKWW6KE.mjs → chunk-GGM2UYGG.mjs} +2 -1
  7. package/dist/{chunk-KMCGSZTX.mjs → chunk-JNQORUPP.mjs} +2 -1
  8. package/dist/{chunk-PJHPSRYD.mjs → chunk-K3JYD4IU.mjs} +2 -1
  9. package/dist/{chunk-SMQ3DG25.mjs → chunk-LHYCMLVA.mjs} +2 -1
  10. package/dist/{chunk-NLCKVHWB.mjs → chunk-OPNQAVVH.mjs} +2 -1
  11. package/dist/{chunk-2SF672SZ.mjs → chunk-RYCLWMZ7.mjs} +2 -1
  12. package/dist/{chunk-YKPROFLB.mjs → chunk-SIZMLSRU.mjs} +2 -1
  13. package/dist/{chunk-LE6YFY6D.mjs → chunk-SWGT756Z.mjs} +2 -1
  14. package/dist/{chunk-6FCGKSZX.mjs → chunk-TS2ZX2VS.mjs} +2 -0
  15. package/dist/{chunk-RRBS6D63.mjs → chunk-VPBN3WOO.mjs} +2 -1
  16. package/dist/components/ui/backoffice-alert-history-chart.js +1 -1
  17. package/dist/components/ui/backoffice-alert-history-chart.mjs +1 -1
  18. package/dist/components/ui/backoffice-contact-history-chart.js +1 -1
  19. package/dist/components/ui/backoffice-contact-history-chart.mjs +1 -1
  20. package/dist/components/ui/borrowing-capacity-line-chart.js +1 -0
  21. package/dist/components/ui/borrowing-capacity-line-chart.mjs +1 -1
  22. package/dist/components/ui/cash-balance-line-chart.js +1 -0
  23. package/dist/components/ui/cash-balance-line-chart.mjs +1 -1
  24. package/dist/components/ui/cashflow-bar-chart.js +1 -1
  25. package/dist/components/ui/cashflow-bar-chart.mjs +1 -1
  26. package/dist/components/ui/expense-bar-chart.js +1 -1
  27. package/dist/components/ui/expense-bar-chart.mjs +1 -1
  28. package/dist/components/ui/income-bar-chart.js +1 -1
  29. package/dist/components/ui/income-bar-chart.mjs +1 -1
  30. package/dist/components/ui/property-cashflow-doughnut-chart.js +1 -1
  31. package/dist/components/ui/property-cashflow-doughnut-chart.mjs +1 -1
  32. package/dist/components/ui/property-debt-equity-doughnut-chart.js +1 -1
  33. package/dist/components/ui/property-debt-equity-doughnut-chart.mjs +1 -1
  34. package/dist/components/ui/property-mobile-estimate-line-chart.js +1 -0
  35. package/dist/components/ui/property-mobile-estimate-line-chart.mjs +1 -1
  36. package/dist/components/ui/transactions-expense-categories-doughnut-chart.js +1 -1
  37. package/dist/components/ui/transactions-expense-categories-doughnut-chart.mjs +1 -1
  38. package/dist/components/ui/transactions-income-expense-bar-chart.js +1 -1
  39. package/dist/components/ui/transactions-income-expense-bar-chart.mjs +1 -1
  40. package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js +1 -1
  41. package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs +1 -1
  42. package/dist/index.js +13 -10
  43. package/dist/index.mjs +13 -13
  44. package/package.json +1 -1
  45. package/src/components/ui/backoffice-alert-history-chart.tsx +2 -1
  46. package/src/components/ui/backoffice-contact-history-chart.tsx +2 -1
  47. package/src/components/ui/borrowing-capacity-line-chart.tsx +2 -0
  48. package/src/components/ui/cash-balance-line-chart.tsx +2 -0
  49. package/src/components/ui/cashflow-bar-chart.tsx +2 -1
  50. package/src/components/ui/expense-bar-chart.tsx +2 -1
  51. package/src/components/ui/income-bar-chart.tsx +2 -1
  52. package/src/components/ui/property-cashflow-doughnut-chart.tsx +2 -1
  53. package/src/components/ui/property-debt-equity-doughnut-chart.tsx +2 -1
  54. package/src/components/ui/property-mobile-estimate-line-chart.tsx +2 -0
  55. package/src/components/ui/transactions-expense-categories-doughnut-chart.tsx +2 -1
  56. package/src/components/ui/transactions-income-expense-bar-chart.tsx +2 -1
  57. package/src/components/ui/transactions-liabilities-breakdown-doughnut-chart.tsx +2 -1
@@ -14,7 +14,7 @@ npm warn Unknown project config "auto-install-peers". This will stop working in
14
14
  npm warn Unknown project config "public-hoist-pattern". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options.
15
15
  ≈ tailwindcss v4.2.2
16
16
 
17
- Done in 606ms
17
+ Done in 643ms
18
18
  Built dist/styles.css and src/styles/styles-css.ts
19
19
  warning package.json: No license field
20
20
  $ tsup
@@ -26,21 +26,21 @@ $ tsup
26
26
  CJS Build start
27
27
  ESM Build start
28
28
  ESM dist/lib/colors.mjs 205.00 B
29
- ESM dist/index.mjs 12.32 KB
30
29
  ESM dist/chunk-6JQFUE5I.mjs 2.37 KB
31
- ESM dist/chunk-NLCKVHWB.mjs 4.99 KB
32
- ESM dist/chunk-KMCGSZTX.mjs 5.55 KB
33
- ESM dist/chunk-YKPROFLB.mjs 4.99 KB
30
+ ESM dist/index.mjs 12.32 KB
31
+ ESM dist/chunk-JNQORUPP.mjs 5.58 KB
32
+ ESM dist/chunk-OPNQAVVH.mjs 5.03 KB
33
+ ESM dist/chunk-SIZMLSRU.mjs 5.03 KB
34
34
  ESM dist/chunk-WG6JGJXB.mjs 5.97 KB
35
35
  ESM dist/chunk-ZU4NV6RG.mjs 3.80 KB
36
- ESM dist/chunk-AH52LG6N.mjs 9.25 KB
36
+ ESM dist/chunk-7MMXNK3C.mjs 9.28 KB
37
37
  ESM dist/chunk-2Y7YJKPE.mjs 1.24 KB
38
38
  ESM dist/chunk-4CX4SBRO.mjs 4.74 KB
39
39
  ESM dist/chunk-RGU7HOEC.mjs 4.56 KB
40
40
  ESM dist/chunk-SYOD63OZ.mjs 7.43 KB
41
41
  ESM dist/chunk-J5UICVJS.mjs 995.00 B
42
- ESM dist/chunk-RRBS6D63.mjs 5.15 KB
43
- ESM dist/chunk-2SF672SZ.mjs 5.02 KB
42
+ ESM dist/chunk-VPBN3WOO.mjs 5.19 KB
43
+ ESM dist/chunk-RYCLWMZ7.mjs 5.06 KB
44
44
  ESM dist/chunk-VACKZOMY.mjs 7.27 KB
45
45
  ESM dist/chunk-4MN6UQHG.mjs 16.26 KB
46
46
  ESM dist/chunk-FMAXJ2SI.mjs 1.83 KB
@@ -58,7 +58,7 @@ $ tsup
58
58
  ESM dist/chunk-Y6DWJSKZ.mjs 2.08 KB
59
59
  ESM dist/chunk-PMB3A7V3.mjs 2.45 KB
60
60
  ESM dist/chunk-WOEHFRGB.mjs 1.75 KB
61
- ESM dist/chunk-5QQVZTVZ.mjs 7.26 KB
61
+ ESM dist/chunk-BL3DXM2X.mjs 7.29 KB
62
62
  ESM dist/chunk-Q76O3RIQ.mjs 5.73 KB
63
63
  ESM dist/chunk-7DHU4VGG.mjs 2.68 KB
64
64
  ESM dist/chunk-ZRO5JO3H.mjs 12.91 KB
@@ -66,12 +66,12 @@ $ tsup
66
66
  ESM dist/chunk-KUDCQ4FI.mjs 3.58 KB
67
67
  ESM dist/chunk-3GF7OVTP.mjs 3.07 KB
68
68
  ESM dist/chunk-N2PT566P.mjs 4.85 KB
69
+ ESM dist/chunk-K3JYD4IU.mjs 7.33 KB
69
70
  ESM dist/chunk-EFRENWEJ.mjs 9.03 KB
70
- ESM dist/chunk-PJHPSRYD.mjs 7.30 KB
71
71
  ESM dist/chunk-LLVQKSU3.mjs 6.90 KB
72
72
  ESM dist/chunk-P6AM5V7O.mjs 7.66 KB
73
- ESM dist/chunk-NXA3CZ7A.mjs 7.68 KB
74
- ESM dist/chunk-SMQ3DG25.mjs 8.75 KB
73
+ ESM dist/chunk-4Y6R4WEC.mjs 7.72 KB
74
+ ESM dist/chunk-LHYCMLVA.mjs 8.79 KB
75
75
  ESM dist/chunk-RP3SQYA3.mjs 1.63 KB
76
76
  ESM dist/chunk-ERGGHC2V.mjs 6.85 KB
77
77
  ESM dist/chunk-D4ILTPOG.mjs 11.39 KB
@@ -80,18 +80,18 @@ $ tsup
80
80
  ESM dist/chunk-H45TKD34.mjs 6.30 KB
81
81
  ESM dist/chunk-P76HMUI6.mjs 2.24 KB
82
82
  ESM dist/chunk-24FUO7TD.mjs 3.28 KB
83
- ESM dist/chunk-LE6YFY6D.mjs 6.38 KB
84
- ESM dist/chunk-QVKWW6KE.mjs 7.74 KB
83
+ ESM dist/chunk-SWGT756Z.mjs 6.41 KB
84
+ ESM dist/chunk-GGM2UYGG.mjs 7.78 KB
85
85
  ESM dist/chunk-WAZD7NFU.mjs 2.09 KB
86
- ESM dist/chunk-6FCGKSZX.mjs 8.54 KB
87
86
  ESM dist/chunk-D6ID6M4V.mjs 483.00 B
87
+ ESM dist/chunk-TS2ZX2VS.mjs 8.58 KB
88
88
  ESM dist/chunk-FZIXGLMV.mjs 4.52 KB
89
89
  ESM dist/chunk-NQPOYKAQ.mjs 2.83 KB
90
90
  ESM dist/chunk-CLIN5525.mjs 2.46 KB
91
91
  ESM dist/lib/theme-provider.mjs 237.00 B
92
92
  ESM dist/lib/typography.mjs 569.00 B
93
- ESM dist/chunk-CSDO6VBW.mjs 3.72 KB
94
93
  ESM dist/lib/utils.mjs 95.00 B
94
+ ESM dist/chunk-CSDO6VBW.mjs 3.72 KB
95
95
  ESM dist/chunk-MARPPFOJ.mjs 2.53 KB
96
96
  ESM dist/chunk-3WMX6KWS.mjs 9.75 KB
97
97
  ESM dist/chunk-7PYJD5JI.mjs 6.86 KB
@@ -102,13 +102,13 @@ $ tsup
102
102
  ESM dist/chunk-7YAU5CY6.mjs 865.00 B
103
103
  ESM dist/chunk-GYMYRIZP.mjs 1.14 KB
104
104
  ESM dist/chunk-2I5S2AMY.mjs 3.51 KB
105
+ ESM dist/chunk-XIRTEFKH.mjs 5.29 KB
105
106
  ESM dist/chunk-DBHJ5KC3.mjs 1.56 KB
106
107
  ESM dist/chunk-FEZKMUCF.mjs 3.55 KB
107
108
  ESM dist/chunk-QOJ2DQD6.mjs 2.06 KB
108
109
  ESM dist/chunk-VLQZANBF.mjs 810.00 B
109
110
  ESM dist/chunk-FWCSY2DS.mjs 1.30 KB
110
111
  ESM dist/components/ui/tooltip.mjs 326.00 B
111
- ESM dist/chunk-XIRTEFKH.mjs 5.29 KB
112
112
  ESM dist/components/ui/transactions-expense-categories-doughnut-chart.mjs 496.00 B
113
113
  ESM dist/components/ui/transactions-income-expense-bar-chart.mjs 478.00 B
114
114
  ESM dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs 486.00 B
@@ -125,8 +125,8 @@ $ tsup
125
125
  ESM dist/components/ui/select.mjs 538.00 B
126
126
  ESM dist/components/ui/separator.mjs 150.00 B
127
127
  ESM dist/components/ui/sheet.mjs 462.00 B
128
- ESM dist/components/ui/skeleton.mjs 148.00 B
129
128
  ESM dist/components/ui/slider.mjs 144.00 B
129
+ ESM dist/components/ui/skeleton.mjs 148.00 B
130
130
  ESM dist/components/ui/sonner.mjs 111.00 B
131
131
  ESM dist/components/ui/pipeline-board.mjs 718.00 B
132
132
  ESM dist/components/ui/pipeline-chart.mjs 228.00 B
@@ -135,8 +135,8 @@ $ tsup
135
135
  ESM dist/components/ui/popover.mjs 432.00 B
136
136
  ESM dist/components/ui/progress.mjs 148.00 B
137
137
  ESM dist/components/ui/property-cashflow-doughnut-chart.mjs 470.00 B
138
- ESM dist/components/ui/property-debt-equity-doughnut-chart.mjs 474.00 B
139
138
  ESM dist/components/ui/input.mjs 142.00 B
139
+ ESM dist/components/ui/property-debt-equity-doughnut-chart.mjs 474.00 B
140
140
  ESM dist/components/ui/kanban-column.mjs 576.00 B
141
141
  ESM dist/components/ui/label.mjs 142.00 B
142
142
  ESM dist/components/ui/opportunity-card.mjs 536.00 B
@@ -164,22 +164,22 @@ $ tsup
164
164
  ESM dist/components/ui/calendar.mjs 260.00 B
165
165
  ESM dist/components/ui/card.mjs 318.00 B
166
166
  ESM dist/components/ui/cash-balance-line-chart.mjs 452.00 B
167
- ESM dist/components/ui/cashflow-bar-chart.mjs 444.00 B
168
167
  ESM dist/components/ui/checkbox.mjs 180.00 B
168
+ ESM dist/components/ui/cashflow-bar-chart.mjs 444.00 B
169
169
  ESM dist/components/ui/chip.mjs 210.00 B
170
170
  ESM dist/components/ui/combobox.mjs 510.00 B
171
+ ESM dist/components/ui/ai-assistant-drawer.mjs 446.00 B
172
+ ESM dist/components/ui/alert-dialog.mjs 768.00 B
173
+ ESM dist/components/ui/alert.mjs 210.00 B
171
174
  ESM dist/components/ui/avatar.mjs 310.00 B
172
175
  ESM dist/components/ui/backoffice-alert-history-chart.mjs 466.00 B
173
176
  ESM dist/components/ui/backoffice-contact-history-chart.mjs 470.00 B
174
177
  ESM dist/components/ui/badge.mjs 211.00 B
175
178
  ESM dist/components/ui/borrowing-capacity-line-chart.mjs 464.00 B
176
- ESM dist/components/ui/ai-assistant-drawer.mjs 446.00 B
177
- ESM dist/components/ui/alert-dialog.mjs 768.00 B
178
- ESM dist/components/ui/alert.mjs 210.00 B
179
- ESM dist/components/ui/accordion.mjs 264.00 B
180
179
  ESM dist/components/ui/add-column-modal.mjs 475.00 B
180
+ ESM dist/components/ui/accordion.mjs 264.00 B
181
181
  ESM dist/components/ui/add-lead-modal.mjs 436.00 B
182
- ESM ⚡️ Build success in 601ms
182
+ ESM ⚡️ Build success in 612ms
183
183
  CJS dist/lib/colors.js 3.15 KB
184
184
  CJS dist/lib/theme-provider.js 6.71 KB
185
185
  CJS dist/lib/typography.js 5.73 KB
@@ -188,54 +188,54 @@ $ tsup
188
188
  CJS dist/components/ui/add-column-modal.js 32.34 KB
189
189
  CJS dist/components/ui/add-lead-modal.js 26.50 KB
190
190
  CJS dist/components/ui/ai-assistant-drawer.js 28.52 KB
191
- CJS dist/components/ui/alert-dialog.js 15.91 KB
192
191
  CJS dist/components/ui/alert.js 5.17 KB
193
- CJS dist/components/ui/avatar.js 6.33 KB
194
- CJS dist/components/ui/backoffice-alert-history-chart.js 21.34 KB
195
- CJS dist/components/ui/backoffice-contact-history-chart.js 22.87 KB
192
+ CJS dist/components/ui/backoffice-alert-history-chart.js 21.37 KB
193
+ CJS dist/components/ui/backoffice-contact-history-chart.js 22.90 KB
196
194
  CJS dist/components/ui/badge.js 6.96 KB
197
- CJS dist/components/ui/borrowing-capacity-line-chart.js 22.53 KB
195
+ CJS dist/components/ui/borrowing-capacity-line-chart.js 22.56 KB
198
196
  CJS dist/components/ui/button.js 8.64 KB
199
197
  CJS dist/components/ui/calendar.js 16.42 KB
200
198
  CJS dist/components/ui/card.js 5.54 KB
201
- CJS dist/components/ui/cash-balance-line-chart.js 21.75 KB
202
- CJS dist/components/ui/cashflow-bar-chart.js 22.56 KB
199
+ CJS dist/components/ui/cash-balance-line-chart.js 21.78 KB
200
+ CJS dist/components/ui/cashflow-bar-chart.js 22.58 KB
203
201
  CJS dist/components/ui/checkbox.js 7.11 KB
204
202
  CJS dist/components/ui/chip.js 8.20 KB
205
203
  CJS dist/components/ui/combobox.js 10.71 KB
206
204
  CJS dist/components/ui/data-table.js 39.20 KB
207
205
  CJS dist/components/ui/date-picker.js 22.04 KB
206
+ CJS dist/components/ui/avatar.js 6.33 KB
207
+ CJS dist/components/ui/alert-dialog.js 15.91 KB
208
208
  CJS dist/components/ui/dialog.js 14.72 KB
209
209
  CJS dist/components/ui/drawer.js 8.58 KB
210
210
  CJS dist/components/ui/dropdown-menu.js 13.57 KB
211
211
  CJS dist/components/ui/empty.js 5.93 KB
212
- CJS dist/components/ui/expense-bar-chart.js 22.17 KB
212
+ CJS dist/components/ui/expense-bar-chart.js 22.20 KB
213
213
  CJS dist/components/ui/field.js 11.80 KB
214
214
  CJS dist/components/ui/financial-cards.js 38.30 KB
215
215
  CJS dist/components/ui/financial-drawers.js 25.37 KB
216
216
  CJS dist/components/ui/financial-primitives.js 8.00 KB
217
217
  CJS dist/components/ui/financial-sections.js 55.77 KB
218
218
  CJS dist/components/ui/form-primitives.js 22.99 KB
219
- CJS dist/components/ui/income-bar-chart.js 22.13 KB
219
+ CJS dist/components/ui/income-bar-chart.js 22.16 KB
220
220
  CJS dist/components/ui/input-group.js 16.51 KB
221
+ CJS dist/components/ui/input-otp.js 6.49 KB
221
222
  CJS dist/components/ui/input.js 3.88 KB
222
223
  CJS dist/components/ui/kanban-column.js 47.77 KB
223
- CJS dist/components/ui/input-otp.js 6.49 KB
224
224
  CJS dist/components/ui/label.js 3.52 KB
225
- CJS dist/components/ui/opportunity-edit-modals.js 136.54 KB
226
225
  CJS dist/components/ui/opportunity-card.js 39.43 KB
227
- CJS dist/components/ui/opportunity-summary-tab.js 178.19 KB
226
+ CJS dist/components/ui/opportunity-edit-modals.js 136.54 KB
228
227
  CJS dist/components/ui/pagination.js 12.54 KB
228
+ CJS dist/components/ui/opportunity-summary-tab.js 178.19 KB
229
229
  CJS dist/components/ui/pipeline-alerts.js 3.53 KB
230
230
  CJS dist/components/ui/pipeline-board.js 57.53 KB
231
231
  CJS dist/components/ui/pipeline-chart.js 7.43 KB
232
+ CJS dist/components/ui/popover.js 6.49 KB
232
233
  CJS dist/components/ui/pipeline-dialogs.js 44.94 KB
233
234
  CJS dist/components/ui/pipeline-primitives.js 11.21 KB
234
- CJS dist/components/ui/popover.js 6.49 KB
235
235
  CJS dist/components/ui/progress.js 3.94 KB
236
- CJS dist/components/ui/property-cashflow-doughnut-chart.js 19.13 KB
237
- CJS dist/components/ui/property-debt-equity-doughnut-chart.js 19.01 KB
238
- CJS dist/components/ui/property-mobile-estimate-line-chart.js 23.21 KB
236
+ CJS dist/components/ui/property-cashflow-doughnut-chart.js 19.16 KB
237
+ CJS dist/components/ui/property-debt-equity-doughnut-chart.js 19.04 KB
238
+ CJS dist/components/ui/property-mobile-estimate-line-chart.js 23.24 KB
239
239
  CJS dist/components/ui/radio-group.js 7.16 KB
240
240
  CJS dist/components/ui/select.js 10.94 KB
241
241
  CJS dist/components/ui/separator.js 3.58 KB
@@ -252,9 +252,9 @@ $ tsup
252
252
  CJS dist/components/ui/toggle-group.js 7.33 KB
253
253
  CJS dist/components/ui/toggle.js 4.60 KB
254
254
  CJS dist/components/ui/tooltip.js 5.77 KB
255
- CJS dist/components/ui/transactions-expense-categories-doughnut-chart.js 19.40 KB
256
- CJS dist/components/ui/transactions-income-expense-bar-chart.js 18.47 KB
257
- CJS dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js 19.40 KB
258
- CJS dist/index.js 514.09 KB
259
- CJS ⚡️ Build success in 645ms
260
- Done in 7.46s.
255
+ CJS dist/components/ui/transactions-expense-categories-doughnut-chart.js 19.43 KB
256
+ CJS dist/components/ui/transactions-income-expense-bar-chart.js 18.50 KB
257
+ CJS dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js 19.43 KB
258
+ CJS dist/index.js 514.49 KB
259
+ CJS ⚡️ Build success in 664ms
260
+ Done in 7.43s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @wealthx/shadcn
2
2
 
3
+ ## 1.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - f21ff0e: Fix chart not registered
8
+
3
9
  ## 1.2.0
4
10
 
5
11
  ### Minor Changes
@@ -30,6 +30,7 @@ import {
30
30
  Chart as ChartJS,
31
31
  CategoryScale,
32
32
  LinearScale,
33
+ LineController,
33
34
  LineElement,
34
35
  PointElement,
35
36
  Tooltip
@@ -39,6 +40,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
39
40
  ChartJS.register(
40
41
  CategoryScale,
41
42
  LinearScale,
43
+ LineController,
42
44
  LineElement,
43
45
  PointElement,
44
46
  Tooltip
@@ -40,6 +40,7 @@ import {
40
40
  Chart as ChartJS,
41
41
  CategoryScale,
42
42
  LinearScale,
43
+ LineController,
43
44
  LineElement,
44
45
  PointElement,
45
46
  Tooltip
@@ -49,6 +50,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
49
50
  ChartJS.register(
50
51
  CategoryScale,
51
52
  LinearScale,
53
+ LineController,
52
54
  LineElement,
53
55
  PointElement,
54
56
  Tooltip
@@ -40,13 +40,14 @@ import {
40
40
  Chart as ChartJS,
41
41
  CategoryScale,
42
42
  LinearScale,
43
+ BarController,
43
44
  BarElement,
44
45
  Tooltip,
45
46
  Legend
46
47
  } from "chart.js";
47
48
  import { Chart } from "react-chartjs-2";
48
49
  import { jsx, jsxs } from "react/jsx-runtime";
49
- ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);
50
+ ChartJS.register(CategoryScale, LinearScale, BarController, BarElement, Tooltip, Legend);
50
51
  function IncomeBarChart({
51
52
  incomeData,
52
53
  title = "Income",
@@ -35,12 +35,13 @@ import {
35
35
  Chart as ChartJS,
36
36
  CategoryScale,
37
37
  LinearScale,
38
+ BarController,
38
39
  BarElement,
39
40
  Tooltip
40
41
  } from "chart.js";
41
42
  import { Chart } from "react-chartjs-2";
42
43
  import { jsx, jsxs } from "react/jsx-runtime";
43
- ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip);
44
+ ChartJS.register(CategoryScale, LinearScale, BarController, BarElement, Tooltip);
44
45
  var CONTACT_PERIODS = [3, 6, 12];
45
46
  var SLICE_COUNT = {
46
47
  3: 3,
@@ -29,13 +29,14 @@ import {
29
29
  Chart as ChartJS,
30
30
  CategoryScale,
31
31
  LinearScale,
32
+ BarController,
32
33
  BarElement,
33
34
  Tooltip
34
35
  } from "chart.js";
35
36
  import ChartDataLabels from "chartjs-plugin-datalabels";
36
37
  import { Chart } from "react-chartjs-2";
37
38
  import { jsx, jsxs } from "react/jsx-runtime";
38
- ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip);
39
+ ChartJS.register(CategoryScale, LinearScale, BarController, BarElement, Tooltip);
39
40
  function formatDollar(value) {
40
41
  return `$${value.toLocaleString(void 0, {
41
42
  minimumFractionDigits: 2,
@@ -40,13 +40,14 @@ import {
40
40
  Chart as ChartJS,
41
41
  CategoryScale,
42
42
  LinearScale,
43
+ BarController,
43
44
  BarElement,
44
45
  Tooltip,
45
46
  Legend
46
47
  } from "chart.js";
47
48
  import { Chart } from "react-chartjs-2";
48
49
  import { jsx, jsxs } from "react/jsx-runtime";
49
- ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);
50
+ ChartJS.register(CategoryScale, LinearScale, BarController, BarElement, Tooltip, Legend);
50
51
  function ExpenseBarChart({
51
52
  expenseData,
52
53
  title = "Expenses",
@@ -33,13 +33,14 @@ import {
33
33
  Chart as ChartJS,
34
34
  CategoryScale,
35
35
  LinearScale,
36
+ BarController,
36
37
  BarElement,
37
38
  Tooltip,
38
39
  Legend
39
40
  } from "chart.js";
40
41
  import { Chart } from "react-chartjs-2";
41
42
  import { jsx, jsxs } from "react/jsx-runtime";
42
- ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);
43
+ ChartJS.register(CategoryScale, LinearScale, BarController, BarElement, Tooltip, Legend);
43
44
  function LegendItem({
44
45
  label,
45
46
  fillColor,
@@ -30,11 +30,12 @@ import { useMemo } from "react";
30
30
  import {
31
31
  Chart as ChartJS,
32
32
  ArcElement,
33
+ DoughnutController,
33
34
  Tooltip
34
35
  } from "chart.js";
35
36
  import { Chart } from "react-chartjs-2";
36
37
  import { jsx, jsxs } from "react/jsx-runtime";
37
- ChartJS.register(ArcElement, Tooltip);
38
+ ChartJS.register(ArcElement, DoughnutController, Tooltip);
38
39
  function TransactionsExpenseCategoriesDoughnutChart({
39
40
  segments,
40
41
  title = "Expense Categories",
@@ -29,11 +29,12 @@ import { useMemo } from "react";
29
29
  import {
30
30
  Chart as ChartJS,
31
31
  ArcElement,
32
+ DoughnutController,
32
33
  Tooltip
33
34
  } from "chart.js";
34
35
  import { Chart } from "react-chartjs-2";
35
36
  import { jsx, jsxs } from "react/jsx-runtime";
36
- ChartJS.register(ArcElement, Tooltip);
37
+ ChartJS.register(ArcElement, DoughnutController, Tooltip);
37
38
  function PropertyDebtEquityDoughnutChart({
38
39
  estimateValue,
39
40
  debtValue,
@@ -30,11 +30,12 @@ import { useMemo } from "react";
30
30
  import {
31
31
  Chart as ChartJS,
32
32
  ArcElement,
33
+ DoughnutController,
33
34
  Tooltip
34
35
  } from "chart.js";
35
36
  import { Chart } from "react-chartjs-2";
36
37
  import { jsx, jsxs } from "react/jsx-runtime";
37
- ChartJS.register(ArcElement, Tooltip);
38
+ ChartJS.register(ArcElement, DoughnutController, Tooltip);
38
39
  function TransactionsLiabilitiesBreakdownChart({
39
40
  segments,
40
41
  title = "Liabilities Breakdown",
@@ -34,12 +34,13 @@ import {
34
34
  Chart as ChartJS,
35
35
  CategoryScale,
36
36
  LinearScale,
37
+ BarController,
37
38
  BarElement,
38
39
  Tooltip
39
40
  } from "chart.js";
40
41
  import { Chart } from "react-chartjs-2";
41
42
  import { jsx, jsxs } from "react/jsx-runtime";
42
- ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip);
43
+ ChartJS.register(CategoryScale, LinearScale, BarController, BarElement, Tooltip);
43
44
  var ALERT_PERIODS = [3, 6, 12];
44
45
  var SLICE_COUNT = { 3: 3, 6: 6, 12: 12 };
45
46
  function ChartLegend() {
@@ -32,6 +32,7 @@ import {
32
32
  Chart as ChartJS,
33
33
  CategoryScale,
34
34
  LinearScale,
35
+ LineController,
35
36
  LineElement,
36
37
  PointElement,
37
38
  Tooltip
@@ -41,6 +42,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
41
42
  ChartJS.register(
42
43
  CategoryScale,
43
44
  LinearScale,
45
+ LineController,
44
46
  LineElement,
45
47
  PointElement,
46
48
  Tooltip
@@ -29,11 +29,12 @@ import { useMemo } from "react";
29
29
  import {
30
30
  Chart as ChartJS,
31
31
  ArcElement,
32
+ DoughnutController,
32
33
  Tooltip
33
34
  } from "chart.js";
34
35
  import { Chart } from "react-chartjs-2";
35
36
  import { jsx, jsxs } from "react/jsx-runtime";
36
- ChartJS.register(ArcElement, Tooltip);
37
+ ChartJS.register(ArcElement, DoughnutController, Tooltip);
37
38
  function PropertyCashflowDoughnutChart({
38
39
  income,
39
40
  expenses,
@@ -454,7 +454,7 @@ function ChartPeriodButton({
454
454
 
455
455
  // src/components/ui/backoffice-alert-history-chart.tsx
456
456
  var import_jsx_runtime7 = require("react/jsx-runtime");
457
- import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarElement, import_chart.Tooltip);
457
+ import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarController, import_chart.BarElement, import_chart.Tooltip);
458
458
  var ALERT_PERIODS = [3, 6, 12];
459
459
  var SLICE_COUNT = { 3: 3, 6: 6, 12: 12 };
460
460
  function ChartLegend() {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BackofficeAlertHistoryChart
3
- } from "../../chunk-LE6YFY6D.mjs";
3
+ } from "../../chunk-SWGT756Z.mjs";
4
4
  import "../../chunk-D6ID6M4V.mjs";
5
5
  import "../../chunk-FZIXGLMV.mjs";
6
6
  import "../../chunk-NQPOYKAQ.mjs";
@@ -455,7 +455,7 @@ function ChartPeriodButton({
455
455
 
456
456
  // src/components/ui/backoffice-contact-history-chart.tsx
457
457
  var import_jsx_runtime7 = require("react/jsx-runtime");
458
- import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarElement, import_chart.Tooltip);
458
+ import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarController, import_chart.BarElement, import_chart.Tooltip);
459
459
  var CONTACT_PERIODS = [3, 6, 12];
460
460
  var SLICE_COUNT = {
461
461
  3: 3,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BackofficeContactHistoryChart
3
- } from "../../chunk-QVKWW6KE.mjs";
3
+ } from "../../chunk-GGM2UYGG.mjs";
4
4
  import "../../chunk-D6ID6M4V.mjs";
5
5
  import "../../chunk-FZIXGLMV.mjs";
6
6
  import "../../chunk-NQPOYKAQ.mjs";
@@ -412,6 +412,7 @@ var import_jsx_runtime7 = require("react/jsx-runtime");
412
412
  import_chart.Chart.register(
413
413
  import_chart.CategoryScale,
414
414
  import_chart.LinearScale,
415
+ import_chart.LineController,
415
416
  import_chart.LineElement,
416
417
  import_chart.PointElement,
417
418
  import_chart.Tooltip
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BorrowingCapacityLineChart
3
- } from "../../chunk-6FCGKSZX.mjs";
3
+ } from "../../chunk-TS2ZX2VS.mjs";
4
4
  import "../../chunk-D6ID6M4V.mjs";
5
5
  import "../../chunk-FZIXGLMV.mjs";
6
6
  import "../../chunk-NQPOYKAQ.mjs";
@@ -418,6 +418,7 @@ var import_jsx_runtime7 = require("react/jsx-runtime");
418
418
  import_chart.Chart.register(
419
419
  import_chart.CategoryScale,
420
420
  import_chart.LinearScale,
421
+ import_chart.LineController,
421
422
  import_chart.LineElement,
422
423
  import_chart.PointElement,
423
424
  import_chart.Tooltip
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CashBalanceLineChart
3
- } from "../../chunk-NXA3CZ7A.mjs";
3
+ } from "../../chunk-4Y6R4WEC.mjs";
4
4
  import "../../chunk-FZIXGLMV.mjs";
5
5
  import "../../chunk-NQPOYKAQ.mjs";
6
6
  import "../../chunk-CLIN5525.mjs";
@@ -404,7 +404,7 @@ function ChartPeriodButton({
404
404
 
405
405
  // src/components/ui/cashflow-bar-chart.tsx
406
406
  var import_jsx_runtime7 = require("react/jsx-runtime");
407
- import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarElement, import_chart.Tooltip, import_chart.Legend);
407
+ import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarController, import_chart.BarElement, import_chart.Tooltip, import_chart.Legend);
408
408
  function LegendItem({
409
409
  label,
410
410
  fillColor,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CashflowBarChart
3
- } from "../../chunk-SMQ3DG25.mjs";
3
+ } from "../../chunk-LHYCMLVA.mjs";
4
4
  import "../../chunk-D6ID6M4V.mjs";
5
5
  import "../../chunk-FZIXGLMV.mjs";
6
6
  import "../../chunk-NQPOYKAQ.mjs";
@@ -454,7 +454,7 @@ function ChartPeriodButton({
454
454
 
455
455
  // src/components/ui/expense-bar-chart.tsx
456
456
  var import_jsx_runtime7 = require("react/jsx-runtime");
457
- import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarElement, import_chart.Tooltip, import_chart.Legend);
457
+ import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarController, import_chart.BarElement, import_chart.Tooltip, import_chart.Legend);
458
458
  function ExpenseBarChart({
459
459
  expenseData,
460
460
  title = "Expenses",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ExpenseBarChart
3
- } from "../../chunk-PJHPSRYD.mjs";
3
+ } from "../../chunk-K3JYD4IU.mjs";
4
4
  import "../../chunk-D6ID6M4V.mjs";
5
5
  import "../../chunk-FZIXGLMV.mjs";
6
6
  import "../../chunk-NQPOYKAQ.mjs";
@@ -454,7 +454,7 @@ function ChartPeriodButton({
454
454
 
455
455
  // src/components/ui/income-bar-chart.tsx
456
456
  var import_jsx_runtime7 = require("react/jsx-runtime");
457
- import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarElement, import_chart.Tooltip, import_chart.Legend);
457
+ import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarController, import_chart.BarElement, import_chart.Tooltip, import_chart.Legend);
458
458
  function IncomeBarChart({
459
459
  incomeData,
460
460
  title = "Income",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  IncomeBarChart
3
- } from "../../chunk-5QQVZTVZ.mjs";
3
+ } from "../../chunk-BL3DXM2X.mjs";
4
4
  import "../../chunk-D6ID6M4V.mjs";
5
5
  import "../../chunk-FZIXGLMV.mjs";
6
6
  import "../../chunk-NQPOYKAQ.mjs";
@@ -393,7 +393,7 @@ function DoughnutLegendRow({
393
393
 
394
394
  // src/components/ui/property-cashflow-doughnut-chart.tsx
395
395
  var import_jsx_runtime7 = require("react/jsx-runtime");
396
- import_chart.Chart.register(import_chart.ArcElement, import_chart.Tooltip);
396
+ import_chart.Chart.register(import_chart.ArcElement, import_chart.DoughnutController, import_chart.Tooltip);
397
397
  function PropertyCashflowDoughnutChart({
398
398
  income,
399
399
  expenses,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PropertyCashflowDoughnutChart
3
- } from "../../chunk-RRBS6D63.mjs";
3
+ } from "../../chunk-VPBN3WOO.mjs";
4
4
  import "../../chunk-D6ID6M4V.mjs";
5
5
  import "../../chunk-FZIXGLMV.mjs";
6
6
  import "../../chunk-NQPOYKAQ.mjs";
@@ -393,7 +393,7 @@ function DoughnutLegendRow({
393
393
 
394
394
  // src/components/ui/property-debt-equity-doughnut-chart.tsx
395
395
  var import_jsx_runtime7 = require("react/jsx-runtime");
396
- import_chart.Chart.register(import_chart.ArcElement, import_chart.Tooltip);
396
+ import_chart.Chart.register(import_chart.ArcElement, import_chart.DoughnutController, import_chart.Tooltip);
397
397
  function PropertyDebtEquityDoughnutChart({
398
398
  estimateValue,
399
399
  debtValue,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PropertyDebtEquityDoughnutChart
3
- } from "../../chunk-2SF672SZ.mjs";
3
+ } from "../../chunk-RYCLWMZ7.mjs";
4
4
  import "../../chunk-D6ID6M4V.mjs";
5
5
  import "../../chunk-FZIXGLMV.mjs";
6
6
  import "../../chunk-NQPOYKAQ.mjs";
@@ -416,6 +416,7 @@ var import_jsx_runtime7 = require("react/jsx-runtime");
416
416
  import_chart.Chart.register(
417
417
  import_chart.CategoryScale,
418
418
  import_chart.LinearScale,
419
+ import_chart.LineController,
419
420
  import_chart.LineElement,
420
421
  import_chart.PointElement,
421
422
  import_chart.Tooltip
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PropertyMobileEstimateLineChart
3
- } from "../../chunk-AH52LG6N.mjs";
3
+ } from "../../chunk-7MMXNK3C.mjs";
4
4
  import "../../chunk-D6ID6M4V.mjs";
5
5
  import "../../chunk-FZIXGLMV.mjs";
6
6
  import "../../chunk-NQPOYKAQ.mjs";
@@ -401,7 +401,7 @@ function DoughnutLegendRow({
401
401
 
402
402
  // src/components/ui/transactions-expense-categories-doughnut-chart.tsx
403
403
  var import_jsx_runtime7 = require("react/jsx-runtime");
404
- import_chart.Chart.register(import_chart.ArcElement, import_chart.Tooltip);
404
+ import_chart.Chart.register(import_chart.ArcElement, import_chart.DoughnutController, import_chart.Tooltip);
405
405
  function TransactionsExpenseCategoriesDoughnutChart({
406
406
  segments,
407
407
  title = "Expense Categories",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransactionsExpenseCategoriesDoughnutChart
3
- } from "../../chunk-NLCKVHWB.mjs";
3
+ } from "../../chunk-OPNQAVVH.mjs";
4
4
  import "../../chunk-D6ID6M4V.mjs";
5
5
  import "../../chunk-FZIXGLMV.mjs";
6
6
  import "../../chunk-NQPOYKAQ.mjs";
@@ -374,7 +374,7 @@ var FALLBACK_TICK = "#9EAAB5";
374
374
 
375
375
  // src/components/ui/transactions-income-expense-bar-chart.tsx
376
376
  var import_jsx_runtime7 = require("react/jsx-runtime");
377
- import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarElement, import_chart.Tooltip);
377
+ import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarController, import_chart.BarElement, import_chart.Tooltip);
378
378
  function formatDollar(value) {
379
379
  return `$${value.toLocaleString(void 0, {
380
380
  minimumFractionDigits: 2,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransactionsIncomeExpenseBarChart
3
- } from "../../chunk-KMCGSZTX.mjs";
3
+ } from "../../chunk-JNQORUPP.mjs";
4
4
  import "../../chunk-FZIXGLMV.mjs";
5
5
  import "../../chunk-NQPOYKAQ.mjs";
6
6
  import "../../chunk-CLIN5525.mjs";
@@ -401,7 +401,7 @@ function DoughnutLegendRow({
401
401
 
402
402
  // src/components/ui/transactions-liabilities-breakdown-doughnut-chart.tsx
403
403
  var import_jsx_runtime7 = require("react/jsx-runtime");
404
- import_chart.Chart.register(import_chart.ArcElement, import_chart.Tooltip);
404
+ import_chart.Chart.register(import_chart.ArcElement, import_chart.DoughnutController, import_chart.Tooltip);
405
405
  function TransactionsLiabilitiesBreakdownChart({
406
406
  segments,
407
407
  title = "Liabilities Breakdown",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TransactionsLiabilitiesBreakdownChart
3
- } from "../../chunk-YKPROFLB.mjs";
3
+ } from "../../chunk-SIZMLSRU.mjs";
4
4
  import "../../chunk-D6ID6M4V.mjs";
5
5
  import "../../chunk-FZIXGLMV.mjs";
6
6
  import "../../chunk-NQPOYKAQ.mjs";
package/dist/index.js CHANGED
@@ -2769,7 +2769,7 @@ function ChartPeriodButton({
2769
2769
 
2770
2770
  // src/components/ui/backoffice-alert-history-chart.tsx
2771
2771
  var import_jsx_runtime24 = require("react/jsx-runtime");
2772
- import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarElement, import_chart.Tooltip);
2772
+ import_chart.Chart.register(import_chart.CategoryScale, import_chart.LinearScale, import_chart.BarController, import_chart.BarElement, import_chart.Tooltip);
2773
2773
  var ALERT_PERIODS = [3, 6, 12];
2774
2774
  var SLICE_COUNT = { 3: 3, 6: 6, 12: 12 };
2775
2775
  function ChartLegend() {
@@ -2939,7 +2939,7 @@ var import_react5 = require("react");
2939
2939
  var import_chart2 = require("chart.js");
2940
2940
  var import_react_chartjs_22 = require("react-chartjs-2");
2941
2941
  var import_jsx_runtime25 = require("react/jsx-runtime");
2942
- import_chart2.Chart.register(import_chart2.CategoryScale, import_chart2.LinearScale, import_chart2.BarElement, import_chart2.Tooltip);
2942
+ import_chart2.Chart.register(import_chart2.CategoryScale, import_chart2.LinearScale, import_chart2.BarController, import_chart2.BarElement, import_chart2.Tooltip);
2943
2943
  var CONTACT_PERIODS = [3, 6, 12];
2944
2944
  var SLICE_COUNT2 = {
2945
2945
  3: 3,
@@ -3174,6 +3174,7 @@ var import_jsx_runtime26 = require("react/jsx-runtime");
3174
3174
  import_chart3.Chart.register(
3175
3175
  import_chart3.CategoryScale,
3176
3176
  import_chart3.LinearScale,
3177
+ import_chart3.LineController,
3177
3178
  import_chart3.LineElement,
3178
3179
  import_chart3.PointElement,
3179
3180
  import_chart3.Tooltip
@@ -3604,6 +3605,7 @@ var import_jsx_runtime28 = require("react/jsx-runtime");
3604
3605
  import_chart4.Chart.register(
3605
3606
  import_chart4.CategoryScale,
3606
3607
  import_chart4.LinearScale,
3608
+ import_chart4.LineController,
3607
3609
  import_chart4.LineElement,
3608
3610
  import_chart4.PointElement,
3609
3611
  import_chart4.Tooltip
@@ -3813,7 +3815,7 @@ var import_react8 = require("react");
3813
3815
  var import_chart5 = require("chart.js");
3814
3816
  var import_react_chartjs_25 = require("react-chartjs-2");
3815
3817
  var import_jsx_runtime29 = require("react/jsx-runtime");
3816
- import_chart5.Chart.register(import_chart5.CategoryScale, import_chart5.LinearScale, import_chart5.BarElement, import_chart5.Tooltip, import_chart5.Legend);
3818
+ import_chart5.Chart.register(import_chart5.CategoryScale, import_chart5.LinearScale, import_chart5.BarController, import_chart5.BarElement, import_chart5.Tooltip, import_chart5.Legend);
3817
3819
  function LegendItem({
3818
3820
  label,
3819
3821
  fillColor,
@@ -5284,7 +5286,7 @@ var import_react9 = require("react");
5284
5286
  var import_chart6 = require("chart.js");
5285
5287
  var import_react_chartjs_26 = require("react-chartjs-2");
5286
5288
  var import_jsx_runtime38 = require("react/jsx-runtime");
5287
- import_chart6.Chart.register(import_chart6.CategoryScale, import_chart6.LinearScale, import_chart6.BarElement, import_chart6.Tooltip, import_chart6.Legend);
5289
+ import_chart6.Chart.register(import_chart6.CategoryScale, import_chart6.LinearScale, import_chart6.BarController, import_chart6.BarElement, import_chart6.Tooltip, import_chart6.Legend);
5288
5290
  function ExpenseBarChart({
5289
5291
  expenseData,
5290
5292
  title = "Expenses",
@@ -7773,7 +7775,7 @@ var import_react12 = require("react");
7773
7775
  var import_chart7 = require("chart.js");
7774
7776
  var import_react_chartjs_27 = require("react-chartjs-2");
7775
7777
  var import_jsx_runtime50 = require("react/jsx-runtime");
7776
- import_chart7.Chart.register(import_chart7.CategoryScale, import_chart7.LinearScale, import_chart7.BarElement, import_chart7.Tooltip, import_chart7.Legend);
7778
+ import_chart7.Chart.register(import_chart7.CategoryScale, import_chart7.LinearScale, import_chart7.BarController, import_chart7.BarElement, import_chart7.Tooltip, import_chart7.Legend);
7777
7779
  function IncomeBarChart({
7778
7780
  incomeData,
7779
7781
  title = "Income",
@@ -11721,7 +11723,7 @@ var import_react14 = require("react");
11721
11723
  var import_chart8 = require("chart.js");
11722
11724
  var import_react_chartjs_28 = require("react-chartjs-2");
11723
11725
  var import_jsx_runtime64 = require("react/jsx-runtime");
11724
- import_chart8.Chart.register(import_chart8.ArcElement, import_chart8.Tooltip);
11726
+ import_chart8.Chart.register(import_chart8.ArcElement, import_chart8.DoughnutController, import_chart8.Tooltip);
11725
11727
  function PropertyCashflowDoughnutChart({
11726
11728
  income,
11727
11729
  expenses,
@@ -11851,7 +11853,7 @@ var import_react15 = require("react");
11851
11853
  var import_chart9 = require("chart.js");
11852
11854
  var import_react_chartjs_29 = require("react-chartjs-2");
11853
11855
  var import_jsx_runtime65 = require("react/jsx-runtime");
11854
- import_chart9.Chart.register(import_chart9.ArcElement, import_chart9.Tooltip);
11856
+ import_chart9.Chart.register(import_chart9.ArcElement, import_chart9.DoughnutController, import_chart9.Tooltip);
11855
11857
  function PropertyDebtEquityDoughnutChart({
11856
11858
  estimateValue,
11857
11859
  debtValue,
@@ -11982,6 +11984,7 @@ var import_jsx_runtime66 = require("react/jsx-runtime");
11982
11984
  import_chart10.Chart.register(
11983
11985
  import_chart10.CategoryScale,
11984
11986
  import_chart10.LinearScale,
11987
+ import_chart10.LineController,
11985
11988
  import_chart10.LineElement,
11986
11989
  import_chart10.PointElement,
11987
11990
  import_chart10.Tooltip
@@ -12594,7 +12597,7 @@ var import_react18 = require("react");
12594
12597
  var import_chart11 = require("chart.js");
12595
12598
  var import_react_chartjs_211 = require("react-chartjs-2");
12596
12599
  var import_jsx_runtime71 = require("react/jsx-runtime");
12597
- import_chart11.Chart.register(import_chart11.ArcElement, import_chart11.Tooltip);
12600
+ import_chart11.Chart.register(import_chart11.ArcElement, import_chart11.DoughnutController, import_chart11.Tooltip);
12598
12601
  function TransactionsExpenseCategoriesDoughnutChart({
12599
12602
  segments,
12600
12603
  title = "Expense Categories",
@@ -12722,7 +12725,7 @@ var import_chart12 = require("chart.js");
12722
12725
  var import_chartjs_plugin_datalabels = __toESM(require("chartjs-plugin-datalabels"));
12723
12726
  var import_react_chartjs_212 = require("react-chartjs-2");
12724
12727
  var import_jsx_runtime72 = require("react/jsx-runtime");
12725
- import_chart12.Chart.register(import_chart12.CategoryScale, import_chart12.LinearScale, import_chart12.BarElement, import_chart12.Tooltip);
12728
+ import_chart12.Chart.register(import_chart12.CategoryScale, import_chart12.LinearScale, import_chart12.BarController, import_chart12.BarElement, import_chart12.Tooltip);
12726
12729
  function formatDollar(value) {
12727
12730
  return `$${value.toLocaleString(void 0, {
12728
12731
  minimumFractionDigits: 2,
@@ -12864,7 +12867,7 @@ var import_react20 = require("react");
12864
12867
  var import_chart13 = require("chart.js");
12865
12868
  var import_react_chartjs_213 = require("react-chartjs-2");
12866
12869
  var import_jsx_runtime73 = require("react/jsx-runtime");
12867
- import_chart13.Chart.register(import_chart13.ArcElement, import_chart13.Tooltip);
12870
+ import_chart13.Chart.register(import_chart13.ArcElement, import_chart13.DoughnutController, import_chart13.Tooltip);
12868
12871
  function TransactionsLiabilitiesBreakdownChart({
12869
12872
  segments,
12870
12873
  title = "Liabilities Breakdown",
package/dist/index.mjs CHANGED
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk-6JQFUE5I.mjs";
7
7
  import {
8
8
  TransactionsExpenseCategoriesDoughnutChart
9
- } from "./chunk-NLCKVHWB.mjs";
9
+ } from "./chunk-OPNQAVVH.mjs";
10
10
  import {
11
11
  TransactionsIncomeExpenseBarChart
12
- } from "./chunk-KMCGSZTX.mjs";
12
+ } from "./chunk-JNQORUPP.mjs";
13
13
  import {
14
14
  TransactionsLiabilitiesBreakdownChart
15
- } from "./chunk-YKPROFLB.mjs";
15
+ } from "./chunk-SIZMLSRU.mjs";
16
16
  import {
17
17
  StageTimeline
18
18
  } from "./chunk-WG6JGJXB.mjs";
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-ZU4NV6RG.mjs";
23
23
  import {
24
24
  PropertyMobileEstimateLineChart
25
- } from "./chunk-AH52LG6N.mjs";
25
+ } from "./chunk-7MMXNK3C.mjs";
26
26
  import {
27
27
  Toaster
28
28
  } from "./chunk-2Y7YJKPE.mjs";
@@ -42,10 +42,10 @@ import {
42
42
  } from "./chunk-J5UICVJS.mjs";
43
43
  import {
44
44
  PropertyCashflowDoughnutChart
45
- } from "./chunk-RRBS6D63.mjs";
45
+ } from "./chunk-VPBN3WOO.mjs";
46
46
  import {
47
47
  PropertyDebtEquityDoughnutChart
48
- } from "./chunk-2SF672SZ.mjs";
48
+ } from "./chunk-RYCLWMZ7.mjs";
49
49
  import {
50
50
  KanbanColumn
51
51
  } from "./chunk-VACKZOMY.mjs";
@@ -143,7 +143,7 @@ import {
143
143
  } from "./chunk-WOEHFRGB.mjs";
144
144
  import {
145
145
  IncomeBarChart
146
- } from "./chunk-5QQVZTVZ.mjs";
146
+ } from "./chunk-BL3DXM2X.mjs";
147
147
  import {
148
148
  InputGroup,
149
149
  InputGroupAddon,
@@ -219,7 +219,7 @@ import {
219
219
  } from "./chunk-EFRENWEJ.mjs";
220
220
  import {
221
221
  ExpenseBarChart
222
- } from "./chunk-PJHPSRYD.mjs";
222
+ } from "./chunk-K3JYD4IU.mjs";
223
223
  import {
224
224
  Field,
225
225
  FieldContent,
@@ -238,10 +238,10 @@ import {
238
238
  } from "./chunk-P6AM5V7O.mjs";
239
239
  import {
240
240
  CashBalanceLineChart
241
- } from "./chunk-NXA3CZ7A.mjs";
241
+ } from "./chunk-4Y6R4WEC.mjs";
242
242
  import {
243
243
  CashflowBarChart
244
- } from "./chunk-SMQ3DG25.mjs";
244
+ } from "./chunk-LHYCMLVA.mjs";
245
245
  import {
246
246
  Chip
247
247
  } from "./chunk-RP3SQYA3.mjs";
@@ -304,17 +304,17 @@ import {
304
304
  } from "./chunk-24FUO7TD.mjs";
305
305
  import {
306
306
  BackofficeAlertHistoryChart
307
- } from "./chunk-LE6YFY6D.mjs";
307
+ } from "./chunk-SWGT756Z.mjs";
308
308
  import {
309
309
  BackofficeContactHistoryChart
310
- } from "./chunk-QVKWW6KE.mjs";
310
+ } from "./chunk-GGM2UYGG.mjs";
311
311
  import {
312
312
  Badge,
313
313
  badgeVariants
314
314
  } from "./chunk-WAZD7NFU.mjs";
315
315
  import {
316
316
  BorrowingCapacityLineChart
317
- } from "./chunk-6FCGKSZX.mjs";
317
+ } from "./chunk-TS2ZX2VS.mjs";
318
318
  import {
319
319
  Skeleton
320
320
  } from "./chunk-D6ID6M4V.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wealthx/shadcn",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./src/index.ts",
@@ -3,6 +3,7 @@ import {
3
3
  Chart as ChartJS,
4
4
  CategoryScale,
5
5
  LinearScale,
6
+ BarController,
6
7
  BarElement,
7
8
  Tooltip,
8
9
  type ChartOptions,
@@ -24,7 +25,7 @@ import {
24
25
  ChartPeriodButton,
25
26
  } from "./chart-shared";
26
27
 
27
- ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip);
28
+ ChartJS.register(CategoryScale, LinearScale, BarController, BarElement, Tooltip);
28
29
 
29
30
  // ---------------------------------------------------------------------------
30
31
  // Types
@@ -3,6 +3,7 @@ import {
3
3
  Chart as ChartJS,
4
4
  CategoryScale,
5
5
  LinearScale,
6
+ BarController,
6
7
  BarElement,
7
8
  Tooltip,
8
9
  type ChartOptions,
@@ -25,7 +26,7 @@ import {
25
26
  ChartPeriodButton,
26
27
  } from "./chart-shared";
27
28
 
28
- ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip);
29
+ ChartJS.register(CategoryScale, LinearScale, BarController, BarElement, Tooltip);
29
30
 
30
31
  // ---------------------------------------------------------------------------
31
32
  // Types
@@ -3,6 +3,7 @@ import {
3
3
  Chart as ChartJS,
4
4
  CategoryScale,
5
5
  LinearScale,
6
+ LineController,
6
7
  LineElement,
7
8
  PointElement,
8
9
  Tooltip,
@@ -28,6 +29,7 @@ import {
28
29
  ChartJS.register(
29
30
  CategoryScale,
30
31
  LinearScale,
32
+ LineController,
31
33
  LineElement,
32
34
  PointElement,
33
35
  Tooltip,
@@ -3,6 +3,7 @@ import {
3
3
  Chart as ChartJS,
4
4
  CategoryScale,
5
5
  LinearScale,
6
+ LineController,
6
7
  LineElement,
7
8
  PointElement,
8
9
  Tooltip,
@@ -25,6 +26,7 @@ import {
25
26
  ChartJS.register(
26
27
  CategoryScale,
27
28
  LinearScale,
29
+ LineController,
28
30
  LineElement,
29
31
  PointElement,
30
32
  Tooltip,
@@ -3,6 +3,7 @@ import {
3
3
  Chart as ChartJS,
4
4
  CategoryScale,
5
5
  LinearScale,
6
+ BarController,
6
7
  BarElement,
7
8
  Tooltip,
8
9
  Legend,
@@ -24,7 +25,7 @@ import {
24
25
  ChartPeriodButton,
25
26
  } from "./chart-shared";
26
27
 
27
- ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);
28
+ ChartJS.register(CategoryScale, LinearScale, BarController, BarElement, Tooltip, Legend);
28
29
 
29
30
  // ---------------------------------------------------------------------------
30
31
  // Types
@@ -3,6 +3,7 @@ import {
3
3
  Chart as ChartJS,
4
4
  CategoryScale,
5
5
  LinearScale,
6
+ BarController,
6
7
  BarElement,
7
8
  Tooltip,
8
9
  Legend,
@@ -29,7 +30,7 @@ import {
29
30
  type ChartGranularity,
30
31
  } from "./chart-shared";
31
32
 
32
- ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);
33
+ ChartJS.register(CategoryScale, LinearScale, BarController, BarElement, Tooltip, Legend);
33
34
 
34
35
  // ---------------------------------------------------------------------------
35
36
  // Types
@@ -3,6 +3,7 @@ import {
3
3
  Chart as ChartJS,
4
4
  CategoryScale,
5
5
  LinearScale,
6
+ BarController,
6
7
  BarElement,
7
8
  Tooltip,
8
9
  Legend,
@@ -29,7 +30,7 @@ import {
29
30
  type ChartGranularity,
30
31
  } from "./chart-shared";
31
32
 
32
- ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip, Legend);
33
+ ChartJS.register(CategoryScale, LinearScale, BarController, BarElement, Tooltip, Legend);
33
34
 
34
35
  // ---------------------------------------------------------------------------
35
36
  // Types
@@ -2,6 +2,7 @@ import React, { useMemo } from "react";
2
2
  import {
3
3
  Chart as ChartJS,
4
4
  ArcElement,
5
+ DoughnutController,
5
6
  Tooltip,
6
7
  type ChartOptions,
7
8
  type ChartData,
@@ -19,7 +20,7 @@ import {
19
20
  FALLBACK_SECONDARY,
20
21
  } from "./chart-shared";
21
22
 
22
- ChartJS.register(ArcElement, Tooltip);
23
+ ChartJS.register(ArcElement, DoughnutController, Tooltip);
23
24
 
24
25
  // ---------------------------------------------------------------------------
25
26
  // Types
@@ -2,6 +2,7 @@ import React, { useMemo } from "react";
2
2
  import {
3
3
  Chart as ChartJS,
4
4
  ArcElement,
5
+ DoughnutController,
5
6
  Tooltip,
6
7
  type ChartOptions,
7
8
  type ChartData,
@@ -19,7 +20,7 @@ import {
19
20
  FALLBACK_SECONDARY,
20
21
  } from "./chart-shared";
21
22
 
22
- ChartJS.register(ArcElement, Tooltip);
23
+ ChartJS.register(ArcElement, DoughnutController, Tooltip);
23
24
 
24
25
  // ---------------------------------------------------------------------------
25
26
  // Types
@@ -3,6 +3,7 @@ import {
3
3
  Chart as ChartJS,
4
4
  CategoryScale,
5
5
  LinearScale,
6
+ LineController,
6
7
  LineElement,
7
8
  PointElement,
8
9
  Tooltip,
@@ -30,6 +31,7 @@ import {
30
31
  ChartJS.register(
31
32
  CategoryScale,
32
33
  LinearScale,
34
+ LineController,
33
35
  LineElement,
34
36
  PointElement,
35
37
  Tooltip,
@@ -2,6 +2,7 @@ import React, { useMemo } from "react";
2
2
  import {
3
3
  Chart as ChartJS,
4
4
  ArcElement,
5
+ DoughnutController,
5
6
  Tooltip,
6
7
  type ChartOptions,
7
8
  type ChartData,
@@ -20,7 +21,7 @@ import {
20
21
  DoughnutLegendRow,
21
22
  } from "./chart-shared";
22
23
 
23
- ChartJS.register(ArcElement, Tooltip);
24
+ ChartJS.register(ArcElement, DoughnutController, Tooltip);
24
25
 
25
26
  // ---------------------------------------------------------------------------
26
27
  // Types
@@ -3,6 +3,7 @@ import {
3
3
  Chart as ChartJS,
4
4
  CategoryScale,
5
5
  LinearScale,
6
+ BarController,
6
7
  BarElement,
7
8
  Tooltip,
8
9
  type ChartOptions,
@@ -21,7 +22,7 @@ import {
21
22
  FALLBACK_SECONDARY,
22
23
  } from "./chart-shared";
23
24
 
24
- ChartJS.register(CategoryScale, LinearScale, BarElement, Tooltip);
25
+ ChartJS.register(CategoryScale, LinearScale, BarController, BarElement, Tooltip);
25
26
 
26
27
  // ---------------------------------------------------------------------------
27
28
  // Constants
@@ -2,6 +2,7 @@ import React, { useMemo } from "react";
2
2
  import {
3
3
  Chart as ChartJS,
4
4
  ArcElement,
5
+ DoughnutController,
5
6
  Tooltip,
6
7
  type ChartOptions,
7
8
  type ChartData,
@@ -20,7 +21,7 @@ import {
20
21
  DoughnutLegendRow,
21
22
  } from "./chart-shared";
22
23
 
23
- ChartJS.register(ArcElement, Tooltip);
24
+ ChartJS.register(ArcElement, DoughnutController, Tooltip);
24
25
 
25
26
  // ---------------------------------------------------------------------------
26
27
  // Types