github Shopify/polaris v5.13.0

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

Enhancements

  • Updated OptionList selected styles (#3633)
  • Added the ability to hide the clear filter button on the filter component (#3049)
  • Right-align disclosure when using textAlignLeft for Button (#3709)
  • Remove all transitions from Button (#3709)
  • New select option for disclosure in Button (#3709)
  • Conveyed DatePicker more clearly to screen readers (#3660)
  • Added accessibilityLabels prop to Pagination (#3667)
  • New autofocusTarget prop to enhance autofocus options on Popover (#3600)
  • Added ability to hide query text field in Filters component using hideQueryField prop (#3674)
  • Added tabIndex to Scrollable for keyboard focus (#3744)
  • Added accessibility label prop to UserMenu and Menu subcomponents in TopBar (#3659)
  • Add aria-label to the Loading bar in Frame (#3770)
  • Updated Collapsible to be a functional component (#3779)
  • Coverted TooltipOverlay to a functional component (#3631)
  • New ariaDescribedBy prop for Button (#3664)
  • Changed the way sub navigation menus are rendered for improved accessibility (#3661)

Bug fixes

  • Fixed an accessibility issue where high contrast styles wouldn’t be applied to the Tag component (#3810)
  • plain variant children no longer remain visible while loading for Button (#3709)
  • No longer spin disclosure 180deg when toggling between up and down on Button (#3709)
  • Prevent layout shift when toggling “filled” variants on Button (#3709)
  • Fixed FocusManager from tracking inactive items that prevented trap focusing(#3630)
  • Added escape keybind to Tooltip (#3627)
  • Removed extra bottom border on the DataTable and added curved edges to footers (#3571)
  • Button: loading no longer sets the invalid role="alert" (#3590)
  • Added semantic headers to Filters (#3629)
  • Fixed Filters not announcing applied filters (#3632)
  • Removed tabIndex=-1 from Popover when preventAutoFocus is true (#3595)
  • Fixed Tooltip not being read properly by screen readers(#3631)
  • Fixed Modal header border color (#3616)
  • Added focus styles to CloseButton in Modal (#3628)
  • Fixed Filters duplicated ConnectedFilter ids (#3651)
  • Fixed Banner secondaryAction only rendering if action is set (#2949)
  • Added a alwaysRenderCustomProperties to ThemeProvider for elements that render outside of the DOM tree to their parent context (#3652)
  • Fixed keyboard interactions for the Tab component (#3650)
  • Fixed TrapFocus disallowing focus inside Portal (#3790)
  • Fixed keyboard interaction when selected Tab was focused and rendering the wrong ::before colour (#3669)
  • Added focus ring to disclosure tab when tabbing with keyboard(#3675)
  • Fixed windows high contrast mode on hover within disclosure menu and displaying active state upon click for ::before (#3675)
  • Removed aria-selected from ActionList as it is not a selectable list (#3725)
  • Moved aria-role="combobox" in Autocomplete from the div to the input (#3727)
  • Removed aria-multiline in Input when false or undefined (#3727)
  • Removed aria-multiselectable from OptionList (#3729)
  • Replaced button with div in RangeSlider for correct semantics when using role="slider" (#3730)
  • Replaced React.Fragment with li in ResourceList spinner for valid markup (#3732)
  • Fixed clear button in TextField unintentionally closing Popover when clicked (#3688)
  • Added focus styles to the clear button in TextField (#3688)
  • Increased contrast of navigation text color (#3742)
  • Removed -ms-high-contrast media query from ms-high-contrast-outline as it is non-standard and updated the outline color from windowText to transparent (#3775).
  • Fixed Collapsible expand and collapse animation (#3779)
  • Fixed a bug in Page where re-rendering of secondaryActions could cause layout jittering (#3641)

Development workflow

  • Replaced Travis with GitHub actions (#3739)

Code quality

  • Removed skipped accessibility tests and fixes component accessibility issues (#3721)
  • Extracted TagsWrapper from Filters for testability (#3688)

Deprecations

  • stretchContent has been replaced by textAlign="left" + fullWidth for Button (#3709)
  • Deprecated Popover's prop preventAutofocus. Use autofocusTarget instead (#3602)

Don't miss a new polaris release

NewReleases is sending notifications on new releases.