Skip to content

Commit

Permalink
Release 5.3.0 (#1509)
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/admin@5.3.0

### Minor Changes

- 60cc1b2: Add `FieldSet` component with accordion behavior for better
structuring of big forms.

### Patch Changes

- a677a16: Fix `RouterPromptHandler` to not show a prompt when
navigating to a path with params that is not a sub route

- 5435b27: Fix `shouldScrollTo()`, `shouldShowError()` and
`shouldShowWarning()` in `Field`

Previously, the `meta` argument was passed to these methods incorrectly.
Now, the argument is passed as defined by the typing.

-   Updated dependencies [0ff9b9b]

-   Updated dependencies [0ff9b9b]
    -   @comet/admin-icons@5.3.0

## @comet/admin-icons@5.3.0

### Minor Changes

- 0ff9b9b: Deprecate icons `StateGreen`, `StateGreenRing`,
`StateOrange`, `StateOrangeRing`, `StateRed`, and `StateRedRing`,

### Patch Changes

-   0ff9b9b: Fix various icons

Since version 5.2.0 several icons were not displayed correctly. This
problem has been fixed.

## @comet/blocks-admin@5.3.0

### Minor Changes

-   a227388: Add support for custom block categories

    Allows specifying custom block categories in application code.

    **Example:**

    In `src/common/blocks/customBlockCategories.tsx`:

    ```tsx
import { BlockCategory, CustomBlockCategory } from
"@comet/blocks-admin";
    import React from "react";
    import { FormattedMessage } from "react-intl";

    const productsBlockCategory: CustomBlockCategory = {
        id: "Products",
label: <FormattedMessage id="blocks.category.products"
defaultMessage="Products" />,
        // Specify where category will be shown in drawer
        insertBefore: BlockCategory.Teaser,
    };

    export { productsBlockCategory };
    ```

    In `src/documents/pages/blocks/MyBlock.tsx`:

    ```tsx
import { productsBlockCategory } from
"@src/common/blocks/customBlockCategories";

    const MyBlock: BlockInterface = {
        category: productsBlockCategory,
        ...
    };
    ```

### Patch Changes

-   Updated dependencies [0ff9b9b]
-   Updated dependencies [0ff9b9b]
-   Updated dependencies [a677a16]
-   Updated dependencies [60cc1b2]
-   Updated dependencies [5435b27]
    -   @comet/admin-icons@5.3.0
    -   @comet/admin@5.3.0

## @comet/blocks-api@5.3.0

### Minor Changes

-   920f2b8: Deprecate `nullable: true` for child blocks

Nullable child blocks are not correctly supported in the Admin, for
instance, in `createCompositeBlock`.
    Save a block's default values instead.

## @comet/cms-api@5.3.0

### Minor Changes

- 570fdbc: CRUD Generator: Add support for `ArrayType` fields in
generated input
-   8d0e3ee: CRUD Generator: Add support for enum arrays in input

### Patch Changes

- dfb3c84: CRUD Generator: Correctly support `type: "text"` fields in
filter and sort

- c883d35: Consider filtered mimetypes when calculating the position of
a DAM item in `DamItemsService`'s `getDamItemPosition()`

Previously, the mimetypes were ignored, sometimes resulting in an
incorrect position.

-   Updated dependencies [920f2b8]
    -   @comet/blocks-api@5.3.0

## @comet/admin-color-picker@5.3.0

### Patch Changes

-   Updated dependencies [0ff9b9b]
-   Updated dependencies [0ff9b9b]
-   Updated dependencies [a677a16]
-   Updated dependencies [60cc1b2]
-   Updated dependencies [5435b27]
    -   @comet/admin-icons@5.3.0
    -   @comet/admin@5.3.0

## @comet/admin-date-time@5.3.0

### Patch Changes

-   Updated dependencies [0ff9b9b]
-   Updated dependencies [0ff9b9b]
-   Updated dependencies [a677a16]
-   Updated dependencies [60cc1b2]
-   Updated dependencies [5435b27]
    -   @comet/admin-icons@5.3.0
    -   @comet/admin@5.3.0

## @comet/admin-react-select@5.3.0

### Patch Changes

-   Updated dependencies [a677a16]
-   Updated dependencies [60cc1b2]
-   Updated dependencies [5435b27]
    -   @comet/admin@5.3.0

## @comet/admin-rte@5.3.0

### Patch Changes

-   Updated dependencies [0ff9b9b]
-   Updated dependencies [0ff9b9b]
    -   @comet/admin-icons@5.3.0

## @comet/admin-theme@5.3.0

### Patch Changes

-   Updated dependencies [0ff9b9b]
-   Updated dependencies [0ff9b9b]
    -   @comet/admin-icons@5.3.0

## @comet/cms-admin@5.3.0

### Patch Changes

- 0fdf4ea: Always use the `/preview` file URLs in the admin application

This is achieved by setting the `x-preview-dam-urls` in the
`includeInvisibleContentContext`.

This fixes a page copy bug where all files were downloaded and uploaded
again, even when copying within the same environment.

-   Updated dependencies [0ff9b9b]

-   Updated dependencies [0ff9b9b]

-   Updated dependencies [a677a16]

-   Updated dependencies [60cc1b2]

-   Updated dependencies [5435b27]

-   Updated dependencies [a227388]
    -   @comet/admin-icons@5.3.0
    -   @comet/admin@5.3.0
    -   @comet/blocks-admin@5.3.0
    -   @comet/admin-date-time@5.3.0
    -   @comet/admin-rte@5.3.0
    -   @comet/admin-theme@5.3.0

## @comet/eslint-config@5.3.0

### Patch Changes

-   @comet/eslint-plugin@5.3.0

## @comet/admin-babel-preset@5.3.0



## @comet/cli@5.3.0



## @comet/eslint-plugin@5.3.0



## @comet/cms-site@5.3.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Dec 18, 2023
1 parent 5435b27 commit 16a47c9
Show file tree
Hide file tree
Showing 45 changed files with 291 additions and 208 deletions.
5 changes: 0 additions & 5 deletions .changeset/forty-ears-move.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/itchy-forks-swim.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/late-camels-stare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/light-pillows-flow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lovely-rats-rest.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/many-melons-judge.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/old-toes-prove.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/rare-pants-hope.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-dolphins-hide.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/tender-swans-fry.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/tricky-berries-trade.md

This file was deleted.

37 changes: 0 additions & 37 deletions .changeset/two-carpets-run.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

## 5.3.0

## 5.2.0

## 5.1.0
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": "5.2.0",
"version": "5.3.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand Down
12 changes: 12 additions & 0 deletions packages/admin/admin-color-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @comet/admin-color-picker

## 5.3.0

### Patch Changes

- Updated dependencies [0ff9b9ba]
- Updated dependencies [0ff9b9ba]
- Updated dependencies [a677a162]
- Updated dependencies [60cc1b2a]
- Updated dependencies [5435b278]
- @comet/admin-icons@5.3.0
- @comet/admin@5.3.0

## 5.2.0

### 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": "5.2.0",
"version": "5.3.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -25,8 +25,8 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin": "workspace:^5.2.0",
"@comet/admin-icons": "workspace:^5.2.0",
"@comet/admin": "workspace:^5.3.0",
"@comet/admin-icons": "workspace:^5.3.0",
"clsx": "^1.1.1",
"react-colorful": "^5.5.1",
"tinycolor2": "^1.4.1",
Expand All @@ -35,8 +35,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.2.0",
"@comet/eslint-config": "workspace:^5.2.0",
"@comet/admin-babel-preset": "workspace:^5.3.0",
"@comet/eslint-config": "workspace:^5.3.0",
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/admin/admin-date-time/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @comet/admin-date-time

## 5.3.0

### Patch Changes

- Updated dependencies [0ff9b9ba]
- Updated dependencies [0ff9b9ba]
- Updated dependencies [a677a162]
- Updated dependencies [60cc1b2a]
- Updated dependencies [5435b278]
- @comet/admin-icons@5.3.0
- @comet/admin@5.3.0

## 5.2.0

### 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": "5.2.0",
"version": "5.3.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -25,8 +25,8 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin": "workspace:^5.2.0",
"@comet/admin-icons": "workspace:^5.2.0",
"@comet/admin": "workspace:^5.3.0",
"@comet/admin-icons": "workspace:^5.3.0",
"@mui/utils": "^5.4.1",
"clsx": "^1.1.1",
"date-fns": "^2.28.0",
Expand All @@ -35,8 +35,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.2.0",
"@comet/eslint-config": "workspace:^5.2.0",
"@comet/admin-babel-preset": "workspace:^5.3.0",
"@comet/eslint-config": "workspace:^5.3.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
"@types/react": "^17.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/admin/admin-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @comet/admin-icons

## 5.3.0

### Minor Changes

- 0ff9b9ba: Deprecate icons `StateGreen`, `StateGreenRing`, `StateOrange`, `StateOrangeRing`, `StateRed`, and `StateRedRing`,

### Patch Changes

- 0ff9b9ba: Fix various icons

Since version 5.2.0 several icons were not displayed correctly. This problem has been fixed.

## 5.2.0

### Minor Changes
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": "5.2.0",
"version": "5.3.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -24,8 +24,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.2.0",
"@comet/eslint-config": "workspace:^5.2.0",
"@comet/admin-babel-preset": "workspace:^5.3.0",
"@comet/eslint-config": "workspace:^5.3.0",
"@mui/material": "^5.0.0",
"@types/cli-progress": "^3.8.0",
"@types/node": "^18.0.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/admin/admin-react-select/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @comet/admin-react-select

## 5.3.0

### Patch Changes

- Updated dependencies [a677a162]
- Updated dependencies [60cc1b2a]
- Updated dependencies [5435b278]
- @comet/admin@5.3.0

## 5.2.0

### Patch Changes
Expand Down
8 changes: 4 additions & 4 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": "5.2.0",
"version": "5.3.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -25,14 +25,14 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin": "workspace:^5.2.0",
"@comet/admin": "workspace:^5.3.0",
"classnames": "^2.2.6"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.2.0",
"@comet/eslint-config": "workspace:^5.2.0",
"@comet/admin-babel-preset": "workspace:^5.3.0",
"@comet/eslint-config": "workspace:^5.3.0",
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/admin/admin-rte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @comet/admin-rte

## 5.3.0

### Patch Changes

- Updated dependencies [0ff9b9ba]
- Updated dependencies [0ff9b9ba]
- @comet/admin-icons@5.3.0

## 5.2.0

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/admin/admin-rte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-rte",
"version": "5.2.0",
"version": "5.3.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -25,16 +25,16 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin-icons": "workspace:^5.2.0",
"@comet/admin-icons": "workspace:^5.3.0",
"detect-browser": "^5.2.1",
"draftjs-conductor": "^3.0.0",
"immutable": "~3.7.4"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.2.0",
"@comet/eslint-config": "workspace:^5.2.0",
"@comet/admin-babel-preset": "workspace:^5.3.0",
"@comet/eslint-config": "workspace:^5.3.0",
"@mui/icons-material": "^5.0.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/admin/admin-theme/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @comet/admin-theme

## 5.3.0

### Patch Changes

- Updated dependencies [0ff9b9ba]
- Updated dependencies [0ff9b9ba]
- @comet/admin-icons@5.3.0

## 5.2.0

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/admin/admin-theme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@comet/admin-theme",
"version": "5.2.0",
"version": "5.3.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -25,14 +25,14 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin-icons": "workspace:^5.2.0",
"@comet/admin-icons": "workspace:^5.3.0",
"@mui/utils": "^5.4.1"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^5.2.0",
"@comet/eslint-config": "workspace:^5.2.0",
"@comet/admin-babel-preset": "workspace:^5.3.0",
"@comet/eslint-config": "workspace:^5.3.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
"@mui/system": "^5.0.0",
Expand Down
Loading

0 comments on commit 16a47c9

Please sign in to comment.