@carbon/icons-react 10.49.3 → 10.49.4

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
@@ -143,3 +143,12 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md)! 👀
143
143
  ## 📝 License
144
144
 
145
145
  Licensed under the [Apache 2.0 License](/LICENSE).
146
+
147
+ ## <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
148
+
149
+ This package uses IBM Telemetry to collect metrics data. By installing this
150
+ package as a dependency you are agreeing to telemetry collection. To opt out,
151
+ see
152
+ [Opting out of IBM Telemetry data collection](https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection).
153
+ For more information on the data being collected, please see the
154
+ [IBM Telemetry documentation](https://github.com/ibm-telemetry/telemetry-js/tree/main#ibm-telemetry-collection-basics).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/icons-react",
3
3
  "description": "React components for icons in digital and software products using the Carbon Design System",
4
- "version": "10.49.3",
4
+ "version": "10.49.4",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -15,7 +15,8 @@
15
15
  "es",
16
16
  "lib",
17
17
  "umd",
18
- "next"
18
+ "next",
19
+ "telemetry.yml"
19
20
  ],
20
21
  "keywords": [
21
22
  "ibm",
@@ -32,21 +33,21 @@
32
33
  "scripts": {
33
34
  "build": "yarn clean && node tasks/build.js",
34
35
  "clean": "rimraf es lib umd next",
35
- "postinstall": "carbon-telemetry collect --install"
36
+ "postinstall": "ibmtelemetry --config=telemetry.yml"
36
37
  },
37
38
  "peerDependencies": {
38
39
  "react": ">=16"
39
40
  },
40
41
  "dependencies": {
41
- "@carbon/icon-helpers": "^10.28.2",
42
- "@carbon/telemetry": "0.1.0",
42
+ "@carbon/icon-helpers": "^10.28.3",
43
+ "@ibm/telemetry-js": "^1.2.1",
43
44
  "prop-types": "^15.7.2"
44
45
  },
45
46
  "devDependencies": {
46
- "@carbon/icon-build-helpers": "^0.34.2",
47
- "@carbon/icons": "^10.48.3",
47
+ "@carbon/icon-build-helpers": "^0.34.3",
48
+ "@carbon/icons": "^10.48.4",
48
49
  "rimraf": "^3.0.2"
49
50
  },
50
51
  "sideEffects": false,
51
- "gitHead": "3b6545bc316a6bd2a0fd1d8182e6d0d3afe7e7ba"
52
+ "gitHead": "4e41819f51f1294d467e12995c217ed83f695249"
52
53
  }
package/telemetry.yml ADDED
@@ -0,0 +1,22 @@
1
+ # yaml-language-server: $schema=https://unpkg.com/@ibm/telemetry-config-schema@v1/dist/config.schema.json
2
+ version: 1
3
+ projectId: e31e2f56-3767-407b-a854-ad7b9cd27677
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
+ # Icon
12
+ - aria-hidden
13
+ - aria-label
14
+ - aria-labelledby
15
+ - children
16
+ - className
17
+ - height
18
+ - preserveAspectRatio
19
+ - tabIndex
20
+ - viewBox
21
+ - width
22
+ - xmlns