bright-components 10.1.0 → 10.1.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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bright-components",
3
- "version": "10.1.0",
3
+ "version": "10.1.1",
4
4
  "private": false,
5
5
  "main": "./dist",
6
6
  "repository": {
@@ -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;