@banyan_cloud/roots 2.0.19 → 2.0.21
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/dist/esm/index.js +3011 -3420
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/src/components/Toggle/Toggle.d.ts +21 -34
- package/dist/esm/src/components/Toggle/index.d.ts +1 -1
- package/dist/esm/src/components/charts/areaChart/BaseAreaChart.d.ts +50 -114
- package/dist/esm/src/components/charts/areaChart/index.d.ts +1 -1
- package/dist/esm/src/components/chartsV2/LineChart/BaseAreaChart.d.ts +58 -1
- package/dist/esm/src/components/chartsV2/LineChart/index.d.ts +1 -1
- package/dist/esm/src/components/chartsV2/capsuleChart/CapsuleChart.d.ts +38 -1
- package/dist/esm/src/components/chartsV2/capsuleChart/index.d.ts +1 -1
- package/dist/esm/src/components/datePicker/DatePicker.d.ts +3 -0
- package/dist/esm/src/components/datePickerV2/DatePicker.d.ts +2 -0
- package/dist/esm/src/components/datePickerV2/index.d.ts +1 -0
- package/dist/esm/src/components/hierarchy/browser/HierarchyBrowser.d.ts +15 -22
- package/dist/esm/src/components/hierarchy/item/HierarchyItem.d.ts +10 -22
- package/dist/esm/src/hooks/useOutsideClickListener.d.ts +1 -1
- package/package.json +16 -16
- package/dist/esm/src/components/Toggle/Skeleton/Toggle.skeleton.d.ts +0 -6
- package/dist/esm/src/components/Toggle/Skeleton/index.d.ts +0 -1
- package/dist/esm/src/components/Toggle/Togglev2.d.ts +0 -14
- package/dist/esm/src/components/chartsV2/LineChart/Skeleton/BaseAreaChart.skeleton.d.ts +0 -6
- package/dist/esm/src/components/chartsV2/LineChart/Skeleton/index.d.ts +0 -1
- package/dist/esm/src/components/chartsV2/capsuleChart/Skeleton/CapsuleChart.skeleton.d.ts +0 -5
- package/dist/esm/src/components/chartsV2/capsuleChart/Skeleton/index.d.ts +0 -1
- package/dist/esm/src/components/helpers/index.d.ts +0 -1
- package/dist/esm/src/components/helpers/themedContainer/ThemedContainer.d.ts +0 -10
- package/dist/esm/src/components/helpers/themedContainer/index.d.ts +0 -1
|
@@ -1,35 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
let className_1: string;
|
|
21
|
-
export { className_1 as className };
|
|
22
|
-
let theme_1: string;
|
|
23
|
-
export { theme_1 as theme };
|
|
24
|
-
let options_1: never[];
|
|
25
|
-
export { options_1 as options };
|
|
26
|
-
let value_1: undefined;
|
|
27
|
-
export { value_1 as value };
|
|
28
|
-
let multi_1: boolean;
|
|
29
|
-
export { multi_1 as multi };
|
|
30
|
-
let smooth_1: boolean;
|
|
31
|
-
export { smooth_1 as smooth };
|
|
32
|
-
let v2_1: boolean;
|
|
33
|
-
export { v2_1 as v2 };
|
|
34
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface ToggleOption {
|
|
3
|
+
title: string;
|
|
4
|
+
value: string;
|
|
5
|
+
leftComponent?: React.ReactNode;
|
|
6
|
+
rightComponent?: React.ReactNode;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
interface ToggleProps {
|
|
11
|
+
options?: ToggleOption[];
|
|
12
|
+
multi?: boolean;
|
|
13
|
+
defaultValue?: string | string[];
|
|
14
|
+
theme?: 'light' | 'dark';
|
|
15
|
+
value?: string | string[];
|
|
16
|
+
onChange?: (value: string | string[]) => void;
|
|
17
|
+
className?: string;
|
|
18
|
+
smooth?: boolean;
|
|
19
|
+
secondary?: boolean;
|
|
35
20
|
}
|
|
21
|
+
declare const Toggle: ({ options, multi, defaultValue, theme, value, onChange, className, smooth, secondary, }: ToggleProps) => React.ReactElement;
|
|
22
|
+
export default Toggle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as Toggle } from
|
|
1
|
+
export { default as Toggle } from './Toggle';
|
|
@@ -1,115 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
let xAxis_1: {};
|
|
50
|
-
export { xAxis_1 as xAxis };
|
|
51
|
-
let yAxis_1: {};
|
|
52
|
-
export { yAxis_1 as yAxis };
|
|
53
|
-
let gridContainLabel_1: boolean;
|
|
54
|
-
export { gridContainLabel_1 as gridContainLabel };
|
|
55
|
-
let tooltip_1: {};
|
|
56
|
-
export { tooltip_1 as tooltip };
|
|
57
|
-
let stacked_1: boolean;
|
|
58
|
-
export { stacked_1 as stacked };
|
|
59
|
-
let legend_1: {};
|
|
60
|
-
export { legend_1 as legend };
|
|
61
|
-
let xAxisLabelShow_1: boolean;
|
|
62
|
-
export { xAxisLabelShow_1 as xAxisLabelShow };
|
|
63
|
-
let xSplitLineShow_1: boolean;
|
|
64
|
-
export { xSplitLineShow_1 as xSplitLineShow };
|
|
65
|
-
let xAxisLineShow_1: boolean;
|
|
66
|
-
export { xAxisLineShow_1 as xAxisLineShow };
|
|
67
|
-
let xAxisTickShow_1: boolean;
|
|
68
|
-
export { xAxisTickShow_1 as xAxisTickShow };
|
|
69
|
-
let xAxisLabel_1: {};
|
|
70
|
-
export { xAxisLabel_1 as xAxisLabel };
|
|
71
|
-
let axisLabelColor_1: string;
|
|
72
|
-
export { axisLabelColor_1 as axisLabelColor };
|
|
73
|
-
let axisSplitColor_1: string;
|
|
74
|
-
export { axisSplitColor_1 as axisSplitColor };
|
|
75
|
-
let splitType_1: string;
|
|
76
|
-
export { splitType_1 as splitType };
|
|
77
|
-
let seriesData_1: {};
|
|
78
|
-
export { seriesData_1 as seriesData };
|
|
79
|
-
let yAxisLabelShow_1: boolean;
|
|
80
|
-
export { yAxisLabelShow_1 as yAxisLabelShow };
|
|
81
|
-
let ySplitLineShow_1: boolean;
|
|
82
|
-
export { ySplitLineShow_1 as ySplitLineShow };
|
|
83
|
-
let yAxisLineShow_1: boolean;
|
|
84
|
-
export { yAxisLineShow_1 as yAxisLineShow };
|
|
85
|
-
let yAxisTickShow_1: boolean;
|
|
86
|
-
export { yAxisTickShow_1 as yAxisTickShow };
|
|
87
|
-
let yAxisLabel_1: {};
|
|
88
|
-
export { yAxisLabel_1 as yAxisLabel };
|
|
89
|
-
let cursor_1: string;
|
|
90
|
-
export { cursor_1 as cursor };
|
|
91
|
-
let seriesOption_1: never[];
|
|
92
|
-
export { seriesOption_1 as seriesOption };
|
|
93
|
-
let lineStyleWidth_1: number;
|
|
94
|
-
export { lineStyleWidth_1 as lineStyleWidth };
|
|
95
|
-
let lineStyleType_1: string;
|
|
96
|
-
export { lineStyleType_1 as lineStyleType };
|
|
97
|
-
let lineStyleCap_1: string;
|
|
98
|
-
export { lineStyleCap_1 as lineStyleCap };
|
|
99
|
-
let lineStyleJoin_1: string;
|
|
100
|
-
export { lineStyleJoin_1 as lineStyleJoin };
|
|
101
|
-
let smooth_1: boolean;
|
|
102
|
-
export { smooth_1 as smooth };
|
|
103
|
-
let opacity_1: number;
|
|
104
|
-
export { opacity_1 as opacity };
|
|
105
|
-
export namespace style_1 {
|
|
106
|
-
let width: string;
|
|
107
|
-
let height: string;
|
|
108
|
-
}
|
|
109
|
-
export { style_1 as style };
|
|
110
|
-
let className_1: string;
|
|
111
|
-
export { className_1 as className };
|
|
112
|
-
let theme_1: string;
|
|
113
|
-
export { theme_1 as theme };
|
|
114
|
-
}
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
interface BaseAreaChartProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
gridOptions?: Record<string, any>;
|
|
5
|
+
gridContainLabel?: boolean;
|
|
6
|
+
seriesData: {
|
|
7
|
+
chartData: Record<string, number[]>;
|
|
8
|
+
metaData?: {
|
|
9
|
+
xAxisData?: string[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
tooltip?: Record<string, any>;
|
|
13
|
+
legend?: Record<string, any>;
|
|
14
|
+
xAxis?: Record<string, any>;
|
|
15
|
+
yAxis?: Record<string, any>;
|
|
16
|
+
xAxisLabelShow?: boolean;
|
|
17
|
+
xSplitLineShow?: boolean;
|
|
18
|
+
xAxisLineShow?: boolean;
|
|
19
|
+
xAxisTickShow?: boolean;
|
|
20
|
+
xAxisLabel?: Record<string, any>;
|
|
21
|
+
yAxisLabelShow?: boolean;
|
|
22
|
+
ySplitLineShow?: boolean;
|
|
23
|
+
yAxisLineShow?: boolean;
|
|
24
|
+
yAxisTickShow?: boolean;
|
|
25
|
+
yAxisTick?: Record<string, any>;
|
|
26
|
+
yAxisLabel?: Record<string, any>;
|
|
27
|
+
axisLabelColor?: string;
|
|
28
|
+
axisSplitColor?: string;
|
|
29
|
+
splitType?: 'dashed' | 'solid' | 'dotted';
|
|
30
|
+
seriesOption?: Array<Record<string, any>>;
|
|
31
|
+
lineStyleWidth?: number;
|
|
32
|
+
lineStyleType?: 'dashed' | 'solid' | 'dotted';
|
|
33
|
+
lineStyleCap?: 'butt' | 'round' | 'square';
|
|
34
|
+
lineStyleJoin?: 'round' | 'bevel' | 'miter';
|
|
35
|
+
stacked?: boolean | string;
|
|
36
|
+
cursor?: string;
|
|
37
|
+
smooth?: boolean;
|
|
38
|
+
opacity?: number;
|
|
39
|
+
style?: CSSProperties;
|
|
40
|
+
className?: string;
|
|
41
|
+
theme?: 'light' | 'dark';
|
|
42
|
+
isEmpty?: {
|
|
43
|
+
show: boolean;
|
|
44
|
+
className?: string;
|
|
45
|
+
title?: string;
|
|
46
|
+
description?: string;
|
|
47
|
+
type?: 'line' | 'area';
|
|
48
|
+
};
|
|
115
49
|
}
|
|
50
|
+
declare const BaseAreaChart: ({ title, gridOptions, gridContainLabel, seriesData, tooltip, legend, xAxis, yAxis, xAxisLabelShow, xSplitLineShow, xAxisLineShow, xAxisTickShow, xAxisLabel, yAxisLabelShow, ySplitLineShow, yAxisLineShow, yAxisTickShow, yAxisTick, yAxisLabel, axisLabelColor, axisSplitColor, splitType, seriesOption, lineStyleWidth, lineStyleType, lineStyleCap, lineStyleJoin, stacked, cursor, smooth, opacity, style, className, theme, isEmpty, }: BaseAreaChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export default BaseAreaChart;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as BaseAreaChart } from
|
|
1
|
+
export { default as BaseAreaChart } from './BaseAreaChart';
|
|
@@ -1,2 +1,59 @@
|
|
|
1
|
+
import { type ChartData, type ChartOptions, type TooltipCallbacks } from 'chart.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface ChartDataType {
|
|
4
|
+
metaData: {
|
|
5
|
+
xAxisData: string[];
|
|
6
|
+
};
|
|
7
|
+
chartData: Record<string, number[]>;
|
|
8
|
+
}
|
|
9
|
+
interface TooltipConfig {
|
|
10
|
+
bodySpacing?: number;
|
|
11
|
+
displayColors?: boolean;
|
|
12
|
+
colorBoxWidth?: number;
|
|
13
|
+
colorBoxHeight?: number;
|
|
14
|
+
usePointStyle?: boolean;
|
|
15
|
+
displayTitle?: boolean;
|
|
16
|
+
bodyFont?: Record<string, string>;
|
|
17
|
+
titleColor?: string;
|
|
18
|
+
bodyColor?: string;
|
|
19
|
+
borderWidth?: number;
|
|
20
|
+
callbacks?: Partial<TooltipCallbacks<'line'>>;
|
|
21
|
+
}
|
|
22
|
+
interface ChartProps {
|
|
23
|
+
title?: string;
|
|
24
|
+
seriesData: ChartDataType;
|
|
25
|
+
tooltip?: TooltipConfig;
|
|
26
|
+
legend?: {
|
|
27
|
+
display?: boolean;
|
|
28
|
+
position?: 'top' | 'left' | 'bottom' | 'right';
|
|
29
|
+
icon?: boolean;
|
|
30
|
+
legendStyles?: React.CSSProperties;
|
|
31
|
+
};
|
|
32
|
+
xAxisLabelShow?: boolean;
|
|
33
|
+
yAxisLabelShow?: boolean;
|
|
34
|
+
xAxisLabel?: string;
|
|
35
|
+
yAxisLabel?: string;
|
|
36
|
+
axisLabelColor?: string;
|
|
37
|
+
stacked?: boolean;
|
|
38
|
+
smooth?: boolean;
|
|
39
|
+
theme?: string;
|
|
40
|
+
isLineChart?: boolean;
|
|
41
|
+
xAxisPosition?: 'top' | 'bottom';
|
|
42
|
+
xSplitLineShow?: boolean;
|
|
43
|
+
xAxisLineShow?: boolean;
|
|
44
|
+
axisSplitColor?: string;
|
|
45
|
+
cursor?: string;
|
|
46
|
+
xAxis?: Record<string, string>;
|
|
47
|
+
yAxis?: Record<string, string>;
|
|
48
|
+
width?: string | number;
|
|
49
|
+
height?: string | number;
|
|
50
|
+
chartOptions?: Partial<ChartOptions<'line'>>;
|
|
51
|
+
chartOptionsProps?: Partial<ChartOptions<'line'>>;
|
|
52
|
+
extra?: Record<string, string>;
|
|
53
|
+
dataSetOptions?: Partial<ChartData<'line'>>;
|
|
54
|
+
lineColors?: string[];
|
|
55
|
+
borderColors?: string[];
|
|
56
|
+
style?: React.CSSProperties;
|
|
57
|
+
}
|
|
58
|
+
declare const BaseAreaChart: React.FC<ChartProps>;
|
|
1
59
|
export default BaseAreaChart;
|
|
2
|
-
declare function BaseAreaChart(props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as BaseAreaChartV2 } from
|
|
1
|
+
export { default as BaseAreaChartV2 } from './BaseAreaChart';
|
|
@@ -1,2 +1,39 @@
|
|
|
1
|
+
import { type ChartData, type ChartOptions } from 'chart.js';
|
|
2
|
+
import React, { type FC } from 'react';
|
|
3
|
+
interface SeriesData {
|
|
4
|
+
chartData: Record<string, {
|
|
5
|
+
x1: number;
|
|
6
|
+
x2: number;
|
|
7
|
+
}>;
|
|
8
|
+
metaData?: {
|
|
9
|
+
keyData?: {
|
|
10
|
+
x1: string;
|
|
11
|
+
x2: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
interface TooltipConfig {
|
|
16
|
+
bodySpacing?: number;
|
|
17
|
+
displayColors?: boolean;
|
|
18
|
+
colorBoxWidth?: number;
|
|
19
|
+
colorBoxHeight?: number;
|
|
20
|
+
usePointStyle?: boolean;
|
|
21
|
+
displayTitle?: boolean;
|
|
22
|
+
bodyFont?: Record<string, string>;
|
|
23
|
+
titleColor?: string;
|
|
24
|
+
bodyColor?: string;
|
|
25
|
+
borderWidth?: number;
|
|
26
|
+
}
|
|
27
|
+
interface CapsuleChartProps {
|
|
28
|
+
seriesData: SeriesData;
|
|
29
|
+
showLegends?: boolean;
|
|
30
|
+
tooltip?: TooltipConfig;
|
|
31
|
+
chartOptions?: Partial<ChartOptions<'bar'>>;
|
|
32
|
+
extra?: Record<string, string>;
|
|
33
|
+
dataSetsOptions?: Partial<ChartData<'bar'>>;
|
|
34
|
+
xAxis?: Record<string, string>;
|
|
35
|
+
yAxis?: Record<string, string>;
|
|
36
|
+
styles?: React.CSSProperties;
|
|
37
|
+
}
|
|
38
|
+
declare const CapsuleChart: FC<CapsuleChartProps>;
|
|
1
39
|
export default CapsuleChart;
|
|
2
|
-
declare function CapsuleChart(props: any): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as CapsuleChartV2 } from
|
|
1
|
+
export { default as CapsuleChartV2 } from './CapsuleChart';
|
|
@@ -20,6 +20,7 @@ declare namespace DatePicker {
|
|
|
20
20
|
let defaultHourDiff: any;
|
|
21
21
|
let limitHours: any;
|
|
22
22
|
let showTime: any;
|
|
23
|
+
let v2: any;
|
|
23
24
|
let enableFutureDates: any;
|
|
24
25
|
}
|
|
25
26
|
namespace defaultProps {
|
|
@@ -59,5 +60,7 @@ declare namespace DatePicker {
|
|
|
59
60
|
export { showTime_1 as showTime };
|
|
60
61
|
let enableFutureDates_1: boolean;
|
|
61
62
|
export { enableFutureDates_1 as enableFutureDates };
|
|
63
|
+
let v2_1: boolean;
|
|
64
|
+
export { v2_1 as v2 };
|
|
62
65
|
}
|
|
63
66
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DatePickerV2 } from "./DatePicker";
|
|
@@ -1,23 +1,16 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
interface Item {
|
|
3
|
-
id?: string;
|
|
4
|
-
title?: string;
|
|
5
|
-
count?: number;
|
|
6
|
-
list?: Item[] | boolean;
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
}
|
|
9
|
-
interface HierarchyBrowserProps {
|
|
10
|
-
className?: string;
|
|
11
|
-
metadata?: Item[];
|
|
12
|
-
onItemClick?: (item: Item, pathString: string, open?: boolean) => void;
|
|
13
|
-
onItemDoubleClick?: (item: Item, pathString: string, open?: boolean) => void;
|
|
14
|
-
minWidth?: number;
|
|
15
|
-
maxWidth?: number;
|
|
16
|
-
borderSize?: number;
|
|
17
|
-
resizable?: boolean;
|
|
18
|
-
setItemProps?: (item: Item, pathString: string) => Record<string, any>;
|
|
19
|
-
title?: string;
|
|
20
|
-
count?: string;
|
|
21
|
-
}
|
|
22
|
-
declare const HierarchyBrowser: ({ className, metadata, onItemClick, onItemDoubleClick, minWidth, maxWidth, borderSize, resizable, setItemProps, title, }: HierarchyBrowserProps) => ReactElement;
|
|
23
1
|
export default HierarchyBrowser;
|
|
2
|
+
declare function HierarchyBrowser(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare namespace HierarchyBrowser {
|
|
4
|
+
namespace propTypes {
|
|
5
|
+
let className: any;
|
|
6
|
+
let metadata: any;
|
|
7
|
+
let onItemClick: any;
|
|
8
|
+
let onItemDoubleClick: any;
|
|
9
|
+
let borderSize: any;
|
|
10
|
+
let minWidth: any;
|
|
11
|
+
let maxWidth: any;
|
|
12
|
+
let resizable: any;
|
|
13
|
+
let setItemProps: any;
|
|
14
|
+
let title: any;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,23 +1,11 @@
|
|
|
1
|
-
import type { ReactElement, ReactNode } from 'react';
|
|
2
|
-
type IconPlacement = 'left' | 'right' | 'none';
|
|
3
|
-
interface HierarchyItemProps {
|
|
4
|
-
defaultOpen?: boolean;
|
|
5
|
-
iconPlacement?: IconPlacement;
|
|
6
|
-
title: ReactNode;
|
|
7
|
-
count: string;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
onClick?: (state: boolean) => void;
|
|
10
|
-
onDoubleClick?: (state: boolean) => void;
|
|
11
|
-
active?: boolean;
|
|
12
|
-
isLastItem?: boolean;
|
|
13
|
-
isSingleItem?: boolean;
|
|
14
|
-
leftComponent: ReactNode;
|
|
15
|
-
name: string;
|
|
16
|
-
onSearchSubmit?: (text: string, path: string) => void;
|
|
17
|
-
pathString: string;
|
|
18
|
-
lastActive?: boolean;
|
|
19
|
-
isSearching: boolean;
|
|
20
|
-
onSearchStart?: () => void;
|
|
21
|
-
}
|
|
22
|
-
declare const HierarchyItem: (props: HierarchyItemProps) => ReactElement;
|
|
23
1
|
export default HierarchyItem;
|
|
2
|
+
declare function HierarchyItem(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare namespace HierarchyItem {
|
|
4
|
+
namespace propTypes {
|
|
5
|
+
let iconPlacement: any;
|
|
6
|
+
let title: any;
|
|
7
|
+
let defaultOpen: any;
|
|
8
|
+
let onClick: any;
|
|
9
|
+
let active: any;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type RefObject } from 'react';
|
|
2
|
-
declare const useOutsideClickListener: (
|
|
2
|
+
declare const useOutsideClickListener: (callback: () => void, ref: RefObject<HTMLElement | null>) => void;
|
|
3
3
|
export default useOutsideClickListener;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@banyan_cloud/roots",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.21",
|
|
4
4
|
"description": "Design System Library which drives the Banyan Cloud products",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -13,21 +13,6 @@
|
|
|
13
13
|
"registry": "https://registry.npmjs.org"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"react": "^18.2.0",
|
|
17
|
-
"react-dom": "^18.2.0",
|
|
18
|
-
"framer-motion": "^10.16.4",
|
|
19
|
-
"d3": "^7.8.5",
|
|
20
|
-
"chart.js": "^4.4.4",
|
|
21
|
-
"react-chartjs-2": "^5.2.0",
|
|
22
|
-
"chartjs-plugin-annotation": "^3.0.1",
|
|
23
|
-
"chartjs-plugin-datalabels": "^2.2.0",
|
|
24
|
-
"echarts": "^5.6.0",
|
|
25
|
-
"echarts-for-react": "^3.0.2",
|
|
26
|
-
"@tiptap/starter-kit": "^2.10.3",
|
|
27
|
-
"@tiptap/pm": "^2.11.7",
|
|
28
|
-
"@tiptap/react": "^2.11.7",
|
|
29
|
-
"react-error-boundary": "^4.0.10",
|
|
30
|
-
"fast-equals": "^4.0.3",
|
|
31
16
|
"@tiptap/extension-color": "^2.11.7",
|
|
32
17
|
"@tiptap/extension-highlight": "^2.11.7",
|
|
33
18
|
"@tiptap/extension-link": "^2.11.7",
|
|
@@ -35,6 +20,21 @@
|
|
|
35
20
|
"@tiptap/extension-text-align": "^2.11.7",
|
|
36
21
|
"@tiptap/extension-text-style": "^2.11.7",
|
|
37
22
|
"@tiptap/extension-underline": "^2.11.7",
|
|
23
|
+
"@tiptap/pm": "^2.11.7",
|
|
24
|
+
"@tiptap/react": "^2.11.7",
|
|
25
|
+
"@tiptap/starter-kit": "^2.10.3",
|
|
26
|
+
"chart.js": "^4.4.4",
|
|
27
|
+
"chartjs-plugin-annotation": "^3.0.1",
|
|
28
|
+
"chartjs-plugin-datalabels": "^2.2.0",
|
|
29
|
+
"d3": "^7.8.5",
|
|
30
|
+
"echarts": "^5.6.0",
|
|
31
|
+
"echarts-for-react": "^3.0.2",
|
|
32
|
+
"fast-equals": "^4.0.3",
|
|
33
|
+
"framer-motion": "^10.16.4",
|
|
34
|
+
"react": "^18.2.0",
|
|
35
|
+
"react-chartjs-2": "^5.2.0",
|
|
36
|
+
"react-dom": "^18.2.0",
|
|
37
|
+
"react-error-boundary": "^4.0.10",
|
|
38
38
|
"react-syntax-highlighter": "^15.6.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Skeleton } from "./Toggle.skeleton";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export default Togglev2;
|
|
2
|
-
declare function Togglev2(props: any): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare namespace Togglev2 {
|
|
4
|
-
namespace propTypes {
|
|
5
|
-
let loading: any;
|
|
6
|
-
let fallback: any;
|
|
7
|
-
let className: any;
|
|
8
|
-
let theme: any;
|
|
9
|
-
let options: any;
|
|
10
|
-
let value: any;
|
|
11
|
-
let multi: any;
|
|
12
|
-
let smooth: any;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Skeleton } from "./BaseAreaChart.skeleton";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Skeleton } from "./CapsuleChart.skeleton";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './themedContainer';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type CSSProperties, type ReactElement } from 'react';
|
|
2
|
-
type ThemeType = 'light' | 'dark';
|
|
3
|
-
interface ThemedContainerProps {
|
|
4
|
-
theme?: ThemeType;
|
|
5
|
-
style?: CSSProperties;
|
|
6
|
-
className?: string;
|
|
7
|
-
children: ReactElement;
|
|
8
|
-
}
|
|
9
|
-
declare const ThemedContainer: (props: ThemedContainerProps) => ReactElement;
|
|
10
|
-
export default ThemedContainer;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ThemedContainer } from './ThemedContainer';
|