@linzjs/lui 17.5.12 → 17.8.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.8.0](https://github.com/linz/lui/compare/v17.7.0...v17.8.0) (2022-08-05)
2
+
3
+
4
+ ### Features
5
+
6
+ * **LuiInput:** Switch button component ([#713](https://github.com/linz/lui/issues/713)) ([499ddb0](https://github.com/linz/lui/commit/499ddb02fb785603d5edeb0fd38871678e8d7bb8))
7
+
8
+ # [17.7.0](https://github.com/linz/lui/compare/v17.6.0...v17.7.0) (2022-07-28)
9
+
10
+
11
+ ### Features
12
+
13
+ * ic_feedback_lightbuld_alt added ([#711](https://github.com/linz/lui/issues/711)) ([19078da](https://github.com/linz/lui/commit/19078da43a99f2fd254838da1e577fbd31ca15b5))
14
+
15
+ # [17.6.0](https://github.com/linz/lui/compare/v17.5.12...v17.6.0) (2022-07-28)
16
+
17
+
18
+ ### Features
19
+
20
+ * Accordicard ([#710](https://github.com/linz/lui/issues/710)) ([487097d](https://github.com/linz/lui/commit/487097dc4743e3a2b65707af5578bc094c9105c0))
21
+
1
22
  ## [17.5.12](https://github.com/linz/lui/compare/v17.5.11...v17.5.12) (2022-07-28)
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;
@@ -0,0 +1,6 @@
1
+ import { ChangeEvent } from 'react';
2
+ import './../../scss/Components/LuiSwitchButton/LuiSwitchButton.scss';
3
+ export declare const LuiSwitchButton: (props: {
4
+ checked: boolean;
5
+ onChange: (event: ChangeEvent<HTMLInputElement>) => any;
6
+ }) => JSX.Element;
package/dist/index.d.ts CHANGED
@@ -57,3 +57,5 @@ 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';
61
+ export { LuiSwitchButton } from './components/LuiSwitchButton/LuiSwitchButton';