Skip to content

Releases: primer/figma

@primer/figma-web-21-09-2023

21 Sep 12:44
Compare
Choose a tag to compare

💥 Breaking changes

  • removed: 🛑 Repo Head [Deprecated]
  • removed: 🛑 Filterlist.Item [Deprecated]
  • removed: 🛑 DropdownItem [Deprecated]
  • removed: 🛑 DropdownDivider [Deprecated]
  • removed: 🛑 Dropdown [Deprecated]
  • all components have been update to use primer/primitive v8 tokens so that you can use them together with the new v8 tokens that come with the library.
    While they are mostly a 1:1 match with the old style, there may be minor differences. Also, since this is not using the primitives library you can't use the "color mode" plugin anymore. Instead use Figmas internal collection mode switcher to change from light to dark mode.

🎉 Added

  • Color variable collection mode including background, foreground and border colors
  • Size variable collections base/size and functional/size including general size tokens, borderRadius, breakpoints and spaces
Screenshot 2023-09-21 at 14 09 10
  • FilterTabs
  • FilterTabs.Item
    Filter tabs

@primer/figma-web-14-09-2023

14 Sep 09:03
Compare
Choose a tag to compare

🎉 Added

  • Added primer/primitives as variables to the primer/web file. They are currently not being exported, but some components are already moved over to using variables. Those components can be changed from light to dark mode using the dropdown in the layer section on the right.
Screenshot 2023-09-14 at 08 54 26
  • Components that use v8 primitives are:

    • Banner
    • BranchName
    • Breadcrumbs
    • CounterLabel
    • Diffstat
    • Footer
    • Heading
    • Label
    • StateLabel
    • Link
    • Tooltips
  • Added automatic prototype setting to checkbox including activating checkbox using space when focused

Screenshot 2023-09-14 at 10 52 43

@primer/figma-web-11-09-2023

11 Sep 07:06
Compare
Choose a tag to compare

@primer/figma-web-08-09-2023

08 Sep 15:22
Compare
Choose a tag to compare

💥 Breaking changes

  • Removed old header (Navigation)

🎉 Added

Notification Indicator

Notification Indicator

A Figma-only component that wraps an element and adds a notification dot to the top right corner.

GlobalNav

Header

The GlobalNav is now available as a Figma component.

New variants for underlineNav

Screenshot 2023-09-08 at 09 40 45

In Figma the UnderlineNav now has a type property with the values: Repo, Org, User and Team. Selecting any will switch between pre-defined navigations for those sections.

TreeView

TreeView

Added TreeView component to Figma

@primer/figma-web@1.3.0

17 Feb 12:53
1a8c940
Compare
Choose a tag to compare

@primer/figma-web@1.2.0

15 Feb 10:39
daf2d98
Compare
Choose a tag to compare

@primer/web 2023-02-10

08 Feb 12:19
Compare
Choose a tag to compare

Minor Changes

Published 10/02/2023

by Lukas Oppermann

Component updates

New link component added

217834251-4c5cffc0-d159-44b4-bf6a-16673e6ca4e7

@primer/web 2023-01-27

27 Jan 14:14
65fdb1a
Compare
Choose a tag to compare

Figma Link

New components

  • heading

Heading component

Enhancements

  • simplified cursor component to only have one property
  • added note to indeterminate checkbox to explain why it may look different in your browser

@primer/web 2023-01-19

19 Jan 13:54
65fdb1a
Compare
Choose a tag to compare

Figma link

🚀 Enhancements

  • New contribution guidelines
  • Button component got a trailingVisual property
  • Button component property leadingIcon was renamed leadingVisual to be aligned with code implementation
  • Overview page was removed in favor of every component having a dedicated page in the sidebar that is sorted alphabetically

2021.11.24-PrimerWeb

24 Nov 16:57
966bb95
Compare
Choose a tag to compare

Primer Web

Figma link

🚀 Enhancements

  • New and improved Blankslate component. The component's variant properties now match those seen in the Primer ViewComponent implementation
  • New spinner component added. Use the spinner for loading frames. The spinner also has its animation built in and can be seen when viewing a prototype.

🐛 Bug fix

  • small outline labels corrected for 16px size
  • Large outline labels have been corrected to their correct size of 24px.
  • Text area padding-x has been corrected to be consistent with production at 12px for default text areas. Markdown textarea elements have 8px padding-x by default. (🙏 @ohjoycelau)
  • Update to AvatarStack > AvatarPair to correct constraints and frame size (🙏@ohjoycelau)
  • Aligned properties between single and multi select ActionList items to allow for icon swapping overrides to be carried over.
  • Tweaked some alignment settings in Overlay. Note: Figma is altering the constraints when a slot or OverlayHeader/OverlayFooter variant is changed. This is still being investigated but designers should be aware that manually changing constraints to "Fill container" may be necessary.