v18.0.0
🔨 Breaking changes
Some breaking changes that were meant to be included in v17.0.0 were mistakenly absent. Those changes are included in this release, and the v17.0.0 release notes have been edited to reflect the changes included in that release. Big thanks to @acknosyn for catching and fixing this. (#757, #758)
-
Dialogcomponents no longer render with a header by default. #736 @BinaryMuseMigration strategy: change any
Dialogcomponent with atitleprop set as follows:<Dialog title="...title..."> ...content... </Dialog>
to
<Dialog> <Dialog.Header>...title...</Dialog.Header> ...content... </Dialog>
-
Headingnow renders anh2by default instead of anh1#716 @taylorcjohnsonMigration strategy: change any use of the
Headingcomponent without anasprop:<Heading>...</Heading>
to
<Heading as="h1">...</Heading>
🐛 Bug Fixes
- Update box shadow to match Primer CSS Next #732 @colebemis