uibee 2.16.23 → 2.16.25

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,7 @@ type BubbleText = {
6
6
  text: string;
7
7
  x: string;
8
8
  hide: boolean;
9
- handleHide: () => void;
9
+ handleHide: (event: React.MouseEvent<SVGSVGElement, MouseEvent>) => void;
10
10
  };
11
11
  export default function Bubble({ bubble }: {
12
12
  bubble: BubbleText;
@@ -9,7 +9,7 @@ type BubbleContent = {
9
9
  stroke: string;
10
10
  x: string;
11
11
  hide: boolean;
12
- handleHide: () => void;
12
+ handleHide: (event: React.MouseEvent<SVGSVGElement, MouseEvent>) => void;
13
13
  };
14
14
  export type NavbarProps = {
15
15
  children: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uibee",
3
- "version": "2.16.23",
3
+ "version": "2.16.25",
4
4
  "description": "Shared components, functions and hooks for reuse across Login projects",
5
5
  "homepage": "https://github.com/Login-Linjeforening-for-IT/uibee#readme",
6
6
  "bugs": {
@@ -8,7 +8,7 @@ type BubbleText = {
8
8
  text: string
9
9
  x: string
10
10
  hide: boolean
11
- handleHide: () => void
11
+ handleHide: (event: React.MouseEvent<SVGSVGElement, MouseEvent>) => void
12
12
  }
13
13
 
14
14
  export default function Bubble({ bubble }: { bubble: BubbleText }) {
@@ -18,7 +18,7 @@ type BubbleContent = {
18
18
  stroke: string
19
19
  x: string
20
20
  hide: boolean
21
- handleHide: () => void
21
+ handleHide: (event: React.MouseEvent<SVGSVGElement, MouseEvent>) => void
22
22
  }
23
23
 
24
24
  function hamburgerStyle (isOpen: boolean, isSecond?: boolean) {