@carbon/styles 1.106.0-rc.0 → 1.107.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/styles.css CHANGED
@@ -4225,6 +4225,11 @@ em {
4225
4225
  outline: none;
4226
4226
  }
4227
4227
 
4228
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
4229
+ .cds--accordion__heading:focus {
4230
+ outline: 2px solid Highlight;
4231
+ }
4232
+ }
4228
4233
  .cds--accordion__heading[disabled] {
4229
4234
  background-color: transparent;
4230
4235
  color: var(--cds-text-disabled, rgba(22, 22, 22, 0.25));
@@ -4548,6 +4553,18 @@ li.cds--accordion__item--disabled:last-of-type {
4548
4553
  --cds-popover-background-color: var(--cds-background-inverse, #393939);
4549
4554
  --cds-popover-text-color: var(--cds-text-inverse, #ffffff);
4550
4555
  }
4556
+ .cds--popover--high-contrast .cds--popover .cds--skeleton,
4557
+ .cds--popover--high-contrast .cds--popover .cds--skeleton__text,
4558
+ .cds--popover--high-contrast .cds--popover .cds--skeleton__placeholder,
4559
+ .cds--popover--high-contrast .cds--popover .cds--icon--skeleton {
4560
+ background: var(--cds-background-inverse-hover, #474747);
4561
+ }
4562
+ .cds--popover--high-contrast .cds--popover .cds--skeleton::before,
4563
+ .cds--popover--high-contrast .cds--popover .cds--skeleton__text::before,
4564
+ .cds--popover--high-contrast .cds--popover .cds--skeleton__placeholder::before,
4565
+ .cds--popover--high-contrast .cds--popover .cds--icon--skeleton::before {
4566
+ background: var(--cds-background-inverse, #393939);
4567
+ }
4551
4568
 
4552
4569
  .cds--popover--drop-shadow .cds--popover {
4553
4570
  filter: var(--cds-popover-drop-shadow, drop-shadow(0 0.125rem 0.125rem rgba(0, 0, 0, 0.2)));
@@ -6116,6 +6133,12 @@ li.cds--accordion__item--disabled:last-of-type {
6116
6133
  fill: var(--cds-icon-primary, #161616);
6117
6134
  }
6118
6135
 
6136
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
6137
+ .cds--toggletip-button:hover svg,
6138
+ .cds--toggletip--open .cds--toggletip-button svg {
6139
+ fill: Highlight;
6140
+ }
6141
+ }
6119
6142
  .cds--toggletip-button:focus {
6120
6143
  outline: 1px solid var(--cds-focus, #0f62fe);
6121
6144
  }
@@ -8960,6 +8983,7 @@ fieldset[disabled] .cds--form__helper-text {
8960
8983
  background-color: var(--cds-layer);
8961
8984
  inline-size: 100%;
8962
8985
  max-inline-size: 48rem;
8986
+ min-inline-size: 0;
8963
8987
  display: flex;
8964
8988
  align-items: center;
8965
8989
  block-size: 2.5rem;
@@ -8978,6 +9002,7 @@ fieldset[disabled] .cds--form__helper-text {
8978
9002
  display: flex;
8979
9003
  align-items: center;
8980
9004
  block-size: 100%;
9005
+ min-inline-size: 0;
8981
9006
  overflow-x: auto;
8982
9007
  padding-inline-start: 1rem;
8983
9008
  }
@@ -9015,6 +9040,7 @@ fieldset[disabled] .cds--form__helper-text {
9015
9040
  background-color: var(--cds-layer);
9016
9041
  inline-size: 100%;
9017
9042
  max-inline-size: 48rem;
9043
+ min-inline-size: 0;
9018
9044
  display: flex;
9019
9045
  padding: 1rem;
9020
9046
  }
@@ -16751,6 +16777,10 @@ because the nesting selector cannot represent pseudo-elements. */
16751
16777
  }
16752
16778
  }
16753
16779
 
16780
+ .cds--dialog.cds--modal-container {
16781
+ border: none;
16782
+ }
16783
+
16754
16784
  .cds--dialog-content {
16755
16785
  position: relative;
16756
16786
  grid-area: content;
@@ -17787,6 +17817,11 @@ button.cds--dropdown-text:focus {
17787
17817
  outline-width: 1px;
17788
17818
  }
17789
17819
 
17820
+ .cds--file__selected-file--disabled {
17821
+ color: var(--cds-text-disabled, rgba(22, 22, 22, 0.25));
17822
+ cursor: not-allowed;
17823
+ }
17824
+
17790
17825
  .cds--file__selected-file--invalid {
17791
17826
  outline: 2px solid var(--cds-support-error, #da1e28);
17792
17827
  outline-offset: -2px;
@@ -17908,9 +17943,17 @@ button.cds--dropdown-text:focus {
17908
17943
  background-color: transparent;
17909
17944
  block-size: 1.5rem;
17910
17945
  cursor: pointer;
17911
- fill: var(--cds-icon-primary, #161616);
17912
17946
  inline-size: 1.5rem;
17913
17947
  }
17948
+ .cds--file__state-container .cds--file-close svg {
17949
+ fill: var(--cds-icon-primary, #161616);
17950
+ }
17951
+ .cds--file__state-container .cds--file-close[disabled] {
17952
+ cursor: not-allowed;
17953
+ }
17954
+ .cds--file__state-container .cds--file-close[disabled] svg {
17955
+ fill: var(--cds-icon-disabled, rgba(22, 22, 22, 0.25));
17956
+ }
17914
17957
  .cds--file__state-container .cds--file-close:focus {
17915
17958
  outline: 2px solid var(--cds-focus, #0f62fe);
17916
17959
  outline-offset: -2px;
@@ -17921,10 +17964,6 @@ button.cds--dropdown-text:focus {
17921
17964
  }
17922
17965
  }
17923
17966
 
17924
- .cds--file__state-container .cds--file-close svg path {
17925
- fill: var(--cds-icon-primary, #161616);
17926
- }
17927
-
17928
17967
  .cds--file__state-container .cds--inline-loading__animation {
17929
17968
  margin-inline-end: -0.5rem;
17930
17969
  }
@@ -23934,7 +23973,7 @@ span.cds--pagination__text.cds--pagination__items-count {
23934
23973
 
23935
23974
  .cds--progress-bar__track {
23936
23975
  position: relative;
23937
- background-color: var(--cds-layer);
23976
+ background-color: var(--cds-border-subtle);
23938
23977
  block-size: 0.5rem;
23939
23978
  inline-size: 100%;
23940
23979
  min-inline-size: 3rem;
@@ -26969,6 +27008,11 @@ span.cds--pagination__text.cds--pagination__items-count {
26969
27008
  transform: translateX(1.5rem);
26970
27009
  }
26971
27010
 
27011
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
27012
+ .cds--toggle__switch--checked {
27013
+ background-color: Highlight;
27014
+ }
27015
+ }
26972
27016
  .cds--toggle__text {
26973
27017
  font-size: var(--cds-body-01-font-size, 0.875rem);
26974
27018
  font-weight: var(--cds-body-01-font-weight, 400);