Releases: primer/react
Releases · primer/react
v12.1.0
v12.0.1
v12.0.0
v11.0.0
v10.0.1
v10.0.0
v9.0.0-beta
🚨 Breaking Changes 🚨
- The Dropdown component has been refactored and has a fully new API, included new nested components:
Dropdown.Button
,Dropdown.Menu
andDropdown.Item
. Check out the Dropdown documentation for more details: https://primer.style/components/docs/Dropdown
💅 Enhancements
- Replacing remaining uses of
themeGet
with customget
from our constants file #390 - Refactored Dropdown component #391
- Add fontStyle prop to TYPOGRAPHY #388
🐛 Bug Fixes
- Remove default value of
div
fromis
prop on Button #386
📝 Documentation
- Updated theming docs #385
v8.2.0-beta
Accidentally versioned this as 8.2.0-beta when it should have been 8.1.0-beta, so there is a skipped version.
💅 Enhancements
- Adds
is
prop to a few more components 🙌
🐛 Bug fix
- Moves
styled-components
to dependencies instead of devDependencies
v8.0.0-beta
❌ Breaking Changes ❌
- The OcticonButton component has been removed. use
<Link><Octicon/><Link>
instead #368 - CircleBadge uses
CircleBadge.Icon
now instead of using anOcticon
#377
💅 Enhancements
- All components are now using styled-components, and no longer rely on Primer CSS class names 🙌
📝 Documentation
- Documentation has been updated for the changes above ☝️
v7.0.0-beta
🚨 Breaking Changes
- Removed default value for
bg
in BorderBox
💅 Enhancements
- Removed
flex
from FLEX_CONTAINER props and put it in FLEX_ITEM #347 - Stop concatenating
COMMON
into other categories insystem-props.js
and instead do it within each component to make this more explicit #347 - Extend Box from BorderBox, remove default value for bg #358
- Update Octicons #359