@carbon/ibmdotcom-styles 2.41.0 → 2.43.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.41.0",
4
+ "version": "2.43.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/ibm-dotcom-styles.min.css",
7
7
  "module": "src/scss",
@@ -30,14 +30,14 @@
30
30
  "upgrade-carbon": "yarn upgrade-interactive @carbon/layout @carbon/styles @carbon/themes @carbon/icons-react --latest --exact"
31
31
  },
32
32
  "dependencies": {
33
- "@carbon/icons-react": "11.73.0",
34
- "@carbon/layout": "11.46.0",
33
+ "@carbon/icons-react": "11.74.0",
34
+ "@carbon/layout": "11.47.0",
35
35
  "@carbon/styles": "1.65.0",
36
- "@carbon/type": "11.52.0",
36
+ "@carbon/type": "11.53.0",
37
37
  "@ibm/telemetry-js": "^1.5.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@carbon/themes": "11.66.0",
40
+ "@carbon/themes": "11.67.0",
41
41
  "del": "^6.0.0",
42
42
  "gulp": "^4.0.2",
43
43
  "gulp-autoprefixer": "^6.1.0",
@@ -48,5 +48,5 @@
48
48
  "sass": "~1.97.0",
49
49
  "sass-loader": "^13.0.0"
50
50
  },
51
- "gitHead": "d5be02ac40fc3c91c3b96c96f0935c1f3e1e92f1"
51
+ "gitHead": "31ab76ce3aba1d4b066fe955bd3188e94bc835b0"
52
52
  }
@@ -359,7 +359,7 @@
359
359
 
360
360
  .#{$prefix}--card__copy {
361
361
  @include breakpoint('md') {
362
- display: block;
362
+ display: grid;
363
363
  overflow: hidden;
364
364
  opacity: 1;
365
365
  transform: translate3d(0, 0, 0);
@@ -152,7 +152,7 @@
152
152
 
153
153
  &[grid-mode='condensed'] {
154
154
  .#{$prefix}--card {
155
- margin-block-end: 0;
155
+ margin-block-end: $spacing-05;
156
156
  }
157
157
  }
158
158
 
@@ -1,7 +1,7 @@
1
1
  //
2
2
  // @license
3
3
  //
4
- // Copyright IBM Corp. 2020, 2025
4
+ // Copyright IBM Corp. 2020, 2026
5
5
  //
6
6
  // This source code is licensed under the Apache-2.0 license found in the
7
7
  // LICENSE file in the root directory of this source tree.
@@ -159,6 +159,32 @@
159
159
  }
160
160
  }
161
161
 
162
+ :host([dir='rtl'].featured-carousel.slide-reverse) {
163
+ nav.cds--carousel__navigation {
164
+ //need to use 'right' to override the LTR property.
165
+ /* stylelint-disable-next-line */
166
+ right: 0;
167
+ }
168
+ }
169
+
170
+ :host-context([dir='ltr']) {
171
+ :host(.slide-reverse) {
172
+ nav.cds--carousel__navigation {
173
+ //need to use 'left' to override the LTR property.
174
+ /* stylelint-disable-next-line */
175
+ left: calc(50% - 32px);
176
+ transform: translateX(-90%);
177
+
178
+ @include breakpoint-down(lg) {
179
+ //need to use 'left' to override the LTR property.
180
+ /* stylelint-disable-next-line */
181
+ left: auto;
182
+ transform: none;
183
+ }
184
+ }
185
+ }
186
+ }
187
+
162
188
  @media print {
163
189
  :host(#{$c4d-prefix}-carousel),
164
190
  .#{$prefix}--carousel {
@@ -143,6 +143,7 @@
143
143
 
144
144
  @include breakpoint(sm) {
145
145
  @include make-row();
146
+ --max-cols: 5;
146
147
 
147
148
  flex-wrap: nowrap;
148
149
  }