-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(multiselect): new All option for multiselect (#16236)
* feat: Add selectAll option in Multiselect * disabled items and length corrected * changes for select all * changes * fix: select all option when all items are selected * feat(multiselect): using filteredItems from prev changes * fix: added intermediate checkbox icon * fix: fixed All option should not be in active state as per design * feat(multiselect): tests and avt fixed * fix: added prop for selectall option and changed css for all option * feat(multiselect): modified avt for default * feat: test fixed * feat: added test case for select all * fix: format issue * feat(multiselect): added missed proptypes and typescript types * feat: updated tests * feat: fixing the build * feat: updates for test success * feat: changes according to review comments(except tests) * feat: fixed hasSelectAll and added warning * feat: made hasselectall prop experimental * fix: removed duplicate OnChangeData * feat: ran yarn test * fix: should deselect all on click to indeterminate icon * chore: added a new story for selectAll and a prop for selectAll label * fix: active state of selectAll option * fix: changed items to match with documentation * fix: update snapshot * fix: alignment issue * fix: firefox issue * feat: format run * feat: fixed storybook * feat: formatting ci fail fix * feat: select all is exempt from sorting * chore: remove isSelectAll from ListBoxMenuItem * chore: update prop names * chore: rename variables * feat: changed from prop to object property * fix: focus issue * fix: remove console * feat: fixed tests * feat: fixed typing test * fix: focus issue * Update packages/styles/scss/components/multiselect/_multiselect.scss Co-authored-by: kennylam <[email protected]> * fix: sort issue resolved * fix: test case * fix: alignment issue * test(multiselect): refactor assertions off data attributes --------- Co-authored-by: Preeti Bansal <[email protected]> Co-authored-by: preetibansalui <[email protected]> Co-authored-by: Taylor Jones <[email protected]> Co-authored-by: Taylor Jones <[email protected]> Co-authored-by: kennylam <[email protected]>
- Loading branch information
1 parent
009351a
commit 20c5abc
Showing
9 changed files
with
299 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.