@carbon/charts 1.11.18 → 1.11.20
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 +21 -27
- package/dist/{_baseEach-9c20c3b4.mjs → _baseEach-76cda8a8.mjs} +2 -2
- package/dist/{_baseEach-9c20c3b4.mjs.map → _baseEach-76cda8a8.mjs.map} +1 -1
- package/dist/{angle-utils-edabc527.mjs → angle-utils-6b17e95b.mjs} +2 -2
- package/dist/{angle-utils-edabc527.mjs.map → angle-utils-6b17e95b.mjs.map} +1 -1
- package/dist/{choropleth-2ac5a535.mjs → choropleth-17b85d55.mjs} +4 -4
- package/dist/{choropleth-2ac5a535.mjs.map → choropleth-17b85d55.mjs.map} +1 -1
- package/dist/{color-scale-utils-149f8038.mjs → color-scale-utils-faf67b75.mjs} +799 -799
- package/dist/{color-scale-utils-149f8038.mjs.map → color-scale-utils-faf67b75.mjs.map} +1 -1
- package/dist/components/index.mjs +4 -4
- package/dist/demo/index.mjs +18 -18
- package/dist/{index-38625a66.mjs → index-b0e98af9.mjs} +3 -3
- package/dist/{index-38625a66.mjs.map → index-b0e98af9.mjs.map} +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.umd.d.ts +2 -0
- package/dist/model/index.mjs +2 -2
- package/dist/services/index.mjs +3 -3
- package/dist/umd/bundle.umd.js +17 -17
- package/dist/umd/bundle.umd.js.map +1 -1
- package/package.json +194 -194
package/package.json
CHANGED
|
@@ -1,196 +1,196 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
2
|
+
"name": "@carbon/charts",
|
|
3
|
+
"version": "1.11.20",
|
|
4
|
+
"description": "Carbon Charts component library",
|
|
5
|
+
"module": "./dist/index.mjs",
|
|
6
|
+
"main": "./dist/umd/bundle.umd.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
"./package.json": "./package.json",
|
|
10
|
+
"./styles.min.css": "./dist/styles.min.css",
|
|
11
|
+
"./styles.css": "./dist/styles.css",
|
|
12
|
+
"./styles/styles.scss": "./scss/index.scss",
|
|
13
|
+
"./scss/index.scss": "./scss/index.scss",
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"browser": {
|
|
17
|
+
"import": "./dist/index.mjs",
|
|
18
|
+
"require": "./dist/umd/bundle.umd.js"
|
|
19
|
+
},
|
|
20
|
+
"node": {
|
|
21
|
+
"import": "./dist/index.mjs",
|
|
22
|
+
"require": "./dist/umd/bundle.umd.js"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"./components": {
|
|
26
|
+
"types": "./dist/components/index.d.ts",
|
|
27
|
+
"import": "./dist/components/index.mjs"
|
|
28
|
+
},
|
|
29
|
+
"./demo/styles.css": "./dist/demo/styles.css",
|
|
30
|
+
"./demo": {
|
|
31
|
+
"types": "./dist/demo/index.d.ts",
|
|
32
|
+
"import": "./dist/demo/index.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./interfaces": {
|
|
35
|
+
"types": "./dist/interfaces/index.d.ts",
|
|
36
|
+
"import": "./dist/interfaces/index.mjs"
|
|
37
|
+
},
|
|
38
|
+
"./model": {
|
|
39
|
+
"types": "./dist/model/index.d.ts",
|
|
40
|
+
"import": "./dist/model/index.mjs"
|
|
41
|
+
},
|
|
42
|
+
"./services": {
|
|
43
|
+
"types": "./dist/services/index.d.ts",
|
|
44
|
+
"import": "./dist/services/index.mjs"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"files": [
|
|
48
|
+
"dist",
|
|
49
|
+
"scss",
|
|
50
|
+
"styles.css",
|
|
51
|
+
"styles.min.css",
|
|
52
|
+
"CHANGELOG.md"
|
|
53
|
+
],
|
|
54
|
+
"scripts": {
|
|
55
|
+
"postinstall": "carbon-telemetry collect --install",
|
|
56
|
+
"file:css:charts": "sass scss/index.scss dist/styles.css --load-path=./node_modules --load-path=../../node_modules",
|
|
57
|
+
"file:css:min:charts": "sass scss/index.scss dist/styles.min.css --style=compressed --load-path=./node_modules --load-path=../../node_modules",
|
|
58
|
+
"file:css:demo": "sass scss/demos.scss dist/demo/styles.css --load-path=./node_modules --load-path=../../node_modules",
|
|
59
|
+
"file:downlevel:dts": "downlevel-dts dist dist",
|
|
60
|
+
"postbundle": "concurrently \"yarn:file:*\"",
|
|
61
|
+
"build:package": "vite build && vite build -c ./vite.umd.config.ts && yarn postbundle && cp dist/styles*.css* ./",
|
|
62
|
+
"demo:docs": "typedoc ./src/index.ts --out ./demo/bundle/documentation",
|
|
63
|
+
"demo:storybook": "storybook build -o demo/bundle --quiet",
|
|
64
|
+
"build:demo": "concurrently \"yarn:demo:*\"",
|
|
65
|
+
"build": "yarn build:package && yarn build:demo",
|
|
66
|
+
"storybook": "storybook dev -p 9006",
|
|
67
|
+
"start": "yarn storybook",
|
|
68
|
+
"test": "vitest",
|
|
69
|
+
"test:coverage": "vitest run --coverage",
|
|
70
|
+
"lint": "eslint . --ext .js,.cjs,.mjs,.ts --fix --ignore-path ../../.eslintignore",
|
|
71
|
+
"format": "prettier . --write \"**/*.{scss,css,js,ts,mjs,cjs,md}\" --ignore-path ../../.eslintignore",
|
|
72
|
+
"clean": "rm -rf dist demo/bundle",
|
|
73
|
+
"pub:demo": "cp -a demo/bundle/. ../../pages"
|
|
74
|
+
},
|
|
75
|
+
"repository": {
|
|
76
|
+
"type": "git",
|
|
77
|
+
"url": "git@github.com:carbon-design-system/carbon-charts.git",
|
|
78
|
+
"homepage": "https://carbon-design-system.github.io/carbon-charts/"
|
|
79
|
+
},
|
|
80
|
+
"dependencies": {
|
|
81
|
+
"@carbon/colors": "^11.19.0",
|
|
82
|
+
"@carbon/telemetry": "~0.1.0",
|
|
83
|
+
"@carbon/utils-position": "^1.1.4",
|
|
84
|
+
"carbon-components": "^10.58.8",
|
|
85
|
+
"d3": "^7.8.5",
|
|
86
|
+
"d3-cloud": "^1.2.7",
|
|
87
|
+
"d3-sankey": "^0.12.3",
|
|
88
|
+
"date-fns": "^2.30.0",
|
|
89
|
+
"html-to-image": "^1.11.11",
|
|
90
|
+
"lodash-es": "^4.17.21",
|
|
91
|
+
"topojson-client": "^3.1.0",
|
|
92
|
+
"tslib": "^2.6.1"
|
|
93
|
+
},
|
|
94
|
+
"peerDependencies": {
|
|
95
|
+
"d3": "^7.0.0",
|
|
96
|
+
"d3-cloud": "^1.2.5",
|
|
97
|
+
"d3-sankey": "^0.12.3"
|
|
98
|
+
},
|
|
99
|
+
"peerDependenciesMeta": {
|
|
100
|
+
"d3-cloud": {
|
|
101
|
+
"optional": true
|
|
102
|
+
},
|
|
103
|
+
"d3-sankey": {
|
|
104
|
+
"optional": true
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"devDependencies": {
|
|
108
|
+
"@babel/core": "^7.22.10",
|
|
109
|
+
"@carbon/import-once": "^10.7.0",
|
|
110
|
+
"@carbon/layout": "^11.18.0",
|
|
111
|
+
"@carbon/styles": "^1.35.0",
|
|
112
|
+
"@carbon/themes": "^11.23.0",
|
|
113
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
|
114
|
+
"@stackblitz/sdk": "^1.9.0",
|
|
115
|
+
"@storybook/addon-essentials": "^7.2.2",
|
|
116
|
+
"@storybook/addon-interactions": "^7.2.2",
|
|
117
|
+
"@storybook/addon-links": "^7.2.2",
|
|
118
|
+
"@storybook/blocks": "^7.2.2",
|
|
119
|
+
"@storybook/html": "^7.2.2",
|
|
120
|
+
"@storybook/html-vite": "^7.2.2",
|
|
121
|
+
"@storybook/manager-api": "^7.2.2",
|
|
122
|
+
"@storybook/testing-library": "^0.2.0",
|
|
123
|
+
"@storybook/theming": "^7.2.2",
|
|
124
|
+
"@types/d3": "^7.4.0",
|
|
125
|
+
"@types/d3-cloud": "^1.2.5",
|
|
126
|
+
"@types/d3-sankey": "^0.12.1",
|
|
127
|
+
"@types/lodash-es": "^4.17.8",
|
|
128
|
+
"@types/topojson": "^3.2.3",
|
|
129
|
+
"@typescript-eslint/eslint-plugin": "^6.3.0",
|
|
130
|
+
"@typescript-eslint/parser": "^6.3.0",
|
|
131
|
+
"concurrently": "^8.2.0",
|
|
132
|
+
"downlevel-dts": "^0.11.0",
|
|
133
|
+
"eslint": "^8.46.0",
|
|
134
|
+
"eslint-config-prettier": "^9.0.0",
|
|
135
|
+
"eslint-plugin-storybook": "^0.6.13",
|
|
136
|
+
"jsdom": "^22.1.0",
|
|
137
|
+
"react": "^18.2.0",
|
|
138
|
+
"react-dom": "^18.2.0",
|
|
139
|
+
"resize-observer-polyfill": "^1.5.1",
|
|
140
|
+
"sass": "~1.64.2",
|
|
141
|
+
"storybook": "^7.2.2",
|
|
142
|
+
"typedoc": "^0.24.8",
|
|
143
|
+
"typescript": "^5.1.6",
|
|
144
|
+
"vite": "^4.4.9",
|
|
145
|
+
"vite-plugin-dts": "^3.5.1",
|
|
146
|
+
"vitest": "^0.34.1"
|
|
147
|
+
},
|
|
148
|
+
"publishConfig": {
|
|
149
|
+
"access": "public"
|
|
150
|
+
},
|
|
151
|
+
"keywords": [
|
|
152
|
+
"charts",
|
|
153
|
+
"graphs",
|
|
154
|
+
"radar",
|
|
155
|
+
"gauge",
|
|
156
|
+
"donut",
|
|
157
|
+
"pie",
|
|
158
|
+
"sparkline",
|
|
159
|
+
"tree",
|
|
160
|
+
"treemap",
|
|
161
|
+
"heatmap",
|
|
162
|
+
"wordcloud",
|
|
163
|
+
"histogram",
|
|
164
|
+
"alluvial",
|
|
165
|
+
"geo",
|
|
166
|
+
"bar",
|
|
167
|
+
"bullet",
|
|
168
|
+
"scatter",
|
|
169
|
+
"meter",
|
|
170
|
+
"line",
|
|
171
|
+
"javascript",
|
|
172
|
+
"component",
|
|
173
|
+
"carbon",
|
|
174
|
+
"ibm",
|
|
175
|
+
"svg",
|
|
176
|
+
"data",
|
|
177
|
+
"typescript"
|
|
178
|
+
],
|
|
179
|
+
"author": "IBM",
|
|
180
|
+
"license": "Apache-2.0",
|
|
181
|
+
"maintainers": [
|
|
182
|
+
{
|
|
183
|
+
"name": "Eliad Moosavi",
|
|
184
|
+
"email": "iliadm@ca.ibm.com",
|
|
185
|
+
"url": "https://github.com/theiliad"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"contributors": [
|
|
189
|
+
{
|
|
190
|
+
"name": "Eliad Moosavi",
|
|
191
|
+
"email": "iliadm@ca.ibm.com",
|
|
192
|
+
"url": "https://github.com/theiliad"
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
"gitHead": "8ad1a690e8e336a268d15750576485ebb54307e5"
|
|
196
196
|
}
|