-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86464e7
commit 9ddb6c4
Showing
213 changed files
with
792 additions
and
2,587 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@comet/cms-admin": major | ||
--- | ||
|
||
Remove deprecated `readClipboard` and `writeClipboard` helpers | ||
|
||
Use `readClipboardText` and `writeClipboardText` from `@comet/admin` instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
"@comet/blocks-admin": major | ||
"@comet/cms-admin": major | ||
--- | ||
|
||
Remove `BindBlockAdminComponent` from public API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
"@comet/blocks-admin": minor | ||
"@comet/cms-admin": minor | ||
--- | ||
|
||
Add an `override` argument to all block factories to follow `createCompositeBlock`'s pattern |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
"@comet/cms-admin": major | ||
--- | ||
|
||
Merge `@comet/blocks-admin` into `@comet/cms-admin` | ||
|
||
The dedicated `@comet/blocks-admin` package was originally introduced to support projects without CMS parts. | ||
It turned out that this is never the case, so the separation doesn't make sense anymore. | ||
Therefore, the `@comet/blocks-admin` is merged into this package. | ||
|
||
**Breaking changes** | ||
|
||
- The `@comet/blocks-admin` package doesn't exist anymore | ||
- Multiple exports that shouldn't be used have been removed from the public API | ||
- `CannotPasteBlockDialog` | ||
- `ClipboardContent` | ||
- `useBlockClipboard` | ||
- `Collapsible` | ||
- `CollapsibleSwitchButtonHeader` | ||
- `usePromise` | ||
- `DispatchSetStateAction` (use `Dispatch<SetStateAction<T>>` from `react` instead) | ||
- `SetStateAction` | ||
- `SetStateFn` | ||
- Multiple exports that were too generic have been renamed | ||
- `createCompositeSetting` -> `createCompositeBlockField` | ||
- `createCompositeSettings` -> `createCompositeBlockFields` | ||
- `IPreviewContext` -> `BlockPreviewContext` | ||
- `PreviewStateInterface` -> `BlockPreviewStateInterface` | ||
- `AdminComponentPart` -> `BlockAdminComponentPart` | ||
- `AdminComponentButton`-> `BlockAdminComponentButton` | ||
- `AdminComponentNestedButton`-> `BlockAdminComponentNestedButton` | ||
- `AdminComponentPaper`->`BlockAdminComponentPaper` | ||
- `useAdminComponentPaper`-> `useBlockAdminComponentPaper` | ||
- `AdminComponentRoot`-> `BlockAdminComponentRoot` | ||
- `AdminComponentSection`-> `BlockAdminComponentSection` | ||
- `AdminComponentSectionGroup`-> `BlockAdminComponentSectionGroup` | ||
- `AdminTabLabel`-> `BlockAdminTabLabel` | ||
- `AdminTabsProps`-> `BlockAdminTabsProps` | ||
- `AdminTabs`-> `BlockAdminTabs` | ||
|
||
**How to upgrade** | ||
|
||
To upgrade, perform the following changes: | ||
|
||
1. Uninstall the `@comet/blocks-admin` package | ||
2. Update all your imports from `@comet/blocks-admin` to `@comet/cms-admin` | ||
3. Remove usages of removed exports | ||
4. Update imports that have been renamed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
"@comet/blocks-admin": major | ||
"@comet/cms-admin": major | ||
--- | ||
|
||
Make fields full-width by default when using `createCompositeBlockTextField` or `createCompositeBlockSelectField` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
"@comet/blocks-admin": patch | ||
"@comet/cms-admin": patch | ||
--- | ||
|
||
Add `BlocksBlockOutput`, `ListBlockOutput`, `OneOfBlockOutput`, `OneOfBlockPreviewState`, and `OptionalBlockOutput` to the public API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.