Releases: enactjs/enact
Releases · enactjs/enact
Release list
Pre-release 2.0.0-rc.3
Fixed
i18n/ilibto calculate time properly over DST boundary in fa-IR localemoonstone/ContextualPopupto refocus its activator on close when the popup lacks spottable childrenmoonstone/Scroller,moonstone/VirtualList.VirtualGridList, andmoonstone/VirtualList.VirtualListto scroll properly when holding down paging control buttonsmoonstone/ExpandableItemspotlight behavior when leaving the component via 5-waymoonstone/RadioItemcircle thickness to be 2px, matching the designmoonstone/Sliderto correctly prevent 5-way actions when activatedmoonstone/ExpandableItemand other expandable components to spotlight correctly when switching from pointer mode to 5-way withcloseOnSelectspotlightto track pointer mode while paused
Pre-release 2.0.0-rc.2
Added
spotlightdebugging to visualize which components will be targeted as the next component for any 5-way direction
Fixed
moonstone/Inputto not focus by tab keymoonstone/Pickerto properly set focus when navigating between buttonsmoonstone/ProgressBar.ProgressBarTooltipunknown props warningmoonstone/Scrollableto disable spotlight container during flick events only when contents can scrollmoonstone/Scroller,moonstone/VirtualList.VirtualGridList, andmoonstone/VirtualList.VirtualListto scroll properly whenanimateis false viascrollTomoonstone/Scroller,moonstone/VirtualList.VirtualGridList, andmoonstone/VirtualList.VirtualListpage controls to stop propagating an event when the event is handledmoonstone/Scroller,moonstone/VirtualList.VirtualGridList, andmoonstone/VirtualList.VirtualListto hide overscroll effect when focus is moved from a disabled paging control button to the opposite buttonmoonstone/Scroller,moonstone/VirtualList.VirtualGridList, andmoonstone/VirtualList.VirtualListto show overscroll effect when reaching the edge for the first time by wheelmoonstone/VideoPlayerto display feedback tooltip when pointer leaves slider while playingmoonstone/VirtualListandmoonstone/VirtualGridListto restore focus on items focused by pointer
Pre-release 2.0.0-rc.1
Removed
core/util.withContextFromPropsfunctioni18n/I18nDecorator.contextTypes, replaced byi18n/I18nDecorator.I18nContextDecoratormoonstone/Buttonbuilt-in support for tooltipsui/FloatingLayer.contextTypesexportui/Marquee.controlContextTypesexportui/Placeholder.contextTypesexportui/Resizable.contextTypesexport
Added
i18n/I18nDecorator.I18nContextDecoratorHOC to support notification of locale changesmoonstone/VirtualList.VirtualListandmoonstone/VirtualList.VirtualGridListsupportdata-webos-voice-focusedanddata-webos-voice-group-label
Changed
moonstone/Spinnerto blur Spotlight when the spinner is active
Fixed
i18n/Uppercaseto apply the designatedcasingprop format to each child instead of only the first childmoonstone/Scroller.Scroller,moonstone/VirtualList.VirtualGridList, andmoonstone/VirtualList.VirtualListto handle direction, page up, and page down keys properly on page controls them whenfocusableScrollbaris falsemoonstone/Scroller.Scroller,moonstone/VirtualList.VirtualGridList, andmoonstone/VirtualList.VirtualListto handle a page up or down key in pointer modemoonstone/VideoPlayer.MediaControlsto correctly handle more button color when the prop is not specified
Pre-release 2.0.0-beta.9
Added
moonstone/ContextualPopupDecoratorinstance methodpositionContextualPopup()moonstone/MoonstoneDecoratorconfig propertydisableFullscreento prevent the decorator from filling the entire screenmoonstone/ScrollerproponUpdate
Fixed
moonstone/Scrollableto update scroll properly on pointer clickmoonstone/TooltipDecoratorto prevent unnecessary re-renders when losing focusmoonstone/TooltipDecoratorto not dismiss the tooltip on pointer click
Pre-release 2.0.0-beta.8
Added
moonstone/Scroller.Scroller,moonstone/VirtualList.VirtualGridList, andmoonstone/VirtualList.VirtualListsupport for scrolling via voice control on webOSmoonstone/Scroller.Scroller,moonstone/VirtualList.VirtualGridList, andmoonstone/VirtualList.VirtualListoverscroll effect when the edges are reached
Changed
moonstone/DividerpropertymarqueeOndefault value torendermoonstone/Scroller.Scroller,moonstone/VirtualList.VirtualGridList, andmoonstone/VirtualList.VirtualListscrollbar button to move a previous or next page when pressing a page up or down key instead of releasing it
Fixed
moonstone/VideoPlayerto prevent updating state when the source is changed to the preload source, but the current preload source is the samemoonstone/MediaOverlayto marquee correctlymoonstone/MediaOverlayto match UX guidelinesspotlight/Spottableto retain focus for disabled component after updatesspotlight/Spottableto emulateonMouseUpevents that occur immediately after a non-enter key pressspotlight/Spottableto prevent scroll on focus on webOSui/VirtualListto allow scrolling on focus by default on webOS
Pre-release 2.0.0-beta.7
Removed
i18n/UppercasepropertypreserveCase, replaced bycasingmoonstone/DialogpropertiespreserveCaseandshowDivider, replaced bycasingandnoDividerrespectivelymoonstone/DividerpropertypreserveCase, replaced bycasingmoonstone/ExpandableInputpropertyonInputChange, replaced byonChangemoonstone/MoonstoneDecorator.TextSizeDecorator, replaced bymoonstone/MoonstoneDecorator.AccessibilityDecoratormoonstone/Panels.HeaderpropertypreserveCase, replaced bycasingmoonstone/Panels.PanelpropertynoAutoFocus, replaced byautoFocusmoonstone/TooltipDecoratorpropertytooltipPreserveCase, replaced bytooltipCasing
Added
ui/FloatingLayer.FloatingLayerBaseexport
Changed
moonstone/VideoPlayerto allow spotlight focus to move left and right fromMediaControlsmoonstone/VideoPlayerto disable bottom controls when loading until it's playableui/FloatingLayerto callonOpenonly after it is rendered
Fixed
moonstone/EditableIntegerPickerto disable itself when on a range consisting of a single static valuemoonstone/Pickerto disable itself when containing fewer than two itemsmoonstone/Popupto spot its content correctly whenopenby defaultmoonstone/RangePickerto disable itself when on a range consisting of a single static valuemoonstone/TooltipDecoratorto hide whenonDismisshas been invokedmoonstone/VideoPlayerto show media controls when pressing down in pointer modemoonstone/VideoPlayerto provide a more natural 5-way focus behaviormoonstone/VideoPlayer.MediaControlsto handle left and right key to jump whenmoonstone/VideoPlayeris focusedui/MarqueeDecoratorto stop marqueeing when using hover and pointer hides
Pre-release 2.0.0-beta.6
Removed
moonstone/IncrementSliderpropchildrenwhich was no longer supported for setting the tooltip (since 2.0.0-beta.1)
Fixed
moonstone/Scrollerto check focus possibilities first then go to fallback at the top of the container of focused itemmoonstone/Scrollerto scroll by page when focus was at the edge of the viewportmoonstone/ToggleButtonpadding and orientation for RTLmoonstone/VideoPlayerto not hide title and info section when showing more componentsmoonstone/VideoPlayerto select a position in slider to seek in 5-way modemoonstone/VideoPlayerto show thumbnail only when focused on sliderspotlightto provide more natural 5-way behaviorspotlightto handle pointer events only when pointer has movedspotlightto update the last focused container when unable to set focus within that containerspotlight/Spottableto not trigger a scroll on focus on webOSui/FloatingLayerto render correctly if already opened at mounting timewebos/speechmethodreadAlertto subscribe to changes in audio guidance to improve speech response time
Pre-release 2.0.0-beta.5
Removed
moonstone/Popup,moonstone/Dialogandmoonstone/NotificationpropertyspotlightRestrictoption'none'moonstone/VideoPlayerproppreloadSource, to be replaced bymoonstone/VideoPlayer.VideoproppreloadSourcemoonstone/Buttonandmoonstone/IconButtonallowed value'opaque'from propbackgroundOpacitywhich was the default and therefore has the same effect as omitting the prop
Added
moonstone/VideoPlayerpropsselectionandonSeekOutsideRangeto support selecting a range and notification of interactions outside of that rangemoonstone/VideoPlayer.Videocomponent to support preloading video sourcesui/FloatingLayerDecoratorimperative API to close all floating layers registered in the same idui/ProgressBarandui/SliderpropprogressAnchorto configure from where in the progress bar or slider progress should beginui/SliderpropprogressBarComponentto support customization of progress bar within a sliderui/ForwardRefHOC to adaptReact.forwardRefto HOC chainsui/Mediacomponent
Changed
moonstone/VideoPlayer.videoComponentprop to default toui/Media.Mediainstead of'video'. As a result, to use a custom video element, one must pass an instance ofui/Mediawith itsmediaComponentprop set to the desired element.
Fixed
moonstone/ContextualPopupDecoratorto properly stop propagating keydown event if fired from the popup containermoonstone/Sliderto read when knob gains focus or for a change in valuemoonstone/Scrollerto not cut off Expandables when scrollbar appearsmoonstone/VideoPlayerto correctly read out when play button is pressedui/MarqueeControllerto update hovered state when pointer hidesui/Touchableto end gestures when focus is lostui/VirtualList.VirtualListandui/VirtualList.VirtualGridListto prevent items overlap with scroll buttons
Pre-release 2.0.0-beta.4
Added
core/handle.handleutilitybindAsto facilitate debugging and binding handlers to component instancesmoonstone/Buttonandmoonstone/IconButtonclass namesmallto the list of allowedcssoverridesmoonstone/ProgressBarprophighlightedfor when the UX needs to call special attention to a progress bar
Fixed
moonstone/ContextualPopupDecoratorto not set focus to activator when closing if focus was set elsewheremoonstone/IconButtonto allow external customization of vertical alignment of itsIconby settingline-heightmoonstone/Marquee.MarqueeControllerto not cancel valid animationsmoonstone/VideoPlayerfeedback and feedback icon to hide properly on play/pause/fast forward/rewindmoonstone/VideoPlayerto correctly focus to default media controls componentmoonstone/VideoPlayerto show controls on mount and when playing next preload videomoonstone/VirtualList,moonstone/VirtualGridList,ui/VirtualList, andui/VirtualGridListsamples to show items properly whendataSizeis greater than 1000spotlight/Spottableto not make components spottable whenspotlightDisabledis setui/Touchableto guard against null events
Pre-release 2.0.0-beta.3
Added
moonstone/SelectableItem.SelectableItemDecoratorui/Touchablesupport to fireonTapwhen aclickevent occurs
Changed
moonstone/ToggleItemto forward native events ononFocusandonBlurmoonstone/Inputandmoonstone/ExpandableInputto support forwarding valid<input>props to the contained<input>nodemoonstone/ToggleButtonto fireonTogglewhen toggledui/Touchablecustom eventsonDown,onUp,onMove, andonTapto use the event name as thetyperather than the shorter name (e.g.onTaprather thantap)ui/Toggleableto forward events onactivateanddeactivateinstead of firing toggled payload. Usetoggleto handle toggled payload from the event.
Fixed
moonstone/VirtualList.VirtualList,moonstone/VirtualList.VirtualGridList, andmoonstone/Scroller.Scrollerto ignore any user key events in pointer modemoonstone/Imageso it automatically swaps thesrcto the appropriate resolution dynamically as the screen resizesmoonstone/Popupto support allspotlightRestrictoptionsmoonstonecomponentdisabledcolors to match the most recent design guidelines (from 30% to 60% opacity)moonstone/ExpandableInputspotlight behavior when leaving the component via 5-wayspotlightto retry setting focus when the window is activatedspotlighthandling of 5-way events after the pointer hides