@mx-cartographer/insights-ui 1.9.2 → 1.11.0-alpha.mega1
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/dist/index.es.js +1195 -1006
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.d.ts +2 -0
- package/dist/src/components/insights/MonthlySpendToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/src/components/insights/index.d.ts +1 -0
- package/dist/src/components/shared/Charts/BarChart/CustomDoubleBarPlot.d.ts +18 -0
- package/dist/src/components/shared/Charts/BarChart/DoubleBarChart.d.ts +2 -0
- package/dist/src/components/shared/Charts/BarChart/DoubleBarChartLegend.d.ts +10 -0
- package/dist/src/components/shared/Charts/BarChart/index.d.ts +1 -0
- package/dist/src/components/shared/Charts/__tests__/DoubleaBarChart.test.d.ts +1 -0
- package/dist/src/components/shared/InsightsCard/BeatCard.d.ts +1 -1
- package/package.json +2 -1
- package/dist/src/constants/Logo.d.ts +0 -2
- package/dist/src/constants/Theme.d.ts +0 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MonthlySpendToIncomeComparisonV2';
|
|
@@ -5,6 +5,7 @@ export * from './FederalBankHoliday';
|
|
|
5
5
|
export * from './MarketingHub';
|
|
6
6
|
export * from './MonthlyEmergencyFundReview';
|
|
7
7
|
export * from './MonthlySpendingComparisonV2';
|
|
8
|
+
export * from './MonthlySpendToIncomeComparisonV2';
|
|
8
9
|
export * from './P2pCategorization';
|
|
9
10
|
export * from './SetUpDirectDeposit';
|
|
10
11
|
export * from './SwitchDirectDeposit';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SpringValue } from '@react-spring/web';
|
|
2
|
+
import { DataSet } from '../../../../types/Charts/BarChart';
|
|
3
|
+
interface BarStyleProps extends React.CSSProperties {
|
|
4
|
+
x?: SpringValue<number>;
|
|
5
|
+
y?: SpringValue<number>;
|
|
6
|
+
}
|
|
7
|
+
interface CustomDoubleBarPlotProps {
|
|
8
|
+
color: string;
|
|
9
|
+
data: DataSet[];
|
|
10
|
+
series: Series;
|
|
11
|
+
style: BarStyleProps;
|
|
12
|
+
}
|
|
13
|
+
interface Series {
|
|
14
|
+
index: number;
|
|
15
|
+
type: number;
|
|
16
|
+
}
|
|
17
|
+
export declare const CustomDoubleBarPlot: ({ color, data, series, style, ...restProps }: CustomDoubleBarPlotProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { DoubleBarChartProps } from '../../../../types/Charts/BarChart';
|
|
2
|
+
export declare const DoubleBarChart: ({ amounts, barGapRatio, categoryGapRatio, colors, data, isMini, legendLabelComparison, legendLabelMain, margin, onBarClick, }: DoubleBarChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material/styles';
|
|
2
|
+
interface DoubleBarChartLegendProps {
|
|
3
|
+
comparisonColor: string;
|
|
4
|
+
legendLabelComparison?: string;
|
|
5
|
+
legendLabelMain?: string;
|
|
6
|
+
legendStyle?: SxProps;
|
|
7
|
+
mainColor: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const DoubleBarChartLegend: ({ comparisonColor, legendLabelComparison, legendLabelMain, legendStyle, mainColor, }: DoubleBarChartLegendProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { Beat } from '../../../types/CommonBeat';
|
|
2
3
|
import { CardHeaderProps } from './CardHeader';
|
|
3
4
|
import { ContentAndDescriptionProps } from './ContentAndDescription';
|
|
4
|
-
import { Beat } from '../../../types/CommonBeat';
|
|
5
5
|
interface BeatCardProps {
|
|
6
6
|
altLoadingText: string;
|
|
7
7
|
asteriskText?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/insights-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0-alpha.mega1",
|
|
4
4
|
"description": "Package containing MX theme and common controls for MUI",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -70,6 +70,7 @@
|
|
|
70
70
|
"eslint": "^8.57.0",
|
|
71
71
|
"eslint-config-mx": "^4.0.0",
|
|
72
72
|
"eslint-config-prettier": "^9.1.0",
|
|
73
|
+
"eslint-plugin-import": "^2.31.0",
|
|
73
74
|
"eslint-plugin-jsx-a11y": "^6.9.0",
|
|
74
75
|
"eslint-plugin-react": "^7.34.3",
|
|
75
76
|
"eslint-plugin-react-hooks": "^4.6.2",
|