Skip to content

0.9.16

Compare
Choose a tag to compare
released this 02 Oct 20:24

Added

  • Drawer component

    • Note: This is a new implementation of the previously deprecated Drawer and features a more modern API. DrawerManager behaviors are now baked in to Drawer
    • Includes useDrawer hook
  • TabList now supports PaddingProps and fontSize

  • TabList w/ distribute now uses default "small" fontSize

  • Image snapshots tests

    • Infrastructure to run image snapshot tests leveraging Storybook storyshots + jest-image-snapshots
    • Image snapshot coverage for Button*, IconButton & Tree components
  • Storybook: Preliminary infrastructure for composition

  • Storybook: Added support for extract behavior to improve published-Storybook performance

Changed

  • ComponentsProvider now includes ScrollLockContext to manage all scroll locks for Dialog and Popover
    • Where previously DialogContext properties enableScrollLock, disableScrollLock, and scrollLockEnabled could previously be used to take control of a scroll lock, now use ScrollLockContext properties enableCurrentLock, disableCurrentLock, and activeLockRef to do so.
  • AccordionDisclosure "indicator" now matches color of container rather than preserving it's initial color
  • Storybook configuration improvements
    • addons-essentials now used
    • Replace withKnobs with Controls & Args

Fixed

  • Page "jumps" when opening a Popover due to the scrollbar disappearing

Preview / Experimental

  • Experimental: @looker/components-theme-editor package
  • Preview: InputFilters component and tests (this component is not yet ready for general-use)
  • Preview: ActionListControls component (this component is not yet ready for general-use)
  • Preview: "Semantic" Layout components - Layout, Header, Footer, Aside