Skip to content

Pre-release 3.0.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@sugardave sugardave released this 17 Jun 18:36
· 1422 commits to master since this release

NOTE: Support for 2019 TV platform (Blink <68) has been dropped from this version of Enact

Removed

  • moonstone/Button and moonstone/Panels.Header prop casing which is no longer supported
  • moonstone/Input.InputBase prop focused which was used to indicate when the internal input field had focused but was replaced by the :focus-within pseudo-selector
  • moonstone/VirtualList and moonstone/VirtualList.VirtualGridList property isItemDisabled

Added

  • core/util.clamp to safely clamp a value between min and max bounds
  • moonstone/BodyText prop size to offer a new "small" size
  • moonstone/Button prop iconPosition
  • moonstone/ContextualPopup config noArrow
  • moonstone/Dropdown component
  • moonstone/Header prop centered to support immersive apps with a completely centered design
  • moonstone/Heading component, an improved version of moonstone/Divider with additional features
  • moonstone/Panels slot <controls> to easily add custom controls next to the Panels' "close" button
  • moonstone/Spinner prop size to support a new "small" size for use inside SlotItem components
  • moonstone/TooltipDecorator prop tooltipRelative and moonstone/TooltipDecorator.Tooltip prop relative to support relative positioning. This is an advanced feature and requires a container with specific rules. See documentation for details.
  • ui/Button public class .hasIcon which is present on the root node only when an icon has been provided
  • ui/Heading component
  • ui/Measurable HOC and Hook for quick and convenient measuring of simple components
  • ui/Scroller, ui/VirtualList.VirtualGridList, and ui/VirtualList.VirtualList prop noScrollByWheel for preventing scroll by wheel

Changed

  • moonstone/Button.ButtonDecorator to remove i18n/Uppercase HOC
  • moonstone/Button, moonstone/Checkbox, moonstone/CheckboxItem, moonstone/ContextualPopupDecorator, moonstone/FormCheckbox, moonstone/FormCheckboxItem, moonstone/Header, moonstone/Notification, moonstone/RadioItem, and moonstone/Tooltip appearance to match the latest designs
  • moonstone/Button, moonstone/Dropdown, moonstone/Icon, moonstone/IconButton, moonstone/Input, and moonstone/ToggleButton default size to "small", which unifies their initial heights
  • moonstone/DaySelector to have squared check boxes to match the rest of the checkmark components
  • moonstone/LabeledIcon and moonstone/LabeledIconButton text size to be smaller
  • moonstone/Panel and moonstone/Panels now allocate slightly more screen edge space for a cleaner look
  • moonstone/Scroller.Scroller, moonstone/VirtualList.VirtualGridList, and moonstone/VirtualList.VirtualList scrollbar button to gain focus when pressing a page up or down key if focusableScrollbar is true
  • spotlight/Spottable to allow disabled items to be focused
  • global styling rules affecting standard font-weight, disabled opacity, and LESS color variable definitions

Fixed

  • ui/Measurable to remeasure after a re-layout so the measurement value is always correct
  • ui/Scroller, ui/VirtualList.VirtualGridList, and ui/VirtualList.VirtualList not to scroll by wheel at the same time when multiple lists/scrollers are nested