@linzjs/lui 17.47.1 → 17.48.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 +3 -2
- package/dist/components/LuiTooltip/LuiTooltip.d.ts +2 -2
- package/dist/index.js +24459 -11947
- package/dist/index.js.map +1 -1
- package/dist/lui.esm.js +24147 -11635
- package/dist/lui.esm.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [17.48.0](https://github.com/linz/lui/compare/v17.47.2...v17.48.0) (2023-04-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* allow tooltip to accept different types of content ([3542191](https://github.com/linz/lui/commit/3542191608525ed76c5ec039891192c725fd11e5))
|
|
7
|
+
|
|
8
|
+
## [17.47.2](https://github.com/linz/lui/compare/v17.47.1...v17.47.2) (2023-04-03)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **dev-dependency:** Use floating window v0.8.1 ([#917](https://github.com/linz/lui/issues/917)) ([1ba6570](https://github.com/linz/lui/commit/1ba65704a3a408f55dae63aa02e9131a64da171e))
|
|
14
|
+
|
|
1
15
|
## [17.47.1](https://github.com/linz/lui/compare/v17.47.0...v17.47.1) (2023-04-02)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
export { FloatingWindowContextProvider as LuiFloatingWindowContextProvider, useFloatingWindow as useLuiFloatingWindow, } from '@linzjs/floating-windows';
|
|
3
3
|
export interface ILuiFloatingWindowProps {
|
|
4
4
|
callbackOnPopinFloatingWindow?: () => void;
|
|
@@ -10,6 +10,7 @@ export interface ILuiFloatingWindowProps {
|
|
|
10
10
|
rightSideHeader?: ReactElement | string;
|
|
11
11
|
leftSideHeader?: ReactElement | string;
|
|
12
12
|
startDisplayed?: boolean;
|
|
13
|
+
children?: ReactNode;
|
|
13
14
|
}
|
|
14
15
|
export declare const LUI_WINDOW_NAME = "luiFloatingWindow";
|
|
15
|
-
export declare const LuiFloatingWindow: (props:
|
|
16
|
+
export declare const LuiFloatingWindow: (props: ILuiFloatingWindowProps) => JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { Placement } from 'tippy.js';
|
|
2
|
+
import { Placement, Content } from 'tippy.js';
|
|
3
3
|
import 'tippy.js/dist/border.css';
|
|
4
4
|
import 'tippy.js/dist/tippy.css';
|
|
5
5
|
export interface ILuiTooltipProperties {
|
|
6
|
-
message:
|
|
6
|
+
message: Content;
|
|
7
7
|
placement?: Placement;
|
|
8
8
|
trigger?: string;
|
|
9
9
|
children: ReactNode;
|