github Shopify/polaris @shopify/polaris@11.20.0

latest releases: @shopify/polaris@13.9.0, @shopify/polaris@13.8.1, @shopify/stylelint-polaris@16.0.5...
12 months ago

Minor Changes

  • #10477 790a001cd Thanks @aaronccasanova! - Updated semantic color tokens

  • #10478 8be227e0c Thanks @MaxCloutier! - Added allowFiltering prop on ActionList, and filterActions prop on Page Header

  • #9445 7be9c243a Thanks @m4thieulavoie! - Added support for subheaders and selection of a range of IndexTable.Rows -- See the With subheaders example on polaris.shopify.com for how to properly configure

    • IndexTable.Row
      • Added support for setting the indeterminate value on the selected prop
      • Added the selectionRange prop to specify a range of other consecutive, related rows selected when the row is selected
      • Added the rowType prop to indicate the relationship or role of the row's contents (defaults to data, subheader renders the row to look and behave like the table header row)
        Added support for setting accessibility attributes on IndexTable.Cell
    • IndexTable.Cell
      • Added the as prop to support rendering the cell as a th element if it is serving as a subheading cell
      • Added support for the headers attribute to manually associate all headers when the cell is described by more than its column heading
      • Added support for the colSpan attribute to specify the number of the columns that the cell element should extend to
      • Added support for the scope attribute to indicate whether the th is a header for a column, row, or group of columns or rows
  • #10490 863f15ff2 Thanks @mrcthms! - Add new IndexFiltersManager for allowing disabling of Page Header actions when in Filtering or EditingColumns mode

  • #10566 9fed74317 Thanks @mrcthms! - Fixed a bug in Filters where changes to the appliedFilters prop were not being handled

Patch Changes

Don't miss a new polaris release

NewReleases is sending notifications on new releases.