@carbon/charts-react 1.11.21 → 1.13.0
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/README.md +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +38 -18
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +4249 -781
- 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 +21 -21
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Carbon Charts React is a thin React wrapper around the vanilla JavaScript `@carbon/charts` component library. The charts are based on D3.js, a peer dependency.
|
|
4
4
|
|
|
5
|
-
The required styles should be imported from `@carbon/charts-react/styles.css
|
|
5
|
+
The required styles should be imported from `@carbon/charts-react/styles.css`. Additional documentation is provided in the Storybook demos.
|
|
6
6
|
|
|
7
7
|
**[Storybook demos](https://carbon-design-system.github.io/carbon-charts/react)**
|
|
8
8
|
|
|
@@ -13,13 +13,13 @@ The required styles should be imported from `@carbon/charts-react/styles.css` an
|
|
|
13
13
|
Run the following command using [npm](https://www.npmjs.com/):
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npm install -S @carbon/charts-react
|
|
16
|
+
npm install -S @carbon/charts-react d3 d3-cloud d3-sankey
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
If you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
yarn add @carbon/charts-react
|
|
22
|
+
yarn add @carbon/charts-react d3 d3-cloud d3-sankey
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
## Step-by-step instructions
|