@mx-cartographer/experiences 8.0.0-alpha.bb3 → 8.0.0-alpha.sms1
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/CHANGELOG.md +128 -1
- package/dist/{Account-Bxw0_4FU.mjs → Account-BDXA6PWh.mjs} +1 -1
- package/dist/{AccountDetailsContent-CAM9y39M.mjs → AccountDetailsContent-CUztd3-b.mjs} +87 -83
- package/dist/AccountDetailsHeader-i3KFhNuo.mjs +87 -0
- package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-QZspYAji.mjs} +6 -6
- package/dist/{AccountListItem-JFMZROh7.mjs → AccountListItem-DX5upmCS.mjs} +5 -5
- package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-BcnDpyLL.mjs} +19 -8
- package/dist/{Accounts-BRf_YeTf.mjs → Accounts-DXfZotRC.mjs} +1 -1
- package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-De2IaqH2.mjs} +1 -1
- package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-D_NYuBSz.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-Df2nII9u.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +23 -21
- package/dist/{CategoryStore-yHI0hWmK.mjs → CategoryStore-DTgyAMM7.mjs} +12 -10
- package/dist/{CategoryUtil-pZRIYOgN.mjs → CategoryUtil-C5cR-nfQ.mjs} +1 -1
- package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-BIbTqYOH.mjs} +2 -2
- package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-BFfY3_zB.mjs} +3 -3
- package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-BFKcs-_K.mjs} +2 -2
- package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
- package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
- package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-BbJB0nmu.mjs} +1 -1
- package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
- package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
- package/dist/Drawer-BEtCk82g.mjs +163 -0
- package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
- package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
- package/dist/FinstrongStore-BIrX0Xg2.mjs +451 -0
- package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-DpWY3gVb.mjs} +5 -5
- package/dist/{Help-B6dIcujh.mjs → Help-BnPXM_N2.mjs} +2 -2
- package/dist/LineChart-bc1D9xBE.mjs +581 -0
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
- package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-NpXHhO1n.mjs} +177 -174
- package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
- package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
- package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
- package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-lsuhEpn6.mjs} +2 -2
- package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-CNmJWVeI.mjs} +241 -238
- package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-Ck2KdNmT.mjs} +10 -10
- package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
- package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +4 -4
- package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-CqZh1SQa.mjs} +17 -17
- package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-BKcYmpv3.mjs} +46 -45
- package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-Ni5tSQIO.mjs} +80 -73
- package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-krIRNwHK.mjs} +3 -3
- package/dist/SkeletonLoader-BaNboJjD.mjs +38 -0
- package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
- package/dist/SpendingLegend-CjX-hX2O.mjs +193 -0
- package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
- package/dist/TransactionApi-CjBoLleL.mjs +86 -0
- package/dist/TransactionDetails-5M2vfr59.mjs +1379 -0
- package/dist/{TransactionStore-ai3uII_r.mjs → TransactionStore-D-Q3BU9Z.mjs} +119 -121
- package/dist/TrendsStore-BW9FGQeE.mjs +182 -0
- package/dist/{User-BQUxBeZV.mjs → User-wXzDI4M8.mjs} +2 -2
- package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-C0832BMe.mjs} +702 -723
- package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-BhQ1Kx2z.mjs} +4 -4
- package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
- package/dist/accounts/index.es.js +229 -222
- package/dist/accounts/stores/AccountStore.d.ts +2 -0
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +380 -382
- package/dist/cashflow/index.es.js +405 -413
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +1 -1
- package/dist/common/components/ErrorBoundary.d.ts +1 -1
- package/dist/common/components/Select.d.ts +4 -2
- package/dist/common/components/charts/LineChart.d.ts +12 -2
- package/dist/common/components/charts/index.d.ts +0 -3
- package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
- package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
- package/dist/common/components/drawer/Drawer.d.ts +3 -0
- package/dist/common/components/drawer/Footer.d.ts +17 -0
- package/dist/common/hooks/index.d.ts +0 -1
- package/dist/common/hooks/useAriaLive.d.ts +1 -1
- package/dist/common/index.es.js +320 -321
- package/dist/common/stores/GlobalStore.d.ts +7 -1
- package/dist/common/types/Finstrong.d.ts +54 -0
- package/dist/common/types/Global.d.ts +1 -0
- package/dist/common/types/Widgets.d.ts +1 -0
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
- package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +506 -498
- package/dist/exportTransactionsToCSV-Cz2t0lmA.mjs +48 -0
- package/dist/finstrong/FinstrongWidget.d.ts +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
- package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
- package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
- package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
- package/dist/finstrong/components/ProgressBar.d.ts +15 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
- package/dist/finstrong/components/StatusChip.d.ts +5 -0
- package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
- package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
- package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
- package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
- package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
- package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
- package/dist/finstrong/constants/index.d.ts +9 -0
- package/dist/finstrong/index.es.js +3171 -1063
- package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
- package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
- package/dist/goals/index.es.js +566 -562
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/index.es.js +437 -435
- package/dist/merchants/index.es.js +2 -2
- package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
- package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
- package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
- package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
- package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
- package/dist/microinsights/carousel/BeatList.d.ts +10 -0
- package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
- package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
- package/dist/microinsights/constants/App.d.ts +0 -1
- package/dist/microinsights/index.d.ts +3 -3
- package/dist/microinsights/index.es.js +7 -7
- package/dist/microinsights/interfaces.d.ts +0 -6
- package/dist/networth/index.es.js +188 -186
- package/dist/notifications/index.es.js +95 -96
- package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +3 -0
- package/dist/recurringtransactions/index.es.js +584 -560
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -0
- package/dist/settings/index.es.js +286 -280
- package/dist/spending/index.es.js +269 -421
- package/dist/spending/utils/SpendingData.d.ts +2 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
- package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
- package/dist/transactions/index.es.js +226 -220
- package/dist/transactions/stores/TransactionStore.d.ts +1 -1
- package/dist/transactions/stores/UiStore.d.ts +0 -2
- package/dist/trends/index.es.js +963 -586
- package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-CFNF8766.mjs} +2 -2
- package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-CRwX-qWE.mjs} +1 -1
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
- package/package.json +7 -7
- package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
- package/dist/Drawer-kEE73B87.mjs +0 -113
- package/dist/FinstrongStore-F2c607dj.mjs +0 -101
- package/dist/LineChart-D4GI7nVh.mjs +0 -541
- package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
- package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
- package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
- package/dist/common/hooks/usePrevious.d.ts +0 -2
- package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
- package/dist/finstrong/utils/Finstrong.d.ts +0 -6
- package/dist/useAriaLive-B3_pRUio.mjs +0 -35
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-
|
|
2
|
-
import { C as g } from "../CategoryStore-
|
|
1
|
+
import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-DqJK_rrL.mjs";
|
|
2
|
+
import { C as g } from "../CategoryStore-DTgyAMM7.mjs";
|
|
3
3
|
export {
|
|
4
4
|
o as CategoryRow,
|
|
5
5
|
a as CategorySelector,
|
|
@@ -8,7 +8,7 @@ export declare class CategoryStore {
|
|
|
8
8
|
categoriesLoaded: boolean;
|
|
9
9
|
dateRangeCategoryTotals: DateRangeCategoryTotals[];
|
|
10
10
|
monthlyCategoryTotals: MonthlyCategoryTotals[];
|
|
11
|
-
|
|
11
|
+
dateRangeTotalsLoaded: boolean;
|
|
12
12
|
isLoadingCategoryTotals: boolean;
|
|
13
13
|
monthlyTotalsLoaded: boolean;
|
|
14
14
|
constructor(globalStore: GlobalStore);
|
|
@@ -9,6 +9,6 @@ declare class ErrorBoundary extends React.Component<ErrorProps, ErrorState> {
|
|
|
9
9
|
state: ErrorState;
|
|
10
10
|
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
11
11
|
static getDerivedStateFromError(): ErrorState;
|
|
12
|
-
render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
12
|
+
render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
13
13
|
}
|
|
14
14
|
export default ErrorBoundary;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { default as TextField } from '@mui/material/TextField';
|
|
1
3
|
export type SelectOption = {
|
|
2
4
|
id: number;
|
|
3
5
|
label: string;
|
|
4
6
|
};
|
|
5
|
-
interface SelectProps {
|
|
7
|
+
interface SelectProps extends Omit<React.ComponentProps<typeof TextField>, 'onChange'> {
|
|
6
8
|
label: string;
|
|
7
9
|
onChange: (value: number) => void;
|
|
8
10
|
options: SelectOption[];
|
|
9
11
|
value: number;
|
|
10
12
|
}
|
|
11
|
-
export declare const Select: ({ label, onChange, options, value }: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const Select: ({ label, onChange, options, value, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
14
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { SxProps } from '@mui/material/styles';
|
|
3
3
|
import { MarkHandlers } from './linechart/CustomMark';
|
|
4
4
|
export type LineChartDataset = {
|
|
@@ -14,6 +14,7 @@ export type TooltipLabel = LineChartLabel & {
|
|
|
14
14
|
};
|
|
15
15
|
type LineChartCurve = 'catmullRom' | 'linear' | 'monotoneX' | 'monotoneY' | 'natural' | 'step' | 'stepBefore' | 'stepAfter' | 'bump' | 'bumpX' | 'bumpY';
|
|
16
16
|
interface LineChartProps {
|
|
17
|
+
areaColor?: string;
|
|
17
18
|
axisColor?: string;
|
|
18
19
|
baseline?: string;
|
|
19
20
|
chartFor?: string;
|
|
@@ -22,6 +23,8 @@ interface LineChartProps {
|
|
|
22
23
|
colors: (string | undefined)[];
|
|
23
24
|
curveType?: LineChartCurve;
|
|
24
25
|
customLegendVariant?: string;
|
|
26
|
+
customLegendSx?: SxProps;
|
|
27
|
+
customLegendBoxSx?: SxProps;
|
|
25
28
|
customTooltipLabels?: TooltipLabel[][];
|
|
26
29
|
datasets: LineChartDataset[];
|
|
27
30
|
height?: number;
|
|
@@ -37,13 +40,19 @@ interface LineChartProps {
|
|
|
37
40
|
left?: number;
|
|
38
41
|
};
|
|
39
42
|
markHandlers?: MarkHandlers;
|
|
40
|
-
markStyles?: (markIndex: number) => CSSProperties
|
|
43
|
+
markStyles?: (markIndex: number) => React.CSSProperties & {
|
|
44
|
+
markLabelStyles?: React.CSSProperties;
|
|
45
|
+
};
|
|
46
|
+
minRange?: number;
|
|
47
|
+
maxRange?: number;
|
|
41
48
|
onItemClick?: () => void;
|
|
49
|
+
peerAverage?: number;
|
|
42
50
|
showArea?: boolean;
|
|
43
51
|
showAverage?: boolean;
|
|
44
52
|
showAxisHighlight?: boolean;
|
|
45
53
|
showBars?: boolean;
|
|
46
54
|
showLegend?: boolean;
|
|
55
|
+
showMark?: boolean;
|
|
47
56
|
showMarkLabel?: boolean;
|
|
48
57
|
showTooltip?: boolean;
|
|
49
58
|
showXAxis?: boolean;
|
|
@@ -55,6 +64,7 @@ interface LineChartProps {
|
|
|
55
64
|
useCustomMark?: boolean;
|
|
56
65
|
valueFormatterString?: string;
|
|
57
66
|
width?: number;
|
|
67
|
+
xAxisScaleType?: 'band' | 'point';
|
|
58
68
|
}
|
|
59
69
|
export declare const LineChart: React.FC<LineChartProps>;
|
|
60
70
|
export {};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material/styles';
|
|
1
2
|
import { LineChartLabel } from '../LineChart';
|
|
2
3
|
export declare const CustomLegendLabel: ({ label, customLegendVariant, }: {
|
|
3
4
|
label: LineChartLabel;
|
|
4
5
|
customLegendVariant?: string;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
-
declare const _default: (({ average, customLegendVariant, labels, series, style, title, valueFormatterString, }: {
|
|
7
|
+
declare const _default: (({ average, customLegendVariant, customLegendBoxSx, labels, series, style, title, valueFormatterString, }: {
|
|
7
8
|
average?: number;
|
|
8
9
|
customLegendVariant?: string;
|
|
10
|
+
customLegendBoxSx?: SxProps;
|
|
9
11
|
labels?: LineChartLabel[];
|
|
10
12
|
series: any[];
|
|
11
13
|
title?: string;
|
|
@@ -8,7 +8,11 @@ export type MarkHandlers = {
|
|
|
8
8
|
interface CustomMarkProps extends MarkElementProps {
|
|
9
9
|
handlers?: MarkHandlers;
|
|
10
10
|
showLabel: boolean;
|
|
11
|
+
showMark?: boolean;
|
|
11
12
|
yData: number[];
|
|
13
|
+
style?: React.CSSProperties & {
|
|
14
|
+
markLabelStyles?: React.CSSProperties;
|
|
15
|
+
};
|
|
12
16
|
labelBackgroundColor?: string;
|
|
13
17
|
labelFontColor?: string;
|
|
14
18
|
labelFontSize?: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { default as Button } from '@mui/material/Button';
|
|
2
3
|
import { SxProps } from '@mui/material/styles';
|
|
3
4
|
export type CopyObject = {
|
|
4
5
|
close_drawer_aria: string;
|
|
@@ -6,6 +7,7 @@ export type CopyObject = {
|
|
|
6
7
|
interface DrawerProps {
|
|
7
8
|
ariaLabelClose?: string;
|
|
8
9
|
className?: string;
|
|
10
|
+
footerStyles?: SxProps;
|
|
9
11
|
hasSecondaryAction?: boolean;
|
|
10
12
|
id?: string;
|
|
11
13
|
isOpen: boolean;
|
|
@@ -13,6 +15,7 @@ interface DrawerProps {
|
|
|
13
15
|
onClose: () => void;
|
|
14
16
|
onPrimaryAction?: () => void;
|
|
15
17
|
onSecondaryAction?: () => void;
|
|
18
|
+
primaryButtonProps?: React.ComponentProps<typeof Button>;
|
|
16
19
|
primaryColor?: 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
|
|
17
20
|
primaryText?: string;
|
|
18
21
|
secondaryColor?: 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as Button } from '@mui/material/Button';
|
|
2
|
+
import { SxProps } from '@mui/material/styles';
|
|
3
|
+
type Color = 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
|
|
4
|
+
type FooterProps = {
|
|
5
|
+
footerStyles?: SxProps;
|
|
6
|
+
hasSecondaryAction?: boolean;
|
|
7
|
+
isPrimaryDisabled?: boolean;
|
|
8
|
+
onPrimaryAction?: () => void;
|
|
9
|
+
onSecondaryAction?: () => void;
|
|
10
|
+
primaryButtonProps?: React.ComponentProps<typeof Button>;
|
|
11
|
+
primaryColor?: Color;
|
|
12
|
+
primaryText?: string;
|
|
13
|
+
secondaryColor?: Color;
|
|
14
|
+
secondaryText?: string;
|
|
15
|
+
};
|
|
16
|
+
declare const Footer: ({ footerStyles, hasSecondaryAction, isPrimaryDisabled, onPrimaryAction, onSecondaryAction, primaryButtonProps, primaryColor, primaryText, secondaryColor, secondaryText, }: FooterProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export default Footer;
|
|
@@ -2,4 +2,3 @@ export { useAccountDisplayName } from './useAccountDisplayName';
|
|
|
2
2
|
export { useCombineEvents, useCombinePageviews } from './useCombineEvents';
|
|
3
3
|
export { useInsightsEnabled } from './useInsightsEnabled';
|
|
4
4
|
export { useScreenSize } from './useScreenSize';
|
|
5
|
-
export { usePrevious } from './usePrevious';
|