@bsol-oss/react-datatable5 2.0.1 → 2.0.2

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.js CHANGED
@@ -907,7 +907,7 @@ const FilterOptions = ({ column }) => {
907
907
  const GlobalFilter = ({ icon = md.MdSearch }) => {
908
908
  const { table } = useDataTableContext();
909
909
  return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsx(react.Box, { children: jsxRuntime.jsxs(react.InputGroup, { children: [jsxRuntime.jsx(react.InputLeftElement, { pointerEvents: "none", children: jsxRuntime.jsx(react.Icon, { as: icon, color: "gray.300" }) }), jsxRuntime.jsx(react.Input, { value: table.getState().globalFilter.globalFilter, onChange: (e) => {
910
- table.setGlobalFilter(e.target.value);
910
+ table.setGlobalFilter({ "globalFilter": e.target.value });
911
911
  } })] }) }) }));
912
912
  };
913
913
 
package/dist/index.mjs CHANGED
@@ -905,7 +905,7 @@ const FilterOptions = ({ column }) => {
905
905
  const GlobalFilter = ({ icon = MdSearch }) => {
906
906
  const { table } = useDataTableContext();
907
907
  return (jsx(Fragment, { children: jsx(Box, { children: jsxs(InputGroup, { children: [jsx(InputLeftElement, { pointerEvents: "none", children: jsx(Icon, { as: icon, color: "gray.300" }) }), jsx(Input, { value: table.getState().globalFilter.globalFilter, onChange: (e) => {
908
- table.setGlobalFilter(e.target.value);
908
+ table.setGlobalFilter({ "globalFilter": e.target.value });
909
909
  } })] }) }) }));
910
910
  };
911
911
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsol-oss/react-datatable5",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",