@mx-cartographer/insights-ui 1.4.6-alpha.mega9 → 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 +5 -0
- package/dist/components/index.d.ts +4 -3
- 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 +1 -1
- package/dist/components/shared/Charts/BarChart/ChartLegend.d.ts +1 -1
- package/dist/components/shared/Charts/BarChart/CustomBarPlot.d.ts +7 -1
- package/dist/components/shared/Charts/__tests__/BarChart.test.d.ts +1 -0
- package/dist/components/shared/Confetti.d.ts +5 -0
- package/dist/components/shared/DirectDeposit/DirectDeposit.d.ts +2 -15
- package/dist/components/shared/DirectDeposit/FullFeedBodyHeader.d.ts +4 -0
- package/dist/components/shared/DirectDeposit/MiniBodyHeader.d.ts +4 -1
- 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__/ContentAndDescription.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/components/shared/ZeroState/LinedCardZeroState.d.ts +1 -0
- package/dist/hooks/__tests__/useContainerDimensions.test.d.ts +0 -0
- package/dist/hooks/useContainerDimensions.d.ts +5 -0
- package/dist/index.es.js +1079 -1027
- package/dist/index.es.js.map +1 -1
- package/package.json +14 -6
- package/dist/components/shared/DirectDeposit/FullFeedLogoSection.d.ts +0 -6
- package/dist/components/shared/DirectDeposit/LowerBoxSection.d.ts +0 -10
- /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
|
@@ -5,6 +5,10 @@ In order to run the project you will need to make sure that you have yarn instal
|
|
|
5
5
|
1. From the project root dir, run `yarn` or `yarn install` to install dependencies
|
|
6
6
|
1. To start the project run `yarn dev` (the project should automatically run in the browser)
|
|
7
7
|
|
|
8
|
+
## Publishing alpha versions
|
|
9
|
+
1. Bump the version in package.json using the format `major.minor.patch-alpha.<yourinitials><n>`
|
|
10
|
+
1. Run `npm publish --tag alpha`.
|
|
11
|
+
|
|
8
12
|
## Merging and Publishing
|
|
9
13
|
|
|
10
14
|
1. After MR is approved, type `shipit` in the comments. Wait for shipit to merge your branch.
|
|
@@ -22,3 +26,4 @@ This will be the new home for individual insight ui.
|
|
|
22
26
|
#Getting Started
|
|
23
27
|
|
|
24
28
|
|
|
29
|
+
**************** PLEASE DO NOT MODIFY THE YARN LOCK MANUALLY *****************
|
|
@@ -1,14 +1,14 @@
|
|
|
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/BottomSheet';
|
|
5
7
|
export * from './shared/Charts/BarChart';
|
|
6
8
|
export * from './shared/DirectDeposit/DirectDeposit';
|
|
7
9
|
export * from './shared/DirectDeposit/DirectDepositSubHeader';
|
|
8
10
|
export * from './shared/DirectDeposit/FullFeedBodyHeader';
|
|
9
|
-
export * from './shared/DirectDeposit/FullFeedLogoSection';
|
|
10
11
|
export * from './shared/DirectDeposit/LeftBox';
|
|
11
|
-
export * from './shared/DirectDeposit/LowerBoxSection';
|
|
12
12
|
export * from './shared/DirectDeposit/MiniBodyHeader';
|
|
13
13
|
export * from './shared/DirectDeposit/RightBox';
|
|
14
14
|
export * from './shared/InsightsCard/BeatCard';
|
|
@@ -19,6 +19,7 @@ export * from './shared/InsightsCard/CardError';
|
|
|
19
19
|
export * from './shared/InsightsCard/ContentAndDescription';
|
|
20
20
|
export * from './shared/InsightsCard/Description';
|
|
21
21
|
export * from './shared/InsightsCard/InsightButton';
|
|
22
|
+
export * from './shared/ZeroState/LinedCardZeroState';
|
|
22
23
|
export * from './shared/InsightsCard/Shell';
|
|
23
24
|
export * from './shared/GenericFeedback/FeedbackHeader';
|
|
24
25
|
export * from './shared/GenericFeedback/FeedbackButtons';
|
|
@@ -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
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BarChartProps } from '../../../../types/Charts/BarChart';
|
|
2
|
-
export declare const BarChart: ({
|
|
2
|
+
export declare const BarChart: ({ amounts, color, data, legendLabelAvg, legendLabelMain, selectedTabIndex, onBarClick, }: BarChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
import { SpringValue } from '@react-spring/web';
|
|
1
2
|
import { BarDataProps } from '../../../../types/Charts/BarChart';
|
|
3
|
+
interface BarStyleProps extends React.CSSProperties {
|
|
4
|
+
x?: SpringValue<number>;
|
|
5
|
+
y?: SpringValue<number>;
|
|
6
|
+
}
|
|
2
7
|
export interface CustomBarPlotProps {
|
|
3
8
|
colorRange: string[];
|
|
4
9
|
data: BarDataProps[];
|
|
5
10
|
dataIndex: number;
|
|
6
|
-
style:
|
|
11
|
+
style: BarStyleProps;
|
|
7
12
|
}
|
|
8
13
|
export declare const CustomBarPlot: ({ colorRange, data, dataIndex, style, ...restProps }: CustomBarPlotProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,16 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
animation: {
|
|
5
|
-
shouldRun?: boolean;
|
|
6
|
-
};
|
|
7
|
-
leftLowerText: string;
|
|
8
|
-
leftUpperText: string;
|
|
9
|
-
headerString: string;
|
|
10
|
-
isComplete?: boolean;
|
|
11
|
-
isMini: boolean;
|
|
12
|
-
rightLowerText: string;
|
|
13
|
-
rightUpperText: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const DirectDeposit: React.FC<DirectDepositProps>;
|
|
16
|
-
export {};
|
|
2
|
+
import { DepositBodyBaseProps } from '../../../types/DirectDeposit';
|
|
3
|
+
export declare const DirectDeposit: React.FC<DepositBodyBaseProps>;
|
|
@@ -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 @@
|
|
|
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 {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LinedCardZeroState: () => import("react/jsx-runtime").JSX.Element;
|
|
File without changes
|