@ndla/video-search 4.1.19 → 4.1.21
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.
|
@@ -60,7 +60,7 @@ export default function VideoSearchResultBrightcove(_ref) {
|
|
|
60
60
|
},
|
|
61
61
|
children: translations.previewVideo
|
|
62
62
|
})), _jsx(ButtonV2, _objectSpread(_objectSpread({
|
|
63
|
-
"data-
|
|
63
|
+
"data-testid": "use-video"
|
|
64
64
|
}, classes('button')), {}, {
|
|
65
65
|
onClick: function onClick() {
|
|
66
66
|
return onSelectVideo(video);
|
|
@@ -59,7 +59,7 @@ export default function VideoSearchResultYouTube(_ref) {
|
|
|
59
59
|
},
|
|
60
60
|
children: translations.previewVideo
|
|
61
61
|
})), _jsx(ButtonV2, _objectSpread(_objectSpread({
|
|
62
|
-
"data-
|
|
62
|
+
"data-testid": "use-video"
|
|
63
63
|
}, classes('button')), {}, {
|
|
64
64
|
onClick: function onClick() {
|
|
65
65
|
return onSelectVideo(video);
|
|
@@ -64,7 +64,7 @@ function VideoSearchResultBrightcove(_ref) {
|
|
|
64
64
|
},
|
|
65
65
|
children: translations.previewVideo
|
|
66
66
|
})), (0, _jsxRuntime.jsx)(_button.ButtonV2, _objectSpread(_objectSpread({
|
|
67
|
-
"data-
|
|
67
|
+
"data-testid": "use-video"
|
|
68
68
|
}, classes('button')), {}, {
|
|
69
69
|
onClick: function onClick() {
|
|
70
70
|
return onSelectVideo(video);
|
|
@@ -63,7 +63,7 @@ function VideoSearchResultYouTube(_ref) {
|
|
|
63
63
|
},
|
|
64
64
|
children: translations.previewVideo
|
|
65
65
|
})), (0, _jsxRuntime.jsx)(_button.ButtonV2, _objectSpread(_objectSpread({
|
|
66
|
-
"data-
|
|
66
|
+
"data-testid": "use-video"
|
|
67
67
|
}, classes('button')), {}, {
|
|
68
68
|
onClick: function onClick() {
|
|
69
69
|
return onSelectVideo(video);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/video-search",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.21",
|
|
4
4
|
"description": "A simple library for searching NDLA videos",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ndla/button": "^11.0.7",
|
|
35
35
|
"@ndla/icons": "^4.0.6",
|
|
36
|
-
"@ndla/licenses": "^7.1.
|
|
37
|
-
"@ndla/notion": "^5.0.
|
|
36
|
+
"@ndla/licenses": "^7.1.4",
|
|
37
|
+
"@ndla/notion": "^5.0.24",
|
|
38
38
|
"@ndla/pager": "^2.2.21",
|
|
39
39
|
"@ndla/tabs": "^3.0.8",
|
|
40
40
|
"react-bem-helper": "^1.4.1"
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "4fcf1c6c35e6612269adbe3878fd773d7fdd9cd2"
|
|
46
46
|
}
|