@vizzly/dashboard 0.15.0-dev-ec22f31a049b4f844d3ea606a85bd487c4553b03 → 0.15.0-dev-eee3e3fd0a4936db9e65592ae2ac639fc993b559
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/charts/src/v2/components/Axis/AxisBottom.d.ts +1 -1
- package/dist/charts/src/v2/components/BarChart/BarChart.d.ts +2 -2
- package/dist/charts/src/v2/components/ChartWrapper/ChartWrapper.d.ts +4 -2
- package/dist/charts/src/v2/components/Tooltip/Tooltip.d.ts +2 -1
- package/dist/charts/src/v2/utils/components/BarGroup.d.ts +4 -4
- package/dist/charts/src/v2/utils/components/BarStacked.d.ts +4 -4
- package/dist/dashboard.cjs.development.js +388 -533
- package/dist/dashboard.cjs.production.min.js +1 -1
- package/dist/dashboard.esm.js +389 -534
- package/dist/shared-logic/src/BubbleChart/types.d.ts +7 -0
- package/dist/shared-logic/src/BubbleChartV2/buildBubbleChartRepresentation.d.ts +4 -7
- package/dist/shared-logic/src/BubbleChartV2/getScaleAndTicks.d.ts +4 -3
- package/dist/shared-logic/src/BubbleChartV2/types.d.ts +8 -0
- package/dist/shared-logic/src/PivotConfigForMetricAxis/index.d.ts +3 -0
- package/dist/shared-logic/src/Result/formattedResultToSeriesForMetricAxis.d.ts +25 -0
- package/dist/shared-ui/src/components/BarChartV2/BarChartV2View.d.ts +3 -3
- package/package.json +1 -1
|
@@ -15,4 +15,4 @@ export declare type AxisBottomProps = {
|
|
|
15
15
|
xScale: ScaleBand<string> | ScaleBand<Date> | ScaleBand<number> | ScaleLinear<number, number, never> | ScalePoint<string> | ScaleTime<number, number, never> | null;
|
|
16
16
|
height: number;
|
|
17
17
|
};
|
|
18
|
-
export declare function AxisBottom({ x, margin, themeCSS, show, removeStroke, xScaleDataType, xScale, height, baselineShift }: AxisBottomProps): JSX.Element | null;
|
|
18
|
+
export declare function AxisBottom({ x, margin, themeCSS, show, removeStroke, xScaleDataType, xScale, height, baselineShift, }: AxisBottomProps): JSX.Element | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BarChartRepresentation } from '../../../../../shared-logic/src/BarChartV2/types';
|
|
3
|
-
import { ChartTheme } from '../../../types';
|
|
4
3
|
import { ChartOnViewClick } from '../../../../../shared-logic/src/ChartsV2/types';
|
|
4
|
+
import { ChartTheme } from '../../../types';
|
|
5
5
|
export declare type BarChartProps = {
|
|
6
6
|
width: number;
|
|
7
7
|
height: number;
|
|
@@ -21,4 +21,4 @@ export declare type BarChartProps = {
|
|
|
21
21
|
enableHover?: boolean;
|
|
22
22
|
numberOfDimensions: number;
|
|
23
23
|
};
|
|
24
|
-
export declare const BarChart: ({ chart, width, height, options, theme, onClick, enableHover, numberOfDimensions }: BarChartProps) => JSX.Element;
|
|
24
|
+
export declare const BarChart: ({ chart, width, height, options, theme, onClick, enableHover, numberOfDimensions, }: BarChartProps) => JSX.Element;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
2
|
+
declare type ChartWrapperProps = {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
width: number;
|
|
5
5
|
height: number;
|
|
6
6
|
showLegend: boolean;
|
|
7
7
|
onMouseMove?: React.MouseEventHandler<SVGSVGElement>;
|
|
8
8
|
onMouseLeave?: React.MouseEventHandler<SVGSVGElement>;
|
|
9
|
-
}
|
|
9
|
+
} & React.SVGProps<SVGSVGElement>;
|
|
10
|
+
export declare const ChartWrapper: ({ children, width, height, showLegend, onMouseMove, onMouseLeave, ...svgProps }: ChartWrapperProps) => JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -22,6 +22,7 @@ interface TooltipProps<T> {
|
|
|
22
22
|
visibleYKeys: string[];
|
|
23
23
|
}[];
|
|
24
24
|
theme: CSSProperties;
|
|
25
|
+
shouldShowColorLegend?: boolean;
|
|
25
26
|
}
|
|
26
|
-
export declare const Tooltip: ({ keys, showRoundedTotal, tooltipData, tooltipLeft, tooltipTop, xKey, yKeys, theme, items, }: TooltipProps<LineStyles | BarStyles | AreaStyles | BubbleStyles>) => React.ReactPortal;
|
|
27
|
+
export declare const Tooltip: ({ keys, showRoundedTotal, tooltipData, tooltipLeft, tooltipTop, xKey, yKeys, theme, items, shouldShowColorLegend, }: TooltipProps<LineStyles | BarStyles | AreaStyles | BubbleStyles>) => React.ReactPortal;
|
|
27
28
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import { BarStyles } from
|
|
4
|
-
import {
|
|
5
|
-
import { DataType } from
|
|
2
|
+
import { ScaleBand, ScaleLinear } from '@visx/vendor/d3-scale';
|
|
3
|
+
import { BarStyles } from '../../../../../shared-logic/src/BarChartV2/types';
|
|
4
|
+
import { ChartDataDefinition, ConditionalFormattingRule, ShapeDefinition } from '../../../../../shared-logic/src/ChartsV2/types';
|
|
5
|
+
import { DataType } from '../../../../../shared-logic/src/Field/types';
|
|
6
6
|
export declare type BarGroupProps = {
|
|
7
7
|
data: ChartDataDefinition[];
|
|
8
8
|
keys: string[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BarStyles } from "../../../../../shared-logic/src/BarChartV2/types";
|
|
3
|
-
import { ConditionalFormattingRule, ShapeDefinition } from "../../../../../shared-logic/src/ChartsV2/types";
|
|
4
|
-
import { ScaleLinear } from '@visx/vendor/d3-scale';
|
|
5
2
|
import { DatumObject } from '@visx/shape/lib/types';
|
|
3
|
+
import { ScaleLinear } from '@visx/vendor/d3-scale';
|
|
4
|
+
import { BarStyles } from '../../../../../shared-logic/src/BarChartV2/types';
|
|
5
|
+
import { ConditionalFormattingRule, ShapeDefinition } from '../../../../../shared-logic/src/ChartsV2/types';
|
|
6
6
|
export declare type BarStackedProps = {
|
|
7
7
|
conditionalFormattingRules: ConditionalFormattingRule[];
|
|
8
8
|
bars: ShapeDefinition<BarStyles>[];
|
|
@@ -15,4 +15,4 @@ export declare type BarStackedProps = {
|
|
|
15
15
|
height: number;
|
|
16
16
|
width: number;
|
|
17
17
|
};
|
|
18
|
-
export declare const BarStacked: ({ xScaleDataType, data, xScaleKey, yScale, keys, bars, conditionalFormattingRules, xScale, height, width }: BarStackedProps) => JSX.Element;
|
|
18
|
+
export declare const BarStacked: ({ xScaleDataType, data, xScaleKey, yScale, keys, bars, conditionalFormattingRules, xScale, height, width, }: BarStackedProps) => JSX.Element;
|