Skip to content

fix: bring back action props and update the hooks to use TypeScript fully#1683

Merged
silviuaavram merged 50 commits into
masterfrom
dev/update-to-ts-2
May 31, 2026
Merged

fix: bring back action props and update the hooks to use TypeScript fully#1683
silviuaavram merged 50 commits into
masterfrom
dev/update-to-ts-2

Conversation

@silviuaavram
Copy link
Copy Markdown
Collaborator

@silviuaavram silviuaavram commented May 9, 2026

Pull Request

What

Refactors the hooks to TypeScript.
Brings back the props object as part of the action object when is passed to the hook reducer, via the useEnhancedReducer, in order to fix the issue below:
Closes #1680
Closes #1678

Why

Improve DevEx and remove the gap between the static types and the actual implementation.

How

Refactor useSelect and useCombobox + the utils they are using.

Changes

Checklist

  • Documentation
  • Tests
  • TypeScript Types
  • Ready to be merged

Copilot AI review requested due to automatic review settings May 9, 2026 08:07
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@silviuaavram silviuaavram mentioned this pull request May 9, 2026
4 tasks
@silviuaavram silviuaavram changed the title Dev/update to ts 2 dev: update the hooks to use TypeScript fully May 9, 2026
@silviuaavram silviuaavram force-pushed the dev/update-to-ts-2 branch from 34785e9 to 3ee0dfc Compare May 9, 2026 11:46
@silviuaavram silviuaavram changed the title dev: update the hooks to use TypeScript fully fix: bring back action props and update the hooks to use TypeScript fully May 31, 2026
@silviuaavram silviuaavram merged commit b415eea into master May 31, 2026
4 checks passed
@silviuaavram silviuaavram deleted the dev/update-to-ts-2 branch May 31, 2026 15:34
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 9.3.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

useCombobox hook isOpen state "regression" starting from v9.2.0 ? Combobox input issue starting from v9.2.0 and missing changelog

2 participants