@centreon/ui 24.4.1-MON-34877.0 → 24.4.1-MON-23368-containers.56
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": "24.4.1-MON-
|
|
3
|
+
"version": "24.4.1-MON-23368-containers.56",
|
|
4
4
|
"description": "Centreon UI Components",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"eslint": "eslint ./src --ext .js,.jsx,.ts,.tsx --max-warnings 0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"test/*"
|
|
48
48
|
],
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@cypress/react": "^
|
|
51
|
-
"@cypress/webpack-dev-server": "^3.
|
|
50
|
+
"@cypress/react": "^8.0.0",
|
|
51
|
+
"@cypress/webpack-dev-server": "^3.7.3",
|
|
52
52
|
"@faker-js/faker": "^8.0.2",
|
|
53
|
-
"@mdx-js/react": "^
|
|
54
|
-
"@simonsmith/cypress-image-snapshot": "^
|
|
53
|
+
"@mdx-js/react": "^3.0.0",
|
|
54
|
+
"@simonsmith/cypress-image-snapshot": "^9.0.1",
|
|
55
55
|
"@storybook/addon-a11y": "^7.0.9",
|
|
56
56
|
"@storybook/addon-docs": "^7.0.9",
|
|
57
57
|
"@storybook/addon-essentials": "^7.0.9",
|
|
@@ -72,16 +72,15 @@
|
|
|
72
72
|
"@testing-library/jest-dom": "^5.16.5",
|
|
73
73
|
"@testing-library/react": "^13.4.0",
|
|
74
74
|
"@testing-library/react-hooks": "^8.0.1",
|
|
75
|
-
"@types/
|
|
76
|
-
"@types/jest": "^27.5.0",
|
|
75
|
+
"@types/jest": "^29.5.11",
|
|
77
76
|
"@types/mocha": "^10.0.6",
|
|
78
|
-
"@types/ramda": "^0.29.
|
|
79
|
-
"@types/react": "^18.
|
|
80
|
-
"@types/testing-library__jest-dom": "^
|
|
77
|
+
"@types/ramda": "^0.29.9",
|
|
78
|
+
"@types/react": "^18.2.48",
|
|
79
|
+
"@types/testing-library__jest-dom": "^6.0.0",
|
|
81
80
|
"@vitejs/plugin-react": "^4.0.0",
|
|
82
81
|
"@vitejs/plugin-react-swc": "^3.3.0",
|
|
83
|
-
"axios-mock-adapter": "^1.
|
|
84
|
-
"cypress": "^13.
|
|
82
|
+
"axios-mock-adapter": "^1.22.0",
|
|
83
|
+
"cypress": "^13.6.2",
|
|
85
84
|
"identity-obj-proxy": "^3.0.0",
|
|
86
85
|
"jest-transform-stub": "^2.0.0",
|
|
87
86
|
"mochawesome": "^7.1.3",
|
|
@@ -92,27 +91,26 @@
|
|
|
92
91
|
"react-dom": "^18.2.0",
|
|
93
92
|
"react-test-renderer": "^18.2.0",
|
|
94
93
|
"remark-gfm": "^3.0.1",
|
|
95
|
-
"sass": "^1.62.1",
|
|
96
94
|
"speed-measure-vite-plugin": "^0.1.2",
|
|
97
|
-
"storybook": "^7.
|
|
95
|
+
"storybook": "^7.6.8",
|
|
98
96
|
"storybook-addon-mock": "^4.0.0",
|
|
99
|
-
"storybook-dark-mode": "^3.0.
|
|
97
|
+
"storybook-dark-mode": "^3.0.3",
|
|
100
98
|
"style-dictionary": "^3.8.0",
|
|
101
|
-
"ts-node": "^10.9.
|
|
99
|
+
"ts-node": "^10.9.2",
|
|
102
100
|
"use-resize-observer": "^9.1.0",
|
|
103
101
|
"vite": "^4.3.5",
|
|
104
102
|
"vite-plugin-istanbul": "^5.0.0",
|
|
105
103
|
"vite-plugin-svgr": "^3.2.0",
|
|
106
|
-
"vite-plugin-turbosnap": "^1.0.
|
|
104
|
+
"vite-plugin-turbosnap": "^1.0.3"
|
|
107
105
|
},
|
|
108
106
|
"dependencies": {
|
|
109
|
-
"@lexical/html": "^0.12.
|
|
110
|
-
"@lexical/link": "^0.12.
|
|
111
|
-
"@lexical/list": "^0.12.
|
|
112
|
-
"@lexical/react": "^0.12.
|
|
113
|
-
"@lexical/rich-text": "^0.12.
|
|
114
|
-
"@lexical/selection": "^0.12.
|
|
115
|
-
"@lexical/utils": "^0.12.
|
|
107
|
+
"@lexical/html": "^0.12.6",
|
|
108
|
+
"@lexical/link": "^0.12.6",
|
|
109
|
+
"@lexical/list": "^0.12.6",
|
|
110
|
+
"@lexical/react": "^0.12.6",
|
|
111
|
+
"@lexical/rich-text": "^0.12.6",
|
|
112
|
+
"@lexical/selection": "^0.12.6",
|
|
113
|
+
"@lexical/utils": "^0.12.6",
|
|
116
114
|
"@react-spring/web": "^9.7.3",
|
|
117
115
|
"@visx/curve": "^2.1.0",
|
|
118
116
|
"@visx/group": "^3.3.0",
|
|
@@ -122,9 +120,9 @@
|
|
|
122
120
|
"@visx/threshold": "^2.12.2",
|
|
123
121
|
"@visx/visx": "2.16.0",
|
|
124
122
|
"anylogger": "^1.0.11",
|
|
125
|
-
"d3-array": "3.2.
|
|
123
|
+
"d3-array": "3.2.4",
|
|
126
124
|
"humanize-duration": "^3.27.3",
|
|
127
|
-
"lexical": "^0.12.
|
|
125
|
+
"lexical": "^0.12.6",
|
|
128
126
|
"notistack": "^3.0.1",
|
|
129
127
|
"ramda": "0.29.1",
|
|
130
128
|
"react-grid-layout": "^1.3.4",
|
|
@@ -130,11 +130,10 @@ const WrapperThresholdLines = ({
|
|
|
130
130
|
|
|
131
131
|
return (
|
|
132
132
|
<g>
|
|
133
|
-
{filteredThresholdLines.map(
|
|
134
|
-
(
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
))
|
|
133
|
+
{filteredThresholdLines.map((element) =>
|
|
134
|
+
element?.map(({ Component, props, key }) => (
|
|
135
|
+
<Component {...props} id={key} key={key} />
|
|
136
|
+
))
|
|
138
137
|
)}
|
|
139
138
|
</g>
|
|
140
139
|
);
|
|
@@ -43,8 +43,9 @@ const Annotation = ({
|
|
|
43
43
|
|
|
44
44
|
const setAnnotationHovered = useSetAtom(annotationHoveredAtom);
|
|
45
45
|
|
|
46
|
-
const content = `${truncate(event.content)} (${t(labelBy)} ${
|
|
47
|
-
?.name
|
|
46
|
+
const content = `${truncate(event.content)} (${t(labelBy)} ${
|
|
47
|
+
event.contact?.name
|
|
48
|
+
})`;
|
|
48
49
|
|
|
49
50
|
return (
|
|
50
51
|
<g>
|