@carbon/styles 1.45.0-rc.0 → 1.46.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 +132 -92
- package/css/styles.min.css +1 -1
- package/package.json +2 -2
- package/scss/components/accordion/_accordion.scss +1 -0
- package/scss/components/modal/_modal.scss +33 -1
- package/scss/components/slug/_slug.scss +1 -0
- package/scss/components/tag/_tag.scss +17 -0
- package/scss/components/tile/_tile.scss +4 -0
- package/scss/utilities/_ai-gradient.scss +14 -8
package/css/styles.css
CHANGED
|
@@ -3717,6 +3717,8 @@ li.cds--accordion__item--disabled:last-of-type {
|
|
|
3717
3717
|
overflow: visible;
|
|
3718
3718
|
}
|
|
3719
3719
|
.cds--accordion__item--active .cds--accordion__wrapper {
|
|
3720
|
+
max-block-size: -moz-fit-content;
|
|
3721
|
+
max-block-size: fit-content;
|
|
3720
3722
|
opacity: 1;
|
|
3721
3723
|
padding-block: 0.5rem;
|
|
3722
3724
|
padding-block-end: 1.5rem;
|
|
@@ -7803,6 +7805,19 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
7803
7805
|
}
|
|
7804
7806
|
}
|
|
7805
7807
|
|
|
7808
|
+
.cds--tag .cds--slug .cds--slug__button--inline {
|
|
7809
|
+
color: currentColor;
|
|
7810
|
+
margin-inline-start: 0.0625rem;
|
|
7811
|
+
}
|
|
7812
|
+
|
|
7813
|
+
.cds--tag .cds--slug .cds--slug__button--inline .cds--slug__text::before {
|
|
7814
|
+
background-color: currentColor;
|
|
7815
|
+
}
|
|
7816
|
+
|
|
7817
|
+
.cds--tag .cds--slug .cds--slug__button--inline:hover {
|
|
7818
|
+
border-color: currentColor;
|
|
7819
|
+
}
|
|
7820
|
+
|
|
7806
7821
|
/* stylelint-disable */
|
|
7807
7822
|
@media screen and (-ms-high-contrast: active), (forced-colors: active) {
|
|
7808
7823
|
.cds--tag {
|
|
@@ -17147,7 +17162,6 @@ optgroup.cds--select-optgroup:disabled,
|
|
|
17147
17162
|
.cds--modal-container {
|
|
17148
17163
|
position: fixed;
|
|
17149
17164
|
display: grid;
|
|
17150
|
-
overflow: hidden;
|
|
17151
17165
|
background-color: var(--cds-layer);
|
|
17152
17166
|
block-size: 100%;
|
|
17153
17167
|
grid-template-columns: 100%;
|
|
@@ -17464,6 +17478,28 @@ optgroup.cds--select-optgroup:disabled,
|
|
|
17464
17478
|
margin: 0;
|
|
17465
17479
|
}
|
|
17466
17480
|
|
|
17481
|
+
.cds--modal--slug .cds--modal-container {
|
|
17482
|
+
background: linear-gradient(0deg, var(--cds-slug-callout-aura-start, rgba(237, 245, 255, 0.6)) 0%, var(--cds-slug-callout-aura-end, rgba(255, 255, 255, 0)) 50%, transparent 50%), linear-gradient(180deg, var(--cds-slug-callout-gradient-top, rgba(244, 244, 244, 0.85)) 0%, var(--cds-slug-callout-gradient-bottom, rgba(224, 224, 224, 0.85)) 100%) rgba(0, 0, 0, 0.01);
|
|
17483
|
+
background-color: var(--cds-layer);
|
|
17484
|
+
}
|
|
17485
|
+
|
|
17486
|
+
.cds--modal--slug .cds--modal-container:has(.cds--btn-set:not(.cds--modal-footer--three-button) > button:not(:only-child)) {
|
|
17487
|
+
background: linear-gradient(0deg, var(--cds-slug-callout-aura-start, rgba(237, 245, 255, 0.6)) calc(0% + 64px), var(--cds-slug-callout-aura-end, rgba(255, 255, 255, 0)) 50%, transparent 50%), linear-gradient(180deg, var(--cds-slug-callout-gradient-top, rgba(244, 244, 244, 0.85)) calc(0% + 64px), var(--cds-slug-callout-gradient-bottom, rgba(224, 224, 224, 0.85)) 100%) rgba(0, 0, 0, 0.01);
|
|
17488
|
+
background-color: var(--cds-layer);
|
|
17489
|
+
}
|
|
17490
|
+
|
|
17491
|
+
.cds--modal--slug .cds--slug {
|
|
17492
|
+
position: absolute;
|
|
17493
|
+
inset-block-start: 0;
|
|
17494
|
+
inset-inline-end: 0;
|
|
17495
|
+
}
|
|
17496
|
+
|
|
17497
|
+
.cds--modal-header > .cds--slug:has(+ .cds--modal-close),
|
|
17498
|
+
.cds--modal-header > .cds--modal-close ~ .cds--slug,
|
|
17499
|
+
.cds--modal--slug .cds--modal-container-body > .cds--slug {
|
|
17500
|
+
inset-inline-end: 3rem;
|
|
17501
|
+
}
|
|
17502
|
+
|
|
17467
17503
|
/* stylelint-disable */
|
|
17468
17504
|
@media screen and (-ms-high-contrast: active), (forced-colors: active) {
|
|
17469
17505
|
.cds--modal-close__icon {
|
|
@@ -20284,6 +20320,97 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
20284
20320
|
}
|
|
20285
20321
|
|
|
20286
20322
|
/* stylelint-enable */
|
|
20323
|
+
.cds--toggletip-label {
|
|
20324
|
+
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
20325
|
+
font-weight: var(--cds-body-01-font-weight, 400);
|
|
20326
|
+
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
20327
|
+
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
20328
|
+
color: var(--cds-text-secondary, #525252);
|
|
20329
|
+
margin-inline-end: 0.5rem;
|
|
20330
|
+
}
|
|
20331
|
+
|
|
20332
|
+
.cds--toggletip-button {
|
|
20333
|
+
box-sizing: border-box;
|
|
20334
|
+
padding: 0;
|
|
20335
|
+
border: 0;
|
|
20336
|
+
margin: 0;
|
|
20337
|
+
font-family: inherit;
|
|
20338
|
+
font-size: 100%;
|
|
20339
|
+
vertical-align: baseline;
|
|
20340
|
+
display: inline-block;
|
|
20341
|
+
padding: 0;
|
|
20342
|
+
border: 0;
|
|
20343
|
+
-webkit-appearance: none;
|
|
20344
|
+
-moz-appearance: none;
|
|
20345
|
+
appearance: none;
|
|
20346
|
+
background: none;
|
|
20347
|
+
cursor: pointer;
|
|
20348
|
+
text-align: start;
|
|
20349
|
+
inline-size: 100%;
|
|
20350
|
+
display: flex;
|
|
20351
|
+
align-items: center;
|
|
20352
|
+
}
|
|
20353
|
+
.cds--toggletip-button *,
|
|
20354
|
+
.cds--toggletip-button *::before,
|
|
20355
|
+
.cds--toggletip-button *::after {
|
|
20356
|
+
box-sizing: inherit;
|
|
20357
|
+
}
|
|
20358
|
+
.cds--toggletip-button::-moz-focus-inner {
|
|
20359
|
+
border: 0;
|
|
20360
|
+
}
|
|
20361
|
+
|
|
20362
|
+
.cds--toggletip-button svg {
|
|
20363
|
+
fill: var(--cds-icon-secondary, #525252);
|
|
20364
|
+
}
|
|
20365
|
+
|
|
20366
|
+
.cds--toggletip-button:hover svg,
|
|
20367
|
+
.cds--toggletip--open .cds--toggletip-button svg {
|
|
20368
|
+
fill: var(--cds-icon-primary, #161616);
|
|
20369
|
+
}
|
|
20370
|
+
|
|
20371
|
+
.cds--toggletip-button:focus {
|
|
20372
|
+
outline: 1px solid var(--cds-focus, #0f62fe);
|
|
20373
|
+
}
|
|
20374
|
+
@media screen and (prefers-contrast) {
|
|
20375
|
+
.cds--toggletip-button:focus {
|
|
20376
|
+
outline-style: dotted;
|
|
20377
|
+
}
|
|
20378
|
+
}
|
|
20379
|
+
|
|
20380
|
+
.cds--toggletip {
|
|
20381
|
+
--cds-popover-offset: 0.8125rem;
|
|
20382
|
+
}
|
|
20383
|
+
|
|
20384
|
+
.cds--toggletip-content {
|
|
20385
|
+
--cds-button-focus-color: var(--cds-focus-inverse, #ffffff);
|
|
20386
|
+
--cds-link-text-color: var(--cds-link-inverse, #78a9ff);
|
|
20387
|
+
--cds-link-hover-text-color: var(--cds-link-inverse, #78a9ff);
|
|
20388
|
+
--cds-link-focus-text-color: var(--cds-focus-inverse, #ffffff);
|
|
20389
|
+
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
20390
|
+
font-weight: var(--cds-body-01-font-weight, 400);
|
|
20391
|
+
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
20392
|
+
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
20393
|
+
display: grid;
|
|
20394
|
+
padding: 1rem;
|
|
20395
|
+
max-inline-size: 18rem;
|
|
20396
|
+
row-gap: 1rem;
|
|
20397
|
+
}
|
|
20398
|
+
|
|
20399
|
+
.cds--toggletip-content p {
|
|
20400
|
+
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
20401
|
+
font-weight: var(--cds-body-01-font-weight, 400);
|
|
20402
|
+
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
20403
|
+
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
20404
|
+
}
|
|
20405
|
+
|
|
20406
|
+
.cds--toggletip-actions {
|
|
20407
|
+
display: flex;
|
|
20408
|
+
align-items: center;
|
|
20409
|
+
justify-content: space-between;
|
|
20410
|
+
-moz-column-gap: 1rem;
|
|
20411
|
+
column-gap: 1rem;
|
|
20412
|
+
}
|
|
20413
|
+
|
|
20287
20414
|
.cds--slug {
|
|
20288
20415
|
display: flex;
|
|
20289
20416
|
}
|
|
@@ -21891,6 +22018,10 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
21891
22018
|
border-radius: 1rem;
|
|
21892
22019
|
}
|
|
21893
22020
|
|
|
22021
|
+
.cds--tile--slug-rounded .cds--tile__chevron {
|
|
22022
|
+
border-end-end-radius: 1rem;
|
|
22023
|
+
}
|
|
22024
|
+
|
|
21894
22025
|
@media screen and (-ms-high-contrast: active), (forced-colors: active) {
|
|
21895
22026
|
.cds--tile__chevron svg,
|
|
21896
22027
|
.cds--tile__checkmark svg,
|
|
@@ -22004,97 +22135,6 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
22004
22135
|
fill: var(--cds-icon-disabled, rgba(22, 22, 22, 0.25));
|
|
22005
22136
|
}
|
|
22006
22137
|
|
|
22007
|
-
.cds--toggletip-label {
|
|
22008
|
-
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
22009
|
-
font-weight: var(--cds-body-01-font-weight, 400);
|
|
22010
|
-
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
22011
|
-
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
22012
|
-
color: var(--cds-text-secondary, #525252);
|
|
22013
|
-
margin-inline-end: 0.5rem;
|
|
22014
|
-
}
|
|
22015
|
-
|
|
22016
|
-
.cds--toggletip-button {
|
|
22017
|
-
box-sizing: border-box;
|
|
22018
|
-
padding: 0;
|
|
22019
|
-
border: 0;
|
|
22020
|
-
margin: 0;
|
|
22021
|
-
font-family: inherit;
|
|
22022
|
-
font-size: 100%;
|
|
22023
|
-
vertical-align: baseline;
|
|
22024
|
-
display: inline-block;
|
|
22025
|
-
padding: 0;
|
|
22026
|
-
border: 0;
|
|
22027
|
-
-webkit-appearance: none;
|
|
22028
|
-
-moz-appearance: none;
|
|
22029
|
-
appearance: none;
|
|
22030
|
-
background: none;
|
|
22031
|
-
cursor: pointer;
|
|
22032
|
-
text-align: start;
|
|
22033
|
-
inline-size: 100%;
|
|
22034
|
-
display: flex;
|
|
22035
|
-
align-items: center;
|
|
22036
|
-
}
|
|
22037
|
-
.cds--toggletip-button *,
|
|
22038
|
-
.cds--toggletip-button *::before,
|
|
22039
|
-
.cds--toggletip-button *::after {
|
|
22040
|
-
box-sizing: inherit;
|
|
22041
|
-
}
|
|
22042
|
-
.cds--toggletip-button::-moz-focus-inner {
|
|
22043
|
-
border: 0;
|
|
22044
|
-
}
|
|
22045
|
-
|
|
22046
|
-
.cds--toggletip-button svg {
|
|
22047
|
-
fill: var(--cds-icon-secondary, #525252);
|
|
22048
|
-
}
|
|
22049
|
-
|
|
22050
|
-
.cds--toggletip-button:hover svg,
|
|
22051
|
-
.cds--toggletip--open .cds--toggletip-button svg {
|
|
22052
|
-
fill: var(--cds-icon-primary, #161616);
|
|
22053
|
-
}
|
|
22054
|
-
|
|
22055
|
-
.cds--toggletip-button:focus {
|
|
22056
|
-
outline: 1px solid var(--cds-focus, #0f62fe);
|
|
22057
|
-
}
|
|
22058
|
-
@media screen and (prefers-contrast) {
|
|
22059
|
-
.cds--toggletip-button:focus {
|
|
22060
|
-
outline-style: dotted;
|
|
22061
|
-
}
|
|
22062
|
-
}
|
|
22063
|
-
|
|
22064
|
-
.cds--toggletip {
|
|
22065
|
-
--cds-popover-offset: 0.8125rem;
|
|
22066
|
-
}
|
|
22067
|
-
|
|
22068
|
-
.cds--toggletip-content {
|
|
22069
|
-
--cds-button-focus-color: var(--cds-focus-inverse, #ffffff);
|
|
22070
|
-
--cds-link-text-color: var(--cds-link-inverse, #78a9ff);
|
|
22071
|
-
--cds-link-hover-text-color: var(--cds-link-inverse, #78a9ff);
|
|
22072
|
-
--cds-link-focus-text-color: var(--cds-focus-inverse, #ffffff);
|
|
22073
|
-
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
22074
|
-
font-weight: var(--cds-body-01-font-weight, 400);
|
|
22075
|
-
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
22076
|
-
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
22077
|
-
display: grid;
|
|
22078
|
-
padding: 1rem;
|
|
22079
|
-
max-inline-size: 18rem;
|
|
22080
|
-
row-gap: 1rem;
|
|
22081
|
-
}
|
|
22082
|
-
|
|
22083
|
-
.cds--toggletip-content p {
|
|
22084
|
-
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
22085
|
-
font-weight: var(--cds-body-01-font-weight, 400);
|
|
22086
|
-
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
22087
|
-
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
22088
|
-
}
|
|
22089
|
-
|
|
22090
|
-
.cds--toggletip-actions {
|
|
22091
|
-
display: flex;
|
|
22092
|
-
align-items: center;
|
|
22093
|
-
justify-content: space-between;
|
|
22094
|
-
-moz-column-gap: 1rem;
|
|
22095
|
-
column-gap: 1rem;
|
|
22096
|
-
}
|
|
22097
|
-
|
|
22098
22138
|
.cds--toggle {
|
|
22099
22139
|
display: inline-block;
|
|
22100
22140
|
-webkit-user-select: none;
|