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

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,10 @@
1
- ## [3.5.0] - 09-19-2024
1
+ ## [3.4.4] - 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** - Created a DateRangeSelector variant for selecting 3/6/9/12-month ranges.
4
+
5
+ ## [3.4.3] - 09-19-2024
6
+
7
+ - **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
8
 
7
9
  ## [3.4.2] - 09-17-2024
8
10
 
@@ -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, RecurringCopy, SpendingCopy, TrendsCopy, TransactionsCopy } from './localization';
2
2
 
3
3
  export interface GlobalCopy {
4
4
  cashflow: CashflowCopy;
@@ -8,6 +8,7 @@ export interface GlobalCopy {
8
8
  micro_insights: MicroInsightsCopy;
9
9
  recurring: RecurringCopy;
10
10
  spending: SpendingCopy;
11
+ trends: TrendsCopy;
11
12
  transactions: TransactionsCopy;
12
13
  }
13
14
  export type DynamicCopyElement = HTMLElement | React.ReactNode;
@@ -0,0 +1,16 @@
1
+ export interface AccountTypeCopy {
2
+ any: string;
3
+ cash: string;
4
+ checking: string;
5
+ checking_line_of_credit: string;
6
+ credit_card: string;
7
+ digital_wallet: string;
8
+ insurance: string;
9
+ investment: string;
10
+ line_of_credit: string;
11
+ loan: string;
12
+ mortgage: string;
13
+ prepaid: string;
14
+ property: string;
15
+ savings: string;
16
+ }
@@ -2,6 +2,7 @@ import { AccountFilterCopy, CurrencyInputCopy, DateRangePickerCopy } from './';
2
2
 
3
3
  export interface CommonCopy {
4
4
  account_filter: AccountFilterCopy;
5
+ average: string;
5
6
  cancel_button: string;
6
7
  cancel_search_aria: string;
7
8
  close_aria: string;
@@ -0,0 +1,9 @@
1
+ export interface TrendsCopy {
2
+ income_label: string;
3
+ mini_title: string;
4
+ payments_label: string;
5
+ primary_cta: string;
6
+ spending_label: string;
7
+ sub_title: string;
8
+ title: string;
9
+ }
@@ -8,4 +8,5 @@ export type { InsightsFeedCopy } from './InsightsFeedCopy';
8
8
  export type { MicroInsightsCopy } from './MicroInsightsCopy';
9
9
  export type { RecurringCopy } from './RecurringCopy';
10
10
  export type { SpendingCopy } from './SpendingCopy';
11
+ export type { TrendsCopy } from './TrendsCopy';
11
12
  export type { TransactionsCopy } from './TransactionsCopy';