@mx-cartographer/insights-ui 1.4.6 → 1.4.9-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.
Files changed (26) hide show
  1. package/README.md +1 -0
  2. package/dist/components/index.d.ts +4 -1
  3. package/dist/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +5 -5
  4. package/dist/components/insights/SwitchDirectDeposit/__tests__/SwitchDirectDeposit.test.d.ts +0 -0
  5. package/dist/components/shared/Charts/BarChart/BarChart.d.ts +2 -0
  6. package/dist/components/shared/Charts/BarChart/ChartLegend.d.ts +7 -0
  7. package/dist/components/shared/Charts/BarChart/CustomBarPlot.d.ts +14 -0
  8. package/dist/components/shared/Charts/BarChart/index.d.ts +1 -0
  9. package/dist/components/shared/Charts/__tests__/BarChart.test.d.ts +1 -0
  10. package/dist/components/shared/Charts/index.d.ts +1 -0
  11. package/dist/components/shared/InsightsCard/CardError.d.ts +1 -2
  12. package/dist/components/shared/InsightsCard/CardHeader.d.ts +1 -0
  13. package/dist/components/shared/InsightsCard/CardLoading.d.ts +1 -2
  14. package/dist/components/shared/InsightsCard/InsightButton.d.ts +1 -1
  15. package/dist/components/shared/InsightsCard/__tests__/BeatCard.test.d.ts +0 -0
  16. package/dist/components/shared/InsightsCard/__tests__/CardButtonSection.test.d.ts +1 -0
  17. package/dist/components/shared/InsightsCard/__tests__/CardError.test.d.ts +1 -0
  18. package/dist/components/shared/InsightsCard/__tests__/CardLoading.test.d.ts +1 -0
  19. package/dist/components/shared/InsightsCard/__tests__/InsightButton.test.d.ts +1 -0
  20. package/dist/components/shared/InsightsCard/__tests__/LinedCardZeroState.test.d.ts +1 -0
  21. package/dist/components/shared/MiniInsightCard.d.ts +16 -0
  22. package/dist/index.es.js +1058 -787
  23. package/dist/index.es.js.map +1 -1
  24. package/package.json +5 -6
  25. /package/dist/components/insights/{__tests__/SetUpDirectDeposit.test.d.ts → DiscoveredAccounts/__tests__/DiscoveredAccountsBody.test.d.ts} +0 -0
  26. /package/dist/components/insights/{__tests__/SwitchDirectDeposit.test.d.ts → SetUpDirectDeposit/__tests__/SetUpDirectDeposit.test.d.ts} +0 -0
package/README.md CHANGED
@@ -26,3 +26,4 @@ This will be the new home for individual insight ui.
26
26
  #Getting Started
27
27
 
28
28
 
29
+ **************** PLEASE DO NOT MODIFY THE YARN LOCK MANUALLY *****************
@@ -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/BottomSheet';
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
- accountGuid1: string;
4
- accountGuid2: string;
5
- account1AltText: string;
6
- account2AltText: string;
7
- success?: boolean;
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 {};
@@ -0,0 +1,2 @@
1
+ import { BarChartProps } from '../../../../types/Charts/BarChart';
2
+ export declare const BarChart: ({ amounts, color, data, legendLabelAvg, legendLabelMain, selectedTabIndex, onBarClick, }: BarChartProps) => import("react/jsx-runtime").JSX.Element;
@@ -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 * from './BarChart';
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
- interface CardErrorProps {
2
+ export interface CardErrorProps {
3
3
  erroredText: string;
4
4
  }
5
5
  export declare const CardError: React.FC<CardErrorProps>;
6
- export {};
@@ -3,6 +3,7 @@ import { MenuItemProps } from './CardMenuItem';
3
3
  export interface CardHeaderProps {
4
4
  ariaLabel?: string;
5
5
  menuItems?: MenuItemProps[];
6
+ onOpen?: () => void;
6
7
  onClick?: (index: number, key: string) => void;
7
8
  shouldShowMenu?: boolean;
8
9
  subHeader?: React.ReactNode;
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
- interface CardLoadingProps {
2
+ export interface CardLoadingProps {
3
3
  altImg?: string;
4
4
  }
5
5
  export declare const CardLoading: React.FC<CardLoadingProps>;
6
- export {};
@@ -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?: 'text' | 'contained' | 'outlined';
10
+ variant?: 'contained' | 'outlined' | 'text';
11
11
  }
12
12
  export declare const InsightButton: React.FC<InsightButtonProps>;
@@ -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 {};