@carbon/charts-vue 1.9.0-rc.6 → 1.10.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 +80 -20
- package/README.md +9 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +0 -22118
- package/dist/styles.css.map +1 -1
- package/dist/styles.min.css +1 -1
- package/dist/styles.min.css.map +1 -1
- package/package.json +24 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,41 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
3
|
+
All notable changes to this project will be documented in this file. See
|
|
4
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
## [1.10.1](https://github.com/carbon-design-system/carbon-charts/compare/v1.10.0...v1.10.1) (2023-06-26)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **package.json:** missing devDependencies for storybook
|
|
11
|
+
([#1580](https://github.com/carbon-design-system/carbon-charts/issues/1580))
|
|
12
|
+
([e208fcc](https://github.com/carbon-design-system/carbon-charts/commit/e208fcc77f2adee30800356f974e7f6d0a5103e1))
|
|
13
|
+
|
|
14
|
+
# Change Log
|
|
15
|
+
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
|
+
|
|
19
|
+
# [1.10.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.9.0...v1.10.0) (2023-06-26)
|
|
20
|
+
|
|
21
|
+
**Note:** Version bump only for package @carbon/charts-vue
|
|
22
|
+
|
|
23
|
+
# Change Log
|
|
24
|
+
|
|
25
|
+
All notable changes to this project will be documented in this file. See
|
|
26
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
27
|
+
|
|
28
|
+
# [1.9.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.8.0...v1.9.0) (2023-06-26)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @carbon/charts-vue
|
|
5
31
|
|
|
6
32
|
# [1.8.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.6...v1.8.0) (2023-06-03)
|
|
7
33
|
|
|
8
34
|
### Features
|
|
9
35
|
|
|
10
|
-
- **core:** Add choropleth chart
|
|
36
|
+
- **core:** Add choropleth chart
|
|
37
|
+
([#1487](https://github.com/carbon-design-system/carbon-charts/issues/1487))
|
|
38
|
+
([62caeb1](https://github.com/carbon-design-system/carbon-charts/commit/62caeb1fd6fab9e2a39d85b024f2d9b97f8bd1fa))
|
|
11
39
|
|
|
12
40
|
## [1.7.6](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.5...v1.7.6) (2023-05-01)
|
|
13
41
|
|
|
@@ -169,7 +197,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
169
197
|
|
|
170
198
|
### Bug Fixes
|
|
171
199
|
|
|
172
|
-
- **network-diagrams:** fix styling issues
|
|
200
|
+
- **network-diagrams:** fix styling issues
|
|
201
|
+
([#1377](https://github.com/carbon-design-system/carbon-charts/issues/1377))
|
|
202
|
+
([731b747](https://github.com/carbon-design-system/carbon-charts/commit/731b74708fbd2e239f2cf7f51a2a37b8f30ba3f6))
|
|
173
203
|
|
|
174
204
|
## [1.0.2](https://github.com/carbon-design-system/carbon-charts/compare/v1.0.1...v1.0.2) (2022-05-24)
|
|
175
205
|
|
|
@@ -183,7 +213,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
183
213
|
|
|
184
214
|
### Features
|
|
185
215
|
|
|
186
|
-
- **monorepo:** Carbon v11 migration
|
|
216
|
+
- **monorepo:** Carbon v11 migration
|
|
217
|
+
([#1345](https://github.com/carbon-design-system/carbon-charts/issues/1345))
|
|
218
|
+
([97c6fcd](https://github.com/carbon-design-system/carbon-charts/commit/97c6fcd842b83adbbeadd9fa1362d7727b91e6ff))
|
|
187
219
|
|
|
188
220
|
### BREAKING CHANGES
|
|
189
221
|
|
|
@@ -281,7 +313,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
281
313
|
|
|
282
314
|
### Features
|
|
283
315
|
|
|
284
|
-
- **core:** create heatmap chart
|
|
316
|
+
- **core:** create heatmap chart
|
|
317
|
+
([#1200](https://github.com/carbon-design-system/carbon-charts/issues/1200))
|
|
318
|
+
([a55be0f](https://github.com/carbon-design-system/carbon-charts/commit/a55be0fcec6020b609ab18b2224562aaa9775321))
|
|
285
319
|
|
|
286
320
|
## [0.53.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.53.4...v0.53.5) (2021-12-15)
|
|
287
321
|
|
|
@@ -351,7 +385,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
351
385
|
|
|
352
386
|
### Bug Fixes
|
|
353
387
|
|
|
354
|
-
- **core:** address various accessibility violations
|
|
388
|
+
- **core:** address various accessibility violations
|
|
389
|
+
([#1199](https://github.com/carbon-design-system/carbon-charts/issues/1199))
|
|
390
|
+
([a4ab2c0](https://github.com/carbon-design-system/carbon-charts/commit/a4ab2c0e3a91513a18e5724faa87dfd80c81c248))
|
|
355
391
|
|
|
356
392
|
## [0.50.9](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.8...v0.50.9) (2021-10-20)
|
|
357
393
|
|
|
@@ -425,7 +461,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
425
461
|
|
|
426
462
|
### Features
|
|
427
463
|
|
|
428
|
-
- **core:** create alluvial chart
|
|
464
|
+
- **core:** create alluvial chart
|
|
465
|
+
([#1132](https://github.com/carbon-design-system/carbon-charts/issues/1132))
|
|
466
|
+
([08fa194](https://github.com/carbon-design-system/carbon-charts/commit/08fa194f1c59ab2110c0d221886fc0174c936194)),
|
|
467
|
+
closes [#871](https://github.com/carbon-design-system/carbon-charts/issues/871)
|
|
429
468
|
|
|
430
469
|
## [0.48.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.48.3...v0.48.4) (2021-09-13)
|
|
431
470
|
|
|
@@ -451,7 +490,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
451
490
|
|
|
452
491
|
### Features
|
|
453
492
|
|
|
454
|
-
- **core:** add tree chart
|
|
493
|
+
- **core:** add tree chart
|
|
494
|
+
([#1116](https://github.com/carbon-design-system/carbon-charts/issues/1116))
|
|
495
|
+
([96e4988](https://github.com/carbon-design-system/carbon-charts/commit/96e4988d5b3926f2a9daa642c8ebb62058328aa3))
|
|
455
496
|
|
|
456
497
|
## [0.46.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.46.4...v0.46.5) (2021-09-08)
|
|
457
498
|
|
|
@@ -477,7 +518,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
477
518
|
|
|
478
519
|
### Features
|
|
479
520
|
|
|
480
|
-
- **charts:** add proportional meter chart
|
|
521
|
+
- **charts:** add proportional meter chart
|
|
522
|
+
([#1040](https://github.com/carbon-design-system/carbon-charts/issues/1040))
|
|
523
|
+
([10592e4](https://github.com/carbon-design-system/carbon-charts/commit/10592e40665d104117b8e2d2580e5edc407c3e8d))
|
|
481
524
|
|
|
482
525
|
## [0.45.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.45.0...v0.45.1) (2021-08-23)
|
|
483
526
|
|
|
@@ -507,7 +550,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
507
550
|
|
|
508
551
|
### Features
|
|
509
552
|
|
|
510
|
-
- **charts:** add histogram
|
|
553
|
+
- **charts:** add histogram
|
|
554
|
+
([#1038](https://github.com/carbon-design-system/carbon-charts/issues/1038))
|
|
555
|
+
([07e07b3](https://github.com/carbon-design-system/carbon-charts/commit/07e07b3a2e8bc0eb01a7f4fdfc004e8095fb7b26))
|
|
511
556
|
|
|
512
557
|
## [0.41.103](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.102...v0.41.103) (2021-08-11)
|
|
513
558
|
|
|
@@ -681,7 +726,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
681
726
|
|
|
682
727
|
### Bug Fixes
|
|
683
728
|
|
|
684
|
-
- **core:** fix minor bug with data values that are undefined
|
|
729
|
+
- **core:** fix minor bug with data values that are undefined
|
|
730
|
+
([#1007](https://github.com/carbon-design-system/carbon-charts/issues/1007))
|
|
731
|
+
([5c4db99](https://github.com/carbon-design-system/carbon-charts/commit/5c4db996e3aaf5b8c8146b686945c9eb4a191b46))
|
|
685
732
|
|
|
686
733
|
## [0.41.61](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.60...v0.41.61) (2021-04-28)
|
|
687
734
|
|
|
@@ -1127,7 +1174,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1127
1174
|
|
|
1128
1175
|
### Features
|
|
1129
1176
|
|
|
1130
|
-
- **core:** add title element to main SVG
|
|
1177
|
+
- **core:** add title element to main SVG
|
|
1178
|
+
([#704](https://github.com/carbon-design-system/carbon-charts/issues/704))
|
|
1179
|
+
([c75e1bb](https://github.com/carbon-design-system/carbon-charts/commit/c75e1bbb6fcf15120ea1513ef3ec50d30a46a11d))
|
|
1131
1180
|
|
|
1132
1181
|
## [0.33.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.33.0...v0.33.1) (2020-07-08)
|
|
1133
1182
|
|
|
@@ -1173,7 +1222,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1173
1222
|
|
|
1174
1223
|
### Bug Fixes
|
|
1175
1224
|
|
|
1176
|
-
- update tslint and prettier options
|
|
1225
|
+
- update tslint and prettier options
|
|
1226
|
+
([#661](https://github.com/carbon-design-system/carbon-charts/issues/661))
|
|
1227
|
+
([ebc53d9](https://github.com/carbon-design-system/carbon-charts/commit/ebc53d9f4caea047f656ae98075b9c8ca307b280))
|
|
1177
1228
|
|
|
1178
1229
|
## [0.32.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.32.2...v0.32.3) (2020-06-08)
|
|
1179
1230
|
|
|
@@ -1339,7 +1390,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1339
1390
|
|
|
1340
1391
|
### Features
|
|
1341
1392
|
|
|
1342
|
-
- **core:** add support for horizontal bar charts
|
|
1393
|
+
- **core:** add support for horizontal bar charts
|
|
1394
|
+
([#415](https://github.com/carbon-design-system/carbon-charts/issues/415))
|
|
1395
|
+
([6a480f0](https://github.com/carbon-design-system/carbon-charts/commit/6a480f0))
|
|
1343
1396
|
|
|
1344
1397
|
# [0.27.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.26.1...v0.27.0) (2020-01-20)
|
|
1345
1398
|
|
|
@@ -1405,7 +1458,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1405
1458
|
|
|
1406
1459
|
### Features
|
|
1407
1460
|
|
|
1408
|
-
- **core, angular, react, vue:** Update chart width & height through options
|
|
1461
|
+
- **core, angular, react, vue:** Update chart width & height through options
|
|
1462
|
+
([f050c35](https://github.com/carbon-design-system/carbon-charts/commit/f050c35))
|
|
1409
1463
|
|
|
1410
1464
|
# [0.21.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.20.1...v0.21.0) (2019-12-09)
|
|
1411
1465
|
|
|
@@ -1431,7 +1485,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1431
1485
|
|
|
1432
1486
|
### Bug Fixes
|
|
1433
1487
|
|
|
1434
|
-
- **core:** build optimizations
|
|
1488
|
+
- **core:** build optimizations
|
|
1489
|
+
([fef77e5](https://github.com/carbon-design-system/carbon-charts/commit/fef77e5))
|
|
1435
1490
|
|
|
1436
1491
|
# [0.17.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.16.25...v0.17.0) (2019-11-29)
|
|
1437
1492
|
|
|
@@ -1445,7 +1500,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1445
1500
|
|
|
1446
1501
|
### Bug Fixes
|
|
1447
1502
|
|
|
1448
|
-
- **core, react, angular, vue:** default width & height to 100%, and call setOptions on option
|
|
1503
|
+
- **core, react, angular, vue:** default width & height to 100%, and call setOptions on option
|
|
1504
|
+
change ([db251b4](https://github.com/carbon-design-system/carbon-charts/commit/db251b4))
|
|
1449
1505
|
|
|
1450
1506
|
## [0.16.23](https://github.com/carbon-design-system/carbon-charts/compare/v0.16.22...v0.16.23) (2019-10-25)
|
|
1451
1507
|
|
|
@@ -1655,13 +1711,17 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1655
1711
|
|
|
1656
1712
|
### Bug Fixes
|
|
1657
1713
|
|
|
1658
|
-
- **core:** export patterns as strings of svgs
|
|
1714
|
+
- **core:** export patterns as strings of svgs
|
|
1715
|
+
([#227](https://github.com/carbon-design-system/carbon-charts/issues/227))
|
|
1716
|
+
([14391ae](https://github.com/carbon-design-system/carbon-charts/commit/14391ae))
|
|
1659
1717
|
|
|
1660
1718
|
## [0.11.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.11.4...v0.11.5) (2019-03-26)
|
|
1661
1719
|
|
|
1662
1720
|
### Bug Fixes
|
|
1663
1721
|
|
|
1664
|
-
- **build:** refactor deploy and update package.jsons
|
|
1722
|
+
- **build:** refactor deploy and update package.jsons
|
|
1723
|
+
([#223](https://github.com/carbon-design-system/carbon-charts/issues/223))
|
|
1724
|
+
([fb512cb](https://github.com/carbon-design-system/carbon-charts/commit/fb512cb))
|
|
1665
1725
|
|
|
1666
1726
|
## [0.11.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.11.3...v0.11.4) (2019-03-25)
|
|
1667
1727
|
|
package/README.md
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Carbon Charts Vue
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Carbon Charts Vue is a thin Vue.js wrapper around the vanilla JavScript `@carbon/charts` component library. The charts are based on D3.js, a peer dependency. This version is for Vue.js ^2.7.0. For Vue.js 3.x support, check for the availability of `@carbon/charts-vue@next`.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
> Carbon Charting Vue Wrappers
|
|
5
|
+
The required styles should be imported from `@carbon/charts-vue/styles.css` and `@carbon/styles/css/styles.css`. Additional documentation is provided in the Storybook demos.
|
|
8
6
|
|
|
9
7
|
**[Storybook demos](https://carbon-design-system.github.io/carbon-charts/vue)**
|
|
10
8
|
|
|
@@ -12,40 +10,36 @@
|
|
|
12
10
|
|
|
13
11
|
## Maintenance & support
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
This component library is community-maintained.
|
|
16
14
|
|
|
17
15
|
## Getting started
|
|
18
16
|
|
|
19
17
|
Run the following command using [npm](https://www.npmjs.com/):
|
|
20
18
|
|
|
21
19
|
```bash
|
|
22
|
-
npm install -S @carbon/charts @carbon/
|
|
20
|
+
npm install -S @carbon/charts-vue @carbon/styles d3 d3-cloud d3-sankey
|
|
23
21
|
```
|
|
24
22
|
|
|
25
23
|
If you prefer [Yarn](https://yarnpkg.com/en/), use the following command
|
|
26
24
|
instead:
|
|
27
25
|
|
|
28
26
|
```bash
|
|
29
|
-
yarn add @carbon/charts @carbon/
|
|
27
|
+
yarn add @carbon/charts-vue @carbon/styles d3 d3-cloud d3-sankey
|
|
30
28
|
```
|
|
31
29
|
|
|
32
|
-
**Note:** you'd also need to install `carbon-components` if you're not using a bundled version of the library.
|
|
33
|
-
|
|
34
30
|
## Step-by-step instructions
|
|
35
31
|
|
|
36
32
|
Read [here](https://carbon-design-system.github.io/carbon-charts/?path=/story/docs-getting-started--vue)
|
|
37
33
|
|
|
38
|
-
##
|
|
34
|
+
## StackBlitz examples
|
|
39
35
|
|
|
40
36
|
[Sample use cases can be seen here](https://carbon-design-system.github.io/carbon-charts/vue).
|
|
41
37
|
|
|
42
|
-
**When opening the link above**, click on the **Edit on
|
|
38
|
+
**When opening the link above**, click on the **Edit on StackBlitz** button for each demo to see an isolated project showing you how to reproduce the demo.
|
|
43
39
|
|
|
44
40
|
## Charting data & options
|
|
45
41
|
|
|
46
|
-
Although
|
|
47
|
-
|
|
48
|
-
For instance in the case of a donut chart you're able to pass in an additional field called `center` in your options configuring the donut center.
|
|
42
|
+
Although new charts will be introduced in the future (such as a choropleth), data and options follow the same model for all charts with minor exceptions. For example, in the case of a donut chart, you're able to pass in an additional field called `center` in your options to configure the donut center.
|
|
49
43
|
|
|
50
44
|
For instructions on using the **tabular data format**, see [here](https://carbon-design-system.github.io/carbon-charts/?path=/story/docs-tutorials--tabular-data-format)
|
|
51
45
|
|