@ndla/video-search 5.0.29 → 6.0.1

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/README.md CHANGED
@@ -19,7 +19,7 @@ npm install @ndla/video-search
19
19
  To use the `VideoSearch` component, you will need to provide translations and a function for searching for videos.
20
20
 
21
21
  ```tsx
22
- import VideoSearch, { VideoQueryType } from "@ndla/video-search";
22
+ import { VideoSearch, VideoQueryType } from "@ndla/video-search";
23
23
  import { BrightcoveApiType } from "@ndla/types-embed";
24
24
 
25
25
  const onVideoSelect = (image: BrightcoveApiType) => {
package/es/index.js CHANGED
@@ -6,5 +6,4 @@
6
6
  *
7
7
  */
8
8
 
9
- import { VideoSearch } from "./VideoSearch";
10
- export default VideoSearch;
9
+ export { VideoSearch } from "./VideoSearch";
package/lib/index.d.ts CHANGED
@@ -5,6 +5,5 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  */
8
- import { VideoSearch } from "./VideoSearch";
9
8
  export type { VideoQueryType } from "./VideoSearch";
10
- export default VideoSearch;
9
+ export { VideoSearch } from "./VideoSearch";
package/lib/index.js CHANGED
@@ -3,13 +3,10 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = void 0;
7
- var _VideoSearch = require("./VideoSearch");
8
- /**
9
- * Copyright (c) 2017-present, NDLA.
10
- *
11
- * This source code is licensed under the GPLv3 license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- *
14
- */
15
- var _default = exports.default = _VideoSearch.VideoSearch;
6
+ Object.defineProperty(exports, "VideoSearch", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _VideoSearch.VideoSearch;
10
+ }
11
+ });
12
+ var _VideoSearch = require("./VideoSearch");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/video-search",
3
- "version": "5.0.29",
3
+ "version": "6.0.1",
4
4
  "description": "A simple library for searching NDLA videos",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -31,19 +31,19 @@
31
31
  "react-dom": ">= 16.8.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@ndla/types-embed": "^4.1.0"
34
+ "@ndla/types-embed": "^4.1.1"
35
35
  },
36
36
  "dependencies": {
37
- "@ndla/button": "^12.0.37",
37
+ "@ndla/button": "^12.0.38",
38
38
  "@ndla/core": "^4.5.0",
39
- "@ndla/forms": "^7.0.6",
40
- "@ndla/icons": "^5.1.1",
39
+ "@ndla/forms": "^7.0.7",
40
+ "@ndla/icons": "^6.0.0",
41
41
  "@ndla/licenses": "^7.2.5",
42
- "@ndla/notion": "^6.0.35",
42
+ "@ndla/notion": "^6.0.36",
43
43
  "@ndla/util": "^4.0.4"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "3ca4cce5d4827f475a03a1e8fe4e2858c6ea3814"
48
+ "gitHead": "5a808c292eb3b4ca8281c1084930c7316051a375"
49
49
  }