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.
@@ -900,9 +900,7 @@ var TextField = function TextField(props) {
900
900
  onChange: change,
901
901
  onKeyDown: onKeyPress,
902
902
  onFocus: focus,
903
- readOnly: readOnly,
904
- onfocus: "(this.type='date')",
905
- onfocusout: "(this.type='text')"
903
+ readOnly: readOnly
906
904
  }), /*#__PURE__*/React.createElement("span", {
907
905
  className: "bar"
908
906
  }), label ? /*#__PURE__*/React.createElement("label", null, labelTxt) : null);
@@ -978,7 +976,6 @@ var DropDown = function DropDown(props) {
978
976
  var items = filterActive ? options.filter(function (option) {
979
977
  return option.label.toUpperCase().indexOf(label.toUpperCase()) >= 0;
980
978
  }) : options;
981
- console.log('filterActive: ', filterActive, label, items.length);
982
979
  var lis = items.map(function (option) {
983
980
  return /*#__PURE__*/React.createElement("li", {
984
981
  key: option.value,
@@ -1094,7 +1091,9 @@ var DataTable = function DataTable(props) {
1094
1091
  sortable = _ref.sortable;
1095
1092
  return /*#__PURE__*/React.createElement("th", null, id === "checked" ? /*#__PURE__*/React.createElement(CheckBox, {
1096
1093
  onChange: checkAll
1097
- }) : /*#__PURE__*/React.createElement(Text, null, label), sortable ? /*#__PURE__*/React.createElement(Icon, {
1094
+ }) : /*#__PURE__*/React.createElement(Text, {
1095
+ key: "th_" + id
1096
+ }, label), sortable ? /*#__PURE__*/React.createElement(Icon, {
1098
1097
  icon: "arrow_up",
1099
1098
  size: "small",
1100
1099
  clickable: true
@@ -1130,8 +1129,9 @@ var DataTableRow = function DataTableRow(props) {
1130
1129
  onClick: function onClick(ev) {
1131
1130
  return onSelect(row, ev);
1132
1131
  }
1133
- }, columns.map(function (column) {
1132
+ }, columns.map(function (column, index) {
1134
1133
  return /*#__PURE__*/React.createElement(DataTableCell, {
1134
+ key: column.id + "_" + index,
1135
1135
  row: row,
1136
1136
  column: column,
1137
1137
  cell: row[column.id],
@@ -1296,6 +1296,7 @@ var DataTableCell = function DataTableCell(_ref2) {
1296
1296
  };
1297
1297
 
1298
1298
  return /*#__PURE__*/React.createElement("td", {
1299
+ key: column.id,
1299
1300
  className: column.id
1300
1301
  }, render(column.type));
1301
1302
  };