@wealthx/shadcn 1.5.5 → 1.5.7

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 (95) hide show
  1. package/.turbo/turbo-build.log +164 -158
  2. package/CHANGELOG.md +12 -0
  3. package/dist/{chunk-2LLFNGJZ.mjs → chunk-3OOUI5TO.mjs} +1 -1
  4. package/dist/{chunk-AUEUTZIC.mjs → chunk-3QAQQBCM.mjs} +2 -2
  5. package/dist/chunk-3Z75IKFO.mjs +34 -0
  6. package/dist/{chunk-RAKBWNQH.mjs → chunk-5WCIGJ3E.mjs} +26 -65
  7. package/dist/chunk-65PZNG4Y.mjs +129 -0
  8. package/dist/{chunk-D447W45Z.mjs → chunk-7OLKVKJF.mjs} +41 -49
  9. package/dist/{chunk-UEREFDAE.mjs → chunk-AZGLSIHF.mjs} +1 -1
  10. package/dist/{chunk-QRVEI6J3.mjs → chunk-BQBSYM2I.mjs} +1 -3
  11. package/dist/{chunk-BFB3UH7V.mjs → chunk-C2QMHKLT.mjs} +1 -1
  12. package/dist/chunk-CEEVYRQA.mjs +61 -0
  13. package/dist/{chunk-VJ3GC7W3.mjs → chunk-CXGZSIQN.mjs} +4 -30
  14. package/dist/{chunk-VLELWBEW.mjs → chunk-E2BNCA6L.mjs} +1 -1
  15. package/dist/{chunk-46Q4335I.mjs → chunk-F73QFUZH.mjs} +10 -20
  16. package/dist/{chunk-Q35PNFJ7.mjs → chunk-FBNEIYSE.mjs} +1 -1
  17. package/dist/{chunk-HO6S3ECM.mjs → chunk-G4WLCKFV.mjs} +1 -1
  18. package/dist/{chunk-ODO6BUOF.mjs → chunk-HRHXZIX5.mjs} +1 -3
  19. package/dist/{chunk-IXR4BQSQ.mjs → chunk-I6QVWQCD.mjs} +1 -1
  20. package/dist/{chunk-PV7PNA6K.mjs → chunk-IKDTOCSY.mjs} +2 -4
  21. package/dist/{chunk-Q5SGEIJV.mjs → chunk-IXKE6LHN.mjs} +1 -1
  22. package/dist/{chunk-OL65UQHQ.mjs → chunk-JCH2BG24.mjs} +26 -60
  23. package/dist/{chunk-PV3Y7QGK.mjs → chunk-LHWJQNLG.mjs} +3 -3
  24. package/dist/{chunk-JTG5R5YV.mjs → chunk-MS4PDUSU.mjs} +284 -58
  25. package/dist/{chunk-VFH632TB.mjs → chunk-SDNG4XL6.mjs} +1 -1
  26. package/dist/{chunk-DFL5CV75.mjs → chunk-T6MMCOX6.mjs} +1 -1
  27. package/dist/{chunk-6TX73WG7.mjs → chunk-TCE5L44O.mjs} +3 -2
  28. package/dist/{chunk-HROG643K.mjs → chunk-W5QJ57PU.mjs} +1 -1
  29. package/dist/{chunk-EW72FINW.mjs → chunk-XVZGXPIX.mjs} +1 -1
  30. package/dist/components/ui/about-you-form.mjs +3 -3
  31. package/dist/components/ui/add-column-modal.js +56 -227
  32. package/dist/components/ui/add-column-modal.mjs +1 -2
  33. package/dist/components/ui/ai-conversations.js +278 -58
  34. package/dist/components/ui/ai-conversations.mjs +1 -1
  35. package/dist/components/ui/appointment-action-dialogs.mjs +3 -3
  36. package/dist/components/ui/appointment-availability-settings.js +2 -28
  37. package/dist/components/ui/appointment-availability-settings.mjs +4 -4
  38. package/dist/components/ui/appointment-book-dialog.js +11 -21
  39. package/dist/components/ui/appointment-book-dialog.mjs +3 -3
  40. package/dist/components/ui/appointment-calendar-view.mjs +2 -2
  41. package/dist/components/ui/appointment-detail-sheet.mjs +4 -4
  42. package/dist/components/ui/appointment-upcoming-card.mjs +3 -3
  43. package/dist/components/ui/bank-statement-generate-dialog.mjs +4 -4
  44. package/dist/components/ui/calendar.mjs +2 -2
  45. package/dist/components/ui/dashboard-transactions-table.mjs +1 -1
  46. package/dist/components/ui/date-picker.mjs +3 -3
  47. package/dist/components/ui/financial-cards.mjs +2 -2
  48. package/dist/components/ui/financial-sections.mjs +3 -3
  49. package/dist/components/ui/integration-card.js +326 -0
  50. package/dist/components/ui/integration-card.mjs +11 -0
  51. package/dist/components/ui/kanban-column.js +151 -243
  52. package/dist/components/ui/kanban-column.mjs +3 -4
  53. package/dist/components/ui/loan-application-cards.mjs +1 -1
  54. package/dist/components/ui/onboarding-layout.js +65 -4
  55. package/dist/components/ui/onboarding-layout.mjs +6 -4
  56. package/dist/components/ui/opportunity-card.js +126 -216
  57. package/dist/components/ui/opportunity-card.mjs +2 -3
  58. package/dist/components/ui/opportunity-edit-modals.mjs +4 -4
  59. package/dist/components/ui/opportunity-summary-tab.mjs +6 -6
  60. package/dist/components/ui/pipeline-board.js +167 -261
  61. package/dist/components/ui/pipeline-board.mjs +4 -5
  62. package/dist/components/ui/pipeline-chart.js +128 -55
  63. package/dist/components/ui/pipeline-chart.mjs +2 -1
  64. package/dist/components/ui/pipeline-dialogs.mjs +4 -4
  65. package/dist/components/ui/savings-goal-modal.mjs +3 -3
  66. package/dist/components/ui/selectable-card.js +163 -0
  67. package/dist/components/ui/selectable-card.mjs +9 -0
  68. package/dist/components/ui/sidebar-nav.js +2 -4
  69. package/dist/components/ui/sidebar-nav.mjs +1 -1
  70. package/dist/components/ui/signup-shell.js +3 -2
  71. package/dist/components/ui/signup-shell.mjs +2 -2
  72. package/dist/components/ui/stepper.js +3 -2
  73. package/dist/components/ui/stepper.mjs +1 -1
  74. package/dist/index.js +2122 -1881
  75. package/dist/index.mjs +56 -46
  76. package/dist/styles.css +1 -1
  77. package/package.json +11 -1
  78. package/src/components/index.tsx +26 -2
  79. package/src/components/ui/add-column-modal.tsx +9 -58
  80. package/src/components/ui/ai-conversations.tsx +308 -42
  81. package/src/components/ui/appointment-availability-settings.tsx +2 -35
  82. package/src/components/ui/appointment-book-dialog.tsx +25 -48
  83. package/src/components/ui/integration-card.tsx +88 -0
  84. package/src/components/ui/kanban-column.tsx +0 -7
  85. package/src/components/ui/onboarding-layout.tsx +102 -1
  86. package/src/components/ui/opportunity-card.tsx +5 -53
  87. package/src/components/ui/pipeline-board.tsx +0 -3
  88. package/src/components/ui/pipeline-chart.tsx +47 -53
  89. package/src/components/ui/selectable-card.tsx +37 -0
  90. package/src/components/ui/sidebar-nav.tsx +0 -2
  91. package/src/components/ui/stepper.tsx +3 -2
  92. package/src/lib/format-date.ts +6 -6
  93. package/src/styles/styles-css.ts +1 -1
  94. package/tsup.config.ts +2 -0
  95. package/dist/chunk-2P7HP7LR.mjs +0 -68
@@ -1,17 +1,16 @@
1
1
  import {
2
2
  KanbanColumn
3
- } from "../../chunk-ODO6BUOF.mjs";
4
- import "../../chunk-RAKBWNQH.mjs";
3
+ } from "../../chunk-HRHXZIX5.mjs";
4
+ import "../../chunk-5WCIGJ3E.mjs";
5
5
  import "../../chunk-2WCIORP7.mjs";
6
6
  import "../../chunk-JPGL36WQ.mjs";
7
7
  import "../../chunk-IKXYTCSB.mjs";
8
8
  import "../../chunk-JVMXMFBB.mjs";
9
9
  import "../../chunk-PNSYFE3K.mjs";
10
10
  import "../../chunk-HNDTLT5X.mjs";
11
- import "../../chunk-6SR4K5T5.mjs";
12
11
  import "../../chunk-2GIYVERS.mjs";
13
12
  import "../../chunk-WL6WVV47.mjs";
14
- import "../../chunk-PV3Y7QGK.mjs";
13
+ import "../../chunk-LHWJQNLG.mjs";
15
14
  import "../../chunk-WDTXHLYM.mjs";
16
15
  import "../../chunk-S4CTM3UE.mjs";
17
16
  import "../../chunk-UNACI2YK.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  formatDateShort
3
- } from "../../chunk-PV3Y7QGK.mjs";
3
+ } from "../../chunk-LHWJQNLG.mjs";
4
4
  import {
5
5
  formatCurrency
6
6
  } from "../../chunk-MN5NYQCL.mjs";
@@ -59,7 +59,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
59
59
  // src/components/ui/onboarding-layout.tsx
60
60
  var onboarding_layout_exports = {};
61
61
  __export(onboarding_layout_exports, {
62
- OnboardingLayout: () => OnboardingLayout
62
+ OnboardingLayout: () => OnboardingLayout,
63
+ OnboardingPanelLayout: () => OnboardingPanelLayout
63
64
  });
64
65
  module.exports = __toCommonJS(onboarding_layout_exports);
65
66
 
@@ -389,7 +390,8 @@ function StepLabel({
389
390
  "span",
390
391
  {
391
392
  className: cn(
392
- "text-sm font-medium leading-tight transition-colors",
393
+ orientation === "vertical" && "flex h-8 items-center",
394
+ "text-label-small transition-colors",
393
395
  (isActive || isCompleted) && !error && "text-foreground",
394
396
  !isActive && !isCompleted && !error && "text-muted-foreground",
395
397
  error && "text-destructive"
@@ -401,7 +403,7 @@ function StepLabel({
401
403
  "span",
402
404
  {
403
405
  className: cn(
404
- "mt-0.5 text-xs",
406
+ "mt-0.5 text-caption",
405
407
  error ? "text-destructive" : "text-muted-foreground"
406
408
  ),
407
409
  children: subtext
@@ -420,6 +422,64 @@ function StepItem({ label, description, error }) {
420
422
 
421
423
  // src/components/ui/onboarding-layout.tsx
422
424
  var import_jsx_runtime3 = require("react/jsx-runtime");
425
+ function OnboardingPanelLayout({
426
+ title,
427
+ subtitle,
428
+ steps,
429
+ currentStepIndex,
430
+ canProceed = true,
431
+ onBack,
432
+ onNext,
433
+ onSkip,
434
+ className,
435
+ children
436
+ }) {
437
+ const isFirstStep = currentStepIndex === 0;
438
+ const isLastStep = currentStepIndex === steps.length - 1;
439
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: cn("flex h-screen bg-background font-sans", className), children: [
440
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex w-72 shrink-0 flex-col border-r border-border bg-muted/20 p-8", children: [
441
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex flex-col gap-1 mb-8", children: [
442
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-h1", children: title }),
443
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "text-body-medium text-muted-foreground", children: subtitle })
444
+ ] }),
445
+ steps.length > 1 && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
446
+ Stepper,
447
+ {
448
+ activeStep: currentStepIndex,
449
+ orientation: "vertical",
450
+ className: "flex-1",
451
+ children: steps.map((step) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Step, { className: "flex-1", children: [
452
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(StepIndicator, {}),
453
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
454
+ StepLabel,
455
+ {
456
+ description: step.isLocked ? "Upgrade to unlock" : step.description,
457
+ children: step.title
458
+ }
459
+ ) })
460
+ ] }, step.id))
461
+ }
462
+ )
463
+ ] }),
464
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex min-h-0 flex-1 flex-col", children: [
465
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "flex-1 overflow-y-auto px-10 py-8", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: "max-w-2xl", children }) }),
466
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "flex items-center gap-2 border-t border-border px-10 py-4", children: [
467
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
468
+ Button,
469
+ {
470
+ variant: "outline-primary",
471
+ size: "sm",
472
+ onClick: onNext,
473
+ disabled: !canProceed,
474
+ children: isLastStep ? "Finish Setup" : "Next"
475
+ }
476
+ ),
477
+ !isFirstStep && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Button, { variant: "outline-secondary", size: "sm", onClick: onBack, children: "Back" }),
478
+ onSkip && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Button, { variant: "ghost", size: "sm", onClick: onSkip, children: "Skip for now" })
479
+ ] })
480
+ ] })
481
+ ] });
482
+ }
423
483
  function OnboardingLayout({
424
484
  steps,
425
485
  currentStepIndex,
@@ -472,5 +532,6 @@ function OnboardingLayout({
472
532
  }
473
533
  // Annotate the CommonJS export names for ESM import in node:
474
534
  0 && (module.exports = {
475
- OnboardingLayout
535
+ OnboardingLayout,
536
+ OnboardingPanelLayout
476
537
  });
@@ -1,11 +1,13 @@
1
1
  import {
2
- OnboardingLayout
3
- } from "../../chunk-2P7HP7LR.mjs";
4
- import "../../chunk-6TX73WG7.mjs";
2
+ OnboardingLayout,
3
+ OnboardingPanelLayout
4
+ } from "../../chunk-65PZNG4Y.mjs";
5
+ import "../../chunk-TCE5L44O.mjs";
5
6
  import "../../chunk-NOOEKOWY.mjs";
6
7
  import "../../chunk-R4HCRDU5.mjs";
7
8
  import "../../chunk-AFML43VJ.mjs";
8
9
  import "../../chunk-WNQUEZJF.mjs";
9
10
  export {
10
- OnboardingLayout
11
+ OnboardingLayout,
12
+ OnboardingPanelLayout
11
13
  };