@carbon/styles 1.56.0 → 1.57.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
@@ -4181,8 +4181,7 @@ li.cds--accordion__item--disabled:last-of-type {
4181
4181
  .cds--popover--bottom-right > .cds--popover > .cds--popover-caret,
4182
4182
  .cds--popover--bottom-end > .cds--popover > .cds--popover-caret {
4183
4183
  block-size: var(--cds-popover-caret-height, 0.375rem);
4184
- -webkit-clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
4185
- clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
4184
+ clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
4186
4185
  inline-size: var(--cds-popover-caret-width, 0.75rem);
4187
4186
  inset-block-end: 0;
4188
4187
  inset-inline-start: 50%;
@@ -4203,8 +4202,7 @@ li.cds--accordion__item--disabled:last-of-type {
4203
4202
  .cds--popover--bottom-right.cds--popover--auto-align > .cds--popover > .cds--popover-content > .cds--popover-caret,
4204
4203
  .cds--popover--bottom-end.cds--popover--auto-align > .cds--popover > .cds--popover-content > .cds--popover-caret {
4205
4204
  block-size: var(--cds-popover-caret-height, 0.375rem);
4206
- -webkit-clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
4207
- clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
4205
+ clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
4208
4206
  inline-size: var(--cds-popover-caret-width, 0.75rem);
4209
4207
  }
4210
4208
 
@@ -4261,8 +4259,7 @@ li.cds--accordion__item--disabled:last-of-type {
4261
4259
  .cds--popover--top-right > .cds--popover > .cds--popover-caret,
4262
4260
  .cds--popover--top-end > .cds--popover > .cds--popover-caret {
4263
4261
  block-size: var(--cds-popover-caret-height, 0.375rem);
4264
- -webkit-clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
4265
- clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
4262
+ clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
4266
4263
  inline-size: var(--cds-popover-caret-width, 0.75rem);
4267
4264
  inset-block-start: 0;
4268
4265
  inset-inline-start: 50%;
@@ -4283,8 +4280,7 @@ li.cds--accordion__item--disabled:last-of-type {
4283
4280
  .cds--popover--top-right.cds--popover--auto-align > .cds--popover > .cds--popover-content > .cds--popover-caret,
4284
4281
  .cds--popover--top-end.cds--popover--auto-align > .cds--popover > .cds--popover-content > .cds--popover-caret {
4285
4282
  block-size: var(--cds-popover-caret-height, 0.375rem);
4286
- -webkit-clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
4287
- clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
4283
+ clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
4288
4284
  inline-size: var(--cds-popover-caret-width, 0.75rem);
4289
4285
  }
4290
4286
 
@@ -4335,8 +4331,7 @@ li.cds--accordion__item--disabled:last-of-type {
4335
4331
  .cds--popover--right-bottom:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-caret,
4336
4332
  .cds--popover--right-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-caret {
4337
4333
  block-size: var(--cds-popover-caret-width, 0.75rem);
4338
- -webkit-clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
4339
- clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
4334
+ clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
4340
4335
  inline-size: var(--cds-popover-caret-height, 0.375rem);
4341
4336
  inset-block-start: 50%;
4342
4337
  inset-inline-start: 100%;
@@ -4358,8 +4353,7 @@ li.cds--accordion__item--disabled:last-of-type {
4358
4353
  .cds--popover--right-bottom.cds--popover--auto-align > .cds--popover > .cds--popover-content > .cds--popover-caret,
4359
4354
  .cds--popover--right-end.cds--popover--auto-align > .cds--popover > .cds--popover-content > .cds--popover-caret {
4360
4355
  block-size: var(--cds-popover-caret-width, 0.75rem);
4361
- -webkit-clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
4362
- clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
4356
+ clip-path: polygon(0% 50%, 100% 0%, 100% 100%);
4363
4357
  inline-size: var(--cds-popover-caret-height, 0.375rem);
4364
4358
  }
4365
4359
 
@@ -4410,8 +4404,7 @@ li.cds--accordion__item--disabled:last-of-type {
4410
4404
  .cds--popover--left-bottom:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-caret,
4411
4405
  .cds--popover--left-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-caret {
4412
4406
  block-size: var(--cds-popover-caret-width, 0.75rem);
4413
- -webkit-clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
4414
- clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
4407
+ clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
4415
4408
  inline-size: var(--cds-popover-caret-height, 0.375rem);
4416
4409
  inset-block-start: 50%;
4417
4410
  inset-inline-end: 100%;
@@ -4433,8 +4426,7 @@ li.cds--accordion__item--disabled:last-of-type {
4433
4426
  .cds--popover--left-bottom.cds--popover--auto-align > .cds--popover > .cds--popover-content > .cds--popover-caret,
4434
4427
  .cds--popover--left-end.cds--popover--auto-align > .cds--popover > .cds--popover-content > .cds--popover-caret {
4435
4428
  block-size: var(--cds-popover-caret-width, 0.75rem);
4436
- -webkit-clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
4437
- clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
4429
+ clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
4438
4430
  inline-size: var(--cds-popover-caret-height, 0.375rem);
4439
4431
  }
4440
4432
 
@@ -9888,8 +9880,7 @@ fieldset[disabled] .cds--form__helper-text {
9888
9880
  box-shadow: inset 0 0 0 2px var(--cds-focus, #0f62fe), inset 0 0 0 3px var(--cds-focus-inset, #ffffff);
9889
9881
  }
9890
9882
  .cds--content-switcher-btn:focus::after {
9891
- -webkit-clip-path: inset(3px 3px 3px 3px);
9892
- clip-path: inset(3px 3px 3px 3px);
9883
+ clip-path: inset(3px 3px 3px 3px);
9893
9884
  }
9894
9885
  .cds--content-switcher-btn:hover {
9895
9886
  color: var(--cds-text-primary, #161616);
@@ -11683,14 +11674,11 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
11683
11674
  block-size: 3rem;
11684
11675
  inline-size: 100%;
11685
11676
  transform: translate3d(0, 0, 0);
11686
- transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9), -webkit-clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
11687
11677
  transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9), clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
11688
- transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9), clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9), -webkit-clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
11689
11678
  }
11690
11679
 
11691
11680
  .cds--batch-actions ~ .cds--toolbar-content {
11692
- -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
11693
- clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
11681
+ clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
11694
11682
  }
11695
11683
 
11696
11684
  .cds--toolbar-content .cds--search .cds--search-input {
@@ -12020,12 +12008,9 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
12020
12008
 
12021
12009
  .cds--batch-actions--active ~ .cds--toolbar-search-container,
12022
12010
  .cds--batch-actions--active ~ .cds--toolbar-content {
12023
- -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
12024
- clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
12011
+ clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
12025
12012
  transform: translate3d(0, 48px, 0);
12026
- transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9), -webkit-clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
12027
12013
  transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9), clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
12028
- transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9), clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9), -webkit-clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
12029
12014
  }
12030
12015
 
12031
12016
  .cds--batch-actions {
@@ -12034,17 +12019,14 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
12034
12019
  align-items: center;
12035
12020
  justify-content: space-between;
12036
12021
  background-color: var(--cds-background-brand, #0f62fe);
12037
- -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
12038
- clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
12022
+ clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
12039
12023
  inset-block-end: 0;
12040
12024
  inset-inline-end: 0;
12041
12025
  inset-inline-start: 0;
12042
12026
  opacity: 0;
12043
12027
  pointer-events: none;
12044
12028
  transform: translate3d(0, 48px, 0);
12045
- transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9), opacity 110ms cubic-bezier(0.2, 0, 0.38, 0.9), -webkit-clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
12046
12029
  transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9), clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9), opacity 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
12047
- transition: transform 110ms cubic-bezier(0.2, 0, 0.38, 0.9), clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9), opacity 110ms cubic-bezier(0.2, 0, 0.38, 0.9), -webkit-clip-path 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
12048
12030
  will-change: transform;
12049
12031
  }
12050
12032
 
@@ -12059,8 +12041,7 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
12059
12041
 
12060
12042
  .cds--batch-actions--active {
12061
12043
  z-index: 1;
12062
- -webkit-clip-path: polygon(0 0, 300% 0, 300% 300%, 0 300%);
12063
- clip-path: polygon(0 0, 300% 0, 300% 300%, 0 300%);
12044
+ clip-path: polygon(0 0, 300% 0, 300% 300%, 0 300%);
12064
12045
  opacity: 1;
12065
12046
  pointer-events: all;
12066
12047
  transform: translate3d(0, 0, 0);
@@ -15561,13 +15542,15 @@ button.cds--dropdown-text:focus {
15561
15542
  }
15562
15543
 
15563
15544
  .cds--multi-select--filterable--input-focused,
15564
- .cds--multi-select .cds--list-box__field--wrapper--input-focused {
15545
+ .cds--multi-select .cds--list-box__field--wrapper--input-focused:has(button[aria-expanded=false]),
15546
+ .cds--multi-select.cds--multi-select--selected .cds--list-box__field--wrapper--input-focused:has(button[aria-expanded=true]) {
15565
15547
  outline: 2px solid var(--cds-focus, #0f62fe);
15566
15548
  outline-offset: -2px;
15567
15549
  }
15568
15550
  @media screen and (prefers-contrast) {
15569
15551
  .cds--multi-select--filterable--input-focused,
15570
- .cds--multi-select .cds--list-box__field--wrapper--input-focused {
15552
+ .cds--multi-select .cds--list-box__field--wrapper--input-focused:has(button[aria-expanded=false]),
15553
+ .cds--multi-select.cds--multi-select--selected .cds--list-box__field--wrapper--input-focused:has(button[aria-expanded=true]) {
15571
15554
  outline-style: dotted;
15572
15555
  }
15573
15556
  }
@@ -18191,7 +18174,7 @@ optgroup.cds--select-optgroup:disabled,
18191
18174
  }
18192
18175
 
18193
18176
  .cds--modal-scroll-content > *:last-child {
18194
- padding-block-end: 1.5rem;
18177
+ margin-block-end: 1.5rem;
18195
18178
  }
18196
18179
 
18197
18180
  .cds--modal-footer {
@@ -20827,7 +20810,6 @@ span.cds--pagination__text.cds--pagination__items-count {
20827
20810
  transform: translate(50%, calc(-100% - var(--cds-popover-offset, 0rem)));
20828
20811
  }
20829
20812
  .cds--slider__thumb-wrapper--lower > .cds--popover > .cds--popover-caret {
20830
- inset-inline-end: 0;
20831
20813
  inset-inline-start: revert;
20832
20814
  transform: translate(50%, calc(-1 * var(--cds-popover-offset, 0rem)));
20833
20815
  }
@@ -20849,7 +20831,6 @@ span.cds--pagination__text.cds--pagination__items-count {
20849
20831
  transform: translate(-50%, calc(-100% - var(--cds-popover-offset, 0rem)));
20850
20832
  }
20851
20833
  .cds--slider__thumb-wrapper--upper > .cds--popover > .cds--popover-caret {
20852
- inset-inline-start: 0;
20853
20834
  transform: translate(-50%, calc(-1 * var(--cds-popover-offset, 0rem)));
20854
20835
  }
20855
20836
 
@@ -21144,6 +21125,10 @@ span.cds--pagination__text.cds--pagination__items-count {
21144
21125
  inset-inline-start: 100%;
21145
21126
  }
21146
21127
 
21128
+ .cds--popover-container.cds--slider__thumb-wrapper {
21129
+ position: absolute;
21130
+ }
21131
+
21147
21132
  /* stylelint-disable */
21148
21133
  @media screen and (-ms-high-contrast: active), (forced-colors: active) {
21149
21134
  .cds--slider__thumb {
@@ -21468,8 +21453,7 @@ span.cds--pagination__text.cds--pagination__items-count {
21468
21453
  .cds--slug > .cds--toggletip > .cds--popover > .cds--popover-caret,
21469
21454
  .cds--slug > .cds--toggletip.cds--popover--auto-align > .cds--popover > .cds--popover-content > .cds--popover-caret {
21470
21455
  background: transparent;
21471
- -webkit-clip-path: none;
21472
- clip-path: none;
21456
+ clip-path: none;
21473
21457
  }
21474
21458
 
21475
21459
  .cds--slug > .cds--toggletip:is(.cds--popover--top,
@@ -21517,8 +21501,7 @@ span.cds--pagination__text.cds--pagination__items-count {
21517
21501
  border: 1px solid var(--cds-ai-border-start, rgba(166, 200, 255, 0.64));
21518
21502
  background: var(--cds-background, #ffffff);
21519
21503
  block-size: 0.75rem;
21520
- -webkit-clip-path: polygon(98% 0, 0 0, -52% 150%) border-box;
21521
- clip-path: polygon(98% 0, 0 0, -52% 150%) border-box;
21504
+ clip-path: polygon(98% 0, 0 0, -52% 150%) border-box;
21522
21505
  content: "";
21523
21506
  inline-size: 0.75rem;
21524
21507
  transform: rotate(45deg);
@@ -22046,6 +22029,7 @@ span.cds--pagination__text.cds--pagination__items-count {
22046
22029
 
22047
22030
  .cds--structured-list-svg {
22048
22031
  display: inline-block;
22032
+ margin-block-start: 0.125rem;
22049
22033
  transition: all 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
22050
22034
  vertical-align: top;
22051
22035
  }
@@ -22112,6 +22096,11 @@ span.cds--pagination__text.cds--pagination__items-count {
22112
22096
  }
22113
22097
  }
22114
22098
 
22099
+ .cds--structured-list__icon {
22100
+ margin-block-start: 0.125rem;
22101
+ vertical-align: top;
22102
+ }
22103
+
22115
22104
  .cds--tabs.cds--tabs--contained.cds--tabs--full-width .cds--tab--list {
22116
22105
  display: grid;
22117
22106
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));