@banyan_cloud/roots 2.0.29 → 2.0.30

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.
Files changed (53) hide show
  1. package/dist/esm/index.js +928 -2371
  2. package/dist/esm/index.js.map +1 -1
  3. package/dist/esm/src/components/alertV2/Alert.d.ts +3 -14
  4. package/dist/esm/src/components/alertV2/index.d.ts +1 -1
  5. package/dist/esm/src/components/alertV2/types/index.d.ts +27 -0
  6. package/dist/esm/src/components/breadcrumbs/Breadcrumbs.d.ts +3 -28
  7. package/dist/esm/src/components/breadcrumbs/types/index.d.ts +13 -0
  8. package/dist/esm/src/components/buttons/button/Button.d.ts +1 -2
  9. package/dist/esm/src/components/callout/Callout.d.ts +2 -13
  10. package/dist/esm/src/components/callout/index.d.ts +1 -1
  11. package/dist/esm/src/components/callout/types/index.d.ts +15 -0
  12. package/dist/esm/src/components/chartsV2/BarChart/BaseVerticalBarChart.d.ts +3 -23
  13. package/dist/esm/src/components/chartsV2/BarChart/BaseVerticalBarChartData.d.ts +121 -0
  14. package/dist/esm/src/components/chartsV2/BarChart/index.d.ts +1 -1
  15. package/dist/esm/src/components/chartsV2/BarChart/types/index.d.ts +94 -0
  16. package/dist/esm/src/components/chartsV2/LineChart/BaseAreaChart.d.ts +6 -0
  17. package/dist/esm/src/components/chartsV2/pieChart/BasePieChart.d.ts +2 -1
  18. package/dist/esm/src/components/chartsV2/pieChart/BasePieChartData.d.ts +62 -0
  19. package/dist/esm/src/components/chartsV2/pieChart/index.d.ts +1 -1
  20. package/dist/esm/src/components/chartsV2/pieChart/types/index.d.ts +101 -0
  21. package/dist/esm/src/components/chartsV2/utils/index.d.ts +2 -1
  22. package/dist/esm/src/components/index.d.ts +0 -3
  23. package/package.json +1 -1
  24. package/dist/esm/src/components/breadcrumbsv2/Breadcrumbs.d.ts +0 -8
  25. package/dist/esm/src/components/breadcrumbsv2/index.d.ts +0 -1
  26. package/dist/esm/src/components/chartsV2/BarChart/Skeleton/BaseVerticalBarChart.skeleton.d.ts +0 -5
  27. package/dist/esm/src/components/chartsV2/BarChart/Skeleton/index.d.ts +0 -1
  28. package/dist/esm/src/components/chartsV2/pieChart/Skeleton/BasePieChart.skeleton.d.ts +0 -5
  29. package/dist/esm/src/components/chartsV2/pieChart/Skeleton/index.d.ts +0 -1
  30. package/dist/esm/src/components/pageHeader/PageHeader.d.ts +0 -23
  31. package/dist/esm/src/components/pageHeader/index.d.ts +0 -1
  32. package/dist/esm/src/components/table/BaseTable.class.d.ts +0 -25
  33. package/dist/esm/src/components/table/baseTable/BaseTable.d.ts +0 -2
  34. package/dist/esm/src/components/table/baseTable/Skeleton/BaseTable.skeleton.d.ts +0 -4
  35. package/dist/esm/src/components/table/baseTable/Skeleton/index.d.ts +0 -1
  36. package/dist/esm/src/components/table/baseTable/index.d.ts +0 -1
  37. package/dist/esm/src/components/table/body/TableBody.d.ts +0 -32
  38. package/dist/esm/src/components/table/body/index.d.ts +0 -1
  39. package/dist/esm/src/components/table/cell/TableCell.d.ts +0 -2
  40. package/dist/esm/src/components/table/cell/index.d.ts +0 -1
  41. package/dist/esm/src/components/table/header/TableHeader.d.ts +0 -29
  42. package/dist/esm/src/components/table/header/index.d.ts +0 -1
  43. package/dist/esm/src/components/table/index.d.ts +0 -4
  44. package/dist/esm/src/components/table/placeholders/noData/general/General.d.ts +0 -5
  45. package/dist/esm/src/components/table/placeholders/noData/general/index.d.ts +0 -1
  46. package/dist/esm/src/components/table/row/TableRow.d.ts +0 -2
  47. package/dist/esm/src/components/table/row/index.d.ts +0 -1
  48. package/dist/esm/src/components/table/table/Table.d.ts +0 -28
  49. package/dist/esm/src/components/table/table/index.d.ts +0 -2
  50. package/dist/esm/src/components/table/table/tableFilters/Skeleton/TableFilters.skeleton.d.ts +0 -4
  51. package/dist/esm/src/components/table/table/tableFilters/Skeleton/index.d.ts +0 -1
  52. package/dist/esm/src/components/table/table/tableFilters/TableFilters.d.ts +0 -14
  53. package/dist/esm/src/components/table/table/tableFilters/index.d.ts +0 -1
@@ -1,14 +1,3 @@
1
- export default Alert;
2
- /**
3
- * Renders an alert message with optional icon, title, description, and action button.
4
- *
5
- * @param {Object} props - The props object containing the following properties:
6
- * - showIcon (boolean): Determines whether to show the alert icon.
7
- * - border (string): Specifies the border style of the alert.
8
- * - shadow (boolean): Determines whether to apply a shadow effect to the alert.
9
- * - position (string): Specifies the position of the alert on the screen.
10
- * - animation (boolean): Determines whether to apply the animation effect.
11
- * @param {Ref} ref - The ref object used to expose the 'alert' function to the parent component.
12
- * @returns {JSX.Element} - The rendered alert component.
13
- */
14
- declare const Alert: import("react").ForwardRefExoticComponent<import("react").RefAttributes<any>>;
1
+ import type { AlertHandle, AlertProps } from './types';
2
+ declare const _default: import("react").ForwardRefExoticComponent<AlertProps & import("react").RefAttributes<AlertHandle>>;
3
+ export default _default;
@@ -1 +1 @@
1
- export { default as AlertV2 } from "./Alert";
1
+ export { default as AlertV2 } from './Alert';
@@ -0,0 +1,27 @@
1
+ import type { ComponentType } from 'react';
2
+ type AlertType = 'info' | 'error' | 'warning' | 'success' | 'danger';
3
+ type AlertPosition = 'bottom-right' | 'bottom-center' | 'top-right' | 'top-center';
4
+ export interface AlertProps {
5
+ showIcon?: boolean;
6
+ shadow?: boolean;
7
+ position?: AlertPosition;
8
+ animation?: boolean;
9
+ className?: string;
10
+ }
11
+ export interface AlertConfig {
12
+ title: string | null | undefined;
13
+ description: string | null | undefined;
14
+ icon?: ComponentType<{
15
+ className?: string;
16
+ }> | undefined;
17
+ type: AlertType;
18
+ action?: ComponentType | undefined;
19
+ position?: AlertPosition | null | undefined;
20
+ onClose?: () => void;
21
+ autoDismiss?: boolean;
22
+ dismissTime?: number;
23
+ }
24
+ export interface AlertHandle {
25
+ alert: (props: Partial<AlertConfig>) => void;
26
+ }
27
+ export {};
@@ -1,29 +1,4 @@
1
+ import React from 'react';
2
+ import type { BreadCrumbsProps } from './types';
3
+ declare const BreadCrumbs: React.FC<BreadCrumbsProps>;
1
4
  export default BreadCrumbs;
2
- declare function BreadCrumbs(props: any): false | import("react/jsx-runtime").JSX.Element;
3
- declare namespace BreadCrumbs {
4
- namespace propTypes {
5
- let crumbs: any;
6
- let maxItems: any;
7
- let itemsBeforeCollapse: any;
8
- let itemsAfterCollapse: any;
9
- let linkComponent: any;
10
- let homeTitle: any;
11
- let className: any;
12
- }
13
- namespace defaultProps {
14
- let crumbs_1: never[];
15
- export { crumbs_1 as crumbs };
16
- let maxItems_1: number;
17
- export { maxItems_1 as maxItems };
18
- let itemsBeforeCollapse_1: number;
19
- export { itemsBeforeCollapse_1 as itemsBeforeCollapse };
20
- let itemsAfterCollapse_1: number;
21
- export { itemsAfterCollapse_1 as itemsAfterCollapse };
22
- let linkComponent_1: string;
23
- export { linkComponent_1 as linkComponent };
24
- let homeTitle_1: string;
25
- export { homeTitle_1 as homeTitle };
26
- let className_1: string;
27
- export { className_1 as className };
28
- }
29
- }
@@ -0,0 +1,13 @@
1
+ import type { ReactNode } from 'react';
2
+ interface Crumb {
3
+ title: string;
4
+ value: string | number;
5
+ icon?: ReactNode;
6
+ navigate?: () => void;
7
+ isDisabled?: boolean;
8
+ }
9
+ export interface BreadCrumbsProps {
10
+ crumbs: Crumb[];
11
+ className?: string;
12
+ }
13
+ export {};
@@ -1,4 +1,3 @@
1
- import { type RefObject } from 'react';
2
1
  import type { ButtonProps } from './types';
3
- declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<RefObject<HTMLElement>>>;
2
+ declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLElement>>;
4
3
  export default Button;
@@ -1,14 +1,3 @@
1
+ import type { CalloutProps } from './types';
2
+ declare const Callout: import("react").ForwardRefExoticComponent<CalloutProps & import("react").RefAttributes<HTMLDivElement>>;
1
3
  export default Callout;
2
- /**
3
- * Renders an alert message with optional icon, title, description, and action button.
4
- *
5
- * @param {Object} props - The props object containing the following properties:
6
- * - showIcon (boolean): Determines whether to show the alert icon.
7
- * - border (string): Specifies the border style of the alert.
8
- * - shadow (boolean): Determines whether to apply a shadow effect to the alert.
9
- * - position (string): Specifies the position of the alert on the screen.
10
- * - animation (boolean): Determines whether to apply the animation effect.
11
- * @param {Ref} ref - The ref object used to expose the 'alert' function to the parent component.
12
- * @returns {JSX.Element} - The rendered alert component.
13
- */
14
- declare const Callout: import("react").ForwardRefExoticComponent<import("react").RefAttributes<any>>;
@@ -1 +1 @@
1
- export { default as Callout } from "./Callout";
1
+ export { default as Callout } from './Callout';
@@ -0,0 +1,15 @@
1
+ import type { ComponentType, ReactNode } from 'react';
2
+ type CalloutType = 'info' | 'error' | 'warning' | 'success' | 'danger';
3
+ export interface CalloutProps {
4
+ title: ReactNode;
5
+ className?: string;
6
+ showIcon?: boolean;
7
+ shadow?: boolean;
8
+ description?: ReactNode;
9
+ icon?: ComponentType<{
10
+ className: string | undefined;
11
+ }>;
12
+ action?: ComponentType;
13
+ type: CalloutType;
14
+ }
15
+ export {};
@@ -1,24 +1,4 @@
1
+ import React from 'react';
2
+ import type { BaseBarChartProps } from './types';
3
+ declare const BaseBarChart: React.FC<BaseBarChartProps>;
1
4
  export default BaseBarChart;
2
- declare function BaseBarChart({ loading, seriesData, title, gridOptions, width, height, barThickness, borderRadius, xAxisTitle, yAxisTitle, tooltip, legends, chartOptions, chartDatasets, xAxis, yAxis, styles, vertical, stacked, extra, barColors, }: {
3
- loading: any;
4
- seriesData: any;
5
- title: any;
6
- gridOptions: any;
7
- width?: string | undefined;
8
- height?: string | undefined;
9
- barThickness?: number | undefined;
10
- borderRadius?: number | undefined;
11
- xAxisTitle: any;
12
- yAxisTitle: any;
13
- tooltip: any;
14
- legends: any;
15
- chartOptions: any;
16
- chartDatasets: any;
17
- xAxis: any;
18
- yAxis: any;
19
- styles: any;
20
- vertical?: boolean | undefined;
21
- stacked: any;
22
- extra: any;
23
- barColors: any;
24
- }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,121 @@
1
+ export declare const sampleData: {
2
+ chartData: {
3
+ MySql: {
4
+ x1: number;
5
+ };
6
+ PgSql: {
7
+ x1: number;
8
+ };
9
+ Oracle: {
10
+ x1: number;
11
+ };
12
+ Oradcdcle: {
13
+ x1: number;
14
+ };
15
+ Oracdcdcle: {
16
+ x1: number;
17
+ };
18
+ };
19
+ metaData: {
20
+ totalControls: {
21
+ x1: number;
22
+ };
23
+ };
24
+ };
25
+ export declare const sampleStackData: {
26
+ chartData: {
27
+ Authentication: {
28
+ MySql: {
29
+ x1: number;
30
+ x2: number;
31
+ x3: number;
32
+ };
33
+ PgSql: {
34
+ x1: number;
35
+ x2: number;
36
+ x3: number;
37
+ };
38
+ };
39
+ Setting: {
40
+ MySql: {
41
+ x1: number;
42
+ x2: number;
43
+ x3: number;
44
+ };
45
+ PgSql: {
46
+ x1: number;
47
+ x2: number;
48
+ x3: number;
49
+ };
50
+ };
51
+ 'High Availability': {
52
+ MySql: {
53
+ x1: number;
54
+ x2: number;
55
+ x3: number;
56
+ };
57
+ PgSql: {
58
+ x1: number;
59
+ x2: number;
60
+ x3: number;
61
+ };
62
+ };
63
+ Audit: {
64
+ MySql: {
65
+ x1: number;
66
+ x2: number;
67
+ x3: number;
68
+ };
69
+ PgSql: {
70
+ x1: number;
71
+ x2: number;
72
+ x3: number;
73
+ };
74
+ };
75
+ Authorization: {
76
+ MySql: {
77
+ x1: number;
78
+ x2: number;
79
+ x3: number;
80
+ };
81
+ PgSql: {
82
+ x1: number;
83
+ x2: number;
84
+ x3: number;
85
+ };
86
+ };
87
+ Patches: {
88
+ MySql: {
89
+ x1: number;
90
+ x2: number;
91
+ x3: number;
92
+ };
93
+ PgSql: {
94
+ x1: number;
95
+ x2: number;
96
+ x3: number;
97
+ };
98
+ };
99
+ };
100
+ metaData: {
101
+ controlsApplied: {
102
+ MySql: {
103
+ x1: number;
104
+ };
105
+ PgSql: {
106
+ x1: number;
107
+ };
108
+ Oracle: {
109
+ x1: number;
110
+ };
111
+ };
112
+ keyData: {
113
+ x1: string;
114
+ x2: string;
115
+ x3: string;
116
+ };
117
+ totalControls: {
118
+ x1: number;
119
+ };
120
+ };
121
+ };
@@ -1 +1 @@
1
- export { default as BaseBarChartV2 } from "./BaseVerticalBarChart";
1
+ export { default as BaseBarChartV2 } from './BaseVerticalBarChart';
@@ -0,0 +1,94 @@
1
+ import type { ChartDataset, ChartOptions, TooltipOptions } from 'chart.js';
2
+ import type { Context } from 'chartjs-plugin-datalabels';
3
+ import React from 'react';
4
+ export type ChartDataItem = Record<string, number | null>;
5
+ interface SeriesData {
6
+ chartData: Record<string, ChartDataItem>;
7
+ }
8
+ interface TitleConfig {
9
+ text?: string;
10
+ left?: number;
11
+ textStyle?: {
12
+ fontSize?: number;
13
+ };
14
+ }
15
+ interface GridOptions {
16
+ gridContainLabel?: boolean;
17
+ }
18
+ export type AxisOptions = Record<string, string | number | boolean | object | undefined>;
19
+ type BarChartType = 'bar';
20
+ interface CustomFontOptions {
21
+ size?: number;
22
+ weight?: 'normal' | 'bold' | 'lighter' | 'bolder' | number;
23
+ family?: string;
24
+ lineHeight?: number | string;
25
+ color?: string;
26
+ }
27
+ interface CustomTooltipOptions {
28
+ borderWidth?: number;
29
+ backgroundColor?: string;
30
+ bodySpacing?: number;
31
+ displayColors?: boolean;
32
+ colorBoxWidth?: number;
33
+ colorBoxHeight?: number;
34
+ usePointStyle?: boolean;
35
+ titleColor?: string;
36
+ bodyColor?: string;
37
+ bodyFont?: CustomFontOptions;
38
+ callbacks?: TooltipOptions<BarChartType>['callbacks'];
39
+ }
40
+ export interface ChartDataLabelsOptions {
41
+ anchor?: 'start' | 'center' | 'end';
42
+ align?: 'start' | 'center' | 'end' | 'left' | 'right' | 'top' | 'bottom';
43
+ backgroundColor?: string | CanvasGradient | CanvasPattern | ((context: Context) => string);
44
+ borderColor?: string;
45
+ borderRadius?: number;
46
+ borderWidth?: number;
47
+ clamp?: boolean;
48
+ clip?: boolean;
49
+ color?: string | ((context: Context) => string);
50
+ display?: boolean | ((context: Context) => boolean);
51
+ font?: Partial<CustomFontOptions>;
52
+ formatter?: (value: unknown, context: Context) => string | number;
53
+ offset?: number;
54
+ opacity?: number;
55
+ padding?: number | {
56
+ top?: number;
57
+ right?: number;
58
+ bottom?: number;
59
+ left?: number;
60
+ };
61
+ rotation?: number;
62
+ textAlign?: 'left' | 'right' | 'center' | 'start' | 'end';
63
+ textStrokeColor?: string;
64
+ textStrokeWidth?: number;
65
+ textShadowColor?: string;
66
+ textShadowBlur?: number;
67
+ }
68
+ export interface BaseBarChartProps {
69
+ loading?: boolean;
70
+ seriesData: SeriesData;
71
+ title?: TitleConfig;
72
+ gridOptions?: GridOptions;
73
+ width?: string | number;
74
+ height?: string | number;
75
+ barThickness?: number;
76
+ borderRadius?: number;
77
+ barColor1?: string;
78
+ barColor2?: string;
79
+ xAxisTitle?: string;
80
+ yAxisTitle?: string;
81
+ tooltip?: CustomTooltipOptions;
82
+ legends?: object;
83
+ chartOptions?: ChartOptions<'bar'>;
84
+ chartDatasets?: Partial<ChartDataset<'bar'>>;
85
+ xAxis?: AxisOptions;
86
+ yAxis?: AxisOptions;
87
+ styles?: React.CSSProperties;
88
+ vertical?: boolean;
89
+ stacked?: ChartDataset<'bar'>;
90
+ extra?: object;
91
+ dataLabelsOptions?: ChartDataLabelsOptions;
92
+ barColors?: Record<string, string>;
93
+ }
94
+ export {};
@@ -28,6 +28,12 @@ interface ChartProps {
28
28
  position?: 'top' | 'left' | 'bottom' | 'right';
29
29
  icon?: boolean;
30
30
  legendStyles?: React.CSSProperties;
31
+ circle?: boolean;
32
+ customLabels?: (args: {
33
+ label: string;
34
+ index: number;
35
+ color: string;
36
+ }) => React.ReactElement;
31
37
  };
32
38
  xAxisLabelShow?: boolean;
33
39
  yAxisLabelShow?: boolean;
@@ -1,2 +1,3 @@
1
+ import type { BasePieChartProps } from './types';
2
+ declare const BasePieChart: React.FC<BasePieChartProps>;
1
3
  export default BasePieChart;
2
- declare function BasePieChart(props: any): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,62 @@
1
+ export declare const sampleData: {
2
+ chartData: {
3
+ x1: number;
4
+ x2: number;
5
+ x3: number;
6
+ x4: number;
7
+ x5: number;
8
+ x6: number;
9
+ x7: number;
10
+ x8: number;
11
+ x9: number;
12
+ x10: number;
13
+ x11: number;
14
+ x12: number;
15
+ x13: number;
16
+ };
17
+ metaData: {
18
+ controlsApplied: {
19
+ x1: {
20
+ comp: number;
21
+ count: number;
22
+ };
23
+ x2: {
24
+ comp: number;
25
+ count: number;
26
+ };
27
+ x3: {
28
+ comp: number;
29
+ count: number;
30
+ };
31
+ };
32
+ keyData: {
33
+ x1: string;
34
+ x2: string;
35
+ x3: string;
36
+ x4: string;
37
+ x5: string;
38
+ x6: string;
39
+ x7: string;
40
+ x8: string;
41
+ x9: string;
42
+ x10: string;
43
+ x11: string;
44
+ x12: string;
45
+ x13: string;
46
+ };
47
+ totalControls: {
48
+ x1: number;
49
+ };
50
+ totalPercentage: {
51
+ x1: number;
52
+ };
53
+ };
54
+ };
55
+ export declare const iconData: {
56
+ chartData: {
57
+ x1: number;
58
+ x2: number;
59
+ };
60
+ };
61
+ export declare const iconColor: (data: number) => "green" | "red" | "yellow";
62
+ export declare const piechartRandomColors: string[];
@@ -1 +1 @@
1
- export { default as BasePieChartV2 } from "./BasePieChart";
1
+ export { default as BasePieChartV2 } from './BasePieChart';
@@ -0,0 +1,101 @@
1
+ import type { ChartDataset, ChartOptions, ChartType, TooltipCallbacks } from 'chart.js';
2
+ import React from 'react';
3
+ interface ChartSeriesOption {
4
+ itemStyle: {
5
+ color: string;
6
+ };
7
+ }
8
+ interface SeriesData {
9
+ chartData: Record<string, number>;
10
+ metaData?: {
11
+ keyData: Record<string, string>;
12
+ };
13
+ }
14
+ export interface TooltipCallbackContext {
15
+ label: string;
16
+ raw: number;
17
+ dataset: ChartDataset<'bar'>;
18
+ radius?: string;
19
+ }
20
+ export interface LegendItem {
21
+ index?: number;
22
+ }
23
+ interface CustomLabel {
24
+ id?: string;
25
+ title?: string;
26
+ value?: number;
27
+ margin?: number;
28
+ labelStyles?: {
29
+ fontStyle: string;
30
+ fontSize: string;
31
+ color: string;
32
+ position?: number;
33
+ };
34
+ valueStyles?: {
35
+ fontStyle: string;
36
+ fontSize: string;
37
+ color: string;
38
+ };
39
+ }
40
+ interface StripProps {
41
+ stripSize?: number;
42
+ stripWidth?: number;
43
+ circumference?: number;
44
+ startColor?: string;
45
+ endColor?: string;
46
+ }
47
+ interface TooltipFontOptions {
48
+ titleColor?: string;
49
+ color?: string;
50
+ size?: number;
51
+ family?: string;
52
+ }
53
+ export interface TooltipProps<TType extends ChartType = 'bar'> {
54
+ borderWidth?: number;
55
+ displayTitle?: boolean;
56
+ callbacks?: Partial<TooltipCallbacks<TType>>;
57
+ bodySpacing?: number;
58
+ displayColors?: boolean;
59
+ colorBoxWidth?: number;
60
+ colorBoxHeight?: number;
61
+ usePointStyle?: boolean;
62
+ bodyFont?: TooltipFontOptions;
63
+ extraOptions?: Record<string, unknown>;
64
+ }
65
+ interface LegendProps {
66
+ display?: boolean;
67
+ icon?: boolean;
68
+ legendStyles?: string;
69
+ circle?: boolean;
70
+ customLabels?: (args: {
71
+ label: string;
72
+ value: string;
73
+ index: number;
74
+ color: string;
75
+ }) => React.ReactNode;
76
+ }
77
+ export interface BasePieChartProps {
78
+ loading?: boolean;
79
+ fallback?: boolean;
80
+ title?: string;
81
+ tittleSize?: number;
82
+ seriesData: SeriesData;
83
+ cursor?: string;
84
+ legend?: LegendProps;
85
+ style?: React.CSSProperties;
86
+ className?: string;
87
+ theme?: string;
88
+ seriesOption?: ChartSeriesOption[];
89
+ options?: ChartOptions<'pie'>;
90
+ tooltip?: TooltipProps<'pie'>;
91
+ width?: string | number;
92
+ height?: string | number;
93
+ customLabel?: CustomLabel;
94
+ strip?: StripProps;
95
+ doughnut?: [string, string];
96
+ hoverBorderWidth?: number;
97
+ dataSetOptions?: Record<string, unknown>;
98
+ extra?: React.ReactNode;
99
+ radius?: string;
100
+ }
101
+ export {};
@@ -1 +1,2 @@
1
- export function getColorGradient(ctx: any, gradientString: any): any;
1
+ import type { ChartType, ScriptableContext } from 'chart.js';
2
+ export declare const getColorGradient: (ctx: ScriptableContext<ChartType>, gradientString: string) => CanvasGradient | string;
@@ -2,7 +2,6 @@ export * from './accordion';
2
2
  export * from './alert';
3
3
  export * from './alertV2';
4
4
  export * from './breadcrumbs';
5
- export * from './breadcrumbsv2';
6
5
  export * from './buttons';
7
6
  export * from './callout';
8
7
  export * from './cell';
@@ -17,14 +16,12 @@ export * from './input';
17
16
  export * from './link';
18
17
  export * from './modal';
19
18
  export * from './modal/dialogBox';
20
- export * from './pageHeader';
21
19
  export * from './paginationv2';
22
20
  export * from './popover';
23
21
  export * from './popper';
24
22
  export * from './sidePanel';
25
23
  export * from './skeleton';
26
24
  export * from './stepper';
27
- export * from './table';
28
25
  export * from './tableV2';
29
26
  export * from './tabs';
30
27
  export * from './text';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@banyan_cloud/roots",
3
- "version": "2.0.29",
3
+ "version": "2.0.30",
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",
@@ -1,8 +0,0 @@
1
- export default BreadCrumbs;
2
- declare function BreadCrumbs(props: any): import("react/jsx-runtime").JSX.Element | null;
3
- declare namespace BreadCrumbs {
4
- namespace propTypes {
5
- let crumbs: any;
6
- let className: any;
7
- }
8
- }
@@ -1 +0,0 @@
1
- export { default as BreadCrumbsv2 } from "./Breadcrumbs";
@@ -1,5 +0,0 @@
1
- export default ChartSkeleton;
2
- declare function ChartSkeleton({ theme, fallback }: {
3
- theme: any;
4
- fallback: any;
5
- }): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export { default as Skeleton } from "./BaseVerticalBarChart.skeleton";
@@ -1,5 +0,0 @@
1
- export default ChartSkeleton;
2
- declare function ChartSkeleton({ theme, fallback }: {
3
- theme: any;
4
- fallback: any;
5
- }): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export { default as Skeleton } from "./BasePieChart.skeleton";
@@ -1,23 +0,0 @@
1
- export default PageHeader;
2
- declare function PageHeader(props: any): import("react/jsx-runtime").JSX.Element;
3
- declare namespace PageHeader {
4
- namespace propTypes {
5
- let title: any;
6
- let theme: any;
7
- let crumbsProps: any;
8
- let rightAction: any;
9
- let className: any;
10
- }
11
- namespace defaultProps {
12
- let title_1: string;
13
- export { title_1 as title };
14
- let theme_1: string;
15
- export { theme_1 as theme };
16
- let crumbsProps_1: {};
17
- export { crumbsProps_1 as crumbsProps };
18
- let rightAction_1: null;
19
- export { rightAction_1 as rightAction };
20
- let className_1: string;
21
- export { className_1 as className };
22
- }
23
- }
@@ -1 +0,0 @@
1
- export { default as PageHeader } from "./PageHeader";