ywana-core8 0.0.235 → 0.0.239
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/__reactpreview__/Wrapper.tsx +16 -7
- package/dist/index.cjs +7 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +9 -3
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +7 -6
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +7 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -1
- package/src/domain/TablePage.js +6 -4
- package/src/html/header.css +2 -1
- package/src/html/textfield.css +7 -2
- package/src/html/textfield.js +2 -2
- package/src/html/textfield.test.js +21 -0
- package/src/widgets/kanban/Kanban.test.js +18 -0
- package/src/widgets/planner/Planner.css +179 -0
- package/src/widgets/planner/Planner.js +208 -0
- package/src/widgets/planner/Planner.test.js +25 -0
package/dist/index.umd.js
CHANGED
@@ -896,7 +896,7 @@
|
|
896
896
|
|
897
897
|
var borderStyle = outlined ? "textfield-outlined" : "textfield";
|
898
898
|
var labelStyle = label ? "" : "no-label";
|
899
|
-
var style = labelStyle + " " + borderStyle;
|
899
|
+
var style = labelStyle + " " + borderStyle + " textfield-" + type;
|
900
900
|
var labelTxt = /*#__PURE__*/React__default["default"].createElement(Text$1, null, label);
|
901
901
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
902
902
|
className: "" + style,
|
@@ -965,7 +965,7 @@
|
|
965
965
|
}
|
966
966
|
|
967
967
|
function toggle() {
|
968
|
-
if (site) {
|
968
|
+
if (site && site.changeFocus) {
|
969
969
|
site.changeFocus({
|
970
970
|
lose: function lose() {
|
971
971
|
setOpen(false);
|
@@ -4830,14 +4830,15 @@
|
|
4830
4830
|
|
4831
4831
|
function renderGroupLabel(groupName) {
|
4832
4832
|
var grouper = schema[groupBy];
|
4833
|
+
if (!groupName || !grouper) return "";
|
4833
4834
|
|
4834
4835
|
if (grouper.options) {
|
4835
4836
|
var options = CHECK['isFunction'](grouper.options) ? grouper.options() : grouper.options;
|
4836
4837
|
var option = options.find(function (option) {
|
4837
4838
|
return option.value === groupName;
|
4838
4839
|
});
|
4839
|
-
console.log(
|
4840
|
-
return option
|
4840
|
+
console.log(groupName, options, option);
|
4841
|
+
return option ? option.label : groupName;
|
4841
4842
|
} else {
|
4842
4843
|
return groupName;
|
4843
4844
|
}
|
@@ -4912,8 +4913,8 @@
|
|
4912
4913
|
return /*#__PURE__*/React__default["default"].createElement(React.Fragment, {
|
4913
4914
|
key: groupName
|
4914
4915
|
}, /*#__PURE__*/React__default["default"].createElement(Header, {
|
4915
|
-
title: groupName
|
4916
|
-
},
|
4916
|
+
title: renderGroupLabel(groupName)
|
4917
|
+
}, /*#__PURE__*/React__default["default"].createElement("span", {
|
4917
4918
|
className: "size"
|
4918
4919
|
}, groupSize)), /*#__PURE__*/React__default["default"].createElement(DataTable, _extends({}, table, {
|
4919
4920
|
onRowSelection: select,
|