@carbon/styles 1.28.0-rc.0 → 1.29.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
@@ -7761,6 +7761,48 @@ fieldset[disabled] .cds--form__helper-text {
7761
7761
  width: 100%;
7762
7762
  }
7763
7763
 
7764
+ .cds--contained-list .cds--search {
7765
+ position: sticky;
7766
+ z-index: 1;
7767
+ top: 48px;
7768
+ }
7769
+ .cds--contained-list .cds--search.cds--search--expandable .cds--search-input {
7770
+ background-color: var(--cds-field);
7771
+ }
7772
+
7773
+ .cds--contained-list .cds--search .cds--search-input {
7774
+ border-bottom: 1px solid var(--cds-border-subtle);
7775
+ background-color: var(--cds-background, #ffffff);
7776
+ }
7777
+
7778
+ .cds--contained-list .cds--search .cds--search-close::before {
7779
+ display: none;
7780
+ }
7781
+
7782
+ .cds--contained-list .cds--search .cds--search-close {
7783
+ border-right: 2px solid transparent;
7784
+ outline: none;
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
+ }
7795
+
7796
+ .cds--contained-list .cds--search .cds--search-input ~ .cds--search-close:hover {
7797
+ border-bottom: 1px solid transparent;
7798
+ }
7799
+
7800
+ .cds--contained-list .cds--search .cds--search-input:focus ~ .cds--search-close:hover {
7801
+ border: 2px solid var(--cds-focus, #0f62fe);
7802
+ border-left: 0;
7803
+ outline: none;
7804
+ }
7805
+
7764
7806
  .cds--contained-list--on-page.cds--contained-list--sm .cds--contained-list__header {
7765
7807
  height: 2rem;
7766
7808
  }
@@ -12505,6 +12547,10 @@ button.cds--dropdown-text:focus {
12505
12547
  font-weight: 600;
12506
12548
  }
12507
12549
 
12550
+ .cds--number .cds--number__input-wrapper--warning input[type=number] {
12551
+ padding-right: 8rem;
12552
+ }
12553
+
12508
12554
  .cds--number input[type=number] {
12509
12555
  font-size: var(--cds-body-compact-01-font-size, 0.875rem);
12510
12556
  font-weight: var(--cds-body-compact-01-font-weight, 400);
@@ -12517,7 +12563,7 @@ button.cds--dropdown-text:focus {
12517
12563
  min-width: 9.375rem;
12518
12564
  height: 2.5rem;
12519
12565
  box-sizing: border-box;
12520
- padding-right: 8rem;
12566
+ padding-right: 6rem;
12521
12567
  padding-left: 1rem;
12522
12568
  border: 0;
12523
12569
  border-bottom: 0.0625rem solid var(--cds-border-strong);
@@ -12552,12 +12598,27 @@ button.cds--dropdown-text:focus {
12552
12598
  -webkit-appearance: none;
12553
12599
  appearance: none;
12554
12600
  }
12601
+ .cds--number input[type=number][data-invalid] {
12602
+ padding-right: 8rem;
12603
+ }
12555
12604
 
12556
12605
  .cds--number--lg.cds--number input[type=number] {
12606
+ padding-right: 7rem;
12607
+ }
12608
+ .cds--number--lg.cds--number input[type=number][data-invalid] {
12609
+ padding-right: 9rem;
12610
+ }
12611
+ .cds--number--lg.cds--number .cds--number__input-wrapper--warning input[type=number] {
12557
12612
  padding-right: 9rem;
12558
12613
  }
12559
12614
 
12560
12615
  .cds--number--sm.cds--number input[type=number] {
12616
+ padding-right: 5rem;
12617
+ }
12618
+ .cds--number--sm.cds--number input[type=number][data-invalid] {
12619
+ padding-right: 7rem;
12620
+ }
12621
+ .cds--number--sm.cds--number .cds--number__input-wrapper--warning input[type=number] {
12561
12622
  padding-right: 7rem;
12562
12623
  }
12563
12624
 
@@ -19259,11 +19320,15 @@ span.cds--pagination__text.cds--pagination__items-count {
19259
19320
  white-space: nowrap;
19260
19321
  }
19261
19322
 
19323
+ .cds--structured-list-input + .cds--structured-list-td {
19324
+ text-align: right;
19325
+ }
19326
+
19262
19327
  .cds--structured-list-svg {
19263
19328
  display: inline-block;
19264
19329
  fill: transparent;
19265
19330
  transition: all 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
19266
- vertical-align: middle;
19331
+ vertical-align: top;
19267
19332
  }
19268
19333
 
19269
19334
  .cds--structured-list-input:checked + .cds--structured-list-row .cds--structured-list-svg,
@@ -21295,6 +21360,7 @@ a.cds--header__menu-item.cds--header__menu-item--current:focus {
21295
21360
 
21296
21361
  @media (max-width: 65.98rem) {
21297
21362
  .cds--side-nav__overlay-active {
21363
+ z-index: 6000;
21298
21364
  width: 100vw;
21299
21365
  height: 100vh;
21300
21366
  background-color: var(--cds-overlay, rgba(22, 22, 22, 0.5));
@@ -22219,6 +22285,7 @@ a.cds--header__menu-item.cds--header__menu-item--current:focus {
22219
22285
 
22220
22286
  @media (max-width: 65.98rem) {
22221
22287
  .cds--side-nav__overlay-active {
22288
+ z-index: 6000;
22222
22289
  width: 100vw;
22223
22290
  height: 100vh;
22224
22291
  background-color: var(--cds-overlay, rgba(22, 22, 22, 0.5));