ywana-core8 0.0.146 → 0.0.150
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 +4 -5
- package/dist/index.cjs.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 +1 -1
- package/src/html/table.js +3 -3
- package/src/html/textfield.js +1 -2
package/dist/index.cjs
CHANGED
@@ -907,9 +907,7 @@ var TextField = function TextField(props) {
|
|
907
907
|
onChange: change,
|
908
908
|
onKeyDown: onKeyPress,
|
909
909
|
onFocus: focus,
|
910
|
-
readOnly: readOnly
|
911
|
-
onfocus: "(this.type='date')",
|
912
|
-
onfocusout: "(this.type='text')"
|
910
|
+
readOnly: readOnly
|
913
911
|
}), /*#__PURE__*/React__default["default"].createElement("span", {
|
914
912
|
className: "bar"
|
915
913
|
}), label ? /*#__PURE__*/React__default["default"].createElement("label", null, labelTxt) : null);
|
@@ -985,7 +983,6 @@ var DropDown = function DropDown(props) {
|
|
985
983
|
var items = filterActive ? options.filter(function (option) {
|
986
984
|
return option.label.toUpperCase().indexOf(label.toUpperCase()) >= 0;
|
987
985
|
}) : options;
|
988
|
-
console.log('filterActive: ', filterActive, label, items.length);
|
989
986
|
var lis = items.map(function (option) {
|
990
987
|
return /*#__PURE__*/React__default["default"].createElement("li", {
|
991
988
|
key: option.value,
|
@@ -1137,8 +1134,9 @@ var DataTableRow = function DataTableRow(props) {
|
|
1137
1134
|
onClick: function onClick(ev) {
|
1138
1135
|
return onSelect(row, ev);
|
1139
1136
|
}
|
1140
|
-
}, columns.map(function (column) {
|
1137
|
+
}, columns.map(function (column, index) {
|
1141
1138
|
return /*#__PURE__*/React__default["default"].createElement(DataTableCell, {
|
1139
|
+
key: column.id + "_" + index,
|
1142
1140
|
row: row,
|
1143
1141
|
column: column,
|
1144
1142
|
cell: row[column.id],
|
@@ -1303,6 +1301,7 @@ var DataTableCell = function DataTableCell(_ref2) {
|
|
1303
1301
|
};
|
1304
1302
|
|
1305
1303
|
return /*#__PURE__*/React__default["default"].createElement("td", {
|
1304
|
+
key: column.id,
|
1306
1305
|
className: column.id
|
1307
1306
|
}, render(column.type));
|
1308
1307
|
};
|