Skip to content

Releases: enactjs/enact

Release 2.5.2

02 May 21:13
Compare
Choose a tag to compare

Fixed

  • moonstone/EditableIntegerPicker text alignment when not editing the value
  • moonstone/Scroller to scroll via dragging when the platform has touch support
  • moonstone/VideoPlayer to continue to display the thumbnail image while the slider is focused
  • ui/Skinnable to allow overriding default skinVariant values
  • ui/Touchable to prevent events firing on different nodes for the same touch action
  • ui/Touchable to neither force focus to components nor blur components after they are touched

Release 2.5.1

02 May 21:12
Compare
Choose a tag to compare

Fixed

  • core/kind to address warnings raised in React 16.8.6
  • moonstone/ExpandableInput to close on touch platforms when tapping another component
  • ui/Touchable to prevent doubled events in some situations on touch devices

Release 2.5.0

01 Apr 23:35
Compare
Choose a tag to compare

Added

  • ui/Item, ui/Layout, ui/Repeater, ui/SlotItem, ui/Spinner, ui/ToggleItem, and ui/ViewManager support for ref to gain access to the wrapped component

Fixed

  • moonstone/ContextualPopupDecorator method positionContextualPopup() to correctly reposition the popup when invoked from app code
  • moonstone/Tooltip to better support long tooltips
  • moonstone/Popup to resume spotlight pauses when closing with animation
  • moonstone/Panels to correctly ignore null children
  • spotlight to guard against runtime errors caused by attempting to access containers that do not exist
  • spotlight/Spottable to prevent unnecessary updates due to focus and blur changes

Release 2.4.1

12 Mar 01:00
Compare
Choose a tag to compare

Fixed

  • core/util.isRenderable to treat values returned by React.lazy(), React.memo(), and React.forwardRef() as renderable
  • core/hoc to support wrapping components returned by React.lazy(), React.memo(), and React.forwardRef()
  • i18n/I18nDecorator to defer updating the locale until window is focused
  • moonstone/Checkbox, moonstone/FormCheckbox, moonstone/RadioItem, moonstone/SelectableIcon, and moonstone/Slider spotlight muted colors
  • moonstone/Spinner animation synchronization after a rerender
  • moonstone/TooltipDecorator to position Tooltip correctly when the wrapped component moves or resizes
  • moonstone/VideoPlayer to continue to show thumbnail when playback control keys are pressed
  • moonstone/VideoPlayer to stop seeking by remote key when it loses focus
  • moonstone/VirtualList to only resume spotlight pauses it initiated
  • spotlight to remain in pointer mode when any 'cancel' key (e.g. Escape or back buttoon) is pressed
  • ui/VirtualList scrollTo callback to scroll properly during prop change updates

Release 2.4.0

12 Mar 00:49
Compare
Choose a tag to compare

Added

  • moonstone line-height rule to base text CSS for both latin and non-latin locales
  • moonstone support for high contrast colors in dark and light skin
  • moonstone/BodyText prop noWrap which automatically adds moonstone/Marquee support as well as limits the content to only display one line of text
  • ui/BodyText prop component to allow customization of the tag/component used to render its base element
  • ui/Repeater prop component to allow customization of its base element
  • ui/Spinner prop paused to halt the animation. Previously this was hard-coded "on", but now it can be toggled.

Changed

  • moonstone/Spinner visuals from 3 spinning balls to an energetic flexing line
  • ui/Changeable and ui/Toggleable to warn when both [defaultProp] and [prop] are provided

Fixed

  • moonstone/Panels to set child's autoFocus prop to default-element when index increases
  • moonstone/Slider to prevent gaining focus when clicked when disabled
  • moonstone/Slider to prevent default browser scroll behavior when 5-way directional key is pressed on an active knob
  • moonstone/DatePicker and moonstone/TimePicker to close with back/ESC
  • moonstone/DatePicker and moonstone/TimePicker value handling when open on mount
  • moonstone/ContextualPopupDecorator to correctly focus on popup content when opened
  • spotlight/Spottable to prevent unnecessary updates due to focus changes

Release 2.3.0

12 Mar 00:58
Compare
Choose a tag to compare

Deprecated

  • core/kind config property contextTypes, to be removed in 3.0.

Added

  • core/kind config property contextType replacing legacy contextTypes property
  • i18n/I18nDecorator HOC config prop resources to support retrieval of user-space i18n resource files on locale change
  • i18n/I18nDecorator HOC config prop sync to support asynchronous retrieval of i18n resource files
  • i18n/I18nDecorator HOC config props latinLanguageOverrides and nonLatinLanguageOverrides to allow consumers to configure some locales to be treated as Latin or non-Latin for the purposes of applying the enact-locale-non-latin global class name.
  • i18n/Text component to provide asynchronous text translations
  • moonstone/VirtualList.VirtualGridList and moonstone/VirtualList.VirtualList property childProps to support additional props included in the object passed to the itemsRenderer callback
  • moonstone/Skinnable support for skinVariants, to enable features like high contrast mode and large text mode
  • Support for 8k (UHD2) displays
  • spotlight/Spottable property selectionKeys
  • ui/Skinnable support for skinVariants; a way to augment a skin by adding variations of a skin to your visuals, like large text, high contrast, or grayscale
  • ui/Touchable event onHoldEnd to notify when a hold has been released
  • ui/Touchable prop holdConfig.global to allow a hold to continue when leaving or blurring the element

Changed

  • All content-containing LESS stylesheets (not within a styles directory) extensions to be *.module.less to retain modular context with CLI 2.x.

Fixed

  • i18n resource loader to use intelligent defaults when the path variables are not injected
  • moonstone/VirtualList to focus an item properly by scrollTo API immediately after a prior call to the same position
  • moonstone/Popup to close floating layer when the popup closes without animation
  • spotlight to improve prioritization of the contents of spotlight containers within overflow containers
  • spotlight/Spottable and spotlight/SpotlightContainerDecorator to prevent focus when spotlightDisabled is set
  • spotlight/Spottable to prevent emitting multiple click events when certain node types are selected via 5-way enter
  • ui/Touchable to continue drag events when blurring the element when dragConfig.global is set
  • ui/Marquee to marquee when necessary after a locale change

Release 2.2.9

12 Mar 00:59
Compare
Choose a tag to compare

Fixed

  • moonstone/Scroller scrolling to boundary behavior for short scrollers

Release 2.2.8

12 Mar 00:59
Compare
Choose a tag to compare

Fixed

  • moonstone/ExpandableInput to focus labeled item on close
  • moonstone/ExpandableItem to disable its spotlight container when the component is disabled
  • moonstone/Scroller to correctly handle scrolling focused elements and containers into view
  • spotlight to focus correctly within an overflow container in which the first element is another container without spottable children
  • ui/Marquee to display an ellipsis when changing to text that no longer fits within its bounds
  • ui/VirtualList, ui/VirtualGridList, and ui/Scroller to debounce onScrollStop events for non-animated scrolls

Release 2.2.7

03 Dec 04:43
Compare
Choose a tag to compare

Fixed

  • moonstone/Picker, moonstone/ExpandablePicker, moonstone/ExpandableList, moonstone/IncrementSlider to support disabling voice control
  • ui/Marquee to avoid very small animations

Release 2.2.6

16 Nov 00:17
Compare
Choose a tag to compare

Fixed

  • i18n/I18nDecorator to allow changing the locale to a falsey value to use the device locale
  • moonstone/VideoPlayer to blur slider when hiding media controls
  • moonstone/VideoPlayer to disable pointer mode when hiding media controls via 5-way
  • moonstone/VirtualList and moonstone/Scroller to not to animate with 5-way navigation by default
  • ui/Marquee to handle contents which overflow their containers only slightly