@wealthx/shadcn 1.5.11 → 1.5.12

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.
@@ -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 355ms
17
+ Done in 344ms
18
18
  Built dist/styles.css and src/styles/styles-css.ts
19
19
  warning package.json: No license field
20
20
  $ tsup
@@ -75,6 +75,9 @@ $ tsup
75
75
  ESM dist/chunk-TLLD5IU6.mjs 7.46 KB
76
76
  ESM dist/chunk-EHQL64B7.mjs 14.00 KB
77
77
  ESM dist/chunk-7LN5OGC2.mjs 26.92 KB
78
+ ESM dist/chunk-DQB4EPIS.mjs 5.13 KB
79
+ ESM dist/chunk-JGBV3XMQ.mjs 15.87 KB
80
+ ESM dist/chunk-HK4HUQTV.mjs 2.68 KB
78
81
  ESM dist/chunk-IRZWYTGV.mjs 7.33 KB
79
82
  ESM dist/chunk-4LLTZ45R.mjs 7.37 KB
80
83
  ESM dist/chunk-UBHBIWIA.mjs 12.72 KB
@@ -96,15 +99,12 @@ $ tsup
96
99
  ESM dist/chunk-BAONSY54.mjs 7.81 KB
97
100
  ESM dist/chunk-ZFKAYRFQ.mjs 8.57 KB
98
101
  ESM dist/chunk-FW4U543X.mjs 22.25 KB
99
- ESM dist/chunk-DQB4EPIS.mjs 5.13 KB
100
- ESM dist/chunk-JGBV3XMQ.mjs 15.87 KB
101
- ESM dist/chunk-HK4HUQTV.mjs 2.68 KB
102
102
  ESM dist/chunk-UJMVXREM.mjs 4.71 KB
103
103
  ESM dist/chunk-WHIW6KOB.mjs 1.83 KB
104
104
  ESM dist/chunk-IW33VLL5.mjs 6.95 KB
105
105
  ESM dist/chunk-I4KVSZCH.mjs 2.28 KB
106
106
  ESM dist/chunk-TC43SMIN.mjs 5.11 KB
107
- ESM dist/chunk-O5CP6VP6.mjs 10.94 KB
107
+ ESM dist/chunk-CPM6P63C.mjs 11.35 KB
108
108
  ESM dist/chunk-MUV4EGDW.mjs 6.90 KB
109
109
  ESM dist/chunk-BXL74CM2.mjs 6.29 KB
110
110
  ESM dist/chunk-Y2MTAVAK.mjs 1.30 KB
@@ -145,7 +145,7 @@ $ tsup
145
145
  ESM dist/chunk-GAXNO4JB.mjs 15.81 KB
146
146
  ESM dist/chunk-3VDET466.mjs 2.46 KB
147
147
  ESM dist/chunk-PNSYFE3K.mjs 3.80 KB
148
- ESM dist/chunk-ZMTCMP2G.mjs 53.94 KB
148
+ ESM dist/chunk-EB626HVW.mjs 56.34 KB
149
149
  ESM dist/chunk-3S6KVFF5.mjs 2.37 KB
150
150
  ESM dist/chunk-WE4YKBDE.mjs 4.01 KB
151
151
  ESM dist/chunk-H5DTKPJ2.mjs 9.03 KB
@@ -167,6 +167,9 @@ $ tsup
167
167
  ESM dist/chunk-P7CEBZM6.mjs 819.00 B
168
168
  ESM dist/chunk-OWFQSXVD.mjs 2.45 KB
169
169
  ESM dist/chunk-6QAFGZC2.mjs 1.76 KB
170
+ ESM dist/chunk-LBTHZSBT.mjs 1.14 KB
171
+ ESM dist/chunk-XYSRRDBH.mjs 3.58 KB
172
+ ESM dist/chunk-FRCTOAKZ.mjs 3.10 KB
170
173
  ESM dist/chunk-UNACI2YK.mjs 2.53 KB
171
174
  ESM dist/chunk-5FHBC6DY.mjs 2.10 KB
172
175
  ESM dist/chunk-MN5NYQCL.mjs 931.00 B
@@ -175,18 +178,15 @@ $ tsup
175
178
  ESM dist/chunk-AFML43VJ.mjs 988.00 B
176
179
  ESM dist/chunk-WNQUEZJF.mjs 1.85 KB
177
180
  ESM dist/components/ui/contact-alert-dialog/index.mjs 925.00 B
178
- ESM dist/chunk-LBTHZSBT.mjs 1.14 KB
179
- ESM dist/chunk-XYSRRDBH.mjs 3.58 KB
180
- ESM dist/chunk-FRCTOAKZ.mjs 3.10 KB
181
181
  ESM dist/components/ui/upload-card.mjs 196.00 B
182
182
  ESM dist/components/ui/video-background.mjs 162.00 B
183
- ESM dist/components/ui/toggle.mjs 180.00 B
184
183
  ESM dist/components/ui/tooltip.mjs 326.00 B
184
+ ESM dist/components/ui/toggle.mjs 180.00 B
185
185
  ESM dist/components/ui/top-three-product.mjs 5.06 KB
186
186
  ESM dist/components/ui/transactions-expense-categories-doughnut-chart.mjs 531.00 B
187
187
  ESM dist/components/ui/transactions-income-expense-bar-chart.mjs 513.00 B
188
- ESM dist/components/ui/transactions-summary-block.mjs 1.11 KB
189
188
  ESM dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs 521.00 B
189
+ ESM dist/components/ui/transactions-summary-block.mjs 1.11 KB
190
190
  ESM dist/components/ui/two-fa-setup-form.mjs 440.00 B
191
191
  ESM dist/components/ui/stage-timeline.mjs 438.00 B
192
192
  ESM dist/components/ui/stepper.mjs 276.00 B
@@ -205,8 +205,8 @@ $ tsup
205
205
  ESM dist/components/ui/sonner.mjs 111.00 B
206
206
  ESM dist/components/ui/spinner.mjs 184.00 B
207
207
  ESM dist/components/ui/savings-goal-modal.mjs 5.80 KB
208
- ESM dist/components/ui/scenario-item.mjs 261.00 B
209
208
  ESM dist/components/ui/scenario-drawer.mjs 9.64 KB
209
+ ESM dist/components/ui/scenario-item.mjs 261.00 B
210
210
  ESM dist/components/ui/scenario-list.mjs 3.24 KB
211
211
  ESM dist/components/ui/select.mjs 538.00 B
212
212
  ESM dist/components/ui/selectable-card.mjs 195.00 B
@@ -273,6 +273,9 @@ $ tsup
273
273
  ESM dist/components/ui/empty.mjs 300.00 B
274
274
  ESM dist/components/ui/expense-bar-chart.mjs 477.00 B
275
275
  ESM dist/components/ui/expense-detail-item.mjs 411.00 B
276
+ ESM dist/components/ui/expense-work-details.mjs 5.99 KB
277
+ ESM dist/components/ui/field.mjs 486.00 B
278
+ ESM dist/components/ui/file-preview-dialog.mjs 551.00 B
276
279
  ESM dist/components/ui/data-table.mjs 757.00 B
277
280
  ESM dist/components/ui/date-picker.mjs 432.00 B
278
281
  ESM dist/components/ui/debt-accordion.mjs 7.40 KB
@@ -309,6 +312,7 @@ $ tsup
309
312
  ESM dist/components/ui/backoffice-contact-matching-chart.mjs 577.00 B
310
313
  ESM dist/components/ui/backoffice-signup-steps.mjs 954.00 B
311
314
  ESM dist/components/ui/badge.mjs 211.00 B
315
+ ESM dist/components/ui/bank-statement-document-table.mjs 324.00 B
312
316
  ESM dist/components/ui/bank-statement-generate-dialog.mjs 851.00 B
313
317
  ESM dist/components/ui/bank-statement-pdf-viewer.mjs 386.00 B
314
318
  ESM dist/components/ui/banking-accounts-connect.mjs 4.53 KB
@@ -317,11 +321,11 @@ $ tsup
317
321
  ESM dist/components/ui/auth-page-layout.mjs 160.00 B
318
322
  ESM dist/components/ui/avatar.mjs 310.00 B
319
323
  ESM dist/components/ui/backoffice-alert-history-chart.mjs 501.00 B
320
- ESM dist/components/ui/backoffice-alert-matching-chart.mjs 573.00 B
321
324
  ESM dist/components/ui/backoffice-alerts-chart.mjs 559.00 B
322
325
  ESM dist/components/ui/backoffice-connections-chart.mjs 569.00 B
323
326
  ESM dist/components/ui/appointment-book-dialog.mjs 874.00 B
324
327
  ESM dist/components/ui/appointment-calendar-view.mjs 423.00 B
328
+ ESM dist/components/ui/backoffice-alert-matching-chart.mjs 573.00 B
325
329
  ESM dist/components/ui/appointment-detail-sheet.mjs 771.00 B
326
330
  ESM dist/components/ui/appointment-gmail-connect.mjs 353.00 B
327
331
  ESM dist/components/ui/appointment-mini-card.mjs 275.00 B
@@ -339,22 +343,18 @@ $ tsup
339
343
  ESM dist/components/ui/add-column-modal.mjs 440.00 B
340
344
  ESM dist/components/ui/add-lead-modal.mjs 541.00 B
341
345
  ESM dist/components/ui/advisor-card.mjs 476.00 B
346
+ ESM dist/components/ui/agent-evaluation-toast.mjs 296.00 B
342
347
  ESM dist/components/ui/ai-assistant-drawer.mjs 446.00 B
343
- ESM dist/components/ui/bank-statement-document-table.mjs 324.00 B
344
- ESM dist/components/ui/ai-conversations.mjs 1.04 KB
345
348
  ESM dist/components/ui/ai-builder.mjs 671.00 B
349
+ ESM dist/components/ui/ai-conversations.mjs 1.04 KB
346
350
  ESM dist/components/ui/alert-dialog.mjs 768.00 B
347
- ESM dist/components/ui/accordion.mjs 264.00 B
348
351
  ESM dist/components/ui/about-you-form.mjs 11.05 KB
352
+ ESM dist/components/ui/accordion.mjs 264.00 B
349
353
  ESM dist/components/ui/account-list-carousel.mjs 275.00 B
350
- ESM dist/components/ui/agent-evaluation-toast.mjs 296.00 B
351
- ESM dist/components/ui/expense-work-details.mjs 5.99 KB
352
- ESM dist/components/ui/field.mjs 486.00 B
353
- ESM dist/components/ui/file-preview-dialog.mjs 551.00 B
354
- ESM ⚡️ Build success in 753ms
355
- CJS dist/lib/colors.js 4.33 KB
354
+ ESM ⚡️ Build success in 758ms
356
355
  CJS dist/lib/theme-provider.js 8.19 KB
357
356
  CJS dist/lib/typography.js 5.74 KB
357
+ CJS dist/lib/colors.js 4.33 KB
358
358
  CJS dist/lib/utils.js 2.02 KB
359
359
  CJS dist/components/ui/about-you-form.js 41.31 KB
360
360
  CJS dist/components/ui/accordion.js 5.75 KB
@@ -365,12 +365,12 @@ $ tsup
365
365
  CJS dist/components/ui/agent-evaluation-toast.js 11.15 KB
366
366
  CJS dist/components/ui/ai-assistant-drawer.js 28.64 KB
367
367
  CJS dist/components/ui/ai-builder.js 40.00 KB
368
- CJS dist/components/ui/ai-conversations.js 95.53 KB
368
+ CJS dist/components/ui/ai-conversations.js 98.05 KB
369
369
  CJS dist/components/ui/alert-dialog.js 16.03 KB
370
- CJS dist/components/ui/alert.js 5.17 KB
371
370
  CJS dist/components/ui/applicant-document-checklist.js 13.68 KB
372
- CJS dist/components/ui/applicant-navigation-bar.js 11.35 KB
371
+ CJS dist/components/ui/alert.js 5.17 KB
373
372
  CJS dist/components/ui/applicant-expenses-section.js 17.30 KB
373
+ CJS dist/components/ui/applicant-navigation-bar.js 11.35 KB
374
374
  CJS dist/components/ui/applicant-switcher.js 9.80 KB
375
375
  CJS dist/components/ui/application-mobile-layout.js 2.58 KB
376
376
  CJS dist/components/ui/appointment-action-dialogs.js 45.60 KB
@@ -378,85 +378,86 @@ $ tsup
378
378
  CJS dist/components/ui/appointment-book-dialog.js 75.66 KB
379
379
  CJS dist/components/ui/appointment-calendar-view.js 33.58 KB
380
380
  CJS dist/components/ui/appointment-detail-sheet.js 65.27 KB
381
- CJS dist/components/ui/appointment-gmail-connect.js 19.27 KB
382
- CJS dist/components/ui/appointment-time-slot-picker.js 11.33 KB
383
- CJS dist/components/ui/appointment-upcoming-card.js 55.99 KB
384
381
  CJS dist/components/ui/appointment-mini-card.js 12.50 KB
382
+ CJS dist/components/ui/appointment-gmail-connect.js 19.27 KB
385
383
  CJS dist/components/ui/asset-accordion.js 19.18 KB
384
+ CJS dist/components/ui/appointment-time-slot-picker.js 11.33 KB
386
385
  CJS dist/components/ui/assets-liabilities-side-card.js 12.56 KB
386
+ CJS dist/components/ui/appointment-upcoming-card.js 55.99 KB
387
387
  CJS dist/components/ui/auth-logo.js 3.33 KB
388
388
  CJS dist/components/ui/auth-page-layout.js 3.49 KB
389
389
  CJS dist/components/ui/avatar.js 6.33 KB
390
390
  CJS dist/components/ui/backoffice-alert-history-chart.js 21.53 KB
391
+ CJS dist/components/ui/backoffice-alert-matching-chart.js 27.13 KB
391
392
  CJS dist/components/ui/backoffice-alerts-chart.js 27.04 KB
392
393
  CJS dist/components/ui/backoffice-connections-chart.js 27.69 KB
393
- CJS dist/components/ui/backoffice-alert-matching-chart.js 27.13 KB
394
394
  CJS dist/components/ui/backoffice-contact-history-chart.js 23.06 KB
395
395
  CJS dist/components/ui/backoffice-contact-matching-chart.js 27.60 KB
396
396
  CJS dist/components/ui/backoffice-signup-steps.js 70.67 KB
397
397
  CJS dist/components/ui/badge.js 7.01 KB
398
398
  CJS dist/components/ui/bank-statement-document-table.js 19.19 KB
399
+ CJS dist/components/ui/bank-statement-generate-dialog.js 60.06 KB
399
400
  CJS dist/components/ui/banking-accounts-connect.js 13.77 KB
400
- CJS dist/components/ui/bank-statement-generate-dialog.js 59.60 KB
401
- CJS dist/components/ui/borrowing-capacity-atoms.js 14.71 KB
402
401
  CJS dist/components/ui/bank-statement-pdf-viewer.js 20.93 KB
402
+ CJS dist/components/ui/borrowing-capacity-atoms.js 14.71 KB
403
403
  CJS dist/components/ui/borrowing-capacity-card.js 31.33 KB
404
404
  CJS dist/components/ui/borrowing-capacity-line-chart.js 23.32 KB
405
- CJS dist/components/ui/button.js 8.76 KB
406
405
  CJS dist/components/ui/broker-info-panel.js 10.73 KB
406
+ CJS dist/components/ui/button.js 8.76 KB
407
+ CJS dist/components/ui/calculator-input-item.js 3.20 KB
407
408
  CJS dist/components/ui/calculator-section.js 28.15 KB
408
409
  CJS dist/components/ui/calendar.js 16.87 KB
409
- CJS dist/components/ui/cash-balance-line-chart.js 22.28 KB
410
410
  CJS dist/components/ui/card.js 5.54 KB
411
+ CJS dist/components/ui/cash-balance-line-chart.js 22.28 KB
411
412
  CJS dist/components/ui/cashflow-bar-chart.js 22.72 KB
412
- CJS dist/components/ui/calculator-input-item.js 3.20 KB
413
+ CJS dist/components/ui/category-edit-dialog.js 28.47 KB
413
414
  CJS dist/components/ui/chat-widget-primitives.js 21.40 KB
414
- CJS dist/components/ui/checkbox.js 7.11 KB
415
415
  CJS dist/components/ui/chat-widget.js 47.61 KB
416
+ CJS dist/components/ui/checkbox.js 7.11 KB
416
417
  CJS dist/components/ui/chip.js 11.82 KB
417
418
  CJS dist/components/ui/color-picker.js 19.32 KB
418
419
  CJS dist/components/ui/combobox.js 10.71 KB
419
- CJS dist/components/ui/create-contact-modal.js 38.23 KB
420
- CJS dist/components/ui/category-edit-dialog.js 28.47 KB
421
420
  CJS dist/components/ui/connect-bank-step.js 20.49 KB
421
+ CJS dist/components/ui/create-contact-modal.js 38.23 KB
422
422
  CJS dist/components/ui/csv-import-modal.js 20.62 KB
423
423
  CJS dist/components/ui/currency-input.js 16.27 KB
424
+ CJS dist/components/ui/dashboard-transactions-table.js 41.08 KB
424
425
  CJS dist/components/ui/dashboard-expense-categories.js 13.22 KB
425
426
  CJS dist/components/ui/data-table.js 41.34 KB
426
- CJS dist/components/ui/dashboard-transactions-table.js 41.08 KB
427
427
  CJS dist/components/ui/date-picker.js 23.55 KB
428
428
  CJS dist/components/ui/debt-accordion.js 19.84 KB
429
429
  CJS dist/components/ui/delete-contact-component.js 17.52 KB
430
- CJS dist/components/ui/document-checklist-template.js 25.96 KB
431
430
  CJS dist/components/ui/dialog.js 15.85 KB
431
+ CJS dist/components/ui/document-checklist-template.js 25.96 KB
432
432
  CJS dist/components/ui/drawer.js 8.49 KB
433
433
  CJS dist/components/ui/dropdown-menu.js 13.57 KB
434
434
  CJS dist/components/ui/dynamic-tabs.js 10.53 KB
435
- CJS dist/components/ui/empty.js 5.93 KB
436
435
  CJS dist/components/ui/editable-money-item.js 11.37 KB
436
+ CJS dist/components/ui/empty.js 5.93 KB
437
437
  CJS dist/components/ui/expense-bar-chart.js 22.36 KB
438
438
  CJS dist/components/ui/expense-detail-item.js 19.01 KB
439
439
  CJS dist/components/ui/expense-work-details.js 46.89 KB
440
440
  CJS dist/components/ui/field.js 11.80 KB
441
- CJS dist/components/ui/financial-cards.js 50.63 KB
442
441
  CJS dist/components/ui/file-preview-dialog.js 42.01 KB
443
- CJS dist/components/ui/form-primitives.js 23.00 KB
442
+ CJS dist/components/ui/financial-cards.js 50.63 KB
443
+ CJS dist/components/ui/financial-primitives.js 8.00 KB
444
+ CJS dist/components/ui/financial-drawers.js 25.49 KB
444
445
  CJS dist/components/ui/financial-sections.js 56.07 KB
446
+ CJS dist/components/ui/form-primitives.js 23.00 KB
445
447
  CJS dist/components/ui/frontend-signup-steps.js 46.80 KB
446
448
  CJS dist/components/ui/income-bar-chart.js 22.32 KB
447
449
  CJS dist/components/ui/income-sources-card.js 9.81 KB
448
- CJS dist/components/ui/financial-drawers.js 25.49 KB
450
+ CJS dist/components/ui/income-summary-component.js 14.73 KB
451
+ CJS dist/components/ui/income-work-details.js 58.65 KB
449
452
  CJS dist/components/ui/incoming-outgoings-card.js 7.52 KB
450
453
  CJS dist/components/ui/input-group.js 16.63 KB
451
454
  CJS dist/components/ui/input-otp.js 6.49 KB
452
- CJS dist/components/ui/integration-card.js 13.13 KB
453
455
  CJS dist/components/ui/input.js 3.88 KB
456
+ CJS dist/components/ui/integration-card.js 13.13 KB
454
457
  CJS dist/components/ui/interest-rate-input.js 16.38 KB
455
458
  CJS dist/components/ui/interest-rate-section.js 13.80 KB
456
459
  CJS dist/components/ui/interest-rate-used.js 6.83 KB
457
460
  CJS dist/components/ui/label.js 3.52 KB
458
- CJS dist/components/ui/income-summary-component.js 14.73 KB
459
- CJS dist/components/ui/income-work-details.js 58.65 KB
460
461
  CJS dist/components/ui/kanban-column.js 63.81 KB
461
462
  CJS dist/components/ui/loan-applicant-information.js 13.38 KB
462
463
  CJS dist/components/ui/loan-applicant-invite.js 12.23 KB
@@ -464,8 +465,8 @@ $ tsup
464
465
  CJS dist/components/ui/loan-application-cards.js 14.53 KB
465
466
  CJS dist/components/ui/loan-entry-shell.js 3.66 KB
466
467
  CJS dist/components/ui/loan-financials.js 15.65 KB
467
- CJS dist/components/ui/loan-option-card.js 3.10 KB
468
468
  CJS dist/components/ui/loan-option-group.js 9.49 KB
469
+ CJS dist/components/ui/loan-option-card.js 3.10 KB
469
470
  CJS dist/components/ui/loan-steps.js 39.22 KB
470
471
  CJS dist/components/ui/loan-wizard-shell.js 18.81 KB
471
472
  CJS dist/components/ui/money-input-with-slider.js 6.93 KB
@@ -480,56 +481,55 @@ $ tsup
480
481
  CJS dist/components/ui/pipeline-alerts.js 3.53 KB
481
482
  CJS dist/components/ui/opportunity-summary-tab.js 221.13 KB
482
483
  CJS dist/components/ui/pipeline-chart.js 10.60 KB
483
- CJS dist/components/ui/pipeline-board.js 73.81 KB
484
- CJS dist/components/ui/pipeline-primitives.js 13.90 KB
484
+ CJS dist/components/ui/popover.js 6.49 KB
485
485
  CJS dist/components/ui/progress.js 3.94 KB
486
+ CJS dist/components/ui/pipeline-dialogs.js 47.48 KB
487
+ CJS dist/components/ui/pipeline-primitives.js 13.90 KB
486
488
  CJS dist/components/ui/property-asset-card.js 17.81 KB
487
- CJS dist/components/ui/property-cashflow-doughnut-chart.js 19.37 KB
488
489
  CJS dist/components/ui/property-debt-equity-doughnut-chart.js 19.25 KB
489
490
  CJS dist/components/ui/property-list-carousel.js 11.25 KB
491
+ CJS dist/components/ui/property-cashflow-doughnut-chart.js 19.37 KB
490
492
  CJS dist/components/ui/property-mobile-estimate-line-chart.js 23.44 KB
491
- CJS dist/components/ui/property-report-dialog.js 43.86 KB
492
493
  CJS dist/components/ui/radio-group.js 7.16 KB
493
- CJS dist/components/ui/pipeline-dialogs.js 47.48 KB
494
- CJS dist/components/ui/popover.js 6.49 KB
495
494
  CJS dist/components/ui/resource-center.js 32.94 KB
495
+ CJS dist/components/ui/property-report-dialog.js 43.86 KB
496
496
  CJS dist/components/ui/review-alerts-dialog.js 21.75 KB
497
- CJS dist/components/ui/scenario-drawer.js 29.79 KB
497
+ CJS dist/components/ui/savings-goal-modal.js 43.07 KB
498
498
  CJS dist/components/ui/scenario-item.js 9.28 KB
499
+ CJS dist/components/ui/scenario-drawer.js 29.79 KB
499
500
  CJS dist/components/ui/scenario-list.js 19.00 KB
500
- CJS dist/components/ui/select.js 10.94 KB
501
+ CJS dist/components/ui/pipeline-board.js 73.81 KB
501
502
  CJS dist/components/ui/selectable-card.js 5.32 KB
503
+ CJS dist/components/ui/select.js 10.94 KB
502
504
  CJS dist/components/ui/separator.js 3.58 KB
503
- CJS dist/components/ui/savings-goal-modal.js 43.07 KB
504
505
  CJS dist/components/ui/sheet.js 8.64 KB
505
- CJS dist/components/ui/share-details-dialog.js 37.13 KB
506
- CJS dist/components/ui/sidebar-nav.js 30.59 KB
507
506
  CJS dist/components/ui/signup-form-primitives.js 29.72 KB
508
507
  CJS dist/components/ui/signup-shell.js 13.58 KB
509
508
  CJS dist/components/ui/skeleton.js 3.24 KB
510
509
  CJS dist/components/ui/slider.js 4.60 KB
511
510
  CJS dist/components/ui/sonner.js 3.35 KB
511
+ CJS dist/components/ui/sidebar-nav.js 30.59 KB
512
512
  CJS dist/components/ui/spinner.js 3.73 KB
513
- CJS dist/components/ui/stage-timeline.js 24.60 KB
514
- CJS dist/components/ui/stepper.js 9.15 KB
515
513
  CJS dist/components/ui/submission-confirmation-card.js 10.88 KB
514
+ CJS dist/components/ui/share-details-dialog.js 37.13 KB
516
515
  CJS dist/components/ui/switch.js 6.96 KB
517
516
  CJS dist/components/ui/table.js 6.25 KB
518
- CJS dist/components/ui/tabs.js 7.02 KB
517
+ CJS dist/components/ui/stepper.js 9.15 KB
518
+ CJS dist/components/ui/stage-timeline.js 24.60 KB
519
519
  CJS dist/components/ui/textarea.js 3.77 KB
520
520
  CJS dist/components/ui/toggle-group.js 7.34 KB
521
521
  CJS dist/components/ui/toggle.js 4.61 KB
522
522
  CJS dist/components/ui/tooltip.js 5.77 KB
523
- CJS dist/components/ui/top-three-product.js 15.24 KB
524
523
  CJS dist/components/ui/transactions-expense-categories-doughnut-chart.js 19.64 KB
525
- CJS dist/components/ui/transactions-income-expense-bar-chart.js 19.06 KB
524
+ CJS dist/components/ui/tabs.js 7.02 KB
525
+ CJS dist/components/ui/top-three-product.js 15.24 KB
526
526
  CJS dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js 19.64 KB
527
527
  CJS dist/components/ui/transactions-summary-block.js 3.15 KB
528
528
  CJS dist/components/ui/two-fa-setup-form.js 23.79 KB
529
529
  CJS dist/components/ui/upload-card.js 5.43 KB
530
530
  CJS dist/components/ui/video-background.js 3.25 KB
531
- CJS dist/index.js 1.11 MB
532
531
  CJS dist/components/ui/contact-alert-dialog/index.js 67.15 KB
533
- CJS dist/components/ui/financial-primitives.js 8.00 KB
534
- CJS ⚡️ Build success in 807ms
535
- Done in 4.08s.
532
+ CJS dist/components/ui/transactions-income-expense-bar-chart.js 19.06 KB
533
+ CJS dist/index.js 1.11 MB
534
+ CJS ⚡️ Build success in 812ms
535
+ Done in 3.83s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @wealthx/shadcn
2
2
 
3
+ ## 1.5.12
4
+
5
+ ### Patch Changes
6
+
7
+ - d36b161: Improve bank statement dialog, conversation
8
+
3
9
  ## 1.5.11
4
10
 
5
11
  ### Patch Changes
@@ -43,14 +43,15 @@ import {
43
43
  import {
44
44
  Button
45
45
  } from "./chunk-NOOEKOWY.mjs";
46
- import {
47
- cn
48
- } from "./chunk-AFML43VJ.mjs";
49
46
 
50
47
  // src/components/ui/bank-statement-generate-dialog.tsx
51
48
  import { useEffect, useMemo, useState } from "react";
52
49
  import { format, parseISO, subDays } from "date-fns";
53
50
  import { jsx, jsxs } from "react/jsx-runtime";
51
+ var APPLICANT_TYPE_LABELS = {
52
+ primary: "Main applicant",
53
+ secondary: "Co-applicant"
54
+ };
54
55
  function toIsoDate(date) {
55
56
  return date.toISOString().slice(0, 10);
56
57
  }
@@ -74,8 +75,10 @@ function BankStatementGenerateDialog({
74
75
  }) {
75
76
  const [statementName, setStatementName] = useState("Bank Statement 1");
76
77
  const [rangePreset, setRangePreset] = useState(90);
77
- const [fromDate, setFromDate] = useState("");
78
- const [toDate, setToDate] = useState("");
78
+ const [fromDate, setFromDate] = useState(
79
+ () => presetToDateRange(90).from
80
+ );
81
+ const [toDate, setToDate] = useState(() => presetToDateRange(90).to);
79
82
  const [applicantType, setApplicantType] = useState("");
80
83
  const [selectedAccountIds, setSelectedAccountIds] = useState([]);
81
84
  useEffect(() => {
@@ -104,6 +107,11 @@ function BankStatementGenerateDialog({
104
107
  setToDate(to);
105
108
  }
106
109
  };
110
+ const handlePresetChange = (val) => {
111
+ if (val.length === 0) return;
112
+ const raw = val[0];
113
+ applyPreset(raw === "custom" ? "custom" : Number(raw));
114
+ };
107
115
  const areAllSelected = bankAccounts.length > 0 && selectedAccountIds.length === bankAccounts.length;
108
116
  const isSomeSelected = selectedAccountIds.length > 0 && !areAllSelected;
109
117
  const handleToggleAccount = (id) => {
@@ -139,7 +147,8 @@ function BankStatementGenerateDialog({
139
147
  return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange: (o) => !o && onClose(), children: /* @__PURE__ */ jsxs(
140
148
  DialogContent,
141
149
  {
142
- className: cn("max-w-[700px]", className),
150
+ size: "3xl",
151
+ className,
143
152
  "data-slot": "bank-statement-generate-dialog",
144
153
  children: [
145
154
  /* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: "Generate Bank Statement" }) }),
@@ -163,15 +172,7 @@ function BankStatementGenerateDialog({
163
172
  type: "single",
164
173
  variant: "outline",
165
174
  value: [String(rangePreset)],
166
- onValueChange: (val) => {
167
- if (val.length === 0) return;
168
- const raw = val[0];
169
- if (raw === "custom") {
170
- applyPreset("custom");
171
- } else {
172
- applyPreset(Number(raw));
173
- }
174
- },
175
+ onValueChange: handlePresetChange,
175
176
  className: "w-full",
176
177
  children: [
177
178
  /* @__PURE__ */ jsx(ToggleGroupItem, { value: "90", className: "flex-1", children: "3 Months" }),
@@ -207,11 +208,12 @@ function BankStatementGenerateDialog({
207
208
  {
208
209
  value: applicantType,
209
210
  onValueChange: (v) => handleApplicantTypeChange(v),
211
+ items: APPLICANT_TYPE_LABELS,
210
212
  children: [
211
213
  /* @__PURE__ */ jsx(SelectTrigger, { className: "w-full", children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Applicant Type" }) }),
212
214
  /* @__PURE__ */ jsxs(SelectContent, { children: [
213
- /* @__PURE__ */ jsx(SelectItem, { value: "primary", children: "Main applicant" }),
214
- hasCoApplicant && /* @__PURE__ */ jsx(SelectItem, { value: "secondary", children: "Co-applicant" })
215
+ /* @__PURE__ */ jsx(SelectItem, { value: "primary", children: APPLICANT_TYPE_LABELS.primary }),
216
+ hasCoApplicant && /* @__PURE__ */ jsx(SelectItem, { value: "secondary", children: APPLICANT_TYPE_LABELS.secondary })
215
217
  ] })
216
218
  ]
217
219
  }
@@ -237,33 +239,43 @@ function BankStatementGenerateDialog({
237
239
  ] }) }),
238
240
  /* @__PURE__ */ jsx(TableBody, { children: bankAccounts.map((account) => {
239
241
  var _a, _b;
240
- return /* @__PURE__ */ jsxs(TableRow, { children: [
241
- /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx(
242
- Checkbox,
243
- {
244
- checked: selectedAccountIds.includes(account.id),
245
- onCheckedChange: () => handleToggleAccount(account.id),
246
- "aria-label": `Select ${account.name}`
247
- }
248
- ) }),
249
- /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
250
- account.institutionLogo && /* @__PURE__ */ jsx(
251
- "img",
252
- {
253
- src: account.institutionLogo,
254
- alt: (_a = account.institutionName) != null ? _a : "",
255
- className: "size-8 rounded object-cover"
256
- }
257
- ),
258
- /* @__PURE__ */ jsx("span", { className: "text-body-medium font-semibold", children: account.name || account.institutionName || "\u2014" })
259
- ] }) }),
260
- /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-body-medium", children: (_b = account.accountNo) != null ? _b : "\u2014" }) }),
261
- /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-body-medium", children: periodLabel }) }),
262
- /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-body-medium", children: account.lastUpdated ? format(
263
- parseISO(account.lastUpdated),
264
- "dd MMM yyyy"
265
- ) : "\u2014" }) })
266
- ] }, account.id);
242
+ const isSelected = selectedAccountIds.includes(
243
+ account.id
244
+ );
245
+ return /* @__PURE__ */ jsxs(
246
+ TableRow,
247
+ {
248
+ "data-state": isSelected ? "selected" : void 0,
249
+ children: [
250
+ /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx(
251
+ Checkbox,
252
+ {
253
+ checked: isSelected,
254
+ onCheckedChange: () => handleToggleAccount(account.id),
255
+ "aria-label": `Select ${account.name}`
256
+ }
257
+ ) }),
258
+ /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
259
+ account.institutionLogo && /* @__PURE__ */ jsx(
260
+ "img",
261
+ {
262
+ src: account.institutionLogo,
263
+ alt: (_a = account.institutionName) != null ? _a : "",
264
+ className: "size-8 object-cover"
265
+ }
266
+ ),
267
+ /* @__PURE__ */ jsx("span", { className: "text-body-medium font-semibold", children: account.name || account.institutionName || "\u2014" })
268
+ ] }) }),
269
+ /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-body-medium", children: (_b = account.accountNo) != null ? _b : "\u2014" }) }),
270
+ /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-body-medium", children: periodLabel }) }),
271
+ /* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-body-medium", children: account.lastUpdated ? format(
272
+ parseISO(account.lastUpdated),
273
+ "dd MMM yyyy"
274
+ ) : "\u2014" }) })
275
+ ]
276
+ },
277
+ account.id
278
+ );
267
279
  }) })
268
280
  ] })
269
281
  ] })