@carbon/styles 1.28.0 → 1.29.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
@@ -7766,30 +7766,38 @@ fieldset[disabled] .cds--form__helper-text {
7766
7766
  z-index: 1;
7767
7767
  top: 48px;
7768
7768
  }
7769
-
7770
- .cds--search.cds--search--expandable .cds--search-input {
7769
+ .cds--contained-list .cds--search.cds--search--expandable .cds--search-input {
7771
7770
  background-color: var(--cds-field);
7772
7771
  }
7773
7772
 
7774
- .cds--search .cds--search-input {
7773
+ .cds--contained-list .cds--search .cds--search-input {
7775
7774
  border-bottom: 1px solid var(--cds-border-subtle);
7776
7775
  background-color: var(--cds-background, #ffffff);
7777
7776
  }
7778
7777
 
7779
- .cds--search .cds--search-close::before {
7778
+ .cds--contained-list .cds--search .cds--search-close::before {
7780
7779
  display: none;
7781
7780
  }
7782
7781
 
7783
- .cds--search .cds--search-close {
7782
+ .cds--contained-list .cds--search .cds--search-close {
7784
7783
  border-right: 2px solid transparent;
7785
7784
  outline: none;
7786
7785
  }
7786
+ .cds--contained-list .cds--search .cds--search-close:focus {
7787
+ outline: 2px solid var(--cds-focus, #0f62fe);
7788
+ outline-offset: -2px;
7789
+ }
7790
+ @media screen and (prefers-contrast) {
7791
+ .cds--contained-list .cds--search .cds--search-close:focus {
7792
+ outline-style: dotted;
7793
+ }
7794
+ }
7787
7795
 
7788
- .cds--search .cds--search-input ~ .cds--search-close:hover {
7796
+ .cds--contained-list .cds--search .cds--search-input ~ .cds--search-close:hover {
7789
7797
  border-bottom: 1px solid transparent;
7790
7798
  }
7791
7799
 
7792
- .cds--search .cds--search-input:focus ~ .cds--search-close:hover {
7800
+ .cds--contained-list .cds--search .cds--search-input:focus ~ .cds--search-close:hover {
7793
7801
  border: 2px solid var(--cds-focus, #0f62fe);
7794
7802
  border-left: 0;
7795
7803
  outline: none;
@@ -18832,6 +18840,7 @@ span.cds--pagination__text.cds--pagination__items-count {
18832
18840
  }
18833
18841
 
18834
18842
  .cds--slider-container {
18843
+ position: relative;
18835
18844
  display: flex;
18836
18845
  align-items: center;
18837
18846
  -webkit-user-select: none;
@@ -18927,7 +18936,6 @@ span.cds--pagination__text.cds--pagination__items-count {
18927
18936
  width: 4rem;
18928
18937
  height: 2.5rem;
18929
18938
  -moz-appearance: textfield;
18930
- text-align: center;
18931
18939
  }
18932
18940
  .cds--slider-text-input::-webkit-outer-spin-button, .cds--slider-text-input::-webkit-inner-spin-button,
18933
18941
  .cds-slider-text-input::-webkit-outer-spin-button,
@@ -18939,14 +18947,44 @@ span.cds--pagination__text.cds--pagination__items-count {
18939
18947
  display: none;
18940
18948
  }
18941
18949
 
18942
- .cds--slider-text-input.cds--text-input--invalid {
18943
- padding-right: 1rem;
18944
- }
18945
-
18946
18950
  .cds--slider__thumb:focus ~ .cds--slider__filled-track {
18947
18951
  background-color: var(--cds-interactive, #0f62fe);
18948
18952
  }
18949
18953
 
18954
+ .cds--slider-text-input.cds--text-input--invalid,
18955
+ .cds--slider-text-input--warn {
18956
+ width: 6rem;
18957
+ padding-right: 3rem;
18958
+ }
18959
+
18960
+ .cds--slider__invalid-icon {
18961
+ position: absolute;
18962
+ top: 50%;
18963
+ right: 1rem;
18964
+ fill: var(--cds-support-error, #da1e28);
18965
+ transform: translateY(-50%);
18966
+ }
18967
+
18968
+ .cds--slider__validation-msg.cds--form-requirement {
18969
+ display: block;
18970
+ overflow: visible;
18971
+ max-height: 100%;
18972
+ margin-top: 0;
18973
+ }
18974
+
18975
+ .cds--slider__validation-msg--invalid {
18976
+ color: var(--cds-text-error, #da1e28);
18977
+ }
18978
+
18979
+ .cds--slider__invalid-icon.cds--slider__invalid-icon--warning {
18980
+ fill: var(--cds-support-warning, #f1c21b);
18981
+ }
18982
+
18983
+ .cds--slider__invalid-icon--warning path:first-of-type {
18984
+ fill: #000000;
18985
+ opacity: 1;
18986
+ }
18987
+
18950
18988
  .cds--label--disabled ~ .cds--slider-container > .cds--slider__range-label {
18951
18989
  color: var(--cds-text-disabled, rgba(22, 22, 22, 0.25));
18952
18990
  }
@@ -19312,11 +19350,15 @@ span.cds--pagination__text.cds--pagination__items-count {
19312
19350
  white-space: nowrap;
19313
19351
  }
19314
19352
 
19353
+ .cds--structured-list-input + .cds--structured-list-td {
19354
+ text-align: right;
19355
+ }
19356
+
19315
19357
  .cds--structured-list-svg {
19316
19358
  display: inline-block;
19317
19359
  fill: transparent;
19318
19360
  transition: all 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
19319
- vertical-align: middle;
19361
+ vertical-align: top;
19320
19362
  }
19321
19363
 
19322
19364
  .cds--structured-list-input:checked + .cds--structured-list-row .cds--structured-list-svg,
@@ -21348,6 +21390,7 @@ a.cds--header__menu-item.cds--header__menu-item--current:focus {
21348
21390
 
21349
21391
  @media (max-width: 65.98rem) {
21350
21392
  .cds--side-nav__overlay-active {
21393
+ z-index: 6000;
21351
21394
  width: 100vw;
21352
21395
  height: 100vh;
21353
21396
  background-color: var(--cds-overlay, rgba(22, 22, 22, 0.5));
@@ -22272,6 +22315,7 @@ a.cds--header__menu-item.cds--header__menu-item--current:focus {
22272
22315
 
22273
22316
  @media (max-width: 65.98rem) {
22274
22317
  .cds--side-nav__overlay-active {
22318
+ z-index: 6000;
22275
22319
  width: 100vw;
22276
22320
  height: 100vh;
22277
22321
  background-color: var(--cds-overlay, rgba(22, 22, 22, 0.5));