ywana-core8 0.0.145 → 0.0.149

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.
@@ -251,7 +251,7 @@ var CheckBox = function CheckBox(props) {
251
251
  value: value,
252
252
  onChange: change
253
253
  }), /*#__PURE__*/React.createElement("span", {
254
- "class": "checkmark"
254
+ className: "checkmark"
255
255
  }), /*#__PURE__*/React.createElement("label", {
256
256
  htmlFor: id
257
257
  }, labelTxt)) : /*#__PURE__*/React.createElement("div", {
@@ -264,7 +264,7 @@ var CheckBox = function CheckBox(props) {
264
264
  value: value,
265
265
  onChange: change
266
266
  }), /*#__PURE__*/React.createElement("span", {
267
- "class": "checkmark"
267
+ className: "checkmark"
268
268
  }), /*#__PURE__*/React.createElement("label", {
269
269
  htmlFor: id
270
270
  }, labelTxt));
@@ -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,
@@ -1130,8 +1127,9 @@ var DataTableRow = function DataTableRow(props) {
1130
1127
  onClick: function onClick(ev) {
1131
1128
  return onSelect(row, ev);
1132
1129
  }
1133
- }, columns.map(function (column) {
1130
+ }, columns.map(function (column, index) {
1134
1131
  return /*#__PURE__*/React.createElement(DataTableCell, {
1132
+ key: column.id + "_" + index,
1135
1133
  row: row,
1136
1134
  column: column,
1137
1135
  cell: row[column.id],
@@ -1296,6 +1294,7 @@ var DataTableCell = function DataTableCell(_ref2) {
1296
1294
  };
1297
1295
 
1298
1296
  return /*#__PURE__*/React.createElement("td", {
1297
+ key: column.id,
1299
1298
  className: column.id
1300
1299
  }, render(column.type));
1301
1300
  };