mig-schema-table 4.0.3 → 4.0.5

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.
@@ -60,7 +60,6 @@ function Td({ checkedIndexes, disabledCheckedIndexes, columnIndex, data, getRowC
60
60
  return {
61
61
  "data-row-index": rowIndex,
62
62
  "data-column-index": columnIndex,
63
- key: propName,
64
63
  style,
65
64
  onClick: onTdClick,
66
65
  onDoubleClick: onTdDoubleClick,
@@ -29,7 +29,7 @@ const Th = ({ columnFilterStatus, isAllChecked, isSortable, numberOfSelectedRows
29
29
  classNames.push(`mig-schema-table__th--drop-target`);
30
30
  }
31
31
  const { format } = schema || {};
32
- const { align, defaultSortDesc, renderData, showTimezones, TdBody, title } = propConfig || {};
32
+ const { align, defaultSortDesc, showTimezones, title } = propConfig || {};
33
33
  const onLabelClick = React.useCallback(() => {
34
34
  if (!isSortable) {
35
35
  return;
@@ -104,7 +104,7 @@ const FilterMenuComponent = ({ columnFilterValue, onChange, onInputKeyDown, prop
104
104
  return;
105
105
  }
106
106
  onChange(Object.assign(Object.assign({}, columnFilterValue), { from: date || undefined }), true);
107
- }, placeholderText: dateFormat, isClearable: true, selectsStart: true, showTimeSelect: isDateTime, showTimeInput: isDateTime, timeIntervals: 15, shouldCloseOnSelect: !isDateTime })] })), _jsxs("li", Object.assign({ style: { padding: 8 } }, { children: [_jsx("label", Object.assign({ style: { width: 120, paddingLeft: 4 } }, { children: "Before" })), _jsx(DatePicker, { id: "filter-date", dateFormat: dateFormat, "data-prop-name": propName, locale: nl, selectsEnd: true, selected: dateRangeValue.to, onChange: (date) => {
107
+ }, placeholderText: dateFormat, isClearable: true, selectsStart: true, showTimeSelect: isDateTime, showTimeInput: isDateTime, showMonthDropdown: true, showYearDropdown: true, timeIntervals: 15, shouldCloseOnSelect: !isDateTime })] })), _jsxs("li", Object.assign({ style: { padding: 8 } }, { children: [_jsx("label", Object.assign({ style: { width: 120, paddingLeft: 4 } }, { children: "Before" })), _jsx(DatePicker, { id: "filter-date", dateFormat: dateFormat, "data-prop-name": propName, locale: nl, selectsEnd: true, selected: dateRangeValue.to, showMonthDropdown: true, showYearDropdown: true, onChange: (date) => {
108
108
  if (!date && !dateRangeValue.from) {
109
109
  onChange(undefined, true);
110
110
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mig-schema-table",
3
- "version": "4.0.3",
3
+ "version": "4.0.5",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist/"