Releases: looker-open-source/components
Releases · looker-open-source/components
0.7.26
Added
- Content
ActionList
- Now supports sorting
- Now supports selections
ActionListManager
componentActionListItemAction
acceptscolor
prop (only takesdanger
)
PageSize
componentPagination
component
- Forms
InputTime
componentInputTimeSelect
componentSelectMulti
componentTextArea
component supportsresize
property
- Icons
Board
ShareAlt
SendEmail
,SendSftp
,SendWebhook
VisibilityOutline
,
- Layout
Grid
componentSpace
&SpaceVertical
components
- Overlay
Prompt
component &usePrompt
hook
- Typography
CodeBlock
component
- Utilities
ComponentsProvider
component 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)
ActionList
now gives proper white space toindicator
elementBanner
propdismissable
is nowcanDismiss
- Icons -
Share
artwork updated Popper
upgraded to 2.x- ESLint now enforces license header on all files automatically (with
--fix
option)
Fixed
IconSize
- corrected icon's size to adjust withsize
propSelect
no longer throws a runtime error when no options, defaultValue or placeholder are specifiedToggleSwitch
enabled color correctedusePopper
(used inPopover
andTooltip
) positioning issue withplacement="top"
and offset parent is the window
0.7.25
Added
ActionList
now supports sortingArrowLeft
,EditOutline
,ExploreOutline
Icons addedFieldTextArea
component was created with documentation and testsModalHeader
add support foriconClose
optionTextArea
component was created with documentation and tests
Change
ActionList
closes Actions menu onActionListItemAction
clickArrowDropDown
andArrowDropUp
Icons renamed toArrowUp
andArrowDown
CacheRefesh
Icon updateConfirm
no longer displays aClose
IconButton
in the headerInputSearch
now has aSearch
icon
0.7.24
Added
Checkbox
supportsdefaultChecked
property.TabPanels
supportsFlexBoxProps
&LayoutProps
Fixed
IconButton
Fixed duplicate Tooltips scenario- Reverted to stable version of
react-day-picker
- Fix for focusTrap on Modal with no tabbable element
Removed
Checkbox
,Radio
&Slider
no longer supportbranded
property, use theme's key color (default: purple) and have design-spec focus rings
0.7.23
Added
ActionList
and related sub-components - general layout and base functionality added; currently renders a list with data in columns and associated actions at the item levelInputText
now supportsiconBefore
,iconAfter
,prefix
,suffix
propertiesInputDateRange
component- Icons
ArrowRight
,Function
,IdeDimension
,IdeDimensionGroup
,IdeParameter
,NotificationBellOff
,NotificationBellOn
Changed
FieldColor
state can now be fully controlled.- Icon
CaretDown
optically centered IconButton
tooltip callbacks no longer override passed in callbacksInputChips
no longer supports summary prop, and style updates to allow vertical scrollingInputDate
now supports controlled component behaviorMenu
renamed isHovered variable to showDisclosure to make this prop's use alongsideMenuDisclosure
more obviousMenuContext
renamed isHovered property to showDisclosureMenuDisclosure
now has focus and blur handlers, which allows for tab-traversal to hiddenMenuDisclosure
Slider
component style updates
Fixed
InputDate
andInputDateRange
test mocks
0.7.22
Fixed
usePopover
issue where the next click after a popover closes is canceled – actual fix
0.7.21
Fixed
usePopover
issue where the next click after a popover closes is canceled
0.7.20
Fixed
usePopover
event handlers not getting properly cleaned up
0.7.19
Added
InlineInputText
componentSelect
now supports grouped options with atitle
and optiondescription
, as well asBoxProps
for layout styling.InputDate
andCalendar
components- Download icon
- Documentation in the icons package README that describes the recommended way to name icons
Changed
Select
now only defaults to the first option if neitherplaceholder
norisClearable
is defined.- Removed images with unknown ownership in documentation
Fixed
- Corrected links to source in documentation
Select
styling issues whenGlobalStyle
is 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 multipleSelect
s inside aModal
.
0.7.18
Added
Checkbox
now supportschecked='mixed'
(indeterminate state)Date
,DateTime
,Time
new date and time formatting components
Changed
- Moved ESLint, TSConfig, Prettier & StyleLint to @looker/eslint-config
GlobalStyle
no longer imports fonts from Google Fonts CDN.- Updated documentation to reflect how to import fonts
- Added documentation for
GlobalStyle
under a new "Utilities" section
Fixed
- Corrected links to source in documentation
Swatch
border style when used directly (not viaFieldColor
)