@carbon/styles 1.66.1 → 1.67.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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/styles",
|
|
3
3
|
"description": "Styles for the Carbon Design System",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.67.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -40,18 +40,18 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@carbon/colors": "^11.27.
|
|
44
|
-
"@carbon/feature-flags": "^0.23.
|
|
45
|
-
"@carbon/grid": "^11.28.
|
|
46
|
-
"@carbon/layout": "^11.27.
|
|
47
|
-
"@carbon/motion": "^11.23.
|
|
48
|
-
"@carbon/themes": "^11.
|
|
49
|
-
"@carbon/type": "^11.32.
|
|
43
|
+
"@carbon/colors": "^11.27.0",
|
|
44
|
+
"@carbon/feature-flags": "^0.23.0",
|
|
45
|
+
"@carbon/grid": "^11.28.0",
|
|
46
|
+
"@carbon/layout": "^11.27.0",
|
|
47
|
+
"@carbon/motion": "^11.23.0",
|
|
48
|
+
"@carbon/themes": "^11.42.0-rc.0",
|
|
49
|
+
"@carbon/type": "^11.32.0",
|
|
50
50
|
"@ibm/plex": "6.0.0-next.6",
|
|
51
51
|
"@ibm/telemetry-js": "^1.5.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@carbon/test-utils": "^10.33.
|
|
54
|
+
"@carbon/test-utils": "^10.33.0",
|
|
55
55
|
"autoprefixer": "^10.4.7",
|
|
56
56
|
"browserslist-config-carbon": "^11.2.0",
|
|
57
57
|
"css": "^3.0.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"scss/**/*.css",
|
|
68
68
|
"css/**/*.css"
|
|
69
69
|
],
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "99debcc48ebc5f9a5ee5848fef06af4ee6448c30"
|
|
71
71
|
}
|
|
@@ -145,6 +145,7 @@
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.#{$prefix}--toast-notification__details {
|
|
148
|
+
margin-block-end: $spacing-05;
|
|
148
149
|
margin-inline-end: $spacing-05;
|
|
149
150
|
}
|
|
150
151
|
|
|
@@ -212,7 +213,6 @@
|
|
|
212
213
|
@include type-style('body-compact-01');
|
|
213
214
|
|
|
214
215
|
color: $text-inverse;
|
|
215
|
-
margin-block-end: $spacing-05;
|
|
216
216
|
padding-block-start: $spacing-03;
|
|
217
217
|
}
|
|
218
218
|
|
|
@@ -84,30 +84,15 @@ $notification-background-info: (
|
|
|
84
84
|
) !default;
|
|
85
85
|
|
|
86
86
|
$notification-background-warning: (
|
|
87
|
-
fallback:
|
|
88
|
-
color.mix(
|
|
89
|
-
map.get(notification.$color-map, yellow-30),
|
|
90
|
-
map.get(notification.$color-map, white-0),
|
|
91
|
-
15%
|
|
92
|
-
),
|
|
87
|
+
fallback: map.get(notification.$notification-background-warning, white-theme),
|
|
93
88
|
values: (
|
|
94
89
|
(
|
|
95
90
|
theme: themes.$white,
|
|
96
|
-
value:
|
|
97
|
-
color.mix(
|
|
98
|
-
map.get(notification.$color-map, yellow-30),
|
|
99
|
-
map.get(notification.$color-map, white-0),
|
|
100
|
-
15%
|
|
101
|
-
),
|
|
91
|
+
value: map.get(notification.$notification-background-warning, white-theme),
|
|
102
92
|
),
|
|
103
93
|
(
|
|
104
94
|
theme: themes.$g10,
|
|
105
|
-
value:
|
|
106
|
-
color.mix(
|
|
107
|
-
map.get(notification.$color-map, yellow-30),
|
|
108
|
-
map.get(notification.$color-map, white-0),
|
|
109
|
-
15%
|
|
110
|
-
),
|
|
95
|
+
value: map.get(notification.$notification-background-warning, g-10),
|
|
111
96
|
),
|
|
112
97
|
(
|
|
113
98
|
theme: themes.$g90,
|
|
@@ -163,28 +163,32 @@
|
|
|
163
163
|
.#{$prefix}--tab--overflow-nav-button--next::before {
|
|
164
164
|
position: absolute;
|
|
165
165
|
z-index: 1;
|
|
166
|
-
background: linear-gradient(
|
|
167
|
-
to right,
|
|
168
|
-
rgba(255, 255, 255, 0),
|
|
169
|
-
$background
|
|
170
|
-
);
|
|
171
166
|
block-size: 100%;
|
|
172
167
|
content: '';
|
|
173
168
|
inline-size: $spacing-03;
|
|
174
169
|
inset-inline-start: -$spacing-03;
|
|
175
170
|
}
|
|
176
171
|
|
|
177
|
-
|
|
172
|
+
&:not(.#{$prefix}--tabs--contained) {
|
|
178
173
|
.#{$prefix}--tab--overflow-nav-button--next::before {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
174
|
+
background: linear-gradient(
|
|
175
|
+
to right,
|
|
176
|
+
rgba(255, 255, 255, 0),
|
|
177
|
+
$background
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
.#{$prefix}--tab--overflow-nav-button--previous::before {
|
|
181
|
+
background: linear-gradient(
|
|
182
|
+
to left,
|
|
183
|
+
rgba(255, 255, 255, 0),
|
|
184
|
+
$background
|
|
185
|
+
);
|
|
186
|
+
}
|
|
184
187
|
}
|
|
185
188
|
|
|
186
189
|
.#{$prefix}--tab--overflow-nav-button--previous {
|
|
187
190
|
position: absolute;
|
|
191
|
+
z-index: 1;
|
|
188
192
|
inset-block: 0 0;
|
|
189
193
|
inset-inline-start: 0;
|
|
190
194
|
}
|
|
@@ -192,20 +196,10 @@
|
|
|
192
196
|
.#{$prefix}--tab--overflow-nav-button--previous::before {
|
|
193
197
|
position: absolute;
|
|
194
198
|
z-index: 1;
|
|
195
|
-
background: $background;
|
|
196
199
|
block-size: 100%;
|
|
197
200
|
content: '';
|
|
198
|
-
inline-size: $spacing-
|
|
199
|
-
inset-inline-end:
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
&.#{$prefix}--tabs--contained
|
|
203
|
-
.#{$prefix}--tab--overflow-nav-button--previous::before {
|
|
204
|
-
background: linear-gradient(
|
|
205
|
-
to left,
|
|
206
|
-
rgba(255, 255, 255, 0),
|
|
207
|
-
$layer-accent
|
|
208
|
-
);
|
|
201
|
+
inline-size: $spacing-03;
|
|
202
|
+
inset-inline-end: -$spacing-03;
|
|
209
203
|
}
|
|
210
204
|
|
|
211
205
|
.#{$prefix}--tabs--light .#{$prefix}--tabs__overflow-indicator--left {
|
|
@@ -624,13 +618,13 @@
|
|
|
624
618
|
|
|
625
619
|
.#{$prefix}--tabs__nav-item--disabled {
|
|
626
620
|
background-color: transparent;
|
|
627
|
-
border-block-end: $
|
|
621
|
+
border-block-end: 2px solid $border-subtle;
|
|
628
622
|
color: $tab-text-disabled;
|
|
629
623
|
outline: none;
|
|
630
624
|
}
|
|
631
625
|
|
|
632
626
|
.#{$prefix}--tabs__nav-item--disabled:hover {
|
|
633
|
-
border-block-end: $
|
|
627
|
+
border-block-end: 2px solid $border-subtle;
|
|
634
628
|
color: $tab-text-disabled;
|
|
635
629
|
cursor: not-allowed;
|
|
636
630
|
}
|
|
@@ -652,7 +646,7 @@
|
|
|
652
646
|
|
|
653
647
|
.#{$prefix}--tabs__nav-item--disabled:focus,
|
|
654
648
|
.#{$prefix}--tabs__nav-item--disabled:active {
|
|
655
|
-
border-block-end: $
|
|
649
|
+
border-block-end: 2px solid $border-subtle;
|
|
656
650
|
outline: none;
|
|
657
651
|
pointer-events: none;
|
|
658
652
|
}
|