The following is a curated list of changes in the Enact project, newest changes on the top.
ui/VirtualList
to re-render when the each size of variable sized items changed
ui/VirtualList
to re-render when the each size of variable sized items changed
No significant changes.
core/util
functionsetDefaultProps
to set props that are missing orundefined
to default valuesui/VirtualList.VirtualListBasic
support to read the order of items when thelistitem
role is set to itemswebos/signLang
module withstartSignLang()
,stopSignLang()
functions andSignLangDecorator
Higher-order Component
spotlight
to not requireless
dependencyui/Marquee.MarqueeController
to start animation properly whenmarqueeOnFocus
is set totrue
and text changedui/Scroller
andui/VirtualList
to have default prop whenundefined
prop is passedui/VirtualList
to update its scroll bounds when the total size of items is changed
ui/VirtualList
to update its scroll bounds when the total size of items is changed
core/util
functionsetDefaultProps
to set props that are missing orundefined
to default valueswebos/signLang
module withstartSignLang()
,stopSignLang()
functions andSignLangDecorator
Higher-order Component
ui/Scroller
andui/VirtualList
to have default prop whenundefined
prop is passed
webos/signLang
module withstartSignLang()
,stopSignLang()
functions andSignLangDecorator
Higher-order Component
spotlight/Spotlight.disableSelector
to properly update theselectorDisabled
container configui/Marquee.MarqueeDecorator
to start animation properly when synchronized byui/Marquee.MarqueeController
and text changedui/Placeholder.PlaceholderControllerDecorator
to not remount its children when it rerenderswebos/speech.VoiceControlDecorator
to not remount its children when it rerenders
spotlight/SpotlightRootDecorator
configrootId
to specify React DOM tree root for global event handlers
ui/Marquee.MarqueeDecorator
to use@enact/i18n/utils.isRtlText
API to determine the text directionalitysampler
look and feel by updating to Storybook 8
ui/Marquee.MarqueeDecorator
to start animation properly when synchronized byui/Marquee.MarqueeController
and text changed
core/platform
memberwindowsPhone
,edge
,androidChrome
,android
,ie
,ios
,webos
,androidFirefox
,firefoxOS
,blackberry
, andtizen
core/platform
membergesture
,node
,platformName
, andunknown
core/platform
membertouch
andtouchscreen
ui/GridListImageItem
ui/IconButton
ui/Marquee.MarqueeDecorator
configclassName
ui/RadioDecorator
ui/Scroller.ScrollerBase
ui/SlotItem
ui/ToggleItem
ui/VirtualList.VirtualListBase
webos/platform
memberwatch
andlegacy
No significant changes.
spotlight/Spottable
to have sibling DOM node as alternative to findDOMNode API which will be removed in React 19ui/Placeholder.PlaceholderControllerDecorator
andui/ViewManager
to have sibling DOM node as alternative to findDOMNode API which will be removed in React 19webos/speech.VoiceControlDecorator
to have sibling DOM node as alternative to findDOMNode API which will be removed in React 19
i18n
resource loader to override strings where the original strings file does not exist
No significant changes.
i18n
resource loader to prioritize strings from additional resources files
No significant changes.
core/platform
memberwindowsPhone
,edge
,androidChrome
,android
,ie
,ios
,webos
,androidFirefox
,firefoxOS
,blackberry
, andtizen
, to be removed in 5.0.0core/platform
membergesture
,node
,platformName
, andunknown
, to be removed in 5.0.0core/platform
membertouch
andtouchscreen
, to be removed in 5.0.0webos/platform
memberwatch
andlegacy
, to be removed in 5.0.0
core/platform
membertype
to detect a platform like 'desktop', 'mobile', 'webos', and 'node'core/platform
memberbrowserName
andbrowserVersion
to detect the compatible major browser name and versioncore/platform
membertouchEvent
andtouchScreen
replacing legacytouch
andtouchscreen
respectivelyui/Layout.Cell
propcomponentCss
to support customizing the component used inCell
spotlight
navigation from the focused element clipped by an overflow container
spotlight
navigation from the focused element clipped by an overflow container
No significant changes.
No significant changes.
ui/Marquee.MarqueeDecorator
to re-render when its size changed
ui/Marquee.MarqueeDecorator
to re-render when its size changed
ui/Marquee.MarqueeDecorator
to re-render when its size changed
i18n
resource loader to prioritize strings from additional resources files.
No significant changes.
No significant changes.
ui/Marquee
style to avoid letters being cut off
spotlight/SpotlightContainerDecorator
config optionleaveFor
to direct which element receives focus when the focus is leaving
core/handle.forwardCustom
andcore/handle.forwardCustomWithPrevent
to bind an adapter function properlyspotlight
to not show the focus effect when pointer mode is changed tofalse
by touch while an app is loading
ui/Scroller
andui/VirtualList
to pass scrolling state properly to UI libraries
No significant changes.
spotlight
to show the focus effect when pointer mode is changed tofalse
while an app is loading
windowsPhone
platform incore/platform.platforms
to be removed in 5.0.0
ui/Layout.Cell
propgrow
to expand its size to the container
i18n
resource loader to override strings where the original strings file does not existspotlight
to show the focus effect when pointer mode is changed tofalse
while an app is loadingui/ViewManager
to set index prop properly when reverseTransition prop is given
i18n
loader to load resources for theme libraries asynchronously
ui/Touchable
eventsonPinch
,onPinchStart
,onPinchEnd
, and configpinchConfig
to support pinch gesture
ui/IconButton
to be removed in 5.0.0, useui/Button
insteadui/RadioDecorator
to be removed in 5.0.0ui/Scroller.ScrollerBase
to be removed in 5.0.0ui/SlotItem
to be removed in 5.0.0ui/ToggleItem
to be removed in 5.0.0ui/VirtualList.VirtualListBase
to be removed 5.0.0
core/dispatcher
to set the default target for event listeners properly when built with the snapshot optionui/Marquee.MarqueeDecorator
to restart animation properly whenmarqueeDelay
is 0
ui/Marquee.MarqueeDecorator
to have proper spacing for bidirectional text
ui/Marquee
to stop at the starting point after one cycle when scaled
ui/Marquee.MarqueeDecorator
to have proper spacing for bidirectional textui/Marquee.MarqueeDecorator
to restart animation properly with React 18
No significant changes.
core/handle.forwardCustom
handler to includepreventDefault
andstopPropagation
methods in the forwarded event payload
spotlight
to not leave the restrict container after returning from another appui/Scroller
andui/VirtualList
to rerender property whenclientSize
is changed
No significant changes.
spotlight
an optionalcontainerOption.toOuterContainer
parameter tofocus
function to search target recursively to outer containerui/FloatingLayer
to adddetail
property containinginputType
inonDismiss
event payload
ui/Marquee.MarqueeDecorator
configclassName
to be removed in 5.0.0
ui/Marquee.MarqueeDecorator
configcss
to support customizing the marquee styles
spotlight
to not focus on an invisible element
No significant changes.
- Update dependencies including React 18.0.0
ui/FloatingLayer
to stack popups always in the order in which they were opened
- Support for loading changed resources and additional ilib resources paths
ui/Scroller
andui/VirtualList
propdata-webos-voice-focused
,data-webos-voice-disabled
, anddata-webos-voice-group-label
ui/Marquee.MarqueeDecorator
locale
type forforceDirection
prop not to override the direction depending on contents
ui/Button
not to passicon
prop as children whenicon
is trueui/Transition
to pass the event when handling transition event
- Updated to use
forwardCustom
and addtype
when forwarding custom events
spotlight
to correctly control focus when boundaries of an element are not integers- Styles for
debug spotlight
option in samplers to work properly
moonstone/Panels.Panel
to restore focus properly when it hasmoonstone/Scroller
withfocusableScrollbar
ui/Scroller
andui/VirtualList
to avoid stuttering of content on drag in mobile devicesui/Scroller
andui/VirtualList
to scroll correctly on Android platform for RTL locales
No significant changes.
- Support for loading changed resources and additional ilib resources paths
spotlight/SpotlightRootDecorator
to show focus effect after initial loadingui/Marquee.MarqueeDecorator
to restart animation when text changed while focus retained
ui/Marquee.MarqueeDecorator
style to render text properly when starting animation
sampler
not to fail in build.
No significant changes.
spotlight/SpotlightRootDecorator
not to add locale specific classes in the wrong DOM after isomorphic build with multi locales
ui/Marquee.MarqueeDecorator
to stop marquee properly after hiding pointer whenmarqueeOn
ishover
spotlight
an optionalcontainerOption
parameter tofocus
function
spotlight/SpotlightRootDecorator
not to fail in isomorphic build
spotlight/SpotlightRootDecorator
to remove focus effect when touching up
core/platform
to detect chromium version for webOS
ui/A11yDecorator
ui/Button
,ui/Icon
,ui/IconButton
, andui/LabeledIcon
default size values
ui/BodyText
,ui/Button
,ui/Group
,ui/Heading
,ui/Icon
,ui/IconButton
,ui/Image
,ui/ImageItem
,ui/LabeledIcon
,ui/Layout
,ui/ProgressBar
,ui/Repeater
,ui/Slider
,ui/SlotItem
,ui/Spinner
,ui/ToggleIcon
,ui/ToggleItem
, andui/ViewManager
support for forwardingref
s to the respective root component
sampler
look and feel by updating to Storybook 6ui/Touchable
eventonHold
andonHoldPulse
toonHoldStart
andonHold
respectively to match with the naming convention
ui/FloatingLayerDecorator
to render floating node properly- `ui/Touchable' to handle touch related events only for valid targets
- The framework was updated to support React 17.0.1
spotlight/SpotlightContainerDecorator
to properly save the last-focused element with React 17
ui/A11yDecorator
, to be removed in 4.0.0
ui/Transition
propduration
to support any valid CSS value forslide
andfade
type
ui
documentation problem in styles/internal directory
ui/Routable
sample
ui/Media
play
function to return promise
ui/MarqueeDecorator
to restart animation when text changed while focus retainedui/Routable
to respect the current path on first render when using relative paths in links
i18n/I18nDecorator
to add global classenact-locale-non-italic
for scriptNameKore
ui/Button
to prevent browser's default styling when pressed by touch
ui/Scroller
andui/VirtualList
to callonScrollStop
when scrollbar's visibility changed while scrollingui/ViewManager
to handle transitioning away and back to a view before a transition completes
ui/MarqueeDecorator
warning against nestedMarquee
's
spotlight
to correctly prioritize next spottable elements when wrapped by a container that does not also wrap the currently focused elementspotlight
to restore focus to last focused elements in an overflow container if they are visible
spotlight/SpotlightContainerDecorator
to allow use ofref
ui/FloatingLayer
andui/Slider
to prevent global classname leaks
No significant changes.
Addresses a transpile error during the build of 3.4.1. No other changes were made.
ui/Touchable
to invoke event callbacks updated during gesture
ui/AnnounceDecorator.Announce
methodannounce
parameterclear
to clear previous message before setting the new messageui/ViewManager
prop andui/ViewManager.Arranger
callback config proprtl
to allow arrangers to adjust animations to be locale aware
ui/Marquee
to correctly animate when scaled or when less than 1px longer than its containerui/Scroller
propdata-webos-voice-focused
,data-webos-voice-disabled
, anddata-webos-voice-group-label
ui/Scroller
andui/VirtualList
to re-render when its size changedui/Scroller
andui/VirtualList
to not fireonScrollStop
event redundantlyui/VirtualList
with scrollModenative
to not scrollTo bottom when dataSize changed to smaller and scrollTo called withanimate: false
option
ui/Scroller
by increasing the scrollbar's inactivity timeout to 1000 ms
spotlight/Spottable
to correctly control focus when elements move under a stationary pointer
ui/ViewManager.TransitionGroup
to suppressonTransition
events when a view appears or stays
No significant changes.
core/util
functionmapAndFilterChildren
to safely iterate over Reactchildren
ui/Scroller
to update whenclientSize
is changedui/VirtualList
to reset scroll position whenclientSize
is changed
spotlight
to triggeronLeaveContainerFail
whenleaveFor
prevents navigationspotlight
to correctly maintain pointer mode on webOS
ui/Button
propiconFlip
to set theflip
prop oficonComponent
ui/Marquee.MarqueeDecorator
to not cause unnecessary rerendersui/Scroller
andui/VirtualList
to not inadvertently scroll due to click events when in RTL localesui/Skinnable
to not force allSkinnable
children to update if a parent updates
core/handle.forwardCustom
handler to simplify forwarding custom events from components
i18n/I18nDecorator
locale selection during prerendering
ui/Group
propselectedEventProp
to configure the key used to hold the value in theonSelect
event
Toggleable
to recognize changes indisabled
andonToggle
No significant changes.
core/kind
optionfunctional
to return a functional component, suitable for use with React hooks, instead of a class component
ui/Layout
to exportLayout
by default instead ofLayoutBase
ui/ProgressBar
support fororientation
type of'radial'
ui/ProgressBar
public class nameradial
ui/ViewManager
eventsonTransition
andonWillTransition
payload membersindex
andpreviousIndex
ui/ViewManager
to only fireonTransition
once per transitionui/Spinner
center alignment
ui/Scroller
to prevent interaction with scrollbars when muted
core/handle.not
to return the logical complement of the value returned from the handler
ui/GridListImageItem
, useui/ImageItem
instead
ui/ImageItem
component
ui/Scroller
,ui/VirtualList.VirtualGridList
, andui/VirtualList.VirtualList
to update scroll thumb position properly in nested cases
ui/styles/mixins.less
.position()
support for list-style arguments, in addition to the existing separated argumentsui/GridListItemItem
propsubComponents
core/util.mergeClassNames
to mirror class names when used in unit tests
ui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
propitemProps
tochildProps
for backwards compatibility
ui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
to not suddenly jump when pressing directional keys after wheeling
Note: Moonstone was removed from the core Enact repository. It is now in its own repository at https://github.com/enactjs/moonstone/. Using Moonstone through npm has not changed.
ui/Scroller
,ui/VirtualList.VirtualGridList
, andui/VirtualList.VirtualList
propscrollMode
is added
ui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
propchildProps
toitemProps
for clarityenact-sampler
to use common Enact Storybook configurations, addons, and utilities from@enact/storybook-utils
helper package.
ui/Marquee
to not error when passednull
children
during an animationui/Button
to have more robust support for a customizediconComponent
prop
ui/VirtualList.VirtualGridList
andui/VirtualList.VirtualList
to show items properly when reducing data size by updatingfirstIndex
correctlyui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
not to suddenly jump when pressing directional keys after wheelingui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
to show items properly when reducing data size
moonstone/Notification
to support 3 max-width buttons in a single lineui/Marquee
to not double aria readout for marqueeing contents
moonstone/Notification
line height for non-latin localesmoonstone/Notification
to show all buttons in one lineui/Marquee
text alignment when content is centered
moonstone/Panels.Header
propmarqueeOn
default value to'render'
to improve usability on systems without a pointer
ui/Marquee
text alignment when restartingui/Marquee
to display an ellipsis when its content changes and overflows its bounds
moonstone/Marquee
text shake when restarting
moonstone/VirtualList
horizontal scrolling in RTL localesmoonstone/EditableIntegerPicker
to include theunit
in the ARIA read outui/VirtualList.VirtualList
item rendering in RTL locales
moonstone/Icon
iconsui/Marquee
propmarqueeSpacing
and CSS classspacing
to configure the spacing between the repeated content
ilib
peer dependency to^14.4.0 || ^14.4.0-webostv1
baseline to target support for caching improvementsui/Marquee
to have a wrap-around effect
moonstone/Icon
icon sizesmoonstone/InputSpotlightDecorator
to not focus when Spotlight is pausedui/Marquee
to start on focus when disabled
moonstone/Icon
icons
moonstone/Button
color
bar heightmoonstone/Slider
to showtooltip
when disabledmoonstone/TooltipDecorator
to keep showing when changing from pointer mode to 5-way modemoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to scroll correctly when clicking on paging controls during a scroll eventmoonstone/FormCheckbox
andmoonstone/RadioItem
high contrast colorsui/FloatingLayer
to be dismissable whenopen
on mount
core/handle
documentation for even better Typescript outputmoonstone
language-specific (LG Smart UI AR HE TH
) and Indian font assignmentui/Button
to not requirechildren
ui/VirtualList.VirtualGridList
andui/VirtualList.VirtualList
to scroll smoothly when wheelingui/Scroller
,ui/VirtualList.VirtualGridList
, andui/VirtualList.VirtualList
to scroll correctly after performing flick events
core/kind
documentation ofhandlers
andcomputed
functions to support better Typescript definitionsmoonstone
internationalization resource loadingmoonstone/Dropdown
to only callonOpen
when closedmoonstone/Input
text colormoonstone/VirtualList.VirtualGridList
andmoonstone/VirtualList.VirtualList
to correctly set focus to items scrolling into the viewportmoonstone/VirtualList.VirtualList
to scroll properly when a different sized item gains focusui/VirtualList.VirtualGridList
andui/VirtualList.VirtualList
to show items properly when reducing data size
moonstone/ProgressBar.ProgressBarTooltip
andmoonstone/Slider.SliderTooltip
propside
, will be replaced byposition
in 4.0.0
core/platform
membertouchscreen
to detect the presence of a touchscreen separately from support for touch eventsmoonstone/Dropdown
to add new sizex-large
moonstone/ProgressBar.ProgressBarTooltip
andmoonstone/Slider.SliderTooltip
propposition
, replacingside
moonstone/VirtualList.VirtualGridList
andmoonstone/VirtualList.VirtualList
proprole
to set the ARIArole
spotlight
support for passing a spottable node or a container node or selector toSpotlight.focus()
ui/Routable
moduleui/VirtualList.VirtualGridList
andui/VirtualList.VirtualList
proprole
to set the ARIArole
core/kind
andcore/handle
documentation to support better Typescript definitionscore/platform
touch event detectionmoonstone/Header
to fix font size oftitleBelow
andsubTitleBelow
moonstone/Dropdown
to applytiny
widthmoonstone/Dropdown
to include selecteddata
in theonSelect
handlermoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
spotlight behavior to focus the last item when reaching the bounds after scroll by page up or downmoonstone/VirtualList.VirtualList
to allow a dynamically resized item to scroll into view properlymoonstone/Dropdown
accessibility read out when an item is focused
moonstone/Button
text alignment whencolor
is setmoonstone/FormCheckboxItem
opacity ofitemIcon
value when focused and disabledmoonstone/Notification
to shrink to fit small contentmoonstone/Scroller
to restore focus properly when pressing page up after holding 5-way downmoonstone/Switch
colors to improve visibilitymoonstone/VirtualList.VirtualGridList
andmoonstone/VirtualList.VirtualList
to properly navigate from paging controls to items by 5-way key whenfocusableScrollbar
is false
moonstone/ContextualPopupDecorator
layout in large text mode in RTL localesmoonstone/Dropdown
performance when using many optionsmoonstone/ProgressBar
fill color whenhighlighted
is setmoonstone/Scroller
to correctly handle horizontally scrolling focused elements into view when using adirection
value of'both'
moonstone/Skinnable
TypeScript signaturemoonstone/Slider
progress bar fill color when focused withnoFill
setmoonstone/VirtualList.VirtualGridList
andmoonstone/VirtualList.VirtualList
to render the first item properly when thedataSize
prop is updated and the function as a parameter of thecbScrollTo
prop is calledspotlight
TypeScript signaturesui/Scroller
TypeScript signaturesui/VirtualList.VirtualGridList
andui/VirtualList.VirtualList
to applywill-change
CSS property to the proper nodewebos/LS2Request
to automatically prefixluna://
service protocol when absent
i18n/Text
to generate a proper TypeScript definition and to properly detect if translations were available when asyncmoonstone/ContextualPopupDecorator
arrow rendering issue in Chromiummoonstone/EditableIntegerPicker
to properly rerender when the edited value is invalidmoonstone/FormCheckboxItem
to marquee its contentsmoonstone/VideoPlayer
to have correct jump forward/backward iconui/styles/mixins.less
mixins:.buildLocaleFont
,.buildLocaleFonts
,.buildFontFace
to properly support font-weight ranges, font-weight default values, and font-stretch values- Language-specific fonts so they always use the correct typeface for their locale
moonstone/Header
input highlight positioningmoonstone/MediaOverlay
to not mute media playbackmoonstone/Panels
animation performance issues on low powered hardwaremoonstone/VirtualList.VirtualGridList
andmoonstone/VirtualList.VirtualList
to correctly scroll to a selected component when focused via 5waysampler
to limit the fields included in the Actions tab to improve serialization performance on low-powered hardwarespotlight
to attempt to restore focus to an element nearest the pointer position when the pointer hides within an overflow containerui/VirtualList.VirtualGridList
andui/VirtualList.VirtualList
to retain the proper scroll position when updating theitemSize
orspacing
props
moonstone/Icon.icons
entries for new icons
moonstone
to support custom font for simplified Chinesemoonstone
disabled focus appearance to match the latest designsmoonstone/DatePicker
,moonstone/DayPicker
,moonstone/ExpandableList
, andmoonstone/TimePicker
disabled opacity in high contrast modemoonstone/Picker
to avoid overlapping items on rendermoonstone/Scroller
and other scrolling components to properly scroll via remote page up/down buttons when nested within another scrolling componentmoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to scroll via a page up or down key when focus is on any vertical paging control while in pointer modemoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to correctly set focus after scrolling by page up/down keysmoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
not to scroll via a page up or down key when focus is on any horizontal paging control
moonstone/LabeledIconButton
propflip
to flip the icon horizontally, vertically, or bothmoonstone/Popup
public class namesbody
andcloseContainer
ui/Icon
,ui/IconButton
, andui/LabeledIcon
propflip
to flip the icon horizontally, vertically, or both
moonstone/Dialog
appearance to match the latest designsmoonstone/Scroller
and other scrolling components to scroll via remote page up/down buttons when the scrollbar is hiddenspotlight
containers to include nodes identified on thearia-owns
attribute of the container node as candidates within that container
moonstone
fonts be consolidated under "Moonstone" font-family to properly display all localized fonts when representing glyphs from any localemoonstone/Input
text color when focused and disabledmoonstone/Panels
to allow 5-way navigation to components withincontrols
when used with aHeader
withheaderInput
moonstone/Panels
to treat all components withincontrols
as part of the active panel for the purposes of accessibilitymoonstone/Scroller
to not jump to the top when right key is pressed in the right most item of a vertical scrollermoonstone/Scroller
to not scroll horizontally via 5-way down in horizontal scrollermoonstone/Tooltip
arrow gapmoonstone/VideoPlayer
feedback tooltip to overlap in non-latin localemoonstone/VideoPlayer
more button tooltip to not clip or reverse text in RTL localesmoonstone/VirtualList.VirtualGridList
andmoonstone/VirtualList.VirtualList
to navigate items properly in RTL languagesmoonstone/VirtualList.VirtualGridList
andmoonstone/VirtualList.VirtualList
to properly navigate from paging controls to controls out of the listspotlight
to attempt to restore focus through ancestor containers when the pointer hidesui/Scroller
,ui/VirtualList.VirtualGridList
, andui/VirtualList.VirtualList
to handle mouse down events on scrollbars
moonstone/Panels.Header
prophideLine
to hide the bottom separator linemoonstone/Panels.Header
type "dense" for "AlwaysViewing" Panels types
moonstone/Dropdown
button to not animatemoonstone/FormCheckboxItem
so it doesn't change size between normal and large text modemoonstone/Heading
to have a bit more space between the text and the line, when the line is presentmoonstone/LabeledItem
to passmarqueeOn
prop to its contentsmoonstone/Panels.Header
to use the latest designs with better spacing between the titles belowmoonstone/Picker
accessibility read out when a button becomes disabledmoonstone/ProgressBar
,moonstone/Slider
, andmoonstone/IncrementSlider
to use the latest set of design colorsmoonstone/RadioItem
to have a much prettier dot in dark and light skinsmoonstone/Spinner
to use the latest designsmoonstone/Tooltip
layer order so it doesn't interfere with other positioned elements, likeContextualPopup
moonstone/VirtualList.VirtualGridList
andmoonstone/VirtualList.VirtualList
to properly respond to 5way directional key pressesui/ProgressBar
public class namebar
to support customizing the background of the barwebos/LS2Request
to return an error for a null response from a service
core/kind
config propertycontextTypes
i18n/ilib
embedded copy of iLib in favour of the NPM packageilib
small
prop inmoonstone/Input
,moonstone/ToggleButton
,moonstone/Button
,moonstone/Icon
,moonstone/IconButton
, andmoonstone/LabeledIcon
, replaced bysize
prop, which accepts"small"
or"large"
moonstone/Divider
, replaced bymoonstone/Heading
ilib@^14.2.0
package as a peer dependency for@enact/i18n
and@enact/moonstone
, which apps will need to includemoonstone/Dropdown
widthstiny
, andhuge
ui/VirtualList.VirtualGridList
andui/VirtualList.VirtualList
support for resizing a window
- Moonstone Fonts to use the updated names of global fonts available in the system
core/platform
logic for webOS detectionmoonstone/Popup
to properly handle closing in mid-transitionmoonstone/Scroller
to properly move focus out of the containermoonstone/VirtualList
to allow keydown events to bubble up when not handled by the componentmoonstone/IncrementSlider
to support aria-label when disabledmoonstone/LabeledItem
to not clip the bottom of descender glyphs in large text modemoonstone/VirtualList.VirtualGridList
andmoonstone/VirtualList.VirtualList
to focus an item properly after an updatemoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
not to scroll too far by page up/down keysspotlight/SpotlightContainerDecorator
to correctly forwardonFocusCapture
andonBlurCapture
eventsui/Icon
to support arbitrary icon name strings, like in material icons
sampler
look and feel by updating to Storybook 5 and applying an Enact theme
moonstone/Dropdown
to scroll to and focus the selected item when openedmoonstone/ExpandableItem.ExpandableItemBase
to not error ifonClose
oronOpen
was not suppliedmoonstone/GridListImageItem
to support overriding theimage
CSS class namemoonstone/Scroller
to scroll and to move focus to the paging control properly if the current item sticking to the top is only spottablemoonstone/VirtualList
to scroll to the focused item when navigating out of the viewport via 5-way
i18n/Uppercase
HOC, replaced byi18n/util
casing functionsmoonstone/Divider
,moonstone/Dialog
, andmoonstone/Heading
propcasing
moonstone/Dropdown
to support voice readoutmoonstone/Dropdown
remaining open after it becomesdisabled
ui/ViewManager
to correctly arrange views when initially rendering a non-zero index
moonstone/Dropdown
propertywidth
to support'small'
,'medium'
, and'large'
sizesui/Toggleable
HOC config propeventProps
to allow wrapped components to specify additional event information
Fonts
for non-Latin to not intermix font weights for bold when using a combination of Latin and non-Latin glyphsmoonstone/VirtualList
to restore focus to an item when scrollbars are visibleui/ToggleItem
to send itsvalue
prop when toggled
moonstone/Dropdown
to prevent spotlight moving out of the popupmoonstone/Dropdown
to use radio selection which allows only changing the selection but not deselection
- Non-Latin locale font assignments to match the new font family support in
LG Smart UI
moonstone/Checkbox
,moonstone/FormCheckbox
,moonstone/Panels.Header
,moonstone/RadioItem
,moonstone/Slider
, andmoonstone/Switch
to render correctly in high contrastmoonstone/VideoPlayer
to hide scrim for high contrast if bottom controls are hidden
moonstone/Panels
support for managing share state of contained componentsmoonstone/Scroller
andmoonstone/VirtualList
support for restoring scroll position when within amoonstone/Panels.Panel
moonstone/Panels.Header
sample
moonstone/Scroller
to scroll when no spottable child exists in the pressed 5-way key direction and, whenfocusableScrollbar
is set, focus the scrollbar buttonui/ViewManager
to use Web Animations instead of animation callbacks to improve performance resulting in API changes toArranger
and the pre-configured arrangersSlideArranger
,SlideBottomArranger
,SlideLeftArranger
,SlideRightArranger
, andSlideTopArranger
- Fonts to correctly use the new font files and updated the international font name from "Moonstone LG Display" to "Moonstone Global"
moonstone/Dropdown
children
propType so it supports the same format asui/Group
(an array of strings or an array of objects with props)moonstone/FormCheckbox
,moonstone/Input
,moonstone/ProgressBar
,moonstone/RadioItem
,moonstone/SwitchItem
, andmoonstone/Tooltip
light skin colors.moonstone/VideoPlayer
to have correct sized control buttons
moonstone/Heading
propspacing
with default value'small'
moonstone/Button
background colors for translucent and lightTranslucentmoonstone/Checkbox
by updating colors for both dark and light skinsmoonstone/DaySelector
item text size in large-text modemoonstone/Dropdown
popup scroller arrows showing in non-latin locales and added large-text mode supportmoonstone/FormCheckboxItem
to match the designsmoonstone/Panels.Header
withInput
to not have a distracting white background colormoonstone/Input
caret color to match the designs (black bar on white background, white bar on black background, standard inversion)moonstone/Item
height in non-latin localesmoonstone/RadioItem
andmoonstone/SelectableItem
icon size in large-text mode
NOTE: Support for 2019 TV platform (Blink <68) has been dropped from this version of Enact
moonstone/Button
andmoonstone/Panels.Header
propcasing
which is no longer supportedmoonstone/Input.InputBase
propfocused
which was used to indicate when the internal input field had focused but was replaced by the:focus-within
pseudo-selectormoonstone/VirtualList
andmoonstone/VirtualList.VirtualGridList
propertyisItemDisabled
core/util.clamp
to safely clamp a value between min and max boundsmoonstone/BodyText
propsize
to offer a new "small" sizemoonstone/Button
propiconPosition
moonstone/ContextualPopup
confignoArrow
moonstone/Dropdown
componentmoonstone/Panels.Header
propcentered
to support immersive apps with a completely centered designmoonstone/Heading
component, an improved version ofmoonstone/Divider
with additional featuresmoonstone/Panels
slot<controls>
to easily add custom controls next to the Panels' "close" buttonmoonstone/Spinner
propsize
to support a new "small" size for use insideSlotItem
componentsmoonstone/TooltipDecorator
proptooltipRelative
andmoonstone/TooltipDecorator.Tooltip
proprelative
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 providedui/Heading
componentui/Measurable
HOC and Hook for quick and convenient measuring of simple componentsui/Scroller
,ui/VirtualList.VirtualGridList
, andui/VirtualList.VirtualList
propnoScrollByWheel
for preventing scroll by wheel
moonstone/Button.ButtonDecorator
to removei18n/Uppercase
HOCmoonstone/Button
,moonstone/Checkbox
,moonstone/CheckboxItem
,moonstone/ContextualPopupDecorator
,moonstone/FormCheckbox
,moonstone/FormCheckboxItem
,moonstone/Panels.Header
,moonstone/Notification
,moonstone/RadioItem
, andmoonstone/Tooltip
appearance to match the latest designsmoonstone/Button
,moonstone/Dropdown
,moonstone/Icon
,moonstone/IconButton
,moonstone/Input
, andmoonstone/ToggleButton
default size to "small", which unifies their initial heightsmoonstone/DaySelector
to have squared check boxes to match the rest of the checkmark componentsmoonstone/LabeledIcon
andmoonstone/LabeledIconButton
text size to be smallermoonstone/Panel
andmoonstone/Panels
now allocate slightly more screen edge space for a cleaner lookmoonstone/Scroller.Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
scrollbar button to gain focus when pressing a page up or down key iffocusableScrollbar
is truespotlight/Spottable
to allow disabled items to be focused- global styling rules affecting standard font-weight, disabled opacity, and LESS color variable definitions
ui/Measurable
to remeasure after a re-layout so the measurement value is always correctui/Scroller
,ui/VirtualList.VirtualGridList
, andui/VirtualList.VirtualList
not to scroll by wheel at the same time when multiple lists/scrollers are nested
moonstone/Divider
which will be replaced bymoonstone/Heading
moonstone/Input.InputBase
propfocused
which will be handled by CSS in 3.0small
prop inmoonstone/Input
andmoonstone/ToggleButton
, which will be replaced bysize="small"
in 3.0small
prop inui/Button.ButtonBase
,ui/Icon.IconBase
,ui/IconButton.IconButtonBase
, andui/LabeledIcon.LabeledIconBase
, which will be replaced bysize="small"
in 3.0
moonstone/Input
andmoonstone/ToggleButton
propsize
moonstone/Button
,moonstone/IconButton
, andmoonstone/LabeledIconButton
public class namelarge
to support customizing the style for the newsize
prop onui/Button
ui/Button
,ui/Icon
,ui/IconButton
, andui/LabeledIcon
propsize
ui/ToggleItem
propsitemIcon
anditemIconPosition
to support additional icons on ToggleItem-derived components
moonstone/EditableIntegerPicker
,moonstone/Picker
, andmoonstone/RangePicker
to not error when themin
prop exceeds themax
prop
moonstone/ContextualPopupDecorator
imperative methods to be correctly bound to the instancemoonstone/ExpandableInput
to retain focus when touching within the input field on touch platformsmoonstone/ExpandableList
to not error ifselected
is passed as an array to a non-multi-select listmoonstone/Input
refocusing on touch on iOSmoonstone/Scroller
to allow changing spotlight focus to opposite scroll button when switching to 5way modemoonstone/Scroller
andmoonstone/VirtualList
to animate with 5-way navigation by defaultmoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to change spotlight focus due to touch eventsmoonstone/Slider
to not scroll the viewport when dragging on touch platformsmoonstone/VideoPlayer
to correctly handle touch events while moving slider knobsspotlight
to unspot the current element when tapping on non-spottable target on touch platformsui/Scroller
,ui/VirtualList
, andui/VirtualGridList
to size properlyui/Scroller
,ui/VirtualList
, andui/VirtualGridList
to scroll correctly on iOS and Safariui/Touchable
to not misfire a hold pulse when a drag re-enters a touch target andcancelOnMove
is setui/ViewManager
to correctly handle transitioning quickly between two children
moonstone/EditableIntegerPicker
text alignment when not editing the valuemoonstone/Scroller
to scroll via dragging when the platform has touch supportmoonstone/VideoPlayer
to continue to display the thumbnail image while the slider is focusedui/Skinnable
to allow overriding defaultskinVariant
valuesui/Touchable
to prevent events firing on different nodes for the same touch actionui/Touchable
to neither force focus to components nor blur components after they are touched
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 devices
ui/Item
,ui/Layout
,ui/Repeater
,ui/SlotItem
,ui/Spinner
,ui/ToggleItem
, andui/ViewManager
support forref
to gain access to the wrappedcomponent
moonstone/ContextualPopupDecorator
methodpositionContextualPopup()
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 ignorenull
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 changes
core/util.isRenderable
to treat values returned byReact.lazy()
,React.memo()
, andReact.forwardRef()
as renderablecore/hoc
to support wrapping components returned byReact.lazy()
,React.memo()
, andReact.forwardRef()
i18n/I18nDecorator
to defer updating the locale until window is focusedmoonstone/Checkbox
,moonstone/FormCheckbox
,moonstone/RadioItem
,moonstone/SelectableIcon
, andmoonstone/Slider
spotlight muted colorsmoonstone/Spinner
animation synchronization after a rerendermoonstone/TooltipDecorator
to positionTooltip
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 updates
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
propnoWrap
which automatically addsmoonstone/Marquee
support as well as limits the content to only display one line of textui/BodyText
propcomponent
to allow customization of the tag/component used to render its base elementui/Repeater
propcomponent
to allow customization of its base elementui/Spinner
proppaused
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
andui/Toggleable
to warn when both[defaultProp]
and[prop]
are provided
moonstone/Panels
to set child'sautoFocus
prop todefault-element
whenindex
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
andmoonstone/TimePicker
to close with back/ESCmoonstone/DatePicker
andmoonstone/TimePicker
value handling when open on mountmoonstone/ContextualPopupDecorator
to correctly focus on popup content when openedspotlight/Spottable
to prevent unnecessary updates due to focus changes
core/kind
config propertycontextTypes
, to be removed in 3.0.
core/kind
config propertycontextType
replacing legacycontextTypes
propertyi18n/I18nDecorator
HOC config propresources
to support retrieval of user-space i18n resource files on locale changei18n/I18nDecorator
HOC config propsync
to support asynchronous retrieval of i18n resource filesi18n/I18nDecorator
HOC config propslatinLanguageOverrides
andnonLatinLanguageOverrides
to allow consumers to configure some locales to be treated as Latin or non-Latin for the purposes of applying theenact-locale-non-latin
global class name.i18n/Text
component to provide asynchronous text translationsmoonstone/VirtualList.VirtualGridList
andmoonstone/VirtualList.VirtualList
propertychildProps
to support additional props included in the object passed to theitemsRenderer
callbackmoonstone/Skinnable
support forskinVariants
, to enable features like high contrast mode and large text mode- Support for 8k (UHD2) displays
spotlight/Spottable
propertyselectionKeys
ui/Skinnable
support forskinVariants
; a way to augment a skin by adding variations of a skin to your visuals, like large text, high contrast, or grayscaleui/Touchable
eventonHoldEnd
to notify when a hold has been releasedui/Touchable
propholdConfig.global
to allow a hold to continue when leaving or blurring the element
- All content-containing LESS stylesheets (not within a
styles
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 byscrollTo
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
andspotlight/SpotlightContainerDecorator
to prevent focus whenspotlightDisabled
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 whendragConfig.global
is setui/Marquee
to marquee when necessary after a locale change
moonstone/Scroller
scrolling to boundary behavior for short scrollers
moonstone/ExpandableInput
to focus labeled item on closemoonstone/ExpandableItem
to disable its spotlight container when the component is disabledmoonstone/Scroller
to correctly handle scrolling focused elements and containers into viewspotlight
to focus correctly within an overflow container in which the first element is another container without spottable childrenui/Marquee
to display an ellipsis when changing to text that no longer fits within its boundsui/VirtualList
,ui/VirtualGridList
, andui/Scroller
to debounceonScrollStop
events for non-animated scrolls
moonstone/Picker
,moonstone/ExpandablePicker
,moonstone/ExpandableList
,moonstone/IncrementSlider
to support disabling voice controlui/Marquee
to avoid very small animations
i18n/I18nDecorator
to allow changing the locale to a falsy value to use the device localemoonstone/VideoPlayer
to blur slider when hiding media controlsmoonstone/VideoPlayer
to disable pointer mode when hiding media controls via 5-waymoonstone/VirtualList
andmoonstone/Scroller
to not to animate with 5-way navigation by defaultui/Marquee
to handle contents which overflow their containers only slightly
moonstone/ExpandableItem
to not steal focus after closingui/Transition
to better support layout after changing children
moonstone/DayPicker
separator character used between selected days in the label in fa-IR localemoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
scrolling by voice commands in RTL locales
moonstone/Scroller
to respect the disabled spotlight container status when handling pointer eventsmoonstone/Scroller
to scroll to the boundary when focusing the first or last element with a minimal margin in 5-way modemoonstone/VideoPlayer
to position the slider knob correctly when beyond the left or right edge of the sliderspotlight
selection of elements clipped by an overflow container
core/util.Job
to cancel existing scheduledidle()
jobs before scheduling anothermoonstone/Scroller
stuttering when page up/down key is pressedui/Scroller
slowed scrolling behavior when repeatedly requesting a scroll to the same position
i18n/ilib/DurationFmt
to respectsync
parameter when loading stringsi18n
resource loading failure due to resolving the path incorrectlymoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to notify user when scrolling is not possible via voice commandmoonstone/TimePicker
to not read out meridiem label when changing the valuespotlight
navigation into an overflow container which contains elements or containers larger than the container's boundsui/Marquee
to prevent restarting animation after blurring just before the previous animation completed
moonstone/GridListImageItem
voice control feature supportui/Marquee.MarqueeBase
propwillAnimate
to improve app performance by deferring animation preparation styling such as composite layer promotionui/Skinnable
config optionprop
to configure the property in which to pass the current skin to the wrapped componentui/Transition
propcss
to support customizable styling
spotlight
to not explicitlyblur()
the currently focused element when focusing another, allowing the platform to manage blurring before focusui/Cell
andui/Layout
to accept any type of children, since thecomponent
that may be set could accept any format ofchildren
moonstone/DayPicker
to prevent closing when selecting days via voice controlmoonstone/VideoPlayer
to unfocus media controls when hiddenmoonstone/Scroller
to set correct scroll position when an expandable child is closedmoonstone/Scroller
to prevent focusing children while scrollingspotlight
to correctly set focus when the window is activatedspotlight
to correctly set focus when entering a restricted containerui/Touchable
to correctly handle a hold cancelled from an onHold handler
moonstone/Button
andmoonstone/IconButton
to style image-based icons correctly when focused and disabledmoonstone/FormCheckboxItem
styling when focused and disabledmoonstone/Panels
to always blur breadcrumbs when transitioning to a new panelmoonstone/Scroller
to correctly set scroll position when nested item is focusedmoonstone/Scroller
to not adjustscrollTop
when nested item is focusedmoonstone/VideoPlayer
to show correct playback rate feedback on play or pausespotlight/Spottable
to respect paused state when it becomes enabledui/ViewManager
to emitonWillTransition
when views are either added or removed
moonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to show overscroll effects properly on repeating wheel inputmoonstone/TooltipDecorator
to handle runtime error when settingtooltipText
to an empty stringmoonstone/VideoPlayer
timing to read outinfoComponents
accessibility value whenmoreButton
ormoreButtonColor
is pressedui/Marquee
to stop when blurred during restart timer
moonstone/ExpandableItem
to prevent default browser scroll behavior when 5-way key is pressed on the first item or the last itemmoonstone/Scroller
scrolling behavior for focused items in 5-way modemoonstone/Scroller
to scroll container elements into viewmoonstone/TooltipDecorator
to update position whentooltipText
is changedmoonstone/VideoPlayer
to prevent default browser scroll behavior when navigating via 5-waymoonstone/VirtualList
to allowonKeyDown
events to bubblemoonstone/VirtualList.VirtualGridList
andmoonstone/VirtualList.VirtualList
scrolling via page up or down keysspotlight
to prevent default browser scrolling behavior when focusing elements within a spotlight container configured withoverflow: true
ui/GridListImageItem
to properly setselected
styleui/Marquee
positioning bug when used with CSS flexbox layouts
moonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to show overscroll effects only by wheel input
moonstone/VideoPlayer
so that activity is detected and theautoCloseTimeout
timer is reset when using 5-way to navigate from the media sliderspotlight
to correctly handle focus with'self-only'
containersspotlight/SpotlightContainerDecorator
to unmount config instead of remove when spotlightId is changed if it preserves id
moonstone/VideoPlayer
propertynoMediaSliderFeedback
moonstone/VideoPlayer.MediaControls
propertyplayPauseButtonDisabled
i18n
to use the latest version of theilib
moonstone/Picker
key down hold threshold to 800ms before firing theonChange
event
moonstone/GridListImageItem
to properly vertically align when the content varies in sizemoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to not scroll by draggingmoonstone/Slider
to not emitonChange
event whenvalue
has not changedmoonstone/VideoPlayer
to focus on available media buttons if the default spotlight component is disabledmoonstone/VideoPlayer
to keep media controls visible when interacting with popupsmoonstone/VideoPlayer
to read outinfoComponents
accessibility value whenmoreButtonColor
is pressedmoonstone/VideoPlayer
to round the time displayed down to the nearest secondmoonstone/VirtualList
to restore last focused item correctlyui/VirtualList
sampler to useui/Item
instead ofmoonstone/Item
ui/FloatingLayer
to applykey
s to prevent React warnings
moonstone/DatePicker
to correctly change year whenminYear
andmaxYear
aren't providedmoonstone/EditableIntegerPicker
management of spotlight pointer modemoonstone/LabeledIcon
andmoonstone/LabeledIconButton
to have proper spacing and label-alignment with all label positionsmoonstone/Popup
to prevent duplicate 5-way navigation whenspotlightRestrict="self-first"
moonstone/Scroller
not to scroll to wrong position via 5way navigation in RTL languagesmoonstone/Scroller
not to scroll when focusing in pointer modemoonstone/Slider
to forwardonActivate
eventmoonstone/VideoPlayer
to reset key down hold when media becomes unavailablespotlight
to update pointer mode after hiding webOS VKBui/Image
to not display "missing image" icon whensrc
fails to loadui/Image
to not requiresrc
prop ifplaceholder
is specifiedui/GridListImageItem
to not requiresource
propui/Scrollable
to use GPU acceleration to improve rendering performanceui/Marquee
to moveposition: relative
style intoanimate
class to improve rendering performance
moonstone/Dialog
read order of dialog contentsmoonstone/Scroller
to go to next page properly via page up/down keysspotlight
to not blur when pointer leaves floating webOS app while paused
ui/Skinnable.withSkinnableProps
higher-order component
moonstone/LabeledIcon
andmoonstone/LabeledIconButton
components for a lightweightIcon
orIconButton
with a labelmoonstone/VideoPlayer
propertynoAutoShowMediaControls
ui/LabeledIcon
component for a lightweightIcon
with a label
spotlight
to default to 5-way mode on initialization
moonstone/Scroller
to prevent scrolling via page up/down keys if there is no spottable component in that directionmoonstone/Dialog
to hidetitleBelow
whentitle
is not setmoonstone/Image
to suppress drag and drop support by defaultmoonstone/VideoPlayer
audio guidance behavior of More buttonmoonstone/VirtualList.VirtualGridList
andmoonstone/VirtualList.VirtualList
to handle focus properly via page up/down keys when switching to 5-way modemoonstone/Popup
to spot the content after it's mountedmoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to scroll properly via voice control in RTL localesspotlight
to blur when pointer leaves floating webOS appspotlight
to prevent changing the active container when the currently active container is restricted is "self-only"ui/Scrollable
to ignore native drag events which interfered with touch drag support
i18n/ilib
to calculate time properly over DST boundary in fa-IR localemoonstone/ContextualPopup
to refocus its activator on close when the popup lacks spottable childrenmoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to scroll properly when holding down paging control buttonsmoonstone/ExpandableItem
spotlight behavior when leaving the component via 5-waymoonstone/RadioItem
circle thickness to be 2px, matching the designmoonstone/Slider
to correctly prevent 5-way actions when activatedmoonstone/ExpandableItem
and other expandable components to spotlight correctly when switching from pointer mode to 5-way withcloseOnSelect
spotlight
to track pointer mode while paused
spotlight
debugging to visualize which components will be targeted as the next component for any 5-way direction
moonstone/Input
to not focus by tab keymoonstone/Picker
to properly set focus when navigating between buttonsmoonstone/ProgressBar.ProgressBarTooltip
unknown props warningmoonstone/Scrollable
to disable spotlight container during flick events only when contents can scrollmoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to scroll properly whenanimate
is false viascrollTo
moonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
page controls to stop propagating an event when the event is handledmoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to hide overscroll effect when focus is moved from a disabled paging control button to the opposite buttonmoonstone/Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to show overscroll effect when reaching the edge for the first time by wheelmoonstone/VideoPlayer
to display feedback tooltip when pointer leaves slider while playingmoonstone/VirtualList
andmoonstone/VirtualGridList
to restore focus on items focused by pointer
core/util.withContextFromProps
functioni18n/I18nDecorator.contextTypes
, replaced byi18n/I18nDecorator.I18nContextDecorator
moonstone/Button
built-in support for tooltipsui/FloatingLayer.contextTypes
exportui/Marquee.controlContextTypes
exportui/Placeholder.contextTypes
exportui/Resizable.contextTypes
export
i18n/I18nDecorator.I18nContextDecorator
HOC to support notification of locale changesmoonstone/VirtualList.VirtualList
andmoonstone/VirtualList.VirtualGridList
supportdata-webos-voice-focused
anddata-webos-voice-group-label
moonstone/Spinner
to blur Spotlight when the spinner is active
i18n/Uppercase
to apply the designatedcasing
prop format to each child instead of only the first childmoonstone/Scroller.Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to handle direction, page up, and page down keys properly on page controls them whenfocusableScrollbar
is falsemoonstone/Scroller.Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
to handle a page up or down key in pointer modemoonstone/VideoPlayer.MediaControls
to correctly handle more button color when the prop is not specified
moonstone/ContextualPopupDecorator
instance methodpositionContextualPopup()
moonstone/MoonstoneDecorator
config propertydisableFullscreen
to prevent the decorator from filling the entire screenmoonstone/Scroller
proponUpdate
moonstone/Scrollable
to update scroll properly on pointer clickmoonstone/TooltipDecorator
to prevent unnecessary re-renders when losing focusmoonstone/TooltipDecorator
to not dismiss the tooltip on pointer click
moonstone/Scroller.Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
support for scrolling via voice control on webOSmoonstone/Scroller.Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
overscroll effect when the edges are reached
moonstone/Divider
propertymarqueeOn
default value torender
moonstone/Scroller.Scroller
,moonstone/VirtualList.VirtualGridList
, andmoonstone/VirtualList.VirtualList
scrollbar button to move a previous or next page when pressing a page up or down key instead of releasing it
moonstone/VideoPlayer
to prevent updating state when the source is changed to the preload source, but the current preload source is the samemoonstone/MediaOverlay
to marquee correctlymoonstone/MediaOverlay
to match UX guidelinesspotlight/Spottable
to retain focus for disabled component after updatesspotlight/Spottable
to emulateonMouseUp
events that occur immediately after a non-enter key pressspotlight/Spottable
to prevent scroll on focus on webOSui/VirtualList
to allow scrolling on focus by default on webOS
i18n/Uppercase
propertypreserveCase
, replaced bycasing
moonstone/Dialog
propertiespreserveCase
andshowDivider
, replaced bycasing
andnoDivider
respectivelymoonstone/Divider
propertypreserveCase
, replaced bycasing
moonstone/ExpandableInput
propertyonInputChange
, replaced byonChange
moonstone/MoonstoneDecorator.TextSizeDecorator
, replaced bymoonstone/MoonstoneDecorator.AccessibilityDecorator
moonstone/Panels.Header
propertypreserveCase
, replaced bycasing
moonstone/Panels.Panel
propertynoAutoFocus
, replaced byautoFocus
moonstone/TooltipDecorator
propertytooltipPreserveCase
, replaced bytooltipCasing
ui/FloatingLayer.FloatingLayerBase
export
moonstone/VideoPlayer
to allow spotlight focus to move left and right fromMediaControls
moonstone/VideoPlayer
to disable bottom controls when loading until it's playableui/FloatingLayer
to callonOpen
only after it is rendered
moonstone/EditableIntegerPicker
to disable itself when on a range consisting of a single static valuemoonstone/Picker
to disable itself when containing fewer than two itemsmoonstone/Popup
to spot its content correctly whenopen
by defaultmoonstone/RangePicker
to disable itself when on a range consisting of a single static valuemoonstone/TooltipDecorator
to hide whenonDismiss
has been invokedmoonstone/VideoPlayer
to show media controls when pressing down in pointer modemoonstone/VideoPlayer
to provide a more natural 5-way focus behaviormoonstone/VideoPlayer.MediaControls
to handle left and right key to jump whenmoonstone/VideoPlayer
is focusedui/MarqueeDecorator
to stop marqueeing when using hover and pointer hides
moonstone/IncrementSlider
propchildren
which was no longer supported for setting the tooltip (since 2.0.0-beta.1)
moonstone/Scroller
to check focus possibilities first then go to fallback at the top of the container of focused itemmoonstone/Scroller
to scroll by page when focus was at the edge of the viewportmoonstone/ToggleButton
padding and orientation for RTLmoonstone/VideoPlayer
to not hide title and info section when showing more componentsmoonstone/VideoPlayer
to select a position in slider to seek in 5-way modemoonstone/VideoPlayer
to show thumbnail only when focused on sliderspotlight
to provide more natural 5-way behaviorspotlight
to handle pointer events only when pointer has movedspotlight
to update the last focused container when unable to set focus within that containerspotlight/Spottable
to not trigger a scroll on focus on webOSui/FloatingLayer
to render correctly if already opened at mounting timewebos/speech
methodreadAlert
to subscribe to changes in audio guidance to improve speech response time
moonstone/Popup
,moonstone/Dialog
andmoonstone/Notification
propertyspotlightRestrict
option'none'
moonstone/VideoPlayer
proppreloadSource
, to be replaced bymoonstone/VideoPlayer.Video
proppreloadSource
moonstone/Button
andmoonstone/IconButton
allowed value'opaque'
from propbackgroundOpacity
which was the default and therefore has the same effect as omitting the prop
moonstone/VideoPlayer
propsselection
andonSeekOutsideRange
to support selecting a range and notification of interactions outside of that rangemoonstone/VideoPlayer.Video
component to support preloading video sourcesui/FloatingLayerDecorator
imperative API to close all floating layers registered in the same idui/ProgressBar
andui/Slider
propprogressAnchor
to configure from where in the progress bar or slider progress should beginui/Slider
propprogressBarComponent
to support customization of progress bar within a sliderui/ForwardRef
HOC to adaptReact.forwardRef
to HOC chainsui/Media
component
moonstone/VideoPlayer.videoComponent
prop to default toui/Media.Media
instead of'video'
. As a result, to use a custom video element, one must pass an instance ofui/Media
with itsmediaComponent
prop set to the desired element.
moonstone/ContextualPopupDecorator
to properly stop propagating keydown event if fired from the popup containermoonstone/Slider
to read when knob gains focus or for a change in valuemoonstone/Scroller
to not cut off Expandables when scrollbar appearsmoonstone/VideoPlayer
to correctly read out when play button is pressedui/MarqueeController
to update hovered state when pointer hidesui/Touchable
to end gestures when focus is lostui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
to prevent items overlap with scroll buttons
core/handle.handle
utilitybindAs
to facilitate debugging and binding handlers to component instancesmoonstone/Button
andmoonstone/IconButton
class namesmall
to the list of allowedcss
overridesmoonstone/ProgressBar
prophighlighted
for when the UX needs to call special attention to a progress bar
moonstone/ContextualPopupDecorator
to not set focus to activator when closing if focus was set elsewheremoonstone/IconButton
to allow external customization of vertical alignment of itsIcon
by settingline-height
moonstone/Marquee.MarqueeController
to not cancel valid animationsmoonstone/VideoPlayer
feedback and feedback icon to hide properly on play/pause/fast forward/rewindmoonstone/VideoPlayer
to correctly focus to default media controls componentmoonstone/VideoPlayer
to show controls on mount and when playing next preload videomoonstone/VirtualList
,moonstone/VirtualGridList
,ui/VirtualList
, andui/VirtualGridList
samples to show items properly whendataSize
is greater than 1000spotlight/Spottable
to not make components spottable whenspotlightDisabled
is setui/Touchable
to guard against null events
moonstone/SelectableItem.SelectableItemDecorator
ui/Touchable
support to fireonTap
when aclick
event occurs
moonstone/ToggleItem
to forward native events ononFocus
andonBlur
moonstone/Input
andmoonstone/ExpandableInput
to support forwarding valid<input>
props to the contained<input>
nodemoonstone/ToggleButton
to fireonToggle
when toggledui/Touchable
custom eventsonDown
,onUp
,onMove
, andonTap
to use the event name as thetype
rather than the shorter name (e.g.onTap
rather thantap
)ui/Toggleable
to forward events onactivate
anddeactivate
instead of firing toggled payload. Usetoggle
to handle toggled payload from the event.
moonstone/VirtualList.VirtualList
,moonstone/VirtualList.VirtualGridList
, andmoonstone/Scroller.Scroller
to ignore any user key events in pointer modemoonstone/Image
so it automatically swaps thesrc
to the appropriate resolution dynamically as the screen resizesmoonstone/Popup
to support allspotlightRestrict
optionsmoonstone
componentdisabled
colors to match the most recent design guidelines (from 30% to 60% opacity)moonstone/ExpandableInput
spotlight behavior when leaving the component via 5-wayspotlight
to retry setting focus when the window is activatedspotlight
handling of 5-way events after the pointer hides
core/dispatcher.on
to not add duplicate event handlersmoonstone/IconButton
to allow theme-style customization, like it claimed was possiblemoonstone/ExpandableItem
and related expandables to deal with disabled items and theautoClose
,lockBottom
andnoLockBottom
propsmoonstone/Slider
not to fireonChange
event when 5-ways out of boundarymoonstone/ToggleButton
layout for RTL localesmoonstone/Item
,moonstone/SlotItem
,moonstone/ToggleItem
to not apply duplicateclassName
valuesmoonstone/VirtualList.VirtualList
,moonstone/VirtualList.VirtualGridList
, andmoonstone/Scroller.Scroller
scrollbar button's aria-label in RTLmoonstone/VirtualList.VirtualList
andmoonstone/VirtualList.VirtualGridList
to scroll properly with all disabled itemsmoonstone/VirtualList.VirtualList
andmoonstone/VirtualList.VirtualGridList
to not scroll on focus when jumpingspotlight/Spottable
to not add a focused state when a component had already been set as disabledui/Marquee
to always marquee whenmarqueeOn
is set to'render'
ui/Item
to use its natural width rather than imposing a 100% width allowing inline Items to be the correct widthui/Marquee.MarqueeDecorator
to correctly reset animation whenchildren
updates
moonstone/IncrementSlider
andmoonstone/Slider
propstooltipAsPercent
,tooltipSide
, andtooltipForceSide
, to be replaced bymoonstone/IncrementSlider.IncrementSliderTooltip
andmoonstone/Slider.SliderTooltip
propspercent
, andside
moonstone/IncrementSlider
propsdetachedKnob
,onDecrement
,onIncrement
, andscrubbing
moonstone/ProgressBar
propstooltipSide
andtooltipForceSide
, to be replaced bymoonstone/ProgressBar.ProgressBarTooltip
propside
moonstone/Slider
propsdetachedKnob
,onDecrement
,onIncrement
,scrubbing
, andonKnobMove
moonstone/VideoPlayer
propertytooltipHideDelay
moonstone/VideoPlayer
propsbackwardIcon
,forwardIcon
,initialJumpDelay
,jumpBackwardIcon
,jumpButtonsDisabled
,jumpDelay
,jumpForwardIcon
,leftComponents
,moreButtonCloseLabel
,moreButtonColor
,moreButtonDisabled
,moreButtonLabel
,no5WayJump
,noJumpButtons
,noRateButtons
,pauseIcon
,playIcon
,rateButtonsDisabled
, andrightComponents
, replaced by corresponding props onmoonstone/VideoPlayer.MediaControls
moonstone/VideoPlayer
propsonBackwardButtonClick
,onForwardButtonClick
,onJumpBackwardButtonClick
,onJumpForwardButtonClick
, andonPlayButtonClick
, replaced byonRewind
,onFastForward
,onJumpBackward
,onJumpForward
,onPause
, andonPlay
, respectivelywebos/VoiceReadout
module and replaced withwebos/speech.readAlert()
core/snapshot
module withisWindowReady
method to check the window state andonWindowReady
method to queue window-dependent callbacks for snapshot buildsmoonstone/DatePicker
propsdayAriaLabel
,dayLabel
,monthAriaLabel
,monthLabel
,yearAriaLabel
andyearLabel
to configure the label set on date pickersmoonstone/DayPicker
andmoonstone/DaySelector
propsdayNameLength
,everyDayText
,everyWeekdayText
, andeveryWeekendText
moonstone/ExpandablePicker
propscheckButtonAriaLabel
,decrementAriaLabel
,incrementAriaLabel
, andpickerAriaLabel
to configure the label set on each button and pickermoonstone/MediaOverlay
componentmoonstone/Picker
propsaria-label
,decrementAriaLabel
, andincrementAriaLabel
to configure the label set on each buttonmoonstone/Popup
propertycloseButtonAriaLabel
to configure the label set on popup close buttonmoonstone/ProgressBar.ProgressBarTooltip
propspercent
to format the value as a percent andvisible
to control display of the tooltipmoonstone/TimePicker
propshourAriaLabel
,hourLabel
,meridiemAriaLabel
,meridiemLabel
,minuteAriaLabel
, andminuteLabel
to configure the label set on time pickersmoonstone/VideoPlayer.MediaControls
component to support additional customization of the playback controlsmoonstone/VideoPlayer
propsmediaControlsComponent
,onRewind
,onFastForward
,onJumpBackward
,onJumpForward
,onPause
,onPlay
, andpreloadSource
moonstone/VirtualList.VirtualList
andmoonstone/VirtualList.VirtualGridList
role="list"
moonstone/VirtualList.VirtualList
andmoonstone/VirtualList.VirtualGridList
propwrap
to support wrap-around spotlight navigationmoonstone/VirtualList
,moonstone/VirtualGridList
andmoonstone/Scroller
propsscrollRightAriaLabel
,scrollLeftAriaLabel
,scrollDownAriaLabel
, andscrollUpAriaLabel
to configure the aria-label set on scroll buttons in the scrollbarswebos/speech
module withreadAlert()
function andVoiceControlDecorator
Higher-order Component
moonstone/IncrementSlider
andmoonstone/Slider
proptooltip
to support either a boolean for the default tooltip or an element or component for a custom tooltipmoonstone/Input
to prevent pointer actions on other component when the input has focusmoonstone/ProgressBar.ProgressBarTooltip
propside
to support either locale-aware or locale-independent positioningmoonstone/ProgressBar.ProgressBarTooltip
proptooltip
to support custom tooltip componentsmoonstone/Scroller
,moonstone/Picker
, andmoonstone/IncrementSlider
to retain focus onmoonstone/IconButton
when it becomes disabledspotlight/Spottable
to retain focus on a component when it becomes disabled while focusedui/Cancelable
callbackonCancel
to accept an event with astopPropagation
method to prevent upstream instances from handling the event instead of using the return value from the callback to prevent propagation. When a function is passed toonCancel
, it will now receive an event and a props object instead of only the props object. When a string is passed toonCancel
, it will now receive an event instead of no arguments. Also when a string is passed, the event will now propagate to upstream instances unlessstopPropagation
is called.ui/Transition
propertyduration
to now also support a numeric value representing milliseconds or a string representing any valid CSS duration value
core/util.memoize
to forward all args to memoized functionmoonstone/ExpandableItem
and related expandable components to expand smoothly when used in a scrollermoonstone/GridListImageItem
to show properplaceholder
andselectionOverlay
moonstone/MoonstoneDecorator
to optimize localized font loading performancemoonstone/Scroller
andmoonstone/VirtualList
navigation via 5-way from paging controlsmoonstone/VideoPlayer
to render bottom controls at idle after mountingmoonstone/VirtualList.VirtualList
andmoonstone/VirtualList.VirtualGridList
to give initial focusmoonstone/VirtualList.VirtualList
andmoonstone/VirtualList.VirtualGridList
to have the default value fordataSize
,pageScroll
, andspacing
propsui/Layout.Cell
to no longer overflow when bothsize
andshrink
are set togetherui/Layout
to correctly support twoalign
values, allowing horizontal and vertical in one property. Previously, the transverse alignment was ignored, only allowing perpendicular alignment.ui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
showing blank whendirection
prop changed after scroll position changedui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
to support RTL by dynamic language changes
core/handle.call
to invoke a named method on a bound handlermoonstone/Panels
propertycloseButtonAriaLabel
to configure the label set on application close buttonbackground
global knob to help visualize components over various background imagesui/Placeholder.PlaceholderControllerDecorator
config propertythresholdFactor
moonstone/VirtualList.VirtualList
andmoonstone/VirtualList.VirtualGridList
to set its ARIArole
to"list"
moonstone/VideoPlayer
propertytitle
to accept node typeui/Transition
propertychildren
to not be requiredui/Transition
to fireonShow
andonHide
even when there are nochildren
moonstone/TimePicker
to showmeridiem
correctly in all localesmoonstone/Scrollable
scroll buttons to read out out audio guidance when button pressed downmoonstone/ExpandableItem
to show label properly when open and disabledmoonstone/Notification
to position properly in RTL localesmoonstone/VideoPlayer
to show controls when pressing 5-way selectui/ViewManager
to not initially pass the wrong value forenteringProp
when a view initiates a transition into the viewport
moonstone/VirtualList.VirtualList
andmoonstone/VirtualList.VirtualGridList
propertydata
ui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
propdata
moonstone/VideoPlayer
propertynoSpinner
to allow apps to show/hide spinner while loading videowebos/LS2Request
send()
parametersonTimeout
andtimeout
webos/LS2Request
send()
defaultonFailure
andonTimeout
handlers
moonstone/VideoPlayer
to disable play/pause button when media controls are disabledmoonstone/VideoPlayer
propertymoreButtonColor
to allow setting underline colors for more buttonmoonstone/VirtualList.VirtualList
andmoonstone/VirtualList.VirtualGridList
propisItemDisabled
, which accepts a function that checks if the item at the supplied index is disabledmoonstone/Panels.Header
support forheaderInput
so the Header can be used as an Input. See documentation for usage examples.moonstone/ProgressBar
propertytooltipSide
to configure tooltip position relative to the progress barmoonstone/ProgressBar
colors (affectingmoonstone/Slider
as well) for light and dark theme to match the latest designs and make them more visible when drawn over arbitrary background colors
moonstone/VideoPlayer
to correctly adjust spaces when the number of components changes inleftComponents
andrightComponents
moonstone/VideoPlayer
to read out audio guidance every timesource
changesmoonstone/VideoPlayer
to display custom thumbnail nodemoonstone/VideoPlayer
to hide more icon when right components are removedmoonstone/Picker
to correctly update pressed state when dragging off buttonsmoonstone/Notification
to display when it's openedmoonstone/VirtualList
andmoonstone/VirtualGridList
to show Spotlight properly while navigating with page up and down keysmoonstone/Input
to allow navigating via left or right to other components when the input is active and the selection is at start or end of the text, respectivelymoonstone/Panels.ActivityPanels
to correctly lay out the existing panel after adding additional panelsspotlight
to partition and prioritize next spottable elements for more natural 5-way behaviorui/Scroller
horizontal scrolling in RTL locales
core/factory
module, replaced by thecss
override featuremoonstone/Slider
exportsSliderFactory
andSliderBaseFactory
moonstone/IncrementSlider
exportsIncrementSliderFactory
andIncrementSliderBaseFactory
moonstone/ProgressBar
,moonstone/Slider
,moonstone/Slider.SliderTooltip
,moonstone/IncrementSlider
components'vertical
property and replaced it withorientation
spotlight/SpotlightContainerDecorator
propcontainerId
, to be replaced byspotlightId
ui/Transition
propertyclipHeight
ui/ProgressBar
propertyvertical
and replaced it withorientation
moonstone/VideoPlayer
propertycomponent
to handle custom video elementmoonstone/IncrementSlider
propertiesincrementAriaLabel
anddecrementAriaLabel
to configure the label set on each buttonmoonstone/Input
support forsmall
propmoonstone/ProgressBar
support fortooltip
andtooltipForceSide
moonstone/ProgressBar
,moonstone/Slider
,moonstone/Slider.SliderTooltip
,moonstone/IncrementSlider
propertyorientation
to accept orientation strings like "vertical" and "horizontal" (replaced oldvertical
prop)spotlight/Pause
module which acts as a semaphore for spotlight pause statespotlight/Spottable
propspotlightId
to simplify focusing componentsui/Scrollable
support for scrolling by touchui/ProgressBar
propertyorientation
to accept orientation strings like"vertical"
and"horizontal"
moonstone/Input
inputheight
,vertical-align
, andmargins
. Please verify your layouts to ensure everything lines up correctly; this change may require removal of old sizing and positioning CSS which is no longer necessary.moonstone/FormCheckbox
to have a small border around the circle, according to new GUI designsmoonstone/RadioItem
dot size and added an inner-dot to selected-focused state, according to new GUI designsmoonstone/ContextualPopup
proppopupContainerId
topopupSpotlightId
moonstone/Popup
propcontainerId
tospotlightId
moonstone/VideoPlayer
propcontainerId
tospotlightId
moonstone/VirtualList.VirtualList
andmoonstone/VirtualList.VirtualGridList
propcomponent
to be replaced byitemRenderer
spotlight/Spotlight.focus
to support focusing byspotlightId
spotlight
container attributesdata-container-disabled
anddata-container-muted
to bedata-spotlight-container-disabled
anddata-spotlight-container-muted
, respectivelyui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
propcomponent
to be replaced byitemRenderer
moonstone/ExpandableItem
to be more performant when animatingmoonstone/GridListImageItem
to hide overlay checkmark icon on focus when unselectedmoonstone/GridListImageItem
to useui/GridListImageItem
moonstone/VirtualList
,moonstone/VirtualGridList
andmoonstone/Scroller
components to use their base UI componentsmoonstone/VirtualList
to show the selected state on hovered paging controls properlymoonstone/Slider
to highlight knob when selectedmoonstone/Slider
to handle updates to itsvalue
prop correctlymoonstone/ToggleItem
to accept HTML DOM node tag names as strings for itscomponent
propertymoonstone/Popup
to properly pause and resume spotlight when animatingui/Transition
animation forclip
for"up"
,"left"
, and"right"
directions. This includes a DOM addition to the Transition markup.ui/ComponentOverride
andui/ToggleItem
to accept HTML DOM node tag names as strings for itscomponent
property
core/util.childrenEquals
which was no longer supported by React 16moonstone/Marquee.MarqueeText
, replaced bymoonstone/Marquee.Marquee
moonstone/VirtualGridList.GridListImageItem
, replaced bymoonstone/GridListImageItem
core/util.memoize
method to optimize the execution of expensive functionsui/Touchable
support for drag gestureui/Marquee
component
moonstone/Marquee.Marquee
to bemoonstone/Marquee.MarqueeBase
moonstone/ContextualPopupDecorator
to not restore last-focused child
moonstone/Slider
to correctly show localized percentage value in tooltip whentooltipAsPercent
is truemoonstone/VirtualGridList
to show or hide its scrollbars properlymoonstone/Button
text to be properly centeredui/ViewManager
to suppressenteringProp
for views that are rendered at mount
moonstone/Button
andmoonstone/IconButton
propnoAnimation
ui/BodyText
,ui/Image
,ui/Item
,ui/ProgressBar
,ui/SlotItem
,ui/Spinner
,ui/ToggleIcon
components as unstyled base components to support UI libraries
core/kind
to always return a component rather than either a component or an SFC depending upon the configurationmoonstone/Marquee
to do less-costly calculations during measurement and optimized the applied stylesmoonstone/ExpandableList
to require a unique key for each object type data- samples to be organized by library and removed background selector
ui/Repeater
andui/Group
to require a unique key for each object type dataui/Toggleable
to use'selected'
as its defaultprop
, rather than'active'
, since'selected'
is by far the most common use caseui/Touchable
to use global gesture configuration with instance override rather than component-level configuration via HOC configs with instance override
moonstone/VirtualList
to render properly with fiber reconcilermoonstone/VirtualList
focus option in scrollTo apimoonstone/ExpandableSpotlightDecorator
to not spot the title upon collapse when inpointerMode
moonstone/Spinner
to not unpause Spotlight unless it was the one to pause itmoonstone/Marquee
to stop when becoming disabledspotlight/Spottable
to not removetabindex
from unspottable components to allow blur events to propagate as expected when a component becomes disabled
ui/Button
,ui/Icon
, andui/IconButton
components to support reuse by themesui/Touchable
support for flick gestures
moonstone/MoonstoneDecorator
root node to fill the entire space available, which simplifies positioning and sizing for child elements (previously always measured 0 in height)moonstone/VirtualList
to prevent infinite function call when a size of contents is slightly longer than a client size without a scrollbarmoonstone/VirtualList
to sync scroll position when clientSize changedui/resolution
to measure the App's rendering area instead of the entire window, and now factors-in the height as well
moonstone/Scroller
andmoonstone/VirtualList
optionindexToFocus
inscrollTo
method which is deprecated from 1.2.0moonstone/Scroller
propshorizontal
andvertical
which are deprecated from 1.3.0 and replaced withdirection
prop
ui/Scroller
andui/VirtualList
ui/Layout
which provides a technique for laying-out components on the screen usingCells
, in rows or columnsui/Touchable
to support consistent mouse and touch events along with hold gesture
moonstone/Button
,moonstone/Checkbox
,moonstone/FormCheckbox
,moonstone/IconButton
,moonstone/IncrementSlider
,moonstone/Item
,moonstone/Picker
, andmoonstone/RangePicker
,moonstone/Switch
andmoonstone/VideoPlayer
to useui/Touchable
ui/Holdable
andui/Pressable
which were replaced byui/Touchable
core/util/childrenEquals
, to be removed in 2.0.0moonstone/Marquee.Marquee
, to be moved tomoonstone/Marquee.MarqueeBase
in 2.0.0moonstone/Marquee.MarqueeText
, to be moved tomoonstone/Marquee.Marquee
in 2.0.0
moonstone/GridListImageItem
to display correctly- Internal method used by many components that sometimes prevented re-renders when they were needed
core/factory
, to be removed in 2.0.0moonstone/VirtualFlexList
, to be replaced byui/VirtualFlexList
in 2.0.0moonstone/VirtualGridList.GridListImageItem
, to be replaced bymoonstone/GridListImageItem
in 2.0.0moonstone/Button
andmoonstone/IconButton
propnoAnimation
, to be removed in 2.0.0moonstone/Button.ButtonFactory
,moonstone/Button.ButtonBaseFactory
,moonstone/IconButton.IconButtonFactory
,moonstone/IconButton.IconButtonBaseFactory
,moonstone/IncrementSlider.IncrementSliderFactory
,moonstone/IncrementSlider.IncrementSliderBaseFactory
,moonstone/Slider.SliderFactory
, andmoonstone/Slider.SliderBaseFactory
, to be removed in 2.0.0moonstone/Item.ItemOverlay
, to be replaced byui/SlotItem
in 2.0.0moonstone/Item.Overlay
andmoonstone/Item.OverlayDecorator
, to be removed in 2.0.0ui/Holdable
andui/Pressable
, to be replaced byui/Touchable
in 2.0.0
moonstone/DaySelector
componentmoonstone/EditableIntegerPicker
componentmoonstone/GridListImageItem
component
moonstone/DatePicker
to calculate min and max year in the current calender
core/kind
andcore/hoc
public documentation to be visiblemoonstone/TimePicker
to not read out meridiem label when meridiem picker gets a focusmoonstone/Scroller
to correctly update scrollbars when the scroller's contents change- Several samples that would not rescale correctly when the viewport was resized
moonstone/Panels
to maintain spotlight focus whennoAnimation
is setmoonstone/Panels
to not accept back key presses during transitionmoonstone/Panels
to revert 1.13.0 fix that blurred Spotlight when transitioning panelsmoonstone/Scroller
and other scrolling components to not show scroll thumb when only child item is updatedmoonstone/Scroller
and other scrolling components to not hide scroll thumb immediately after scroll position reaches the top or the bottommoonstone/Scroller
and other scrolling components to show scroll thumb properly when scroll position reaches the top or the bottom by paging controlsspotlight
to guard against accessing unconfigured container configurationsui/ViewManager
to revert 1.13.0 fix for lifecycle timing when entering a view
moonstone/Slider
to not unnecessarily fireonChange
if the initial value has not changed
moonstone/VideoPlayer
propsdisabled
,loading
,miniFeedbackHideDelay
, andthumbnailComponent
as well as new APIs:areControlsVisible
,getVideoNode
,showFeedback
, andtoggleControls
ui/Transition
animation timing functionsease-in
,ease-out
,ease-in-quart
, andease-out-quart
to provide prettier options for transitions that may be more suited to a specific visual style
moonstone/Expandable
and derivatives to use the newease-out-quart
animation timing function to better match the aesthetic of Enyo's Expandablesmoonstone/LabeledItem
to start marquee when hovering while disabledmoonstone/Marquee.MarqueeController
to not abort marquee when moving among componentsmoonstone/Marquee
to correctly start when hovering on disabled spottable componentsmoonstone/Marquee
to restart animation on every resize updatemoonstone/MarqueeDecorator
to stop when unhovering a disabled component usingmarqueeOn
'focus'
moonstone/Panels
to prevent loss of spotlight issue when moving between panelsmoonstone/Picker
marquee issues with disabled buttons or Pickermoonstone/Slider
by removing unnecessary repaints to the screenmoonstone/Slider
to fireonChange
events when the knob is pressed near the boundariesmoonstone/Slider
to not forwardonChange
whendisabled
onmouseUp/click
moonstone/TooltipDecorator
to correctly display tooltip direction when locale changesmoonstone/VideoPlayer
to bring it in line with real-world use-casesmoonstone/VideoPlayer
to correctly position knob when interacting with media slidermoonstone/VideoPlayer
to defer rendering playback controls until neededmoonstone/VideoPlayer
to not read out the focused button when the media controls hidemoonstone/VirtualList
to handle focus properly via page up at the first page and via page down at the last pagemoonstone/VirtualList
to render items from a correct index on edge cases at the top of a listui/ViewManager
to prevent interaction issue withmoonstone/Scroller
moonstone/VirtualList
to scroll and focus properly by pageUp and pageDown when disabled items are in itmoonstone/Button
to correctly specify minimum width when in large text modemoonstone/Scroller.Scrollable
to restore last focused index when panel is changedmoonstone/VideoPlayer
to display time correctly in RTL localemoonstone/VirtualList
to scroll correctly using page down key with disabled itemsmoonstone/Scrollable
to not cause a script error when scrollbar is not renderedmoonstone/Picker
incrementer and decrementer to not change size when focusedmoonstone/Panels.Header
to use a slightly smaller font size fortitle
in non-latin locales and a line-height fortitleBelow
andsubTitleBelow
that better meets the needs of tall-glyph languages like Tamil and Thai, as well as latin localesmoonstone/Scroller
andmoonstone/VirtualList
to keep spotlight when pressing a 5-way control while scrollingmoonstone/Panels
to prevent user interaction with panel contents during transitionmoonstone/Slider
and related components to correctly position knob fordetachedKnob
on mouse down and fire value where mouse was positioned on mouse upmoonstone/DayPicker
to update day names when changing localemoonstone/ExpandableItem
and all otherExpandable
components to revert 1.12.1 change to pull down from the topspotlight
to handle non-5-way keys correctly to focus on next 5-way keysspotlight/Spottable
to forwardonMouseEnter
andonMouseLeave
ui/Remeasurable
to update on every trigger changeui/Transition
to revert 1.12.1 change to supportclip
transition-type directions and rendering optimizations
moonstone/ExpandableItem
and all otherExpandable
components to now pull down from the top instead of being revealed from the bottom, matching Enyo's designmoonstone/VirtualListNative
to scroll properly with page up/down keys if there is a disabled itemmoonstone/RangePicker
to display negative values correctly in RTLmoonstone/Scrollable
to not blur scroll buttons when wheelingmoonstone/Scrollbar
to hide scroll thumb immediately without delay after scroll position reaches min or maxmoonstone/Divider
to passmarqueeOn
propmoonstone/Slider
to fireonChange
on mouse up and key upmoonstone/VideoPlayer
to show knob when pressedmoonstone/Panels.Header
to layouttitleBelow
andsubTitleBelow
correctlymoonstone/Panels.Header
to use correct font-weight forsubTitleBelow
ui/Transition
support for allclip
transition-type directions and made rendering optimizations
core/util.Job
APIsidle
,idleUntil
,startRaf
andstartRafAfter
moonstone/Input
to correctly hide VKB when dismissingmoonstone/Panels
to retain focus when back key is pressed on breadcrumbmoonstone/Popup
fromlast-focused
todefault-element
inSpotlightContainerDecorator
configmoonstone/Scrollable
to prevent focusing outside the viewport when pressing a 5-way key during wheelingmoonstone/Scroller
to called scrollToBoundary once when focus is moved using holding child itemmoonstone/VideoPlayer
to apply skin correctlyspotlight
to focus enabled items that were hovered while disabledspotlight
to not access non-existent container configurationsspotlight/Spottable
to not block next enter key when focus is moved while pressing enter
moonstone/VideoPlayer
propertiesseekDisabled
andonSeekFailed
to disable seek function
moonstone/ExpandableList
to becomedisabled
if there are no childrenspotlight
to handle key events to preserve pointer mode for specific keys
moonstone/Scroller
to apply scroll position on vertical or horizontal Scroller when child gets a focusmoonstone/Scroller.Scrollable
to scroll without animation when panel is changedmoonstone/ContextualPopup
padding to not overlap close buttonmoonstone/Scroller.Scrollable
andmoonstone/Scroller
to change focus via page up/down only when the scrollbar is visiblemoonstone/Picker
to only increment one value on holdmoonstone/ItemOverlay
to remeasure when focusedspotlight
to not require multiple 5-way key presses in order to change focus after the window regains focus
moonstone/Scrollable
andmoonstone/Scroller
to scroll via page up/down when focus is inside a Spotlight containermoonstone/VirtualList
andmoonstone/VirtualGridList
to scroll by 5-way keys right after wheelingmoonstone/VirtualList
not to move focus when a current item and the last item are located at the same line and pressing a page down keymoonstone/Panels.Header
to layout header row correctly instandard
typemoonstone/Input
to not dismiss on-screen keyboard when dragging cursor out of input boxmoonstone/Panels.Header
RTLline-height
issuemoonstone/Panels
to render children on idlemoonstone/Scroller.Scrollable
to limit its muted spotlight container scrim to its boundsmoonstone/Input
to always forwardonKeyUp
eventspotlight.Spotlight
methodfocus()
to prevent focusing components within containers that are being removedui/Pressable
to properly set pressed state to false on blur and release
moonstone/VideoPlayer
support for designating components with.spottable-default
as the default focus target when pressing 5-way down from the slidermoonstone/Slider
propertyactivateOnFocus
which when enabled, allows 5-way directional key interaction with theSlider
value without pressing [Enter] firstmoonstone/VideoPlayer
propertynoMiniFeedback
to support controlling the visibility of mini feedback
moonstone/Popup
to focus on mount if it’s initially opened and non-animating and to always pass an object toonHide
andonShow
moonstone/VideoPlayer
to emitonScrub
event and provide audio guidance when setting focus to slider
moonstone/ExpandableItem
and derivatives to restore focus to the Item if the contents were last focused when closedmoonstone/Slider
toggling activated state when holding enter/select keymoonstone/TimePicker
picker icons shifting slightly when focusing an adjacent pickermoonstone/Icon
so it handles color the same way generic text does, by inheriting from the parent's color. This applies to all instances ofIcon
,IconButton
, andIcon
insideButton
.moonstone/VideoPlayer
to correctly position knob on mouse clickmoonstone/Panels.Header
to show an ellipsis for long titles with RTL textmoonstone/Marquee
to restart when invalidated by a prop change and managed by amoonstone/Marquee.MarqueeController
Moonstone Icons
font file to include the latest designs for several iconsmoonstone/Panels/ApplicationCloseButton
to expose itsbackgroundOpacity
propsampler
Icon
andIconButton
samples to include updated images assets
moonstone/Button
andmoonstone/IconButton
to be properly visually muted when in a muted containermoonstone/Icon
not to read out image charactersmoonstone/Icon
to correctly display focused state when using external imagemoonstone/Picker
to increment and decrement normally at the edges of joined pickermoonstone/Scrollable
not to accumulate paging scroll by pressing page up/down in scrollbarmoonstone/VirtualList
to apply "position: absolute" inline style to itemsui/Transition
to recalculate height when a resize occurs
moonstone/ExpandableList
preventing updates when its children had changed
moonstone/ExpandableList
run-time error when using an array of objects as childrenmoonstone/VideoPlayer
blocking pointer events when the controls were hidden
moonstone/styles/mixins.less
mixins:.moon-spotlight-margin()
and.moon-spotlight-padding()
moonstone/Button
propertynoAnimation
to support non-animating pressed visualsampler
locale Vietnamese to the locale list knobui/styles/mixins.less
mixins:.remove-margin-on-edge-children()
and.remove-padding-on-edge-children()
to better handle edge margins on container components
i18n
to classify Vietnamese as a non-latin languagemoonstone/TimePicker
to use "AM/PM" instead of "meridiem" for label under meridiem pickermoonstone/IconButton
default style to not animate on press. NOTE: This behavior will change back to its previous setting in release 2.0.0.moonstone/Popup
to warn when usingscrimType
'none'
andspotlightRestrict
'self-only'
moonstone/Scroller
to block spotlight during scrollmoonstone/ExpandableItem
and derivatives to always pause spotlight before animationspotlight
to block handling repeated key down events that were interrupted by a pointer eventui/Holdable
to cancel key hold events when the pointer movesui/Holdable
andui/Changeable
back to Components and moved performance improvements elsewhere
moonstone/Input
height for non-latin localesmoonstone/VirtualGridList
to not move focus to wrong column when scrolled from the bottom by holding the "up" keymoonstone/VirtualList
to focus an item properly when moving to a next or previous pagemoonstone/Scrollable
to move focus toward first or last child when page up or down key is pressed if the number of children is smallmoonstone/VirtualList
to scroll to preserved index when it exists within dataSize for preserving focusmoonstone/Picker
buttons to not change sizemoonstone/Panel
to move key navigation to application close button on holding the "up" key.moonstone/Picker
to show numbers when changing values rapidlymoonstone/Popup
layout in large text mode to show close button correctlymoonstone/Picker
from moving scroller when pressing 5-way keys injoined
Pickermoonstone/Input
so it displays all locales the same way, without cutting off the edges of charactersmoonstone/TooltipDecorator
to hide tooltip when 5-way keys are pressed for disabled componentsmoonstone/Picker
to not tremble in width when changing values while using a numeric width prop valuemoonstone/Picker
to not overlap values when changing values invertical
moonstone/ContextualPopup
pointer mode focus behavior forspotlightRestrict='self-only'
moonstone/VideoPlayer
to prevent interacting with more components in pointer mode when hiddenmoonstone/Scroller
to not repaint its entire contents whenever partial content is updatedmoonstone/Slider
knob positioning after its container is resizedmoonstone/VideoPlayer
to maintain focus when media controls are hiddenmoonstone/Scroller
to scroll expandable components into view when opening when pointer has moved elsewherespotlight
to not try to focus something when the window is activated unless the window has been previously blurredspotlight
to prevent containers that have been unmounted from being considered potential targetsui/FloatingLayer
to not asynchronously attach a click handler when the floating layer is removedui/ViewManager
to correctly position items when changing mid-transition
moonstone/Dialog
propertyshowDivider
, will be replaced bynoDivider
property in 2.0.0
moonstone/Popup
callback propertyonShow
which fires after popup appears for both animating and non-animating popups
i18n
package to use latest iLibmoonstone/Popup
callback propertyonHide
to run on both animating and non-animating popupsmoonstone/VideoPlayer
stateplaybackRate
to media eventsmoonstone/VideoPlayer
support forspotlightDisabled
moonstone/VideoPlayer
thumbnail positioning and stylemoonstone/VirtualList
to render when dataSize increased or decreasedmoonstone/Dialog
stylemoonstone/Popup
,moonstone/Dialog
, andmoonstone/Notification
to supportnode
type for childrenmoonstone/Scroller
to forwardonKeyDown
eventsui/Holdable
andui/Changeable
to be PureComponents to reduce the number of updates
moonstone/Scrollable
to enable focus when wheel scroll is stoppedmoonstone/VirtualList
to show scroll thumb when a preserved item is focused in a Panelmoonstone/Scroller
to navigate properly with 5-way when expandable child is openedmoonstone/VirtualList
to stop scrolling when focus is moved on an item from paging controls or outsidemoonstone/VirtualList
to move out with 5-way navigation when the first or last item is disabledmoonstone/IconButton
Tooltip position when disabledmoonstone/VideoPlayer
Tooltip time after unhoveringmoonstone/VirtualList
to not show invisible itemsmoonstone/IconButton
Tooltip position when disabledmoonstone/VideoPlayer
to display feedback tooltip correctly when navigating in 5-waymoonstone/MarqueeDecorator
to work with synchronizedmarqueeOn
'render'
and hovering as well asmarqueOn
'hover'
when moving rapidly among synchronized marqueesmoonstone/Input
aria-label for translationmoonstone/Marquee
to recalculate insidemoonstone/Scroller
andmoonstone/SelectableItem
by bypassingshouldComponentUpdate
spotlight/Spottable
to clean up internal spotted state when blurred withinonSpotlightDisappear
handler
moonstone/TextSizeDecorator
and it will be replaced bymoonstone/AccessibilityDecorator
moonstone/MarqueeDecorator
propertymarqueeCentered
andmoonstone/Marquee
propertycentered
will be replaced byalignment
property in 2.0.0
moonstone/TooltipDecorator
config property to direct tooltip into a property instead of adding tochildren
moonstone/VideoPlayer
propthumbnailUnavailable
to fade thumbnailmoonstone/AccessibilityDecorator
withhighContrast
andtextSize
moonstone/VideoPlayer
high contrast scrimmoonstone/MarqueeDecorator
andmoonstone/Marquee
propertyalignment
to allow setting alignment of marquee contentspotlight/SpotlightContainerDecorator
config optioncontinue5WayHold
to support moving focus to the next spottable element on 5-way hold key.spotlight/SpotlightContainerDecorator
config optioncontinue5WayHold
to support moving focus to the next spottable element on 5-way hold keyspotlight/Spottable
ability to restore focus when an initially disabled component becomes enabled
moonstone/Scrollbar
to disable paging control down button properly at the bottom when a scroller size is a non-integer valuemoonstone/VirtualList
,moonstone/VirtualGridList
, andmoonstone/Scroller
to scroll onkeydown
event instead ofkeyup
event of page up and page down keysmoonstone/VirtualGridList
to scroll by item via 5 way keymoonstone/VideoPlayer
to read target time when jump by left/right keymoonstone/IconButton
to not useMarqueeDecorator
andUppercase
moonstone/VirtualList
andmoonstone/VirtualGridList
to focus the correct item when page up and page down keys are pressedmoonstone/VirtualList
not to lose focus when moving out from the first item via 5way when it has disabled itemsmoonstone/VirtualList
to not lose focus when moving out from the first item via 5way when it has disabled itemsmoonstone/Slider
to align tooltip with detached knobmoonstone/FormCheckbox
to display correct colors in light skinmoonstone/Picker
andmoonstone/RangePicker
to forwardonKeyDown
events when notjoined
moonstone/SelectableItem
to display correct icon width and alignmentmoonstone/LabeledItem
to always match alignment with the localemoonstone/Scroller
to properly 5-way navigate from scroll buttonsmoonstone/ExpandableList
to display correct font weight and size for list itemsmoonstone/Divider
to not italicize in non-italic localesmoonstone/VideoPlayer
slider knob to follow progress after being selected when seekingmoonstone/LabeledItem
to correctly position its icon. This affects all of theExpandables
,moonstone/DatePicker
andmoonstone/TimePicker
.moonstone/Panels.Header
andmoonstone/Item
to prevent them from allowing their contents to overflow unexpectedlymoonstone/Marquee
to recalculate when vertical scrollbar appearsmoonstone/SelectableItem
to recalculate marquee when toggledspotlight
to correctly restore focus to a spotlight container in another containerspotlight
to not try to focus something when the window is activated if focus is already set
moonstone/Input
large-text mode
moonstone/Icon
andmoonstone/IconButton
to no longer fit image source to the icon's boundary
-
moonstone/VideoPlayer
ability to seek when holding down the right and left keys. Sensitivity can be adjusted using throttling optionsjumpDelay
andinitialJumpDelay
. -
moonstone/VideoPlayer
propertyno5WayJump
to disable jumping done by 5-way -
moonstone/VideoPlayer
support for the "More" button to use tooltips -
moonstone/VideoPlayer
propertiesmoreButtonLabel
andmoreButtonCloseLabel
to allow customization of the "More" button's tooltip and Aria labels -
moonstone/VideoPlayer
propertymoreButtonDisabled
to disable the "More" button -
moonstone/Picker
andmoonstone/RangePicker
proparia-valuetext
to support reading custom text instead of value -
moonstone/VideoPlayer
methodsshowControls
andhideControls
to allow external interaction with the player -
moonstone/Scroller
support for Page Up/Page Down keys in pointer mode when no item has focus
moonstone/VideoPlayer
to handle play, pause, stop, fast forward and rewind on remote controllermoonstone/Marquee
to also start when hovered ifmarqueeOnRender
is setspotlight
containers using arestrict
value of'self-only'
will ignoreleaveFor
directives when attempting to leave the container via 5-way
moonstone/IconButton
to fit image source withinIconButton
moonstone
icon font sizes for wide iconsmoonstone/ContextualPopupDecorator
to prefer setting focus to the appropriate popup instead of other underlying controls when using 5-way from the activating controlmoonstone/Scroller
not scrolled via 5 way whenmoonstone/ExpandableList
is openedmoonstone/VirtualList
no not let the focus move outside of container even if there are children left when navigating with 5waymoonstone/Scrollable
to update disability of paging controls when the scrollbar is set tovisible
and the content becomes shortermoonstone/VideoPlayer
to focus on hover over play/pause button when video is loadingmoonstone/VideoPlayer
to update and display proper time while moving knob when video is pausedmoonstone/VideoPlayer
long title overlap issuesmoonstone/Panels.Header
to applymarqueeOn
prop tosubTitleBelow
andtitleBelow
moonstone/Picker
wheeling inmoonstone/Scroller
moonstone/IncrementSlider
andmoonstone/Picker
to read value changes when selecting buttonsspotlight
to not blur and re-focus an element that is already focusedui/PlaceholderDecorator
to update bounds ofScroller
when thevisible
state changed
moonstone/Slider
andmoonstone/IncrementSlider
proparia-valuetext
to support reading custom text instead of valuemoonstone/TooltipDecorator
propertytooltipProps
to attach props to tooltip componentmoonstone/Scroller
andmoonstone/VirtualList
ability to scroll via page up and page down keysmoonstone/VideoPlayer
tooltip-thumbnail support with thethumbnailSrc
prop and theonScrub
callback to fire when the knob moves and a new thumbnail is neededmoonstone/VirtualList
ability to navigate via 5way when there are disabled itemsmoonstone/ContextualPopupDecorator
propertypopupContainerId
to support configuration of the popup's spotlight containermoonstone/ContextualPopupDecorator
propertyonOpen
to notify containers when the popup has been openedmoonstone/ContextualPopupDecorator
config optionopenProp
to support mapping the value ofopen
property to the chosen property of wrapped component
moonstone/ExpandableList
to use 'radio' as the default, and adapt 'single' mode to render as amoonstone/RadioItem
instead of amoonstone/CheckboxItem
moonstone/VideoPlayer
to not hide pause icon when it appearsmoonstone/ContextualPopupDecorator
to set accessibility-related props onto the container node rather than the popup nodemoonstone/ExpandableItem
,moonstone/ExpandableList
,moonstone/ExpandablePicker
,moonstone/DatePicker
, andmoonstone/TimePicker
to pause spotlight when animating in 5-way modemoonstone/Spinner
to position the text content under the spinner, rather than to the right sidemoonstone/VideoPlayer
to include hour when announcing the time while scrubbingspotlight
5-way target selection to ignore empty containersspotlight
containers to support an array of selectors fordefaultElement
moonstone/Input
ellipsis to show if placeholder is changed dynamically and is too longmoonstone/Marquee
to re-evaluate RTL orientation when its content changesmoonstone/VirtualList
to restore focus on short listsmoonstone/ExpandableInput
to expand the width of its containedmoonstone/Input
moonstone/Input
support fordismissOnEnter
moonstone/Input
focus management to prevent stealing focus when programmatically moved elsewheremoonstone/Input
5-way spot behaviormoonstone
international fonts to always be used, even when unsupported font-weights or font-styles are requestedmoonstone/Panels.Panel
support for selecting components with.spottable-default
as the default focus targetmoonstone/Panels
layout in RTL localesmoonstone
spottable components to supportonSpotlightDown
,onSpotlightLeft
,onSpotlightRight
, andonSpotlightUp
event propertymoonstone/VirtualList
losing spotlight when the list is emptymoonstone/FormCheckbox
in focused state to have the correct "check" colormoonstone/Scrollable
bug innavigableFilter
when passed a container idui/Cancelable
warning for string type cancel handlerwebos/pmloglib
isomorphic compatibility with logging in non-browser environments
moonstone/Popup
to only callonKeyDown
when there is a focused item in thePopup
moonstone/Scroller
,moonstone/Picker
, andmoonstone/IncrementSlider
to automatically move focus when the currently focusedmoonstone/IconButton
becomes disabledspotlight/Spottable
to remove focus from a component when it becomes disabled and move it to another component if not explicitly moved during theonSpotlightDisappear
event callback
moonstone/ContextualPopupDecorator
close button to account for large text sizemoonstone/ContextualPopupDecorator
to not spot controls other than its activator when navigating out via 5-waymoonstone/Panels.Header
to set the value ofmarqueeOn
for all types of headers
moonstone/Input
propnoDecorator
is being replaced byautoFocus
in 2.0.0
moonstone/styles/text.less
mixin.locale-japanese-line-break()
to apply the correct Japanese language line-break rules for the following multi-line components:moonstone/BodyText
,moonstone/Dialog
,moonstone/Notification
,moonstone/Popup
, andmoonstone/Tooltip
moonstone/ContextualPopupDecorator
propertypopupProps
to attach props to popup componentmoonstone/VideoPlayer
propertypauseAtEnd
to control forward/backward seekingspotlight
handlers for window focus eventsmoonstone/Panels/Header
propmarqueeOn
to control marquee of header
moonstone/Panels/Header
to expose itsmarqueeOn
propmoonstone/VideoPlayer
to automatically adjust the width of the allocated space for the side components so the media controls have more space to appear on smaller screensmoonstone/VideoPlayer
propertiesautoCloseTimeout
andtitleHideDelay
default value to5000
moonstone/VirtualList
to support restoring focus to the last focused itemmoonstone/Scrollable
to callonScrollStop
before unmounting if a scroll is in progressmoonstone/Scroller
to reveal non-spottable content when navigating out of a scroller
moonstone/Dialog
to properly focus via pointer on child componentsmoonstone/VirtualList
,moonstone/VirtualGridList
, andmoonstone/Scroller
not to be slower when scrolled to the first or the last position by wheelingmoonstone
component hold delay timemoonstone/VideoPlayer
to show its controls when pressing down the first timemoonstone/Panel
autoFocus logic to only focus on initial rendermoonstone/Input
text colorsmoonstone/ExpandableInput
to focus its decorator when leaving by 5-way left/rightspotlight
navigation through spottable components while holding down a directional keyspotlight
support for preventing 5-way navigation out of a container using an empty selectorspotlight
container support for default elements within subcontainers
moonstone/Picker
support for large textmoonstone/Scroller
support for focusing paging controls with the pointermoonstone
CSS rules for unskinned spottable componentsspotlight
incorrectly focusing components within spotlight containers withdata-container-disabled
set tofalse
spotlight
failing to focus the default element configured for a container
moonstone/Scroller
propshorizontal
andvertical
. Deprecated props are replaced withdirection
prop.horizontal
andvertical
will be removed in 2.0.0.moonstone/Panel
propnoAutoFocus
in favor ofautoFocus="none"
core/platform
to support platform detection across multiple browsersmoonstone/Image
support forchildren
prop inside imagesmoonstone/Scroller
propdirection
which replaceshorizontal
andvertical
propsmoonstone/VideoPlayer
propertytooltipHideDelay
to hide tooltip with a given amount of timemoonstone/VideoPlayer
methodsfastForward
,getMediaState
,jump
,pause
,play
,rewind
, andseek
to allow external interaction with the player. See docs for example usage.spotlight/styles/mixins.less
mixins which allow state-selector-rules (muted, spottable, focus, disabled) to be applied to the parent instead of the component's self. This provides much more flexibility without extra mixins to memorize.ui/ViewManager
propchildProps
to pass static props to each child
moonstone/Skinnable
to support context and allow it to be added to any component to be individually skinned. This includes a further optimization in skinning which consolidates all color assignments into a single block, so non-color rules aren't unnecessarily duplicated.moonstone/Skinnable
light and dark skin names ("moonstone-light" and "moonstone") to "light" and "dark", respectivelymoonstone/VideoPlayer
to set play/pause icon to display "play" when rewinding or fast forwardingmoonstone/VideoPlayer
to rewind or fast forward when previous command is slow-forward or slow-rewind respectivelymoonstone/VideoPlayer
to fast forward when previous command is slow-forward and it reaches the last of its play ratemoonstone/VideoPlayer
to not play video on reload whennoAutoPlay
istrue
moonstone/VideoPlayer
propertyfeedbackHideDelay
's default value to3000
moonstone/Notification
to break line in characters in ja and zh localemoonstone/Notification
to align texts left in LTR locale and right in RTL localemoonstone/VideoPlayer
to simulate rewind functionality on non-webOS platforms onlyspotlight
submodules to significantly improve testability
moonstone/ExpandableItem
to correct thetitleIcon
when usingopen
anddisabled
moonstone/GridListImageItem
to center its selection icon on the image instead of the itemmoonstone/Input
to have correctTooltip
position inRTL
moonstone/SwitchItem
to not unintentionally overflowScroller
containers, causing them to jump to the side when focusingmoonstone/VideoPlayer
to fast forward properly when video is at paused statemoonstone/VideoPlayer
to correctly change sourcesmoonstone/VideoPlayer
to show or hide feedback tooltip properlymoonstone/DateTimeDecorator
to work properly withRadioControllerDecorator
moonstone/Picker
in joined, large text mode so the arrows are properly aligned and sizedmoonstone/Icon
to reflect the same proportion in relation to its size in large-text modespotlight
submodules to significantly improve testabilityui/ViewManager
to have a view count of 0 specifically fornoAnimation
cases. This helps things likespotlight
restorefocus
properly.ui/Cancelable
to run modal handlers onwindow
object and correctly store handlers in LIFO order
- Localization support to various
moonstone
components
moonstone/MoonstoneDecorator
fontGenerator
invalidly usingconsole
moonstone/Scroller.Scrollable
optionindexToFocus
inscrollTo
method to be removed in 2.0.0spotlight/SpotlightRootDecorator.spotlightRootContainerName
to be removed in 2.0.0
core/handle.oneOf
to support branching event handlersmoonstone/Slider
andmoonstone/IncrementSlider
propnoFill
to support a style without the fillmoonstone/Marquee
propertyrtl
to set directionality to right-to-leftmoonstone/VirtualList.GridListImageItem
propertyselectionOverlay
to add custom component for selection overlaymoonstone/MoonstoneDecorator
propertyskin
to let an app choose its skin: "moonstone" and "moonstone-light" are now availablemoonstone/FormCheckboxItem
moonstone/FormCheckbox
, a standalone checkbox, to supportmoonstone/FormCheckboxItem
moonstone/Input
propsinvalid
andinvalidMessage
to display a tooltip when input value is invalidmoonstone/Scroller.Scrollable
optionfocus
inscrollTo()
methodmoonstone/Scroller.Scrollable
propertyspottableScrollbar
moonstone/Icon.IconList
icons:arrowshrinkleft
andarrowshrinkright
spotlight/styles/mixins.less
which includes several mixins (.focus
,.disabled
,.muted
, and.mutedFocus
) to make it a little easier to target specific spotlight statesui/transition
callback proponShow
that fires when transitioning into view completes
moonstone/Picker
arrow icon forjoined
picker: small when not spotted, hidden when it reaches the end of the pickermoonstone/Checkbox
andmoonstone/CheckboxItem
to reflect the latest designmoonstone/MoonstoneDecorator/fontGenerator
was refactored to use the browser's FontFace API to dynamically load locale fontsmoonstone/VideoPlayer
space allotment on both sides of the playback controls to support 4 buttons; consequently the "more" controls area has shrunk by the same amountmoonstone/VideoPlayer
to not disable media button (play/pause)moonstone/Scroller.Scrollable
so that paging controls are not spottable by default with 5-waymoonstone/VideoPlayer
's more/less button to use updated arrow iconspotlight/SpotlightContainerDecorator
config property,enterTo
, default value to benull
rather than'last-focused'
spotlight
container handling to address known issues and improve testabilityui/View
to prevent re-renders on views leaving theViewManager
moonstone/MarqueeDecorator
to properly stop marquee on items with'marqueeOnHover'
moonstone/ExpandableList
to work properly with object-based childrenmoonstone/styles/fonts.less
to restore the Moonstone Icon font to request the local system font by default. Remember to update your webOS build to get the latest version of the font so you don't see empty boxes for your icons.moonstone/Picker
andmoonstone/RangePicker
to now use the correct size from Enyo (60px v.s. 84px) for icon buttonsmoonstone/Scrollable
to apply ri.scale properlymoonstone/Panel
to not cover aPanels
'sApplicationCloseButton
when not using aHeader
moonstone/IncrementSlider
to show tooltip when buttons focused
Note: We have updated Enact to support React 15.5. This version of React has deprecated accessing PropTypes from the
react
import. Existing apps should update to import from theprop-types
module.enact-dev
has also been updated to the new release.
moonstone/ExpandableInput
propertyonInputChange
core/util
documentationi18n/Uppercase
propcasing
to control how the component should be uppercasedi18n/util
methodstoCapitalized
andtoWordCase
to locale-aware uppercase stringsmoonstone/Panels.Panel
prop andmoonstone/MoonstoneDecorator
config option:noAutoFocus
to support prevention of setting automatic focus after rendermoonstone/VideoPlayer
props:backwardIcon
,forwardIcon
,jumpBackwardIcon
,jumpForwardIcon
,pauseIcon
, andplayIcon
to support icon customization of the playermoonstone/VideoPlayer
propsjumpButtonsDisabled
andrateButtonsDisabled
for disabling the pairs of buttons when it's inappropriate for the playing mediamoonstone/VideoPlayer
propertyplaybackRateHash
to support custom playback ratesmoonstone/VideoPlayer
callback proponControlsAvailable
which fires when the players controls show or hidemoonstone/Image
support foronLoad
andonError
eventsmoonstone/VirtualList.GridListImageItem
propplaceholder
moonstone/Divider
propertypreserveCase
to display text without capitalizing itspotlight/SpotlightRootDecorator
config option:noAutoFocus
to support prevention of setting automatic focus after renderspotlight/Spotlight
methodgetSpottableDescendants()
moonstone/Slider
colors and sizing to match the latest designsmoonstone/ProgressBar
to position correctly with other components nearbymoonstone/Panels
breadcrumb to no longer have a horizontal line above itmoonstone/Transition
to measure itself when the CPU is idle- style for disabled opacity from 0.4 to 0.3
moonstone/Button
colors for transparent and translucent background opacity when disabledmoonstone/ExpandableInput
propertyonInputChange
to fire along withonChange
.onInputChange
is deprecated and will be removed in a future update.Moonstone.ttf
font to include new iconsmoonstone/Icon
to reference additional iconsspotlight/SpotlightContainerDecorator
to have no default forspotlightRestrict
ui/Slottable
to support slot-candidate tags that have multiple props, which are now forwarded directly instead of just their children
core/util.childrenEquals
to work with mixed components and textmoonstone/Popup
andmoonstone/ContextualPopupDecorator
5-way navigation behaviormoonstone/Input
to not spot its own input decorator on 5-way outmoonstone/VideoPlayer
to no longer render itschildren
in multiple placesmoonstone/Button
text color when used on a neutral (light) background in some casesmoonstone/Popup
background opacitymoonstone/Marquee
to recalculate properly when its contents changemoonstone/TimePicker
to display time in correct ordermoonstone/Scroller
to prefer spotlight navigation to its internal componentsspotlight/Spotlight
to consider nested containers when adjusting focusui/Cancelable
to run modal handlers in the right order
NOTE: This version includes a breaking change to the way modules are organized. This change was necessary to prevent further API breakage following the 1.0.0 release and to facilitate changes we want to make in the future. We understand that this will require some work on the part of developers to update their code. Below you will find details about the changes:
core/jobs
->core/util/Job
core/Accelerator
->spotlight/Accelerator
i18n.$L
->i18n/$L
i18n.toIString
->i18n/$L.toIString
spotlight.Spottable
->spotlight/Spottable
spotlight.spottableClass
->spotlight/Spottable.spottableClass
spotlight.SpotlightContainerDecorator
->spotlight/SpotlightContainerDecorator
spotlight.spotlightDefaultClass
->spotlight/SpotlightContainerDecorator.spotlightDefaultClass
spotlight.SpotlightRootDecorator
->spotlight/SpotlightRootDecorator
core/selection
core/fetch
ui/validators
core.hoc
- Usecore/hoc
core.kind
- Usecore/kind
We have also modified most form components to be usable in a controlled (app manages component state) or uncontrolled (Enact manages component state) manner. To put a component into a controlled state, pass in
value
(or other appropriate state property such asselected
oropen
) at component creation and then respond to events and update the value as needed. To put a component into an uncontrolled state, do not setvalue
(or equivalent), at creation. From this point on, Enact will manage the state and events will be sent when the state is updated. To specify an initial value, use thedefaultValue
(or,defaultSelected,
defaultOpen, etc.) property. See the documentation for individual components for more information.Additionally, we no longer export a
version
with the root import. If you need a version number, import frompackage.json
instead.
moonstone/Button
propertyicon
to support a built-in icon next to the text content. The Icon supports everything thatmoonstone/Icon
supports, as well as a custom icon.moonstone/MoonstoneDecorator
propertytextSize
to resize several components to requested CMR sizes. Simply addtextSize="large"
to yourApp
and the new sizes will automatically take effect.ui/Placeholder
module withPlaceholderControllerDecorator
andPlaceholderDecorator
HOCs which facilitate rendering placeholder components until the wrapped component would scroll into the viewport
i18n
iLib dependency to 20151019-build-12.0-002-04moonstone/Slider
to use the propertytooltip
instead ofnoTooltip
, so the built-in tooltip is not enabled by defaultmoonstone/IncrementSlider
to include tooltip documentationmoonstone/ExpandableList
to accept an array of objects as children which are spread onto the generated componentsmoonstone/CheckboxItem
style to match the latest designs, with support for themoonstone/Checkbox
to be on either the left or the right side by using theiconPosition
propertymoonstone/VideoPlayer
to supply every event callback-method with an object representing the VideoPlayer's current state, including:currentTime
,duration
,paused
,proportionLoaded
, andproportionPlayed
ui/Repeater
to accept an array of objects as children which are spread onto the generated components
moonstone/Panels.Panel
behavior for remembering focus on unmount and setting focus after rendermoonstone/VirtualList.VirtualGridList
showing empty items when items are continuously added dynamicallymoonstone/Picker
to marquee on focus once againspotlight/Spotlight
set()
to properly update the container configspotlight/Spotlight
to properly save the last-focused element for nested containers
core/kind
support forcontextTypes
core/utils
functionextractAriaProps()
for redirecting ARIA props when the root node of a component isn't focusablemoonstone/VirtualList
indexToFocus
option toscrollTo
method to focus on item with specified indexmoonstone/IconButton
andmoonstone/Button
color
property to add a remote control key color to the buttonmoonstone/Scrollbar
propertydisabled
to disable both paging controls when it is truemoonstone/VirtualList
parametermoreInfo
to passfirstVisibleIndex
andlastVisibleIndex
when scroll events are firing- Accessibility support to UI components
moonstone/VideoPlayer
propertyonUMSMediaInfo
to support the custom webOS “umsmediainfo” eventmoonstone/Region
component which encourages wrapping components for improved accessibility rather than only preceding the components with amoonstone/Divider
moonstone/Slider
tooltip. It's enabled by default and comes with options likenoTooltip
,tooltipAsPercent
, andtooltipSide
. See the component docs for more details.moonstone/Spinner
propertiesblockClickOn
andscrim
to block click events behind spinnerui/A11yDecorator
to facilitate adding pre/post hints to componentsui/AnnounceDecorator
to facilitate announcing actions for accessibilitywebos/pmloglib
logging methodperfLog
which callsPmLogInfoWithClock
core/handle
to allow binding to components. This also introduces a breaking change in the return value of handle methods.moonstone/VirtualGridImageItem
styles to reduce redundant style code app sidemoonstone/VirtualList
andmoonstone/VirtualGridList
to add essential CSS for list items automaticallymoonstone/VirtualList
andmoonstone/VirtualGridList
to not adddata-index
to their item DOM elements directly, but to passdata-index
as the parameter of theircomponent
prop like thekey
parameter of theircomponent
propmoonstone/ExpandableItem
and derivatives to defer focusing the contents until animation completesmoonstone/LabeledItem
,moonstone/ExpandableItem
,moonstone/ExpandableList
to each support thenode
type in theirlabel
property. Best used withui/Slottable
.spotlight.Spottable
to prevent emulating mouse events for repeated key events
moonstone/VirtualList.GridListImageItem
to have proper padding size according to the existence of caption/subcaptionmoonstone/Scrollable
to display scrollbars with proper sizemoonstone/VirtualGridList
to not be truncatedwebos/LS2Request
to return failure in isomorphic mode
NOTE - The change to support caching of iLib locales requires an update to the
enact-dev
tool. This change is not backwards compatible with 1.0.0-beta.2. Be sure to update both at the same time and reinstall/re-bootstrap the modules.
ui/Resizable
Higher-order Component to facilitate notification of resized componentscore/handle
functionforEventProp
to test properties on an event- localStorage caching support for ilib resource files
- Support for 5-way operation of
moonstone/Slider
andmoonstone/VideoPlayer.MediaSlider
moonstone/Slider
now supportschildren
which are added to theSlider
's knob, and follow it as it movesmoonstone/ExpandableInput
propertiesiconAfter
andiconBefore
to display icons after and before the input, respectivelymoonstone/Dialog
propertypreserveCase
, which affectstitle
text
moonstone/Marquee
to allow disabled marquees to animatemoonstone/Dialog
to marqueetitle
andtitleBelow
moonstone/Marquee.MarqueeController
config optionstartOnFocus
tomarqueeOnFocus
.startOnFocus
is deprecated and will be removed in a future update.moonstone/Button
,moonstone/IconButton
,moonstone/Item
to not forwardonClick
whendisabled
moonstone/Scroller
to recalculate when an expandable child opensmoonstone/Popup
andmoonstone/ContextualPopupDecorator
so that when the popup is closed, spotlight focus returns to the control that had focus prior to the popup openingmoonstone/Input
to not get focus when disabledspotlight.Spotlight
behavior to follow container config rules when navigating between containersspotlight.Spotlight
behavior to not set focus on spottable components animating past the pointer when not in pointer-modespotlight.Spotlight
5-way behavior where selecting a spottable component may require multiple attempts before performing actionsspotlight.Spotlight
to not unfocus elements on scrollspotlightDisabled
property support for spottable moonstone components
- Support for a new
handlers
block for components created withcore/kind
to allow cached event handlers core/handle
handlerforKey
core/keymap
module to abstract keyboard key codes behind common names (e.g. 'up' and 'down')moonstone/Panels.Panel
propertyshowChildren
to support deferring rendering the panel body until animation completesmoonstone/MarqueeDecorator
propertyinvalidateProps
that specifies which props cause the marquee distance to be invalidated- developer-mode warnings to several components to warn when values are out-of-range
moonstone/Divider
propertyspacing
which adjusts the amount of empty space above and below theDivider
.'normal'
,'small'
,'medium'
,'large'
, and'none'
are available.moonstone/Picker
whenjoined
the ability to be incremented and decremented by arrow keysonSpotlightDisappear
event property support for spottable moonstone componentsspotlight.SpotlightContainerDecorator
support forspotlightDisabled
propspotlight.Spottable
support foronSpotlightDown
,onSpotlightLeft
,onSpotlightRight
, andonSpotlightUp
propertiesspotlight.Spotlight
methodgetDirection
to replacespotlightDirections
ui/ViewManager
propertiesenteringDelay
andenteringProp
to aid deferred rendering of viewsui/resolution
functionscaleToRem
for those times when you have a size in pixels that you want to convert directly torem
to support automatic dynamic resizing
moonstone/Panels.Panels
and variations to defer rendering the children of containedPanel
instances until animation completesmoonstone/ProgressBar
propertiesprogress
andbackgroundProgress
to accept a number between 0 and 1moonstone/Slider
andmoonstone/IncrementSlider
propertybackgroundPercent
tobackgroundProgress
which now accepts a number between 0 and 1moonstone/Slider
to not ignorevalue
prop when it is the same as the previous valuemoonstone/Picker
component's buttons to reverse their operation such that 'up' selects the previous item and 'down' the nextmoonstone/Picker
and derivatives may now use numeric width, which represents the amount of characters to use for sizing.width={4}
represents four characters,2
for two characters, etc.width
still accepts the size-name strings.moonstone/Divider
to now behave as a simple horizontal line when no text content is providedmoonstone/Scrollable
to not display scrollbar controls by defaultmoonstone/DatePicker
andmoonstone/TimePicker
to emitonChange
event whenever the value is changed, not just when the component is closed
core/handle.withArgs
helper function which is no longer needed with the addition of thehandlers
support inkind()
moonstone/ProgressBar
propertiesmin
andmax
spotlight
spotlightDirections
moonstone/IncrementSlider
so that the knob is spottable via pointer, and 5-way navigation between the knob and the increment/decrement buttons is functionalmoonstone/Slider
andmoonstone/IncrementSlider
to not fireonChange
for value changes from props
core/factory
which provides the means to support design-time customization of componentsMoonstone/VideoPlayer
andmoonstone/TooltipDecorator
componentsmoonstone/Panels.Panels
propertyonBack
to supportui/Cancelable
moonstone/VirtualFlexList
Work-In-Progress component (with sample) to support variably sized rows or columnsmoonstone/ExpandableItem
propertiesautoClose
andlockBottom
moonstone/ExpandableList
propertiesnoAutoClose
andnoLockBottom
moonstone/ContextualPopup
propertynoAutoDismiss
moonstone/Dialog
propertyscrimType
moonstone/Popup
propertyspotlightRestrict
spotlight.Spotlight
methodsisPaused()
,isSpottable()
,getCurrent()
, andisMuted()
spotlight.SpotlightContainerDecorator
propertyspotlightMuted
spotlight.spotlightDirections
exportui/RadioDecorator
andui/RadioControllerDecorator
to support radio group-style management of componentsui/Holdable
Higher-order Componentui/ViewManager
eventsonAppear
,onEnter
,onLeave
,onStay
,onTransition
, andonWillTransition
ui/FloatingLayer
scrimType
prop valuenone
ui/Pressable
config optiononMouseLeave
moonstone/Panels.Routable
to require anavigate
configuration property indicating the event callback for back or cancel actionsmoonstone/MarqueeController
focus/blur handling to start and stop synchronizedmoonstone/Marquee
componentsmoonstone/ExpandableList
propertyautoClose
tocloseOnSelect
to disambiguate it from the addedautoClose
on 5-way upmoonstone/ContextualPopupDecorator.ContextualPopupDecorator
component'sonCloseButtonClick
property toonClose
moonstone/Spinner
component'scenter
andmiddle
properties to a singlecentered
property that applies both horizontal and vertical centeringmoonstone/Popup.PopupBase
component'sonCloseButtonClicked
property toonCloseButtonClick
moonstone/Item.ItemOverlay
component'sautoHide
property to remove the'no'
option. The same effect can be achieved by omitting the property or passingnull
.moonstone/VirtualGridList
to be scrolled by page when navigating with a 5-way direction keymoonstone/Scroller
,moonstone/VirtualList
,moonstone/VirtualGridList
, andmoonstone/Scrollable
to no longer respond to mouse down/move/up events- all Expandables to include a state arrow UI element
moonstone/LabeledItem
to support atitleIcon
property which positions just after the title textmoonstone/Button
to includemoonstone/TooltipDecorator
moonstone/Expandable
to support being managed, radio group-style, by a component wrapped withRadioControllerDecorator
fromui/RadioDecorator
moonstone/Picker
to animatemoonstone/Marquee
children when any part of themoonstone/Picker
is focusedmoonstone/VirtualList
to mute its container instead of disabling it during scroll eventsmoonstone/VirtualList
,moonstone/VirtualGridList
, andmoonstone/Scroller
to continue scrolling when holding down the paging controlsmoonstone/VirtualList
to require acomponent
prop and not have a default valuemoonstone/Picker
to continuously change when a button is held down by addingui/Holdable
.ui/FloatingLayer
propertyautoDismiss
to handle both ESC key and click events
ui/Transition
propfit
in favor of usingclassName
i18n/I18nDecorator
issue causing multiple requests for ilibmanifest.moonstone/Popup
andmoonstone/ContextualPopup
5-way navigation behavior using spotlight.- Bug where a synchronized marquee whose content fit the available space would prevent restarting of the marquees
moonstone/Input
to show an ellipsis on the correct side based on the text directionality of thevalue
orplaceholder
content.moonstone/VirtualList
andmoonstone/VirtualGridList
to prevent unwanted scrolling when focused with the pointermoonstone/Picker
to remove fingernail when a the pointer is held down, but the pointer is moved off thejoined
picker.moonstone/LabeledItem
to include marquee on bothtitle
andlabel
, and be synchronized
core/dispatcher
to support pre-rendering
NOTE: The framework was updated to support React 15.4
moonstone/Popup
,moonstone/ContextualPopupDecorator
,moonstone/Notification
,moonstone/Dialog
,moonstone/ExpandableInput
,moonstone/Item.ItemOverlay
,ui/FloatingLayer
andui/FloatingLayer.FloatingLayerDecorator
componentsmoonstone/Popup
,moonstone/ContextualPopupDecorator
,moonstone/Notification
,moonstone/Dialog
,moonstone/Item.ItemOverlay
,moonstone/ExpandableInput
andui/Group
samplesmarqueeCentered
prop tomoonstone/MarqueeDecorator
andmoonstone/MarqueeText
placeholder
prop tomoonstone/Image
moonstone/MarqueeController
component to synchronize multiplemoonstone/Marquee
components- Non-latin locale support to all existing Moonstone components
- Language-specific font support
setPointerMode()
andsetActiveContainer()
methods to@enact/spotlight
exportfit
,noAnimation
props toui/TransitionBase
onHide
prop toui/Transition
moonstone/Input
component'siconStart
andiconEnd
properties to beiconBefore
andiconAfter
, respectively, for consistency withmoonstone/Item.ItemOverlay
namingmoonstone/Icon
andmoonstone/IconButton
so thechildren
property supports both font-based icons and images. This removes support for thesrc
property.- the
checked
property toselected
for consistency across the whole framework. This allows better interoperability when switching between various components. Affects the following:CheckboxItem
,RadioItem
,SelectableItem
,Switch
,SwitchItem
, andToggleItem
. Additionally, these now usemoonstone/Item.ItemOverlay
to position and handle their Icons. - documentation to support our doc generation tool
moonstone/Slider
andmoonstone/IncrementSlider
to be more performant. No changes were made to the public API.moonstone/GridListImageItem
so that a placeholder image displays while loading the image, and the caption and subcaption support marqueeingmoonstone/MoonstoneDecorator
to addFloatingLayerDecorator
- the
src
property frommoonstone/Icon
andmoonstone/IconButton
. Use the support for URLs in thechildren
property as noted above.
- Addressed many bugs and performance issues
Note: For those who are using
eslint-config-enact
for in-editor linting, there have been some important changes and reinstallation is necessary. Refer to https://github.com/enactjs/eslint-config-enact/ for install instructions or reinstall via:npm install -g eslint eslint-plugin-react eslint-plugin-babel babel-eslint enactjs/eslint-plugin-enact enactjs/eslint-config-enact
If you don't use in-editor linting or use a different linting configuration, you can safely ignore this notice.
core/dispatcher
- an event dispatcher for global events (e.g.window
anddocument
events) that fire outside of the React tree- Support for detecting browser locale change events through
languagechange
event ini18n/I18nDecorator
moonstone/BodyText
,moonstone/DatePicker
,moonstone/DayPicker
,moonstone/ExpandableItem
,moonstone/Image
, andmoonstone/TimePicker
componentsfullBleed
prop tomoonstone/Panels/Header
. Whentrue
, the header content is indented and the header lines are removed.- Application close button to
moonstone/Panels
. FiresonApplicationClose
when clicked. Can be omitted with thenoCloseButton
prop. - Samples for
moonstone/BodyText
,moonstone/DatePicker
,moonstone/DayPicker
,moonstone/ExpandableItem
,moonstone/Image
,moonstone/Scroller
,moonstone/TimePicker
,moonstone/VirtualList
, andmoonstone/VirtualList.VirtualGridList
spotlightDefaultClass
to@enact/spotlight
export. Applying this class to an item in a container will cause it to be the default spotted item in that container.- Selection type support to
ui/Group
- Documentation on Flexbox and an Enyo to Enact component migration guide
data
parameter passed tocomponent
prop ofVirtualList
.moonstone/Expandable
into a submodule ofmoonstone/ExpandableItem
ExpandableList
to properly support selectionmoonstone/Divider
'schildren
property to be optionalmoonstone/ToggleItem
'sinline
version to have amax-width
of240px
moonstone/Input
to use<div>
instead of<label>
for wrapping components. No change to functionality, only markup.- Spotlight containers to spot the last focused element by default.
ui/Group
propselect
tochildSelect
and added propselect
to support selection types
moonstone/ExpandableCheckboxItemGroup
in favor ofExpandableList
decorated
prop from@enact/spotlight/focusable
as this relationship is managed implicitly by the component decorated by@enact/spotlight/focusable
.
- Spotlight stops at container boundaries when 5-way key held down
- Several issues related to spotting controls in edge cases
This version includes a lot of refactoring from the previous release. Developers need to switch to the new enact-dev command-line tool.
- New components and HOCs:
moonstone/Scroller
,moonstone/VirtualList
,moonstone/VirtualGridList
,moonstone/Scrollable
,moonstone/MarqueeText
,moonstone/Spinner
,moonstone/ExpandableCheckboxItemGroup
,moonstone/MarqueeDecorator
,ui/Cancelable
,ui/Changeable
,ui/Selectable
- Support for enact-dev command-line tool.
fetch()
polyfill to support pre-rendering- New options for
ui/Toggleable
HOC - Ability to adjust locale in Sampler
- Marquee support to many components
- Image support to
moonstone/Icon
andmoonstone/IconButton
- QA Sampler with test-specific samples (not to be used as examples of good coding style!)
- Looser app-specific ESLint rules
- webOS utility functions
dismissOnEnter
prop formoonstone/Input
- Many more unit tests
- Sampler now uses port 8080
- Removed
ui/Pickable
HOC - Some props for UI state were renamed to have
default
prefix where state was managed by the component. (e.g.defaultOpen
) - Removed Babel polyfill to support future snapshot work. This may affect apps that relied on specific polyfills. Added the following specific polyfills:
window.fetch
(plus associated Fetch APIs),window.Promise
,Math.sign
,Object.assign
,String.fromCodePoint
,String.prototype.codePointAt
- Computed properties in
kind()
no longer mutate props. In other words, changing the value of a prop in one computed property does not affect the value of that prop in another computed property.
- Many components were fixed, polished, updated and documented
- Inline docs updated to be more consistent and comprehensive
Initial release