Skip to content

Commit

Permalink
Version Packages (#2570)
Browse files Browse the repository at this point in the history
This PR was opened by the [Changesets
release](https://github.com/changesets/action) 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/[email protected]

### Minor Changes

- bb7c2de: Adapt the `DeleteDialog` in `CrudContextMenu` to match the
updated Comet CI

-   c59a600: Add a `CrudMoreActionsMenu` component

The component can be used to create a "More actions" menu for a list of
items.
    It is typically used in a toolbar above a Data Grid.

    **Example**

    ```tsx
    <CrudMoreActionsMenu
        selectionSize={selectionSize}
        overallActions={[
            {
                label: "Export to excel",
                onClick: handleExportToExcelClick,
            },
        ]}
        selectiveActions={[
            {
                label: "move",
                onClick: handleMoveClick,
                icon: <Move />,
                divider: true,
            },
            {
                label: "download",
                onClick: handleDownloadClick,
                icon: <Download />,
            },
        ]}
    />
    ```

- 4cea3e3: Make it easier to render DataGrid cell content based on the
cell's `valueOptions`

Objects inside a cell's `valueOptions` now support an optional
`cellContent` property to allow defining a React node in addition to the
`label`, which can only be a string.

When using the new `renderStaticSelectCell` helper as the `renderCell`
function in the column definition, the helper will render the
`cellContent` node of the selected option if defined.
The `label` or the string value of the option will be used as the cell's
content if no `cellContent` node is provided.

    The following example would behave as follows:

- If the cell's value is "Shirt", it will render the `cellContent` node
(the H2 Typography)
- If the cell's value is "Cap", it will render the `label` (the string
"This Cap")
- If the cell's value is anything else, it will render the value as a
string, e.g. "Tie"

    ```tsx
    {
        headerName: "Category",
        field: "category",
        valueOptions: [
            {
                value: "Shirt",
                label: "Shirt"
                cellContent: (
                    <Typography variant="h2">
                        A Shirt
                    </Typography>
                ),
            },
            {
                value: "Cap",
                label: "This Cap",
            },
            "Tie",
        ],
        renderCell: renderStaticSelectCell,
    }
    ```

-   216d93a: File Uploads: Add image endpoint

    Add support for viewing images in the browser.
    This can be useful for file upload previews, profile pictures etc.
The image URL can be obtained by querying the `imageUrl` field of the
`FileUpload` type.
    A `resizeWidth` argument needs to be provided.

    **Example**

    ```graphql
    query Product($id: ID!) {
        product(id: $id) {
            id
            updatedAt
            priceList {
                id
                imageUrl(resizeWidth: 640)
            }
        }
    }
    ```

### Patch Changes

- 9a6a64e: Fix a bug where the initial values of `RadioGroupField` and
`CheckboxListField` would not be shown in the input
- b583820: Fix an issue where the clear button of `SelectField` would
be shown, even if the value is `undefined`
- c8f37fb: Allow setting all props of `FinalFormSelect` via
`componentsProps` in `SelectField`
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Minor Changes

-   5a48ae4: Add file size to `DamFileDownloadLinkBlock`

-   2639fe5: Add "License" column to DAM Data Grid

It is only shown if the license feature is enabled by setting
`enableLicenseFeature` in `DamConfigProvider` to `true`.

-   216d93a: File Uploads: Add image endpoint

    Add support for viewing images in the browser.
    This can be useful for file upload previews, profile pictures etc.
The image URL can be obtained by querying the `imageUrl` field of the
`FileUpload` type.
    A `resizeWidth` argument needs to be provided.

    **Example**

    ```graphql
    query Product($id: ID!) {
        product(id: $id) {
            id
            updatedAt
            priceList {
                id
                imageUrl(resizeWidth: 640)
            }
        }
    }
    ```

### Patch Changes

- bc124d2: Support numbers as content scope values in User Permissions
administration panel
-   Updated dependencies [bb7c2de]
-   Updated dependencies [9a6a64e]
-   Updated dependencies [c59a600]
-   Updated dependencies [b583820]
-   Updated dependencies [c8f37fb]
-   Updated dependencies [4cea3e3]
-   Updated dependencies [216d93a]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Minor Changes

-   f2da11d: API Generator: Add support for position field

Add a field named `position` to enable this feature. This field will
hold and update the position. This should be an integer number field >=
1. It's also possible to define fields (in CrudGenerator-Decorator) to
group position by.

-   5a48ae4: Add file size to `DamFileDownloadLinkBlock`

-   216d93a: File Uploads: Add image endpoint

    Add support for viewing images in the browser.
    This can be useful for file upload previews, profile pictures etc.
The image URL can be obtained by querying the `imageUrl` field of the
`FileUpload` type.
    A `resizeWidth` argument needs to be provided.

    **Example**

    ```graphql
    query Product($id: ID!) {
        product(id: $id) {
            id
            updatedAt
            priceList {
                id
                imageUrl(resizeWidth: 640)
            }
        }
    }
    ```

### Patch Changes

-   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [bb7c2de]
-   Updated dependencies [9a6a64e]
-   Updated dependencies [c59a600]
-   Updated dependencies [b583820]
-   Updated dependencies [c8f37fb]
-   Updated dependencies [4cea3e3]
-   Updated dependencies [216d93a]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [bb7c2de]
-   Updated dependencies [9a6a64e]
-   Updated dependencies [c59a600]
-   Updated dependencies [b583820]
-   Updated dependencies [c8f37fb]
-   Updated dependencies [4cea3e3]
-   Updated dependencies [216d93a]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [bb7c2de]
-   Updated dependencies [9a6a64e]
-   Updated dependencies [c59a600]
-   Updated dependencies [b583820]
-   Updated dependencies [c8f37fb]
-   Updated dependencies [4cea3e3]
-   Updated dependencies [216d93a]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [bb7c2de]
-   Updated dependencies [9a6a64e]
-   Updated dependencies [c59a600]
-   Updated dependencies [b583820]
-   Updated dependencies [c8f37fb]
-   Updated dependencies [4cea3e3]
-   Updated dependencies [216d93a]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [bb7c2de]
-   Updated dependencies [9a6a64e]
-   Updated dependencies [c59a600]
-   Updated dependencies [b583820]
-   Updated dependencies [c8f37fb]
-   Updated dependencies [4cea3e3]
-   Updated dependencies [216d93a]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

- bc0570f: Fix setting prelogin domain for deployment with
site-configs

## @comet/[email protected]

### Patch Changes

-   @comet/[email protected]

## @comet/[email protected]



## @comet/[email protected]



## @comet/[email protected]



## @comet/[email protected]



## @comet/[email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Oct 2, 2024
1 parent bb7c2de commit 64049c1
Show file tree
Hide file tree
Showing 45 changed files with 393 additions and 260 deletions.
5 changes: 0 additions & 5 deletions .changeset/brown-trainers-build.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/dull-windows-glow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gorgeous-parents-smell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/healthy-dingos-hear.md

This file was deleted.

35 changes: 0 additions & 35 deletions .changeset/mighty-hairs-train.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/odd-donuts-behave.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/old-rice-learn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-rules-hope.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/soft-flies-collect.md

This file was deleted.

40 changes: 0 additions & 40 deletions .changeset/violet-books-kneel.md

This file was deleted.

27 changes: 0 additions & 27 deletions .changeset/violet-brooms-work.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/yellow-toes-beg.md

This file was deleted.

2 changes: 2 additions & 0 deletions packages/admin/admin-babel-preset/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @comet/admin-babel-preset

## 7.5.0

## 7.4.2

## 7.4.1
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/admin-babel-preset/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-babel-preset",
"version": "7.4.2",
"version": "7.5.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand Down
14 changes: 14 additions & 0 deletions packages/admin/admin-color-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @comet/admin-color-picker

## 7.5.0

### Patch Changes

- Updated dependencies [bb7c2de72]
- Updated dependencies [9a6a64ef3]
- Updated dependencies [c59a60023]
- Updated dependencies [b5838209b]
- Updated dependencies [c8f37fbd1]
- Updated dependencies [4cea3e31b]
- Updated dependencies [216d93a10]
- @comet/admin@7.5.0
- @comet/admin-icons@7.5.0

## 7.4.2

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/admin/admin-color-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-color-picker",
"version": "7.4.2",
"version": "7.5.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -26,8 +26,8 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin": "workspace:^7.4.2",
"@comet/admin-icons": "workspace:^7.4.2",
"@comet/admin": "workspace:^7.5.0",
"@comet/admin-icons": "workspace:^7.5.0",
"clsx": "^1.1.1",
"react-colorful": "^5.5.1",
"tinycolor2": "^1.4.1",
Expand All @@ -36,8 +36,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^7.4.2",
"@comet/eslint-config": "workspace:^7.4.2",
"@comet/admin-babel-preset": "workspace:^7.5.0",
"@comet/eslint-config": "workspace:^7.5.0",
"@mui/material": "^5.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
Expand Down
14 changes: 14 additions & 0 deletions packages/admin/admin-date-time/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @comet/admin-date-time

## 7.5.0

### Patch Changes

- Updated dependencies [bb7c2de72]
- Updated dependencies [9a6a64ef3]
- Updated dependencies [c59a60023]
- Updated dependencies [b5838209b]
- Updated dependencies [c8f37fbd1]
- Updated dependencies [4cea3e31b]
- Updated dependencies [216d93a10]
- @comet/admin@7.5.0
- @comet/admin-icons@7.5.0

## 7.4.2

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/admin/admin-date-time/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-date-time",
"version": "7.4.2",
"version": "7.5.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -26,8 +26,8 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin": "workspace:^7.4.2",
"@comet/admin-icons": "workspace:^7.4.2",
"@comet/admin": "workspace:^7.5.0",
"@comet/admin-icons": "workspace:^7.5.0",
"@mui/utils": "^5.4.1",
"clsx": "^1.1.1",
"date-fns": "^2.28.0",
Expand All @@ -36,8 +36,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^7.4.2",
"@comet/eslint-config": "workspace:^7.4.2",
"@comet/admin-babel-preset": "workspace:^7.5.0",
"@comet/eslint-config": "workspace:^7.5.0",
"@mui/material": "^5.0.0",
"@types/react": "^17.0",
"@types/react-date-range": "^1.4.3",
Expand Down
2 changes: 2 additions & 0 deletions packages/admin/admin-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @comet/admin-icons

## 7.5.0

## 7.4.2

## 7.4.1
Expand Down
6 changes: 3 additions & 3 deletions packages/admin/admin-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-icons",
"version": "7.4.2",
"version": "7.5.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand Down Expand Up @@ -29,8 +29,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^7.4.2",
"@comet/eslint-config": "workspace:^7.4.2",
"@comet/admin-babel-preset": "workspace:^7.5.0",
"@comet/eslint-config": "workspace:^7.5.0",
"@mui/material": "^5.0.0",
"@types/cli-progress": "^3.8.0",
"@types/node": "^18.0.0",
Expand Down
14 changes: 14 additions & 0 deletions packages/admin/admin-react-select/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @comet/admin-react-select

## 7.5.0

### Patch Changes

- Updated dependencies [bb7c2de72]
- Updated dependencies [9a6a64ef3]
- Updated dependencies [c59a60023]
- Updated dependencies [b5838209b]
- Updated dependencies [c8f37fbd1]
- Updated dependencies [4cea3e31b]
- Updated dependencies [216d93a10]
- @comet/admin@7.5.0
- @comet/admin-icons@7.5.0

## 7.4.2

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/admin/admin-react-select/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-react-select",
"version": "7.4.2",
"version": "7.5.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -26,15 +26,15 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin": "workspace:^7.4.2",
"@comet/admin-icons": "workspace:^7.4.2",
"@comet/admin": "workspace:^7.5.0",
"@comet/admin-icons": "workspace:^7.5.0",
"classnames": "^2.2.6"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^7.4.2",
"@comet/eslint-config": "workspace:^7.4.2",
"@comet/admin-babel-preset": "workspace:^7.5.0",
"@comet/eslint-config": "workspace:^7.5.0",
"@mui/material": "^5.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
Expand Down
14 changes: 14 additions & 0 deletions packages/admin/admin-rte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @comet/admin-rte

## 7.5.0

### Patch Changes

- Updated dependencies [bb7c2de72]
- Updated dependencies [9a6a64ef3]
- Updated dependencies [c59a60023]
- Updated dependencies [b5838209b]
- Updated dependencies [c8f37fbd1]
- Updated dependencies [4cea3e31b]
- Updated dependencies [216d93a10]
- @comet/admin@7.5.0
- @comet/admin-icons@7.5.0

## 7.4.2

### Patch Changes
Expand Down
Loading

0 comments on commit 64049c1

Please sign in to comment.