@linzjs/lui 17.11.0 → 17.11.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,10 @@
1
+ ## [17.11.1](https://github.com/linz/lui/compare/v17.11.0...v17.11.1) (2022-08-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **LuiListBox:** Added LuiListbox to exported types ([#736](https://github.com/linz/lui/issues/736)) ([0b1cafa](https://github.com/linz/lui/commit/0b1cafa7f51cb69281bf0972fce4a857fc0cb2a2))
7
+
1
8
  # [17.11.0](https://github.com/linz/lui/compare/v17.10.3...v17.11.0) (2022-08-17)
2
9
 
3
10
 
@@ -30,4 +30,4 @@ export interface IItemRendererProps<T> {
30
30
  isDisabled: boolean;
31
31
  isFocusVisible: boolean;
32
32
  }
33
- export default function LuiListBox<T extends object = ILuiListBoxItem>({ ariaLabel, ariaLabelledBy, itemRenderer, loadingIndicator, emptyIndicator, selectionMode, selectionBehavior, disabled, items, value, onChange, getKey, ariaProps, className, ...ulProps }: ILuiListBoxProps<T>): JSX.Element;
33
+ export declare function LuiListBox<T extends object = ILuiListBoxItem>({ ariaLabel, ariaLabelledBy, itemRenderer, loadingIndicator, emptyIndicator, selectionMode, selectionBehavior, disabled, items, value, onChange, getKey, ariaProps, className, ...ulProps }: ILuiListBoxProps<T>): JSX.Element;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import './CheckboxItemRenderer.scss';
3
3
  import { IItemRendererProps, ILuiListBoxItem } from '../LuiListBox';
4
- export default function CheckboxItemRenderer({ item, isSelected, }: IItemRendererProps<ILuiListBoxItem>): JSX.Element;
4
+ export declare function CheckboxItemRenderer({ item, isSelected, }: IItemRendererProps<ILuiListBoxItem>): JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { IItemRendererProps } from '../LuiListBox';
2
2
  import { ReactNode } from 'react';
3
- export default function DefaultItemRenderer<T extends object>({ item, }: IItemRendererProps<T>): ReactNode;
3
+ export declare function DefaultItemRenderer<T extends object>({ item, }: IItemRendererProps<T>): ReactNode;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import './RadioItemRenderer.scss';
3
3
  import { IItemRendererProps, ILuiListBoxItem } from '../LuiListBox';
4
- export default function RadioItemRenderer({ item, isSelected, }: IItemRendererProps<ILuiListBoxItem>): JSX.Element;
4
+ export declare function RadioItemRenderer({ item, isSelected, }: IItemRendererProps<ILuiListBoxItem>): JSX.Element;
package/dist/index.d.ts CHANGED
@@ -60,3 +60,6 @@ export { LuiSidePanelProvider } from './components/LuiSidePanel/LuiSidePanel';
60
60
  export { LuiSwitchButton } from './components/LuiSwitchButton/LuiSwitchButton';
61
61
  export { LuiAccordicard } from './components/LuiAccordicard/LuiAccordicard';
62
62
  export { LuiAccordicardStatic } from './components/LuiAccordicardStatic/LuiAccordicardStatic';
63
+ export { LuiListBox, ILuiListBoxItem, ILuiListBoxProps, IItemRendererProps, } from './components/LuiListBox/LuiListBox';
64
+ export { RadioItemRenderer } from './components/LuiListBox/Renderers/RadioItemRenderer';
65
+ export { CheckboxItemRenderer } from './components/LuiListBox/Renderers/CheckboxItemRenderer';