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