- UiTextbox and UiAutocomplete: Add
autofocus
prop - UiButton and UiIconButton: Add
buttonType
prop - UiSnackbarContainer: Add
allowHtml
attribute to snackbar object, which allows for HTML in themessage
attribute - UiAutocomplete: Add new
filter
prop for defining a custom search filter function - UiAutocomplete: Add
highlighted
,highlight-overflow
andselected
events (thanks @rowanwins) - UiAutocomplete: Add
autoHighlightFirstMatch
andcycleHighlight
props for customizing highlight behaviour (thanks @rowanwins) - UiMenu and UiPopover: Add
ui-dropdown::open
,ui-dropdown::close
andui-dropdown::toggle
events - UiAutocomplete, UiSelect and UiTextbox: Add
ui-input::set-validity
event for setting the validity and a custom error message from outside the component
- UiTextbox and UiAutocomplete: Fix
debounce
prop handling - UiFab and UiIconButton: Set icon width to
100%
to fix horizontal centering in Safari on macOS - UiButton and UiIconButton: Fix
dropdownPosition
prop not being passed to UiPopover - UiAlert: Fix reactivity of
icon
prop - UiModal, UiMenu and UiPopover: Make sure
lastFocussedElement
exists before attempting to return the focus. This fixes an error with Webpack hot reloading (thanks @lesion). - UiProgressLinear: Fix color incorrectly defaulting to color-color-primary (thanks @lesion)
- UiMenu and UiPopover: Automatically adjust horizontal positioning to keep dropdown in the viewport (thanks @AlexandreBonaventure)
- UiTextbox:
autocomplete
prop type changed to String, to allow for configuring browser autocomplete
- Add UiSelect component
- Add UiSlider component
- Add pointer cursor to all relevant interactive components (UiButton, UiIconButton, UiFab, UiMenuItem, UiCheckbox, UiRadio, UiSwitch)
- Fix z-index issue with tooltips and dropdowns in a modal
- UiIcon: Vertically align icons to middle for use inline with text
- UiMenu: Show scrollbar when menu height exceeds viewport height
- UiAutocomplete, UiRadioGroup, UiRating and UiTextbox: Keep help text visible when disabled
- UiIconButton and UiFab: Fix horizontal centering of icon in Firefox
- UiIconButton: Change
display
toinline-flex
- UiCollapsible: Fix header vertical centering in IE
-
UiMenu and UiMenuItem: rename
keyboardShortcut
andshowKeyboardShortcuts
props tosecondaryText
andshowSecondaryText
, menu options should use thesecondaryText
property for showing secondary text like keyboard shortcuts and badges -
UiButton and UiIconButton: rename
showMenuKeyboardShortcuts
prop toshowMenuSecondaryText
, menu options should use thesecondaryText
property for showing secondary text like keyboard shortcuts and badges