@leapdevuk/component-toolbox 0.0.133 → 0.0.135

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,16 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.0.135 (2025-11-27)
4
+
5
+ ### Features
6
+
7
+ - New FormControlLabel component.
8
+ - New ListItem component. A common list item.
9
+
10
+ ## 0.0.134 (2025-10-16)
11
+
12
+ ### Features
13
+
14
+ - Update DataGrid add params 'isRowSelectable' to return whether a row can be selected or not
15
+ - New Grid layout component, adapts to screen size and orientation, ensuring consistency across layouts.
16
+
3
17
  ## 0.0.133 (2025-10-16)
4
18
 
5
19
  ### Bug Fixes
6
20
 
7
- - Update DataGrid params to hideFooter now checks for undefined value
21
+ - Update DataGrid params 'hideFooter' now checks for undefined value
8
22
 
9
23
  ## 0.0.132 (2025-10-16)
10
24
 
11
25
  ### Features
12
26
 
13
- - Update DataGrid add params to allow setting of hideFooter, defaults to true
27
+ - Update DataGrid add params to allow setting of 'hideFooter', defaults to true
14
28
 
15
29
  ## 0.0.131 (2025-08-13)
16
30
 
@@ -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 { FormControlLabelProps } from '@mui/material';
2
+ declare const LCTFormControlLabel: (props: FormControlLabelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTFormControlLabel;
@@ -0,0 +1 @@
1
+ export { default as LCTFormControlLabel } from './FormControlLabel';
@@ -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';
@@ -19,12 +19,15 @@ export * from './dialog';
19
19
  export * from './divider';
20
20
  export * from './drawer';
21
21
  export * from './footer';
22
+ export * from './formcontrollabel';
22
23
  export * from './formdialog';
24
+ export * from './grid';
23
25
  export * from './headerrow';
24
26
  export * from './iconbutton';
25
27
  export * from './inputadornment';
26
28
  export * from './inputlabel';
27
29
  export * from './list';
30
+ export * from './listitem';
28
31
  export * from './listitembutton';
29
32
  export * from './listitemtext';
30
33
  export * from './loader';
@@ -0,0 +1,3 @@
1
+ import { ListItemOwnProps } from '@mui/material/ListItem/ListItem';
2
+ declare const LCTListItem: (props: ListItemOwnProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default LCTListItem;
@@ -0,0 +1 @@
1
+ export { default as LCTListItem } from './ListItem';