github Shopify/polaris v6.1.0

latest releases: @shopify/polaris@13.2.0, @shopify/stylelint-polaris@16.0.1, @shopify/polaris-tokens@9.0.1...
3 years ago

Enhancements

  • Added focus-visible polyfill and default styles (#3695)
  • Added removeUnderline prop to Button to remove underline when plain and monochrome are true (#3998)
  • Removed #AppFrameMainContent link and updated SkipToContent link to target #AppFrameMain instead (#3912)
  • Reset color in unstyled-button mixin (#4008)
  • Added IndexTable / IndexProvider component (#3646)
  • Added dataHref prop to ResourceItem which gets passed to the main li element as data-href(#3975)

Bug fixes

  • Updated examples for DropZone so they accept all image types (#3701) (thanks @malanjp for the pull request)
  • Added focus styles to the dismissiable navigation button in Frame (#3936)
  • Fixed virtual cursor leaving dialog in Modal, Navigation and Sheet (#3931)
  • Fixed Modal removing focus from internal elements (#3964)
  • Simplified output of Badge's css (#3950)
  • Fixed click propagation that was preventing the Tooltip to open when used as suffix on a TextField (#3959)
  • Made items in ActionList more clear in high contrast mode (#3971)
  • Fixed the MediaCard thumbnail’s corner roundness, so it wouldn’t overflow out of the parent Card (#3974)
  • Fixed Tabs layout issue on browser resize (#3980)
  • Fixed ActionList Item not disabling properly when url prop is passed (#3979)
  • Update IndexTable's checkbox header to be aligned with other headers (#3990)
  • Fixed CheckableButton missing border when focused (#3988)
  • Fixed accessibility issue on Tabs disclosure popover on close (#3994)
  • Fixed accessibility issue when tabbing into IndexTable (#4004)
  • Fixed an issue where inline code would be hard to select (#4005)
  • Update Toast close button alignment for small views (#4006)
  • Fixed Collapsible bug where animation complete logic was being prematurely triggered by transitions in the children (#4000)
  • Fixed IndexTable bug where bulk actions are operable when no rows are selected (#4009)
  • Fixed CheckableButton missing border when focused (#3987)
  • Removed all outline and borderinstances of -ms-high-contrast as it is non-standard (#3962)
  • Fixed Autocomplete popover height not being calculated correctly (#4015)

Documentation

  • Added an example for the onRemove prop to Tag and clarified that no remove button is rendered when onClick is set (#2987)

Development workflow

  • Convert List, Tabs.List, Connected.Item and Filter.ConnectedFiltterControl.Item to be functional components (#3961)

Don't miss a new polaris release

NewReleases is sending notifications on new releases.