@azrico/reactgrid 1.2.43 → 1.2.45

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/CHANGELOG.md CHANGED
@@ -2,6 +2,34 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [1.2.45](https://github.com/Azrideus/azrico-reactgrid/compare/v1.2.10...v1.2.45) (2023-07-09)
6
+
7
+
8
+ ### Features
9
+
10
+ * editable can be a function ([6ea857e](https://github.com/Azrideus/azrico-reactgrid/commit/6ea857e4f403d2a334dc5e74065f6b8033277ca4))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * DataGridDelayedSizeWrapper actual delayed ([2ddfd2f](https://github.com/Azrideus/azrico-reactgrid/commit/2ddfd2fb58c90bd906e1330f22f0ef7468d34afb))
16
+ * onCellSelectionChange ([95c8f54](https://github.com/Azrideus/azrico-reactgrid/commit/95c8f540e94dde0c7e245fb29fb6afc7172957ec))
17
+ * styling ([9018f75](https://github.com/Azrideus/azrico-reactgrid/commit/9018f7593e253720f751f52855a2d956dfc578ed))
18
+
19
+ ### [1.2.44](https://github.com/Azrideus/azrico-reactgrid/compare/v1.2.10...v1.2.44) (2023-07-09)
20
+
21
+
22
+ ### Features
23
+
24
+ * editable can be a function ([6ea857e](https://github.com/Azrideus/azrico-reactgrid/commit/6ea857e4f403d2a334dc5e74065f6b8033277ca4))
25
+
26
+
27
+ ### Bug Fixes
28
+
29
+ * DataGridDelayedSizeWrapper actual delayed ([2ddfd2f](https://github.com/Azrideus/azrico-reactgrid/commit/2ddfd2fb58c90bd906e1330f22f0ef7468d34afb))
30
+ * onCellSelectionChange ([95c8f54](https://github.com/Azrideus/azrico-reactgrid/commit/95c8f540e94dde0c7e245fb29fb6afc7172957ec))
31
+ * styling ([9018f75](https://github.com/Azrideus/azrico-reactgrid/commit/9018f7593e253720f751f52855a2d956dfc578ed))
32
+
5
33
  ### [1.2.43](https://github.com/Azrideus/azrico-reactgrid/compare/v1.2.10...v1.2.43) (2023-07-09)
6
34
 
7
35
 
@@ -144,8 +144,9 @@ function DataGridEventsWrapper(props) {
144
144
  const renderRowContextMenu = _react.default.useCallback((menuProps, {
145
145
  rowProps
146
146
  }) => {
147
- console.log('cm:', menuAnchorEl);
147
+ menuProps.autoDismiss = true;
148
148
  return _react.default.createElement(_controls.ContextMenu, {
149
+ dontAutoClose: true,
149
150
  menuAnchorEl: menuAnchorEl,
150
151
  set_menuAnchorEl: update_menuAnchorEl,
151
152
  menuRow: rowProps.data,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/reactgrid",
3
- "version": "1.2.43",
3
+ "version": "1.2.45",
4
4
  "main": "dist/index.js",
5
5
  "description": "React Datagrid",
6
6
  "author": "Azrideus <MehrdadTavangar@gmail.com>",
@@ -29,8 +29,8 @@
29
29
  "typescript": "^4.8.4"
30
30
  },
31
31
  "dependencies": {
32
- "@azrico/controls": "1.5.12",
33
- "@azrico/object": "^1.4.12",
32
+ "@azrico/controls": "^1.5.57",
33
+ "@azrico/object": "^1.4.35",
34
34
  "@emotion/react": "^11.9.3",
35
35
  "@emotion/styled": "^11.9.3",
36
36
  "@inovua/reactdatagrid-enterprise": "^5.8.5",
@@ -300,9 +300,10 @@ function DataGridEventsWrapper(props: DataGridWrapperProps) {
300
300
 
301
301
  const renderRowContextMenu = React.useCallback(
302
302
  (menuProps, { rowProps }) => {
303
- console.log('cm:', menuAnchorEl);
303
+ menuProps.autoDismiss = true;
304
304
  return (
305
305
  <ContextMenu
306
+ dontAutoClose
306
307
  menuAnchorEl={menuAnchorEl}
307
308
  set_menuAnchorEl={update_menuAnchorEl}
308
309
  menuRow={rowProps.data}