@carbon/ibmdotcom-styles 2.15.1 → 2.16.0-rc.1
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 +40 -26
- package/dist/ibm-dotcom-styles.min.css +3 -3
- package/package.json +2 -2
- package/scss/components/callout-with-media/_callout-with-media.scss +4 -2
- package/scss/components/feature-card/_feature-card.scss +1 -0
- package/scss/components/feature-section/_feature-section.scss +2 -1
- package/scss/components/footer/_footer.scss +9 -3
- package/scss/components/footer/_legal-nav.scss +2 -2
- package/scss/components/leadspace/_leadspace.scss +8 -8
- package/scss/components/tableofcontents/_table-of-contents.scss +5 -2
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.16.0-rc.1",
|
|
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.79.0",
|
|
49
49
|
"sass-loader": "^13.0.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "a05e9bc0deab9e09d85b61ab2b79bf2319f2dbbb"
|
|
52
52
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2016,
|
|
2
|
+
// Copyright IBM Corp. 2016, 2024
|
|
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.
|
|
@@ -96,6 +96,8 @@
|
|
|
96
96
|
:host(#{$c4d-prefix}-callout-with-media-video)
|
|
97
97
|
::slotted(#{$c4d-prefix}-video-player) {
|
|
98
98
|
@extend :host(#{$c4d-prefix}-callout-caption);
|
|
99
|
+
|
|
100
|
+
margin-block-end: 0;
|
|
99
101
|
}
|
|
100
102
|
|
|
101
103
|
:host(#{$c4d-prefix}-callout-with-media-image[color-scheme='inverse'])
|
|
@@ -159,7 +161,7 @@
|
|
|
159
161
|
.#{$prefix}--callout-with-media
|
|
160
162
|
.#{$prefix}--callout__content
|
|
161
163
|
.#{$prefix}--content-block {
|
|
162
|
-
padding-block-end: $spacing-
|
|
164
|
+
padding-block-end: $spacing-07;
|
|
163
165
|
}
|
|
164
166
|
|
|
165
167
|
:host(#{$c4d-prefix}-callout-with-media-image),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2016,
|
|
2
|
+
* Copyright IBM Corp. 2016, 2024
|
|
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.
|
|
@@ -121,6 +121,7 @@
|
|
|
121
121
|
|
|
122
122
|
::slotted(#{$c4d-prefix}-image) {
|
|
123
123
|
overflow: hidden;
|
|
124
|
+
block-size: 100%;
|
|
124
125
|
|
|
125
126
|
@include breakpoint(sm) {
|
|
126
127
|
block-size: aspect-ratio(1, 1);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2016,
|
|
2
|
+
* Copyright IBM Corp. 2016, 2024
|
|
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.
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
|
|
113
113
|
:host(#{$c4d-prefix}-footer-nav-item),
|
|
114
114
|
:host(#{$c4d-prefix}-legal-nav-item),
|
|
115
|
-
:host(#{$c4d-prefix}-legal-nav-cookie-preferences-placeholder)
|
|
115
|
+
:host(#{$c4d-prefix}-legal-nav-cookie-preferences-placeholder) {
|
|
116
116
|
@include theme($g100, feature-flag-enabled('enable-css-custom-properties'));
|
|
117
117
|
|
|
118
118
|
display: list-item;
|
|
@@ -142,6 +142,12 @@
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
+
:host(#{$c4d-prefix}-legal-nav-cookie-preferences-placeholder) {
|
|
146
|
+
.#{$prefix}--footer__link.#{$prefix}--link {
|
|
147
|
+
cursor: pointer;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
145
151
|
:host(#{$c4d-prefix}-legal-nav) {
|
|
146
152
|
@include theme($g100, feature-flag-enabled('enable-css-custom-properties'));
|
|
147
153
|
|
|
@@ -220,7 +226,7 @@
|
|
|
220
226
|
@include make-container;
|
|
221
227
|
}
|
|
222
228
|
}
|
|
223
|
-
.#{$prefix}--adjunct-links__container--hidden {
|
|
229
|
+
.#{$c4d-prefix}--adjunct-links__container--hidden {
|
|
224
230
|
display: none;
|
|
225
231
|
}
|
|
226
232
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2016,
|
|
2
|
+
* Copyright IBM Corp. 2016, 2024
|
|
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.
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
:host(#{$c4d-prefix}-legal-nav-item),
|
|
201
|
-
:host(#{$c4d-prefix}-legal-nav-cookie-preferences-placeholder)
|
|
201
|
+
:host(#{$c4d-prefix}-legal-nav-cookie-preferences-placeholder),
|
|
202
202
|
.#{$prefix}--legal-nav__list-item {
|
|
203
203
|
padding: $spacing-03 0 0 0;
|
|
204
204
|
margin-inline-end: $spacing-07;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2016,
|
|
2
|
+
* Copyright IBM Corp. 2016, 2024
|
|
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.
|
|
@@ -513,8 +513,8 @@ $btn-min-width: 26;
|
|
|
513
513
|
|
|
514
514
|
:host(#{$c4d-prefix}-leadspace)[size='super'] {
|
|
515
515
|
@include breakpoint(lg) {
|
|
516
|
-
.#{$c4d-prefix}--
|
|
517
|
-
block-size:
|
|
516
|
+
.#{$c4d-prefix}--leadspace--content__container {
|
|
517
|
+
min-block-size: 38rem;
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
|
|
@@ -527,8 +527,8 @@ $btn-min-width: 26;
|
|
|
527
527
|
|
|
528
528
|
:host(#{$c4d-prefix}-leadspace)[size='medium'] {
|
|
529
529
|
@include breakpoint(lg) {
|
|
530
|
-
.#{$c4d-prefix}--
|
|
531
|
-
block-size:
|
|
530
|
+
.#{$c4d-prefix}--leadspace--content__container {
|
|
531
|
+
min-block-size: 28rem;
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
|
|
@@ -548,7 +548,7 @@ $btn-min-width: 26;
|
|
|
548
548
|
:host(#{$c4d-prefix}-leadspace)[size='short'] {
|
|
549
549
|
@include breakpoint(lg) {
|
|
550
550
|
.#{$c4d-prefix}--leadspace__overlay {
|
|
551
|
-
block-size: 20rem;
|
|
551
|
+
min-block-size: 20rem;
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
|
|
@@ -578,8 +578,8 @@ $btn-min-width: 26;
|
|
|
578
578
|
|
|
579
579
|
:host(#{$c4d-prefix}-leadspace)[size='tall'] {
|
|
580
580
|
@include breakpoint(lg) {
|
|
581
|
-
.#{$c4d-prefix}--
|
|
582
|
-
block-size:
|
|
581
|
+
.#{$c4d-prefix}--leadspace--content__container {
|
|
582
|
+
min-block-size: 33rem;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
|
|
@@ -102,14 +102,17 @@ $hover-transition-timing: 95ms;
|
|
|
102
102
|
|
|
103
103
|
position: inherit;
|
|
104
104
|
z-index: 10;
|
|
105
|
-
|
|
105
|
+
|
|
106
|
+
box-sizing: border-box;
|
|
106
107
|
inset-block-start: auto;
|
|
108
|
+
padding-inline-start: 0;
|
|
107
109
|
}
|
|
108
110
|
|
|
109
111
|
.#{$prefix}--tableofcontents__content {
|
|
110
112
|
@extend .#{$prefix}--col-lg-12;
|
|
111
113
|
|
|
112
|
-
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
padding-block: $spacing-05 $spacing-09;
|
|
113
116
|
}
|
|
114
117
|
|
|
115
118
|
.#{$prefix}--tableofcontents {
|