7.0.0-beta.5
Pre-release@comet/cms-site@7.0.0-beta.5
Major Changes
-
7f1e784: Remove
next/link
legacy behavior as default behaviorPreviously, Next required the
Link
component to have a child<a>
tag. To style this tag correctly in the application, none of the library link blocks (DamFileDownloadLinkBlock
,ExternalLinkBlock
,EmailLinkBlock
,InternalLinkBlock
, andPhoneLinkBlock
) rendered the tag, but cloned the children with the correct props instead.However, since Next v13 the
Link
component no longer requires a child<a>
tag. Consequently, we don't need to render the tag for theInternalLinkBlock
(which usesLink
internally) anymore. In order to style all link blocks correctly, we now render an<a>
tag for all other link blocks.Upgrade
To upgrade, either remove all
<a>
tags from your link block usages, or add thelegacyBehavior
prop to all library link blocks.
@comet/admin@7.0.0-beta.5
Minor Changes
-
569ad04: Deprecate
SplitButton
,FinalFormSaveSplitButton
andSplitButtonContext
and remove all uses of these components in our librariesThe reason is that we decided to retire the SplitButton pattern.
@comet/cms-admin@7.0.0-beta.5
Minor Changes
-
569ad04: Deprecate
SplitButton
,FinalFormSaveSplitButton
andSplitButtonContext
and remove all uses of these components in our librariesThe reason is that we decided to retire the SplitButton pattern.