Skip to content

Releases: primer/brand

@primer/[email protected]

08 Oct 13:34
c391b4b

Choose a tag to compare

@primer/[email protected]

10 Sep 14:29
4b7178b

Choose a tag to compare

🔗 See Primer Brand documentation for 0.58.1

Patch Changes

@primer/[email protected]

10 Sep 14:29
4b7178b

Choose a tag to compare

@primer/[email protected]

10 Sep 14:29
4b7178b

Choose a tag to compare

@primer/[email protected]

08 Sep 11:59
3f2719f

Choose a tag to compare

🔗 See Primer Brand documentation for 0.58.0

Minor Changes

  • #1151 3e39ae1 Thanks @rezrah! - Updated the minimum Node.js dependency for @primer/react-brand to match the current LTS version: v22

    Also updated webpack and various other internal dependencies.

  • #1132 072f640 Thanks @rezrah! - Added new Tabs component.

    Example:

    <Tabs {...args} aria-label="Tabs">
      <Tabs.Item>Tab one</Tabs.Item>
      <Tabs.Item>Tab two</Tabs.Item>
    
      <Tabs.Panel>
        <Text>Panel one</Text>
      </Tabs.Panel>
      <Tabs.Panel>
        <Text>Panel two</Text>
      </Tabs.Panel>
    </Tabs>

Patch Changes

  • #1133 23a0d50 Thanks @joshfarrant! - Added some comments to the Accordion component. This is a no-op update.

  • #1132 072f640 Thanks @rezrah! - Updates to useTabs hook:

    • Added an optional externalRef parameter to getTabProps function for improved forwardRef support.
    • Fixed onTabActivate callback to only trigger when switching between tabs (not on initial mount)
    • Optimized focus state management by preventing unnecessary state updates when focus doesn't change.
    • Removed redundant state updates in focusTab and onTabFocus functions

    This affects the following components, which use this hook:

    • Tabs component
    • IDE component

@primer/[email protected]

08 Sep 11:59
3f2719f

Choose a tag to compare

@primer/[email protected]

08 Sep 11:59
3f2719f

Choose a tag to compare

@primer/[email protected]

21 Aug 20:02
5e3cffb

Choose a tag to compare

Patch Changes

@primer/[email protected]

21 Aug 20:02
5e3cffb

Choose a tag to compare

@primer/[email protected]

21 Aug 20:01
5e3cffb

Choose a tag to compare