Releases: looker-open-source/components
Releases · looker-open-source/components
0.7.26
Added
- Content
ActionList- Now supports sorting
- Now supports selections
ActionListManagercomponentActionListItemActionacceptscolorprop (only takesdanger)
PageSizecomponentPaginationcomponent
- Forms
InputTimecomponentInputTimeSelectcomponentSelectMulticomponentTextAreacomponent supportsresizeproperty
- Icons
BoardShareAltSendEmail,SendSftp,SendWebhookVisibilityOutline,
- Layout
GridcomponentSpace&SpaceVerticalcomponents
- Overlay
Promptcomponent &usePrompthook
- Typography
CodeBlockcomponent
- Utilities
ComponentsProvidercomponent to provide a pre-packagedThemeProvider+theme
Changed
48 direct dependency updates (https://github.com/looker-open-source/components/pulls?q=is%3Apr+is%3Aclosed+label%3Adependencies+is%3Amerged+merged%3A2020-03-23..2020-04-15)
ActionListnow gives proper white space toindicatorelementBannerpropdismissableis nowcanDismiss- Icons -
Shareartwork updated Popperupgraded to 2.x- ESLint now enforces license header on all files automatically (with
--fixoption)
Fixed
IconSize- corrected icon's size to adjust withsizepropSelectno longer throws a runtime error when no options, defaultValue or placeholder are specifiedToggleSwitchenabled color correctedusePopper(used inPopoverandTooltip) positioning issue withplacement="top"and offset parent is the window
0.7.25
Added
ActionListnow supports sortingArrowLeft,EditOutline,ExploreOutlineIcons addedFieldTextAreacomponent was created with documentation and testsModalHeaderadd support foriconCloseoptionTextAreacomponent was created with documentation and tests
Change
ActionListcloses Actions menu onActionListItemActionclickArrowDropDownandArrowDropUpIcons renamed toArrowUpandArrowDownCacheRefeshIcon updateConfirmno longer displays aCloseIconButtonin the headerInputSearchnow has aSearchicon
0.7.24
Added
CheckboxsupportsdefaultCheckedproperty.TabPanelssupportsFlexBoxProps&LayoutProps
Fixed
IconButtonFixed duplicate Tooltips scenario- Reverted to stable version of
react-day-picker - Fix for focusTrap on Modal with no tabbable element
Removed
Checkbox,Radio&Sliderno longer supportbrandedproperty, use theme's key color (default: purple) and have design-spec focus rings
0.7.23
Added
ActionListand related sub-components - general layout and base functionality added; currently renders a list with data in columns and associated actions at the item levelInputTextnow supportsiconBefore,iconAfter,prefix,suffixpropertiesInputDateRangecomponent- Icons
ArrowRight,Function,IdeDimension,IdeDimensionGroup,IdeParameter,NotificationBellOff,NotificationBellOn
Changed
FieldColorstate can now be fully controlled.- Icon
CaretDownoptically centered IconButtontooltip callbacks no longer override passed in callbacksInputChipsno longer supports summary prop, and style updates to allow vertical scrollingInputDatenow supports controlled component behaviorMenurenamed isHovered variable to showDisclosure to make this prop's use alongsideMenuDisclosuremore obviousMenuContextrenamed isHovered property to showDisclosureMenuDisclosurenow has focus and blur handlers, which allows for tab-traversal to hiddenMenuDisclosureSlidercomponent style updates
Fixed
InputDateandInputDateRangetest mocks
0.7.22
Fixed
usePopoverissue where the next click after a popover closes is canceled – actual fix
0.7.21
Fixed
usePopoverissue where the next click after a popover closes is canceled
0.7.20
Fixed
usePopoverevent handlers not getting properly cleaned up
0.7.19
Added
InlineInputTextcomponentSelectnow supports grouped options with atitleand optiondescription, as well asBoxPropsfor layout styling.InputDateandCalendarcomponents- Download icon
- Documentation in the icons package README that describes the recommended way to name icons
Changed
Selectnow only defaults to the first option if neitherplaceholdernorisClearableis defined.- Removed images with unknown ownership in documentation
Fixed
- Corrected links to source in documentation
Selectstyling issues whenGlobalStyleis not used, missing down caret icon in documentationusePopover, when the toggle was a mousedown event, would open just before the "click outside" listener was able to close any prior popovers. If both popovers were inside aModal, the closing popover would re-enable the parent scroll lock, and the one that just opened would be un-scrollable. This especially affected multipleSelects inside aModal.
0.7.18
Added
Checkboxnow supportschecked='mixed'(indeterminate state)Date,DateTime,Timenew date and time formatting components
Changed
- Moved ESLint, TSConfig, Prettier & StyleLint to @looker/eslint-config
GlobalStyleno longer imports fonts from Google Fonts CDN.- Updated documentation to reflect how to import fonts
- Added documentation for
GlobalStyleunder a new "Utilities" section
Fixed
- Corrected links to source in documentation
Swatchborder style when used directly (not viaFieldColor)