Skip to content

Commit

Permalink
Version Packages (#2453)
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@7.2.0

### Minor Changes

- 0fb8d9a: Allow pinning DataGrid columns using the column config when
using `DataGridPro` or `DataGridPremium` with the
`usePersistentColumnState` hook

    ```tsx
    const columns: GridColDef[] = [
        {
            field: "title",
            pinned: "left",
        },
        // ... other columns
        {
            field: "actions",
            pinned: "right",
        },
    ];
    ```

### Patch Changes

- 4b267f9: Fix broken export/import of `commonErrorMessages` from the
file form field
-   Updated dependencies [9b800c9]
    -   @comet/admin-theme@7.2.0
    -   @comet/admin-icons@7.2.0

## @comet/admin-theme@7.2.0

### Minor Changes

-   9b800c9: Slightly adjust the styling of pinned columns in DataGrid

### Patch Changes

-   @comet/admin-icons@7.2.0

## @comet/cms-site@7.2.0

### Minor Changes

-   381aa71: Add `ErrorHandlerProvider`

Each block in `BlocksBlock`, `OneOfBlock` and `ListBlock` is wrapped
with an error boundary to prevent the whole page from crashing when a
single block throws an error.
In production, the broken block is hidden. The application should take
care of reporting the error to an error tracking service (e.g., Sentry).
In local development, the error is re-thrown.

    Add an `ErrorHandler` to the root layout:

    ```tsx
    // In src/app/layout.tsx
    <html>
        <body className={inter.className}>
            {/* Other Providers */}
            <ErrorHandler>{children}</ErrorHandler>
        </body>
    </html>
    ```

The `ErrorHandler` receives the errors in the application and can report
them to the error tracking service.

    **Example ErrorHandler**

    ```tsx
    "use client";

    import { ErrorHandlerProvider } from "@comet/cms-site";
    import { PropsWithChildren } from "react";

    export function ErrorHandler({ children }: PropsWithChildren) {
        function onError(error: Error, errorInfo: ErrorInfo) {
console.error("Error caught by error handler", error,
errorInfo.componentStack);
            if (process.env.NODE_ENV === "development") {
                throw error;
            } else {
                // Report the error to the error tracking service
            }
        }

return <ErrorHandlerProvider
onError={onError}>{children}</ErrorHandlerProvider>;
    }
    ```

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

### Patch Changes

-   Updated dependencies [0fb8d9a]
-   Updated dependencies [4b267f9]
    -   @comet/admin@7.2.0
    -   @comet/admin-icons@7.2.0

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

### Patch Changes

-   Updated dependencies [0fb8d9a]
-   Updated dependencies [4b267f9]
    -   @comet/admin@7.2.0
    -   @comet/admin-icons@7.2.0

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

### Patch Changes

-   Updated dependencies [0fb8d9a]
-   Updated dependencies [4b267f9]
    -   @comet/admin@7.2.0
    -   @comet/admin-icons@7.2.0

## @comet/admin-rte@7.2.0

### Patch Changes

-   Updated dependencies [0fb8d9a]
-   Updated dependencies [4b267f9]
    -   @comet/admin@7.2.0
    -   @comet/admin-icons@7.2.0

## @comet/blocks-admin@7.2.0

### Patch Changes

-   Updated dependencies [0fb8d9a]
-   Updated dependencies [4b267f9]
    -   @comet/admin@7.2.0
    -   @comet/admin-icons@7.2.0

## @comet/cms-admin@7.2.0

### Patch Changes

- 4b267f9: Fix broken export/import of `commonErrorMessages` from the
file form field
-   Updated dependencies [9b800c9]
-   Updated dependencies [0fb8d9a]
-   Updated dependencies [4b267f9]
    -   @comet/admin-theme@7.2.0
    -   @comet/admin@7.2.0
    -   @comet/admin-date-time@7.2.0
    -   @comet/admin-icons@7.2.0
    -   @comet/admin-rte@7.2.0
    -   @comet/blocks-admin@7.2.0

## @comet/cms-api@7.2.0

### Patch Changes

-   @comet/blocks-api@7.2.0

## @comet/eslint-config@7.2.0

### Patch Changes

-   @comet/eslint-plugin@7.2.0

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



## @comet/admin-icons@7.2.0



## @comet/blocks-api@7.2.0



## @comet/cli@7.2.0



## @comet/eslint-plugin@7.2.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 Aug 22, 2024
1 parent 0e43117 commit ac01c5a
Show file tree
Hide file tree
Showing 37 changed files with 272 additions and 182 deletions.
5 changes: 0 additions & 5 deletions .changeset/breezy-llamas-taste.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/cold-hats-return.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/nervous-bottles-juggle.md

This file was deleted.

44 changes: 0 additions & 44 deletions .changeset/rich-colts-laugh.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.2.0

## 7.1.0

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

## 7.2.0

### Patch Changes

- Updated dependencies [0fb8d9a26]
- Updated dependencies [4b267f90d]
- @comet/admin@7.2.0
- @comet/admin-icons@7.2.0

## 7.1.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": "7.1.0",
"version": "7.2.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.1.0",
"@comet/admin-icons": "workspace:^7.1.0",
"@comet/admin": "workspace:^7.2.0",
"@comet/admin-icons": "workspace:^7.2.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.1.0",
"@comet/eslint-config": "workspace:^7.1.0",
"@comet/admin-babel-preset": "workspace:^7.2.0",
"@comet/eslint-config": "workspace:^7.2.0",
"@mui/material": "^5.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/admin/admin-date-time/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @comet/admin-date-time

## 7.2.0

### Patch Changes

- Updated dependencies [0fb8d9a26]
- Updated dependencies [4b267f90d]
- @comet/admin@7.2.0
- @comet/admin-icons@7.2.0

## 7.1.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": "7.1.0",
"version": "7.2.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.1.0",
"@comet/admin-icons": "workspace:^7.1.0",
"@comet/admin": "workspace:^7.2.0",
"@comet/admin-icons": "workspace:^7.2.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.1.0",
"@comet/eslint-config": "workspace:^7.1.0",
"@comet/admin-babel-preset": "workspace:^7.2.0",
"@comet/eslint-config": "workspace:^7.2.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.2.0

## 7.1.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": "7.1.0",
"version": "7.2.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -25,8 +25,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^7.1.0",
"@comet/eslint-config": "workspace:^7.1.0",
"@comet/admin-babel-preset": "workspace:^7.2.0",
"@comet/eslint-config": "workspace:^7.2.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

## 7.2.0

### Patch Changes

- Updated dependencies [0fb8d9a26]
- Updated dependencies [4b267f90d]
- @comet/admin@7.2.0
- @comet/admin-icons@7.2.0

## 7.1.0

### 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.1.0",
"version": "7.2.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.1.0",
"@comet/admin-icons": "workspace:^7.1.0",
"@comet/admin": "workspace:^7.2.0",
"@comet/admin-icons": "workspace:^7.2.0",
"classnames": "^2.2.6"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^7.1.0",
"@comet/eslint-config": "workspace:^7.1.0",
"@comet/admin-babel-preset": "workspace:^7.2.0",
"@comet/eslint-config": "workspace:^7.2.0",
"@mui/material": "^5.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/admin/admin-rte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @comet/admin-rte

## 7.2.0

### Patch Changes

- Updated dependencies [0fb8d9a26]
- Updated dependencies [4b267f90d]
- @comet/admin@7.2.0
- @comet/admin-icons@7.2.0

## 7.1.0

### Patch Changes
Expand Down
10 changes: 5 additions & 5 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": "7.1.0",
"version": "7.2.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand Down Expand Up @@ -28,8 +28,8 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@comet/admin": "workspace:^7.1.0",
"@comet/admin-icons": "workspace:^7.1.0",
"@comet/admin": "workspace:^7.2.0",
"@comet/admin-icons": "workspace:^7.2.0",
"detect-browser": "^5.2.1",
"draft-js-export-html": "^1.4.1",
"draft-js-import-html": "^1.4.1",
Expand All @@ -39,8 +39,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^7.1.0",
"@comet/eslint-config": "workspace:^7.1.0",
"@comet/admin-babel-preset": "workspace:^7.2.0",
"@comet/eslint-config": "workspace:^7.2.0",
"@mui/material": "^5.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.0.0",
Expand Down
10 changes: 10 additions & 0 deletions packages/admin/admin-theme/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @comet/admin-theme

## 7.2.0

### Minor Changes

- 9b800c9f6: Slightly adjust the styling of pinned columns in DataGrid

### Patch Changes

- @comet/admin-icons@7.2.0

## 7.1.0

### Minor 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": "7.1.0",
"version": "7.2.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -26,14 +26,14 @@
"start:types": "tsc --project ./tsconfig.json --emitDeclarationOnly --watch --preserveWatchOutput"
},
"dependencies": {
"@comet/admin-icons": "workspace:^7.1.0",
"@comet/admin-icons": "workspace:^7.2.0",
"@mui/utils": "^5.4.1"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^7.1.0",
"@comet/eslint-config": "workspace:^7.1.0",
"@comet/admin-babel-preset": "workspace:^7.2.0",
"@comet/eslint-config": "workspace:^7.2.0",
"@mui/material": "^5.0.0",
"@mui/system": "^5.0.0",
"@mui/x-data-grid": "^5.0.0",
Expand Down
27 changes: 27 additions & 0 deletions packages/admin/admin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @comet/admin

## 7.2.0

### Minor Changes

- 0fb8d9a26: Allow pinning DataGrid columns using the column config when using `DataGridPro` or `DataGridPremium` with the `usePersistentColumnState` hook

```tsx
const columns: GridColDef[] = [
{
field: "title",
pinned: "left",
},
// ... other columns
{
field: "actions",
pinned: "right",
},
];
```

### Patch Changes

- 4b267f90d: Fix broken export/import of `commonErrorMessages` from the file form field
- Updated dependencies [9b800c9f6]
- @comet/admin-theme@7.2.0
- @comet/admin-icons@7.2.0

## 7.1.0

### Minor Changes
Expand Down
Loading

0 comments on commit ac01c5a

Please sign in to comment.