@carbon/charts-react 1.9.0-next.0 → 1.9.0-next.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/README.md +2 -7
- 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 +22 -22
package/README.md
CHANGED
|
@@ -4,8 +4,6 @@ Carbon Charts React is a thin React wrapper around the vanilla JavScript `@carbo
|
|
|
4
4
|
|
|
5
5
|
The required styles should be imported from `@carbon/charts-react/styles.css` and `@carbon/styles/css/styles.css`. Additional documentation is provided in the Storybook demos.
|
|
6
6
|
|
|
7
|
-
> Notice: This version relies on **Carbon v11**. If you're using Carbon v10, [see the legacy demo site](https://carbon-charts-0x.netlify.app)
|
|
8
|
-
|
|
9
7
|
**[Storybook demos](https://carbon-design-system.github.io/carbon-charts/react)**
|
|
10
8
|
|
|
11
9
|
**[Storybook demo sources](https://github.com/carbon-design-system/carbon-charts/tree/master/packages/core/demo/data)**
|
|
@@ -15,18 +13,15 @@ The required styles should be imported from `@carbon/charts-react/styles.css` an
|
|
|
15
13
|
Run the following command using [npm](https://www.npmjs.com/):
|
|
16
14
|
|
|
17
15
|
```bash
|
|
18
|
-
npm install -S @carbon/charts-react @carbon/styles d3
|
|
16
|
+
npm install -S @carbon/charts-react @carbon/styles d3 d3-cloud d3-sankey
|
|
19
17
|
```
|
|
20
18
|
|
|
21
19
|
If you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:
|
|
22
20
|
|
|
23
21
|
```bash
|
|
24
|
-
yarn add @carbon/charts-react @carbon/styles d3
|
|
22
|
+
yarn add @carbon/charts-react @carbon/styles d3 d3-cloud d3-sankey
|
|
25
23
|
```
|
|
26
24
|
|
|
27
|
-
**Note:** you'd also need to install `carbon-components` if you're not using a bundled version of
|
|
28
|
-
the library.
|
|
29
|
-
|
|
30
25
|
## Step-by-step instructions
|
|
31
26
|
|
|
32
27
|
Read
|