@carbon/ibm-products 1.17.0 → 1.18.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.
Files changed (46) hide show
  1. package/README.md +30 -27
  2. package/css/index-full-carbon.css +144 -78
  3. package/css/index-full-carbon.css.map +1 -1
  4. package/css/index-full-carbon.min.css +4 -4
  5. package/css/index-full-carbon.min.css.map +1 -1
  6. package/css/index-without-carbon.css +27 -12
  7. package/css/index-without-carbon.css.map +1 -1
  8. package/css/index-without-carbon.min.css +2 -2
  9. package/css/index-without-carbon.min.css.map +1 -1
  10. package/css/index.css +53 -43
  11. package/css/index.css.map +1 -1
  12. package/css/index.min.css +4 -4
  13. package/css/index.min.css.map +1 -1
  14. package/es/components/AddSelect/AddSelect.js +30 -6
  15. package/es/components/AddSelect/AddSelectColumn.js +31 -73
  16. package/es/components/AddSelect/AddSelectFilter.js +2 -2
  17. package/es/components/AddSelect/AddSelectSort.js +61 -0
  18. package/es/components/AddSelect/add-select-utils.js +21 -0
  19. package/es/components/AddSelect/hooks/useItemSort.js +20 -0
  20. package/es/components/DataSpreadsheet/DataSpreadsheet.js +26 -13
  21. package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +51 -40
  22. package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +60 -3
  23. package/es/components/DataSpreadsheet/hooks/index.js +3 -1
  24. package/es/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +15 -14
  25. package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +60 -0
  26. package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +153 -0
  27. package/es/components/DataSpreadsheet/utils/createCellSelectionArea.js +3 -3
  28. package/es/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +34 -0
  29. package/lib/components/AddSelect/AddSelect.js +31 -6
  30. package/lib/components/AddSelect/AddSelectColumn.js +32 -71
  31. package/lib/components/AddSelect/AddSelectFilter.js +2 -2
  32. package/lib/components/AddSelect/AddSelectSort.js +79 -0
  33. package/lib/components/AddSelect/add-select-utils.js +29 -2
  34. package/lib/components/AddSelect/hooks/useItemSort.js +33 -0
  35. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +25 -12
  36. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +52 -39
  37. package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +62 -3
  38. package/lib/components/DataSpreadsheet/hooks/index.js +17 -1
  39. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +14 -14
  40. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +74 -0
  41. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +161 -0
  42. package/lib/components/DataSpreadsheet/utils/createCellSelectionArea.js +3 -3
  43. package/lib/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +45 -0
  44. package/package.json +11 -10
  45. package/scss/components/AddSelect/_add-select.scss +6 -0
  46. package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +21 -13
@@ -983,20 +983,20 @@ em {
983
983
  }
984
984
 
985
985
  /* stylelint-disable */
986
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
986
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
987
987
  .bx--snippet__icon {
988
988
  fill: ButtonText;
989
989
  }
990
990
  }
991
991
 
992
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
992
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
993
993
  .bx--snippet--inline:focus {
994
994
  color: Highlight;
995
995
  outline: 1px solid Highlight;
996
996
  }
997
997
  }
998
998
 
999
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
999
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
1000
1000
  .bx--snippet--single,
1001
1001
  .bx--snippet--multi {
1002
1002
  outline: 1px solid transparent;
@@ -2729,14 +2729,14 @@ em {
2729
2729
  box-shadow: none;
2730
2730
  }
2731
2731
 
2732
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
2732
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
2733
2733
  .bx--btn:focus {
2734
2734
  color: Highlight;
2735
2735
  outline: 1px solid Highlight;
2736
2736
  }
2737
2737
  }
2738
2738
 
2739
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
2739
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
2740
2740
  .bx--btn--ghost.bx--btn--icon-only .bx--btn__icon path:not([data-icon-path]):not([fill=none]),
2741
2741
  .bx--btn--ghost.bx--btn--icon-only .bx--btn__icon {
2742
2742
  fill: ButtonText;
@@ -3265,13 +3265,13 @@ em {
3265
3265
  }
3266
3266
 
3267
3267
  /* stylelint-disable */
3268
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
3268
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
3269
3269
  .bx--modal-close__icon {
3270
3270
  fill: ButtonText;
3271
3271
  }
3272
3272
  }
3273
3273
 
3274
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
3274
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
3275
3275
  .bx--modal-close:focus {
3276
3276
  color: Highlight;
3277
3277
  outline: 1px solid Highlight;
@@ -4058,7 +4058,7 @@ fieldset[disabled] .bx--form__helper-text {
4058
4058
  background: transparent;
4059
4059
  }
4060
4060
 
4061
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
4061
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
4062
4062
  .bx--text-input--password__visibility,
4063
4063
  .bx--btn.bx--btn--icon-only.bx--text-input--password__visibility__toggle.bx--tooltip__trigger svg,
4064
4064
  .bx--btn.bx--btn--icon-only.bx--text-input--password__visibility__toggle.bx--tooltip__trigger:hover svg {
@@ -5190,14 +5190,14 @@ a.bx--tabs__nav-link:focus, a.bx--tabs__nav-link:active {
5190
5190
  white-space: nowrap;
5191
5191
  }
5192
5192
 
5193
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
5193
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
5194
5194
  .bx--tabs--scrollable__nav-item .bx--tabs__nav-item--selected .bx--tabs--scrollable__nav-item--selected {
5195
5195
  color: Highlight;
5196
5196
  outline: 1px solid Highlight;
5197
5197
  }
5198
5198
  }
5199
5199
 
5200
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
5200
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
5201
5201
  .bx--tabs--scrollable .bx--tabs--scrollable__nav-item--disabled .bx--tabs--scrollable__nav-link {
5202
5202
  color: GrayText;
5203
5203
  fill: GrayText;
@@ -7723,7 +7723,7 @@ a.bx--overflow-menu-options__btn::before {
7723
7723
  }
7724
7724
 
7725
7725
  /* stylelint-disable */
7726
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
7726
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
7727
7727
  .bx--overflow-menu:focus,
7728
7728
  .bx--overflow-menu-options__btn:focus {
7729
7729
  color: Highlight;
@@ -7731,7 +7731,7 @@ a.bx--overflow-menu-options__btn::before {
7731
7731
  }
7732
7732
  }
7733
7733
 
7734
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
7734
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
7735
7735
  .bx--overflow-menu svg {
7736
7736
  fill: ButtonText;
7737
7737
  }
@@ -9952,7 +9952,7 @@ a.bx--overflow-menu-options__btn::before {
9952
9952
  }
9953
9953
 
9954
9954
  /* stylelint-disable */
9955
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
9955
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
9956
9956
  .bx--tooltip__trigger svg,
9957
9957
  .bx--tooltip__trigger:hover svg,
9958
9958
  .bx--tooltip__trigger:focus svg {
@@ -9960,20 +9960,20 @@ a.bx--overflow-menu-options__btn::before {
9960
9960
  }
9961
9961
  }
9962
9962
 
9963
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
9963
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
9964
9964
  .bx--tooltip__trigger:focus svg {
9965
9965
  color: Highlight;
9966
9966
  outline: 1px solid Highlight;
9967
9967
  }
9968
9968
  }
9969
9969
 
9970
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
9970
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
9971
9971
  .bx--tooltip {
9972
9972
  outline: 1px solid transparent;
9973
9973
  }
9974
9974
  }
9975
9975
 
9976
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
9976
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
9977
9977
  .bx--assistive-text {
9978
9978
  outline: 1px solid transparent;
9979
9979
  }
@@ -12484,7 +12484,7 @@ a.bx--side-nav__link--current::before {
12484
12484
  fill: #525252;
12485
12485
  }
12486
12486
 
12487
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
12487
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
12488
12488
  .bx--side-nav__icon > svg,
12489
12489
  .bx--side-nav a.bx--header__menu-item:hover .bx--header__menu-arrow,
12490
12490
  .bx--side-nav a.bx--header__menu-item:focus .bx--header__menu-arrow,
@@ -13184,14 +13184,9 @@ a.bx--side-nav__link--current::before {
13184
13184
  content: "";
13185
13185
  transform: scale(0.5);
13186
13186
  }
13187
- @media screen and (-ms-high-contrast: active) {
13188
- .bx--radio-button:checked + .bx--radio-button__label .bx--radio-button__appearance::before {
13189
- background-color: WindowText;
13190
- }
13191
- }
13192
- @media screen and (prefers-contrast) {
13187
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
13193
13188
  .bx--radio-button:checked + .bx--radio-button__label .bx--radio-button__appearance::before {
13194
- border: 2px solid WindowText;
13189
+ fill: ButtonText;
13195
13190
  }
13196
13191
  }
13197
13192
 
@@ -13899,13 +13894,13 @@ a.bx--side-nav__link--current::before {
13899
13894
  }
13900
13895
 
13901
13896
  /* stylelint-disable */
13902
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
13897
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
13903
13898
  .bx--file__selected-file {
13904
13899
  outline: 1px solid transparent;
13905
13900
  }
13906
13901
  }
13907
13902
 
13908
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
13903
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
13909
13904
  .bx--file__state-container .bx--file-close svg path {
13910
13905
  fill: ButtonText;
13911
13906
  }
@@ -14256,7 +14251,7 @@ a.bx--side-nav__link--current::before {
14256
14251
  display: none;
14257
14252
  }
14258
14253
 
14259
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
14254
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
14260
14255
  .bx--structured-list-input:checked + .bx--structured-list-td .bx--structured-list-svg {
14261
14256
  fill: ButtonText;
14262
14257
  }
@@ -14333,6 +14328,12 @@ a.bx--side-nav__link--current::before {
14333
14328
  margin-right: var(--cds-spacing-03, 0.5rem);
14334
14329
  }
14335
14330
 
14331
+ .c4p--add-select__sub-header {
14332
+ display: flex;
14333
+ align-items: end;
14334
+ justify-content: space-between;
14335
+ }
14336
+
14336
14337
  .c4p--add-select__sidebar-header {
14337
14338
  display: flex;
14338
14339
  padding: var(--cds-spacing-06, 1.5rem) var(--cds-spacing-05, 1rem) var(--cds-spacing-03, 0.5rem) var(--cds-spacing-05, 1rem);
@@ -15735,20 +15736,20 @@ button.c4p--add-select__global-filter-toggle {
15735
15736
  }
15736
15737
 
15737
15738
  /* stylelint-disable */
15738
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
15739
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
15739
15740
  .bx--tag {
15740
15741
  outline: 1px solid transparent;
15741
15742
  }
15742
15743
  }
15743
15744
 
15744
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
15745
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
15745
15746
  .bx--tag__close-icon svg,
15746
15747
  .bx--tag__custom-icon svg {
15747
15748
  fill: ButtonText;
15748
15749
  }
15749
15750
  }
15750
15751
 
15751
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
15752
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
15752
15753
  .bx--tag__close-icon:focus {
15753
15754
  color: Highlight;
15754
15755
  outline: 1px solid Highlight;
@@ -16251,7 +16252,7 @@ button.c4p--add-select__global-filter-toggle {
16251
16252
  fill: var(--cds-icon-02, #525252);
16252
16253
  }
16253
16254
 
16254
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
16255
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
16255
16256
  .bx--search-close svg,
16256
16257
  .bx--search-magnifier-icon {
16257
16258
  fill: ButtonText;
@@ -19417,17 +19418,6 @@ button.c4p--add-select__global-filter-toggle {
19417
19418
  border: var(--cds-spacing-01, 0.125rem) solid var(--cds-interactive-01, #0f62fe);
19418
19419
  outline: 0;
19419
19420
  }
19420
- .c4p--data-spreadsheet .c4p--data-spreadsheet__active-cell--highlight.c4p--data-spreadsheet__active-cell--with-selection::before {
19421
- position: absolute;
19422
- top: 0;
19423
- left: 0;
19424
- display: block;
19425
- width: 100%;
19426
- height: 100%;
19427
- background-color: var(--cds-interactive-01, #0f62fe);
19428
- content: "";
19429
- opacity: 0.25;
19430
- }
19431
19421
  .c4p--data-spreadsheet .c4p--data-spreadsheet__selection-area--element {
19432
19422
  position: absolute;
19433
19423
  z-index: 2;
@@ -19445,6 +19435,19 @@ button.c4p--add-select__global-filter-toggle {
19445
19435
  content: "";
19446
19436
  opacity: 0.2;
19447
19437
  }
19438
+ .c4p--data-spreadsheet .c4p--data-spreadsheet__selection-area--element.c4p--data-spreadsheet__selection-area--element-cloned {
19439
+ z-index: 4;
19440
+ }
19441
+ .c4p--data-spreadsheet .c4p--data-spreadsheet__selection-area--element.c4p--data-spreadsheet__selection-area--element-cloned::before {
19442
+ background-color: var(--cds-ui-05, #161616);
19443
+ opacity: 0.25;
19444
+ }
19445
+ .c4p--data-spreadsheet .c4p--data-spreadsheet__reorder-indicator-line {
19446
+ position: absolute;
19447
+ z-index: 4;
19448
+ width: var(--cds-spacing-01, 0.125rem);
19449
+ background-color: var(--cds-interactive-01, #0f62fe);
19450
+ }
19448
19451
  .c4p--data-spreadsheet .c4p--data-spreadsheet__th--active-header,
19449
19452
  .c4p--data-spreadsheet .c4p--data-spreadsheet__td-th--active-header.c4p--data-spreadsheet__td {
19450
19453
  background-color: var(--cds-hover-selected-ui, #cacaca);
@@ -19454,10 +19457,17 @@ button.c4p--add-select__global-filter-toggle {
19454
19457
  background-color: var(--cds-inverse-02, #393939);
19455
19458
  color: var(--cds-text-04, #ffffff);
19456
19459
  }
19457
- .c4p--data-spreadsheet .c4p--data-spreadsheet__th--selected-header:hover,
19460
+ .c4p--data-spreadsheet .c4p--data-spreadsheet__th--selected-header:focus, .c4p--data-spreadsheet .c4p--data-spreadsheet__th--selected-header:hover,
19461
+ .c4p--data-spreadsheet .c4p--data-spreadsheet__td-th--selected-header.c4p--data-spreadsheet__td:focus,
19458
19462
  .c4p--data-spreadsheet .c4p--data-spreadsheet__td-th--selected-header.c4p--data-spreadsheet__td:hover {
19459
19463
  background-color: var(--cds-inverse-02, #393939);
19460
19464
  }
19465
+ .c4p--data-spreadsheet .c4p--data-spreadsheet__th--selected-header.c4p--data-spreadsheet__th {
19466
+ cursor: grab;
19467
+ }
19468
+ .c4p--data-spreadsheet .c4p--data-spreadsheet__th--selected-header-reorder-active.c4p--data-spreadsheet__th {
19469
+ cursor: grabbing;
19470
+ }
19461
19471
  .c4p--data-spreadsheet .c4p--data-spreadsheet__list--container {
19462
19472
  overscroll-behavior: none;
19463
19473
  }
@@ -21871,7 +21881,7 @@ li.bx--accordion__item--disabled:last-of-type {
21871
21881
  margin-bottom: 0;
21872
21882
  }
21873
21883
 
21874
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
21884
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
21875
21885
  .bx--accordion__arrow,
21876
21886
  .bx--accordion__item--active .bx--accordion__arrow {
21877
21887
  fill: ButtonText;
@@ -22778,7 +22788,7 @@ li.bx--accordion__item--disabled:last-of-type {
22778
22788
  background-color: inherit;
22779
22789
  }
22780
22790
 
22781
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
22791
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
22782
22792
  .bx--list-box__field,
22783
22793
  .bx--list-box__menu,
22784
22794
  .bx--multi-select .bx--tag--filter {
@@ -22786,7 +22796,7 @@ li.bx--accordion__item--disabled:last-of-type {
22786
22796
  }
22787
22797
  }
22788
22798
 
22789
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
22799
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
22790
22800
  .bx--list-box__field:focus,
22791
22801
  .bx--multi-select .bx--tag__close-icon:focus,
22792
22802
  .bx--list-box__menu-item--highlighted .bx--list-box__menu-item__option {
@@ -22795,7 +22805,7 @@ li.bx--accordion__item--disabled:last-of-type {
22795
22805
  }
22796
22806
  }
22797
22807
 
22798
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
22808
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
22799
22809
  .bx--list-box__menu-icon > svg,
22800
22810
  .bx--list-box__selection > svg,
22801
22811
  .bx--list-box__selection--multi > svg {
@@ -23008,7 +23018,7 @@ li.bx--accordion__item--disabled:last-of-type {
23008
23018
  fill: var(--cds-icon-inverse, #ffffff);
23009
23019
  }
23010
23020
 
23011
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
23021
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
23012
23022
  .bx--content-switcher-btn:focus {
23013
23023
  color: Highlight;
23014
23024
  outline: 1px solid Highlight;
@@ -24323,7 +24333,7 @@ tr.bx--data-table--selected:last-of-type td {
24323
24333
  margin: -0.1875rem 0;
24324
24334
  }
24325
24335
 
24326
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
24336
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
24327
24337
  .bx--data-table-content {
24328
24338
  outline: 1px solid transparent;
24329
24339
  }
@@ -24609,14 +24619,14 @@ tr.bx--parent-row.bx--data-table--selected.bx--expandable-row--hover + tr[data-c
24609
24619
  background: var(--cds-layer-selected, #e0e0e0);
24610
24620
  }
24611
24621
 
24612
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
24622
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
24613
24623
  .bx--table-expand__button:focus .bx--table-expand__svg {
24614
24624
  color: Highlight;
24615
24625
  outline: 1px solid Highlight;
24616
24626
  }
24617
24627
  }
24618
24628
 
24619
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
24629
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
24620
24630
  .bx--table-expand__svg {
24621
24631
  fill: ButtonText;
24622
24632
  }
@@ -24794,7 +24804,7 @@ th .bx--table-sort__flex {
24794
24804
  margin-top: 0.8125rem;
24795
24805
  }
24796
24806
 
24797
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
24807
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
24798
24808
  .bx--table-sort__icon,
24799
24809
  .bx--table-sort__icon-unsorted {
24800
24810
  fill: ButtonText;
@@ -25506,14 +25516,14 @@ th .bx--table-sort__flex {
25506
25516
  cursor: pointer;
25507
25517
  }
25508
25518
 
25509
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
25519
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
25510
25520
  .flatpickr-prev-month,
25511
25521
  .flatpickr-next-month {
25512
25522
  fill: ButtonText;
25513
25523
  }
25514
25524
  }
25515
25525
 
25516
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
25526
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
25517
25527
  .flatpickr-day.selected {
25518
25528
  color: Highlight;
25519
25529
  outline: 1px solid Highlight;
@@ -25521,14 +25531,14 @@ th .bx--table-sort__flex {
25521
25531
  }
25522
25532
  }
25523
25533
 
25524
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
25534
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
25525
25535
  .flatpickr-day.today,
25526
25536
  .flatpickr-day.inRange {
25527
25537
  color: Highlight;
25528
25538
  }
25529
25539
  }
25530
25540
 
25531
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
25541
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
25532
25542
  .flatpickr-calendar {
25533
25543
  outline: 1px solid transparent;
25534
25544
  }
@@ -25755,7 +25765,7 @@ th .bx--table-sort__flex {
25755
25765
  }
25756
25766
  }
25757
25767
 
25758
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
25768
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
25759
25769
  .bx--date-picker__icon {
25760
25770
  fill: ButtonText;
25761
25771
  }
@@ -26208,19 +26218,19 @@ button.bx--dropdown-text:focus {
26208
26218
  }
26209
26219
  }
26210
26220
 
26211
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
26221
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
26212
26222
  .bx--dropdown .bx--list-box__field {
26213
26223
  outline: 1px solid transparent;
26214
26224
  }
26215
26225
  }
26216
26226
 
26217
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
26227
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
26218
26228
  .bx--list-box__menu-item__option {
26219
26229
  outline: none;
26220
26230
  }
26221
26231
  }
26222
26232
 
26223
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
26233
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
26224
26234
  .bx--list-box__menu-item__selected-icon {
26225
26235
  fill: ButtonText;
26226
26236
  }
@@ -26921,13 +26931,13 @@ button.bx--dropdown-text:focus {
26921
26931
  }
26922
26932
 
26923
26933
  /* stylelint-disable */
26924
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
26934
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
26925
26935
  .bx--inline-notification {
26926
26936
  outline: 1px solid transparent;
26927
26937
  }
26928
26938
  }
26929
26939
 
26930
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
26940
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
26931
26941
  .bx--inline-notification__close-button:focus,
26932
26942
  .bx--btn.bx--btn--ghost.bx--inline-notification__action-button:focus {
26933
26943
  color: Highlight;
@@ -26935,7 +26945,7 @@ button.bx--dropdown-text:focus {
26935
26945
  }
26936
26946
  }
26937
26947
 
26938
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
26948
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
26939
26949
  .bx--inline-notification__icon {
26940
26950
  fill: ButtonText;
26941
26951
  }
@@ -27182,20 +27192,20 @@ button.bx--dropdown-text:focus {
27182
27192
  }
27183
27193
 
27184
27194
  /* stylelint-disable */
27185
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
27195
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
27186
27196
  .bx--toast-notification {
27187
27197
  outline: 1px solid transparent;
27188
27198
  }
27189
27199
  }
27190
27200
 
27191
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
27201
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
27192
27202
  .bx--toast-notification__close-button:focus {
27193
27203
  color: Highlight;
27194
27204
  outline: 1px solid Highlight;
27195
27205
  }
27196
27206
  }
27197
27207
 
27198
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
27208
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
27199
27209
  .bx--toast-notification__icon {
27200
27210
  fill: ButtonText;
27201
27211
  }
@@ -27608,7 +27618,7 @@ button.bx--dropdown-text:focus {
27608
27618
  }
27609
27619
 
27610
27620
  /* stylelint-disable */
27611
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
27621
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
27612
27622
  .bx--number__control-btn:hover,
27613
27623
  .bx--number__control-btn:focus {
27614
27624
  color: Highlight;
@@ -27616,13 +27626,13 @@ button.bx--dropdown-text:focus {
27616
27626
  }
27617
27627
  }
27618
27628
 
27619
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
27629
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
27620
27630
  .bx--number__control-btn {
27621
27631
  outline: 1px solid transparent;
27622
27632
  }
27623
27633
  }
27624
27634
 
27625
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
27635
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
27626
27636
  .bx--number__control-btn svg {
27627
27637
  fill: ButtonText;
27628
27638
  }
@@ -28053,7 +28063,7 @@ optgroup.bx--select-optgroup:disabled,
28053
28063
  display: none;
28054
28064
  }
28055
28065
 
28056
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
28066
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
28057
28067
  .bx--select__arrow {
28058
28068
  fill: ButtonText;
28059
28069
  }
@@ -28274,7 +28284,7 @@ span.bx--pagination__text {
28274
28284
  margin-bottom: 0;
28275
28285
  }
28276
28286
 
28277
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
28287
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
28278
28288
  .bx--pagination__button,
28279
28289
  .bx--btn--ghost.bx--pagination__button {
28280
28290
  outline: 1px solid transparent;
@@ -28286,14 +28296,23 @@ span.bx--pagination__text {
28286
28296
  font-weight: var(--cds-body-short-01-font-weight, 400);
28287
28297
  line-height: var(--cds-body-short-01-line-height, 1.28572);
28288
28298
  letter-spacing: var(--cds-body-short-01-letter-spacing, 0.16px);
28289
- display: block;
28299
+ display: flex;
28300
+ min-width: 3rem;
28301
+ justify-content: space-between;
28290
28302
  margin-bottom: var(--cds-spacing-03, 0.5rem);
28291
28303
  color: var(--cds-text-primary, #161616);
28292
28304
  }
28293
28305
 
28306
+ .bx--progress-bar__label-text {
28307
+ overflow: hidden;
28308
+ text-overflow: ellipsis;
28309
+ white-space: nowrap;
28310
+ }
28311
+
28294
28312
  .bx--progress-bar__track {
28295
28313
  position: relative;
28296
28314
  width: 100%;
28315
+ min-width: 3rem;
28297
28316
  height: 0.5rem;
28298
28317
  background-color: var(--cds-layer, #f4f4f4);
28299
28318
  }
@@ -28310,7 +28329,8 @@ span.bx--pagination__text {
28310
28329
  display: block;
28311
28330
  width: 100%;
28312
28331
  height: 100%;
28313
- background-color: var(--cds-interactive, #0f62fe);
28332
+ background-color: currentColor;
28333
+ color: var(--cds-interactive, #0f62fe);
28314
28334
  transform: scaleX(0);
28315
28335
  transform-origin: 0 center /*rtl:100% center*/;
28316
28336
  transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
@@ -28336,10 +28356,52 @@ span.bx--pagination__text {
28336
28356
  font-size: var(--cds-helper-text-01-font-size, 0.75rem);
28337
28357
  line-height: var(--cds-helper-text-01-line-height, 1.33333);
28338
28358
  letter-spacing: var(--cds-helper-text-01-letter-spacing, 0.32px);
28339
- margin-top: var(--cds-spacing-02, 0.25rem);
28359
+ margin-top: var(--cds-spacing-03, 0.5rem);
28340
28360
  color: var(--cds-text-secondary, #525252);
28341
28361
  }
28342
28362
 
28363
+ .bx--progress-bar__status-icon {
28364
+ flex-shrink: 0;
28365
+ margin-left: var(--cds-spacing-05, 1rem);
28366
+ }
28367
+
28368
+ .bx--progress-bar--finished .bx--progress-bar__bar,
28369
+ .bx--progress-bar--finished .bx--progress-bar__status-icon {
28370
+ color: var(--cds-support-success, #198038);
28371
+ }
28372
+
28373
+ .bx--progress-bar--error .bx--progress-bar__bar,
28374
+ .bx--progress-bar--error .bx--progress-bar__status-icon,
28375
+ .bx--progress-bar--error .bx--progress-bar__helper-text {
28376
+ color: var(--cds-support-error, #da1e28);
28377
+ }
28378
+
28379
+ .bx--progress-bar--finished .bx--progress-bar__bar,
28380
+ .bx--progress-bar--error .bx--progress-bar__bar {
28381
+ transform: scaleX(1);
28382
+ }
28383
+
28384
+ .bx--progress-bar--finished.bx--progress-bar--inline .bx--progress-bar__track,
28385
+ .bx--progress-bar--error.bx--progress-bar--inline .bx--progress-bar__track {
28386
+ position: absolute;
28387
+ overflow: hidden;
28388
+ width: 1px;
28389
+ height: 1px;
28390
+ padding: 0;
28391
+ border: 0;
28392
+ margin: -1px;
28393
+ clip: rect(0, 0, 0, 0);
28394
+ visibility: inherit;
28395
+ white-space: nowrap;
28396
+ }
28397
+
28398
+ .bx--progress-bar--finished.bx--progress-bar--inline .bx--progress-bar__label,
28399
+ .bx--progress-bar--error.bx--progress-bar--inline .bx--progress-bar__label {
28400
+ flex-shrink: 1;
28401
+ justify-content: flex-start;
28402
+ margin-right: 0;
28403
+ }
28404
+
28343
28405
  @keyframes progress-bar-indeterminate {
28344
28406
  0% {
28345
28407
  background-position-x: 25%;
@@ -28354,11 +28416,15 @@ span.bx--pagination__text {
28354
28416
  }
28355
28417
 
28356
28418
  .bx--progress-bar--inline .bx--progress-bar__label {
28357
- flex-shrink: 0;
28358
28419
  margin-right: var(--cds-spacing-05, 1rem);
28359
28420
  margin-bottom: 0;
28360
28421
  }
28361
28422
 
28423
+ .bx--progress-bar--inline .bx--progress-bar__track {
28424
+ flex-basis: 0;
28425
+ flex-grow: 1;
28426
+ }
28427
+
28362
28428
  .bx--progress-bar--inline .bx--progress-bar__helper-text {
28363
28429
  position: absolute;
28364
28430
  overflow: hidden;
@@ -28645,20 +28711,20 @@ span.bx--pagination__text {
28645
28711
  }
28646
28712
 
28647
28713
  /* stylelint-disable */
28648
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
28714
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
28649
28715
  .bx--slider__thumb {
28650
28716
  outline: 1px solid transparent;
28651
28717
  }
28652
28718
  }
28653
28719
 
28654
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
28720
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
28655
28721
  .bx--slider__thumb:focus {
28656
28722
  color: Highlight;
28657
28723
  outline: 1px solid Highlight;
28658
28724
  }
28659
28725
  }
28660
28726
 
28661
- @media screen and (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast) {
28727
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
28662
28728
  .bx--slider__track {
28663
28729
  outline: 1px solid transparent;
28664
28730
  }