@up42/up-components 0.9.1 → 0.9.3

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.
@@ -51,6 +51,7 @@ export { default as Workflow } from './workflow.svg';
51
51
  export { default as ModuleThree } from './module-three.svg';
52
52
  export { default as AlarmBell } from './alarm-bell.svg';
53
53
  export { default as Tag } from './tag.svg';
54
+ export { default as ArrowTopRight } from './arrow-top-right.svg';
54
55
  export { default as Brightness1 } from '@mui/icons-material/Brightness1';
55
56
  export { default as ArrowDownward } from '@mui/icons-material/ArrowDownward';
56
57
  export { default as ArrowUpward } from '@mui/icons-material/ArrowUpward';
@@ -45,6 +45,7 @@ export { Table, TableBody, TableCell, TableHead, TableContainer, TableRow, Table
45
45
  export { DataGrid, type DataGridProps, type GridColDef, type GridRowId, type GridSelectionModel, } from './components/DataGrid/DataGrid';
46
46
  export { capitalize } from './utils/helpers/capitalize';
47
47
  export { copyToClipboard } from './utils/helpers/copyToClipboard';
48
+ export { formatNumber } from './utils/helpers/formatNumber';
48
49
  export { useQueryParams } from './utils/hooks/useQueryParams';
49
50
  export { useRemotePagination, type PaginatedResponse } from './utils/hooks/useRemotePagination';
50
51
  export { useAlert, type CreateAlertProps } from './global/providers/AlertProvider/AlertProvider';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Returns a string with en-US formatted number.
3
+ *
4
+ * Documentation: https://up-components.up42.dev/?path=/story/utils--page#formatnumber
5
+ */
6
+ export declare const formatNumber: (number: string | number, options?: Intl.NumberFormatOptions | undefined) => string;