File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1818
1919
2020
21- Try tweaking a multi selection ui component using this codesandbox link <a href =" https://codesandbox.io/s/mulit -selection-ui-gzcfrn " >here</a >
21+ Try tweaking a multi selection ui component using this codesandbox link <a href =" https://codesandbox.io/s/multi -selection-ui-gzcfrn " >here</a >
2222
2323
2424
2525## Installation
2626
2727
2828
29- The easiest way to use react-multi-selection-ui is to install it from npm and build it into your app with Webpack.
29+ The easiest way to use react-multi-selection-ui-component is to install it from npm and build it into your app with Webpack.
3030
3131
3232
3333``` bash
3434
35- npm install @keyvaluesystems/react-multi-selection-ui
35+ npm install @keyvaluesystems/react-multi-selection-ui-component
3636
3737```
3838
@@ -46,7 +46,7 @@ React Multi Selection UI can run in a very basic mode by just providing the `pro
4646
4747``` jsx
4848
49- import MultiSelection from ' @keyvaluesystems/react-multi-selection-ui' ;
49+ import MultiSelection from ' @keyvaluesystems/react-multi-selection-ui-component ' ;
5050
5151< MultiSelection
5252 productList= {productListArray}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const SelectionList = (props: SelectionListPropType): JSX.Element => {
3333 } = props ;
3434
3535 const isItemsPresentInList = useMemo ( ( ) => (
36- list ?. length > 0 && ( ( hideSelected && list . filter ( ( e ) => e . status === PRODUCT_UNSELECTED_STATUS ) ?. length > 0 ) || ! hideSelected )
36+ list ?. length > 0 && ( ( hideSelected && list . filter ( ( e ) => ! e . status || e . status === PRODUCT_UNSELECTED_STATUS ) ?. length > 0 ) || ! hideSelected )
3737 ) , [ list ] ) ;
3838 const searchValue = ( value : string ) : void => {
3939 if ( onSearch ?. name === 'mockConstructor' ) {
Original file line number Diff line number Diff line change 9898 width : 96% ;
9999 max-height : calc (100% - 42px );
100100 overflow-y : auto ;
101+ align-content : flex-start ;
102+ height : 100% ;
101103 .zeroStateImage {
102104 width : 112px ;
103105 height : 112px ;
You can’t perform that action at this time.
0 commit comments