@carbon/styles 1.80.0 → 1.81.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
@@ -8696,6 +8696,12 @@ fieldset[disabled] .cds--form__helper-text {
8696
8696
  .cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus svg {
8697
8697
  fill: var(--cds-icon-primary, #161616);
8698
8698
  }
8699
+ @media screen and (-ms-high-contrast: active), (forced-colors: active) {
8700
+ .cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:hover svg,
8701
+ .cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger:focus svg {
8702
+ fill: ButtonText;
8703
+ }
8704
+ }
8699
8705
 
8700
8706
  .cds--text-input--invalid,
8701
8707
  .cds--text-input--warning {
@@ -14334,6 +14340,12 @@ th .cds--table-sort__flex {
14334
14340
  margin-block-start: 0.8125rem;
14335
14341
  }
14336
14342
 
14343
+ .cds--table-sort__header .cds--ai-label,
14344
+ .cds--table-sort__header .cds--slug,
14345
+ .cds--table-sort__header .cds--table-header-label--decorator-inner {
14346
+ display: none;
14347
+ }
14348
+
14337
14349
  .cds--table-sort__header--slug .cds--table-sort__icon,
14338
14350
  .cds--table-sort__header--slug .cds--table-sort__icon-unsorted,
14339
14351
  .cds--table-sort__header--ai-label .cds--table-sort__icon,
@@ -14347,6 +14359,7 @@ th .cds--table-sort__flex {
14347
14359
  .cds--table-sort__header--ai-label .cds--slug,
14348
14360
  .cds--table-sort__header--decorator .cds--table-header-label--decorator-inner,
14349
14361
  .cds--table-sort__header--ai-label .cds--table-header-label--decorator-inner {
14362
+ display: block;
14350
14363
  margin-inline-end: 0.5rem;
14351
14364
  }
14352
14365
 
@@ -16161,16 +16174,22 @@ button.cds--dropdown-text:focus {
16161
16174
  .cds--file__selected-file .cds--file-filename-container-wrap-invalid .cds--file-filename-tooltip {
16162
16175
  inline-size: -webkit-fill-available;
16163
16176
  padding-inline-start: 1rem;
16177
+ /* This is for targeting styles specific to firefox */
16178
+ /* https://sass-lang.com/documentation/breaking-changes/moz-document/ */
16179
+ /* stylelint-disable-next-line at-rule-no-vendor-prefix */
16164
16180
  }
16165
- @document url-prefix() {
16181
+ @-moz-document url-prefix() {
16166
16182
  .cds--file__selected-file .cds--file-filename-container-wrap-invalid .cds--file-filename-tooltip {
16167
16183
  inline-size: -moz-available;
16168
16184
  }
16169
16185
  }
16170
16186
  .cds--file__selected-file .cds--file-filename-tooltip {
16171
16187
  inline-size: -webkit-fill-available;
16188
+ /* This is for targeting styles specific to firefox */
16189
+ /* https://sass-lang.com/documentation/breaking-changes/moz-document/ */
16190
+ /* stylelint-disable-next-line at-rule-no-vendor-prefix */
16172
16191
  }
16173
- @document url-prefix() {
16192
+ @-moz-document url-prefix() {
16174
16193
  .cds--file__selected-file .cds--file-filename-tooltip {
16175
16194
  inline-size: -moz-available;
16176
16195
  }
@@ -16191,8 +16210,11 @@ button.cds--dropdown-text:focus {
16191
16210
  outline: inherit;
16192
16211
  text-overflow: ellipsis;
16193
16212
  white-space: nowrap;
16213
+ /* This is for targeting styles specific to firefox */
16214
+ /* https://sass-lang.com/documentation/breaking-changes/moz-document/ */
16215
+ /* stylelint-disable-next-line at-rule-no-vendor-prefix */
16194
16216
  }
16195
- @document url-prefix() {
16217
+ @-moz-document url-prefix() {
16196
16218
  .cds--file__selected-file .cds--file-filename-button {
16197
16219
  inline-size: -moz-available;
16198
16220
  }
@@ -21273,13 +21295,17 @@ optgroup.cds--select-optgroup:disabled,
21273
21295
  }
21274
21296
 
21275
21297
  .cds--page-header__content__title-wrapper {
21276
- display: flex;
21277
- justify-content: space-between;
21298
+ display: grid;
21278
21299
  gap: 1rem;
21300
+ grid-template-columns: auto minmax(var(--pageheader-title-grid-width, 0), 1fr);
21301
+ margin-block-end: 1rem;
21302
+ min-block-size: 2.5rem;
21279
21303
  }
21280
21304
  @media (max-width: 41.98rem) {
21281
21305
  .cds--page-header__content__title-wrapper {
21306
+ display: flex;
21282
21307
  flex-direction: column;
21308
+ grid-gap: 1rem;
21283
21309
  }
21284
21310
  }
21285
21311
 
@@ -21293,6 +21319,10 @@ optgroup.cds--select-optgroup:disabled,
21293
21319
  display: flex;
21294
21320
  }
21295
21321
 
21322
+ .cds--page-header__content__title-container .cds--definition-term {
21323
+ border-block-end: none;
21324
+ }
21325
+
21296
21326
  .cds--page-header__content__contextual-actions {
21297
21327
  display: flex;
21298
21328
  }
@@ -21321,7 +21351,17 @@ optgroup.cds--select-optgroup:disabled,
21321
21351
 
21322
21352
  .cds--page-header__content__page-actions {
21323
21353
  display: flex;
21324
- gap: 1rem;
21354
+ justify-content: right;
21355
+ }
21356
+ @media (max-width: 41.98rem) {
21357
+ .cds--page-header__content__page-actions {
21358
+ justify-content: left;
21359
+ margin-block-start: 0;
21360
+ }
21361
+ }
21362
+
21363
+ .cds--page-header__content__page-actions .cds--menu-button__trigger:not(.cds--btn--ghost) {
21364
+ min-inline-size: 0;
21325
21365
  }
21326
21366
 
21327
21367
  .cds--page-header__content__subtitle {
@@ -21329,7 +21369,7 @@ optgroup.cds--select-optgroup:disabled,
21329
21369
  font-weight: var(--cds-productive-heading-03-font-weight, 400);
21330
21370
  line-height: var(--cds-productive-heading-03-line-height, 1.4);
21331
21371
  letter-spacing: var(--cds-productive-heading-03-letter-spacing, 0);
21332
- margin-block-start: 1rem;
21372
+ margin-block-end: 0.5rem;
21333
21373
  }
21334
21374
 
21335
21375
  .cds--page-header__content__body {
@@ -21345,10 +21385,15 @@ optgroup.cds--select-optgroup:disabled,
21345
21385
  margin-block-start: 1rem;
21346
21386
  }
21347
21387
 
21388
+ [data-hidden]:not([data-fixed]) {
21389
+ display: none;
21390
+ }
21391
+
21348
21392
  .cds--page-header__hero-image {
21349
21393
  display: flex;
21350
21394
  overflow: hidden;
21351
21395
  align-items: center;
21396
+ justify-content: end;
21352
21397
  block-size: 100%;
21353
21398
  }
21354
21399
 
@@ -22267,6 +22312,8 @@ span.cds--pagination__text.cds--pagination__items-count {
22267
22312
 
22268
22313
  .cds--progress--space-equal .cds--progress-text {
22269
22314
  overflow: hidden;
22315
+ padding: 0.125rem;
22316
+ margin: -0.125rem;
22270
22317
  }
22271
22318
 
22272
22319
  .cds--progress-label {