@linzjs/lui 17.31.0 → 17.33.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 CHANGED
@@ -1,3 +1,17 @@
1
+ # [17.33.0](https://github.com/linz/lui/compare/v17.32.0...v17.33.0) (2023-02-09)
2
+
3
+
4
+ ### Features
5
+
6
+ * **Build:** Replace trigger release ([#844](https://github.com/linz/lui/issues/844)) ([9655d6a](https://github.com/linz/lui/commit/9655d6acf289c98cfb6bd62d4afece077ab3dfa6))
7
+
8
+ # [17.32.0](https://github.com/linz/lui/compare/v17.31.1...v17.32.0) (2023-02-09)
9
+
10
+
11
+ ### Features
12
+
13
+ * the drawer will not be closed for submenu ([#845](https://github.com/linz/lui/issues/845)) ([1fca1be](https://github.com/linz/lui/commit/1fca1be587ffc038648939c85e716c51f71871a2))
14
+
1
15
  # [17.31.0](https://github.com/linz/lui/compare/v17.30.0...v17.31.0) (2023-02-07)
2
16
 
3
17
 
@@ -28,11 +28,15 @@ interface ILuiDrawerMenuOptionV2 {
28
28
  * The function to be bound together with closing the drawer on click
29
29
  */
30
30
  onClick?: () => void;
31
+ /**
32
+ * Whether the option is a sub menu, if true, the drawer will not be closed on click
33
+ */
34
+ subMenu?: boolean;
31
35
  }
32
36
  declare const LuiDrawerMenuOptionsV2: ({ children, }: ILuiIcon & {
33
37
  children: ReactNode;
34
38
  }) => JSX.Element;
35
- declare const LuiDrawerMenuOptionV2: ({ icon, iconColor, label, badge, iconSize, onClick, }: ILuiDrawerMenuOptionV2) => JSX.Element;
39
+ declare const LuiDrawerMenuOptionV2: ({ icon, iconColor, label, badge, iconSize, subMenu, onClick, }: ILuiDrawerMenuOptionV2) => JSX.Element;
36
40
  declare const LuiDrawerMenuV2: ({ children, hasStickyHeader, ...menuPropsCopy }: Omit<ILuiHeaderMenuItem, "onClick"> & {
37
41
  hasStickyHeader?: boolean | undefined;
38
42
  } & {
@@ -1,9 +1,13 @@
1
- import React from 'react';
2
- export declare const LuiUpdatesSplashModal: React.FC<React.PropsWithChildren<{
1
+ import { ReactNode } from 'react';
2
+ interface SplashModalProps {
3
3
  bigImage: string;
4
4
  smallImage: string;
5
5
  header: string;
6
6
  wrapperClass?: string;
7
- onClose: () => void;
8
7
  id: string;
9
- }>>;
8
+ releaseVersion: string;
9
+ enabled: boolean;
10
+ children?: ReactNode;
11
+ }
12
+ export declare const LuiUpdatesSplashModal: (props: SplashModalProps) => JSX.Element;
13
+ export {};