@carbon/ibmdotcom-styles 1.52.0 → 1.53.0-rc.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 +6 -6
- package/scss/components/buttongroup/_buttongroup.scss +1 -1
- package/scss/components/callout-with-media/_callout-with-media.scss +1 -1
- package/scss/components/expressive-modal/_expressive-modal.scss +3 -3
- package/scss/components/feature-card/_feature-card.scss +6 -6
- package/scss/components/feature-card-block-large/_feature-card-block-large.scss +2 -2
- package/scss/components/filter-panel/_filter-panel.scss +2 -13
- package/scss/components/horizontalrule/_horizontalrule.scss +2 -2
- package/scss/components/image/_image.scss +1 -1
- package/scss/components/masthead/_masthead-megamenu.scss +4 -4
- package/scss/components/masthead/_masthead.scss +3 -3
- package/scss/components/search-with-typeahead/_search-with-typeahead.scss +5 -5
- package/scss/components/tableofcontents/_tableofcontents.scss +9 -9
- package/scss/components/tabs-extended/_tabs-extended.scss +5 -5
- package/scss/components/tag-link/_tag-link.scss +2 -2
- package/scss/components/universal-banner/_universal-banner.scss +2 -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": "1.
|
|
4
|
+
"version": "1.53.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/ibm-dotcom-styles.min.css",
|
|
7
7
|
"module": "src/scss",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"@carbon/grid": "10.43.2",
|
|
35
35
|
"@carbon/icons-react": "10.49.2",
|
|
36
36
|
"@carbon/import-once": "10.7.0",
|
|
37
|
-
"@carbon/layout": "10.37.
|
|
37
|
+
"@carbon/layout": "10.37.2",
|
|
38
38
|
"@carbon/motion": "10.29.2",
|
|
39
39
|
"@carbon/telemetry": "0.1.0",
|
|
40
40
|
"@carbon/themes": "10.55.3",
|
|
41
|
-
"@carbon/type": "10.45.
|
|
42
|
-
"carbon-components": "10.58.
|
|
41
|
+
"@carbon/type": "10.45.3",
|
|
42
|
+
"carbon-components": "10.58.12"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"carbon-components-react": "7.59.
|
|
45
|
+
"carbon-components-react": "7.59.16",
|
|
46
46
|
"del": "^6.0.0",
|
|
47
47
|
"gulp": "^4.0.2",
|
|
48
48
|
"gulp-autoprefixer": "^6.1.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"node-sass": "^8.0.0",
|
|
54
54
|
"require-dir": "^1.2.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "af3f800ae4236d13d49a16c3d0e2633acf6cb700"
|
|
57
57
|
}
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
@mixin expressive-model {
|
|
18
18
|
$modal: '.#{$prefix}--modal';
|
|
19
|
-
$button-size:
|
|
20
|
-
$icon-size:
|
|
19
|
+
$button-size: rem(48px);
|
|
20
|
+
$icon-size: rem(20px);
|
|
21
21
|
$offset-close-icon: $carbon--spacing-07 - (($button-size - $icon-size) / 2);
|
|
22
22
|
|
|
23
23
|
:host(#{$dds-prefix}-expressive-modal),
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
#{$modal}--expressive--fullwidth #{$modal}-content {
|
|
78
78
|
padding-right: 0;
|
|
79
79
|
height: auto;
|
|
80
|
-
min-height:
|
|
80
|
+
min-height: rem(500px);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -18,7 +18,7 @@ $fcb-large-custom-bp-nocopy: 752px;
|
|
|
18
18
|
$fcb-breakpoint-up--lg: map-get(
|
|
19
19
|
map-get($carbon--grid-breakpoints, 'lg'),
|
|
20
20
|
'width'
|
|
21
|
-
) -
|
|
21
|
+
) - rem(1px);
|
|
22
22
|
|
|
23
23
|
@mixin card {
|
|
24
24
|
@include carbon--breakpoint-down('md') {
|
|
@@ -215,8 +215,8 @@ $fcb-breakpoint-up--lg: map-get(
|
|
|
215
215
|
fill: $inverse-link;
|
|
216
216
|
|
|
217
217
|
@include carbon--breakpoint('sm') {
|
|
218
|
-
width:
|
|
219
|
-
height:
|
|
218
|
+
width: rem(20px);
|
|
219
|
+
height: rem(20px);
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
@include carbon--breakpoint('md') {
|
|
@@ -312,7 +312,7 @@ $fcb-breakpoint-up--lg: map-get(
|
|
|
312
312
|
::slotted(#{$dds-prefix}-card-heading) {
|
|
313
313
|
width: 100%;
|
|
314
314
|
color: $inverse-01;
|
|
315
|
-
max-width:
|
|
315
|
+
max-width: rem(480px);
|
|
316
316
|
|
|
317
317
|
@include carbon--breakpoint('md') {
|
|
318
318
|
width: 90%;
|
|
@@ -399,8 +399,8 @@ $fcb-breakpoint-up--lg: map-get(
|
|
|
399
399
|
fill: $inverse-link;
|
|
400
400
|
|
|
401
401
|
@include carbon--breakpoint('sm') {
|
|
402
|
-
width:
|
|
403
|
-
height:
|
|
402
|
+
width: rem(20px);
|
|
403
|
+
height: rem(20px);
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
@include carbon--breakpoint('md') {
|
|
@@ -18,7 +18,7 @@ $fcb-large-custom-bp-nocopy: 752px;
|
|
|
18
18
|
$fcb-breakpoint-up--lg: map-get(
|
|
19
19
|
map-get($carbon--grid-breakpoints, 'lg'),
|
|
20
20
|
'width'
|
|
21
|
-
) -
|
|
21
|
+
) - rem(1px);
|
|
22
22
|
|
|
23
23
|
@mixin feature-card-block-large {
|
|
24
24
|
:host(#{$dds-prefix}-feature-card-block-large),
|
|
@@ -111,7 +111,7 @@ $fcb-breakpoint-up--lg: map-get(
|
|
|
111
111
|
::slotted(#{$dds-prefix}-card-eyebrow),
|
|
112
112
|
::slotted(#{$dds-prefix}-card-heading) {
|
|
113
113
|
width: 100%;
|
|
114
|
-
max-width:
|
|
114
|
+
max-width: rem(480px);
|
|
115
115
|
@include carbon--breakpoint('md') {
|
|
116
116
|
width: 90%;
|
|
117
117
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2016,
|
|
2
|
+
* Copyright IBM Corp. 2016, 2023
|
|
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.
|
|
@@ -237,18 +237,7 @@
|
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
:host(#{$dds-prefix}-filter-panel-heading) {
|
|
240
|
-
|
|
241
|
-
@include carbon--breakpoint('sm') {
|
|
242
|
-
margin-left: $spacing-05;
|
|
243
|
-
margin-bottom: $spacing-05;
|
|
244
|
-
}
|
|
245
|
-
@include carbon--breakpoint('lg') {
|
|
246
|
-
margin: 0;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
@include carbon--breakpoint-down('lg') {
|
|
250
|
-
display: none;
|
|
251
|
-
}
|
|
240
|
+
display: none;
|
|
252
241
|
}
|
|
253
242
|
|
|
254
243
|
:host(#{$dds-prefix}-filter-group:first-of-type) {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
$low-contrast: $ui-03;
|
|
13
13
|
$medium-contrast: $ui-04;
|
|
14
14
|
$high-contrast: $ui-05;
|
|
15
|
-
$thin-weight:
|
|
15
|
+
$thin-weight: rem(1px);
|
|
16
16
|
|
|
17
17
|
:host(#{$dds-prefix}-hr)[size='small'] {
|
|
18
18
|
@extend .#{$prefix}--hr--small;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
&.#{$prefix}--hr--thick {
|
|
59
|
-
height:
|
|
59
|
+
height: rem(2px);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&.#{$prefix}--hr--low-contrast {
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
text-decoration: none;
|
|
277
277
|
width: 100%;
|
|
278
278
|
margin: 0 $spacing-05;
|
|
279
|
-
border-top:
|
|
279
|
+
border-top: rem(1px) solid $ui-03;
|
|
280
280
|
height: $spacing-09;
|
|
281
281
|
|
|
282
282
|
&:hover,
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
&:hover {
|
|
289
|
-
border-top:
|
|
289
|
+
border-top: rem(1px) solid transparent;
|
|
290
290
|
color: $hover-primary-text;
|
|
291
291
|
}
|
|
292
292
|
}
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
.#{$prefix}--masthead__megamenu__highlight-section {
|
|
338
338
|
min-height: 100%;
|
|
339
339
|
padding-top: rem(18px);
|
|
340
|
-
border-right:
|
|
340
|
+
border-right: rem(1px) solid $ui-03;
|
|
341
341
|
@include carbon--make-col(4, 16);
|
|
342
342
|
}
|
|
343
343
|
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
:host(#{$dds-prefix}-megamenu-left-navigation),
|
|
350
350
|
.#{$prefix}--masthead__megamenu__highlight-section {
|
|
351
351
|
border-right: none;
|
|
352
|
-
border-bottom:
|
|
352
|
+
border-bottom: rem(1px) solid $ui-03;
|
|
353
353
|
column-count: 2;
|
|
354
354
|
column-gap: 0;
|
|
355
355
|
@include carbon--make-col(8, 8);
|
|
@@ -73,11 +73,11 @@ $search-transition-timing: 95ms;
|
|
|
73
73
|
content: '';
|
|
74
74
|
display: block;
|
|
75
75
|
position: absolute;
|
|
76
|
-
right:
|
|
76
|
+
right: rem(-3px);
|
|
77
77
|
top: 50%;
|
|
78
78
|
transform: translateY(-50%);
|
|
79
|
-
height:
|
|
80
|
-
width:
|
|
79
|
+
height: rem(24px);
|
|
80
|
+
width: rem(1px);
|
|
81
81
|
background-color: $ui-03;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
@@ -306,10 +306,10 @@ $button-transition: background-color 110ms, border-color 110ms, color 110ms;
|
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
.react-autosuggest__suggestions-container {
|
|
309
|
-
top:
|
|
309
|
+
top: rem(50px);
|
|
310
310
|
|
|
311
311
|
@include carbon--breakpoint('md') {
|
|
312
|
-
top:
|
|
312
|
+
top: rem(66px);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
|
|
@@ -359,17 +359,17 @@ $button-transition: background-color 110ms, border-color 110ms, color 110ms;
|
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
.react-autosuggest__suggestions-container {
|
|
362
|
-
top:
|
|
362
|
+
top: rem(50px);
|
|
363
363
|
|
|
364
364
|
@include carbon--breakpoint('md') {
|
|
365
|
-
top:
|
|
365
|
+
top: rem(50px);
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
&[sticky-search] {
|
|
372
|
-
top:
|
|
372
|
+
top: rem(80px);
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
&[theme-sticky] {
|
|
@@ -27,7 +27,7 @@ $hover-transition-timing: 95ms;
|
|
|
27
27
|
|
|
28
28
|
.#{$prefix}--tableofcontents__desktop__item {
|
|
29
29
|
a {
|
|
30
|
-
border-left:
|
|
30
|
+
border-left: rem(4px) solid $ui-03;
|
|
31
31
|
color: $text-02;
|
|
32
32
|
|
|
33
33
|
&:hover {
|
|
@@ -129,7 +129,7 @@ $hover-transition-timing: 95ms;
|
|
|
129
129
|
border: none;
|
|
130
130
|
background-color: transparent;
|
|
131
131
|
color: $text-01;
|
|
132
|
-
height:
|
|
132
|
+
height: rem(48px);
|
|
133
133
|
appearance: none;
|
|
134
134
|
@include carbon--type-style(body-short-02);
|
|
135
135
|
@include focus-outline('reset');
|
|
@@ -145,7 +145,7 @@ $hover-transition-timing: 95ms;
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.#{$prefix}--tableofcontents__mobile__select__wrapper {
|
|
148
|
-
height:
|
|
148
|
+
height: rem(47px);
|
|
149
149
|
position: relative;
|
|
150
150
|
display: flex;
|
|
151
151
|
align-items: center;
|
|
@@ -173,9 +173,9 @@ $hover-transition-timing: 95ms;
|
|
|
173
173
|
text-decoration: none;
|
|
174
174
|
display: inline-block;
|
|
175
175
|
width: 100%;
|
|
176
|
-
padding-top:
|
|
177
|
-
padding-bottom:
|
|
178
|
-
padding-left:
|
|
176
|
+
padding-top: rem(12px);
|
|
177
|
+
padding-bottom: rem(12px);
|
|
178
|
+
padding-left: rem(12px);
|
|
179
179
|
@include carbon--type-style('body-long-02');
|
|
180
180
|
}
|
|
181
181
|
|
|
@@ -256,7 +256,7 @@ $hover-transition-timing: 95ms;
|
|
|
256
256
|
@include carbon--breakpoint('lg') {
|
|
257
257
|
filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
|
|
258
258
|
border-bottom: 1px solid $ui-04;
|
|
259
|
-
height:
|
|
259
|
+
height: rem(49px);
|
|
260
260
|
background-color: $ui-01;
|
|
261
261
|
}
|
|
262
262
|
|
|
@@ -269,7 +269,7 @@ $hover-transition-timing: 95ms;
|
|
|
269
269
|
|
|
270
270
|
&:focus {
|
|
271
271
|
outline: 2px solid $focus;
|
|
272
|
-
height:
|
|
272
|
+
height: rem(48px);
|
|
273
273
|
outline-offset: -2px;
|
|
274
274
|
}
|
|
275
275
|
}
|
|
@@ -277,7 +277,7 @@ $hover-transition-timing: 95ms;
|
|
|
277
277
|
|
|
278
278
|
.#{$prefix}--tableofcontents__desktop__item--active a {
|
|
279
279
|
border-bottom: 2px solid $interactive-04;
|
|
280
|
-
padding-bottom:
|
|
280
|
+
padding-bottom: rem(10px);
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
.#{$prefix}--tableofcontents__desktop {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
.#{$prefix}--tabs__nav-link,
|
|
45
45
|
.#{$prefix}--tabs__nav-link:focus,
|
|
46
46
|
.#{$prefix}--tabs__nav-link:active {
|
|
47
|
-
border-bottom:
|
|
47
|
+
border-bottom: rem(2px) solid $border-interactive;
|
|
48
48
|
|
|
49
49
|
p {
|
|
50
50
|
@include type-style('productive-heading-02');
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
white-space: normal;
|
|
69
69
|
background: none;
|
|
70
70
|
border: initial;
|
|
71
|
-
border-bottom:
|
|
71
|
+
border-bottom: rem(2px) solid $ui-03;
|
|
72
72
|
display: inline-flex;
|
|
73
73
|
width: 100%;
|
|
74
74
|
text-align: left;
|
|
@@ -151,13 +151,13 @@
|
|
|
151
151
|
.#{$prefix}--tabs__nav-link {
|
|
152
152
|
width: auto;
|
|
153
153
|
padding: 0;
|
|
154
|
-
border-bottom:
|
|
154
|
+
border-bottom: rem(2px) solid transparent;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
.#{$prefix}--tabs__nav-item {
|
|
158
158
|
width: max-content;
|
|
159
159
|
max-width: calc(100% - #{$spacing-06});
|
|
160
|
-
min-height:
|
|
160
|
+
min-height: rem(26px);
|
|
161
161
|
margin-top: $spacing-06;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -250,7 +250,7 @@ button.#{$prefix}--tabs__nav-link {
|
|
|
250
250
|
&:focus,
|
|
251
251
|
&:active {
|
|
252
252
|
width: rem(160px);
|
|
253
|
-
border-bottom:
|
|
253
|
+
border-bottom: rem(2px);
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
}
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
:host(#{$dds-prefix}-tag-link) a {
|
|
12
12
|
@include carbon--type-style(body-long-01, true);
|
|
13
13
|
|
|
14
|
-
padding:
|
|
15
|
-
border-radius:
|
|
14
|
+
padding: rem(6px) $carbon--spacing-05;
|
|
15
|
+
border-radius: rem(15px);
|
|
16
16
|
background-color: $ui-01;
|
|
17
17
|
color: $text-02;
|
|
18
18
|
text-decoration: none;
|