Skip to content

v4.11.0

Choose a tag to compare

@LauraAubin LauraAubin released this 17 Jan 19:14

Breaking changes

  • Remove unstable telemetry API for icons (#2561)

Enhancements

  • Added hideTags prop to Filters (#2573)
  • Added searchResultsOverlayVisible prop to TopBar which adds a translucent background to the search dismissal overlay when results are displayed (#2440)

Bug fixes

  • Fixed a bug where Navigation calls onNavigationDismiss on large screens when focused and the escape key is pressed (#2607)

  • Fixed issue with Filters component displaying an undesired margin top and bottom on the button element on Safari (#2292)

  • Fixed RangeSlider focus state style issues (#1926)

  • Ensure passing {key: undefined} into i18n will throw a runtime error in the same way as not passing in the key at all (this was ensured through type-checking at the TypeScript level but people could force through with casting to any) (#2598)

  • Ensure the normalizedValue within TextField is a string (this was already ensured through type-checking at the TypeScript level, but people could force through with casting to any, which caused problems) (#2598)

  • Fixed an issue with the Filters component where the aria-expanded attribute was undefined on mount (#2589)

  • Fixed TrapFocus from tabbing out of the container (#2555)

  • Fixed PositionedOverlay not correctly getting its position when aligned to the right of the activator (#2587)

  • Search dismissal overlay now covers the entire screen (#2440)

  • Search results component will no longer unmount when hidden (#2440)

  • Search results will now match the width of the search field (#2440)

Documentation

  • Updated Card with custom footer actions example to be right-aligned (#2603)
  • Updated styleguide links in the docs (#2521)
  • Updated Subheading documentation to be more consistent and accurate (#2591)

Development workflow

  • Updated Storybook to v5.3.2 (#2618)

Dependency upgrades

  • Updated @shopify/polaris-icons to v3.9.0 (#2610)

Code quality

  • Converted MenuGroup into a functional component (#2536)
  • Converted Layout into a functional component (#2538)
  • Converted FormLayout into a functional component (#2539)
  • Converted Stack into a functional component (#2534)
  • Converted BulkActionButton into a functional component (#2542)
  • Converted Focus into a functional component (#2540)
  • Converted Tabmeasurer into a functional component (#2535)
  • Converted Section into a functional component (#2537)
  • Converted Tooltip into a functional component (#2543)
  • Converted Option into a functional component (#2541)
  • Avoided unneeded work in TextField if character count is not rendered (#2598)