@vendorflow/components 2.0.77 → 2.0.78

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.
@@ -69,6 +69,7 @@ function DataTable() {
69
69
  data: data,
70
70
  options: options,
71
71
  defaultColumn: { minWidth: 50, width: 150 },
72
+ initialState: { hiddenColumns: ['firstName'] },
72
73
  });
73
74
  return (react_1.default.createElement(material_1.ThemeProvider, { theme: (0, material_1.createTheme)() },
74
75
  react_1.default.createElement("div", { style: { height: '700px', width: '640px' } },
@@ -67,7 +67,9 @@ function ViewColumnTool(_a) {
67
67
  (0, react_1.jsx)("div", { css: (0, react_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n "], ["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n "]))) }, allColumns
68
68
  .filter(function (column) { return column.id !== 'custom'; })
69
69
  .map(function (column) {
70
- return ((0, react_1.jsx)(material_1.FormControlLabel, { key: column.id, label: columnNameById[column.id],
70
+ var label = columnNameById[column.id];
71
+ console.log('-> label', label);
72
+ return ((0, react_1.jsx)(material_1.FormControlLabel, { key: column.id, label: label,
71
73
  // @ts-ignore
72
74
  control: (0, react_1.jsx)(IndeterminateCheckbox_1.default, __assign({}, column.getToggleHiddenProps())) }));
73
75
  }))))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendorflow/components",
3
- "version": "2.0.77",
3
+ "version": "2.0.78",
4
4
  "description": "React components for vendorflow",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",