@ndla/video-search 1.4.16 → 1.4.19
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.
- package/es/VideoSearch.js +4 -4
- package/lib/VideoSearch.js +8 -4
- package/package.json +7 -7
package/es/VideoSearch.js
CHANGED
|
@@ -33,7 +33,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
33
33
|
* LICENSE file in the root directory of this source tree.
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
|
-
import React from 'react';
|
|
36
|
+
import React, { Component } from 'react';
|
|
37
37
|
import PropTypes from 'prop-types';
|
|
38
38
|
import BEMHelper from 'react-bem-helper';
|
|
39
39
|
import Pager from '@ndla/pager';
|
|
@@ -48,8 +48,8 @@ var classes = new BEMHelper({
|
|
|
48
48
|
prefix: 'c-'
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
var VideoSearch = /*#__PURE__*/function (
|
|
52
|
-
_inherits(VideoSearch,
|
|
51
|
+
var VideoSearch = /*#__PURE__*/function (_Component) {
|
|
52
|
+
_inherits(VideoSearch, _Component);
|
|
53
53
|
|
|
54
54
|
var _super = _createSuper(VideoSearch);
|
|
55
55
|
|
|
@@ -293,7 +293,7 @@ var VideoSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
293
293
|
}]);
|
|
294
294
|
|
|
295
295
|
return VideoSearch;
|
|
296
|
-
}(
|
|
296
|
+
}(Component);
|
|
297
297
|
|
|
298
298
|
VideoSearch.propTypes = {
|
|
299
299
|
onVideoSelect: PropTypes.func.isRequired,
|
package/lib/VideoSearch.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
|
|
8
|
-
var _react =
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
@@ -27,6 +27,10 @@ var _core = require("@emotion/core");
|
|
|
27
27
|
|
|
28
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
29
29
|
|
|
30
|
+
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
31
|
+
|
|
32
|
+
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
33
|
+
|
|
30
34
|
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
31
35
|
|
|
32
36
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -60,8 +64,8 @@ var classes = new _reactBemHelper["default"]({
|
|
|
60
64
|
prefix: 'c-'
|
|
61
65
|
});
|
|
62
66
|
|
|
63
|
-
var VideoSearch = /*#__PURE__*/function (
|
|
64
|
-
_inherits(VideoSearch,
|
|
67
|
+
var VideoSearch = /*#__PURE__*/function (_Component) {
|
|
68
|
+
_inherits(VideoSearch, _Component);
|
|
65
69
|
|
|
66
70
|
var _super = _createSuper(VideoSearch);
|
|
67
71
|
|
|
@@ -305,7 +309,7 @@ var VideoSearch = /*#__PURE__*/function (_React$Component) {
|
|
|
305
309
|
}]);
|
|
306
310
|
|
|
307
311
|
return VideoSearch;
|
|
308
|
-
}(_react
|
|
312
|
+
}(_react.Component);
|
|
309
313
|
|
|
310
314
|
VideoSearch.propTypes = {
|
|
311
315
|
onVideoSelect: _propTypes["default"].func.isRequired,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/video-search",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.19",
|
|
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.1.
|
|
28
|
+
"@ndla/button": "^1.1.8",
|
|
29
29
|
"@ndla/core": "^0.7.3",
|
|
30
|
-
"@ndla/icons": "^1.
|
|
31
|
-
"@ndla/licenses": "^1.
|
|
32
|
-
"@ndla/tabs": "^1.0.
|
|
33
|
-
"@ndla/util": "^2.0.
|
|
30
|
+
"@ndla/icons": "^1.5.0",
|
|
31
|
+
"@ndla/licenses": "^1.2.0",
|
|
32
|
+
"@ndla/tabs": "^1.0.18",
|
|
33
|
+
"@ndla/util": "^2.0.2",
|
|
34
34
|
"react-bem-helper": "^1.4.1"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "0d5cdcb5cb47c44c57fb2c08843808ebb156312d"
|
|
40
40
|
}
|