ovirt-ui-toolkit 0.0.132 → 0.0.134

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/README.md CHANGED
@@ -1,3 +1,4 @@
1
1
  # ovirt-ui-toolkit
2
2
 
3
- Library of shared componnts for ovirt ui plugins
3
+ Library of shared componnts for ovirt ui plugins
4
+ Change
@@ -0,0 +1,15 @@
1
+ import { default as React } from 'react';
2
+ import { DropdownItem } from './Dropdown';
3
+ export interface SearchableDropdownSelectProps {
4
+ items: DropdownItem[];
5
+ title?: string;
6
+ placeholder?: string;
7
+ searchPlaceholder?: string;
8
+ emptyText?: string;
9
+ isDisabled?: boolean;
10
+ selected?: number | string;
11
+ onChange: (item: DropdownItem) => void;
12
+ className?: string;
13
+ }
14
+ declare const SearchableDropdownSelect: React.FC<SearchableDropdownSelectProps>;
15
+ export default SearchableDropdownSelect;
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export { default as FloatModal } from './components/float-modal/FloatModal';
9
9
  export { default as HelpText } from './components/helpText/HelpText';
10
10
  export { default as InputPassword } from './components/inputPassword/InputPassword';
11
11
  export { validatePassword } from './components/inputPassword/validatePassword';
12
+ export { default as SearchableDropdownSelect } from './components/dropdown/SearchableDropdownSelect';
12
13
  export { default as Table } from './components/table/Table';
13
14
  export { default as Tbody } from './components/table/Tbody';
14
15
  export { default as Td } from './components/table/Td';