@carbon/ibmdotcom-styles 2.32.1 → 2.34.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 +136 -138
- package/dist/ibm-dotcom-styles.min.css +22 -22
- package/package.json +2 -2
- package/scss/components/card-group/_card-group.scss +1 -1
- package/scss/components/carousel/_carousel.scss +8 -0
- package/scss/components/leadspace/_leadspace.scss +3 -3
- package/scss/components/structured-list/_structured-list.scss +2 -2
- package/scss/components/video-player/_video-player.scss +0 -1
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.34.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/ibm-dotcom-styles.min.css",
|
|
7
7
|
"module": "src/scss",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"sass": "~1.84.0",
|
|
49
49
|
"sass-loader": "^13.0.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "be72e8d88da429b046a4039571fd12c540902cf5"
|
|
52
52
|
}
|
|
@@ -151,6 +151,14 @@
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
+
:host(#{$c4d-prefix}-carousel[dir='rtl'].featured-carousel) {
|
|
155
|
+
nav.cds--carousel__navigation {
|
|
156
|
+
//need to use 'right' to override the LTR property.
|
|
157
|
+
/* stylelint-disable-next-line */
|
|
158
|
+
right: calc(50% + 32px);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
154
162
|
@media print {
|
|
155
163
|
:host(#{$c4d-prefix}-carousel),
|
|
156
164
|
.#{$prefix}--carousel {
|
|
@@ -83,7 +83,7 @@ $btn-min-width: 26;
|
|
|
83
83
|
|
|
84
84
|
@mixin leadspace {
|
|
85
85
|
::slotted([slot='action']) {
|
|
86
|
-
padding-block
|
|
86
|
+
padding-block: $spacing-07;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
:host(#{$c4d-prefix}-leadspace) {
|
|
@@ -279,7 +279,7 @@ $btn-min-width: 26;
|
|
|
279
279
|
|
|
280
280
|
::slotted(#{$c4d-prefix}-leadspace-heading),
|
|
281
281
|
.#{$c4d-prefix}--leadspace__title {
|
|
282
|
-
inline-size: percentage(math.div(
|
|
282
|
+
inline-size: percentage(math.div(6, 16));
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
.#{$c4d-prefix}--leadspace__desc {
|
|
@@ -289,7 +289,7 @@ $btn-min-width: 26;
|
|
|
289
289
|
.#{$c4d-prefix}--leadspace--productive {
|
|
290
290
|
::slotted(#{$c4d-prefix}-leadspace-heading),
|
|
291
291
|
.#{$c4d-prefix}--leadspace__title {
|
|
292
|
-
@include make-col(
|
|
292
|
+
@include make-col(6, 16);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
::slotted(*:nth-child(#{$colNumber})) {
|
|
37
37
|
--cols: var(
|
|
38
38
|
--col-span-md-#{$colNumber},
|
|
39
|
-
var(--col-span-#{$colNumber},
|
|
39
|
+
var(--col-span-#{$colNumber}, 3)
|
|
40
40
|
);
|
|
41
41
|
--width: calc((var(--cols) / var(--max-cols)) * 100%);
|
|
42
42
|
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
border-block-end: 1px solid $layer-accent-01;
|
|
109
109
|
color: $text-primary;
|
|
110
110
|
|
|
111
|
-
@include breakpoint-down(
|
|
111
|
+
@include breakpoint-down(lg) {
|
|
112
112
|
box-shadow: extended-box-shadow();
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -43,7 +43,6 @@ $aspect-ratios: ((16, 9), (9, 16), (2, 1), (1, 2), (4, 3), (3, 4), (1, 1));
|
|
|
43
43
|
:host(#{$c4d-prefix}-video-player[background-mode]),
|
|
44
44
|
.#{$c4d-prefix}--video-player[background-mode] {
|
|
45
45
|
.#{$c4d-prefix}--video-player__video-container {
|
|
46
|
-
padding: 0;
|
|
47
46
|
block-size: 100%;
|
|
48
47
|
}
|
|
49
48
|
|