@ndla/ui 34.3.1 → 34.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/ui",
3
- "version": "34.3.1",
3
+ "version": "34.3.2",
4
4
  "description": "UI component library for NDLA.",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -35,14 +35,14 @@
35
35
  "@ndla/button": "^9.1.0",
36
36
  "@ndla/carousel": "^3.0.1",
37
37
  "@ndla/core": "^3.1.0",
38
- "@ndla/forms": "^4.2.2",
38
+ "@ndla/forms": "^4.2.3",
39
39
  "@ndla/hooks": "^1.2.0",
40
40
  "@ndla/icons": "^2.2.1",
41
41
  "@ndla/licenses": "^6.2.0",
42
42
  "@ndla/modal": "^2.2.4",
43
43
  "@ndla/notion": "^4.1.17",
44
44
  "@ndla/safelink": "^4.0.5",
45
- "@ndla/switch": "^1.0.4",
45
+ "@ndla/switch": "^1.0.5",
46
46
  "@ndla/tabs": "^2.1.3",
47
47
  "@ndla/tooltip": "^4.0.6",
48
48
  "@ndla/types-learningpath-api": "^0.0.17",
@@ -83,5 +83,5 @@
83
83
  "publishConfig": {
84
84
  "access": "public"
85
85
  },
86
- "gitHead": "d0521236145d702f68d1020ab0e2760dd3be823e"
86
+ "gitHead": "5f444dfeaa65961315bb9444e39e871ade20e9ff"
87
87
  }
@@ -1,4 +1,4 @@
1
- import React, { MouseEvent, ChangeEventHandler } from 'react';
1
+ import React, { MouseEvent } from 'react';
2
2
  import styled from '@emotion/styled';
3
3
  import { SafeLinkButton } from '@ndla/safelink';
4
4
  import { ButtonV2 } from '@ndla/button';
@@ -196,7 +196,7 @@ type Props = {
196
196
  showAdditionalResources?: boolean;
197
197
  listDirection?: listProps['direction'];
198
198
  invertedStyle?: boolean;
199
- onToggleAdditionalResources?: ChangeEventHandler<HTMLInputElement>;
199
+ onToggleAdditionalResources?: (checked: boolean) => void;
200
200
  };
201
201
 
202
202
  export const NavigationBox = ({