Releases: primer/brand
@primer/[email protected]
@primer/[email protected]
@primer/[email protected]
@primer/[email protected]
Patch Changes
-
#1121
cb34663
Thanks @rezrah! - Fix layout shift in thePricingOptions
feature list accordionThe 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-sidewindow
size even when explicitly passedexpanded={true}
orexpanded={false}
, which shouldn't depend on viewport size. -
#1120
c7d36b9
Thanks @rezrah! - Fix layout shift inSubNav
by ensuring separator visibility is determined pre-hydration. -
#1124
826cd81
Thanks @rezrah! - Fixed page layout shift caused by theAnchorNav
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.
@primer/[email protected]
@primer/[email protected]
@primer/[email protected]
Minor Changes
-
#1101
7d344dc
Thanks @joshfarrant! - Added play/pause control to theIDE
component.⚠️ Removed theshowReplayButton
prop as the play/pause control replaces its functionality, and is always visible.
Patch Changes
-
#1113
30d9f1f
Thanks @danielguillan! - Updated the layout of single itemPricingOptions
-
#1111
8dc3fc9
Thanks @joshfarrant! - Improvements to the styling of various components when viewed in Windows High Contrast Mode.FAQGroup
: Improved appearance for the selected tabPagination
: Improved appearance for the current page itemVideoPlayer
: Improved legibility for all text and controlsCheckbox
: Improved focus and checked appearanceRadio
: Improved focus and checked appearanceTextInput
: Improved focus appearanceTextarea
: Improved focus appearanceActionMenu
: Improved focus appearance
-
#1114
3a62a9e
Thanks @rezrah! - Added support for<table>
elements in theProse
component. Tables now render with improved visual appearance. -
#1102
5ef7878
Thanks @joshfarrant! - TheButton
component now automatically applies semantically correct disabled attributes based on the rendered element type. E.g.disabled
for button elements andaria-disabled
for other elements.⚠️ Please review usage ofButton
in your application code or tests, to ensure that you are not relying on the previously incorrect markup. For example, if you previously targeteda[disabled]
, you should now targeta[aria-disabled]
instead.
@primer/[email protected]
Patch Changes
- #1113
30d9f1f
Thanks @danielguillan! - Updated the layout of single itemPricingOptions
@primer/[email protected]
@primer/[email protected]
See documentation for this release
Patch Changes
-
#1084
d0757df
Thanks @joshfarrant! - Improved keyboard navigation inSubNav
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 toVideoPlayer
component -
#1072
775e640
Thanks @joshfarrant! - Fixed a bug in theSubNav
component where the separator could appear on a new line during initial render in Safari. -
#1082
6531558
Thanks @joshfarrant! - Internal refactoring toSubdomainNavBar
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 theProse
component. Now supports theyoutube-nocookie.com
hostname. -
#1089
afd46c1
Thanks @joshfarrant! - Improved focus styles for links insideTimeline.Item
. -
#1087
35f3e3e
Thanks @joshfarrant! - Added visually-hidden, non-breaking spaces between each text item in theEyebrowBanner
component. This improves announcements in screen readers, where they would previously be announced without a pause.