@carbon/charts-vue 1.9.0-rc.6 → 1.10.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 +89 -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,50 @@
|
|
|
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.2](https://github.com/carbon-design-system/carbon-charts/compare/v1.10.1...v1.10.2) (2023-06-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @carbon/charts-vue
|
|
9
|
+
|
|
10
|
+
# Change Log
|
|
11
|
+
|
|
12
|
+
All notable changes to this project will be documented in this file. See
|
|
13
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
14
|
+
|
|
15
|
+
## [1.10.1](https://github.com/carbon-design-system/carbon-charts/compare/v1.10.0...v1.10.1) (2023-06-26)
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
- **package.json:** missing devDependencies for storybook
|
|
20
|
+
([#1580](https://github.com/carbon-design-system/carbon-charts/issues/1580))
|
|
21
|
+
([e208fcc](https://github.com/carbon-design-system/carbon-charts/commit/e208fcc77f2adee30800356f974e7f6d0a5103e1))
|
|
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.10.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.9.0...v1.10.0) (2023-06-26)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @carbon/charts-vue
|
|
31
|
+
|
|
32
|
+
# Change Log
|
|
33
|
+
|
|
34
|
+
All notable changes to this project will be documented in this file. See
|
|
35
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
36
|
+
|
|
37
|
+
# [1.9.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.8.0...v1.9.0) (2023-06-26)
|
|
38
|
+
|
|
39
|
+
**Note:** Version bump only for package @carbon/charts-vue
|
|
5
40
|
|
|
6
41
|
# [1.8.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.6...v1.8.0) (2023-06-03)
|
|
7
42
|
|
|
8
43
|
### Features
|
|
9
44
|
|
|
10
|
-
- **core:** Add choropleth chart
|
|
45
|
+
- **core:** Add choropleth chart
|
|
46
|
+
([#1487](https://github.com/carbon-design-system/carbon-charts/issues/1487))
|
|
47
|
+
([62caeb1](https://github.com/carbon-design-system/carbon-charts/commit/62caeb1fd6fab9e2a39d85b024f2d9b97f8bd1fa))
|
|
11
48
|
|
|
12
49
|
## [1.7.6](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.5...v1.7.6) (2023-05-01)
|
|
13
50
|
|
|
@@ -169,7 +206,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
169
206
|
|
|
170
207
|
### Bug Fixes
|
|
171
208
|
|
|
172
|
-
- **network-diagrams:** fix styling issues
|
|
209
|
+
- **network-diagrams:** fix styling issues
|
|
210
|
+
([#1377](https://github.com/carbon-design-system/carbon-charts/issues/1377))
|
|
211
|
+
([731b747](https://github.com/carbon-design-system/carbon-charts/commit/731b74708fbd2e239f2cf7f51a2a37b8f30ba3f6))
|
|
173
212
|
|
|
174
213
|
## [1.0.2](https://github.com/carbon-design-system/carbon-charts/compare/v1.0.1...v1.0.2) (2022-05-24)
|
|
175
214
|
|
|
@@ -183,7 +222,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
183
222
|
|
|
184
223
|
### Features
|
|
185
224
|
|
|
186
|
-
- **monorepo:** Carbon v11 migration
|
|
225
|
+
- **monorepo:** Carbon v11 migration
|
|
226
|
+
([#1345](https://github.com/carbon-design-system/carbon-charts/issues/1345))
|
|
227
|
+
([97c6fcd](https://github.com/carbon-design-system/carbon-charts/commit/97c6fcd842b83adbbeadd9fa1362d7727b91e6ff))
|
|
187
228
|
|
|
188
229
|
### BREAKING CHANGES
|
|
189
230
|
|
|
@@ -281,7 +322,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
281
322
|
|
|
282
323
|
### Features
|
|
283
324
|
|
|
284
|
-
- **core:** create heatmap chart
|
|
325
|
+
- **core:** create heatmap chart
|
|
326
|
+
([#1200](https://github.com/carbon-design-system/carbon-charts/issues/1200))
|
|
327
|
+
([a55be0f](https://github.com/carbon-design-system/carbon-charts/commit/a55be0fcec6020b609ab18b2224562aaa9775321))
|
|
285
328
|
|
|
286
329
|
## [0.53.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.53.4...v0.53.5) (2021-12-15)
|
|
287
330
|
|
|
@@ -351,7 +394,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
351
394
|
|
|
352
395
|
### Bug Fixes
|
|
353
396
|
|
|
354
|
-
- **core:** address various accessibility violations
|
|
397
|
+
- **core:** address various accessibility violations
|
|
398
|
+
([#1199](https://github.com/carbon-design-system/carbon-charts/issues/1199))
|
|
399
|
+
([a4ab2c0](https://github.com/carbon-design-system/carbon-charts/commit/a4ab2c0e3a91513a18e5724faa87dfd80c81c248))
|
|
355
400
|
|
|
356
401
|
## [0.50.9](https://github.com/carbon-design-system/carbon-charts/compare/v0.50.8...v0.50.9) (2021-10-20)
|
|
357
402
|
|
|
@@ -425,7 +470,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
425
470
|
|
|
426
471
|
### Features
|
|
427
472
|
|
|
428
|
-
- **core:** create alluvial chart
|
|
473
|
+
- **core:** create alluvial chart
|
|
474
|
+
([#1132](https://github.com/carbon-design-system/carbon-charts/issues/1132))
|
|
475
|
+
([08fa194](https://github.com/carbon-design-system/carbon-charts/commit/08fa194f1c59ab2110c0d221886fc0174c936194)),
|
|
476
|
+
closes [#871](https://github.com/carbon-design-system/carbon-charts/issues/871)
|
|
429
477
|
|
|
430
478
|
## [0.48.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.48.3...v0.48.4) (2021-09-13)
|
|
431
479
|
|
|
@@ -451,7 +499,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
451
499
|
|
|
452
500
|
### Features
|
|
453
501
|
|
|
454
|
-
- **core:** add tree chart
|
|
502
|
+
- **core:** add tree chart
|
|
503
|
+
([#1116](https://github.com/carbon-design-system/carbon-charts/issues/1116))
|
|
504
|
+
([96e4988](https://github.com/carbon-design-system/carbon-charts/commit/96e4988d5b3926f2a9daa642c8ebb62058328aa3))
|
|
455
505
|
|
|
456
506
|
## [0.46.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.46.4...v0.46.5) (2021-09-08)
|
|
457
507
|
|
|
@@ -477,7 +527,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
477
527
|
|
|
478
528
|
### Features
|
|
479
529
|
|
|
480
|
-
- **charts:** add proportional meter chart
|
|
530
|
+
- **charts:** add proportional meter chart
|
|
531
|
+
([#1040](https://github.com/carbon-design-system/carbon-charts/issues/1040))
|
|
532
|
+
([10592e4](https://github.com/carbon-design-system/carbon-charts/commit/10592e40665d104117b8e2d2580e5edc407c3e8d))
|
|
481
533
|
|
|
482
534
|
## [0.45.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.45.0...v0.45.1) (2021-08-23)
|
|
483
535
|
|
|
@@ -507,7 +559,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
507
559
|
|
|
508
560
|
### Features
|
|
509
561
|
|
|
510
|
-
- **charts:** add histogram
|
|
562
|
+
- **charts:** add histogram
|
|
563
|
+
([#1038](https://github.com/carbon-design-system/carbon-charts/issues/1038))
|
|
564
|
+
([07e07b3](https://github.com/carbon-design-system/carbon-charts/commit/07e07b3a2e8bc0eb01a7f4fdfc004e8095fb7b26))
|
|
511
565
|
|
|
512
566
|
## [0.41.103](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.102...v0.41.103) (2021-08-11)
|
|
513
567
|
|
|
@@ -681,7 +735,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
681
735
|
|
|
682
736
|
### Bug Fixes
|
|
683
737
|
|
|
684
|
-
- **core:** fix minor bug with data values that are undefined
|
|
738
|
+
- **core:** fix minor bug with data values that are undefined
|
|
739
|
+
([#1007](https://github.com/carbon-design-system/carbon-charts/issues/1007))
|
|
740
|
+
([5c4db99](https://github.com/carbon-design-system/carbon-charts/commit/5c4db996e3aaf5b8c8146b686945c9eb4a191b46))
|
|
685
741
|
|
|
686
742
|
## [0.41.61](https://github.com/carbon-design-system/carbon-charts/compare/v0.41.60...v0.41.61) (2021-04-28)
|
|
687
743
|
|
|
@@ -1127,7 +1183,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1127
1183
|
|
|
1128
1184
|
### Features
|
|
1129
1185
|
|
|
1130
|
-
- **core:** add title element to main SVG
|
|
1186
|
+
- **core:** add title element to main SVG
|
|
1187
|
+
([#704](https://github.com/carbon-design-system/carbon-charts/issues/704))
|
|
1188
|
+
([c75e1bb](https://github.com/carbon-design-system/carbon-charts/commit/c75e1bbb6fcf15120ea1513ef3ec50d30a46a11d))
|
|
1131
1189
|
|
|
1132
1190
|
## [0.33.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.33.0...v0.33.1) (2020-07-08)
|
|
1133
1191
|
|
|
@@ -1173,7 +1231,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1173
1231
|
|
|
1174
1232
|
### Bug Fixes
|
|
1175
1233
|
|
|
1176
|
-
- update tslint and prettier options
|
|
1234
|
+
- update tslint and prettier options
|
|
1235
|
+
([#661](https://github.com/carbon-design-system/carbon-charts/issues/661))
|
|
1236
|
+
([ebc53d9](https://github.com/carbon-design-system/carbon-charts/commit/ebc53d9f4caea047f656ae98075b9c8ca307b280))
|
|
1177
1237
|
|
|
1178
1238
|
## [0.32.3](https://github.com/carbon-design-system/carbon-charts/compare/v0.32.2...v0.32.3) (2020-06-08)
|
|
1179
1239
|
|
|
@@ -1339,7 +1399,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1339
1399
|
|
|
1340
1400
|
### Features
|
|
1341
1401
|
|
|
1342
|
-
- **core:** add support for horizontal bar charts
|
|
1402
|
+
- **core:** add support for horizontal bar charts
|
|
1403
|
+
([#415](https://github.com/carbon-design-system/carbon-charts/issues/415))
|
|
1404
|
+
([6a480f0](https://github.com/carbon-design-system/carbon-charts/commit/6a480f0))
|
|
1343
1405
|
|
|
1344
1406
|
# [0.27.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.26.1...v0.27.0) (2020-01-20)
|
|
1345
1407
|
|
|
@@ -1405,7 +1467,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1405
1467
|
|
|
1406
1468
|
### Features
|
|
1407
1469
|
|
|
1408
|
-
- **core, angular, react, vue:** Update chart width & height through options
|
|
1470
|
+
- **core, angular, react, vue:** Update chart width & height through options
|
|
1471
|
+
([f050c35](https://github.com/carbon-design-system/carbon-charts/commit/f050c35))
|
|
1409
1472
|
|
|
1410
1473
|
# [0.21.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.20.1...v0.21.0) (2019-12-09)
|
|
1411
1474
|
|
|
@@ -1431,7 +1494,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1431
1494
|
|
|
1432
1495
|
### Bug Fixes
|
|
1433
1496
|
|
|
1434
|
-
- **core:** build optimizations
|
|
1497
|
+
- **core:** build optimizations
|
|
1498
|
+
([fef77e5](https://github.com/carbon-design-system/carbon-charts/commit/fef77e5))
|
|
1435
1499
|
|
|
1436
1500
|
# [0.17.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.16.25...v0.17.0) (2019-11-29)
|
|
1437
1501
|
|
|
@@ -1445,7 +1509,8 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1445
1509
|
|
|
1446
1510
|
### Bug Fixes
|
|
1447
1511
|
|
|
1448
|
-
- **core, react, angular, vue:** default width & height to 100%, and call setOptions on option
|
|
1512
|
+
- **core, react, angular, vue:** default width & height to 100%, and call setOptions on option
|
|
1513
|
+
change ([db251b4](https://github.com/carbon-design-system/carbon-charts/commit/db251b4))
|
|
1449
1514
|
|
|
1450
1515
|
## [0.16.23](https://github.com/carbon-design-system/carbon-charts/compare/v0.16.22...v0.16.23) (2019-10-25)
|
|
1451
1516
|
|
|
@@ -1655,13 +1720,17 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
1655
1720
|
|
|
1656
1721
|
### Bug Fixes
|
|
1657
1722
|
|
|
1658
|
-
- **core:** export patterns as strings of svgs
|
|
1723
|
+
- **core:** export patterns as strings of svgs
|
|
1724
|
+
([#227](https://github.com/carbon-design-system/carbon-charts/issues/227))
|
|
1725
|
+
([14391ae](https://github.com/carbon-design-system/carbon-charts/commit/14391ae))
|
|
1659
1726
|
|
|
1660
1727
|
## [0.11.5](https://github.com/carbon-design-system/carbon-charts/compare/v0.11.4...v0.11.5) (2019-03-26)
|
|
1661
1728
|
|
|
1662
1729
|
### Bug Fixes
|
|
1663
1730
|
|
|
1664
|
-
- **build:** refactor deploy and update package.jsons
|
|
1731
|
+
- **build:** refactor deploy and update package.jsons
|
|
1732
|
+
([#223](https://github.com/carbon-design-system/carbon-charts/issues/223))
|
|
1733
|
+
([fb512cb](https://github.com/carbon-design-system/carbon-charts/commit/fb512cb))
|
|
1665
1734
|
|
|
1666
1735
|
## [0.11.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.11.3...v0.11.4) (2019-03-25)
|
|
1667
1736
|
|
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
|
|