@carbon/styles 1.17.0-rc.2 → 1.17.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 -9
- package/css/styles.min.css +1 -1
- package/package.json +4 -4
- package/scss/components/data-table/_data-table.scss +0 -20
- package/scss/components/fluid-date-picker/_fluid-date-picker.scss +61 -0
- package/scss/components/form/_form.scss +11 -0
- package/scss/components/multiselect/_multiselect.scss +38 -0
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.17.0
|
|
4
|
+
"version": "1.17.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"sass": "^1.33.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@carbon/colors": "^11.
|
|
35
|
+
"@carbon/colors": "^11.8.0",
|
|
36
36
|
"@carbon/feature-flags": "^0.9.0",
|
|
37
37
|
"@carbon/grid": "^11.7.0",
|
|
38
38
|
"@carbon/layout": "^11.7.0",
|
|
39
39
|
"@carbon/motion": "^11.5.0",
|
|
40
|
-
"@carbon/themes": "^11.
|
|
40
|
+
"@carbon/themes": "^11.12.0",
|
|
41
41
|
"@carbon/type": "^11.11.0",
|
|
42
42
|
"@ibm/plex": "6.0.0-next.6"
|
|
43
43
|
},
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"scss/**/*.css",
|
|
60
60
|
"css/**/*.css"
|
|
61
61
|
],
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "06fdbdbc9cade1f6c352024175d348f9bd107b14"
|
|
63
63
|
}
|
|
@@ -329,26 +329,6 @@
|
|
|
329
329
|
transition: background-color $duration-fast-01 motion(entrance, productive);
|
|
330
330
|
}
|
|
331
331
|
|
|
332
|
-
.#{$prefix}--data-table
|
|
333
|
-
.#{$prefix}--table-column-checkbox
|
|
334
|
-
.#{$prefix}--checkbox:focus
|
|
335
|
-
+ .#{$prefix}--checkbox-label::before {
|
|
336
|
-
//make checkbox focus larger to match expansion btn focus
|
|
337
|
-
outline-offset: rem(6px);
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
.#{$prefix}--data-table--compact
|
|
341
|
-
.#{$prefix}--table-column-checkbox
|
|
342
|
-
.#{$prefix}--checkbox:focus
|
|
343
|
-
+ .#{$prefix}--checkbox-label::before,
|
|
344
|
-
.#{$prefix}--data-table--xs
|
|
345
|
-
.#{$prefix}--table-column-checkbox
|
|
346
|
-
.#{$prefix}--checkbox:focus
|
|
347
|
-
+ .#{$prefix}--checkbox-label::before {
|
|
348
|
-
//make checkbox match expansion button focus size
|
|
349
|
-
outline-offset: rem(2px);
|
|
350
|
-
}
|
|
351
|
-
|
|
352
332
|
.#{$prefix}--data-table thead th.#{$prefix}--table-column-checkbox,
|
|
353
333
|
.#{$prefix}--data-table tbody td.#{$prefix}--table-column-checkbox,
|
|
354
334
|
.#{$prefix}--data-table thead th.#{$prefix}--table-expand,
|
|
@@ -277,4 +277,65 @@
|
|
|
277
277
|
+ .#{$prefix}--date-picker__icon {
|
|
278
278
|
top: rem(80px);
|
|
279
279
|
}
|
|
280
|
+
|
|
281
|
+
// Skeleton
|
|
282
|
+
.#{$prefix}--date-picker--fluid__skeleton {
|
|
283
|
+
height: rem(64px);
|
|
284
|
+
border-bottom: 1px solid $skeleton-element;
|
|
285
|
+
background: $skeleton-background;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.#{$prefix}--date-picker--fluid__skeleton--container {
|
|
289
|
+
position: relative;
|
|
290
|
+
width: 100%;
|
|
291
|
+
height: rem(64px);
|
|
292
|
+
padding: rem(13px) rem(40px) rem(13px) $spacing-05;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.#{$prefix}--date-picker--fluid__skeleton .#{$prefix}--skeleton {
|
|
296
|
+
height: 1rem;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.#{$prefix}--date-picker--fluid__skeleton .#{$prefix}--label {
|
|
300
|
+
margin-bottom: rem(4px);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.#{$prefix}--date-picker--fluid__skeleton .#{$prefix}--text-input {
|
|
304
|
+
width: 80%;
|
|
305
|
+
height: rem(18px);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.#{$prefix}--date-picker--fluid__skeleton--container
|
|
309
|
+
.#{$prefix}--date-picker__icon {
|
|
310
|
+
top: auto;
|
|
311
|
+
bottom: rem(2px);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
// Range skeleton
|
|
315
|
+
.#{$prefix}--date-picker--fluid__skeleton--range {
|
|
316
|
+
display: flex;
|
|
317
|
+
flex-direction: row;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.#{$prefix}--date-picker--fluid__skeleton--range
|
|
321
|
+
.#{$prefix}--date-picker--fluid__skeleton--container {
|
|
322
|
+
display: flex;
|
|
323
|
+
width: 50%;
|
|
324
|
+
flex-direction: column;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.#{$prefix}--date-picker--fluid__skeleton--range
|
|
328
|
+
.#{$prefix}--date-picker--fluid__skeleton--container:first-of-type {
|
|
329
|
+
border-right: 1px solid $skeleton-element;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.#{$prefix}--date-picker--fluid__skeleton--range .#{$prefix}--text-input {
|
|
333
|
+
width: 100%;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.#{$prefix}--date-picker--fluid__skeleton--range
|
|
337
|
+
.#{$prefix}--date-picker--fluid__skeleton--container
|
|
338
|
+
.#{$prefix}--date-picker__icon {
|
|
339
|
+
bottom: rem(5px);
|
|
340
|
+
}
|
|
280
341
|
}
|
|
@@ -20,6 +20,17 @@
|
|
|
20
20
|
$input-label-weight: 400 !default;
|
|
21
21
|
|
|
22
22
|
@mixin form {
|
|
23
|
+
// Override Chrome autocomplete styles
|
|
24
|
+
input:-webkit-autofill,
|
|
25
|
+
input:-webkit-autofill:hover,
|
|
26
|
+
input:-webkit-autofill:focus,
|
|
27
|
+
textarea:-webkit-autofill,
|
|
28
|
+
textarea:-webkit-autofill:hover,
|
|
29
|
+
textarea:-webkit-autofill:focus {
|
|
30
|
+
box-shadow: 0 0 0 1000px $field inset;
|
|
31
|
+
-webkit-text-fill-color: $text-primary;
|
|
32
|
+
}
|
|
33
|
+
|
|
23
34
|
.#{$prefix}--fieldset {
|
|
24
35
|
@include reset;
|
|
25
36
|
}
|
|
@@ -105,4 +105,42 @@
|
|
|
105
105
|
.#{$prefix}--list-box__menu {
|
|
106
106
|
visibility: hidden;
|
|
107
107
|
}
|
|
108
|
+
|
|
109
|
+
.#{$prefix}--multi-select.#{$prefix}--multi-select--readonly,
|
|
110
|
+
.#{$prefix}--multi-select.#{$prefix}--multi-select--readonly:hover {
|
|
111
|
+
background-color: transparent;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.#{$prefix}--multi-select.#{$prefix}--multi-select--readonly
|
|
115
|
+
.#{$prefix}--list-box__menu-icon
|
|
116
|
+
svg {
|
|
117
|
+
fill: $icon-disabled;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.#{$prefix}--multi-select.#{$prefix}--multi-select--readonly
|
|
121
|
+
.#{$prefix}--tag--filter,
|
|
122
|
+
.#{$prefix}--multi-select.#{$prefix}--multi-select--readonly
|
|
123
|
+
.#{$prefix}--tag__close-icon:hover {
|
|
124
|
+
background-color: transparent;
|
|
125
|
+
color: $text-primary;
|
|
126
|
+
cursor: default;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.#{$prefix}--multi-select.#{$prefix}--multi-select--readonly
|
|
130
|
+
.#{$prefix}--tag--filter {
|
|
131
|
+
box-shadow: 0 0 0 1px $background-inverse;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.#{$prefix}--multi-select.#{$prefix}--multi-select--readonly
|
|
135
|
+
.#{$prefix}--tag--filter
|
|
136
|
+
svg {
|
|
137
|
+
fill: $icon-disabled;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.#{$prefix}--multi-select.#{$prefix}--multi-select--readonly
|
|
141
|
+
.#{$prefix}--list-box__field,
|
|
142
|
+
.#{$prefix}--multi-select.#{$prefix}--multi-select--readonly
|
|
143
|
+
.#{$prefix}--list-box__menu-icon {
|
|
144
|
+
cursor: default;
|
|
145
|
+
}
|
|
108
146
|
}
|