github Shopify/polaris-react v5.10.0

latest releases: @shopify/polaris@13.9.5, @shopify/polaris@13.9.4, @shopify/polaris-migrator@1.0.7...
5 years ago

Enhancements

  • Added ariaExpanded prop to TextField (#3589)
  • Updated MediaCard to accept ReactNode as title and make primaryAction optional (thanks to @devchris for the pull request)
  • UnstyledButton: Added loading prop to apply role and aria-busy attributes (#3494)
  • Optimized ThemeProvider to only output its custom properties in nested ThemeProviders when they differ from the parent context (#3550)
  • Generalized Tooltip's content prop's type to not only accept string, but any React.Node. (#3559)
  • Updated TopBar to show the logo when there is no navigation or search fields (#3523)
  • Updated critical Banner icon to be a diamond (#3567)

Bug fixes

  • Fixed SkeletonPage to make the title font size consistent with the Page component (#3449)
  • Removed Navigation.Item color change when focused (#3562)
  • Adds monochrome styling to connectedDisclosure prop on Button component and fix spacing issue (#3588

Development workflow

  • Updated our CI accessibility checks to use the axe runnner provided by Storybook's a11y addon. Now now errors match between CI and local runs in Storybook (#3284)
  • Updated sewing-kit to 0.140.0 and TypeScript to 4.0.0 (#3566)

Code quality

  • Button: Reduced redundant code repeated within UnstyledButton (#3494)

Don't miss a new polaris-react release

NewReleases is sending notifications on new releases.