@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.
Files changed (33) hide show
  1. package/css/index-full-carbon.css +59 -143
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +1 -1
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +8 -0
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +1 -1
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +59 -143
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +1 -1
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +59 -143
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +1 -1
  16. package/css/index.min.css.map +1 -1
  17. package/package.json +3 -3
  18. package/scss/components/Coachmark/_coachmark-overlay.scss +2 -0
  19. package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +1 -0
  20. package/scss/components/CoachmarkStack/_coachmark-stack.scss +25 -0
  21. package/scss/components/InterstitialScreen/_interstitial-screen.scss +29 -137
  22. package/scss/components/NotificationsPanel/_notifications-panel.scss +2 -0
  23. package/scss/components/PageHeader/_page-header.scss +5 -0
  24. package/scss/components/_index-with-carbon.scss +0 -2
  25. package/scss/components/_index.scss +0 -2
  26. package/scss/components/InterstitialScreenView/_carbon-imports.scss +0 -9
  27. package/scss/components/InterstitialScreenView/_index-with-carbon.scss +0 -9
  28. package/scss/components/InterstitialScreenView/_index.scss +0 -8
  29. package/scss/components/InterstitialScreenView/_interstitial-screen-view.scss +0 -25
  30. package/scss/components/InterstitialScreenViewModule/_carbon-imports.scss +0 -9
  31. package/scss/components/InterstitialScreenViewModule/_index-with-carbon.scss +0 -9
  32. package/scss/components/InterstitialScreenViewModule/_index.scss +0 -8
  33. package/scss/components/InterstitialScreenViewModule/_interstitial-screen-view-module.scss +0 -59
@@ -234,6 +234,8 @@ $draghandle-btn-class: #{$block-class}__handle;
234
234
  display: flex;
235
235
  align-items: center;
236
236
  justify-content: flex-end;
237
+ margin-block-start: $spacing-05;
238
+ padding-block-end: $spacing-05;
237
239
  }
238
240
 
239
241
  // THEME
@@ -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: $spacing-07 $spacing-05 $spacing-04;
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
- h2 {
129
- @include type.type-style('productive-heading-04');
70
+ .#{$block-class}--titleContainer {
71
+ margin-block-end: $spacing-05;
130
72
 
131
- padding: 0 $spacing-05 $spacing-06;
73
+ h2 {
74
+ @include type.type-style('productive-heading-04');
132
75
 
133
- &:empty {
134
- padding: 0;
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 *;
@@ -65,8 +65,6 @@
65
65
  @use './BigNumbers';
66
66
  @use './TruncatedList';
67
67
  @use './InterstitialScreen';
68
- @use './InterstitialScreenView';
69
- @use './InterstitialScreenViewModule';
70
68
  @use './DelimitedList';
71
69
  @use './Decorator';
72
70
  @use './DecoratorLink';
@@ -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,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
- @use './carbon-imports';
9
- @use './interstitial-screen-view';
@@ -1,8 +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
- @use './interstitial-screen-view';
@@ -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,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
- @use './carbon-imports';
9
- @use './interstitial-screen-view-module';
@@ -1,8 +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
- @use './interstitial-screen-view-module';
@@ -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
- }