@wealthx/shadcn 1.5.19 → 1.5.21
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 +151 -151
- 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-WZFBLRNP.mjs → chunk-ETT5JAXF.mjs} +2 -2
- package/dist/{chunk-GDBM2GL5.mjs → chunk-F3MIRXRF.mjs} +1 -1
- package/dist/{chunk-G7YCLJ53.mjs → chunk-G6RCC2SF.mjs} +2 -2
- 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-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-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 +3 -3
- 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/file-preview-dialog.js +13 -6
- package/dist/components/ui/file-preview-dialog.mjs +3 -3
- 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/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/signup-form-primitives.js +6 -1
- package/dist/components/ui/signup-form-primitives.mjs +2 -2
- package/dist/index.js +160 -145
- package/dist/index.mjs +32 -30
- 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/select.tsx +34 -1
- package/src/styles/styles-css.ts +1 -1
|
@@ -62,7 +62,7 @@ __export(create_contact_modal_exports, {
|
|
|
62
62
|
CreateContactModal: () => CreateContactModal
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(create_contact_modal_exports);
|
|
65
|
-
var
|
|
65
|
+
var React7 = __toESM(require("react"));
|
|
66
66
|
|
|
67
67
|
// src/components/ui/dialog.tsx
|
|
68
68
|
var import_lucide_react2 = require("lucide-react");
|
|
@@ -262,7 +262,7 @@ function DialogOverlay(_a) {
|
|
|
262
262
|
__spreadValues({
|
|
263
263
|
className: cn(
|
|
264
264
|
// WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
|
|
265
|
-
"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",
|
|
265
|
+
"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",
|
|
266
266
|
className
|
|
267
267
|
),
|
|
268
268
|
"data-slot": "dialog-overlay"
|
|
@@ -313,7 +313,9 @@ function DialogContent(_a) {
|
|
|
313
313
|
// max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
|
|
314
314
|
// Fixed max-width is applied via inline style (sizeStyle) to avoid
|
|
315
315
|
// Tailwind v4 class-scanning gaps with dynamic class lookups.
|
|
316
|
-
|
|
316
|
+
// pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
|
|
317
|
+
// when open — dialog portals to body and must override that on its own element.
|
|
318
|
+
"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",
|
|
317
319
|
// "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
|
|
318
320
|
isAuto ? "w-auto" : "w-full",
|
|
319
321
|
align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
|
|
@@ -451,9 +453,13 @@ function Label(_a) {
|
|
|
451
453
|
}
|
|
452
454
|
|
|
453
455
|
// src/components/ui/select.tsx
|
|
456
|
+
var React3 = __toESM(require("react"));
|
|
454
457
|
var import_lucide_react3 = require("lucide-react");
|
|
455
458
|
var import_select = require("@base-ui/react/select");
|
|
456
459
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
460
|
+
var SelectPortalContext = React3.createContext(
|
|
461
|
+
void 0
|
|
462
|
+
);
|
|
457
463
|
function Select(_a) {
|
|
458
464
|
var props = __objRest(_a, []);
|
|
459
465
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_select.Select.Root, __spreadValues({ "data-slot": "select" }, props));
|
|
@@ -500,7 +506,8 @@ function SelectContent(_a) {
|
|
|
500
506
|
"style"
|
|
501
507
|
]);
|
|
502
508
|
const themeVars = useThemeVars();
|
|
503
|
-
|
|
509
|
+
const portalContainer = React3.useContext(SelectPortalContext);
|
|
510
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_select.Select.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
504
511
|
import_select.Select.Positioner,
|
|
505
512
|
{
|
|
506
513
|
className: "z-[200]",
|
|
@@ -627,14 +634,14 @@ function Spinner(_a) {
|
|
|
627
634
|
}
|
|
628
635
|
|
|
629
636
|
// src/components/ui/form-primitives.tsx
|
|
630
|
-
var
|
|
637
|
+
var React6 = __toESM(require("react"));
|
|
631
638
|
var import_lucide_react5 = require("lucide-react");
|
|
632
639
|
|
|
633
640
|
// src/components/ui/slider.tsx
|
|
634
|
-
var
|
|
641
|
+
var React4 = __toESM(require("react"));
|
|
635
642
|
var import_slider = require("@base-ui/react/slider");
|
|
636
643
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
637
|
-
var Slider =
|
|
644
|
+
var Slider = React4.forwardRef(
|
|
638
645
|
({
|
|
639
646
|
className,
|
|
640
647
|
value,
|
|
@@ -703,7 +710,7 @@ var Slider = React3.forwardRef(
|
|
|
703
710
|
Slider.displayName = "Slider";
|
|
704
711
|
|
|
705
712
|
// src/components/ui/toggle-group.tsx
|
|
706
|
-
var
|
|
713
|
+
var React5 = __toESM(require("react"));
|
|
707
714
|
var import_toggle_group = require("@base-ui/react/toggle-group");
|
|
708
715
|
var import_toggle2 = require("@base-ui/react/toggle");
|
|
709
716
|
|
|
@@ -734,7 +741,7 @@ var toggleVariants = (0, import_class_variance_authority3.cva)(
|
|
|
734
741
|
|
|
735
742
|
// src/components/ui/toggle-group.tsx
|
|
736
743
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
737
|
-
var ToggleGroupContext =
|
|
744
|
+
var ToggleGroupContext = React5.createContext({
|
|
738
745
|
size: "default",
|
|
739
746
|
variant: "default",
|
|
740
747
|
spacing: 0
|
|
@@ -788,13 +795,13 @@ function AddressAutocomplete({
|
|
|
788
795
|
onSelect,
|
|
789
796
|
className
|
|
790
797
|
}) {
|
|
791
|
-
const [internalValue, setInternalValue] =
|
|
798
|
+
const [internalValue, setInternalValue] = React6.useState("");
|
|
792
799
|
const inputValue = controlledValue !== void 0 ? controlledValue : internalValue;
|
|
793
|
-
const [open, setOpen] =
|
|
794
|
-
const [activeIndex, setActiveIndex] =
|
|
795
|
-
const containerRef =
|
|
796
|
-
const listRef =
|
|
797
|
-
const filtered =
|
|
800
|
+
const [open, setOpen] = React6.useState(false);
|
|
801
|
+
const [activeIndex, setActiveIndex] = React6.useState(-1);
|
|
802
|
+
const containerRef = React6.useRef(null);
|
|
803
|
+
const listRef = React6.useRef(null);
|
|
804
|
+
const filtered = React6.useMemo(() => {
|
|
798
805
|
if (!inputValue.trim()) return suggestions.slice(0, 5);
|
|
799
806
|
const q = inputValue.toLowerCase();
|
|
800
807
|
return suggestions.filter((s) => s.label.toLowerCase().includes(q)).slice(0, 5);
|
|
@@ -824,7 +831,7 @@ function AddressAutocomplete({
|
|
|
824
831
|
setOpen(false);
|
|
825
832
|
}
|
|
826
833
|
};
|
|
827
|
-
|
|
834
|
+
React6.useEffect(() => {
|
|
828
835
|
const handler = (e) => {
|
|
829
836
|
if (containerRef.current && !containerRef.current.contains(e.target)) {
|
|
830
837
|
setOpen(false);
|
|
@@ -924,8 +931,8 @@ function CreateContactModal({
|
|
|
924
931
|
className
|
|
925
932
|
}) {
|
|
926
933
|
var _a, _b;
|
|
927
|
-
const [form, setForm] =
|
|
928
|
-
|
|
934
|
+
const [form, setForm] = React7.useState(EMPTY_FORM);
|
|
935
|
+
React7.useEffect(() => {
|
|
929
936
|
if (open) setForm(EMPTY_FORM);
|
|
930
937
|
}, [open]);
|
|
931
938
|
function set(field, value) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CreateContactModal
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-BWG7AX6X.mjs";
|
|
4
4
|
import "../../chunk-ET4MTPIY.mjs";
|
|
5
5
|
import "../../chunk-ISUA7DSB.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-K6VCC2MK.mjs";
|
|
7
7
|
import "../../chunk-JVMXMFBB.mjs";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-OIETBBXQ.mjs";
|
|
9
9
|
import "../../chunk-LSRGA5BI.mjs";
|
|
10
10
|
import "../../chunk-OWFQSXVD.mjs";
|
|
11
11
|
import "../../chunk-6QAFGZC2.mjs";
|
|
@@ -262,7 +262,7 @@ function DialogOverlay(_a) {
|
|
|
262
262
|
__spreadValues({
|
|
263
263
|
className: cn(
|
|
264
264
|
// WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
|
|
265
|
-
"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",
|
|
265
|
+
"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",
|
|
266
266
|
className
|
|
267
267
|
),
|
|
268
268
|
"data-slot": "dialog-overlay"
|
|
@@ -313,7 +313,9 @@ function DialogContent(_a) {
|
|
|
313
313
|
// max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
|
|
314
314
|
// Fixed max-width is applied via inline style (sizeStyle) to avoid
|
|
315
315
|
// Tailwind v4 class-scanning gaps with dynamic class lookups.
|
|
316
|
-
|
|
316
|
+
// pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
|
|
317
|
+
// when open — dialog portals to body and must override that on its own element.
|
|
318
|
+
"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",
|
|
317
319
|
// "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
|
|
318
320
|
isAuto ? "w-auto" : "w-full",
|
|
319
321
|
align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CsvImportModal
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-RGHKARAK.mjs";
|
|
4
4
|
import "../../chunk-I4KVSZCH.mjs";
|
|
5
|
-
import "../../chunk-
|
|
5
|
+
import "../../chunk-OIETBBXQ.mjs";
|
|
6
6
|
import "../../chunk-XYSRRDBH.mjs";
|
|
7
7
|
import "../../chunk-FRCTOAKZ.mjs";
|
|
8
8
|
import "../../chunk-NOOEKOWY.mjs";
|
|
@@ -445,7 +445,7 @@ function DialogOverlay(_a) {
|
|
|
445
445
|
__spreadValues({
|
|
446
446
|
className: cn(
|
|
447
447
|
// WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
|
|
448
|
-
"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",
|
|
448
|
+
"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",
|
|
449
449
|
className
|
|
450
450
|
),
|
|
451
451
|
"data-slot": "dialog-overlay"
|
|
@@ -496,7 +496,9 @@ function DialogContent(_a) {
|
|
|
496
496
|
// max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
|
|
497
497
|
// Fixed max-width is applied via inline style (sizeStyle) to avoid
|
|
498
498
|
// Tailwind v4 class-scanning gaps with dynamic class lookups.
|
|
499
|
-
|
|
499
|
+
// pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
|
|
500
|
+
// when open — dialog portals to body and must override that on its own element.
|
|
501
|
+
"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",
|
|
500
502
|
// "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
|
|
501
503
|
isAuto ? "w-auto" : "w-full",
|
|
502
504
|
align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CategoryEditDialog
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-OFQFD2E2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Chip
|
|
6
6
|
} from "../../chunk-MPA2HV5U.mjs";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
CardTitle
|
|
15
15
|
} from "../../chunk-3VDET466.mjs";
|
|
16
16
|
import "../../chunk-PNSYFE3K.mjs";
|
|
17
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-OIETBBXQ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
Badge
|
|
20
20
|
} from "../../chunk-X6RC5UWB.mjs";
|
|
@@ -67,7 +67,7 @@ __export(data_table_exports, {
|
|
|
67
67
|
getSelectionColumn: () => getSelectionColumn
|
|
68
68
|
});
|
|
69
69
|
module.exports = __toCommonJS(data_table_exports);
|
|
70
|
-
var
|
|
70
|
+
var React4 = __toESM(require("react"));
|
|
71
71
|
var import_react_table = require("@tanstack/react-table");
|
|
72
72
|
var import_lucide_react6 = require("lucide-react");
|
|
73
73
|
|
|
@@ -378,6 +378,7 @@ function Checkbox(_a) {
|
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
// src/components/ui/select.tsx
|
|
381
|
+
var React3 = __toESM(require("react"));
|
|
381
382
|
var import_lucide_react3 = require("lucide-react");
|
|
382
383
|
var import_select = require("@base-ui/react/select");
|
|
383
384
|
|
|
@@ -391,6 +392,9 @@ function useThemeVars() {
|
|
|
391
392
|
|
|
392
393
|
// src/components/ui/select.tsx
|
|
393
394
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
395
|
+
var SelectPortalContext = React3.createContext(
|
|
396
|
+
void 0
|
|
397
|
+
);
|
|
394
398
|
function Select(_a) {
|
|
395
399
|
var props = __objRest(_a, []);
|
|
396
400
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_select.Select.Root, __spreadValues({ "data-slot": "select" }, props));
|
|
@@ -437,7 +441,8 @@ function SelectContent(_a) {
|
|
|
437
441
|
"style"
|
|
438
442
|
]);
|
|
439
443
|
const themeVars = useThemeVars();
|
|
440
|
-
|
|
444
|
+
const portalContainer = React3.useContext(SelectPortalContext);
|
|
445
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_select.Select.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
441
446
|
import_select.Select.Positioner,
|
|
442
447
|
{
|
|
443
448
|
className: "z-[200]",
|
|
@@ -941,20 +946,20 @@ function DataTable({
|
|
|
941
946
|
onColumnFiltersChange: onColumnFiltersChangeProp
|
|
942
947
|
}) {
|
|
943
948
|
var _a;
|
|
944
|
-
const [internalSorting, setInternalSorting] =
|
|
949
|
+
const [internalSorting, setInternalSorting] = React4.useState(
|
|
945
950
|
[]
|
|
946
951
|
);
|
|
947
|
-
const [internalColumnFilters, setInternalColumnFilters] =
|
|
948
|
-
const [internalPagination, setInternalPagination] =
|
|
952
|
+
const [internalColumnFilters, setInternalColumnFilters] = React4.useState([]);
|
|
953
|
+
const [internalPagination, setInternalPagination] = React4.useState({
|
|
949
954
|
pageIndex: 0,
|
|
950
955
|
pageSize: (_a = pageSizeOptions[0]) != null ? _a : 10
|
|
951
956
|
});
|
|
952
|
-
const [columnVisibility, setColumnVisibility] =
|
|
953
|
-
const [rowSelection, setRowSelection] =
|
|
957
|
+
const [columnVisibility, setColumnVisibility] = React4.useState({});
|
|
958
|
+
const [rowSelection, setRowSelection] = React4.useState({});
|
|
954
959
|
const sorting = controlledSorting != null ? controlledSorting : internalSorting;
|
|
955
960
|
const columnFilters = controlledColumnFilters != null ? controlledColumnFilters : internalColumnFilters;
|
|
956
961
|
const pagination = controlledPagination != null ? controlledPagination : internalPagination;
|
|
957
|
-
const resolvedColumns =
|
|
962
|
+
const resolvedColumns = React4.useMemo(() => {
|
|
958
963
|
if (!enableRowSelection) return userColumns;
|
|
959
964
|
return [getSelectionColumn(), ...userColumns];
|
|
960
965
|
}, [userColumns, enableRowSelection]);
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
DataTableSkeleton,
|
|
6
6
|
DataTableToolbar,
|
|
7
7
|
getSelectionColumn
|
|
8
|
-
} from "../../chunk-
|
|
8
|
+
} from "../../chunk-IG7JBQZO.mjs";
|
|
9
9
|
import "../../chunk-GTAVSBDO.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-6WRDXE7A.mjs";
|
|
11
11
|
import "../../chunk-GT3RU6GA.mjs";
|
|
12
12
|
import "../../chunk-IKXYTCSB.mjs";
|
|
13
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-K6VCC2MK.mjs";
|
|
14
14
|
import "../../chunk-H5DTKPJ2.mjs";
|
|
15
15
|
import "../../chunk-LBTHZSBT.mjs";
|
|
16
16
|
import "../../chunk-XYSRRDBH.mjs";
|
|
@@ -276,7 +276,7 @@ function DialogOverlay(_a) {
|
|
|
276
276
|
__spreadValues({
|
|
277
277
|
className: cn(
|
|
278
278
|
// WealthX: foreground/50 scrim (matches Figma — foreground token at 50% opacity)
|
|
279
|
-
"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",
|
|
279
|
+
"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",
|
|
280
280
|
className
|
|
281
281
|
),
|
|
282
282
|
"data-slot": "dialog-overlay"
|
|
@@ -327,7 +327,9 @@ function DialogContent(_a) {
|
|
|
327
327
|
// max-w-[calc(100%-2rem)] acts as a viewport-edge guard on all sizes.
|
|
328
328
|
// Fixed max-width is applied via inline style (sizeStyle) to avoid
|
|
329
329
|
// Tailwind v4 class-scanning gaps with dynamic class lookups.
|
|
330
|
-
|
|
330
|
+
// pointer-events-auto: Vaul Drawer (Radix DismissableLayer) sets body{pointer-events:none}
|
|
331
|
+
// when open — dialog portals to body and must override that on its own element.
|
|
332
|
+
"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",
|
|
331
333
|
// "auto" → hug content (with min-width floor); fixed sizes → fill to max-width
|
|
332
334
|
isAuto ? "w-auto" : "w-full",
|
|
333
335
|
align === "center" ? "top-[50%] translate-y-[-50%]" : "top-4 translate-y-0",
|
|
@@ -295,6 +295,7 @@ function Switch(_a) {
|
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
// src/components/ui/select.tsx
|
|
298
|
+
var React3 = __toESM(require("react"));
|
|
298
299
|
var import_lucide_react2 = require("lucide-react");
|
|
299
300
|
var import_select = require("@base-ui/react/select");
|
|
300
301
|
|
|
@@ -308,6 +309,9 @@ function useThemeVars() {
|
|
|
308
309
|
|
|
309
310
|
// src/components/ui/select.tsx
|
|
310
311
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
312
|
+
var SelectPortalContext = React3.createContext(
|
|
313
|
+
void 0
|
|
314
|
+
);
|
|
311
315
|
function Select(_a) {
|
|
312
316
|
var props = __objRest(_a, []);
|
|
313
317
|
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_select.Select.Root, __spreadValues({ "data-slot": "select" }, props));
|
|
@@ -354,7 +358,8 @@ function SelectContent(_a) {
|
|
|
354
358
|
"style"
|
|
355
359
|
]);
|
|
356
360
|
const themeVars = useThemeVars();
|
|
357
|
-
|
|
361
|
+
const portalContainer = React3.useContext(SelectPortalContext);
|
|
362
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_select.Select.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
358
363
|
import_select.Select.Positioner,
|
|
359
364
|
{
|
|
360
365
|
className: "z-[200]",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DocumentChecklistTemplate
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-57QES5LX.mjs";
|
|
4
|
+
import "../../chunk-K6VCC2MK.mjs";
|
|
5
5
|
import "../../chunk-PNSYFE3K.mjs";
|
|
6
6
|
import "../../chunk-LBTHZSBT.mjs";
|
|
7
7
|
import "../../chunk-XYSRRDBH.mjs";
|
|
@@ -62,7 +62,7 @@ __export(file_preview_dialog_exports, {
|
|
|
62
62
|
FilePreviewDialog: () => FilePreviewDialog
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(file_preview_dialog_exports);
|
|
65
|
-
var
|
|
65
|
+
var React4 = __toESM(require("react"));
|
|
66
66
|
var import_lucide_react5 = 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",
|
|
@@ -614,9 +616,13 @@ function TooltipContent(_a) {
|
|
|
614
616
|
}
|
|
615
617
|
|
|
616
618
|
// src/components/ui/select.tsx
|
|
619
|
+
var React3 = __toESM(require("react"));
|
|
617
620
|
var import_lucide_react4 = require("lucide-react");
|
|
618
621
|
var import_select = require("@base-ui/react/select");
|
|
619
622
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
623
|
+
var SelectPortalContext = React3.createContext(
|
|
624
|
+
void 0
|
|
625
|
+
);
|
|
620
626
|
function Select(_a) {
|
|
621
627
|
var props = __objRest(_a, []);
|
|
622
628
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_select.Select.Root, __spreadValues({ "data-slot": "select" }, props));
|
|
@@ -663,7 +669,8 @@ function SelectContent(_a) {
|
|
|
663
669
|
"style"
|
|
664
670
|
]);
|
|
665
671
|
const themeVars = useThemeVars();
|
|
666
|
-
|
|
672
|
+
const portalContainer = React3.useContext(SelectPortalContext);
|
|
673
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_select.Select.Portal, { container: portalContainer, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
667
674
|
import_select.Select.Positioner,
|
|
668
675
|
{
|
|
669
676
|
className: "z-[200]",
|
|
@@ -843,8 +850,8 @@ function FilePreviewDialog({
|
|
|
843
850
|
staffSelector,
|
|
844
851
|
className
|
|
845
852
|
}) {
|
|
846
|
-
const [page, setPage] =
|
|
847
|
-
|
|
853
|
+
const [page, setPage] = React4.useState(0);
|
|
854
|
+
React4.useEffect(() => {
|
|
848
855
|
setPage(0);
|
|
849
856
|
}, [rows.length]);
|
|
850
857
|
const totalPages = Math.ceil(rows.length / pageSize);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FilePreviewDialog
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-DK55HZPN.mjs";
|
|
4
4
|
import "../../chunk-JPGL36WQ.mjs";
|
|
5
5
|
import "../../chunk-GTAVSBDO.mjs";
|
|
6
6
|
import "../../chunk-GT3RU6GA.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-K6VCC2MK.mjs";
|
|
8
8
|
import "../../chunk-JVMXMFBB.mjs";
|
|
9
9
|
import "../../chunk-3S6KVFF5.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-OIETBBXQ.mjs";
|
|
11
11
|
import "../../chunk-XYSRRDBH.mjs";
|
|
12
12
|
import "../../chunk-FRCTOAKZ.mjs";
|
|
13
13
|
import "../../chunk-NOOEKOWY.mjs";
|
|
@@ -796,6 +796,7 @@ function FieldLabel(_a) {
|
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
// src/components/ui/select.tsx
|
|
799
|
+
var React7 = __toESM(require("react"));
|
|
799
800
|
var import_lucide_react5 = require("lucide-react");
|
|
800
801
|
var import_select = require("@base-ui/react/select");
|
|
801
802
|
|
|
@@ -806,6 +807,9 @@ var ThemeVarsContext = (0, import_react3.createContext)({});
|
|
|
806
807
|
|
|
807
808
|
// src/components/ui/select.tsx
|
|
808
809
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
810
|
+
var SelectPortalContext = React7.createContext(
|
|
811
|
+
void 0
|
|
812
|
+
);
|
|
809
813
|
|
|
810
814
|
// src/components/ui/password-strength-tooltip.tsx
|
|
811
815
|
var import_lucide_react6 = require("lucide-react");
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
FrontendSuccessStep,
|
|
7
7
|
PhoneVerifyStep,
|
|
8
8
|
RetrieveBankDataStep
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-4UCRTTVL.mjs";
|
|
10
10
|
import "../../chunk-HK4HUQTV.mjs";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-DWJHPNFL.mjs";
|
|
12
12
|
import "../../chunk-WHIW6KOB.mjs";
|
|
13
13
|
import "../../chunk-KPGARKFC.mjs";
|
|
14
14
|
import "../../chunk-ET4MTPIY.mjs";
|
|
15
15
|
import "../../chunk-ISUA7DSB.mjs";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-K6VCC2MK.mjs";
|
|
17
17
|
import "../../chunk-JVMXMFBB.mjs";
|
|
18
18
|
import "../../chunk-2GIYVERS.mjs";
|
|
19
19
|
import "../../chunk-LSRGA5BI.mjs";
|