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

Update Comet to ^7.9.0 #589

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Update Comet to ^7.9.0 #589

merged 1 commit into from
Dec 4, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 4, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@comet/admin (source) ^7.8.0 -> ^7.9.0 age adoption passing confidence
@comet/admin-date-time (source) ^7.8.0 -> ^7.9.0 age adoption passing confidence
@comet/admin-icons (source) ^7.8.0 -> ^7.9.0 age adoption passing confidence
@comet/admin-rte (source) ^7.8.0 -> ^7.9.0 age adoption passing confidence
@comet/admin-theme (source) ^7.8.0 -> ^7.9.0 age adoption passing confidence
@comet/blocks-admin (source) ^7.8.0 -> ^7.9.0 age adoption passing confidence
@comet/blocks-api (source) ^7.8.0 -> ^7.9.0 age adoption passing confidence
@comet/cli (source) ^7.8.0 -> ^7.9.0 age adoption passing confidence
@comet/cms-admin (source) ^7.8.0 -> ^7.9.0 age adoption passing confidence
@comet/cms-api (source) ^7.8.0 -> ^7.9.0 age adoption passing confidence
@comet/cms-site (source) ^7.8.0 -> ^7.9.0 age adoption passing confidence
@comet/eslint-config (source) ^7.8.0 -> ^7.9.0 age adoption passing confidence
@​comet/eslint-plugin ^7.8.0 -> ^7.9.0 age adoption passing confidence

Release Notes

vivid-planet/comet (@​comet/admin)

v7.9.0

Compare Source

Minor Changes
  • 6d6131b: Add the dataGridDateColumn and dataGridDateTimeColumn helpers for using the "date" and "dateTime" types in Data Grid

    -import { GridColDef } from "@​comet/admin";
    +import { GridColDef, dataGridDateColumn, dataGridDateTimeColumn } from "@​comet/admin";
    
     // ...
    
     const columns: GridColDef[] = [
         {
    -       type: "date",
    -       valueGetter: ({ value }) => value && new Date(value),
    -       renderCell: ({ value }) => value && <FormattedDate value={value} dateStyle="medium" />,
    +       ...dataGridDateColumn,
            field: "createdAt",
            headerName: "Created At",
         },
         {
    -      type: "dateTime",
    -      valueGetter: ({ value }) => value && new Date(value),
    -      renderCell: ({ value }) => value && <FormattedDate value={value} dateStyle="medium" timeStyle="short" />,
    +      ...dataGridDateTimeColumn,
           field: "updatedAt",
           headerName: "Updated At",
         },
     ];
  • 7cea765: Add UI for Impersonation Feature

    • Add indicator to display when impersonation mode is active in UserHeaderItem
    • Add button to allow users to switch on impersonation in the UserGrid
    • Integrate CrudMoreActionsMenu in UserPageToolbar with an impersonation entry for easy access to this feature.
    • Add ImpersonateUser icon
Patch Changes
  • 48cac4d: Fix styling issues of inputs like FinalFormInput, FinalFormNumberInput, FinalFormSelect, TextAreaField

    • Change background-color, border-color and color of the label for different states (default, disabled and focused).
    • For required inputs, fix spacing between the label and asterisk.
    • Fix font-weight and margin of helperText.
  • 0919e3b: Remove right padding from form fields without an end adornment

  • Updated dependencies [7cea765]

  • Updated dependencies [48cac4d]

  • Updated dependencies [55d40ef]

  • Updated dependencies [9aa6947]

vivid-planet/comet (@​comet/admin-date-time)

v7.9.0

Compare Source

Patch Changes
vivid-planet/comet (@​comet/admin-icons)

v7.9.0

Compare Source

Minor Changes
  • 7cea765: Add UI for Impersonation Feature

    • Add indicator to display when impersonation mode is active in UserHeaderItem
    • Add button to allow users to switch on impersonation in the UserGrid
    • Integrate CrudMoreActionsMenu in UserPageToolbar with an impersonation entry for easy access to this feature.
    • Add ImpersonateUser icon
Patch Changes
  • 55d40ef: Add icon for indeterminate checkbox
vivid-planet/comet (@​comet/admin-rte)

v7.9.0

Compare Source

Patch Changes
vivid-planet/comet (@​comet/admin-theme)

v7.9.0

Compare Source

Minor Changes
  • 9aa6947: Add hover styling for MUI's Switch
Patch Changes
  • 48cac4d: Fix styling issues of inputs like FinalFormInput, FinalFormNumberInput, FinalFormSelect, TextAreaField

    • Change background-color, border-color and color of the label for different states (default, disabled and focused).
    • For required inputs, fix spacing between the label and asterisk.
    • Fix font-weight and margin of helperText.
  • 55d40ef: Add icon for indeterminate checkbox

  • Updated dependencies [7cea765]

  • Updated dependencies [55d40ef]

vivid-planet/comet (@​comet/blocks-admin)

v7.9.0

Compare Source

Minor Changes
  • 92f9d07: Add hiddenForState option to createCompositeBlock

    This function can be used to hide a block in the AdminComponent for a given state.

    Example

    const TextWithMediaVariantBlock = createCompositeBlock({
        name: "TextWithMediaVariant",
        blocks: {
            variant: {
                block: createCompositeBlockSelectField<string>({
                    defaultValue: "text-image",
                    fieldProps: { label: "Variant", fullWidth: true },
                    options: [
                        { value: "text-image", label: "Text Image" },
                        { value: "text-only", label: "Text Only" },
                    ],
                }),
            },
            text: {
                block: RichTextBlock,
            },
            media: {
                block: MediaBlock,
                // The media block isn't needed for the "text-only" variant
                hiddenForState: (state) => state.variant === "text-only",
            },
        },
    });
  • 047b9d1: Add label prop to ColumnsLayoutPreview

    Use it to customize the label of the column displayed in the FinalFormLayoutSelect.
    For instance, to add an icon or add custom text:

    <ColumnsLayoutPreviewContent width={10} label={<Image />} />
  • 59b4b6f: Add visibleOrderedBlocksForState option to createCompositeBlock

    The option can be used to hide and order child blocks in the AdminComponent.
    It should return an array of visible block keys for a given state.
    The order of the keys define the order in which the blocks will be rendered.
    If key is not present in the array, the block will not be rendered.

    Example

    const LayoutBlock = createCompositeBlock({
        /* ... */
        blocks: {
            layout: {
                /* A layout select */
            },
            headline1: { block: HeadlineBlock },
            image1: { block: DamImageBlock },
            headline2: { block: HeadlineBlock },
            image2: { block: DamImageBlock },
        },
        visibleOrderedBlocksForState: (state: LayoutBlockData) => {
            if (state.layout === "compact") {
                // headline2 and image2 will be hidden
                return ["headline1", "image1"];
            } else {
                return ["headline1", "image1", "headline2", "image2"];
            }
        },
    });
Patch Changes
vivid-planet/comet (@​comet/blocks-api)

v7.9.0

Compare Source

vivid-planet/comet (@​comet/cli)

v7.9.0

Compare Source

vivid-planet/comet (@​comet/cms-admin)

v7.9.0

Compare Source

Minor Changes
  • 7cea765: Add UI for Impersonation Feature

    • Add indicator to display when impersonation mode is active in UserHeaderItem
    • Add button to allow users to switch on impersonation in the UserGrid
    • Integrate CrudMoreActionsMenu in UserPageToolbar with an impersonation entry for easy access to this feature.
    • Add ImpersonateUser icon
Patch Changes
vivid-planet/comet (@​comet/cms-api)

v7.9.0

Compare Source

Patch Changes
vivid-planet/comet (@​comet/cms-site)

v7.9.0

Compare Source

vivid-planet/comet (@​comet/eslint-config)

v7.9.0

Compare Source

Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added comet Highlights Comet Dependency bumps dependencies Pull requests that update a dependency file labels Dec 4, 2024
@johnnyomair johnnyomair self-assigned this Dec 4, 2024
@johnnyomair johnnyomair self-requested a review December 4, 2024 13:25
@johnnyomair johnnyomair changed the title Update comet to ^7.9.0 Update Comet to ^7.9.0 Dec 4, 2024
@johnnyomair johnnyomair merged commit c6539d4 into main Dec 4, 2024
3 checks passed
@johnnyomair johnnyomair deleted the renovate/comet branch December 4, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comet Highlights Comet Dependency bumps dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant