@carbon/styles 1.10.0-rc.0 → 1.12.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
@@ -5204,8 +5204,7 @@ fieldset[disabled] .cds--form__helper-text {
5204
5204
 
5205
5205
  .cds--checkbox:checked + .cds--checkbox-label::before,
5206
5206
  .cds--checkbox:indeterminate + .cds--checkbox-label::before,
5207
- .cds--checkbox-label[data-contained-checkbox-state=true]::before,
5208
- .cds--checkbox-label[data-contained-checkbox-state=mixed]::before {
5207
+ .cds--checkbox-label[data-contained-checkbox-state=true]::before {
5209
5208
  border: none;
5210
5209
  border-width: 1px;
5211
5210
  background-color: var(--cds-icon-primary, #161616);
@@ -5217,8 +5216,7 @@ fieldset[disabled] .cds--form__helper-text {
5217
5216
  transform: scale(1) rotate(-45deg) /*rtl:scale(1.2) rotate3d(.5, 1, 0, 158deg)*/;
5218
5217
  }
5219
5218
 
5220
- .cds--checkbox:indeterminate + .cds--checkbox-label::after,
5221
- .cds--checkbox-label[data-contained-checkbox-state=mixed]::after {
5219
+ .cds--checkbox:indeterminate + .cds--checkbox-label::after {
5222
5220
  top: 0.6875rem;
5223
5221
  width: 0.5rem;
5224
5222
  border-bottom: 2px solid var(--cds-icon-inverse, #ffffff);
@@ -5231,8 +5229,7 @@ fieldset[disabled] .cds--form__helper-text {
5231
5229
  .cds--checkbox-label__focus::before,
5232
5230
  .cds--checkbox:checked:focus + .cds--checkbox-label::before,
5233
5231
  .cds--checkbox-label[data-contained-checkbox-state=true].cds--checkbox-label__focus::before,
5234
- .cds--checkbox:indeterminate:focus + .cds--checkbox-label::before,
5235
- .cds--checkbox-label[data-contained-checkbox-state=mixed].cds--checkbox-label__focus::before {
5232
+ .cds--checkbox:indeterminate:focus + .cds--checkbox-label::before {
5236
5233
  outline: 2px solid var(--cds-focus, #0f62fe);
5237
5234
  outline-offset: 1px;
5238
5235
  }
@@ -5250,8 +5247,7 @@ fieldset[disabled] .cds--form__helper-text {
5250
5247
 
5251
5248
  .cds--checkbox:checked:disabled + .cds--checkbox-label::before,
5252
5249
  .cds--checkbox:indeterminate:disabled + .cds--checkbox-label::before,
5253
- .cds--checkbox-label[data-contained-checkbox-state=true][data-contained-checkbox-disabled=true]::before,
5254
- .cds--checkbox-label[data-contained-checkbox-state=mixed][data-contained-checkbox-disabled=true]::before {
5250
+ .cds--checkbox-label[data-contained-checkbox-state=true][data-contained-checkbox-disabled=true]::before {
5255
5251
  background-color: var(--cds-icon-disabled, rgba(22, 22, 22, 0.25));
5256
5252
  }
5257
5253
 
@@ -13029,7 +13025,7 @@ button.cds--dropdown-text:focus {
13029
13025
  padding-left: 0;
13030
13026
  }
13031
13027
 
13032
- .cds--multi-select--filterable.cds--list-box--disabled:hover .cds--text-input {
13028
+ .cds--multi-select--filterable.cds--list-box--disabled:hover:not(.cds--multi-select--filterable) .cds--text-input {
13033
13029
  background-color: var(--cds-field);
13034
13030
  }
13035
13031
 
@@ -13043,6 +13039,10 @@ button.cds--dropdown-text:focus {
13043
13039
  background-color: transparent;
13044
13040
  }
13045
13041
 
13042
+ .cds--multi-select:not(.cds--list-box--expanded) .cds--list-box__menu {
13043
+ visibility: hidden;
13044
+ }
13045
+
13046
13046
  .cds--inline-notification {
13047
13047
  position: relative;
13048
13048
  display: -webkit-box;
@@ -19927,6 +19927,8 @@ span.cds--pagination__text.cds--pagination__items-count {
19927
19927
  -webkit-box-align: center;
19928
19928
  -ms-flex-align: center;
19929
19929
  align-items: center;
19930
+ padding-top: 0.4375rem;
19931
+ padding-bottom: 0.4375rem;
19930
19932
  }
19931
19933
  .cds--tree-node__label:hover {
19932
19934
  background-color: var(--cds-layer-hover-01, #e8e8e8);
@@ -19967,7 +19969,15 @@ span.cds--pagination__text.cds--pagination__items-count {
19967
19969
  }
19968
19970
 
19969
19971
  .cds--tree-parent-node__toggle {
19970
- padding: 0;
19972
+ display: -webkit-box;
19973
+ display: -ms-flexbox;
19974
+ display: flex;
19975
+ -webkit-box-align: center;
19976
+ -ms-flex-align: center;
19977
+ align-items: center;
19978
+ -ms-flex-item-align: start;
19979
+ align-self: flex-start;
19980
+ padding: 0.0625rem 0;
19971
19981
  border: 0;
19972
19982
  margin-right: 0.5rem;
19973
19983
  }
@@ -19994,6 +20004,9 @@ span.cds--pagination__text.cds--pagination__items-count {
19994
20004
  .cds--tree-node__icon {
19995
20005
  min-width: 1rem;
19996
20006
  min-height: 1rem;
20007
+ -ms-flex-item-align: start;
20008
+ align-self: flex-start;
20009
+ margin-top: 0.0625rem;
19997
20010
  margin-right: 0.5rem;
19998
20011
  fill: var(--cds-icon-secondary, #525252);
19999
20012
  }
@@ -20026,6 +20039,8 @@ span.cds--pagination__text.cds--pagination__items-count {
20026
20039
 
20027
20040
  .cds--tree--xs .cds--tree-node__label {
20028
20041
  min-height: 1.5rem;
20042
+ padding-top: 0.25rem;
20043
+ padding-bottom: 0.25rem;
20029
20044
  }
20030
20045
 
20031
20046
  .cds--content {