@linzjs/lui 17.48.0 → 17.49.1

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,19 @@
1
+ ## [17.49.1](https://github.com/linz/lui/compare/v17.49.0...v17.49.1) (2023-04-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * do not use React's PropsWithChildren and make message optional so people can just use the standard Tippy property "content" ([a750a47](https://github.com/linz/lui/commit/a750a47a1f46079686ae0d186a3be0ccf87207f3))
7
+ * ensure backward compatibility ([ffbb5ab](https://github.com/linz/lui/commit/ffbb5ab631a3ae9aa5a01941d29ac5043409fe7b))
8
+ * style paragraphs in tooltip ([1d4d3ad](https://github.com/linz/lui/commit/1d4d3ad717cc2372c883d7a946c0a7a9d6e251e3))
9
+
10
+ # [17.49.0](https://github.com/linz/lui/compare/v17.48.0...v17.49.0) (2023-04-04)
11
+
12
+
13
+ ### Features
14
+
15
+ * use tippyjs-react and expose all features of tippy in LuiTooltip ([375697b](https://github.com/linz/lui/commit/375697b04c5a40d44e928a73e98a9d684785e0c6))
16
+
1
17
  # [17.48.0](https://github.com/linz/lui/compare/v17.47.2...v17.48.0) (2023-04-04)
2
18
 
3
19
 
@@ -1,17 +1,7 @@
1
- import { ReactNode } from 'react';
2
- import { Placement, Content } from 'tippy.js';
3
- import 'tippy.js/dist/border.css';
4
- import 'tippy.js/dist/tippy.css';
5
- export interface ILuiTooltipProperties {
6
- message: Content;
7
- placement?: Placement;
8
- trigger?: string;
9
- children: ReactNode;
10
- animation?: boolean;
11
- followCursor?: boolean;
1
+ /// <reference types="react" />
2
+ import { TippyProps } from '@tippyjs/react';
3
+ export declare type ILuiTooltipProperties = TippyProps & {
4
+ message?: TippyProps['content'];
12
5
  mode?: 'default' | 'info' | 'error';
13
- interactive?: boolean;
14
- allowHTML?: boolean;
15
- offset?: [number, number];
16
- }
6
+ };
17
7
  export declare const LuiTooltip: (props: ILuiTooltipProperties) => JSX.Element;