@carbon/charts-vue 1.9.0-rc.5 → 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.
Files changed (38) hide show
  1. package/CHANGELOG.md +80 -20
  2. package/LICENSE.md +201 -0
  3. package/README.md +9 -15
  4. package/dist/components/CcvAlluvialChart.d.ts +41 -41
  5. package/dist/components/CcvAreaChart.d.ts +41 -41
  6. package/dist/components/CcvBaseChart.d.ts +29 -29
  7. package/dist/components/CcvBoxplotChart.d.ts +41 -41
  8. package/dist/components/CcvBubbleChart.d.ts +41 -41
  9. package/dist/components/CcvBulletChart.d.ts +41 -41
  10. package/dist/components/CcvChoroplethChart.d.ts +41 -41
  11. package/dist/components/CcvCirclePackChart.d.ts +42 -42
  12. package/dist/components/CcvComboChart.d.ts +42 -42
  13. package/dist/components/CcvDonutChart.d.ts +42 -42
  14. package/dist/components/CcvGaugeChart.d.ts +41 -41
  15. package/dist/components/CcvGroupedBarChart.d.ts +41 -41
  16. package/dist/components/CcvHeatmapChart.d.ts +41 -41
  17. package/dist/components/CcvHistogramChart.d.ts +42 -42
  18. package/dist/components/CcvLineChart.d.ts +42 -42
  19. package/dist/components/CcvLollipopChart.d.ts +42 -42
  20. package/dist/components/CcvMeterChart.d.ts +42 -42
  21. package/dist/components/CcvPieChart.d.ts +41 -41
  22. package/dist/components/CcvRadarChart.d.ts +41 -41
  23. package/dist/components/CcvScatterChart.d.ts +41 -41
  24. package/dist/components/CcvSimpleBarChart.d.ts +41 -41
  25. package/dist/components/CcvStackedAreaChart.d.ts +41 -41
  26. package/dist/components/CcvStackedBarChart.d.ts +41 -41
  27. package/dist/components/CcvTreeChart.d.ts +41 -41
  28. package/dist/components/CcvTreemapChart.d.ts +41 -41
  29. package/dist/components/CcvWordCloudChart.d.ts +41 -41
  30. package/dist/components/index.d.ts +25 -25
  31. package/dist/index.d.ts +6 -6
  32. package/dist/index.js.map +1 -1
  33. package/dist/index.mjs.map +1 -1
  34. package/dist/styles.css +0 -21919
  35. package/dist/styles.css.map +1 -1
  36. package/dist/styles.min.css +1 -1
  37. package/dist/styles.min.css.map +1 -1
  38. package/package.json +32 -23
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
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
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 ([#1487](https://github.com/carbon-design-system/carbon-charts/issues/1487)) ([62caeb1](https://github.com/carbon-design-system/carbon-charts/commit/62caeb1fd6fab9e2a39d85b024f2d9b97f8bd1fa))
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 ([#1377](https://github.com/carbon-design-system/carbon-charts/issues/1377)) ([731b747](https://github.com/carbon-design-system/carbon-charts/commit/731b74708fbd2e239f2cf7f51a2a37b8f30ba3f6))
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 ([#1345](https://github.com/carbon-design-system/carbon-charts/issues/1345)) ([97c6fcd](https://github.com/carbon-design-system/carbon-charts/commit/97c6fcd842b83adbbeadd9fa1362d7727b91e6ff))
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 ([#1200](https://github.com/carbon-design-system/carbon-charts/issues/1200)) ([a55be0f](https://github.com/carbon-design-system/carbon-charts/commit/a55be0fcec6020b609ab18b2224562aaa9775321))
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 ([#1199](https://github.com/carbon-design-system/carbon-charts/issues/1199)) ([a4ab2c0](https://github.com/carbon-design-system/carbon-charts/commit/a4ab2c0e3a91513a18e5724faa87dfd80c81c248))
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 ([#1132](https://github.com/carbon-design-system/carbon-charts/issues/1132)) ([08fa194](https://github.com/carbon-design-system/carbon-charts/commit/08fa194f1c59ab2110c0d221886fc0174c936194)), closes [#871](https://github.com/carbon-design-system/carbon-charts/issues/871)
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 ([#1116](https://github.com/carbon-design-system/carbon-charts/issues/1116)) ([96e4988](https://github.com/carbon-design-system/carbon-charts/commit/96e4988d5b3926f2a9daa642c8ebb62058328aa3))
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 ([#1040](https://github.com/carbon-design-system/carbon-charts/issues/1040)) ([10592e4](https://github.com/carbon-design-system/carbon-charts/commit/10592e40665d104117b8e2d2580e5edc407c3e8d))
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 ([#1038](https://github.com/carbon-design-system/carbon-charts/issues/1038)) ([07e07b3](https://github.com/carbon-design-system/carbon-charts/commit/07e07b3a2e8bc0eb01a7f4fdfc004e8095fb7b26))
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 ([#1007](https://github.com/carbon-design-system/carbon-charts/issues/1007)) ([5c4db99](https://github.com/carbon-design-system/carbon-charts/commit/5c4db996e3aaf5b8c8146b686945c9eb4a191b46))
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 ([#704](https://github.com/carbon-design-system/carbon-charts/issues/704)) ([c75e1bb](https://github.com/carbon-design-system/carbon-charts/commit/c75e1bbb6fcf15120ea1513ef3ec50d30a46a11d))
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 ([#661](https://github.com/carbon-design-system/carbon-charts/issues/661)) ([ebc53d9](https://github.com/carbon-design-system/carbon-charts/commit/ebc53d9f4caea047f656ae98075b9c8ca307b280))
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 ([#415](https://github.com/carbon-design-system/carbon-charts/issues/415)) ([6a480f0](https://github.com/carbon-design-system/carbon-charts/commit/6a480f0))
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 ([f050c35](https://github.com/carbon-design-system/carbon-charts/commit/f050c35))
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 ([fef77e5](https://github.com/carbon-design-system/carbon-charts/commit/fef77e5))
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 change ([db251b4](https://github.com/carbon-design-system/carbon-charts/commit/db251b4))
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 ([#227](https://github.com/carbon-design-system/carbon-charts/issues/227)) ([14391ae](https://github.com/carbon-design-system/carbon-charts/commit/14391ae))
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 ([#223](https://github.com/carbon-design-system/carbon-charts/issues/223)) ([fb512cb](https://github.com/carbon-design-system/carbon-charts/commit/fb512cb))
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/LICENSE.md ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2018 IBM
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -1,10 +1,8 @@
1
- # Notice
1
+ # Carbon Charts Vue
2
2
 
3
- ### This version relies on **Carbon v11**. If you're using Carbon v10, [see the legacy demo site](https://carbon-charts-0x.netlify.app)
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
- ## `@carbon/charts-vue`
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
- These Vue wrappers are community-maintained.
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/charts-vue d3
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/charts-vue d3
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
- ## Codesandbox examples
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 Codesandbox** button for each demo to see an isolated project showing you how to reproduce the demo.
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 we will definitely introduce new models in the future as we start shipping new components such as maps, Data and options follow the same model in all charts, with minor exceptions and differences in specific components.
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
 
@@ -1,41 +1,41 @@
1
- import { type AlluvialChartOptions, type ChartTabularData } from '@carbon/charts';
2
- declare const _sfc_main: import('./vue/dist/vue.esm.js').DefineComponent<{
3
- data: {
4
- type: () => ChartTabularData;
5
- required: true;
6
- };
7
- options: {
8
- type: () => AlluvialChartOptions;
9
- required: true;
10
- };
11
- }, {}, {}, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js').DefineComponent<{
12
- data: {
13
- type: () => ChartTabularData;
14
- required: true;
15
- };
16
- options: {
17
- type: ObjectConstructor;
18
- required: true;
19
- };
20
- }, {}, {
21
- coreChart: import("./CcvBaseChart").CoreChart<any> | null;
22
- }, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
23
- data: {
24
- type: () => ChartTabularData;
25
- required: true;
26
- };
27
- options: {
28
- type: ObjectConstructor;
29
- required: true;
30
- };
31
- }>>, {}>, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
32
- data: {
33
- type: () => ChartTabularData;
34
- required: true;
35
- };
36
- options: {
37
- type: () => AlluvialChartOptions;
38
- required: true;
39
- };
40
- }>>, {}>;
41
- export default _sfc_main;
1
+ import { AlluvialChartOptions, ChartTabularData } from '@carbon/charts';
2
+ declare const _sfc_main: import('./vue/dist/vue.esm.js').DefineComponent<{
3
+ data: {
4
+ type: () => ChartTabularData;
5
+ required: true;
6
+ };
7
+ options: {
8
+ type: () => AlluvialChartOptions;
9
+ required: true;
10
+ };
11
+ }, {}, {}, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js').DefineComponent<{
12
+ data: {
13
+ type: () => ChartTabularData;
14
+ required: true;
15
+ };
16
+ options: {
17
+ type: ObjectConstructor;
18
+ required: true;
19
+ };
20
+ }, {}, {
21
+ coreChart: import("./CcvBaseChart").CoreChart<any> | null;
22
+ }, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
23
+ data: {
24
+ type: () => ChartTabularData;
25
+ required: true;
26
+ };
27
+ options: {
28
+ type: ObjectConstructor;
29
+ required: true;
30
+ };
31
+ }>>, {}>, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
32
+ data: {
33
+ type: () => ChartTabularData;
34
+ required: true;
35
+ };
36
+ options: {
37
+ type: () => AlluvialChartOptions;
38
+ required: true;
39
+ };
40
+ }>>, {}>;
41
+ export default _sfc_main;
@@ -1,41 +1,41 @@
1
- import { AreaChartOptions, ChartTabularData } from '@carbon/charts';
2
- declare const _sfc_main: import('./vue/dist/vue.esm.js').DefineComponent<{
3
- data: {
4
- type: () => ChartTabularData;
5
- required: true;
6
- };
7
- options: {
8
- type: () => AreaChartOptions;
9
- required: true;
10
- };
11
- }, {}, {}, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js').DefineComponent<{
12
- data: {
13
- type: () => ChartTabularData;
14
- required: true;
15
- };
16
- options: {
17
- type: ObjectConstructor;
18
- required: true;
19
- };
20
- }, {}, {
21
- coreChart: import("./CcvBaseChart").CoreChart<any> | null;
22
- }, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
23
- data: {
24
- type: () => ChartTabularData;
25
- required: true;
26
- };
27
- options: {
28
- type: ObjectConstructor;
29
- required: true;
30
- };
31
- }>>, {}>, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
32
- data: {
33
- type: () => ChartTabularData;
34
- required: true;
35
- };
36
- options: {
37
- type: () => AreaChartOptions;
38
- required: true;
39
- };
40
- }>>, {}>;
41
- export default _sfc_main;
1
+ import { AreaChartOptions, ChartTabularData } from '@carbon/charts';
2
+ declare const _sfc_main: import('./vue/dist/vue.esm.js').DefineComponent<{
3
+ data: {
4
+ type: () => ChartTabularData;
5
+ required: true;
6
+ };
7
+ options: {
8
+ type: () => AreaChartOptions;
9
+ required: true;
10
+ };
11
+ }, {}, {}, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js').DefineComponent<{
12
+ data: {
13
+ type: () => ChartTabularData;
14
+ required: true;
15
+ };
16
+ options: {
17
+ type: ObjectConstructor;
18
+ required: true;
19
+ };
20
+ }, {}, {
21
+ coreChart: import("./CcvBaseChart").CoreChart<any> | null;
22
+ }, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
23
+ data: {
24
+ type: () => ChartTabularData;
25
+ required: true;
26
+ };
27
+ options: {
28
+ type: ObjectConstructor;
29
+ required: true;
30
+ };
31
+ }>>, {}>, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
32
+ data: {
33
+ type: () => ChartTabularData;
34
+ required: true;
35
+ };
36
+ options: {
37
+ type: () => AreaChartOptions;
38
+ required: true;
39
+ };
40
+ }>>, {}>;
41
+ export default _sfc_main;