@atlaskit/smart-card 19.1.23 → 19.1.24

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
  # @atlaskit/smart-card
2
2
 
3
+ ## 19.1.24
4
+
5
+ ### Patch Changes
6
+
7
+ - [`cd729a0a41b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cd729a0a41b) - [ux][ed-15030] Set the background color of smart cards properly in dark mode
8
+
3
9
  ## 19.1.23
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.23",
3
+ "version": "19.1.24",
4
4
  "sideEffects": false
5
5
  }
@@ -78,7 +78,7 @@ var Wrapper = _styled.default.a(_templateObject || (_templateObject = (0, _tagge
78
78
  }), function (props) {
79
79
  return props.withoutBackground ? '' : (0, _components.themed)({
80
80
  light: (0, _tokens.token)('elevation.surface.raised', 'white'),
81
- dark: (0, _tokens.token)('elevation.surface.raised', 'BACKGROUND_COLOR_DARK')
81
+ dark: (0, _tokens.token)('elevation.surface.raised', BACKGROUND_COLOR_DARK)
82
82
  });
83
83
  }, function (props) {
84
84
  return props.withoutBackground ? '' : (0, _components.themed)({
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.23",
3
+ "version": "19.1.24",
4
4
  "sideEffects": false
5
5
  }
@@ -91,7 +91,7 @@ export const Wrapper = styled.a`
91
91
  })};
92
92
  background-color: ${props => props.withoutBackground ? '' : themed({
93
93
  light: token('elevation.surface.raised', 'white'),
94
- dark: token('elevation.surface.raised', 'BACKGROUND_COLOR_DARK')
94
+ dark: token('elevation.surface.raised', BACKGROUND_COLOR_DARK)
95
95
  })};
96
96
  ${props => props.withoutBackground ? '' : themed({
97
97
  light: `box-shadow: ${token('elevation.shadow.raised', `0 1px 1px ${N50A}, 0 0 1px 1px ${N40A}`)};`,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.23",
3
+ "version": "19.1.24",
4
4
  "sideEffects": false
5
5
  }
@@ -63,7 +63,7 @@ export var Wrapper = styled.a(_templateObject || (_templateObject = _taggedTempl
63
63
  }), function (props) {
64
64
  return props.withoutBackground ? '' : themed({
65
65
  light: token('elevation.surface.raised', 'white'),
66
- dark: token('elevation.surface.raised', 'BACKGROUND_COLOR_DARK')
66
+ dark: token('elevation.surface.raised', BACKGROUND_COLOR_DARK)
67
67
  });
68
68
  }, function (props) {
69
69
  return props.withoutBackground ? '' : themed({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "19.1.23",
3
+ "version": "19.1.24",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,7 +36,7 @@
36
36
  "@atlaskit/linking-common": "^1.1.0",
37
37
  "@atlaskit/logo": "^13.7.0",
38
38
  "@atlaskit/lozenge": "^11.1.0",
39
- "@atlaskit/media-common": "^2.14.0",
39
+ "@atlaskit/media-common": "^2.15.0",
40
40
  "@atlaskit/modal-dialog": "^12.2.0",
41
41
  "@atlaskit/outbound-auth-flow-client": "^3.3.0",
42
42
  "@atlaskit/popup": "^1.3.0",