@leapdevuk/component-toolbox 0.0.132 → 0.0.134
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/CHANGELOG.md +14 -1
- package/dist/components/datagrid/DataGrid.d.ts +2 -1
- package/dist/components/grid/Grid.d.ts +3 -0
- package/dist/components/grid/index.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs.js +35 -35
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4049 -3615
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.0.134 (2025-10-16)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- Update DataGrid add params 'isRowSelectable' to return whether a row can be selected or not
|
|
8
|
+
- New Grid layout component, adapts to screen size and orientation, ensuring consistency across layouts.
|
|
9
|
+
|
|
10
|
+
## 0.0.133 (2025-10-16)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- Update DataGrid params 'hideFooter' now checks for undefined value
|
|
15
|
+
|
|
3
16
|
## 0.0.132 (2025-10-16)
|
|
4
17
|
|
|
5
18
|
### Features
|
|
6
19
|
|
|
7
|
-
- Update DataGrid add params to allow setting of hideFooter, defaults to true
|
|
20
|
+
- Update DataGrid add params to allow setting of 'hideFooter', defaults to true
|
|
8
21
|
|
|
9
22
|
## 0.0.131 (2025-08-13)
|
|
10
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GridCallbackDetails, GridColDef, GridColumnVisibilityModel, GridInputRowSelectionModel, GridProSlotsComponent, GridRowParams, GridRowSelectionModel, GridSlotProps, GridSlotsComponentsProps } from '@mui/x-data-grid-pro';
|
|
1
|
+
import { GridCallbackDetails, GridColDef, GridColumnVisibilityModel, GridInputRowSelectionModel, GridProSlotsComponent, GridRowParams, GridRowSelectionModel, GridSlotProps, GridSlotsComponentsProps, GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
2
2
|
import { GridInitialStatePro } from '@mui/x-data-grid-pro/models/gridStatePro';
|
|
3
3
|
interface IDataGridProps {
|
|
4
4
|
maxHeight: any;
|
|
@@ -23,6 +23,7 @@ interface IDataGridProps {
|
|
|
23
23
|
onRowSelectionModelChange?: (rowSelectionModel: GridRowSelectionModel, details: GridCallbackDetails) => void;
|
|
24
24
|
noRowsOverlay?: React.JSXElementConstructor<GridSlotProps["noRowsOverlay"]>;
|
|
25
25
|
hideFooter?: boolean;
|
|
26
|
+
isRowSelectable?: ((params: GridRowParams<GridValidRowModel>) => boolean) | undefined;
|
|
26
27
|
}
|
|
27
28
|
declare const LCTDataGrid: import('@emotion/styled').StyledComponent<IDataGridProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
28
29
|
export default LCTDataGrid;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as LCTGrid } from './Grid';
|