Skip to content

Releases: primer/figma

@primer/[email protected]

28 Feb 14:51
Compare
Choose a tag to compare

Tokenized shadows

Primer web now comes with shadow styles that use primer primitives (Figma variables). This means they react to changes of the theme, so when you change to any of the new color modes, the shadow will change as well.

Tip

Only elements with Clip content set to true get the outline border in dark modes.

shadows

@primer/[email protected]

22 Feb 09:50
Compare
Choose a tag to compare

🎨 New color modes

We are now on Figma enterprise, which allows us to add all 9 color modes.

Color modes

This means that if you are using primer web components or build your own designs using the primer primitive tokens (Figma variables, NOT styles) you can preview your designs in all 9 color modes.

@primer/brand v1.4.0

22 Feb 08:35
Compare
Choose a tag to compare

Enhancements

Fixes

  • Fixed a layout bug in the ButtonGroup component.

New PricingCards component

@primer/[email protected]

09 Feb 07:40
Compare
Choose a tag to compare

Update Textarea

CleanShot 2024-02-09 at 08 37 51@2x

The Textarea component was vastly simplified and aligned to the code implementation.

  • inset property was removed in favour of a simpler contrast property
  • size property was removed in alignment with the implementation
  • text type property was fixed by integrating it into the component rather than nesting, this also makes using it much easier
  • Label properties were hoisted to be directly available in the component

@primer/brand v1.3.0

18 Jan 18:12
Compare
Choose a tag to compare

Enhancements

  • Added support for settting a selectionVariant prop in the ActionMenu component.
  • Added experimental support for variables. IMPORTANT: We're implementing Primitives v8 in Primer Brand, which will impact the currently available.
  • Refactored the Card component to a single, simplified variant and use variables across the board.

ACtionMenu now supports two selectionType variants

@primer/web v1.7.0

12 Jan 14:20
Compare
Choose a tag to compare

Updates

  • Updated correct inset shadow in text input and textarea
    CleanShot 2024-01-12 at 15 18 23@2x

  • Updated Button and IconButton to have simpler setup with fewer layers

  • Updated components that use Button and IconButton to use the new version.

@primer/web v1.6.0

05 Jan 10:42
Compare
Choose a tag to compare

Update

Updated structure of Button component, using new design tokens and removing superfluous layers.

Buttons

@primer/web v1.5.0

21 Dec 14:42
Compare
Choose a tag to compare

Added

  • added loading button
    CleanShot 2023-12-21 at 15 33 10@2x

  • added loading iconButton
    CleanShot 2023-12-21 at 15 33 36@2x

Update

  • removed the disabled state from the toggle switch
    CleanShot 2023-12-21 at 15 30 58@2x

  • added new sub component for action list: loading state for list item
    CleanShot 2023-12-21 at 15 30 58@2x

@primer/web v1.4.0

15 Dec 09:30
Compare
Choose a tag to compare

🎉 Added

Skeleton loader component

Skeleton loader

Added Grid Styles

new grid styles

Updates

CommentBox

  • Added border around inner input
    New commentBox

@primer/brand v1.2.0

12 Dec 09:30
Compare
Choose a tag to compare

Enhancements

The new EyebrowBanner component
Different configuration examples of the new EyebrowBanner component

AnchorNav with multiple and single action configurations
An Example showing anchor nave with multiple and single action variants

Notes

Starting from version 1.2.0 (this version), Primer Brand Figma will adhere to the SemVer convention. New releases will be published on github.com/primer/figma, along with Primer Web, and shared through the usual Slack channels.