The following is a curated list of changes in the Enact agate module, newest changes on the top.
- Update dependencies including Storybook 9
No significant changes.
- Component selectors from ui-tests views to work with
webdriverioversion 9 isDisplayedmethod to work withwebdriverioversion 9
agate/IncrementSliderandagate/Slidervertical knob alignment in Electro skin.
- Updated
Reactdependency to version19.0.0
agate/Scrollerandagate/VirtualListto have default prop whenundefinedprop is passed
agate/ToggleButtonunderline position forhuge,smallandsmallestsizes
agate/ContextualPopupDecoratorandagate/Dropdownto have sibling DOM node as alternative to findDOMNode API which will be removed in React 19
agate/Panelsto animate properly whencoverprop ispartialhorizontally
No significant changes.
No significant changes.
No significant changes.
agate/Scroller,agate/VirtualListandagate/VirtualGridListdefault value forscrollModetonative
No significant changes.
agate/MediaPlayeractive knob size to not overlay the text on Silicon and Carbon skins whentypeistiny
agate/ImageItemto haveimageItem,captionandimagepublicClassnamesagate/Popupto have acontentpublicClassnameagate/TabGroupproponSelectto handleonClickevent on it
agate/Keypadto fireonChangeevent with a correct value payloadagate/Panels/TabbedPanelsto not show console error when there is no childrenagate/SwitchItemborder color for Gallium skin when selected and focusedagate/TabGroupto passonSelecttoui/Group
agate/IncrementSlidersliderRefprop to pass reference to the slider nodeagate/SlidersliderRefprop to pass reference to the slider node
agate/Pickerandagate/RangePickerwidth of the focus background
agate/Panelspadding to show correctly all Picker samples for Electro skin
agate/ArcPicker,agate/ArcSliderforeground color for all skins except Carbonagate/ArcPicker,agate/FanSpeedControlsegments color to be visible on Carbon skinagate/ArcSliderprogress and knob color to be visible on Carbon skinagate/DatePicker,agate/DateTimePicker,agate/Picker,agate/RangePicker, andagate/TimePickertext color for Copper skinagate/DatePicker,agate/DateTimePicker, andagate/TimePickerto match latest design for Silicon skinagate/DatePicker,agate/RangePicker, andagate/TimePickertext color to be visible on Carbon skinagate/Dropdownlayout issues for Carbon, Cobalt, Copper, Titanium skinsagate/Inputto be selectable via double tapagate/MediaPlayerlayout issues for Cobalt, Carbon, Copper, Electro, Titanium skinsagate/Pickerandagate/RangePickerto match latest design for Silicon skinagate/Scrollerto update scrollButtons state on initial renderagate/Scrollershould not scroll when focus moves from a scroll button to anotheragate/TemperatureControlto have text inline for Spanish localeagate/ThemeDecoratorto apply the background color and background image properly
agate/AgateDecorator,agate/FullscreenPopup,agate/GridListImageItemandagate/LabeledItemcomponent
- Update dependencies including React 18.0.0
agate/HeaderMarquee for title, subtitle, and titleAbove
agate/GridListImageItem, to be removed in 2.0.0. Useagate/ImageIteminstead
agate/ContextualPopupDecoratorlayout for Carbon, Cobalt, Copper, Electro, Titanium skinsagate/IncrementSliderstyle to have a proper layout for every skinagate/MediaPlayerlayout issues for Cobalt, Carbon, Copper, Electro, Titanium skinsagate/MediaPlayershuffle button color for Cobalt, and Copper skinsagate/Panelandagate/TabGrouppadding for RTL localesagate/Pickerandagate/RangePickerto match latest design for Silicon skinagate/PopupMenutitle to marquee for long textagate/RadioItemicons to not be bigger than icon containeragate/TabGroupbutton padding for Cobalt and Copper skinsagate/VirtualList5-way navigation between scroll buttons whenfocusableScrollbar
agate/HeadingpropshowBackButtonagate/InputpropclearButtonandclearIconagate/KeypadpropactiveCallto render different icons depending on whether there is an active call or notagate/MediaPlayerproptype
agate/Dropdownstyle to match latest design for Silicon skinagate/Headingstyle to match latest design for Silicon skinagate/Headingposition of underline when size="tile" on Carbon, Cobalt, Copper, Electro, Titanium skinsagate/Inputto match latest design for Silicon skinagate/Itemfor inline with label and labelPosition "after" or "before" on Gallium skin to not change item width on hoveragate/Keypadto match latest design for Silicon skinagate/LabeledIconButtonto match the latest design for Silicon skinagate/MediaPlayerstyle to match latest design for Silicon skinagate/Sliderheight whenorientation="vertical"on Carbon, Cobalt, Copper, Electro, Titanium skinsagate/SwitchItemstyle to match latest design for Silicon skinagate/TooltipDecoratorto to match latest design for Silicon skin
Noto Sansfont as the default font
agate/ArcSlidertext size be the same on all skinsagate/ArcSliderstyle to match latest design for Silicon skinagate/Buttonbadge background color for Cobalt and Copper skinsagate/Buttonto center icon when iconOnly prop is true, for Cobalt and Copper skins, RTLagate/Checkboxicon font-size and focus color for Carbon, Cobalt, Copper, Electro, and Titanium skinsagate/CheckboxItemstyle to match latest design for Silicon skinagate/ContextualPopupDecoratorstyle to match latest design for Silicon skinagate/ColorPickerlayout for Carbon, Electro, Gallium, Silicon skinsagate/Popupto have the same background-color for body and buttons section for all skins except Siliconagate/Popupto match latest design for Silicon skinagate/RadioItemstyle to match latest design for Silicon skinagate/RadioItemicon border-color to be visible when item is focused in Carbon skinagate/Scrollerto be more visible on Carbon, Cobalt, Copper, Electro, Titanium skinsagate/Sliderto have a more visible background-color on Cobalt skinagate/Sliderto apply focus styling while dragging by touchagate/SliderButtonbutton text color to be more visible on Carbon skinagate/ThumbnailItemto match latest design for Silicon skinagate/ThumbnailItemto display thumbnail image properly in all skins
agate/ImageItempropsizingto support image sizingagate/DraweronShow,spotlightId, andspotlightRestrictprops to handle focus with 5-way navigation
Copperskin to use lighter color for text in order to be more visible
agate/Checkbox,agate/FanSpeedControl,agate/ImageItem,agate/Item, andagate/WindDirectionControlto match latest design for Silicon skinagate/Dropdownmisalignment ofButtonandContextualPopupon the edge of screenagate/Popupto apply marquee for long title
agate/ContextualPopupandagate/ContextualPopupDecoratorpropcssto support customizationsagate/Dropdownpropwidthto support multiple widthsagate/IncrementSliderpropactivateOnFocusto support slider activation when slider gets focusedagate/IncrementSlider,agate/ProgressBar, andagate/Sliderproptooltipto enable the built-in tooltipagate/Itemto have aselectedpublicClassnameagate/MediaPlayerpropspotlightDisabledto disable 5-way navigationagate/Popuparia-liveandroleprops to support accessibilityagate/PopuponShow,spotlightId, andspotlightRestrictprops to handle focus with 5-way navigationagate/PopupMenuonShowandspotlightIdprops to handle focus with 5-way navigationagate/RadioItempropslotBeforeagate/ProgressBarpropshighlightedandbackgroundProgressagate/ProgressBarTooltipcomponentagate/SliderpropbackgroundProgressagate/SliderTooltipcomponentagate/Spinnerpropchildrento support the display of text below the iconagate/Tooltippropmarqueeto allow to marqueeagate/TooltipDecoratorproptooltipMarqueeto support marquee for long tooltip and proptooltipWidthto set a width for tooltip text
agate/Dropdownto useagate/ContextualPopupagate/ThemeDecoratorto excludeenact-fitclassName whendisableFullscreenis trueagate/ArcPickerandagate/ArcSliderto have a max-width forslotCenter
agate/ArcSliderandagate/TemperatureControlbroken layout whenminprop is not smaller thanmaxpropagate/BodyText,agate/Button,agate/IncrementSlider,agate/LabeledIcon, andagate/Sliderto match latest design for Silicon skinagate/Buttonto apply active styling only when it is not disabledagate/Buttonto apply active styling on enter key pressagate/ImageItemwidth/height proportion whenorientationishorizontalagate/LabeledIconButtonstyling to preserve behavior and look when props are missingagate/SliderButton5-way navigation functionality to change value via direction keysagate/SliderButtonstyling to visually show the focused stateagate/TooltipDecoratorto position correctly on rtl locale
- The framework was updated to support React 17.0.1
agate/ThemeDecoratorconfigrootIdto specify React DOM tree root for global event handlers
agate/FullScreenPopup, useagate/Popupinstead
agate/ArcPickerandagate/ArcSliderpropdisabledto be inactiveagate/ArcSliderproparia-valuetextto overridearia-valuetextfor itagate/DateTimePickerpropdayAriaLabel,hourAriaLabel,meridiemAriaLabel,minuteAriaLabel,monthAriaLabel, andyearAriaLabelagate/HeadingpropmarqueOnto determine when marquee beginsagate/Inputpropinvalidto display a tooltip with a message wheninvalidprop is trueagate/InputpropinvalidMessageto customize the tooltip message wheninvalidprop is trueagate/Inputpropsizeto change the size of both input and icons (default large)agate/Itempropcentered,disabled,inline,marqueeOn, andsizeagate/KeypadpropspotlightDisabledto disable 5-way navigationagate/Popupcontent padding and margin withcloseButtonagate/Popupbottom,fullscreen,left, andrightvalues topositionpropagate/Popupdurationandtypeprops
agate/Headingto support marquee
agate/Buttonto not center the icon when it hasminWidthagate/DatePickertransition direction for day when month is changedagate/Dropdownto show focused icon color for Silicon skinagate/Dropdownto not show double marquee textagate/Dropdownto not close when clicking the list scrolleragate/LabeledIconButtonto display label text on multiple lines (removed marquee)agate/LabeledIconButtonmax-widthto display huge sized icon correctlyagate/MediaPlayerprevious button functionality to play media from the beginning after being pausedagate/TabGrouptabborder-bottomto be applied for vertical orientationagate/TimePickertransition direction for meridiem when hour is changed
- Sampler build failure
agate/ButtonpropiconOnly,iconPosition, andminWidthagate/Checkboxpropdisabled,indeterminate, andindeterminateIconagate/CheckboxItempropdisabled,indeterminate,indeterminateIcon, andslotbeforeagate/DatePickerproponSpotlightDisappearandspotlightDisabledagate/Marqueecomponentagate/PickerpropnoAnimationandwrapagate/RangePickerpropnoAnimationandwrapagate/ThemeDecoratorcontextThemeContextto applyaccentcolor toagate/ArcPickerandagate/ArcSliderwhen they're focusedagate/TimePickerproponSpotlightDisappearandspotlightDisabled
agate/ArcPicker,agate/ArcSlider,agate/FanSpeedControl,agate/TemperatureControl, andagate/WindDirectionControlto read out audio guidance when focused via 5-way keysagate/FullscreenPopuppropdurationto support any valid CSS value
agate/ArcPickerto display correctfont-sizeandfont-weightagate/Buttonto marquee when focusedagate/Buttonto show a tooltip when hoveredagate/DateTimePickerreturned value by onChange eventagate/Dropdownto support closing dropdown with back keyagate/FanSpeedControlto center text when there is no iconagate/Headingto supportspacingfor Gallium and Siliconagate/IncrementSliderbutton color for Gallium skinagate/Inputrun time error when usingdismissOnEnteragate/Keypadto not show console error in sampleragate/Keypad,agate/MediaPlayer, andagate/ToggleButtonto have buttons with proper widthagate/LabeledIconButtonbutton shape to circularagate/MediaPlayerto not show console error when next or previous button is pressed several times during playingagate/Panelsto show close button properly for night modeagate/Pickerpicker item width in horizontal for siliconagate/PopupMenuto display distinguishable titleagate/SliderButtonto not show console error in sampleragate/Spinnerto pause the animation whenpausedprop is trueagate/Spinnerto show correct layout whentypeisloadinginright-to-leftlocaleagate/Spinnerto supporttransparentprop properlyagate/SwitchItemicon position for all skins in RTL locale and Electro/Titanium in all localesagate/TemperatureControlto not be draggable when it's disabled
Initial release.