Skip to content

0.9.14

Choose a tag to compare

released this 18 Sep 19:38

[0.9.14] - 2020-09-18

Added

  • Chip supports prefix
  • ComponentsProvider now supports loadGoogleFonts which leverages GoogleFontsLoader
  • GoogleFontsLoader
  • InputColor now includes name in onChange response event
  • InputChips and SelectMulti chip selection and copy-pasting
  • Select now supports showCreate and formatCreateLabel that were previously only supported in SelectMulti
  • useClickable hook
  • Icons: FeedbackOutline added

Changed

  • Chip / ChipButton now call onClick on enter or space key
  • ComponentsProvider now takes colors prop instead of coreColors and accepts CoreColors & IntentColors
  • Prompt / usePrompt now optionally support clearOnCancel behavior
  • theme.fonts.* updates
    • body added (now default for most components)
    • brand is now used just for Button*, Heading & Tabs
    • Default values changed (now body='Roboto', brand='Red Hat Display', code='Roboto Mono')
  • theme.fontWeights.extraBold & theme.fontWeights.light removed
  • Tree child AccordionDisclosure now receives font-weight value from styled-components selector

Fixed

  • Icon colors can be modified when used inside a MenuItem detail prop.
  • Popover cancel first click outside behavior not working with an onMouseUp used anywhere on the page
  • SelectMulti failing to appropriately show "No options" when showCreate is used
  • Select overwriting search value with the current option value if the option's value and label are different
  • Storybook fixes to silence console warnings

  • Tooltip & Popover no longer support (optional) arrow indicator

Removed

  • prismTheme is no longer published
  • theme.colors.palette is no longer available (palette can be import from @looker/design-tokens but this is a legacy behavior and is not encouraged)