@mx-cartographer/insights-ui 1.4.6 → 1.4.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/README.md +1 -0
- package/dist/components/index.d.ts +4 -1
- package/dist/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +5 -5
- package/dist/components/insights/SwitchDirectDeposit/__tests__/SwitchDirectDeposit.test.d.ts +0 -0
- package/dist/components/shared/Charts/BarChart/BarChart.d.ts +2 -0
- package/dist/components/shared/Charts/BarChart/ChartLegend.d.ts +7 -0
- package/dist/components/shared/Charts/BarChart/CustomBarPlot.d.ts +14 -0
- package/dist/components/shared/Charts/BarChart/index.d.ts +1 -0
- package/dist/components/shared/Charts/__tests__/BarChart.test.d.ts +1 -0
- package/dist/components/shared/Charts/index.d.ts +1 -0
- package/dist/components/shared/InsightsCard/CardError.d.ts +1 -2
- package/dist/components/shared/InsightsCard/CardLoading.d.ts +1 -2
- package/dist/components/shared/InsightsCard/InsightButton.d.ts +1 -1
- package/dist/components/shared/InsightsCard/__tests__/BeatCard.test.d.ts +0 -0
- package/dist/components/shared/InsightsCard/__tests__/CardError.test.d.ts +1 -0
- package/dist/components/shared/InsightsCard/__tests__/CardLoading.test.d.ts +1 -0
- package/dist/components/shared/InsightsCard/__tests__/LinedCardZeroState.test.d.ts +1 -0
- package/dist/components/shared/MiniInsightCard.d.ts +16 -0
- package/dist/index.es.js +1047 -778
- package/dist/index.es.js.map +1 -1
- package/package.json +5 -6
- /package/dist/components/insights/{__tests__/SetUpDirectDeposit.test.d.ts → DiscoveredAccounts/__tests__/DiscoveredAccountsBody.test.d.ts} +0 -0
- /package/dist/components/insights/{__tests__/SwitchDirectDeposit.test.d.ts → SetUpDirectDeposit/__tests__/SetUpDirectDeposit.test.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
export * from './shared/BottomSheet';
|
|
2
|
+
export * from './shared/Confetti';
|
|
1
3
|
export * from './shared/GoalProgress';
|
|
2
4
|
export * from './shared/GradientBox';
|
|
5
|
+
export * from './shared/MiniInsightCard';
|
|
3
6
|
export * from './shared/ProgressBar';
|
|
4
|
-
export * from './shared/
|
|
7
|
+
export * from './shared/Charts/BarChart';
|
|
5
8
|
export * from './shared/DirectDeposit/DirectDeposit';
|
|
6
9
|
export * from './shared/DirectDeposit/DirectDepositSubHeader';
|
|
7
10
|
export * from './shared/DirectDeposit/FullFeedBodyHeader';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
interface DiscoveredAccountsBodyProps {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
account_guid_1: string;
|
|
4
|
+
account_guid_2: string;
|
|
5
|
+
account_1_alt_text: string;
|
|
6
|
+
account_2_alt_text: string;
|
|
7
|
+
isSuccess?: boolean;
|
|
8
8
|
}
|
|
9
9
|
export declare const DiscoveredAccountsBody: React.FC<DiscoveredAccountsBodyProps>;
|
|
10
10
|
export {};
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface LegendProps {
|
|
2
|
+
average?: string;
|
|
3
|
+
color: string;
|
|
4
|
+
legendLabelAvg?: string;
|
|
5
|
+
legendLabelMain?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Legend: ({ average, color, legendLabelAvg, legendLabelMain }: LegendProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SpringValue } from '@react-spring/web';
|
|
2
|
+
import { BarDataProps } from '../../../../types/Charts/BarChart';
|
|
3
|
+
interface BarStyleProps extends React.CSSProperties {
|
|
4
|
+
x?: SpringValue<number>;
|
|
5
|
+
y?: SpringValue<number>;
|
|
6
|
+
}
|
|
7
|
+
export interface CustomBarPlotProps {
|
|
8
|
+
colorRange: string[];
|
|
9
|
+
data: BarDataProps[];
|
|
10
|
+
dataIndex: number;
|
|
11
|
+
style: BarStyleProps;
|
|
12
|
+
}
|
|
13
|
+
export declare const CustomBarPlot: ({ colorRange, data, dataIndex, style, ...restProps }: CustomBarPlotProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './BarChart';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './BarChart';
|
|
@@ -7,6 +7,6 @@ export interface InsightButtonProps {
|
|
|
7
7
|
onClick?: (event?: React.MouseEvent<HTMLButtonElement, MouseEvent> | string | undefined) => void;
|
|
8
8
|
primary?: boolean;
|
|
9
9
|
sx?: object;
|
|
10
|
-
variant?: '
|
|
10
|
+
variant?: 'contained' | 'outlined' | 'text';
|
|
11
11
|
}
|
|
12
12
|
export declare const InsightButton: React.FC<InsightButtonProps>;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface MiniInsightsCardProps {
|
|
3
|
+
beat: {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
};
|
|
6
|
+
DismissedBeat?: React.ReactNode;
|
|
7
|
+
headerTextOverride?: React.ReactElement | string;
|
|
8
|
+
height?: number | string;
|
|
9
|
+
setRefs?: (...args: any[]) => void;
|
|
10
|
+
subHeader?: React.ReactElement | string;
|
|
11
|
+
}
|
|
12
|
+
interface MiniInsightsProps extends MiniInsightsCardProps {
|
|
13
|
+
children: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export declare const MiniInsightCard: React.FC<MiniInsightsProps>;
|
|
16
|
+
export {};
|