-
Notifications
You must be signed in to change notification settings - Fork 42
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
release-4.0.0 (HDS-2069) Select component (part I) #1240
Merged
Merged
Conversation
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
f0b0722
to
bb2e048
Compare
laurakarhu
approved these changes
Mar 25, 2024
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.
Good job, couple of questions and remarks. Please have developer reviews as well :D
packages/react/src/components/select/components/selectedOptions/ButtonWithSelectedOptions.tsx
Outdated
Show resolved
Hide resolved
bb2e048
to
ff6da96
Compare
Test Results1 tests 1 ✅ 0s ⏱️ Results for commit 37dc258. ♻️ This comment has been updated with latest results. |
The select button must show number of hidden elements. This util can find the last visible one.
The option list should close on outside click. Same feature has been used in other components, but no common hook has existed.
And a hook for using the DataProvider with Select data types.
Components trigger events that change the data. This is one common place for all events.
When an event is triggered, dataUpdater listens to them and changes Select component's data
ff6da96
to
37dc258
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Note: target branch is another select component branch with its own PR.
Description
First commits for the Select component. Skeleton version with only single select and basic components.
Related Issue
https://helsinkisolutionoffice.atlassian.net/browse/HDS-2069
Motivation and Context
Making multiple PRs for the Select instead of one huge.
How Has This Been Tested?
Unit tests
Demo
Screenshots (if appropriate):
Add to changelog
Not until whole Select is ready