@carbon/charts-react 1.13.23 → 1.13.24

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 CHANGED
@@ -48,3 +48,12 @@ For instructions on using the **tabular data format**, see
48
48
 
49
49
  Customizable options (specific to chart type) can be found
50
50
  [here](https://charts.carbondesignsystem.com/documentation/modules/interfaces.html)
51
+
52
+ ## <picture><source height="20" width="20" media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-dark.svg"><source height="20" width="20" media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg"><img height="20" width="20" alt="IBM Telemetry" src="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg"></picture> IBM Telemetry
53
+
54
+ This package uses IBM Telemetry to collect metrics data. By installing this
55
+ package as a dependency you are agreeing to telemetry collection. To opt out,
56
+ see
57
+ [Opting out of IBM Telemetry data collection](https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection).
58
+ For more information on the data being collected, please see the
59
+ [IBM Telemetry documentation](https://github.com/ibm-telemetry/telemetry-js/tree/main#ibm-telemetry-collection-basics).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbon/charts-react",
3
- "version": "1.13.23",
3
+ "version": "1.13.24",
4
4
  "description": "Carbon Charts component library for React",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -18,10 +18,11 @@
18
18
  },
19
19
  "files": [
20
20
  "dist",
21
- "README.md"
21
+ "README.md",
22
+ "telemetry.yml"
22
23
  ],
23
24
  "scripts": {
24
- "postinstall": "carbon-telemetry collect --install",
25
+ "postinstall": "ibmtelemetry --config=telemetry.yml",
25
26
  "file:styles": "cp ../core/dist/styles.* dist",
26
27
  "file:downlevel:dts": "downlevel-dts dist dist",
27
28
  "postbundle": "concurrently \"yarn:file:*\"",
@@ -39,9 +40,9 @@
39
40
  "pub:demo": "cp -a demo/bundle/. ../../pages/react"
40
41
  },
41
42
  "dependencies": {
42
- "@carbon/charts": "1.13.23",
43
+ "@carbon/charts": "1.13.24",
43
44
  "@carbon/icons-react": "^11.34.0",
44
- "@carbon/telemetry": "~0.1.0",
45
+ "@ibm/telemetry-js": "^1.2.0",
45
46
  "react": "^18.2.0",
46
47
  "react-dom": "^18.2.0"
47
48
  },
@@ -123,5 +124,5 @@
123
124
  "url": "https://github.com/theiliad"
124
125
  }
125
126
  ],
126
- "gitHead": "f7a0e3aee3ada9dd42cb514179171a2cc52e0d05"
127
+ "gitHead": "de1a4ca6bc427d7196f3d91f72106bb08c5b0204"
127
128
  }
package/telemetry.yml ADDED
@@ -0,0 +1,16 @@
1
+ # yaml-language-server: $schema=https://unpkg.com/@ibm/telemetry-config-schema@v1/dist/config.schema.json
2
+ version: 1
3
+ projectId: 5784a186-6343-49d8-8e9a-1e591596f962
4
+ endpoint: "https://collector-prod.1am6wm210aow.us-south.codeengine.appdomain.cloud/v1/metrics"
5
+ collect:
6
+ npm:
7
+ dependencies: null
8
+ jsx:
9
+ elements:
10
+ allowedAttributeNames:
11
+ # General
12
+ - options
13
+ - data
14
+ # React
15
+ - key
16
+ - ref