@lowdefy/blocks-aggrid 5.1.0 → 5.2.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.
package/dist/AgGrid.js CHANGED
@@ -20,7 +20,7 @@ import processColDefs from './processColDefs.js';
20
20
  import assignRowId from './assignRowId.js';
21
21
  import LoadingOverlay from './LoadingOverlay.js';
22
22
  const AgGrid = ({ properties, methods, loading, events })=>{
23
- const { quickFilterValue, columnDefs, defaultColDef, rowData: newRowData, ...someProperties } = properties;
23
+ const { quickFilterValue, columnDefs, defaultColDef, rowData: newRowData, suppressCellFocus = true, ...someProperties } = properties;
24
24
  const [rowData, setRowData] = useState(newRowData ?? []);
25
25
  const gridRef = useRef();
26
26
  const memoDefaultColDef = useMemo(()=>defaultColDef);
@@ -138,6 +138,7 @@ const AgGrid = ({ properties, methods, loading, events })=>{
138
138
  }
139
139
  }, /*#__PURE__*/ React.createElement(AgGridReact, {
140
140
  ...someProperties,
141
+ suppressCellFocus: suppressCellFocus,
141
142
  rowData: rowData,
142
143
  defaultColDef: memoDefaultColDef,
143
144
  onFilterChanged: onFilterChanged,
@@ -73,6 +73,8 @@
73
73
  display: flex;
74
74
  align-items: center;
75
75
  line-height: var(--ant-line-height, 1.5);
76
+ overflow: hidden;
77
+ min-width: 0;
76
78
  }
77
79
 
78
80
  .antdTheme :global(.lf-ellipsis-1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/blocks-aggrid",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "AgGrid Blocks for Lowdefy.",
6
6
  "homepage": "https://lowdefy.com",
@@ -49,8 +49,8 @@
49
49
  "@ag-grid-community/csv-export": "30.2.0",
50
50
  "@ag-grid-community/react": "30.2.0",
51
51
  "@ag-grid-community/styles": "30.2.0",
52
- "@lowdefy/block-utils": "5.1.0",
53
- "@lowdefy/helpers": "5.1.0"
52
+ "@lowdefy/block-utils": "5.2.0",
53
+ "@lowdefy/helpers": "5.2.0"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@ant-design/icons": ">=6",
@@ -60,8 +60,8 @@
60
60
  "react-dom": ">=18"
61
61
  },
62
62
  "devDependencies": {
63
- "@lowdefy/block-dev-e2e": "5.1.0",
64
- "@lowdefy/e2e-utils": "5.1.0",
63
+ "@lowdefy/block-dev-e2e": "5.2.0",
64
+ "@lowdefy/e2e-utils": "5.2.0",
65
65
  "@playwright/test": "1.50.1",
66
66
  "@swc/cli": "0.8.0",
67
67
  "@swc/core": "1.15.18",