@carbon/layout 11.27.1 → 11.28.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
@@ -53,9 +53,9 @@ Licensed under the [Apache 2.0 License](/LICENSE).
53
53
 
54
54
  ## <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
55
55
 
56
- This package uses IBM Telemetry to collect metrics data. By installing this
57
- package as a dependency you are agreeing to telemetry collection. To opt out,
58
- see
56
+ This package uses IBM Telemetry to collect de-identified and anonymized metrics
57
+ data. By installing this package as a dependency you are agreeing to telemetry
58
+ collection. To opt out, see
59
59
  [Opting out of IBM Telemetry data collection](https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection).
60
60
  For more information on the data being collected, please see the
61
61
  [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/layout",
3
3
  "description": "Layout helpers for digital and software products using the Carbon Design System",
4
- "version": "11.27.1",
4
+ "version": "11.28.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -30,15 +30,15 @@
30
30
  "postinstall": "ibmtelemetry --config=telemetry.yml"
31
31
  },
32
32
  "devDependencies": {
33
- "@carbon/cli": "^11.22.1",
33
+ "@carbon/cli": "^11.23.0-rc.0",
34
34
  "@carbon/cli-reporter": "^10.7.0",
35
35
  "@carbon/scss-generator": "^10.18.0",
36
- "@carbon/test-utils": "^10.33.1",
36
+ "@carbon/test-utils": "^10.33.0",
37
37
  "core-js": "^3.16.0",
38
38
  "rimraf": "^6.0.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "@ibm/telemetry-js": "^1.5.0"
42
42
  },
43
- "gitHead": "2df4c295d300f96fae292a00b88f07a99e9a80c7"
43
+ "gitHead": "e48f5e6815bd93e518e8da73c7555590b85cda22"
44
44
  }
@@ -20,8 +20,8 @@ $base-font-size: 16px !default;
20
20
  /// @access public
21
21
  /// @group @carbon/layout
22
22
  @function to-rem($px) {
23
- @if unit($px) != 'px' {
24
- @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
23
+ @if math.unit($px) != 'px' {
24
+ @error "Expected argument $px to be of type `px`, instead received: `#{math.unit($px)}`";
25
25
  }
26
26
 
27
27
  @return math.div($px, $base-font-size) * 1rem;
@@ -35,8 +35,8 @@ $base-font-size: 16px !default;
35
35
  /// @deprecated
36
36
  /// @group @carbon/layout
37
37
  @function rem($px) {
38
- @if unit($px) != 'px' {
39
- @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
38
+ @if math.unit($px) != 'px' {
39
+ @error "Expected argument $px to be of type `px`, instead received: `#{math.unit($px)}`";
40
40
  }
41
41
 
42
42
  @return math.div($px, $base-font-size) * 1rem;
@@ -48,8 +48,8 @@ $base-font-size: 16px !default;
48
48
  /// @access public
49
49
  /// @group @carbon/layout
50
50
  @function em($px) {
51
- @if unit($px) != 'px' {
52
- @error "Expected argument $px to be of type `px`, instead received: `#{unit($px)}`";
51
+ @if math.unit($px) != 'px' {
52
+ @error "Expected argument $px to be of type `px`, instead received: `#{math.unit($px)}`";
53
53
  }
54
54
 
55
55
  @return math.div($px, $base-font-size) * 1em;
package/telemetry.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  # yaml-language-server: $schema=https://unpkg.com/@ibm/telemetry-config-schema@v1/dist/config.schema.json
2
2
  version: 1
3
3
  projectId: bf462a00-a4ac-4660-8554-c59ce1f088e8
4
- endpoint: https://collector-prod.1am6wm210aow.us-south.codeengine.appdomain.cloud/v1/metrics
4
+ endpoint: https://www-api.ibm.com/ibm-telemetry/v1/metrics
5
5
  collect:
6
6
  npm:
7
7
  dependencies: null