ywana-core8 0.1.70 → 0.1.72
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/index.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +8 -0
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +8 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentType.js +10 -1
- package/src/domain/ContentViewer.js +1 -0
package/dist/index.modern.js
CHANGED
@@ -1288,6 +1288,13 @@ var ContentType = /*#__PURE__*/function () {
|
|
1288
1288
|
}) : [];
|
1289
1289
|
}
|
1290
1290
|
break;
|
1291
|
+
case "Image":
|
1292
|
+
if (entryData) {
|
1293
|
+
next[name] = entryData;
|
1294
|
+
} else {
|
1295
|
+
next[name] = field["default"];
|
1296
|
+
}
|
1297
|
+
break;
|
1291
1298
|
default:
|
1292
1299
|
next[name] = field;
|
1293
1300
|
break;
|
@@ -7911,6 +7918,7 @@ var ContentViewer = function ContentViewer(props) {
|
|
7911
7918
|
if (!content) return /*#__PURE__*/React.createElement("div", null, "No Content...");
|
7912
7919
|
var sections = content.sections();
|
7913
7920
|
var value = content.value();
|
7921
|
+
console.log("ContentViewer", value);
|
7914
7922
|
return /*#__PURE__*/React.createElement("div", {
|
7915
7923
|
className: "content-viewer"
|
7916
7924
|
}, sections.map(function (section) {
|