@ndla/video-search 2.1.16 → 2.1.17

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.
@@ -12,7 +12,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
12
12
  import React from 'react';
13
13
  import PropTypes from 'prop-types';
14
14
  import Button from '@ndla/button';
15
- import { LicenseByline, getLicenseByNBTitle } from '@ndla/licenses';
15
+ import { getLicenseByNBTitle } from '@ndla/licenses';
16
+ import { LicenseByline } from '@ndla/notion';
16
17
  import { PanoramaPhotosphere } from '@ndla/icons/common';
17
18
  import BEMHelper from 'react-bem-helper';
18
19
  import PreviewVideo from './PreviewVideo';
@@ -8,6 +8,7 @@ var _react = _interopRequireDefault(require("react"));
8
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
9
9
  var _button = _interopRequireDefault(require("@ndla/button"));
10
10
  var _licenses = require("@ndla/licenses");
11
+ var _notion = require("@ndla/notion");
11
12
  var _common = require("@ndla/icons/common");
12
13
  var _reactBemHelper = _interopRequireDefault(require("react-bem-helper"));
13
14
  var _PreviewVideo = _interopRequireDefault(require("./PreviewVideo"));
@@ -44,7 +45,7 @@ function VideoSearchResultBrightcove(_ref) {
44
45
  })), (0, _jsxRuntime.jsx)("div", _objectSpread(_objectSpread({}, classes('copyright-author')), {}, {
45
46
  children: video.custom_fields && video.custom_fields.licenseinfo ? video.custom_fields.licenseinfo : ''
46
47
  })), (0, _jsxRuntime.jsx)("div", _objectSpread(_objectSpread({}, classes('license')), {}, {
47
- children: license.rights ? (0, _jsxRuntime.jsx)(_licenses.LicenseByline, {
48
+ children: license.rights ? (0, _jsxRuntime.jsx)(_notion.LicenseByline, {
48
49
  licenseRights: license.rights,
49
50
  locale: locale
50
51
  }) : license
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/video-search",
3
- "version": "2.1.16",
3
+ "version": "2.1.17",
4
4
  "description": "A simple library for searching NDLA videos",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -30,7 +30,8 @@
30
30
  "dependencies": {
31
31
  "@ndla/button": "^9.1.1",
32
32
  "@ndla/icons": "^2.2.2",
33
- "@ndla/licenses": "^6.2.1",
33
+ "@ndla/licenses": "^7.0.0",
34
+ "@ndla/notion": "^4.2.0",
34
35
  "@ndla/pager": "^2.1.15",
35
36
  "@ndla/tabs": "^2.1.4",
36
37
  "react-bem-helper": "^1.4.1"
@@ -38,5 +39,5 @@
38
39
  "publishConfig": {
39
40
  "access": "public"
40
41
  },
41
- "gitHead": "00c5d82d0e126d0f3d83c1852f47104564261222"
42
+ "gitHead": "4fc4795e0c59dfa2ca1d7affeec3e179b25abb05"
42
43
  }