ywana-core8 0.0.317 → 0.0.320
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 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +14 -5
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +6 -6
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.css +12 -3
- package/src/domain/CollectionPage.js +3 -2
- package/src/domain/TablePage.css +0 -1
- package/src/domain/TablePage.js +1 -1
- package/src/domain/index.js +1 -1
- package/src/site/site.css +2 -2
package/dist/index.cjs
CHANGED
@@ -4425,7 +4425,8 @@ var CollectionPage = function CollectionPage(props) {
|
|
4425
4425
|
delay = _props$delay === void 0 ? 1000 : _props$delay,
|
4426
4426
|
actions = props.actions,
|
4427
4427
|
levels = props.levels,
|
4428
|
-
onSelect = props.onSelect
|
4428
|
+
onSelect = props.onSelect,
|
4429
|
+
children = props.children;
|
4429
4430
|
|
4430
4431
|
var _useContext = React.useContext(PageContext),
|
4431
4432
|
pageContext = _useContext[0],
|
@@ -4503,7 +4504,7 @@ var CollectionPage = function CollectionPage(props) {
|
|
4503
4504
|
layout: editor,
|
4504
4505
|
autosave: autosave,
|
4505
4506
|
delay: delay
|
4506
|
-
})));
|
4507
|
+
}), children ? /*#__PURE__*/React__default["default"].createElement("article", null, children) : null));
|
4507
4508
|
};
|
4508
4509
|
|
4509
4510
|
var CollectionList = function CollectionList(props) {
|
@@ -4637,7 +4638,6 @@ var CollectionTree = function CollectionTree(props) {
|
|
4637
4638
|
* Collection Editor
|
4638
4639
|
*/
|
4639
4640
|
|
4640
|
-
|
4641
4641
|
var CollectionEditor = function CollectionEditor(props) {
|
4642
4642
|
var save = function save() {
|
4643
4643
|
try {
|
@@ -5296,7 +5296,7 @@ var TablePage = function TablePage(props) {
|
|
5296
5296
|
}) : null) : null, /*#__PURE__*/React__default["default"].createElement("main", {
|
5297
5297
|
key: id,
|
5298
5298
|
className: "table-page"
|
5299
|
-
},
|
5299
|
+
}, /*#__PURE__*/React__default["default"].createElement(TableEditor, {
|
5300
5300
|
icon: icon,
|
5301
5301
|
title: name,
|
5302
5302
|
schema: schema,
|
@@ -5306,7 +5306,7 @@ var TablePage = function TablePage(props) {
|
|
5306
5306
|
filter: tableFilter,
|
5307
5307
|
actions: tableActions,
|
5308
5308
|
canDelete: canDelete
|
5309
|
-
})), renderAside());
|
5309
|
+
}), children ? /*#__PURE__*/React__default["default"].createElement("article", null, children) : null), renderAside());
|
5310
5310
|
};
|
5311
5311
|
|
5312
5312
|
var TableRowEditor = function TableRowEditor(props) {
|
@@ -6005,6 +6005,7 @@ exports.CircularProgress = CircularProgress;
|
|
6005
6005
|
exports.CollectionContext = CollectionContext;
|
6006
6006
|
exports.CollectionEditor = CollectionEditor$1;
|
6007
6007
|
exports.CollectionPage = CollectionPage;
|
6008
|
+
exports.CollectionTree = CollectionTree;
|
6008
6009
|
exports.Content = Content;
|
6009
6010
|
exports.ContentEditor = ContentEditor;
|
6010
6011
|
exports.ContentForm = ContentForm;
|