@wealthx/shadcn 1.5.22 → 1.5.24

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 325ms
17
+ Done in 349ms
18
18
  Built dist/styles.css and src/styles/styles-css.ts
19
19
  warning package.json: No license field
20
20
  $ tsup
@@ -43,6 +43,7 @@ $ tsup
43
43
  ESM dist/chunk-G2W754UJ.mjs 5.55 KB
44
44
  ESM dist/chunk-77L3UPBW.mjs 5.11 KB
45
45
  ESM dist/chunk-7T4TYUO3.mjs 5.90 KB
46
+ ESM dist/chunk-RSEVIQEO.mjs 15.92 KB
46
47
  ESM dist/chunk-AZGLSIHF.mjs 4.02 KB
47
48
  ESM dist/chunk-WZ6UJCBL.mjs 1.24 KB
48
49
  ESM dist/chunk-K35TFQUB.mjs 6.20 KB
@@ -55,9 +56,6 @@ $ tsup
55
56
  ESM dist/chunk-RVDBYV2B.mjs 3.96 KB
56
57
  ESM dist/chunk-KFH36NKF.mjs 1.52 KB
57
58
  ESM dist/chunk-FGHM34AV.mjs 5.31 KB
58
- ESM dist/chunk-PCULNQWA.mjs 3.99 KB
59
- ESM dist/chunk-ETT5JAXF.mjs 7.43 KB
60
- ESM dist/chunk-65PZNG4Y.mjs 4.74 KB
61
59
  ESM dist/chunk-TCE5L44O.mjs 6.13 KB
62
60
  ESM dist/chunk-2SDEURIQ.mjs 36.68 KB
63
61
  ESM dist/chunk-JGUC3KCA.mjs 78.04 KB
@@ -70,6 +68,9 @@ $ tsup
70
68
  ESM dist/chunk-EXI64H46.mjs 2.76 KB
71
69
  ESM dist/chunk-K4VWSDJJ.mjs 1.13 KB
72
70
  ESM dist/chunk-NXZ2F4JA.mjs 11.80 KB
71
+ ESM dist/chunk-PCULNQWA.mjs 3.99 KB
72
+ ESM dist/chunk-ETT5JAXF.mjs 7.43 KB
73
+ ESM dist/chunk-65PZNG4Y.mjs 4.74 KB
73
74
  ESM dist/chunk-67DGIPQ4.mjs 2.09 KB
74
75
  ESM dist/chunk-PSBQ4I3M.mjs 7.46 KB
75
76
  ESM dist/chunk-EHQL64B7.mjs 14.00 KB
@@ -104,7 +105,6 @@ $ tsup
104
105
  ESM dist/chunk-I4KVSZCH.mjs 2.28 KB
105
106
  ESM dist/chunk-7N6O3VPJ.mjs 5.26 KB
106
107
  ESM dist/chunk-6HTE24TP.mjs 12.80 KB
107
- ESM dist/chunk-RSEVIQEO.mjs 15.92 KB
108
108
  ESM dist/chunk-KPGARKFC.mjs 6.90 KB
109
109
  ESM dist/chunk-IT3QJF3D.mjs 6.33 KB
110
110
  ESM dist/chunk-Y2MTAVAK.mjs 1.30 KB
@@ -116,18 +116,19 @@ $ tsup
116
116
  ESM dist/chunk-GTAVSBDO.mjs 483.00 B
117
117
  ESM dist/chunk-YEWNFK5S.mjs 4.41 KB
118
118
  ESM dist/chunk-R2ON6CAN.mjs 2.83 KB
119
- ESM dist/chunk-NEMWMXGL.mjs 22.47 KB
119
+ ESM dist/chunk-3HFOSFOM.mjs 23.52 KB
120
120
  ESM dist/chunk-JTK6VJXY.mjs 3.88 KB
121
121
  ESM dist/chunk-ET4MTPIY.mjs 11.33 KB
122
+ ESM dist/chunk-ISUA7DSB.mjs 2.08 KB
122
123
  ESM dist/chunk-V23CBULF.mjs 14.13 KB
123
- ESM dist/chunk-F3MIRXRF.mjs 13.16 KB
124
+ ESM dist/chunk-ONYADWSO.mjs 13.26 KB
124
125
  ESM dist/chunk-7TMPOZDE.mjs 5.64 KB
125
126
  ESM dist/chunk-4Z66LMIQ.mjs 2.41 KB
126
127
  ESM dist/chunk-WIDZVCH3.mjs 20.71 KB
127
128
  ESM dist/chunk-MDUKXXIL.mjs 2.24 KB
128
129
  ESM dist/chunk-UTCQN6XU.mjs 4.35 KB
129
130
  ESM dist/chunk-QQSOZQOC.mjs 631.00 B
130
- ESM dist/chunk-SET6GFGL.mjs 8.46 KB
131
+ ESM dist/chunk-ZSMQZ3VN.mjs 9.67 KB
131
132
  ESM dist/chunk-CQ7HKBEX.mjs 2.27 KB
132
133
  ESM dist/chunk-66NM4AX2.mjs 22.21 KB
133
134
  ESM dist/chunk-QJ3RSZF4.mjs 8.39 KB
@@ -144,12 +145,10 @@ $ tsup
144
145
  ESM dist/chunk-INGYBZGU.mjs 15.81 KB
145
146
  ESM dist/chunk-3VDET466.mjs 2.46 KB
146
147
  ESM dist/chunk-PNSYFE3K.mjs 3.80 KB
147
- ESM dist/chunk-K4GJTP6N.mjs 60.44 KB
148
- ESM dist/chunk-ISUA7DSB.mjs 2.08 KB
148
+ ESM dist/chunk-RYGZRDP6.mjs 61.37 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
152
- ESM dist/chunk-2GIYVERS.mjs 840.00 B
153
152
  ESM dist/chunk-BS75ICOO.mjs 1.00 KB
154
153
  ESM dist/chunk-OIETBBXQ.mjs 6.53 KB
155
154
  ESM dist/chunk-H6NQTIF4.mjs 3.28 KB
@@ -178,6 +177,7 @@ $ tsup
178
177
  ESM dist/chunk-AFML43VJ.mjs 988.00 B
179
178
  ESM dist/chunk-WNQUEZJF.mjs 1.85 KB
180
179
  ESM dist/components/ui/contact-alert-dialog/index.mjs 925.00 B
180
+ ESM dist/chunk-2GIYVERS.mjs 840.00 B
181
181
  ESM dist/components/ui/video-background.mjs 162.00 B
182
182
  ESM dist/components/ui/resource-center/index.mjs 803.00 B
183
183
  ESM dist/components/ui/tooltip.mjs 326.00 B
@@ -325,6 +325,9 @@ $ tsup
325
325
  ESM dist/components/ui/backoffice-alerts-chart.mjs 559.00 B
326
326
  ESM dist/components/ui/backoffice-connections-chart.mjs 569.00 B
327
327
  ESM dist/components/ui/appointment-book-dialog.mjs 874.00 B
328
+ ESM dist/components/ui/appointment-calendar-view.mjs 423.00 B
329
+ ESM dist/components/ui/appointment-detail-sheet.mjs 771.00 B
330
+ ESM dist/components/ui/appointment-gmail-connect.mjs 353.00 B
328
331
  ESM dist/components/ui/appointment-mini-card.mjs 275.00 B
329
332
  ESM dist/components/ui/appointment-time-slot-picker.mjs 339.00 B
330
333
  ESM dist/components/ui/appointment-upcoming-card.mjs 668.00 B
@@ -345,39 +348,36 @@ $ tsup
345
348
  ESM dist/components/ui/ai-builder.mjs 671.00 B
346
349
  ESM dist/components/ui/ai-conversations.mjs 1.07 KB
347
350
  ESM dist/components/ui/alert-dialog.mjs 768.00 B
348
- ESM dist/components/ui/appointment-calendar-view.mjs 423.00 B
349
- ESM dist/components/ui/appointment-detail-sheet.mjs 771.00 B
350
- ESM dist/components/ui/appointment-gmail-connect.mjs 353.00 B
351
351
  ESM dist/components/ui/about-you-form.mjs 11.05 KB
352
352
  ESM dist/components/ui/accordion.mjs 264.00 B
353
353
  ESM dist/components/ui/account-list-carousel.mjs 275.00 B
354
- ESM ⚡️ Build success in 783ms
354
+ ESM ⚡️ Build success in 721ms
355
355
  CJS dist/lib/colors.js 4.33 KB
356
356
  CJS dist/lib/theme-provider.js 8.19 KB
357
357
  CJS dist/lib/typography.js 5.74 KB
358
358
  CJS dist/lib/utils.js 2.02 KB
359
359
  CJS dist/components/ui/about-you-form.js 41.60 KB
360
- CJS dist/components/ui/accordion.js 5.75 KB
361
360
  CJS dist/components/ui/account-list-carousel.js 11.56 KB
362
- CJS dist/components/ui/add-column-modal.js 26.57 KB
361
+ CJS dist/components/ui/accordion.js 5.75 KB
363
362
  CJS dist/components/ui/add-lead-modal.js 39.95 KB
363
+ CJS dist/components/ui/add-column-modal.js 26.57 KB
364
364
  CJS dist/components/ui/advisor-card.js 25.41 KB
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.23 KB
368
- CJS dist/components/ui/ai-conversations.js 104.71 KB
369
368
  CJS dist/components/ui/alert-dialog.js 16.03 KB
370
- CJS dist/components/ui/alert.js 5.17 KB
369
+ CJS dist/components/ui/ai-conversations.js 105.77 KB
371
370
  CJS dist/components/ui/applicant-document-checklist.js 13.68 KB
372
- CJS dist/components/ui/applicant-expenses-section.js 17.30 KB
371
+ CJS dist/components/ui/alert.js 5.17 KB
373
372
  CJS dist/components/ui/applicant-navigation-bar.js 11.35 KB
373
+ CJS dist/components/ui/applicant-expenses-section.js 17.30 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
- CJS dist/components/ui/appointment-action-dialogs.js 46.11 KB
377
376
  CJS dist/components/ui/appointment-availability-settings.js 68.24 KB
378
- CJS dist/components/ui/appointment-book-dialog.js 76.40 KB
377
+ CJS dist/components/ui/appointment-action-dialogs.js 47.45 KB
379
378
  CJS dist/components/ui/appointment-calendar-view.js 32.63 KB
380
- CJS dist/components/ui/appointment-detail-sheet.js 65.78 KB
379
+ CJS dist/components/ui/appointment-book-dialog.js 77.41 KB
380
+ CJS dist/components/ui/appointment-detail-sheet.js 67.23 KB
381
381
  CJS dist/components/ui/appointment-gmail-connect.js 19.27 KB
382
382
  CJS dist/components/ui/appointment-mini-card.js 12.50 KB
383
383
  CJS dist/components/ui/appointment-time-slot-picker.js 11.33 KB
@@ -396,120 +396,117 @@ $ tsup
396
396
  CJS dist/components/ui/backoffice-signup-steps.js 71.14 KB
397
397
  CJS dist/components/ui/badge.js 7.01 KB
398
398
  CJS dist/components/ui/bank-statement-document-table.js 19.39 KB
399
- CJS dist/components/ui/bank-statement-pdf-viewer.js 21.20 KB
400
399
  CJS dist/components/ui/bank-statement-generate-dialog.js 64.09 KB
401
400
  CJS dist/components/ui/banking-accounts-connect.js 13.77 KB
402
401
  CJS dist/components/ui/borrowing-capacity-atoms.js 14.71 KB
403
402
  CJS dist/components/ui/borrowing-capacity-card.js 31.33 KB
404
403
  CJS dist/components/ui/broker-info-panel.js 10.73 KB
405
404
  CJS dist/components/ui/borrowing-capacity-line-chart.js 23.32 KB
406
- CJS dist/components/ui/button.js 8.76 KB
407
405
  CJS dist/components/ui/calculator-input-item.js 3.20 KB
406
+ CJS dist/components/ui/button.js 8.76 KB
408
407
  CJS dist/components/ui/calculator-section.js 28.15 KB
409
408
  CJS dist/components/ui/card.js 5.54 KB
410
409
  CJS dist/components/ui/calendar.js 16.87 KB
411
- CJS dist/components/ui/cashflow-bar-chart.js 22.72 KB
412
410
  CJS dist/components/ui/cash-balance-line-chart.js 22.28 KB
411
+ CJS dist/components/ui/cashflow-bar-chart.js 22.72 KB
413
412
  CJS dist/components/ui/category-edit-dialog.js 28.69 KB
414
413
  CJS dist/components/ui/chat-widget-primitives.js 21.40 KB
415
414
  CJS dist/components/ui/chat-widget.js 47.89 KB
416
415
  CJS dist/components/ui/checkbox.js 7.11 KB
417
- CJS dist/components/ui/chip.js 11.82 KB
418
416
  CJS dist/components/ui/color-picker.js 19.32 KB
419
- CJS dist/components/ui/connect-bank-step.js 20.49 KB
417
+ CJS dist/components/ui/chip.js 11.82 KB
420
418
  CJS dist/components/ui/combobox.js 10.71 KB
419
+ CJS dist/components/ui/connect-bank-step.js 20.49 KB
421
420
  CJS dist/components/ui/create-contact-modal.js 38.93 KB
422
421
  CJS dist/components/ui/csv-import-modal.js 20.84 KB
423
422
  CJS dist/components/ui/currency-input.js 16.27 KB
424
- CJS dist/components/ui/dashboard-transactions-table.js 41.31 KB
423
+ CJS dist/components/ui/bank-statement-pdf-viewer.js 21.20 KB
425
424
  CJS dist/components/ui/dashboard-expense-categories.js 13.22 KB
426
- CJS dist/components/ui/data-table.js 41.53 KB
427
425
  CJS dist/components/ui/date-picker.js 23.55 KB
428
- CJS dist/components/ui/debt-accordion.js 19.84 KB
426
+ CJS dist/components/ui/dashboard-transactions-table.js 41.31 KB
429
427
  CJS dist/components/ui/delete-contact-component.js 17.52 KB
430
- CJS dist/components/ui/dialog.js 16.08 KB
428
+ CJS dist/components/ui/debt-accordion.js 19.84 KB
431
429
  CJS dist/components/ui/document-checklist-template.js 26.15 KB
430
+ CJS dist/components/ui/data-table.js 41.53 KB
432
431
  CJS dist/components/ui/drawer.js 8.55 KB
433
432
  CJS dist/components/ui/dropdown-menu.js 13.57 KB
434
- CJS dist/components/ui/editable-money-item.js 11.37 KB
435
433
  CJS dist/components/ui/dynamic-tabs.js 10.53 KB
434
+ CJS dist/components/ui/dialog.js 16.08 KB
435
+ CJS dist/components/ui/editable-money-item.js 11.37 KB
436
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
- CJS dist/components/ui/field.js 12.08 KB
441
440
  CJS dist/components/ui/financial-cards.js 50.63 KB
442
- CJS dist/components/ui/file-preview-dialog.js 42.42 KB
441
+ CJS dist/components/ui/field.js 12.08 KB
443
442
  CJS dist/components/ui/financial-drawers.js 25.49 KB
444
- CJS dist/components/ui/financial-primitives.js 8.00 KB
445
- CJS dist/components/ui/form-primitives.js 23.29 KB
446
443
  CJS dist/components/ui/financial-sections.js 56.07 KB
447
- CJS dist/components/ui/frontend-signup-steps.js 47.18 KB
444
+ CJS dist/components/ui/form-primitives.js 23.29 KB
445
+ CJS dist/components/ui/financial-primitives.js 8.00 KB
448
446
  CJS dist/components/ui/income-bar-chart.js 22.32 KB
447
+ CJS dist/components/ui/frontend-signup-steps.js 47.18 KB
449
448
  CJS dist/components/ui/income-sources-card.js 9.81 KB
450
449
  CJS dist/components/ui/income-summary-component.js 14.73 KB
451
- CJS dist/components/ui/income-work-details.js 58.65 KB
452
- CJS dist/components/ui/incoming-outgoings-card.js 7.52 KB
453
450
  CJS dist/components/ui/input-group.js 16.63 KB
454
451
  CJS dist/components/ui/input-otp.js 6.49 KB
455
452
  CJS dist/components/ui/input.js 3.88 KB
456
453
  CJS dist/components/ui/integration-card.js 13.13 KB
457
454
  CJS dist/components/ui/interest-rate-input.js 16.38 KB
458
- CJS dist/components/ui/interest-rate-section.js 13.80 KB
459
455
  CJS dist/components/ui/interest-rate-used.js 6.83 KB
460
- CJS dist/components/ui/kanban-column.js 67.37 KB
456
+ CJS dist/components/ui/interest-rate-section.js 13.80 KB
457
+ CJS dist/components/ui/incoming-outgoings-card.js 7.52 KB
461
458
  CJS dist/components/ui/label.js 3.97 KB
459
+ CJS dist/components/ui/income-work-details.js 58.65 KB
462
460
  CJS dist/components/ui/loan-applicant-information.js 13.38 KB
463
461
  CJS dist/components/ui/loan-application-badge.js 8.18 KB
464
462
  CJS dist/components/ui/loan-applicant-invite.js 12.23 KB
465
463
  CJS dist/components/ui/loan-entry-shell.js 3.66 KB
466
464
  CJS dist/components/ui/loan-application-cards.js 14.53 KB
467
- CJS dist/components/ui/loan-option-card.js 3.10 KB
468
465
  CJS dist/components/ui/loan-financials.js 15.65 KB
466
+ CJS dist/components/ui/loan-option-card.js 3.10 KB
469
467
  CJS dist/components/ui/loan-option-group.js 9.49 KB
470
468
  CJS dist/components/ui/loan-steps.js 39.22 KB
471
469
  CJS dist/components/ui/loan-wizard-shell.js 18.81 KB
472
- CJS dist/components/ui/money-input-with-slider.js 6.93 KB
473
470
  CJS dist/components/ui/money-item-with-color-indicator.js 11.75 KB
474
- CJS dist/components/ui/onboarding-layout.js 20.35 KB
471
+ CJS dist/components/ui/money-input-with-slider.js 6.93 KB
472
+ CJS dist/components/ui/kanban-column.js 67.37 KB
475
473
  CJS dist/components/ui/opportunity-card.js 54.35 KB
474
+ CJS dist/components/ui/onboarding-layout.js 20.35 KB
476
475
  CJS dist/components/ui/opportunity-edit-modals.js 145.31 KB
477
476
  CJS dist/components/ui/page-header.js 2.79 KB
478
477
  CJS dist/components/ui/page-top-bar.js 2.60 KB
479
478
  CJS dist/components/ui/pagination.js 23.77 KB
479
+ CJS dist/components/ui/opportunity-summary-tab.js 221.85 KB
480
480
  CJS dist/components/ui/password-strength-tooltip.js 7.05 KB
481
481
  CJS dist/components/ui/pipeline-alerts.js 3.53 KB
482
- CJS dist/components/ui/opportunity-summary-tab.js 221.85 KB
483
482
  CJS dist/components/ui/pipeline-chart.js 10.60 KB
484
483
  CJS dist/components/ui/pipeline-board.js 77.70 KB
485
484
  CJS dist/components/ui/pipeline-dialogs.js 47.90 KB
486
- CJS dist/components/ui/pipeline-primitives.js 13.90 KB
487
- CJS dist/components/ui/popover.js 6.49 KB
488
485
  CJS dist/components/ui/progress.js 3.94 KB
486
+ CJS dist/components/ui/popover.js 6.49 KB
489
487
  CJS dist/components/ui/property-asset-card.js 17.81 KB
490
488
  CJS dist/components/ui/property-cashflow-doughnut-chart.js 19.37 KB
491
489
  CJS dist/components/ui/property-debt-equity-doughnut-chart.js 19.25 KB
492
490
  CJS dist/components/ui/property-list-carousel.js 11.25 KB
491
+ CJS dist/components/ui/pipeline-primitives.js 13.90 KB
493
492
  CJS dist/components/ui/property-mobile-estimate-line-chart.js 23.44 KB
494
493
  CJS dist/components/ui/radio-group.js 7.16 KB
495
- CJS dist/components/ui/property-report-dialog.js 44.37 KB
496
494
  CJS dist/components/ui/review-alerts-dialog.js 22.26 KB
495
+ CJS dist/components/ui/property-report-dialog.js 44.37 KB
496
+ CJS dist/components/ui/file-preview-dialog.js 42.42 KB
497
497
  CJS dist/components/ui/savings-goal-modal.js 43.29 KB
498
498
  CJS dist/components/ui/scenario-drawer.js 29.79 KB
499
499
  CJS dist/components/ui/scenario-item.js 9.28 KB
500
- CJS dist/components/ui/select.js 11.96 KB
501
500
  CJS dist/components/ui/scenario-list.js 19.00 KB
501
+ CJS dist/components/ui/select.js 11.96 KB
502
502
  CJS dist/components/ui/selectable-card.js 5.32 KB
503
503
  CJS dist/components/ui/separator.js 3.58 KB
504
- CJS dist/components/ui/share-details-dialog.js 37.64 KB
505
- CJS dist/components/ui/sheet.js 8.69 KB
506
504
  CJS dist/components/ui/sidebar-nav.js 30.59 KB
507
- CJS dist/components/ui/signup-form-primitives.js 30.19 KB
508
505
  CJS dist/components/ui/signup-shell.js 13.58 KB
509
506
  CJS dist/components/ui/skeleton.js 3.24 KB
510
507
  CJS dist/components/ui/slider.js 4.60 KB
511
- CJS dist/components/ui/sonner.js 3.35 KB
512
508
  CJS dist/components/ui/spinner.js 3.73 KB
509
+ CJS dist/components/ui/sonner.js 3.35 KB
513
510
  CJS dist/components/ui/stage-timeline.js 24.60 KB
514
511
  CJS dist/components/ui/stepper.js 9.15 KB
515
512
  CJS dist/components/ui/submission-confirmation-card.js 10.88 KB
@@ -523,13 +520,16 @@ $ tsup
523
520
  CJS dist/components/ui/top-three-product.js 15.24 KB
524
521
  CJS dist/components/ui/transactions-income-expense-bar-chart.js 19.06 KB
525
522
  CJS dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.js 19.64 KB
526
- CJS dist/components/ui/transactions-expense-categories-doughnut-chart.js 19.64 KB
527
523
  CJS dist/components/ui/transactions-summary-block.js 3.15 KB
524
+ CJS dist/components/ui/transactions-expense-categories-doughnut-chart.js 19.64 KB
528
525
  CJS dist/components/ui/two-fa-setup-form.js 24.07 KB
529
526
  CJS dist/components/ui/upload-card.js 5.43 KB
530
527
  CJS dist/components/ui/video-background.js 3.25 KB
531
528
  CJS dist/components/ui/contact-alert-dialog/index.js 67.85 KB
529
+ CJS dist/components/ui/signup-form-primitives.js 30.19 KB
530
+ CJS dist/components/ui/sheet.js 8.69 KB
531
+ CJS dist/components/ui/share-details-dialog.js 37.64 KB
532
532
  CJS dist/components/ui/resource-center/index.js 45.52 KB
533
- CJS dist/index.js 1.12 MB
534
- CJS ⚡️ Build success in 873ms
535
- Done in 4.13s.
533
+ CJS dist/index.js 1.13 MB
534
+ CJS ⚡️ Build success in 814ms
535
+ Done in 4.04s.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @wealthx/shadcn
2
2
 
3
+ ## 1.5.24
4
+
5
+ ### Patch Changes
6
+
7
+ - 385752a: enhance ai conversation
8
+
9
+ ## 1.5.23
10
+
11
+ ### Patch Changes
12
+
13
+ - f1b5e6e: Enhance appointment dialog
14
+
3
15
  ## 1.5.22
4
16
 
5
17
  ### Patch Changes
@@ -64,12 +64,17 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
64
64
  function ClientSearch({
65
65
  clients,
66
66
  value,
67
- onValueChange
67
+ onValueChange,
68
+ onSearch,
69
+ isSearching,
70
+ hasMore,
71
+ onLoadMore,
72
+ isLoadingMore
68
73
  }) {
69
74
  const [query, setQuery] = React.useState("");
70
75
  const [open, setOpen] = React.useState(false);
71
76
  const selected = clients.find((c) => c.id === value);
72
- const filtered = clients.filter((c) => {
77
+ const filtered = onSearch ? clients : clients.filter((c) => {
73
78
  const q = query.toLowerCase();
74
79
  return c.name.toLowerCase().includes(q) || c.email.toLowerCase().includes(q);
75
80
  });
@@ -79,67 +84,79 @@ function ClientSearch({
79
84
  {
80
85
  value: selected ? selected.name : query,
81
86
  onChange: (e) => {
82
- setQuery(e.target.value);
87
+ const v = e.target.value;
88
+ setQuery(v);
83
89
  if (selected) onValueChange(void 0);
84
- setOpen(e.target.value.length > 0);
90
+ setOpen(v.length > 0);
91
+ onSearch == null ? void 0 : onSearch(v);
85
92
  },
86
93
  onBlur: () => setTimeout(() => setOpen(false), 150),
87
94
  placeholder: "Search by name or email\u2026",
88
95
  autoComplete: "off"
89
96
  }
90
97
  ),
91
- open && (filtered.length > 0 || query.length > 0) && /* @__PURE__ */ jsx("div", { className: "absolute z-50 mt-1 w-full border border-border bg-popover shadow-md", children: filtered.length === 0 ? /* @__PURE__ */ jsx("p", { className: "px-3 py-6 text-center text-sm text-muted-foreground", children: "No clients found." }) : filtered.map((c) => /* @__PURE__ */ jsxs(
92
- Button,
93
- {
94
- type: "button",
95
- variant: "ghost",
96
- className: "h-auto w-full flex-col items-start gap-0.5 px-3 py-2 text-left hover:bg-primary/5",
97
- onMouseDown: (e) => e.preventDefault(),
98
- onClick: () => {
99
- onValueChange(c.id);
100
- setQuery("");
101
- setOpen(false);
98
+ open && (filtered.length > 0 || query.length > 0 || isSearching) && /* @__PURE__ */ jsx("div", { className: "absolute z-50 mt-1 max-h-64 w-full overflow-y-auto border border-border bg-popover shadow-md", children: isSearching ? /* @__PURE__ */ jsx("p", { className: "px-3 py-6 text-center text-sm text-muted-foreground", children: "Searching..." }) : filtered.length === 0 ? /* @__PURE__ */ jsx("p", { className: "px-3 py-6 text-center text-sm text-muted-foreground", children: "No clients found." }) : /* @__PURE__ */ jsxs(Fragment, { children: [
99
+ filtered.map((c) => /* @__PURE__ */ jsxs(
100
+ Button,
101
+ {
102
+ type: "button",
103
+ variant: "ghost",
104
+ className: "h-auto w-full flex-col items-start gap-0.5 px-3 py-2 text-left hover:bg-primary/5",
105
+ onMouseDown: (e) => e.preventDefault(),
106
+ onClick: () => {
107
+ onValueChange(c.id);
108
+ setQuery("");
109
+ setOpen(false);
110
+ },
111
+ children: [
112
+ /* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: c.name }),
113
+ /* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground", children: c.email })
114
+ ]
102
115
  },
103
- children: [
104
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: c.name }),
105
- /* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground", children: c.email })
106
- ]
107
- },
108
- c.id
109
- )) })
116
+ c.id
117
+ )),
118
+ hasMore && onLoadMore && /* @__PURE__ */ jsx(
119
+ Button,
120
+ {
121
+ type: "button",
122
+ variant: "ghost",
123
+ size: "sm",
124
+ className: "w-full text-sm text-primary",
125
+ disabled: isLoadingMore,
126
+ onMouseDown: (e) => e.preventDefault(),
127
+ onClick: onLoadMore,
128
+ children: isLoadingMore ? "Loading..." : "Load more"
129
+ }
130
+ )
131
+ ] }) })
110
132
  ] });
111
133
  }
112
- var FORMAT_OPTIONS = [
113
- { value: "call", label: "Call", icon: /* @__PURE__ */ jsx(Phone, { className: "h-4 w-4" }) },
114
- {
134
+ function getFormatOptions(platform) {
135
+ const call = {
136
+ value: "call",
137
+ label: "Call",
138
+ icon: /* @__PURE__ */ jsx(Phone, { className: "h-4 w-4" })
139
+ };
140
+ const googleMeet = {
115
141
  value: "google-meet",
116
142
  label: "Google Meet",
117
143
  icon: /* @__PURE__ */ jsx(Video, { className: "h-4 w-4" })
118
- },
119
- {
144
+ };
145
+ const msTeams = {
120
146
  value: "microsoft-teams",
121
147
  label: "MS Teams",
122
148
  icon: /* @__PURE__ */ jsx(Users, { className: "h-4 w-4" })
123
- },
124
- {
125
- value: "offline",
126
- label: "Offline",
127
- icon: /* @__PURE__ */ jsx(MapPin, { className: "h-4 w-4" })
128
- }
129
- ];
130
- var CLIENT_FORMAT_OPTIONS = [
131
- { value: "call", label: "Call", icon: /* @__PURE__ */ jsx(Phone, { className: "h-4 w-4" }) },
132
- {
133
- value: "online",
134
- label: "Online Meeting",
135
- icon: /* @__PURE__ */ jsx(Video, { className: "h-4 w-4" })
136
- },
137
- {
149
+ };
150
+ const offline = {
138
151
  value: "offline",
139
152
  label: "Offline Meeting",
140
153
  icon: /* @__PURE__ */ jsx(MapPin, { className: "h-4 w-4" })
141
- }
142
- ];
154
+ };
155
+ if (platform === "google-meet") return [call, googleMeet, offline];
156
+ if (platform === "microsoft-teams") return [call, msTeams, offline];
157
+ if (platform === "any") return [call, googleMeet, msTeams, offline];
158
+ return [call, offline];
159
+ }
143
160
  function MeetingFormatSection({
144
161
  format,
145
162
  onFormatChange,
@@ -269,6 +286,11 @@ function AppointmentBookDialog({
269
286
  open,
270
287
  onOpenChange,
271
288
  clients = [],
289
+ onSearchClients,
290
+ isSearchingClients,
291
+ hasMoreClients,
292
+ onLoadMoreClients,
293
+ isLoadingMoreClients,
272
294
  meetingTypes = [],
273
295
  amSlots,
274
296
  pmSlots,
@@ -279,11 +301,12 @@ function AppointmentBookDialog({
279
301
  advisorInfo,
280
302
  initialClientId,
281
303
  defaultMeetingFormat,
304
+ onlinePlatform,
282
305
  guestInfo,
283
306
  onBook
284
307
  }) {
285
308
  var _a, _b, _c;
286
- const isClientMode = clients.length === 0;
309
+ const isClientMode = clients.length === 0 && !onSearchClients;
287
310
  const showGuestForm = isClientMode && !((guestInfo == null ? void 0 : guestInfo.name) && (guestInfo == null ? void 0 : guestInfo.email));
288
311
  const disabledDayOfWeek = React.useMemo(
289
312
  () => schedule == null ? void 0 : schedule.filter((d) => !d.enabled).map((d) => DAY_MAP[d.day]).filter((n) => n !== void 0),
@@ -375,7 +398,12 @@ function AppointmentBookDialog({
375
398
  {
376
399
  clients,
377
400
  value: clientId,
378
- onValueChange: setClientId
401
+ onValueChange: setClientId,
402
+ onSearch: onSearchClients,
403
+ isSearching: isSearchingClients,
404
+ hasMore: hasMoreClients,
405
+ onLoadMore: onLoadMoreClients,
406
+ isLoadingMore: isLoadingMoreClients
379
407
  }
380
408
  )
381
409
  ] }),
@@ -433,7 +461,7 @@ function AppointmentBookDialog({
433
461
  )
434
462
  ] })
435
463
  ] }),
436
- !(isClientMode && defaultMeetingFormat) && /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
464
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-1.5", children: [
437
465
  /* @__PURE__ */ jsx(Label, { children: "Meeting format" }),
438
466
  /* @__PURE__ */ jsx(
439
467
  MeetingFormatSection,
@@ -447,7 +475,7 @@ function AppointmentBookDialog({
447
475
  advisorOfficeAddress,
448
476
  clientHomeAddress,
449
477
  isClientMode,
450
- formatOptions: isClientMode ? CLIENT_FORMAT_OPTIONS : FORMAT_OPTIONS
478
+ formatOptions: getFormatOptions(onlinePlatform)
451
479
  }
452
480
  )
453
481
  ] }),
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AppointmentConfirmDialog,
3
3
  AppointmentRescheduleDialog
4
- } from "./chunk-SET6GFGL.mjs";
4
+ } from "./chunk-ZSMQZ3VN.mjs";
5
5
  import {
6
6
  Sheet,
7
7
  SheetContent
@@ -86,6 +86,9 @@ function AppointmentDetailSheet({
86
86
  clientProfile,
87
87
  amSlots,
88
88
  pmSlots,
89
+ onDateChange,
90
+ schedule,
91
+ isLoadingSlots,
89
92
  onAccept,
90
93
  onDecline,
91
94
  onReschedule,
@@ -286,6 +289,9 @@ function AppointmentDetailSheet({
286
289
  currentDate: appointment.date,
287
290
  currentTimeStart: appointment.timeStart,
288
291
  currentTimeEnd: appointment.timeEnd,
292
+ onDateChange,
293
+ schedule,
294
+ isLoadingSlots,
289
295
  onReschedule: (date, slot, note) => {
290
296
  onReschedule == null ? void 0 : onReschedule(appointment.id, date, slot, note);
291
297
  setRescheduleOpen(false);