@linzjs/lui 17.35.3 → 17.35.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [17.35.5](https://github.com/linz/lui/compare/v17.35.4...v17.35.5) (2023-02-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Remove @testing-library/react-hooks to allow support for react 18 ([#855](https://github.com/linz/lui/issues/855)) ([bea9249](https://github.com/linz/lui/commit/bea9249b9fa8254215fb539e218b550d98c0e01e))
7
+
8
+ ## [17.35.4](https://github.com/linz/lui/compare/v17.35.3...v17.35.4) (2023-02-16)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **LuiFloatingWindow:** replacing React.FC with PropsWithChildren ([#842](https://github.com/linz/lui/issues/842)) ([a96a72d](https://github.com/linz/lui/commit/a96a72d676797684f40c74f593e090dcbc585f03))
14
+
1
15
  ## [17.35.3](https://github.com/linz/lui/compare/v17.35.2...v17.35.3) (2023-02-15)
2
16
 
3
17
 
@@ -1,4 +1,4 @@
1
- import React, { ReactElement } from 'react';
1
+ import { PropsWithChildren, ReactElement } from 'react';
2
2
  export { FloatingWindowContextProvider as LuiFloatingWindowContextProvider, useFloatingWindow as useLuiFloatingWindow, } from '@linzjs/floating-windows';
3
3
  export interface ILuiFloatingWindowProps {
4
4
  callbackOnPopinFloatingWindow?: () => void;
@@ -12,4 +12,4 @@ export interface ILuiFloatingWindowProps {
12
12
  startDisplayed?: boolean;
13
13
  }
14
14
  export declare const LUI_WINDOW_NAME = "luiFloatingWindow";
15
- export declare const LuiFloatingWindow: React.FC<ILuiFloatingWindowProps>;
15
+ export declare const LuiFloatingWindow: (props: PropsWithChildren<ILuiFloatingWindowProps>) => JSX.Element;