@carbon/charts 1.7.0 → 1.7.1
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/CHANGELOG.md +11 -0
- package/build/src/components/diagrams/buildPaths.d.ts +27 -3
- package/build/src/components/graphs/bubble.d.ts +1 -1
- package/build/src/components/graphs/wordcloud.d.ts +1 -1
- package/build/src/services/scales-cartesian.d.ts +1 -1
- package/bundle.js +3 -1
- package/components/essentials/threshold.js +2 -0
- package/components/essentials/threshold.js.map +1 -1
- package/components/essentials/tooltip.js +2 -0
- package/components/essentials/tooltip.js.map +1 -1
- package/components/graphs/bubble.d.ts +1 -1
- package/components/graphs/wordcloud.d.ts +1 -1
- package/demo/data/bundle.js +1 -1
- package/demo/styles.css +5813 -3083
- package/demo/styles.css.map +1 -1
- package/demo/styles.min.css +1 -1
- package/demo/styles.min.css.map +1 -1
- package/demo/tsconfig.tsbuildinfo +757 -1537
- package/package.json +15 -14
- package/services/essentials/dom-utils.js +1 -1
- package/services/essentials/dom-utils.js.map +1 -1
- package/styles.css +89 -37
- package/styles.css.map +1 -1
- package/styles.min.css +1 -1
- package/styles.min.css.map +1 -1
- package/tsconfig.tsbuildinfo +826 -2096
- package/services/essentials/dom-to-image.d.ts +0 -120
- package/services/essentials/dom-to-image.js +0 -720
- package/services/essentials/dom-to-image.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.7.1](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.0...v1.7.1) (2023-04-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **1522:** externalize dom-to-image-more ([#1540](https://github.com/carbon-design-system/carbon-charts/issues/1540)) ([98f1bfc](https://github.com/carbon-design-system/carbon-charts/commit/98f1bfc40aaf0f6cb0e7139ff8cfc3337474aa33))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [1.7.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.6.14...v1.7.0) (2023-04-19)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -8,7 +8,15 @@
|
|
|
8
8
|
* @param {Number} target.y - The target's y coordinate
|
|
9
9
|
* @return {String} The path string
|
|
10
10
|
*/
|
|
11
|
-
declare const buildStraightPathString:
|
|
11
|
+
declare const buildStraightPathString: {
|
|
12
|
+
(source: any, target: any): string;
|
|
13
|
+
displayName: string;
|
|
14
|
+
__docgenInfo: {
|
|
15
|
+
"description": string;
|
|
16
|
+
"displayName": string;
|
|
17
|
+
"props": {};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
12
20
|
/**
|
|
13
21
|
* Returns a path string for an elbow path with a bend point
|
|
14
22
|
* @param {Object} source - The source coordinates
|
|
@@ -20,7 +28,15 @@ declare const buildStraightPathString: (source: any, target: any) => string;
|
|
|
20
28
|
* @param {Number} percent - Where the bend point should appear between the source and target
|
|
21
29
|
* @return {String} The path string
|
|
22
30
|
*/
|
|
23
|
-
declare const buildElbowPathString:
|
|
31
|
+
declare const buildElbowPathString: {
|
|
32
|
+
(source: any, target: any, percent?: number): string;
|
|
33
|
+
displayName: string;
|
|
34
|
+
__docgenInfo: {
|
|
35
|
+
"description": string;
|
|
36
|
+
"displayName": string;
|
|
37
|
+
"props": {};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
24
40
|
/**
|
|
25
41
|
* Returns a path string for an path with a custom bezier curve
|
|
26
42
|
* @param {Object} source - The source coordinates
|
|
@@ -35,5 +51,13 @@ declare const buildElbowPathString: (source: any, target: any, percent?: number)
|
|
|
35
51
|
* @param {Number} cpy1 - Y coordinate for the second control point
|
|
36
52
|
* @return {String} The path string
|
|
37
53
|
*/
|
|
38
|
-
declare const buildBezierPathString:
|
|
54
|
+
declare const buildBezierPathString: {
|
|
55
|
+
(source: any, target: any, cpx1: any, cpy1: any, cpx2: any, cpy2: any): string;
|
|
56
|
+
displayName: string;
|
|
57
|
+
__docgenInfo: {
|
|
58
|
+
"description": string;
|
|
59
|
+
"displayName": string;
|
|
60
|
+
"props": {};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
39
63
|
export { buildStraightPathString, buildElbowPathString, buildBezierPathString };
|
|
@@ -4,7 +4,7 @@ import { Selection } from 'd3-selection';
|
|
|
4
4
|
export declare class Bubble extends Scatter {
|
|
5
5
|
type: string;
|
|
6
6
|
renderType: RenderTypes;
|
|
7
|
-
getRadiusScale(selection: Selection<any, any, any, any>): import("d3-scale").ScaleLinear<number, number>;
|
|
7
|
+
getRadiusScale(selection: Selection<any, any, any, any>): import("d3-scale").ScaleLinear<number, number, never>;
|
|
8
8
|
styleCircles(selection: Selection<any, any, any, any>, animate: boolean): void;
|
|
9
9
|
getTooltipAdditionalItems(datum: any): {
|
|
10
10
|
label: any;
|
|
@@ -5,7 +5,7 @@ export declare class WordCloud extends Component {
|
|
|
5
5
|
renderType: RenderTypes;
|
|
6
6
|
init(): void;
|
|
7
7
|
render(animate?: boolean): void;
|
|
8
|
-
getFontSizeScale(data: any): import("d3-scale").ScaleLinear<number, number>;
|
|
8
|
+
getFontSizeScale(data: any): import("d3-scale").ScaleLinear<number, number, never>;
|
|
9
9
|
handleLegendOnHover: (event: CustomEvent<any>) => void;
|
|
10
10
|
handleLegendMouseOut: (event: CustomEvent<any>) => void;
|
|
11
11
|
addEventListeners(): void;
|
|
@@ -58,7 +58,7 @@ export declare class CartesianScales extends Service {
|
|
|
58
58
|
getMainYScaleType(): any;
|
|
59
59
|
getDomainIdentifier(datum?: any): any;
|
|
60
60
|
getRangeIdentifier(datum?: any): any;
|
|
61
|
-
extendsDomain(axisPosition: AxisPositions, domain: any):
|
|
61
|
+
extendsDomain(axisPosition: AxisPositions, domain: any): Date[] | number[];
|
|
62
62
|
protected findVerticalAxesPositions(): {
|
|
63
63
|
primary: AxisPositions;
|
|
64
64
|
secondary: AxisPositions;
|