@wealthx/shadcn 1.5.7 → 1.5.9
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 +167 -167
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-XHGISOX5.mjs → chunk-33VT74R4.mjs} +1 -1
- package/dist/{chunk-M4LTX3MH.mjs → chunk-3C4DZTGA.mjs} +1 -1
- package/dist/{chunk-HRHXZIX5.mjs → chunk-3CGM3QXQ.mjs} +3 -3
- package/dist/{chunk-QBPNYXTI.mjs → chunk-3NJPNSJG.mjs} +1 -1
- package/dist/{chunk-6SR4K5T5.mjs → chunk-3S6KVFF5.mjs} +1 -1
- package/dist/{chunk-7KT5HPYM.mjs → chunk-3VZ6CYY2.mjs} +1 -1
- package/dist/{chunk-T6MMCOX6.mjs → chunk-4BHDDLWK.mjs} +1 -1
- package/dist/{chunk-KLJLDNCA.mjs → chunk-4LLTZ45R.mjs} +1 -1
- package/dist/{chunk-5WCIGJ3E.mjs → chunk-54MTIKNC.mjs} +1 -1
- package/dist/{chunk-MS4PDUSU.mjs → chunk-54TRNCID.mjs} +3 -3
- package/dist/{chunk-KCKYGQVQ.mjs → chunk-5DAQU3B6.mjs} +1 -1
- package/dist/{chunk-CKPEFZNH.mjs → chunk-5LZZYODG.mjs} +2 -2
- package/dist/{chunk-2A53WPEC.mjs → chunk-5YVJSKFH.mjs} +2 -2
- package/dist/{chunk-JUBUN65Q.mjs → chunk-5YWUGE6F.mjs} +1 -1
- package/dist/{chunk-K7WSRWOU.mjs → chunk-6LWCFAB4.mjs} +1 -1
- package/dist/{chunk-IXKE6LHN.mjs → chunk-6MDNL5I2.mjs} +3 -3
- package/dist/{chunk-3QAQQBCM.mjs → chunk-6U4NQGVM.mjs} +2 -2
- package/dist/{chunk-V4CUTCHS.mjs → chunk-77L3UPBW.mjs} +1 -1
- package/dist/{chunk-CW32WTZU.mjs → chunk-7UIL5UN3.mjs} +1 -1
- package/dist/{chunk-3OOUI5TO.mjs → chunk-AANINK2B.mjs} +2 -2
- package/dist/{chunk-XN37434W.mjs → chunk-B3CTBLIY.mjs} +2 -2
- package/dist/{chunk-XTWAJWCQ.mjs → chunk-BAONSY54.mjs} +1 -1
- package/dist/{chunk-XIY5DJXI.mjs → chunk-BXL74CM2.mjs} +1 -1
- package/dist/{chunk-OYBIUEGE.mjs → chunk-BZGFW6L7.mjs} +1 -1
- package/dist/{chunk-BD3DWDT4.mjs → chunk-CEYEK3TI.mjs} +1 -1
- package/dist/{chunk-I3UDLWQ7.mjs → chunk-D3HKFRQO.mjs} +1 -1
- package/dist/{chunk-3AREQTZU.mjs → chunk-DCKT635J.mjs} +1 -1
- package/dist/{chunk-BQBSYM2I.mjs → chunk-E5EDZQ5J.mjs} +1 -1
- package/dist/{chunk-QHJDGB54.mjs → chunk-EAKRTKHJ.mjs} +2 -2
- package/dist/{chunk-KB7MZMED.mjs → chunk-FGMDBJCF.mjs} +1 -1
- package/dist/{chunk-S4CTM3UE.mjs → chunk-FRCTOAKZ.mjs} +35 -4
- package/dist/{chunk-K7TWMLLW.mjs → chunk-FW4U543X.mjs} +4 -4
- package/dist/{chunk-PGR53HMH.mjs → chunk-G2W754UJ.mjs} +1 -1
- package/dist/{chunk-F73QFUZH.mjs → chunk-GS47ZSSA.mjs} +2 -2
- package/dist/{chunk-AHKHVBWR.mjs → chunk-GYWOD2YI.mjs} +1 -1
- package/dist/{chunk-HNDTLT5X.mjs → chunk-H5DTKPJ2.mjs} +1 -1
- package/dist/{chunk-C6SWS7OW.mjs → chunk-HB5BKRMH.mjs} +1 -1
- package/dist/{chunk-WUA546RX.mjs → chunk-IFSQWDRN.mjs} +1 -1
- package/dist/{chunk-KAD26MCC.mjs → chunk-IRZWYTGV.mjs} +1 -1
- package/dist/{chunk-AL6GOL2Y.mjs → chunk-IW33VLL5.mjs} +1 -1
- package/dist/{chunk-A6ER36CW.mjs → chunk-JGBV3XMQ.mjs} +1 -1
- package/dist/{chunk-Y6UM3VTN.mjs → chunk-JUMEIPII.mjs} +1 -1
- package/dist/{chunk-SDNG4XL6.mjs → chunk-K4WDPVFY.mjs} +3 -3
- package/dist/{chunk-NCUH54IZ.mjs → chunk-LI2CTS5O.mjs} +1 -1
- package/dist/{chunk-F24U4QQQ.mjs → chunk-LPVXO3TD.mjs} +1 -1
- package/dist/{chunk-CXGZSIQN.mjs → chunk-MNMSHB2J.mjs} +32 -6
- package/dist/{chunk-J5NW5NCT.mjs → chunk-NCMV3LTP.mjs} +1 -1
- package/dist/{chunk-I6QVWQCD.mjs → chunk-O5CP6VP6.mjs} +3 -3
- package/dist/{chunk-TGVXRD53.mjs → chunk-OZ2R6ERP.mjs} +1 -1
- package/dist/{chunk-7OLKVKJF.mjs → chunk-PCULNQWA.mjs} +2 -2
- package/dist/{chunk-CDVG7SFT.mjs → chunk-PGJRZHN7.mjs} +1 -1
- package/dist/{chunk-IKDTOCSY.mjs → chunk-RSEVIQEO.mjs} +1 -1
- package/dist/{chunk-GNER6MCO.mjs → chunk-SSUK6C2K.mjs} +1 -1
- package/dist/{chunk-XVZGXPIX.mjs → chunk-TAFL4WDY.mjs} +51 -38
- package/dist/{chunk-OECGKCVF.mjs → chunk-TLLD5IU6.mjs} +1 -1
- package/dist/{chunk-C2QMHKLT.mjs → chunk-TRM3KIHT.mjs} +1 -1
- package/dist/{chunk-TLYSVRSK.mjs → chunk-TUC2BNUR.mjs} +3 -3
- package/dist/{chunk-HXU5JGLQ.mjs → chunk-UBHBIWIA.mjs} +3 -3
- package/dist/{chunk-TXUBGKB7.mjs → chunk-UJMVXREM.mjs} +2 -2
- package/dist/{chunk-TAX3KL66.mjs → chunk-USOVLDGS.mjs} +1 -1
- package/dist/{chunk-HF4FUBCY.mjs → chunk-UTCW5YUX.mjs} +1 -1
- package/dist/{chunk-JCH2BG24.mjs → chunk-UYRHYJPX.mjs} +1 -1
- package/dist/{chunk-BDESHD25.mjs → chunk-VLVEZHFE.mjs} +1 -1
- package/dist/{chunk-EUYPMDQG.mjs → chunk-VWZS32ZQ.mjs} +1 -1
- package/dist/{chunk-F4O2YPXJ.mjs → chunk-WHIW6KOB.mjs} +1 -1
- package/dist/{chunk-TOIVHWNC.mjs → chunk-WWIWRNBK.mjs} +1 -1
- package/dist/{chunk-2QNOPXMQ.mjs → chunk-XMP24PWA.mjs} +1 -1
- package/dist/{chunk-G4WLCKFV.mjs → chunk-XUCDPAVI.mjs} +2 -2
- package/dist/{chunk-WDTXHLYM.mjs → chunk-XYSRRDBH.mjs} +17 -11
- package/dist/{chunk-QAX6HCUH.mjs → chunk-ZAXZBOWI.mjs} +1 -1
- package/dist/{chunk-E3PQDBYI.mjs → chunk-ZFKAYRFQ.mjs} +1 -1
- package/dist/components/ui/about-you-form.mjs +4 -4
- package/dist/components/ui/add-column-modal.mjs +4 -4
- package/dist/components/ui/add-lead-modal.mjs +6 -6
- package/dist/components/ui/ai-assistant-drawer.mjs +4 -4
- package/dist/components/ui/ai-builder.mjs +4 -4
- package/dist/components/ui/ai-conversations.mjs +6 -6
- package/dist/components/ui/alert-dialog.mjs +3 -3
- package/dist/components/ui/appointment-action-dialogs.mjs +5 -5
- package/dist/components/ui/appointment-availability-settings.js +29 -3
- package/dist/components/ui/appointment-availability-settings.mjs +7 -7
- package/dist/components/ui/appointment-book-dialog.mjs +5 -5
- package/dist/components/ui/appointment-calendar-view.js +51 -38
- package/dist/components/ui/appointment-calendar-view.mjs +1 -1
- package/dist/components/ui/appointment-detail-sheet.mjs +7 -7
- package/dist/components/ui/appointment-upcoming-card.mjs +4 -4
- package/dist/components/ui/assets-liabilities-side-card.mjs +3 -3
- package/dist/components/ui/backoffice-alert-history-chart.mjs +3 -3
- package/dist/components/ui/backoffice-alert-matching-chart.mjs +3 -3
- package/dist/components/ui/backoffice-alerts-chart.mjs +3 -3
- package/dist/components/ui/backoffice-connections-chart.mjs +3 -3
- package/dist/components/ui/backoffice-contact-history-chart.mjs +3 -3
- package/dist/components/ui/backoffice-contact-matching-chart.mjs +3 -3
- package/dist/components/ui/backoffice-signup-steps.mjs +9 -9
- package/dist/components/ui/bank-statement-generate-dialog.mjs +7 -7
- package/dist/components/ui/bank-statement-pdf-viewer.mjs +4 -4
- package/dist/components/ui/borrowing-capacity-card.mjs +3 -3
- package/dist/components/ui/borrowing-capacity-line-chart.mjs +3 -3
- package/dist/components/ui/calculator-section.mjs +4 -4
- package/dist/components/ui/cash-balance-line-chart.mjs +3 -3
- package/dist/components/ui/cashflow-bar-chart.mjs +3 -3
- package/dist/components/ui/category-edit-dialog.mjs +4 -4
- package/dist/components/ui/color-picker.mjs +4 -4
- package/dist/components/ui/contact-alert-dialog/index.mjs +5 -5
- package/dist/components/ui/create-contact-modal.mjs +5 -5
- package/dist/components/ui/csv-import-modal.mjs +4 -4
- package/dist/components/ui/dashboard-transactions-table.mjs +4 -4
- package/dist/components/ui/data-table.mjs +6 -6
- package/dist/components/ui/date-picker.mjs +4 -4
- package/dist/components/ui/delete-contact-component.mjs +4 -4
- package/dist/components/ui/dialog.mjs +3 -3
- package/dist/components/ui/document-checklist-template.mjs +4 -4
- package/dist/components/ui/drawer.mjs +3 -3
- package/dist/components/ui/dropdown-menu.mjs +3 -3
- package/dist/components/ui/dynamic-tabs.mjs +3 -3
- package/dist/components/ui/editable-money-item.mjs +4 -4
- package/dist/components/ui/expense-bar-chart.mjs +3 -3
- package/dist/components/ui/expense-work-details.mjs +4 -4
- package/dist/components/ui/file-preview-dialog.mjs +6 -6
- package/dist/components/ui/financial-drawers.mjs +4 -4
- package/dist/components/ui/frontend-signup-steps.mjs +7 -7
- package/dist/components/ui/income-bar-chart.mjs +3 -3
- package/dist/components/ui/income-work-details.mjs +4 -4
- package/dist/components/ui/kanban-column.mjs +5 -5
- package/dist/components/ui/money-item-with-color-indicator.mjs +4 -4
- package/dist/components/ui/opportunity-card.mjs +4 -4
- package/dist/components/ui/opportunity-edit-modals.mjs +7 -7
- package/dist/components/ui/opportunity-summary-tab.mjs +8 -8
- package/dist/components/ui/pagination.mjs +4 -4
- package/dist/components/ui/password-strength-tooltip.mjs +4 -4
- package/dist/components/ui/pipeline-board.mjs +6 -6
- package/dist/components/ui/pipeline-chart.mjs +4 -4
- package/dist/components/ui/pipeline-dialogs.mjs +7 -7
- package/dist/components/ui/popover.mjs +3 -3
- package/dist/components/ui/property-cashflow-doughnut-chart.mjs +3 -3
- package/dist/components/ui/property-debt-equity-doughnut-chart.mjs +3 -3
- package/dist/components/ui/property-mobile-estimate-line-chart.mjs +3 -3
- package/dist/components/ui/property-report-dialog.mjs +4 -4
- package/dist/components/ui/resource-center.mjs +4 -4
- package/dist/components/ui/review-alerts-dialog.mjs +4 -4
- package/dist/components/ui/savings-goal-modal.mjs +5 -5
- package/dist/components/ui/scenario-drawer.mjs +3 -3
- package/dist/components/ui/scenario-item.mjs +4 -4
- package/dist/components/ui/scenario-list.mjs +4 -4
- package/dist/components/ui/select.mjs +3 -3
- package/dist/components/ui/share-details-dialog.mjs +4 -4
- package/dist/components/ui/sheet.mjs +3 -3
- package/dist/components/ui/sidebar-nav.mjs +4 -4
- package/dist/components/ui/signup-form-primitives.mjs +6 -6
- package/dist/components/ui/tooltip.mjs +3 -3
- package/dist/components/ui/transactions-expense-categories-doughnut-chart.mjs +3 -3
- package/dist/components/ui/transactions-income-expense-bar-chart.mjs +3 -3
- package/dist/components/ui/transactions-liabilities-breakdown-doughnut-chart.mjs +3 -3
- package/dist/index.js +80 -41
- package/dist/index.mjs +68 -68
- package/dist/lib/colors.js +36 -3
- package/dist/lib/colors.mjs +5 -1
- package/dist/lib/theme-provider.js +60 -13
- package/dist/lib/theme-provider.mjs +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/components/ui/appointment-availability-settings.tsx +36 -3
- package/src/components/ui/appointment-calendar-view.tsx +20 -7
- package/src/lib/colors.ts +73 -5
- package/src/lib/theme-provider.tsx +13 -8
- package/src/styles/globals.css +37 -9
- package/src/styles/styles-css.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
ContactAlertDialog,
|
|
8
8
|
ContactAlertQueryBuilder,
|
|
9
9
|
createAlertTree
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5LZZYODG.mjs";
|
|
11
11
|
import {
|
|
12
12
|
TransactionsExpenseCategoriesDoughnutChart
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FGMDBJCF.mjs";
|
|
14
14
|
import {
|
|
15
15
|
TransactionsIncomeExpenseBarChart
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-G2W754UJ.mjs";
|
|
17
17
|
import {
|
|
18
18
|
TransactionsLiabilitiesBreakdownChart
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-77L3UPBW.mjs";
|
|
20
20
|
import {
|
|
21
21
|
TwoFASetupForm
|
|
22
22
|
} from "./chunk-B7DD3ODQ.mjs";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-IQGKOT7A.mjs";
|
|
26
26
|
import {
|
|
27
27
|
SidebarNav
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RSEVIQEO.mjs";
|
|
29
29
|
import {
|
|
30
30
|
FrontendShell,
|
|
31
31
|
SignupShell,
|
|
@@ -40,19 +40,19 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
EmailTemplateDialog,
|
|
42
42
|
ShareDetailsDialog
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-OZ2R6ERP.mjs";
|
|
44
44
|
import {
|
|
45
45
|
PropertyCashflowDoughnutChart
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-VLVEZHFE.mjs";
|
|
47
47
|
import {
|
|
48
48
|
PropertyDebtEquityDoughnutChart
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-GYWOD2YI.mjs";
|
|
50
50
|
import {
|
|
51
51
|
PropertyMobileEstimateLineChart
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-JUMEIPII.mjs";
|
|
53
53
|
import {
|
|
54
54
|
PropertyReportDialog
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-LPVXO3TD.mjs";
|
|
56
56
|
import {
|
|
57
57
|
ResourceCarousel,
|
|
58
58
|
ResourceCenterHeader,
|
|
@@ -60,24 +60,24 @@ import {
|
|
|
60
60
|
ResourceEmailTemplateCard,
|
|
61
61
|
ResourceModal,
|
|
62
62
|
ResourceVideoCard
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-VWZS32ZQ.mjs";
|
|
64
64
|
import {
|
|
65
65
|
ReviewAlertsDialog
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-IFSQWDRN.mjs";
|
|
67
67
|
import {
|
|
68
68
|
PipelineAlerts
|
|
69
69
|
} from "./chunk-KFH36NKF.mjs";
|
|
70
70
|
import {
|
|
71
71
|
PipelineBoard
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-E5EDZQ5J.mjs";
|
|
73
73
|
import {
|
|
74
74
|
PipelineChart
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-PCULNQWA.mjs";
|
|
76
76
|
import {
|
|
77
77
|
ChangePriorityDialog,
|
|
78
78
|
DeleteOpportunityDialog,
|
|
79
79
|
PutOnHoldDialog
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-K4WDPVFY.mjs";
|
|
81
81
|
import {
|
|
82
82
|
OnboardingLayout,
|
|
83
83
|
OnboardingPanelLayout
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "./chunk-TCE5L44O.mjs";
|
|
93
93
|
import {
|
|
94
94
|
OpportunitySummaryTab
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-6U4NQGVM.mjs";
|
|
96
96
|
import {
|
|
97
97
|
EditAboutApplicantModal,
|
|
98
98
|
EditAssetsModal,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
EditExpensesModal,
|
|
101
101
|
EditIncomeModal,
|
|
102
102
|
EditLoanScenarioModal
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-6MDNL5I2.mjs";
|
|
104
104
|
import {
|
|
105
105
|
PageHeader
|
|
106
106
|
} from "./chunk-NT4FX27K.mjs";
|
|
@@ -115,11 +115,11 @@ import {
|
|
|
115
115
|
} from "./chunk-PUJ42INK.mjs";
|
|
116
116
|
import {
|
|
117
117
|
KanbanColumn
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-3CGM3QXQ.mjs";
|
|
119
119
|
import {
|
|
120
120
|
LeadCard,
|
|
121
121
|
OpportunityCard
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-54MTIKNC.mjs";
|
|
123
123
|
import {
|
|
124
124
|
TaskCheckItem
|
|
125
125
|
} from "./chunk-2WCIORP7.mjs";
|
|
@@ -128,14 +128,14 @@ import {
|
|
|
128
128
|
} from "./chunk-4DO3WM7V.mjs";
|
|
129
129
|
import {
|
|
130
130
|
IncomeWorkDetails
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-XMP24PWA.mjs";
|
|
132
132
|
import {
|
|
133
133
|
IntegrationCard
|
|
134
134
|
} from "./chunk-CEEVYRQA.mjs";
|
|
135
135
|
import {
|
|
136
136
|
OpportunityDetailsDrawer,
|
|
137
137
|
SummaryReportDrawer
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-TLLD5IU6.mjs";
|
|
139
139
|
import {
|
|
140
140
|
AlertAccordion,
|
|
141
141
|
DebtSection,
|
|
@@ -173,7 +173,7 @@ import {
|
|
|
173
173
|
FrontendSuccessStep,
|
|
174
174
|
PhoneVerifyStep,
|
|
175
175
|
RetrieveBankDataStep
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-JGBV3XMQ.mjs";
|
|
177
177
|
import {
|
|
178
178
|
InputOTP,
|
|
179
179
|
InputOTPGroup,
|
|
@@ -182,13 +182,13 @@ import {
|
|
|
182
182
|
} from "./chunk-HK4HUQTV.mjs";
|
|
183
183
|
import {
|
|
184
184
|
IncomeBarChart
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-IRZWYTGV.mjs";
|
|
186
186
|
import {
|
|
187
187
|
ExpenseBarChart
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-4LLTZ45R.mjs";
|
|
189
189
|
import {
|
|
190
190
|
FilePreviewDialog
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-UBHBIWIA.mjs";
|
|
192
192
|
import {
|
|
193
193
|
Progress
|
|
194
194
|
} from "./chunk-JPGL36WQ.mjs";
|
|
@@ -199,13 +199,13 @@ import {
|
|
|
199
199
|
DataTableSkeleton,
|
|
200
200
|
DataTableToolbar,
|
|
201
201
|
getSelectionColumn
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-TUC2BNUR.mjs";
|
|
203
203
|
import {
|
|
204
204
|
DeleteContactComponent
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-5DAQU3B6.mjs";
|
|
206
206
|
import {
|
|
207
207
|
DocumentChecklistTemplate
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-6LWCFAB4.mjs";
|
|
209
209
|
import {
|
|
210
210
|
Drawer,
|
|
211
211
|
DrawerClose,
|
|
@@ -217,7 +217,7 @@ import {
|
|
|
217
217
|
DrawerPortal,
|
|
218
218
|
DrawerTitle,
|
|
219
219
|
DrawerTrigger
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-ZAXZBOWI.mjs";
|
|
221
221
|
import {
|
|
222
222
|
Combobox,
|
|
223
223
|
ComboboxContent,
|
|
@@ -233,10 +233,10 @@ import {
|
|
|
233
233
|
} from "./chunk-OEOOYMC2.mjs";
|
|
234
234
|
import {
|
|
235
235
|
CreateContactModal
|
|
236
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-5YVJSKFH.mjs";
|
|
237
237
|
import {
|
|
238
238
|
CsvImportModal
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-3NJPNSJG.mjs";
|
|
240
240
|
import {
|
|
241
241
|
InputGroup,
|
|
242
242
|
InputGroupAddon,
|
|
@@ -247,10 +247,10 @@ import {
|
|
|
247
247
|
} from "./chunk-7YI3HEBH.mjs";
|
|
248
248
|
import {
|
|
249
249
|
CashBalanceLineChart
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-DCKT635J.mjs";
|
|
251
251
|
import {
|
|
252
252
|
CashflowBarChart
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-D3HKFRQO.mjs";
|
|
254
254
|
import {
|
|
255
255
|
ChatWidget,
|
|
256
256
|
ChatWidgetIntakeForm,
|
|
@@ -272,13 +272,13 @@ import {
|
|
|
272
272
|
} from "./chunk-KWD6GANL.mjs";
|
|
273
273
|
import {
|
|
274
274
|
BorrowingCapacityLineChart
|
|
275
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-UTCW5YUX.mjs";
|
|
276
276
|
import {
|
|
277
277
|
BackofficeContactHistoryChart
|
|
278
|
-
} from "./chunk-
|
|
278
|
+
} from "./chunk-BAONSY54.mjs";
|
|
279
279
|
import {
|
|
280
280
|
BackofficeContactMatchingChart
|
|
281
|
-
} from "./chunk-
|
|
281
|
+
} from "./chunk-ZFKAYRFQ.mjs";
|
|
282
282
|
import {
|
|
283
283
|
BackofficeSuccessStep,
|
|
284
284
|
BrandingInfoStep,
|
|
@@ -287,16 +287,16 @@ import {
|
|
|
287
287
|
PaymentView,
|
|
288
288
|
PersonalDetailsStep,
|
|
289
289
|
StripeView
|
|
290
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-FW4U543X.mjs";
|
|
291
291
|
import {
|
|
292
292
|
FormField,
|
|
293
293
|
PasswordField,
|
|
294
294
|
SectionHeading,
|
|
295
295
|
StaffRowItem
|
|
296
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-UJMVXREM.mjs";
|
|
297
297
|
import {
|
|
298
298
|
PasswordStrengthTooltip
|
|
299
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-WHIW6KOB.mjs";
|
|
300
300
|
import {
|
|
301
301
|
COLOR_PICKER_PRESETS,
|
|
302
302
|
ColorPicker,
|
|
@@ -304,7 +304,7 @@ import {
|
|
|
304
304
|
ColorSwatch,
|
|
305
305
|
isValidHex,
|
|
306
306
|
normalizeHex
|
|
307
|
-
} from "./chunk-
|
|
307
|
+
} from "./chunk-IW33VLL5.mjs";
|
|
308
308
|
import {
|
|
309
309
|
UploadCard,
|
|
310
310
|
uploadCardVariants
|
|
@@ -314,7 +314,7 @@ import {
|
|
|
314
314
|
} from "./chunk-TC43SMIN.mjs";
|
|
315
315
|
import {
|
|
316
316
|
BankStatementGenerateDialog
|
|
317
|
-
} from "./chunk-
|
|
317
|
+
} from "./chunk-O5CP6VP6.mjs";
|
|
318
318
|
import {
|
|
319
319
|
Field,
|
|
320
320
|
FieldContent,
|
|
@@ -329,7 +329,7 @@ import {
|
|
|
329
329
|
} from "./chunk-MUV4EGDW.mjs";
|
|
330
330
|
import {
|
|
331
331
|
BankStatementPDFViewer
|
|
332
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-BXL74CM2.mjs";
|
|
333
333
|
import {
|
|
334
334
|
AuthLogo
|
|
335
335
|
} from "./chunk-Y2MTAVAK.mjs";
|
|
@@ -338,16 +338,16 @@ import {
|
|
|
338
338
|
} from "./chunk-6OSULDEO.mjs";
|
|
339
339
|
import {
|
|
340
340
|
BackofficeAlertHistoryChart
|
|
341
|
-
} from "./chunk-
|
|
341
|
+
} from "./chunk-BZGFW6L7.mjs";
|
|
342
342
|
import {
|
|
343
343
|
BackofficeAlertMatchingChart
|
|
344
|
-
} from "./chunk-
|
|
344
|
+
} from "./chunk-PGJRZHN7.mjs";
|
|
345
345
|
import {
|
|
346
346
|
BackofficeAlertsChart
|
|
347
|
-
} from "./chunk-
|
|
347
|
+
} from "./chunk-3C4DZTGA.mjs";
|
|
348
348
|
import {
|
|
349
349
|
BackofficeConnectionsChart
|
|
350
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-WWIWRNBK.mjs";
|
|
351
351
|
import {
|
|
352
352
|
Skeleton
|
|
353
353
|
} from "./chunk-GTAVSBDO.mjs";
|
|
@@ -362,7 +362,7 @@ import {
|
|
|
362
362
|
} from "./chunk-R2ON6CAN.mjs";
|
|
363
363
|
import {
|
|
364
364
|
AppointmentBookDialog
|
|
365
|
-
} from "./chunk-
|
|
365
|
+
} from "./chunk-GS47ZSSA.mjs";
|
|
366
366
|
import {
|
|
367
367
|
RadioGroup,
|
|
368
368
|
RadioGroupCard,
|
|
@@ -379,10 +379,10 @@ import {
|
|
|
379
379
|
} from "./chunk-ISUA7DSB.mjs";
|
|
380
380
|
import {
|
|
381
381
|
AppointmentCalendarView
|
|
382
|
-
} from "./chunk-
|
|
382
|
+
} from "./chunk-TAFL4WDY.mjs";
|
|
383
383
|
import {
|
|
384
384
|
AppointmentDetailSheet
|
|
385
|
-
} from "./chunk-
|
|
385
|
+
} from "./chunk-XUCDPAVI.mjs";
|
|
386
386
|
import {
|
|
387
387
|
AppointmentGmailConnect
|
|
388
388
|
} from "./chunk-ZXEUBBHJ.mjs";
|
|
@@ -391,7 +391,7 @@ import {
|
|
|
391
391
|
} from "./chunk-4Z66LMIQ.mjs";
|
|
392
392
|
import {
|
|
393
393
|
AppointmentUpcomingCard
|
|
394
|
-
} from "./chunk-
|
|
394
|
+
} from "./chunk-4BHDDLWK.mjs";
|
|
395
395
|
import {
|
|
396
396
|
Alert,
|
|
397
397
|
AlertDescription,
|
|
@@ -406,20 +406,20 @@ import {
|
|
|
406
406
|
import {
|
|
407
407
|
AppointmentConfirmDialog,
|
|
408
408
|
AppointmentRescheduleDialog
|
|
409
|
-
} from "./chunk-
|
|
409
|
+
} from "./chunk-AANINK2B.mjs";
|
|
410
410
|
import {
|
|
411
411
|
AppointmentSlotSection,
|
|
412
412
|
AppointmentTimeSlotPicker
|
|
413
413
|
} from "./chunk-FRT3S72S.mjs";
|
|
414
414
|
import {
|
|
415
415
|
AppointmentAvailabilitySettings
|
|
416
|
-
} from "./chunk-
|
|
416
|
+
} from "./chunk-MNMSHB2J.mjs";
|
|
417
417
|
import {
|
|
418
418
|
AddColumnModal
|
|
419
|
-
} from "./chunk-
|
|
419
|
+
} from "./chunk-UYRHYJPX.mjs";
|
|
420
420
|
import {
|
|
421
421
|
AddLeadModal
|
|
422
|
-
} from "./chunk-
|
|
422
|
+
} from "./chunk-B3CTBLIY.mjs";
|
|
423
423
|
import {
|
|
424
424
|
Pagination,
|
|
425
425
|
PaginationContent,
|
|
@@ -430,7 +430,7 @@ import {
|
|
|
430
430
|
PaginationNext,
|
|
431
431
|
PaginationPrevious,
|
|
432
432
|
TablePagination
|
|
433
|
-
} from "./chunk-
|
|
433
|
+
} from "./chunk-SSUK6C2K.mjs";
|
|
434
434
|
import {
|
|
435
435
|
Table,
|
|
436
436
|
TableBody,
|
|
@@ -456,7 +456,7 @@ import {
|
|
|
456
456
|
SelectSeparator,
|
|
457
457
|
SelectTrigger,
|
|
458
458
|
SelectValue
|
|
459
|
-
} from "./chunk-
|
|
459
|
+
} from "./chunk-USOVLDGS.mjs";
|
|
460
460
|
import {
|
|
461
461
|
AdvisorCard,
|
|
462
462
|
AdvisorInviteCard
|
|
@@ -467,7 +467,7 @@ import {
|
|
|
467
467
|
} from "./chunk-AHSCWXYJ.mjs";
|
|
468
468
|
import {
|
|
469
469
|
AiAssistantDrawer
|
|
470
|
-
} from "./chunk-
|
|
470
|
+
} from "./chunk-7UIL5UN3.mjs";
|
|
471
471
|
import {
|
|
472
472
|
Sheet,
|
|
473
473
|
SheetClose,
|
|
@@ -478,7 +478,7 @@ import {
|
|
|
478
478
|
SheetPortal,
|
|
479
479
|
SheetTitle,
|
|
480
480
|
SheetTrigger
|
|
481
|
-
} from "./chunk-
|
|
481
|
+
} from "./chunk-NCMV3LTP.mjs";
|
|
482
482
|
import {
|
|
483
483
|
Spinner,
|
|
484
484
|
spinnerVariants
|
|
@@ -489,7 +489,7 @@ import {
|
|
|
489
489
|
IntegrationInstructionCard,
|
|
490
490
|
IntegrationServiceCard,
|
|
491
491
|
ServiceConfigurationModal
|
|
492
|
-
} from "./chunk-
|
|
492
|
+
} from "./chunk-3VZ6CYY2.mjs";
|
|
493
493
|
import {
|
|
494
494
|
Card,
|
|
495
495
|
CardAction,
|
|
@@ -514,7 +514,7 @@ import {
|
|
|
514
514
|
ConversationStatusChip,
|
|
515
515
|
ConversationsPage,
|
|
516
516
|
LeadInfoPanel
|
|
517
|
-
} from "./chunk-
|
|
517
|
+
} from "./chunk-54TRNCID.mjs";
|
|
518
518
|
import {
|
|
519
519
|
DropdownMenu,
|
|
520
520
|
DropdownMenuCheckboxItem,
|
|
@@ -531,13 +531,13 @@ import {
|
|
|
531
531
|
DropdownMenuSubContent,
|
|
532
532
|
DropdownMenuSubTrigger,
|
|
533
533
|
DropdownMenuTrigger
|
|
534
|
-
} from "./chunk-
|
|
534
|
+
} from "./chunk-H5DTKPJ2.mjs";
|
|
535
535
|
import {
|
|
536
536
|
Tooltip,
|
|
537
537
|
TooltipContent,
|
|
538
538
|
TooltipProvider,
|
|
539
539
|
TooltipTrigger
|
|
540
|
-
} from "./chunk-
|
|
540
|
+
} from "./chunk-3S6KVFF5.mjs";
|
|
541
541
|
import {
|
|
542
542
|
Tabs,
|
|
543
543
|
TabsContent,
|
|
@@ -562,7 +562,7 @@ import {
|
|
|
562
562
|
DialogPortal,
|
|
563
563
|
DialogTitle,
|
|
564
564
|
DialogTrigger
|
|
565
|
-
} from "./chunk-
|
|
565
|
+
} from "./chunk-LI2CTS5O.mjs";
|
|
566
566
|
import {
|
|
567
567
|
Avatar,
|
|
568
568
|
AvatarBadge,
|
|
@@ -588,7 +588,7 @@ import {
|
|
|
588
588
|
AlertDialogPortal,
|
|
589
589
|
AlertDialogTitle,
|
|
590
590
|
AlertDialogTrigger
|
|
591
|
-
} from "./chunk-
|
|
591
|
+
} from "./chunk-CEYEK3TI.mjs";
|
|
592
592
|
import {
|
|
593
593
|
FONT_FAMILY_SANS,
|
|
594
594
|
TYPOGRAPHY,
|
|
@@ -604,7 +604,7 @@ import {
|
|
|
604
604
|
import "./chunk-FFXTQTB4.mjs";
|
|
605
605
|
import {
|
|
606
606
|
DatePicker
|
|
607
|
-
} from "./chunk-
|
|
607
|
+
} from "./chunk-TRM3KIHT.mjs";
|
|
608
608
|
import {
|
|
609
609
|
Popover,
|
|
610
610
|
PopoverAnchor,
|
|
@@ -613,7 +613,7 @@ import {
|
|
|
613
613
|
PopoverHeader,
|
|
614
614
|
PopoverTitle,
|
|
615
615
|
PopoverTrigger
|
|
616
|
-
} from "./chunk-
|
|
616
|
+
} from "./chunk-HB5BKRMH.mjs";
|
|
617
617
|
import {
|
|
618
618
|
Calendar,
|
|
619
619
|
CalendarDayButton
|
|
@@ -633,8 +633,8 @@ import {
|
|
|
633
633
|
import {
|
|
634
634
|
Input
|
|
635
635
|
} from "./chunk-LBTHZSBT.mjs";
|
|
636
|
-
import "./chunk-
|
|
637
|
-
import "./chunk-
|
|
636
|
+
import "./chunk-XYSRRDBH.mjs";
|
|
637
|
+
import "./chunk-FRCTOAKZ.mjs";
|
|
638
638
|
import {
|
|
639
639
|
Accordion,
|
|
640
640
|
AccordionContent,
|
package/dist/lib/colors.js
CHANGED
|
@@ -21,9 +21,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var colors_exports = {};
|
|
22
22
|
__export(colors_exports, {
|
|
23
23
|
colorMixSwatch: () => colorMixSwatch,
|
|
24
|
+
generatePrimaryShades: () => generatePrimaryShades,
|
|
24
25
|
getContrastText: () => getContrastText,
|
|
25
26
|
getLuminance: () => getLuminance,
|
|
26
27
|
hexToOklch: () => hexToOklch,
|
|
28
|
+
hexToOklchComponents: () => hexToOklchComponents,
|
|
27
29
|
hexToRgb: () => hexToRgb
|
|
28
30
|
});
|
|
29
31
|
module.exports = __toCommonJS(colors_exports);
|
|
@@ -61,7 +63,7 @@ function colorMixSwatch(color, fillOpacity = 0.15) {
|
|
|
61
63
|
const percent = Math.round(fillOpacity * 100);
|
|
62
64
|
return `color-mix(in srgb, ${color} ${percent}%, transparent)`;
|
|
63
65
|
}
|
|
64
|
-
function
|
|
66
|
+
function hexToOklchComponents(hex) {
|
|
65
67
|
const [r, g, b] = hexToRgb(hex);
|
|
66
68
|
const rl = linearizeSrgb(r);
|
|
67
69
|
const gl = linearizeSrgb(g);
|
|
@@ -76,15 +78,46 @@ function hexToOklch(hex) {
|
|
|
76
78
|
const a = 1.9779984951 * l_ - 2.428592205 * m_ + 0.4505937099 * s_;
|
|
77
79
|
const bv = 0.0259040371 * l_ + 0.7827717662 * m_ - 0.808675766 * s_;
|
|
78
80
|
const C = Math.sqrt(a * a + bv * bv);
|
|
79
|
-
const
|
|
81
|
+
const H = (Math.atan2(bv, a) * 180 / Math.PI + 360) % 360;
|
|
82
|
+
return { L, C, H };
|
|
83
|
+
}
|
|
84
|
+
function hexToOklch(hex) {
|
|
85
|
+
const { L, C, H } = hexToOklchComponents(hex);
|
|
80
86
|
if (C < 1e-3) return `oklch(${L.toFixed(3)} 0 0)`;
|
|
81
|
-
return `oklch(${L.toFixed(3)} ${C.toFixed(3)} ${
|
|
87
|
+
return `oklch(${L.toFixed(3)} ${C.toFixed(3)} ${H.toFixed(1)})`;
|
|
88
|
+
}
|
|
89
|
+
var SHADE_LIGHTNESS = [
|
|
90
|
+
[50, 0.971],
|
|
91
|
+
[100, 0.944],
|
|
92
|
+
[200, 0.887],
|
|
93
|
+
[300, 0.808],
|
|
94
|
+
[400, 0.72],
|
|
95
|
+
[500, 0.646],
|
|
96
|
+
[600, 0.57],
|
|
97
|
+
[700, 0.48],
|
|
98
|
+
[800, 0.39],
|
|
99
|
+
[900, 0.31],
|
|
100
|
+
[950, 0.24]
|
|
101
|
+
];
|
|
102
|
+
function generatePrimaryShades(hex) {
|
|
103
|
+
const { L: baseL, C: baseC, H } = hexToOklchComponents(hex);
|
|
104
|
+
return Object.fromEntries(
|
|
105
|
+
SHADE_LIGHTNESS.map(([shade, targetL]) => {
|
|
106
|
+
const distance = Math.abs(targetL - baseL);
|
|
107
|
+
const chromaScale = Math.max(0.1, 1 - distance * 1.5);
|
|
108
|
+
const C = +(baseC * chromaScale).toFixed(3);
|
|
109
|
+
const value = C < 1e-3 ? `oklch(${targetL.toFixed(3)} 0 0)` : `oklch(${targetL.toFixed(3)} ${C} ${H.toFixed(1)})`;
|
|
110
|
+
return [`--primary-${shade}`, value];
|
|
111
|
+
})
|
|
112
|
+
);
|
|
82
113
|
}
|
|
83
114
|
// Annotate the CommonJS export names for ESM import in node:
|
|
84
115
|
0 && (module.exports = {
|
|
85
116
|
colorMixSwatch,
|
|
117
|
+
generatePrimaryShades,
|
|
86
118
|
getContrastText,
|
|
87
119
|
getLuminance,
|
|
88
120
|
hexToOklch,
|
|
121
|
+
hexToOklchComponents,
|
|
89
122
|
hexToRgb
|
|
90
123
|
});
|
package/dist/lib/colors.mjs
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colorMixSwatch,
|
|
3
|
+
generatePrimaryShades,
|
|
3
4
|
getContrastText,
|
|
4
5
|
getLuminance,
|
|
5
6
|
hexToOklch,
|
|
7
|
+
hexToOklchComponents,
|
|
6
8
|
hexToRgb
|
|
7
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-FRCTOAKZ.mjs";
|
|
8
10
|
import "../chunk-WNQUEZJF.mjs";
|
|
9
11
|
export {
|
|
10
12
|
colorMixSwatch,
|
|
13
|
+
generatePrimaryShades,
|
|
11
14
|
getContrastText,
|
|
12
15
|
getLuminance,
|
|
13
16
|
hexToOklch,
|
|
17
|
+
hexToOklchComponents,
|
|
14
18
|
hexToRgb
|
|
15
19
|
};
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
"use client";
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
|
+
var __defProps = Object.defineProperties;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
5
7
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
9
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
11
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
+
var __spreadValues = (a, b) => {
|
|
13
|
+
for (var prop in b || (b = {}))
|
|
14
|
+
if (__hasOwnProp.call(b, prop))
|
|
15
|
+
__defNormalProp(a, prop, b[prop]);
|
|
16
|
+
if (__getOwnPropSymbols)
|
|
17
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
18
|
+
if (__propIsEnum.call(b, prop))
|
|
19
|
+
__defNormalProp(a, prop, b[prop]);
|
|
20
|
+
}
|
|
21
|
+
return a;
|
|
22
|
+
};
|
|
23
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
7
24
|
var __export = (target, all) => {
|
|
8
25
|
for (var name in all)
|
|
9
26
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -59,7 +76,7 @@ function getContrastText(backgroundColor) {
|
|
|
59
76
|
const luminance = getLuminance(backgroundColor);
|
|
60
77
|
return luminance > 0.179 ? CONTRAST_DARK : CONTRAST_LIGHT;
|
|
61
78
|
}
|
|
62
|
-
function
|
|
79
|
+
function hexToOklchComponents(hex) {
|
|
63
80
|
const [r, g, b] = hexToRgb(hex);
|
|
64
81
|
const rl = linearizeSrgb(r);
|
|
65
82
|
const gl = linearizeSrgb(g);
|
|
@@ -74,9 +91,38 @@ function hexToOklch(hex) {
|
|
|
74
91
|
const a = 1.9779984951 * l_ - 2.428592205 * m_ + 0.4505937099 * s_;
|
|
75
92
|
const bv = 0.0259040371 * l_ + 0.7827717662 * m_ - 0.808675766 * s_;
|
|
76
93
|
const C = Math.sqrt(a * a + bv * bv);
|
|
77
|
-
const
|
|
94
|
+
const H = (Math.atan2(bv, a) * 180 / Math.PI + 360) % 360;
|
|
95
|
+
return { L, C, H };
|
|
96
|
+
}
|
|
97
|
+
function hexToOklch(hex) {
|
|
98
|
+
const { L, C, H } = hexToOklchComponents(hex);
|
|
78
99
|
if (C < 1e-3) return `oklch(${L.toFixed(3)} 0 0)`;
|
|
79
|
-
return `oklch(${L.toFixed(3)} ${C.toFixed(3)} ${
|
|
100
|
+
return `oklch(${L.toFixed(3)} ${C.toFixed(3)} ${H.toFixed(1)})`;
|
|
101
|
+
}
|
|
102
|
+
var SHADE_LIGHTNESS = [
|
|
103
|
+
[50, 0.971],
|
|
104
|
+
[100, 0.944],
|
|
105
|
+
[200, 0.887],
|
|
106
|
+
[300, 0.808],
|
|
107
|
+
[400, 0.72],
|
|
108
|
+
[500, 0.646],
|
|
109
|
+
[600, 0.57],
|
|
110
|
+
[700, 0.48],
|
|
111
|
+
[800, 0.39],
|
|
112
|
+
[900, 0.31],
|
|
113
|
+
[950, 0.24]
|
|
114
|
+
];
|
|
115
|
+
function generatePrimaryShades(hex) {
|
|
116
|
+
const { L: baseL, C: baseC, H } = hexToOklchComponents(hex);
|
|
117
|
+
return Object.fromEntries(
|
|
118
|
+
SHADE_LIGHTNESS.map(([shade, targetL]) => {
|
|
119
|
+
const distance = Math.abs(targetL - baseL);
|
|
120
|
+
const chromaScale = Math.max(0.1, 1 - distance * 1.5);
|
|
121
|
+
const C = +(baseC * chromaScale).toFixed(3);
|
|
122
|
+
const value = C < 1e-3 ? `oklch(${targetL.toFixed(3)} 0 0)` : `oklch(${targetL.toFixed(3)} ${C} ${H.toFixed(1)})`;
|
|
123
|
+
return [`--primary-${shade}`, value];
|
|
124
|
+
})
|
|
125
|
+
);
|
|
80
126
|
}
|
|
81
127
|
|
|
82
128
|
// src/lib/theme-provider.tsx
|
|
@@ -101,7 +147,7 @@ function ThemeProvider({
|
|
|
101
147
|
const primaryFgOklch = hexToOklch(getContrastText(primary));
|
|
102
148
|
const secondaryOklch = hexToOklch(secondary);
|
|
103
149
|
const secondaryFgOklch = hexToOklch(getContrastText(secondary));
|
|
104
|
-
return {
|
|
150
|
+
return __spreadProps(__spreadValues({
|
|
105
151
|
// Brand primary — used by buttons, links, focus rings, active states
|
|
106
152
|
"--primary": primaryOklch,
|
|
107
153
|
"--primary-foreground": primaryFgOklch,
|
|
@@ -118,17 +164,18 @@ function ThemeProvider({
|
|
|
118
164
|
"--font-family-sans": fontFamily,
|
|
119
165
|
// Legacy compat (used by existing WealthX apps)
|
|
120
166
|
"--theme-primary": primary,
|
|
121
|
-
"--theme-secondary": secondary
|
|
122
|
-
|
|
123
|
-
//
|
|
124
|
-
|
|
125
|
-
"--color-stage-
|
|
126
|
-
"--color-stage-
|
|
127
|
-
"--color-stage-
|
|
128
|
-
"--color-stage-
|
|
167
|
+
"--theme-secondary": secondary
|
|
168
|
+
}, generatePrimaryShades(primary)), {
|
|
169
|
+
// Pipeline stage palette — maps stage slots to primary shades.
|
|
170
|
+
// stage-1 = darkest visible, stage-5 = lightest visible on white bg.
|
|
171
|
+
"--color-stage-1": `var(--primary-600)`,
|
|
172
|
+
"--color-stage-2": `var(--primary-400)`,
|
|
173
|
+
"--color-stage-3": `var(--primary-300)`,
|
|
174
|
+
"--color-stage-4": `var(--primary-200)`,
|
|
175
|
+
"--color-stage-5": `var(--primary-100)`,
|
|
129
176
|
// WCAG-computed contrast text for any primary-shaded background
|
|
130
177
|
"--color-stage-fg": primaryFgOklch
|
|
131
|
-
};
|
|
178
|
+
});
|
|
132
179
|
}, [primary, secondary, fontFamily, injectCssVariables]);
|
|
133
180
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ThemeVarsContext.Provider, { value: vars, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { "data-wealthx-theme": true, style: vars, children }) });
|
|
134
181
|
}
|