Skip to content

7.13.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 29 Jan 15:33
· 20 commits to main since this release
437293c

@comet/[email protected]

Minor Changes

  • bd562d3: Add disableForcePromptRoute option to StackSwitch

    This can be useful when a navigation in a switch shouldn't trigger a prompt, e.g., when navigating inside a block.

  • 5c06e4b: Reduce MainContent padding on mobile

  • b918c81: Add support for custom components to CrudMoreActionsMenu

    Example

    const CustomAction = () => (
        <CrudMoreActionsMenuItem
            onClick={() => {
                // Perform action
            }}
        >
            <ListItemIcon>
                <Favorite />
            </ListItemIcon>
            Custom Action
        </CrudMoreActionsMenuItem>
    );
    
    <CrudMoreActionsMenu overallActions={[<CustomAction key="custom-action" />]} />;

    Note: Use the CrudMoreActionsMenuItem component or CrudMoreActionsMenuContext to close the menu after clicking an item.

@comet/[email protected]

Patch Changes

  • 86c1d59: Set correct editor height when using the minHeight option

@comet/[email protected]

Patch Changes

  • bd562d3: Prevent router prompt when using a block with subroutes in a form

@comet/[email protected]

Patch Changes

  • f49370a: Improve SVG validation

    Following tags are banned in SVGs:

    • script
    • [new] foreignObject
    • [new] use
    • [new] image
    • [new] animate
    • [new] animateMotion
    • [new] animateTransform
    • [new] set

    Following attributes are banned:

    • Event handlers (onload, onclick, ...)
    • [new] href and xlink:href (if the value starts with http://, https:// or javascript:)

@comet/[email protected]

Patch Changes

  • f49370a: Improve SVG validation

    Following tags are banned in SVGs:

    • script
    • [new] foreignObject
    • [new] use
    • [new] image
    • [new] animate
    • [new] animateMotion
    • [new] animateTransform
    • [new] set

    Following attributes are banned:

    • Event handlers (onload, onclick, ...)
    • [new] href and xlink:href (if the value starts with http://, https:// or javascript:)

@comet/[email protected]

Minor Changes

  • f60b636: Extend the usePreview-helpers isSelected and isHovered with optional partial match support

    • When exactMatch is set to true (default), the function checks for exact URL matches.
    • When exactMatch is set to false, the function checks if the selected route starts with the given URL.