ywana-core8 0.0.318 → 0.0.321
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 +13 -4
- 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 +1 -2
- package/src/domain/TablePage.js +1 -1
- package/src/domain/index.js +1 -1
package/dist/index.umd.js
CHANGED
@@ -4419,7 +4419,8 @@
|
|
4419
4419
|
delay = _props$delay === void 0 ? 1000 : _props$delay,
|
4420
4420
|
actions = props.actions,
|
4421
4421
|
levels = props.levels,
|
4422
|
-
onSelect = props.onSelect
|
4422
|
+
onSelect = props.onSelect,
|
4423
|
+
children = props.children;
|
4423
4424
|
|
4424
4425
|
var _useContext = React.useContext(PageContext),
|
4425
4426
|
pageContext = _useContext[0],
|
@@ -4497,7 +4498,7 @@
|
|
4497
4498
|
layout: editor,
|
4498
4499
|
autosave: autosave,
|
4499
4500
|
delay: delay
|
4500
|
-
})));
|
4501
|
+
}), children ? /*#__PURE__*/React__default["default"].createElement("article", null, children) : null));
|
4501
4502
|
};
|
4502
4503
|
|
4503
4504
|
var CollectionList = function CollectionList(props) {
|
@@ -4631,7 +4632,6 @@
|
|
4631
4632
|
* Collection Editor
|
4632
4633
|
*/
|
4633
4634
|
|
4634
|
-
|
4635
4635
|
var CollectionEditor = function CollectionEditor(props) {
|
4636
4636
|
var save = function save() {
|
4637
4637
|
try {
|
@@ -5290,7 +5290,7 @@
|
|
5290
5290
|
}) : null) : null, /*#__PURE__*/React__default["default"].createElement("main", {
|
5291
5291
|
key: id,
|
5292
5292
|
className: "table-page"
|
5293
|
-
},
|
5293
|
+
}, /*#__PURE__*/React__default["default"].createElement(TableEditor, {
|
5294
5294
|
icon: icon,
|
5295
5295
|
title: name,
|
5296
5296
|
schema: schema,
|
@@ -5300,7 +5300,7 @@
|
|
5300
5300
|
filter: tableFilter,
|
5301
5301
|
actions: tableActions,
|
5302
5302
|
canDelete: canDelete
|
5303
|
-
})), renderAside());
|
5303
|
+
}), children ? /*#__PURE__*/React__default["default"].createElement("article", null, children) : null), renderAside());
|
5304
5304
|
};
|
5305
5305
|
|
5306
5306
|
var TableRowEditor = function TableRowEditor(props) {
|
@@ -5999,6 +5999,7 @@
|
|
5999
5999
|
exports.CollectionContext = CollectionContext;
|
6000
6000
|
exports.CollectionEditor = CollectionEditor$1;
|
6001
6001
|
exports.CollectionPage = CollectionPage;
|
6002
|
+
exports.CollectionTree = CollectionTree;
|
6002
6003
|
exports.Content = Content;
|
6003
6004
|
exports.ContentEditor = ContentEditor;
|
6004
6005
|
exports.ContentForm = ContentForm;
|