Skip to content

Releases: primer/react

v14.3.1

08 Oct 20:27
34c1cfb

Choose a tag to compare

🐛 Bug Fix:

  • Fixes ButtonGroup styles

v14.3.0

01 Oct 17:12
ad80cdd

Choose a tag to compare

💅 Enhancements

  • New prop for <Link />: muted - uses light gray color for link text, and blue on hover. #567

Fixed props for TypeScript

26 Sep 23:23
2888c48

Choose a tag to compare

Fixed a 🐛 where certain Props interfaces did not extend the correct HTMLAttribute types.

v14.1.0

25 Sep 21:28
6a8d266

Choose a tag to compare

Polyfills the details element for users on Edge 🎉

v14.0.0

25 Sep 18:33
b583571

Choose a tag to compare

🚨 Breaking Changes 🚨

  • Dropdown & Details components refactored #499
    Details and Dropdown no longer support the toggle render prop.
    Details uses defaultOpen to set the initial state for open/closed

💅 Enhancements

  • Only close Details on click outside #517
  • Have primer components extend props for their native elements. #544

v13.4.0

29 Aug 19:45
2d7de96

Choose a tag to compare

💅 Enhancements

  • Add @types/styled-system as a dependency #531
  • Change @primer/octicons-react to not be strictly versioned (in PR branch)
  • TypeScript definitions for Dialog component #509

✨ New Components

v13.3.0

01 Aug 20:31
1c5c316

Choose a tag to compare

🐛 Bug fixes:

  • Removed text decoration on button #503
  • Fixed Heading margin #506
  • Fixed broken link in docs #505

💅 Enhancements

  • Added whitespace prop to TYPOGRAPHY #506

v13.2.0

19 Jul 20:55
a42d5ea

Choose a tag to compare

Release 13.2.0

✨ New Components

  • Adds Grid component and GRID system prop category #485
  • Adds ButtonGroup component #495
  • Adds Dialog component #480

💅 Enhancements

  • Exports themeGet function that wraps @styled-system/theme-get with Primer theme fallback values #492
  • Adds TypeScript types! 🎉 🎉 🎉 #490
  • Updates aria-label APIs #498
  • Updates as prop documentation #497
  • Allows Link to render any valid component type #488

Big thank you to @mxstbr and @colebemis for your contributions to this release! 💖

v13.1.0

26 Jun 17:58
d7ad931

Choose a tag to compare

💅 Enhancements

  • Added display to COMMON group of props
  • Make React version not strict
  • Upgrades to Octicons 9.0.0, makes them a regular dep again Fixes: #479
  • Upgrade Styled System to v5!
  • Removes FLEX_CONTAINER and FLEX_ITEM prop categories for a singular FLEX category that contains everything. Still keeping the Flex.Item component around for backwards compatibility.

v13.0.0

23 May 19:58
b3c2ec7

Choose a tag to compare

🚨 Breaking Changes 🚨

  • Removed Donut component #457
  • Made Octicons and React external #459 Users will now need to manually install React and Octicons in their project. Helps reduce bundle size.

💅 Enhancements

  • Upgraded styled-system to v4 for bundle size improvements :)

🚀 41kb gzipped to 13kb gzipped! cc @mxstbr