@enact/core
Advanced tools
Changelog
[3.0.0-beta.1] - 2019-07-15
core/kind
config property contextTypes
i18n/ilib
embedded copy of iLib in favour of the NPM package ilib
small
prop in moonstone/Input
, moonstone/ToggleButton
, moonstone/Button
, moonstone/Icon
, moonstone/IconButton
, and moonstone/LabeledIcon
, replaced by size
prop, which accepts "small"
or "large"
moonstone/Divider
, replaced by moonstone/Heading
ilib@^14.2.0
package as a peer dependency for @enact/i18n
and @enact/moonstone
, which apps will need to includemoonstone/Dropdown
widths tiny
, and huge
ui/VirtualList.VirtualGridList
and ui/VirtualList.VirtualList
support for resizing a windowcore/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
and moonstone/VirtualList.VirtualList
to focus an item properly after an updatemoonstone/Scroller
, moonstone/VirtualList.VirtualGridList
, and moonstone/VirtualList.VirtualList
not to scroll too far by page up/down keysspotlight/SpotlightContainerDecorator
to correctly forward onFocusCapture
and onBlurCapture
eventsui/Icon
to support arbitrary icon name strings, like in material iconsChangelog
[3.0.0-alpha.7] - 2019-06-24
sampler
look and feel by updating to Storybook 5 and applying an Enact thememoonstone/Dropdown
to scroll to and focus the selected item when openedmoonstone/ExpandableItem.ExpandableItemBase
to not error if onClose
or onOpen
was not suppliedmoonstone/GridListImageItem
to support overriding the image
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-wayChangelog
[3.0.0-alpha.6] - 2019-06-17
i18n/Uppercase
HOC, replaced by i18n/util
casing functionsmoonstone/Divider
, moonstone/Dialog
, and moonstone/Heading
prop casing
moonstone/Dropdown
to support voice readoutmoonstone/Dropdown
remaining open after it becomes disabled
ui/ViewManager
to correctly arrange views when initially rendering a non-zero indexChangelog
[3.0.0-alpha.5] - 2019-06-10
moonstone/Dropdown
property width
to support 'small'
, 'medium'
, and 'large'
sizesui/Toggleable
HOC config prop eventProps
to allow wrapped components to specify additional event informationFonts
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 its value
prop when toggledChangelog
[2.5.3] - 2019-06-06
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 if selected
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
and moonstone/VirtualList
to animate with 5-way navigation by defaultmoonstone/Scroller
, moonstone/VirtualList.VirtualGridList
, and moonstone/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
, and ui/VirtualGridList
to size properlyui/Scroller
, ui/VirtualList
, and ui/VirtualGridList
to scroll correctly on iOS and Safariui/Touchable
to not misfire a hold pulse when a drag re-enters a touch target and cancelOnMove
is setui/ViewManager
to correctly handle transitioning quickly between two childrenChangelog
[3.0.0-alpha.4] - 2019-06-03
moonstone/Dropdown
to prevent spotlight moving out of the popupmoonstone/Dropdown
to use radio selection which allows only changing the selection but not deselectionLG Smart UI
moonstone/Checkbox
, moonstone/FormCheckbox
, moonstone/Panels.Header
, moonstone/RadioItem
, moonstone/Slider
, and moonstone/Switch
to render correctly in high contrastmoonstone/VideoPlayer
to hide scrim for high contrast if bottom controls are hiddenChangelog
[3.0.0-alpha.3] - 2019-05-29
moonstone/Panels
support for managing share state of contained componentsmoonstone/Scroller
and moonstone/VirtualList
support for restoring scroll position when within a moonstone/Panels.Panel
moonstone/Panels.Header
samplemoonstone/Scroller
to scroll when no spottable child exists in the pressed 5-way key direction and, when focusableScrollbar
is set, focus the scrollbar buttonui/ViewManager
to use Web Animations instead of animation callbacks to improve performance resulting in API changes to Arranger
and the pre-configured arrangers SlideArranger
, SlideBottomArranger
, SlideLeftArranger
, SlideRightArranger
, and SlideTopArranger
moonstone/Dropdown
children
propType so it supports the same format as ui/Group
(an array of strings or an array of objects with props)moonstone/FormCheckbox
, moonstone/Input
, moonstone/ProgressBar
, moonstone/RadioItem
, moonstone/SwitchItem
, and moonstone/Tooltip
light skin colors.moonstone/VideoPlayer
to have correct sized control buttonsChangelog
[3.0.0-alpha.2] - 2019-05-20
moonstone/Heading
prop spacing
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
with Input
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
and moonstone/SelectableItem
icon size in large-text modeChangelog
[3.0.0-alpha.1] - 2019-05-15
NOTE: Support for 2019 TV platform (Blink <68) has been dropped from this version of Enact
moonstone/Button
and moonstone/Panels.Header
prop casing
which is no longer supportedmoonstone/Input.InputBase
prop focused
which was used to indicate when the internal input field had focused but was replaced by the :focus-within
pseudo-selectormoonstone/VirtualList
and moonstone/VirtualList.VirtualGridList
property isItemDisabled
core/util.clamp
to safely clamp a value between min and max boundsmoonstone/BodyText
prop size
to offer a new "small" sizemoonstone/Button
prop iconPosition
moonstone/ContextualPopup
config noArrow
moonstone/Dropdown
componentmoonstone/Panels.Header
prop centered
to support immersive apps with a completely centered designmoonstone/Heading
component, an improved version of moonstone/Divider
with additional featuresmoonstone/Panels
slot <controls>
to easily add custom controls next to the Panels' "close" buttonmoonstone/Spinner
prop size
to support a new "small" size for use inside SlotItem
componentsmoonstone/TooltipDecorator
prop tooltipRelative
and moonstone/TooltipDecorator.Tooltip
prop relative
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
, and ui/VirtualList.VirtualList
prop noScrollByWheel
for preventing scroll by wheelmoonstone/Button.ButtonDecorator
to remove i18n/Uppercase
HOCmoonstone/Button
, moonstone/Checkbox
, moonstone/CheckboxItem
, moonstone/ContextualPopupDecorator
, moonstone/FormCheckbox
, moonstone/FormCheckboxItem
, moonstone/Panels.Header
, moonstone/Notification
, moonstone/RadioItem
, and moonstone/Tooltip
appearance to match the latest designsmoonstone/Button
, moonstone/Dropdown
, moonstone/Icon
, moonstone/IconButton
, moonstone/Input
, and moonstone/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
and moonstone/LabeledIconButton
text size to be smallermoonstone/Panel
and moonstone/Panels
now allocate slightly more screen edge space for a cleaner lookmoonstone/Scroller.Scroller
, moonstone/VirtualList.VirtualGridList
, and moonstone/VirtualList.VirtualList
scrollbar button to gain focus when pressing a page up or down key if focusableScrollbar
is truespotlight/Spottable
to allow disabled items to be focusedui/Measurable
to remeasure after a re-layout so the measurement value is always correctui/Scroller
, ui/VirtualList.VirtualGridList
, and ui/VirtualList.VirtualList
not to scroll by wheel at the same time when multiple lists/scrollers are nestedChangelog
[2.5.2] - 2019-04-23
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 default skinVariant
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