ywana-core8 0.0.801 → 0.0.803
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 +7 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +7 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +7 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +2 -2
- package/src/site/page.js +2 -2
package/dist/index.modern.js
CHANGED
@@ -3945,11 +3945,12 @@ var Page = function Page(props) {
|
|
3945
3945
|
_props$layout = props.layout,
|
3946
3946
|
layout = _props$layout === void 0 ? "simple" : _props$layout,
|
3947
3947
|
_props$context = props.context,
|
3948
|
-
context = _props$context === void 0 ? {} : _props$context
|
3948
|
+
context = _props$context === void 0 ? {} : _props$context,
|
3949
|
+
className = props.className;
|
3949
3950
|
return /*#__PURE__*/React.createElement(PageProvider, {
|
3950
3951
|
context: context
|
3951
3952
|
}, /*#__PURE__*/React.createElement("article", {
|
3952
|
-
className: "page6 " + layout
|
3953
|
+
className: "page6 " + layout + " " + className
|
3953
3954
|
}, children));
|
3954
3955
|
};
|
3955
3956
|
|
@@ -5671,7 +5672,9 @@ var EntityEditor = function EntityEditor(_ref6) {
|
|
5671
5672
|
onChange = _ref6.onChange;
|
5672
5673
|
var id = field.id,
|
5673
5674
|
item = field.item,
|
5674
|
-
label = field.label
|
5675
|
+
label = field.label,
|
5676
|
+
_field$outlined = field.outlined,
|
5677
|
+
outlined = _field$outlined === void 0 ? false : _field$outlined;
|
5675
5678
|
var content = new Content(item, value);
|
5676
5679
|
|
5677
5680
|
function change(fid, value) {
|
@@ -5717,7 +5720,7 @@ var EntityEditor = function EntityEditor(_ref6) {
|
|
5717
5720
|
key: field.id,
|
5718
5721
|
field: field,
|
5719
5722
|
onChange: change,
|
5720
|
-
outlined:
|
5723
|
+
outlined: outlined,
|
5721
5724
|
content: content
|
5722
5725
|
});
|
5723
5726
|
}))) : null;
|