@wealthx/shadcn 1.5.18 → 1.5.20

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 (121) hide show
  1. package/.turbo/turbo-build.log +148 -148
  2. package/CHANGELOG.md +12 -0
  3. package/dist/{chunk-PUGQVHQL.mjs → chunk-2SDEURIQ.mjs} +2 -2
  4. package/dist/{chunk-STDCXTUU.mjs → chunk-3S4XQTAL.mjs} +2 -2
  5. package/dist/{chunk-ANERULZS.mjs → chunk-4UCRTTVL.mjs} +1 -1
  6. package/dist/{chunk-6LWCFAB4.mjs → chunk-57QES5LX.mjs} +1 -1
  7. package/dist/{chunk-KICT4VQL.mjs → chunk-5G2M45CA.mjs} +1 -1
  8. package/dist/{chunk-K3XP5ETH.mjs → chunk-66NM4AX2.mjs} +2 -2
  9. package/dist/{chunk-LWYMZHN7.mjs → chunk-6HTE24TP.mjs} +3 -3
  10. package/dist/{chunk-SSUK6C2K.mjs → chunk-6WRDXE7A.mjs} +1 -1
  11. package/dist/{chunk-RPOIXMHW.mjs → chunk-AADJ5IT6.mjs} +1 -1
  12. package/dist/{chunk-DKH35J4U.mjs → chunk-BWG7AX6X.mjs} +2 -2
  13. package/dist/{chunk-UBHBIWIA.mjs → chunk-DK55HZPN.mjs} +2 -2
  14. package/dist/{chunk-2UA4CPE5.mjs → chunk-DWJHPNFL.mjs} +1 -1
  15. package/dist/{chunk-ZAXZBOWI.mjs → chunk-EHQ35FYA.mjs} +4 -1
  16. package/dist/{chunk-WZFBLRNP.mjs → chunk-ETT5JAXF.mjs} +2 -2
  17. package/dist/{chunk-L7IZ3YHI.mjs → chunk-F3MIRXRF.mjs} +2 -2
  18. package/dist/{chunk-G7YCLJ53.mjs → chunk-G6RCC2SF.mjs} +2 -2
  19. package/dist/{chunk-NCMV3LTP.mjs → chunk-H3PTREG6.mjs} +4 -1
  20. package/dist/{chunk-7II6QRCZ.mjs → chunk-H5NI6ZIU.mjs} +1 -1
  21. package/dist/{chunk-TUC2BNUR.mjs → chunk-IG7JBQZO.mjs} +2 -2
  22. package/dist/{chunk-GAXNO4JB.mjs → chunk-INGYBZGU.mjs} +1 -1
  23. package/dist/{chunk-UXWNUMQA.mjs → chunk-IT3QJF3D.mjs} +1 -1
  24. package/dist/{chunk-45V7X563.mjs → chunk-JGUC3KCA.mjs} +2 -2
  25. package/dist/{chunk-C4ESZLGT.mjs → chunk-K4GJTP6N.mjs} +1 -1
  26. package/dist/{chunk-USOVLDGS.mjs → chunk-K6VCC2MK.mjs} +13 -1
  27. package/dist/{chunk-5BU7TNB4.mjs → chunk-NEMWMXGL.mjs} +2 -2
  28. package/dist/{chunk-B3CTBLIY.mjs → chunk-NTIFG5A7.mjs} +2 -2
  29. package/dist/{chunk-33VT74R4.mjs → chunk-OFQFD2E2.mjs} +1 -1
  30. package/dist/{chunk-LI2CTS5O.mjs → chunk-OIETBBXQ.mjs} +4 -2
  31. package/dist/{chunk-TLLD5IU6.mjs → chunk-PSBQ4I3M.mjs} +1 -1
  32. package/dist/{chunk-XNX3XJ2F.mjs → chunk-QJ3RSZF4.mjs} +1 -1
  33. package/dist/{chunk-3NJPNSJG.mjs → chunk-RGHKARAK.mjs} +1 -1
  34. package/dist/{chunk-RFWP2325.mjs → chunk-RJHE3V4M.mjs} +1 -1
  35. package/dist/{chunk-SH5L5VG6.mjs → chunk-RVDBYV2B.mjs} +1 -1
  36. package/dist/{chunk-SU6TPDEU.mjs → chunk-SET6GFGL.mjs} +1 -1
  37. package/dist/{chunk-JJSA772M.mjs → chunk-WIDZVCH3.mjs} +1 -1
  38. package/dist/components/ui/add-column-modal.js +4 -2
  39. package/dist/components/ui/add-column-modal.mjs +2 -2
  40. package/dist/components/ui/add-lead-modal.js +13 -6
  41. package/dist/components/ui/add-lead-modal.mjs +4 -4
  42. package/dist/components/ui/ai-assistant-drawer.mjs +2 -2
  43. package/dist/components/ui/ai-builder.js +4 -2
  44. package/dist/components/ui/ai-builder.mjs +2 -2
  45. package/dist/components/ui/ai-conversations.js +4 -2
  46. package/dist/components/ui/ai-conversations.mjs +2 -2
  47. package/dist/components/ui/appointment-action-dialogs.js +4 -2
  48. package/dist/components/ui/appointment-action-dialogs.mjs +2 -2
  49. package/dist/components/ui/appointment-availability-settings.js +10 -3
  50. package/dist/components/ui/appointment-availability-settings.mjs +3 -3
  51. package/dist/components/ui/appointment-book-dialog.js +10 -3
  52. package/dist/components/ui/appointment-book-dialog.mjs +3 -3
  53. package/dist/components/ui/appointment-detail-sheet.js +4 -2
  54. package/dist/components/ui/appointment-detail-sheet.mjs +4 -4
  55. package/dist/components/ui/appointment-upcoming-card.js +4 -2
  56. package/dist/components/ui/appointment-upcoming-card.mjs +2 -2
  57. package/dist/components/ui/backoffice-signup-steps.js +6 -1
  58. package/dist/components/ui/backoffice-signup-steps.mjs +3 -3
  59. package/dist/components/ui/bank-statement-generate-dialog.js +13 -6
  60. package/dist/components/ui/bank-statement-generate-dialog.mjs +4 -4
  61. package/dist/components/ui/bank-statement-pdf-viewer.js +4 -2
  62. package/dist/components/ui/bank-statement-pdf-viewer.mjs +2 -2
  63. package/dist/components/ui/category-edit-dialog.js +4 -2
  64. package/dist/components/ui/category-edit-dialog.mjs +2 -2
  65. package/dist/components/ui/contact-alert-dialog/index.js +22 -15
  66. package/dist/components/ui/contact-alert-dialog/index.mjs +3 -3
  67. package/dist/components/ui/create-contact-modal.js +25 -18
  68. package/dist/components/ui/create-contact-modal.mjs +3 -3
  69. package/dist/components/ui/csv-import-modal.js +4 -2
  70. package/dist/components/ui/csv-import-modal.mjs +2 -2
  71. package/dist/components/ui/dashboard-transactions-table.js +4 -2
  72. package/dist/components/ui/dashboard-transactions-table.mjs +2 -2
  73. package/dist/components/ui/data-table.js +13 -8
  74. package/dist/components/ui/data-table.mjs +3 -3
  75. package/dist/components/ui/dialog.js +4 -2
  76. package/dist/components/ui/dialog.mjs +1 -1
  77. package/dist/components/ui/document-checklist-template.js +6 -1
  78. package/dist/components/ui/document-checklist-template.mjs +2 -2
  79. package/dist/components/ui/drawer.js +4 -1
  80. package/dist/components/ui/drawer.mjs +1 -1
  81. package/dist/components/ui/file-preview-dialog.js +13 -6
  82. package/dist/components/ui/file-preview-dialog.mjs +3 -3
  83. package/dist/components/ui/financial-drawers.mjs +2 -2
  84. package/dist/components/ui/frontend-signup-steps.js +4 -0
  85. package/dist/components/ui/frontend-signup-steps.mjs +3 -3
  86. package/dist/components/ui/opportunity-edit-modals.js +54 -47
  87. package/dist/components/ui/opportunity-edit-modals.mjs +3 -3
  88. package/dist/components/ui/opportunity-summary-tab.js +59 -52
  89. package/dist/components/ui/opportunity-summary-tab.mjs +4 -4
  90. package/dist/components/ui/pagination.js +6 -1
  91. package/dist/components/ui/pagination.mjs +2 -2
  92. package/dist/components/ui/pipeline-dialogs.js +24 -17
  93. package/dist/components/ui/pipeline-dialogs.mjs +3 -3
  94. package/dist/components/ui/property-report-dialog.js +4 -2
  95. package/dist/components/ui/property-report-dialog.mjs +2 -2
  96. package/dist/components/ui/resource-center/index.js +4 -2
  97. package/dist/components/ui/resource-center/index.mjs +2 -2
  98. package/dist/components/ui/review-alerts-dialog.js +4 -2
  99. package/dist/components/ui/review-alerts-dialog.mjs +2 -2
  100. package/dist/components/ui/savings-goal-modal.js +4 -2
  101. package/dist/components/ui/savings-goal-modal.mjs +1 -1
  102. package/dist/components/ui/scenario-drawer.mjs +1 -1
  103. package/dist/components/ui/select.js +24 -1
  104. package/dist/components/ui/select.mjs +3 -1
  105. package/dist/components/ui/share-details-dialog.js +4 -2
  106. package/dist/components/ui/share-details-dialog.mjs +2 -2
  107. package/dist/components/ui/sheet.js +4 -1
  108. package/dist/components/ui/sheet.mjs +1 -1
  109. package/dist/components/ui/signup-form-primitives.js +6 -1
  110. package/dist/components/ui/signup-form-primitives.mjs +2 -2
  111. package/dist/index.js +168 -147
  112. package/dist/index.mjs +36 -34
  113. package/dist/styles.css +1 -1
  114. package/package.json +1 -1
  115. package/src/components/index.tsx +2 -0
  116. package/src/components/ui/dialog.tsx +4 -2
  117. package/src/components/ui/drawer.tsx +4 -1
  118. package/src/components/ui/select.tsx +34 -1
  119. package/src/components/ui/sheet.tsx +4 -1
  120. package/src/styles/globals.css +6 -0
  121. package/src/styles/styles-css.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @wealthx/shadcn
2
2
 
3
+ ## 1.5.20
4
+
5
+ ### Patch Changes
6
+
7
+ - cb3ea5c: Update staff page UI, fix portal behavior of drawer
8
+
9
+ ## 1.5.19
10
+
11
+ ### Patch Changes
12
+
13
+ - 6fc8500: update footer button style of drawer and sheet
14
+
3
15
  ## 1.5.18
4
16
 
5
17
  ### Patch Changes
@@ -6,7 +6,7 @@ import {
6
6
  EditIncomeModal,
7
7
  EditLoanScenarioModal,
8
8
  PROPERTY_ASSET_TYPES
9
- } from "./chunk-45V7X563.mjs";
9
+ } from "./chunk-JGUC3KCA.mjs";
10
10
  import {
11
11
  AboutCard,
12
12
  DebtCard,
@@ -29,7 +29,7 @@ import {
29
29
  SelectContent,
30
30
  SelectItem,
31
31
  SelectTrigger
32
- } from "./chunk-USOVLDGS.mjs";
32
+ } from "./chunk-K6VCC2MK.mjs";
33
33
  import {
34
34
  Tabs,
35
35
  TabsContent,
@@ -3,7 +3,7 @@ import {
3
3
  PasswordField,
4
4
  SectionHeading,
5
5
  StaffRowItem
6
- } from "./chunk-2UA4CPE5.mjs";
6
+ } from "./chunk-DWJHPNFL.mjs";
7
7
  import {
8
8
  ColorPicker
9
9
  } from "./chunk-IW33VLL5.mjs";
@@ -24,7 +24,7 @@ import {
24
24
  SelectItem,
25
25
  SelectTrigger,
26
26
  SelectValue
27
- } from "./chunk-USOVLDGS.mjs";
27
+ } from "./chunk-K6VCC2MK.mjs";
28
28
  import {
29
29
  Tooltip,
30
30
  TooltipContent,
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-HK4HUQTV.mjs";
7
7
  import {
8
8
  FormField
9
- } from "./chunk-2UA4CPE5.mjs";
9
+ } from "./chunk-DWJHPNFL.mjs";
10
10
  import {
11
11
  AddressAutocomplete
12
12
  } from "./chunk-ET4MTPIY.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  SelectItem,
5
5
  SelectTrigger,
6
6
  SelectValue
7
- } from "./chunk-USOVLDGS.mjs";
7
+ } from "./chunk-K6VCC2MK.mjs";
8
8
  import {
9
9
  Switch
10
10
  } from "./chunk-PNSYFE3K.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  DialogContent,
4
4
  DialogHeader,
5
5
  DialogTitle
6
- } from "./chunk-LI2CTS5O.mjs";
6
+ } from "./chunk-OIETBBXQ.mjs";
7
7
  import {
8
8
  Badge
9
9
  } from "./chunk-X6RC5UWB.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  SelectItem,
5
5
  SelectTrigger,
6
6
  SelectValue
7
- } from "./chunk-USOVLDGS.mjs";
7
+ } from "./chunk-K6VCC2MK.mjs";
8
8
  import {
9
9
  Switch
10
10
  } from "./chunk-PNSYFE3K.mjs";
@@ -24,7 +24,7 @@ import {
24
24
  DialogFooter,
25
25
  DialogHeader,
26
26
  DialogTitle
27
- } from "./chunk-LI2CTS5O.mjs";
27
+ } from "./chunk-OIETBBXQ.mjs";
28
28
  import {
29
29
  DatePicker
30
30
  } from "./chunk-UMF6LLQK.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-KPGARKFC.mjs";
5
5
  import {
6
6
  PaginationNavButtons
7
- } from "./chunk-SSUK6C2K.mjs";
7
+ } from "./chunk-6WRDXE7A.mjs";
8
8
  import {
9
9
  Table,
10
10
  TableBody,
@@ -22,7 +22,7 @@ import {
22
22
  SelectItem,
23
23
  SelectTrigger,
24
24
  SelectValue
25
- } from "./chunk-USOVLDGS.mjs";
25
+ } from "./chunk-K6VCC2MK.mjs";
26
26
  import {
27
27
  Spinner
28
28
  } from "./chunk-JVMXMFBB.mjs";
@@ -32,7 +32,7 @@ import {
32
32
  DialogFooter,
33
33
  DialogHeader,
34
34
  DialogTitle
35
- } from "./chunk-LI2CTS5O.mjs";
35
+ } from "./chunk-OIETBBXQ.mjs";
36
36
  import {
37
37
  DatePicker
38
38
  } from "./chunk-UMF6LLQK.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  SelectItem,
5
5
  SelectTrigger,
6
6
  SelectValue
7
- } from "./chunk-USOVLDGS.mjs";
7
+ } from "./chunk-K6VCC2MK.mjs";
8
8
  import {
9
9
  Button,
10
10
  buttonVariants
@@ -16,7 +16,7 @@ import {
16
16
  DialogFooter,
17
17
  DialogHeader,
18
18
  DialogTitle
19
- } from "./chunk-LI2CTS5O.mjs";
19
+ } from "./chunk-OIETBBXQ.mjs";
20
20
  import {
21
21
  Label
22
22
  } from "./chunk-LSRGA5BI.mjs";
@@ -7,7 +7,7 @@ import {
7
7
  SelectItem,
8
8
  SelectTrigger,
9
9
  SelectValue
10
- } from "./chunk-USOVLDGS.mjs";
10
+ } from "./chunk-K6VCC2MK.mjs";
11
11
  import {
12
12
  Spinner
13
13
  } from "./chunk-JVMXMFBB.mjs";
@@ -17,7 +17,7 @@ import {
17
17
  DialogFooter,
18
18
  DialogHeader,
19
19
  DialogTitle
20
- } from "./chunk-LI2CTS5O.mjs";
20
+ } from "./chunk-OIETBBXQ.mjs";
21
21
  import {
22
22
  Label
23
23
  } from "./chunk-LSRGA5BI.mjs";
@@ -18,7 +18,7 @@ import {
18
18
  SelectItem,
19
19
  SelectTrigger,
20
20
  SelectValue
21
- } from "./chunk-USOVLDGS.mjs";
21
+ } from "./chunk-K6VCC2MK.mjs";
22
22
  import {
23
23
  Spinner
24
24
  } from "./chunk-JVMXMFBB.mjs";
@@ -34,7 +34,7 @@ import {
34
34
  DialogFooter,
35
35
  DialogHeader,
36
36
  DialogTitle
37
- } from "./chunk-LI2CTS5O.mjs";
37
+ } from "./chunk-OIETBBXQ.mjs";
38
38
  import {
39
39
  Button
40
40
  } from "./chunk-NOOEKOWY.mjs";
@@ -12,7 +12,7 @@ import {
12
12
  SelectItem,
13
13
  SelectTrigger,
14
14
  SelectValue
15
- } from "./chunk-USOVLDGS.mjs";
15
+ } from "./chunk-K6VCC2MK.mjs";
16
16
  import {
17
17
  Input
18
18
  } from "./chunk-LBTHZSBT.mjs";
@@ -106,7 +106,10 @@ function DrawerFooter(_a) {
106
106
  return /* @__PURE__ */ jsx(
107
107
  "div",
108
108
  __spreadValues({
109
- className: cn("mt-auto flex flex-col gap-2 p-4", className),
109
+ className: cn(
110
+ "mt-auto flex flex-row justify-end gap-2 border-t border-border p-4",
111
+ className
112
+ ),
110
113
  "data-slot": "drawer-footer"
111
114
  }, props)
112
115
  );
@@ -3,7 +3,7 @@ import {
3
3
  SelectContent,
4
4
  SelectItem,
5
5
  SelectTrigger
6
- } from "./chunk-USOVLDGS.mjs";
6
+ } from "./chunk-K6VCC2MK.mjs";
7
7
  import {
8
8
  Dialog,
9
9
  DialogContent,
@@ -11,7 +11,7 @@ import {
11
11
  DialogFooter,
12
12
  DialogHeader,
13
13
  DialogTitle
14
- } from "./chunk-LI2CTS5O.mjs";
14
+ } from "./chunk-OIETBBXQ.mjs";
15
15
  import {
16
16
  DatePicker
17
17
  } from "./chunk-UMF6LLQK.mjs";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  AppointmentConfirmDialog,
3
3
  AppointmentRescheduleDialog
4
- } from "./chunk-SU6TPDEU.mjs";
4
+ } from "./chunk-SET6GFGL.mjs";
5
5
  import {
6
6
  Sheet,
7
7
  SheetContent
8
- } from "./chunk-NCMV3LTP.mjs";
8
+ } from "./chunk-H3PTREG6.mjs";
9
9
  import {
10
10
  Separator
11
11
  } from "./chunk-2GIYVERS.mjs";
@@ -17,14 +17,14 @@ import {
17
17
  SelectItem,
18
18
  SelectTrigger,
19
19
  SelectValue
20
- } from "./chunk-USOVLDGS.mjs";
20
+ } from "./chunk-K6VCC2MK.mjs";
21
21
  import {
22
22
  Dialog,
23
23
  DialogContent,
24
24
  DialogFooter,
25
25
  DialogHeader,
26
26
  DialogTitle
27
- } from "./chunk-LI2CTS5O.mjs";
27
+ } from "./chunk-OIETBBXQ.mjs";
28
28
  import {
29
29
  Label
30
30
  } from "./chunk-LSRGA5BI.mjs";
@@ -114,7 +114,10 @@ function SheetFooter(_a) {
114
114
  return /* @__PURE__ */ jsx(
115
115
  "div",
116
116
  __spreadValues({
117
- className: cn("mt-auto flex flex-col gap-2 p-4", className),
117
+ className: cn(
118
+ "mt-auto flex flex-row justify-end gap-2 border-t border-border p-4",
119
+ className
120
+ ),
118
121
  "data-slot": "sheet-footer"
119
122
  }, props)
120
123
  );
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Sheet,
3
3
  SheetContent
4
- } from "./chunk-NCMV3LTP.mjs";
4
+ } from "./chunk-H3PTREG6.mjs";
5
5
  import {
6
6
  Spinner
7
7
  } from "./chunk-JVMXMFBB.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GTAVSBDO.mjs";
4
4
  import {
5
5
  PaginationNavButtons
6
- } from "./chunk-SSUK6C2K.mjs";
6
+ } from "./chunk-6WRDXE7A.mjs";
7
7
  import {
8
8
  Table,
9
9
  TableBody,
@@ -21,7 +21,7 @@ import {
21
21
  SelectItem,
22
22
  SelectTrigger,
23
23
  SelectValue
24
- } from "./chunk-USOVLDGS.mjs";
24
+ } from "./chunk-K6VCC2MK.mjs";
25
25
  import {
26
26
  DropdownMenu,
27
27
  DropdownMenuCheckboxItem,
@@ -12,7 +12,7 @@ import {
12
12
  DialogFooter,
13
13
  DialogHeader,
14
14
  DialogTitle
15
- } from "./chunk-LI2CTS5O.mjs";
15
+ } from "./chunk-OIETBBXQ.mjs";
16
16
  import {
17
17
  Avatar,
18
18
  AvatarFallback,
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  Dialog,
6
6
  DialogContent
7
- } from "./chunk-LI2CTS5O.mjs";
7
+ } from "./chunk-OIETBBXQ.mjs";
8
8
  import {
9
9
  Button
10
10
  } from "./chunk-NOOEKOWY.mjs";
@@ -19,7 +19,7 @@ import {
19
19
  SelectItem,
20
20
  SelectTrigger,
21
21
  SelectValue
22
- } from "./chunk-USOVLDGS.mjs";
22
+ } from "./chunk-K6VCC2MK.mjs";
23
23
  import {
24
24
  Textarea
25
25
  } from "./chunk-BS75ICOO.mjs";
@@ -29,7 +29,7 @@ import {
29
29
  DialogFooter,
30
30
  DialogHeader,
31
31
  DialogTitle
32
- } from "./chunk-LI2CTS5O.mjs";
32
+ } from "./chunk-OIETBBXQ.mjs";
33
33
  import {
34
34
  DatePicker
35
35
  } from "./chunk-UMF6LLQK.mjs";
@@ -29,7 +29,7 @@ import {
29
29
  DialogFooter,
30
30
  DialogHeader,
31
31
  DialogTitle
32
- } from "./chunk-LI2CTS5O.mjs";
32
+ } from "./chunk-OIETBBXQ.mjs";
33
33
  import {
34
34
  Avatar,
35
35
  AvatarFallback
@@ -11,9 +11,19 @@ import {
11
11
  } from "./chunk-WNQUEZJF.mjs";
12
12
 
13
13
  // src/components/ui/select.tsx
14
+ import * as React from "react";
14
15
  import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
15
16
  import { Select as SelectPrimitive } from "@base-ui/react/select";
16
17
  import { jsx, jsxs } from "react/jsx-runtime";
18
+ var SelectPortalContext = React.createContext(
19
+ void 0
20
+ );
21
+ function SelectPortalProvider({
22
+ container,
23
+ children
24
+ }) {
25
+ return /* @__PURE__ */ jsx(SelectPortalContext.Provider, { value: container, children });
26
+ }
17
27
  function Select(_a) {
18
28
  var props = __objRest(_a, []);
19
29
  return /* @__PURE__ */ jsx(SelectPrimitive.Root, __spreadValues({ "data-slot": "select" }, props));
@@ -64,7 +74,8 @@ function SelectContent(_a) {
64
74
  "style"
65
75
  ]);
66
76
  const themeVars = useThemeVars();
67
- return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx(
77
+ const portalContainer = React.useContext(SelectPortalContext);
78
+ return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx(
68
79
  SelectPrimitive.Positioner,
69
80
  {
70
81
  className: "z-[200]",
@@ -190,6 +201,7 @@ function SelectScrollDownButton(_a) {
190
201
  }
191
202
 
192
203
  export {
204
+ SelectPortalProvider,
193
205
  Select,
194
206
  SelectGroup,
195
207
  SelectValue,
@@ -15,7 +15,7 @@ import {
15
15
  SelectItem,
16
16
  SelectTrigger,
17
17
  SelectValue
18
- } from "./chunk-USOVLDGS.mjs";
18
+ } from "./chunk-K6VCC2MK.mjs";
19
19
  import {
20
20
  Separator
21
21
  } from "./chunk-2GIYVERS.mjs";
@@ -30,7 +30,7 @@ import {
30
30
  DialogFooter,
31
31
  DialogHeader,
32
32
  DialogTitle
33
- } from "./chunk-LI2CTS5O.mjs";
33
+ } from "./chunk-OIETBBXQ.mjs";
34
34
  import {
35
35
  Avatar,
36
36
  AvatarFallback
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TablePagination
3
- } from "./chunk-SSUK6C2K.mjs";
3
+ } from "./chunk-6WRDXE7A.mjs";
4
4
  import {
5
5
  Table,
6
6
  TableBody,
@@ -21,7 +21,7 @@ import {
21
21
  DialogFooter,
22
22
  DialogHeader,
23
23
  DialogTitle
24
- } from "./chunk-LI2CTS5O.mjs";
24
+ } from "./chunk-OIETBBXQ.mjs";
25
25
  import {
26
26
  Input
27
27
  } from "./chunk-LBTHZSBT.mjs";
@@ -6,7 +6,7 @@ import {
6
6
  DialogContent,
7
7
  DialogHeader,
8
8
  DialogTitle
9
- } from "./chunk-LI2CTS5O.mjs";
9
+ } from "./chunk-OIETBBXQ.mjs";
10
10
  import {
11
11
  Input
12
12
  } from "./chunk-LBTHZSBT.mjs";
@@ -44,7 +44,7 @@ function DialogOverlay(_a) {
44
44
  __spreadValues({
45
45
  className: cn(
46
46
  // WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
47
- "fixed inset-0 z-50 bg-foreground/50 data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
47
+ "fixed inset-0 z-50 bg-foreground/50 pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
48
48
  className
49
49
  ),
50
50
  "data-slot": "dialog-overlay"
@@ -95,7 +95,9 @@ function DialogContent(_a) {
95
95
  // max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
96
96
  // Fixed max-width is applied via inline style (sizeStyle) to avoid
97
97
  // Tailwind v4 class-scanning gaps with dynamic class lookups.
98
- "fixed left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] gap-4 border bg-background p-6 duration-200 outline-none data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
98
+ // pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
99
+ // when open — dialog portals to body and must override that on its own element.
100
+ "fixed left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] gap-4 border bg-background p-6 duration-200 outline-none pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
99
101
  // "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
100
102
  isAuto ? "w-auto" : "w-full",
101
103
  align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Sheet,
3
3
  SheetContent
4
- } from "./chunk-NCMV3LTP.mjs";
4
+ } from "./chunk-H3PTREG6.mjs";
5
5
  import {
6
6
  Spinner
7
7
  } from "./chunk-JVMXMFBB.mjs";
@@ -7,7 +7,7 @@ import {
7
7
  DialogFooter,
8
8
  DialogHeader,
9
9
  DialogTitle
10
- } from "./chunk-LI2CTS5O.mjs";
10
+ } from "./chunk-OIETBBXQ.mjs";
11
11
  import {
12
12
  Label
13
13
  } from "./chunk-LSRGA5BI.mjs";
@@ -7,7 +7,7 @@ import {
7
7
  DialogFooter,
8
8
  DialogHeader,
9
9
  DialogTitle
10
- } from "./chunk-LI2CTS5O.mjs";
10
+ } from "./chunk-OIETBBXQ.mjs";
11
11
  import {
12
12
  Button
13
13
  } from "./chunk-NOOEKOWY.mjs";
@@ -28,7 +28,7 @@ import {
28
28
  DialogFooter,
29
29
  DialogHeader,
30
30
  DialogTitle
31
- } from "./chunk-LI2CTS5O.mjs";
31
+ } from "./chunk-OIETBBXQ.mjs";
32
32
  import {
33
33
  Input
34
34
  } from "./chunk-LBTHZSBT.mjs";
@@ -7,7 +7,7 @@ import {
7
7
  DialogFooter,
8
8
  DialogHeader,
9
9
  DialogTitle
10
- } from "./chunk-LI2CTS5O.mjs";
10
+ } from "./chunk-OIETBBXQ.mjs";
11
11
  import {
12
12
  Label
13
13
  } from "./chunk-LSRGA5BI.mjs";
@@ -15,7 +15,7 @@ import {
15
15
  DialogFooter,
16
16
  DialogHeader,
17
17
  DialogTitle
18
- } from "./chunk-LI2CTS5O.mjs";
18
+ } from "./chunk-OIETBBXQ.mjs";
19
19
  import {
20
20
  AlertDialog,
21
21
  AlertDialogAction,
@@ -15,7 +15,7 @@ import {
15
15
  DialogFooter,
16
16
  DialogHeader,
17
17
  DialogTitle
18
- } from "./chunk-LI2CTS5O.mjs";
18
+ } from "./chunk-OIETBBXQ.mjs";
19
19
  import {
20
20
  Avatar,
21
21
  AvatarFallback
@@ -263,7 +263,7 @@ function DialogOverlay(_a) {
263
263
  __spreadValues({
264
264
  className: cn(
265
265
  // WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
266
- "fixed inset-0 z-50 bg-foreground/50 data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
266
+ "fixed inset-0 z-50 bg-foreground/50 pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
267
267
  className
268
268
  ),
269
269
  "data-slot": "dialog-overlay"
@@ -314,7 +314,9 @@ function DialogContent(_a) {
314
314
  // max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
315
315
  // Fixed max-width is applied via inline style (sizeStyle) to avoid
316
316
  // Tailwind v4 class-scanning gaps with dynamic class lookups.
317
- "fixed left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] gap-4 border bg-background p-6 duration-200 outline-none data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
317
+ // pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
318
+ // when open — dialog portals to body and must override that on its own element.
319
+ "fixed left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] gap-4 border bg-background p-6 duration-200 outline-none pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
318
320
  // "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
319
321
  isAuto ? "w-auto" : "w-full",
320
322
  align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  AddColumnModal
3
- } from "../../chunk-XNX3XJ2F.mjs";
3
+ } from "../../chunk-QJ3RSZF4.mjs";
4
4
  import "../../chunk-2GIYVERS.mjs";
5
- import "../../chunk-LI2CTS5O.mjs";
5
+ import "../../chunk-OIETBBXQ.mjs";
6
6
  import "../../chunk-LSRGA5BI.mjs";
7
7
  import "../../chunk-LBTHZSBT.mjs";
8
8
  import "../../chunk-XYSRRDBH.mjs";
@@ -62,7 +62,7 @@ __export(add_lead_modal_exports, {
62
62
  AddLeadModal: () => AddLeadModal
63
63
  });
64
64
  module.exports = __toCommonJS(add_lead_modal_exports);
65
- var React3 = __toESM(require("react"));
65
+ var React4 = __toESM(require("react"));
66
66
  var import_lucide_react7 = require("lucide-react");
67
67
 
68
68
  // src/components/ui/dialog.tsx
@@ -263,7 +263,7 @@ function DialogOverlay(_a) {
263
263
  __spreadValues({
264
264
  className: cn(
265
265
  // WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
266
- "fixed inset-0 z-50 bg-foreground/50 data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
266
+ "fixed inset-0 z-50 bg-foreground/50 pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0",
267
267
  className
268
268
  ),
269
269
  "data-slot": "dialog-overlay"
@@ -314,7 +314,9 @@ function DialogContent(_a) {
314
314
  // max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
315
315
  // Fixed max-width is applied via inline style (sizeStyle) to avoid
316
316
  // Tailwind v4 class-scanning gaps with dynamic class lookups.
317
- "fixed left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] gap-4 border bg-background p-6 duration-200 outline-none data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
317
+ // pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
318
+ // when open — dialog portals to body and must override that on its own element.
319
+ "fixed left-[50%] z-50 grid max-w-[calc(100%-2rem)] translate-x-[-50%] gap-4 border bg-background p-6 duration-200 outline-none pointer-events-auto data-ending-style:animate-out data-ending-style:fade-out-0 data-ending-style:zoom-out-95 data-ending-style:fill-mode-forwards data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95",
318
320
  // "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
319
321
  isAuto ? "w-auto" : "w-full",
320
322
  align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
@@ -574,9 +576,13 @@ function TableCell(_a) {
574
576
  var import_lucide_react6 = require("lucide-react");
575
577
 
576
578
  // src/components/ui/select.tsx
579
+ var React3 = __toESM(require("react"));
577
580
  var import_lucide_react5 = require("lucide-react");
578
581
  var import_select = require("@base-ui/react/select");
579
582
  var import_jsx_runtime8 = require("react/jsx-runtime");
583
+ var SelectPortalContext = React3.createContext(
584
+ void 0
585
+ );
580
586
  function Select(_a) {
581
587
  var props = __objRest(_a, []);
582
588
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_select.Select.Root, __spreadValues({ "data-slot": "select" }, props));
@@ -623,7 +629,8 @@ function SelectContent(_a) {
623
629
  "style"
624
630
  ]);
625
631
  const themeVars = useThemeVars();
626
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
632
+ const portalContainer = React3.useContext(SelectPortalContext);
633
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_select.Select.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
627
634
  import_select.Select.Positioner,
628
635
  {
629
636
  className: "z-[200]",
@@ -870,8 +877,8 @@ function AddLeadModal({
870
877
  onAdd,
871
878
  className
872
879
  }) {
873
- const [selectedIds, setSelectedIds] = React3.useState(/* @__PURE__ */ new Set());
874
- React3.useEffect(() => {
880
+ const [selectedIds, setSelectedIds] = React4.useState(/* @__PURE__ */ new Set());
881
+ React4.useEffect(() => {
875
882
  if (open) setSelectedIds(/* @__PURE__ */ new Set());
876
883
  }, [open]);
877
884
  const allPageSelected = contacts.length > 0 && contacts.every((c) => selectedIds.has(c.id));
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  AddLeadModal
3
- } from "../../chunk-B3CTBLIY.mjs";
4
- import "../../chunk-SSUK6C2K.mjs";
3
+ } from "../../chunk-NTIFG5A7.mjs";
4
+ import "../../chunk-6WRDXE7A.mjs";
5
5
  import "../../chunk-GT3RU6GA.mjs";
6
6
  import "../../chunk-IKXYTCSB.mjs";
7
- import "../../chunk-USOVLDGS.mjs";
7
+ import "../../chunk-K6VCC2MK.mjs";
8
8
  import "../../chunk-JVMXMFBB.mjs";
9
- import "../../chunk-LI2CTS5O.mjs";
9
+ import "../../chunk-OIETBBXQ.mjs";
10
10
  import "../../chunk-LBTHZSBT.mjs";
11
11
  import "../../chunk-XYSRRDBH.mjs";
12
12
  import "../../chunk-FRCTOAKZ.mjs";