@carbon/styles 1.55.1-rc.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 +34 -41
- package/css/styles.min.css +1 -1
- package/package.json +10 -10
- package/scss/components/modal/_modal.scss +1 -1
- package/scss/components/multiselect/_multiselect.scss +7 -1
- package/scss/components/slider/_slider.scss +5 -2
- package/scss/components/structured-list/_structured-list.scss +7 -0
- package/scss/components/text-input/_text-input.scss +4 -0
- package/telemetry.yml +3 -0
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
|
@@ -7490,6 +7482,10 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
7490
7482
|
transition: outline 70ms cubic-bezier(0.2, 0, 0.38, 0.9);
|
|
7491
7483
|
}
|
|
7492
7484
|
|
|
7485
|
+
.cds--toggle-password-tooltip .cds--popover {
|
|
7486
|
+
inset-inline-start: -2.5rem;
|
|
7487
|
+
}
|
|
7488
|
+
|
|
7493
7489
|
.cds--text-input--sm + .cds--btn.cds--text-input--password__visibility__toggle.cds--tooltip__trigger {
|
|
7494
7490
|
inline-size: 2rem;
|
|
7495
7491
|
}
|
|
@@ -9884,8 +9880,7 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
9884
9880
|
box-shadow: inset 0 0 0 2px var(--cds-focus, #0f62fe), inset 0 0 0 3px var(--cds-focus-inset, #ffffff);
|
|
9885
9881
|
}
|
|
9886
9882
|
.cds--content-switcher-btn:focus::after {
|
|
9887
|
-
|
|
9888
|
-
clip-path: inset(3px 3px 3px 3px);
|
|
9883
|
+
clip-path: inset(3px 3px 3px 3px);
|
|
9889
9884
|
}
|
|
9890
9885
|
.cds--content-switcher-btn:hover {
|
|
9891
9886
|
color: var(--cds-text-primary, #161616);
|
|
@@ -11679,14 +11674,11 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
11679
11674
|
block-size: 3rem;
|
|
11680
11675
|
inline-size: 100%;
|
|
11681
11676
|
transform: translate3d(0, 0, 0);
|
|
11682
|
-
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);
|
|
11683
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);
|
|
11684
|
-
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);
|
|
11685
11678
|
}
|
|
11686
11679
|
|
|
11687
11680
|
.cds--batch-actions ~ .cds--toolbar-content {
|
|
11688
|
-
|
|
11689
|
-
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
|
|
11681
|
+
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
|
|
11690
11682
|
}
|
|
11691
11683
|
|
|
11692
11684
|
.cds--toolbar-content .cds--search .cds--search-input {
|
|
@@ -12016,12 +12008,9 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
12016
12008
|
|
|
12017
12009
|
.cds--batch-actions--active ~ .cds--toolbar-search-container,
|
|
12018
12010
|
.cds--batch-actions--active ~ .cds--toolbar-content {
|
|
12019
|
-
|
|
12020
|
-
clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
|
|
12011
|
+
clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
|
|
12021
12012
|
transform: translate3d(0, 48px, 0);
|
|
12022
|
-
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);
|
|
12023
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);
|
|
12024
|
-
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);
|
|
12025
12014
|
}
|
|
12026
12015
|
|
|
12027
12016
|
.cds--batch-actions {
|
|
@@ -12030,17 +12019,14 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
12030
12019
|
align-items: center;
|
|
12031
12020
|
justify-content: space-between;
|
|
12032
12021
|
background-color: var(--cds-background-brand, #0f62fe);
|
|
12033
|
-
|
|
12034
|
-
clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
|
|
12022
|
+
clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
|
|
12035
12023
|
inset-block-end: 0;
|
|
12036
12024
|
inset-inline-end: 0;
|
|
12037
12025
|
inset-inline-start: 0;
|
|
12038
12026
|
opacity: 0;
|
|
12039
12027
|
pointer-events: none;
|
|
12040
12028
|
transform: translate3d(0, 48px, 0);
|
|
12041
|
-
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);
|
|
12042
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);
|
|
12043
|
-
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);
|
|
12044
12030
|
will-change: transform;
|
|
12045
12031
|
}
|
|
12046
12032
|
|
|
@@ -12055,8 +12041,7 @@ tr.cds--parent-row:not(.cds--expandable-row):not(:first-of-type) td.cds--table-c
|
|
|
12055
12041
|
|
|
12056
12042
|
.cds--batch-actions--active {
|
|
12057
12043
|
z-index: 1;
|
|
12058
|
-
|
|
12059
|
-
clip-path: polygon(0 0, 300% 0, 300% 300%, 0 300%);
|
|
12044
|
+
clip-path: polygon(0 0, 300% 0, 300% 300%, 0 300%);
|
|
12060
12045
|
opacity: 1;
|
|
12061
12046
|
pointer-events: all;
|
|
12062
12047
|
transform: translate3d(0, 0, 0);
|
|
@@ -15557,13 +15542,15 @@ button.cds--dropdown-text:focus {
|
|
|
15557
15542
|
}
|
|
15558
15543
|
|
|
15559
15544
|
.cds--multi-select--filterable--input-focused,
|
|
15560
|
-
.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]) {
|
|
15561
15547
|
outline: 2px solid var(--cds-focus, #0f62fe);
|
|
15562
15548
|
outline-offset: -2px;
|
|
15563
15549
|
}
|
|
15564
15550
|
@media screen and (prefers-contrast) {
|
|
15565
15551
|
.cds--multi-select--filterable--input-focused,
|
|
15566
|
-
.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]) {
|
|
15567
15554
|
outline-style: dotted;
|
|
15568
15555
|
}
|
|
15569
15556
|
}
|
|
@@ -18187,7 +18174,7 @@ optgroup.cds--select-optgroup:disabled,
|
|
|
18187
18174
|
}
|
|
18188
18175
|
|
|
18189
18176
|
.cds--modal-scroll-content > *:last-child {
|
|
18190
|
-
|
|
18177
|
+
margin-block-end: 1.5rem;
|
|
18191
18178
|
}
|
|
18192
18179
|
|
|
18193
18180
|
.cds--modal-footer {
|
|
@@ -20823,7 +20810,6 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
20823
20810
|
transform: translate(50%, calc(-100% - var(--cds-popover-offset, 0rem)));
|
|
20824
20811
|
}
|
|
20825
20812
|
.cds--slider__thumb-wrapper--lower > .cds--popover > .cds--popover-caret {
|
|
20826
|
-
inset-inline-end: 0;
|
|
20827
20813
|
inset-inline-start: revert;
|
|
20828
20814
|
transform: translate(50%, calc(-1 * var(--cds-popover-offset, 0rem)));
|
|
20829
20815
|
}
|
|
@@ -20845,7 +20831,6 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
20845
20831
|
transform: translate(-50%, calc(-100% - var(--cds-popover-offset, 0rem)));
|
|
20846
20832
|
}
|
|
20847
20833
|
.cds--slider__thumb-wrapper--upper > .cds--popover > .cds--popover-caret {
|
|
20848
|
-
inset-inline-start: 0;
|
|
20849
20834
|
transform: translate(-50%, calc(-1 * var(--cds-popover-offset, 0rem)));
|
|
20850
20835
|
}
|
|
20851
20836
|
|
|
@@ -21140,6 +21125,10 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
21140
21125
|
inset-inline-start: 100%;
|
|
21141
21126
|
}
|
|
21142
21127
|
|
|
21128
|
+
.cds--popover-container.cds--slider__thumb-wrapper {
|
|
21129
|
+
position: absolute;
|
|
21130
|
+
}
|
|
21131
|
+
|
|
21143
21132
|
/* stylelint-disable */
|
|
21144
21133
|
@media screen and (-ms-high-contrast: active), (forced-colors: active) {
|
|
21145
21134
|
.cds--slider__thumb {
|
|
@@ -21464,8 +21453,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
21464
21453
|
.cds--slug > .cds--toggletip > .cds--popover > .cds--popover-caret,
|
|
21465
21454
|
.cds--slug > .cds--toggletip.cds--popover--auto-align > .cds--popover > .cds--popover-content > .cds--popover-caret {
|
|
21466
21455
|
background: transparent;
|
|
21467
|
-
|
|
21468
|
-
clip-path: none;
|
|
21456
|
+
clip-path: none;
|
|
21469
21457
|
}
|
|
21470
21458
|
|
|
21471
21459
|
.cds--slug > .cds--toggletip:is(.cds--popover--top,
|
|
@@ -21513,8 +21501,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
21513
21501
|
border: 1px solid var(--cds-ai-border-start, rgba(166, 200, 255, 0.64));
|
|
21514
21502
|
background: var(--cds-background, #ffffff);
|
|
21515
21503
|
block-size: 0.75rem;
|
|
21516
|
-
|
|
21517
|
-
clip-path: polygon(98% 0, 0 0, -52% 150%) border-box;
|
|
21504
|
+
clip-path: polygon(98% 0, 0 0, -52% 150%) border-box;
|
|
21518
21505
|
content: "";
|
|
21519
21506
|
inline-size: 0.75rem;
|
|
21520
21507
|
transform: rotate(45deg);
|
|
@@ -22042,6 +22029,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
22042
22029
|
|
|
22043
22030
|
.cds--structured-list-svg {
|
|
22044
22031
|
display: inline-block;
|
|
22032
|
+
margin-block-start: 0.125rem;
|
|
22045
22033
|
transition: all 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
|
|
22046
22034
|
vertical-align: top;
|
|
22047
22035
|
}
|
|
@@ -22108,6 +22096,11 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
22108
22096
|
}
|
|
22109
22097
|
}
|
|
22110
22098
|
|
|
22099
|
+
.cds--structured-list__icon {
|
|
22100
|
+
margin-block-start: 0.125rem;
|
|
22101
|
+
vertical-align: top;
|
|
22102
|
+
}
|
|
22103
|
+
|
|
22111
22104
|
.cds--tabs.cds--tabs--contained.cds--tabs--full-width .cds--tab--list {
|
|
22112
22105
|
display: grid;
|
|
22113
22106
|
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|