Skip to content

Releases: primer/brand

@primer/[email protected]

21 Aug 20:02
5e3cffb
Compare
Choose a tag to compare

Patch Changes

@primer/[email protected]

21 Aug 20:02
5e3cffb
Compare
Choose a tag to compare

@primer/[email protected]

21 Aug 20:01
5e3cffb
Compare
Choose a tag to compare

@primer/[email protected]

01 Aug 13:49
d37b628
Compare
Choose a tag to compare

Patch Changes

  • #1121 cb34663 Thanks @rezrah! - Fix layout shift in the PricingOptions feature list accordion

    The feature lists now respect their explicit expanded prop values on the initial render, and no longer apply default animations. This prevents layout shift in certain SSR contexts where the component was incorrectly relying on the client-side window size even when explicitly passed expanded={true} or expanded={false}, which shouldn't depend on viewport size.

  • #1120 c7d36b9 Thanks @rezrah! - Fix layout shift in SubNav by ensuring separator visibility is determined pre-hydration.

  • #1124 826cd81 Thanks @rezrah! - Fixed page layout shift caused by the AnchorNav component in a sticky state.

    Previously the AnchorNav would remove its computed height from the underlying page in sticky state. Now that lost space is compensated for to create a smoother scrolling experience.

🔗 Link to documentation

@primer/[email protected]

01 Aug 13:49
d37b628
Compare
Choose a tag to compare

@primer/[email protected]

01 Aug 13:49
d37b628
Compare
Choose a tag to compare

@primer/[email protected]

25 Jul 11:29
17c78df
Compare
Choose a tag to compare

🔗 Documentation link

Minor Changes

  • #1101 7d344dc Thanks @joshfarrant! - Added play/pause control to the IDE component.

    ⚠️ Removed the showReplayButton prop as the play/pause control replaces its functionality, and is always visible.

Patch Changes

  • #1113 30d9f1f Thanks @danielguillan! - Updated the layout of single item PricingOptions

  • #1111 8dc3fc9 Thanks @joshfarrant! - Improvements to the styling of various components when viewed in Windows High Contrast Mode.

    • FAQGroup: Improved appearance for the selected tab
    • Pagination: Improved appearance for the current page item
    • VideoPlayer: Improved legibility for all text and controls
    • Checkbox: Improved focus and checked appearance
    • Radio: Improved focus and checked appearance
    • TextInput: Improved focus appearance
    • Textarea: Improved focus appearance
    • ActionMenu: Improved focus appearance
  • #1114 3a62a9e Thanks @rezrah! - Added support for <table> elements in the Prose component. Tables now render with improved visual appearance.

    🔗 Refer to Prose documentation for usage examples

  • #1102 5ef7878 Thanks @joshfarrant! - The Button component now automatically applies semantically correct disabled attributes based on the rendered element type. E.g. disabled for button elements and aria-disabled for other elements.

    ⚠️ Please review usage of Button in your application code or tests, to ensure that you are not relying on the previously incorrect markup. For example, if you previously targeted a[disabled], you should now target a[aria-disabled] instead.

@primer/[email protected]

25 Jul 11:29
17c78df
Compare
Choose a tag to compare

Patch Changes

@primer/[email protected]

25 Jul 11:29
17c78df
Compare
Choose a tag to compare

@primer/[email protected]

15 Jul 14:40
76b8fdc
Compare
Choose a tag to compare

See documentation for this release

Patch Changes

  • #1084 d0757df Thanks @joshfarrant! - Improved keyboard navigation in SubNav anchor variant.

    The anchor-based submenu now appears after the main SubNav items in the focus order, and becomes visible when focussed.

  • #1085 61e9adc Thanks @joshfarrant! - Minor internal refactoring to VideoPlayer component

  • #1072 775e640 Thanks @joshfarrant! - Fixed a bug in the SubNav component where the separator could appear on a new line during initial render in Safari.

  • #1082 6531558 Thanks @joshfarrant! - Internal refactoring to SubdomainNavBar component to remove an unused prop — showOnlyOnNarrow — which was leaking into the DOM.

  • #1097 d7a954f Thanks @rezrah! - Add support for privacy-enhanced Youtube embeds in the Prose component. Now supports the youtube-nocookie.com hostname.

  • #1089 afd46c1 Thanks @joshfarrant! - Improved focus styles for links inside Timeline.Item.

  • #1087 35f3e3e Thanks @joshfarrant! - Added visually-hidden, non-breaking spaces between each text item in the EyebrowBanner component. This improves announcements in screen readers, where they would previously be announced without a pause.