Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #1523

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Version Packages #1523

merged 1 commit into from
Jan 9, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Dec 19, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@comet/admin@5.4.0

Minor Changes

  • 60a1839: Add Alert component

    Example:

    import { Alert, OkayButton, SaveButton } from "@comet/admin";
    
    <Alert
        severity="warning"
        title="Title"
        action={
            <Button variant="text" startIcon={<ArrowRight />}>
                Action Text
            </Button>
        }
    >
        Notification Text
    </Alert>;

Patch Changes

  • ba80016: Allow passing a mix of elements and arrays to Tabs and RouterTabs as children

    For example:

    <RouterTabs>
        <RouterTab label="One" path="">
            One
        </RouterTab>
        {content.map((value) => (
            <RouterTab key={value} label={value} path={`/${value}`}>
                {value}
            </RouterTab>
        ))}
        {showFourthTab && (
            <RouterTab label="Four" path="/four">
                Four
            </RouterTab>
        )}
    </RouterTabs>
    • @comet/admin-icons@5.4.0

@comet/admin-rte@5.4.0

Minor Changes

  • 981bf48: Allow setting a tooltip to the button of custom-inline-styles using the tooltipText prop

  • 51d6c2b: Move soft-hyphen functionality to @comet/admin-rte

    This allows using the soft-hyphen functionality in plain RTEs, and not only in RichTextBlock

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

Patch Changes

  • @comet/admin-icons@5.4.0

@comet/cms-admin@5.4.0

Minor Changes

  • e146d8b: Support the import of files from external DAMs

    To connect an external DAM, implement a component with the necessary logic (asset picker, upload functionality, ...). Pass this component to the DamPage via the additionalToolbarItems prop.

    <DamPage
        // ...
        additionalToolbarItems={<ImportFromExternalDam />}
    />

    You can find an example in the demo project.

  • 51d6c2b: Move soft-hyphen functionality to @comet/admin-rte

    This allows using the soft-hyphen functionality in plain RTEs, and not only in RichTextBlock

    const [useRteApi] = makeRteApi();
    
    export default function MyRte() {
        const { editorState, setEditorState } = useRteApi();
        return (
            <Rte
                value={editorState}
                onChange={setEditorState}
                options={{
                    supports: [
                        // Soft Hyphen
                        "soft-hyphen",
                        // Other options you may wish to support
                        "bold",
                        "italic",
                    ],
                }}
            />
        );
    }
  • dcaf750: Make all DAM license fields optional if LicenseType is ROYALTY_FREE even if requireLicense is true in DamConfig

Patch Changes

  • 087cb01: Enable copying documents from one PageTree category to another (e.g. from "Main navigation" to "Top menu" in Demo)
  • Updated dependencies [ba80016]
  • Updated dependencies [981bf48]
  • Updated dependencies [60a1839]
  • Updated dependencies [51d6c2b]
    • @comet/admin@5.4.0
    • @comet/admin-rte@5.4.0
    • @comet/admin-date-time@5.4.0
    • @comet/admin-icons@5.4.0
    • @comet/admin-theme@5.4.0
    • @comet/blocks-admin@5.4.0

@comet/cms-api@5.4.0

Minor Changes

  • e146d8b: Support the import of files from external DAMs

    To connect an external DAM, implement a component with the necessary logic (asset picker, upload functionality, ...). Pass this component to the DamPage via the additionalToolbarItems prop.

    <DamPage
        // ...
        additionalToolbarItems={<ImportFromExternalDam />}
    />

    You can find an example in the demo project.

  • 27bf643: Add PublicUploadsService to public API

    The service can be used to programmatically create public uploads, such as when creating fixtures.

  • df5c959: Remove license types MICRO and SUBSCRIPTION

    The LicenseType enum no longer contains the values MICRO and SUBSCRIPTION. The database migration will automatically update all licenses of type MICRO or SUBSCRIPTION to RIGHTS_MANAGED.

Patch Changes

  • 60f5208: Fix encoding of special characters in names of uploaded files

    For example:

    Previously:

    • €.jpg -> a.jpg
    • ä.jpg -> ai.jpg

    Now:

    • €.jpg -> euro.jpg
    • ä.jpg -> ae.jpg
    • @comet/blocks-api@5.4.0

@comet/cms-site@5.4.0

Minor Changes

  • f906386: Add hasRichTextBlockContent helper

    The helper can be used to conditionally render a RichTextBlock.

    Example:

    import { hasRichTextBlockContent } from "@comet/cms-site";
    
    function TeaserBlock({ data: { image, text } }: PropsWithData<TeaserBlockData>) {
        return (
            <>
                <DamImageBlock data={image} />
                {hasRichTextBlockContent(text) && <RichTextBlock data={text} />}
            </>
        );
    }

@comet/admin-color-picker@5.4.0

Patch Changes

  • Updated dependencies [ba80016]
  • Updated dependencies [60a1839]
    • @comet/admin@5.4.0
    • @comet/admin-icons@5.4.0

@comet/admin-date-time@5.4.0

Patch Changes

  • Updated dependencies [ba80016]
  • Updated dependencies [60a1839]
    • @comet/admin@5.4.0
    • @comet/admin-icons@5.4.0

@comet/admin-react-select@5.4.0

Patch Changes

  • Updated dependencies [ba80016]
  • Updated dependencies [60a1839]
    • @comet/admin@5.4.0

@comet/admin-theme@5.4.0

Patch Changes

  • @comet/admin-icons@5.4.0

@comet/blocks-admin@5.4.0

Patch Changes

  • Updated dependencies [ba80016]
  • Updated dependencies [60a1839]
    • @comet/admin@5.4.0
    • @comet/admin-icons@5.4.0

@comet/eslint-config@5.4.0

Patch Changes

  • @comet/eslint-plugin@5.4.0

@comet/admin-babel-preset@5.4.0

@comet/admin-icons@5.4.0

@comet/blocks-api@5.4.0

@comet/cli@5.4.0

@comet/eslint-plugin@5.4.0

@johnnyomair johnnyomair marked this pull request as draft December 19, 2023 14:40
@github-actions github-actions bot force-pushed the changeset-release/main branch 5 times, most recently from 9c28f65 to b0719ec Compare December 21, 2023 16:24
@github-actions github-actions bot force-pushed the changeset-release/main branch 7 times, most recently from 05b525c to 413ba76 Compare January 9, 2024 07:27
@thomasdax98 thomasdax98 self-requested a review January 9, 2024 09:29
@thomasdax98 thomasdax98 marked this pull request as ready for review January 9, 2024 09:29
@auto-assign auto-assign bot requested a review from johnnyomair January 9, 2024 09:29
@github-actions github-actions bot force-pushed the changeset-release/main branch from 413ba76 to 769eac7 Compare January 9, 2024 09:46
@thomasdax98 thomasdax98 removed the request for review from johnnyomair January 9, 2024 09:53
@thomasdax98 thomasdax98 merged commit 5208f16 into main Jan 9, 2024
6 checks passed
@thomasdax98 thomasdax98 deleted the changeset-release/main branch January 9, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant