-
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.
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
1 parent
dddb03d
commit 7bb17eb
Showing
45 changed files
with
307 additions
and
226 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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 | ||
|
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
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.