@carbon/ibm-products 2.83.0 → 2.84.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/carbon.css +4 -0
- package/css/carbon.css.map +1 -1
- package/css/index-full-carbon.css +99 -33
- 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 +95 -33
- 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 +95 -33
- 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 +95 -33
- 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/AddSelect/AddSelectBody.js +1 -1
- package/es/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.js +6 -6
- package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
- package/es/components/PageHeader/PageHeader.js +4 -12
- package/es/components/PageHeader/next/PageHeader.js +29 -12
- package/es/components/PageHeader/next/context.d.ts +3 -0
- package/es/components/PageHeader/next/utils.js +8 -0
- package/es/components/SidePanel/SidePanel.js +11 -3
- package/es/components/Tearsheet/TearsheetPresence.d.ts +37 -0
- package/es/components/Tearsheet/TearsheetPresence.js +56 -0
- package/es/components/Tearsheet/TearsheetShell.js +76 -17
- package/es/components/Tearsheet/index.d.ts +2 -0
- package/es/components/Tearsheet/usePresence.d.ts +17 -0
- package/es/components/Tearsheet/usePresence.js +69 -0
- package/es/components/Tearsheet/usePresenceContext.d.ts +25 -0
- package/es/components/Tearsheet/usePresenceContext.js +50 -0
- package/es/global/js/hooks/useMergedRefs.d.ts +1 -0
- package/es/global/js/hooks/useMergedRefs.js +32 -0
- package/es/global/js/hooks/useOverflowString.js +1 -16
- package/es/index.js +1 -0
- package/lib/components/AddSelect/AddSelectBody.js +1 -1
- package/lib/components/Coachmark/next/Coachmark/CoachmarkBeacon/CoachmarkBeacon.js +6 -6
- package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
- package/lib/components/PageHeader/PageHeader.js +3 -11
- package/lib/components/PageHeader/next/PageHeader.js +29 -12
- package/lib/components/PageHeader/next/context.d.ts +3 -0
- package/lib/components/PageHeader/next/utils.js +8 -0
- package/lib/components/SidePanel/SidePanel.js +10 -2
- package/lib/components/Tearsheet/TearsheetPresence.d.ts +37 -0
- package/lib/components/Tearsheet/TearsheetPresence.js +61 -0
- package/lib/components/Tearsheet/TearsheetShell.js +74 -15
- package/lib/components/Tearsheet/index.d.ts +2 -0
- package/lib/components/Tearsheet/usePresence.d.ts +17 -0
- package/lib/components/Tearsheet/usePresence.js +71 -0
- package/lib/components/Tearsheet/usePresenceContext.d.ts +25 -0
- package/lib/components/Tearsheet/usePresenceContext.js +52 -0
- package/lib/global/js/hooks/useMergedRefs.d.ts +1 -0
- package/lib/global/js/hooks/useMergedRefs.js +34 -0
- package/lib/global/js/hooks/useOverflowString.js +0 -16
- package/lib/index.js +3 -0
- package/package.json +22 -21
- package/scss/components/APIKeyModal/_api-key-modal.scss +6 -4
- package/scss/components/AboutModal/_about-modal.scss +5 -5
- package/scss/components/ActionBar/_action-bar.scss +2 -0
- package/scss/components/ActionSet/_action-set.scss +12 -11
- package/scss/components/AddSelect/_add-select.scss +28 -29
- package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +10 -8
- package/scss/components/ButtonMenu/_button-menu.scss +11 -9
- package/scss/components/Card/_card.scss +12 -10
- package/scss/components/Checklist/_checklist.scss +8 -6
- package/scss/components/Coachmark/_coachmark-overlay.scss +11 -9
- package/scss/components/Coachmark/_coachmark.scss +1 -1
- package/scss/components/CoachmarkStack/_coachmark-stack.scss +6 -4
- package/scss/components/ComboButton/_combo-button.scss +11 -9
- package/scss/components/CreateFullPage/_create-full-page.scss +9 -9
- package/scss/components/CreateModal/_create-modal.scss +9 -7
- package/scss/components/CreateSidePanel/_create-side-panel.scss +6 -4
- package/scss/components/CreateTearsheet/_create-tearsheet.scss +9 -9
- package/scss/components/CreateTearsheetNarrow/_create-tearsheet-narrow.scss +5 -3
- package/scss/components/Datagrid/_datagrid.scss +9 -7
- package/scss/components/Datagrid/styles/_datagrid.scss +86 -86
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +11 -9
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +48 -46
- package/scss/components/Datagrid/styles/_useNestedRows.scss +16 -16
- package/scss/components/Datagrid/styles/_useNestedTable.scss +5 -3
- package/scss/components/Datagrid/styles/_useSelectAllToggle.scss +4 -2
- package/scss/components/Datagrid/styles/_useSortableColumns.scss +21 -19
- package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +5 -4
- package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +5 -5
- package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +11 -8
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +18 -16
- package/scss/components/Datagrid/styles/addons/_animations.scss +4 -4
- package/scss/components/DescriptionList/_description-list.scss +6 -4
- package/scss/components/EditInPlace/_edit-in-place.scss +5 -9
- package/scss/components/EditSidePanel/_edit-side-panel.scss +6 -4
- package/scss/components/EditTearsheet/_edit-tearsheet.scss +8 -9
- package/scss/components/ExportModal/_export-modal.scss +7 -5
- package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +6 -5
- package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +6 -5
- package/scss/components/FilterPanel/_filter-panel-checkbox.scss +6 -5
- package/scss/components/FilterPanel/_filter-panel.scss +6 -5
- package/scss/components/FilterSummary/_filter-summary.scss +5 -9
- package/scss/components/Guidebanner/_guidebanner.scss +5 -3
- package/scss/components/ImportModal/_import-modal.scss +16 -16
- package/scss/components/InterstitialScreen/_interstitial-screen.scss +6 -4
- package/scss/components/NotificationsPanel/_notifications-panel.scss +13 -8
- package/scss/components/OptionsTile/_options-tile.scss +8 -6
- package/scss/components/PageHeader/_page-header.scss +25 -21
- package/scss/components/RemoveModal/_remove-modal.scss +5 -4
- package/scss/components/Saving/_saving.scss +5 -3
- package/scss/components/SearchBar/_search-bar.scss +5 -4
- package/scss/components/SidePanel/_animations.scss +4 -4
- package/scss/components/SidePanel/_side-panel.scss +31 -12
- package/scss/components/SimpleHeader/_simple-header.scss +5 -4
- package/scss/components/StatusIcon/_status-icon.scss +5 -3
- package/scss/components/StatusIndicator/_status-indicator.scss +3 -2
- package/scss/components/StringFormatter/_string-formatter.scss +5 -4
- package/scss/components/TagOverflow/_tag-overflow.scss +7 -6
- package/scss/components/TagSet/_tag-set.scss +20 -18
- package/scss/components/Tearsheet/_tearsheet.scss +121 -30
- package/scss/components/Toolbar/_toolbar.scss +4 -2
- package/scss/components/TruncatedList/_truncated-list.scss +4 -3
- package/scss/components/TruncatedText/_truncated-text.scss +2 -2
- package/scss/components/UserAvatar/_user-avatar.scss +5 -4
- package/scss/components/UserProfileImage/_user-profile-image.scss +11 -7
- package/scss/components/WebTerminal/_web-terminal.scss +4 -2
- package/telemetry.yml +3 -0
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2024
|
|
2
|
+
* Copyright IBM Corp. 2024, 2025
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
@use '../../../global/styles/project-settings' as c4p-settings;
|
|
9
8
|
@use '@carbon/styles/scss/spacing' as *;
|
|
10
9
|
@use '@carbon/styles/scss/theme' as *;
|
|
11
10
|
@use '@carbon/styles/scss/components/button/tokens' as *;
|
|
11
|
+
@use '@carbon/styles/scss/config' as carbon-config;
|
|
12
12
|
@use '@carbon/type' as *;
|
|
13
|
+
|
|
14
|
+
@use '../../../global/styles/project-settings' as c4p-settings;
|
|
13
15
|
@use './variables';
|
|
14
16
|
|
|
15
17
|
$row-heights: (
|
|
@@ -23,32 +25,32 @@ $row-heights: (
|
|
|
23
25
|
@each $size, $size-value in $row-heights {
|
|
24
26
|
.#{variables.$block-class}
|
|
25
27
|
.#{variables.$block-class}__inline-edit--outer-cell-button--#{$size}
|
|
26
|
-
.#{
|
|
28
|
+
.#{carbon-config.$prefix}--text-input,
|
|
27
29
|
.#{variables.$block-class}
|
|
28
30
|
.#{variables.$block-class}__inline-edit--outer-cell-button--#{$size}
|
|
29
|
-
.#{
|
|
31
|
+
.#{carbon-config.$prefix}--number
|
|
30
32
|
input[type='number'],
|
|
31
33
|
.#{variables.$block-class}
|
|
32
34
|
.#{variables.$block-class}__inline-edit--outer-cell-button--#{$size}
|
|
33
35
|
.#{variables.$block-class}__inline-edit--select
|
|
34
|
-
.#{
|
|
36
|
+
.#{carbon-config.$prefix}--list-box.#{carbon-config.$prefix}--dropdown,
|
|
35
37
|
.#{variables.$block-class}
|
|
36
38
|
.#{variables.$block-class}__inline-edit--date.#{variables.$block-class}__inline-edit--date-#{$size}
|
|
37
|
-
.#{
|
|
39
|
+
.#{carbon-config.$prefix}--date-picker__input {
|
|
38
40
|
block-size: $size-value;
|
|
39
41
|
}
|
|
40
42
|
.#{variables.$block-class}
|
|
41
43
|
.#{variables.$block-class}__inline-edit--outer-cell-button--#{$size}
|
|
42
|
-
.#{
|
|
44
|
+
.#{carbon-config.$prefix}--number__control-btn::before,
|
|
43
45
|
.#{variables.$block-class}
|
|
44
46
|
.#{variables.$block-class}__inline-edit--outer-cell-button--#{$size}
|
|
45
|
-
.#{
|
|
47
|
+
.#{carbon-config.$prefix}--number__control-btn::after {
|
|
46
48
|
block-size: calc(#{$size-value} - 0.25rem);
|
|
47
49
|
}
|
|
48
50
|
.#{variables.$block-class}
|
|
49
51
|
.#{variables.$block-class}__inline-edit--outer-cell-button--#{$size}
|
|
50
52
|
.#{variables.$block-class}__inline-edit--select
|
|
51
|
-
.#{
|
|
53
|
+
.#{carbon-config.$prefix}--list-box {
|
|
52
54
|
max-block-size: none;
|
|
53
55
|
}
|
|
54
56
|
}
|
|
@@ -80,7 +82,7 @@ $row-heights: (
|
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
.#{variables.$block-class}__inline-edit--outer-cell-checkbox-focus
|
|
83
|
-
|
|
85
|
+
.#{carbon-config.$prefix}--checkbox-label::before {
|
|
84
86
|
outline: $spacing-01 solid $focus;
|
|
85
87
|
outline-offset: 1px;
|
|
86
88
|
}
|
|
@@ -196,9 +198,9 @@ $row-heights: (
|
|
|
196
198
|
}
|
|
197
199
|
|
|
198
200
|
.#{variables.$block-class}__inline-edit--outer-cell-button
|
|
199
|
-
.#{
|
|
201
|
+
.#{carbon-config.$prefix}--text-input,
|
|
200
202
|
.#{variables.$block-class}__inline-edit--outer-cell-button
|
|
201
|
-
.#{
|
|
203
|
+
.#{carbon-config.$prefix}--number
|
|
202
204
|
input[type='number'] {
|
|
203
205
|
block-size: $spacing-09;
|
|
204
206
|
}
|
|
@@ -208,7 +210,7 @@ $row-heights: (
|
|
|
208
210
|
inset-inline-end: $spacing-05;
|
|
209
211
|
}
|
|
210
212
|
|
|
211
|
-
.#{variables.$block-class}__table-with-inline-edit.#{
|
|
213
|
+
.#{variables.$block-class}__table-with-inline-edit.#{carbon-config.$prefix}--data-table
|
|
212
214
|
.#{variables.$block-class}__cell-inline-edit {
|
|
213
215
|
position: relative;
|
|
214
216
|
padding: 0;
|
|
@@ -216,7 +218,7 @@ $row-heights: (
|
|
|
216
218
|
padding-inline-start: $spacing-05;
|
|
217
219
|
}
|
|
218
220
|
|
|
219
|
-
.#{
|
|
221
|
+
.#{carbon-config.$prefix}--number input[type='number'] {
|
|
220
222
|
min-inline-size: auto;
|
|
221
223
|
padding-inline-end: $spacing-05;
|
|
222
224
|
}
|
|
@@ -228,28 +230,28 @@ $row-heights: (
|
|
|
228
230
|
padding-inline-start: $spacing-05;
|
|
229
231
|
}
|
|
230
232
|
|
|
231
|
-
.#{variables.$block-class}__inline-edit--select.#{
|
|
233
|
+
.#{variables.$block-class}__inline-edit--select.#{carbon-config.$prefix}--dropdown,
|
|
232
234
|
.#{variables.$block-class}__inline-edit--date
|
|
233
|
-
.#{
|
|
235
|
+
.#{carbon-config.$prefix}--date-picker {
|
|
234
236
|
inline-size: inherit;
|
|
235
237
|
}
|
|
236
238
|
|
|
237
|
-
.#{variables.$block-class}__inline-edit--select.#{
|
|
239
|
+
.#{variables.$block-class}__inline-edit--select.#{carbon-config.$prefix}--dropdown,
|
|
238
240
|
.#{variables.$block-class}__inline-edit--date
|
|
239
|
-
.#{
|
|
240
|
-
.#{
|
|
241
|
+
.#{carbon-config.$prefix}--date-picker.#{carbon-config.$prefix}--date-picker--single
|
|
242
|
+
.#{carbon-config.$prefix}--date-picker__input {
|
|
241
243
|
block-size: $spacing-09; // default row height
|
|
242
244
|
inline-size: 100%;
|
|
243
245
|
max-block-size: none;
|
|
244
246
|
}
|
|
245
247
|
|
|
246
248
|
.#{variables.$block-class}__inline-edit--date
|
|
247
|
-
.#{
|
|
249
|
+
.#{carbon-config.$prefix}--date-picker-container {
|
|
248
250
|
inline-size: inherit;
|
|
249
251
|
}
|
|
250
252
|
|
|
251
|
-
.#{variables.$block-class}__inline-edit--date.#{
|
|
252
|
-
.#{
|
|
253
|
+
.#{variables.$block-class}__inline-edit--date.#{carbon-config.$prefix}--date-picker.#{carbon-config.$prefix}--date-picker--single
|
|
254
|
+
.#{carbon-config.$prefix}--date-picker__input {
|
|
253
255
|
overflow: hidden;
|
|
254
256
|
inline-size: 100%;
|
|
255
257
|
max-inline-size: none;
|
|
@@ -259,7 +261,7 @@ $row-heights: (
|
|
|
259
261
|
}
|
|
260
262
|
|
|
261
263
|
.#{variables.$block-class}
|
|
262
|
-
.#{
|
|
264
|
+
.#{carbon-config.$prefix}--data-table
|
|
263
265
|
.#{variables.$block-class}__carbon-row-hover-active
|
|
264
266
|
td {
|
|
265
267
|
background-color: $layer-hover;
|
|
@@ -299,7 +301,7 @@ $row-heights: (
|
|
|
299
301
|
|
|
300
302
|
.#{variables.$block-class}
|
|
301
303
|
.#{variables.$block-class}__grid-container-active
|
|
302
|
-
.#{
|
|
304
|
+
.#{carbon-config.$prefix}--data-table-content::before {
|
|
303
305
|
position: absolute;
|
|
304
306
|
z-index: 2;
|
|
305
307
|
background-color: $link-inverse;
|
|
@@ -334,11 +336,11 @@ $row-heights: (
|
|
|
334
336
|
.#{variables.$block-class}
|
|
335
337
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
336
338
|
[data-invalid]
|
|
337
|
-
~ .#{
|
|
339
|
+
~ .#{carbon-config.$prefix}--form-requirement,
|
|
338
340
|
.#{variables.$block-class}
|
|
339
341
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
340
342
|
[data-invalid]
|
|
341
|
-
.#{
|
|
343
|
+
.#{carbon-config.$prefix}--form-requirement {
|
|
342
344
|
position: absolute;
|
|
343
345
|
z-index: 3;
|
|
344
346
|
padding: $spacing-03 $spacing-06 $spacing-03 $spacing-03;
|
|
@@ -352,20 +354,20 @@ $row-heights: (
|
|
|
352
354
|
|
|
353
355
|
.#{variables.$block-class}
|
|
354
356
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
355
|
-
.#{
|
|
356
|
-
~ .#{
|
|
357
|
+
.#{carbon-config.$prefix}--list-box[data-invalid]:focus-within
|
|
358
|
+
~ .#{carbon-config.$prefix}--form-requirement {
|
|
357
359
|
outline: $spacing-01 solid $focus;
|
|
358
360
|
}
|
|
359
361
|
|
|
360
362
|
.#{variables.$block-class}
|
|
361
363
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
362
|
-
.#{
|
|
364
|
+
.#{carbon-config.$prefix}--list-box__invalid-icon,
|
|
363
365
|
.#{variables.$block-class}
|
|
364
366
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
365
|
-
.#{
|
|
367
|
+
.#{carbon-config.$prefix}--text-input__invalid-icon,
|
|
366
368
|
.#{variables.$block-class}
|
|
367
369
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
368
|
-
.#{
|
|
370
|
+
.#{carbon-config.$prefix}--number__invalid {
|
|
369
371
|
z-index: 4;
|
|
370
372
|
inset-block-start: calc(100% + #{$spacing-04} + #{$spacing-01});
|
|
371
373
|
inset-inline-end: $spacing-03;
|
|
@@ -373,13 +375,13 @@ $row-heights: (
|
|
|
373
375
|
|
|
374
376
|
.#{variables.$block-class}
|
|
375
377
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
376
|
-
.#{
|
|
378
|
+
.#{carbon-config.$prefix}--number__invalid {
|
|
377
379
|
inset-block-start: calc(100% + #{$spacing-02} + #{$spacing-01});
|
|
378
380
|
}
|
|
379
381
|
|
|
380
382
|
.#{variables.$block-class}
|
|
381
383
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
382
|
-
.#{
|
|
384
|
+
.#{carbon-config.$prefix}--form-requirement::before {
|
|
383
385
|
position: absolute;
|
|
384
386
|
background-color: $layer-01;
|
|
385
387
|
block-size: $spacing-01;
|
|
@@ -390,7 +392,7 @@ $row-heights: (
|
|
|
390
392
|
}
|
|
391
393
|
|
|
392
394
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
393
|
-
.#{
|
|
395
|
+
.#{carbon-config.$prefix}--form-requirement::after {
|
|
394
396
|
position: absolute;
|
|
395
397
|
background-color: $layer-accent-01;
|
|
396
398
|
block-size: 1px;
|
|
@@ -402,11 +404,11 @@ $row-heights: (
|
|
|
402
404
|
|
|
403
405
|
.#{variables.$block-class} tbody tr:hover {
|
|
404
406
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
405
|
-
.#{
|
|
407
|
+
.#{carbon-config.$prefix}--form-requirement::before {
|
|
406
408
|
background-color: $layer-accent-01;
|
|
407
409
|
}
|
|
408
410
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
409
|
-
.#{
|
|
411
|
+
.#{carbon-config.$prefix}--form-requirement::after {
|
|
410
412
|
background-color: transparent;
|
|
411
413
|
}
|
|
412
414
|
}
|
|
@@ -414,32 +416,32 @@ $row-heights: (
|
|
|
414
416
|
// Keep input focus states using $support-01 when inline edit cell is invalid
|
|
415
417
|
.#{variables.$block-class}
|
|
416
418
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
417
|
-
.#{
|
|
419
|
+
.#{carbon-config.$prefix}--text-input:focus,
|
|
418
420
|
.#{variables.$block-class}
|
|
419
421
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
420
|
-
.#{
|
|
422
|
+
.#{carbon-config.$prefix}--number
|
|
421
423
|
input[type='number']:focus,
|
|
422
424
|
.#{variables.$block-class}
|
|
423
425
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
424
|
-
.#{
|
|
426
|
+
.#{carbon-config.$prefix}--number
|
|
425
427
|
input[type='number']:focus
|
|
426
|
-
~ .#{
|
|
427
|
-
.#{
|
|
428
|
+
~ .#{carbon-config.$prefix}--number__controls
|
|
429
|
+
.#{carbon-config.$prefix}--number__control-btn:hover,
|
|
428
430
|
.#{variables.$block-class}
|
|
429
431
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
430
|
-
.#{
|
|
432
|
+
.#{carbon-config.$prefix}--number__control-btn:focus {
|
|
431
433
|
outline-color: $support-error;
|
|
432
434
|
}
|
|
433
435
|
|
|
434
|
-
.#{variables.$block-class} .#{
|
|
436
|
+
.#{variables.$block-class} .#{carbon-config.$prefix}--text-input:focus {
|
|
435
437
|
background: $field-01;
|
|
436
438
|
}
|
|
437
439
|
|
|
438
440
|
.#{variables.$block-class}
|
|
439
441
|
.#{variables.$block-class}__inline-edit--outer-cell-button--invalid
|
|
440
|
-
.#{
|
|
442
|
+
.#{carbon-config.$prefix}--number
|
|
441
443
|
input[type='number'][data-invalid]:focus
|
|
442
|
-
~ .#{
|
|
443
|
-
.#{
|
|
444
|
+
~ .#{carbon-config.$prefix}--number__controls
|
|
445
|
+
.#{carbon-config.$prefix}--number__control-btn.up-icon::after {
|
|
444
446
|
background-color: $support-error;
|
|
445
447
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2024
|
|
2
|
+
* Copyright IBM Corp. 2024, 2025
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -7,12 +7,13 @@
|
|
|
7
7
|
|
|
8
8
|
@use '@carbon/styles/scss/theme' as *;
|
|
9
9
|
@use '@carbon/styles/scss/spacing' as *;
|
|
10
|
-
@use '
|
|
10
|
+
@use '@carbon/styles/scss/config' as carbon-config;
|
|
11
11
|
@use '@carbon/styles/scss/motion' as *;
|
|
12
|
+
|
|
13
|
+
@use '../../../global/styles/project-settings' as c4p-settings;
|
|
12
14
|
@use './variables' as *;
|
|
13
15
|
|
|
14
|
-
.#{
|
|
15
|
-
tr.#{$block-class}__carbon-nested-row {
|
|
16
|
+
.#{carbon-config.$prefix}--data-table tr.#{$block-class}__carbon-nested-row {
|
|
16
17
|
border-inline-start: 1px solid transparent;
|
|
17
18
|
|
|
18
19
|
.#{$block-class}__cell {
|
|
@@ -58,35 +59,34 @@
|
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
61
|
|
|
61
|
-
.#{
|
|
62
|
-
td.#{$block-class}__expandable-row-cell {
|
|
62
|
+
.#{carbon-config.$prefix}--data-table td.#{$block-class}__expandable-row-cell {
|
|
63
63
|
padding-inline-start: $spacing-03;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.#{
|
|
66
|
+
.#{carbon-config.$prefix}--data-table
|
|
67
67
|
td.#{$block-class}__expandable-row-cell
|
|
68
68
|
+ td,
|
|
69
|
-
.#{
|
|
69
|
+
.#{carbon-config.$prefix}--data-table
|
|
70
70
|
.#{$block-class}__carbon-nested-row:not(
|
|
71
71
|
.#{$block-class}__carbon-row-expandable
|
|
72
72
|
)
|
|
73
73
|
td.#{$block-class}__cell:nth-of-type(2),
|
|
74
|
-
.#{
|
|
74
|
+
.#{carbon-config.$prefix}--data-table
|
|
75
75
|
.#{$block-class}__carbon-nested-row
|
|
76
76
|
td.#{$block-class}__cell:nth-of-type(2)
|
|
77
77
|
+ td {
|
|
78
78
|
position: relative;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.#{
|
|
81
|
+
.#{carbon-config.$prefix}--data-table
|
|
82
82
|
td.#{$block-class}__expandable-row-cell.#{$block-class}__expandable-row-cell--is-expanded
|
|
83
83
|
+ td::before,
|
|
84
|
-
.#{
|
|
84
|
+
.#{carbon-config.$prefix}--data-table
|
|
85
85
|
.#{$block-class}__carbon-nested-row:not(
|
|
86
86
|
.#{$block-class}__carbon-row-expandable
|
|
87
87
|
):not(.#{$block-class}__carbon-row-expandable--async)
|
|
88
88
|
td.#{$block-class}__cell:nth-of-type(2)::before,
|
|
89
|
-
.#{
|
|
89
|
+
.#{carbon-config.$prefix}--data-table
|
|
90
90
|
.#{$block-class}__carbon-nested-row
|
|
91
91
|
td.#{$block-class}__expandable-row-cell
|
|
92
92
|
+ td::before {
|
|
@@ -101,19 +101,19 @@
|
|
|
101
101
|
transition: background-color $duration-fast-01 motion(entrance, productive);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
.#{
|
|
104
|
+
.#{carbon-config.$prefix}--data-table
|
|
105
105
|
tr:hover
|
|
106
106
|
td.#{$block-class}__expandable-row-cell.#{$block-class}__expandable-row-cell--is-expanded
|
|
107
107
|
+ td::before,
|
|
108
|
-
.#{
|
|
108
|
+
.#{carbon-config.$prefix}--data-table
|
|
109
109
|
.#{$block-class}__carbon-nested-row:hover
|
|
110
110
|
td.#{$block-class}__expandable-row-cell
|
|
111
111
|
+ td::before,
|
|
112
|
-
.#{
|
|
112
|
+
.#{carbon-config.$prefix}--data-table
|
|
113
113
|
.#{$block-class}__expandable-row--hover
|
|
114
114
|
td.#{$block-class}__expandable-row-cell
|
|
115
115
|
+ td::before,
|
|
116
|
-
.#{
|
|
116
|
+
.#{carbon-config.$prefix}--data-table
|
|
117
117
|
.#{$block-class}__carbon-nested-row:hover:not(
|
|
118
118
|
.#{$block-class}__carbon-row-expandable
|
|
119
119
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2024
|
|
2
|
+
* Copyright IBM Corp. 2024, 2025
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -7,12 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
@use '@carbon/styles/scss/theme' as *;
|
|
9
9
|
@use '@carbon/styles/scss/spacing' as *;
|
|
10
|
+
@use '@carbon/styles/scss/config' as carbon-config;
|
|
11
|
+
|
|
10
12
|
@use '../../../global/styles/project-settings' as c4p-settings;
|
|
11
13
|
@use './variables';
|
|
12
14
|
|
|
13
15
|
// used for tables within a expandable row
|
|
14
16
|
.#{variables.$block-class}__expanded-row
|
|
15
|
-
.#{
|
|
17
|
+
.#{carbon-config.$prefix}--data-table-container {
|
|
16
18
|
border-inline-start: 2px solid $background-brand;
|
|
17
19
|
inline-size: calc(100% - #{$spacing-07});
|
|
18
20
|
margin-inline-start: $spacing-07;
|
|
@@ -28,7 +30,7 @@
|
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
.#{variables.$block-class}__expanded-row
|
|
31
|
-
.#{
|
|
33
|
+
.#{carbon-config.$prefix}--data-table-container
|
|
32
34
|
th {
|
|
33
35
|
background-color: $layer-accent-01;
|
|
34
36
|
border-block-start-color: $layer-accent-01;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2021,
|
|
2
|
+
// Copyright IBM Corp. 2021, 2025
|
|
3
3
|
//
|
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
@use '@carbon/styles/scss/spacing' as *;
|
|
9
9
|
@use '@carbon/styles/scss/theme' as *;
|
|
10
|
+
@use '@carbon/styles/scss/config' as carbon-config;
|
|
11
|
+
|
|
10
12
|
@use './variables';
|
|
11
13
|
@use '../../../global/styles/project-settings' as c4p-settings;
|
|
12
14
|
|
|
@@ -32,6 +34,6 @@ th.#{variables.$block-class}__select-all-toggle-on.button {
|
|
|
32
34
|
margin-inline-start: $spacing-01;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
|
-
.#{variables.$block-class}__select-all-toggle-overflow.#{
|
|
37
|
+
.#{variables.$block-class}__select-all-toggle-overflow.#{carbon-config.$prefix}--overflow-menu-options--sm.#{carbon-config.$prefix}--overflow-menu-options[data-floating-menu-direction='bottom']::after {
|
|
36
38
|
inline-size: $spacing-13;
|
|
37
39
|
}
|
|
@@ -1,33 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2020,
|
|
2
|
+
* Copyright IBM Corp. 2020, 2025
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
@use '@carbon/styles/scss/theme' as *;
|
|
9
|
-
@use '
|
|
9
|
+
@use '@carbon/styles/scss/config' as carbon-config;
|
|
10
10
|
@use '@carbon/styles/scss/spacing' as *;
|
|
11
|
+
|
|
12
|
+
@use '../../../global/styles/project-settings' as c4p-settings;
|
|
11
13
|
@use './variables' as *;
|
|
12
14
|
|
|
13
15
|
.#{$block-class}__sortableColumn {
|
|
14
16
|
/* stylelint-disable-next-line declaration-no-important */
|
|
15
17
|
padding-inline: $spacing-05 !important;
|
|
16
18
|
|
|
17
|
-
.#{
|
|
19
|
+
.#{carbon-config.$prefix}--table-header-label .header-title {
|
|
18
20
|
display: inline-block;
|
|
19
21
|
inline-size: auto;
|
|
20
22
|
}
|
|
21
|
-
.#{
|
|
23
|
+
.#{carbon-config.$prefix}--table-header-label {
|
|
22
24
|
display: block;
|
|
23
25
|
block-size: 100%;
|
|
24
26
|
inline-size: 100%;
|
|
25
27
|
}
|
|
26
|
-
.#{
|
|
27
|
-
.#{
|
|
28
|
-
.#{
|
|
29
|
-
.#{
|
|
30
|
-
.#{
|
|
28
|
+
.#{carbon-config.$prefix}--table-header-label
|
|
29
|
+
.#{carbon-config.$prefix}--table-sort:focus,
|
|
30
|
+
.#{carbon-config.$prefix}--table-header-label
|
|
31
|
+
.#{carbon-config.$prefix}--table-sort:active,
|
|
32
|
+
.#{carbon-config.$prefix}--table-header-label
|
|
31
33
|
button:focus
|
|
32
34
|
.#{$block-class}__sortable-icon {
|
|
33
35
|
/* stylelint-disable-next-line declaration-no-important */
|
|
@@ -36,17 +38,17 @@
|
|
|
36
38
|
color: $text-primary !important;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
|
-
.#{
|
|
40
|
-
.#{
|
|
41
|
-
.#{
|
|
42
|
-
.#{
|
|
41
|
+
.#{carbon-config.$prefix}--table-header-label
|
|
42
|
+
.#{carbon-config.$prefix}--table-sort:focus,
|
|
43
|
+
.#{carbon-config.$prefix}--table-header-label
|
|
44
|
+
.#{carbon-config.$prefix}--table-sort:active {
|
|
43
45
|
+ .#{$block-class}__resizer {
|
|
44
46
|
z-index: -1;
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
49
|
|
|
48
|
-
.#{
|
|
49
|
-
.#{
|
|
50
|
+
.#{carbon-config.$prefix}--table-header-label
|
|
51
|
+
.#{carbon-config.$prefix}--table-sort {
|
|
50
52
|
padding: 0 $spacing-05;
|
|
51
53
|
border: none;
|
|
52
54
|
/* stylelint-disable-next-line declaration-no-important */
|
|
@@ -57,15 +59,15 @@
|
|
|
57
59
|
inline-size: 100%;
|
|
58
60
|
min-inline-size: 100%;
|
|
59
61
|
}
|
|
60
|
-
.#{
|
|
61
|
-
.#{
|
|
62
|
+
.#{carbon-config.$prefix}--table-header-label
|
|
63
|
+
.#{carbon-config.$prefix}--table-sort
|
|
62
64
|
.#{$block-class}__sortable-icon {
|
|
63
65
|
fill: $text-primary;
|
|
64
66
|
opacity: 0;
|
|
65
67
|
visibility: hidden;
|
|
66
68
|
}
|
|
67
69
|
|
|
68
|
-
.#{
|
|
70
|
+
.#{carbon-config.$prefix}--table-sort.#{$block-class}--table-sort {
|
|
69
71
|
align-items: inherit;
|
|
70
72
|
margin: 0 calc(-1 * #{$spacing-05}); // fill width of parent table column header
|
|
71
73
|
inline-size: calc(100% + #{$spacing-07}); // offset due to inner label
|
|
@@ -75,7 +77,7 @@
|
|
|
75
77
|
.#{$block-class}__sortableColumn:hover,
|
|
76
78
|
.#{$block-class}__sortableColumn:focus-within,
|
|
77
79
|
.#{$block-class}__sortableColumn.#{$block-class}__isSorted {
|
|
78
|
-
.#{
|
|
80
|
+
.#{carbon-config.$prefix}--table-header-label
|
|
79
81
|
.#{$block-class}__sortable-icon {
|
|
80
82
|
opacity: 1;
|
|
81
83
|
visibility: visible;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2022,
|
|
2
|
+
// Copyright IBM Corp. 2022, 2025
|
|
3
3
|
//
|
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
@use '@carbon/type/scss/font-family';
|
|
14
14
|
@use '@carbon/layout' as *;
|
|
15
15
|
@use '@carbon/layout/scss/convert';
|
|
16
|
+
@use '@carbon/styles/scss/config' as carbon-config;
|
|
16
17
|
|
|
17
18
|
@use '../../../../global/styles/project-settings' as c4p-settings;
|
|
18
19
|
@use '../variables';
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
padding-inline-start: spacing.$spacing-09;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
.#{
|
|
35
|
+
.#{carbon-config.$prefix}--form-item.#{carbon-config.$prefix}--checkbox-wrapper.#{variables.$block-class}__customize-columns-checkbox {
|
|
35
36
|
display: flex;
|
|
36
37
|
flex: initial;
|
|
37
38
|
align-items: center;
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
.#{variables.$block-class}__customize-columns-column-list
|
|
42
|
-
.#{variables.$block-class}__customize-columns-checkbox-wrapper.#{
|
|
43
|
+
.#{variables.$block-class}__customize-columns-checkbox-wrapper.#{carbon-config.$prefix}--form-item {
|
|
43
44
|
margin-block-end: 0;
|
|
44
45
|
}
|
|
45
46
|
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
inset-block-start: 0;
|
|
64
65
|
padding-inline-start: spacing.$spacing-08;
|
|
65
66
|
|
|
66
|
-
.#{
|
|
67
|
+
.#{carbon-config.$prefix}--checkbox-label-text {
|
|
67
68
|
@include font-family.font-weight('semibold');
|
|
68
69
|
}
|
|
69
70
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2022,
|
|
2
|
+
// Copyright IBM Corp. 2022, 2025
|
|
3
3
|
//
|
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
@use '@carbon/styles/scss/spacing';
|
|
13
13
|
@use '@carbon/styles/scss/type' as *;
|
|
14
14
|
@use '@carbon/layout' as *;
|
|
15
|
+
@use '@carbon/styles/scss/config' as carbon-config;
|
|
15
16
|
|
|
16
17
|
@use '../../../../global/styles/project-settings' as c4p-settings;
|
|
17
18
|
@use '../variables';
|
|
@@ -86,22 +87,21 @@ $action-set-height: to-rem(64px);
|
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
// Carbon overrides
|
|
89
|
-
.#{variables.$block-class}-filter-flyout__trigger.#{
|
|
90
|
+
.#{variables.$block-class}-filter-flyout__trigger.#{carbon-config.$prefix}--btn {
|
|
90
91
|
display: flex;
|
|
91
92
|
justify-content: center;
|
|
92
93
|
block-size: 3rem;
|
|
93
94
|
inline-size: 3rem;
|
|
94
95
|
}
|
|
95
96
|
|
|
96
|
-
.#{variables.$block-class}-filter-flyout__trigger--open.#{
|
|
97
|
+
.#{variables.$block-class}-filter-flyout__trigger--open.#{carbon-config.$prefix}--btn.#{carbon-config.$prefix}--btn--icon-only {
|
|
97
98
|
position: relative;
|
|
98
99
|
background-color: $layer-02;
|
|
99
100
|
/* stylelint-disable-next-line -- to-rem carbon replacement for rem */
|
|
100
101
|
box-shadow: 0 1px to-rem(8px) 0 rgba(0, 0, 0, 0.25);
|
|
101
102
|
}
|
|
102
103
|
|
|
103
|
-
.#{variables.$block-class}-filter-flyout
|
|
104
|
-
.#{c4p-settings.$carbon-prefix}--fieldset {
|
|
104
|
+
.#{variables.$block-class}-filter-flyout .#{carbon-config.$prefix}--fieldset {
|
|
105
105
|
margin-block-end: 0;
|
|
106
106
|
}
|
|
107
107
|
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
//
|
|
2
|
-
// Copyright IBM Corp. 2022,
|
|
2
|
+
// Copyright IBM Corp. 2022, 2025
|
|
3
3
|
//
|
|
4
4
|
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
-
@use '../variables' as *;
|
|
9
8
|
@use '@carbon/styles/scss/theme' as *;
|
|
10
9
|
@use '@carbon/layout/scss/convert' as *;
|
|
11
10
|
@use '@carbon/styles/scss/spacing' as *;
|
|
12
11
|
@use '@carbon/styles/scss/type' as *;
|
|
13
12
|
@use '@carbon/styles/scss/motion' as *;
|
|
13
|
+
@use '@carbon/styles/scss/config' as carbon-config;
|
|
14
|
+
|
|
15
|
+
@use '../variables' as *;
|
|
14
16
|
@use '../../../../global/styles/project-settings' as c4p-settings;
|
|
15
17
|
@use './animations' as *;
|
|
16
18
|
|
|
@@ -171,6 +173,7 @@ $block-class-component: #{$block-class}-filter-panel;
|
|
|
171
173
|
margin-block-start: auto;
|
|
172
174
|
|
|
173
175
|
opacity: 1;
|
|
176
|
+
/* stylelint-disable-next-line carbon/layout-use */
|
|
174
177
|
transform: translateY(64px) translateZ(0);
|
|
175
178
|
|
|
176
179
|
&.#{$block-class-component}__animationComplete {
|
|
@@ -183,28 +186,28 @@ $block-class-component: #{$block-class}-filter-panel;
|
|
|
183
186
|
|
|
184
187
|
// Overrides
|
|
185
188
|
.#{$block-class-component}__container
|
|
186
|
-
.#{
|
|
189
|
+
.#{carbon-config.$prefix}--accordion__title {
|
|
187
190
|
margin: 0;
|
|
188
191
|
}
|
|
189
192
|
|
|
190
193
|
.#{$block-class-component}__container
|
|
191
|
-
.#{
|
|
194
|
+
.#{carbon-config.$prefix}--accordion__arrow {
|
|
192
195
|
margin: $spacing-01 0 0;
|
|
193
196
|
}
|
|
194
197
|
|
|
195
198
|
.#{$block-class-component}__container
|
|
196
|
-
.#{
|
|
199
|
+
.#{carbon-config.$prefix}--accordion__content {
|
|
197
200
|
padding-inline: 0;
|
|
198
201
|
}
|
|
199
202
|
|
|
200
203
|
// Makes sure every child (filter) inside the accordion content has space in between
|
|
201
204
|
.#{$block-class-component}__container
|
|
202
|
-
.#{
|
|
205
|
+
.#{carbon-config.$prefix}--accordion__content
|
|
203
206
|
> *:not(:last-child) {
|
|
204
207
|
margin-block-end: $spacing-05;
|
|
205
208
|
}
|
|
206
209
|
|
|
207
|
-
.#{
|
|
210
|
+
.#{carbon-config.$prefix}--btn.#{$block-class-component}-open-button {
|
|
208
211
|
display: flex;
|
|
209
212
|
justify-content: center;
|
|
210
213
|
block-size: 3rem;
|
|
@@ -213,6 +216,6 @@ $block-class-component: #{$block-class}-filter-panel;
|
|
|
213
216
|
inline-size: 3rem;
|
|
214
217
|
}
|
|
215
218
|
|
|
216
|
-
.#{
|
|
219
|
+
.#{carbon-config.$prefix}--btn.#{$block-class-component}__view-all-button {
|
|
217
220
|
margin-inline-start: -$spacing-05;
|
|
218
221
|
}
|