@up42/up-components 1.10.1 → 1.11.1

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 GridRenderCellParams, type GridRowId, type GridRowSelectionModel, type GridSortModel, } from '@mui/x-data-grid';
3
+ export { type GridColDef, type GridRenderCellParams, type GridRowId, type GridRowSelectionModel, type GridSortModel, GridRow, GridCell, GridFooter, GridLoadingOverlay, GridNoRowsOverlay, GridPagination, GridRowCount, GridSelectedRowCount, } from '@mui/x-data-grid';
4
4
  import { MUIGlobalOmit } from '@global/utils/types';
5
5
  export declare type DataGridProps = MUIGlobalOmit<MuiDataGridProps>;
6
6
  /**
@@ -12,10 +12,9 @@ export declare type InfoCardProps = {
12
12
  */
13
13
  headerAction?: React.ReactNode;
14
14
  /**
15
- * The Card's title typography variant.
16
- * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
15
+ * The Card's title typography variant: 'headingSmall' | 'headingXSmall' | 'note'
17
16
  */
18
- titleVariant?: 'h2' | 'h3' | 'overline' | 'headingSmall' | 'headingXSmall' | 'note';
17
+ titleVariant?: 'headingSmall' | 'headingXSmall' | 'note';
19
18
  /**
20
19
  * Choose whether to hide divider or not.
21
20
  */
@@ -36,10 +35,9 @@ export declare const InfoCardBase: ({ title, titleVariant, subtitle, children, a
36
35
  */
37
36
  headerAction?: React.ReactNode;
38
37
  /**
39
- * The Card's title typography variant.
40
- * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
38
+ * The Card's title typography variant: 'headingSmall' | 'headingXSmall' | 'note'
41
39
  */
42
- titleVariant?: "h2" | "h3" | "note" | "overline" | "headingSmall" | "headingXSmall" | undefined;
40
+ titleVariant?: "note" | "headingSmall" | "headingXSmall" | undefined;
43
41
  /**
44
42
  * Choose whether to hide divider or not.
45
43
  */
@@ -62,10 +60,9 @@ export declare const InfoCard: React.ForwardRefExoticComponent<Pick<{
62
60
  */
63
61
  headerAction?: React.ReactNode;
64
62
  /**
65
- * The Card's title typography variant.
66
- * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
63
+ * The Card's title typography variant: 'headingSmall' | 'headingXSmall' | 'note'
67
64
  */
68
- titleVariant?: "h2" | "h3" | "note" | "overline" | "headingSmall" | "headingXSmall" | undefined;
65
+ titleVariant?: "note" | "headingSmall" | "headingXSmall" | undefined;
69
66
  /**
70
67
  * Choose whether to hide divider or not.
71
68
  */
@@ -50,7 +50,7 @@ export { DocumentationPopover, type DocumentationPopoverProps, } from './compone
50
50
  export { CodeInline, type CodeInlineProps } from './components/CodeInline/CodeInline';
51
51
  export { CodeSnippet, type CodeSnippetProps, type CodeSnippetItemProps } from './components/CodeSnippet/CodeSnippet';
52
52
  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';
53
- export { DataGrid, type DataGridProps, type GridColDef, type GridRenderCellParams, type GridRowId, type GridRowSelectionModel, type GridSortModel, } from './components/DataGrid/DataGrid';
53
+ export { DataGrid, GridRow, GridCell, GridFooter, GridLoadingOverlay, GridNoRowsOverlay, GridPagination, GridRowCount, GridSelectedRowCount, type DataGridProps, type GridColDef, type GridRenderCellParams, type GridRowId, type GridRowSelectionModel, type GridSortModel, } from './components/DataGrid/DataGrid';
54
54
  export { capitalize } from './utils/helpers/capitalize';
55
55
  export { copyToClipboard } from './utils/helpers/copyToClipboard';
56
56
  export { formatNumber } from './utils/helpers/formatNumber';