@carbon/styles 1.84.0-rc.0 → 1.85.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 +105 -0
- package/css/styles.min.css +1 -1
- package/package.json +8 -8
- package/scss/components/data-table/_data-table.scss +39 -1
- package/scss/components/progress-bar/_progress-bar.scss +18 -0
- package/scss/components/text-area/_text-area.scss +6 -1
- package/scss/components/treeview/_treeview.scss +56 -1
- package/scss/utilities/_ai-gradient.scss +8 -1
package/css/styles.css
CHANGED
|
@@ -12055,6 +12055,37 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
12055
12055
|
}
|
|
12056
12056
|
}
|
|
12057
12057
|
|
|
12058
|
+
.cds--data-table-container--ai-enabled {
|
|
12059
|
+
position: relative;
|
|
12060
|
+
padding: 1px;
|
|
12061
|
+
border: none;
|
|
12062
|
+
}
|
|
12063
|
+
|
|
12064
|
+
.cds--data-table-container--ai-enabled::after {
|
|
12065
|
+
position: absolute;
|
|
12066
|
+
z-index: -1;
|
|
12067
|
+
background-image: linear-gradient(to top, var(--cds-ai-border-end, #78a9ff), var(--cds-ai-border-start, rgba(166, 200, 255, 0.64)));
|
|
12068
|
+
block-size: 100%;
|
|
12069
|
+
content: "";
|
|
12070
|
+
inline-size: 100%;
|
|
12071
|
+
inset: 0;
|
|
12072
|
+
pointer-events: none;
|
|
12073
|
+
}
|
|
12074
|
+
|
|
12075
|
+
.cds--data-table-container--ai-enabled tbody {
|
|
12076
|
+
position: relative;
|
|
12077
|
+
}
|
|
12078
|
+
|
|
12079
|
+
.cds--data-table-container--ai-enabled tbody::before {
|
|
12080
|
+
position: absolute;
|
|
12081
|
+
block-size: 100%;
|
|
12082
|
+
content: "";
|
|
12083
|
+
inline-size: 100%;
|
|
12084
|
+
inset: 0;
|
|
12085
|
+
pointer-events: none;
|
|
12086
|
+
background: linear-gradient(to top, var(--cds-ai-aura-start, rgba(69, 137, 255, 0.1)) 0%, var(--cds-ai-aura-end, rgba(255, 255, 255, 0)) 50%, transparent 50%);
|
|
12087
|
+
}
|
|
12088
|
+
|
|
12058
12089
|
.cds--data-table-header {
|
|
12059
12090
|
background-color: var(--cds-layer);
|
|
12060
12091
|
padding-block: 1rem 1.5rem;
|
|
@@ -19229,6 +19260,9 @@ optgroup.cds--select-optgroup:disabled,
|
|
|
19229
19260
|
inline-size: 1px;
|
|
19230
19261
|
}
|
|
19231
19262
|
|
|
19263
|
+
.cds--form-item {
|
|
19264
|
+
position: relative;
|
|
19265
|
+
}
|
|
19232
19266
|
.cds--form-item:has(.cds--text-area__wrapper--cols) {
|
|
19233
19267
|
inline-size: -moz-fit-content;
|
|
19234
19268
|
inline-size: fit-content;
|
|
@@ -19356,6 +19390,11 @@ optgroup.cds--select-optgroup:disabled,
|
|
|
19356
19390
|
inline-size: 100%;
|
|
19357
19391
|
}
|
|
19358
19392
|
|
|
19393
|
+
.cds--form-requirement {
|
|
19394
|
+
position: absolute;
|
|
19395
|
+
inset-block-start: 100%;
|
|
19396
|
+
}
|
|
19397
|
+
|
|
19359
19398
|
.cds--text-area--fluid .cds--text-area__wrapper {
|
|
19360
19399
|
position: relative;
|
|
19361
19400
|
flex-direction: column;
|
|
@@ -22720,6 +22759,17 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
22720
22759
|
padding-inline: var(--cds-layout-density-padding-inline-local);
|
|
22721
22760
|
}
|
|
22722
22761
|
|
|
22762
|
+
@media screen and (-ms-high-contrast: active), (forced-colors: active) {
|
|
22763
|
+
.cds--progress-bar__track {
|
|
22764
|
+
background-color: Canvas;
|
|
22765
|
+
forced-color-adjust: none;
|
|
22766
|
+
outline: 2px solid rgba(0, 0, 0, 0);
|
|
22767
|
+
outline-offset: -2px;
|
|
22768
|
+
}
|
|
22769
|
+
.cds--progress-bar__bar {
|
|
22770
|
+
background-color: CanvasText;
|
|
22771
|
+
}
|
|
22772
|
+
}
|
|
22723
22773
|
.cds--progress {
|
|
22724
22774
|
box-sizing: border-box;
|
|
22725
22775
|
padding: 0;
|
|
@@ -25710,6 +25760,10 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
25710
25760
|
}
|
|
25711
25761
|
}
|
|
25712
25762
|
|
|
25763
|
+
.cds--tree-node.cds--tree-parent-node > .cds--tree-node__label {
|
|
25764
|
+
inline-size: auto;
|
|
25765
|
+
}
|
|
25766
|
+
|
|
25713
25767
|
.cds--tree-node--disabled:focus > .cds--tree-node__label {
|
|
25714
25768
|
outline: none;
|
|
25715
25769
|
}
|
|
@@ -25754,10 +25808,14 @@ li.cds--tree-node-link-parent > .cds--tree-node__children {
|
|
|
25754
25808
|
font-weight: var(--cds-body-compact-01-font-weight, 400);
|
|
25755
25809
|
line-height: var(--cds-body-compact-01-line-height, 1.28572);
|
|
25756
25810
|
letter-spacing: var(--cds-body-compact-01-letter-spacing, 0.16px);
|
|
25811
|
+
position: relative;
|
|
25757
25812
|
display: flex;
|
|
25813
|
+
box-sizing: border-box;
|
|
25758
25814
|
flex: 1 1;
|
|
25759
25815
|
align-items: center;
|
|
25816
|
+
inline-size: 100%;
|
|
25760
25817
|
min-block-size: 2rem;
|
|
25818
|
+
padding-inline-end: 1rem;
|
|
25761
25819
|
}
|
|
25762
25820
|
.cds--tree-node__label:hover {
|
|
25763
25821
|
background-color: var(--cds-layer-hover-01, #e8e8e8);
|
|
@@ -25793,6 +25851,7 @@ li.cds--tree-node-link-parent > .cds--tree-node__children {
|
|
|
25793
25851
|
.cds--tree-node__label__details {
|
|
25794
25852
|
display: flex;
|
|
25795
25853
|
align-items: center;
|
|
25854
|
+
min-inline-size: 0;
|
|
25796
25855
|
}
|
|
25797
25856
|
|
|
25798
25857
|
.cds--tree-node--with-icon .cds--tree-parent-node__toggle {
|
|
@@ -25874,6 +25933,52 @@ li.cds--tree-node-link-parent > .cds--tree-node__children {
|
|
|
25874
25933
|
margin-block-start: 0;
|
|
25875
25934
|
}
|
|
25876
25935
|
|
|
25936
|
+
.cds--tree-node__label__text {
|
|
25937
|
+
font-size: var(--cds-body-compact-01-font-size, 0.875rem);
|
|
25938
|
+
font-weight: var(--cds-body-compact-01-font-weight, 400);
|
|
25939
|
+
line-height: var(--cds-body-compact-01-line-height, 1.28572);
|
|
25940
|
+
letter-spacing: var(--cds-body-compact-01-letter-spacing, 0.16px);
|
|
25941
|
+
display: block;
|
|
25942
|
+
overflow: hidden;
|
|
25943
|
+
line-height: 1.2;
|
|
25944
|
+
padding-inline-start: 0.25rem;
|
|
25945
|
+
text-overflow: ellipsis;
|
|
25946
|
+
white-space: nowrap;
|
|
25947
|
+
}
|
|
25948
|
+
|
|
25949
|
+
.cds--tree-node__label .cds--icon-tooltip {
|
|
25950
|
+
inline-size: 100%;
|
|
25951
|
+
}
|
|
25952
|
+
|
|
25953
|
+
.cds--tree-node__label .cds--icon-tooltip .cds--btn--icon-only {
|
|
25954
|
+
padding: 0;
|
|
25955
|
+
border: none;
|
|
25956
|
+
background: transparent;
|
|
25957
|
+
block-size: auto;
|
|
25958
|
+
color: inherit;
|
|
25959
|
+
inline-size: 100%;
|
|
25960
|
+
min-block-size: unset;
|
|
25961
|
+
text-align: start;
|
|
25962
|
+
}
|
|
25963
|
+
|
|
25964
|
+
.cds--tree-node__label .cds--icon-tooltip .cds--btn--icon-only .cds--tree-node__label__text {
|
|
25965
|
+
color: inherit;
|
|
25966
|
+
inline-size: 100%;
|
|
25967
|
+
}
|
|
25968
|
+
|
|
25969
|
+
.cds--tree-node__label .cds--tooltip-content {
|
|
25970
|
+
padding: 1rem;
|
|
25971
|
+
}
|
|
25972
|
+
|
|
25973
|
+
.cds--tree-node__label .cds--popover-container {
|
|
25974
|
+
inline-size: 100%;
|
|
25975
|
+
}
|
|
25976
|
+
|
|
25977
|
+
.cds--tooltip-trigger__wrapper .cds--btn--ghost:focus {
|
|
25978
|
+
box-shadow: none;
|
|
25979
|
+
outline: 2px solid var(--cds-focus, #0f62fe);
|
|
25980
|
+
}
|
|
25981
|
+
|
|
25877
25982
|
.cds--content {
|
|
25878
25983
|
padding: 2rem;
|
|
25879
25984
|
color: var(--cds-text-primary, #161616);
|