-
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
Added typescript types to fluid combobox and its skeleton state #17563
Added typescript types to fluid combobox and its skeleton state #17563
Conversation
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17563 +/- ##
==========================================
- Coverage 77.13% 77.13% -0.01%
==========================================
Files 409 409
Lines 14024 14025 +1
Branches 4355 4307 -48
==========================================
Hits 10818 10818
- Misses 3035 3037 +2
+ Partials 171 170 -1 ☔ View full report in Codecov by Sentry. |
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.
LGTM!!!!
@@ -105,7 +218,7 @@ FluidComboBox.propTypes = { | |||
* `onChange` is a utility for this controlled component to communicate to a | |||
* consuming component what kind of internal state changes are occurring. | |||
*/ | |||
onChange: PropTypes.func, | |||
onChange: PropTypes.func.isRequired, |
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 think this is a good idea. While this is technically a breaking change, this should've been required from the beginning because it's required in ComboBox and there is no default provided in this component.
72617dd
Hey there! v11.68.0 was just released that references this issue/PR. |
…on-design-system#17563) * fix: renamed js files to tsx for fluid combobox components * fix: added typescript types to fluid combobox * fix: snapshots * Update packages/react/src/components/FluidComboBox/FluidComboBox.tsx --------- Co-authored-by: Gururaj J <[email protected]> Co-authored-by: Taylor Jones <[email protected]> Co-authored-by: Alison Joseph <[email protected]>
Closes #17367
Added typescript types to fluid combobox and its skeleton state
Changelog
Changed
Testing / Reviewing
Fluid Combobox and its skeleton state should work as intended.