Skip to content

Commit

Permalink
Version Packages (#2514)
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

- 22863c2: Add an `options` prop to `SelectField` as an alternative to
`children`

Note: the behavior of the `options` prop differs from `FinalFormSelect`
and is only intended to work with static options.
    Use the existing `AsyncSelectField` for dynamic options.

- Each option must have the `value` and `label` properties. A custom
structure is not supported.
- There are no `getOptionLabel` and `getOptionValue` props. The `label`
and `value` properties are used directly.
- The value stored in the form state is the `value` property, not the
whole option object.

    ```tsx
    const options: SelectFieldOption[] = [
        { value: "chocolate", label: "Chocolate" },
        { value: "strawberry", label: "Strawberry" },
        { value: "raspberry", label: "Raspberry", disabled: true },
    ];

    // ...

<SelectField name="flavor" label="Select a flavor" options={options}
fullWidth />;
    ```

- cab7c42: Add support for downloading previously uploaded files to
`FileUploadField`

- 1ca46e8: Add support for `badgeContent` prop in `MenuItemRouterLink`

    **Example usage in `masterMenuData`:**

    ```ts
    const masterMenuData = [
        // ...
        {
            type: "route",
            primary: "Some Route",
            to: "/someRoute",
            badgeContent: 2,
        },
        // ...
    ];
    ```

    **Example usage as element:**

    ```tsx
<MenuItemRouterLink primary="Some Route" to="/someRoute"
badgeContent={2} />
    ```

- 1ca46e8: Extend `MenuItemAnchorLink` to define a correctly styled
`LinkExternal` icon if no `secondaryAction` is passed

- bef162a: Add possibility for uncontrolled (promise-based) behavior
to `FeedbackButton`

Previously the `FeedbackButton` was controlled by the props `loading`
and `hasErrors`. To enable more use cases and easier usage, a
promise-based way was added. If neither of the mentioned props are
passed, the component uses the promise returned by `onClick` to evaluate
the idle, loading and error state.

- 3e013b0: Add the ability to disable individual `CheckboxListField`
and `RadioGroupField` options

    ```tsx
    const options = [
        {
            label: "Selectable",
            value: "selectable",
        },
        {
            label: "Disabled",
            value: "disabled",
            disabled: true,
        },
    ];

    const FormFields = () => (
        <>
<CheckboxListField label="Checkbox List" name="checkboxList"
options={options} />
<RadioGroupField label="Radio Group" name="radioGroup" fullWdth
options={options} />
        </>
    );
    ```

### Patch Changes

-   48d1403: Fix `FieldContainer` layout on first render

Previously, `FieldContainer` displayed vertically on desktop instead of
horizontally due to the container width not being available during the
first render (because `ref.current` was null).
The layout corrected itself after interacting with the field, triggering
a rerender.

Now, the rerender is triggered automatically when `ref.current` is set
resulting in the correct layout from the start.

- bc1ed88: FinalFormSelect: Fix value `0` and `false` not being
clearable
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Minor Changes

- aad4eef: Use a `Chip` in combination with a `Menu` for the page
visibility selection

This replaces a `Button` which was used previously as trigger for the
menu.

-   44f1c59: Add dialog to confirm manually starting a cron job

- cab7c42: Add support for downloading previously uploaded files to
`FileUploadField`

- 1ca46e8: Add support for `badgeContent` prop in `MenuItemRouterLink`

    **Example usage in `masterMenuData`:**

    ```ts
    const masterMenuData = [
        // ...
        {
            type: "route",
            primary: "Some Route",
            to: "/someRoute",
            badgeContent: 2,
        },
        // ...
    ];
    ```

    **Example usage as element:**

    ```tsx
<MenuItemRouterLink primary="Some Route" to="/someRoute"
badgeContent={2} />
    ```

-   bfb8f04: Add `VimeoVideoBlock` to support Vimeo videos

-   5fc1fc3: Add info alert for dependents and duplicates in DAM

### Patch Changes

-   Updated dependencies [22863c2]
-   Updated dependencies [cab7c42]
-   Updated dependencies [48d1403]
-   Updated dependencies [1ca46e8]
-   Updated dependencies [1ca46e8]
-   Updated dependencies [bef162a]
-   Updated dependencies [bc1ed88]
-   Updated dependencies [46f9322]
-   Updated dependencies [3e013b0]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Minor Changes

- f1d9e44: Support filtering for document types in the
`paginatedPageTreeNodes` query

    **Example**

    ```graphql
    query PredefinedPages($scope: PageTreeNodeScopeInput!) {
paginatedPageTreeNodes(scope: $scope, documentType: "PredefinedPage") {
            nodes {
                id
            }
        }
    }
    ```

- cab7c42: Add support for downloading previously uploaded files to
`FileUploadField`

-   bfb8f04: Add `VimeoVideoBlock` to support Vimeo videos

-   a970190: File Uploads: Add download endpoint

The endpoint can be enabled by providing the `download` option in the
module config:

    ```ts
    FileUploadsModule.register({
      /* ... */,
      download: {
        secret: "your secret",
      },
    })
    ```

### Patch Changes

-   @comet/[email protected]

## @comet/[email protected]

### Minor Changes

-   bfb8f04: Add `VimeoVideoBlock` to support Vimeo videos

- b132010: Add helper functions and components to prevent loading
third-party cookies until explicit user consent

See the docs for information on usage and configuration:
<https://docs.comet-dxp.com/docs/working-with-cookies/>

- 53d896b: Add optional `icon` prop to `VideoPreviewImage` to enable
setting a custom play icon

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [22863c2]
-   Updated dependencies [cab7c42]
-   Updated dependencies [48d1403]
-   Updated dependencies [1ca46e8]
-   Updated dependencies [1ca46e8]
-   Updated dependencies [bef162a]
-   Updated dependencies [bc1ed88]
-   Updated dependencies [3e013b0]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [22863c2]
-   Updated dependencies [cab7c42]
-   Updated dependencies [48d1403]
-   Updated dependencies [1ca46e8]
-   Updated dependencies [1ca46e8]
-   Updated dependencies [bef162a]
-   Updated dependencies [bc1ed88]
-   Updated dependencies [3e013b0]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [22863c2]
-   Updated dependencies [cab7c42]
-   Updated dependencies [48d1403]
-   Updated dependencies [1ca46e8]
-   Updated dependencies [1ca46e8]
-   Updated dependencies [bef162a]
-   Updated dependencies [bc1ed88]
-   Updated dependencies [3e013b0]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   Updated dependencies [22863c2]
-   Updated dependencies [cab7c42]
-   Updated dependencies [48d1403]
-   Updated dependencies [1ca46e8]
-   Updated dependencies [1ca46e8]
-   Updated dependencies [bef162a]
-   Updated dependencies [bc1ed88]
-   Updated dependencies [3e013b0]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

-   46f9322: Fix the top position of the rich text editor toolbar

Previously, the rich text editor's toolbar would be moved too far down
when used inside `AdminComponentRoot`, but not as a direct child.

-   Updated dependencies [22863c2]

-   Updated dependencies [cab7c42]

-   Updated dependencies [48d1403]

-   Updated dependencies [1ca46e8]

-   Updated dependencies [1ca46e8]

-   Updated dependencies [bef162a]

-   Updated dependencies [bc1ed88]

-   Updated dependencies [3e013b0]
    -   @comet/[email protected]
    -   @comet/[email protected]

## @comet/[email protected]

### Patch Changes

- a101ed6: inject-site-configs: Add sane defaults for preloginEnabled

    When `preloginEnabled` is `undefined` or `null` set it to `true`
    on environments != `prod` or `local`.

## @comet/[email protected]

### Patch Changes

-   @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 Sep 18, 2024
1 parent 908ec12 commit d363918
Show file tree
Hide file tree
Showing 51 changed files with 408 additions and 303 deletions.
17 changes: 0 additions & 17 deletions .changeset/dirty-clocks-wonder.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/forty-turtles-compete.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/friendly-parents-divide.md

This file was deleted.

24 changes: 0 additions & 24 deletions .changeset/funny-donuts-prove.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/khaki-waves-yawn.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/lovely-bananas-tan.md

This file was deleted.

27 changes: 0 additions & 27 deletions .changeset/lucky-bees-care.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/lucky-hairs-tell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/moody-numbers-fetch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/perfect-hounds-visit.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/polite-kids-drum.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/polite-rats-remain.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/quiet-kangaroos-give.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silly-scissors-fetch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-vans-hang.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/sour-houses-play.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/tidy-mangos-swim.md

This file was deleted.

26 changes: 0 additions & 26 deletions .changeset/twenty-jars-divide.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.4.0

## 7.3.2

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

## 7.4.0

### Patch Changes

- Updated dependencies [22863c202]
- Updated dependencies [cab7c427a]
- Updated dependencies [48d1403d7]
- Updated dependencies [1ca46e8da]
- Updated dependencies [1ca46e8da]
- Updated dependencies [bef162a60]
- Updated dependencies [bc1ed880a]
- Updated dependencies [3e013b05d]
- @comet/admin@7.4.0
- @comet/admin-icons@7.4.0

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

## 7.4.0

### Patch Changes

- Updated dependencies [22863c202]
- Updated dependencies [cab7c427a]
- Updated dependencies [48d1403d7]
- Updated dependencies [1ca46e8da]
- Updated dependencies [1ca46e8da]
- Updated dependencies [bef162a60]
- Updated dependencies [bc1ed880a]
- Updated dependencies [3e013b05d]
- @comet/admin@7.4.0
- @comet/admin-icons@7.4.0

## 7.3.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.3.2",
"version": "7.4.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.3.2",
"@comet/admin-icons": "workspace:^7.3.2",
"@comet/admin": "workspace:^7.4.0",
"@comet/admin-icons": "workspace:^7.4.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.3.2",
"@comet/eslint-config": "workspace:^7.3.2",
"@comet/admin-babel-preset": "workspace:^7.4.0",
"@comet/eslint-config": "workspace:^7.4.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.4.0

## 7.3.2

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

## 7.4.0

### Patch Changes

- Updated dependencies [22863c202]
- Updated dependencies [cab7c427a]
- Updated dependencies [48d1403d7]
- Updated dependencies [1ca46e8da]
- Updated dependencies [1ca46e8da]
- Updated dependencies [bef162a60]
- Updated dependencies [bc1ed880a]
- Updated dependencies [3e013b05d]
- @comet/admin@7.4.0
- @comet/admin-icons@7.4.0

## 7.3.2

### Patch Changes
Expand Down
Loading

0 comments on commit d363918

Please sign in to comment.