@desynova-digital/components 9.2.14 → 9.2.16

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.
@@ -45,11 +45,11 @@ var CardStyles = _styledComponents["default"].div(_templateObject6 || (_template
45
45
  return width === 'sm' ? 'auto' : width === 'md' ? '125px' : '222px';
46
46
  }, function (_ref3) {
47
47
  var upload_type = _ref3.upload_type;
48
- return upload_type === 'RC' ? "\n 0 0 0 1px rgba(255,140,0,0.45),\n 0 12px 35px rgba(0,0,0,0.55),\n 0 0 28px rgba(255,140,0,0.18)\n " : "\n 0 0 0 1px rgba(13,247,169,0.45),\n 0 12px 35px rgba(0,0,0,0.55),\n 0 0 28px rgba(13,247,169,0.18)\n ";
48
+ return String(upload_type || '').toLowerCase() === 'rc' ? "\n 0 0 0 1px rgba(255,140,0,0.45),\n 0 12px 35px rgba(0,0,0,0.55),\n 0 0 28px rgba(255,140,0,0.18)\n " : "\n 0 0 0 1px rgba(13,247,169,0.45),\n 0 12px 35px rgba(0,0,0,0.55),\n 0 0 28px rgba(13,247,169,0.18)\n ";
49
49
  }, function (_ref4) {
50
50
  var upload_type = _ref4.upload_type,
51
51
  ingest_db_id = _ref4.ingest_db_id;
52
- return upload_type === 'RC' ? 'rgba(255, 141, 41, 0.2)' : !ingest_db_id ? 'rgba(48, 63, 81, 0.2)' : 'rgba(24, 185, 110, 0.2)';
52
+ return String(upload_type || '').toLowerCase() === 'rc' ? 'rgba(255, 141, 41, 0.2)' : !ingest_db_id ? 'rgba(48, 63, 81, 0.2)' : 'rgba(24, 185, 110, 0.2)';
53
53
  });
54
54
  var CardV2 = function CardV2(props) {
55
55
  var width = props.width,
@@ -214,7 +214,7 @@ var ThumbnailV2 = function ThumbnailV2(props) {
214
214
  }, /*#__PURE__*/_react["default"].createElement("div", {
215
215
  className: "circle"
216
216
  }, /*#__PURE__*/_react["default"].createElement(_icon["default"], {
217
- name: file_type == 'video' && value == 'collateral' ? 'videoFile-icon' : "".concat(file_type, "-icon"),
217
+ name: file_type == 'video' && value == 'collateral' ? 'video-icon' : "".concat(file_type, "-icon"),
218
218
  width: 15,
219
219
  height: 15
220
220
  }))) : null, iframeurl && /*#__PURE__*/_react["default"].createElement("div", {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "9.2.14",
3
+ "version": "9.2.16",
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": "9.2.14",
10
+ "@desynova-digital/tokens": "9.2.16",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },