@up42/up-components 0.10.4 → 0.10.6

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.
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { DataGridProps as MuiDataGridProps } from '@mui/x-data-grid';
3
- export { type GridColDef, type GridRowId, type GridSelectionModel } from '@mui/x-data-grid';
3
+ export { type GridColDef, type GridRenderCellParams, type GridRowId, type GridSelectionModel, type GridSortModel, } from '@mui/x-data-grid';
4
4
  import { MUIGlobalOmit } from '@global/utils/types';
5
5
  export declare type DataGridProps = MUIGlobalOmit<MuiDataGridProps>;
6
6
  /**
@@ -20,7 +20,7 @@ export declare type TabGroupProps = {
20
20
  /**
21
21
  * An optional event to be called when additional action is needed when changing tab
22
22
  */
23
- onChange?: () => void;
23
+ onChange?: (event: any) => void;
24
24
  };
25
25
  /**
26
26
  * Documentation: https://up-components.up42.dev/?path=/docs/patterns-tabgroup
@@ -43,7 +43,7 @@ export { Tag, type TagProps } from './components/Tag/Tag';
43
43
  export { DocumentationPopover, type DocumentationPopoverProps, } from './components/DocumentationPopover/DocumentationPopover';
44
44
  export { CodeBox, type CodeBoxProps } from './components/CodeBox/CodeBox';
45
45
  export { Table, TableBody, TableCell, TableHead, TableContainer, TableRow, TableFooter, TablePagination, TableSortLabel, type TableProps, type TableBodyProps, type TableCellProps, type TableHeadProps, type TableContainerProps, type TableRowProps, type TableFooterProps, type TablePaginationProps, type TableSortLabelProps, } from './components/Table/Table';
46
- export { DataGrid, type DataGridProps, type GridColDef, type GridRowId, type GridSelectionModel, } from './components/DataGrid/DataGrid';
46
+ export { DataGrid, type DataGridProps, type GridColDef, type GridRenderCellParams, type GridRowId, type GridSelectionModel, type GridSortModel, } from './components/DataGrid/DataGrid';
47
47
  export { capitalize } from './utils/helpers/capitalize';
48
48
  export { copyToClipboard } from './utils/helpers/copyToClipboard';
49
49
  export { formatNumber } from './utils/helpers/formatNumber';
package/dist/index.d.ts CHANGED
@@ -46,7 +46,7 @@ import { TablePaginationProps as TablePaginationProps$1 } from '@mui/material/Ta
46
46
  import { TableSortLabelProps as TableSortLabelProps$1 } from '@mui/material/TableSortLabel';
47
47
  import { TableFooterProps as TableFooterProps$1 } from '@mui/material/TableFooter';
48
48
  import { DataGridProps as DataGridProps$1 } from '@mui/x-data-grid';
49
- export { GridColDef, GridRowId, GridSelectionModel } from '@mui/x-data-grid';
49
+ export { GridColDef, GridRenderCellParams, GridRowId, GridSelectionModel, GridSortModel } from '@mui/x-data-grid';
50
50
 
51
51
  /**
52
52
  * Documentation: https://up-components.up42.dev/?path=/story/introduction
@@ -345,7 +345,7 @@ declare type TabGroupProps = {
345
345
  /**
346
346
  * An optional event to be called when additional action is needed when changing tab
347
347
  */
348
- onChange?: () => void;
348
+ onChange?: (event: any) => void;
349
349
  };
350
350
  /**
351
351
  * Documentation: https://up-components.up42.dev/?path=/docs/patterns-tabgroup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "0.10.4",
3
+ "version": "0.10.6",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",