@carbon/charts 1.9.0-next.1.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 -5
- package/dist/demo/charts/index.d.ts +0 -7
- package/dist/demo/index.js +153 -166
- package/dist/demo/index.js.map +1 -1
- package/dist/demo/index.mjs +1613 -1819
- package/dist/demo/index.mjs.map +1 -1
- package/dist/demo/styles.css.map +1 -1
- package/dist/demo/utils/index.d.ts +1 -1
- package/dist/demo/utils/sandbox.d.ts +10 -11
- package/package.json +15 -16
- package/scss/_colors.scss +1 -1
- package/scss/demos.scss +427 -0
- package/scss/index.scss +6 -6
package/README.md
CHANGED
|
@@ -9,18 +9,15 @@ The required styles should be imported from `@carbon/charts/styles.css` and `@ca
|
|
|
9
9
|
Run the following command using [npm](https://www.npmjs.com/):
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
npm install -S @carbon/charts @carbon/styles d3
|
|
12
|
+
npm install -S @carbon/charts @carbon/styles d3 d3-cloud d3-sankey
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
If you prefer [Yarn](https://yarnpkg.com/en/), use the following command instead:
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
yarn add @carbon/charts @carbon/styles d3
|
|
18
|
+
yarn add @carbon/charts @carbon/styles d3 d3-cloud d3-sankey
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
**Note:** you'd also need to install `carbon-components` if you're not using a bundled version of
|
|
22
|
-
the library.
|
|
23
|
-
|
|
24
21
|
## Step-by-step instructions
|
|
25
22
|
|
|
26
23
|
Read
|
|
@@ -39,13 +39,6 @@ export interface Demo {
|
|
|
39
39
|
};
|
|
40
40
|
data: ChartTabularData;
|
|
41
41
|
options: BaseChartOptions;
|
|
42
|
-
codesandbox: {
|
|
43
|
-
vanilla: string;
|
|
44
|
-
angular?: string;
|
|
45
|
-
react?: string;
|
|
46
|
-
svelte?: string;
|
|
47
|
-
vue?: string;
|
|
48
|
-
};
|
|
49
42
|
code: {
|
|
50
43
|
vanilla: any;
|
|
51
44
|
angular?: any;
|