@sproutsocial/racine 7.5.0 → 7.6.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 7.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b69f92a: fix(token) hover styling for invalid tokens
8
+
3
9
  ## 7.5.0
4
10
 
5
11
  ### Minor Changes
@@ -57,6 +57,8 @@ const Container: StyledComponent<any, TypeTheme, *> = styled.button`
57
57
 
58
58
  &:hover {
59
59
  color: ${(props) => props.theme.colors.text.inverse};
60
+ border-color: ${(props) => props.theme.colors.red[900]};
61
+ background: ${(props) => props.theme.colors.red[900]};
60
62
  }
61
63
  `}
62
64
 
@@ -49,7 +49,7 @@ var Container = _styledComponents.default.button.withConfig({
49
49
  }, function (props) {
50
50
  return props.disabled && (0, _styledComponents.css)(["opacity:0.4;cursor:not-allowed;"]);
51
51
  }, function (props) {
52
- return !props.valid && (0, _styledComponents.css)(["color:", ";border-color:", ";background:", ";&:hover{color:", ";}"], function (props) {
52
+ return !props.valid && (0, _styledComponents.css)(["color:", ";border-color:", ";background:", ";&:hover{color:", ";border-color:", ";background:", ";}"], function (props) {
53
53
  return props.theme.colors.text.inverse;
54
54
  }, function (props) {
55
55
  return props.theme.colors.error.color;
@@ -57,6 +57,10 @@ var Container = _styledComponents.default.button.withConfig({
57
57
  return props.theme.colors.error.color;
58
58
  }, function (props) {
59
59
  return props.theme.colors.text.inverse;
60
+ }, function (props) {
61
+ return props.theme.colors.red[900];
62
+ }, function (props) {
63
+ return props.theme.colors.red[900];
60
64
  });
61
65
  }, _systemProps.COMMON);
62
66
 
@@ -37,7 +37,7 @@ var Container = styled.button.withConfig({
37
37
  }, function (props) {
38
38
  return props.disabled && css(["opacity:0.4;cursor:not-allowed;"]);
39
39
  }, function (props) {
40
- return !props.valid && css(["color:", ";border-color:", ";background:", ";&:hover{color:", ";}"], function (props) {
40
+ return !props.valid && css(["color:", ";border-color:", ";background:", ";&:hover{color:", ";border-color:", ";background:", ";}"], function (props) {
41
41
  return props.theme.colors.text.inverse;
42
42
  }, function (props) {
43
43
  return props.theme.colors.error.color;
@@ -45,6 +45,10 @@ var Container = styled.button.withConfig({
45
45
  return props.theme.colors.error.color;
46
46
  }, function (props) {
47
47
  return props.theme.colors.text.inverse;
48
+ }, function (props) {
49
+ return props.theme.colors.red[900];
50
+ }, function (props) {
51
+ return props.theme.colors.red[900];
48
52
  });
49
53
  }, COMMON);
50
54
  export default Container;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/racine",
3
- "version": "7.5.0",
3
+ "version": "7.6.0",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "__flow__",