Releases: primer/brand
@primer/[email protected]
@primer/[email protected]
@primer/[email protected]
Patch Changes
-
#1075
a2c84fd
Thanks @joshfarrant! - AddedonNarrowMenuToggle
prop toSubdomainNavBar
. When the menu is opened or closed on narrow viewports, the providedonNarrowMenuToggle
callback is called with the new open state.This prop can be used to ensure the main content area is hidden from assistive technologies when the menu is open.
-
#1074
bcf5bda
Thanks @rezrah! - Improved styling for<video>
elements and Youtube embeds in theProse
component -
#1081
b2ed501
Thanks @rezrah! - UpdateduseProvidedRefOrCreate
to support functional refs. Backwards compatibility withRefObject
remains unchanged.This update improves support for functional refs in the following components:
Accordion
,Checkbox
,Radio
,SubNav
,Tooltip
andVideoPlayer
. -
#1073
cfe8c0b
Thanks @rezrah! - Updated visual heading hierarchy in theProse
component.h3
reduced fromsize-500
tosize-400
h4
reduced fromsize-400
tosize-300
h5
reduced fromsubhead-large
tosubhead-medium
h2
andh6
are unchanged
This update makes it easier to visually distinguish between
h2
andh3
elements on the page, which were previously too similar in size.
@primer/[email protected]
@primer/[email protected]
@primer/[email protected]
See documentation for this release
Patch Changes
-
#1048
3512d15
Thanks @joshfarrant! - Children passed toCard
component now appear in the DOM in a predefined order to improve the experience of screen reader users. -
#1070
86e8e8c
Thanks @joshfarrant! - Fixed a bug where anFAQ.Heading
used within anFAQGroup
wouldn't respect the providedas
prop.
@primer/[email protected]
@primer/[email protected]
@primer/[email protected]
See documentation for this release
Patch Changes
-
#1052
7c16517
Thanks @joshfarrant! - TheSubNav
component now traps focus inside the expanded menu on narrow viewports. -
#1051
2946071
Thanks @joshfarrant! - Tooltips in theVideoPlayer
component now remain briefly visible after the pointer is moved away from the toggle. This small delay improves general usability and helps meet the WCAG 1.4.13 criterion for accessible hover interactions with tooltips. -
#917
0ca0f08
Thanks @rezrah! - Internal change to CSS module type definitions in theIDE
component. No user-facing updates toIDE
presentation or functionality are expected. -
#1050
6772b34
Thanks @joshfarrant! - Added anaria-label
to the GitHub logo in theVideoPlayer
component -
#1055
3419824
Thanks @rezrah! - Restoreidle
option toLogoSuite.Logobar
for enabling a default paused state, and programmatic control over animation.Use
marqueeSpeed="idle"
to display a logo bar that is initially paused.<LogoSuite> <LogoSuite.Heading /> <LogoSuite.Logobar marquee marqueeSpeed="idle" /> </LogoSuite>