- Added `numberOfLines` prop, so long labels can be truncated (defaults to null - no truncation).
- add flex to label text so checkmark is visible for long items
- Make remove all chip use chipColor
- Add changelog to Readme
- disabled color. When highlightChildren is true, the child checkmarks become the disabled color
- highlighted children TouchableOpacity disabled. You can't / it doesn't make sense to cherry pick sub items in this mode
- Custom component for no results text
noResultsComponent - More customizable than a string.
- custom component for loading
loadingComponent - display an ActivityIndicator (default) component when items are empty / undefined
- Custom components for icons
selectToggleIconComponent - The icon to the right of the dropdown in its initial state (Default arrow down)
searchIconComponent - The search input icon (default Magnifying glass)
selectedIconComponent - The icon to the left of the selected item (default Checkmark)
dropDownToggleIconUpComponent - The parent dropdown icon in closed state
dropDownToggleIconDownComponent - The parent dropdown icon in opened state
- Select all child ids when a parent is selected
- Highlight (but don't broadcast to state) all child ids when a parent is selected
highlightChildren - boolean
- Removed No results text string in favour of a component (object) to allow for more customization.
- removed / streamlined fonts
- Moved row item and sub item to separate classes, in order to enhance performance for long lists. Use
shouldComponentUpdate to not re-render every item on toggle.
- moved RowItem and SubRowItem into separate files
- fixed
reduceSelected function - rejecting children works properly now
- Erroneously used
item.id instead of item[uniqueKey]
hideSearch Prop to hide search bar entirely
- Style for sub item separator
- Props for Modal animation and orientation