@vizzly/dashboard 0.14.4-dev-97acb8d43347ac757049612930b3f8e69e913e55 → 0.14.4-dev-3455fe16fbb312a7c23a46cc2f4bcf62b52bb944
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/AxisLeft.d.ts +2 -1
- package/dist/charts/src/v2/components/BarChart/BarChart.d.ts +18 -2
- package/dist/charts/src/v2/components/BarChart/useBarXScale.d.ts +2 -0
- package/dist/charts/src/v2/components/ComboChart/ComboChart.d.ts +22 -0
- package/dist/charts/src/v2/components/Legend/Legend.d.ts +7 -5
- package/dist/charts/src/v2/components/LineChart/LineChart.d.ts +16 -1
- package/dist/charts/src/v2/components/Tooltip/Tooltip.d.ts +6 -4
- package/dist/charts/src/v2/components/hooks/useFlattenedData.d.ts +3 -8
- package/dist/charts/src/v2/components/hooks/useYScale.d.ts +2 -0
- package/dist/charts/src/v2/constants/PADDING.d.ts +4 -0
- package/dist/charts/src/v2/{components/BarChart → utils}/getBarFill.d.ts +2 -2
- package/dist/dashboard.cjs.development.js +356 -309
- package/dist/dashboard.cjs.production.min.js +1 -1
- package/dist/dashboard.esm.js +361 -314
- package/dist/shared-logic/src/ChartsV2/types.d.ts +8 -7
- package/dist/shared-logic/src/ComboChartV2/types.d.ts +15 -0
- package/dist/shared-logic/src/FeatureToggle/types.d.ts +0 -3
- package/package.json +1 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { DataType } from '../Field/types';
|
|
2
|
+
export declare type Scale<SupportedVizzlyDataTypes> = {
|
|
3
|
+
dataType: DataType;
|
|
4
|
+
key: KeyId | null;
|
|
5
|
+
ordering: 'asc' | 'desc' | null;
|
|
6
|
+
min: SupportedVizzlyDataTypes | null;
|
|
7
|
+
max: SupportedVizzlyDataTypes | null;
|
|
8
|
+
};
|
|
2
9
|
export declare type Axis<SupportedVizzlyDataTypes, AxisKeys> = {
|
|
3
10
|
ticks: Tick<SupportedVizzlyDataTypes>[];
|
|
4
|
-
scale:
|
|
5
|
-
dataType: DataType;
|
|
6
|
-
key: KeyId | null;
|
|
7
|
-
ordering: 'asc' | 'desc' | null;
|
|
8
|
-
min: SupportedVizzlyDataTypes | null;
|
|
9
|
-
max: SupportedVizzlyDataTypes | null;
|
|
10
|
-
};
|
|
11
|
+
scale: Scale<SupportedVizzlyDataTypes>;
|
|
11
12
|
postfix: string;
|
|
12
13
|
prefix: string;
|
|
13
14
|
title: string | null;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BarStyles } from '../BarChartV2/types';
|
|
2
|
+
import { ShapeDefinition, ConditionalFormattingRule, GoalLine, BaseChartRepresentation, KeyId, Axis } from '../ChartsV2/types';
|
|
3
|
+
import { LineStyles } from '../LineChartV2/types';
|
|
4
|
+
export declare type ComboYAxis = Axis<number, {
|
|
5
|
+
lineKeys: KeyId[];
|
|
6
|
+
barKeys: KeyId[];
|
|
7
|
+
}>;
|
|
8
|
+
export interface ComboChartRepresentation extends Omit<BaseChartRepresentation, 'y'> {
|
|
9
|
+
barConditionalFormattingRules: ConditionalFormattingRule[];
|
|
10
|
+
lineConditionalFormattingRules: ConditionalFormattingRule[];
|
|
11
|
+
goalLines: GoalLine[];
|
|
12
|
+
bars: ShapeDefinition<BarStyles>[];
|
|
13
|
+
lines: ShapeDefinition<LineStyles>[];
|
|
14
|
+
y: ComboYAxis;
|
|
15
|
+
}
|
|
@@ -25,9 +25,6 @@ export declare type FeatureToggles = {
|
|
|
25
25
|
/** Show/Hide the Date and Time Filter
|
|
26
26
|
* @default false */
|
|
27
27
|
showDateAndTimeFilter: boolean;
|
|
28
|
-
/** Show/Hide the Simple Multi Select Filter
|
|
29
|
-
* @default false */
|
|
30
|
-
simpleMultiSelectFilter: boolean;
|
|
31
28
|
/** Show/Hide the Date Filter
|
|
32
29
|
* @default true */
|
|
33
30
|
showDateFilter: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizzly/dashboard",
|
|
3
3
|
"author": "james@vizzly.co",
|
|
4
|
-
"version": "0.14.4-dev-
|
|
4
|
+
"version": "0.14.4-dev-3455fe16fbb312a7c23a46cc2f4bcf62b52bb944",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./dist/dashboard/src/index.d.ts",
|
|
7
7
|
"module": "./dist/dashboard.esm.js",
|