Releases: enactjs/enact
Releases · enactjs/enact
Pre-release 3.0.0-beta.1
Removed
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
Added
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
Fixed
- 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
Pre-release 3.0.0-alpha.7
Changed
sampler
look and feel by updating to Storybook 5 and applying an Enact theme
Fixed
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
Pre-release 3.0.0-alpha.6
Removed
i18n/Uppercase
HOC, replaced byi18n/util
casing functionsmoonstone/Divider
,moonstone/Dialog
, andmoonstone/Heading
propcasing
Fixed
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
Pre-release 3.0.0-alpha.5
Added
moonstone/Dropdown
propertywidth
to support'small'
,'medium'
, and'large'
sizesui/Toggleable
HOC config propeventProps
to allow wrapped components to specify additional event information
Fixed
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
Release 2.5.3
Fixed
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
Pre-release 3.0.0-alpha.4
Changed
moonstone/Dropdown
to prevent spotlight moving out of the popupmoonstone/Dropdown
to use radio selection which allows only changing the selection but not deselection
Fixed
- Non-Latin locale font assignments to match the new font family support in
LG Smart UI
moonstone/Checkbox
,moonstone/FormCheckbox
,moonstone/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
Pre-release 3.0.0-alpha.3
Added
moonstone/Panels
support for managing share state of contained componentsmoonstone/Scroller
andmoonstone/VirtualList
support for restoring scroll position when within amoonstone/Panels.Panel
moonstone/Header
sample
Changed
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
Fixed
- 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
Pre-release 3.0.0-alpha.2
Added
moonstone/Heading
propspacing
with default value'small'
Fixed
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/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
Pre-release 3.0.0-alpha.1
NOTE: Support for 2019 TV platform (Blink <68) has been dropped from this version of Enact
Removed
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
Added
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/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
Changed
moonstone/Button.ButtonDecorator
to removei18n/Uppercase
HOCmoonstone/Button
,moonstone/Checkbox
,moonstone/CheckboxItem
,moonstone/ContextualPopupDecorator
,moonstone/FormCheckbox
,moonstone/FormCheckboxItem
,moonstone/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
Fixed
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
Release 2.5.2
Fixed
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