-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade BP to 4.2.x * Validate image src in Hero background render, add title as required in Hero component * Update crafterCmsVersions --------- Co-authored-by: jvega190 <[email protected]>
- Loading branch information
Showing
10 changed files
with
2,263 additions
and
1,417 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
NEXT_PUBLIC_CRAFTERCMS_HOST_NAME=http://localhost:8080 | ||
NEXT_PUBLIC_CRAFTERCMS_SITE_NAME=nextjs | ||
NEXT_PUBLIC_PREVIEW_TOKEN="" |
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 |
---|---|---|
|
@@ -6,13 +6,14 @@ | |
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint", | ||
"format": "prettier --write ." | ||
"format": "prettier --write .", | ||
"postinstall": "patch-package" | ||
}, | ||
"dependencies": { | ||
"@craftercms/classes": "4.1.2-support.2", | ||
"@craftercms/content": "4.1.2-support.2", | ||
"@craftercms/experience-builder": "4.1.2-support.3", | ||
"@craftercms/models": "4.1.2-support.2", | ||
"@craftercms/classes": "4.2.0", | ||
"@craftercms/content": "4.2.0", | ||
"@craftercms/experience-builder": "^4.2.0", | ||
"@craftercms/models": "4.2.0", | ||
"@emotion/cache": "^11.10.5", | ||
"@emotion/css": "^11.10.6", | ||
"@emotion/react": "^11.10.6", | ||
|
@@ -23,8 +24,7 @@ | |
"@mui/material": "^5.14.16", | ||
"axios": "^1.3.4", | ||
"js-cookie": "^3.0.5", | ||
"next": "14.0.4", | ||
"next-auth": "^4.24.4", | ||
"next": "14.2.20", | ||
"prop-types": "^15.8.1", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
|
@@ -38,6 +38,7 @@ | |
"devDependencies": { | ||
"eslint": "8.6.0", | ||
"eslint-config-next": "12.0.7", | ||
"patch-package": "^8.0.0", | ||
"prettier": "^2.8.8" | ||
}, | ||
"packageManager": "[email protected]" | ||
|
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/node_modules/@craftercms/experience-builder/react/GuestProxy.js b/node_modules/@craftercms/experience-builder/react/GuestProxy.js | ||
index a789064..07e3ff5 100644 | ||
--- a/node_modules/@craftercms/experience-builder/react/GuestProxy.js | ||
+++ b/node_modules/@craftercms/experience-builder/react/GuestProxy.js | ||
@@ -19,7 +19,6 @@ import { useGuestContext, useSelector } from './GuestContext'; | ||
import * as ElementRegistry from '../elementRegistry'; | ||
import { getParentElementFromICEProps } from '../elementRegistry'; | ||
import * as iceRegistry from '../iceRegistry'; | ||
-import $ from '../jquery'; | ||
import { contentTypes$, getCachedContentType, getCachedModel, getModelIdFromInheritedField, models$, operations$, paths$ } from '../contentController'; | ||
import { zip } from 'rxjs'; | ||
import { filter, take } from 'rxjs/operators'; | ||
@@ -31,6 +30,8 @@ import { forEach } from '@craftercms/studio-ui/utils/array'; | ||
import { isSimple, popPiece, removeLastPiece } from '@craftercms/studio-ui/utils/string'; | ||
import { addAnimation } from '../utils/dom'; | ||
import { emptyCollectionClass } from '../constants'; | ||
+import dynamic from 'next/dynamic'; | ||
+const $ = dynamic(() => import('../jquery'), { ssr: false }); | ||
export function GuestProxy() { | ||
const draggable = useSelector((state) => state.draggable); | ||
const { onEvent } = useGuestContext(); |
Oops, something went wrong.