@carbon/ibm-products 2.55.0 → 2.56.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 +1247 -653
- 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 +945 -44
- 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 +568 -542
- 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 +636 -544
- 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/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +18 -9
- package/es/components/Card/Card.d.ts +3 -3
- package/es/components/Card/Card.js +10 -9
- package/es/components/Card/CardHeader.d.ts +7 -7
- package/es/components/Card/CardHeader.js +14 -12
- package/es/components/Coachmark/Coachmark.d.ts +5 -0
- package/es/components/Coachmark/Coachmark.js +11 -3
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +5 -0
- package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +19 -5
- package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +4 -0
- package/es/components/CoachmarkStack/CoachmarkStackHome.js +18 -6
- package/es/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
- package/es/components/CreateTearsheet/CreateTearsheet.js +2 -2
- package/es/components/CreateTearsheet/CreateTearsheetStep.js +6 -3
- package/es/components/EmptyStates/assets/ErrorIllustration.js +2 -3
- package/es/components/EmptyStates/assets/NoDataIllustration.js +2 -3
- package/es/components/EmptyStates/assets/NoTagsIllustration.js +2 -3
- package/es/components/EmptyStates/assets/NotFoundIllustration.js +2 -3
- package/es/components/EmptyStates/assets/NotificationsIllustration.js +2 -3
- package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +2 -3
- package/es/components/ExpressiveCard/ExpressiveCard.d.ts +5 -5
- package/es/components/ExpressiveCard/ExpressiveCard.js +5 -5
- package/es/components/FullPageError/FullPageError.js +7 -7
- package/es/components/FullPageError/assets/Error403SVG.d.ts +1 -3
- package/es/components/FullPageError/assets/Error403SVG.js +4 -6
- package/es/components/FullPageError/assets/Error404SVG.d.ts +1 -3
- package/es/components/FullPageError/assets/Error404SVG.js +4 -6
- package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +1 -3
- package/es/components/FullPageError/assets/ErrorGenericSVG.js +4 -6
- package/es/components/InlineTip/InlineTip.d.ts +5 -0
- package/es/components/InlineTip/InlineTip.js +17 -8
- package/es/components/ProductiveCard/ProductiveCard.d.ts +3 -3
- package/es/components/ProductiveCard/ProductiveCard.js +4 -4
- package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +3 -1
- package/es/global/js/package-settings.d.ts +1 -1
- package/es/global/js/package-settings.js +1 -1
- package/es/settings.d.ts +1 -1
- package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +17 -8
- package/lib/components/Card/Card.d.ts +3 -3
- package/lib/components/Card/Card.js +10 -9
- package/lib/components/Card/CardHeader.d.ts +7 -7
- package/lib/components/Card/CardHeader.js +14 -12
- package/lib/components/Coachmark/Coachmark.d.ts +5 -0
- package/lib/components/Coachmark/Coachmark.js +11 -3
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +5 -0
- package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +18 -4
- package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +4 -0
- package/lib/components/CoachmarkStack/CoachmarkStackHome.js +18 -6
- package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
- package/lib/components/CreateTearsheet/CreateTearsheet.js +2 -2
- package/lib/components/CreateTearsheet/CreateTearsheetStep.js +5 -2
- package/lib/components/EmptyStates/assets/ErrorIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NoDataIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NoTagsIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NotFoundIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/NotificationsIllustration.js +1 -2
- package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -2
- package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +5 -5
- package/lib/components/ExpressiveCard/ExpressiveCard.js +5 -5
- package/lib/components/FullPageError/FullPageError.js +7 -7
- package/lib/components/FullPageError/assets/Error403SVG.d.ts +1 -3
- package/lib/components/FullPageError/assets/Error403SVG.js +4 -6
- package/lib/components/FullPageError/assets/Error404SVG.d.ts +1 -3
- package/lib/components/FullPageError/assets/Error404SVG.js +4 -6
- package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +1 -3
- package/lib/components/FullPageError/assets/ErrorGenericSVG.js +4 -6
- package/lib/components/InlineTip/InlineTip.d.ts +5 -0
- package/lib/components/InlineTip/InlineTip.js +17 -8
- package/lib/components/ProductiveCard/ProductiveCard.d.ts +3 -3
- package/lib/components/ProductiveCard/ProductiveCard.js +4 -4
- package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +3 -1
- package/lib/global/js/package-settings.d.ts +1 -1
- package/lib/global/js/package-settings.js +1 -1
- package/lib/settings.d.ts +1 -1
- package/package.json +5 -5
- package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +3 -3
- package/scss/components/Card/_card.scss +19 -5
- package/scss/components/Coachmark/_coachmark-overlay.scss +2 -2
- package/scss/components/Coachmark/_coachmark-tagline.scss +1 -1
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +3 -3
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +2 -2
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +7 -7
- package/scss/components/CreateInfluencer/_create-influencer.scss +2 -2
- package/scss/components/CreateTearsheet/_create-tearsheet.scss +1 -2
- package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +4 -4
- package/scss/components/Datagrid/styles/_datagrid.scss +5 -8
- package/scss/components/Datagrid/styles/_draggableElement.scss +2 -2
- package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +1 -1
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +1 -1
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +1 -1
- package/scss/components/Datagrid/styles/_useNestedRows.scss +2 -2
- package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +1 -1
- package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +1 -1
- package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +1 -1
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +1 -2
- package/scss/components/DecoratorBase/_decorator-base-mixins.scss +1 -1
- package/scss/components/DecoratorBase/_decorator-base.scss +3 -3
- package/scss/components/DecoratorDualButton/_decorator-dual-button.scss +1 -1
- package/scss/components/DecoratorSingleButton/_decorator-single-button.scss +1 -1
- package/scss/components/EditTearsheet/_edit-tearsheet.scss +1 -2
- package/scss/components/EditUpdateCards/_edit-update-cards.scss +7 -7
- package/scss/components/FullPageError/_full-page-error.scss +1 -1
- package/scss/components/GetStartedCard/_get-started-card.scss +1 -1
- package/scss/components/Guidebanner/_guidebanner.scss +4 -4
- package/scss/components/HTTPErrors/_http-errors.scss +1 -1
- package/scss/components/InlineTip/_inline-tip.scss +4 -4
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +6 -6
- package/scss/components/NonLinearReading/_non-linear-reading.scss +2 -2
- package/scss/components/NotificationsPanel/_notifications-panel.scss +3 -3
- package/scss/components/OptionsTile/_options-tile.scss +6 -8
- package/scss/components/PageHeader/_page-header.scss +20 -13
- package/scss/components/ProductiveCard/_productive-card.scss +2 -2
- package/scss/components/SidePanel/_side-panel.scss +11 -11
- package/scss/components/StatusIcon/_status-icon.scss +9 -7
- package/scss/components/StatusIndicator/_status-indicator.scss +1 -1
- package/scss/components/Tearsheet/_tearsheet.scss +5 -5
- package/scss/components/UserAvatar/_user-avatar.scss +5 -3
- package/scss/components/UserProfileImage/_user-profile-image.scss +6 -4
- package/scss/components/WebTerminal/_web-terminal.scss +2 -2
- package/scss/components/_index-released-only.scss +1 -0
- package/telemetry.yml +3 -0
@@ -16,7 +16,7 @@ $influencerAnimationStart: calc(-1 * #{$spacing-05});
|
|
16
16
|
@keyframes influencer-menu-entrance {
|
17
17
|
0% {
|
18
18
|
opacity: 0;
|
19
|
-
// stylelint-disable-next-line carbon/layout-
|
19
|
+
// stylelint-disable-next-line carbon/layout-use
|
20
20
|
transform: translateX($influencerAnimationStart);
|
21
21
|
}
|
22
22
|
|
@@ -33,7 +33,7 @@ $influencerAnimationStart: calc(-1 * #{$spacing-05});
|
|
33
33
|
|
34
34
|
100% {
|
35
35
|
opacity: 0;
|
36
|
-
// stylelint-disable-next-line carbon/layout-
|
36
|
+
// stylelint-disable-next-line carbon/layout-use
|
37
37
|
transform: translateX($influencerAnimationStart);
|
38
38
|
}
|
39
39
|
}
|
@@ -133,7 +133,7 @@ $header-cell-background: $layer-accent-01;
|
|
133
133
|
overflow: hidden;
|
134
134
|
min-width: initial;
|
135
135
|
min-height: initial;
|
136
|
-
/* stylelint-disable-next-line carbon/layout-
|
136
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
137
137
|
padding: 0 calc(#{$spacing-03} + 1px) 0 $spacing-03;
|
138
138
|
margin: 0;
|
139
139
|
background-color: $body-cell-background;
|
@@ -158,7 +158,7 @@ $header-cell-background: $layer-accent-01;
|
|
158
158
|
overflow: hidden;
|
159
159
|
width: fit-content;
|
160
160
|
max-width: var(--#{$block-class}--total-width);
|
161
|
-
/* stylelint-disable-next-line carbon/layout-
|
161
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
162
162
|
padding: 0 calc(#{$spacing-03} + 1px) 0 $spacing-03;
|
163
163
|
visibility: hidden;
|
164
164
|
|
@@ -177,10 +177,10 @@ $header-cell-background: $layer-accent-01;
|
|
177
177
|
overflow: hidden;
|
178
178
|
// Could be fixed by using border-right but the fact that
|
179
179
|
// this element is positioned absolute prevents that from working
|
180
|
-
/* stylelint-disable-next-line carbon/layout-
|
180
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
181
181
|
padding-right: calc(#{$spacing-03} - 1px);
|
182
182
|
padding-bottom: $spacing-01;
|
183
|
-
/* stylelint-disable-next-line carbon/layout-
|
183
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
184
184
|
padding-left: calc(#{$spacing-03} - #{$spacing-01});
|
185
185
|
border: $spacing-01 solid $background-brand;
|
186
186
|
background-color: $body-cell-background;
|
@@ -57,7 +57,7 @@
|
|
57
57
|
|
58
58
|
td.#{c4p-settings.$carbon-prefix}--table-column-checkbox,
|
59
59
|
th.#{c4p-settings.$carbon-prefix}--table-column-checkbox {
|
60
|
-
/* stylelint-disable-next-line carbon/layout-
|
60
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
61
61
|
padding-top: 0.6875rem;
|
62
62
|
|
63
63
|
&.#{$block-class}__checkbox-cell {
|
@@ -158,7 +158,6 @@
|
|
158
158
|
|
159
159
|
/* This section to be removed after support for slug dropped - start */
|
160
160
|
.#{$block-class} th.#{$block-class}__with-slug {
|
161
|
-
/* stylelint-disable-next-line carbon/theme-token-use */
|
162
161
|
box-shadow: inset 0 1px $ai-border-strong;
|
163
162
|
}
|
164
163
|
|
@@ -185,7 +184,7 @@
|
|
185
184
|
.#{c4p-settings.$carbon-prefix}--data-table
|
186
185
|
tbody
|
187
186
|
tr.#{$block-class}__slug--row {
|
188
|
-
/* stylelint-disable-next-line carbon/theme-
|
187
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
189
188
|
box-shadow: inset 1px 0 $ai-border-strong;
|
190
189
|
}
|
191
190
|
|
@@ -232,7 +231,6 @@
|
|
232
231
|
/* This section to be removed after support for slug dropped - end */
|
233
232
|
|
234
233
|
.#{$block-class} th.#{$block-class}__with-ai-label {
|
235
|
-
/* stylelint-disable-next-line carbon/theme-token-use */
|
236
234
|
box-shadow: inset 0 1px $ai-border-strong;
|
237
235
|
}
|
238
236
|
|
@@ -259,7 +257,6 @@
|
|
259
257
|
.#{c4p-settings.$carbon-prefix}--data-table
|
260
258
|
tbody
|
261
259
|
tr.#{$block-class}__ai-label--row {
|
262
|
-
/* stylelint-disable-next-line carbon/theme-token-use */
|
263
260
|
box-shadow: inset 1px 0 $ai-border-strong;
|
264
261
|
}
|
265
262
|
|
@@ -677,9 +674,9 @@
|
|
677
674
|
&.#{$block-class}__carbon-row-expanded-hover-active::before {
|
678
675
|
position: absolute;
|
679
676
|
z-index: 2;
|
680
|
-
/* stylelint-disable-next-line carbon/layout-
|
677
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
681
678
|
top: var(--#{$block-class}--row-height);
|
682
|
-
/* stylelint-disable-next-line carbon/layout-
|
679
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
683
680
|
left: calc(
|
684
681
|
var(--#{$block-class}--indicator-offset-amount) + #{$spacing-05}
|
685
682
|
);
|
@@ -949,7 +946,7 @@
|
|
949
946
|
.#{$block-class}__col-resizer-range:focus
|
950
947
|
+ .#{$block-class}__col-resize-indicator::after {
|
951
948
|
position: absolute;
|
952
|
-
/* stylelint-disable-next-line carbon/layout-
|
949
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
953
950
|
top: calc(var(--#{$block-class}--row-height) - 20px);
|
954
951
|
right: $spacing-02;
|
955
952
|
width: 1px;
|
@@ -35,7 +35,7 @@
|
|
35
35
|
width: 100%;
|
36
36
|
height: $spacing-09;
|
37
37
|
border: 2px dashed $focus;
|
38
|
-
/* stylelint-disable-next-line carbon/theme-
|
38
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
39
39
|
background-color: colors.$blue-10; // not good in dark mode
|
40
40
|
}
|
41
41
|
|
@@ -82,7 +82,7 @@
|
|
82
82
|
width: 100%;
|
83
83
|
align-items: center;
|
84
84
|
padding-left: $spacing-05;
|
85
|
-
/* stylelint-disable-next-line carbon/type-
|
85
|
+
/* stylelint-disable-next-line carbon/type-use */
|
86
86
|
line-height: 1; // center align text within row
|
87
87
|
transition-property: opacity;
|
88
88
|
}
|
@@ -24,7 +24,7 @@
|
|
24
24
|
.#{variables.$block-class}
|
25
25
|
.#{variables.$block-class}__expanded-row-content::before {
|
26
26
|
position: absolute;
|
27
|
-
/* stylelint-disable-next-line carbon/layout-
|
27
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
28
28
|
top: -1px;
|
29
29
|
right: 0;
|
30
30
|
width: calc(100% - #{$spacing-09});
|
@@ -54,7 +54,7 @@ $row-heights: (
|
|
54
54
|
}
|
55
55
|
|
56
56
|
@mixin input-outline($color: $focus) {
|
57
|
-
/* stylelint-disable-next-line carbon/theme-
|
57
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
58
58
|
outline: $spacing-01 solid $color;
|
59
59
|
outline-offset: calc(-1 * #{$spacing-01});
|
60
60
|
|
@@ -42,7 +42,7 @@
|
|
42
42
|
tr.#{$block-class}__carbon-nested-row
|
43
43
|
+ :not(tr.#{$block-class}__carbon-nested-row)::after {
|
44
44
|
position: absolute;
|
45
|
-
/* stylelint-disable-next-line carbon/layout-
|
45
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
46
46
|
top: -1px;
|
47
47
|
left: 0;
|
48
48
|
width: 100%;
|
@@ -91,7 +91,7 @@
|
|
91
91
|
td.#{$block-class}__expandable-row-cell
|
92
92
|
+ td::before {
|
93
93
|
position: absolute;
|
94
|
-
/* stylelint-disable-next-line carbon/layout-
|
94
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
95
95
|
bottom: -1px;
|
96
96
|
left: 0;
|
97
97
|
width: 1rem;
|
@@ -32,8 +32,7 @@
|
|
32
32
|
.#{c4p-settings.$carbon-prefix}--popover--bottom-right.#{variables.$block-class}__row-height-settings-popover
|
33
33
|
.#{c4p-settings.$carbon-prefix}--popover-caret {
|
34
34
|
// Used to fix layout issue with IconButton caret inside of Popover component
|
35
|
-
|
36
|
-
left: -4px;
|
35
|
+
left: -$spacing-02;
|
37
36
|
}
|
38
37
|
|
39
38
|
.#{variables.$block-class}__row-size-toggle-tip-button.#{c4p-settings.$carbon-prefix}--toggletip-button {
|
@@ -1,6 +1,6 @@
|
|
1
|
-
/* stylelint-disable carbon/theme-
|
2
|
-
/* stylelint-disable carbon/type-
|
3
|
-
/* stylelint-disable carbon/layout-
|
1
|
+
/* stylelint-disable carbon/theme-use */
|
2
|
+
/* stylelint-disable carbon/type-use */
|
3
|
+
/* stylelint-disable carbon/layout-use */
|
4
4
|
/* stylelint-disable function-no-unknown */
|
5
5
|
|
6
6
|
//
|
@@ -31,11 +31,11 @@ $block-class: #{c4p-settings.$pkg-prefix}--edit-update-cards;
|
|
31
31
|
.#{c4p-settings.$pkg-prefix}--card__header,
|
32
32
|
.#{c4p-settings.$pkg-prefix}--card__footer {
|
33
33
|
button {
|
34
|
-
// stylelint-disable-next-line carbon/theme-
|
34
|
+
// stylelint-disable-next-line carbon/theme-use
|
35
35
|
color: $white-0;
|
36
36
|
|
37
37
|
&:hover {
|
38
|
-
// stylelint-disable-next-line carbon/theme-
|
38
|
+
// stylelint-disable-next-line carbon/theme-use
|
39
39
|
background-color: $blue-60-hover;
|
40
40
|
}
|
41
41
|
|
@@ -45,7 +45,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--edit-update-cards;
|
|
45
45
|
|
46
46
|
svg {
|
47
47
|
path {
|
48
|
-
// stylelint-disable-next-line carbon/theme-
|
48
|
+
// stylelint-disable-next-line carbon/theme-use
|
49
49
|
fill: $white-0;
|
50
50
|
}
|
51
51
|
}
|
@@ -59,9 +59,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--edit-update-cards;
|
|
59
59
|
}
|
60
60
|
|
61
61
|
.#{c4p-settings.$pkg-prefix}--card__footer {
|
62
|
-
// stylelint-disable-next-line carbon/theme-
|
62
|
+
// stylelint-disable-next-line carbon/theme-use
|
63
63
|
background-color: $blue-60;
|
64
|
-
// stylelint-disable-next-line carbon/theme-
|
64
|
+
// stylelint-disable-next-line carbon/theme-use
|
65
65
|
color: $white-0;
|
66
66
|
}
|
67
67
|
|
@@ -85,9 +85,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--edit-update-cards;
|
|
85
85
|
&:not(.#{$block-class}__actions-bottom) {
|
86
86
|
&##{$block-class}--edit {
|
87
87
|
.#{c4p-settings.$pkg-prefix}--card__header {
|
88
|
-
// stylelint-disable-next-line carbon/theme-
|
88
|
+
// stylelint-disable-next-line carbon/theme-use
|
89
89
|
background-color: $blue-60;
|
90
|
-
// stylelint-disable-next-line carbon/theme-
|
90
|
+
// stylelint-disable-next-line carbon/theme-use
|
91
91
|
color: $white-0;
|
92
92
|
}
|
93
93
|
}
|
@@ -49,7 +49,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--full-page-error;
|
|
49
49
|
height: 100%;
|
50
50
|
padding: $spacing-03 $spacing-03 $spacing-11 $spacing-03;
|
51
51
|
@include breakpoint(md) {
|
52
|
-
padding: auto $spacing-03 $spacing-11
|
52
|
+
padding: auto $spacing-03 $spacing-11;
|
53
53
|
}
|
54
54
|
}
|
55
55
|
|
@@ -15,9 +15,9 @@
|
|
15
15
|
* individual rules.
|
16
16
|
*/
|
17
17
|
|
18
|
-
/* stylelint-disable carbon/layout-
|
18
|
+
/* stylelint-disable carbon/layout-use */
|
19
19
|
/* stylelint-disable carbon/motion-duration-use */
|
20
|
-
/* stylelint-disable carbon/theme-
|
20
|
+
/* stylelint-disable carbon/theme-use */
|
21
21
|
/* stylelint-disable declaration-no-important */
|
22
22
|
/* stylelint-disable function-no-unknown */
|
23
23
|
/* stylelint-disable max-nesting-depth */
|
@@ -105,7 +105,7 @@ $purple-3: #7433e3;
|
|
105
105
|
|
106
106
|
// Specify Carousel look and feel.
|
107
107
|
.#{$block-class}__carousel {
|
108
|
-
padding: 0 0 $spacing-05
|
108
|
+
padding: 0 0 $spacing-05;
|
109
109
|
color: $gray-10;
|
110
110
|
|
111
111
|
@include when-collapsed() {
|
@@ -173,7 +173,7 @@ $purple-3: #7433e3;
|
|
173
173
|
// Repeating here.
|
174
174
|
svg {
|
175
175
|
position: absolute;
|
176
|
-
right:
|
176
|
+
right: $spacing-05;
|
177
177
|
width: 1rem;
|
178
178
|
height: 1rem;
|
179
179
|
flex-shrink: 0;
|
@@ -15,8 +15,8 @@
|
|
15
15
|
* instead of many individual rules.
|
16
16
|
*/
|
17
17
|
|
18
|
-
/* stylelint-disable carbon/layout-
|
19
|
-
/* stylelint-disable carbon/theme-
|
18
|
+
/* stylelint-disable carbon/layout-use */
|
19
|
+
/* stylelint-disable carbon/theme-use */
|
20
20
|
/* stylelint-disable declaration-no-important */
|
21
21
|
/* stylelint-disable function-no-unknown */
|
22
22
|
/* stylelint-disable max-nesting-depth */
|
@@ -177,7 +177,7 @@ $purple: #7f3ae7;
|
|
177
177
|
}
|
178
178
|
|
179
179
|
.#{$block-class} .#{$block-class}__close-icon {
|
180
|
-
padding: to-rem(6px) 0 0
|
180
|
+
padding: to-rem(6px) 0 0;
|
181
181
|
block-size: $spacing-07;
|
182
182
|
color: $white-0;
|
183
183
|
inline-size: $spacing-07;
|
@@ -221,7 +221,7 @@ $purple: #7f3ae7;
|
|
221
221
|
// Repeating here.
|
222
222
|
svg {
|
223
223
|
position: absolute;
|
224
|
-
right:
|
224
|
+
right: $spacing-05;
|
225
225
|
width: 1rem;
|
226
226
|
height: 1rem;
|
227
227
|
flex-shrink: 0;
|
@@ -87,7 +87,7 @@ $one-grid-column: calc(100% / 16);
|
|
87
87
|
&--container {
|
88
88
|
min-width: 47rem;
|
89
89
|
max-width: 82rem;
|
90
|
-
margin: calc($spacing-10 * 2) auto; // stylelint-disable-line carbon/layout-
|
90
|
+
margin: calc($spacing-10 * 2) auto; // stylelint-disable-line carbon/layout-use
|
91
91
|
background-color: $background;
|
92
92
|
}
|
93
93
|
|
@@ -220,17 +220,17 @@ $one-grid-column: calc(100% / 16);
|
|
220
220
|
height: $spacing-09;
|
221
221
|
padding-left: $spacing-05;
|
222
222
|
border-bottom: 1px solid $border-subtle-01;
|
223
|
-
/* stylelint-disable-next-line carbon/theme-
|
223
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
224
224
|
background-color: $gray-100;
|
225
|
-
/* stylelint-disable-next-line carbon/theme-
|
225
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
226
226
|
color: $gray-10;
|
227
|
-
/* stylelint-disable-next-line carbon/type-
|
227
|
+
/* stylelint-disable-next-line carbon/type-use */
|
228
228
|
font-weight: normal !important; // overrides type style above
|
229
|
-
/* stylelint-disable-next-line carbon/type-
|
229
|
+
/* stylelint-disable-next-line carbon/type-use */
|
230
230
|
line-height: $spacing-09 !important;
|
231
231
|
|
232
232
|
b {
|
233
|
-
/* stylelint-disable-next-line carbon/type-
|
233
|
+
/* stylelint-disable-next-line carbon/type-use */
|
234
234
|
font-weight: 600;
|
235
235
|
}
|
236
236
|
}
|
@@ -5,7 +5,7 @@
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
6
6
|
//
|
7
7
|
|
8
|
-
/* stylelint-disable carbon/layout-
|
8
|
+
/* stylelint-disable carbon/layout-use */
|
9
9
|
/* stylelint-disable function-no-unknown */
|
10
10
|
|
11
11
|
// Standard imports.
|
@@ -70,7 +70,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--non-linear-reading;
|
|
70
70
|
}
|
71
71
|
// The "up" chevron
|
72
72
|
.#{$block-class} .#{$block-class}__keyword svg {
|
73
|
-
margin: to-rem(1px) 0 0
|
73
|
+
margin: to-rem(1px) 0 0;
|
74
74
|
vertical-align: text-top;
|
75
75
|
}
|
76
76
|
|
@@ -23,7 +23,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
23
23
|
@keyframes fade-in {
|
24
24
|
0% {
|
25
25
|
opacity: 0;
|
26
|
-
// stylelint-disable-next-line carbon/layout-
|
26
|
+
// stylelint-disable-next-line carbon/layout-use
|
27
27
|
transform: translateY(-38.5rem); // the height of the notification panel
|
28
28
|
}
|
29
29
|
|
@@ -41,7 +41,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
41
41
|
|
42
42
|
100% {
|
43
43
|
opacity: 0;
|
44
|
-
// stylelint-disable-next-line carbon/layout-
|
44
|
+
// stylelint-disable-next-line carbon/layout-use
|
45
45
|
transform: translateY(-38.5rem); // the height of the notification panel
|
46
46
|
}
|
47
47
|
}
|
@@ -93,7 +93,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
|
|
93
93
|
|
94
94
|
position: sticky;
|
95
95
|
z-index: 2;
|
96
|
-
// stylelint-disable-next-line carbon/layout-
|
96
|
+
// stylelint-disable-next-line carbon/layout-use
|
97
97
|
top: 4.8125rem;
|
98
98
|
padding: $spacing-03 $spacing-05;
|
99
99
|
background-color: $layer-01;
|
@@ -121,12 +121,12 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
121
121
|
}
|
122
122
|
|
123
123
|
.#{$block-class}__summary--warn svg path[fill='none'] {
|
124
|
-
/* stylelint-disable-next-line carbon/theme-
|
124
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
125
125
|
fill: $black-100;
|
126
126
|
}
|
127
127
|
|
128
128
|
.#{$block-class}__summary--warn svg path[fill='none'] {
|
129
|
-
/* stylelint-disable-next-line carbon/theme-
|
129
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
130
130
|
fill: $black-100;
|
131
131
|
}
|
132
132
|
|
@@ -134,7 +134,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
134
134
|
overflow: hidden;
|
135
135
|
height: max-content;
|
136
136
|
// spacing-05 + toggle width
|
137
|
-
// stylelint-disable-next-line carbon/layout-
|
137
|
+
// stylelint-disable-next-line carbon/layout-use
|
138
138
|
padding-right: calc(#{$spacing-05} + 2rem);
|
139
139
|
text-overflow: ellipsis;
|
140
140
|
white-space: nowrap;
|
@@ -149,7 +149,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
149
149
|
.#{$block-class}__content {
|
150
150
|
padding-right: $spacing-05;
|
151
151
|
// spacing-05 + chevron size + spacing-05
|
152
|
-
// stylelint-disable-next-line carbon/layout-
|
152
|
+
// stylelint-disable-next-line carbon/layout-use
|
153
153
|
padding-left: calc(#{$spacing-05} * 2 + 1rem);
|
154
154
|
}
|
155
155
|
|
@@ -208,14 +208,12 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
|
|
208
208
|
|
209
209
|
.#{$block-class}--lg .#{$block-class}__toggle {
|
210
210
|
// "top" shouldn't be spacing token as it depends on the toggle size
|
211
|
-
|
212
|
-
top: 1rem;
|
211
|
+
top: $spacing-05;
|
213
212
|
}
|
214
213
|
|
215
214
|
.#{$block-class}--xl .#{$block-class}__toggle {
|
216
215
|
// "top" shouldn't be spacing token as it depends on the toggle size
|
217
|
-
|
218
|
-
top: 1.5rem;
|
216
|
+
top: $spacing-06;
|
219
217
|
}
|
220
218
|
|
221
219
|
.#{$block-class}--lg .#{$block-class}__summary {
|
@@ -38,27 +38,27 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
38
38
|
|
39
39
|
@keyframes background-appear {
|
40
40
|
from {
|
41
|
-
/* stylelint-disable-next-line carbon/theme-
|
41
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
42
42
|
background-color: var(--from-color);
|
43
43
|
}
|
44
44
|
|
45
45
|
to {
|
46
|
-
/* stylelint-disable-next-line carbon/theme-
|
46
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
47
47
|
background-color: var(--to-color);
|
48
48
|
}
|
49
49
|
}
|
50
50
|
@keyframes background-and-shadow-appear {
|
51
51
|
from {
|
52
|
-
/* stylelint-disable-next-line carbon/theme-
|
52
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
53
53
|
background-color: var(--from-color);
|
54
|
-
/* stylelint-disable-next-line carbon/theme-
|
54
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
55
55
|
box-shadow: 0 1px 0 var(--from-color);
|
56
56
|
}
|
57
57
|
|
58
58
|
to {
|
59
|
-
/* stylelint-disable-next-line carbon/theme-
|
59
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
60
60
|
background-color: var(--to-color);
|
61
|
-
/* stylelint-disable-next-line carbon/theme-
|
61
|
+
/* stylelint-disable-next-line carbon/theme-use */
|
62
62
|
box-shadow: 0 1px 0 var(--to-color-shadow);
|
63
63
|
}
|
64
64
|
}
|
@@ -69,11 +69,11 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
69
69
|
$to-color: $layer-01,
|
70
70
|
$to-color-shadow: $layer-accent-01
|
71
71
|
) {
|
72
|
-
// stylelint-disable-next-line carbon/theme-
|
72
|
+
// stylelint-disable-next-line carbon/theme-use
|
73
73
|
--from-color: #{$from-color};
|
74
|
-
// stylelint-disable-next-line carbon/theme-
|
74
|
+
// stylelint-disable-next-line carbon/theme-use
|
75
75
|
--to-color: #{$to-color};
|
76
|
-
// stylelint-disable-next-line carbon/theme-
|
76
|
+
// stylelint-disable-next-line carbon/theme-use
|
77
77
|
--to-color-shadow: #{$to-color-shadow};
|
78
78
|
|
79
79
|
position: absolute;
|
@@ -107,7 +107,7 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
107
107
|
/* z-index used to raise above any position relative content as per Carbon header */
|
108
108
|
/* dropped 1 below Carbon header so as not to overlay the side panel */
|
109
109
|
z-index: $z-index-header-minus;
|
110
|
-
/* stylelint-disable-next-line carbon/layout-
|
110
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
111
111
|
top: var(--#{$block-class}--header-top);
|
112
112
|
display: inline-block; /* cause top/bottom margin to reserve space */
|
113
113
|
width: 100%;
|
@@ -417,7 +417,7 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
417
417
|
|
418
418
|
.#{$block-class}__breadcrumb-row--has-breadcrumbs
|
419
419
|
+ .#{$block-class}__title-row--sticky {
|
420
|
-
// stylelint-disable-next-line carbon/layout-
|
420
|
+
// stylelint-disable-next-line carbon/layout-use
|
421
421
|
top: calc(
|
422
422
|
var(--#{$block-class}--breadcrumb-top) - var(--title-row-margin-top)
|
423
423
|
);
|
@@ -473,8 +473,10 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
473
473
|
|
474
474
|
.#{$block-class}__title-icon {
|
475
475
|
margin-right: $spacing-04;
|
476
|
-
// stylelint-disable-next-line carbon/layout-
|
477
|
-
transform: translateY(
|
476
|
+
// stylelint-disable-next-line carbon/layout-use
|
477
|
+
transform: translateY(
|
478
|
+
-$spacing-01
|
479
|
+
); // positional tweak requested by design review
|
478
480
|
|
479
481
|
vertical-align: middle;
|
480
482
|
}
|
@@ -667,3 +669,8 @@ $right-section-alt-width: 100% - $left-section-alt-width;
|
|
667
669
|
.#{$block-class}__button-set-menu-options.#{$carbon-prefix}--overflow-menu-options {
|
668
670
|
z-index: $z-index-header-minus;
|
669
671
|
}
|
672
|
+
|
673
|
+
.#{$block-class}__button-set-menu-options
|
674
|
+
> button.#{$carbon-prefix}--menu-button__trigger {
|
675
|
+
min-inline-size: 0;
|
676
|
+
}
|
@@ -52,9 +52,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--card;
|
|
52
52
|
|
53
53
|
.#{$block-class}__actions-header-ghost-button {
|
54
54
|
min-height: $spacing-07;
|
55
|
-
// stylelint-disable-next-line carbon/layout-
|
55
|
+
// stylelint-disable-next-line carbon/layout-use
|
56
56
|
padding-right: calc($spacing-01 + $spacing-03);
|
57
|
-
// stylelint-disable-next-line carbon/layout-
|
57
|
+
// stylelint-disable-next-line carbon/layout-use
|
58
58
|
padding-left: calc($spacing-01 + $spacing-03);
|
59
59
|
|
60
60
|
/* stylelint-disable-next-line max-nesting-depth */
|