@mx-cartographer/experiences 6.24.14 → 6.24.15-alpha.al0

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.
@@ -0,0 +1,13 @@
1
+ import { default as React } from 'react';
2
+ interface ListItemRowProps {
3
+ onClick?: () => void;
4
+ leftIcon?: React.ReactNode;
5
+ rightIcon?: React.ReactNode;
6
+ title?: string;
7
+ subtitle?: string;
8
+ rightContent?: React.ReactNode;
9
+ titleBold?: boolean;
10
+ rightContentBold?: boolean;
11
+ }
12
+ export declare const ListItemRow: React.FC<ListItemRowProps>;
13
+ export {};
@@ -1,14 +1,20 @@
1
1
  import { default as React, CSSProperties } from 'react';
2
2
  import { MarkHandlers } from './linechart/CustomMark';
3
+ export type LineChartDataset = {
4
+ x: string;
5
+ y: number;
6
+ }[];
7
+ export type LineChartLabel = string | {
8
+ label: string;
9
+ amount: number;
10
+ };
3
11
  interface LineChartProps {
4
12
  baseline?: string;
5
13
  colors: (string | undefined)[];
6
- datasets: {
7
- x: string;
8
- y: number;
9
- }[][];
14
+ curve?: 'catmullRom' | 'linear' | 'monotoneX' | 'monotoneY' | 'natural' | 'step' | 'stepBefore' | 'stepAfter' | 'bump' | 'bumpX' | 'bumpY';
15
+ datasets: LineChartDataset[];
10
16
  height?: number;
11
- labels: string[];
17
+ labels: LineChartLabel[];
12
18
  margin?: {
13
19
  top?: number;
14
20
  right?: number;
@@ -19,8 +25,12 @@ interface LineChartProps {
19
25
  markStyles?: (markIndex: number) => CSSProperties;
20
26
  showArea?: boolean;
21
27
  showAverage?: boolean;
28
+ showAxis?: boolean;
29
+ showAxisHighlight?: boolean;
22
30
  showBars?: boolean;
31
+ showLegend?: boolean;
23
32
  showMarkLabel?: boolean;
33
+ showTooltip?: boolean;
24
34
  useCustomMark?: boolean;
25
35
  valueFormatterString?: string;
26
36
  width?: number;
@@ -1,5 +1,10 @@
1
- declare const _default: (({ series, average, style, }: {
2
- average: number;
1
+ import { LineChartLabel } from '../LineChart';
2
+ export declare const CustomLegendLabel: ({ label }: {
3
+ label: LineChartLabel;
4
+ }) => import("react/jsx-runtime").JSX.Element | null;
5
+ declare const _default: (({ average, labels, series, style, }: {
6
+ average?: number;
7
+ labels?: LineChartLabel[];
3
8
  series: any[];
4
9
  style: any;
5
10
  }) => import("react/jsx-runtime").JSX.Element) & {
@@ -0,0 +1,7 @@
1
+ import { LineChartLabel } from '../LineChart';
2
+ interface CustomTooltipProps {
3
+ labels?: LineChartLabel[];
4
+ valueFormatterString?: string;
5
+ }
6
+ export declare function CustomTooltip({ labels, valueFormatterString }: CustomTooltipProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,7 @@
1
+ import { default as React } from 'react';
2
+ interface CollapseExpandListItemProps {
3
+ isExpanded: boolean;
4
+ onClick: () => void;
5
+ }
6
+ export declare const CollapseExpandListItem: React.FC<CollapseExpandListItemProps>;
7
+ export {};
@@ -1,3 +1,4 @@
1
+ import { Transaction } from './Transaction';
1
2
  export interface Category {
2
3
  guid: string;
3
4
  income: boolean;
@@ -54,6 +55,14 @@ export interface DetailedCategory extends Category {
54
55
  totalAverageAmount: number;
55
56
  totalMonthlyAmounts: MonthlyAmount[];
56
57
  }
58
+ export interface CategoryListItem {
59
+ guid: string;
60
+ name: string;
61
+ amount: number;
62
+ transactions?: Transaction[];
63
+ color?: string;
64
+ chartLabel?: string;
65
+ }
57
66
  export interface CategoryTotal {
58
67
  amount: number;
59
68
  category: Category;
@@ -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, } from './Category';
9
+ export type { Category, CategoryListItem, 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';