@sitecore-jss/sitecore-jss-nextjs 22.6.0-canary.29 → 22.6.0-canary.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,6 +67,7 @@ exports.Link = (0, react_1.forwardRef)((props, ref) => {
67
67
  const isFileUrl = FILE_EXTENSION_MATCHER.test(href);
68
68
  // determine if a link is a route or not. File extensions are not routes and should not be pre-fetched.
69
69
  if (isMatching && !isFileUrl) {
70
+ delete htmlLinkProps.emptyFieldEditingComponent;
70
71
  return (react_1.default.createElement(link_1.default, Object.assign({ href: { pathname: href, query: querystring, hash: anchor }, key: "link", locale: false, title: value.title, target: value.target, className: value.class, prefetch: props.prefetch }, htmlLinkProps, { ref: ref }),
71
72
  text,
72
73
  children));
@@ -38,6 +38,7 @@ export const Link = forwardRef((props, ref) => {
38
38
  const isFileUrl = FILE_EXTENSION_MATCHER.test(href);
39
39
  // determine if a link is a route or not. File extensions are not routes and should not be pre-fetched.
40
40
  if (isMatching && !isFileUrl) {
41
+ delete htmlLinkProps.emptyFieldEditingComponent;
41
42
  return (React.createElement(NextLink, Object.assign({ href: { pathname: href, query: querystring, hash: anchor }, key: "link", locale: false, title: value.title, target: value.target, className: value.class, prefetch: props.prefetch }, htmlLinkProps, { ref: ref }),
42
43
  text,
43
44
  children));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitecore-jss/sitecore-jss-nextjs",
3
- "version": "22.6.0-canary.29",
3
+ "version": "22.6.0-canary.30",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "sideEffects": false,
@@ -74,9 +74,9 @@
74
74
  "react-dom": "^18.2.0"
75
75
  },
76
76
  "dependencies": {
77
- "@sitecore-jss/sitecore-jss": "22.6.0-canary.29",
78
- "@sitecore-jss/sitecore-jss-dev-tools": "22.6.0-canary.29",
79
- "@sitecore-jss/sitecore-jss-react": "22.6.0-canary.29",
77
+ "@sitecore-jss/sitecore-jss": "22.6.0-canary.30",
78
+ "@sitecore-jss/sitecore-jss-dev-tools": "22.6.0-canary.30",
79
+ "@sitecore-jss/sitecore-jss-react": "22.6.0-canary.30",
80
80
  "@vercel/kv": "^0.2.1",
81
81
  "prop-types": "^15.8.1",
82
82
  "regex-parser": "^2.2.11",
@@ -84,7 +84,7 @@
84
84
  },
85
85
  "description": "",
86
86
  "types": "types/index.d.ts",
87
- "gitHead": "80353b68d104ad9cb5940618e3daee5c98fc1539",
87
+ "gitHead": "69247f2f3265c73c2144d0fde717f0c04e4f598b",
88
88
  "files": [
89
89
  "dist",
90
90
  "types",