Skip to content

Releases: looker-open-source/components

0.7.16

31 Jan 17:20
Compare
Choose a tag to compare

Fixed

  • Select - Addressed integration test issue where events happen fast enough to reveal state change issue

0.7.15

29 Jan 19:31
Compare
Choose a tag to compare

Added

  • useMouseDownClick hook supports testing frameworks and scenarios where the user triggers just a "click" event and not it's proceeding "mousedown" event.

Fixed

  • Select Addressed issue where co-located Selects width acted undesireably

0.7.14

27 Jan 23:43
Compare
Choose a tag to compare

Added

  • Button now has a fullWidth prop that will set the button's width to 100%, filling its parent container.
  • ConfirmLayout - new modal for laying out standard user confirmation dialog content
  • InputChips displays multiple values as Chips inside a text box

Changes

  • Banner children are now wrapped in <Box display="auto"> so they will expand to the full available width.
  • ConfirmationDialog uses ConfirmLayout to render modal content
  • ModalHeader accepts a new headerIcon prop to render next to the title content
  • ModalManager children prop is now optional
  • ModalSurface
    • all consumers now support a responsive maxWidth prop
    • surfaceStyle renamed to surfaceStyles in order to make the modal and DialogManager consistent
  • Edited modal documentation for clarity

Fixed

  • MenuItem improved for use-case where itemRole="link" interacted poorly with unrelated CSS in applying :hover and :focus pseudo-styles

0.7.13

16 Jan 17:12
Compare
Choose a tag to compare

Added

  • Chip component (more Chip-related features coming soon)

Fixed

  • Select used inside of a Dialog would intermittently lose focus and fail to update when clicking on an option.

0.7.12

13 Jan 22:51
Compare
Choose a tag to compare

Fixed

  • MenuList would get a bad value for the attributearia-labelledby when used without Menu.
  • InputText - autoComplete not being passed down to input

0.7.11

09 Jan 23:30
Compare
Choose a tag to compare

Added

  • Menu now supports hoverDisclosureRef prop so that MenuDisclosure is only shown when the element in question is hovered over.
  • Select now renders a custom component instead of the native select.
    • Allows for new features including isFilterable / onFilter to allow the user to filter through options, and isClearable to allow the user to clear out the value.
    • Uses experimental ComboBox components (more info on this soon!)

Changed

  • Lots of minor dependency updates (gatsby-*, typescript, etc.)
  • MenuItem now supports focusVisible behavior

Fixed

  • Dialog / DialogManager TS interfaces correct to properly reflect support for responsive sizes
  • Tooltip will no longer inherit white-space, text-transform or word-break behaviors of the component it uses for positioning calculation

0.7.10

20 Dec 23:54
Compare
Choose a tag to compare

Added

  • Proxy Server package
    • New documentation: getting started with local data fetching

Changes

  • Button sizes updated to match design specifications
  • Confirm secondary button color now defaults to neutral
    • Confirm documentation example simplified
  • esm & cjs builds now produce es6 (previously produced es5)
  • Default theme.reset is inactive by default now.

Fixed

  • Select drop-down indicator arrow reintroduced
  • Slider custom knobs now have proper stacking order so as not to appear over Dialog, Popover and Drawer
  • Documentation
    • Links between Dialog and Confirm

0.7.8

18 Dec 00:00
Compare
Choose a tag to compare

Changed

  • update button color to be neutral for useConfirm and Confirm components.
  • Button size map was updated with correct sizes
  • Test for Button got updates to reflect the correct sizes
  • ModalManager (and it's derived DialogManager & DrawerManager) now support a onClose callback that will be called when the modal is closed.

Bug Fixes

  • Button size map was updated with new sizes and Test got updates to reflect the new sizes
  • Correct issue ModalManager surfaceStyles had minWidth and maxWidth properties that were difficult to override on an instance.
  • Correct usage of textTransform in documentation and updated related test suite

0.7.7

13 Dec 05:46
Compare
Choose a tag to compare

Added

  • Avatar components and documentation - AvatarIcon, AvatarUser, AvatarCombo
  • Badge component with test and documentation
  • MenuContext for holding Menu state and MenuItemStyleContext for MenuItem styling inheritance
  • Popover now has escapeWithReference prop for allowing the overlay to break out of the scroll parent
  • Icon - added Api icon

Changed

  • Icon - ChangeHistory and DragHandleDots artwork fixed up
  • IconButton now displays a Tooltip with the IconButton's label text.
    • Also added tooltipDisabled and tooltipPlacement to allow for customization of the built-in behavior.
  • InputSearch - clicking "summary" text or clear button will restore focus to underlying input reproducing the behavior of the native input type="search" control.
  • LuminositySlider now use standard range input as basis for (rather than extending Slider component)
  • Modals
    • Improved Confirm layout
    • Dialog has updated documentation to endorse use of Confirm where appropriate
    • ModalFooter now uses css grid to lay out actions
    • ModalHeader has improved styling, no longer accepts Heading as a sub-component
    • ModalContext now includes focus trap and scroll lock methods
  • Slider
    • Customized appearance / support for branded property
    • Update documentation to match updated appearance and functionality
  • Tab component now replicates Button focus behavior. Focus ring only displayed when focus is applied via keyboard interaction
  • Update theme object to use more vibrant colors by default.
  • Documentation Improvements
    • Improved NPM package installation instructions
    • Instructions for adding new components to www project (Gatsby documentation)

Removed

  • Icon - removed Users (use Group instead)
  • useMenu hook deprecated in favor of MenuContext

Fixed

  • Banner - icons are rendered at proper sizes when used in www
  • Menu issues arising from use of cloneElement
  • OverlaySurfaceArrow - added missing border on
  • Slider - fix overflow issue in Windows/Edge
  • Tooltip
    • Respects width property as expected
    • Removed confusing maxWidth property
    • Link color within Tooltip is set to blue200 to ensure readability.
  • Improved useFocusTrap and useScrollLock behavior when Popover is nested in a Modal or another Popover.
  • Documentation bugs
    • Prevent theme examples from bleeding into global scope
    • Fix navigation appearance in Windows/Edge

0.7.6

18 Nov 23:55
Compare
Choose a tag to compare

Changed

  • Menu - Refactor z-index out of menu styles
  • Documentation
    • Vertical layout for the Code Sandbox toolbar to prevent unintentional obfuscation of code samples
    • Improved documentation layout and scrolling behavior

Fixed

  • ColorWheel - Optimize ColorWheel value change performance & restored ColorWheel documentation
  • MenuGroup - Fix bug where menu group headers render a drop shadow by default
  • MenuSearch - fixed keyboard shortcuts (up / down arrows to escape focus on input) and Improved documentation example.
  • ModalPortal - Fixed scrolling within a Modal (Dialog & Drawer)
  • Icons - SVG for ApplicationSelect, ArrowChange, Beaker, BrowseTable, ChangeHistory, DimensionFill,Explore, LogoRings, NoteOutline, Notes, Reports, SqlRunner, User, UserAttributes, Users, ViewGrid,VisArea, VisBar, VisColumn, VisLine, VisMap, VisPie, VisScatter, VisSingleValue,VisTable icons resized redrawn to fit on the correct icon grid.