@wealthx/shadcn 1.5.6 → 1.5.8
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 +177 -171
- 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-ODO6BUOF.mjs → chunk-3CGM3QXQ.mjs} +3 -5
- 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-3Z75IKFO.mjs +34 -0
- package/dist/{chunk-DFL5CV75.mjs → chunk-4BHDDLWK.mjs} +2 -2
- package/dist/{chunk-KLJLDNCA.mjs → chunk-4LLTZ45R.mjs} +1 -1
- package/dist/{chunk-RAKBWNQH.mjs → chunk-54MTIKNC.mjs} +27 -66
- package/dist/{chunk-JTG5R5YV.mjs → chunk-54TRNCID.mjs} +287 -61
- 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-65PZNG4Y.mjs +129 -0
- package/dist/{chunk-K7WSRWOU.mjs → chunk-6LWCFAB4.mjs} +1 -1
- package/dist/{chunk-Q5SGEIJV.mjs → chunk-6MDNL5I2.mjs} +3 -3
- package/dist/{chunk-AUEUTZIC.mjs → chunk-6U4NQGVM.mjs} +3 -3
- package/dist/{chunk-V4CUTCHS.mjs → chunk-77L3UPBW.mjs} +1 -1
- package/dist/{chunk-CW32WTZU.mjs → chunk-7UIL5UN3.mjs} +1 -1
- package/dist/{chunk-2LLFNGJZ.mjs → chunk-AANINK2B.mjs} +3 -3
- package/dist/{chunk-UEREFDAE.mjs → chunk-AZGLSIHF.mjs} +1 -1
- 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-CEEVYRQA.mjs +61 -0
- 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-VLELWBEW.mjs → chunk-E2BNCA6L.mjs} +1 -1
- package/dist/{chunk-QRVEI6J3.mjs → chunk-E5EDZQ5J.mjs} +1 -3
- package/dist/{chunk-QHJDGB54.mjs → chunk-EAKRTKHJ.mjs} +2 -2
- package/dist/{chunk-Q35PNFJ7.mjs → chunk-FBNEIYSE.mjs} +1 -1
- 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-46Q4335I.mjs → chunk-GS47ZSSA.mjs} +12 -22
- 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-VFH632TB.mjs → chunk-K4WDPVFY.mjs} +3 -3
- package/dist/{chunk-PV3Y7QGK.mjs → chunk-LHWJQNLG.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-VJ3GC7W3.mjs → chunk-MNMSHB2J.mjs} +5 -5
- package/dist/{chunk-J5NW5NCT.mjs → chunk-NCMV3LTP.mjs} +1 -1
- package/dist/{chunk-IXR4BQSQ.mjs → chunk-O5CP6VP6.mjs} +3 -3
- package/dist/{chunk-TGVXRD53.mjs → chunk-OZ2R6ERP.mjs} +1 -1
- package/dist/{chunk-D447W45Z.mjs → chunk-PCULNQWA.mjs} +42 -50
- 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-6TX73WG7.mjs → chunk-TCE5L44O.mjs} +3 -2
- package/dist/{chunk-OECGKCVF.mjs → chunk-TLLD5IU6.mjs} +1 -1
- package/dist/{chunk-BFB3UH7V.mjs → chunk-TRM3KIHT.mjs} +2 -2
- 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-OL65UQHQ.mjs → chunk-UYRHYJPX.mjs} +27 -61
- package/dist/{chunk-BDESHD25.mjs → chunk-VLVEZHFE.mjs} +1 -1
- package/dist/{chunk-EUYPMDQG.mjs → chunk-VWZS32ZQ.mjs} +1 -1
- package/dist/{chunk-HROG643K.mjs → chunk-W5QJ57PU.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-HO6S3ECM.mjs → chunk-XUCDPAVI.mjs} +2 -2
- package/dist/{chunk-EW72FINW.mjs → chunk-XVZGXPIX.mjs} +1 -1
- 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 +6 -6
- package/dist/components/ui/add-column-modal.js +56 -227
- package/dist/components/ui/add-column-modal.mjs +4 -5
- 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.js +278 -58
- 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 +7 -7
- package/dist/components/ui/appointment-availability-settings.js +1 -1
- package/dist/components/ui/appointment-availability-settings.mjs +9 -9
- package/dist/components/ui/appointment-book-dialog.js +11 -21
- package/dist/components/ui/appointment-book-dialog.mjs +7 -7
- package/dist/components/ui/appointment-calendar-view.mjs +2 -2
- package/dist/components/ui/appointment-detail-sheet.mjs +9 -9
- package/dist/components/ui/appointment-upcoming-card.mjs +6 -6
- 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 +9 -9
- 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/calendar.mjs +2 -2
- 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 +5 -5
- package/dist/components/ui/data-table.mjs +6 -6
- package/dist/components/ui/date-picker.mjs +6 -6
- 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-cards.mjs +2 -2
- package/dist/components/ui/financial-drawers.mjs +4 -4
- package/dist/components/ui/financial-sections.mjs +3 -3
- 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/integration-card.js +326 -0
- package/dist/components/ui/integration-card.mjs +11 -0
- package/dist/components/ui/kanban-column.js +151 -243
- package/dist/components/ui/kanban-column.mjs +6 -7
- package/dist/components/ui/loan-application-cards.mjs +1 -1
- package/dist/components/ui/money-item-with-color-indicator.mjs +4 -4
- package/dist/components/ui/onboarding-layout.js +65 -4
- package/dist/components/ui/onboarding-layout.mjs +6 -4
- package/dist/components/ui/opportunity-card.js +126 -216
- package/dist/components/ui/opportunity-card.mjs +5 -6
- package/dist/components/ui/opportunity-edit-modals.mjs +9 -9
- package/dist/components/ui/opportunity-summary-tab.mjs +11 -11
- package/dist/components/ui/pagination.mjs +4 -4
- package/dist/components/ui/password-strength-tooltip.mjs +4 -4
- package/dist/components/ui/pipeline-board.js +167 -261
- package/dist/components/ui/pipeline-board.mjs +7 -8
- package/dist/components/ui/pipeline-chart.js +128 -55
- package/dist/components/ui/pipeline-chart.mjs +4 -3
- package/dist/components/ui/pipeline-dialogs.mjs +9 -9
- 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 +7 -7
- 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/selectable-card.js +163 -0
- package/dist/components/ui/selectable-card.mjs +9 -0
- 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/signup-shell.js +3 -2
- package/dist/components/ui/signup-shell.mjs +2 -2
- package/dist/components/ui/stepper.js +3 -2
- package/dist/components/ui/stepper.mjs +1 -1
- 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 +2144 -1875
- package/dist/index.mjs +105 -95
- 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 +11 -1
- package/src/components/index.tsx +13 -1
- package/src/components/ui/add-column-modal.tsx +9 -58
- package/src/components/ui/ai-conversations.tsx +308 -42
- package/src/components/ui/appointment-availability-settings.tsx +1 -1
- package/src/components/ui/appointment-book-dialog.tsx +25 -48
- package/src/components/ui/integration-card.tsx +88 -0
- package/src/components/ui/kanban-column.tsx +0 -7
- package/src/components/ui/onboarding-layout.tsx +102 -1
- package/src/components/ui/opportunity-card.tsx +5 -53
- package/src/components/ui/pipeline-board.tsx +0 -3
- package/src/components/ui/pipeline-chart.tsx +47 -53
- package/src/components/ui/selectable-card.tsx +37 -0
- package/src/components/ui/stepper.tsx +3 -2
- package/src/lib/colors.ts +73 -5
- package/src/lib/format-date.ts +6 -6
- package/src/lib/theme-provider.tsx +13 -8
- package/src/styles/globals.css +37 -9
- package/src/styles/styles-css.ts +1 -1
- package/tsup.config.ts +2 -0
- package/dist/chunk-2P7HP7LR.mjs +0 -68
package/dist/index.mjs
CHANGED
|
@@ -1,52 +1,58 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VideoBackground
|
|
3
|
+
} from "./chunk-ZGQIVGIN.mjs";
|
|
1
4
|
import {
|
|
2
5
|
ALERT_QUERY_FIELDS,
|
|
3
6
|
AlertSharingType,
|
|
4
7
|
ContactAlertDialog,
|
|
5
8
|
ContactAlertQueryBuilder,
|
|
6
9
|
createAlertTree
|
|
7
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5LZZYODG.mjs";
|
|
8
11
|
import {
|
|
9
12
|
TransactionsExpenseCategoriesDoughnutChart
|
|
10
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FGMDBJCF.mjs";
|
|
11
14
|
import {
|
|
12
15
|
TransactionsIncomeExpenseBarChart
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-G2W754UJ.mjs";
|
|
14
17
|
import {
|
|
15
18
|
TransactionsLiabilitiesBreakdownChart
|
|
16
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-77L3UPBW.mjs";
|
|
17
20
|
import {
|
|
18
21
|
TwoFASetupForm
|
|
19
22
|
} from "./chunk-B7DD3ODQ.mjs";
|
|
20
23
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
StageTimeline
|
|
25
|
+
} from "./chunk-IQGKOT7A.mjs";
|
|
26
|
+
import {
|
|
27
|
+
SidebarNav
|
|
28
|
+
} from "./chunk-RSEVIQEO.mjs";
|
|
23
29
|
import {
|
|
24
30
|
FrontendShell,
|
|
25
31
|
SignupShell,
|
|
26
32
|
SignupVideoPanel
|
|
27
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-AZGLSIHF.mjs";
|
|
28
34
|
import {
|
|
29
35
|
Toaster
|
|
30
36
|
} from "./chunk-WZ6UJCBL.mjs";
|
|
31
37
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./chunk-
|
|
38
|
+
SelectableCard
|
|
39
|
+
} from "./chunk-3Z75IKFO.mjs";
|
|
34
40
|
import {
|
|
35
41
|
EmailTemplateDialog,
|
|
36
42
|
ShareDetailsDialog
|
|
37
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-OZ2R6ERP.mjs";
|
|
38
44
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./chunk-
|
|
45
|
+
PropertyCashflowDoughnutChart
|
|
46
|
+
} from "./chunk-VLVEZHFE.mjs";
|
|
41
47
|
import {
|
|
42
48
|
PropertyDebtEquityDoughnutChart
|
|
43
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-GYWOD2YI.mjs";
|
|
44
50
|
import {
|
|
45
51
|
PropertyMobileEstimateLineChart
|
|
46
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-JUMEIPII.mjs";
|
|
47
53
|
import {
|
|
48
54
|
PropertyReportDialog
|
|
49
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-LPVXO3TD.mjs";
|
|
50
56
|
import {
|
|
51
57
|
ResourceCarousel,
|
|
52
58
|
ResourceCenterHeader,
|
|
@@ -54,27 +60,39 @@ import {
|
|
|
54
60
|
ResourceEmailTemplateCard,
|
|
55
61
|
ResourceModal,
|
|
56
62
|
ResourceVideoCard
|
|
57
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-VWZS32ZQ.mjs";
|
|
58
64
|
import {
|
|
59
65
|
ReviewAlertsDialog
|
|
60
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-IFSQWDRN.mjs";
|
|
67
|
+
import {
|
|
68
|
+
PipelineAlerts
|
|
69
|
+
} from "./chunk-KFH36NKF.mjs";
|
|
61
70
|
import {
|
|
62
71
|
PipelineBoard
|
|
63
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-E5EDZQ5J.mjs";
|
|
64
73
|
import {
|
|
65
74
|
PipelineChart
|
|
66
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-PCULNQWA.mjs";
|
|
67
76
|
import {
|
|
68
77
|
ChangePriorityDialog,
|
|
69
78
|
DeleteOpportunityDialog,
|
|
70
79
|
PutOnHoldDialog
|
|
71
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-K4WDPVFY.mjs";
|
|
72
81
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
82
|
+
OnboardingLayout,
|
|
83
|
+
OnboardingPanelLayout
|
|
84
|
+
} from "./chunk-65PZNG4Y.mjs";
|
|
85
|
+
import {
|
|
86
|
+
Step,
|
|
87
|
+
StepContent,
|
|
88
|
+
StepIndicator,
|
|
89
|
+
StepItem,
|
|
90
|
+
StepLabel,
|
|
91
|
+
Stepper
|
|
92
|
+
} from "./chunk-TCE5L44O.mjs";
|
|
75
93
|
import {
|
|
76
94
|
OpportunitySummaryTab
|
|
77
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-6U4NQGVM.mjs";
|
|
78
96
|
import {
|
|
79
97
|
EditAboutApplicantModal,
|
|
80
98
|
EditAssetsModal,
|
|
@@ -82,7 +100,7 @@ import {
|
|
|
82
100
|
EditExpensesModal,
|
|
83
101
|
EditIncomeModal,
|
|
84
102
|
EditLoanScenarioModal
|
|
85
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-6MDNL5I2.mjs";
|
|
86
104
|
import {
|
|
87
105
|
PageHeader
|
|
88
106
|
} from "./chunk-NT4FX27K.mjs";
|
|
@@ -90,45 +108,34 @@ import {
|
|
|
90
108
|
PageTopBar
|
|
91
109
|
} from "./chunk-NB3ZL36B.mjs";
|
|
92
110
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
111
|
+
LoanEntryShell
|
|
112
|
+
} from "./chunk-623YVI5O.mjs";
|
|
95
113
|
import {
|
|
96
114
|
LoanWizardShell
|
|
97
115
|
} from "./chunk-PUJ42INK.mjs";
|
|
98
|
-
import {
|
|
99
|
-
OnboardingLayout
|
|
100
|
-
} from "./chunk-2P7HP7LR.mjs";
|
|
101
|
-
import {
|
|
102
|
-
Step,
|
|
103
|
-
StepContent,
|
|
104
|
-
StepIndicator,
|
|
105
|
-
StepItem,
|
|
106
|
-
StepLabel,
|
|
107
|
-
Stepper
|
|
108
|
-
} from "./chunk-6TX73WG7.mjs";
|
|
109
116
|
import {
|
|
110
117
|
KanbanColumn
|
|
111
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-3CGM3QXQ.mjs";
|
|
112
119
|
import {
|
|
113
120
|
LeadCard,
|
|
114
121
|
OpportunityCard
|
|
115
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-54MTIKNC.mjs";
|
|
116
123
|
import {
|
|
117
124
|
TaskCheckItem
|
|
118
125
|
} from "./chunk-2WCIORP7.mjs";
|
|
119
126
|
import {
|
|
120
127
|
LoanApplicationBadge
|
|
121
128
|
} from "./chunk-4DO3WM7V.mjs";
|
|
122
|
-
import {
|
|
123
|
-
LoanEntryShell
|
|
124
|
-
} from "./chunk-623YVI5O.mjs";
|
|
125
129
|
import {
|
|
126
130
|
IncomeWorkDetails
|
|
127
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-XMP24PWA.mjs";
|
|
132
|
+
import {
|
|
133
|
+
IntegrationCard
|
|
134
|
+
} from "./chunk-CEEVYRQA.mjs";
|
|
128
135
|
import {
|
|
129
136
|
OpportunityDetailsDrawer,
|
|
130
137
|
SummaryReportDrawer
|
|
131
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-TLLD5IU6.mjs";
|
|
132
139
|
import {
|
|
133
140
|
AlertAccordion,
|
|
134
141
|
DebtSection,
|
|
@@ -138,7 +145,7 @@ import {
|
|
|
138
145
|
LoanScenarioSection,
|
|
139
146
|
OtherLiabilitiesSection,
|
|
140
147
|
PropertyHoldingsSection
|
|
141
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-E2BNCA6L.mjs";
|
|
142
149
|
import {
|
|
143
150
|
AboutCard,
|
|
144
151
|
AlertCard,
|
|
@@ -147,7 +154,7 @@ import {
|
|
|
147
154
|
IncomeCard,
|
|
148
155
|
OtherLiabilityCard,
|
|
149
156
|
PropertyCard
|
|
150
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-W5QJ57PU.mjs";
|
|
151
158
|
import {
|
|
152
159
|
FinancialCardHeader,
|
|
153
160
|
FinancialDetailField,
|
|
@@ -166,7 +173,7 @@ import {
|
|
|
166
173
|
FrontendSuccessStep,
|
|
167
174
|
PhoneVerifyStep,
|
|
168
175
|
RetrieveBankDataStep
|
|
169
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-JGBV3XMQ.mjs";
|
|
170
177
|
import {
|
|
171
178
|
InputOTP,
|
|
172
179
|
InputOTPGroup,
|
|
@@ -175,13 +182,13 @@ import {
|
|
|
175
182
|
} from "./chunk-HK4HUQTV.mjs";
|
|
176
183
|
import {
|
|
177
184
|
IncomeBarChart
|
|
178
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-IRZWYTGV.mjs";
|
|
179
186
|
import {
|
|
180
187
|
ExpenseBarChart
|
|
181
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-4LLTZ45R.mjs";
|
|
182
189
|
import {
|
|
183
190
|
FilePreviewDialog
|
|
184
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-UBHBIWIA.mjs";
|
|
185
192
|
import {
|
|
186
193
|
Progress
|
|
187
194
|
} from "./chunk-JPGL36WQ.mjs";
|
|
@@ -192,13 +199,13 @@ import {
|
|
|
192
199
|
DataTableSkeleton,
|
|
193
200
|
DataTableToolbar,
|
|
194
201
|
getSelectionColumn
|
|
195
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-TUC2BNUR.mjs";
|
|
196
203
|
import {
|
|
197
204
|
DeleteContactComponent
|
|
198
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-5DAQU3B6.mjs";
|
|
199
206
|
import {
|
|
200
207
|
DocumentChecklistTemplate
|
|
201
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-6LWCFAB4.mjs";
|
|
202
209
|
import {
|
|
203
210
|
Drawer,
|
|
204
211
|
DrawerClose,
|
|
@@ -210,7 +217,7 @@ import {
|
|
|
210
217
|
DrawerPortal,
|
|
211
218
|
DrawerTitle,
|
|
212
219
|
DrawerTrigger
|
|
213
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-ZAXZBOWI.mjs";
|
|
214
221
|
import {
|
|
215
222
|
Combobox,
|
|
216
223
|
ComboboxContent,
|
|
@@ -226,10 +233,10 @@ import {
|
|
|
226
233
|
} from "./chunk-OEOOYMC2.mjs";
|
|
227
234
|
import {
|
|
228
235
|
CreateContactModal
|
|
229
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-5YVJSKFH.mjs";
|
|
230
237
|
import {
|
|
231
238
|
CsvImportModal
|
|
232
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-3NJPNSJG.mjs";
|
|
233
240
|
import {
|
|
234
241
|
InputGroup,
|
|
235
242
|
InputGroupAddon,
|
|
@@ -240,10 +247,10 @@ import {
|
|
|
240
247
|
} from "./chunk-7YI3HEBH.mjs";
|
|
241
248
|
import {
|
|
242
249
|
CashBalanceLineChart
|
|
243
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-DCKT635J.mjs";
|
|
244
251
|
import {
|
|
245
252
|
CashflowBarChart
|
|
246
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-D3HKFRQO.mjs";
|
|
247
254
|
import {
|
|
248
255
|
ChatWidget,
|
|
249
256
|
ChatWidgetIntakeForm,
|
|
@@ -265,13 +272,13 @@ import {
|
|
|
265
272
|
} from "./chunk-KWD6GANL.mjs";
|
|
266
273
|
import {
|
|
267
274
|
BorrowingCapacityLineChart
|
|
268
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-UTCW5YUX.mjs";
|
|
269
276
|
import {
|
|
270
277
|
BackofficeContactHistoryChart
|
|
271
|
-
} from "./chunk-
|
|
278
|
+
} from "./chunk-BAONSY54.mjs";
|
|
272
279
|
import {
|
|
273
280
|
BackofficeContactMatchingChart
|
|
274
|
-
} from "./chunk-
|
|
281
|
+
} from "./chunk-ZFKAYRFQ.mjs";
|
|
275
282
|
import {
|
|
276
283
|
BackofficeSuccessStep,
|
|
277
284
|
BrandingInfoStep,
|
|
@@ -280,16 +287,16 @@ import {
|
|
|
280
287
|
PaymentView,
|
|
281
288
|
PersonalDetailsStep,
|
|
282
289
|
StripeView
|
|
283
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-FW4U543X.mjs";
|
|
284
291
|
import {
|
|
285
292
|
FormField,
|
|
286
293
|
PasswordField,
|
|
287
294
|
SectionHeading,
|
|
288
295
|
StaffRowItem
|
|
289
|
-
} from "./chunk-
|
|
296
|
+
} from "./chunk-UJMVXREM.mjs";
|
|
290
297
|
import {
|
|
291
298
|
PasswordStrengthTooltip
|
|
292
|
-
} from "./chunk-
|
|
299
|
+
} from "./chunk-WHIW6KOB.mjs";
|
|
293
300
|
import {
|
|
294
301
|
COLOR_PICKER_PRESETS,
|
|
295
302
|
ColorPicker,
|
|
@@ -297,7 +304,7 @@ import {
|
|
|
297
304
|
ColorSwatch,
|
|
298
305
|
isValidHex,
|
|
299
306
|
normalizeHex
|
|
300
|
-
} from "./chunk-
|
|
307
|
+
} from "./chunk-IW33VLL5.mjs";
|
|
301
308
|
import {
|
|
302
309
|
UploadCard,
|
|
303
310
|
uploadCardVariants
|
|
@@ -307,7 +314,7 @@ import {
|
|
|
307
314
|
} from "./chunk-TC43SMIN.mjs";
|
|
308
315
|
import {
|
|
309
316
|
BankStatementGenerateDialog
|
|
310
|
-
} from "./chunk-
|
|
317
|
+
} from "./chunk-O5CP6VP6.mjs";
|
|
311
318
|
import {
|
|
312
319
|
Field,
|
|
313
320
|
FieldContent,
|
|
@@ -322,7 +329,7 @@ import {
|
|
|
322
329
|
} from "./chunk-MUV4EGDW.mjs";
|
|
323
330
|
import {
|
|
324
331
|
BankStatementPDFViewer
|
|
325
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-BXL74CM2.mjs";
|
|
326
333
|
import {
|
|
327
334
|
AuthLogo
|
|
328
335
|
} from "./chunk-Y2MTAVAK.mjs";
|
|
@@ -331,16 +338,16 @@ import {
|
|
|
331
338
|
} from "./chunk-6OSULDEO.mjs";
|
|
332
339
|
import {
|
|
333
340
|
BackofficeAlertHistoryChart
|
|
334
|
-
} from "./chunk-
|
|
341
|
+
} from "./chunk-BZGFW6L7.mjs";
|
|
335
342
|
import {
|
|
336
343
|
BackofficeAlertMatchingChart
|
|
337
|
-
} from "./chunk-
|
|
344
|
+
} from "./chunk-PGJRZHN7.mjs";
|
|
338
345
|
import {
|
|
339
346
|
BackofficeAlertsChart
|
|
340
|
-
} from "./chunk-
|
|
347
|
+
} from "./chunk-3C4DZTGA.mjs";
|
|
341
348
|
import {
|
|
342
349
|
BackofficeConnectionsChart
|
|
343
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-WWIWRNBK.mjs";
|
|
344
351
|
import {
|
|
345
352
|
Skeleton
|
|
346
353
|
} from "./chunk-GTAVSBDO.mjs";
|
|
@@ -355,7 +362,7 @@ import {
|
|
|
355
362
|
} from "./chunk-R2ON6CAN.mjs";
|
|
356
363
|
import {
|
|
357
364
|
AppointmentBookDialog
|
|
358
|
-
} from "./chunk-
|
|
365
|
+
} from "./chunk-GS47ZSSA.mjs";
|
|
359
366
|
import {
|
|
360
367
|
RadioGroup,
|
|
361
368
|
RadioGroupCard,
|
|
@@ -372,10 +379,10 @@ import {
|
|
|
372
379
|
} from "./chunk-ISUA7DSB.mjs";
|
|
373
380
|
import {
|
|
374
381
|
AppointmentCalendarView
|
|
375
|
-
} from "./chunk-
|
|
382
|
+
} from "./chunk-XVZGXPIX.mjs";
|
|
376
383
|
import {
|
|
377
384
|
AppointmentDetailSheet
|
|
378
|
-
} from "./chunk-
|
|
385
|
+
} from "./chunk-XUCDPAVI.mjs";
|
|
379
386
|
import {
|
|
380
387
|
AppointmentGmailConnect
|
|
381
388
|
} from "./chunk-ZXEUBBHJ.mjs";
|
|
@@ -384,7 +391,7 @@ import {
|
|
|
384
391
|
} from "./chunk-4Z66LMIQ.mjs";
|
|
385
392
|
import {
|
|
386
393
|
AppointmentUpcomingCard
|
|
387
|
-
} from "./chunk-
|
|
394
|
+
} from "./chunk-4BHDDLWK.mjs";
|
|
388
395
|
import {
|
|
389
396
|
Alert,
|
|
390
397
|
AlertDescription,
|
|
@@ -399,20 +406,20 @@ import {
|
|
|
399
406
|
import {
|
|
400
407
|
AppointmentConfirmDialog,
|
|
401
408
|
AppointmentRescheduleDialog
|
|
402
|
-
} from "./chunk-
|
|
409
|
+
} from "./chunk-AANINK2B.mjs";
|
|
403
410
|
import {
|
|
404
411
|
AppointmentSlotSection,
|
|
405
412
|
AppointmentTimeSlotPicker
|
|
406
413
|
} from "./chunk-FRT3S72S.mjs";
|
|
407
414
|
import {
|
|
408
415
|
AppointmentAvailabilitySettings
|
|
409
|
-
} from "./chunk-
|
|
416
|
+
} from "./chunk-MNMSHB2J.mjs";
|
|
410
417
|
import {
|
|
411
418
|
AddColumnModal
|
|
412
|
-
} from "./chunk-
|
|
419
|
+
} from "./chunk-UYRHYJPX.mjs";
|
|
413
420
|
import {
|
|
414
421
|
AddLeadModal
|
|
415
|
-
} from "./chunk-
|
|
422
|
+
} from "./chunk-B3CTBLIY.mjs";
|
|
416
423
|
import {
|
|
417
424
|
Pagination,
|
|
418
425
|
PaginationContent,
|
|
@@ -423,7 +430,7 @@ import {
|
|
|
423
430
|
PaginationNext,
|
|
424
431
|
PaginationPrevious,
|
|
425
432
|
TablePagination
|
|
426
|
-
} from "./chunk-
|
|
433
|
+
} from "./chunk-SSUK6C2K.mjs";
|
|
427
434
|
import {
|
|
428
435
|
Table,
|
|
429
436
|
TableBody,
|
|
@@ -449,7 +456,7 @@ import {
|
|
|
449
456
|
SelectSeparator,
|
|
450
457
|
SelectTrigger,
|
|
451
458
|
SelectValue
|
|
452
|
-
} from "./chunk-
|
|
459
|
+
} from "./chunk-USOVLDGS.mjs";
|
|
453
460
|
import {
|
|
454
461
|
AdvisorCard,
|
|
455
462
|
AdvisorInviteCard
|
|
@@ -460,7 +467,7 @@ import {
|
|
|
460
467
|
} from "./chunk-AHSCWXYJ.mjs";
|
|
461
468
|
import {
|
|
462
469
|
AiAssistantDrawer
|
|
463
|
-
} from "./chunk-
|
|
470
|
+
} from "./chunk-7UIL5UN3.mjs";
|
|
464
471
|
import {
|
|
465
472
|
Sheet,
|
|
466
473
|
SheetClose,
|
|
@@ -471,7 +478,7 @@ import {
|
|
|
471
478
|
SheetPortal,
|
|
472
479
|
SheetTitle,
|
|
473
480
|
SheetTrigger
|
|
474
|
-
} from "./chunk-
|
|
481
|
+
} from "./chunk-NCMV3LTP.mjs";
|
|
475
482
|
import {
|
|
476
483
|
Spinner,
|
|
477
484
|
spinnerVariants
|
|
@@ -482,7 +489,7 @@ import {
|
|
|
482
489
|
IntegrationInstructionCard,
|
|
483
490
|
IntegrationServiceCard,
|
|
484
491
|
ServiceConfigurationModal
|
|
485
|
-
} from "./chunk-
|
|
492
|
+
} from "./chunk-3VZ6CYY2.mjs";
|
|
486
493
|
import {
|
|
487
494
|
Card,
|
|
488
495
|
CardAction,
|
|
@@ -507,7 +514,7 @@ import {
|
|
|
507
514
|
ConversationStatusChip,
|
|
508
515
|
ConversationsPage,
|
|
509
516
|
LeadInfoPanel
|
|
510
|
-
} from "./chunk-
|
|
517
|
+
} from "./chunk-54TRNCID.mjs";
|
|
511
518
|
import {
|
|
512
519
|
DropdownMenu,
|
|
513
520
|
DropdownMenuCheckboxItem,
|
|
@@ -524,13 +531,13 @@ import {
|
|
|
524
531
|
DropdownMenuSubContent,
|
|
525
532
|
DropdownMenuSubTrigger,
|
|
526
533
|
DropdownMenuTrigger
|
|
527
|
-
} from "./chunk-
|
|
534
|
+
} from "./chunk-H5DTKPJ2.mjs";
|
|
528
535
|
import {
|
|
529
536
|
Tooltip,
|
|
530
537
|
TooltipContent,
|
|
531
538
|
TooltipProvider,
|
|
532
539
|
TooltipTrigger
|
|
533
|
-
} from "./chunk-
|
|
540
|
+
} from "./chunk-3S6KVFF5.mjs";
|
|
534
541
|
import {
|
|
535
542
|
Tabs,
|
|
536
543
|
TabsContent,
|
|
@@ -555,7 +562,7 @@ import {
|
|
|
555
562
|
DialogPortal,
|
|
556
563
|
DialogTitle,
|
|
557
564
|
DialogTrigger
|
|
558
|
-
} from "./chunk-
|
|
565
|
+
} from "./chunk-LI2CTS5O.mjs";
|
|
559
566
|
import {
|
|
560
567
|
Avatar,
|
|
561
568
|
AvatarBadge,
|
|
@@ -581,7 +588,7 @@ import {
|
|
|
581
588
|
AlertDialogPortal,
|
|
582
589
|
AlertDialogTitle,
|
|
583
590
|
AlertDialogTrigger
|
|
584
|
-
} from "./chunk-
|
|
591
|
+
} from "./chunk-CEYEK3TI.mjs";
|
|
585
592
|
import {
|
|
586
593
|
FONT_FAMILY_SANS,
|
|
587
594
|
TYPOGRAPHY,
|
|
@@ -597,7 +604,7 @@ import {
|
|
|
597
604
|
import "./chunk-FFXTQTB4.mjs";
|
|
598
605
|
import {
|
|
599
606
|
DatePicker
|
|
600
|
-
} from "./chunk-
|
|
607
|
+
} from "./chunk-TRM3KIHT.mjs";
|
|
601
608
|
import {
|
|
602
609
|
Popover,
|
|
603
610
|
PopoverAnchor,
|
|
@@ -606,12 +613,12 @@ import {
|
|
|
606
613
|
PopoverHeader,
|
|
607
614
|
PopoverTitle,
|
|
608
615
|
PopoverTrigger
|
|
609
|
-
} from "./chunk-
|
|
616
|
+
} from "./chunk-HB5BKRMH.mjs";
|
|
610
617
|
import {
|
|
611
618
|
Calendar,
|
|
612
619
|
CalendarDayButton
|
|
613
|
-
} from "./chunk-
|
|
614
|
-
import "./chunk-
|
|
620
|
+
} from "./chunk-FBNEIYSE.mjs";
|
|
621
|
+
import "./chunk-LHWJQNLG.mjs";
|
|
615
622
|
import {
|
|
616
623
|
Label
|
|
617
624
|
} from "./chunk-P7CEBZM6.mjs";
|
|
@@ -626,8 +633,8 @@ import {
|
|
|
626
633
|
import {
|
|
627
634
|
Input
|
|
628
635
|
} from "./chunk-LBTHZSBT.mjs";
|
|
629
|
-
import "./chunk-
|
|
630
|
-
import "./chunk-
|
|
636
|
+
import "./chunk-XYSRRDBH.mjs";
|
|
637
|
+
import "./chunk-FRCTOAKZ.mjs";
|
|
631
638
|
import {
|
|
632
639
|
Accordion,
|
|
633
640
|
AccordionContent,
|
|
@@ -876,6 +883,7 @@ export {
|
|
|
876
883
|
InputOTPGroup,
|
|
877
884
|
InputOTPSeparator,
|
|
878
885
|
InputOTPSlot,
|
|
886
|
+
IntegrationCard,
|
|
879
887
|
IntegrationInstructionCard,
|
|
880
888
|
IntegrationServiceCard,
|
|
881
889
|
InviteStaffView,
|
|
@@ -888,6 +896,7 @@ export {
|
|
|
888
896
|
LoanScenarioSection,
|
|
889
897
|
LoanWizardShell,
|
|
890
898
|
OnboardingLayout,
|
|
899
|
+
OnboardingPanelLayout,
|
|
891
900
|
OpportunityCard,
|
|
892
901
|
OpportunityDetailsDrawer,
|
|
893
902
|
OpportunitySummaryTab,
|
|
@@ -949,6 +958,7 @@ export {
|
|
|
949
958
|
SelectSeparator,
|
|
950
959
|
SelectTrigger,
|
|
951
960
|
SelectValue,
|
|
961
|
+
SelectableCard,
|
|
952
962
|
Separator,
|
|
953
963
|
ServiceConfigurationModal,
|
|
954
964
|
ShareDetailsDialog,
|
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
|
};
|