@carbon/styles 1.56.0 → 1.57.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/dialog/_dialog.scss +155 -0
- package/scss/components/dialog/_index.scss +11 -0
- package/scss/components/modal/_modal.scss +1 -1
- package/scss/components/multiselect/_multiselect.scss +7 -1
- package/scss/components/pagination/_pagination.scss +5 -0
- package/scss/components/slider/_slider.scss +5 -2
- package/scss/components/structured-list/_structured-list.scss +7 -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
|
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
18177
|
+
margin-block-end: 1.5rem;
|
|
18195
18178
|
}
|
|
18196
18179
|
|
|
18197
18180
|
.cds--modal-footer {
|
|
@@ -19571,6 +19554,10 @@ optgroup.cds--select-optgroup:disabled,
|
|
|
19571
19554
|
margin-inline-start: 1rem;
|
|
19572
19555
|
}
|
|
19573
19556
|
|
|
19557
|
+
.cds--pagination__right .cds--pagination__text.cds--pagination__page-text.cds--pagination__unknown-pages-text {
|
|
19558
|
+
margin-inline-end: 1rem;
|
|
19559
|
+
}
|
|
19560
|
+
|
|
19574
19561
|
.cds--pagination__right .cds--pagination__text:empty {
|
|
19575
19562
|
margin: 0;
|
|
19576
19563
|
}
|
|
@@ -20827,7 +20814,6 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
20827
20814
|
transform: translate(50%, calc(-100% - var(--cds-popover-offset, 0rem)));
|
|
20828
20815
|
}
|
|
20829
20816
|
.cds--slider__thumb-wrapper--lower > .cds--popover > .cds--popover-caret {
|
|
20830
|
-
inset-inline-end: 0;
|
|
20831
20817
|
inset-inline-start: revert;
|
|
20832
20818
|
transform: translate(50%, calc(-1 * var(--cds-popover-offset, 0rem)));
|
|
20833
20819
|
}
|
|
@@ -20849,7 +20835,6 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
20849
20835
|
transform: translate(-50%, calc(-100% - var(--cds-popover-offset, 0rem)));
|
|
20850
20836
|
}
|
|
20851
20837
|
.cds--slider__thumb-wrapper--upper > .cds--popover > .cds--popover-caret {
|
|
20852
|
-
inset-inline-start: 0;
|
|
20853
20838
|
transform: translate(-50%, calc(-1 * var(--cds-popover-offset, 0rem)));
|
|
20854
20839
|
}
|
|
20855
20840
|
|
|
@@ -21144,6 +21129,10 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
21144
21129
|
inset-inline-start: 100%;
|
|
21145
21130
|
}
|
|
21146
21131
|
|
|
21132
|
+
.cds--popover-container.cds--slider__thumb-wrapper {
|
|
21133
|
+
position: absolute;
|
|
21134
|
+
}
|
|
21135
|
+
|
|
21147
21136
|
/* stylelint-disable */
|
|
21148
21137
|
@media screen and (-ms-high-contrast: active), (forced-colors: active) {
|
|
21149
21138
|
.cds--slider__thumb {
|
|
@@ -21468,8 +21457,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
21468
21457
|
.cds--slug > .cds--toggletip > .cds--popover > .cds--popover-caret,
|
|
21469
21458
|
.cds--slug > .cds--toggletip.cds--popover--auto-align > .cds--popover > .cds--popover-content > .cds--popover-caret {
|
|
21470
21459
|
background: transparent;
|
|
21471
|
-
|
|
21472
|
-
clip-path: none;
|
|
21460
|
+
clip-path: none;
|
|
21473
21461
|
}
|
|
21474
21462
|
|
|
21475
21463
|
.cds--slug > .cds--toggletip:is(.cds--popover--top,
|
|
@@ -21517,8 +21505,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
21517
21505
|
border: 1px solid var(--cds-ai-border-start, rgba(166, 200, 255, 0.64));
|
|
21518
21506
|
background: var(--cds-background, #ffffff);
|
|
21519
21507
|
block-size: 0.75rem;
|
|
21520
|
-
|
|
21521
|
-
clip-path: polygon(98% 0, 0 0, -52% 150%) border-box;
|
|
21508
|
+
clip-path: polygon(98% 0, 0 0, -52% 150%) border-box;
|
|
21522
21509
|
content: "";
|
|
21523
21510
|
inline-size: 0.75rem;
|
|
21524
21511
|
transform: rotate(45deg);
|
|
@@ -22046,6 +22033,7 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
22046
22033
|
|
|
22047
22034
|
.cds--structured-list-svg {
|
|
22048
22035
|
display: inline-block;
|
|
22036
|
+
margin-block-start: 0.125rem;
|
|
22049
22037
|
transition: all 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
|
|
22050
22038
|
vertical-align: top;
|
|
22051
22039
|
}
|
|
@@ -22112,6 +22100,11 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
22112
22100
|
}
|
|
22113
22101
|
}
|
|
22114
22102
|
|
|
22103
|
+
.cds--structured-list__icon {
|
|
22104
|
+
margin-block-start: 0.125rem;
|
|
22105
|
+
vertical-align: top;
|
|
22106
|
+
}
|
|
22107
|
+
|
|
22115
22108
|
.cds--tabs.cds--tabs--contained.cds--tabs--full-width .cds--tab--list {
|
|
22116
22109
|
display: grid;
|
|
22117
22110
|
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|