v2.0.0-beta.7
gwyneplaine
released this
05 Jul 01:00
·
1440 commits
to master
since this release
Features
- Removed old aria-attributes in Option, MenuList and other components in favor of an aria-live-region implementation.
screenReaderStatus
prop is still at the moment untouched, andaria-labelledby
andaria-label
props are still available and retain their functionality. See #2581. - Added makeAnimated function export, that takes passed in components and wraps them in higher order components that expose animated functionality. #2724
- Added functionality to not render the menu if
noOptionsMessage
orloadingMessage
are set to null. #2754
Fixes
- Fixed bug with MultiValueRemove interaction not working in mobile #2762, thanks chuckbergeron.
- Fixed bug with mobile menu being blocked when
menuShouldBlockScroll
is true.
#2756 - Fixed #2701, use of un-polyfilled array.includes() in Select.js, this has now been subbed out for a IE compatible implementation.
- #2723, fixed emotion compilation bug blocking loadingDot rendering.
- #2749 fixed typo in docs. thanks JuhQ
Updates
- Enabled hideSelectedOptions functionality for single-select as well. Changed logic so that if isMulti is true and hideSelectedOptions is not defined, we will hide selected options by default. Explicitly setting hideSelectedOptions will override this behaviour. #2753
- Updates to flow types, thanks mike1808, himerus,
- #2733, fixed classname bug to do with prefixing classes with modifiers.
[teamable-software](https://github.com/teamable-software - Bumped internal flow-bin dependency to 0.72.0, #2646 thanks lunij