-
Notifications
You must be signed in to change notification settings - Fork 69
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!: release chip, searchfield, pagination, form.autosuggest #2964
Conversation
✅ Deploy Preview for paragon-openedx ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
d132fcf
to
8c09b4f
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2964 +/- ##
==========================================
+ Coverage 93.00% 93.18% +0.18%
==========================================
Files 236 249 +13
Lines 4273 4342 +69
Branches 1033 1036 +3
==========================================
+ Hits 3974 4046 +72
+ Misses 295 292 -3
Partials 4 4 ☔ View full report in Codecov by Sentry. |
8c09b4f
to
e187749
Compare
…lected values (#2899) This updates the Autosuggest component to provide the consumer with: * The value entered in the textbox by the user * The selected value (as it is displayed in the dropdown) * The id of the selected option This also allows the consumer to determine if the Autosuggest component should be in an error state when * No text has been entered * Text has been entered, but not selection has been made * An external validation check has failed - "customError" The consumer will provide error messages for the appropriate error states BREAKING CHANGE: value of Autosuggest component is now an object instead of a string BREAKING CHANGE: Autosuggest component now uses onChange instead of onSelected BREAKING CHANGE: Autosuggest component now takes in different error messages for value/selection required, and custom errors --------- Co-authored-by: Peter Kulko <93188219+PKulkoRaccoonGang@users.noreply.github.com> Co-authored-by: Kyr <40792129+khudym@users.noreply.github.com> Co-authored-by: Viktor Rusakov <vrusakov66@gmail.com>
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.
Overall LGTM!
One small non-blocking nit: hovering over the search field icon looks a little odd
without the "Search:" text it seems mostly fine, it just feels a little strange that it touches the edges of the textbox
With the "Search:" text it seems a little squished
I'd be more than happy to make a small issue for that and we can address it after the breaking change ships.
The above PR feedback has been addressed and release notes have been drafted to add into the corresponding GitHub release once this PR lands on Merging this PR should publish a new v22 release to NPM (as well as creating a new v23 alpha release). We will need to ensure any other shared JS repos that rely on Paragon as a peer dependency can support v22 (e.g., |
🎉 This PR is included in version 22.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
These changes include already-reviewed breaking changes for
Chip
,SearchField
,Pagination
, andForm.Autosuggest
. Must be merged as a breaking change.Deploy Preview
Include a direct link to your changes in this PR's deploy preview here (e.g., a specific component page).
Merge Checklist
example
app?wittjeff
andadamstankiewicz
as reviewers on this PR.Post-merge Checklist