@linzjs/lui 17.5.11 → 17.7.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,24 @@
1
+ # [17.7.0](https://github.com/linz/lui/compare/v17.6.0...v17.7.0) (2022-07-28)
2
+
3
+
4
+ ### Features
5
+
6
+ * ic_feedback_lightbuld_alt added ([#711](https://github.com/linz/lui/issues/711)) ([19078da](https://github.com/linz/lui/commit/19078da43a99f2fd254838da1e577fbd31ca15b5))
7
+
8
+ # [17.6.0](https://github.com/linz/lui/compare/v17.5.12...v17.6.0) (2022-07-28)
9
+
10
+
11
+ ### Features
12
+
13
+ * Accordicard ([#710](https://github.com/linz/lui/issues/710)) ([487097d](https://github.com/linz/lui/commit/487097dc4743e3a2b65707af5578bc094c9105c0))
14
+
15
+ ## [17.5.12](https://github.com/linz/lui/compare/v17.5.11...v17.5.12) (2022-07-28)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **LogoutLink:** SEARCH-3373 Add a callback to LogoutLink, so app can do something before logout. ([#709](https://github.com/linz/lui/issues/709)) ([67c7030](https://github.com/linz/lui/commit/67c703059ad8903b090bc36a487ed034938d23f2))
21
+
1
22
  ## [17.5.11](https://github.com/linz/lui/compare/v17.5.10...v17.5.11) (2022-07-25)
2
23
 
3
24
 
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1Zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7Zm2.85 11.1-.85.6V16h-4v-2.3l-.85-.6A4.997 4.997 0 0 1 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1Z" fill="#000"/></svg>
@@ -299,6 +299,12 @@ iconMap['ic_feedback_lightbulb'] = (
299
299
  </svg>
300
300
  );
301
301
 
302
+ iconMap['ic_feedback_lightbulb_alt'] = (
303
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
304
+ <path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1Zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7Zm2.85 11.1-.85.6V16h-4v-2.3l-.85-.6A4.997 4.997 0 0 1 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1Z" />
305
+ </svg>
306
+ );
307
+
302
308
  iconMap['ic_file_attached_outline'] = (
303
309
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
304
310
  <path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6ZM6 20V4h7v5h5v11H6Z" />
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ export interface ICard {
3
+ defaultToOpen?: boolean;
4
+ children: React.ReactNode;
5
+ headerContent: React.ReactNode;
6
+ }
7
+ export declare const LuiAccordicard: (props: ICard) => JSX.Element;
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export interface Props {
3
3
  redirectPath: () => string;
4
+ callBackBeforeLogout?: () => Promise<void>;
4
5
  }
5
6
  export declare const LOLLogoutLink: (props: Props) => JSX.Element | null;
package/dist/index.d.ts CHANGED
@@ -57,3 +57,4 @@ export { LuiBadge } from './components/LuiBadge/LuiBadge';
57
57
  export { LuiShadow } from './components/LuiShadow/LuiShadow';
58
58
  export { LuiSidePanel } from './components/LuiSidePanel/LuiSidePanel';
59
59
  export { LuiSidePanelProvider } from './components/LuiSidePanel/LuiSidePanel';
60
+ export { LuiAccordicard } from './components/LuiAccordicard/LuiAccordicard';