@wealthx/shadcn 1.5.38 → 1.5.39

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 (35) hide show
  1. package/.turbo/turbo-build.log +129 -126
  2. package/CHANGELOG.md +6 -0
  3. package/dist/{chunk-LSSIWLYU.mjs → chunk-6XNEHTII.mjs} +1 -1
  4. package/dist/{chunk-ULQ53FRJ.mjs → chunk-7NQKFPXE.mjs} +1 -1
  5. package/dist/{chunk-DSVKEVX6.mjs → chunk-CZOGJC76.mjs} +1 -1
  6. package/dist/{chunk-JPGL36WQ.mjs → chunk-FL7DEYUA.mjs} +6 -7
  7. package/dist/{chunk-2CHH5QOA.mjs → chunk-FQUT5XD6.mjs} +1 -1
  8. package/dist/chunk-MGIDYXOP.mjs +814 -0
  9. package/dist/{chunk-OG2VM34K.mjs → chunk-MHBQJVHE.mjs} +1 -1
  10. package/dist/components/ui/file-preview-dialog.js +6 -7
  11. package/dist/components/ui/file-preview-dialog.mjs +2 -2
  12. package/dist/components/ui/kanban-column.js +6 -7
  13. package/dist/components/ui/kanban-column.mjs +3 -3
  14. package/dist/components/ui/opportunity-card.js +6 -7
  15. package/dist/components/ui/opportunity-card.mjs +2 -2
  16. package/dist/components/ui/pipeline-board.js +6 -7
  17. package/dist/components/ui/pipeline-board.mjs +4 -4
  18. package/dist/components/ui/policy-ai/index.js +1636 -0
  19. package/dist/components/ui/policy-ai/index.mjs +36 -0
  20. package/dist/components/ui/progress.js +6 -7
  21. package/dist/components/ui/progress.mjs +1 -1
  22. package/dist/components/ui/stage-timeline.js +6 -7
  23. package/dist/components/ui/stage-timeline.mjs +2 -2
  24. package/dist/index.js +4034 -3258
  25. package/dist/index.mjs +24 -6
  26. package/dist/styles.css +1 -1
  27. package/package.json +10 -5
  28. package/src/components/index.tsx +30 -0
  29. package/src/components/ui/policy-ai/index.tsx +41 -0
  30. package/src/components/ui/policy-ai/policy-ai-panel.tsx +526 -0
  31. package/src/components/ui/policy-ai/policy-ai-primitives.tsx +332 -0
  32. package/src/components/ui/policy-ai/policy-ai-responses.tsx +543 -0
  33. package/src/components/ui/progress.tsx +15 -12
  34. package/src/styles/styles-css.ts +1 -1
  35. package/tsup.config.ts +2 -1
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  LeadCard,
3
3
  OpportunityCard
4
- } from "./chunk-DSVKEVX6.mjs";
4
+ } from "./chunk-CZOGJC76.mjs";
5
5
  import {
6
6
  Tooltip,
7
7
  TooltipContent,
@@ -408,25 +408,24 @@ var import_jsx_runtime4 = require("react/jsx-runtime");
408
408
  function Progress(_a) {
409
409
  var _b = _a, {
410
410
  className,
411
- value
411
+ value,
412
+ indicatorClassName
412
413
  } = _b, props = __objRest(_b, [
413
414
  "className",
414
- "value"
415
+ "value",
416
+ "indicatorClassName"
415
417
  ]);
416
418
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
417
419
  import_progress.Progress.Root,
418
420
  __spreadProps(__spreadValues({
419
- className: cn(
420
- "relative h-2 w-full overflow-hidden bg-muted",
421
- className
422
- ),
421
+ className: cn("relative h-2 w-full overflow-hidden bg-muted", className),
423
422
  "data-slot": "progress",
424
423
  value
425
424
  }, props), {
426
425
  children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_progress.Progress.Track, { className: "h-full", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
427
426
  import_progress.Progress.Indicator,
428
427
  {
429
- className: "h-full bg-primary transition-all",
428
+ className: cn("h-full bg-primary transition-all", indicatorClassName),
430
429
  "data-slot": "progress-indicator"
431
430
  }
432
431
  ) })
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  FilePreviewDialog
3
- } from "../../chunk-ULQ53FRJ.mjs";
4
- import "../../chunk-JPGL36WQ.mjs";
3
+ } from "../../chunk-7NQKFPXE.mjs";
4
+ import "../../chunk-FL7DEYUA.mjs";
5
5
  import "../../chunk-GTAVSBDO.mjs";
6
6
  import "../../chunk-3S6KVFF5.mjs";
7
7
  import "../../chunk-GT3RU6GA.mjs";
@@ -697,25 +697,24 @@ var import_jsx_runtime11 = require("react/jsx-runtime");
697
697
  function Progress(_a) {
698
698
  var _b = _a, {
699
699
  className,
700
- value
700
+ value,
701
+ indicatorClassName
701
702
  } = _b, props = __objRest(_b, [
702
703
  "className",
703
- "value"
704
+ "value",
705
+ "indicatorClassName"
704
706
  ]);
705
707
  return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
706
708
  import_progress.Progress.Root,
707
709
  __spreadProps(__spreadValues({
708
- className: cn(
709
- "relative h-2 w-full overflow-hidden bg-muted",
710
- className
711
- ),
710
+ className: cn("relative h-2 w-full overflow-hidden bg-muted", className),
712
711
  "data-slot": "progress",
713
712
  value
714
713
  }, props), {
715
714
  children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_progress.Progress.Track, { className: "h-full", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
716
715
  import_progress.Progress.Indicator,
717
716
  {
718
- className: "h-full bg-primary transition-all",
717
+ className: cn("h-full bg-primary transition-all", indicatorClassName),
719
718
  "data-slot": "progress-indicator"
720
719
  }
721
720
  ) })
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  KanbanColumn
3
- } from "../../chunk-OG2VM34K.mjs";
4
- import "../../chunk-DSVKEVX6.mjs";
3
+ } from "../../chunk-MHBQJVHE.mjs";
4
+ import "../../chunk-CZOGJC76.mjs";
5
5
  import "../../chunk-L6LE4OIM.mjs";
6
- import "../../chunk-JPGL36WQ.mjs";
6
+ import "../../chunk-FL7DEYUA.mjs";
7
7
  import "../../chunk-3S6KVFF5.mjs";
8
8
  import "../../chunk-PNSYFE3K.mjs";
9
9
  import "../../chunk-IKXYTCSB.mjs";
@@ -667,25 +667,24 @@ var import_jsx_runtime10 = require("react/jsx-runtime");
667
667
  function Progress(_a) {
668
668
  var _b = _a, {
669
669
  className,
670
- value
670
+ value,
671
+ indicatorClassName
671
672
  } = _b, props = __objRest(_b, [
672
673
  "className",
673
- "value"
674
+ "value",
675
+ "indicatorClassName"
674
676
  ]);
675
677
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
676
678
  import_progress.Progress.Root,
677
679
  __spreadProps(__spreadValues({
678
- className: cn(
679
- "relative h-2 w-full overflow-hidden bg-muted",
680
- className
681
- ),
680
+ className: cn("relative h-2 w-full overflow-hidden bg-muted", className),
682
681
  "data-slot": "progress",
683
682
  value
684
683
  }, props), {
685
684
  children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_progress.Progress.Track, { className: "h-full", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
686
685
  import_progress.Progress.Indicator,
687
686
  {
688
- className: "h-full bg-primary transition-all",
687
+ className: cn("h-full bg-primary transition-all", indicatorClassName),
689
688
  "data-slot": "progress-indicator"
690
689
  }
691
690
  ) })
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  LeadCard,
3
3
  OpportunityCard
4
- } from "../../chunk-DSVKEVX6.mjs";
4
+ } from "../../chunk-CZOGJC76.mjs";
5
5
  import "../../chunk-L6LE4OIM.mjs";
6
- import "../../chunk-JPGL36WQ.mjs";
6
+ import "../../chunk-FL7DEYUA.mjs";
7
7
  import "../../chunk-PNSYFE3K.mjs";
8
8
  import "../../chunk-IKXYTCSB.mjs";
9
9
  import "../../chunk-H5DTKPJ2.mjs";
@@ -827,25 +827,24 @@ var import_jsx_runtime14 = require("react/jsx-runtime");
827
827
  function Progress(_a) {
828
828
  var _b = _a, {
829
829
  className,
830
- value
830
+ value,
831
+ indicatorClassName
831
832
  } = _b, props = __objRest(_b, [
832
833
  "className",
833
- "value"
834
+ "value",
835
+ "indicatorClassName"
834
836
  ]);
835
837
  return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
836
838
  import_progress.Progress.Root,
837
839
  __spreadProps(__spreadValues({
838
- className: cn(
839
- "relative h-2 w-full overflow-hidden bg-muted",
840
- className
841
- ),
840
+ className: cn("relative h-2 w-full overflow-hidden bg-muted", className),
842
841
  "data-slot": "progress",
843
842
  value
844
843
  }, props), {
845
844
  children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_progress.Progress.Track, { className: "h-full", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
846
845
  import_progress.Progress.Indicator,
847
846
  {
848
- className: "h-full bg-primary transition-all",
847
+ className: cn("h-full bg-primary transition-all", indicatorClassName),
849
848
  "data-slot": "progress-indicator"
850
849
  }
851
850
  ) })
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PipelineBoard
3
- } from "../../chunk-2CHH5QOA.mjs";
4
- import "../../chunk-OG2VM34K.mjs";
5
- import "../../chunk-DSVKEVX6.mjs";
3
+ } from "../../chunk-FQUT5XD6.mjs";
4
+ import "../../chunk-MHBQJVHE.mjs";
5
+ import "../../chunk-CZOGJC76.mjs";
6
6
  import "../../chunk-L6LE4OIM.mjs";
7
- import "../../chunk-JPGL36WQ.mjs";
7
+ import "../../chunk-FL7DEYUA.mjs";
8
8
  import "../../chunk-3S6KVFF5.mjs";
9
9
  import "../../chunk-PNSYFE3K.mjs";
10
10
  import "../../chunk-IKXYTCSB.mjs";