Releases: looker-open-source/components
Releases · looker-open-source/components
v0.10.3
See CHANGELOG file to see what's changed in new release.
v0.10.2
See CHANGELOG file to see what's changed in new release.
v0.10.1
See CHANGELOG file to see what's changed in new release.
v0.10.0
See CHANGELOG file to see what's changed in new release.
0.9.30
0.9.29
0.9.28
0.9.27
@looker/components
Added
CopyToClipboard
componentTreeArtificial
+ dividers enabled by default
Changed
AccordionDisclosure
now supportsSimpleLayoutProps
Combobox
,ComboboxMulti
,Select
,SelectMulti
background color updates- ui1 on hover
- keySubtle on selected
- keySubtle on selected + hover
Tooltip
can now be nested directly inside aPopover
Tree
- Uses text5 as text color
- Accepts ReactNode for
label
prop
TreeItem
- accepts ReactNode for
children
prop - background color to ui1 on hover, ui2+itemSelectedColor when selected or selected + hover
- accepts ReactNode for
Fixed
FieldInline
positioning correction correction. Affects:FieldCheckbox
FieldCheckboxGroup
FieldRadio
FieldRadioGroup
FieldToggleSwitch
TabPanel
is tabbableTree
allocates enough space for indicator icon
0.9.26
General
Changed
- Now using Typescript 4.1 internally
Fixed
image-snapshot-update
package script now correctly deletes all existing snapshots before running
@looker/components
[0.9.26]
Added
FadeIn
component
Changed
DataTable
now supportsprimaryAction
DataTableCell
used description instead of detail for consistency.FieldCheckbox
,FieldToggleSwitch
&FieldRadio
now supportdescription
anddetail
MenuList
now supports windowing (virtualization)ScrollLockContext
properties keys have changed to match those onFocusTrapContext
doDataTableSort
renamed fromdoDefaultDataTableSort
and received improvements- Supports "date" columns
- Infers "string" for columns without an explicit type property
- Is now a generic, and will properly set the type of the returned data to match the user's data shape
Tree
restrictslabel
to stringTreeItem
- Restricts
children
to type string - Nested
TreeItem
s align with siblingTree
labels (as opposed toTree
indicators)
- Restricts
- Changed usage of icon
ArrowDown
to use new nameArrowDropDown
Fixed
Checkbox
's internal input no longer overflows marginSelect
/SelectMulti
/InputTimeSelect
clicking on the caret icon toggles the list and focuses the field if it was not already focusedTab
now displays properly in SafariTreeGroupLabel
is now properly aligned with siblingTreeItems
and fits the standard vertical cadence (24px
)Truncate
withLink
inside will properly preserve text color fromLink
InputText
&InlineInputText
for disabled color on Safari.Select
,SelectMulti
andCombobox
replacereadOnly
withinputReadOnly
InputSearch
now supportsdisabled
andreadOnly
InputChips
now supportsdisabled
andreadOnly
InputDate
removed stories that did not usevalue
prop to avoid daily snapshot discrepanciesRangeSlider
now supports touch events
Removed
ActionList
aliases toDataTable
removedHeading
&Paragraph
,Span
,Text
no longer supportvariant
(usecolor
instead)useTooltip
no longer supportssurfaceStyles
property
@looker/components-providers
Added
ComponentsProvider
now includesFocusTrapContext
to manage all focus traps forDialog
andPopover
- Where previously
DialogContext
propertiesenableFocusTrap
,disableFocusTrap
, andfocusTrapEnabled
could previously be used to take control of a focus trap, now useFocusTrapContext
propertiesenableCurrentTrap
,disableCurrentTrap
, andactiveTrapRef
to do so.
- Where previously
@looker/design-tokens
Added
AliasColor
to support color aliases previously used viavariant
property- Added colors:
secondary
&subdued
- Added colors:
informAccent
,positiveAccent
, &warnAccent
@looker/eslint-config
- Added
plugin:jest-dom/recommended
- Added
plugin:testing-library/react
@looker/icons
Added
ArrowForward
,ArrowBackward
,ArrowDownward
,ArrowUpward
Changed
ArrowDown
&ArrowUp
renamed toArrowDropUp
andArrowDropDown
Removed
ArrowChange
removed