Skip to content

4.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Nov 10:39
· 2309 commits to main since this release
94e11c8

Highlights

  • Non-breaking spaces
    The RTE now supports non-breaking spaces.
    Note: This feature may need to be enabled for individual blocks after the update (see section @comet/admin-rte)

  • Mobile compatible tabs
    The tabs and RouterTabs in COMET now support smaller screens out of the box. You can scroll with arrows on the desktop and with swiping on the smartphone.

  • Path search in the PageTree
    Previously, you could only search for page names in the PageTree. Now you can also search by path.

@comet/admin@4.7.0

Minor Changes

  • fde8e42: Add tab scrolling to make tabs responsive

Patch Changes

  • eac9990: Fix the clear-button in FinalFormSelect when using it with the multiple prop.

    • The clear button is now only shown when at least one value is selected.
    • Clearing the value now sets it to an empty array instead of undefined, which would cause an error when trying to render the select.
  • fe310df: Prevent the clear-button and the select-arrow from overlapping when using FinalFormSelect with the clearable prop.

@comet/admin-rte@4.7.0

Minor Changes

  • dbdc0f5: Add support for non-breaking spaces to RTE

    Add "non-breaking-space" to supports when creating an RTE:

    const [useRteApi] = makeRteApi();
    
    export default function MyRte() {
        const { editorState, setEditorState } = useRteApi();
        return (
            <Rte
                value={editorState}
                onChange={setEditorState}
                options={{
                    supports: [
                        // Non-breaking space
                        "non-breaking-space",
                        // Other options you may wish to support
                        "bold",
                        "italic",
                    ],
                }}
            />
        );
    }

@comet/admin-theme@4.7.0

Minor Changes

  • d1c7a1c: Add custom default styling for LinearProgress

    The LinearProgress is intended to be used as a LoadingOverlay in the DataGrid. This styling change adjusts it for this purpose.

Patch Changes

  • fe310df: Prevent the clear-button and the select-arrow from overlapping when using FinalFormSelect with the clearable prop.

@comet/blocks-admin@4.7.0

Patch Changes

  • f48a768: Fix padding behavior of YoutubeVideoBlock and DamVideoBlock when used inside AdminComponentPaper

@comet/cms-admin@4.7.0

Minor Changes

  • dbdc0f5: Add support for non-breaking spaces to RTE
  • 17f977a: Add the possibility to search for a path in the PageTree