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
CopyToClipboardcomponentTreeArtificial+ dividers enabled by default
Changed
AccordionDisclosurenow supportsSimpleLayoutPropsCombobox,ComboboxMulti,Select,SelectMultibackground color updates- ui1 on hover
- keySubtle on selected
- keySubtle on selected + hover
Tooltipcan now be nested directly inside aPopoverTree- Uses text5 as text color
- Accepts ReactNode for
labelprop
TreeItem- accepts ReactNode for
childrenprop - background color to ui1 on hover, ui2+itemSelectedColor when selected or selected + hover
- accepts ReactNode for
Fixed
FieldInlinepositioning correction correction. Affects:FieldCheckboxFieldCheckboxGroupFieldRadioFieldRadioGroupFieldToggleSwitch
TabPanelis tabbableTreeallocates enough space for indicator icon
0.9.26
General
Changed
- Now using Typescript 4.1 internally
Fixed
image-snapshot-updatepackage script now correctly deletes all existing snapshots before running
@looker/components
[0.9.26]
Added
FadeIncomponent
Changed
DataTablenow supportsprimaryActionDataTableCellused description instead of detail for consistency.FieldCheckbox,FieldToggleSwitch&FieldRadionow supportdescriptionanddetailMenuListnow supports windowing (virtualization)ScrollLockContextproperties keys have changed to match those onFocusTrapContext
doDataTableSortrenamed fromdoDefaultDataTableSortand 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
Treerestrictslabelto stringTreeItem- Restricts
childrento type string - Nested
TreeItems align with siblingTreelabels (as opposed toTreeindicators)
- Restricts
- Changed usage of icon
ArrowDownto use new nameArrowDropDown
Fixed
Checkbox's internal input no longer overflows marginSelect/SelectMulti/InputTimeSelectclicking on the caret icon toggles the list and focuses the field if it was not already focusedTabnow displays properly in SafariTreeGroupLabelis now properly aligned with siblingTreeItemsand fits the standard vertical cadence (24px)TruncatewithLinkinside will properly preserve text color fromLinkInputText&InlineInputTextfor disabled color on Safari.Select,SelectMultiandComboboxreplacereadOnlywithinputReadOnlyInputSearchnow supportsdisabledandreadOnlyInputChipsnow supportsdisabledandreadOnlyInputDateremoved stories that did not usevalueprop to avoid daily snapshot discrepanciesRangeSlidernow supports touch events
Removed
ActionListaliases toDataTableremovedHeading&Paragraph,Span,Textno longer supportvariant(usecolorinstead)useTooltipno longer supportssurfaceStylesproperty
@looker/components-providers
Added
ComponentsProvidernow includesFocusTrapContextto manage all focus traps forDialogandPopover- Where previously
DialogContextpropertiesenableFocusTrap,disableFocusTrap, andfocusTrapEnabledcould previously be used to take control of a focus trap, now useFocusTrapContextpropertiesenableCurrentTrap,disableCurrentTrap, andactiveTrapRefto do so.
- Where previously
@looker/design-tokens
Added
AliasColorto support color aliases previously used viavariantproperty- 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&ArrowUprenamed toArrowDropUpandArrowDropDown
Removed
ArrowChangeremoved