ywana-core8 0.0.525 → 0.0.528
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 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +8 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +8 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +5 -5
- package/src/widgets/planner/Planner.js +1 -1
package/dist/index.modern.js
CHANGED
@@ -2707,7 +2707,7 @@ var Planner = function Planner(_ref) {
|
|
2707
2707
|
}, navigation ? /*#__PURE__*/React.createElement(Header, {
|
2708
2708
|
title: label
|
2709
2709
|
}, "\xA0\xA0", /*#__PURE__*/React.createElement(Button, {
|
2710
|
-
label: "
|
2710
|
+
label: "This Week",
|
2711
2711
|
outlined: true,
|
2712
2712
|
action: showThisWeek
|
2713
2713
|
}), /*#__PURE__*/React.createElement(Icon, {
|
@@ -4887,6 +4887,7 @@ var CollectionPage = function CollectionPage(props) {
|
|
4887
4887
|
title = props.title,
|
4888
4888
|
_props$name = props.name,
|
4889
4889
|
name = _props$name === void 0 ? "Collection 1" : _props$name,
|
4890
|
+
className = props.className,
|
4890
4891
|
schema = props.schema,
|
4891
4892
|
url = props.url,
|
4892
4893
|
field = props.field,
|
@@ -4958,7 +4959,7 @@ var CollectionPage = function CollectionPage(props) {
|
|
4958
4959
|
}
|
4959
4960
|
|
4960
4961
|
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Header, {
|
4961
|
-
className: "collection-page",
|
4962
|
+
className: "collection-page " + className,
|
4962
4963
|
title: /*#__PURE__*/React.createElement(Text, null, title)
|
4963
4964
|
}, canAdd ? /*#__PURE__*/React.createElement(Button, {
|
4964
4965
|
icon: "add",
|
@@ -4975,6 +4976,7 @@ var CollectionPage = function CollectionPage(props) {
|
|
4975
4976
|
}), canFilter ? /*#__PURE__*/React.createElement(CollectionFilters, {
|
4976
4977
|
schema: schema
|
4977
4978
|
}) : null, levels ? /*#__PURE__*/React.createElement(CollectionTree, {
|
4979
|
+
icon: icon,
|
4978
4980
|
levels: levels,
|
4979
4981
|
onSelect: onSelect,
|
4980
4982
|
sorter: sorter
|
@@ -5117,7 +5119,9 @@ var CollectionTree = function CollectionTree(props) {
|
|
5117
5119
|
}
|
5118
5120
|
};
|
5119
5121
|
|
5120
|
-
var
|
5122
|
+
var _props$icon = props.icon,
|
5123
|
+
icon = _props$icon === void 0 ? "description" : _props$icon,
|
5124
|
+
levels = props.levels,
|
5121
5125
|
onSelect = props.onSelect,
|
5122
5126
|
sorter = props.sorter;
|
5123
5127
|
|
@@ -5173,6 +5177,7 @@ var CollectionTree = function CollectionTree(props) {
|
|
5173
5177
|
open: true
|
5174
5178
|
}, node.nodes ? renderNodes(node.nodes) : node.items.map(function (item) {
|
5175
5179
|
return /*#__PURE__*/React.createElement(TreeItem, {
|
5180
|
+
icon: icon,
|
5176
5181
|
key: item.id,
|
5177
5182
|
id: item.id,
|
5178
5183
|
label: item.name,
|