@desynova-digital/components 9.2.13 → 9.2.15

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,
@@ -218,7 +218,7 @@ var ContentV2 = function ContentV2(props) {
218
218
  className: "footer-row"
219
219
  }, (date_count_label || creation) && /*#__PURE__*/_react["default"].createElement("span", {
220
220
  className: "footer-text"
221
- }, date_count_label || creation), (identifier_label || extension) && /*#__PURE__*/_react["default"].createElement("span", {
221
+ }, date_count_label || creation), (identifier_label || extension) && asset_type != 'movie' && /*#__PURE__*/_react["default"].createElement("span", {
222
222
  className: "footer-text"
223
223
  }, identifier_label || extension), language_label && /*#__PURE__*/_react["default"].createElement("span", {
224
224
  className: "footer-text-language"
@@ -1565,10 +1565,10 @@
1565
1565
  },
1566
1566
  "video-icon": {
1567
1567
  "paths": [
1568
- "M1.8 3.6H0V16.2C0 17.19 0.81 18 1.8 18H14.4V16.2H1.8V3.6ZM16.2 0H5.4C4.41 0 3.6 0.81 3.6 1.8V12.6C3.6 13.59 4.41 14.4 5.4 14.4H16.2C17.19 14.4 18 13.59 18 12.6V1.8C18 0.81 17.19 0 16.2 0ZM16.2 12.6H5.4V1.8H16.2V12.6ZM9 3.15V11.25L14.4 7.2L9 3.15Z"
1568
+ "M7.125 9.375L12.375 6L7.125 2.625V9.375ZM4.5 12C4.0875 12 3.73438 11.8531 3.44063 11.5594C3.14688 11.2656 3 10.9125 3 10.5V1.5C3 1.0875 3.14688 0.734375 3.44063 0.440625C3.73438 0.146875 4.0875 0 4.5 0H13.5C13.9125 0 14.2656 0.146875 14.5594 0.440625C14.8531 0.734375 15 1.0875 15 1.5V10.5C15 10.9125 14.8531 11.2656 14.5594 11.5594C14.2656 11.8531 13.9125 12 13.5 12H4.5ZM1.5 15C1.0875 15 0.734375 14.8531 0.440625 14.5594C0.146875 14.2656 0 13.9125 0 13.5V3H1.5V13.5H12V15H1.5Z"
1569
1569
  ],
1570
- "width": 18,
1571
- "height": 18
1570
+ "width": 15,
1571
+ "height": 15
1572
1572
  },
1573
1573
  "enhance": {
1574
1574
  "paths": [
@@ -1962,13 +1962,6 @@
1962
1962
  "width": 14,
1963
1963
  "height": 14
1964
1964
  },
1965
- "videoFile-icon": {
1966
- "paths": [
1967
- "M7.125 9.375L12.375 6L7.125 2.625V9.375ZM4.5 12C4.0875 12 3.73438 11.8531 3.44063 11.5594C3.14688 11.2656 3 10.9125 3 10.5V1.5C3 1.0875 3.14688 0.734375 3.44063 0.440625C3.73438 0.146875 4.0875 0 4.5 0H13.5C13.9125 0 14.2656 0.146875 14.5594 0.440625C14.8531 0.734375 15 1.0875 15 1.5V10.5C15 10.9125 14.8531 11.2656 14.5594 11.5594C14.2656 11.8531 13.9125 12 13.5 12H4.5ZM1.5 15C1.0875 15 0.734375 14.8531 0.440625 14.5594C0.146875 14.2656 0 13.9125 0 13.5V3H1.5V13.5H12V15H1.5Z"
1968
- ],
1969
- "width": 15,
1970
- "height": 15
1971
- },
1972
1965
  "folder-icon": {
1973
1966
  "paths": [
1974
1967
  "M16.441 5.33442L4.69276 5.76392C4.30397 5.76392 4.07727 5.90716 3.97018 6.27505L1.53146 14.4859C1.43063 14.8349 0.947272 14.9982 0.61102 14.9982C0.274993 14.9982 0 14.7275 0 14.3968V12.0957V2.66853V2.21813V0.837876C0 0.375152 0.381189 0 0.85136 0H6.9003C7.12611 0 7.34253 0.0882322 7.50216 0.245334L9.25719 1.97257C9.41682 2.12967 9.63346 2.21791 9.85905 2.21791H15.5896C16.0598 2.21791 16.441 2.59306 16.441 3.05578V3.34204V5.33442Z",
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "9.2.13",
3
+ "version": "9.2.15",
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.13",
10
+ "@desynova-digital/tokens": "9.2.15",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },