@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';
package/dist/index.d.ts CHANGED
@@ -24,7 +24,7 @@ import { TablePaginationProps as TablePaginationProps$1 } from '@mui/material/Ta
24
24
  import { TableSortLabelProps as TableSortLabelProps$1 } from '@mui/material/TableSortLabel';
25
25
  import { TableFooterProps as TableFooterProps$1 } from '@mui/material/TableFooter';
26
26
  import { DataGridProps as DataGridProps$1 } from '@mui/x-data-grid';
27
- export { GridColDef, GridRenderCellParams, GridRowId, GridRowSelectionModel, GridSortModel } from '@mui/x-data-grid';
27
+ export { GridCell, GridColDef, GridFooter, GridLoadingOverlay, GridNoRowsOverlay, GridPagination, GridRenderCellParams, GridRow, GridRowCount, GridRowId, GridRowSelectionModel, GridSelectedRowCount, GridSortModel } from '@mui/x-data-grid';
28
28
 
29
29
  /**
30
30
  * Documentation: https://up-components.up42.com/?path=/docs/introduction--docs
@@ -435,10 +435,9 @@ declare type InfoCardProps = {
435
435
  */
436
436
  headerAction?: React__default.ReactNode;
437
437
  /**
438
- * The Card's title typography variant.
439
- * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
438
+ * The Card's title typography variant: 'headingSmall' | 'headingXSmall' | 'note'
440
439
  */
441
- titleVariant?: 'h2' | 'h3' | 'overline' | 'headingSmall' | 'headingXSmall' | 'note';
440
+ titleVariant?: 'headingSmall' | 'headingXSmall' | 'note';
442
441
  /**
443
442
  * Choose whether to hide divider or not.
444
443
  */
@@ -459,10 +458,9 @@ declare const InfoCard: React__default.ForwardRefExoticComponent<Pick<{
459
458
  */
460
459
  headerAction?: React__default.ReactNode;
461
460
  /**
462
- * The Card's title typography variant.
463
- * 'h2' | 'h3' | 'overline' are deprecated and will be removed. Use 'headingSmall' | 'headingXSmall' | 'note' instead.
461
+ * The Card's title typography variant: 'headingSmall' | 'headingXSmall' | 'note'
464
462
  */
465
- titleVariant?: "h2" | "h3" | "note" | "overline" | "headingSmall" | "headingXSmall" | undefined;
463
+ titleVariant?: "note" | "headingSmall" | "headingXSmall" | undefined;
466
464
  /**
467
465
  * Choose whether to hide divider or not.
468
466
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up42/up-components",
3
- "version": "1.10.1",
3
+ "version": "1.11.1",
4
4
  "description": "UP42 Component Library",
5
5
  "author": "Axel Fuhrmann axel.fuhrmann@up42.com",
6
6
  "license": "ISC",