bright-components 10.1.0 → 10.1.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -53,15 +53,17 @@ const Checkmark = _styledComponents.default.span`
|
|
53
53
|
position: relative;
|
54
54
|
top: ${_ref3 => {
|
55
55
|
let {
|
56
|
-
outline
|
56
|
+
outline,
|
57
|
+
disabled
|
57
58
|
} = _ref3;
|
58
|
-
return outline ? '-4px' : '-2px';
|
59
|
+
return outline && !disabled ? '-4px' : '-2px';
|
59
60
|
}};
|
60
61
|
left: ${_ref4 => {
|
61
62
|
let {
|
62
|
-
outline
|
63
|
+
outline,
|
64
|
+
disabled
|
63
65
|
} = _ref4;
|
64
|
-
return outline ? '-2px' : '0';
|
66
|
+
return outline && !disabled ? '-2px' : '0';
|
65
67
|
}};
|
66
68
|
display: block;
|
67
69
|
width: 16px;
|
package/package.json
CHANGED
@@ -27,8 +27,8 @@ Box.displayName = 'Box';
|
|
27
27
|
|
28
28
|
const Checkmark = styled.span`
|
29
29
|
position: relative;
|
30
|
-
top: ${({ outline }) => (outline ? '-4px' : '-2px')};
|
31
|
-
left: ${({ outline }) => (outline ? '-2px' : '0')};
|
30
|
+
top: ${({ outline, disabled }) => (outline && !disabled ? '-4px' : '-2px')};
|
31
|
+
left: ${({ outline, disabled }) => (outline && !disabled ? '-2px' : '0')};
|
32
32
|
display: block;
|
33
33
|
width: 16px;
|
34
34
|
height: 16px;
|