-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(multiselect): new All option for multiselect #16236
Merged
tay1orjones
merged 62 commits into
carbon-design-system:main
from
Gururajj77:multiselect-feat
Aug 30, 2024
Merged
Changes from 54 commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
1689661
feat: Add selectAll option in Multiselect
preetibansalui 5d94668
disabled items and length corrected
Gururajj77 9e2dfaf
changes for select all
Gururajj77 a7ba8b4
changes
Gururajj77 9616225
feat(multiselect): unifinshed functionality on the multiselect
Gururajj77 3ba9e19
fix: select all option when all items are selected
preetibansalui 225c716
Merge branch 'main' into multiselect-feat
Gururajj77 ca58748
feat(multiselect): using filteredItems from prev changes
Gururajj77 09b4c0e
fix: added intermediate checkbox icon
preetibansalui beedba5
fix: fixed All option should not be in active state as per design
preetibansalui f625231
feat(multiselect): tests and avt fixed
Gururajj77 d04135c
fix: added prop for selectall option and changed css for all option
preetibansalui 028028a
feat(multiselect): modified avt for default
Gururajj77 ea5681f
feat: test fixed
Gururajj77 04ca9e4
feat: added test case for select all
Gururajj77 698f11a
fix: format issue
preetibansalui 256e72e
feat(multiselect): added missed proptypes and typescript types
Gururajj77 dc25278
feat: updated tests
Gururajj77 b8bf158
feat: fixing the build
Gururajj77 ebe3ca1
feat: updates for test success
Gururajj77 404fced
Merge branch 'main' into multiselect-feat
Gururajj77 d93fb79
feat: changes according to review comments(except tests)
Gururajj77 6efeca5
feat: fixed hasSelectAll and added warning
Gururajj77 d0b1576
feat: made hasselectall prop experimental
Gururajj77 c80b250
Merge branch 'main' into multiselect-feat
preetibansalui 9f1269b
fix: removed duplicate OnChangeData
preetibansalui aadeef8
feat: ran yarn test
Gururajj77 33da11e
Merge branch 'main' into multiselect-feat
preetibansalui a082b01
fix: should deselect all on click to indeterminate icon
preetibansalui c3a9bee
chore: added a new story for selectAll and a prop for selectAll label
preetibansalui b3f48fc
fix: active state of selectAll option
preetibansalui 1519919
fix: changed items to match with documentation
preetibansalui 23363fc
fix: update snapshot
preetibansalui ca69bc5
fix: alignment issue
preetibansalui 5b9107f
fix: firefox issue
preetibansalui 2853da2
Merge branch 'main' into multiselect-feat
Gururajj77 5508689
feat: format run
Gururajj77 675af07
feat: fixed storybook
Gururajj77 5720baa
Merge branch 'main' into multiselect-feat
Gururajj77 d5e1535
feat: formatting ci fail fix
Gururajj77 bac4ada
feat: select all is exempt from sorting
Gururajj77 08119aa
Merge branch 'main' into multiselect-feat
tay1orjones 13ba415
chore: remove isSelectAll from ListBoxMenuItem
tay1orjones 2f236f8
chore: update prop names
tay1orjones 624fc1e
chore: rename variables
tay1orjones 7c691f7
feat: changed from prop to object property
Gururajj77 c2e0649
fix: focus issue
preetibansalui 584cfa8
fix: remove console
preetibansalui 2f6e1a4
Merge branch 'main' into multiselect-feat
Gururajj77 a162c66
feat: fixed tests
Gururajj77 0b5fb7c
feat: fixed typing test
Gururajj77 fc8641c
fix: focus issue
preetibansalui af158c5
Update packages/styles/scss/components/multiselect/_multiselect.scss
Gururajj77 5a34364
Merge branch 'main' into multiselect-feat
Gururajj77 0816deb
fix: sort issue resolved
preetibansalui 5f082b6
fix: test case
preetibansalui 85177dc
Merge branch 'main' into multiselect-feat
preetibansalui 0a3ae2e
Merge branch 'main' into multiselect-feat
Gururajj77 d76cec9
Merge branch 'main' into multiselect-feat
Gururajj77 03d6457
fix: alignment issue
preetibansalui 38e2798
test(multiselect): refactor assertions off data attributes
tay1orjones c9536a7
Merge branch 'main' into multiselect-feat
tay1orjones File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be guarded behind
selectAll
? If so, the usages will need to be updated.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we do not need a guard for this as it's a simple filtering which will remove items with isSelectAll key-value, which will pass anyway if user would not pass an object with isSelectAll