@mx-cartographer/experiences 6.25.6-alpha.al0 → 6.25.7

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,7 @@
1
+ ## [6.25.7] - 08-25-2025
2
+
3
+ - **UPDATED** - StackedLineChart to have responsive height based on widget and legend dimensions
4
+
1
5
  ## [6.25.6] - 08-25-2025
2
6
 
3
7
  - **CHANGED** - new Trends Widget to use Detailed Categories
@@ -18,8 +18,8 @@ interface StackedLineChartProps {
18
18
  onHoverPoint?: (category: string) => void;
19
19
  onHoverLegend?: (category: string) => void;
20
20
  onClickLegend?: (category: string) => void;
21
- height?: number;
22
- width?: number;
21
+ availableHeight?: number;
22
+ minimumHeight?: number;
23
23
  }
24
24
  export declare const StackedLineChart: React.FC<StackedLineChartProps>;
25
25
  export {};
@@ -1,8 +1,7 @@
1
- import { LineChartLabel, LineChartDataset } from '../LineChart';
1
+ import { LineChartLabel } from '../LineChart';
2
2
  interface CustomTooltipProps {
3
3
  labels?: LineChartLabel[];
4
4
  valueFormatterString?: string;
5
- datasets?: LineChartDataset[];
6
5
  }
7
- export declare function CustomTooltip({ labels, valueFormatterString, datasets, }: CustomTooltipProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function CustomTooltip({ labels, valueFormatterString }: CustomTooltipProps): import("react/jsx-runtime").JSX.Element;
8
7
  export {};
@@ -6,6 +6,7 @@ interface CustomLegendProps {
6
6
  top_level_guid: string;
7
7
  }[];
8
8
  hoveredLegend: string | null;
9
+ legendRef?: (instance: HTMLElement | null) => void;
9
10
  onHoverLegend: (label: string | null) => void;
10
11
  onClickLegend: (label: string | null) => void;
11
12
  }
@@ -31,15 +31,6 @@ export interface MonthlyAmount {
31
31
  isoDate: string;
32
32
  label: string;
33
33
  }
34
- export interface MonthlySubcategoryBreakdown {
35
- isoDate: string;
36
- label: string;
37
- subcategories: Array<{
38
- guid: string;
39
- name: string;
40
- amount: number;
41
- }>;
42
- }
43
34
  /**
44
35
  * @averageAmount - The average amount for this category
45
36
  * @color - Color to represent this category
@@ -58,7 +49,6 @@ export interface DetailedCategory extends Category {
58
49
  color: string;
59
50
  currentAmount: number;
60
51
  monthlyAmounts: MonthlyAmount[];
61
- monthlySubcategoryBreakdowns: MonthlySubcategoryBreakdown[];
62
52
  icon: string;
63
53
  isTransfer: boolean;
64
54
  subCategories: DetailedCategory[];
@@ -6,7 +6,7 @@ export type { Beat, DataSeries } from './Beat';
6
6
  export { UserVerification } from './Beat';
7
7
  export type { Budget, BudgetColors, DetailedBudget } from './Budget';
8
8
  export type { CashflowEvent, CashflowSequence, RepeatDay, RepeatInterval, RepeatMonth, RepeatWeekday, } from './Cashflow';
9
- export type { Category, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, MonthlyAmount, MonthlyCategoryTotals, MonthlySubcategoryBreakdown, } from './Category';
9
+ export type { Category, CategoryTotal, DateRangeCategoryTotals, DetailedCategory, MonthlyAmount, MonthlyCategoryTotals, } from './Category';
10
10
  export type { Client, ClientColorScheme, ClientCommunicationProfile, ClientInsightProfile, ClientProfile, ClientStyleProfile, } from './Client';
11
11
  export type { DateType, DateRange } from './Date';
12
12
  export type { Expense } from './Expense';