Skip to content

6.14.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Jun 10:43
· 1115 commits to main since this release
7bb17eb

@comet/admin@6.14.0

Minor Changes

  • 2fc764e: Add OnChangeField helper to listen to field changes

    Example

    <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 and Vimeo 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 and EmailLinkBlock

  • 9055ff7: Remove label from DamVideoBlock file field

    This 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 of PagesPage now also accepts a function mapping categories to document types

    Previously, 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 and DamVideoBlock that opens the chosen file in the DAM

    Note: This feature only works if the DependenciesConfig is configured for DamFile:

    // App.tsx
    
    <DependenciesConfigProvider
        entityDependencyMap={{
    +       DamFile: createDamFileDependency(),
            // ...
        }}
    >

@comet/blocks-api@6.14.0

Minor Changes

  • 73dfb61: Add PhoneLinkBlock and EmailLinkBlock

  • 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 and EmailLinkBlock

  • 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 and isPhoneNumber 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 and EmailLinkBlock