Skip to content

Releases: looker-open-source/components

v0.10.3

25 Jan 17:48
a9305c7
Compare
Choose a tag to compare

See CHANGELOG file to see what's changed in new release.

v0.10.2

22 Jan 23:06
73c1593
Compare
Choose a tag to compare

See CHANGELOG file to see what's changed in new release.

v0.10.1

22 Jan 18:54
3431d16
Compare
Choose a tag to compare

See CHANGELOG file to see what's changed in new release.

v0.10.0

20 Jan 20:43
74000b1
Compare
Choose a tag to compare

See CHANGELOG file to see what's changed in new release.

0.9.30

05 Jan 18:31
Compare
Choose a tag to compare

@looker/components

Fixed

  • InputText issue moving cursor and selecting text when input is already focused

0.9.29

05 Jan 18:30
Compare
Choose a tag to compare

@looker/components

Fixed

  • Clicking outside a focus trap deactivates it

0.9.28

05 Jan 18:30
Compare
Choose a tag to compare

@looker/components

Removed

  • Reverted: RangeSlider now supports touch events

0.9.27

15 Dec 23:42
Compare
Choose a tag to compare

@looker/components

Added

  • CopyToClipboard component
  • TreeArtificial + dividers enabled by default

Changed

  • AccordionDisclosure now supports SimpleLayoutProps
  • Combobox, ComboboxMulti, Select, SelectMulti background color updates
    • ui1 on hover
    • keySubtle on selected
    • keySubtle on selected + hover
  • Tooltip can now be nested directly inside a Popover
  • 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

Fixed

  • FieldInline positioning correction correction. Affects:
    • FieldCheckbox
    • FieldCheckboxGroup
    • FieldRadio
    • FieldRadioGroup
    • FieldToggleSwitch
  • TabPanel is tabbable
  • Tree allocates enough space for indicator icon

0.9.26

12 Dec 00:38
Compare
Choose a tag to compare

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 supports primaryAction
  • DataTableCell used description instead of detail for consistency.
  • FieldCheckbox, FieldToggleSwitch & FieldRadio now support description and detail
  • MenuList now supports windowing (virtualization)
    • ScrollLockContext properties keys have changed to match those on FocusTrapContext
  • doDataTableSort renamed from doDefaultDataTableSort 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 restricts label to string
  • TreeItem
    • Restricts children to type string
    • Nested TreeItems align with sibling Tree labels (as opposed to Tree indicators)
  • Changed usage of icon ArrowDown to use new name ArrowDropDown

Fixed

  • Checkbox's internal input no longer overflows margin
  • Select / SelectMulti / InputTimeSelect clicking on the caret icon toggles the list and focuses the field if it was not already focused
  • Tab now displays properly in Safari
  • TreeGroupLabel is now properly aligned with sibling TreeItems and fits the standard vertical cadence (24px)
  • Truncate with Link inside will properly preserve text color from Link
  • InputText & InlineInputText for disabled color on Safari.
  • Select, SelectMulti and Combobox replace readOnly with inputReadOnly
  • InputSearch now supports disabled and readOnly
  • InputChips now supports disabled and readOnly
  • InputDate removed stories that did not use value prop to avoid daily snapshot discrepancies
  • RangeSlider now supports touch events

Removed

  • ActionList aliases to DataTable removed
  • Heading & Paragraph, Span, Text no longer support variant (use color instead)
  • useTooltip no longer supports surfaceStyles property

@looker/components-providers

Added

  • ComponentsProvider now includes FocusTrapContext to manage all focus traps for Dialog and Popover
    • Where previously DialogContext properties enableFocusTrap, disableFocusTrap, and focusTrapEnabled could previously be used to take control of a focus trap, now use FocusTrapContext properties enableCurrentTrap, disableCurrentTrap, and activeTrapRef to do so.

@looker/design-tokens

Added

  • AliasColor to support color aliases previously used via variant 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 to ArrowDropUp and ArrowDropDown

Removed

  • ArrowChange removed

0.9.25

21 Nov 03:42
Compare
Choose a tag to compare

General

Libraries updated to use Styled Components 5 & Typescript 3.9.x

@looker/components

Added

  • update InputDate and InputDateRange to support disabled and readOnly

Fixed

  • Update DataTable to support onClick of Link/Anchor as text inside rows.