The following is a curated list of changes in the Enact ui module, 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.
ui/VirtualList.VirtualListBasic
support to read the order of items when thelistitem
role is set to items
ui/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
ui/Scroller
andui/VirtualList
to have default prop whenundefined
prop is passed
No significant changes.
ui/Marquee.MarqueeDecorator
to start animation properly when synchronized byui/Marquee.MarqueeController
and text changedui/Placeholder.PlaceholderControllerDecorator
to not remount its children when it rerenders
ui/GridListImageItem
ui/IconButton
ui/Marquee.MarqueeDecorator
configclassName
ui/RadioDecorator
ui/Scroller.ScrollerBase
ui/SlotItem
ui/ToggleItem
ui/VirtualList.VirtualListBase
ui/Marquee.MarqueeDecorator
to use@enact/i18n/utils.isRtlText
API to determine the text directionality
No significant changes.
ui/Placeholder.PlaceholderControllerDecorator
andui/ViewManager
to have sibling DOM node as alternative to findDOMNode API which will be removed in React 19
No significant changes.
No significant changes.
No significant changes.
No significant changes.
ui/Layout.Cell
propcomponentCss
to support customizing the component used inCell
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
No significant changes.
No significant changes.
No significant changes.
ui/Marquee
style to avoid letters being cut off
No significant changes.
No significant changes.
ui/Scroller
andui/VirtualList
to pass scrolling state properly to UI libraries
No significant changes.
No significant changes.
ui/Layout.Cell
propgrow
to expand its size to the container
ui/ViewManager
to set index prop properly when reverseTransition prop is given
No significant changes.
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
ui/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.
ui/Scroller
andui/VirtualList
to rerender property whenclientSize
is changed
No significant changes.
ui/GridListImageItem
, to be removed in 5.0.0. Useui/ImageItem
instead
ui/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
No significant changes.
ui/FloatingLayer
to stack popups always in the order in which they were opened
No significant changes.
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
No significant changes.
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.
No significant changes.
ui/Marquee.MarqueeDecorator
to restart animation when text changed while focus retained
ui/Marquee.MarqueeDecorator
style to render text properly when starting animation
No significant changes.
No significant changes.
No significant changes.
ui/Marquee.MarqueeDecorator
to stop marquee properly after hiding pointer whenmarqueeOn
ishover
No significant changes.
No significant changes.
No significant changes.
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
ui/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
No significant changes.
ui/A11yDecorator
, to be removed in 4.0.0
ui/Transition
propduration
to support any valid CSS value forslide
andfade
type
- documentation problem in styles/internal directory
ui/Media
play
function to return promise
ui/Routable
to respect the current path on first render when using relative paths in linksui/Scroller
andui/VirtualList
to scroll correctly on Chrome 85 or higher in RTL locales
No significant changes.
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
No significant changes.
ui/FloatingLayer
andui/Slider
to prevent global classname leaks
No significant changes.
No significant changes.
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
ui/ViewManager.TransitionGroup
to suppressonTransition
events when a view appears or stays
No significant changes.
ui/Scroller
to update whenclientSize
is changedui/VirtualList
to reset scroll position whenclientSize
is changed
No significant changes.
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
No significant changes.
ui/Group
propselectedEventProp
to configure the key used to hold the value in theonSelect
event
Toggleable
to recognize changes indisabled
andonToggle
No significant changes.
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
No significant changes.
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
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
ui/Scroller
,ui/VirtualList.VirtualGridList
, andui/VirtualList.VirtualList
propscrollMode
is added
ui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
propchildProps
toitemProps
for clarity
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
ui/Marquee
to not double aria readout for marqueeing contents
ui/Marquee
text alignment when content is centered
ui/Marquee
text alignment when restartingui/Marquee
to display an ellipsis when its content changes and overflows its bounds
No significant changes.
ui/VirtualList.VirtualList
item rendering in RTL locales
ui/Marquee
propmarqueeSpacing
and CSS classspacing
to configure the spacing between the repeated content
ui/Marquee
to have a wrap-around effect
ui/Marquee
to start on focus when disabled
ui/FloatingLayer
to be dismissable whenopen
on mount
ui/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
ui/VirtualList.VirtualGridList
andui/VirtualList.VirtualList
to show items properly when reducing data size
ui/Routable
moduleui/VirtualList.VirtualGridList
andui/VirtualList.VirtualList
proprole
to set the ARIArole
No significant changes.
ui/Scroller
TypeScript signaturesui/VirtualList.VirtualGridList
andui/VirtualList.VirtualList
to applywill-change
CSS property to the proper node
ui/styles/mixins.less
mixins:.buildLocaleFont
,.buildLocaleFonts
,.buildFontFace
to properly support font-weight ranges, font-weight default values, and font-stretch values
ui/VirtualList.VirtualGridList
andui/VirtualList.VirtualList
to retain the proper scroll position when updating theitemSize
orspacing
propsui/Toggleable
TypeScript definitions
No significant changes.
ui/Icon
,ui/IconButton
, andui/LabeledIcon
propflip
to flip the icon horizontally, vertically, or both
ui/Scroller
,ui/VirtualList.VirtualGridList
, andui/VirtualList.VirtualList
to handle mouse down events on scrollbars
ui/ProgressBar
public class namebar
to support customizing the background of the bar
ui/VirtualList.VirtualGridList
andui/VirtualList.VirtualList
support for resizing a window
ui/Icon
to support arbitrary icon name strings, like in material icons
No significant changes.
ui/ViewManager
to correctly arrange views when initially rendering a non-zero index
ui/Toggleable
HOC config propeventProps
to allow wrapped components to specify additional event information
ui/ToggleItem
to send itsvalue
prop when toggled
No significant changes.
ui/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
No significant changes.
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
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
small
prop inui/Button.ButtonBase
,ui/Icon.IconBase
,ui/IconButton.IconButtonBase
, andui/LabeledIcon.LabeledIconBase
, which will be replaced bysize="small"
in 3.0
ui/Button
,ui/Icon
,ui/IconButton
, andui/LabeledIcon
propsize
ui/ToggleItem
propsitemIcon
anditemIconPosition
to support additional icons on ToggleItem-derived components
ui/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
ui/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
ui/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
ui/VirtualList
to scroll properly byscrollTo
callback during the list is updated by prop changes
ui/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.
ui/Changeable
andui/Toggleable
to warn when both[defaultProp]
and[prop]
are provided
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.
ui/Touchable
to continue drag events when blurring the element whendragConfig.global
is setui/Marquee
to marquee when necessary after a locale change
No significant changes.
ui/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 scrollsui/Changeable
andui/Toggleable
to no longer treat components as controlled if the specified prop is explicitly set toundefined
at mount
ui/Marquee
to avoid very small animations
ui/Marquee
to handle contents which overflow their containers only slightly
ui/Transition
to better support layout after changing children
No significant changes.
No significant changes.
ui/Scroller
slowed scrolling behavior when repeatedly requesting a scroll to the same position
ui/Marquee
to prevent restarting animation after blurring just before the previous animation completed
ui/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
ui/Cell
andui/Layout
to accept any type of children, since thecomponent
that may be set could accept any format ofchildren
ui/Touchable
to correctly handle a hold cancelled from an onHold handlerui/Marquee.MarqueeDecorator
to handle situations where lazily loaded CSS could cause marquee to not start correctly
ui/ViewManager
to emitonWillTransition
when views are either added or removed
ui/Marquee
to stop when blurred during restart timer
ui/GridListImageItem
to properly setselected
styleui/Marquee
positioning bug when used with CSS flexbox layouts
No significant changes.
ui/FloatingLayer
to applykey
s to prevent React warnings
ui/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
No significant changes.
ui/LabeledIcon
component for a lightweightIcon
with a label
ui/Skinnable.withSkinnableProps
higher-order component
ui/Scrollable
to ignore native drag events which interfered with touch drag support
No significant changes.
No significant changes.
ui/FloatingLayer.contextTypes
exportui/Marquee.controlContextTypes
exportui/Placeholder.contextTypes
exportui/Resizable.contextTypes
export
No significant changes.
ui/VirtualList
to allow scrolling on focus by default on webOS
ui/FloatingLayer.FloatingLayerBase
export
ui/FloatingLayer
to callonOpen
only after it is rendered
ui/MarqueeDecorator
to stop marqueeing when using hover and pointer hides
ui/FloatingLayer
to render correctly if already opened at mounting time
ui/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
ui/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
ui/Touchable
to guard against null events
ui/Marquee.MarqueeController
andui/Marquee.MarqueeDecorator
to prevent unnecessary focus-based updates
ui/Touchable
support to fireonTap
when aclick
event occurs
ui/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.
ui/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
ui/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
ui/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
ui/Slider
as an unstyled, base range selection componentui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
role="list"
ui/Placeholder.PlaceholderControllerDecorator
config propertythresholdFactor
ui/Transition
propertychildren
to not be requiredui/Transition
to fireonShow
andonHide
even when there are nochildren
ui/VirtualList.VirtualList
to re-render items when forceUpdate() calledui/ViewManager
to not initially pass the wrong value forenteringProp
when a view initiates a transition into the viewport
ui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
propdata
to eliminate the misunderstanding caused by the ambiguity ofdata
ui/Scroller
horizontal scrolling in RTL locales
ui/Transition
propertyclipHeight
ui/ProgressBar
propertyvertical
and replaced it withorientation
ui/Scrollable
support for scrolling by touchui/ProgressBar
propertyorientation
to accept orientation strings like"vertical"
and"horizontal"
ui/VirtualList.VirtualList
andui/VirtualList.VirtualGridList
propcomponent
to be replaced byitemRenderer
ui/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
ui/Touchable
support for drag gestureui/Marquee
componentui/GridListImageItem
component
ui/VirtualList
,ui/VirtualGridList
, andui/Scroller
components as unstyled base components to support UI libraries
ui/ViewManager
to suppressenteringProp
for views that are rendered at mount
ui/BodyText
,ui/Image
,ui/Item
,ui/ProgressBar
,ui/SlotItem
,ui/Spinner
,ui/ToggleIcon
components as unstyled base components to support UI librariesui/SlotItem
with the properties ofslotBefore
andslotAfter
so we can easily add things like icons to an item
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
ui/Layout
debugging aid for help with complex layouts. Simply include the"debug"
className in your app and everything below it will show debugging linesui/Button
,ui/Icon
, andui/IconButton
components to support reuse by themesui/Touchable
support for flick gestures
ui/resolution
to measure the App's rendering area instead of the entire window, and now factors-in the height as wellui/Layout
propalign
to support setting horizontal and vertical alignment in one prop, separated by a space
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
ui/Holdable
andui/Pressable
which were replaced byui/Touchable
- Internal method used by many components that sometimes prevented re-renders when they were needed
ui/Holdable
andui/Pressable
, to be replaced byui/Touchable
in 2.0.0
No significant changes.
No significant changes.
ui/ViewManager
to revert 1.13.0 fix for lifecycle timing when entering a view
No significant changes.
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
ui/ViewManager
to prevent interaction issue withmoonstone/Scroller
ui/Remeasurable
to update on every trigger changeui/Transition
to revert 1.12.1 change to supportclip
transition-type directions and rendering optimizations
ui/Transition
support for allclip
transition-type directions and made rendering optimizations
No significant changes.
No significant changes.
ui/Pressable
to properly set pressed state to false on blur and release
ui/Layout
which provides a technique for laying-out components on the screen usingCells
, in rows or columns
ui/Transition
to recalculate height when a resize occurs
No significant changes.
No significant changes.
ui/styles/mixins.less
mixins:.remove-margin-on-edge-children()
and.remove-padding-on-edge-children()
to better handle edge margins on container components
ui/Holdable
to cancel key hold events when the pointer movesui/Holdable
andui/Changeable
back to Components and moved performance improvements elsewhere
ui/FloatingLayer
to not asynchronously attach a click handler when the floating layer is removedui/ViewManager
to correctly position items when changing mid-transition
ui/Holdable
andui/Changeable
to be PureComponents to reduce the number of updates
No significant changes.
No significant changes.
ui/PlaceholderDecorator
to update bounds ofScroller
when thevisible
state changed
ui/Cancelable
warning for string type cancel handler
No significant changes.
No significant changes.
No significant changes.
ui/ViewManager
propchildProps
to pass static props to each child
ui/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
No significant changes.
No significant changes.
ui/Skinnable
to provide themes with a way to apply a base theme styling and skins on top of thatui/Transition
proponShow
that fires when transitioning into view a component.ui/transition
callback proponShow
that fires when transitioning into view completes
ui/View
to prevent re-renders on views leaving theViewManager
ui/Slottable
to support slot-candidate tags that have multiple props, which are now forwarded directly instead of just their children
ui/Cancelable
to run modal handlers in the right order
ui/Placeholder
module withPlaceholderControllerDecorator
andPlaceholderDecorator
HOCs which facilitate rendering placeholder components until the wrapped component would scroll into the viewport
ui/Repeater
to accept an array of objects as children which are spread onto the generated components
ui/validators
which was no longer used elsewhere in Enact
ui/A11yDecorator
to facilitate adding pre/post hints to componentsui/AnnounceDecorator
to facilitate announcing actions for accessibility
ui/Resizable
Higher-order Component to facilitate notification of resized components
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
ui/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
ui/Transition
propfit
in favor of usingclassName
ui/FloatingLayer
propertyautoDismiss
to handle both ESC key and click events
No changes.
ui/FloatingLayer
module withFloatingLayer
andFloatingLayerDecorator
componentsfit
,noAnimation
props toui/TransitionBase
onHide
prop toui/Transition
- LESS mixins from
@enact/moonstone
that are general purpose and can be utilized by various UI libraries.
- Selection type support to
ui/Group
- Renamed
ui/Group
propselect
tochildSelect
and added propselect
to support selection types
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:
ui/Cancelable
,ui/Changeable
,ui/Selectable
- Support for enact-dev command-line tool.
- New options for
ui/Toggleable
HOC - Many more unit tests
- 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
)
- Many components were fixed, polished, updated and documented
- Inline docs updated to be more consistent and comprehensive
Initial release