@linzjs/lui 17.28.2 → 17.29.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.
- package/CHANGELOG.md +7 -0
- package/dist/components/LuiFloatingWindow/LuiFloatingWindow.d.ts +15 -0
- package/dist/components/LuiFloatingWindow/LuiFloatingWindowHeaders.d.ts +11 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +13463 -886
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +13184 -611
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiFloatingWindow/LuiFloatingWindow.scss +14 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [17.29.0](https://github.com/linz/lui/compare/v17.28.2...v17.29.0) (2023-02-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **LuiFloatingWindow:** new component extracted from Search LuiFloatingWindow ([#832](https://github.com/linz/lui/issues/832)) ([c186e94](https://github.com/linz/lui/commit/c186e949318b6cf34b1746f894ee869ee8db55ed))
|
|
7
|
+
|
|
1
8
|
## [17.28.2](https://github.com/linz/lui/compare/v17.28.1...v17.28.2) (2023-01-30)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
|
+
export { FloatingWindowContextProvider as LuiFloatingWindowContextProvider, useFloatingWindow as useLuiFloatingWindow, } from '@linzjs/floating-windows';
|
|
3
|
+
export interface ILuiFloatingWindowProps {
|
|
4
|
+
callbackOnPopinFloatingWindow?: () => void;
|
|
5
|
+
callbackOnPopoutFloatingWindow?: () => void;
|
|
6
|
+
callbackOnCloseFloatingWindow?: () => void;
|
|
7
|
+
dockUndockFloatingWindow?: () => void;
|
|
8
|
+
startHeight?: number;
|
|
9
|
+
startWidth?: number;
|
|
10
|
+
rightSideHeader?: ReactElement | string;
|
|
11
|
+
leftSideHeader?: ReactElement | string;
|
|
12
|
+
startDisplayed?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const LUI_WINDOW_NAME = "luiFloatingWindow";
|
|
15
|
+
export declare const LuiFloatingWindow: React.FC<ILuiFloatingWindowProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
|
+
import '../../scss/Components/LuiFloatingWindow/LuiFloatingWindow.scss';
|
|
3
|
+
export declare const LuiFloatingWindowHeader: React.FC<{
|
|
4
|
+
rightSideHeader?: ReactElement | string;
|
|
5
|
+
leftSideHeader?: ReactElement | string;
|
|
6
|
+
isPoppedOut: boolean;
|
|
7
|
+
onDock?: () => void;
|
|
8
|
+
onPopout?: () => void;
|
|
9
|
+
onPopin?: () => void;
|
|
10
|
+
onClose?: () => void;
|
|
11
|
+
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { LuiBanner, LuiBannerContent } from './components/LuiBanner/LuiBanner';
|
|
2
2
|
export { LuiStaticMessage } from './components/LuiStaticMessage/LuiStaticMessage';
|
|
3
3
|
export { LuiButton } from './components/LuiButton/LuiButton';
|
|
4
|
+
export { LuiFloatingWindow, ILuiFloatingWindowProps, LUI_WINDOW_NAME, LuiFloatingWindowContextProvider, useLuiFloatingWindow, } from './components/LuiFloatingWindow/LuiFloatingWindow';
|
|
4
5
|
export * from './components/LuiToastMessage/LuiToastMessage';
|
|
5
6
|
export * from './contexts/LuiMessagingContextProvider';
|
|
6
7
|
export { LuiButtonGroup } from './components/LuiButton/LuiButton';
|