@carbon/icons-react 11.37.0 → 11.38.0-rc.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 CHANGED
@@ -152,3 +152,12 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md)! 👀
152
152
  ## 📝 License
153
153
 
154
154
  Licensed under the [Apache 2.0 License](/LICENSE).
155
+
156
+ ## <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
157
+
158
+ This package uses IBM Telemetry to collect metrics data. By installing this
159
+ package as a dependency you are agreeing to telemetry collection. To opt out,
160
+ see
161
+ [Opting out of IBM Telemetry data collection](https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection).
162
+ For more information on the data being collected, please see the
163
+ [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": "11.37.0",
4
+ "version": "11.38.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -13,7 +13,8 @@
13
13
  "bugs": "https://github.com/carbon-design-system/carbon/issues",
14
14
  "files": [
15
15
  "es",
16
- "lib"
16
+ "lib",
17
+ "telemetry.yml"
17
18
  ],
18
19
  "keywords": [
19
20
  "ibm",
@@ -31,21 +32,21 @@
31
32
  "scripts": {
32
33
  "build": "yarn clean && node tasks/build.js",
33
34
  "clean": "rimraf es lib",
34
- "postinstall": "carbon-telemetry collect --install"
35
+ "postinstall": "ibmtelemetry --config=telemetry.yml"
35
36
  },
36
37
  "peerDependencies": {
37
38
  "react": ">=16"
38
39
  },
39
40
  "dependencies": {
40
- "@carbon/icon-helpers": "^10.46.0",
41
- "@carbon/telemetry": "0.1.0",
41
+ "@carbon/icon-helpers": "^10.47.0-rc.0",
42
+ "@ibm/telemetry-js": "^1.2.1",
42
43
  "prop-types": "^15.7.2"
43
44
  },
44
45
  "devDependencies": {
45
- "@carbon/icon-build-helpers": "^1.22.0",
46
- "@carbon/icons": "^11.37.0",
46
+ "@carbon/icon-build-helpers": "^1.23.0-rc.0",
47
+ "@carbon/icons": "^11.38.0-rc.0",
47
48
  "rimraf": "^5.0.0"
48
49
  },
49
50
  "sideEffects": false,
50
- "gitHead": "4f119eac6b9dbcf910a64cd89fddacbc9c61ef8c"
51
+ "gitHead": "fd9030978919c8d2ce0c102db94aeabf88563c34"
51
52
  }
package/telemetry.yml ADDED
@@ -0,0 +1,27 @@
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
+ - title
21
+ - viewBox
22
+ - width
23
+ - xmlns
24
+ allowedAttributeStringValues:
25
+ # Icon - aria-hidden
26
+ - 'false'
27
+ - 'true'