@sproutsocial/racine 9.0.1 → 9.0.2

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
+ ## 9.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 3215099: bug fix for mix blend mode
8
+
3
9
  ## 9.0.1
4
10
 
5
11
  ### Patch Changes
@@ -87,7 +87,9 @@ const Container: StyledComponent<any, TypeTheme, *> = styled.button`
87
87
  align-items: center;
88
88
  justify-content: center;
89
89
  /* This solution is temporary. DS-1095 */
90
- mix-blend-mode: ${props.theme.mode ? "screen" : "multiply"};
90
+ mix-blend-mode: ${props.theme.mode === "default-dark"
91
+ ? "screen"
92
+ : "multiply"};
91
93
 
92
94
  ${pill}
93
95
  `}
@@ -35,7 +35,9 @@ export const InputWrapper = styled<typeof Box, TypeTheme, any>(Box)`
35
35
  transition: all ${(props) => props.theme.duration.fast}
36
36
  ${(props) => props.theme.easing.ease_inout};
37
37
  /* This solution is temporary. DS-1095 */
38
- mix-blend-mode: ${props.theme.mode ? "screen" : "multiply"};
38
+ mix-blend-mode: ${props.theme.mode === "default-dark"
39
+ ? "screen"
40
+ : "multiply"};
39
41
  ${pill}
40
42
 
41
43
  &:hover {
@@ -57,7 +57,7 @@ var Container = _styledComponents.default.button.withConfig({
57
57
  }, function (props) {
58
58
  return props.disabled && _mixins.disabled;
59
59
  }, function (props) {
60
- return props.appearance === "pill" && (0, _styledComponents.css)(["display:inline-flex;align-items:center;justify-content:center;mix-blend-mode:", ";", ""], props.theme.mode ? "screen" : "multiply", _mixins.pill);
60
+ return props.appearance === "pill" && (0, _styledComponents.css)(["display:inline-flex;align-items:center;justify-content:center;mix-blend-mode:", ";", ""], props.theme.mode === "default-dark" ? "screen" : "multiply", _mixins.pill);
61
61
  }, _styles.default, _systemProps.LAYOUT, _systemProps.COMMON);
62
62
 
63
63
  var _default = Container; //${props.theme.mode === "dark" ? "screen" : "multiply"}
@@ -40,7 +40,7 @@ var InputWrapper = (0, _styledComponents.default)(_Box.default).withConfig({
40
40
  return props.theme.duration.fast;
41
41
  }, function (props) {
42
42
  return props.theme.easing.ease_inout;
43
- }, props.theme.mode ? "screen" : "multiply", _mixins.pill, props.theme.colors.app.background.base, PillInput, _mixins.pill);
43
+ }, props.theme.mode === "default-dark" ? "screen" : "multiply", _mixins.pill, props.theme.colors.app.background.base, PillInput, _mixins.pill);
44
44
  });
45
45
  exports.InputWrapper = InputWrapper;
46
46
  InputWrapper.displayName = "InputWrapper";
@@ -42,6 +42,6 @@ var Container = styled.button.withConfig({
42
42
  }, function (props) {
43
43
  return props.disabled && disabled;
44
44
  }, function (props) {
45
- return props.appearance === "pill" && css(["display:inline-flex;align-items:center;justify-content:center;mix-blend-mode:", ";", ""], props.theme.mode ? "screen" : "multiply", pill);
45
+ return props.appearance === "pill" && css(["display:inline-flex;align-items:center;justify-content:center;mix-blend-mode:", ";", ""], props.theme.mode === "default-dark" ? "screen" : "multiply", pill);
46
46
  }, Icon, LAYOUT, COMMON);
47
47
  export default Container; //${props.theme.mode === "dark" ? "screen" : "multiply"}
@@ -22,7 +22,7 @@ export var InputWrapper = styled(Box).withConfig({
22
22
  return props.theme.duration.fast;
23
23
  }, function (props) {
24
24
  return props.theme.easing.ease_inout;
25
- }, props.theme.mode ? "screen" : "multiply", pill, props.theme.colors.app.background.base, PillInput, pill);
25
+ }, props.theme.mode === "default-dark" ? "screen" : "multiply", pill, props.theme.colors.app.background.base, PillInput, pill);
26
26
  });
27
27
  InputWrapper.displayName = "InputWrapper";
28
28
  export var CheckboxBox = styled.div.withConfig({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/racine",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "__flow__",