@linzjs/lui 17.8.1 → 17.9.2

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.9.2](https://github.com/linz/lui/compare/v17.9.1...v17.9.2) (2022-08-11)
2
+
3
+ ## [17.9.1](https://github.com/linz/lui/compare/v17.9.0...v17.9.1) (2022-08-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * accordicardFixes ([#718](https://github.com/linz/lui/issues/718)) ([3fb3e37](https://github.com/linz/lui/commit/3fb3e3777230058fcaaf1a5299d34d72c8c0fcbb))
9
+
10
+ # [17.9.0](https://github.com/linz/lui/compare/v17.8.1...v17.9.0) (2022-08-08)
11
+
12
+
13
+ ### Features
14
+
15
+ * **LuiTabsPanel:** adding support for lazy loading content via the mode prop ([#715](https://github.com/linz/lui/issues/715)) ([55ee571](https://github.com/linz/lui/commit/55ee57105a917312fa7ab84c51d89277b9f213c7))
16
+
1
17
  ## [17.8.1](https://github.com/linz/lui/compare/v17.8.0...v17.8.1) (2022-08-08)
2
18
 
3
19
 
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
- export interface ICard {
2
+ export interface IAccordicard {
3
3
  defaultToOpen?: boolean;
4
4
  children: React.ReactNode;
5
5
  headerContent: React.ReactNode;
6
+ className?: string;
6
7
  }
7
- export declare const LuiAccordicard: (props: ICard) => JSX.Element;
8
+ export declare const LuiAccordicard: (props: IAccordicard) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface IAccordicardStatic {
3
+ defaultToOpen?: boolean;
4
+ children: React.ReactNode;
5
+ headerContent: React.ReactNode;
6
+ className?: string;
7
+ }
8
+ export declare const LuiAccordicardStatic: (props: IAccordicardStatic) => JSX.Element;
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
+ export declare type LuiTabsPanelMode = 'lazy' | 'eager';
2
3
  interface LuiTabsPanelProps {
3
4
  panel: string;
5
+ mode?: LuiTabsPanelMode;
4
6
  }
5
7
  export declare const LuiTabsPanel: React.FC<LuiTabsPanelProps>;
6
8
  export {};
package/dist/index.d.ts CHANGED
@@ -57,5 +57,6 @@ 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
60
  export { LuiSwitchButton } from './components/LuiSwitchButton/LuiSwitchButton';
61
+ export { LuiAccordicard } from './components/LuiAccordicard/LuiAccordicard';
62
+ export { LuiAccordicardStatic } from './components/LuiAccordicardStatic/LuiAccordicardStatic';