@centreon/ui 25.10.23 → 25.10.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centreon/ui",
3
- "version": "25.10.23",
3
+ "version": "25.10.25",
4
4
  "description": "Centreon UI Components",
5
5
  "scripts": {
6
6
  "update:deps": "pnpx npm-check-updates -i --format group",
@@ -1,3 +1,5 @@
1
+ import { ReactElement } from 'react';
2
+
1
3
  import Typography from '@mui/material/Typography';
2
4
 
3
5
  import { useMemoComponent } from '@centreon/ui';
@@ -10,7 +12,7 @@ interface Props {
10
12
  title: string;
11
13
  }
12
14
 
13
- const Header = ({ title, header }: Props): JSX.Element => {
15
+ const Header = ({ title, header }: Props): ReactElement => {
14
16
  const { classes } = ussHeaderChartStyles();
15
17
 
16
18
  const displayTitle = header?.displayTitle ?? true;
@@ -6,6 +6,7 @@ export { default as BarChart } from './BarChart/BarChart';
6
6
  export { Gauge } from './Gauge';
7
7
  export { SingleBar } from './SingleBar';
8
8
  export { Text as GraphText } from './Text';
9
+ export { default as Header } from './common/BaseChart/Header';
9
10
 
10
11
  export { HeatMap } from './HeatMap';
11
12
  export { BarStack } from './BarStack';