chore(deps): update dependency downshift to v6#150
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
chore(deps): update dependency downshift to v6#150renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
This file contains hidden or 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
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.
This PR contains the following updates:
^2.0.19->^6.0.0Release Notes
downshift-js/downshift
v6.0.5Compare Source
Performance Improvements
v6.0.4Compare Source
Bug Fixes
v6.0.3Compare Source
Bug Fixes
v6.0.2Compare Source
Bug Fixes
v6.0.1Compare Source
Bug Fixes
v6.0.0Compare Source
BREAKING CHANGES
selectedItemto acceptnullin bothuseSelectanduseCombobox.To migrate to the new change, update your types or code if necessary.
selectedItem,defaultSelectedItemandinitialSelectedItemnow haveItem | nullinstead ofItemtype. PR with the changes: #1090itemToStringto acceptnullfor theitemparameter, inuseSelectanduseCombobox+ inDownshiftwhere this was missing.useMultipleSelectiontype foritemToStringstays the same as it can't receivenullasitem.To migrate to the new change, update your types or code if necessary.
itemToString: (item: Item) => string->itemToString: (item: Item | null) => string}. PR with the changes: #1075 #1105typeto the onChange (onInputValueChange, onHighlightedIndexChange, onSelectedItemChange, onIsOpenChange) handler parameters, as specified in the documentation. Also updated the TS typings to reflect this +onStateChange- thetypeparameter was passed but it was not reflected in the TS types.To migrate to the new change, update your types or code if necessary, better to view the changes in the PR: #985. Important: please update to the 6.0.2 version since it contains a couple of fixes for the changes in this Breaking Change. Final changes:
where
BREAKING BEHAVIOURS
[useCombobox]: When an item is highlighted by keyboard and user closes the menu using mouse/touch, the item is not selected anymore. The only selection on Blur happens using either Tab / Shift+Tab. PR with the changes: #1109
[useCombobox & downshift]: When pressing Escape and the menu is open, only close the menu. When the menu is closed and there is an item selected and/or text in the input, clear the selectedItem and the inputValue. PR with the changes: #719
v5.4.7Compare Source
Bug Fixes
v5.4.6Compare Source
Bug Fixes
v5.4.5Compare Source
Bug Fixes
v5.4.4Compare Source
Bug Fixes
v5.4.3Compare Source
Bug Fixes
v5.4.2Compare Source
Bug Fixes
v5.4.1Compare Source
Bug Fixes
v5.4.0Compare Source
Features
v5.3.0Compare Source
Features
v5.2.7Compare Source
Bug Fixes
v5.2.6Compare Source
Bug Fixes
v5.2.5Compare Source
Performance Improvements
v5.2.4Compare Source
Bug Fixes
v5.2.3Compare Source
Bug Fixes
v5.2.2Compare Source
Bug Fixes
v5.2.1Compare Source
Bug Fixes
v5.2.0Compare Source
Features
v5.1.1Compare Source
Bug Fixes
getSelectedItemProps(#1002) (5ad8864)v5.1.0Compare Source
Features
v5.0.7Compare Source
Bug Fixes
v5.0.6Compare Source
Bug Fixes
scrollIntoViewdefinitions to hooks (#983) (75b2fb6)v5.0.5Compare Source
Bug Fixes
v5.0.4Compare Source
Bug Fixes
v5.0.3Compare Source
Bug Fixes
v5.0.2Compare Source
Bug Fixes
v5.0.1Compare Source
Bug Fixes
v5.0.0Compare Source
BREAKING CHANGES
FunctionClearKeysSoFarfrom state change types and TS typings. In useSelect, once the timeout for keeping the character keys in memory has expired,FunctionSetInputValuewill be used. We are doing this as we are renamingkeysSoFarwithinputValue.To migrate to the new change, simply check for
FunctionSetInputValuewith empty string asinputValueinstead of checking forFunctionClearKeysSoFarinstateReducer.getA11yStatusMessageandgetA11ySelectionMessagewill be called with the same props as thegetA11yStatusMessagein<Downshift>, apart frompreviousResultCount. In the TS typings it's now marked as optional, and all functions have the same interface definition,A11yStatusMessageOptions.To migrate to the new changes, in
useSelectanduseCombobox, if you useditemsas parameters in any of the a11y message functions, now you should useresultCountas probably you only neededitems.lengthfrom it anyway.Also typings
UseSelectA11yMessageOptionsandUseComboboxA11yMessageOptionshave been removed. UseA11yStatusMessageOptionsinstead.Code Changes: tests have been enhanced by using
user inputfromRTLand they now look better and cleaner. Also covered more use cases better. Code has been refactored as well, and bundle size slightly reduced.Functional Improvement: better focus management for both
useSelectanduseCombobox.Fixes #832.
Closes #892
Closes #891
Closes #873
v4.1.0Compare Source
Features
v4.0.11Compare Source
Bug Fixes
v4.0.10Compare Source
Bug Fixes
v4.0.9Compare Source
Bug Fixes
v4.0.8Compare Source
Bug Fixes
v4.0.7Compare Source
Bug Fixes
v4.0.6Compare Source
Bug Fixes
v4.0.5Compare Source
Bug Fixes
v4.0.4Compare Source
Bug Fixes
v4.0.3Compare Source
Bug Fixes
v4.0.2Compare Source
Bug Fixes
v4.0.1Compare Source
Bug Fixes
v4.0.0Compare Source
Bug Fixes
Features
BREAKING CHANGES
useSelectandDownshift. See PR for details.v3.4.8Compare Source
Bug Fixes
v3.4.7Compare Source
Bug Fixes
v3.4.6Compare Source
Bug Fixes
v3.4.5Compare Source
Performance Improvements
v3.4.4Compare Source
Bug Fixes
v3.4.3Compare Source
Bug Fixes
getItemProps(#833) (fabffff)v3.4.2Compare Source
Bug Fixes
getToggleButtonProps(#829) (9cf3838)v3.4.1Compare Source
Bug Fixes
v3.4.0Compare Source
Features
v3.3.7Compare Source
Bug Fixes
v3.3.6Compare Source
Bug Fixes
v3.3.5Compare Source
Bug Fixes
v3.3.4Compare Source
Performance Improvements
v3.3.3Compare Source
Bug Fixes
v3.3.2Compare Source
Bug Fixes
v3.3.1Compare Source
Bug Fixes
v3.3.0Compare Source
Features
v3.2.14Compare Source
Bug Fixes
v3.2.13Compare Source
Bug Fixes
v3.2.12Compare Source
Bug Fixes
v3.2.10Compare Source
Bug Fixes
v3.2.9Compare Source
Bug Fixes
v3.2.8Compare Source
Bug Fixes
v3.2.7Compare Source
Bug Fixes
v3.2.6Compare Source
Bug Fixes
v3.2.5Compare Source
Bug Fixes
v3.2.4Compare Source
Bug Fixes
v3.2.3Compare Source
Bug Fixes
v3.2.2Compare Source
Bug Fixes
v3.2.1Compare Source
Bug Fixes
v3.2.0Compare Source
Features
v3.1.13Compare Source
Bug Fixes
v3.1.12Compare Source
Bug Fixes
v3.1.11Compare Source
Bug Fixes
v3.1.10Compare Source
Bug Fixes
v3.1.9Compare Source
Bug Fixes
v3.1.8Compare Source
Bug Fixes
v3.1.7Compare Source
Bug Fixes
v3.1.6Compare Source
Bug Fixes
v3.1.5Compare Source
Bug Fixes
v3.1.4Compare Source
Bug Fixes
v3.1.3Compare Source
Bug Fixes
v3.1.2Compare Source
Bug Fixes
v3.1.1Compare Source
Bug Fixes
v3.1.0Compare Source
Features
v3.0.0Compare Source
Bug Fixes
Features
initial*props for all state (b4435d6), closes #467BREAKING CHANGES
initial*: If you're using any of the props that start withdefault, you probably want to change that toinitialinstead.defaultSelectedItemanddefaultInputValuewere also removed in favor ofinitialSelectedItemandinitialInputValue(respectively).inputValue: if you control the selectedItem, we no longer set the inputValue to the defaultInputValue.highlightedIndex: In compliance with the ARIA specification, downshift will now default to highlighting the first item when the user presses ⬇ and the last item when the user presses ⬆ (given the menu is closed). #590Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.