Skip to content

@primer/react-brand@0.34.0

Latest
Compare
Choose a tag to compare
@primer-css primer-css released this 12 May 15:17
· 2 commits to main since this release
0a48c63

Minor Changes

  • #547 9cef031 Thanks @mperrotti! - Adds a Tooltip component.

    Example:

    <Tooltip text="Hello, Tooltip!">
      <Button>Hover me</Button>
    </Tooltip>

Patch Changes

  • #588 a600e38 Thanks @rezrah! - Added larger row gaps in Grid at wider breakpoints, which were previously missing. Now consistent with column gaps.

  • #587 16b87f1 Thanks @joshfarrant! - Add trailingComponent prop to CTABanner

  • #588 a600e38 Thanks @rezrah! - Added borderRadius prop to Image component.

  • #588 a600e38 Thanks @rezrah! - Added new monospace option to Heading and Text font property.

  • #584 682df70 Thanks @mgriffin! - Adds a missing space around font-size calculation in the IDE component

  • #588 a600e38 Thanks @rezrah! - Added minimal Card variant, allowing for alternative presentation, with minimal internal padding.

    <Card ctaText="Discover how" href="https://github.com" variant="minimal">
      <Card.Heading>Collaboration is the key to DevOps success</Card.Heading>
      <Card.Description>Everything you need to know about getting started with GitHub Actions.</Card.Description>
    </Card>
  • #588 a600e38 Thanks @rezrah! - - Reduced sizes for all headings in Prose by two positions on the type scale. E.g. h2 previously 64px, now 40px.

    • Added editorial variant to Prose for alternative presentation. Provides more relaxed spacing and presentation for child elements.
  • #585 a033995 Thanks @MelissaPastore! - Update SubNav stylesheet to exclude Subnav links with aria-current set to "false" from active link styling