@carbon/styles 1.13.0 → 1.14.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
@@ -3424,6 +3424,24 @@ em {
3424
3424
  --cds-tag-hover-warm-gray: #696363;
3425
3425
  }
3426
3426
 
3427
+ .cds--accordion--flush .cds--accordion__title {
3428
+ margin-left: 0;
3429
+ }
3430
+
3431
+ .cds--accordion--flush .cds--accordion__arrow {
3432
+ margin-right: 0;
3433
+ }
3434
+
3435
+ .cds--accordion--flush .cds--accordion__content {
3436
+ padding-left: 0;
3437
+ }
3438
+
3439
+ .cds--accordion--flush:not(.cds--skeleton) .cds--accordion__heading:hover::before,
3440
+ .cds--accordion--flush:not(.cds--skeleton) .cds--accordion__heading:focus::before {
3441
+ left: -1rem;
3442
+ width: calc(100% + 32px);
3443
+ }
3444
+
3427
3445
  .cds--accordion {
3428
3446
  -webkit-box-sizing: border-box;
3429
3447
  box-sizing: border-box;
@@ -6504,11 +6522,14 @@ fieldset[disabled] .cds--form__helper-text {
6504
6522
  right: 2.5rem;
6505
6523
  }
6506
6524
 
6507
- .cds--text-input:disabled + .cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg {
6525
+ .cds--text-input:disabled ~ .cds--text-input--password__visibility__toggle.cds--tooltip__trigger {
6508
6526
  cursor: not-allowed;
6527
+ }
6528
+
6529
+ .cds--text-input:disabled ~ .cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg {
6509
6530
  fill: var(--cds-icon-disabled, rgba(22, 22, 22, 0.25));
6510
6531
  }
6511
- .cds--text-input:disabled + .cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg:hover {
6532
+ .cds--text-input:disabled ~ .cds--text-input--password__visibility__toggle.cds--tooltip__trigger svg:hover {
6512
6533
  fill: var(--cds-icon-disabled, rgba(22, 22, 22, 0.25));
6513
6534
  }
6514
6535
 
@@ -6762,6 +6783,20 @@ fieldset[disabled] .cds--form__helper-text {
6762
6783
  }
6763
6784
  }
6764
6785
 
6786
+ .cds--text-input__label-wrapper {
6787
+ display: -webkit-box;
6788
+ display: -ms-flexbox;
6789
+ display: flex;
6790
+ width: 100%;
6791
+ -webkit-box-pack: justify;
6792
+ -ms-flex-pack: justify;
6793
+ justify-content: space-between;
6794
+ }
6795
+ .cds--text-input__label-wrapper .cds--text-input__label-counter {
6796
+ -ms-flex-item-align: end;
6797
+ align-self: end;
6798
+ }
6799
+
6765
6800
  .cds--tag {
6766
6801
  font-size: var(--cds-label-01-font-size, 0.75rem);
6767
6802
  font-weight: var(--cds-label-01-font-weight, 400);
@@ -12182,7 +12217,6 @@ button.cds--dropdown-text:focus {
12182
12217
  }
12183
12218
 
12184
12219
  .cds--file__state-container .cds--file-complete {
12185
- cursor: pointer;
12186
12220
  fill: var(--cds-interactive, #0f62fe);
12187
12221
  }
12188
12222
  .cds--file__state-container .cds--file-complete:focus {
@@ -12385,6 +12419,161 @@ button.cds--dropdown-text:focus {
12385
12419
  outline: none;
12386
12420
  }
12387
12421
 
12422
+ .cds--text-input--fluid .cds--text-input.cds--password-input {
12423
+ padding-right: 2.5rem;
12424
+ }
12425
+
12426
+ .cds--text-input--fluid.cds--password-input-wrapper .cds--text-input__invalid-icon {
12427
+ right: 1rem;
12428
+ }
12429
+
12430
+ .cds--text-input--fluid .cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger {
12431
+ top: 1.625rem;
12432
+ right: 0.5rem;
12433
+ width: 2rem;
12434
+ height: 2rem;
12435
+ }
12436
+
12437
+ .cds--text-area--fluid .cds--text-area__wrapper {
12438
+ position: relative;
12439
+ height: 100%;
12440
+ -webkit-box-orient: vertical;
12441
+ -webkit-box-direction: normal;
12442
+ -ms-flex-direction: column;
12443
+ flex-direction: column;
12444
+ background: var(--cds-field);
12445
+ }
12446
+
12447
+ .cds--modal .cds--text-area--fluid .cds--text-area__wrapper {
12448
+ background: var(--cds-field-02, #ffffff);
12449
+ }
12450
+
12451
+ .cds--text-area--fluid .cds--text-area__label-wrapper {
12452
+ position: relative;
12453
+ height: 100%;
12454
+ }
12455
+
12456
+ .cds--text-area--fluid .cds--label {
12457
+ position: absolute;
12458
+ z-index: 1;
12459
+ top: 0.8125rem;
12460
+ left: 1rem;
12461
+ display: -webkit-box;
12462
+ display: -ms-flexbox;
12463
+ display: flex;
12464
+ height: 1rem;
12465
+ -webkit-box-align: center;
12466
+ -ms-flex-align: center;
12467
+ align-items: center;
12468
+ margin: 0;
12469
+ }
12470
+
12471
+ .cds--text-area--fluid div.cds--label {
12472
+ right: 1rem;
12473
+ left: initial;
12474
+ }
12475
+
12476
+ .cds--text-area--fluid .cds--text-area {
12477
+ min-height: 4rem;
12478
+ padding: 0 1rem 0.8125rem;
12479
+ margin-top: 2rem;
12480
+ outline: none;
12481
+ }
12482
+
12483
+ .cds--text-area--fluid .cds--form__helper-text {
12484
+ display: none;
12485
+ }
12486
+
12487
+ .cds--text-area--fluid .cds--text-area--invalid,
12488
+ .cds--text-area--fluid .cds--text-area:focus {
12489
+ border-bottom: none;
12490
+ }
12491
+
12492
+ .cds--text-area__divider,
12493
+ .cds--text-area--fluid .cds--text-area__divider {
12494
+ display: none;
12495
+ }
12496
+
12497
+ .cds--text-area--fluid .cds--text-area--invalid + .cds--text-area__divider {
12498
+ display: block;
12499
+ border-style: solid;
12500
+ border-color: var(--cds-border-subtle);
12501
+ border-bottom: none;
12502
+ margin: 0 1rem;
12503
+ }
12504
+
12505
+ .cds--text-area--fluid .cds--text-area--invalid + .cds--text-area__divider + .cds--form-requirement {
12506
+ position: relative;
12507
+ display: block;
12508
+ overflow: visible;
12509
+ max-height: 12.5rem;
12510
+ padding: 0.5rem 2.5rem 0.5rem 1rem;
12511
+ margin: 0;
12512
+ background: var(--cds-field);
12513
+ color: var(--cds-text-error, #da1e28);
12514
+ }
12515
+
12516
+ .cds--modal .cds--text-area--fluid .cds--text-area--invalid + .cds--text-area__divider + .cds--form-requirement {
12517
+ background: var(--cds-field-02, #ffffff);
12518
+ }
12519
+
12520
+ .cds--text-area--fluid .cds--text-area__invalid-icon {
12521
+ top: 0.5rem;
12522
+ }
12523
+
12524
+ .cds--text-area--fluid .cds--text-area__wrapper[data-invalid]:not(:focus) {
12525
+ outline: 2px solid var(--cds-support-error, #da1e28);
12526
+ outline-offset: -2px;
12527
+ outline-offset: 0;
12528
+ }
12529
+ @media screen and (prefers-contrast) {
12530
+ .cds--text-area--fluid .cds--text-area__wrapper[data-invalid]:not(:focus) {
12531
+ outline-style: dotted;
12532
+ }
12533
+ }
12534
+
12535
+ .cds--text-area--fluid .cds--text-area__wrapper[data-invalid]:focus-within,
12536
+ .cds--text-area--fluid .cds--text-area__wrapper:focus-within {
12537
+ outline: 2px solid var(--cds-focus, #0f62fe);
12538
+ outline-offset: -2px;
12539
+ outline-offset: 0;
12540
+ }
12541
+ @media screen and (prefers-contrast) {
12542
+ .cds--text-area--fluid .cds--text-area__wrapper[data-invalid]:focus-within,
12543
+ .cds--text-area--fluid .cds--text-area__wrapper:focus-within {
12544
+ outline-style: dotted;
12545
+ }
12546
+ }
12547
+
12548
+ .cds--text-area--fluid .cds--text-area__wrapper[data-invalid] > .cds--text-area--invalid:focus,
12549
+ .cds--text-area--fluid .cds--text-area__wrapper > .cds--text-area:focus,
12550
+ .cds--text-area--fluid .cds--text-area__wrapper > .cds--text-area:active,
12551
+ .cds--text-area--fluid .cds--text-area__wrapper[data-invalid] > .cds--text-area--invalid {
12552
+ outline: none;
12553
+ -webkit-transition: none;
12554
+ transition: none;
12555
+ }
12556
+
12557
+ .cds--text-area--fluid__skeleton {
12558
+ padding: 1rem;
12559
+ border-bottom: 1px solid var(--cds-skeleton-element, #c6c6c6);
12560
+ background: var(--cds-skeleton-background, #e8e8e8);
12561
+ }
12562
+
12563
+ .cds--text-area--fluid__skeleton .cds--skeleton,
12564
+ .cds--text-area--fluid__skeleton .cds--text-area.cds--skeleton::before {
12565
+ height: 0.5rem;
12566
+ }
12567
+
12568
+ .cds--text-area--fluid__skeleton .cds--label {
12569
+ margin-bottom: 0.75rem;
12570
+ }
12571
+
12572
+ .cds--text-area--fluid__skeleton .cds--text-area.cds--skeleton {
12573
+ width: 80%;
12574
+ height: 4rem;
12575
+ }
12576
+
12388
12577
  @-webkit-keyframes stroke {
12389
12578
  100% {
12390
12579
  stroke-dashoffset: 0;
@@ -13539,13 +13728,13 @@ button.cds--dropdown-text:focus {
13539
13728
  }
13540
13729
 
13541
13730
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
13542
- .cds--inline-notification__icon {
13731
+ .cds--inline-notification .cds--inline-notification__icon {
13543
13732
  fill: ButtonText;
13544
13733
  }
13545
13734
  }
13546
13735
 
13547
13736
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
13548
- .cds--inline-notification__close-icon {
13737
+ .cds--inline-notification .cds--inline-notification__close-icon {
13549
13738
  fill: ButtonText;
13550
13739
  }
13551
13740
  }
@@ -13829,13 +14018,13 @@ button.cds--dropdown-text:focus {
13829
14018
  }
13830
14019
 
13831
14020
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
13832
- .cds--toast-notification__close-icon {
14021
+ .cds--toast-notification .cds--toast-notification__close-icon {
13833
14022
  fill: ButtonText;
13834
14023
  }
13835
14024
  }
13836
14025
 
13837
14026
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
13838
- .cds--toast-notification__icon {
14027
+ .cds--toast-notification .cds--toast-notification__icon {
13839
14028
  fill: ButtonText;
13840
14029
  }
13841
14030
  }
@@ -14331,7 +14520,8 @@ button.cds--dropdown-text:focus {
14331
14520
 
14332
14521
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
14333
14522
  .cds--actionable-notification .cds--inline-notification__icon,
14334
- .cds--actionable-notification .cds--toast-notification__icon {
14523
+ .cds--actionable-notification .cds--toast-notification__icon,
14524
+ .cds--actionable-notification .cds--actionable-notification__close-icon {
14335
14525
  fill: ButtonText;
14336
14526
  }
14337
14527
  }
@@ -16869,6 +17059,10 @@ span.cds--pagination__text.cds--pagination__items-count {
16869
17059
  fill: var(--cds-interactive, #0f62fe);
16870
17060
  }
16871
17061
 
17062
+ .cds--progress--space-equal .cds--progress-text {
17063
+ overflow: hidden;
17064
+ }
17065
+
16872
17066
  .cds--progress-label {
16873
17067
  font-size: var(--cds-body-compact-01-font-size, 0.875rem);
16874
17068
  font-weight: var(--cds-body-compact-01-font-weight, 400);
@@ -17297,6 +17491,7 @@ span.cds--pagination__text.cds--pagination__items-count {
17297
17491
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
17298
17492
  .cds--radio-button:checked + .cds--radio-button__label .cds--radio-button__appearance::before {
17299
17493
  fill: ButtonText;
17494
+ background-color: ButtonText;
17300
17495
  }
17301
17496
  }
17302
17497
 
@@ -19184,6 +19379,7 @@ span.cds--pagination__text.cds--pagination__items-count {
19184
19379
  color: var(--cds-text-disabled, rgba(22, 22, 22, 0.25));
19185
19380
  cursor: not-allowed;
19186
19381
  outline: none;
19382
+ resize: none;
19187
19383
  }
19188
19384
 
19189
19385
  .cds--text-area:disabled::-webkit-input-placeholder {
@@ -20715,7 +20911,6 @@ a.cds--header__menu-item.cds--header__menu-item--current:focus {
20715
20911
  display: -webkit-box;
20716
20912
  display: -ms-flexbox;
20717
20913
  display: flex;
20718
- height: 100%;
20719
20914
  -webkit-box-orient: vertical;
20720
20915
  -webkit-box-direction: normal;
20721
20916
  -ms-flex-direction: column;
@@ -21748,7 +21943,6 @@ a.cds--header__menu-item.cds--header__menu-item--current:focus {
21748
21943
  display: -webkit-box;
21749
21944
  display: -ms-flexbox;
21750
21945
  display: flex;
21751
- height: 100%;
21752
21946
  -webkit-box-orient: vertical;
21753
21947
  -webkit-box-direction: normal;
21754
21948
  -ms-flex-direction: column;