@carbon/ibm-products 2.22.0 → 2.24.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -1
- package/css/index-full-carbon.css +29490 -28295
- 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 +81 -104
- 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 +24399 -350
- 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 +17204 -123
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/Card/Card.js +1 -2
- package/es/components/Card/CardHeader.js +2 -2
- package/es/components/Carousel/Carousel.js +5 -3
- package/es/components/Coachmark/Coachmark.js +255 -0
- package/es/components/Coachmark/CoachmarkDragbar.js +146 -0
- package/es/components/Coachmark/CoachmarkHeader.js +91 -0
- package/es/components/Coachmark/CoachmarkOverlay.js +235 -0
- package/es/components/Coachmark/CoachmarkTagline.js +97 -0
- package/es/components/Coachmark/index.js +10 -0
- package/es/components/Coachmark/utils/constants.js +76 -0
- package/es/components/Coachmark/utils/context.js +5 -0
- package/es/components/Coachmark/utils/enums.js +40 -0
- package/es/components/Coachmark/utils/helpers.js +11 -0
- package/es/components/Coachmark/utils/hooks.js +54 -0
- package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +93 -0
- package/es/components/CoachmarkBeacon/index.js +8 -0
- package/es/components/CoachmarkButton/CoachmarkButton.js +90 -0
- package/es/components/CoachmarkButton/index.js +8 -0
- package/es/components/CoachmarkFixed/CoachmarkFixed.js +226 -0
- package/es/components/CoachmarkFixed/index.js +8 -0
- package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +86 -0
- package/es/components/CoachmarkOverlayElement/index.js +8 -0
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +216 -0
- package/es/components/CoachmarkOverlayElements/index.js +8 -0
- package/es/components/CoachmarkStack/CoachmarkStack.js +283 -0
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +192 -0
- package/es/components/CoachmarkStack/index.js +8 -0
- package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +14 -4
- package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +4 -1
- package/es/components/Datagrid/Datagrid/DraggableElement.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +4 -1
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
- package/es/components/Datagrid/Datagrid/addons/Slug/ColumnHeaderSlug.js +26 -0
- package/es/components/Datagrid/Datagrid.docs-page.js +2 -2
- package/es/components/Datagrid/useActionsColumn.js +16 -12
- package/es/components/Datagrid/useDefaultStringRenderer.js +3 -3
- package/es/components/Datagrid/useNestedRowExpander.js +2 -2
- package/es/components/Datagrid/useSortableColumns.js +15 -5
- package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +7 -2
- package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +8 -3
- package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +7 -2
- package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +7 -2
- package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +7 -2
- package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +7 -2
- package/es/components/EmptyStates/assets/ErrorIllustration.js +5 -5
- package/es/components/EmptyStates/assets/NoDataIllustration.js +5 -5
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +5 -5
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +5 -5
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +5 -5
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +5 -5
- package/es/components/FilterSummary/FilterSummary.js +100 -19
- package/es/components/InterstitialScreen/InterstitialScreen.js +427 -0
- package/es/components/InterstitialScreen/index.js +8 -0
- package/es/components/InterstitialScreenView/InterstitialScreenView.js +75 -0
- package/es/components/InterstitialScreenView/index.js +8 -0
- package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +83 -0
- package/es/components/InterstitialScreenViewModule/index.js +8 -0
- package/es/components/PageHeader/PageHeaderUtils.js +2 -2
- package/es/components/SearchBar/SearchBar.js +227 -0
- package/es/components/SearchBar/index.js +8 -0
- package/es/components/TagSet/TagSet.js +11 -3
- package/es/components/index.js +12 -1
- package/es/global/js/hooks/useResizeObserver.js +2 -2
- package/es/global/js/package-settings.js +14 -0
- package/lib/components/Card/Card.js +3 -4
- package/lib/components/Card/CardHeader.js +2 -2
- package/lib/components/Carousel/Carousel.js +5 -3
- package/lib/components/Coachmark/Coachmark.js +264 -0
- package/lib/components/Coachmark/CoachmarkDragbar.js +151 -0
- package/lib/components/Coachmark/CoachmarkHeader.js +95 -0
- package/lib/components/Coachmark/CoachmarkOverlay.js +243 -0
- package/lib/components/Coachmark/CoachmarkTagline.js +101 -0
- package/lib/components/Coachmark/index.js +38 -0
- package/lib/components/Coachmark/utils/constants.js +81 -0
- package/lib/components/Coachmark/utils/context.js +11 -0
- package/lib/components/Coachmark/utils/enums.js +46 -0
- package/lib/components/Coachmark/utils/helpers.js +17 -0
- package/lib/components/Coachmark/utils/hooks.js +59 -0
- package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +97 -0
- package/lib/components/CoachmarkBeacon/index.js +12 -0
- package/lib/components/CoachmarkButton/CoachmarkButton.js +93 -0
- package/lib/components/CoachmarkButton/index.js +12 -0
- package/lib/components/CoachmarkFixed/CoachmarkFixed.js +232 -0
- package/lib/components/CoachmarkFixed/index.js +12 -0
- package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +90 -0
- package/lib/components/CoachmarkOverlayElement/index.js +12 -0
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +222 -0
- package/lib/components/CoachmarkOverlayElements/index.js +12 -0
- package/lib/components/CoachmarkStack/CoachmarkStack.js +288 -0
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +198 -0
- package/lib/components/CoachmarkStack/index.js +12 -0
- package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +14 -4
- package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +4 -1
- package/lib/components/Datagrid/Datagrid/DraggableElement.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +4 -1
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
- package/lib/components/Datagrid/Datagrid/addons/Slug/ColumnHeaderSlug.js +36 -0
- package/lib/components/Datagrid/Datagrid.docs-page.js +2 -2
- package/lib/components/Datagrid/useActionsColumn.js +15 -11
- package/lib/components/Datagrid/useDefaultStringRenderer.js +3 -3
- package/lib/components/Datagrid/useNestedRowExpander.js +2 -2
- package/lib/components/Datagrid/useSortableColumns.js +15 -5
- package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +7 -2
- package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +8 -3
- package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +7 -2
- package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +7 -2
- package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +7 -2
- package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +7 -2
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +5 -5
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +5 -5
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +5 -5
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +5 -5
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +5 -5
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +5 -5
- package/lib/components/FilterSummary/FilterSummary.js +103 -23
- package/lib/components/InterstitialScreen/InterstitialScreen.js +434 -0
- package/lib/components/InterstitialScreen/index.js +12 -0
- package/lib/components/InterstitialScreenView/InterstitialScreenView.js +77 -0
- package/lib/components/InterstitialScreenView/index.js +12 -0
- package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +85 -0
- package/lib/components/InterstitialScreenViewModule/index.js +12 -0
- package/lib/components/PageHeader/PageHeaderUtils.js +2 -2
- package/lib/components/SearchBar/SearchBar.js +233 -0
- package/lib/components/SearchBar/index.js +12 -0
- package/lib/components/TagSet/TagSet.js +11 -3
- package/lib/components/index.js +78 -1
- package/lib/global/js/hooks/useResizeObserver.js +2 -2
- package/lib/global/js/package-settings.js +14 -0
- package/package.json +5 -5
- package/scss/components/Card/_card.scss +6 -5
- package/scss/components/Coachmark/_carbon-imports.scss +10 -0
- package/scss/components/Coachmark/_coachmark-dragbar.scss +27 -0
- package/scss/components/Coachmark/_coachmark-header.scss +20 -0
- package/scss/components/Coachmark/_coachmark-overlay.scss +431 -0
- package/scss/components/Coachmark/_coachmark-tagline.scss +140 -0
- package/scss/components/Coachmark/_coachmark.scss +30 -0
- package/scss/components/Coachmark/_index-with-carbon.scss +9 -0
- package/scss/components/Coachmark/_index.scss +8 -0
- package/scss/components/CoachmarkBeacon/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +166 -0
- package/scss/components/CoachmarkBeacon/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkBeacon/_index.scss +8 -0
- package/scss/components/CoachmarkButton/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkButton/_coachmark-button.scss +25 -0
- package/scss/components/CoachmarkButton/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkButton/_index.scss +8 -0
- package/scss/components/CoachmarkFixed/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkFixed/_coachmark-fixed.scss +25 -0
- package/scss/components/CoachmarkFixed/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkFixed/_index.scss +8 -0
- package/scss/components/CoachmarkOverlayElement/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkOverlayElement/_coachmark-overlay-element.scss +52 -0
- package/scss/components/CoachmarkOverlayElement/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkOverlayElement/_index.scss +8 -0
- package/scss/components/CoachmarkOverlayElements/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +47 -0
- package/scss/components/CoachmarkOverlayElements/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkOverlayElements/_index.scss +8 -0
- package/scss/components/CoachmarkStack/_carbon-imports.scss +9 -0
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +95 -0
- package/scss/components/CoachmarkStack/_index-with-carbon.scss +9 -0
- package/scss/components/CoachmarkStack/_index.scss +8 -0
- package/scss/components/CreateSidePanel/_create-side-panel.scss +1 -38
- package/scss/components/Datagrid/styles/_datagrid.scss +15 -0
- package/scss/components/EditSidePanel/_edit-side-panel.scss +0 -18
- package/scss/components/FilterSummary/_filter-summary.scss +22 -1
- package/scss/components/InterstitialScreen/_carbon-imports.scss +9 -0
- package/scss/components/InterstitialScreen/_index-with-carbon.scss +9 -0
- package/scss/components/InterstitialScreen/_index.scss +8 -0
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +276 -0
- package/scss/components/InterstitialScreenView/_carbon-imports.scss +9 -0
- package/scss/components/InterstitialScreenView/_index-with-carbon.scss +9 -0
- package/scss/components/InterstitialScreenView/_index.scss +8 -0
- package/scss/components/InterstitialScreenView/_interstitial-screen-view.scss +25 -0
- package/scss/components/InterstitialScreenViewModule/_carbon-imports.scss +9 -0
- package/scss/components/InterstitialScreenViewModule/_index-with-carbon.scss +9 -0
- package/scss/components/InterstitialScreenViewModule/_index.scss +8 -0
- package/scss/components/InterstitialScreenViewModule/_interstitial-screen-view-module.scss +59 -0
- package/scss/components/PageHeader/_page-header.scss +0 -1
- package/scss/components/SearchBar/_carbon-imports.scss +9 -0
- package/scss/components/SearchBar/_index-with-carbon.scss +9 -0
- package/scss/components/SearchBar/_index.scss +8 -0
- package/scss/components/SearchBar/_search-bar.scss +26 -0
- package/scss/components/SidePanel/_side-panel.scss +12 -7
- package/scss/components/_index-with-carbon.scss +11 -0
- package/scss/components/_index.scss +11 -0
@@ -45,22 +45,4 @@ $side-panel-block-class: #{c4p-settings.$pkg-prefix}--side-panel;
|
|
45
45
|
.#{c4p-settings.$carbon-prefix}--btn.#{$side-panel-block-class}__close-button {
|
46
46
|
display: none;
|
47
47
|
}
|
48
|
-
|
49
|
-
.#{$side-panel-block-class} .#{$block-class}__actions-container {
|
50
|
-
position: absolute;
|
51
|
-
z-index: 4;
|
52
|
-
bottom: 0;
|
53
|
-
left: 0;
|
54
|
-
width: 100%;
|
55
|
-
margin-bottom: 0;
|
56
|
-
}
|
57
|
-
|
58
|
-
.#{$block-class}__actions-container {
|
59
|
-
position: absolute;
|
60
|
-
z-index: 4;
|
61
|
-
right: 0;
|
62
|
-
bottom: 0;
|
63
|
-
width: 100%;
|
64
|
-
margin-bottom: 0;
|
65
|
-
}
|
66
48
|
}
|
@@ -8,6 +8,7 @@
|
|
8
8
|
@use '@carbon/layout/scss/convert' as *;
|
9
9
|
@use '@carbon/styles/scss/spacing' as *;
|
10
10
|
@use '@carbon/styles/scss/theme' as *;
|
11
|
+
@use '@carbon/styles/scss/motion' as *;
|
11
12
|
|
12
13
|
$block-class: #{$pkg-prefix}--filter-summary;
|
13
14
|
|
@@ -16,13 +17,33 @@ $block-class: #{$pkg-prefix}--filter-summary;
|
|
16
17
|
width: 100%;
|
17
18
|
/* stylelint-disable-next-line -- to-rem carbon replacement for rem */
|
18
19
|
height: to-rem(48px);
|
19
|
-
align-items:
|
20
|
+
align-items: start;
|
20
21
|
padding: $spacing-03;
|
21
22
|
border-top: 1px solid $border-subtle-01;
|
22
23
|
background: $layer-01;
|
24
|
+
&.#{$block-class}__expanded {
|
25
|
+
height: fit-content;
|
26
|
+
}
|
23
27
|
}
|
24
28
|
|
25
29
|
.#{$block-class}
|
26
30
|
.#{$pkg-prefix}--tag-set.#{$pkg-prefix}--tag-set.#{$block-class}__clear-button-inline {
|
27
31
|
width: auto;
|
28
32
|
}
|
33
|
+
|
34
|
+
.#{$block-class}__view-all--wrapper {
|
35
|
+
position: absolute;
|
36
|
+
top: $spacing-03;
|
37
|
+
right: 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
.#{$block-class}__expanded
|
41
|
+
.#{$block-class}__clear-all-button.#{$carbon-prefix}--btn {
|
42
|
+
margin-right: $spacing-07;
|
43
|
+
}
|
44
|
+
|
45
|
+
.#{$block-class}__view-all--wrapper
|
46
|
+
.#{$block-class}__view-all--chevron-multiline {
|
47
|
+
transform: rotate(180deg);
|
48
|
+
transition: transform $duration-fast-01 motion(standard);
|
49
|
+
}
|
@@ -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 InterstitialScreen in this file.
|
9
|
+
// InterstitialScreen uses the following Carbon components:
|
@@ -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,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,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,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
|
-
|
115
|
-
|
116
|
-
|
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}
|
308
|
-
@include utilities.
|
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';
|