@mx-cartographer/insights-ui 1.4.6-alpha.JB5 → 1.4.6-alpha.mega10
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 +0 -4
- package/dist/components/index.d.ts +2 -1
- 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 +8 -0
- package/dist/components/shared/Charts/BarChart/index.d.ts +1 -0
- package/dist/components/shared/Charts/index.d.ts +1 -0
- package/dist/components/shared/DirectDeposit/FullFeedBodyHeader.d.ts +0 -1
- package/dist/components/shared/DirectDeposit/FullFeedLogoSection.d.ts +6 -0
- package/dist/components/shared/DirectDeposit/LowerBoxSection.d.ts +7 -2
- package/dist/index.es.js +862 -663
- package/dist/index.es.js.map +1 -1
- package/package.json +4 -3
- package/dist/components/shared/ZeroState/LinedCardZeroState.d.ts +0 -1
- package/dist/hooks/useContainerDimensions.d.ts +0 -5
package/README.md
CHANGED
|
@@ -5,10 +5,6 @@ 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
|
-
|
|
12
8
|
## Merging and Publishing
|
|
13
9
|
|
|
14
10
|
1. After MR is approved, type `shipit` in the comments. Wait for shipit to merge your branch.
|
|
@@ -2,9 +2,11 @@ export * from './shared/GoalProgress';
|
|
|
2
2
|
export * from './shared/GradientBox';
|
|
3
3
|
export * from './shared/ProgressBar';
|
|
4
4
|
export * from './shared/BottomSheet';
|
|
5
|
+
export * from './shared/Charts/BarChart';
|
|
5
6
|
export * from './shared/DirectDeposit/DirectDeposit';
|
|
6
7
|
export * from './shared/DirectDeposit/DirectDepositSubHeader';
|
|
7
8
|
export * from './shared/DirectDeposit/FullFeedBodyHeader';
|
|
9
|
+
export * from './shared/DirectDeposit/FullFeedLogoSection';
|
|
8
10
|
export * from './shared/DirectDeposit/LeftBox';
|
|
9
11
|
export * from './shared/DirectDeposit/LowerBoxSection';
|
|
10
12
|
export * from './shared/DirectDeposit/MiniBodyHeader';
|
|
@@ -17,7 +19,6 @@ export * from './shared/InsightsCard/CardError';
|
|
|
17
19
|
export * from './shared/InsightsCard/ContentAndDescription';
|
|
18
20
|
export * from './shared/InsightsCard/Description';
|
|
19
21
|
export * from './shared/InsightsCard/InsightButton';
|
|
20
|
-
export * from './shared/ZeroState/LinedCardZeroState';
|
|
21
22
|
export * from './shared/InsightsCard/Shell';
|
|
22
23
|
export * from './shared/GenericFeedback/FeedbackHeader';
|
|
23
24
|
export * from './shared/GenericFeedback/FeedbackButtons';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface LegendProps {
|
|
2
|
+
average?: number;
|
|
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,8 @@
|
|
|
1
|
+
import { BarDataProps } from '../../../../types/Charts/BarChart';
|
|
2
|
+
export interface CustomBarPlotProps {
|
|
3
|
+
colorRange: string[];
|
|
4
|
+
data: BarDataProps[];
|
|
5
|
+
dataIndex: number;
|
|
6
|
+
style: React.CSSProperties | undefined;
|
|
7
|
+
}
|
|
8
|
+
export declare const CustomBarPlot: ({ colorRange, data, dataIndex, style, ...restProps }: CustomBarPlotProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './BarChart';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './BarChart';
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
import { default as React
|
|
2
|
-
interface LowerBoxSectionProps
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface LowerBoxSectionProps {
|
|
3
|
+
isComplete?: boolean;
|
|
4
|
+
leftLowerText: string;
|
|
5
|
+
leftUpperText: string;
|
|
6
|
+
rightLowerText: string;
|
|
7
|
+
rightUpperText: string;
|
|
3
8
|
}
|
|
4
9
|
export declare const LowerBoxesSection: React.FC<LowerBoxSectionProps>;
|
|
5
10
|
export {};
|