@alaarab/ogrid-react-fluent 2.1.13 → 2.1.14

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/esm/index.js CHANGED
@@ -604,6 +604,7 @@ function DataGridTableInner(props) {
604
604
  interaction,
605
605
  pinning,
606
606
  handleResizeStart,
607
+ handleResizeDoubleClick,
607
608
  getColumnWidth,
608
609
  isReorderDragging,
609
610
  dropIndicatorX,
@@ -846,6 +847,7 @@ function DataGridTableInner(props) {
846
847
  wrapperRef.current?.focus({ preventScroll: true });
847
848
  handleResizeStart(e, col);
848
849
  },
850
+ onDoubleClick: (e) => handleResizeDoubleClick(e, col),
849
851
  "aria-label": `Resize ${col.name}`
850
852
  }
851
853
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alaarab/ogrid-react-fluent",
3
- "version": "2.1.13",
3
+ "version": "2.1.14",
4
4
  "description": "OGrid React Fluent implementation – DataGrid-powered data table with sorting, filtering, pagination, column chooser, and CSV export.",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -41,7 +41,7 @@
41
41
  "node": ">=18"
42
42
  },
43
43
  "dependencies": {
44
- "@alaarab/ogrid-react": "2.1.13"
44
+ "@alaarab/ogrid-react": "2.1.14"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@fluentui/react-components": "^9.0.0",