ywana-core8 0.1.65 → 0.1.67
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 +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +6 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentViewer.js +3 -1
- package/src/site/site.css +1 -1
package/dist/index.umd.js
CHANGED
@@ -7915,7 +7915,7 @@
|
|
7915
7915
|
var value = content.value();
|
7916
7916
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
7917
7917
|
className: "content-viewer"
|
7918
|
-
}, sections.map(function (section) {
|
7918
|
+
}, "xxx", sections.map(function (section) {
|
7919
7919
|
var title = section.title,
|
7920
7920
|
fields = section.fields;
|
7921
7921
|
return /*#__PURE__*/React__default["default"].createElement("section", {
|
@@ -7975,6 +7975,11 @@
|
|
7975
7975
|
item: item,
|
7976
7976
|
value: value
|
7977
7977
|
});
|
7978
|
+
case "Image":
|
7979
|
+
return /*#__PURE__*/React__default["default"].createElement("img", {
|
7980
|
+
className: field.id,
|
7981
|
+
src: value
|
7982
|
+
});
|
7978
7983
|
default:
|
7979
7984
|
return /*#__PURE__*/React__default["default"].createElement("div", null, label);
|
7980
7985
|
}
|