@enact/core
Advanced tools
Changelog
[2.5.1] - 2019-04-09
core/kind
to address warnings raised in React 16.8.6moonstone/ExpandableInput
to close on touch platforms when tapping another componentui/Touchable
to prevent doubled events in some situations on touch devicesChangelog
[2.5.0] - 2019-04-01
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
moonstone/ContextualPopupDecorator
method positionContextualPopup()
to correctly reposition the popup when invoked from app codemoonstone/Tooltip
to better support long tooltipsmoonstone/Popup
to resume spotlight pauses when closing with animationmoonstone/Panels
to correctly ignore null
childrenspotlight
to guard against runtime errors caused by attempting to access containers that do not existspotlight/Spottable
to prevent unnecessary updates due to focus and blur changesChangelog
[2.4.1] - 2019-03-11
core/util.isRenderable
to treat values returned by React.lazy()
, React.memo()
, and React.forwardRef()
as renderablecore/hoc
to support wrapping components returned by React.lazy()
, React.memo()
, and React.forwardRef()
i18n/I18nDecorator
to defer updating the locale until window is focusedmoonstone/Checkbox
, moonstone/FormCheckbox
, moonstone/RadioItem
, moonstone/SelectableIcon
, and moonstone/Slider
spotlight muted colorsmoonstone/Spinner
animation synchronization after a rerendermoonstone/TooltipDecorator
to position Tooltip
correctly when the wrapped component moves or resizesmoonstone/VideoPlayer
to continue to show thumbnail when playback control keys are pressedmoonstone/VideoPlayer
to stop seeking by remote key when it loses focusmoonstone/VirtualList
to only resume spotlight pauses it initiatedspotlight
to remain in pointer mode when any 'cancel' key (e.g. Escape or back button) is pressedui/VirtualList
scrollTo
callback to scroll properly during prop change updatesChangelog
[2.4.0] - 2019-03-04
moonstone
line-height
rule to base text CSS for both latin and non-latin localesmoonstone
support for high contrast colors in dark and light skinmoonstone/BodyText
prop noWrap
which automatically adds moonstone/Marquee
support as well as limits the content to only display one line of textui/BodyText
prop component
to allow customization of the tag/component used to render its base elementui/Repeater
prop component
to allow customization of its base elementui/Spinner
prop paused
to halt the animation. Previously this was hard-coded "on", but now it can be toggled.moonstone/Spinner
visuals from 3 spinning balls to an energetic flexing lineui/Changeable
and ui/Toggleable
to warn when both [defaultProp]
and [prop]
are providedmoonstone/Panels
to set child's autoFocus
prop to default-element
when index
increasesmoonstone/Slider
to prevent gaining focus when clicked when disabledmoonstone/Slider
to prevent default browser scroll behavior when 5-way directional key is pressed on an active knobmoonstone/DatePicker
and moonstone/TimePicker
to close with back/ESCmoonstone/DatePicker
and moonstone/TimePicker
value handling when open on mountmoonstone/ContextualPopupDecorator
to correctly focus on popup content when openedspotlight/Spottable
to prevent unnecessary updates due to focus changesChangelog
[2.3.0] - 2019-02-11
core/kind
config property contextTypes
, to be removed in 3.0.core/kind
config property contextType
replacing legacy contextTypes
propertyi18n/I18nDecorator
HOC config prop resources
to support retrieval of user-space i18n resource files on locale changei18n/I18nDecorator
HOC config prop sync
to support asynchronous retrieval of i18n resource filesi18n/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 translationsmoonstone/VirtualList.VirtualGridList
and moonstone/VirtualList.VirtualList
property childProps
to support additional props included in the object passed to the itemsRenderer
callbackmoonstone/Skinnable
support for skinVariants
, to enable features like high contrast mode and large text modespotlight/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 grayscaleui/Touchable
event onHoldEnd
to notify when a hold has been releasedui/Touchable
prop holdConfig.global
to allow a hold to continue when leaving or blurring the elementstyles
directory) extensions to be *.module.less
to retain modular context with CLI 2.x.i18n
resource loader to use intelligent defaults when the path variables are not injectedmoonstone/VirtualList
to focus an item properly by scrollTo
API immediately after a prior call to the same positionmoonstone/Popup
to close floating layer when the popup closes without animationspotlight
to improve prioritization of the contents of spotlight containers within overflow containersspotlight/Spottable
and spotlight/SpotlightContainerDecorator
to prevent focus when spotlightDisabled
is setspotlight/Spottable
to prevent emitting multiple click events when certain node types are selected via 5-way enterui/Touchable
to continue drag events when blurring the element when dragConfig.global
is setui/Marquee
to marquee when necessary after a locale change