@desynova-digital/components 8.9.3 → 8.9.4

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.
@@ -111,7 +111,7 @@ var Thumbnail = function Thumbnail(props) {
111
111
  * @const
112
112
  */
113
113
  var index = _tokens.CARD_ASSET_STATUS.findIndex(function (label) {
114
- return label.code.includes(upload_status || card_status ? (upload_status || card_status).toLowerCase().split(" ").join("_") : []);
114
+ return label.code.includes(card_status || upload_status ? (card_status || upload_status).toLowerCase().split(" ").join("_") : []);
115
115
  });
116
116
  setStatusIndex(index);
117
117
  }, [upload_status, card_status]);
@@ -169,7 +169,7 @@ var Thumbnail = function Thumbnail(props) {
169
169
  position: "relative",
170
170
  zIndex: "2"
171
171
  },
172
- (upload_status || card_status) && statusIndex && _react2.default.createElement(
172
+ (card_status || upload_status) && statusIndex && _react2.default.createElement(
173
173
  StatusBoxStyles,
174
174
  {
175
175
  hex: _tokens.CARD_ASSET_STATUS[statusIndex] ? _tokens.CARD_ASSET_STATUS[statusIndex].hex : { background: "#AFB2BA" }
@@ -183,7 +183,7 @@ var Thumbnail = function Thumbnail(props) {
183
183
  fontSize: "10px",
184
184
  color: "#FFF"
185
185
  },
186
- upload_status || card_status
186
+ card_status || upload_status
187
187
  )
188
188
  ),
189
189
  actions && actions.length > 0 && actions.map(function (item, i) {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "8.9.3",
3
+ "version": "8.9.4",
4
4
  "description": "Components for Desynova Digital",
5
5
  "main": "index.js",
6
6
  "author": "desynova-digital",
7
7
  "license": "MIT",
8
8
  "repository": "desynova-digital",
9
9
  "dependencies": {
10
- "@desynova-digital/tokens": "8.9.3",
10
+ "@desynova-digital/tokens": "8.9.4",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },