@ndla/video-search 1.4.1 → 1.4.4-alpha.25

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.
@@ -11,7 +11,7 @@ import React from 'react';
11
11
  import PropTypes from 'prop-types';
12
12
  import Button from '@ndla/button';
13
13
  import { LicenseByline, getLicenseByNBTitle } from '@ndla/licenses';
14
- import { Rotation3D } from '@ndla/icons/common';
14
+ import { PanoramaPhotosphere } from '@ndla/icons/common';
15
15
  import BEMHelper from 'react-bem-helper';
16
16
  import PreviewVideo from './PreviewVideo';
17
17
  import { LicenseShape, BrightcoveShape } from './shapes';
@@ -37,7 +37,7 @@ export default function VideoSearchResultBrightcove(_ref) {
37
37
  role: "presentation",
38
38
  alt: "presentation",
39
39
  src: thumbnailSource
40
- }), ___EmotionJSX("div", classes('information'), ___EmotionJSX("h2", classes('header'), video.name || '', is360video && ___EmotionJSX(Rotation3D, null)), ___EmotionJSX("div", classes('copyright-author'), video.custom_fields && video.custom_fields.licenseinfo ? video.custom_fields.licenseinfo : ''), ___EmotionJSX("div", classes('license'), license.rights ? ___EmotionJSX(LicenseByline, {
40
+ }), ___EmotionJSX("div", classes('information'), ___EmotionJSX("h2", classes('header'), video.name || '', is360video && ___EmotionJSX(PanoramaPhotosphere, null)), ___EmotionJSX("div", classes('copyright-author'), video.custom_fields && video.custom_fields.licenseinfo ? video.custom_fields.licenseinfo : ''), ___EmotionJSX("div", classes('license'), license.rights ? ___EmotionJSX(LicenseByline, {
41
41
  licenseRights: license.rights,
42
42
  locale: locale
43
43
  }) : license), ___EmotionJSX(Button, _extends({}, classes('button'), {
@@ -49,7 +49,7 @@ function VideoSearchResultBrightcove(_ref) {
49
49
  role: "presentation",
50
50
  alt: "presentation",
51
51
  src: thumbnailSource
52
- }), (0, _core.jsx)("div", classes('information'), (0, _core.jsx)("h2", classes('header'), video.name || '', is360video && (0, _core.jsx)(_common.Rotation3D, null)), (0, _core.jsx)("div", classes('copyright-author'), video.custom_fields && video.custom_fields.licenseinfo ? video.custom_fields.licenseinfo : ''), (0, _core.jsx)("div", classes('license'), license.rights ? (0, _core.jsx)(_licenses.LicenseByline, {
52
+ }), (0, _core.jsx)("div", classes('information'), (0, _core.jsx)("h2", classes('header'), video.name || '', is360video && (0, _core.jsx)(_common.PanoramaPhotosphere, null)), (0, _core.jsx)("div", classes('copyright-author'), video.custom_fields && video.custom_fields.licenseinfo ? video.custom_fields.licenseinfo : ''), (0, _core.jsx)("div", classes('license'), license.rights ? (0, _core.jsx)(_licenses.LicenseByline, {
53
53
  licenseRights: license.rights,
54
54
  locale: locale
55
55
  }) : license), (0, _core.jsx)(_button["default"], _extends({}, classes('button'), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/video-search",
3
- "version": "1.4.1",
3
+ "version": "1.4.4-alpha.25+17b732739",
4
4
  "description": "A simple library for searching NDLA videos",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -25,16 +25,16 @@
25
25
  "react-bem-helper": "^1.4.1"
26
26
  },
27
27
  "dependencies": {
28
- "@ndla/button": "^1.0.5",
28
+ "@ndla/button": "^1.0.7-alpha.28+17b732739",
29
29
  "@ndla/core": "^0.7.2",
30
- "@ndla/icons": "^1.3.0",
31
- "@ndla/licenses": "^1.0.6",
32
- "@ndla/tabs": "^1.0.6",
33
- "@ndla/util": "^1.1.0",
30
+ "@ndla/icons": "^1.3.1",
31
+ "@ndla/licenses": "^1.0.7",
32
+ "@ndla/tabs": "^1.0.8",
33
+ "@ndla/util": "^2.0.0",
34
34
  "react-bem-helper": "^1.4.1"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "b61a0491d2c9e7b92d1a7648e9fb3d529d2f37c1"
39
+ "gitHead": "17b7327392ad2fe9c3bec949912f0c521ca560c5"
40
40
  }