Releases: enactjs/enact
Releases · enactjs/enact
Pre-release 2.0.0-beta.1
Removed
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
,jumpForwadIcon
,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()
Added
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
Changed
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
Fixed
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
Pre-release 2.0.0-alpha.8
Added
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
Changed
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
Fixed
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
Pre-release 2.0.0-alpha.7
Removed
moonstone/VirtualList.VirtualList
andmoonstone/VirtualList.VirtualGridList
propertydata
ui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
propdata
Added
moonstone/VideoPlayer
propertynoSpinner
to allow apps to show/hide spinner while loading videowebos/LS2Request
send()
parametersonTimeout
andtimeout
webos/LS2Request
send()
defaultonFailure
andonTimeout
handlers
Changed
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
Fixed
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
Pre-release 2.0.0-alpha.6
Removed
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
Added
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"
Changed
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
Fixed
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
Pre-release 2.0.0-alpha.5
Removed
core/util.childrenEquals
which was no longer supported by React 16moonstone/Marquee.MarqueeText
, replaced bymoonstone/Marquee.Marquee
moonstone/VirtualGridList.GridListImageItem
, replaced bymoonstone/GridListImageItem
Added
core/util.memoize
method to optimize the execution of expensive functionsui/Touchable
support for drag gestureui/Marquee
component
Changed
moonstone/Marquee.Marquee
to bemoonstone/Marquee.MarqueeBase
moonstone/ContextualPopupDecorator
to not restore last-focused child
Fixed
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 centered
Release 1.15.0
Deprecated
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
Fixed
moonstone/GridListImageItem
to display correctly- Internal method used by many components that sometimes prevented re-renders when they were needed