@sitecore-jss/sitecore-jss-react 22.1.0-canary.64 → 22.1.0-canary.65
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.
|
@@ -6,9 +6,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.HiddenRendering = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const styles = {
|
|
9
|
-
height: '100px',
|
|
10
9
|
backgroundImage: 'linear-gradient(45deg, #ffffff 25%, #dcdcdc 25%, #dcdcdc 50%, #ffffff 50%, #ffffff 75%, #dcdcdc 75%, #dcdcdc 100%)',
|
|
11
10
|
backgroundSize: '3px 3px',
|
|
11
|
+
display: 'flex',
|
|
12
|
+
justifyContent: 'center',
|
|
13
|
+
alignItems: 'center',
|
|
14
|
+
padding: '30px',
|
|
15
|
+
color: '#aaa',
|
|
12
16
|
};
|
|
13
|
-
const HiddenRendering = () => react_1.default.createElement("div", { style: styles });
|
|
17
|
+
const HiddenRendering = () => react_1.default.createElement("div", { style: styles }, "The component is hidden");
|
|
14
18
|
exports.HiddenRendering = HiddenRendering;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
const styles = {
|
|
3
|
-
height: '100px',
|
|
4
3
|
backgroundImage: 'linear-gradient(45deg, #ffffff 25%, #dcdcdc 25%, #dcdcdc 50%, #ffffff 50%, #ffffff 75%, #dcdcdc 75%, #dcdcdc 100%)',
|
|
5
4
|
backgroundSize: '3px 3px',
|
|
5
|
+
display: 'flex',
|
|
6
|
+
justifyContent: 'center',
|
|
7
|
+
alignItems: 'center',
|
|
8
|
+
padding: '30px',
|
|
9
|
+
color: '#aaa',
|
|
6
10
|
};
|
|
7
|
-
export const HiddenRendering = () => React.createElement("div", { style: styles });
|
|
11
|
+
export const HiddenRendering = () => React.createElement("div", { style: styles }, "The component is hidden");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitecore-jss/sitecore-jss-react",
|
|
3
|
-
"version": "22.1.0-canary.
|
|
3
|
+
"version": "22.1.0-canary.65",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
"react-dom": "^18.2.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@sitecore-jss/sitecore-jss": "^22.1.0-canary.
|
|
64
|
+
"@sitecore-jss/sitecore-jss": "^22.1.0-canary.65",
|
|
65
65
|
"fast-deep-equal": "^3.1.3",
|
|
66
66
|
"prop-types": "^15.8.1",
|
|
67
67
|
"style-attr": "^1.3.0"
|
|
68
68
|
},
|
|
69
69
|
"description": "",
|
|
70
70
|
"types": "types/index.d.ts",
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "eb3429b36264b6920efa4d9ebdbc16a175bce231",
|
|
72
72
|
"files": [
|
|
73
73
|
"dist",
|
|
74
74
|
"types"
|