@carbon/ibm-products-styles 2.55.0-rc.0 → 2.56.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/index-full-carbon.css +9105 -9158
- 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 +1150 -1565
- 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 +2837 -4774
- 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 +2250 -1875
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/package.json +14 -14
- package/scss/components/APIKeyModal/_api-key-modal.scss +7 -7
- package/scss/components/APIKeyModal/_carbon-imports.scss +5 -5
- package/scss/components/AboutModal/_about-modal.scss +13 -13
- package/scss/components/AboutModal/_carbon-imports.scss +2 -2
- package/scss/components/ActionBar/_action-bar.scss +2 -2
- package/scss/components/ActionBar/_carbon-imports.scss +2 -2
- package/scss/components/ActionSet/_action-set.scss +9 -10
- package/scss/components/ActionSet/_carbon-imports.scss +2 -2
- package/scss/components/AddSelect/_add-select.scss +43 -40
- package/scss/components/AddSelect/_carbon-imports.scss +10 -10
- package/scss/components/BigNumbers/_big-numbers.scss +26 -20
- package/scss/components/BigNumbers/_carbon-imports.scss +2 -2
- package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +8 -6
- package/scss/components/BreadcrumbWithOverflow/_carbon-imports.scss +3 -3
- package/scss/components/ButtonMenu/_button-menu.scss +3 -3
- package/scss/components/ButtonMenu/_carbon-imports.scss +2 -2
- package/scss/components/ButtonSetWithOverflow/_button-set-with-overflow.scss +2 -2
- package/scss/components/ButtonSetWithOverflow/_carbon-imports.scss +1 -1
- package/scss/components/Card/_carbon-imports.scss +2 -2
- package/scss/components/Card/_card.scss +23 -22
- package/scss/components/Carousel/_carousel.scss +5 -6
- package/scss/components/Cascade/_cascade.scss +2 -2
- package/scss/components/Checklist/_carbon-imports.scss +1 -1
- package/scss/components/Checklist/_checklist.scss +23 -24
- package/scss/components/Coachmark/_carbon-imports.scss +1 -1
- package/scss/components/Coachmark/_coachmark-dragbar.scss +1 -1
- package/scss/components/Coachmark/_coachmark-overlay.scss +34 -27
- package/scss/components/Coachmark/_coachmark-tagline.scss +18 -15
- package/scss/components/Coachmark/_coachmark.scss +1 -1
- package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +17 -17
- package/scss/components/CoachmarkButton/_coachmark-button.scss +1 -1
- package/scss/components/CoachmarkFixed/_coachmark-fixed.scss +1 -1
- package/scss/components/CoachmarkOverlayElement/_coachmark-overlay-element.scss +5 -5
- package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +4 -4
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +11 -11
- package/scss/components/ComboButton/_combo-button.scss +13 -9
- package/scss/components/ConditionBuilder/_condition-builder.scss +11 -12
- package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +10 -10
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +26 -30
- package/scss/components/CreateFullPage/_carbon-imports.scss +6 -6
- package/scss/components/CreateFullPage/_create-full-page.scss +36 -26
- package/scss/components/CreateInfluencer/_carbon-imports.scss +1 -1
- package/scss/components/CreateInfluencer/_create-influencer.scss +5 -2
- package/scss/components/CreateModal/_carbon-imports.scss +3 -3
- package/scss/components/CreateModal/_create-modal.scss +15 -14
- package/scss/components/CreateSidePanel/_carbon-imports.scss +1 -1
- package/scss/components/CreateSidePanel/_create-side-panel.scss +5 -5
- package/scss/components/CreateTearsheet/_carbon-imports.scss +1 -1
- package/scss/components/CreateTearsheet/_create-tearsheet.scss +22 -20
- package/scss/components/CreateTearsheetNarrow/_carbon-imports.scss +1 -1
- package/scss/components/CreateTearsheetNarrow/_create-tearsheet-narrow.scss +8 -8
- package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +33 -32
- package/scss/components/Datagrid/_datagrid.scss +12 -8
- package/scss/components/Datagrid/styles/_datagrid.scss +135 -120
- package/scss/components/Datagrid/styles/_draggableElement.scss +11 -11
- package/scss/components/Datagrid/styles/_useActionsColumn.scss +1 -1
- package/scss/components/Datagrid/styles/_useColumnCenterAlign.scss +2 -3
- package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +7 -7
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +13 -13
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +62 -63
- package/scss/components/Datagrid/styles/_useNestedRows.scss +16 -16
- package/scss/components/Datagrid/styles/_useNestedTable.scss +10 -7
- package/scss/components/Datagrid/styles/_useSelectAllToggle.scss +6 -6
- package/scss/components/Datagrid/styles/_useSortableColumns.scss +6 -6
- package/scss/components/Datagrid/styles/_useStickyColumn.scss +11 -11
- package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +9 -9
- package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +19 -19
- package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +29 -29
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +10 -9
- package/scss/components/DecoratorBase/_decorator-base-mixins.scss +6 -8
- package/scss/components/DecoratorBase/_decorator-base.scss +11 -11
- package/scss/components/DelimitedList/_delimited-list.scss +1 -1
- package/scss/components/DescriptionList/_description-list.scss +9 -9
- package/scss/components/EditInPlace/_carbon-imports.scss +2 -2
- package/scss/components/EditInPlace/_edit-in-place.scss +8 -7
- package/scss/components/EditSidePanel/_carbon-imports.scss +1 -1
- package/scss/components/EditSidePanel/_edit-side-panel.scss +4 -4
- package/scss/components/EditTearsheet/_carbon-imports.scss +9 -0
- package/scss/components/EditTearsheet/_edit-tearsheet.scss +20 -21
- package/scss/components/EditTearsheet/_index-with-carbon.scss +9 -0
- package/scss/components/EmptyStates/_carbon-imports.scss +2 -2
- package/scss/components/EmptyStates/_empty-state.scss +12 -10
- package/scss/components/ExampleComponent/_carbon-imports.scss +1 -1
- package/scss/components/ExportModal/_carbon-imports.scss +6 -6
- package/scss/components/ExportModal/_export-modal.scss +6 -6
- package/scss/components/FilterPanel/_carbon-imports.scss +5 -5
- package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +3 -3
- package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +5 -5
- package/scss/components/FilterPanel/_filter-panel-checkbox.scss +3 -3
- package/scss/components/FilterPanel/_filter-panel-group.scss +4 -6
- package/scss/components/FilterPanel/_filter-panel-label.scss +1 -1
- package/scss/components/FilterPanel/_filter-panel-search.scss +8 -6
- package/scss/components/FilterPanel/_filter-panel.scss +1 -2
- package/scss/components/FilterSummary/_filter-summary.scss +9 -9
- package/scss/components/FullPageError/_full-page-error.scss +8 -9
- package/scss/components/GetStartedCard/_get-started-card.scss +12 -14
- package/scss/components/Guidebanner/_guidebanner.scss +37 -36
- package/scss/components/HTTPErrors/_carbon-imports.scss +1 -1
- package/scss/components/HTTPErrors/_http-errors.scss +11 -11
- package/scss/components/ImportModal/_carbon-imports.scss +4 -4
- package/scss/components/ImportModal/_import-modal.scss +12 -13
- package/scss/components/InlineTip/_inline-tip.scss +26 -25
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +43 -44
- package/scss/components/InterstitialScreenView/_interstitial-screen-view.scss +2 -2
- package/scss/components/InterstitialScreenViewModule/_interstitial-screen-view-module.scss +2 -2
- package/scss/components/Nav/_nav.scss +32 -37
- package/scss/components/NonLinearReading/_non-linear-reading.scss +11 -7
- package/scss/components/NotificationsPanel/_carbon-imports.scss +3 -3
- package/scss/components/NotificationsPanel/_notifications-panel.scss +50 -40
- package/scss/components/OptionsTile/_carbon-imports.scss +1 -1
- package/scss/components/OptionsTile/_options-tile.scss +23 -25
- package/scss/components/PageHeader/_carbon-imports.scss +4 -4
- package/scss/components/PageHeader/_page-header.scss +109 -105
- package/scss/components/ProductiveCard/_productive-card.scss +11 -12
- package/scss/components/RemoveModal/_carbon-imports.scss +3 -3
- package/scss/components/RemoveModal/_remove-modal.scss +4 -4
- package/scss/components/Saving/_carbon-imports.scss +2 -2
- package/scss/components/Saving/_saving.scss +2 -2
- package/scss/components/ScrollGradient/_scroll-gradient.scss +18 -18
- package/scss/components/SidePanel/_animations.scss +78 -0
- package/scss/components/SidePanel/_carbon-imports.scss +1 -1
- package/scss/components/SidePanel/_side-panel.scss +154 -65
- package/scss/components/SimpleHeader/_simple-header.scss +3 -3
- package/scss/components/StatusIcon/_status-icon.scss +1 -1
- package/scss/components/StatusIndicator/_carbon-imports.scss +2 -2
- package/scss/components/StatusIndicator/_status-indicator.scss +11 -11
- package/scss/components/StringFormatter/_carbon-imports.scss +1 -1
- package/scss/components/StringFormatter/_string-formatter.scss +6 -7
- package/scss/components/TagOverflow/_tag-overflow.scss +14 -15
- package/scss/components/TagSet/_carbon-imports.scss +5 -5
- package/scss/components/TagSet/_tag-set.scss +13 -14
- package/scss/components/Tearsheet/_carbon-imports.scss +2 -2
- package/scss/components/Tearsheet/_tearsheet.scss +55 -41
- package/scss/components/Toolbar/_carbon-imports.scss +1 -1
- package/scss/components/Toolbar/_toolbar.scss +11 -11
- package/scss/components/TooltipTrigger/_tooltip-trigger.scss +2 -2
- package/scss/components/TruncatedList/_truncated-list.scss +8 -2
- package/scss/components/UserAvatar/_carbon-imports.scss +1 -1
- package/scss/components/UserAvatar/_user-avatar.scss +6 -16
- package/scss/components/UserProfileImage/_carbon-imports.scss +1 -1
- package/scss/components/UserProfileImage/_color-map.scss +1 -1
- package/scss/components/UserProfileImage/_user-profile-image.scss +5 -4
- package/scss/components/WebTerminal/_carbon-imports.scss +2 -2
- package/scss/components/WebTerminal/_web-terminal.scss +11 -11
- package/scss/components/_index-released-only-with-carbon.scss +1 -0
- package/scss/components/_index-with-carbon.scss +1 -0
- package/scss/global/decorators/_side-panel-decorator.scss +3 -3
- package/scss/global/styles/_display-box.scss +19 -19
- package/scss/global/styles/_mixins.scss +3 -3
- package/scss/index-full-carbon.scss +1 -1
|
@@ -21,16 +21,16 @@ $block-class: #{c4p-settings.$pkg-prefix}--create-tearsheet-narrow;
|
|
|
21
21
|
.#{$block-class} .#{c4p-settings.$carbon-prefix}--modal-header__heading,
|
|
22
22
|
.#{$block-class} .#{c4p-settings.$carbon-prefix}--modal-header__label,
|
|
23
23
|
.#{$block-class} .#{c4p-settings.$pkg-prefix}--tearsheet__header-description {
|
|
24
|
-
max-
|
|
25
|
-
padding-
|
|
24
|
+
max-inline-size: 100%;
|
|
25
|
+
padding-inline-end: calc(20% - #{$spacing-05});
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.#{$block-class} .#{c4p-settings.$pkg-prefix}--tearsheet__header-description {
|
|
29
|
-
margin-
|
|
29
|
+
margin-block-start: $spacing-02;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.#{$block-class} .#{c4p-settings.$pkg-prefix}--tearsheet__header {
|
|
33
|
-
border-
|
|
33
|
+
border-block-end: 1px solid $border-subtle-02;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.#{$block-class} .#{c4p-settings.$pkg-prefix}--tearsheet__content {
|
|
@@ -38,22 +38,22 @@ $block-class: #{c4p-settings.$pkg-prefix}--create-tearsheet-narrow;
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.#{$block-class} .#{$block-class}__form {
|
|
41
|
-
padding-
|
|
41
|
+
padding-block-start: $spacing-05;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.#{$block-class} .#{$block-class}__form > * {
|
|
45
|
-
margin-
|
|
45
|
+
margin-block-end: $spacing-05;
|
|
46
46
|
|
|
47
47
|
/* stylelint-disable-next-line max-nesting-depth */
|
|
48
48
|
&:last-child {
|
|
49
|
-
margin-
|
|
49
|
+
margin-block-end: 0;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.#{$block-class} .#{$block-class}__form-title-text {
|
|
54
54
|
@include type.type-style('heading-compact-02');
|
|
55
55
|
|
|
56
|
-
padding-
|
|
56
|
+
padding-block-end: $spacing-03;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.#{$block-class} .#{$block-class}__form-description-text {
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
@use '../../global/styles/mixins' as *;
|
|
16
16
|
|
|
17
17
|
@mixin set-header-borders {
|
|
18
|
-
border-
|
|
19
|
-
border-
|
|
18
|
+
border-block-end: 1px solid $border-subtle-selected-01;
|
|
19
|
+
border-inline-end: 1px solid $border-subtle-selected-01;
|
|
20
20
|
}
|
|
21
21
|
@mixin set-active-header-borders {
|
|
22
|
-
border-
|
|
23
|
-
border-
|
|
22
|
+
border-block-end: 1px solid $text-placeholder;
|
|
23
|
+
border-inline-end: 1px solid $text-placeholder;
|
|
24
24
|
}
|
|
25
25
|
@mixin set-body-borders {
|
|
26
|
-
border-
|
|
27
|
-
border-
|
|
26
|
+
border-block-end: 1px solid $border-subtle-01;
|
|
27
|
+
border-inline-end: 1px solid $border-subtle-01;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
// The block part of our conventional BEM class names (blockClass__E--M).
|
|
@@ -49,7 +49,7 @@ $header-cell-background: $layer-accent-01;
|
|
|
49
49
|
.#{$block-class}__tr {
|
|
50
50
|
:last-child .#{$block-class}__body--td {
|
|
51
51
|
.#{$block-class}__td {
|
|
52
|
-
border-
|
|
52
|
+
border-block-end: 0;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -58,13 +58,14 @@ $header-cell-background: $layer-accent-01;
|
|
|
58
58
|
.#{$block-class}__td {
|
|
59
59
|
@include type.type-style('body-compact-01');
|
|
60
60
|
|
|
61
|
-
width: 100%;
|
|
62
|
-
height: 100%;
|
|
63
61
|
padding: 0 $spacing-03;
|
|
64
62
|
border: 0;
|
|
65
63
|
margin: 0;
|
|
64
|
+
block-size: 100%;
|
|
66
65
|
color: $text-primary;
|
|
67
66
|
font-family: inherit;
|
|
67
|
+
|
|
68
|
+
inline-size: 100%;
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
.#{$block-class}__body--td {
|
|
@@ -74,14 +75,15 @@ $header-cell-background: $layer-accent-01;
|
|
|
74
75
|
/* stylelint-disable-next-line max-nesting-depth */
|
|
75
76
|
[role="'columnheader'"]:last-child,
|
|
76
77
|
[role="'gridcell'"]:last-child {
|
|
77
|
-
border-
|
|
78
|
+
border-inline-end: 1px solid $text-placeholder;
|
|
78
79
|
}
|
|
79
80
|
.#{$block-class}__th,
|
|
80
81
|
.#{$block-class}__td-th.#{$block-class}__td {
|
|
81
82
|
@include set-header-borders();
|
|
82
83
|
|
|
83
|
-
height: 100%;
|
|
84
84
|
background-color: $header-cell-background;
|
|
85
|
+
|
|
86
|
+
block-size: 100%;
|
|
85
87
|
cursor: pointer;
|
|
86
88
|
|
|
87
89
|
/* stylelint-disable-next-line max-nesting-depth */
|
|
@@ -91,14 +93,14 @@ $header-cell-background: $layer-accent-01;
|
|
|
91
93
|
}
|
|
92
94
|
}
|
|
93
95
|
.#{$block-class}__th--select-all {
|
|
94
|
-
|
|
96
|
+
inline-size: $spacing-10;
|
|
95
97
|
}
|
|
96
98
|
.#{$block-class}__td-th--cell-container,
|
|
97
99
|
.#{$block-class}__select-all-cell-container {
|
|
98
100
|
position: sticky;
|
|
99
101
|
z-index: 4;
|
|
100
|
-
left: 0;
|
|
101
102
|
background-color: $background;
|
|
103
|
+
inset-inline-start: 0;
|
|
102
104
|
}
|
|
103
105
|
.#{$block-class}__td-th.#{$block-class}__td {
|
|
104
106
|
@include font-family.font-weight('semibold');
|
|
@@ -115,13 +117,13 @@ $header-cell-background: $layer-accent-01;
|
|
|
115
117
|
margin: 0;
|
|
116
118
|
background-color: $body-cell-background;
|
|
117
119
|
cursor: cell;
|
|
118
|
-
text-align:
|
|
120
|
+
text-align: start;
|
|
119
121
|
}
|
|
120
122
|
.#{$block-class}__th {
|
|
121
123
|
@include type.type-style('heading-compact-01');
|
|
122
124
|
|
|
123
125
|
color: $text-primary;
|
|
124
|
-
text-align:
|
|
126
|
+
text-align: start;
|
|
125
127
|
}
|
|
126
128
|
.#{$block-class}__cell-editor {
|
|
127
129
|
@include type.type-style('body-compact-01');
|
|
@@ -131,14 +133,14 @@ $header-cell-background: $layer-accent-01;
|
|
|
131
133
|
z-index: 4;
|
|
132
134
|
display: none;
|
|
133
135
|
overflow: hidden;
|
|
134
|
-
min-width: initial;
|
|
135
|
-
min-height: initial;
|
|
136
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;
|
|
140
140
|
color: $text-primary;
|
|
141
141
|
font-family: inherit;
|
|
142
|
+
min-block-size: initial;
|
|
143
|
+
min-inline-size: initial;
|
|
142
144
|
resize: none;
|
|
143
145
|
|
|
144
146
|
/* stylelint-disable-next-line max-nesting-depth */
|
|
@@ -156,10 +158,10 @@ $header-cell-background: $layer-accent-01;
|
|
|
156
158
|
|
|
157
159
|
position: absolute;
|
|
158
160
|
overflow: hidden;
|
|
159
|
-
width: fit-content;
|
|
160
|
-
max-width: var(--#{$block-class}--total-width);
|
|
161
161
|
/* stylelint-disable-next-line carbon/layout-use */
|
|
162
162
|
padding: 0 calc(#{$spacing-03} + 1px) 0 $spacing-03;
|
|
163
|
+
inline-size: fit-content;
|
|
164
|
+
max-inline-size: var(--#{$block-class}--total-width);
|
|
163
165
|
visibility: hidden;
|
|
164
166
|
|
|
165
167
|
/* stylelint-disable-next-line max-nesting-depth */
|
|
@@ -175,18 +177,17 @@ $header-cell-background: $layer-accent-01;
|
|
|
175
177
|
z-index: 3;
|
|
176
178
|
display: none;
|
|
177
179
|
overflow: hidden;
|
|
178
|
-
// Could be fixed by using border-right but the fact that
|
|
179
|
-
// this element is positioned absolute prevents that from working
|
|
180
180
|
/* stylelint-disable-next-line carbon/layout-use */
|
|
181
|
-
padding-right: calc(#{$spacing-03} - 1px);
|
|
182
|
-
padding-bottom: $spacing-01;
|
|
183
|
-
/* stylelint-disable-next-line carbon/layout-use */
|
|
184
|
-
padding-left: calc(#{$spacing-03} - #{$spacing-01});
|
|
185
181
|
border: $spacing-01 solid $background-brand;
|
|
186
182
|
background-color: $body-cell-background;
|
|
187
183
|
color: $text-primary;
|
|
188
184
|
font-family: inherit;
|
|
189
|
-
|
|
185
|
+
padding-block-end: $spacing-01;
|
|
186
|
+
// Could be fixed by using border-right but the fact that
|
|
187
|
+
// this element is positioned absolute prevents that from working
|
|
188
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
|
189
|
+
padding-inline: #{$spacing-03 - $spacing-01} calc(#{$spacing-03} - 1px);
|
|
190
|
+
text-align: start;
|
|
190
191
|
|
|
191
192
|
/* stylelint-disable-next-line max-nesting-depth */
|
|
192
193
|
&[data-active-row-index='header'],
|
|
@@ -217,13 +218,13 @@ $header-cell-background: $layer-accent-01;
|
|
|
217
218
|
/* stylelint-disable-next-line max-nesting-depth */
|
|
218
219
|
&::before {
|
|
219
220
|
position: absolute;
|
|
220
|
-
top: 0;
|
|
221
|
-
left: 0;
|
|
222
221
|
display: block;
|
|
223
|
-
width: 100%;
|
|
224
|
-
height: 100%;
|
|
225
222
|
background-color: $background-brand;
|
|
223
|
+
block-size: 100%;
|
|
226
224
|
content: '';
|
|
225
|
+
inline-size: 100%;
|
|
226
|
+
inset-block-start: 0;
|
|
227
|
+
inset-inline-start: 0;
|
|
227
228
|
opacity: 0.2;
|
|
228
229
|
}
|
|
229
230
|
&.#{$block-class}__selection-area--element-cloned {
|
|
@@ -238,8 +239,8 @@ $header-cell-background: $layer-accent-01;
|
|
|
238
239
|
.#{$block-class}__reorder-indicator-line {
|
|
239
240
|
position: absolute;
|
|
240
241
|
z-index: 4;
|
|
241
|
-
width: $spacing-01;
|
|
242
242
|
background-color: $background-brand;
|
|
243
|
+
inline-size: $spacing-01;
|
|
243
244
|
pointer-events: none;
|
|
244
245
|
}
|
|
245
246
|
.#{$block-class}__th--active-header,
|
|
@@ -274,8 +275,8 @@ $header-cell-background: $layer-accent-01;
|
|
|
274
275
|
.#{$block-class}__reorder-indicator-line {
|
|
275
276
|
position: absolute;
|
|
276
277
|
z-index: 4;
|
|
277
|
-
width: $spacing-01;
|
|
278
278
|
background-color: $background-brand;
|
|
279
|
+
inline-size: $spacing-01;
|
|
279
280
|
}
|
|
280
281
|
.#{$block-class}__th--active-header-disabledSwapping {
|
|
281
282
|
cursor: pointer;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
/* stylelint-disable max-nesting-depth */
|
|
17
17
|
|
|
18
18
|
// Other Carbon settings.
|
|
19
|
-
// TODO: @use '@carbon/
|
|
19
|
+
// TODO: @use '@carbon/styles/scss/grid'; if needed
|
|
20
20
|
|
|
21
21
|
// Datagrid uses the following Carbon components:
|
|
22
22
|
// TODO: @use(s) of Carbon component styles used by Datagrid
|
|
@@ -31,7 +31,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--datagrid;
|
|
|
31
31
|
|
|
32
32
|
.#{$block-class}__datagridWrap {
|
|
33
33
|
display: block;
|
|
34
|
-
|
|
34
|
+
inline-size: 100%;
|
|
35
35
|
|
|
36
36
|
:global(.#{c4p-settings.$carbon-prefix}--checkbox) {
|
|
37
37
|
display: none;
|
|
@@ -43,11 +43,11 @@ $block-class: #{c4p-settings.$pkg-prefix}--datagrid;
|
|
|
43
43
|
.#{c4p-settings.$carbon-prefix}--popover-container
|
|
44
44
|
.#{c4p-settings.$carbon-prefix}--btn--icon-only {
|
|
45
45
|
display: flex;
|
|
46
|
-
width: $spacing-09;
|
|
47
|
-
height: $spacing-09;
|
|
48
46
|
align-items: center;
|
|
49
47
|
justify-content: center;
|
|
50
|
-
|
|
48
|
+
block-size: $spacing-09;
|
|
49
|
+
inline-size: $spacing-09;
|
|
50
|
+
padding-block-start: 0;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.#{$block-class}
|
|
@@ -59,9 +59,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--datagrid;
|
|
|
59
59
|
|
|
60
60
|
.#{$block-class}__datagridWrap-simple {
|
|
61
61
|
display: flex;
|
|
62
|
-
width: 100%;
|
|
63
|
-
height: 100%;
|
|
64
62
|
flex-direction: column;
|
|
63
|
+
block-size: 100%;
|
|
64
|
+
inline-size: 100%;
|
|
65
65
|
|
|
66
66
|
/* stylelint-disable-next-line */
|
|
67
67
|
:global {
|
|
@@ -69,6 +69,10 @@ $block-class: #{c4p-settings.$pkg-prefix}--datagrid;
|
|
|
69
69
|
// newer version of carbon pagination has scroll which doesn't make any sense, removing it
|
|
70
70
|
/* stylelint-disable-next-line declaration-property-value-disallowed-list */
|
|
71
71
|
overflow-x: unset;
|
|
72
|
+
@supports (overflow-inline: unset) {
|
|
73
|
+
/* stylelint-disable-next-line declaration-property-value-disallowed-list */
|
|
74
|
+
overflow-inline: unset;
|
|
75
|
+
}
|
|
72
76
|
}
|
|
73
77
|
}
|
|
74
78
|
}
|
|
@@ -78,5 +82,5 @@ $block-class: #{c4p-settings.$pkg-prefix}--datagrid;
|
|
|
78
82
|
.#{c4p-settings.$carbon-prefix}--menu-button__trigger:not(
|
|
79
83
|
.#{c4p-settings.$carbon-prefix}--btn--ghost
|
|
80
84
|
) {
|
|
81
|
-
min-
|
|
85
|
+
min-inline-size: auto;
|
|
82
86
|
}
|