@linzjs/lui 21.18.0 → 21.19.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 +14 -0
- package/dist/components/LuiFloatingWindow/LuiFloatingWindow.d.ts +1 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/lui.css +3 -0
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +2 -2
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiSplitButton/LuiSplitButton.scss +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [21.19.0](https://github.com/linz/lui/compare/v21.18.1...v21.19.0) (2024-02-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add floating window bounds control prop for react-rnd ([#1094](https://github.com/linz/lui/issues/1094)) ([f408981](https://github.com/linz/lui/commit/f4089816f66c2efb2061ad5c73e0eadb17514b6c))
|
|
7
|
+
|
|
8
|
+
## [21.18.1](https://github.com/linz/lui/compare/v21.18.0...v21.18.1) (2024-02-07)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **LuiSplitButton:** CS-3765 Updating hover state of secondary hover state. ([#1092](https://github.com/linz/lui/issues/1092)) ([146387c](https://github.com/linz/lui/commit/146387c1657b20a21eec37d92bb6d8a28c238b0a))
|
|
14
|
+
|
|
1
15
|
# [21.18.0](https://github.com/linz/lui/compare/v21.17.2...v21.18.0) (2024-01-30)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -14,6 +14,7 @@ export interface ILuiFloatingWindowProps {
|
|
|
14
14
|
children?: ReactNode;
|
|
15
15
|
initialPosition?: FloatingWindowPosition;
|
|
16
16
|
minSize?: FloatingWindowSize;
|
|
17
|
+
bounds?: string;
|
|
17
18
|
}
|
|
18
19
|
export declare const LUI_WINDOW_NAME = "luiFloatingWindow";
|
|
19
20
|
declare type FloatingWindowPosition = {
|
package/dist/index.js
CHANGED
|
@@ -25581,7 +25581,7 @@ var MINI_WIDTH = 400;
|
|
|
25581
25581
|
var MINI_HEIGHT = 100;
|
|
25582
25582
|
var LUI_WINDOW_NAME = 'luiFloatingWindow';
|
|
25583
25583
|
var LuiFloatingWindow = function (props) {
|
|
25584
|
-
var startWidth = props.startWidth, startHeight = props.startHeight, leftSideHeader = props.leftSideHeader, rightSideHeader = props.rightSideHeader, initialPosition = props.initialPosition, startDisplayed = props.startDisplayed, startPoppedOut = props.startPoppedOut;
|
|
25584
|
+
var startWidth = props.startWidth, startHeight = props.startHeight, leftSideHeader = props.leftSideHeader, rightSideHeader = props.rightSideHeader, initialPosition = props.initialPosition, startDisplayed = props.startDisplayed, startPoppedOut = props.startPoppedOut, _a = props.bounds, bounds = _a === void 0 ? 'window' : _a;
|
|
25585
25585
|
var initialSize = {
|
|
25586
25586
|
width: startWidth ? startWidth : INITIAL_WIDTH,
|
|
25587
25587
|
height: startHeight ? startHeight : INITIAL_HEIGHT
|
|
@@ -25604,7 +25604,7 @@ var LuiFloatingWindow = function (props) {
|
|
|
25604
25604
|
props.callbackOnPopoutFloatingWindow();
|
|
25605
25605
|
} })));
|
|
25606
25606
|
};
|
|
25607
|
-
return (React__default["default"].createElement(WF, __assign({}, props, { name: LUI_WINDOW_NAME, initialSize: initialSize, initialPosition: initialPosition || INITIAL_POSITION, minSize: { width: MINI_WIDTH, height: MINI_HEIGHT }, bounds:
|
|
25607
|
+
return (React__default["default"].createElement(WF, __assign({}, props, { name: LUI_WINDOW_NAME, initialSize: initialSize, initialPosition: initialPosition || INITIAL_POSITION, minSize: { width: MINI_WIDTH, height: MINI_HEIGHT }, bounds: bounds, headerProps: generateHeaders, startDisplayed: startDisplayed, startPoppedOut: startPoppedOut })));
|
|
25608
25608
|
};
|
|
25609
25609
|
|
|
25610
25610
|
var LuiToastMessage = function (_a) {
|