@carbon/styles 1.54.0-rc.0 → 1.54.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 +12 -3
- package/css/styles.min.css +1 -1
- package/package.json +4 -4
- package/scss/_feature-flags.scss +1 -0
- package/scss/components/data-table/_data-table.scss +8 -2
- package/scss/components/notification/_actionable-notification.scss +10 -0
- package/scss/components/structured-list/_structured-list.scss +22 -2
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.54.0
|
|
4
|
+
"version": "1.54.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@carbon/colors": "^11.21.0",
|
|
44
|
-
"@carbon/feature-flags": "^0.19.0
|
|
44
|
+
"@carbon/feature-flags": "^0.19.0",
|
|
45
45
|
"@carbon/grid": "^11.22.0",
|
|
46
46
|
"@carbon/layout": "^11.21.0",
|
|
47
47
|
"@carbon/motion": "^11.17.0",
|
|
48
|
-
"@carbon/themes": "^11.34.0
|
|
48
|
+
"@carbon/themes": "^11.34.0",
|
|
49
49
|
"@carbon/type": "^11.26.0",
|
|
50
50
|
"@ibm/plex": "6.0.0-next.6",
|
|
51
51
|
"@ibm/telemetry-js": "^1.2.1"
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"scss/**/*.css",
|
|
69
69
|
"css/**/*.css"
|
|
70
70
|
],
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "4bdd6802dd612af764ef76162141333d35bd84f4"
|
|
72
72
|
}
|
package/scss/_feature-flags.scss
CHANGED
|
@@ -120,11 +120,17 @@
|
|
|
120
120
|
color: $text-primary;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
.#{$prefix}--data-table
|
|
123
|
+
.#{$prefix}--data-table
|
|
124
|
+
tr
|
|
125
|
+
+ :not(.#{$prefix}--popover-container):hover
|
|
126
|
+
.#{$prefix}--link {
|
|
124
127
|
color: $link-secondary;
|
|
125
128
|
}
|
|
126
129
|
|
|
127
|
-
.#{$prefix}--data-table
|
|
130
|
+
.#{$prefix}--data-table
|
|
131
|
+
tr
|
|
132
|
+
+ :not(.#{$prefix}--popover-container):hover
|
|
133
|
+
.#{$prefix}--link--disabled {
|
|
128
134
|
color: $text-disabled;
|
|
129
135
|
}
|
|
130
136
|
|
|
@@ -190,6 +190,16 @@
|
|
|
190
190
|
opacity: 1;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
+
.#{$prefix}--actionable-notification--warning
|
|
194
|
+
.#{$prefix}--inline-notification__icon
|
|
195
|
+
path[opacity='0'],
|
|
196
|
+
.#{$prefix}--actionable-notification--warning-alt
|
|
197
|
+
.#{$prefix}--inline-notification__icon
|
|
198
|
+
path:first-of-type {
|
|
199
|
+
fill: $black-100;
|
|
200
|
+
opacity: 1;
|
|
201
|
+
}
|
|
202
|
+
|
|
193
203
|
.#{$prefix}--actionable-notification__details {
|
|
194
204
|
display: flex;
|
|
195
205
|
flex-grow: 1;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
@use '../../utilities/convert';
|
|
19
19
|
@use '../../utilities/component-reset';
|
|
20
20
|
|
|
21
|
-
@mixin structured-list {
|
|
21
|
+
@mixin structured-list($enable-v12-structured-list-visible-icons: false) {
|
|
22
22
|
.#{$prefix}--structured-list--selection .#{$prefix}--structured-list-td,
|
|
23
23
|
.#{$prefix}--structured-list--selection .#{$prefix}--structured-list-th {
|
|
24
24
|
@include padding--data-structured-list;
|
|
@@ -186,7 +186,6 @@
|
|
|
186
186
|
|
|
187
187
|
.#{$prefix}--structured-list-svg {
|
|
188
188
|
display: inline-block;
|
|
189
|
-
fill: transparent;
|
|
190
189
|
transition: all motion.$duration-fast-02 motion.motion(standard, productive);
|
|
191
190
|
vertical-align: top;
|
|
192
191
|
}
|
|
@@ -200,6 +199,27 @@
|
|
|
200
199
|
fill: $icon-primary;
|
|
201
200
|
}
|
|
202
201
|
|
|
202
|
+
@if not(
|
|
203
|
+
enabled('enable-v12-structured-list-visible-icons') and
|
|
204
|
+
$enable-v12-structured-list-visible-icons
|
|
205
|
+
)
|
|
206
|
+
{
|
|
207
|
+
.#{$prefix}--structured-list-svg {
|
|
208
|
+
fill: transparent;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
@if (
|
|
213
|
+
enabled('enable-v12-structured-list-visible-icons') or
|
|
214
|
+
$enable-v12-structured-list-visible-icons
|
|
215
|
+
) {
|
|
216
|
+
.#{$prefix}--structured-list-input:checked
|
|
217
|
+
~ .#{$prefix}--structured-list-td
|
|
218
|
+
.#{$prefix}--structured-list-svg {
|
|
219
|
+
fill: $icon-primary;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
203
223
|
// Skeleton State
|
|
204
224
|
.#{$prefix}--structured-list.#{$prefix}--skeleton {
|
|
205
225
|
.#{$prefix}--structured-list-th {
|