@ndla/video-search 8.0.56-alpha.0 → 8.0.58-alpha.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.
@@ -24,7 +24,6 @@
24
24
  "paddingBlock]___[value:medium",
25
25
  "listStyle]___[value:none",
26
26
  "width]___[value:100%",
27
- "justifyContent]___[value:center",
28
27
  "gap]___[value:medium",
29
28
  "alignItems]___[value:center"
30
29
  ],
package/dist/styles.css CHANGED
@@ -83,10 +83,6 @@
83
83
  margin-left: auto;
84
84
  }
85
85
 
86
- .jc_center {
87
- justify-content: center;
88
- }
89
-
90
86
  .ai_center {
91
87
  align-items: center;
92
88
  }
@@ -16,12 +16,6 @@ const StyledList = styled("ul", {
16
16
  width: "100%"
17
17
  }
18
18
  });
19
- const SpinnerWrapper = styled("div", {
20
- base: {
21
- display: "flex",
22
- justifyContent: "center"
23
- }
24
- });
25
19
  const StyledVideoResultWrapper = styled("div", {
26
20
  base: {
27
21
  display: "flex",
@@ -50,9 +44,7 @@ export const VideoResultList = _ref => {
50
44
  locale: locale,
51
45
  onVideoSelect: onVideoSelect
52
46
  }, `${video.id}-${index}`))
53
- }), isLoading && /*#__PURE__*/_jsx(SpinnerWrapper, {
54
- children: /*#__PURE__*/_jsx(Spinner, {})
55
- }), existsMoreVideos && /*#__PURE__*/_jsx(Button, {
47
+ }), isLoading && /*#__PURE__*/_jsx(Spinner, {}), existsMoreVideos && /*#__PURE__*/_jsx(Button, {
56
48
  onClick: onShowMore,
57
49
  children: translations.loadMoreVideos
58
50
  })]
@@ -22,12 +22,6 @@ const StyledList = (0, _jsx2.styled)("ul", {
22
22
  width: "100%"
23
23
  }
24
24
  });
25
- const SpinnerWrapper = (0, _jsx2.styled)("div", {
26
- base: {
27
- display: "flex",
28
- justifyContent: "center"
29
- }
30
- });
31
25
  const StyledVideoResultWrapper = (0, _jsx2.styled)("div", {
32
26
  base: {
33
27
  display: "flex",
@@ -56,9 +50,7 @@ const VideoResultList = _ref => {
56
50
  locale: locale,
57
51
  onVideoSelect: onVideoSelect
58
52
  }, `${video.id}-${index}`))
59
- }), isLoading && /*#__PURE__*/(0, _jsxRuntime.jsx)(SpinnerWrapper, {
60
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.Spinner, {})
61
- }), existsMoreVideos && /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.Button, {
53
+ }), isLoading && /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.Spinner, {}), existsMoreVideos && /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.Button, {
62
54
  onClick: onShowMore,
63
55
  children: translations.loadMoreVideos
64
56
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/video-search",
3
- "version": "8.0.56-alpha.0",
3
+ "version": "8.0.58-alpha.0",
4
4
  "description": "A simple library for searching NDLA videos",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -26,14 +26,13 @@
26
26
  "es"
27
27
  ],
28
28
  "dependencies": {
29
- "@ndla/icons": "^8.0.41-alpha.0",
29
+ "@ndla/icons": "^8.0.42-alpha.0",
30
30
  "@ndla/licenses": "^8.0.3-alpha.0",
31
- "@ndla/primitives": "^1.0.51-alpha.0",
32
- "@ndla/styled-system": "^0.0.26",
33
- "@ndla/util": "^5.0.0-alpha.0"
31
+ "@ndla/primitives": "^1.0.53-alpha.0",
32
+ "@ndla/styled-system": "^0.0.27"
34
33
  },
35
34
  "devDependencies": {
36
- "@ndla/preset-panda": "^0.0.43",
35
+ "@ndla/preset-panda": "^0.0.44",
37
36
  "@ndla/types-embed": "^5.0.4-alpha.0",
38
37
  "@pandacss/dev": "^0.46.0"
39
38
  },
@@ -44,5 +43,5 @@
44
43
  "publishConfig": {
45
44
  "access": "public"
46
45
  },
47
- "gitHead": "8810ca6acc9306d1f4dc3b2f658cbbd7090e84c5"
46
+ "gitHead": "2efa77f5b96c8c53d39d536d4f428bae6412c862"
48
47
  }