@ndla/image-search 2.0.27 → 2.0.30

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.
@@ -6,7 +6,6 @@
6
6
  *
7
7
  */
8
8
  import React from 'react';
9
- //@ts-ignore
10
9
  import Button from '@ndla/button';
11
10
  import PreviewImage from './PreviewImage';
12
11
  import { getPreviewSrcSets } from './util/imageUtil';
@@ -17,8 +17,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
17
17
  * LICENSE file in the root directory of this source tree.
18
18
  *
19
19
  */
20
- import React, { useState } from 'react'; //@ts-ignore
21
-
20
+ import React, { useState } from 'react';
22
21
  import Button from '@ndla/button';
23
22
  import { uuid } from '@ndla/util'; //@ts-ignore
24
23
 
@@ -24,7 +24,6 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
24
24
  * LICENSE file in the root directory of this source tree.
25
25
  *
26
26
  */
27
- //@ts-ignore
28
27
  function ImageSearchResult(_ref) {
29
28
  var image = _ref.image,
30
29
  onImageClick = _ref.onImageClick,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/image-search",
3
- "version": "2.0.27",
3
+ "version": "2.0.30",
4
4
  "description": "A simple library for searching images from NDLA",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -26,12 +26,12 @@
26
26
  "es"
27
27
  ],
28
28
  "dependencies": {
29
- "@ndla/button": "^1.1.7",
29
+ "@ndla/button": "^1.1.9",
30
30
  "@ndla/core": "^0.7.3",
31
- "@ndla/forms": "^1.0.61",
31
+ "@ndla/forms": "^1.0.64",
32
32
  "@ndla/icons": "^1.5.0",
33
- "@ndla/licenses": "^1.1.9",
34
- "@ndla/pager": "^1.0.16",
33
+ "@ndla/licenses": "^1.2.0",
34
+ "@ndla/pager": "^1.0.18",
35
35
  "@ndla/util": "^2.0.2"
36
36
  },
37
37
  "devDependencies": {
@@ -46,5 +46,5 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "63132efa78e4835f583b9f5bf65f1479effb884a"
49
+ "gitHead": "9f4bd84b859a10ffc128aa5b2f797f2db1505595"
50
50
  }