@ndla/video-search 5.0.29 → 6.0.0
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 +1 -1
- package/es/index.js +1 -2
- package/lib/index.d.ts +1 -2
- package/lib/index.js +7 -10
- package/package.json +6 -6
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,
|
|
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
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -3,13 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "A simple library for searching NDLA videos",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"@ndla/types-embed": "^4.1.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@ndla/button": "^12.0.
|
|
37
|
+
"@ndla/button": "^12.0.38",
|
|
38
38
|
"@ndla/core": "^4.5.0",
|
|
39
|
-
"@ndla/forms": "^7.0.
|
|
40
|
-
"@ndla/icons": "^
|
|
39
|
+
"@ndla/forms": "^7.0.7",
|
|
40
|
+
"@ndla/icons": "^6.0.0",
|
|
41
41
|
"@ndla/licenses": "^7.2.5",
|
|
42
|
-
"@ndla/notion": "^6.0.
|
|
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": "
|
|
48
|
+
"gitHead": "ae7b0eeb9ec17066999f7d2186bd31251b88ed4b"
|
|
49
49
|
}
|