🔗 See documentation for 0.45.0
Minor Changes
-
#860
2502f658
Thanks @rezrah! - Decreased the default heading size inRiver
component. Usesize="4"
to restore the previous text size, if needed. -
#863
00ef0694
Thanks @rezrah! - Added a newFrostedGlassVFX
component for applying a frosted glass-effect texture to nested components.⚠️ This is an experimental component, and not tested for compatibility with other Primer Brand components.When using this component, ensure there is sufficient contrast between the foreground text and the background imagery, as the frosted glass effect can significantly reduce legibility.
Usage example:
<FrostedGlassVFX> <Testimonial variant="default"> <Testimonial.Quote> GitHub helps us ensure that we have our security controls baked into our pipelines all the way from the first line of code we're writing. </Testimonial.Quote> <Testimonial.Name /> <Testimonial.Avatar /> </Testimonial> </FrostedGlassVFX>
Patch Changes
-
#859
cd18615f
Thanks @rezrah! -AnchorNav
component updates:AnchorNav.Action
andAnchorNav.SecondaryAction
now appear visually smaller by default. Usesize="medium"
if the previous, larger buttons are needed.AnchorNav.Action
andAnchorNav.SecondaryAction
each support avariant
prop, allowing primaryButton
visuals to be optionally applied.
-
#866
8223135d
Thanks @rezrah! - Fixed delayed appearance of heading separator inSubNav
. -
#865
0401cc5c
Thanks @joshfarrant! - Style improvements to theSubNav
component.- Fixed a bug in
SubNav.Link
elements witharia-current
, which caused inconsistent appearance across viewports.
- Fixed a bug in
-
#863
00ef0694
Thanks @rezrah! - Added newTestimonial
variants.Use
variant="default"
orvariant="subtle"
for an alternative visual appearance. The current design will be referred to asminimal
going forward. -
#867
4bac3868
Thanks @rezrah! -Hero.Description
updated to supportvariant="muted"
-
#868
c0aa598d
Thanks @rezrah! -SubNav.Link
now supportsvariant="default"
to help increase contrast and legibility on non-standard backgrounds.