@leapdevuk/component-toolbox 0.0.134 → 0.1.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/CHANGELOG.md +20 -0
- package/dist/components/accordionsummary/AccordionSummary.d.ts +1 -3
- package/dist/components/accordiontable/AccordionTable.d.ts +2 -3
- package/dist/components/datagrid/DataGrid.d.ts +21 -19
- package/dist/components/datagridtree/DataGridTree.d.ts +3 -5
- package/dist/components/formcontrollabel/FormControlLabel.d.ts +3 -0
- package/dist/components/formcontrollabel/index.d.ts +1 -0
- package/dist/components/grid/Grid.d.ts +2 -2
- package/dist/components/index.d.ts +2 -0
- package/dist/components/listitem/ListItem.d.ts +3 -0
- package/dist/components/listitem/index.d.ts +1 -0
- package/dist/index.cjs.js +50 -57
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +8977 -8632
- package/dist/index.es.js.map +1 -1
- package/package.json +29 -29
package/dist/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
## 0.1.00 (2025-12-09)
|
|
6
|
+
|
|
7
|
+
- Updated node packages to latest
|
|
8
|
+
- Updated MUI dependencies to latest 7.3.6
|
|
9
|
+
- Updated React to latest 19.2.1
|
|
10
|
+
- Updated Vite to latest 6.4.1
|
|
11
|
+
- Updated LEAP-host SDK to latest 3.5.3
|
|
12
|
+
- DataGrid add params 'treeData' to enable a hierarchical data structures that organize data into parent-child relationships.
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
## 0.0.135 (2025-11-27)
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
- New FormControlLabel component.
|
|
21
|
+
- New ListItem component. A common list item.
|
|
22
|
+
|
|
3
23
|
## 0.0.134 (2025-10-16)
|
|
4
24
|
|
|
5
25
|
### Features
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
declare const LCTAccordionSummary: import('@emotion/styled').StyledComponent<import('@mui/material').AccordionSummaryOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<
|
|
2
|
-
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
3
|
-
}, "className" | "style" | "classes" | "children" | "sx" | "disabled" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & {
|
|
1
|
+
declare const LCTAccordionSummary: import('@emotion/styled').StyledComponent<import('@mui/material').AccordionSummaryOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "className" | "style" | "classes" | "children" | "sx" | "disabled" | "slots" | "slotProps" | "tabIndex" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "expandIcon"> & {
|
|
4
2
|
component?: React.ElementType;
|
|
5
3
|
} & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
6
4
|
export default LCTAccordionSummary;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { GridRowParams, GridSlotsComponentsProps } from '@mui/x-data-grid-pro';
|
|
2
|
-
import { GridInitialStatePro } from '@mui/x-data-grid-pro/models/gridStatePro';
|
|
1
|
+
import { GridInitialState, GridRowParams, GridSlotsComponentsProps } from '@mui/x-data-grid-pro';
|
|
3
2
|
interface IAccordionTableProps {
|
|
4
3
|
maxHeight: any;
|
|
5
4
|
rows: any[];
|
|
6
5
|
columns: any;
|
|
7
|
-
initialState?:
|
|
6
|
+
initialState?: GridInitialState | undefined;
|
|
8
7
|
onRowDoubleClick?: (params: GridRowParams<any>) => void;
|
|
9
8
|
id: (row: any) => any;
|
|
10
9
|
rowHeight?: number;
|
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import { GridCallbackDetails, GridColDef, GridColumnVisibilityModel,
|
|
2
|
-
import { GridInitialStatePro } from '@mui/x-data-grid-pro/models/gridStatePro';
|
|
1
|
+
import { GridCallbackDetails, GridColDef, GridColumnVisibilityModel, GridInitialState, GridProSlotsComponent, GridRowParams, GridRowSelectionModel, GridSlotProps, GridSlotsComponentsProps, GridValidRowModel } from '@mui/x-data-grid-pro';
|
|
3
2
|
interface IDataGridProps {
|
|
4
|
-
maxHeight: any;
|
|
5
|
-
height?: any;
|
|
6
|
-
rows: any[];
|
|
7
|
-
columns: GridColDef[];
|
|
8
|
-
initialState?: GridInitialStatePro | undefined;
|
|
9
|
-
onRowDoubleClick?: (params: GridRowParams<any>) => void;
|
|
10
|
-
onRowClick?: (params: GridRowParams<any>) => void;
|
|
11
|
-
componentsProps?: GridSlotsComponentsProps | undefined;
|
|
12
|
-
id: (row: any) => any;
|
|
13
3
|
borderTop?: boolean;
|
|
14
|
-
|
|
4
|
+
checkboxSelection?: boolean;
|
|
15
5
|
columnHeaderHeight?: number;
|
|
16
|
-
|
|
17
|
-
slots?: Partial<GridProSlotsComponent>;
|
|
6
|
+
columns: GridColDef[];
|
|
18
7
|
columnVisibilityModel?: GridColumnVisibilityModel;
|
|
19
|
-
|
|
8
|
+
componentsProps?: GridSlotsComponentsProps | undefined;
|
|
9
|
+
defaultGroupingExpansionDepth?: number;
|
|
20
10
|
disableMultipleRowSelection?: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
onRowSelectionModelChange?: (rowSelectionModel: GridRowSelectionModel, details: GridCallbackDetails) => void;
|
|
24
|
-
noRowsOverlay?: React.JSXElementConstructor<GridSlotProps["noRowsOverlay"]>;
|
|
11
|
+
getTreeDataPath?: ((row: GridValidRowModel) => readonly string[]) | undefined;
|
|
12
|
+
height?: any;
|
|
25
13
|
hideFooter?: boolean;
|
|
14
|
+
id: (row: any) => any;
|
|
15
|
+
initialState?: GridInitialState | undefined;
|
|
26
16
|
isRowSelectable?: ((params: GridRowParams<GridValidRowModel>) => boolean) | undefined;
|
|
17
|
+
keepNonExistentRowsSelected?: boolean;
|
|
18
|
+
maxHeight: any;
|
|
19
|
+
noDataText?: string;
|
|
20
|
+
noRowsOverlay?: React.JSXElementConstructor<GridSlotProps["noRowsOverlay"]>;
|
|
21
|
+
onRowClick?: (params: GridRowParams<any>) => void;
|
|
22
|
+
onRowDoubleClick?: (params: GridRowParams<any>) => void;
|
|
23
|
+
onRowSelectionModelChange?: (rowSelectionModel: GridRowSelectionModel, details: GridCallbackDetails) => void;
|
|
24
|
+
rowHeight?: number;
|
|
25
|
+
rows: any[];
|
|
26
|
+
rowSelectionModel?: GridRowSelectionModel;
|
|
27
|
+
slots?: Partial<GridProSlotsComponent>;
|
|
28
|
+
treeData?: boolean;
|
|
27
29
|
}
|
|
28
30
|
declare const LCTDataGrid: import('@emotion/styled').StyledComponent<IDataGridProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
29
31
|
export default LCTDataGrid;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { GridCallbackDetails, GridColDef, GridColumnVisibilityModel, GridProSlotsComponent, GridRowParams, GridRowSelectionModel, GridSlotProps, GridSlotsComponentsProps } from '@mui/x-data-grid-pro';
|
|
2
|
-
import { GridInitialStatePro } from '@mui/x-data-grid-pro/models/gridStatePro';
|
|
3
|
-
import { GridProSlotProps } from '@mui/x-data-grid-pro/models/gridProSlotProps';
|
|
1
|
+
import { GridCallbackDetails, GridColDef, GridColumnVisibilityModel, GridInitialState, GridProSlotsComponent, GridRowParams, GridRowSelectionModel, GridSlotProps, GridSlotsComponentsProps } from '@mui/x-data-grid-pro';
|
|
4
2
|
import { Api } from '@leapdev/leap-host';
|
|
5
3
|
interface IDataGridProps {
|
|
6
4
|
maxHeight: any;
|
|
7
5
|
height?: any;
|
|
8
6
|
rows: any[];
|
|
9
7
|
columns: GridColDef[];
|
|
10
|
-
initialState?:
|
|
8
|
+
initialState?: GridInitialState | undefined;
|
|
11
9
|
onRowDoubleClick?: (params: GridRowParams<any>) => void;
|
|
12
10
|
onRowClick?: (params: GridRowParams<any>) => void;
|
|
13
11
|
componentsProps?: GridSlotsComponentsProps | undefined;
|
|
@@ -17,7 +15,7 @@ interface IDataGridProps {
|
|
|
17
15
|
columnHeaderHeight?: number;
|
|
18
16
|
rowHeight?: number;
|
|
19
17
|
slots?: Partial<GridProSlotsComponent>;
|
|
20
|
-
slotProps?:
|
|
18
|
+
slotProps?: GridSlotProps;
|
|
21
19
|
columnVisibilityModel?: GridColumnVisibilityModel;
|
|
22
20
|
rowSelectionModel?: GridRowSelectionModel;
|
|
23
21
|
setRowSelectionModel?: React.SetStateAction<GridRowSelectionModel>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as LCTFormControlLabel } from './FormControlLabel';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const LCTGrid: (props:
|
|
1
|
+
import { GridProps } from '@mui/material/Grid';
|
|
2
|
+
declare const LCTGrid: (props: GridProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default LCTGrid;
|
|
@@ -19,6 +19,7 @@ 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';
|
|
23
24
|
export * from './grid';
|
|
24
25
|
export * from './headerrow';
|
|
@@ -26,6 +27,7 @@ export * from './iconbutton';
|
|
|
26
27
|
export * from './inputadornment';
|
|
27
28
|
export * from './inputlabel';
|
|
28
29
|
export * from './list';
|
|
30
|
+
export * from './listitem';
|
|
29
31
|
export * from './listitembutton';
|
|
30
32
|
export * from './listitemtext';
|
|
31
33
|
export * from './loader';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as LCTListItem } from './ListItem';
|