@carbon/ibm-products 2.23.0 → 2.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. package/css/index-full-carbon.css +29484 -28211
  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 +49 -10
  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 +24418 -291
  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 +17172 -13
  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/es/components/Card/Card.js +1 -2
  18. package/es/components/Card/CardHeader.js +2 -2
  19. package/es/components/Carousel/Carousel.js +5 -3
  20. package/es/components/Coachmark/Coachmark.js +255 -0
  21. package/es/components/Coachmark/CoachmarkDragbar.js +146 -0
  22. package/es/components/Coachmark/CoachmarkHeader.js +91 -0
  23. package/es/components/Coachmark/CoachmarkOverlay.js +235 -0
  24. package/es/components/Coachmark/CoachmarkTagline.js +97 -0
  25. package/es/components/Coachmark/index.js +10 -0
  26. package/es/components/Coachmark/utils/constants.js +76 -0
  27. package/es/components/Coachmark/utils/context.js +5 -0
  28. package/es/components/Coachmark/utils/enums.js +40 -0
  29. package/es/components/Coachmark/utils/helpers.js +11 -0
  30. package/es/components/Coachmark/utils/hooks.js +54 -0
  31. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +93 -0
  32. package/es/components/CoachmarkBeacon/index.js +8 -0
  33. package/es/components/CoachmarkButton/CoachmarkButton.js +90 -0
  34. package/es/components/CoachmarkButton/index.js +8 -0
  35. package/es/components/CoachmarkFixed/CoachmarkFixed.js +226 -0
  36. package/es/components/CoachmarkFixed/index.js +8 -0
  37. package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +86 -0
  38. package/es/components/CoachmarkOverlayElement/index.js +8 -0
  39. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +216 -0
  40. package/es/components/CoachmarkOverlayElements/index.js +8 -0
  41. package/es/components/CoachmarkStack/CoachmarkStack.js +283 -0
  42. package/es/components/CoachmarkStack/CoachmarkStackHome.js +192 -0
  43. package/es/components/CoachmarkStack/index.js +8 -0
  44. package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +4 -1
  45. package/es/components/Datagrid/Datagrid/DraggableElement.js +1 -1
  46. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
  47. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +4 -1
  48. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
  49. package/es/components/Datagrid/Datagrid.docs-page.js +2 -2
  50. package/es/components/Datagrid/useActionsColumn.js +16 -12
  51. package/es/components/Datagrid/useNestedRowExpander.js +2 -2
  52. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +7 -2
  53. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +8 -3
  54. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +7 -2
  55. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +7 -2
  56. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +7 -2
  57. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +7 -2
  58. package/es/components/EmptyStates/assets/ErrorIllustration.js +5 -5
  59. package/es/components/EmptyStates/assets/NoDataIllustration.js +5 -5
  60. package/es/components/EmptyStates/assets/NoTagsIllustration.js +5 -5
  61. package/es/components/EmptyStates/assets/NotFoundIllustration.js +5 -5
  62. package/es/components/EmptyStates/assets/NotificationsIllustration.js +5 -5
  63. package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +5 -5
  64. package/es/components/InterstitialScreen/InterstitialScreen.js +427 -0
  65. package/es/components/InterstitialScreen/index.js +8 -0
  66. package/es/components/InterstitialScreenView/InterstitialScreenView.js +75 -0
  67. package/es/components/InterstitialScreenView/index.js +8 -0
  68. package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +83 -0
  69. package/es/components/InterstitialScreenViewModule/index.js +8 -0
  70. package/es/components/PageHeader/PageHeaderUtils.js +2 -2
  71. package/es/components/SearchBar/SearchBar.js +227 -0
  72. package/es/components/SearchBar/index.js +8 -0
  73. package/es/components/index.js +12 -1
  74. package/es/global/js/package-settings.js +14 -0
  75. package/lib/components/Card/Card.js +3 -4
  76. package/lib/components/Card/CardHeader.js +2 -2
  77. package/lib/components/Carousel/Carousel.js +5 -3
  78. package/lib/components/Coachmark/Coachmark.js +264 -0
  79. package/lib/components/Coachmark/CoachmarkDragbar.js +151 -0
  80. package/lib/components/Coachmark/CoachmarkHeader.js +95 -0
  81. package/lib/components/Coachmark/CoachmarkOverlay.js +243 -0
  82. package/lib/components/Coachmark/CoachmarkTagline.js +101 -0
  83. package/lib/components/Coachmark/index.js +38 -0
  84. package/lib/components/Coachmark/utils/constants.js +81 -0
  85. package/lib/components/Coachmark/utils/context.js +11 -0
  86. package/lib/components/Coachmark/utils/enums.js +46 -0
  87. package/lib/components/Coachmark/utils/helpers.js +17 -0
  88. package/lib/components/Coachmark/utils/hooks.js +59 -0
  89. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +97 -0
  90. package/lib/components/CoachmarkBeacon/index.js +12 -0
  91. package/lib/components/CoachmarkButton/CoachmarkButton.js +93 -0
  92. package/lib/components/CoachmarkButton/index.js +12 -0
  93. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +232 -0
  94. package/lib/components/CoachmarkFixed/index.js +12 -0
  95. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +90 -0
  96. package/lib/components/CoachmarkOverlayElement/index.js +12 -0
  97. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +222 -0
  98. package/lib/components/CoachmarkOverlayElements/index.js +12 -0
  99. package/lib/components/CoachmarkStack/CoachmarkStack.js +288 -0
  100. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +198 -0
  101. package/lib/components/CoachmarkStack/index.js +12 -0
  102. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +4 -1
  103. package/lib/components/Datagrid/Datagrid/DraggableElement.js +1 -1
  104. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
  105. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +4 -1
  106. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
  107. package/lib/components/Datagrid/Datagrid.docs-page.js +2 -2
  108. package/lib/components/Datagrid/useActionsColumn.js +15 -11
  109. package/lib/components/Datagrid/useNestedRowExpander.js +2 -2
  110. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +7 -2
  111. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +8 -3
  112. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +7 -2
  113. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +7 -2
  114. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +7 -2
  115. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +7 -2
  116. package/lib/components/EmptyStates/assets/ErrorIllustration.js +5 -5
  117. package/lib/components/EmptyStates/assets/NoDataIllustration.js +5 -5
  118. package/lib/components/EmptyStates/assets/NoTagsIllustration.js +5 -5
  119. package/lib/components/EmptyStates/assets/NotFoundIllustration.js +5 -5
  120. package/lib/components/EmptyStates/assets/NotificationsIllustration.js +5 -5
  121. package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +5 -5
  122. package/lib/components/InterstitialScreen/InterstitialScreen.js +434 -0
  123. package/lib/components/InterstitialScreen/index.js +12 -0
  124. package/lib/components/InterstitialScreenView/InterstitialScreenView.js +77 -0
  125. package/lib/components/InterstitialScreenView/index.js +12 -0
  126. package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +85 -0
  127. package/lib/components/InterstitialScreenViewModule/index.js +12 -0
  128. package/lib/components/PageHeader/PageHeaderUtils.js +2 -2
  129. package/lib/components/SearchBar/SearchBar.js +233 -0
  130. package/lib/components/SearchBar/index.js +12 -0
  131. package/lib/components/index.js +78 -1
  132. package/lib/global/js/package-settings.js +14 -0
  133. package/package.json +5 -5
  134. package/scss/components/Card/_card.scss +6 -5
  135. package/scss/components/Coachmark/_carbon-imports.scss +10 -0
  136. package/scss/components/Coachmark/_coachmark-dragbar.scss +27 -0
  137. package/scss/components/Coachmark/_coachmark-header.scss +20 -0
  138. package/scss/components/Coachmark/_coachmark-overlay.scss +431 -0
  139. package/scss/components/Coachmark/_coachmark-tagline.scss +140 -0
  140. package/scss/components/Coachmark/_coachmark.scss +30 -0
  141. package/scss/components/Coachmark/_index-with-carbon.scss +9 -0
  142. package/scss/components/Coachmark/_index.scss +8 -0
  143. package/scss/components/CoachmarkBeacon/_carbon-imports.scss +9 -0
  144. package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +166 -0
  145. package/scss/components/CoachmarkBeacon/_index-with-carbon.scss +9 -0
  146. package/scss/components/CoachmarkBeacon/_index.scss +8 -0
  147. package/scss/components/CoachmarkButton/_carbon-imports.scss +9 -0
  148. package/scss/components/CoachmarkButton/_coachmark-button.scss +25 -0
  149. package/scss/components/CoachmarkButton/_index-with-carbon.scss +9 -0
  150. package/scss/components/CoachmarkButton/_index.scss +8 -0
  151. package/scss/components/CoachmarkFixed/_carbon-imports.scss +9 -0
  152. package/scss/components/CoachmarkFixed/_coachmark-fixed.scss +25 -0
  153. package/scss/components/CoachmarkFixed/_index-with-carbon.scss +9 -0
  154. package/scss/components/CoachmarkFixed/_index.scss +8 -0
  155. package/scss/components/CoachmarkOverlayElement/_carbon-imports.scss +9 -0
  156. package/scss/components/CoachmarkOverlayElement/_coachmark-overlay-element.scss +52 -0
  157. package/scss/components/CoachmarkOverlayElement/_index-with-carbon.scss +9 -0
  158. package/scss/components/CoachmarkOverlayElement/_index.scss +8 -0
  159. package/scss/components/CoachmarkOverlayElements/_carbon-imports.scss +9 -0
  160. package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +47 -0
  161. package/scss/components/CoachmarkOverlayElements/_index-with-carbon.scss +9 -0
  162. package/scss/components/CoachmarkOverlayElements/_index.scss +8 -0
  163. package/scss/components/CoachmarkStack/_carbon-imports.scss +9 -0
  164. package/scss/components/CoachmarkStack/_coachmark-stack.scss +95 -0
  165. package/scss/components/CoachmarkStack/_index-with-carbon.scss +9 -0
  166. package/scss/components/CoachmarkStack/_index.scss +8 -0
  167. package/scss/components/InterstitialScreen/_carbon-imports.scss +9 -0
  168. package/scss/components/InterstitialScreen/_index-with-carbon.scss +9 -0
  169. package/scss/components/InterstitialScreen/_index.scss +8 -0
  170. package/scss/components/InterstitialScreen/_interstitial-screen.scss +276 -0
  171. package/scss/components/InterstitialScreenView/_carbon-imports.scss +9 -0
  172. package/scss/components/InterstitialScreenView/_index-with-carbon.scss +9 -0
  173. package/scss/components/InterstitialScreenView/_index.scss +8 -0
  174. package/scss/components/InterstitialScreenView/_interstitial-screen-view.scss +25 -0
  175. package/scss/components/InterstitialScreenViewModule/_carbon-imports.scss +9 -0
  176. package/scss/components/InterstitialScreenViewModule/_index-with-carbon.scss +9 -0
  177. package/scss/components/InterstitialScreenViewModule/_index.scss +8 -0
  178. package/scss/components/InterstitialScreenViewModule/_interstitial-screen-view-module.scss +59 -0
  179. package/scss/components/PageHeader/_page-header.scss +0 -1
  180. package/scss/components/SearchBar/_carbon-imports.scss +9 -0
  181. package/scss/components/SearchBar/_index-with-carbon.scss +9 -0
  182. package/scss/components/SearchBar/_index.scss +8 -0
  183. package/scss/components/SearchBar/_search-bar.scss +26 -0
  184. package/scss/components/SidePanel/_side-panel.scss +12 -7
  185. package/scss/components/_index-with-carbon.scss +11 -0
  186. package/scss/components/_index.scss +11 -0
@@ -0,0 +1,276 @@
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
+ /* stylelint-disable declaration-no-important */
10
+
11
+ // Standard imports.
12
+ @use '../../global/styles/project-settings' as c4p-settings;
13
+ @use '../../global/styles/mixins';
14
+ @use '@carbon/styles/scss/theme' as *;
15
+ @use '@carbon/styles/scss/spacing' as *;
16
+ @use '@carbon/styles/scss/breakpoint' as *;
17
+ @use '@carbon/react/scss/colors' as *;
18
+ @use '@carbon/styles/scss/type';
19
+
20
+ // Other Carbon settings if needed
21
+ // TODO: @use '@carbon/styles/scss/grid';
22
+ // or
23
+ // TODO: @use '@carbon/react/scss/grid';
24
+
25
+ // InterstitialScreen uses the following Carbon for IBM Products components:
26
+ // TODO: @use(s) of IBM Products component styles used by InterstitialScreen
27
+
28
+ // The block part of our conventional BEM class names (blockClass__E--M).
29
+ $block-class: #{c4p-settings.$pkg-prefix}--interstitial-screen;
30
+ $carousel: #{c4p-settings.$pkg-prefix}--carousel;
31
+ $carousel-item: #{c4p-settings.$pkg-prefix}--carousel__item;
32
+ $one-grid-column: calc(100% / 16);
33
+
34
+ .#{$block-class} {
35
+ $block: &;
36
+
37
+ .#{$carousel} {
38
+ display: flex;
39
+ min-height: 100%;
40
+ flex-direction: column;
41
+
42
+ &__elements-container {
43
+ display: flex;
44
+ flex: 1;
45
+ flex-direction: column;
46
+ }
47
+
48
+ &__elements {
49
+ flex: 1;
50
+ }
51
+ }
52
+
53
+ position: fixed;
54
+ z-index: 6001;
55
+ top: 0;
56
+ right: 0;
57
+ left: 0;
58
+
59
+ #{$block}--auto-height-container {
60
+ flex: 1;
61
+ }
62
+
63
+ &--body {
64
+ overflow: hidden auto;
65
+ flex-grow: 1;
66
+ padding: 0;
67
+ margin: 0;
68
+ background-color: $background;
69
+ }
70
+
71
+ &--body-grid {
72
+ height: 100%;
73
+ padding: 0 !important;
74
+ }
75
+
76
+ &--body-row {
77
+ height: 100%;
78
+ }
79
+
80
+ &--progress {
81
+ margin: $spacing-07 $spacing-05 $spacing-04;
82
+ }
83
+
84
+ &__carousel {
85
+ height: 100%;
86
+ .#{$carousel-item} {
87
+ flex: 0 0 100% !important;
88
+ scroll-snap-align: start;
89
+ }
90
+ }
91
+
92
+ &--container {
93
+ min-width: 47rem;
94
+ max-width: 82rem;
95
+ margin: calc($spacing-10 * 2) auto; // stylelint-disable-line carbon/layout-token-use
96
+ background-color: $background;
97
+ }
98
+
99
+ &--media-container {
100
+ overflow: hidden;
101
+ }
102
+
103
+ &--media {
104
+ width: 100%;
105
+ height: 100%;
106
+
107
+ margin-right: calc($spacing-08 * -1);
108
+ @include breakpoint-down(xlg) {
109
+ margin-right: calc($spacing-07 * -1);
110
+ }
111
+ }
112
+
113
+ &--stepped-animated-media {
114
+ overflow: hidden;
115
+ height: 100%;
116
+ }
117
+
118
+ &--internal-body {
119
+ padding: 0 !important;
120
+ margin: 0 !important;
121
+ }
122
+
123
+ // HEADER
124
+ &--internal-header {
125
+ position: relative;
126
+ min-height: $spacing-09;
127
+ margin-bottom: 0 !important;
128
+ background-color: $background;
129
+
130
+ &:empty {
131
+ min-height: 0;
132
+ }
133
+
134
+ h2 {
135
+ @include type.type-style('productive-heading-04');
136
+
137
+ padding: 0 $spacing-05 $spacing-06;
138
+
139
+ &:empty {
140
+ padding: 0;
141
+ }
142
+ }
143
+
144
+ &--has-title {
145
+ border-bottom: 1px solid $border-subtle-01;
146
+ background: $layer-01;
147
+
148
+ #{$block}--progress {
149
+ margin-top: 0;
150
+ }
151
+ }
152
+ > #{$block}--close-icon {
153
+ position: absolute !important;
154
+ z-index: 1;
155
+ top: 0;
156
+ right: 0;
157
+ width: $spacing-09;
158
+ }
159
+ }
160
+
161
+ // FOOTER
162
+ &--footer {
163
+ display: flex;
164
+ width: 100%;
165
+ flex-direction: row;
166
+ justify-content: flex-end;
167
+ border-top: 1px solid $border-subtle-01;
168
+ background: $background;
169
+
170
+ #{$block}--prev-btn,
171
+ #{$block}--next-btn,
172
+ #{$block}--start-btn {
173
+ width: calc($one-grid-column * 3);
174
+ min-width: 12.5rem;
175
+ padding-block-end: $spacing-07;
176
+ }
177
+
178
+ #{$block}--skip-btn {
179
+ max-width: none;
180
+ flex-grow: 1 !important;
181
+ padding-left: $spacing-07 !important;
182
+ }
183
+ }
184
+
185
+ &--footer-controls {
186
+ display: flex;
187
+ flex-direction: row;
188
+ // flex: 1;
189
+ margin-left: auto;
190
+ }
191
+
192
+ // MODAL (settings exclusive of "FULL SCREEN")
193
+ &--modal {
194
+ #{$block}--content {
195
+ margin-top: 0;
196
+ }
197
+
198
+ #{$block}--internal-header {
199
+ &:has(> :nth-child(2)) {
200
+ min-height: initial;
201
+ }
202
+ }
203
+
204
+ &:has(> :nth-child(1)) {
205
+ min-height: initial;
206
+ }
207
+ }
208
+
209
+ // FULL SCREEN (settings exclusive of "MODAL")
210
+ &--full-screen {
211
+ #{$block}--container {
212
+ display: flex;
213
+ max-width: 100vw;
214
+ height: 100vh;
215
+ flex-direction: column;
216
+ padding: 0;
217
+ margin: 0;
218
+ }
219
+
220
+ // e.g. "IBM Cloud Pak | Product"
221
+ // ..."IBM Cloud Pak"
222
+ #{$block}--header {
223
+ @include type.type-style('body-long-01');
224
+
225
+ height: $spacing-09;
226
+ padding-left: $spacing-05;
227
+ border-bottom: 1px solid $border-subtle-01;
228
+ /* stylelint-disable-next-line carbon/theme-token-use */
229
+ background-color: $gray-100;
230
+ /* stylelint-disable-next-line carbon/theme-token-use */
231
+ color: $gray-10;
232
+ /* stylelint-disable-next-line carbon/type-token-use */
233
+ font-weight: normal !important; // overrides type style above
234
+ /* stylelint-disable-next-line carbon/type-token-use */
235
+ line-height: $spacing-09 !important;
236
+
237
+ b {
238
+ /* stylelint-disable-next-line carbon/type-token-use */
239
+ font-weight: 600;
240
+ }
241
+ }
242
+
243
+ #{$block}--internal-header {
244
+ > h2 {
245
+ padding: $spacing-05 $spacing-08 0;
246
+ }
247
+
248
+ #{$block}--progress {
249
+ margin: $spacing-10 $spacing-08 $spacing-04;
250
+
251
+ @include breakpoint-down(xlg) {
252
+ margin-left: $spacing-07;
253
+ }
254
+ }
255
+
256
+ &--has-title {
257
+ #{$block}--progress {
258
+ margin-top: $spacing-06;
259
+ }
260
+ }
261
+
262
+ &:has(> :nth-child(1)) {
263
+ min-height: initial;
264
+ }
265
+ }
266
+
267
+ #{$block}--footer {
268
+ #{$block}--skip-btn {
269
+ padding-left: $spacing-08 !important;
270
+ @include breakpoint-down(xlg) {
271
+ padding-left: $spacing-07 !important;
272
+ }
273
+ }
274
+ }
275
+ }
276
+ }
@@ -0,0 +1,9 @@
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:
@@ -0,0 +1,9 @@
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';
@@ -0,0 +1,8 @@
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';
@@ -0,0 +1,25 @@
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/react/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
+ height: 100%;
25
+ }
@@ -0,0 +1,9 @@
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:
@@ -0,0 +1,9 @@
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';
@@ -0,0 +1,8 @@
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';
@@ -0,0 +1,59 @@
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/react/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-bottom: $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
+ }
@@ -362,7 +362,6 @@ $right-section-alt-width: 100% - $left-section-alt-width;
362
362
  .#{$block-class}__title-row {
363
363
  --title-row-margin-top: #{$spacing-01}; /* spacing needed in case of editable title, otherwise top of focus indicator hidden */
364
364
 
365
- margin-top: var(--title-row-margin-top);
366
365
  margin-bottom: 0;
367
366
  transform: translateY(
368
367
  $spacing-01
@@ -0,0 +1,9 @@
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 SearchBar in this file.
9
+ // SearchBar uses the following Carbon components:
@@ -0,0 +1,9 @@
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 './search-bar';
@@ -0,0 +1,8 @@
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 './search-bar';
@@ -0,0 +1,26 @@
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
+ @use '@carbon/styles/scss/utilities' as *;
13
+
14
+ // The block part of our conventional BEM class names (blockClass__E--M).
15
+ $block-class: #{c4p-settings.$pkg-prefix}--search-bar;
16
+
17
+ .#{$block-class} {
18
+ position: relative;
19
+ display: flex;
20
+
21
+ .#{c4p-settings.$pkg-prefix}--search-bar__scopes {
22
+ .#{c4p-settings.$carbon-prefix}--label {
23
+ position: absolute;
24
+ }
25
+ }
26
+ }
@@ -99,6 +99,12 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
99
99
  --#{$block-class}--actions-height: #{$spacing-09};
100
100
  }
101
101
 
102
+ &.#{$block-class}__container--slide-in,
103
+ &.#{$block-class}__container:not(:has(+ .#{$block-class}__overlay)),
104
+ &.#{$block-class}__container--has-no-overlay {
105
+ box-shadow: 0 $spacing-01 $spacing-02 $overlay;
106
+ }
107
+
102
108
  .#{$block-class}__actions-container {
103
109
  width: 100%;
104
110
  }
@@ -110,11 +116,10 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
110
116
  left: 0;
111
117
  border-right: 1px solid $border-subtle-02;
112
118
  }
113
-
114
- &.#{$block-class}__container--slide-in,
115
- &.#{$block-class}__container:not(:has(+ .#{$block-class}__overlay)),
116
- &.#{$block-class}__container--has-no-overlay {
117
- box-shadow: 0 $spacing-01 $spacing-02 $overlay;
119
+ &.#{$block-class}__container.#{$block-class}__container--has-slug {
120
+ border-color: transparent;
121
+ box-shadow: inset 0 -80px 70px -65px $ai-inner-shadow,
122
+ 0 4px 10px 2px $ai-drop-shadow;
118
123
  }
119
124
 
120
125
  .#{$block-class}__header {
@@ -304,8 +309,8 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
304
309
  padding-top: $spacing-03;
305
310
  }
306
311
 
307
- &.#{$block-class}__container--has-slug .#{$block-class}__inner-content {
308
- @include utilities.ai-gradient('bottom');
312
+ &.#{$block-class}__container--has-slug .#{$block-class}--scrolls {
313
+ @include utilities.callout-gradient('default', 0, 'layer');
309
314
  }
310
315
 
311
316
  .#{$block-class}__inner-content.#{$block-class}__inner-content--static {
@@ -47,4 +47,15 @@
47
47
  @use './Datagrid/index-with-carbon' as *;
48
48
  @use './EditUpdateCards/index-with-carbon' as *;
49
49
  @use './SimpleHeader/index-with-carbon' as *;
50
+ @use './InterstitialScreen/index-with-carbon' as *;
51
+ @use './InterstitialScreenView/index-with-carbon' as *;
52
+ @use './InterstitialScreenViewModule/index-with-carbon' as *;
53
+ @use './Coachmark/index-with-carbon' as *;
54
+ @use './CoachmarkBeacon/index-with-carbon' as *;
55
+ @use './CoachmarkButton/index-with-carbon' as *;
56
+ @use './CoachmarkFixed/index-with-carbon' as *;
57
+ @use './CoachmarkOverlayElement/index-with-carbon' as *;
58
+ @use './CoachmarkOverlayElements/index-with-carbon' as *;
59
+ @use './CoachmarkStack/index-with-carbon' as *;
50
60
  @use './DelimitedList/index-with-carbon' as *;
61
+ @use './SearchBar/index-with-carbon' as *;
@@ -14,6 +14,13 @@
14
14
  @use './ActionSet';
15
15
  @use './ButtonMenu';
16
16
  @use './Cascade';
17
+ @use './Coachmark';
18
+ @use './CoachmarkBeacon';
19
+ @use './CoachmarkButton';
20
+ @use './CoachmarkFixed';
21
+ @use './CoachmarkOverlayElement';
22
+ @use './CoachmarkOverlayElements';
23
+ @use './CoachmarkStack';
17
24
  @use './ComboButton';
18
25
  @use './CreateFullPage';
19
26
  @use './CreateModal';
@@ -55,4 +62,8 @@
55
62
  @use './Guidebanner';
56
63
  @use './InlineTip';
57
64
  @use './NonLinearReading';
65
+ @use './InterstitialScreen';
66
+ @use './InterstitialScreenView';
67
+ @use './InterstitialScreenViewModule';
58
68
  @use './DelimitedList';
69
+ @use './SearchBar';