@centreon/ui 25.1.7 → 25.1.8

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.1.7",
3
+ "version": "25.1.8",
4
4
  "description": "Centreon UI Components",
5
5
  "scripts": {
6
6
  "update:deps": "pnpx npm-check-updates -i --format group",
@@ -0,0 +1,22 @@
1
+ import { SvgIconProps } from '@mui/material';
2
+
3
+ import BaseIcon from './BaseIcon';
4
+
5
+ const icon = (
6
+ <g>
7
+ <path d="M22 10.07c-2.24 0-4.01-1.04-5.72-2.04-1.61-.94-3.13-1.83-4.96-1.83s-3.18.92-4.57 1.9c-1.33 1.16-3 1.85-4.76 1.97v-.83c1.7 0 2.95-.88 4.28-1.82 1.41-1.22 3.19-2.05 5.05-2.05 1.95 0 3.8.82 5.38 1.95 1.56 1.11 3.39 1.78 5.3 1.92v.83Z" />
8
+ <path d="M22 14.07c-2.24 0-4.01-1.04-5.72-2.04-1.61-.94-3.13-1.83-4.96-1.83s-3.18.92-4.57 1.9c-1.33 1.16-3 1.85-4.76 1.97v-.83c1.7 0 2.95-.88 4.28-1.82 1.41-1.22 3.18-2.05 5.05-2.05 1.87 0 3.8.82 5.38 1.95 1.56 1.11 3.39 1.78 5.3 1.92v.83Z" />
9
+ <path d="M22 18.07c-2.24 0-4.01-1.04-5.72-2.04-1.61-.94-3.13-1.83-4.96-1.83s-3.18.92-4.57 1.9c-1.33 1.16-3 1.85-4.76 1.97v-.83c1.7 0 2.95-.88 4.28-1.82 1.41-1.22 3.18-2.07 5.05-2.05 1.87.02 3.8.82 5.38 1.95 1.56 1.11 3.39 1.78 5.3 1.92v.83Z" />
10
+ </g>
11
+ );
12
+
13
+ export const FlappingIcon = (props: SvgIconProps): JSX.Element => (
14
+ <BaseIcon
15
+ {...props}
16
+ dataTestId="FlappingIcon"
17
+ Icon={icon}
18
+ height="24"
19
+ viewBox="0 0 24 24"
20
+ width="24"
21
+ />
22
+ );
package/src/Icon/index.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { DowntimeIcon } from './DowntimeIcon';
2
+ export { FlappingIcon } from './FlappingIcon';
2
3
  export { AcknowledgementIcon } from './AcknowledgementIcon';
3
4
  export { HostIcon } from './HostIcon';
4
5
  export { ServiceIcon } from './ServiceIcon';
@@ -27,6 +27,8 @@ declare module '@mui/material/styles/createPalette' {
27
27
  acknowledgedBackground: string;
28
28
  inDowntime: string;
29
29
  inDowntimeBackground: string;
30
+ inFlapping: string;
31
+ inFlappingBackground: string;
30
32
  }
31
33
  }
32
34
 
@@ -159,6 +161,8 @@ export const lightPalette: PaletteOptions = {
159
161
  action: {
160
162
  acknowledged: '#745F35',
161
163
  acknowledgedBackground: '#DFD2B9',
164
+ inFlapping: '#064A3F',
165
+ inFlappingBackground: '#D8F3EF',
162
166
  activatedOpacity: 0.12,
163
167
  active: '#666666',
164
168
  disabled: '#999999',
@@ -299,6 +303,8 @@ export const darkPalette: PaletteOptions = {
299
303
  action: {
300
304
  acknowledged: '#DFD2B9',
301
305
  acknowledgedBackground: '#745F35',
306
+ inFlapping: '#D8F3EF',
307
+ inFlappingBackground: '#064A3F',
302
308
  activatedOpacity: 0.3,
303
309
  active: '#B5B5B5',
304
310
  disabled: '#999999',