[Snyk] Upgrade @primer/react-brand from 0.27.1 to 0.40.1 #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade @primer/react-brand from 0.27.1 to 0.40.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 193 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: @primer/react-brand
See documentation for this release
Patch Changes
#754
d061705c
Thanks @ joshfarrant! - TheRiverStoryScroll
component now enforces that its children must beRiver
components through type checking, instead of relying on a run-time check.#739
24bd6338
Thanks @ joshfarrant! - Fixed a bug in theSubNav
component where the submenu toggle was rendered as an empty button on mobile viewports.#736
73cf706e
Thanks @ lukasoppermann! - Replaced the--brand-VideoPlayer-tooltip-padding
design token in theVideoPlayer
component with two new tokens that separately account for padding along each axis:--brand-VideoPlayer-tooltip-padding-inline
and--brand-VideoPlayer-tooltip-padding-block
.Note: This update does not introduce any visual changes. Please update any manual references to
--brand-VideoPlayer-tooltip-padding
to use the new tokens.#722
99328ce0
Thanks @ danielguillan! - Added support for<b>
elements toBento
,RiverBreakout
,SectionIntro
,Timeline
, andTestimonial
components, as<em>
is semantically interpreted by screen readers for emphasis, while<b>
allows duo-tone text to function purely as a visual decoration.Usage example:
#733
2dcb9bad
Thanks @ danielguillan! - Fixes Label component multiline reflow#746
4af8db14
Thanks @ joshfarrant! - Fixed a bug whereCard
components rendered within a dark colour mode would not take the full width of their container.See documentation for this release
Minor Changes
98fa3a2a
Thanks @ rezrah! - Improved React 19 compatibility by treatingreact-dom/client
andreact/jsx-runtime
as external dependencies of the project. This change resolved a reported conflict with the latest React 19 release candidate.Minor Changes
#717
24fc6d02
Thanks @ rezrah! - Improved a11y labelling in various components.Please note these changes could affect any behavioral tests, which rely on accessible matchers such as
getByRole
.SubdomainNavBar
search buttonaria-label
changed from 'search' to 'Toggle search bar'SubdomainNavBar
removal of unnecessaryaria-label
'global breadcrumb'Checkbox
addition of new label forchecked
state icon as 'Checkmark'Checkbox
addition of new label forindeterminate
state icon as 'Dash icon'#707
715dfbb3
Thanks @ rezrah! - NewFootnotes
component generally available🔗 Read the documentation for usage guidelines and examples
Patch Changes
#711
1cde8ef2
Thanks @ joshfarrant! - UpdatedSubNav
links and submenus to useul
andli
elements — instead ofdiv
elements — to communicate the hierarchy of the navigation to assistive technologies.#700
47908f1e
Thanks @ rezrah! -ActionMenu
button no longer truncates longer labels. Now follows WCAG criterion around text reflow.#714
fb1980b1
Thanks @ rezrah! - Hide paged items in Pagination component on narrow viewports to prevent horizontal scrolling and offer improved accessibility by default.Use
showPages
to re-enable paged items if required:See documentation for this release
Minor Changes
#691
34e7aa8b
Thanks @ joshfarrant! - > Warningvariant
prop of theLogoSuite
component. Ifvariant
isundefined
then eitheremphasis
ormuted
styles are automatically applied depending on the number of logos in theLogoBar
. Five or fewer logos apply theemphasis
style, while six or more use themuted
style.LogoSuite
size on mobile viewports.Patch Changes
5f1181be
Thanks @ joshfarrant! - Improved screen reader accuracy of column indexes inComparisonTable
.Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: