@mx-cartographer/experiences 7.0.50-alpha.mega1 → 7.0.51-alpha.bb1

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.
@@ -33,17 +33,20 @@ interface TransactionConfig {
33
33
  }
34
34
  export interface ClientConfig {
35
35
  color_scheme?: 'light' | 'dark' | 'browser';
36
- is_mx_mobile?: boolean;
37
36
  master?: MasterConfig;
38
37
  transactions?: TransactionConfig;
39
38
  [key: string]: any;
40
39
  }
41
40
  export interface MasterConfig {
42
41
  deep_link_params?: DeepLinkParams;
42
+ style?: StyleConfig;
43
43
  ui_message_protocol?: string;
44
44
  ui_message_version?: number;
45
45
  ui_message_webview_url_scheme?: string;
46
46
  }
47
+ export interface StyleConfig {
48
+ font_name?: string;
49
+ }
47
50
  export interface DeepLinkParams {
48
51
  account_guids?: string[];
49
52
  date_range?: [Date, Date];
@@ -1,7 +1,7 @@
1
1
  export type { Account, DetailedAccount, Member, MonthlyAccountBalance } from './Account';
2
2
  export { AccountIcon, AccountIconVariants, AccountSubType, AccountType, AccountTypeName, ConnectionStatus, ConnectionStatusEnums, ErrorStatuses, MfaStatuses, NonConnectedStatuses, ProcessingStatuses, PropertyType, PropertyTypeName, StatusName, } from './Account';
3
3
  export type { AnalyticsEvent, AnalyticsPageview, BasicAnalyticsEvent, BasicAnalyticsPageview, AnalyticsSession, AnalyticEventFunction, AnalyticPageviewFunction, } from './Analytics';
4
- export type { AppConfig, AppData, Banner, Config, Options } from './AppData';
4
+ export type { AppConfig, AppData, Banner, ClientConfig, Config, Options } from './AppData';
5
5
  export type { Beat, DataSeries } from './Beat';
6
6
  export { UserVerification } from './Beat';
7
7
  export type { Budget, BudgetColors, DetailedBudget } from './Budget';
@@ -1,6 +1,7 @@
1
1
  import { PaletteColor, Theme } from '@mui/material';
2
2
  import { ClientStyleProfile } from '../types';
3
- export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientStyleProfile) => {
3
+ import { ClientConfig } from '../types/AppData';
4
+ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientStyleProfile, clientConfig?: ClientConfig) => {
4
5
  typography: {
5
6
  [k: string]: string | {
6
7
  fontFamily: string | undefined;
@@ -62,7 +62,7 @@ const Oe = ({
62
62
  markStyles: p,
63
63
  showArea: !0,
64
64
  useCustomMark: !0,
65
- valueFormatterString: "0,0a",
65
+ valueFormatterString: "0.[0]a",
66
66
  width: s ? 320 : C
67
67
  }
68
68
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.0.50-alpha.mega1",
3
+ "version": "7.0.51-alpha.bb1",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",