@carbon/ibmdotcom-styles 2.11.1-rc.0 → 2.12.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/dist/ibm-dotcom-styles.css +5148 -5129
- package/dist/ibm-dotcom-styles.min.css +5 -5
- package/package.json +7 -7
- package/scss/components/card/_card.scss +2 -2
- package/scss/components/card-group/_card-group.scss +2 -2
- package/scss/components/card-in-card/_card-in-card.scss +2 -2
- package/scss/components/content-block-mixed/_content-block-mixed.scss +2 -2
- package/scss/components/cta-block/_cta-block.scss +2 -2
- package/scss/components/cta-section/_cta-section.scss +2 -2
- package/scss/components/feature-card/_feature-card.scss +3 -4
- package/scss/components/footer/_language-selector.scss +3 -3
- package/scss/components/image/_image.scss +2 -2
- package/scss/components/leadspace-block/_leadspace-block.scss +2 -2
- package/scss/components/search-with-typeahead/_search-with-typeahead.scss +2 -2
- package/scss/components/tabs-extended/_tabs-extended.scss +2 -2
- package/scss/globals/utils/_content-width.scss +3 -3
- package/scss/patterns/blocks/callout-data/_callout-data.scss +6 -6
- package/scss/patterns/blocks/leadspace-block/_leadspace-block.scss +3 -3
- package/scss/patterns/sections/cta-section/_cta-section.scss +2 -2
- package/scss/patterns/sections/leadspace/_leadspace.scss +6 -6
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.12.0-rc.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.
|
|
35
|
-
"@carbon/styles": "1.
|
|
36
|
-
"@carbon/type": "11.
|
|
33
|
+
"@carbon/icons-react": "11.47.1",
|
|
34
|
+
"@carbon/layout": "11.24.0",
|
|
35
|
+
"@carbon/styles": "1.63.1",
|
|
36
|
+
"@carbon/type": "11.29.0",
|
|
37
37
|
"@ibm/telemetry-js": "^1.5.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@carbon/themes": "11.
|
|
40
|
+
"@carbon/themes": "11.38.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.77.0",
|
|
49
49
|
"sass-loader": "^13.0.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "7fc6aeba31bf4f47c5b07812c89f95423ac0bd01"
|
|
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.
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
display: flex;
|
|
121
121
|
flex: 1;
|
|
122
122
|
justify-content: space-between;
|
|
123
|
-
min-block-size:
|
|
123
|
+
min-block-size: $spacing-13;
|
|
124
124
|
transition: $duration-moderate-01 motion(standard, productive);
|
|
125
125
|
|
|
126
126
|
@include ratio-base(2, 1, false);
|
|
@@ -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.
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
.#{$prefix}--image {
|
|
66
66
|
&__img {
|
|
67
|
-
block-size:
|
|
67
|
+
block-size: to-rem(240px);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
@include breakpoint(lg) {
|
|
@@ -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.
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
:host(#{$c4d-prefix}-card-in-card)[grid-mode='narrow'],
|
|
158
158
|
.#{$prefix}--card-in-card--narrow {
|
|
159
159
|
@include breakpoint(lg) {
|
|
160
|
-
inline-size: calc(100% - #{
|
|
160
|
+
inline-size: calc(100% - #{$spacing-05});
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
.#{$prefix}--card__wrapper {
|
|
@@ -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.
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.#{$prefix}--content-block__cta-col {
|
|
42
|
-
max-inline-size:
|
|
42
|
+
max-inline-size: to-rem(320px);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -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.
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
padding-block-end: $spacing-09;
|
|
156
156
|
|
|
157
157
|
@include breakpoint(lg) {
|
|
158
|
-
padding-block-end:
|
|
158
|
+
padding-block-end: $spacing-11;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
.#{$prefix}--cta-block__cta {
|
|
@@ -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.
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
padding-block-end: $spacing-09;
|
|
155
155
|
|
|
156
156
|
@include breakpoint(lg) {
|
|
157
|
-
padding-block-end:
|
|
157
|
+
padding-block-end: $spacing-11;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
.#{$prefix}--cta-section__cta {
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
@use '../../components/card';
|
|
22
22
|
@use '../../globals/utils/aspect-ratio' as *;
|
|
23
23
|
@use '../../globals/utils/hang' as *;
|
|
24
|
-
@use '../../../../web-components/src/components/card/card' as *;
|
|
25
24
|
|
|
26
25
|
$fcb-large-custom-bp-copy: 992px;
|
|
27
26
|
$fcb-large-custom-bp-nocopy: 752px;
|
|
@@ -169,12 +168,12 @@ $feature-flags: (
|
|
|
169
168
|
@include breakpoint-down(md) {
|
|
170
169
|
.#{$prefix}--card__content {
|
|
171
170
|
justify-content: space-between;
|
|
172
|
-
padding:
|
|
171
|
+
padding: $spacing-05;
|
|
173
172
|
block-size: 100%;
|
|
174
173
|
}
|
|
175
174
|
|
|
176
175
|
#{$prefix}--card__heading {
|
|
177
|
-
padding:
|
|
176
|
+
padding: $spacing-05;
|
|
178
177
|
margin: 0;
|
|
179
178
|
inline-size: 100%;
|
|
180
179
|
padding-block-end: $spacing-07;
|
|
@@ -182,7 +181,7 @@ $feature-flags: (
|
|
|
182
181
|
}
|
|
183
182
|
|
|
184
183
|
.#{$prefix}--card__footer {
|
|
185
|
-
margin-block-start:
|
|
184
|
+
margin-block-start: -1 * $spacing-07;
|
|
186
185
|
padding-block-start: 0;
|
|
187
186
|
}
|
|
188
187
|
|
|
@@ -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.
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
@include breakpoint(md) {
|
|
68
|
-
min-inline-size:
|
|
68
|
+
min-inline-size: to-rem(216px);
|
|
69
69
|
|
|
70
70
|
.#{$prefix}--footer--short & {
|
|
71
71
|
float: inline-end;
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
@include breakpoint(md) {
|
|
87
87
|
@include make-col(4, 8);
|
|
88
88
|
|
|
89
|
-
margin-block-end:
|
|
89
|
+
margin-block-end: $spacing-05;
|
|
90
90
|
|
|
91
91
|
.#{$prefix}--footer--short & {
|
|
92
92
|
@include make-col-offset(2, 8);
|
|
@@ -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.
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
:host(#{$c4d-prefix}-image)[heading] {
|
|
75
75
|
display: block;
|
|
76
76
|
margin-block: $spacing-07;
|
|
77
|
-
max-inline-size:
|
|
77
|
+
max-inline-size: to-rem(640px);
|
|
78
78
|
|
|
79
79
|
@include breakpoint(md) {
|
|
80
80
|
margin-block: $spacing-07;
|
|
@@ -90,14 +90,14 @@
|
|
|
90
90
|
padding-block-end: $spacing-09;
|
|
91
91
|
|
|
92
92
|
@include breakpoint(md) {
|
|
93
|
-
max-inline-size:
|
|
93
|
+
max-inline-size: to-rem(640px);
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
:host(#{$c4d-prefix}-leadspace-block-media),
|
|
98
98
|
.#{$prefix}--leadspace-block .#{$prefix}--leadspace-block__media {
|
|
99
99
|
display: block;
|
|
100
|
-
max-inline-size:
|
|
100
|
+
max-inline-size: to-rem(640px);
|
|
101
101
|
padding-block-end: $spacing-07;
|
|
102
102
|
|
|
103
103
|
::slotted(#{$c4d-prefix}-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.
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
flex: 1;
|
|
259
259
|
padding: 0 $spacing-05;
|
|
260
260
|
background-color: $layer-01;
|
|
261
|
-
block-size:
|
|
261
|
+
block-size: $spacing-09;
|
|
262
262
|
color: $text-primary;
|
|
263
263
|
outline: $spacing-01 solid transparent;
|
|
264
264
|
outline-offset: -#{$spacing-01};
|
|
@@ -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.
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
@use '@carbon/styles/scss/components/button' as *;
|
|
17
17
|
@use '../../globals/vars' as *;
|
|
18
18
|
@use '@carbon/styles/scss/components/tabs/vars' as *;
|
|
19
|
-
@use '
|
|
19
|
+
@use '@carbon/web-components/scss/components/tabs/tabs';
|
|
20
20
|
|
|
21
21
|
@mixin tabs-extended {
|
|
22
22
|
:host(#{$c4d-prefix}-tabs-extended),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2020,
|
|
2
|
+
* Copyright IBM Corp. 2020, 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.
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
@use '@carbon/styles/scss/breakpoint' as *;
|
|
9
9
|
@use '@carbon/styles/scss/spacing' as *;
|
|
10
10
|
|
|
11
|
-
//Sets the Width and Max-Width of the Card to 90% /
|
|
11
|
+
// Sets the Width and Max-Width of the Card to 90% / 640px.
|
|
12
12
|
@mixin content-width {
|
|
13
13
|
inline-size: 90%;
|
|
14
|
-
max-inline-size:
|
|
14
|
+
max-inline-size: to-rem(640px);
|
|
15
15
|
|
|
16
16
|
@include breakpoint(md) {
|
|
17
17
|
inline-size: calc(100% - #{$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.
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
color: $text-helper;
|
|
33
33
|
|
|
34
34
|
inline-size: 90%;
|
|
35
|
-
max-inline-size:
|
|
35
|
+
max-inline-size: to-rem(640px);
|
|
36
36
|
|
|
37
37
|
padding-block: $spacing-03 $layout-03;
|
|
38
38
|
|
|
@@ -50,19 +50,19 @@
|
|
|
50
50
|
block-size: auto;
|
|
51
51
|
|
|
52
52
|
@include breakpoint(md) {
|
|
53
|
-
block-size:
|
|
53
|
+
block-size: to-rem(320px);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
@include breakpoint(lg) {
|
|
57
|
-
block-size:
|
|
57
|
+
block-size: to-rem(400px);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
@include breakpoint(xlg) {
|
|
61
|
-
block-size:
|
|
61
|
+
block-size: to-rem(480px);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
@include breakpoint(max) {
|
|
65
|
-
block-size:
|
|
65
|
+
block-size: to-rem(560px);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -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.
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
|
|
29
29
|
&__media {
|
|
30
30
|
inline-size: 100%;
|
|
31
|
-
max-inline-size:
|
|
31
|
+
max-inline-size: to-rem(640px);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.#{$prefix}--content-block {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.#{$prefix}--link-list {
|
|
55
|
-
max-inline-size:
|
|
55
|
+
max-inline-size: to-rem(640px);
|
|
56
56
|
padding-block: $spacing-09;
|
|
57
57
|
|
|
58
58
|
&__list__CTA {
|
|
@@ -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.
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
padding-block-end: $spacing-09;
|
|
129
129
|
|
|
130
130
|
@include breakpoint(lg) {
|
|
131
|
-
padding-block-end:
|
|
131
|
+
padding-block-end: $spacing-11;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.#{$prefix}--cta-section {
|
|
@@ -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.
|
|
@@ -141,7 +141,7 @@ $btn-min-width: 26;
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.#{$prefix}--btn {
|
|
144
|
-
min-inline-size:
|
|
144
|
+
min-inline-size: to-rem($btn-min-width * 8px);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.#{$c4d-prefix}--leadspace__desc {
|
|
@@ -251,7 +251,7 @@ $btn-min-width: 26;
|
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
&--mobile__image {
|
|
254
|
-
block-size:
|
|
254
|
+
block-size: $spacing-13;
|
|
255
255
|
inline-size: 100%;
|
|
256
256
|
|
|
257
257
|
img {
|
|
@@ -285,7 +285,7 @@ $btn-min-width: 26;
|
|
|
285
285
|
@include breakpoint(md) {
|
|
286
286
|
.#{$c4d-prefix}--leadspace--centered {
|
|
287
287
|
&__overlay {
|
|
288
|
-
padding-block-end:
|
|
288
|
+
padding-block-end: $spacing-13;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
&--content__container {
|
|
@@ -302,7 +302,7 @@ $btn-min-width: 26;
|
|
|
302
302
|
|
|
303
303
|
&__title,
|
|
304
304
|
&__desc {
|
|
305
|
-
max-inline-size:
|
|
305
|
+
max-inline-size: to-rem(640px);
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
&__desc {
|
|
@@ -316,7 +316,7 @@ $btn-min-width: 26;
|
|
|
316
316
|
|
|
317
317
|
.#{$c4d-prefix}--leadspace--centered__image
|
|
318
318
|
.#{$c4d-prefix}--leadspace--centered__overlay {
|
|
319
|
-
padding-block-end:
|
|
319
|
+
padding-block-end: to-rem(256px);
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
|