@vizzly/dashboard 0.15.0-dev-65c3e5d7491389a56cc8409b046f92683dd4725f → 0.15.0
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/useXAxisLabelCount.d.ts +1 -1
- 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 +2 -4
- package/dist/charts/src/v2/components/Tooltip/Tooltip.d.ts +1 -2
- package/dist/charts/src/v2/components/WaterfallChart/Tooltip.d.ts +2 -2
- 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 +1604 -1124
- package/dist/dashboard.cjs.production.min.js +1 -1
- package/dist/dashboard.esm.js +1605 -1125
- package/dist/results-driver/src/driver/VizzlyQuery/AreaChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/AreaChartV2/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BarChartV2/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/BasicTable/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/FunnelChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/HorizontalBarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/LineChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/LineChartV2/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/PieChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/PivotTable/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/RadarChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/RichText/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/SunburstChart/toQueries.d.ts +1 -1
- package/dist/results-driver/src/driver/VizzlyQuery/WaterfallChart/toQueries.d.ts +1 -1
- package/dist/shared-logic/src/AdditionalFilter/types.d.ts +1 -4
- package/dist/shared-logic/src/BubbleChart/types.d.ts +0 -7
- package/dist/shared-logic/src/BubbleChartV2/buildBubbleChartRepresentation.d.ts +7 -4
- package/dist/shared-logic/src/BubbleChartV2/getScaleAndTicks.d.ts +3 -4
- package/dist/shared-logic/src/BubbleChartV2/types.d.ts +0 -8
- package/dist/shared-logic/src/ChartsV2/adjustTicks.d.ts +3 -3
- package/dist/shared-logic/src/Component/types.d.ts +1 -0
- package/dist/shared-logic/src/CustomField/SimpleMath/index.d.ts +1 -1
- package/dist/shared-logic/src/Filter/Filter.d.ts +1 -1
- package/dist/shared-logic/src/Filter/Where.d.ts +6 -0
- package/dist/shared-logic/src/Filter/types.d.ts +4 -2
- package/dist/shared-logic/src/JSQueryEngine/types.d.ts +8 -2
- package/dist/shared-logic/src/Query/Query.d.ts +3 -9
- package/dist/shared-logic/src/Query/buildFromQueryAttributes.d.ts +1 -1
- package/dist/shared-logic/src/Query/types.d.ts +109 -6
- package/dist/shared-logic/src/TimeDimension/TimeDimension.d.ts +1 -3
- package/dist/shared-logic/src/api/queryEngine/getRunQueriesCallback.d.ts +1 -1
- package/dist/shared-ui/src/api/useQueryEffect.d.ts +1 -2
- package/dist/shared-ui/src/base/Panel/Panel.d.ts +1 -1
- package/dist/shared-ui/src/components/BarChartV2/BarChartV2View.d.ts +3 -3
- package/dist/shared-ui/src/components/Component/types.d.ts +2 -0
- package/dist/shared-ui/src/components/Component.d.ts +2 -0
- package/dist/shared-ui/src/components/Studio/StudioApp/Cell.d.ts +2 -0
- package/dist/shared-ui/src/components/WaterfallChart/WaterfallChartView.d.ts +3 -3
- package/dist/shared-ui/src/components/useComponentEffect.d.ts +2 -2
- package/dist/shared-ui/src/contexts/DashboardContext/types.d.ts +17 -1
- package/dist/shared-ui/src/library/Editor/useEditor.d.ts +2 -0
- package/dist/shared-ui/src/library/Library/ComponentInLibrary.d.ts +1 -0
- package/dist/shared-ui/src/library/Library/Library.d.ts +4 -0
- package/dist/shared-ui/src/library/Library/types.d.ts +2 -0
- package/package.json +3 -3
- package/dist/shared-logic/src/PivotConfigForMetricAxis/index.d.ts +0 -3
- package/dist/shared-logic/src/Result/formattedResultToSeriesForMetricAxis.d.ts +0 -25
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Ref } from 'react';
|
|
2
2
|
import { ApproxAxisLabelCount } from './XYChart/types';
|
|
3
|
-
export declare const useXAxisLabelCount: (override: ApproxAxisLabelCount, forceXAxisAsTime?: boolean | undefined
|
|
3
|
+
export declare const useXAxisLabelCount: (override: ApproxAxisLabelCount, forceXAxisAsTime?: boolean | undefined) => [Ref<HTMLHeadingElement>, number];
|
|
@@ -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
|
|
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 { ChartOnViewClick } from '../../../../../shared-logic/src/ChartsV2/types';
|
|
4
3
|
import { ChartTheme } from '../../../types';
|
|
4
|
+
import { ChartOnViewClick } from '../../../../../shared-logic/src/ChartsV2/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
|
|
24
|
+
export declare const BarChart: ({ chart, width, height, options, theme, onClick, enableHover, numberOfDimensions }: BarChartProps) => JSX.Element;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare
|
|
2
|
+
export declare const ChartWrapper: (props: {
|
|
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
|
-
}
|
|
10
|
-
export declare const ChartWrapper: ({ children, width, height, showLegend, onMouseMove, onMouseLeave, ...svgProps }: ChartWrapperProps) => JSX.Element;
|
|
11
|
-
export {};
|
|
9
|
+
}) => JSX.Element;
|
|
@@ -22,7 +22,6 @@ interface TooltipProps<T> {
|
|
|
22
22
|
visibleYKeys: string[];
|
|
23
23
|
}[];
|
|
24
24
|
theme: CSSProperties;
|
|
25
|
-
shouldShowColorLegend?: boolean;
|
|
26
25
|
}
|
|
27
|
-
export declare const Tooltip: ({ keys, showRoundedTotal, tooltipData, tooltipLeft, tooltipTop, xKey, yKeys, theme, items,
|
|
26
|
+
export declare const Tooltip: ({ keys, showRoundedTotal, tooltipData, tooltipLeft, tooltipTop, xKey, yKeys, theme, items, }: TooltipProps<LineStyles | BarStyles | AreaStyles | BubbleStyles>) => React.ReactPortal;
|
|
28
27
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
2
|
import { DataItem } from '../../../../../shared-logic/src/WaterfallChart/types';
|
|
3
3
|
export declare type TooltipProps = {
|
|
4
4
|
showTooltip: boolean;
|
|
@@ -11,4 +11,4 @@ export declare type TooltipProps = {
|
|
|
11
11
|
yKey: string;
|
|
12
12
|
theme: CSSProperties;
|
|
13
13
|
};
|
|
14
|
-
export declare const Tooltip: ({ showTooltip, tooltipData, tooltipLeft, tooltipTop, xKey, yKey, theme }: TooltipProps) =>
|
|
14
|
+
export declare const Tooltip: ({ showTooltip, tooltipData, tooltipLeft, tooltipTop, xKey, yKey, theme, }: TooltipProps) => JSX.Element | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import { BarStyles } from
|
|
4
|
-
import {
|
|
5
|
-
import { DataType } from
|
|
2
|
+
import { ChartDataDefinition, ConditionalFormattingRule, ShapeDefinition } from "../../../../../shared-logic/src/ChartsV2/types";
|
|
3
|
+
import { BarStyles } from "../../../../../shared-logic/src/BarChartV2/types";
|
|
4
|
+
import { ScaleLinear, ScaleBand } from '@visx/vendor/d3-scale';
|
|
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 {
|
|
2
|
+
import { BarStyles } from "../../../../../shared-logic/src/BarChartV2/types";
|
|
3
|
+
import { ConditionalFormattingRule, ShapeDefinition } from "../../../../../shared-logic/src/ChartsV2/types";
|
|
3
4
|
import { ScaleLinear } from '@visx/vendor/d3-scale';
|
|
4
|
-
import {
|
|
5
|
-
import { ConditionalFormattingRule, ShapeDefinition } from '../../../../../shared-logic/src/ChartsV2/types';
|
|
5
|
+
import { DatumObject } from '@visx/shape/lib/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
|
|
18
|
+
export declare const BarStacked: ({ xScaleDataType, data, xScaleKey, yScale, keys, bars, conditionalFormattingRules, xScale, height, width }: BarStackedProps) => JSX.Element;
|