Skip to content
Compare
Choose a tag to compare
@primer-css primer-css released this 06 Jun 10:25
· 55 commits to main since this release
a86c930

See documentation for this release

Patch Changes

  • #1044 8a1bb23 Thanks @rezrah! - Increase specificity of custom fill styles in PricingOptions.FeatureListItem and UnorderedList.Item. This update ensures that the value of leadingVisualFill takes a higher precedence over rules that might otherwise override it.

  • #1042 50705e3 Thanks @rezrah! - Add Hero.Video slot to Hero for inserting custom videos.

    <Hero>
      <Hero.Heading>Your super sweet hero heading</Hero.Heading>
      <Hero.Video>
        <VideoPlayer title="Your custom video">
          <VideoPlayer.Source src="./example.mp4" type="video/mp4" />
          <VideoPlayer.Track src="./example.vtt" default />
        </VideoPlayer>
      </Hero.Video>
    </Hero>

    Refer to Storybook for more usage examples.

  • #993 1e970b6 Thanks @joshfarrant! - - Update accessible label of SubNav submenu toggle button

    • Update accessible label of ActionMenu dropdown toggle button
  • #1009 b3ba1dc Thanks @joshfarrant! - Accessibility fixes to Pagination component

    • Fixed a bug where the "..." button was focusable
    • Fixed a bug where the "Previous" and "Next" buttons had the role "link" instead of "button"
    • Fixed a bug where the "Previous" and "Next" buttons lost their aria-label when disabled
  • #1035 4b854e6 Thanks @danielguillan! - Added a gap prop with a new condensed option to LogoSuite.Logobar.

    <LogoSuite>
      <LogoSuite.Heading visuallyHidden>Heading</LogoSuite.Heading>
      <LogoSuite.Logobar gap="condensed">{/* ... */}</LogoSuite.Logobar>
    </LogoSuite>