Skip to content

Commit

Permalink
Version Packages (#2184)
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@6.14.0

### Minor Changes

-   2fc764e: Add `OnChangeField` helper to listen to field changes

    **Example**

    ```tsx
    <OnChangeField name="product">
        {(value, previousValue) => {
            // Will be called when field 'product' changes
        }}
    </OnChangeField>
    ```

### Patch Changes

-   012a768: Fix infinite update loop in `useAsyncOptionsProps`
-   Updated dependencies [efccc42]
    -   @comet/admin-icons@6.14.0

## @comet/admin-icons@6.14.0

### Minor Changes

-   efccc42: Add `YouTube` and `Vimeo` icons

## @comet/cms-admin@6.14.0

### Minor Changes

-   73dfb61: Add `PhoneLinkBlock` and `EmailLinkBlock`

-   9055ff7: Remove label from `DamVideoBlock` file field

    This was done to streamline it with the `DamImageBlock`.

- dddb03d: Add capability to generate alt texts and titles for images
in DAM

You can find instructions for adding this feature to your project [in
the docs](https://docs.comet-dxp.com/docs/content-generation/).

- acfcef9: The `documentTypes` prop of `PagesPage` now also accepts a
function mapping categories to document types

Previously, only the supported documentTypes of the current category
could be passed to the `PagesPage`.
That made it impossible to verify if a document can be moved to another
category.
If a document was moved to a category that didn't support its type, the
PageTree crashed.

If a mapping function is passed to `documentTypes`, documents can only
be moved to categories that support their type.

    ```diff
    <PagesPage
    -   documentTypes={pageTreeDocumentTypes}
+ documentTypes={(category): Record<DocumentType, DocumentInterface> =>
{
    +       if (category === "TopMenu") {
    +           return {
    +               Page,
    +               PredefinedPage,
    +           };
    +       }
    +
    +       return {
    +           Page,
    +           PredefinedPage,
    +           Link,
    +       };
    +   }}
        // ...
    />
    ```

- 61a43d2: Add a menu item to `PixelImageBlock`, `SvgImageBlock` and
`DamVideoBlock` that opens the chosen file in the DAM

Note: This feature only works if the `DependenciesConfig` is configured
for `DamFile`:

    ```diff
    // App.tsx

    <DependenciesConfigProvider
        entityDependencyMap={{
    +       DamFile: createDamFileDependency(),
            // ...
        }}
    >
    ```

### Patch Changes

-   Updated dependencies [2fc764e]
-   Updated dependencies [2de81e4]
-   Updated dependencies [efccc42]
-   Updated dependencies [012a768]
    -   @comet/admin@6.14.0
    -   @comet/admin-theme@6.14.0
    -   @comet/admin-icons@6.14.0
    -   @comet/admin-date-time@6.14.0
    -   @comet/admin-rte@6.14.0
    -   @comet/blocks-admin@6.14.0

## @comet/blocks-api@6.14.0

### Minor Changes

-   73dfb61: Add `PhoneLinkBlock` and `EmailLinkBlock`
-   87ef5fa: YouTubeVideoBlock: Add validation for identifier

    Must be either a valid YouTube URL or video identifier.

## @comet/cms-api@6.14.0

### Minor Changes

-   73dfb61: Add `PhoneLinkBlock` and `EmailLinkBlock`

- dddb03d: Add capability to generate alt texts and titles for images
in DAM

You can find instructions for adding this feature to your project [in
the docs](https://docs.comet-dxp.com/docs/content-generation/).

- 73dfb61: Add `IsPhoneNumber` and `isPhoneNumber` validators to
validate phone numbers

### Patch Changes

- b7dbd7a: Export `DisablePermissionCheck` constant to enable usage in
application code
-   Updated dependencies [73dfb61]
-   Updated dependencies [87ef5fa]
    -   @comet/blocks-api@6.14.0

## @comet/cms-site@6.14.0

### Minor Changes

-   73dfb61: Add `PhoneLinkBlock` and `EmailLinkBlock`

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

### Patch Changes

-   Updated dependencies [2fc764e]
-   Updated dependencies [efccc42]
-   Updated dependencies [012a768]
    -   @comet/admin@6.14.0
    -   @comet/admin-icons@6.14.0

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

### Patch Changes

-   Updated dependencies [2fc764e]
-   Updated dependencies [efccc42]
-   Updated dependencies [012a768]
    -   @comet/admin@6.14.0
    -   @comet/admin-icons@6.14.0

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

### Patch Changes

-   Updated dependencies [2fc764e]
-   Updated dependencies [efccc42]
-   Updated dependencies [012a768]
    -   @comet/admin@6.14.0
    -   @comet/admin-icons@6.14.0

## @comet/admin-rte@6.14.0

### Patch Changes

-   Updated dependencies [2fc764e]
-   Updated dependencies [efccc42]
-   Updated dependencies [012a768]
    -   @comet/admin@6.14.0
    -   @comet/admin-icons@6.14.0

## @comet/admin-theme@6.14.0

### Patch Changes

-   2de81e4: Fix top position of end-adornment in MuiAutocomplete
-   Updated dependencies [efccc42]
    -   @comet/admin-icons@6.14.0

## @comet/blocks-admin@6.14.0

### Patch Changes

-   Updated dependencies [2fc764e]
-   Updated dependencies [efccc42]
-   Updated dependencies [012a768]
    -   @comet/admin@6.14.0
    -   @comet/admin-icons@6.14.0

## @comet/eslint-config@6.14.0

### Patch Changes

-   @comet/eslint-plugin@6.14.0

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



## @comet/cli@6.14.0



## @comet/eslint-plugin@6.14.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 Jun 26, 2024
1 parent dddb03d commit 7bb17eb
Show file tree
Hide file tree
Showing 45 changed files with 307 additions and 226 deletions.
8 changes: 0 additions & 8 deletions .changeset/fifty-lemons-work.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/flat-cups-cough.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/great-mirrors-provide.md

This file was deleted.

32 changes: 0 additions & 32 deletions .changeset/little-bats-glow.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/nasty-balloons-worry.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/olive-lamps-type.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/purple-scissors-brake.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/silly-candles-obey.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-cooks-hear.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/two-grapes-know.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wicked-bananas-accept.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/yellow-ligers-explode.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

## 6.14.0

## 6.13.0

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

## 6.14.0

### Patch Changes

- Updated dependencies [2fc764e29]
- Updated dependencies [efccc42a3]
- Updated dependencies [012a768ee]
- @comet/admin@6.14.0
- @comet/admin-icons@6.14.0

## 6.13.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": "6.13.0",
"version": "6.14.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:^6.13.0",
"@comet/admin-icons": "workspace:^6.13.0",
"@comet/admin": "workspace:^6.14.0",
"@comet/admin-icons": "workspace:^6.14.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:^6.13.0",
"@comet/eslint-config": "workspace:^6.13.0",
"@comet/admin-babel-preset": "workspace:^6.14.0",
"@comet/eslint-config": "workspace:^6.14.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
"@types/react": "^17.0.0",
Expand Down
10 changes: 10 additions & 0 deletions packages/admin/admin-date-time/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @comet/admin-date-time

## 6.14.0

### Patch Changes

- Updated dependencies [2fc764e29]
- Updated dependencies [efccc42a3]
- Updated dependencies [012a768ee]
- @comet/admin@6.14.0
- @comet/admin-icons@6.14.0

## 6.13.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": "6.13.0",
"version": "6.14.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:^6.13.0",
"@comet/admin-icons": "workspace:^6.13.0",
"@comet/admin": "workspace:^6.14.0",
"@comet/admin-icons": "workspace:^6.14.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:^6.13.0",
"@comet/eslint-config": "workspace:^6.13.0",
"@comet/admin-babel-preset": "workspace:^6.14.0",
"@comet/eslint-config": "workspace:^6.14.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
"@types/react": "^17.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/admin/admin-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @comet/admin-icons

## 6.14.0

### Minor Changes

- efccc42a3: Add `YouTube` and `Vimeo` icons

## 6.13.0

## 6.12.0
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": "6.13.0",
"version": "6.14.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:^6.13.0",
"@comet/eslint-config": "workspace:^6.13.0",
"@comet/admin-babel-preset": "workspace:^6.14.0",
"@comet/eslint-config": "workspace:^6.14.0",
"@mui/material": "^5.0.0",
"@types/cli-progress": "^3.8.0",
"@types/node": "^18.0.0",
Expand Down
10 changes: 10 additions & 0 deletions packages/admin/admin-react-select/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @comet/admin-react-select

## 6.14.0

### Patch Changes

- Updated dependencies [2fc764e29]
- Updated dependencies [efccc42a3]
- Updated dependencies [012a768ee]
- @comet/admin@6.14.0
- @comet/admin-icons@6.14.0

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

## 6.14.0

### Patch Changes

- Updated dependencies [2fc764e29]
- Updated dependencies [efccc42a3]
- Updated dependencies [012a768ee]
- @comet/admin@6.14.0
- @comet/admin-icons@6.14.0

## 6.13.0

### Minor 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": "6.13.0",
"version": "6.14.0",
"repository": {
"type": "git",
"url": "https://github.com/vivid-planet/comet",
Expand All @@ -27,8 +27,8 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@comet/admin": "workspace:^6.13.0",
"@comet/admin-icons": "workspace:^6.13.0",
"@comet/admin": "workspace:^6.14.0",
"@comet/admin-icons": "workspace:^6.14.0",
"detect-browser": "^5.2.1",
"draft-js-export-html": "^1.4.1",
"draft-js-import-html": "^1.4.1",
Expand All @@ -38,8 +38,8 @@
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.20.12",
"@comet/admin-babel-preset": "workspace:^6.13.0",
"@comet/eslint-config": "workspace:^6.13.0",
"@comet/admin-babel-preset": "workspace:^6.14.0",
"@comet/eslint-config": "workspace:^6.14.0",
"@mui/material": "^5.0.0",
"@mui/styles": "^5.0.0",
"@testing-library/jest-dom": "^5.16.5",
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

## 6.14.0

### Patch Changes

- 2de81e40b: Fix top position of end-adornment in MuiAutocomplete
- Updated dependencies [efccc42a3]
- @comet/admin-icons@6.14.0

## 6.13.0

### Patch Changes
Expand Down
Loading

0 comments on commit 7bb17eb

Please sign in to comment.