@carbon/styles 1.87.0 → 1.88.0-rc.1
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 +6 -22
- package/css/styles.min.css +1 -1
- package/package.json +10 -10
- package/scss/__tests__/__snapshots__/colors-test.js.snap +16 -16
- package/scss/__tests__/__snapshots__/config-test.js.snap +7 -7
- package/scss/__tests__/__snapshots__/motion-test.js.snap +8 -8
- package/scss/__tests__/__snapshots__/spacing-test.js.snap +4 -4
- package/scss/__tests__/__snapshots__/type-test.js.snap +2576 -2576
- package/scss/__tests__/theme-test.js +1 -1
- package/scss/__tests__/themes-test.js +1 -1
- package/scss/__tests__/type-test.js +1 -1
- package/scss/components/__tests__/accordion-test.js +1 -1
- package/scss/components/__tests__/button-test.js +1 -1
- package/scss/components/__tests__/code-snippet-test.js +1 -1
- package/scss/components/__tests__/data-table-test.js +1 -1
- package/scss/components/__tests__/form-test.js +1 -1
- package/scss/components/__tests__/list-box-test.js +1 -1
- package/scss/components/form/_form.scss +1 -1
- package/scss/components/link/_link.scss +2 -2
- package/scss/components/menu-button/_menu-button.scss +1 -1
- package/scss/components/text-area/_text-area.scss +0 -9
- package/scss/components/tooltip/_tooltip.scss +0 -4
- package/scss/fonts/__tests__/__snapshots__/fonts-test.js.snap +187 -187
- package/scss/fonts/__tests__/fonts-test.js +2 -4
|
@@ -233,7 +233,7 @@ $input-label-weight: 400 !default;
|
|
|
233
233
|
@include type-style('helper-text-01');
|
|
234
234
|
|
|
235
235
|
z-index: 0;
|
|
236
|
-
color: $text-
|
|
236
|
+
color: $text-helper;
|
|
237
237
|
// Added to prevent error text from displaying under helper text in Safari (#6392)
|
|
238
238
|
inline-size: 100%;
|
|
239
239
|
margin-block-start: $spacing-02;
|
|
@@ -47,7 +47,7 @@ $link-focus-text-color: custom-property.get-var(
|
|
|
47
47
|
text-decoration: underline;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
&:active,
|
|
50
|
+
&:active:not(.#{$prefix}--link--disabled),
|
|
51
51
|
&:active:visited,
|
|
52
52
|
&:active:visited:hover {
|
|
53
53
|
@include focus-outline;
|
|
@@ -57,7 +57,7 @@ $link-focus-text-color: custom-property.get-var(
|
|
|
57
57
|
text-decoration: underline;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
&:focus {
|
|
60
|
+
&:focus:not(.#{$prefix}--link--disabled) {
|
|
61
61
|
@include focus-outline;
|
|
62
62
|
|
|
63
63
|
outline-color: $link-focus-text-color;
|
|
@@ -61,10 +61,6 @@
|
|
|
61
61
|
background-color: $field-02;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.#{$prefix}--text-area--invalid {
|
|
65
|
-
padding-inline-end: $spacing-08;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
64
|
.#{$prefix}--text-area__wrapper {
|
|
69
65
|
@include layout.use('density', $default: 'normal');
|
|
70
66
|
|
|
@@ -106,7 +102,6 @@
|
|
|
106
102
|
}
|
|
107
103
|
|
|
108
104
|
.#{$prefix}--form-item {
|
|
109
|
-
position: relative;
|
|
110
105
|
&:has(.#{$prefix}--text-area__wrapper--cols) {
|
|
111
106
|
inline-size: fit-content;
|
|
112
107
|
}
|
|
@@ -248,8 +243,4 @@
|
|
|
248
243
|
justify-content: space-between;
|
|
249
244
|
inline-size: 100%;
|
|
250
245
|
}
|
|
251
|
-
.#{$prefix}--form-requirement {
|
|
252
|
-
position: absolute;
|
|
253
|
-
inset-block-start: 100%;
|
|
254
|
-
}
|
|
255
246
|
}
|
|
@@ -38,10 +38,6 @@ $tooltip-padding-inline: custom-property.get-var(
|
|
|
38
38
|
max-inline-size: convert.to-rem(288px);
|
|
39
39
|
overflow-wrap: break-word;
|
|
40
40
|
}
|
|
41
|
-
|
|
42
|
-
.#{$prefix}--tooltip-content--multiline {
|
|
43
|
-
padding: $tooltip-padding-inline;
|
|
44
|
-
}
|
|
45
41
|
}
|
|
46
42
|
|
|
47
43
|
@mixin definition-tooltip {
|