@carbon/ibmdotcom-styles 2.20.0-rc.0 → 2.21.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibmdotcom-styles",
3
3
  "description": "Carbon for IBM.com Styles",
4
- "version": "2.20.0-rc.0",
4
+ "version": "2.21.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/ibm-dotcom-styles.min.css",
7
7
  "module": "src/scss",
@@ -45,8 +45,8 @@
45
45
  "gulp-rename": "^2.0.0",
46
46
  "gulp-sass": "^5.0.0",
47
47
  "require-dir": "^1.2.0",
48
- "sass": "~1.83.0",
48
+ "sass": "~1.84.0",
49
49
  "sass-loader": "^13.0.0"
50
50
  },
51
- "gitHead": "49501ffe7be549fdbd98795022a427ae6a4f5225"
51
+ "gitHead": "6574e60647f425d56225e0909d80ae894376db99"
52
52
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2024
2
+ * Copyright IBM Corp. 2016, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -39,18 +39,16 @@
39
39
  position: absolute;
40
40
  z-index: 1;
41
41
  display: block;
42
+
43
+ background-image: linear-gradient(
44
+ to bottom,
45
+ $background 0%,
46
+ rgba(255, 255, 255, 0) 100%
47
+ );
42
48
  block-size: 100%;
43
49
  inline-size: 100%;
44
50
  inset-block-start: 0;
45
51
  inset-inline-end: 0;
46
-
47
- @include breakpoint(md) {
48
- background-image: linear-gradient(
49
- to bottom,
50
- $background 0%,
51
- rgba(255, 255, 255, 0) 100%
52
- );
53
- }
54
52
  }
55
53
 
56
54
  .#{$prefix}--background-media--gradient--left-to-right {
@@ -1,8 +1,13 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020
2
+ * Copyright IBM Corp. 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
8
  $c4d-prefix: 'c4d' !default;
9
+
10
+ //Radius tokens to be used in 'border-radius'
11
+ $radius-sm: 0.25rem !default;
12
+ $radius-md: 0.5rem !default;
13
+ $radius-lg: 1rem !default;