@mx-cartographer/experiences 3.9.5-alpha.sms1 → 3.10.1-alpha.mm1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +2 -33
- package/dist/accounts/ConnectMiniWidget.d.ts +2 -6
- package/dist/budgets/components/BubbleBudgets.d.ts +0 -2
- package/dist/budgets/utils/buildBubblesSVG.d.ts +3 -23
- package/dist/common/components/charts/StackedLineChart.d.ts +14 -12
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +1 -0
- package/dist/common/components/charts/stackedlinechart/utils.d.ts +1 -0
- package/dist/common/components/index.d.ts +0 -1
- package/dist/common/types/Analytics.d.ts +9 -23
- package/dist/common/utils/Fetch.d.ts +2 -1
- package/dist/index.es.js +4472 -4490
- package/dist/index.es.js.map +1 -1
- package/dist/microinsights/analytics.d.ts +2 -2
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget.d.ts +0 -1
- package/dist/microinsights/stores/AppStore.d.ts +1 -1
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +4 -11
- package/dist/trends/mocks.d.ts +80 -0
- package/dist/trends/utils/index.d.ts +27 -4
- package/package.json +4 -4
- package/dist/accounts/components/ConnectMiniWidgetCard.d.ts +0 -5
- package/dist/budgets/components/bubblechart/Bubble.d.ts +0 -10
- package/dist/budgets/components/bubblechart/Mercury.d.ts +0 -8
- package/dist/insights/components/beats/SetUpDirectDeposit/components/FullFeedBodyHeader.d.ts +0 -7
- package/dist/insights/components/beats/SetUpDirectDeposit/components/FullFeedLogoSection.d.ts +0 -8
- package/dist/insights/components/beats/SetUpDirectDeposit/components/LeftBox.d.ts +0 -9
- package/dist/insights/components/beats/SetUpDirectDeposit/components/LowerBoxesSection.d.ts +0 -12
- package/dist/insights/components/beats/SetUpDirectDeposit/components/MiniBodyHeader.d.ts +0 -8
- package/dist/insights/components/beats/SetUpDirectDeposit/components/RightBox.d.ts +0 -10
- package/dist/insights/components/beats/SetUpDirectDeposit/components/index.d.ts +0 -6
package/CHANGELOG.md
CHANGED
@@ -1,38 +1,7 @@
|
|
1
|
-
## [3.9.5] - 10-23-2024
|
2
|
-
|
3
|
-
- **FIXED** - Prevent additional API calls from being triggered after receiving a 401
|
4
|
-
- **UPDATED** - Notify Honeybadger of errors, since Common/Fetch.ts is no longer doing that
|
5
|
-
|
6
|
-
## [3.9.4] - 10-23-2024
|
7
|
-
|
8
|
-
- **UPDATED** - SetUpDirectDeposit styles
|
9
|
-
|
10
|
-
## [3.9.3] - 10-21-2024
|
11
|
-
|
12
|
-
- **UPDATED** - SetUpDirectDeposit styles
|
13
|
-
|
14
|
-
## [3.9.2] - 10-2-2024
|
15
|
-
|
16
|
-
- **FIXED** - `InsightsMicroWidget` conditionally initializes store, only if store has not been initialized
|
17
|
-
|
18
|
-
## [3.9.1] - 10-21-2024
|
19
|
-
|
20
|
-
- **UPDATED** - SetUpDirectDeposit styles
|
21
|
-
|
22
|
-
## [3.9.0] - 10-18-2024
|
23
|
-
|
24
|
-
- **UPDATED** - Use the common `ConnectDrawer` component instead of the LinkAccounts from Money Dashboard in ConnectMiniWidget
|
25
|
-
|
26
|
-
## [3.8.0] - 10-15-2024
|
27
|
-
|
28
|
-
- **UPDATED** - `Fetch` requests throw errors to be caught and handled upstream
|
29
|
-
- **FIXED** - `MicroInsights` logs user out if 401 error is thrown
|
30
|
-
- **FIXED** - Analytics types
|
31
|
-
|
32
1
|
## [3.7.1] - 10-15-2024
|
33
2
|
|
34
|
-
- **
|
35
|
-
- **
|
3
|
+
- **FIXED** - Mitigate `StackedLineChart` line area crossing and overlap
|
4
|
+
- **FIXED** - Improve `StackedLineChart` legend hover styles
|
36
5
|
|
37
6
|
## [3.7.0] - 10-15-2024
|
38
7
|
|
@@ -1,9 +1,5 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
|
-
import {
|
2
|
+
import { MiniWidgetProps } from '../common';
|
3
3
|
|
4
|
-
|
5
|
-
onPrimaryCtaClick?: () => void;
|
6
|
-
sx?: SxProps;
|
7
|
-
}
|
8
|
-
declare const _default: React.FunctionComponent<ConnectMiniWidgetProps>;
|
4
|
+
declare const _default: React.FunctionComponent<MiniWidgetProps>;
|
9
5
|
export default _default;
|
@@ -5,8 +5,6 @@ interface BubbleBudgetsProps {
|
|
5
5
|
isDraggable?: boolean;
|
6
6
|
onClick?: (bubble: BubbleData) => void;
|
7
7
|
shouldShowZeroState: boolean;
|
8
|
-
unavailableHeight?: number;
|
9
|
-
unavailableWidth?: number;
|
10
8
|
}
|
11
9
|
declare const _default: React.FunctionComponent<BubbleBudgetsProps>;
|
12
10
|
export default _default;
|
@@ -1,33 +1,13 @@
|
|
1
|
-
import { Simulation } from 'd3';
|
1
|
+
import { Selection, Simulation } from 'd3';
|
2
2
|
import { SimulationNodeDatum } from 'd3-force';
|
3
3
|
import { BubbleData } from '../components/BubbleChart';
|
4
4
|
import * as d3 from 'd3';
|
5
|
+
type NodeType = Selection<SVGGElement, BubbleData, SVGSVGElement, unknown>;
|
5
6
|
type SimulationType = Simulation<SimulationNodeDatum, undefined>;
|
7
|
+
export declare const buildBubblesSvg: (data: BubbleData[], svgRef: SVGSVGElement, height: number, width: number, isDraggable?: boolean, onClick?: (bubble: BubbleData) => void) => [NodeType, SimulationType];
|
6
8
|
/**
|
7
9
|
* Enables dragging of bubbles
|
8
10
|
* @param simulation D3 Simulation
|
9
11
|
*/
|
10
12
|
export declare const drag: (simulation: SimulationType) => d3.DragBehavior<Element, unknown, unknown>;
|
11
|
-
/**
|
12
|
-
* Provide d values for the arc between the start and end radius based on time
|
13
|
-
* @param data Bubble data
|
14
|
-
*/
|
15
|
-
export declare const arcTween: (data: BubbleData) => (t: number) => string;
|
16
|
-
/**
|
17
|
-
* Enable drag
|
18
|
-
* @param simulation D3 Simulation
|
19
|
-
*/
|
20
|
-
export declare const enableDrag: (simulation: SimulationType) => void;
|
21
|
-
/**
|
22
|
-
* Update location after a resize
|
23
|
-
* @param simulation D3 Simulation
|
24
|
-
* @param height New height
|
25
|
-
* @param width New width
|
26
|
-
*/
|
27
|
-
export declare const resize: (simulation: SimulationType, height: number, width: number) => void;
|
28
|
-
/**
|
29
|
-
* Simulates the chart
|
30
|
-
* @param data All Bubble data for the chart
|
31
|
-
*/
|
32
|
-
export declare const simulate: (data: BubbleData[]) => d3.Simulation<d3.SimulationNodeDatum, undefined>;
|
33
13
|
export {};
|
@@ -1,21 +1,23 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
2
|
|
3
|
+
type DataPoint = {
|
4
|
+
x: Date;
|
5
|
+
y: number;
|
6
|
+
};
|
7
|
+
type Dataset = DataPoint[];
|
8
|
+
interface StackedLineChartData {
|
9
|
+
top_level_category_guid: string;
|
10
|
+
category_guid: string;
|
11
|
+
category_name: string;
|
12
|
+
category_color: string;
|
13
|
+
dataset: Dataset;
|
14
|
+
}
|
3
15
|
interface StackedLineChartProps {
|
16
|
+
stackedDatasets: StackedLineChartData[];
|
17
|
+
unstackedDatasets?: StackedLineChartData[];
|
4
18
|
onHoverArea?: (category: string) => void;
|
5
19
|
onHoverPoint?: (category: string) => void;
|
6
20
|
onHoverLegend?: (category: string) => void;
|
7
|
-
stackedColors: (string | undefined)[];
|
8
|
-
stackedDatasets: {
|
9
|
-
x: string;
|
10
|
-
y: number;
|
11
|
-
}[][];
|
12
|
-
stackedCategoryGuids: string[];
|
13
|
-
unstackedColors?: (string | undefined)[];
|
14
|
-
unstackedDatasets?: {
|
15
|
-
x: string;
|
16
|
-
y: number;
|
17
|
-
}[][];
|
18
|
-
unstackedCategoryGuids?: string[];
|
19
21
|
height?: number;
|
20
22
|
width?: number;
|
21
23
|
}
|
@@ -3,6 +3,7 @@ import { ChartsItemContentProps } from '@mui/x-charts';
|
|
3
3
|
|
4
4
|
interface CustomPointTooltipProps extends ChartsItemContentProps<'line'> {
|
5
5
|
categoryGuid: string;
|
6
|
+
xData: Date[];
|
6
7
|
}
|
7
8
|
export declare const CustomPointTooltip: React.FC<CustomPointTooltipProps>;
|
8
9
|
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const smoothData: (data: number[], smoothingFactor?: number) => number[];
|
@@ -8,7 +8,6 @@ export * from './donuts';
|
|
8
8
|
export * from './drawer';
|
9
9
|
export { default as MiniWidgetContainer } from './MiniWidgetContainer';
|
10
10
|
export { default as WidgetContainer } from './WidgetContainer';
|
11
|
-
export { default as ConnectDrawer } from './ConnectDrawer';
|
12
11
|
export { default as CurrencyInput } from './CurrencyInput';
|
13
12
|
export { default as Loader } from './Loader';
|
14
13
|
export { default as ResponsiveButton } from './ResponsiveButton';
|
@@ -11,25 +11,20 @@ export type AnalyticsEvent = {
|
|
11
11
|
name: string;
|
12
12
|
session_id: string;
|
13
13
|
user_agent: string;
|
14
|
-
value: string | null;
|
15
14
|
version: number;
|
16
15
|
};
|
17
16
|
};
|
18
17
|
export type AnalyticsPageview = {
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
path: string;
|
27
|
-
session_id: string;
|
28
|
-
user_agent: string;
|
29
|
-
};
|
18
|
+
created_at: string;
|
19
|
+
detailed_path: string;
|
20
|
+
host: string;
|
21
|
+
metadata: string | null;
|
22
|
+
name: string;
|
23
|
+
path: string;
|
24
|
+
user_agent: string;
|
30
25
|
};
|
31
|
-
export type BasicAnalyticsEvent = Pick<AnalyticsEvent['analytics_event'], 'action' | 'category' | 'label'
|
32
|
-
export type BasicAnalyticsPageview = Pick<AnalyticsPageview
|
26
|
+
export type BasicAnalyticsEvent = Pick<AnalyticsEvent['analytics_event'], 'action' | 'category' | 'label'>;
|
27
|
+
export type BasicAnalyticsPageview = Pick<AnalyticsPageview, 'path' | 'name'>;
|
33
28
|
export type AnalyticsSession = {
|
34
29
|
browser_name: string;
|
35
30
|
browser_version: string;
|
@@ -40,12 +35,3 @@ export type AnalyticsSession = {
|
|
40
35
|
};
|
41
36
|
export type AnalyticEventFunction = (event: string, session?: Awaited<ReturnType<typeof analyticsSession>> | null) => void;
|
42
37
|
export type AnalyticPageviewFunction = (page: string, session?: Awaited<ReturnType<typeof analyticsSession>> | null) => void;
|
43
|
-
export interface AnalyticsEventsObjectType extends BasicAnalyticsEvent {
|
44
|
-
instanceId: string;
|
45
|
-
}
|
46
|
-
export interface AnalyticsPageviewObjectType extends BasicAnalyticsPageview {
|
47
|
-
label: string;
|
48
|
-
name: string;
|
49
|
-
path: string;
|
50
|
-
value: string;
|
51
|
-
}
|
@@ -1,7 +1,8 @@
|
|
1
1
|
export declare class Fetch {
|
2
2
|
endpoint: string;
|
3
3
|
headers: {};
|
4
|
-
|
4
|
+
propagateError?: boolean;
|
5
|
+
constructor(endpoint: string, token: string, propagateError?: boolean);
|
5
6
|
get: (url: string) => Promise<any>;
|
6
7
|
post: (url: string, data?: any) => Promise<any>;
|
7
8
|
put: (url: string, data: any) => Promise<any>;
|