@mx-cartographer/experiences 6.14.0 → 6.14.1-alpha.mega1

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,3 +1,13 @@
1
+ ## [6.14.2] - 07-06-2025
2
+
3
+ - **FIXED** - Resolved `BubbleChart` overflow issue on compact devices
4
+ - **FIXED** - Made `BubbleChart` responsive to screen size changes
5
+ - **FIXED** - Prevented full re-render of bubble budgets when adding a new budget
6
+
7
+ ## [6.14.1] - 07-04-2025
8
+
9
+ - **ADDED** - ZeroState micro widget for recurring transactions.
10
+
1
11
  ## [6.14.0] - 07-03-2025
2
12
 
3
13
  - **ADDED** - RecurringTransactions Micro Widget.
@@ -1,6 +1,7 @@
1
+ import { default as React } from 'react';
1
2
  import { BubbleData } from '../BubbleChart';
2
3
  interface MercuryProps {
3
4
  bubble: BubbleData;
4
5
  }
5
- export declare function Mercury({ bubble }: MercuryProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
6
+ declare const _default: React.MemoExoticComponent<({ bubble }: MercuryProps) => import("react/jsx-runtime").JSX.Element>;
7
+ export default _default;
@@ -32,11 +32,28 @@ export declare const getScale: (min: number, max: number) => d3.ScaleLinear<numb
32
32
  */
33
33
  export declare const simulate: (budgets: DetailedBudget[]) => d3.Simulation<BubbleData, undefined>;
34
34
  export declare const getSmartScale: (count: number, height: number, maxValue: number, minValue: number, width: number) => d3.ScaleLinear<number, number, never>;
35
- /**
36
- * Simulate a compact layout for smaller viewports
37
- * @param budgets Budget data
38
- * @param height Height of the container
39
- * @param width Width of the container
40
- * @returns A D3 simulation for the compact layout
41
- */
42
- export declare const simulateCompact: (budgets: DetailedBudget[], height: number, width: number) => d3.Simulation<BubbleData, undefined>;
35
+ export declare const computeScaledNodes: (nodes: BubbleData[], budgets: DetailedBudget[], isCompact: boolean | undefined, height: number, width: number) => {
36
+ radius: number;
37
+ budgetColors: import('../../common').BudgetColors;
38
+ category: import('../../common').DetailedCategory;
39
+ description: string;
40
+ percentage: number;
41
+ subBudgets: DetailedBudget[];
42
+ amount: number;
43
+ category_guid: string;
44
+ end_date?: number;
45
+ flags?: string[];
46
+ guid: string;
47
+ parent_guid?: string;
48
+ revision: number;
49
+ start_date: number;
50
+ transaction_total: number;
51
+ user_guid: string;
52
+ index?: number | undefined;
53
+ x?: number | undefined;
54
+ y?: number | undefined;
55
+ vx?: number | undefined;
56
+ vy?: number | undefined;
57
+ fx?: number | null | undefined;
58
+ fy?: number | null | undefined;
59
+ }[];
@@ -94,4 +94,7 @@ export interface RecurringCopy {
94
94
  weekday_saturday: string;
95
95
  weekly: string;
96
96
  weekly_ordinal: string;
97
+ zero_state_content_description: string;
98
+ zero_state_content_header: string;
99
+ zero_state_title: string;
97
100
  }