@mx-cartographer/experiences 7.4.0 → 7.4.1
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/CHANGELOG.md +19 -1
- package/dist/{ViewMoreMicroCard-lihSDk2J.mjs → ViewMoreMicroCard-dHzKolxh.mjs} +651 -703
- package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
- package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
- package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
- package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
- package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
- package/dist/microinsights/carousel/CarouselControls.d.ts +0 -2
- package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
- package/dist/microinsights/constants/App.d.ts +0 -1
- package/dist/microinsights/index.d.ts +3 -3
- package/dist/microinsights/index.es.js +7 -7
- package/dist/microinsights/interfaces.d.ts +0 -4
- package/dist/trends/index.es.js +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export interface BeatIconProps {
|
|
5
|
-
beat?: Beat;
|
|
6
|
-
clientColorScheme?: clientColorSchemeProps;
|
|
7
|
-
color?: string | null;
|
|
8
|
-
type?: number | null;
|
|
9
|
-
}
|
|
10
|
-
export declare const BeatIcon: React.FC<BeatIconProps>;
|
|
2
|
+
import { WeGotTheBeat } from '../interfaces';
|
|
3
|
+
export declare const BeatIcon: React.FC<WeGotTheBeat>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { WeGotTheBeat } from '../interfaces';
|
|
3
3
|
import { DataSeries } from '../../common/types/Beat';
|
|
4
|
-
|
|
4
|
+
import { Theme } from '@mui/material/styles';
|
|
5
|
+
export declare const getIconColor: (data: DataSeries | undefined, theme: Theme) => string;
|
|
5
6
|
export declare const MonthlySpendComparisonIcon: FC<WeGotTheBeat>;
|
|
@@ -6,15 +6,8 @@ interface MicroInsightProps extends MicroWidgetProps {
|
|
|
6
6
|
description?: string;
|
|
7
7
|
icon: React.ReactNode;
|
|
8
8
|
isZeroState?: boolean;
|
|
9
|
-
fontColors?: fontColors;
|
|
10
9
|
style?: StyleProps;
|
|
11
10
|
title?: string;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
buttonColor?: string;
|
|
15
|
-
headerColor?: string;
|
|
16
|
-
iconColor?: string;
|
|
17
|
-
textColor?: string;
|
|
18
|
-
}
|
|
19
|
-
export declare const MicroInsightCard: React.ForwardRefExoticComponent<MicroInsightProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export declare const BaseCard: React.ForwardRefExoticComponent<MicroInsightProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
13
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { MicroWidgetProps, BeatLikeOffer } from '../interfaces';
|
|
3
3
|
import { Beat } from '../../common/types/Beat';
|
|
4
|
-
export interface
|
|
4
|
+
export interface InsightCardProps extends MicroWidgetProps {
|
|
5
5
|
backgroundColor?: string;
|
|
6
6
|
beat: Beat | BeatLikeOffer;
|
|
7
7
|
index?: number;
|
|
8
8
|
variant?: 'elevation' | 'outlined';
|
|
9
9
|
}
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const InsightCard: React.FC<InsightCardProps>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { MicroWidgetProps } from '../interfaces';
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export declare const NoRelevantInsightsCard: React.FC<MicroZeroStateCardProps>;
|
|
7
|
-
declare const _default: React.FunctionComponent<MicroZeroStateCardProps>;
|
|
3
|
+
export declare const NoRelevantInsightsCard: React.FC<MicroWidgetProps>;
|
|
4
|
+
declare const _default: React.FunctionComponent<MicroWidgetProps>;
|
|
8
5
|
export default _default;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { MicroWidgetProps } from '../interfaces';
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export declare const ZeroStateCard: React.FC<ZeroStateCardProps>;
|
|
7
|
-
declare const _default: React.FunctionComponent<ZeroStateCardProps>;
|
|
3
|
+
export declare const ZeroStateCard: React.FC<MicroWidgetProps>;
|
|
4
|
+
declare const _default: React.FunctionComponent<MicroWidgetProps>;
|
|
8
5
|
export default _default;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Beat } from '../../common/types/Beat';
|
|
3
|
-
import {
|
|
3
|
+
import { TheWholeHog } from '../interfaces';
|
|
4
4
|
export interface CarouselHeaderProps {
|
|
5
5
|
analyticsMetadata?: object;
|
|
6
|
-
clientColorScheme?: clientColorSchemeProps;
|
|
7
6
|
onCardClick: (beat?: Beat | undefined) => void;
|
|
8
7
|
posthog?: TheWholeHog;
|
|
9
8
|
widthOverrides?: number | string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { AppStore } from './stores/AppStore';
|
|
2
2
|
export { InsightsMicroWidgetDataProvider } from './context/InsightsMicroWidgetDataProvider';
|
|
3
|
-
export {
|
|
3
|
+
export { InsightCard } from './cards/InsightCard';
|
|
4
4
|
export { default as MicroBeatCarousel } from './carousel/MicroBeatCarousel';
|
|
5
|
-
export {
|
|
5
|
+
export { BaseCard } from './cards/BaseCard';
|
|
6
6
|
export { default as CarouselHeader } from './carousel/CarouselHeader';
|
|
7
7
|
export { default as InsightsMicroWidget } from './InsightsMicroWidget';
|
|
8
8
|
export { default as NoRelevantInsightsCard } from './cards/NoRelevantInsightsCard';
|
|
9
9
|
export { default as ViewMoreMicroCard } from './cards/ViewMoreMicroCard';
|
|
10
10
|
export { default as ZeroStateCard } from './cards/ZeroStateCard';
|
|
11
11
|
export { ChartFilledIcon, MonthlySpendComparisonIcon, ZeroStateIcon } from './beaticons';
|
|
12
|
-
export type {
|
|
12
|
+
export type { MicroWidgetProps, StyleProps } from './interfaces';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as e, B as r, C as o, c as t, a as i, b as d, I as n, M as C, d as c, N as I, V as M, Z as g, e as h } from "../ViewMoreMicroCard-dHzKolxh.mjs";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
e as AppStore,
|
|
4
|
+
r as BaseCard,
|
|
5
5
|
o as CarouselHeader,
|
|
6
6
|
t as ChartFilledIcon,
|
|
7
|
-
i as
|
|
8
|
-
d as
|
|
9
|
-
n as
|
|
10
|
-
C as
|
|
7
|
+
i as InsightCard,
|
|
8
|
+
d as InsightsMicroWidget,
|
|
9
|
+
n as InsightsMicroWidgetDataProvider,
|
|
10
|
+
C as MicroBeatCarousel,
|
|
11
11
|
c as MonthlySpendComparisonIcon,
|
|
12
12
|
I as NoRelevantInsightsCard,
|
|
13
13
|
M as ViewMoreMicroCard,
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { Beat } from '../common/types/Beat';
|
|
2
|
-
export interface clientColorSchemeProps {
|
|
3
|
-
[key: string]: string | undefined;
|
|
4
|
-
}
|
|
5
2
|
export interface MicroWidgetProps {
|
|
6
3
|
allowSingleCardPeeking?: boolean;
|
|
7
4
|
ariaLabel?: string;
|
|
8
|
-
clientColorScheme?: clientColorSchemeProps;
|
|
9
5
|
showCTAColocatedWithText?: boolean;
|
|
10
6
|
heightOverrides?: number | string;
|
|
11
7
|
isActiveCard?: boolean;
|
package/dist/trends/index.es.js
CHANGED
|
@@ -29,7 +29,7 @@ import At from "@mui/material/ToggleButton";
|
|
|
29
29
|
import Rt from "@mui/material/ToggleButtonGroup";
|
|
30
30
|
import { DataGridPro as kt } from "@mui/x-data-grid-pro";
|
|
31
31
|
import { H as Ge } from "../HeaderCell-DjuifqHJ.mjs";
|
|
32
|
-
import { T as G, b as Ht } from "../ViewMoreMicroCard-
|
|
32
|
+
import { T as G, b as Ht } from "../ViewMoreMicroCard-dHzKolxh.mjs";
|
|
33
33
|
import { A as w, W as Ue } from "../WidgetContainer-6dsjtOVg.mjs";
|
|
34
34
|
import { a as Xe, T as Ze } from "../TransactionDetails-CtbBBSoU.mjs";
|
|
35
35
|
import { D as ke } from "../Drawer-BEtCk82g.mjs";
|