@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/dist/ibm-dotcom-styles.css +4 -3
- package/dist/ibm-dotcom-styles.min.css +2 -2
- package/package.json +6 -6
- package/scss/components/card/_card.scss +1 -1
- package/scss/components/card-group/_card-group.scss +1 -1
- package/scss/components/carousel/_carousel.scss +27 -1
- package/scss/components/structured-list/_structured-list.scss +1 -0
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.
|
|
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.
|
|
34
|
-
"@carbon/layout": "11.
|
|
33
|
+
"@carbon/icons-react": "11.74.0",
|
|
34
|
+
"@carbon/layout": "11.47.0",
|
|
35
35
|
"@carbon/styles": "1.65.0",
|
|
36
|
-
"@carbon/type": "11.
|
|
36
|
+
"@carbon/type": "11.53.0",
|
|
37
37
|
"@ibm/telemetry-js": "^1.5.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@carbon/themes": "11.
|
|
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": "
|
|
51
|
+
"gitHead": "31ab76ce3aba1d4b066fe955bd3188e94bc835b0"
|
|
52
52
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//
|
|
2
2
|
// @license
|
|
3
3
|
//
|
|
4
|
-
// Copyright IBM Corp. 2020,
|
|
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 {
|