Skip to content

Releases: looker-open-source/components

0.7.26

15 Apr 01:59
Compare
Choose a tag to compare

Added

  • Content
    • ActionList
      • Now supports sorting
      • Now supports selections
      • ActionListManager component
      • ActionListItemAction accepts color prop (only takes danger)
    • PageSize component
    • Pagination component
  • Forms
    • InputTime component
    • InputTimeSelect component
    • SelectMulti component
    • TextArea component supports resize property
  • Icons
    • Board
    • ShareAlt
    • SendEmail, SendSftp, SendWebhook
    • VisibilityOutline,
  • Layout
    • Grid component
    • Space & SpaceVertical components
  • Overlay
    • Prompt component & usePrompt hook
  • Typography
    • CodeBlock component
  • Utilities
    • ComponentsProvider component to provide a pre-packaged ThemeProvider + 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 to indicator element
  • Banner prop dismissable is now canDismiss
  • 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 with size prop
  • Select no longer throws a runtime error when no options, defaultValue or placeholder are specified
  • ToggleSwitch enabled color corrected
  • usePopper (used in Popover and Tooltip) positioning issue with placement="top" and offset parent is the window

0.7.25

24 Mar 00:04
Compare
Choose a tag to compare

Added

  • ActionList now supports sorting
  • ArrowLeft, EditOutline, ExploreOutline Icons added
  • FieldTextArea component was created with documentation and tests
  • ModalHeader add support for iconClose option
  • TextArea component was created with documentation and tests

Change

  • ActionList closes Actions menu on ActionListItemAction click
  • ArrowDropDown and ArrowDropUp Icons renamed to ArrowUp and ArrowDown
  • CacheRefesh Icon update
  • Confirm no longer displays a Close IconButton in the header
  • InputSearch now has a Search icon

0.7.24

12 Mar 17:06
Compare
Choose a tag to compare

Added

  • Checkbox supports defaultChecked property.
  • TabPanels supports FlexBoxProps & 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 support branded property, use theme's key color (default: purple) and have design-spec focus rings

0.7.23

09 Mar 19:22
Compare
Choose a tag to compare

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 level
  • InputText now supports iconBefore, iconAfter, prefix, suffix properties
  • InputDateRange 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 callbacks
  • InputChips no longer supports summary prop, and style updates to allow vertical scrolling
  • InputDate now supports controlled component behavior
  • Menu renamed isHovered variable to showDisclosure to make this prop's use alongside MenuDisclosure more obvious
  • MenuContext renamed isHovered property to showDisclosure
  • MenuDisclosure now has focus and blur handlers, which allows for tab-traversal to hidden MenuDisclosure
  • Slider component style updates

Fixed

  • InputDate and InputDateRange test mocks

0.7.22

27 Feb 23:41
Compare
Choose a tag to compare

Fixed

  • usePopover issue where the next click after a popover closes is canceled – actual fix

0.7.21

27 Feb 23:41
Compare
Choose a tag to compare

Fixed

  • usePopover issue where the next click after a popover closes is canceled

0.7.20

25 Feb 18:41
Compare
Choose a tag to compare

Fixed

  • usePopover event handlers not getting properly cleaned up

0.7.19

24 Feb 18:10
Compare
Choose a tag to compare

Added

  • InlineInputText component
  • Select now supports grouped options with a title and option description, as well as BoxProps for layout styling.
  • InputDate and Calendar 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 neither placeholder nor isClearable is defined.
  • Removed images with unknown ownership in documentation

Fixed

  • Corrected links to source in documentation
  • Select styling issues when GlobalStyle is not used, missing down caret icon in documentation
  • usePopover, 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 a Modal, the closing popover would re-enable the parent scroll lock, and the one that just opened would be un-scrollable. This especially affected multiple Selects inside a Modal.

0.7.18

11 Feb 17:48
Compare
Choose a tag to compare

Added

  • Checkbox now supports checked='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 via FieldColor)

0.7.17

31 Jan 17:20
Compare
Choose a tag to compare

Added

  • InputChips now immediately converts pasted content to chips instead of waiting for a comma as it does when the user is typing.

Fixed

  • InputChips now trims whitespace from each value before calling validate.