Repository navigation
Tags: downshift-js/downshift
Tags
feat: fix React Compiler compatibility. (#1690) * enable `react-hooks/refs` rule * refactor `useEnhancedReducer` * refactor `useCombobox` * refactor `useSelect` * update `useElementIdsLegacy` ref pattern * read direct value in `useTagGroup` * refactor `useMultipleSelection` * refactor `useMouseAndTouchTracker` * reintroduce eslint-disable comment (was accidentally removed) * ignore refs rule in `useIsInitialMount` * remove `useLatestRef` altogether * fixup * add compiled version of `useCombobox` E2E test * bring back useLatestRef * abstract useIsomorphicLayoutEffect --------- Co-authored-by: Silviu Alexandru Avram <silviu.avram91@gmail.com>
fix: bring back action props and update the hooks to use TypeScript f… …ully (#1683) * fix(reducer): bring back action props * fix a test * rename utils to utils.legacy * rename hooks utils to legacy * rename utils-ts to utils * migrate src utils * getChangesOnSelection and getChangesOnSelection * getHighlightedIndexOnOpen * prettier * getHighlighted and nonDisabled * tests * move dropdown utils to hook utils * isControlledProps * fix import * migrate stateChangeTypes * getInitialState * combobox utils * only combobox index file left to go * more updates to make it ts ready * useControlPropsValidator & validateControlledUnchanged * useMouseAndTouchTracker and targetWithinDownshift * useGetterPropsCalledChecker * create downshift types * environment is not required * refactored useCobobox * useSelect types and stateChangeTypes * useSelect reducer * useSelect * last 2 utils * more tests * fix equality issue * common reducer * finish tests for getItemIndexByChar * refactored tests * move useMultiple types * consolidate types * reexport everything * prettier * fix exports * fix pre-commit * add refs to tsx tests * more types fixes after docusaurus tsx convert * bring back the previous typings folder * fix exports * code review * fix types generation * prettier * tsconfig stale * some type fixes in reducer * no need for pre-commit fix
PreviousNext