Skip to content

0.9.20

Choose a tag to compare

released this 23 Oct 17:44

@looker/components

Added

  • IconButton supports toggle prop (uses key color when toggled and aria-pressed)
  • Tooltip and useTooltip now include a brief delay before showing
    • delay prop controls the length
    • Improved test coverage / added image-snapshots
  • Tree branchAlign prop allows item be indented at the same depth as adjacent TreeItem(s)
  • Tree now supports dividers to produce a small visual space between each TreeItem displayed in the list so that adjacent items in a "selected" or active state have visual separation.

Changed

  • ButtonItem used inside ButtonToggle and ButtonGroup now uses fonts.body
  • Dialog, Drawer and Popover no longer focus the first "tab-able" child. Instead they now focus the surface of the overlay itself.
  • InputFilter to support multiline filter tokens
  • useDialog (Dialog & Drawer) refactored
    • Removed use of react-transition-group dependency
    • Added support for aria-busy
    • Simplified implementation of DialogRender component
  • Swatch no longer turns gray when disabled, but has a reduced opacity instead
  • Removed dependencies on polished library

Fixed

  • InputTimeSelect can accept a time that is not included in the select dropdown options
  • FieldInline refactored to use MS-compatible grid (IE11 compatibility)
    • FieldCheckbox
    • FieldRadio
    • FieldToggleSwitch
  • MenuItem now receives and uses passed-in rel prop
    • Also auto appends "noopener noreferrer" to rel if target="_blank"
  • Popover & usePopover refactored internally to be consistent with Dialog refactor patterns
    • IMPORTANT NOTE: Popover will no longer apply active className to target. Instead it now applies [aria-expanded='true'] instead. Button* has been updated to match this change but implementations that depend on the previous behavior will need to be updated.
  • Select / SelectMulti / InputTimeSelect click to select option in IE11

Removed

  • Drawer no longer supports backdrop prop for customizing backdrop presentation
  • IconButton support for color (neutral for all now)
  • ToggleSwitch no longer supports size (now always consistent with Checkbox & Radio)

@looker/design-tokens

Changed

  • theme.transitions durations are now integers (in milliseconds) rather than strings
  • Reduced & consolidated dependencies on polished library

@looker/icons

Added

  • ScheduleOutline