@carbon/styles 1.13.0-rc.0 → 1.14.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
@@ -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
 
@@ -12182,7 +12203,6 @@ button.cds--dropdown-text:focus {
12182
12203
  }
12183
12204
 
12184
12205
  .cds--file__state-container .cds--file-complete {
12185
- cursor: pointer;
12186
12206
  fill: var(--cds-interactive, #0f62fe);
12187
12207
  }
12188
12208
  .cds--file__state-container .cds--file-complete:focus {
@@ -12385,6 +12405,161 @@ button.cds--dropdown-text:focus {
12385
12405
  outline: none;
12386
12406
  }
12387
12407
 
12408
+ .cds--text-input--fluid .cds--text-input.cds--password-input {
12409
+ padding-right: 2.5rem;
12410
+ }
12411
+
12412
+ .cds--text-input--fluid.cds--password-input-wrapper .cds--text-input__invalid-icon {
12413
+ right: 1rem;
12414
+ }
12415
+
12416
+ .cds--text-input--fluid .cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger {
12417
+ top: 1.625rem;
12418
+ right: 0.5rem;
12419
+ width: 2rem;
12420
+ height: 2rem;
12421
+ }
12422
+
12423
+ .cds--text-area--fluid .cds--text-area__wrapper {
12424
+ position: relative;
12425
+ height: 100%;
12426
+ -webkit-box-orient: vertical;
12427
+ -webkit-box-direction: normal;
12428
+ -ms-flex-direction: column;
12429
+ flex-direction: column;
12430
+ background: var(--cds-field);
12431
+ }
12432
+
12433
+ .cds--modal .cds--text-area--fluid .cds--text-area__wrapper {
12434
+ background: var(--cds-field-02, #ffffff);
12435
+ }
12436
+
12437
+ .cds--text-area--fluid .cds--text-area__label-wrapper {
12438
+ position: relative;
12439
+ height: 100%;
12440
+ }
12441
+
12442
+ .cds--text-area--fluid .cds--label {
12443
+ position: absolute;
12444
+ z-index: 1;
12445
+ top: 0.8125rem;
12446
+ left: 1rem;
12447
+ display: -webkit-box;
12448
+ display: -ms-flexbox;
12449
+ display: flex;
12450
+ height: 1rem;
12451
+ -webkit-box-align: center;
12452
+ -ms-flex-align: center;
12453
+ align-items: center;
12454
+ margin: 0;
12455
+ }
12456
+
12457
+ .cds--text-area--fluid div.cds--label {
12458
+ right: 1rem;
12459
+ left: initial;
12460
+ }
12461
+
12462
+ .cds--text-area--fluid .cds--text-area {
12463
+ min-height: 4rem;
12464
+ padding: 0 1rem 0.8125rem;
12465
+ margin-top: 2rem;
12466
+ outline: none;
12467
+ }
12468
+
12469
+ .cds--text-area--fluid .cds--form__helper-text {
12470
+ display: none;
12471
+ }
12472
+
12473
+ .cds--text-area--fluid .cds--text-area--invalid,
12474
+ .cds--text-area--fluid .cds--text-area:focus {
12475
+ border-bottom: none;
12476
+ }
12477
+
12478
+ .cds--text-area__divider,
12479
+ .cds--text-area--fluid .cds--text-area__divider {
12480
+ display: none;
12481
+ }
12482
+
12483
+ .cds--text-area--fluid .cds--text-area--invalid + .cds--text-area__divider {
12484
+ display: block;
12485
+ border-style: solid;
12486
+ border-color: var(--cds-border-subtle);
12487
+ border-bottom: none;
12488
+ margin: 0 1rem;
12489
+ }
12490
+
12491
+ .cds--text-area--fluid .cds--text-area--invalid + .cds--text-area__divider + .cds--form-requirement {
12492
+ position: relative;
12493
+ display: block;
12494
+ overflow: visible;
12495
+ max-height: 12.5rem;
12496
+ padding: 0.5rem 2.5rem 0.5rem 1rem;
12497
+ margin: 0;
12498
+ background: var(--cds-field);
12499
+ color: var(--cds-text-error, #da1e28);
12500
+ }
12501
+
12502
+ .cds--modal .cds--text-area--fluid .cds--text-area--invalid + .cds--text-area__divider + .cds--form-requirement {
12503
+ background: var(--cds-field-02, #ffffff);
12504
+ }
12505
+
12506
+ .cds--text-area--fluid .cds--text-area__invalid-icon {
12507
+ top: 0.5rem;
12508
+ }
12509
+
12510
+ .cds--text-area--fluid .cds--text-area__wrapper[data-invalid]:not(:focus) {
12511
+ outline: 2px solid var(--cds-support-error, #da1e28);
12512
+ outline-offset: -2px;
12513
+ outline-offset: 0;
12514
+ }
12515
+ @media screen and (prefers-contrast) {
12516
+ .cds--text-area--fluid .cds--text-area__wrapper[data-invalid]:not(:focus) {
12517
+ outline-style: dotted;
12518
+ }
12519
+ }
12520
+
12521
+ .cds--text-area--fluid .cds--text-area__wrapper[data-invalid]:focus-within,
12522
+ .cds--text-area--fluid .cds--text-area__wrapper:focus-within {
12523
+ outline: 2px solid var(--cds-focus, #0f62fe);
12524
+ outline-offset: -2px;
12525
+ outline-offset: 0;
12526
+ }
12527
+ @media screen and (prefers-contrast) {
12528
+ .cds--text-area--fluid .cds--text-area__wrapper[data-invalid]:focus-within,
12529
+ .cds--text-area--fluid .cds--text-area__wrapper:focus-within {
12530
+ outline-style: dotted;
12531
+ }
12532
+ }
12533
+
12534
+ .cds--text-area--fluid .cds--text-area__wrapper[data-invalid] > .cds--text-area--invalid:focus,
12535
+ .cds--text-area--fluid .cds--text-area__wrapper > .cds--text-area:focus,
12536
+ .cds--text-area--fluid .cds--text-area__wrapper > .cds--text-area:active,
12537
+ .cds--text-area--fluid .cds--text-area__wrapper[data-invalid] > .cds--text-area--invalid {
12538
+ outline: none;
12539
+ -webkit-transition: none;
12540
+ transition: none;
12541
+ }
12542
+
12543
+ .cds--text-area--fluid__skeleton {
12544
+ padding: 1rem;
12545
+ border-bottom: 1px solid var(--cds-skeleton-element, #c6c6c6);
12546
+ background: var(--cds-skeleton-background, #e8e8e8);
12547
+ }
12548
+
12549
+ .cds--text-area--fluid__skeleton .cds--skeleton,
12550
+ .cds--text-area--fluid__skeleton .cds--text-area.cds--skeleton::before {
12551
+ height: 0.5rem;
12552
+ }
12553
+
12554
+ .cds--text-area--fluid__skeleton .cds--label {
12555
+ margin-bottom: 0.75rem;
12556
+ }
12557
+
12558
+ .cds--text-area--fluid__skeleton .cds--text-area.cds--skeleton {
12559
+ width: 80%;
12560
+ height: 4rem;
12561
+ }
12562
+
12388
12563
  @-webkit-keyframes stroke {
12389
12564
  100% {
12390
12565
  stroke-dashoffset: 0;
@@ -13539,13 +13714,13 @@ button.cds--dropdown-text:focus {
13539
13714
  }
13540
13715
 
13541
13716
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
13542
- .cds--inline-notification__icon {
13717
+ .cds--inline-notification .cds--inline-notification__icon {
13543
13718
  fill: ButtonText;
13544
13719
  }
13545
13720
  }
13546
13721
 
13547
13722
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
13548
- .cds--inline-notification__close-icon {
13723
+ .cds--inline-notification .cds--inline-notification__close-icon {
13549
13724
  fill: ButtonText;
13550
13725
  }
13551
13726
  }
@@ -13829,13 +14004,13 @@ button.cds--dropdown-text:focus {
13829
14004
  }
13830
14005
 
13831
14006
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
13832
- .cds--toast-notification__close-icon {
14007
+ .cds--toast-notification .cds--toast-notification__close-icon {
13833
14008
  fill: ButtonText;
13834
14009
  }
13835
14010
  }
13836
14011
 
13837
14012
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
13838
- .cds--toast-notification__icon {
14013
+ .cds--toast-notification .cds--toast-notification__icon {
13839
14014
  fill: ButtonText;
13840
14015
  }
13841
14016
  }
@@ -14331,7 +14506,8 @@ button.cds--dropdown-text:focus {
14331
14506
 
14332
14507
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
14333
14508
  .cds--actionable-notification .cds--inline-notification__icon,
14334
- .cds--actionable-notification .cds--toast-notification__icon {
14509
+ .cds--actionable-notification .cds--toast-notification__icon,
14510
+ .cds--actionable-notification .cds--actionable-notification__close-icon {
14335
14511
  fill: ButtonText;
14336
14512
  }
14337
14513
  }
@@ -16869,6 +17045,10 @@ span.cds--pagination__text.cds--pagination__items-count {
16869
17045
  fill: var(--cds-interactive, #0f62fe);
16870
17046
  }
16871
17047
 
17048
+ .cds--progress--space-equal .cds--progress-text {
17049
+ overflow: hidden;
17050
+ }
17051
+
16872
17052
  .cds--progress-label {
16873
17053
  font-size: var(--cds-body-compact-01-font-size, 0.875rem);
16874
17054
  font-weight: var(--cds-body-compact-01-font-weight, 400);
@@ -17297,6 +17477,7 @@ span.cds--pagination__text.cds--pagination__items-count {
17297
17477
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
17298
17478
  .cds--radio-button:checked + .cds--radio-button__label .cds--radio-button__appearance::before {
17299
17479
  fill: ButtonText;
17480
+ background-color: ButtonText;
17300
17481
  }
17301
17482
  }
17302
17483
 
@@ -19184,6 +19365,7 @@ span.cds--pagination__text.cds--pagination__items-count {
19184
19365
  color: var(--cds-text-disabled, rgba(22, 22, 22, 0.25));
19185
19366
  cursor: not-allowed;
19186
19367
  outline: none;
19368
+ resize: none;
19187
19369
  }
19188
19370
 
19189
19371
  .cds--text-area:disabled::-webkit-input-placeholder {
@@ -20715,7 +20897,6 @@ a.cds--header__menu-item.cds--header__menu-item--current:focus {
20715
20897
  display: -webkit-box;
20716
20898
  display: -ms-flexbox;
20717
20899
  display: flex;
20718
- height: 100%;
20719
20900
  -webkit-box-orient: vertical;
20720
20901
  -webkit-box-direction: normal;
20721
20902
  -ms-flex-direction: column;
@@ -21748,7 +21929,6 @@ a.cds--header__menu-item.cds--header__menu-item--current:focus {
21748
21929
  display: -webkit-box;
21749
21930
  display: -ms-flexbox;
21750
21931
  display: flex;
21751
- height: 100%;
21752
21932
  -webkit-box-orient: vertical;
21753
21933
  -webkit-box-direction: normal;
21754
21934
  -ms-flex-direction: column;