@carbon/ibm-products-styles 2.60.0 → 2.61.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/css/index-full-carbon.css +59 -143
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +8 -0
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +59 -143
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +59 -143
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/package.json +3 -3
- package/scss/components/Coachmark/_coachmark-overlay.scss +2 -0
- package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +1 -0
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +25 -0
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +29 -137
- package/scss/components/NotificationsPanel/_notifications-panel.scss +2 -0
- package/scss/components/PageHeader/_page-header.scss +5 -0
- package/scss/components/_index-with-carbon.scss +0 -2
- package/scss/components/_index.scss +0 -2
- package/scss/components/InterstitialScreenView/_carbon-imports.scss +0 -9
- package/scss/components/InterstitialScreenView/_index-with-carbon.scss +0 -9
- package/scss/components/InterstitialScreenView/_index.scss +0 -8
- package/scss/components/InterstitialScreenView/_interstitial-screen-view.scss +0 -25
- package/scss/components/InterstitialScreenViewModule/_carbon-imports.scss +0 -9
- package/scss/components/InterstitialScreenViewModule/_index-with-carbon.scss +0 -9
- package/scss/components/InterstitialScreenViewModule/_index.scss +0 -8
- package/scss/components/InterstitialScreenViewModule/_interstitial-screen-view-module.scss +0 -59
|
@@ -27,6 +27,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--coachmark-overlay-elements;
|
|
|
27
27
|
|
|
28
28
|
.#{$block-class} {
|
|
29
29
|
&__element-stepped-media {
|
|
30
|
+
padding: 0 $spacing-05;
|
|
30
31
|
/* stylelint-disable-next-line function-no-unknown -- to-rem carbon replacement for rem */
|
|
31
32
|
block-size: to-rem(128px);
|
|
32
33
|
margin-block-end: $spacing-05;
|
|
@@ -94,4 +94,29 @@ $stack-home-class: #{c4p-settings.$pkg-prefix}--coachmark-stacked-home;
|
|
|
94
94
|
&__icon-idea {
|
|
95
95
|
margin-block-end: $spacing-03;
|
|
96
96
|
}
|
|
97
|
+
|
|
98
|
+
li {
|
|
99
|
+
display: block;
|
|
100
|
+
max-inline-size: 100%;
|
|
101
|
+
white-space: nowrap;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
button,
|
|
105
|
+
&__navLinkLabels-tooltip {
|
|
106
|
+
max-inline-size: 100%;
|
|
107
|
+
|
|
108
|
+
.#{c4p-settings.$carbon-prefix}--tooltip-content {
|
|
109
|
+
color: $text-primary;
|
|
110
|
+
margin-inline-start: calc($spacing-02 + $spacing-01);
|
|
111
|
+
max-inline-size: 100%;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&__navLinkLabels-text {
|
|
116
|
+
display: inline-block;
|
|
117
|
+
overflow: hidden;
|
|
118
|
+
max-inline-size: 100%;
|
|
119
|
+
text-overflow: ellipsis;
|
|
120
|
+
white-space: nowrap;
|
|
121
|
+
}
|
|
97
122
|
}
|
|
@@ -29,31 +29,6 @@ $one-grid-column: calc(100% / 16);
|
|
|
29
29
|
.#{$block-class} {
|
|
30
30
|
$block: &;
|
|
31
31
|
|
|
32
|
-
.#{$carousel} {
|
|
33
|
-
display: flex;
|
|
34
|
-
flex-direction: column;
|
|
35
|
-
min-block-size: 100%;
|
|
36
|
-
|
|
37
|
-
&__elements-container {
|
|
38
|
-
display: flex;
|
|
39
|
-
flex: 1;
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&__elements {
|
|
44
|
-
flex: 1;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
position: fixed;
|
|
49
|
-
z-index: 6001;
|
|
50
|
-
inset-block-start: 0;
|
|
51
|
-
inset-inline: 0;
|
|
52
|
-
|
|
53
|
-
#{$block}--auto-height-container {
|
|
54
|
-
flex: 1;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
32
|
&--body {
|
|
58
33
|
overflow: hidden auto;
|
|
59
34
|
flex-grow: 1;
|
|
@@ -62,17 +37,8 @@ $one-grid-column: calc(100% / 16);
|
|
|
62
37
|
background-color: $background;
|
|
63
38
|
}
|
|
64
39
|
|
|
65
|
-
&--body-grid {
|
|
66
|
-
padding: 0 !important;
|
|
67
|
-
block-size: 100%;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&--body-row {
|
|
71
|
-
block-size: 100%;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
40
|
&--progress {
|
|
75
|
-
margin
|
|
41
|
+
margin-block-end: $spacing-04;
|
|
76
42
|
}
|
|
77
43
|
|
|
78
44
|
&__carousel {
|
|
@@ -83,32 +49,6 @@ $one-grid-column: calc(100% / 16);
|
|
|
83
49
|
}
|
|
84
50
|
}
|
|
85
51
|
|
|
86
|
-
&--container {
|
|
87
|
-
margin: calc($spacing-10 * 2) auto; // stylelint-disable-line carbon/layout-use
|
|
88
|
-
background-color: $background;
|
|
89
|
-
max-inline-size: 82rem;
|
|
90
|
-
min-inline-size: 47rem;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&--media-container {
|
|
94
|
-
overflow: hidden;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&--media {
|
|
98
|
-
block-size: 100%;
|
|
99
|
-
inline-size: 100%;
|
|
100
|
-
|
|
101
|
-
margin-inline-end: calc($spacing-08 * -1);
|
|
102
|
-
@include breakpoint-down(xlg) {
|
|
103
|
-
margin-inline-end: calc($spacing-07 * -1);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&--stepped-animated-media {
|
|
108
|
-
overflow: hidden;
|
|
109
|
-
block-size: 100%;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
52
|
&--internal-body {
|
|
113
53
|
padding: 0 !important;
|
|
114
54
|
margin: 0 !important;
|
|
@@ -120,18 +60,32 @@ $one-grid-column: calc(100% / 16);
|
|
|
120
60
|
background-color: $background;
|
|
121
61
|
margin-block-end: 0 !important;
|
|
122
62
|
min-block-size: $spacing-09;
|
|
63
|
+
padding-block-start: $spacing-06;
|
|
64
|
+
padding-inline-start: $spacing-07 !important;
|
|
123
65
|
|
|
124
66
|
&:empty {
|
|
125
67
|
min-block-size: 0;
|
|
126
68
|
}
|
|
127
69
|
|
|
128
|
-
|
|
129
|
-
|
|
70
|
+
.#{$block-class}--titleContainer {
|
|
71
|
+
margin-block-end: $spacing-05;
|
|
130
72
|
|
|
131
|
-
|
|
73
|
+
h2 {
|
|
74
|
+
@include type.type-style('productive-heading-04');
|
|
132
75
|
|
|
133
|
-
|
|
134
|
-
|
|
76
|
+
margin-block-end: $spacing-03;
|
|
77
|
+
|
|
78
|
+
&:empty {
|
|
79
|
+
padding: 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
h3 {
|
|
84
|
+
@include type.type-style('productive-heading-03');
|
|
85
|
+
|
|
86
|
+
&:empty {
|
|
87
|
+
padding: 0;
|
|
88
|
+
}
|
|
135
89
|
}
|
|
136
90
|
}
|
|
137
91
|
|
|
@@ -143,13 +97,6 @@ $one-grid-column: calc(100% / 16);
|
|
|
143
97
|
margin-block-start: 0;
|
|
144
98
|
}
|
|
145
99
|
}
|
|
146
|
-
> #{$block}--close-icon {
|
|
147
|
-
position: absolute !important;
|
|
148
|
-
z-index: 1;
|
|
149
|
-
inline-size: $spacing-09;
|
|
150
|
-
inset-block-start: 0;
|
|
151
|
-
inset-inline-end: 0;
|
|
152
|
-
}
|
|
153
100
|
}
|
|
154
101
|
|
|
155
102
|
// FOOTER
|
|
@@ -174,6 +121,12 @@ $one-grid-column: calc(100% / 16);
|
|
|
174
121
|
max-inline-size: none;
|
|
175
122
|
padding-inline-start: $spacing-07 !important;
|
|
176
123
|
}
|
|
124
|
+
.#{c4p-settings.$carbon-prefix}--inline-loading {
|
|
125
|
+
position: absolute;
|
|
126
|
+
inline-size: $spacing-07;
|
|
127
|
+
inset-block-start: 0;
|
|
128
|
+
inset-inline-end: 0;
|
|
129
|
+
}
|
|
177
130
|
}
|
|
178
131
|
|
|
179
132
|
&--footer-controls {
|
|
@@ -183,25 +136,11 @@ $one-grid-column: calc(100% / 16);
|
|
|
183
136
|
margin-inline-start: auto;
|
|
184
137
|
}
|
|
185
138
|
|
|
186
|
-
// MODAL (settings exclusive of "FULL SCREEN")
|
|
187
|
-
&--modal {
|
|
188
|
-
#{$block}--content {
|
|
189
|
-
margin-block-start: 0;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
#{$block}--internal-header {
|
|
193
|
-
&:has(> :nth-child(2)) {
|
|
194
|
-
min-block-size: initial;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
&:has(> :nth-child(1)) {
|
|
199
|
-
min-block-size: initial;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
139
|
// FULL SCREEN (settings exclusive of "MODAL")
|
|
204
140
|
&--full-screen {
|
|
141
|
+
position: fixed;
|
|
142
|
+
inset-block-start: 0;
|
|
143
|
+
inset-inline: 0;
|
|
205
144
|
#{$block}--container {
|
|
206
145
|
display: flex;
|
|
207
146
|
flex-direction: column;
|
|
@@ -211,53 +150,6 @@ $one-grid-column: calc(100% / 16);
|
|
|
211
150
|
max-inline-size: 100vw;
|
|
212
151
|
}
|
|
213
152
|
|
|
214
|
-
// e.g. "IBM Cloud Pak | Product"
|
|
215
|
-
// ..."IBM Cloud Pak"
|
|
216
|
-
#{$block}--header {
|
|
217
|
-
@include type.type-style('body-long-01');
|
|
218
|
-
/* stylelint-disable-next-line carbon/theme-use */
|
|
219
|
-
background-color: $gray-100;
|
|
220
|
-
|
|
221
|
-
block-size: $spacing-09;
|
|
222
|
-
border-block-end: 1px solid $border-subtle-01;
|
|
223
|
-
/* stylelint-disable-next-line carbon/theme-use */
|
|
224
|
-
color: $gray-10;
|
|
225
|
-
/* stylelint-disable-next-line carbon/type-use */
|
|
226
|
-
font-weight: normal !important; // overrides type style above
|
|
227
|
-
/* stylelint-disable-next-line carbon/type-use */
|
|
228
|
-
line-height: $spacing-09 !important;
|
|
229
|
-
padding-inline-start: $spacing-05;
|
|
230
|
-
|
|
231
|
-
b {
|
|
232
|
-
/* stylelint-disable-next-line carbon/type-use */
|
|
233
|
-
font-weight: 600;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
#{$block}--internal-header {
|
|
238
|
-
> h2 {
|
|
239
|
-
padding: $spacing-05 $spacing-08 0;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
#{$block}--progress {
|
|
243
|
-
margin: $spacing-10 $spacing-08 $spacing-04;
|
|
244
|
-
|
|
245
|
-
@include breakpoint-down(xlg) {
|
|
246
|
-
margin-inline-start: $spacing-07;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
&--has-title {
|
|
251
|
-
#{$block}--progress {
|
|
252
|
-
margin-block-start: $spacing-06;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
&:has(> :nth-child(1)) {
|
|
257
|
-
min-block-size: initial;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
153
|
#{$block}--footer {
|
|
262
154
|
#{$block}--skip-btn {
|
|
263
155
|
padding-inline-start: $spacing-08 !important;
|
|
@@ -169,6 +169,8 @@ $block-size: 38.5rem;
|
|
|
169
169
|
text-align: start;
|
|
170
170
|
transition: background-color $duration-moderate-02 motion(standard);
|
|
171
171
|
.#{$block-class}__notification-title {
|
|
172
|
+
@include type.type-style('heading-01');
|
|
173
|
+
|
|
172
174
|
color: $text-secondary;
|
|
173
175
|
margin-block-end: $spacing-02;
|
|
174
176
|
@include font-weight('regular');
|
|
@@ -109,6 +109,7 @@ $duration: 1000ms;
|
|
|
109
109
|
z-index: $z-index-header-minus;
|
|
110
110
|
display: inline-block; /* cause top/bottom margin to reserve space */
|
|
111
111
|
background-color: $background;
|
|
112
|
+
border-block-end: 1px solid $border-subtle-00;
|
|
112
113
|
color: $text-primary;
|
|
113
114
|
inline-size: 100%;
|
|
114
115
|
/* stylelint-disable-next-line carbon/layout-use */
|
|
@@ -124,6 +125,10 @@ $duration: 1000ms;
|
|
|
124
125
|
--#{$block-class}--navigation-buffer-top: $spacing-06;
|
|
125
126
|
}
|
|
126
127
|
|
|
128
|
+
&.#{$block-class}--without-background {
|
|
129
|
+
border-block-end: none;
|
|
130
|
+
}
|
|
131
|
+
|
|
127
132
|
&.#{$block-class}--has-navigation-tags-only {
|
|
128
133
|
--#{$block-class}--navigation-buffer-top: $spacing-04;
|
|
129
134
|
}
|
|
@@ -52,8 +52,6 @@
|
|
|
52
52
|
@use './BigNumbers/index-with-carbon' as *;
|
|
53
53
|
@use './TruncatedList/index-with-carbon' as *;
|
|
54
54
|
@use './InterstitialScreen/index-with-carbon' as *;
|
|
55
|
-
@use './InterstitialScreenView/index-with-carbon' as *;
|
|
56
|
-
@use './InterstitialScreenViewModule/index-with-carbon' as *;
|
|
57
55
|
@use './Coachmark/index-with-carbon' as *;
|
|
58
56
|
@use './CoachmarkBeacon/index-with-carbon' as *;
|
|
59
57
|
@use './CoachmarkButton/index-with-carbon' as *;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2024, 2024
|
|
3
|
-
//
|
|
4
|
-
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
-
// LICENSE file in the root directory of this source tree.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
// Import any Carbon component styles used from InterstitialScreenView in this file.
|
|
9
|
-
// InterstitialScreenView uses the following Carbon components:
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2024, 2024
|
|
3
|
-
//
|
|
4
|
-
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
-
// LICENSE file in the root directory of this source tree.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
// Standard imports.
|
|
9
|
-
@use '../../global/styles/project-settings' as c4p-settings;
|
|
10
|
-
@use '../../global/styles/mixins';
|
|
11
|
-
|
|
12
|
-
// Other Carbon settings if needed
|
|
13
|
-
// TODO: @use '@carbon/styles/scss/grid';
|
|
14
|
-
// or
|
|
15
|
-
// TODO: @use '@carbon/styles/scss/grid';
|
|
16
|
-
|
|
17
|
-
// InterstitialScreenView uses the following Carbon for IBM Products components:
|
|
18
|
-
// TODO: @use(s) of IBM Products component styles used by InterstitialScreenView
|
|
19
|
-
|
|
20
|
-
// The block part of our conventional BEM class names (blockClass__E--M).
|
|
21
|
-
$block-class: #{c4p-settings.$pkg-prefix}--interstitial-screen-view;
|
|
22
|
-
|
|
23
|
-
.#{$block-class} {
|
|
24
|
-
block-size: 100%;
|
|
25
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2024, 2024
|
|
3
|
-
//
|
|
4
|
-
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
-
// LICENSE file in the root directory of this source tree.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
// Import any Carbon component styles used from InterstitialScreenViewModule in this file.
|
|
9
|
-
// InterstitialScreenViewModule uses the following Carbon components:
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright IBM Corp. 2024, 2024
|
|
3
|
-
//
|
|
4
|
-
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
-
// LICENSE file in the root directory of this source tree.
|
|
6
|
-
//
|
|
7
|
-
|
|
8
|
-
/* stylelint-disable max-nesting-depth */
|
|
9
|
-
|
|
10
|
-
// Standard imports.
|
|
11
|
-
@use '../../global/styles/project-settings' as c4p-settings;
|
|
12
|
-
@use '../../global/styles/mixins';
|
|
13
|
-
@use '@carbon/styles/scss/type';
|
|
14
|
-
@use '@carbon/styles/scss/spacing' as *;
|
|
15
|
-
@use '@carbon/styles/scss/breakpoint' as *;
|
|
16
|
-
|
|
17
|
-
// Other Carbon settings if needed
|
|
18
|
-
// TODO: @use '@carbon/styles/scss/grid';
|
|
19
|
-
// or
|
|
20
|
-
// TODO: @use '@carbon/styles/scss/grid';
|
|
21
|
-
|
|
22
|
-
// InterstitialScreenViewModule uses the following Carbon for IBM Products components:
|
|
23
|
-
// TODO: @use(s) of IBM Products component styles used by InterstitialScreenViewModule
|
|
24
|
-
|
|
25
|
-
// The block part of our conventional BEM class names (blockClass__E--M).
|
|
26
|
-
|
|
27
|
-
$interstitial-block-class: #{c4p-settings.$pkg-prefix}--interstitial-screen;
|
|
28
|
-
$block-class: #{c4p-settings.$pkg-prefix}--interstitial-screen-view-module;
|
|
29
|
-
|
|
30
|
-
.#{$block-class} {
|
|
31
|
-
margin: $spacing-07;
|
|
32
|
-
|
|
33
|
-
&--heading {
|
|
34
|
-
@include type.type-style('heading-05');
|
|
35
|
-
|
|
36
|
-
margin-block-end: $spacing-07;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&--body {
|
|
40
|
-
@include type.type-style('body-01');
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
.#{$interstitial-block-class} {
|
|
44
|
-
&--modal {
|
|
45
|
-
.#{$block-class} {
|
|
46
|
-
margin: $spacing-11 $spacing-07;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&--full-screen {
|
|
51
|
-
.#{$block-class} {
|
|
52
|
-
margin: $spacing-12 $spacing-08;
|
|
53
|
-
|
|
54
|
-
@include breakpoint-down(xlg) {
|
|
55
|
-
margin: $spacing-12 $spacing-07;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|