@visns-studio/visns-components 2.8.0 → 2.8.1

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.
@@ -183,6 +183,9 @@ const DataGrid = forwardRef(
183
183
  reload: () => {
184
184
  handleReload();
185
185
  },
186
+ reset: () => {
187
+ handleReset();
188
+ },
186
189
  }));
187
190
 
188
191
  const handleTimer = async (id, key) => {
@@ -361,6 +364,10 @@ const DataGrid = forwardRef(
361
364
  }
362
365
  };
363
366
 
367
+ const handleReset = (filter) => {
368
+ setFilterData(filter);
369
+ };
370
+
364
371
  const handleReload = () => {
365
372
  const min = 0;
366
373
  const max = 999999999;
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "array-move": "^4.0.0",
7
7
  "awesome-debounce-promise": "^2.1.0",
8
8
  "axios": "^1.6.1",
9
- "framer-motion": "^10.16.4",
9
+ "framer-motion": "^10.16.5",
10
10
  "html-react-parser": "^5.0.6",
11
11
  "lodash": "^4.17.21",
12
12
  "moment": "^2.29.4",
@@ -28,7 +28,7 @@
28
28
  "react-sortable-hoc": "^2.0.0",
29
29
  "react-toastify": "^9.1.3",
30
30
  "react-toggle": "^4.1.3",
31
- "react-tooltip": "^5.22.0",
31
+ "react-tooltip": "^5.23.0",
32
32
  "react-window": "^1.8.9",
33
33
  "reactjs-popup": "^2.0.6",
34
34
  "truncate": "^3.0.0",
@@ -44,7 +44,7 @@
44
44
  "react-dom": "^17.0.1"
45
45
  },
46
46
  "name": "@visns-studio/visns-components",
47
- "version": "2.8.0",
47
+ "version": "2.8.1",
48
48
  "description": "Various packages to assist in the development of our Custom Applications.",
49
49
  "main": "index.js",
50
50
  "scripts": {