@vizzly/dashboard 0.14.4-dev-0abc1d1609628ad0eebc796ece9793889262bc2f → 0.14.4-dev-28ace990f8935dcd353f0b09527a2a1b32940e13
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 +16 -0
- package/dist/charts/src/v2/components/Axis/AxisLeft.d.ts +14 -0
- package/dist/charts/src/v2/components/Axis/shared.d.ts +2 -0
- package/dist/charts/src/v2/components/ChartWrapper/ChartWrapper.d.ts +9 -0
- package/dist/charts/src/v2/components/GoalLine/GoalLines.d.ts +11 -0
- package/dist/charts/src/v2/components/GridRows/GridRows.d.ts +10 -0
- package/dist/charts/src/v2/utils/buildMargin.d.ts +2 -1
- package/dist/dashboard.cjs.development.js +310 -322
- package/dist/dashboard.cjs.production.min.js +1 -1
- package/dist/dashboard.esm.js +311 -320
- package/dist/shared-logic/src/BarChartV2/types.d.ts +3 -15
- package/dist/shared-logic/src/ChartsV2/types.d.ts +16 -0
- package/dist/shared-logic/src/LineChartV2/types.d.ts +3 -15
- package/package.json +1 -1
|
@@ -1,21 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
3
|
-
keys: {
|
|
4
|
-
[key: KeyId]: Key;
|
|
5
|
-
};
|
|
6
|
-
x: Axis<Date | string | number, {
|
|
7
|
-
key: KeyId;
|
|
8
|
-
}>;
|
|
9
|
-
y: Axis<number, {
|
|
10
|
-
keys: KeyId[];
|
|
11
|
-
}>;
|
|
1
|
+
import { ShapeDefinition, ConditionalFormattingRule, GoalLine, BaseChartRepresentation } from '../ChartsV2/types';
|
|
2
|
+
export interface BarChartRepresentation extends BaseChartRepresentation {
|
|
12
3
|
conditionalFormattingRules: ConditionalFormattingRule[];
|
|
13
4
|
goalLines: GoalLine[];
|
|
14
|
-
data: {
|
|
15
|
-
[keyId: string]: DataItem;
|
|
16
|
-
}[];
|
|
17
5
|
bars: ShapeDefinition<BarStyles>[];
|
|
18
|
-
}
|
|
6
|
+
}
|
|
19
7
|
export declare type BarStyles = {
|
|
20
8
|
type: 'bar';
|
|
21
9
|
};
|
|
@@ -72,3 +72,19 @@ export declare type ShapeDefinition<T> = {
|
|
|
72
72
|
color: string;
|
|
73
73
|
style: T;
|
|
74
74
|
};
|
|
75
|
+
export declare type BaseXAxis = Axis<Date | string | number, {
|
|
76
|
+
key: KeyId;
|
|
77
|
+
}>;
|
|
78
|
+
export declare type BaseYAxis = Axis<number, {
|
|
79
|
+
keys: KeyId[];
|
|
80
|
+
}>;
|
|
81
|
+
export declare type BaseChartRepresentation = {
|
|
82
|
+
keys: {
|
|
83
|
+
[key: KeyId]: Key;
|
|
84
|
+
};
|
|
85
|
+
x: BaseXAxis;
|
|
86
|
+
y: BaseYAxis;
|
|
87
|
+
data: {
|
|
88
|
+
[keyId: string]: DataItem;
|
|
89
|
+
}[];
|
|
90
|
+
};
|
|
@@ -1,21 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export
|
|
3
|
-
keys: {
|
|
4
|
-
[key: KeyId]: Key;
|
|
5
|
-
};
|
|
6
|
-
x: Axis<Date | string | number, {
|
|
7
|
-
key: KeyId;
|
|
8
|
-
}>;
|
|
9
|
-
y: Axis<number, {
|
|
10
|
-
keys: KeyId[];
|
|
11
|
-
}>;
|
|
1
|
+
import { ShapeDefinition, ConditionalFormattingRule, GoalLine, BaseChartRepresentation } from '../ChartsV2/types';
|
|
2
|
+
export interface LineChartRepresentation extends BaseChartRepresentation {
|
|
12
3
|
conditionalFormattingRules: ConditionalFormattingRule[];
|
|
13
4
|
goalLines: GoalLine[];
|
|
14
|
-
data: {
|
|
15
|
-
[keyId: string]: DataItem;
|
|
16
|
-
}[];
|
|
17
5
|
lines: ShapeDefinition<LineStyles>[];
|
|
18
|
-
}
|
|
6
|
+
}
|
|
19
7
|
export declare type LineStyles = {
|
|
20
8
|
type: 'line';
|
|
21
9
|
strokeDasharray: string | number | null;
|
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-28ace990f8935dcd353f0b09527a2a1b32940e13",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./dist/dashboard/src/index.d.ts",
|
|
7
7
|
"module": "./dist/dashboard.esm.js",
|