@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.
- package/.turbo/turbo-build.log +148 -148
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-PUGQVHQL.mjs → chunk-2SDEURIQ.mjs} +2 -2
- package/dist/{chunk-STDCXTUU.mjs → chunk-3S4XQTAL.mjs} +2 -2
- package/dist/{chunk-ANERULZS.mjs → chunk-4UCRTTVL.mjs} +1 -1
- package/dist/{chunk-6LWCFAB4.mjs → chunk-57QES5LX.mjs} +1 -1
- package/dist/{chunk-KICT4VQL.mjs → chunk-5G2M45CA.mjs} +1 -1
- package/dist/{chunk-K3XP5ETH.mjs → chunk-66NM4AX2.mjs} +2 -2
- package/dist/{chunk-LWYMZHN7.mjs → chunk-6HTE24TP.mjs} +3 -3
- package/dist/{chunk-SSUK6C2K.mjs → chunk-6WRDXE7A.mjs} +1 -1
- package/dist/{chunk-RPOIXMHW.mjs → chunk-AADJ5IT6.mjs} +1 -1
- package/dist/{chunk-DKH35J4U.mjs → chunk-BWG7AX6X.mjs} +2 -2
- package/dist/{chunk-UBHBIWIA.mjs → chunk-DK55HZPN.mjs} +2 -2
- package/dist/{chunk-2UA4CPE5.mjs → chunk-DWJHPNFL.mjs} +1 -1
- package/dist/{chunk-ZAXZBOWI.mjs → chunk-EHQ35FYA.mjs} +4 -1
- package/dist/{chunk-WZFBLRNP.mjs → chunk-ETT5JAXF.mjs} +2 -2
- package/dist/{chunk-L7IZ3YHI.mjs → chunk-F3MIRXRF.mjs} +2 -2
- package/dist/{chunk-G7YCLJ53.mjs → chunk-G6RCC2SF.mjs} +2 -2
- package/dist/{chunk-NCMV3LTP.mjs → chunk-H3PTREG6.mjs} +4 -1
- package/dist/{chunk-7II6QRCZ.mjs → chunk-H5NI6ZIU.mjs} +1 -1
- package/dist/{chunk-TUC2BNUR.mjs → chunk-IG7JBQZO.mjs} +2 -2
- package/dist/{chunk-GAXNO4JB.mjs → chunk-INGYBZGU.mjs} +1 -1
- package/dist/{chunk-UXWNUMQA.mjs → chunk-IT3QJF3D.mjs} +1 -1
- package/dist/{chunk-45V7X563.mjs → chunk-JGUC3KCA.mjs} +2 -2
- package/dist/{chunk-C4ESZLGT.mjs → chunk-K4GJTP6N.mjs} +1 -1
- package/dist/{chunk-USOVLDGS.mjs → chunk-K6VCC2MK.mjs} +13 -1
- package/dist/{chunk-5BU7TNB4.mjs → chunk-NEMWMXGL.mjs} +2 -2
- package/dist/{chunk-B3CTBLIY.mjs → chunk-NTIFG5A7.mjs} +2 -2
- package/dist/{chunk-33VT74R4.mjs → chunk-OFQFD2E2.mjs} +1 -1
- package/dist/{chunk-LI2CTS5O.mjs → chunk-OIETBBXQ.mjs} +4 -2
- package/dist/{chunk-TLLD5IU6.mjs → chunk-PSBQ4I3M.mjs} +1 -1
- package/dist/{chunk-XNX3XJ2F.mjs → chunk-QJ3RSZF4.mjs} +1 -1
- package/dist/{chunk-3NJPNSJG.mjs → chunk-RGHKARAK.mjs} +1 -1
- package/dist/{chunk-RFWP2325.mjs → chunk-RJHE3V4M.mjs} +1 -1
- package/dist/{chunk-SH5L5VG6.mjs → chunk-RVDBYV2B.mjs} +1 -1
- package/dist/{chunk-SU6TPDEU.mjs → chunk-SET6GFGL.mjs} +1 -1
- package/dist/{chunk-JJSA772M.mjs → chunk-WIDZVCH3.mjs} +1 -1
- package/dist/components/ui/add-column-modal.js +4 -2
- package/dist/components/ui/add-column-modal.mjs +2 -2
- package/dist/components/ui/add-lead-modal.js +13 -6
- package/dist/components/ui/add-lead-modal.mjs +4 -4
- package/dist/components/ui/ai-assistant-drawer.mjs +2 -2
- package/dist/components/ui/ai-builder.js +4 -2
- package/dist/components/ui/ai-builder.mjs +2 -2
- package/dist/components/ui/ai-conversations.js +4 -2
- package/dist/components/ui/ai-conversations.mjs +2 -2
- package/dist/components/ui/appointment-action-dialogs.js +4 -2
- package/dist/components/ui/appointment-action-dialogs.mjs +2 -2
- package/dist/components/ui/appointment-availability-settings.js +10 -3
- package/dist/components/ui/appointment-availability-settings.mjs +3 -3
- package/dist/components/ui/appointment-book-dialog.js +10 -3
- package/dist/components/ui/appointment-book-dialog.mjs +3 -3
- package/dist/components/ui/appointment-detail-sheet.js +4 -2
- package/dist/components/ui/appointment-detail-sheet.mjs +4 -4
- package/dist/components/ui/appointment-upcoming-card.js +4 -2
- package/dist/components/ui/appointment-upcoming-card.mjs +2 -2
- package/dist/components/ui/backoffice-signup-steps.js +6 -1
- package/dist/components/ui/backoffice-signup-steps.mjs +3 -3
- package/dist/components/ui/bank-statement-generate-dialog.js +13 -6
- package/dist/components/ui/bank-statement-generate-dialog.mjs +4 -4
- package/dist/components/ui/bank-statement-pdf-viewer.js +4 -2
- package/dist/components/ui/bank-statement-pdf-viewer.mjs +2 -2
- package/dist/components/ui/category-edit-dialog.js +4 -2
- package/dist/components/ui/category-edit-dialog.mjs +2 -2
- package/dist/components/ui/contact-alert-dialog/index.js +22 -15
- package/dist/components/ui/contact-alert-dialog/index.mjs +3 -3
- package/dist/components/ui/create-contact-modal.js +25 -18
- package/dist/components/ui/create-contact-modal.mjs +3 -3
- package/dist/components/ui/csv-import-modal.js +4 -2
- package/dist/components/ui/csv-import-modal.mjs +2 -2
- package/dist/components/ui/dashboard-transactions-table.js +4 -2
- package/dist/components/ui/dashboard-transactions-table.mjs +2 -2
- package/dist/components/ui/data-table.js +13 -8
- package/dist/components/ui/data-table.mjs +3 -3
- package/dist/components/ui/dialog.js +4 -2
- package/dist/components/ui/dialog.mjs +1 -1
- package/dist/components/ui/document-checklist-template.js +6 -1
- package/dist/components/ui/document-checklist-template.mjs +2 -2
- package/dist/components/ui/drawer.js +4 -1
- package/dist/components/ui/drawer.mjs +1 -1
- package/dist/components/ui/file-preview-dialog.js +13 -6
- package/dist/components/ui/file-preview-dialog.mjs +3 -3
- package/dist/components/ui/financial-drawers.mjs +2 -2
- package/dist/components/ui/frontend-signup-steps.js +4 -0
- package/dist/components/ui/frontend-signup-steps.mjs +3 -3
- package/dist/components/ui/opportunity-edit-modals.js +54 -47
- package/dist/components/ui/opportunity-edit-modals.mjs +3 -3
- package/dist/components/ui/opportunity-summary-tab.js +59 -52
- package/dist/components/ui/opportunity-summary-tab.mjs +4 -4
- package/dist/components/ui/pagination.js +6 -1
- package/dist/components/ui/pagination.mjs +2 -2
- package/dist/components/ui/pipeline-dialogs.js +24 -17
- package/dist/components/ui/pipeline-dialogs.mjs +3 -3
- package/dist/components/ui/property-report-dialog.js +4 -2
- package/dist/components/ui/property-report-dialog.mjs +2 -2
- package/dist/components/ui/resource-center/index.js +4 -2
- package/dist/components/ui/resource-center/index.mjs +2 -2
- package/dist/components/ui/review-alerts-dialog.js +4 -2
- package/dist/components/ui/review-alerts-dialog.mjs +2 -2
- package/dist/components/ui/savings-goal-modal.js +4 -2
- package/dist/components/ui/savings-goal-modal.mjs +1 -1
- package/dist/components/ui/scenario-drawer.mjs +1 -1
- package/dist/components/ui/select.js +24 -1
- package/dist/components/ui/select.mjs +3 -1
- package/dist/components/ui/share-details-dialog.js +4 -2
- package/dist/components/ui/share-details-dialog.mjs +2 -2
- package/dist/components/ui/sheet.js +4 -1
- package/dist/components/ui/sheet.mjs +1 -1
- package/dist/components/ui/signup-form-primitives.js +6 -1
- package/dist/components/ui/signup-form-primitives.mjs +2 -2
- package/dist/index.js +168 -147
- package/dist/index.mjs +36 -34
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/index.tsx +2 -0
- package/src/components/ui/dialog.tsx +4 -2
- package/src/components/ui/drawer.tsx +4 -1
- package/src/components/ui/select.tsx +34 -1
- package/src/components/ui/sheet.tsx +4 -1
- package/src/styles/globals.css +6 -0
- 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-
|
|
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-
|
|
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-
|
|
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-
|
|
27
|
+
} from "./chunk-K6VCC2MK.mjs";
|
|
28
28
|
import {
|
|
29
29
|
Tooltip,
|
|
30
30
|
TooltipContent,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
SelectItem,
|
|
5
5
|
SelectTrigger,
|
|
6
6
|
SelectValue
|
|
7
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
35
|
+
} from "./chunk-OIETBBXQ.mjs";
|
|
36
36
|
import {
|
|
37
37
|
DatePicker
|
|
38
38
|
} from "./chunk-UMF6LLQK.mjs";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
SelectItem,
|
|
8
8
|
SelectTrigger,
|
|
9
9
|
SelectValue
|
|
10
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
37
|
+
} from "./chunk-OIETBBXQ.mjs";
|
|
38
38
|
import {
|
|
39
39
|
Button
|
|
40
40
|
} from "./chunk-NOOEKOWY.mjs";
|
|
@@ -106,7 +106,10 @@ function DrawerFooter(_a) {
|
|
|
106
106
|
return /* @__PURE__ */ jsx(
|
|
107
107
|
"div",
|
|
108
108
|
__spreadValues({
|
|
109
|
-
className: cn(
|
|
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-
|
|
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-
|
|
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-
|
|
4
|
+
} from "./chunk-SET6GFGL.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Sheet,
|
|
7
7
|
SheetContent
|
|
8
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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(
|
|
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
|
);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-GTAVSBDO.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PaginationNavButtons
|
|
6
|
-
} from "./chunk-
|
|
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-
|
|
24
|
+
} from "./chunk-K6VCC2MK.mjs";
|
|
25
25
|
import {
|
|
26
26
|
DropdownMenu,
|
|
27
27
|
DropdownMenuCheckboxItem,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
SelectItem,
|
|
20
20
|
SelectTrigger,
|
|
21
21
|
SelectValue
|
|
22
|
-
} from "./chunk-
|
|
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-
|
|
32
|
+
} from "./chunk-OIETBBXQ.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DatePicker
|
|
35
35
|
} from "./chunk-UMF6LLQK.mjs";
|
|
@@ -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
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
24
|
+
} from "./chunk-OIETBBXQ.mjs";
|
|
25
25
|
import {
|
|
26
26
|
Input
|
|
27
27
|
} 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
|
-
|
|
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",
|
|
@@ -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
|
-
|
|
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-
|
|
3
|
+
} from "../../chunk-QJ3RSZF4.mjs";
|
|
4
4
|
import "../../chunk-2GIYVERS.mjs";
|
|
5
|
-
import "../../chunk-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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] =
|
|
874
|
-
|
|
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-
|
|
4
|
-
import "../../chunk-
|
|
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-
|
|
7
|
+
import "../../chunk-K6VCC2MK.mjs";
|
|
8
8
|
import "../../chunk-JVMXMFBB.mjs";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-OIETBBXQ.mjs";
|
|
10
10
|
import "../../chunk-LBTHZSBT.mjs";
|
|
11
11
|
import "../../chunk-XYSRRDBH.mjs";
|
|
12
12
|
import "../../chunk-FRCTOAKZ.mjs";
|