@carbon/charts-react 0.58.1 → 1.0.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 +49 -282
- package/README.md +5 -1
- package/diagrams/CardNode/CardNode.js +3 -4
- package/diagrams/CardNode/CardNodeColumn.js +3 -4
- package/diagrams/CardNode/CardNodeLabel.js +3 -4
- package/diagrams/CardNode/CardNodeSubtitle.js +3 -4
- package/diagrams/CardNode/CardNodeTitle.js +3 -4
- package/diagrams/Edge/Edge.js +3 -4
- package/diagrams/Marker/Marker.js +3 -4
- package/diagrams/ShapeNode/ShapeNode.js +3 -4
- package/diagrams/configs.d.ts +1 -0
- package/diagrams/configs.js +4 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.
|
|
6
|
+
## [1.0.1](https://github.com/carbon-design-system/carbon-charts/compare/v1.0.0...v1.0.1) (2022-05-24)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @carbon/charts-react
|
|
9
9
|
|
|
@@ -11,573 +11,344 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
# [0.
|
|
14
|
+
# [1.0.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.58.2...v1.0.0) (2022-05-24)
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
### Features
|
|
18
18
|
|
|
19
|
-
* **
|
|
19
|
+
* **monorepo:** Carbon v11 migration ([#1345](https://github.com/carbon-design-system/carbon-charts/issues/1345)) ([97c6fcd](https://github.com/carbon-design-system/carbon-charts/commit/97c6fcd842b83adbbeadd9fa1362d7727b91e6ff))
|
|
20
20
|
|
|
21
21
|
|
|
22
|
+
### BREAKING CHANGES
|
|
22
23
|
|
|
24
|
+
* **monorepo:** node-sass => sass, theming
|
|
23
25
|
|
|
24
26
|
|
|
25
|
-
## [0.57.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.57.0...v0.57.1) (2022-05-06)
|
|
26
|
-
|
|
27
|
-
**Note:** Version bump only for package @carbon/charts-react
|
|
28
27
|
|
|
29
28
|
|
|
30
29
|
|
|
30
|
+
# Change Log
|
|
31
31
|
|
|
32
|
+
All notable changes to this project will be documented in this file. See
|
|
33
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
## [0.58.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.58.1...v0.58.2) (2022-05-24)
|
|
34
36
|
|
|
35
37
|
**Note:** Version bump only for package @carbon/charts-react
|
|
36
38
|
|
|
39
|
+
## [0.58.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.58.0...v0.58.1) (2022-05-19)
|
|
37
40
|
|
|
41
|
+
**Note:** Version bump only for package @carbon/charts-react
|
|
38
42
|
|
|
43
|
+
# [0.58.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.57.1...v0.58.0) (2022-05-16)
|
|
39
44
|
|
|
45
|
+
### Features
|
|
40
46
|
|
|
41
|
-
|
|
47
|
+
- **react:** add react 18 as peerDep, update componentDidMount logic for
|
|
48
|
+
strictmode
|
|
49
|
+
([#1364](https://github.com/carbon-design-system/carbon-charts/issues/1364))
|
|
50
|
+
([9af452f](https://github.com/carbon-design-system/carbon-charts/commit/9af452fa0ae63087ec09556fa34cba8c23bc4689))
|
|
51
|
+
|
|
52
|
+
## [0.57.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.57.0...v0.57.1) (2022-05-06)
|
|
42
53
|
|
|
43
54
|
**Note:** Version bump only for package @carbon/charts-react
|
|
44
55
|
|
|
56
|
+
# [0.57.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.56.0...v0.57.0) (2022-04-11)
|
|
45
57
|
|
|
58
|
+
**Note:** Version bump only for package @carbon/charts-react
|
|
46
59
|
|
|
60
|
+
# [0.56.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.55.1...v0.56.0) (2022-03-28)
|
|
47
61
|
|
|
62
|
+
**Note:** Version bump only for package @carbon/charts-react
|
|
48
63
|
|
|
49
64
|
## [0.55.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.55.0...v0.55.1) (2022-03-14)
|
|
50
65
|
|
|
51
66
|
**Note:** Version bump only for package @carbon/charts-react
|
|
52
67
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
68
|
# [0.55.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.14...v0.55.0) (2022-03-14)
|
|
58
69
|
|
|
59
70
|
**Note:** Version bump only for package @carbon/charts-react
|
|
60
71
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
72
|
## [0.54.14](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.13...v0.54.14) (2022-03-14)
|
|
66
73
|
|
|
67
74
|
**Note:** Version bump only for package @carbon/charts-react
|
|
68
75
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
76
|
## [0.54.13](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.12...v0.54.13) (2022-03-09)
|
|
74
77
|
|
|
75
78
|
**Note:** Version bump only for package @carbon/charts-react
|
|
76
79
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
80
|
## [0.54.12](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.11...v0.54.12) (2022-02-04)
|
|
82
81
|
|
|
83
82
|
**Note:** Version bump only for package @carbon/charts-react
|
|
84
83
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
84
|
## [0.54.11](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.10...v0.54.11) (2022-02-02)
|
|
90
85
|
|
|
91
86
|
**Note:** Version bump only for package @carbon/charts-react
|
|
92
87
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
88
|
## [0.54.10](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.9...v0.54.10) (2022-01-27)
|
|
98
89
|
|
|
99
90
|
**Note:** Version bump only for package @carbon/charts-react
|
|
100
91
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
92
|
## [0.54.9](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.8...v0.54.9) (2022-01-27)
|
|
106
93
|
|
|
107
94
|
**Note:** Version bump only for package @carbon/charts-react
|
|
108
95
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
96
|
## [0.54.8](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.7...v0.54.8) (2022-01-25)
|
|
114
97
|
|
|
115
98
|
**Note:** Version bump only for package @carbon/charts-react
|
|
116
99
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
100
|
## [0.54.7](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.6...v0.54.7) (2022-01-13)
|
|
122
101
|
|
|
123
102
|
**Note:** Version bump only for package @carbon/charts-react
|
|
124
103
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
104
|
## [0.54.6](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.5...v0.54.6) (2022-01-13)
|
|
130
105
|
|
|
131
106
|
**Note:** Version bump only for package @carbon/charts-react
|
|
132
107
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
108
|
## [0.54.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.4...v0.54.5) (2022-01-11)
|
|
138
109
|
|
|
139
110
|
**Note:** Version bump only for package @carbon/charts-react
|
|
140
111
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
112
|
## [0.54.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.3...v0.54.4) (2022-01-10)
|
|
146
113
|
|
|
147
114
|
**Note:** Version bump only for package @carbon/charts-react
|
|
148
115
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
116
|
## [0.54.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.2...v0.54.3) (2022-01-07)
|
|
154
117
|
|
|
155
118
|
**Note:** Version bump only for package @carbon/charts-react
|
|
156
119
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
120
|
## [0.54.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.1...v0.54.2) (2022-01-05)
|
|
162
121
|
|
|
163
122
|
**Note:** Version bump only for package @carbon/charts-react
|
|
164
123
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
124
|
## [0.54.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.54.0...v0.54.1) (2022-01-05)
|
|
170
125
|
|
|
171
126
|
**Note:** Version bump only for package @carbon/charts-react
|
|
172
127
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
128
|
# [0.54.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.53.5...v0.54.0) (2021-12-24)
|
|
178
129
|
|
|
179
|
-
|
|
180
130
|
### Features
|
|
181
131
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
132
|
+
- **core:** create heatmap chart
|
|
133
|
+
([#1200](https://github.com/carbon-design-system/carbon-charts/issues/1200))
|
|
134
|
+
([a55be0f](https://github.com/carbon-design-system/carbon-charts/commit/a55be0fcec6020b609ab18b2224562aaa9775321))
|
|
187
135
|
|
|
188
136
|
## [0.53.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.53.4...v0.53.5) (2021-12-15)
|
|
189
137
|
|
|
190
138
|
**Note:** Version bump only for package @carbon/charts-react
|
|
191
139
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
140
|
## [0.53.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.53.3...v0.53.4) (2021-12-13)
|
|
197
141
|
|
|
198
142
|
**Note:** Version bump only for package @carbon/charts-react
|
|
199
143
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
144
|
## [0.53.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.53.2...v0.53.3) (2021-12-07)
|
|
205
145
|
|
|
206
146
|
**Note:** Version bump only for package @carbon/charts-react
|
|
207
147
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
148
|
## [0.53.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.53.1...v0.53.2) (2021-12-06)
|
|
213
149
|
|
|
214
150
|
**Note:** Version bump only for package @carbon/charts-react
|
|
215
151
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
152
|
## [0.53.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.53.0...v0.53.1) (2021-12-02)
|
|
221
153
|
|
|
222
154
|
**Note:** Version bump only for package @carbon/charts-react
|
|
223
155
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
156
|
# [0.53.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.52.4...v0.53.0) (2021-12-01)
|
|
229
157
|
|
|
230
|
-
|
|
231
158
|
### Features
|
|
232
159
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
160
|
+
- **react diagrams:** add support for applying a custom class to the outer
|
|
161
|
+
node
|
|
162
|
+
([#1222](https://github.com/carbon-design-system/carbon-charts/issues/1222))
|
|
163
|
+
([c7e8606](https://github.com/carbon-design-system/carbon-charts/commit/c7e8606e860702bf80ebfb9045a5965fcd2fa0ff)),
|
|
164
|
+
closes
|
|
165
|
+
[#1221](https://github.com/carbon-design-system/carbon-charts/issues/1221)
|
|
238
166
|
|
|
239
167
|
## [0.52.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.52.3...v0.52.4) (2021-12-01)
|
|
240
168
|
|
|
241
169
|
**Note:** Version bump only for package @carbon/charts-react
|
|
242
170
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
171
|
## [0.52.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.52.2...v0.52.3) (2021-11-22)
|
|
248
172
|
|
|
249
173
|
**Note:** Version bump only for package @carbon/charts-react
|
|
250
174
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
175
|
## [0.52.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.52.1...v0.52.2) (2021-11-19)
|
|
256
176
|
|
|
257
177
|
**Note:** Version bump only for package @carbon/charts-react
|
|
258
178
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
179
|
## [0.52.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.52.0...v0.52.1) (2021-11-19)
|
|
264
180
|
|
|
265
181
|
**Note:** Version bump only for package @carbon/charts-react
|
|
266
182
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
183
|
# [0.52.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.51.4...v0.52.0) (2021-11-18)
|
|
272
184
|
|
|
273
185
|
**Note:** Version bump only for package @carbon/charts-react
|
|
274
186
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
187
|
## [0.51.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.51.3...v0.51.4) (2021-11-16)
|
|
280
188
|
|
|
281
189
|
**Note:** Version bump only for package @carbon/charts-react
|
|
282
190
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
191
|
## [0.51.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.51.2...v0.51.3) (2021-11-03)
|
|
288
192
|
|
|
289
193
|
**Note:** Version bump only for package @carbon/charts-react
|
|
290
194
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
195
|
## [0.51.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.51.1...v0.51.2) (2021-11-02)
|
|
296
196
|
|
|
297
197
|
**Note:** Version bump only for package @carbon/charts-react
|
|
298
198
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
199
|
## [0.51.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.51.0...v0.51.1) (2021-11-02)
|
|
304
200
|
|
|
305
201
|
**Note:** Version bump only for package @carbon/charts-react
|
|
306
202
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
203
|
# [0.51.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.10...v0.51.0) (2021-11-01)
|
|
312
204
|
|
|
313
205
|
**Note:** Version bump only for package @carbon/charts-react
|
|
314
206
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
207
|
## [0.50.10](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.9...v0.50.10) (2021-10-27)
|
|
320
208
|
|
|
321
|
-
|
|
322
209
|
### Bug Fixes
|
|
323
210
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
211
|
+
- **core:** address various accessibility violations
|
|
212
|
+
([#1199](https://github.com/carbon-design-system/carbon-charts/issues/1199))
|
|
213
|
+
([a4ab2c0](https://github.com/carbon-design-system/carbon-charts/commit/a4ab2c0e3a91513a18e5724faa87dfd80c81c248))
|
|
329
214
|
|
|
330
215
|
## [0.50.9](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.8...v0.50.9) (2021-10-20)
|
|
331
216
|
|
|
332
217
|
**Note:** Version bump only for package @carbon/charts-react
|
|
333
218
|
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
219
|
## [0.50.8](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.7...v0.50.8) (2021-10-18)
|
|
339
220
|
|
|
340
221
|
**Note:** Version bump only for package @carbon/charts-react
|
|
341
222
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
223
|
## [0.50.7](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.6...v0.50.7) (2021-10-12)
|
|
347
224
|
|
|
348
225
|
**Note:** Version bump only for package @carbon/charts-react
|
|
349
226
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
227
|
## [0.50.6](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.5...v0.50.6) (2021-10-08)
|
|
355
228
|
|
|
356
229
|
**Note:** Version bump only for package @carbon/charts-react
|
|
357
230
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
231
|
## [0.50.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.4...v0.50.5) (2021-10-08)
|
|
363
232
|
|
|
364
233
|
**Note:** Version bump only for package @carbon/charts-react
|
|
365
234
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
235
|
## [0.50.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.3...v0.50.4) (2021-10-05)
|
|
371
236
|
|
|
372
237
|
**Note:** Version bump only for package @carbon/charts-react
|
|
373
238
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
239
|
## [0.50.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.2...v0.50.3) (2021-10-04)
|
|
379
240
|
|
|
380
241
|
**Note:** Version bump only for package @carbon/charts-react
|
|
381
242
|
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
243
|
## [0.50.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.1...v0.50.2) (2021-10-04)
|
|
387
244
|
|
|
388
245
|
**Note:** Version bump only for package @carbon/charts-react
|
|
389
246
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
247
|
## [0.50.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.0...v0.50.1) (2021-10-01)
|
|
395
248
|
|
|
396
249
|
**Note:** Version bump only for package @carbon/charts-react
|
|
397
250
|
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
251
|
# [0.50.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.7...v0.50.0) (2021-09-30)
|
|
403
252
|
|
|
404
253
|
**Note:** Version bump only for package @carbon/charts-react
|
|
405
254
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
255
|
## [0.49.7](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.6...v0.49.7) (2021-09-27)
|
|
411
256
|
|
|
412
257
|
**Note:** Version bump only for package @carbon/charts-react
|
|
413
258
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
259
|
## [0.49.6](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.5...v0.49.6) (2021-09-23)
|
|
419
260
|
|
|
420
261
|
**Note:** Version bump only for package @carbon/charts-react
|
|
421
262
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
263
|
## [0.49.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.4...v0.49.5) (2021-09-23)
|
|
427
264
|
|
|
428
265
|
**Note:** Version bump only for package @carbon/charts-react
|
|
429
266
|
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
267
|
## [0.49.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.3...v0.49.4) (2021-09-22)
|
|
435
268
|
|
|
436
269
|
**Note:** Version bump only for package @carbon/charts-react
|
|
437
270
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
271
|
## [0.49.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.2...v0.49.3) (2021-09-22)
|
|
443
272
|
|
|
444
273
|
**Note:** Version bump only for package @carbon/charts-react
|
|
445
274
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
275
|
## [0.49.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.1...v0.49.2) (2021-09-20)
|
|
451
276
|
|
|
452
277
|
**Note:** Version bump only for package @carbon/charts-react
|
|
453
278
|
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
279
|
## [0.49.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.49.0...v0.49.1) (2021-09-17)
|
|
459
280
|
|
|
460
281
|
**Note:** Version bump only for package @carbon/charts-react
|
|
461
282
|
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
283
|
# [0.49.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.48.4...v0.49.0) (2021-09-15)
|
|
467
284
|
|
|
468
|
-
|
|
469
285
|
### Features
|
|
470
286
|
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
287
|
+
- **core:** create alluvial chart
|
|
288
|
+
([#1132](https://github.com/carbon-design-system/carbon-charts/issues/1132))
|
|
289
|
+
([08fa194](https://github.com/carbon-design-system/carbon-charts/commit/08fa194f1c59ab2110c0d221886fc0174c936194)),
|
|
290
|
+
closes
|
|
291
|
+
[#871](https://github.com/carbon-design-system/carbon-charts/issues/871)
|
|
476
292
|
|
|
477
293
|
## [0.48.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.48.3...v0.48.4) (2021-09-13)
|
|
478
294
|
|
|
479
295
|
**Note:** Version bump only for package @carbon/charts-react
|
|
480
296
|
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
297
|
## [0.48.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.48.2...v0.48.3) (2021-09-13)
|
|
486
298
|
|
|
487
|
-
|
|
488
299
|
### Bug Fixes
|
|
489
300
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
301
|
+
- **core:** diagram rendering issues in safari
|
|
302
|
+
([#1150](https://github.com/carbon-design-system/carbon-charts/issues/1150))
|
|
303
|
+
([fc123dd](https://github.com/carbon-design-system/carbon-charts/commit/fc123dda01795fbd4703362dd2688c5ac1940728))
|
|
495
304
|
|
|
496
305
|
## [0.48.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.48.1...v0.48.2) (2021-09-13)
|
|
497
306
|
|
|
498
307
|
**Note:** Version bump only for package @carbon/charts-react
|
|
499
308
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
309
|
## [0.48.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.48.0...v0.48.1) (2021-09-13)
|
|
505
310
|
|
|
506
311
|
**Note:** Version bump only for package @carbon/charts-react
|
|
507
312
|
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
313
|
# [0.48.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.47.0...v0.48.0) (2021-09-10)
|
|
513
314
|
|
|
514
315
|
**Note:** Version bump only for package @carbon/charts-react
|
|
515
316
|
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
317
|
# [0.47.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.46.5...v0.47.0) (2021-09-08)
|
|
521
318
|
|
|
522
|
-
|
|
523
319
|
### Features
|
|
524
320
|
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
321
|
+
- **core:** add tree chart
|
|
322
|
+
([#1116](https://github.com/carbon-design-system/carbon-charts/issues/1116))
|
|
323
|
+
([96e4988](https://github.com/carbon-design-system/carbon-charts/commit/96e4988d5b3926f2a9daa642c8ebb62058328aa3))
|
|
530
324
|
|
|
531
325
|
## [0.46.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.46.4...v0.46.5) (2021-09-08)
|
|
532
326
|
|
|
533
327
|
**Note:** Version bump only for package @carbon/charts-react
|
|
534
328
|
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
329
|
## [0.46.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.46.3...v0.46.4) (2021-08-31)
|
|
540
330
|
|
|
541
331
|
**Note:** Version bump only for package @carbon/charts-react
|
|
542
332
|
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
333
|
## [0.46.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.46.2...v0.46.3) (2021-08-31)
|
|
548
334
|
|
|
549
335
|
**Note:** Version bump only for package @carbon/charts-react
|
|
550
336
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
337
|
## [0.46.2](https://github.com/carbon-design-system/carbon-charts/compare/v0.46.1...v0.46.2) (2021-08-30)
|
|
556
338
|
|
|
557
339
|
**Note:** Version bump only for package @carbon/charts-react
|
|
558
340
|
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
341
|
## [0.46.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.46.0...v0.46.1) (2021-08-27)
|
|
564
342
|
|
|
565
343
|
**Note:** Version bump only for package @carbon/charts-react
|
|
566
344
|
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
345
|
# [0.46.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.45.1...v0.46.0) (2021-08-27)
|
|
572
346
|
|
|
573
|
-
|
|
574
347
|
### Features
|
|
575
348
|
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
349
|
+
- **charts:** add proportional meter chart
|
|
350
|
+
([#1040](https://github.com/carbon-design-system/carbon-charts/issues/1040))
|
|
351
|
+
([10592e4](https://github.com/carbon-design-system/carbon-charts/commit/10592e40665d104117b8e2d2580e5edc407c3e8d))
|
|
581
352
|
|
|
582
353
|
# Change Log
|
|
583
354
|
|
|
@@ -588,10 +359,6 @@ All notable changes to this project will be documented in this file. See
|
|
|
588
359
|
|
|
589
360
|
**Note:** Version bump only for package @carbon/charts-react
|
|
590
361
|
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
362
|
# [0.45.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.44.1...v0.45.0) (2021-08-19)
|
|
596
363
|
|
|
597
364
|
**Note:** Version bump only for package @carbon/charts-react
|
package/README.md
CHANGED
|
@@ -7,10 +7,9 @@ var react_1 = __importDefault(require("react"));
|
|
|
7
7
|
var prop_types_1 = __importDefault(require("prop-types"));
|
|
8
8
|
// @ts-ignore
|
|
9
9
|
var classnames_1 = __importDefault(require("classnames"));
|
|
10
|
-
//
|
|
11
|
-
var
|
|
12
|
-
var
|
|
13
|
-
var namespace = prefix + "--cc--card-node";
|
|
10
|
+
// Carbon Prefix
|
|
11
|
+
var configs_1 = require("../configs");
|
|
12
|
+
var namespace = configs_1.carbonPrefix + "--cc--card-node";
|
|
14
13
|
var CardNode = function (_a) {
|
|
15
14
|
var _b;
|
|
16
15
|
var _c = _a.as, as = _c === void 0 ? 'div' : _c, children = _a.children, className = _a.className, color = _a.color, _d = _a.href, href = _d === void 0 ? null : _d, _e = _a.onMouseEnter, onMouseEnter = _e === void 0 ? null : _e, _f = _a.onMouseOver, onMouseOver = _f === void 0 ? null : _f, _g = _a.onMouseOut, onMouseOut = _g === void 0 ? null : _g, _h = _a.onMouseLeave, onMouseLeave = _h === void 0 ? null : _h, _j = _a.onMouseMove, onMouseMove = _j === void 0 ? null : _j, _k = _a.onClick, onClick = _k === void 0 ? null : _k, _l = _a.position, position = _l === void 0 ? 'static' : _l, stacked = _a.stacked;
|
|
@@ -8,10 +8,9 @@ var react_1 = __importDefault(require("react"));
|
|
|
8
8
|
var prop_types_1 = __importDefault(require("prop-types"));
|
|
9
9
|
// @ts-ignore
|
|
10
10
|
var classnames_1 = __importDefault(require("classnames"));
|
|
11
|
-
//
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var namespace = prefix + "--cc--card-node";
|
|
11
|
+
// Carbon Prefix
|
|
12
|
+
var configs_1 = require("../configs");
|
|
13
|
+
var namespace = configs_1.carbonPrefix + "--cc--card-node";
|
|
15
14
|
var CardNodeColumn = function (_a) {
|
|
16
15
|
var _b;
|
|
17
16
|
var children = _a.children, className = _a.className, farsideColumn = _a.farsideColumn;
|
|
@@ -8,10 +8,9 @@ var react_1 = __importDefault(require("react"));
|
|
|
8
8
|
var prop_types_1 = __importDefault(require("prop-types"));
|
|
9
9
|
// @ts-ignore
|
|
10
10
|
var classnames_1 = __importDefault(require("classnames"));
|
|
11
|
-
//
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var namespace = prefix + "--cc--card-node";
|
|
11
|
+
// Carbon Prefix
|
|
12
|
+
var configs_1 = require("../configs");
|
|
13
|
+
var namespace = configs_1.carbonPrefix + "--cc--card-node";
|
|
15
14
|
var CardNodeLabel = function (_a) {
|
|
16
15
|
var _b;
|
|
17
16
|
var children = _a.children, className = _a.className;
|
|
@@ -8,10 +8,9 @@ var react_1 = __importDefault(require("react"));
|
|
|
8
8
|
var prop_types_1 = __importDefault(require("prop-types"));
|
|
9
9
|
// @ts-ignore
|
|
10
10
|
var classnames_1 = __importDefault(require("classnames"));
|
|
11
|
-
//
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var namespace = prefix + "--cc--card-node";
|
|
11
|
+
// Carbon Prefix
|
|
12
|
+
var configs_1 = require("../configs");
|
|
13
|
+
var namespace = configs_1.carbonPrefix + "--cc--card-node";
|
|
15
14
|
var CardNodeSubtitle = function (_a) {
|
|
16
15
|
var _b;
|
|
17
16
|
var children = _a.children, className = _a.className;
|
|
@@ -8,10 +8,9 @@ var react_1 = __importDefault(require("react"));
|
|
|
8
8
|
var prop_types_1 = __importDefault(require("prop-types"));
|
|
9
9
|
// @ts-ignore
|
|
10
10
|
var classnames_1 = __importDefault(require("classnames"));
|
|
11
|
-
//
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
var namespace = prefix + "--cc--card-node";
|
|
11
|
+
// Carbon Prefix
|
|
12
|
+
var configs_1 = require("../configs");
|
|
13
|
+
var namespace = configs_1.carbonPrefix + "--cc--card-node";
|
|
15
14
|
var CardNodeTitle = function (_a) {
|
|
16
15
|
var _b;
|
|
17
16
|
var children = _a.children, className = _a.className;
|
package/diagrams/Edge/Edge.js
CHANGED
|
@@ -5,16 +5,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
var react_1 = __importDefault(require("react"));
|
|
7
7
|
var prop_types_1 = __importDefault(require("prop-types"));
|
|
8
|
-
//
|
|
9
|
-
var
|
|
8
|
+
// Carbon Prefix
|
|
9
|
+
var configs_1 = require("../configs");
|
|
10
10
|
// @ts-ignore
|
|
11
11
|
var classnames_1 = __importDefault(require("classnames"));
|
|
12
12
|
var buildPaths_1 = require("@carbon/charts/components/diagrams/buildPaths");
|
|
13
|
-
var prefix = settings_1.default.prefix;
|
|
14
13
|
var Edge = function (_a) {
|
|
15
14
|
var _b;
|
|
16
15
|
var className = _a.className, color = _a.color, markerEnd = _a.markerEnd, markerStart = _a.markerStart, _c = _a.onMouseEnter, onMouseEnter = _c === void 0 ? null : _c, _d = _a.onMouseOver, onMouseOver = _d === void 0 ? null : _d, _e = _a.onMouseOut, onMouseOut = _e === void 0 ? null : _e, _f = _a.onMouseLeave, onMouseLeave = _f === void 0 ? null : _f, _g = _a.onMouseMove, onMouseMove = _g === void 0 ? null : _g, path = _a.path, source = _a.source, target = _a.target, _h = _a.variant, variant = _h === void 0 ? null : _h;
|
|
17
|
-
var namespace =
|
|
16
|
+
var namespace = configs_1.carbonPrefix + "--cc--edge";
|
|
18
17
|
var pathClasses = classnames_1.default(namespace, (_b = {},
|
|
19
18
|
_b[namespace + "--" + variant] = variant,
|
|
20
19
|
_b[className] = className,
|
|
@@ -30,14 +30,13 @@ var react_1 = __importDefault(require("react"));
|
|
|
30
30
|
var prop_types_1 = __importDefault(require("prop-types"));
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
var classnames_1 = __importDefault(require("classnames"));
|
|
33
|
-
//
|
|
34
|
-
var
|
|
33
|
+
// Carbon Prefix
|
|
34
|
+
var configs_1 = require("../configs");
|
|
35
35
|
var markerDefinitions_1 = require("@carbon/charts/components/diagrams/markerDefinitions");
|
|
36
|
-
var prefix = settings_1.default.prefix;
|
|
37
36
|
var Marker = function (_a) {
|
|
38
37
|
var _b;
|
|
39
38
|
var className = _a.className, color = _a.color, d = _a.d, id = _a.id, _c = _a.orient, orient = _c === void 0 ? 'auto' : _c, height = _a.height, width = _a.width, _d = _a.position, position = _d === void 0 ? 'end' : _d, refX = _a.refX, refY = _a.refY;
|
|
40
|
-
var namespace =
|
|
39
|
+
var namespace = configs_1.carbonPrefix + "--cc--marker";
|
|
41
40
|
var classes = classnames_1.default(namespace, (_b = {},
|
|
42
41
|
_b[className] = className,
|
|
43
42
|
_b));
|
|
@@ -5,15 +5,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
var react_1 = __importDefault(require("react"));
|
|
7
7
|
var prop_types_1 = __importDefault(require("prop-types"));
|
|
8
|
-
//
|
|
9
|
-
var
|
|
8
|
+
// Carbon Prefix
|
|
9
|
+
var configs_1 = require("../configs");
|
|
10
10
|
// @ts-ignore
|
|
11
11
|
var classnames_1 = __importDefault(require("classnames"));
|
|
12
|
-
var prefix = settings_1.default.prefix;
|
|
13
12
|
var ShapeNode = function (_a) {
|
|
14
13
|
var _b;
|
|
15
14
|
var _c = _a.as, as = _c === void 0 ? 'div' : _c, className = _a.className, _d = _a.href, href = _d === void 0 ? null : _d, _e = _a.onClick, onClick = _e === void 0 ? null : _e, _f = _a.onMouseEnter, onMouseEnter = _f === void 0 ? null : _f, _g = _a.onMouseOver, onMouseOver = _g === void 0 ? null : _g, _h = _a.onMouseOut, onMouseOut = _h === void 0 ? null : _h, _j = _a.onMouseLeave, onMouseLeave = _j === void 0 ? null : _j, _k = _a.onMouseMove, onMouseMove = _k === void 0 ? null : _k, _l = _a.position, position = _l === void 0 ? 'fixed' : _l, _m = _a.bodyPosition, bodyPosition = _m === void 0 ? 'absolute' : _m, renderIcon = _a.renderIcon, _o = _a.size, size = _o === void 0 ? 48 : _o, stacked = _a.stacked, _p = _a.shape, shape = _p === void 0 ? 'circle' : _p, subtitle = _a.subtitle, title = _a.title;
|
|
16
|
-
var namespace =
|
|
15
|
+
var namespace = configs_1.carbonPrefix + "--cc--shape-node";
|
|
17
16
|
var Component = 'div';
|
|
18
17
|
if (href) {
|
|
19
18
|
Component = 'a';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const carbonPrefix = "cds";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/charts-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Carbon charting components for React",
|
|
5
5
|
"main": "./bundle.js",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"start": "yarn run storybook",
|
|
10
10
|
"build": "bash build.sh",
|
|
11
11
|
"format": "prettier . --write \"**/*.{scss,css,js,ts,tsx,md}\"",
|
|
12
|
-
"storybook": "start-storybook -p
|
|
12
|
+
"storybook": "start-storybook -p 9007 -c .storybook -s ./.storybook/assets",
|
|
13
13
|
"demo:build": "yarn build && build-storybook -o demo/bundle --quiet -s ./.storybook/assets",
|
|
14
14
|
"clean": "rm -rf dist demo/bundle",
|
|
15
15
|
"postinstall": "carbon-telemetry collect --install"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"homepage": "https://github.com/carbon-design-system/carbon-charts#readme",
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@carbon/charts": "^0.
|
|
52
|
+
"@carbon/charts": "^1.0.1",
|
|
53
53
|
"@carbon/icons-react": "^10.49.0",
|
|
54
54
|
"@carbon/telemetry": "0.1.0"
|
|
55
55
|
},
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"rollup-plugin-commonjs": "10.1.0",
|
|
81
81
|
"rollup-plugin-node-resolve": "5.2.0",
|
|
82
82
|
"rollup-plugin-terser": "5.1.2",
|
|
83
|
-
"sass": "1.
|
|
83
|
+
"sass": "1.49.9",
|
|
84
84
|
"sass-loader": "8.0.0",
|
|
85
85
|
"style-loader": "0.19.0",
|
|
86
86
|
"typescript": "4.1.2",
|