@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 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,3 @@
1
+ import { Grid2Props } from '@mui/material/Grid2';
2
+ declare const LCTGrid: (props: Grid2Props) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTGrid;
@@ -0,0 +1 @@
1
+ export { default as LCTGrid } from './Grid';
@@ -20,6 +20,7 @@ export * from './divider';
20
20
  export * from './drawer';
21
21
  export * from './footer';
22
22
  export * from './formdialog';
23
+ export * from './grid';
23
24
  export * from './headerrow';
24
25
  export * from './iconbutton';
25
26
  export * from './inputadornment';