github Shopify/polaris @shopify/polaris@10.11.0

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

Minor Changes

  • #7572 20c8cad81 Thanks @laurkim! - Replaced usage of text components in component stories with Text component

  • #7621 6e9edd3b5 Thanks @aveline! - - Added border width prop to Box

    • Exported color token subset alias types from tokens package and remove from Box
  • #7068 ccdcea22e Thanks @laurkim! - Deprecated DisplayText, Heading, Subheading, Caption, TextStyle, and VisuallyHidden components

Patch Changes

  • #7644 b3e73ee04 Thanks @kyledurand! - Added horizontal spacing defaults to Bleed

  • #7530 79d92a820 Thanks @samrose3! - Replaced all typography components with the new Text component.
    Added support for text-inverse color type on Text.
    Removed references to the following mixins to use the new Text or tokens directly in classes: text-style-body, text-style-heading, text-style-subheading, text-style-caption, text-style-button, text-style-button-large, text-emphasis-subdued, text-emphasis-strong, nav-item-text-attributes.

  • #7577 db951f855 Thanks @RickyMarou! - Page component: display subtitle even when it's the only header prop set

  • #7633 1364be7f1 Thanks @kyledurand! - Renamed alignY prop to alignBlock on Inline
    Added more flex properties to align on Inline

  • #7443 7a6fb7c1c Thanks @iAmNathanJ! - Improve performance of the Scrollable component with React 18

  • #7625 9f8b651dd Thanks @kyledurand! - Removed wrap children with div from Inline component

  • #7593 addd6bcdd Thanks @kyledurand! - Improved comments across layout components, changed default spacing of Inline component to match AlphaStack

  • #7600 f006509be Thanks @billycai! - Add spacing between title and metadata for Page component

  • #7563 a9051d678 Thanks @chazdean! - Updated Inline component docs and default prop values

  • #7635 3cb5377a6 Thanks @iAmNathanJ! - Fixed Scrollable component to match existing onScrolledToBottom logic

  • Updated dependencies [432bdd5fe, 6e9edd3b5, 35be8a003]:

    • @shopify/polaris-icons@6.5.0
    • @shopify/polaris-tokens@6.3.0

Don't miss a new polaris release

NewReleases is sending notifications on new releases.