@mx-cartographer/experiences 3.5.0-alpha.j1 → 3.5.0-alpha.mm1

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 CHANGED
@@ -1,8 +1,14 @@
1
- ## [3.5.0] - 09-19-2024
1
+ ## [3.4.5] - 09-23-2024
2
2
 
3
- - **CHANGED** - Pull Dashboard copy from GlobalCopyStore
4
- - **CHANGED** - Pull Spending copy from GlobalCopyStore
5
- - **CHANGED** - Pull Recurring Activity copy from GlobalCopyStore
3
+ - **UPDATED** - SetUpDirectDeposit beat body to have a comfetti background when it is complete.
4
+
5
+ ## [3.4.4] - 09-23-2024
6
+
7
+ - **UPDATED** - Created a DateRangeSelector variant for selecting 3/6/9/12-month ranges.
8
+
9
+ ## [3.4.3] - 09-19-2024
10
+
11
+ - **REMOVED** - Remove onClick function from Category row in the Recurring Activity Income/Expense details drawer. If we allow you to edit the category then the events could disappear unexpectedly so it's better to allow category edits directly on a transaction instead.
6
12
 
7
13
  ## [3.4.2] - 09-17-2024
8
14
 
@@ -49,7 +49,7 @@ export declare class CategoryStore {
49
49
  }[];
50
50
  loadCategories: () => Promise<void>;
51
51
  loadDateRangeCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
52
- loadMonthlyCategoryTotals: (accounts?: Account[]) => Promise<void>;
52
+ loadMonthlyCategoryTotals: (accounts?: Account[], startDate?: Date, endDate?: Date) => Promise<void>;
53
53
  removeCategory: (guid: string) => Promise<void>;
54
54
  setIsLoadingCategoryTotals: (isLoading: boolean) => void;
55
55
  updateCategory: (category: Category) => Promise<void>;
@@ -17,7 +17,7 @@ interface WidgetContainerProps {
17
17
  start: Date;
18
18
  end: Date;
19
19
  };
20
- dateReadonly?: boolean;
20
+ dateRangeVariant?: 'outlined' | 'text' | 'readonly' | 'timeframebuttons';
21
21
  hasDivider?: boolean;
22
22
  onBackClick?: () => void;
23
23
  onAccountsFilterClick?: () => void;
@@ -7,12 +7,12 @@ interface StackedLineChartProps {
7
7
  y: number;
8
8
  }[][];
9
9
  stackedCategoryGuids: string[];
10
- unstackedColors: (string | undefined)[];
11
- unstackedDatasets: {
10
+ unstackedColors?: (string | undefined)[];
11
+ unstackedDatasets?: {
12
12
  x: string;
13
13
  y: number;
14
14
  }[][];
15
- unstackedCategoryGuids: string[];
15
+ unstackedCategoryGuids?: string[];
16
16
  height?: number;
17
17
  width?: number;
18
18
  }
@@ -3,6 +3,7 @@ import { default as React } from 'react';
3
3
  interface CustomLegendProps {
4
4
  labels: string[];
5
5
  stackedLabels: string[];
6
+ sx?: object;
6
7
  unstackedLabels: string[];
7
8
  stackedColors: (string | undefined)[];
8
9
  unstackedColors: (string | undefined)[];
@@ -23,7 +23,11 @@ export interface DateRangeSelectorProps {
23
23
  range?: DateRange<Date>;
24
24
  shouldShrinkToIcon?: boolean;
25
25
  toolTipContent?: string;
26
- variant?: 'outlined' | 'text' | 'readonly';
26
+ variant?: 'outlined' | 'text' | 'readonly' | 'timeframebuttons';
27
27
  }
28
+ export type Timeframe = {
29
+ label: string;
30
+ value: number;
31
+ };
28
32
  declare const DateRangeSelector: React.FC<DateRangeSelectorProps>;
29
33
  export default DateRangeSelector;
@@ -1,4 +1,4 @@
1
- import { CashflowCopy, CategoryCopy, CommonCopy, InsightsFeedCopy, MicroInsightsCopy, RecurringCopy, SpendingCopy, TransactionsCopy } from './localization';
1
+ import { CashflowCopy, CategoryCopy, CommonCopy, InsightsFeedCopy, MicroInsightsCopy, TransactionsCopy } from './localization';
2
2
 
3
3
  export interface GlobalCopy {
4
4
  cashflow: CashflowCopy;
@@ -6,8 +6,6 @@ export interface GlobalCopy {
6
6
  common: CommonCopy;
7
7
  insights_feed: InsightsFeedCopy;
8
8
  micro_insights: MicroInsightsCopy;
9
- recurring: RecurringCopy;
10
- spending: SpendingCopy;
11
9
  transactions: TransactionsCopy;
12
10
  }
13
11
  export type DynamicCopyElement = HTMLElement | React.ReactNode;
@@ -1,11 +1,7 @@
1
1
  export interface AccountFilterCopy {
2
- account_type_accounts: string;
3
2
  filter_button_aria: string;
4
3
  filter_button_generic_aria: string;
5
- select_all_accounts: string;
6
4
  title: string;
7
- toggle_account_type_accounts: string;
8
- unselect_all_accounts: string;
9
5
  zero_state_button: string;
10
6
  zero_state_description: string;
11
7
  zero_state_title: string;
@@ -10,10 +10,6 @@ export interface CommonCopy {
10
10
  date_range_picker: DateRangePickerCopy;
11
11
  delete_button: string;
12
12
  filter_button: string;
13
- good_afternoon: string;
14
- good_evening: string;
15
- good_morning: string;
16
- heres_your_spending_overview: string;
17
13
  hide_button: string;
18
14
  save_button: string;
19
15
  search: string;
@@ -6,6 +6,4 @@ export type { CurrencyInputCopy } from './CurrencyInputCopy';
6
6
  export type { DateRangePickerCopy } from './DateRangePickerCopy';
7
7
  export type { InsightsFeedCopy } from './InsightsFeedCopy';
8
8
  export type { MicroInsightsCopy } from './MicroInsightsCopy';
9
- export type { RecurringCopy } from './RecurringCopy';
10
- export type { SpendingCopy } from './SpendingCopy';
11
9
  export type { TransactionsCopy } from './TransactionsCopy';