Skip to content
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

Controlled multiple selection #1722

Merged
merged 4 commits into from
Dec 7, 2023
Merged

Conversation

Powerplex
Copy link
Contributor

TYPE(SCOPE): TITLE

TASK: #1687

Description, Motivation and Context

Controlled mode is now managing array of strings for multiple selection mode.

  • value, onValueChange and defaultValue now accepts array of strings.
  • multiple prop helps TS infer that those prop have the correct type for the user
  • added descriptions to most stories

Types of changes

  • ✨ New feature (non-breaking change which adds functionality)
  • 🧾 Documentation

Copy link

codecov bot commented Dec 5, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dc4e604) 97.94% compared to head (5846a88) 97.95%.
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1722   +/-   ##
=======================================
  Coverage   97.94%   97.95%           
=======================================
  Files         692      692           
  Lines        4873     4882    +9     
  Branches     1770     1780   +10     
=======================================
+ Hits         4773     4782    +9     
  Misses        100      100           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Powerplex Powerplex merged commit d3ed8a9 into main Dec 7, 2023
9 checks passed
@Powerplex Powerplex deleted the controlled-multiple-selection branch December 7, 2023 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: dropdown Related to dropdown component Component Related to a component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants