@carbon/pictograms-react 11.57.0 → 11.58.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
@@ -112,3 +112,12 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md)! 👀
112
112
  ## 📝 License
113
113
 
114
114
  Licensed under the [Apache 2.0 License](/LICENSE).
115
+
116
+ ## <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
117
+
118
+ This package uses IBM Telemetry to collect metrics data. By installing this
119
+ package as a dependency you are agreeing to telemetry collection. To opt out,
120
+ see
121
+ [Opting out of IBM Telemetry data collection](https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection).
122
+ For more information on the data being collected, please see the
123
+ [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/pictograms-react",
3
3
  "description": "React components for pictograms in digital and software products using the Carbon Design System",
4
- "version": "11.57.0",
4
+ "version": "11.58.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -14,7 +14,8 @@
14
14
  "files": [
15
15
  "es",
16
16
  "lib",
17
- "umd"
17
+ "umd",
18
+ "telemetry.yml"
18
19
  ],
19
20
  "keywords": [
20
21
  "ibm",
@@ -32,21 +33,21 @@
32
33
  "scripts": {
33
34
  "build": "yarn clean && node tasks/build.js",
34
35
  "clean": "rimraf es lib umd",
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.46.0",
42
- "@carbon/telemetry": "0.1.0",
42
+ "@carbon/icon-helpers": "^10.47.0",
43
+ "@ibm/telemetry-js": "^1.2.1",
43
44
  "prop-types": "^15.7.2"
44
45
  },
45
46
  "devDependencies": {
46
- "@carbon/icon-build-helpers": "^1.22.0",
47
- "@carbon/pictograms": "^12.31.0",
47
+ "@carbon/icon-build-helpers": "^1.23.0",
48
+ "@carbon/pictograms": "^12.32.0",
48
49
  "rimraf": "^5.0.0"
49
50
  },
50
51
  "sideEffects": false,
51
- "gitHead": "741ec54a40159b2438b2b09bf55c013bbff2c4ad"
52
+ "gitHead": "7920f5261d5867837e0b7e6092c98a6597ac0771"
52
53
  }
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: 6ec11acd-6750-42fe-8f88-aa8725537be2
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'