@visns-studio/visns-components 3.6.10 → 3.7.0

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.
@@ -639,8 +639,20 @@ const DataGrid = forwardRef(
639
639
 
640
640
  rowProps.onClick = (event) => {
641
641
  onRowClick(rowProps, event);
642
- if (onClick) {
643
- onClick(event);
642
+
643
+ const cellElement = event.target.closest(
644
+ '.InovuaReactDataGrid__cell'
645
+ );
646
+ const columnIndex = Array.from(
647
+ cellElement.parentNode.children
648
+ ).indexOf(cellElement);
649
+
650
+ const column = rowProps.columns[columnIndex];
651
+
652
+ if (column.id === '__checkbox-column') {
653
+ if (onClick) {
654
+ onClick(event);
655
+ }
644
656
  }
645
657
  };
646
658
  }, []);
@@ -2341,7 +2353,6 @@ const DataGrid = forwardRef(
2341
2353
  limit={limit}
2342
2354
  enableColumnAutosize={false}
2343
2355
  enableColumnFilterContextMenu={false}
2344
- enableSelection={false}
2345
2356
  handle={(ref) =>
2346
2357
  (gridRef.current = ref ? ref.current : null)
2347
2358
  }
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@inovua/reactdatagrid-community": "^5.10.2",
4
- "@tinymce/tinymce-react": "^4.3.2",
4
+ "@tinymce/tinymce-react": "^5.0.1",
5
5
  "add": "^2.0.6",
6
- "akar-icons": "^1.9.30",
6
+ "akar-icons": "^1.9.31",
7
7
  "array-move": "^4.0.0",
8
8
  "awesome-debounce-promise": "^2.1.0",
9
- "axios": "^1.6.7",
9
+ "axios": "^1.6.8",
10
10
  "file-saver": "^2.0.5",
11
- "framer-motion": "^11.0.8",
12
- "html-react-parser": "^5.1.8",
11
+ "framer-motion": "^11.0.24",
12
+ "html-react-parser": "^5.1.10",
13
13
  "lodash": "^4.17.21",
14
14
  "lodash.debounce": "^4.0.8",
15
15
  "moment": "^2.30.1",
@@ -20,9 +20,9 @@
20
20
  "react-color": "^2.19.3",
21
21
  "react-confirm-alert": "^3.0.6",
22
22
  "react-copy-to-clipboard": "^5.1.0",
23
- "react-datepicker": "^4.25.0",
23
+ "react-datepicker": "^6.6.0",
24
24
  "react-dropzone": "^14.2.3",
25
- "react-number-format": "^5.3.3",
25
+ "react-number-format": "^5.3.4",
26
26
  "react-password-strength-bar": "^0.4.1",
27
27
  "react-promise-tracker": "^2.1.1",
28
28
  "react-quill": "^2.0.0",
@@ -31,7 +31,7 @@
31
31
  "react-slugify": "^3.0.3",
32
32
  "react-sortable-hoc": "^2.0.0",
33
33
  "react-to-print": "^2.15.1",
34
- "react-toastify": "^10.0.4",
34
+ "react-toastify": "^10.0.5",
35
35
  "react-toggle": "^4.1.3",
36
36
  "react-tooltip": "^5.26.3",
37
37
  "react-window": "^1.8.10",
@@ -39,7 +39,7 @@
39
39
  "truncate": "^3.0.0",
40
40
  "uuid": "^9.0.1",
41
41
  "validator": "^13.11.0",
42
- "yarn": "^1.22.21"
42
+ "yarn": "^1.22.22"
43
43
  },
44
44
  "devDependecies": {
45
45
  "react": "^18.2.0",
@@ -50,7 +50,7 @@
50
50
  "react-dom": "^17.0.1"
51
51
  },
52
52
  "name": "@visns-studio/visns-components",
53
- "version": "3.6.10",
53
+ "version": "3.7.0",
54
54
  "description": "Various packages to assist in the development of our Custom Applications.",
55
55
  "main": "index.js",
56
56
  "scripts": {