@carbon/charts 1.19.2 → 1.19.3
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 +9 -0
- package/README.md +18 -3
- package/dist/model/model.d.ts +1 -1
- package/dist/services/curves.d.ts +18 -18
- package/package.json +21 -22
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 1.19.3 (2024-08-19)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @carbon/charts
|
|
9
|
+
|
|
10
|
+
# Change Log
|
|
11
|
+
|
|
12
|
+
All notable changes to this project will be documented in this file. See
|
|
13
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
14
|
+
|
|
6
15
|
## 1.19.2 (2024-07-15)
|
|
7
16
|
|
|
8
17
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Carbon Charts
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://charts.carbondesignsystem.com/">
|
|
3
|
+
<img src="../../assets/dashboard.png" alt="Carbon Charts" />
|
|
4
|
+
</a>
|
|
5
|
+
<h3 align="center">Carbon Charts</h3>
|
|
6
|
+
<p align="center">
|
|
7
|
+
A component library of 26 charts for vanilla JavaScript.
|
|
8
|
+
<br /><br />
|
|
9
|
+
<a href="https://www.npmjs.com/package/@carbon/charts">
|
|
10
|
+
<img src="https://img.shields.io/npm/v/@carbon/charts.svg" />
|
|
11
|
+
</a>
|
|
12
|
+
<img alt="semantic-versioning" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--ver-e10079.svg" />
|
|
13
|
+
<img alt="semantic-versioning" src="https://img.shields.io/badge/downloads-+60k%2Fweek-green" />
|
|
14
|
+
<a href="https://discord.gg/J7JEUEkTRX">
|
|
15
|
+
<img src="https://img.shields.io/discord/689212587170201628?color=5865F2" alt="Chat with us on Discord">
|
|
16
|
+
</a>
|
|
17
|
+
</p>
|
|
18
|
+
</p>
|
|
4
19
|
|
|
5
20
|
## [Documentation with StackBlitz examples](https://charts.carbondesignsystem.com/)
|
|
6
21
|
|
package/dist/model/model.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare class ChartModel {
|
|
|
50
50
|
bins: import('d3-array').Bin<number, number>[];
|
|
51
51
|
binsDomain: any[];
|
|
52
52
|
};
|
|
53
|
-
getBinnedStackedData(): import('d3').SeriesPoint<{
|
|
53
|
+
getBinnedStackedData(): import('d3-shape').SeriesPoint<{
|
|
54
54
|
[key: string]: number;
|
|
55
55
|
}>[][];
|
|
56
56
|
getGroupedData(groups?: any): {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { Service } from './service';
|
|
2
2
|
export declare class Curves extends Service {
|
|
3
3
|
curveTypes: {
|
|
4
|
-
curveLinear: import('d3').CurveFactory;
|
|
5
|
-
curveLinearClosed: import('d3').CurveFactory;
|
|
6
|
-
curveBasis: import('d3').CurveFactory;
|
|
7
|
-
curveBasisClosed: import('d3').CurveFactory;
|
|
8
|
-
curveBasisOpen: import('d3').CurveFactory;
|
|
9
|
-
curveBundle: import('d3').CurveBundleFactory;
|
|
10
|
-
curveCardinal: import('d3').CurveCardinalFactory;
|
|
11
|
-
curveCardinalClosed: import('d3').CurveCardinalFactory;
|
|
12
|
-
curveCardinalOpen: import('d3').CurveCardinalFactory;
|
|
13
|
-
curveCatmullRom: import('d3').CurveCatmullRomFactory;
|
|
14
|
-
curveCatmullRomClosed: import('d3').CurveCatmullRomFactory;
|
|
15
|
-
curveCatmullRomOpen: import('d3').CurveCatmullRomFactory;
|
|
16
|
-
curveMonotoneX: import('d3').CurveFactory;
|
|
17
|
-
curveMonotoneY: import('d3').CurveFactory;
|
|
18
|
-
curveNatural: import('d3').CurveFactory;
|
|
19
|
-
curveStep: import('d3').CurveFactory;
|
|
20
|
-
curveStepAfter: import('d3').CurveFactory;
|
|
21
|
-
curveStepBefore: import('d3').CurveFactory;
|
|
4
|
+
curveLinear: import('d3-shape').CurveFactory;
|
|
5
|
+
curveLinearClosed: import('d3-shape').CurveFactory;
|
|
6
|
+
curveBasis: import('d3-shape').CurveFactory;
|
|
7
|
+
curveBasisClosed: import('d3-shape').CurveFactory;
|
|
8
|
+
curveBasisOpen: import('d3-shape').CurveFactory;
|
|
9
|
+
curveBundle: import('d3-shape').CurveBundleFactory;
|
|
10
|
+
curveCardinal: import('d3-shape').CurveCardinalFactory;
|
|
11
|
+
curveCardinalClosed: import('d3-shape').CurveCardinalFactory;
|
|
12
|
+
curveCardinalOpen: import('d3-shape').CurveCardinalFactory;
|
|
13
|
+
curveCatmullRom: import('d3-shape').CurveCatmullRomFactory;
|
|
14
|
+
curveCatmullRomClosed: import('d3-shape').CurveCatmullRomFactory;
|
|
15
|
+
curveCatmullRomOpen: import('d3-shape').CurveCatmullRomFactory;
|
|
16
|
+
curveMonotoneX: import('d3-shape').CurveFactory;
|
|
17
|
+
curveMonotoneY: import('d3-shape').CurveFactory;
|
|
18
|
+
curveNatural: import('d3-shape').CurveFactory;
|
|
19
|
+
curveStep: import('d3-shape').CurveFactory;
|
|
20
|
+
curveStepAfter: import('d3-shape').CurveFactory;
|
|
21
|
+
curveStepBefore: import('d3-shape').CurveFactory;
|
|
22
22
|
};
|
|
23
23
|
getD3Curve(): any;
|
|
24
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/charts",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.3",
|
|
4
4
|
"description": "Carbon Charts component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -66,15 +66,18 @@
|
|
|
66
66
|
"lint": "eslint",
|
|
67
67
|
"format": "prettier . --write --ignore-path ../../.prettierignore"
|
|
68
68
|
},
|
|
69
|
+
"homepage": "https://github.com/carbon-design-system/carbon-charts#readme",
|
|
69
70
|
"repository": {
|
|
70
71
|
"type": "git",
|
|
71
|
-
"url": "git
|
|
72
|
-
"
|
|
72
|
+
"url": "git+https://github.com/carbon-design-system/carbon-charts.git",
|
|
73
|
+
"directory": "packages/core"
|
|
73
74
|
},
|
|
74
75
|
"dependencies": {
|
|
75
|
-
"@carbon/colors": "^11.
|
|
76
|
+
"@carbon/colors": "^11.24.0",
|
|
76
77
|
"@carbon/utils-position": "^1.3.0",
|
|
77
|
-
"@ibm/telemetry-js": "^1.6.
|
|
78
|
+
"@ibm/telemetry-js": "^1.6.1",
|
|
79
|
+
"@types/d3": "^7.4.3",
|
|
80
|
+
"@types/topojson": "^3.2.6",
|
|
78
81
|
"carbon-components": "^10.58.15",
|
|
79
82
|
"d3": "^7.9.0",
|
|
80
83
|
"d3-cloud": "^1.2.7",
|
|
@@ -87,30 +90,26 @@
|
|
|
87
90
|
"tslib": "^2.6.3"
|
|
88
91
|
},
|
|
89
92
|
"devDependencies": {
|
|
90
|
-
"@carbon/layout": "^11.
|
|
91
|
-
"@carbon/styles": "^1.
|
|
92
|
-
"@carbon/themes": "^11.
|
|
93
|
-
"@playwright/test": "^1.
|
|
93
|
+
"@carbon/layout": "^11.24.0",
|
|
94
|
+
"@carbon/styles": "^1.63.0",
|
|
95
|
+
"@carbon/themes": "^11.38.0",
|
|
96
|
+
"@playwright/test": "^1.46.1",
|
|
94
97
|
"@rollup/plugin-replace": "^5.0.7",
|
|
95
|
-
"@types/d3": "^7.4.3",
|
|
96
|
-
"@types/d3-cloud": "^1.2.9",
|
|
97
|
-
"@types/d3-sankey": "^0.12.4",
|
|
98
98
|
"@types/dompurify": "^3.0.5",
|
|
99
99
|
"@types/lodash-es": "^4.17.12",
|
|
100
|
-
"@types/node": "^
|
|
101
|
-
"@types/topojson": "^3.2.6",
|
|
100
|
+
"@types/node": "^22.4.0",
|
|
102
101
|
"concurrently": "^8.2.2",
|
|
103
102
|
"downlevel-dts": "^0.11.0",
|
|
104
|
-
"eslint": "^9.
|
|
105
|
-
"jsdom": "^24.1.
|
|
103
|
+
"eslint": "^9.9.0",
|
|
104
|
+
"jsdom": "^24.1.1",
|
|
106
105
|
"prettier": "^3.3.3",
|
|
107
|
-
"publint": "^0.2.
|
|
106
|
+
"publint": "^0.2.10",
|
|
108
107
|
"resize-observer-polyfill": "^1.5.1",
|
|
109
108
|
"sass": "^1.77.8",
|
|
110
|
-
"typescript": "^5.5.
|
|
111
|
-
"vite": "^5.
|
|
112
|
-
"vite-plugin-dts": "^
|
|
113
|
-
"vitest": "^2.0.
|
|
109
|
+
"typescript": "^5.5.4",
|
|
110
|
+
"vite": "^5.4.1",
|
|
111
|
+
"vite-plugin-dts": "^4.0.3",
|
|
112
|
+
"vitest": "^2.0.5"
|
|
114
113
|
},
|
|
115
114
|
"publishConfig": {
|
|
116
115
|
"access": "public"
|
|
@@ -159,5 +158,5 @@
|
|
|
159
158
|
"url": "https://github.com/theiliad"
|
|
160
159
|
}
|
|
161
160
|
],
|
|
162
|
-
"gitHead": "
|
|
161
|
+
"gitHead": "79d3988772ed3e9955d21e37af8caf4657781c6b"
|
|
163
162
|
}
|