@carbon/charts 0.41.67 → 0.41.71
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 +35 -7
- package/build/src/components/diagrams/buildPaths.d.ts +39 -0
- package/build/src/components/diagrams/markerDefinitions.d.ts +37 -0
- package/build/src/components/graphs/radar.d.ts +1 -1
- package/build/src/components/index.d.ts +2 -0
- package/bundle.js +1 -1
- package/components/diagrams/buildPaths.d.ts +39 -0
- package/components/diagrams/buildPaths.js +71 -0
- package/components/diagrams/buildPaths.js.map +1 -0
- package/components/diagrams/markerDefinitions.d.ts +37 -0
- package/components/diagrams/markerDefinitions.js +38 -0
- package/components/diagrams/markerDefinitions.js.map +1 -0
- package/components/graphs/radar.d.ts +1 -1
- package/components/graphs/radar.js +26 -27
- package/components/graphs/radar.js.map +1 -1
- package/components/index.d.ts +2 -0
- package/components/index.js +3 -0
- package/components/index.js.map +1 -1
- package/demo/styles.css +1024 -172
- package/demo/styles.css.map +1 -1
- package/demo/styles.min.css +1 -1
- package/demo/styles.min.css.map +1 -1
- package/model-circle-pack.js +2 -1
- package/model-circle-pack.js.map +1 -1
- package/package.json +2 -2
- package/services/scales-cartesian.js.map +1 -1
- package/styles/components/_card.scss +98 -0
- package/styles/components/_circle.scss +48 -0
- package/styles/components/_edge.scss +68 -0
- package/styles/components/_marker.scss +8 -0
- package/styles/components/diagrams/_card-node.scss +99 -0
- package/styles/components/diagrams/_edge.scss +67 -0
- package/styles/components/diagrams/_marker.scss +8 -0
- package/styles/components/diagrams/_shape-node.scss +89 -0
- package/styles/components/diagrams/index.scss +4 -0
- package/styles/components/index.scss +1 -0
- package/styles-g10.css +398 -0
- package/styles-g10.css.map +1 -1
- package/styles-g10.min.css +1 -1
- package/styles-g10.min.css.map +1 -1
- package/styles-g100.css +398 -0
- package/styles-g100.css.map +1 -1
- package/styles-g100.min.css +1 -1
- package/styles-g100.min.css.map +1 -1
- package/styles-g90.css +398 -0
- package/styles-g90.css.map +1 -1
- package/styles-g90.min.css +1 -1
- package/styles-g90.min.css.map +1 -1
- package/styles.css +398 -0
- package/styles.css.map +1 -1
- package/styles.min.css +1 -1
- package/styles.min.css.map +1 -1
- package/tsconfig.tsbuildinfo +36 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,33 +3,61 @@
|
|
|
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
|
-
## [0.41.
|
|
6
|
+
## [0.41.71](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.70...v0.41.71) (2021-06-21)
|
|
7
7
|
|
|
8
|
+
**Note:** Version bump only for package @carbon/charts
|
|
8
9
|
|
|
9
|
-
### Bug Fixes
|
|
10
10
|
|
|
11
|
-
* **core:** fix circlepacks with one dataset ([#1035](https://github.com/carbon-design-system/carbon-charts/issues/1035)) ([2f0b183](https://github.com/carbon-design-system/carbon-charts/commit/2f0b183878b650c76b05ca6d5fb1e8f6a17c0266)), closes [#1031](https://github.com/carbon-design-system/carbon-charts/issues/1031)
|
|
12
|
-
* **core:** make sure tooltips are properly positioned when closer to the edges ([#1037](https://github.com/carbon-design-system/carbon-charts/issues/1037)) ([a8d13cd](https://github.com/carbon-design-system/carbon-charts/commit/a8d13cd6d90813161582a00afa5166ca87702f38))
|
|
13
11
|
|
|
14
12
|
|
|
15
13
|
|
|
14
|
+
## [0.41.70](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.69...v0.41.70) (2021-06-21)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @carbon/charts
|
|
16
17
|
|
|
17
18
|
|
|
18
|
-
## [0.41.66](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.65...v0.41.66) (2021-05-25)
|
|
19
19
|
|
|
20
|
-
**Note:** Version bump only for package @carbon/charts
|
|
21
20
|
|
|
22
21
|
|
|
22
|
+
# Change Log
|
|
23
23
|
|
|
24
|
+
All notable changes to this project will be documented in this file. See
|
|
25
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
24
26
|
|
|
27
|
+
## [0.41.69](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.68...v0.41.69) (2021-06-21)
|
|
25
28
|
|
|
26
|
-
|
|
29
|
+
**Note:** Version bump only for package @carbon/charts
|
|
30
|
+
|
|
31
|
+
# Change Log
|
|
32
|
+
|
|
33
|
+
All notable changes to this project will be documented in this file. See
|
|
34
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
35
|
+
|
|
36
|
+
## [0.41.68](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.67...v0.41.68) (2021-06-08)
|
|
27
37
|
|
|
28
38
|
**Note:** Version bump only for package @carbon/charts
|
|
29
39
|
|
|
40
|
+
## [0.41.67](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.66...v0.41.67) (2021-05-31)
|
|
41
|
+
|
|
42
|
+
### Bug Fixes
|
|
43
|
+
|
|
44
|
+
- **core:** fix circlepacks with one dataset
|
|
45
|
+
([#1035](https://github.com/carbon-design-system/carbon-charts/issues/1035))
|
|
46
|
+
([2f0b183](https://github.com/carbon-design-system/carbon-charts/commit/2f0b183878b650c76b05ca6d5fb1e8f6a17c0266)),
|
|
47
|
+
closes
|
|
48
|
+
[#1031](https://github.com/carbon-design-system/carbon-charts/issues/1031)
|
|
49
|
+
- **core:** make sure tooltips are properly positioned when closer to the
|
|
50
|
+
edges
|
|
51
|
+
([#1037](https://github.com/carbon-design-system/carbon-charts/issues/1037))
|
|
52
|
+
([a8d13cd](https://github.com/carbon-design-system/carbon-charts/commit/a8d13cd6d90813161582a00afa5166ca87702f38))
|
|
30
53
|
|
|
54
|
+
## [0.41.66](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.65...v0.41.66) (2021-05-25)
|
|
31
55
|
|
|
56
|
+
**Note:** Version bump only for package @carbon/charts
|
|
32
57
|
|
|
58
|
+
## [0.41.65](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.64...v0.41.65) (2021-05-19)
|
|
59
|
+
|
|
60
|
+
**Note:** Version bump only for package @carbon/charts
|
|
33
61
|
|
|
34
62
|
# Change Log
|
|
35
63
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a path string for a straight path
|
|
3
|
+
* @param {Object} source - The source coordinates
|
|
4
|
+
* @param {Number} source.x - The source's x coordinate
|
|
5
|
+
* @param {Number} source.y - The source's y coordinate
|
|
6
|
+
* @param {Object} target - The target coordinates
|
|
7
|
+
* @param {Number} target.x - The target's x coordinate
|
|
8
|
+
* @param {Number} target.y - The target's y coordinate
|
|
9
|
+
* @return {String} The path string
|
|
10
|
+
*/
|
|
11
|
+
declare const buildStraightPathString: (source: any, target: any) => string;
|
|
12
|
+
/**
|
|
13
|
+
* Returns a path string for an elbow path with a bend point
|
|
14
|
+
* @param {Object} source - The source coordinates
|
|
15
|
+
* @param {Number} source.x - The source's x coordinate
|
|
16
|
+
* @param {Number} source.y - The source's y coordinate
|
|
17
|
+
* @param {Object} target - The target coordinates
|
|
18
|
+
* @param {Number} target.x - The target's x coordinate
|
|
19
|
+
* @param {Number} target.y - The target's y coordinate
|
|
20
|
+
* @param {Number} percent - Where the bend point should appear between the source and target
|
|
21
|
+
* @return {String} The path string
|
|
22
|
+
*/
|
|
23
|
+
declare const buildElbowPathString: (source: any, target: any, percent?: number) => string;
|
|
24
|
+
/**
|
|
25
|
+
* Returns a path string for an path with a custom bezier curve
|
|
26
|
+
* @param {Object} source - The source coordinates
|
|
27
|
+
* @param {Number} source.x - The source's x coordinate
|
|
28
|
+
* @param {Number} source.y - The source's y coordinate
|
|
29
|
+
* @param {Object} target - The target coordinates
|
|
30
|
+
* @param {Number} target.x - The target's x coordinate
|
|
31
|
+
* @param {Number} target.y - The target's y coordinate
|
|
32
|
+
* @param {Number} cpx1 - X coordinate for the first control point
|
|
33
|
+
* @param {Number} cpy1 - Y coordinate for the first control point
|
|
34
|
+
* @param {Number} cpx2 - X coordinate for the second control point
|
|
35
|
+
* @param {Number} cpy1 - Y coordinate for the second control point
|
|
36
|
+
* @return {String} The path string
|
|
37
|
+
*/
|
|
38
|
+
declare const buildBezierPathString: (source: any, target: any, cpx1: any, cpy1: any, cpx2: any, cpy2: any) => string;
|
|
39
|
+
export { buildStraightPathString, buildElbowPathString, buildBezierPathString };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const arrowLeft: {
|
|
2
|
+
d: string;
|
|
3
|
+
height: number;
|
|
4
|
+
width: number;
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
declare const arrowRight: {
|
|
8
|
+
d: string;
|
|
9
|
+
height: number;
|
|
10
|
+
width: number;
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
declare const circle: {
|
|
14
|
+
d: string;
|
|
15
|
+
height: number;
|
|
16
|
+
width: number;
|
|
17
|
+
id: string;
|
|
18
|
+
};
|
|
19
|
+
declare const diamond: {
|
|
20
|
+
d: string;
|
|
21
|
+
height: number;
|
|
22
|
+
width: number;
|
|
23
|
+
id: string;
|
|
24
|
+
};
|
|
25
|
+
declare const square: {
|
|
26
|
+
d: string;
|
|
27
|
+
height: number;
|
|
28
|
+
width: number;
|
|
29
|
+
id: string;
|
|
30
|
+
};
|
|
31
|
+
declare const tee: {
|
|
32
|
+
d: string;
|
|
33
|
+
height: number;
|
|
34
|
+
width: number;
|
|
35
|
+
id: string;
|
|
36
|
+
};
|
|
37
|
+
export { arrowLeft, arrowRight, square, diamond, circle, tee };
|