You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Picker selection control bar and toggle all items functionality (#3557)
* Picker selection control bar and toggle all items functionality
* Refactor PickerScreen layout
* Rename PickerSelectionControlBar to PickerSelectionStatusToolbar and update related references
* Enhance selection status label functionality in PickerSelectionStatusToolbar
* Refactor PickerSelectionStatusToolbar and types for improved selection handling
* Remove 'none' option from select all types in Picker and update related types
* Fix types issue in PickerItemsList
* Refactor toggleAllItemsSelection and availableItems usage
* Remove customLabel prop from PickerSelectionStatusProps
* Add renderTopCustomElement and renderBottomCustomElement props to PickerSelectionStatusToolbar
* Rename getLabel prop to getSelectionStatusLabe and update related usages
* Refactor selectionStatus handling in PickerItemsList
* Remove unnecessary null return in renderLabel
* Remove renderTopCustomElement prop
* Rename _onSegmentChange to onSegmentChange
* Fix TypeScript ignore directive for selectAllType in Picker
* Update buttonProps onPress parameter to use selectionValue and set default selectAllType to 'button'
* Refactor Picker selection logic to use areAllItemsSelected and simplify selection status handling
* Rename getSelectionStatusLabel to getLabel and update type definitions for clarity
* Remove renderBottomCustomElement prop and add divider in PickerSelectionStatusToolbar
* Refactor Picker component to remove PickerSelectAllType enum
* Refactor PickerSelectionStatusToolbar to simplify props and selection handling
* Rename PickerSelectionStatusToolbar to PickerSelectionStatusBar and update related references
* Update buttonProps onPress to use customValue instead of selectionValue in PickerSelectionStatusBar
* Add selectAllType prop to PickerSelectionStatusBar for flexible selection handling
* Refactor PickerSelectionStatusBar to remove selectAllType prop and simplify selection handling
* Fix type assertion for value in PickerSelectionStatusBar to ensure correct handling of PickerMultiValue
* Refactor renderSelectionStatus, fix when showLabel is false
* Add PickerSelectionStatusProps import to PickerScreen and index files
* Remove unused setMultiFinalValue from usePickerSelection hook
* Remove value from PickerSelectionStatusLabelData
* selectedCount moved to usePickerSelection
* PickerSelectionStatusBar simplify selectedCount
---------
Co-authored-by: Miki Leib <[email protected]>
0 commit comments