6.14.0
@comet/admin@6.14.0
Minor Changes
-
2fc764e: Add
OnChangeField
helper to listen to field changesExample
<OnChangeField name="product"> {(value, previousValue) => { // Will be called when field 'product' changes }} </OnChangeField>
Patch Changes
- 012a768: Fix infinite update loop in
useAsyncOptionsProps
@comet/admin-icons@6.14.0
Minor Changes
- efccc42: Add
YouTube
andVimeo
icons
@comet/admin-theme@6.14.0
Patch Changes
- 2de81e4: Fix top position of end-adornment in MuiAutocomplete
@comet/cms-admin@6.14.0
Minor Changes
-
73dfb61: Add
PhoneLinkBlock
andEmailLinkBlock
-
9055ff7: Remove label from
DamVideoBlock
file fieldThis was done to streamline it with the
DamImageBlock
. -
dddb03d: Add capability to generate alt texts and titles for images in DAM
You can find instructions for adding this feature to your project in the docs.
-
acfcef9: The
documentTypes
prop ofPagesPage
now also accepts a function mapping categories to document typesPreviously, only the supported documentTypes of the current category could be passed to the
PagesPage
.
That made it impossible to verify if a document can be moved to another category.
If a document was moved to a category that didn't support its type, the PageTree crashed.If a mapping function is passed to
documentTypes
, documents can only be moved to categories that support their type.<PagesPage - documentTypes={pageTreeDocumentTypes} + documentTypes={(category): Record<DocumentType, DocumentInterface> => { + if (category === "TopMenu") { + return { + Page, + PredefinedPage, + }; + } + + return { + Page, + PredefinedPage, + Link, + }; + }} // ... />
-
61a43d2: Add a menu item to
PixelImageBlock
,SvgImageBlock
andDamVideoBlock
that opens the chosen file in the DAMNote: This feature only works if the
DependenciesConfig
is configured forDamFile
:// App.tsx <DependenciesConfigProvider entityDependencyMap={{ + DamFile: createDamFileDependency(), // ... }} >
@comet/blocks-api@6.14.0
Minor Changes
-
73dfb61: Add
PhoneLinkBlock
andEmailLinkBlock
-
87ef5fa: YouTubeVideoBlock: Add validation for identifier
Must be either a valid YouTube URL or video identifier.
@comet/cms-api@6.14.0
Minor Changes
-
73dfb61: Add
PhoneLinkBlock
andEmailLinkBlock
-
dddb03d: Add capability to generate alt texts and titles for images in DAM
You can find instructions for adding this feature to your project in the docs.
-
73dfb61: Add
IsPhoneNumber
andisPhoneNumber
validators to validate phone numbers
Patch Changes
- b7dbd7a: Export
DisablePermissionCheck
constant to enable usage in application code
@comet/cms-site@6.14.0
Minor Changes
- 73dfb61: Add
PhoneLinkBlock
andEmailLinkBlock