Skip to content

Pre-release 2.0.0-beta.5

Pre-release
Pre-release

Choose a tag to compare

@JayCanuck JayCanuck released this 01 Jun 00:03
· 2091 commits to master since this release

Removed

  • moonstone/Popup, moonstone/Dialog and moonstone/Notification property spotlightRestrict option 'none'
  • moonstone/VideoPlayer prop preloadSource, to be replaced by moonstone/VideoPlayer.Video prop preloadSource
  • moonstone/Button and moonstone/IconButton allowed value 'opaque' from prop backgroundOpacity which was the default and therefore has the same effect as omitting the prop

Added

  • moonstone/VideoPlayer props selection and onSeekOutsideRange to support selecting a range and notification of interactions outside of that range
  • moonstone/VideoPlayer.Video component to support preloading video sources
  • ui/FloatingLayerDecorator imperative API to close all floating layers registered in the same id
  • ui/ProgressBar and ui/Slider prop progressAnchor to configure from where in the progress bar or slider progress should begin
  • ui/Slider prop progressBarComponent to support customization of progress bar within a slider
  • ui/ForwardRef HOC to adapt React.forwardRef to HOC chains
  • ui/Media component

Changed

  • moonstone/VideoPlayer.videoComponent prop to default to ui/Media.Media instead of 'video'. As a result, to use a custom video element, one must pass an instance of ui/Media with its mediaComponent prop set to the desired element.

Fixed

  • moonstone/ContextualPopupDecorator to properly stop propagating keydown event if fired from the popup container
  • moonstone/Slider to read when knob gains focus or for a change in value
  • moonstone/Scroller to not cut off Expandables when scrollbar appears
  • moonstone/VideoPlayer to correctly read out when play button is pressed
  • ui/MarqueeController to update hovered state when pointer hides
  • ui/Touchable to end gestures when focus is lost
  • ui/VirtualList.VirtualList and ui/VirtualList.VirtualGridList to prevent items overlap with scroll buttons