@sitecore-content-sdk/react 1.2.0-canary.24 → 1.2.0-canary.26
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.
- package/dist/cjs/components/Link.js +1 -1
- package/dist/cjs/components/Placeholder/Placeholder.js +1 -0
- package/dist/cjs/components/RichText.js +1 -0
- package/dist/cjs/components/Text.js +1 -0
- package/dist/esm/components/Link.js +1 -1
- package/dist/esm/components/Placeholder/Placeholder.js +1 -0
- package/dist/esm/components/RichText.js +1 -0
- package/dist/esm/components/Text.js +1 -0
- package/package.json +3 -3
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
'use client';
|
|
2
3
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
4
|
if (k2 === undefined) k2 = k;
|
|
4
5
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -45,7 +46,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
45
46
|
};
|
|
46
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
48
|
exports.Link = void 0;
|
|
48
|
-
/* eslint-disable no-unused-expressions, @typescript-eslint/no-unused-expressions */
|
|
49
49
|
const react_1 = __importStar(require("react"));
|
|
50
50
|
const layout_1 = require("@sitecore-content-sdk/core/layout");
|
|
51
51
|
const withFieldMetadata_1 = require("../enhancers/withFieldMetadata");
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
'use client';
|
|
1
2
|
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
3
|
var t = {};
|
|
3
4
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
@@ -9,7 +10,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
9
10
|
}
|
|
10
11
|
return t;
|
|
11
12
|
};
|
|
12
|
-
/* eslint-disable no-unused-expressions, @typescript-eslint/no-unused-expressions */
|
|
13
13
|
import React, { forwardRef } from 'react';
|
|
14
14
|
import { isFieldValueEmpty } from '@sitecore-content-sdk/core/layout';
|
|
15
15
|
import { withFieldMetadata } from '../enhancers/withFieldMetadata';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitecore-content-sdk/react",
|
|
3
|
-
"version": "1.2.0-canary.
|
|
3
|
+
"version": "1.2.0-canary.26",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
"react-dom": "^19.1.0"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@sitecore-content-sdk/core": "1.2.0-canary.
|
|
75
|
+
"@sitecore-content-sdk/core": "1.2.0-canary.26",
|
|
76
76
|
"fast-deep-equal": "^3.1.3"
|
|
77
77
|
},
|
|
78
78
|
"description": "",
|
|
79
79
|
"types": "types/index.d.ts",
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "5f816d27a6e8580f2487df8e3f97c0e5b65e4800",
|
|
81
81
|
"files": [
|
|
82
82
|
"dist",
|
|
83
83
|
"types"
|