@centreon/ui 24.8.6 → 24.8.7

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.
Files changed (356) hide show
  1. package/package.json +4 -3
  2. package/src/@types/globals.d.ts +4 -4
  3. package/src/ActionsList/ActionsList.styles.ts +1 -1
  4. package/src/ActionsList/index.stories.tsx +1 -1
  5. package/src/ActionsList/index.tsx +6 -6
  6. package/src/Button/Icon/index.stories.tsx +1 -1
  7. package/src/Button/Icon/index.tsx +1 -1
  8. package/src/Button/Save/StartIcon.tsx +1 -1
  9. package/src/Checkbox/Checkbox.tsx +2 -2
  10. package/src/Colors/index.stories.tsx +0 -2
  11. package/src/Colors/index.tsx +7 -3
  12. package/src/ContentWithCircularProgress/index.stories.tsx +1 -1
  13. package/src/Dashboard/Dashboard.styles.ts +111 -111
  14. package/src/Dashboard/Grid.tsx +2 -2
  15. package/src/Dashboard/Item.tsx +3 -3
  16. package/src/Dashboard/Layout.tsx +3 -3
  17. package/src/Dashboard/index.tsx +9 -9
  18. package/src/Dialog/Duplicate/index.test.tsx +1 -1
  19. package/src/Dialog/Duplicate/index.tsx +5 -2
  20. package/src/Dialog/UnsavedChanges/index.tsx +2 -2
  21. package/src/Dialog/index.stories.tsx +1 -1
  22. package/src/Dialog/index.tsx +5 -5
  23. package/src/FallbackPage/FallbackPage.tsx +4 -4
  24. package/src/FileDropZone/index.stories.tsx +1 -1
  25. package/src/FileDropZone/index.tsx +5 -5
  26. package/src/FileDropZone/useDropzone.test.ts +1 -1
  27. package/src/FileDropZone/useDropzone.ts +1 -1
  28. package/src/Form/CollapsibleGroup.tsx +6 -6
  29. package/src/Form/Form.cypress.spec.tsx +1 -1
  30. package/src/Form/Form.stories.tsx +3 -3
  31. package/src/Form/Form.tsx +5 -4
  32. package/src/Form/FormButtons.tsx +2 -2
  33. package/src/Form/Inputs/Autocomplete.tsx +3 -3
  34. package/src/Form/Inputs/Checkbox.tsx +1 -1
  35. package/src/Form/Inputs/CheckboxGroup.tsx +2 -2
  36. package/src/Form/Inputs/ConnectedAutocomplete.tsx +1 -1
  37. package/src/Form/Inputs/FieldsTable/FieldsTable.tsx +15 -15
  38. package/src/Form/Inputs/FieldsTable/Row.tsx +2 -2
  39. package/src/Form/Inputs/List/Content.tsx +1 -1
  40. package/src/Form/Inputs/List/List.tsx +3 -3
  41. package/src/Form/Inputs/PasswordEndAdornment.tsx +1 -1
  42. package/src/Form/Inputs/Radio.tsx +3 -3
  43. package/src/Form/Inputs/Switch.tsx +1 -1
  44. package/src/Form/Inputs/Text.tsx +4 -4
  45. package/src/Form/Inputs/index.tsx +81 -72
  46. package/src/Form/Inputs/models.ts +14 -14
  47. package/src/Form/storiesData.tsx +26 -30
  48. package/src/Form/storiesData.tsx-E +481 -0
  49. package/src/Graph/BarChart/BarChart.stories.tsx +1 -1
  50. package/src/Graph/BarChart/BarChart.tsx +3 -3
  51. package/src/Graph/BarChart/BarGroup.tsx +6 -4
  52. package/src/Graph/BarChart/BarStack.tsx +4 -4
  53. package/src/Graph/BarChart/ResponsiveBarChart.tsx +10 -10
  54. package/src/Graph/BarChart/Tooltip/BarChartTooltip.tsx +5 -5
  55. package/src/Graph/BarChart/useBarStack.ts +2 -2
  56. package/src/Graph/BarStack/BarStack.cypress.spec.tsx +1 -1
  57. package/src/Graph/BarStack/BarStack.stories.tsx +1 -1
  58. package/src/Graph/BarStack/ResponsiveBarStack.tsx +10 -6
  59. package/src/Graph/BarStack/useResponsiveBarStack.ts +4 -4
  60. package/src/Graph/Chart/BasicComponents/Lines/RegularLines/index.tsx +1 -1
  61. package/src/Graph/Chart/BasicComponents/Lines/RegularLines/useRegularLines.ts +1 -1
  62. package/src/Graph/Chart/BasicComponents/Lines/StackedLines/index.tsx +4 -4
  63. package/src/Graph/Chart/BasicComponents/Lines/Threshold/ThresholdWithPatternLines.tsx +1 -1
  64. package/src/Graph/Chart/BasicComponents/Lines/Threshold/index.tsx +1 -1
  65. package/src/Graph/Chart/BasicComponents/Lines/Threshold/models.ts +1 -1
  66. package/src/Graph/Chart/BasicComponents/Lines/Threshold/useScaleThreshold.ts +2 -2
  67. package/src/Graph/Chart/BasicComponents/Lines/index.tsx +7 -7
  68. package/src/Graph/Chart/BasicComponents/Lines/models.ts +1 -1
  69. package/src/Graph/Chart/Chart.cypress.spec.tsx +4 -4
  70. package/src/Graph/Chart/Chart.stories.tsx +6 -6
  71. package/src/Graph/Chart/Chart.tsx +11 -11
  72. package/src/Graph/Chart/InteractiveComponents/AnchorPoint/RegularAnchorPoint.tsx +1 -1
  73. package/src/Graph/Chart/InteractiveComponents/AnchorPoint/useTickGraph.ts +1 -1
  74. package/src/Graph/Chart/InteractiveComponents/Annotations/Annotation/Area.tsx +1 -1
  75. package/src/Graph/Chart/InteractiveComponents/Annotations/Annotation/Line.tsx +1 -1
  76. package/src/Graph/Chart/InteractiveComponents/Annotations/Annotation/index.tsx +3 -3
  77. package/src/Graph/Chart/InteractiveComponents/Annotations/Area/Downtime.tsx +1 -1
  78. package/src/Graph/Chart/InteractiveComponents/Annotations/EventAnnotations.tsx +3 -3
  79. package/src/Graph/Chart/InteractiveComponents/Annotations/Line/Comments.tsx +1 -1
  80. package/src/Graph/Chart/InteractiveComponents/Annotations/annotationsAtoms.ts +4 -4
  81. package/src/Graph/Chart/InteractiveComponents/Bar.tsx +1 -1
  82. package/src/Graph/Chart/InteractiveComponents/GraphValueTooltip/GraphValueTooltip.tsx +1 -1
  83. package/src/Graph/Chart/InteractiveComponents/GraphValueTooltip/GraphValueTooltipContent.tsx +1 -1
  84. package/src/Graph/Chart/InteractiveComponents/GraphValueTooltip/useGraphValueTooltip.ts +3 -3
  85. package/src/Graph/Chart/InteractiveComponents/TimeShiftZones/index.tsx +1 -1
  86. package/src/Graph/Chart/InteractiveComponents/TimeShiftZones/models.ts +2 -2
  87. package/src/Graph/Chart/InteractiveComponents/Tooltip/useGraphTooltip.ts +1 -1
  88. package/src/Graph/Chart/InteractiveComponents/index.tsx +7 -7
  89. package/src/Graph/Chart/Legend/LegendHeader.tsx +2 -2
  90. package/src/Graph/Chart/Legend/index.tsx +3 -3
  91. package/src/Graph/Chart/common/index.ts +5 -5
  92. package/src/Graph/Chart/helpers/index.ts +5 -5
  93. package/src/Graph/Chart/index.tsx +2 -2
  94. package/src/Graph/Chart/models.ts +4 -4
  95. package/src/Graph/Gauge/AnimatedPie.tsx +1 -1
  96. package/src/Graph/Gauge/Gauge.cypress.spec.tsx +2 -2
  97. package/src/Graph/Gauge/PieData.tsx +1 -1
  98. package/src/Graph/Gauge/ResponsiveGauge.tsx +5 -5
  99. package/src/Graph/Gauge/models.ts +3 -3
  100. package/src/Graph/HeatMap/HeatMap.cypress.spec.tsx +3 -3
  101. package/src/Graph/HeatMap/HeatMapData.json +1 -1
  102. package/src/Graph/HeatMap/ResponsiveHeatMap.tsx +1 -1
  103. package/src/Graph/PieChart/PieChart.stories.tsx +1 -1
  104. package/src/Graph/PieChart/ResponsivePie.tsx +7 -3
  105. package/src/Graph/SingleBar/ResponsiveSingleBar.tsx +8 -8
  106. package/src/Graph/SingleBar/SingleBar.cypress.spec.tsx +1 -1
  107. package/src/Graph/SingleBar/SingleBar.tsx +1 -1
  108. package/src/Graph/Text/Text.cypress.spec.tsx +2 -2
  109. package/src/Graph/Tree/DescendantNodes.tsx +1 -1
  110. package/src/Graph/Tree/Links.tsx +5 -5
  111. package/src/Graph/Tree/StandaloneTree.tsx +1 -1
  112. package/src/Graph/Tree/Tree.cypress.spec.tsx +2 -2
  113. package/src/Graph/Tree/Tree.stories.tsx +2 -2
  114. package/src/Graph/Tree/Tree.tsx +3 -3
  115. package/src/Graph/Tree/stories/contents.tsx +2 -2
  116. package/src/Graph/common/Axes/index.tsx +1 -1
  117. package/src/Graph/common/Axes/models.ts +1 -1
  118. package/src/Graph/common/Axes/useAxisY.ts +1 -1
  119. package/src/Graph/common/BaseChart/BaseChart.tsx +1 -1
  120. package/src/Graph/common/BaseChart/Header/index.tsx +1 -1
  121. package/src/Graph/common/Thresholds/Thresholds.tsx +2 -2
  122. package/src/Graph/common/timeSeries/index.test.ts +57 -45
  123. package/src/Graph/common/timeSeries/index.test.ts-E +622 -0
  124. package/src/Graph/common/timeSeries/index.ts +30 -30
  125. package/src/Graph/common/utils.ts +2 -2
  126. package/src/Graph/mockedData/annotationData.json +318 -320
  127. package/src/Graph/mockedData/curvesWithSameColor.json +1 -1
  128. package/src/Graph/mockedData/exclusionPeriodFirstPeriod.json +366 -586
  129. package/src/Graph/mockedData/exclusionPeriodSecondPeriod.json +370 -586
  130. package/src/Graph/mockedData/exclusionPeriodThirdPeriod.json +365 -579
  131. package/src/Graph/mockedData/lastDay.json +1290 -1324
  132. package/src/Graph/mockedData/lastDayAreaStack.json +3048 -3104
  133. package/src/Graph/mockedData/lastDayForward.json +1303 -1336
  134. package/src/Graph/mockedData/lastDayThreshold.json +2318 -2350
  135. package/src/Graph/mockedData/lastDayWithIncompleteValues.json +7 -41
  136. package/src/Graph/mockedData/lastDayWithLotOfUnits.json +1618 -1665
  137. package/src/Graph/mockedData/lastDayWithNullValues.json +7 -41
  138. package/src/Graph/mockedData/lastMonth.json +1639 -1672
  139. package/src/Graph/mockedData/lastWeek.json +2167 -2200
  140. package/src/Graph/mockedData/pingService.json +4 -12
  141. package/src/Graph/mockedData/pingServiceLinesBars.json +242 -250
  142. package/src/Graph/mockedData/pingServiceLinesBarsMixed.json +242 -250
  143. package/src/Graph/mockedData/pingServiceLinesBarsStacked.json +242 -250
  144. package/src/Graph/mockedData/pingServiceMixedStacked.json +4 -12
  145. package/src/Graph/mockedData/pingServiceStacked.json +4 -12
  146. package/src/Graph/mockedData/zoomPreview.json +370 -740
  147. package/src/Icon/IconAttach/index.tsx +1 -6
  148. package/src/Image/Image.tsx +75 -75
  149. package/src/Image/atoms.ts +3 -3
  150. package/src/Image/index.stories.tsx +1 -1
  151. package/src/Image/index.test.tsx +53 -53
  152. package/src/Image/models.ts +3 -3
  153. package/src/Image/useLoadImage.ts +49 -49
  154. package/src/InputField/Number/Number.tsx +2 -2
  155. package/src/InputField/Search/PersistentTooltip.tsx +2 -2
  156. package/src/InputField/Search/RegexpHelpTooltip.tsx +1 -1
  157. package/src/InputField/Search/index.stories.tsx +1 -1
  158. package/src/InputField/Select/Autocomplete/Connected/Multi/index.test.tsx +1 -1
  159. package/src/InputField/Select/Autocomplete/Connected/Multi/index.tsx +1 -1
  160. package/src/InputField/Select/Autocomplete/Connected/index.stories.tsx +4 -4
  161. package/src/InputField/Select/Autocomplete/Connected/index.test.tsx +6 -6
  162. package/src/InputField/Select/Autocomplete/Connected/index.tsx +12 -12
  163. package/src/InputField/Select/Autocomplete/Draggable/MultiConnected.tsx +1 -1
  164. package/src/InputField/Select/Autocomplete/Draggable/SortableList.tsx +1 -1
  165. package/src/InputField/Select/Autocomplete/Draggable/SortableListContent.tsx +5 -6
  166. package/src/InputField/Select/Autocomplete/Draggable/index.stories.tsx +6 -6
  167. package/src/InputField/Select/Autocomplete/Draggable/index.tsx +15 -16
  168. package/src/InputField/Select/Autocomplete/Multi/index.tsx +1 -1
  169. package/src/InputField/Select/Autocomplete/Popover/index.tsx +1 -1
  170. package/src/InputField/Select/Autocomplete/index.stories.tsx +2 -3
  171. package/src/InputField/Select/Autocomplete/index.tsx +10 -11
  172. package/src/InputField/Select/IconPopover/index.tsx +3 -3
  173. package/src/InputField/Select/Option.tsx +1 -1
  174. package/src/InputField/Select/index.tsx +6 -6
  175. package/src/InputField/Text/index.stories.tsx +3 -4
  176. package/src/InputField/Text/index.tsx +3 -3
  177. package/src/InputField/Text/useAutoSize.ts +62 -62
  178. package/src/LicenseMessage/index.tsx +1 -1
  179. package/src/Listing/ActionBar/ColumnMultiSelect.tsx +4 -4
  180. package/src/Listing/ActionBar/PaginationActions.tsx +1 -1
  181. package/src/Listing/ActionBar/index.tsx +6 -6
  182. package/src/Listing/Cell/DataCell.tsx +2 -2
  183. package/src/Listing/Cell/EllipsisTypography.tsx +0 -2
  184. package/src/Listing/Cell/index.tsx +7 -8
  185. package/src/Listing/Checkbox.tsx +1 -1
  186. package/src/Listing/EmptyResult/EmptyResult.tsx +0 -2
  187. package/src/Listing/Header/Cell/ListingHeaderCell.styles.ts +1 -1
  188. package/src/Listing/Header/Cell/ListingHeaderCell.tsx +1 -3
  189. package/src/Listing/Header/Cell/SelectActionListingHeaderCell.tsx +3 -5
  190. package/src/Listing/Header/ListingHeader.tsx +6 -7
  191. package/src/Listing/Header/_internals/DraggableIconButton.tsx +1 -3
  192. package/src/Listing/Header/_internals/Label.tsx +2 -3
  193. package/src/Listing/Listing.cypress.spec.tsx +307 -307
  194. package/src/Listing/Row/Row.tsx +4 -5
  195. package/src/Listing/Row/SkeletonLoaderRows.tsx +7 -9
  196. package/src/Listing/index.stories.tsx +1 -1
  197. package/src/Listing/index.tsx +32 -27
  198. package/src/Listing/useResizeObserver.ts +1 -1
  199. package/src/ListingPage/Filter.tsx +15 -18
  200. package/src/ListingPage/index.tsx +2 -2
  201. package/src/Logo/CentreonLogo.tsx +2 -2
  202. package/src/MenuSkeleton/index.tsx +1 -1
  203. package/src/Module/LicensedModule/LicenseCheck/index.tsx +1 -1
  204. package/src/Module/index.tsx +3 -3
  205. package/src/MultiSelectEntries/index.tsx +1 -1
  206. package/src/MultiSelectEntries/useHover.ts +1 -1
  207. package/src/Panel/Section/ExpandableSection.tsx +6 -6
  208. package/src/Panel/Section/index.test.tsx +1 -1
  209. package/src/Panel/Section/index.tsx +1 -1
  210. package/src/Panel/index.tsx +15 -13
  211. package/src/RichTextEditor/ContentEditable.tsx +195 -195
  212. package/src/RichTextEditor/RichTextEditor.tsx +244 -244
  213. package/src/RichTextEditor/index.ts +2 -2
  214. package/src/RichTextEditor/initialEditorState.json +113 -113
  215. package/src/RichTextEditor/plugins/AutoLinkPlugin/index.tsx +4 -4
  216. package/src/RichTextEditor/plugins/FloatingLinkEditorPlugin.tsx +10 -10
  217. package/src/RichTextEditor/plugins/ToolbarPlugin/AlignPicker.tsx +4 -4
  218. package/src/RichTextEditor/plugins/ToolbarPlugin/BlockButtons.tsx +7 -7
  219. package/src/RichTextEditor/plugins/ToolbarPlugin/FormatButtons.tsx +124 -124
  220. package/src/RichTextEditor/plugins/ToolbarPlugin/LinkButton.tsx +5 -5
  221. package/src/RichTextEditor/plugins/ToolbarPlugin/ListButton.tsx +2 -2
  222. package/src/RichTextEditor/plugins/ToolbarPlugin/MacrosButton.tsx +4 -4
  223. package/src/RichTextEditor/plugins/ToolbarPlugin/UndoRedoButtons.tsx +97 -97
  224. package/src/RichTextEditor/plugins/ToolbarPlugin/index.tsx +62 -62
  225. package/src/RichTextEditor/translatedLabels.ts +8 -8
  226. package/src/Snackbar/SnackbarProvider.tsx +3 -4
  227. package/src/Snackbar/Transition.tsx +5 -6
  228. package/src/Snackbar/index.tsx +7 -8
  229. package/src/SortableItems/Item.tsx +3 -3
  230. package/src/SortableItems/SortableItem.tsx +1 -1
  231. package/src/SortableItems/index.stories.tsx +5 -6
  232. package/src/SortableItems/index.tsx +18 -19
  233. package/src/StatusChip/index.tsx +1 -1
  234. package/src/StoryBookThemeProvider/index.tsx +35 -36
  235. package/src/ThemeProvider/index.tsx +8 -10
  236. package/src/ThemeProvider/palettes.ts +42 -27
  237. package/src/TimePeriods/CustomTimePeriod/PopoverCustomTimePeriod/PickersStartEndDate.tsx +1 -1
  238. package/src/TimePeriods/CustomTimePeriod/PopoverCustomTimePeriod/index.tsx +1 -1
  239. package/src/TimePeriods/SelectedTimePeriod.tsx +1 -1
  240. package/src/TimePeriods/TimePeriods.cypress.spec.tsx +3 -3
  241. package/src/TimePeriods/TimePeriods.tsx +1 -1
  242. package/src/TimePeriods/helpers/index.ts +1 -1
  243. package/src/TimePeriods/index.stories.tsx +1 -1
  244. package/src/TimePeriods/index.tsx +1 -1
  245. package/src/TimePeriods/models.ts +2 -2
  246. package/src/TimePeriods/timePeriodsAtoms.ts +1 -1
  247. package/src/TimePeriods/useTimePeriod.ts +4 -4
  248. package/src/TopCounterElements/ResourceSubMenu.tsx +1 -4
  249. package/src/TopCounterElements/StatusCounter.tsx +2 -2
  250. package/src/Typography/FluidTypography/index.tsx +46 -46
  251. package/src/Typography/Subtitle.tsx +2 -2
  252. package/src/Typography/story.utils.tsx +6 -6
  253. package/src/WallpaperPage/index.tsx +1 -1
  254. package/src/Wizard/ActionsBar.test.tsx +1 -1
  255. package/src/Wizard/ActionsBar.tsx +1 -1
  256. package/src/Wizard/StepIcon.tsx +1 -1
  257. package/src/Wizard/Stepper.tsx +2 -2
  258. package/src/Wizard/WizardContent.tsx +1 -1
  259. package/src/Wizard/index.stories.tsx +2 -2
  260. package/src/Wizard/index.test.tsx +3 -3
  261. package/src/Wizard/index.tsx +2 -2
  262. package/src/Wizard/models.ts +1 -1
  263. package/src/api/TestQueryProvider.tsx +24 -24
  264. package/src/api/buildListingDecoder.ts +1 -1
  265. package/src/api/buildListingEndpoint/getSearchQueryParameterValue.ts +11 -11
  266. package/src/api/buildListingEndpoint/index.ts +1 -1
  267. package/src/api/useFetchQuery/index.test.ts +1 -1
  268. package/src/api/useFetchQuery/index.ts +8 -8
  269. package/src/api/useGraphQuery/index.ts +1 -1
  270. package/src/api/useMutationQuery/index.test.ts +1 -1
  271. package/src/api/useMutationQuery/index.ts +4 -4
  272. package/src/api/useRequest/index.test.ts +1 -1
  273. package/src/api/useRequest/index.ts +3 -3
  274. package/src/base/tokens/source/$metadata.json +2 -4
  275. package/src/base/tokens/source/base.json +1 -1
  276. package/src/base/tokens/themes/base.tokens.json +34 -166
  277. package/src/base/tokens/themes/ui-dark.tokens.json +34 -166
  278. package/src/base/tokens/themes/ui-light.tokens.json +34 -166
  279. package/src/components/Button/Icon/IconButton.tsx +1 -1
  280. package/src/components/CollapsibleItem/CollapsibleItem.tsx +2 -2
  281. package/src/components/DataTable/DataListing.tsx +1 -1
  282. package/src/components/DataTable/DataTable.cypress.spec.tsx +1 -1
  283. package/src/components/DataTable/DataTable.stories.tsx +4 -1
  284. package/src/components/DataTable/EmptyState/DataTableEmptyState.tsx +1 -1
  285. package/src/components/DataTable/index.ts +2 -2
  286. package/src/components/Form/AccessRights/AccessRights.cypress.spec.tsx +11 -11
  287. package/src/components/Form/AccessRights/Actions/Actions.tsx +1 -1
  288. package/src/components/Form/AccessRights/List/Item.tsx +5 -5
  289. package/src/components/Form/AccessRights/List/List.tsx +4 -4
  290. package/src/components/Form/AccessRights/ShareInput/ContactSwitch.tsx +2 -2
  291. package/src/components/Form/AccessRights/ShareInput/ShareInput.styles.ts +1 -1
  292. package/src/components/Form/AccessRights/ShareInput/ShareInput.tsx +3 -3
  293. package/src/components/Form/AccessRights/ShareInput/useShareInput.tsx +2 -2
  294. package/src/components/Form/AccessRights/Stats/Stats.tsx +2 -2
  295. package/src/components/Form/AccessRights/atoms.ts +1 -1
  296. package/src/components/Form/AccessRights/storiesData.ts +1 -1
  297. package/src/components/Form/AccessRights/useAccessRightsChange.ts +1 -1
  298. package/src/components/Form/Dashboard/DashboardDuplicationForm.tsx +3 -3
  299. package/src/components/Form/Dashboard/DashboardForm.tsx +5 -5
  300. package/src/components/Form/Dashboard/GlobalRefreshFieldOption.tsx +4 -4
  301. package/src/components/Header/PageHeader/PageHeader.tsx +1 -1
  302. package/src/components/Header/PageHeader/PageHeaderActions.tsx +1 -1
  303. package/src/components/Header/PageHeader/PageHeaderMain.tsx +1 -1
  304. package/src/components/Header/PageHeader/PageHeaderMenu.tsx +1 -1
  305. package/src/components/Header/PageHeader/PageHeaderTitle.tsx +1 -1
  306. package/src/components/Header/PageHeader/index.ts +2 -2
  307. package/src/components/Inputs/Switch/Switch.tsx +1 -1
  308. package/src/components/ItemComposition/ItemComposition.stories.tsx +6 -4
  309. package/src/components/ItemComposition/index.ts +1 -1
  310. package/src/components/Layout/PageLayout/PageLayout.stories.tsx +1 -1
  311. package/src/components/Layout/PageLayout/PageQuickAccess.tsx +12 -13
  312. package/src/components/Layout/PageLayout/index.ts +2 -2
  313. package/src/components/List/Item/ListItem.tsx +3 -3
  314. package/src/components/List/Item/index.ts +2 -2
  315. package/src/components/List/List.stories.tsx +16 -14
  316. package/src/components/List/List.tsx +2 -2
  317. package/src/components/List/index.ts +1 -1
  318. package/src/components/Menu/Button/MenuButton.tsx +1 -1
  319. package/src/components/Menu/index.ts +2 -2
  320. package/src/components/Menu/useMenu.tsx +3 -3
  321. package/src/components/Modal/ConfirmationModal/ConfirmationModal.cypress.spec.tsx +1 -1
  322. package/src/components/Modal/ConfirmationModal/ConfirmationModal.stories.tsx +1 -1
  323. package/src/components/Modal/ConfirmationModal/ConfirmationModal.tsx +1 -1
  324. package/src/components/Modal/Modal.tsx +1 -1
  325. package/src/components/Modal/ModalBody.tsx +1 -1
  326. package/src/components/Modal/ModalHeader.tsx +1 -1
  327. package/src/components/Modal/index.ts +2 -2
  328. package/src/components/Tooltip/ConfirmationTooltip/ConfirmationTooltip.tsx +2 -2
  329. package/src/components/Tooltip/ConfirmationTooltip/TooltipContent.tsx +1 -1
  330. package/src/components/Tooltip/TextOverflowTooltip/TextOverflowTooltip.tsx +1 -1
  331. package/src/components/Zoom/Minimap.tsx +1 -1
  332. package/src/components/Zoom/Zoom.stories.tsx +1 -1
  333. package/src/components/Zoom/ZoomContent.tsx +3 -3
  334. package/src/components/Zoom/localPoint.ts +4 -4
  335. package/src/components/Zoom/useMinimap.ts +1 -1
  336. package/src/queryParameters/index.ts +1 -1
  337. package/src/styles/tokens/themes/_ui-dark.tokens.json +34 -166
  338. package/src/styles/tokens/themes/_ui-light.tokens.json +34 -166
  339. package/src/utils/index.ts +29 -29
  340. package/src/utils/resourcesStatusURL.ts +2 -2
  341. package/src/utils/sanitizedHTML.ts +1 -1
  342. package/src/utils/useCopyToClipboard.ts +1 -1
  343. package/src/utils/useDebounce.ts +1 -1
  344. package/src/utils/useFullscreen/useFullscreen.ts +2 -2
  345. package/src/utils/useInfiniteScrollListing.ts +129 -129
  346. package/src/utils/useIntersectionObserver.ts +1 -1
  347. package/src/utils/useKeyObserver.tsx +1 -1
  348. package/src/utils/useLicenseExpirationWarning.test.tsx +1 -1
  349. package/src/utils/useLicenseExpirationWarning.ts +1 -1
  350. package/src/utils/useLocaleDateTimeFormat/index.test.tsx +3 -3
  351. package/src/utils/useLocaleDateTimeFormat/index.ts +1 -1
  352. package/src/utils/useLocaleDateTimeFormat/localeFallback.test.tsx +4 -4
  353. package/src/utils/useLocaleTimezoneDate/LocaleTimezoneDate.cypress.spec.tsx +2 -2
  354. package/src/utils/useMemoComponent.ts +1 -1
  355. package/src/utils/usePluralizedTranslation.ts +2 -2
  356. package/src/utils/useViewportIntersection.ts +1 -1
@@ -1,326 +1,324 @@
1
-
2
1
  {
3
- "result": [
4
- {
5
- "id": 78662735,
6
- "type": "comment",
7
- "date": "2023-06-07T20:07:28+02:00",
8
- "start_date": null,
9
- "end_date": null,
10
- "content": "Shared pool hit ratio = 85.149% (memory used)",
11
- "contact": "nouha",
12
- "status": {
13
- "code": 0,
14
- "name": "OK",
15
- "severity_code": 5
16
- },
17
- "tries": 1
18
- },
19
- {
20
- "id": 78662642,
21
- "type": "comment",
22
- "date": "2023-06-07T19:57:28+02:00",
23
- "start_date": null,
24
- "end_date": null,
25
- "content": "Shared pool hit ratio = 84.908% (memory used)",
26
- "contact": "nouha",
27
- "status": {
28
- "code": 1,
29
- "name": "WARNING",
30
- "severity_code": 2
31
- },
32
- "tries": 3
33
- },
34
- {
35
- "id": 78662621,
36
- "type": "comment",
37
- "date": "2023-06-07T19:56:28+02:00",
38
- "start_date": null,
39
- "end_date": null,
40
- "content": "Shared pool hit ratio = 82.956% (memory used)",
41
- "contact": "nouha",
42
- "status": {
43
- "code": 1,
44
- "name": "WARNING",
45
- "severity_code": 2
46
- },
47
- "tries": 2
48
- },
49
- {
50
- "id": 78662612,
51
- "type": "downtime",
52
- "date": "2023-06-07T19:55:28+02:00",
53
- "start_date": null,
54
- "end_date": null,
55
- "content": "Shared pool hit ratio = 84.341% (memory used)",
56
- "contact": "nouha",
57
- "status": {
58
- "code": 1,
59
- "name": "WARNING",
60
- "severity_code": 2
61
- },
62
- "tries": 1
63
- },
64
- {
65
- "id": 78662414,
66
- "type": "downtime",
67
- "date": "2023-06-07T19:45:28+02:00",
68
- "start_date": null,
69
- "end_date": null,
70
- "content": "Shared pool hit ratio = 85.217% (memory used)",
71
- "contact": null,
72
- "status": {
73
- "code": 0,
74
- "name": "OK",
75
- "severity_code": 5
76
- },
77
- "tries": 1
78
- },
79
- {
80
- "id": 78661672,
81
- "type": "downtime",
82
- "date": "2023-06-07T19:05:28+02:00",
83
- "start_date": null,
84
- "end_date": null,
85
- "content": "Shared pool hit ratio = 84.467% (memory used)",
86
- "contact": null,
87
- "status": {
88
- "code": 1,
89
- "name": "WARNING",
90
- "severity_code": 2
91
- },
92
- "tries": 3
93
- },
94
- {
95
- "id": 78661660,
96
- "type": "acknowledgement",
97
- "date": "2023-06-07T19:04:28+02:00",
98
- "start_date": null,
99
- "end_date": null,
100
- "content": "Shared pool hit ratio = 83.731% (memory used)",
101
- "contact": null,
102
- "status": {
103
- "code": 1,
104
- "name": "WARNING",
105
- "severity_code": 2
106
- },
107
- "tries": 2
108
- },
109
- {
110
- "id": 78661625,
111
- "type": "acknowledgement",
112
- "date": "2023-06-07T19:03:28+02:00",
113
- "start_date": null,
114
- "end_date": null,
115
- "content": "Shared pool hit ratio = 84.825% (memory used)",
116
- "contact": null,
117
- "status": {
118
- "code": 1,
119
- "name": "WARNING",
120
- "severity_code": 2
121
- },
122
- "tries": 1
123
- },
124
- {
125
- "id": 78659281,
126
- "type": "acknowledgement",
127
- "date": "2023-06-07T17:18:28+02:00",
128
- "start_date": null,
129
- "end_date": null,
130
- "content": "Shared pool hit ratio = 86.132% (memory used)",
131
- "contact": null,
132
- "status": {
133
- "code": 0,
134
- "name": "OK",
135
- "severity_code": 5
136
- },
137
- "tries": 1
138
- },
139
- {
140
- "id": 78658829,
141
- "type": "acknowledgement",
142
- "date": "2023-06-07T16:58:28+02:00",
143
- "start_date": null,
144
- "end_date": null,
145
- "content": "Shared pool hit ratio = 82.638% (memory used)",
146
- "contact": null,
147
- "status": {
148
- "code": 1,
149
- "name": "WARNING",
150
- "severity_code": 2
151
- },
152
- "tries": 3
153
- },
154
- {
155
- "id": 78658821,
156
- "type": "event",
157
- "date": "2023-06-07T16:57:28+02:00",
158
- "start_date": null,
159
- "end_date": null,
160
- "content": "Shared pool hit ratio = 83.353% (memory used)",
161
- "contact": null,
162
- "status": {
163
- "code": 1,
164
- "name": "WARNING",
165
- "severity_code": 2
166
- },
167
- "tries": 2
168
- },
169
- {
170
- "id": 78658804,
171
- "type": "event",
172
- "date": "2023-06-07T16:56:28+02:00",
173
- "start_date": null,
174
- "end_date": null,
175
- "content": "Shared pool hit ratio = 84.231% (memory used)",
176
- "contact": null,
177
- "status": {
178
- "code": 1,
179
- "name": "WARNING",
180
- "severity_code": 2
181
- },
182
- "tries": 1
183
- },
184
- {
185
- "id": 78658665,
186
- "type": "event",
187
- "date": "2023-06-07T16:51:28+02:00",
188
- "start_date": null,
189
- "end_date": null,
190
- "content": "Shared pool hit ratio = 85.792% (memory used)",
191
- "contact": null,
192
- "status": {
193
- "code": 0,
194
- "name": "OK",
195
- "severity_code": 5
196
- },
197
- "tries": 1
198
- },
199
- {
200
- "id": 78650736,
201
- "type": "event",
202
- "date": "2023-06-07T11:06:28+02:00",
203
- "start_date": null,
204
- "end_date": null,
205
- "content": "Shared pool hit ratio = 81.780% (memory used)",
206
- "contact": null,
207
- "status": {
208
- "code": 1,
209
- "name": "WARNING",
210
- "severity_code": 2
211
- },
212
- "tries": 3
213
- },
214
- {
215
- "id": 78650731,
216
- "type": "event",
217
- "date": "2023-06-07T11:05:28+02:00",
218
- "start_date": null,
219
- "end_date": null,
220
- "content": "Shared pool hit ratio = 82.828% (memory used)",
221
- "contact": null,
222
- "status": {
223
- "code": 1,
224
- "name": "WARNING",
225
- "severity_code": 2
226
- },
227
- "tries": 2
228
- },
229
- {
230
- "id": 78650689,
231
- "type": "event",
232
- "date": "2023-06-07T11:04:28+02:00",
233
- "start_date": null,
234
- "end_date": null,
235
- "content": "Shared pool hit ratio = 84.561% (memory used)",
236
- "contact": null,
237
- "status": {
238
- "code": 1,
239
- "name": "WARNING",
240
- "severity_code": 2
241
- },
242
- "tries": 1
243
- },
244
- {
245
- "id": 78650260,
246
- "type": "event",
247
- "date": "2023-06-07T10:44:28+02:00",
248
- "start_date": null,
249
- "end_date": null,
250
- "content": "Shared pool hit ratio = 85.529% (memory used)",
251
- "contact": null,
252
- "status": {
253
- "code": 0,
254
- "name": "OK",
255
- "severity_code": 5
256
- },
257
- "tries": 1
258
- },
259
- {
260
- "id": 78650158,
261
- "type": "event",
262
- "date": "2023-06-07T10:39:28+02:00",
263
- "start_date": null,
264
- "end_date": null,
265
- "content": "Shared pool hit ratio = 84.905% (memory used)",
266
- "contact": null,
267
- "status": {
268
- "code": 1,
269
- "name": "WARNING",
270
- "severity_code": 2
271
- },
272
- "tries": 3
273
- },
2
+ "result": [
3
+ {
4
+ "id": 78662735,
5
+ "type": "comment",
6
+ "date": "2023-06-07T20:07:28+02:00",
7
+ "start_date": null,
8
+ "end_date": null,
9
+ "content": "Shared pool hit ratio = 85.149% (memory used)",
10
+ "contact": "nouha",
11
+ "status": {
12
+ "code": 0,
13
+ "name": "OK",
14
+ "severity_code": 5
15
+ },
16
+ "tries": 1
17
+ },
18
+ {
19
+ "id": 78662642,
20
+ "type": "comment",
21
+ "date": "2023-06-07T19:57:28+02:00",
22
+ "start_date": null,
23
+ "end_date": null,
24
+ "content": "Shared pool hit ratio = 84.908% (memory used)",
25
+ "contact": "nouha",
26
+ "status": {
27
+ "code": 1,
28
+ "name": "WARNING",
29
+ "severity_code": 2
30
+ },
31
+ "tries": 3
32
+ },
33
+ {
34
+ "id": 78662621,
35
+ "type": "comment",
36
+ "date": "2023-06-07T19:56:28+02:00",
37
+ "start_date": null,
38
+ "end_date": null,
39
+ "content": "Shared pool hit ratio = 82.956% (memory used)",
40
+ "contact": "nouha",
41
+ "status": {
42
+ "code": 1,
43
+ "name": "WARNING",
44
+ "severity_code": 2
45
+ },
46
+ "tries": 2
47
+ },
48
+ {
49
+ "id": 78662612,
50
+ "type": "downtime",
51
+ "date": "2023-06-07T19:55:28+02:00",
52
+ "start_date": null,
53
+ "end_date": null,
54
+ "content": "Shared pool hit ratio = 84.341% (memory used)",
55
+ "contact": "nouha",
56
+ "status": {
57
+ "code": 1,
58
+ "name": "WARNING",
59
+ "severity_code": 2
60
+ },
61
+ "tries": 1
62
+ },
63
+ {
64
+ "id": 78662414,
65
+ "type": "downtime",
66
+ "date": "2023-06-07T19:45:28+02:00",
67
+ "start_date": null,
68
+ "end_date": null,
69
+ "content": "Shared pool hit ratio = 85.217% (memory used)",
70
+ "contact": null,
71
+ "status": {
72
+ "code": 0,
73
+ "name": "OK",
74
+ "severity_code": 5
75
+ },
76
+ "tries": 1
77
+ },
78
+ {
79
+ "id": 78661672,
80
+ "type": "downtime",
81
+ "date": "2023-06-07T19:05:28+02:00",
82
+ "start_date": null,
83
+ "end_date": null,
84
+ "content": "Shared pool hit ratio = 84.467% (memory used)",
85
+ "contact": null,
86
+ "status": {
87
+ "code": 1,
88
+ "name": "WARNING",
89
+ "severity_code": 2
90
+ },
91
+ "tries": 3
92
+ },
93
+ {
94
+ "id": 78661660,
95
+ "type": "acknowledgement",
96
+ "date": "2023-06-07T19:04:28+02:00",
97
+ "start_date": null,
98
+ "end_date": null,
99
+ "content": "Shared pool hit ratio = 83.731% (memory used)",
100
+ "contact": null,
101
+ "status": {
102
+ "code": 1,
103
+ "name": "WARNING",
104
+ "severity_code": 2
105
+ },
106
+ "tries": 2
107
+ },
108
+ {
109
+ "id": 78661625,
110
+ "type": "acknowledgement",
111
+ "date": "2023-06-07T19:03:28+02:00",
112
+ "start_date": null,
113
+ "end_date": null,
114
+ "content": "Shared pool hit ratio = 84.825% (memory used)",
115
+ "contact": null,
116
+ "status": {
117
+ "code": 1,
118
+ "name": "WARNING",
119
+ "severity_code": 2
120
+ },
121
+ "tries": 1
122
+ },
123
+ {
124
+ "id": 78659281,
125
+ "type": "acknowledgement",
126
+ "date": "2023-06-07T17:18:28+02:00",
127
+ "start_date": null,
128
+ "end_date": null,
129
+ "content": "Shared pool hit ratio = 86.132% (memory used)",
130
+ "contact": null,
131
+ "status": {
132
+ "code": 0,
133
+ "name": "OK",
134
+ "severity_code": 5
135
+ },
136
+ "tries": 1
137
+ },
138
+ {
139
+ "id": 78658829,
140
+ "type": "acknowledgement",
141
+ "date": "2023-06-07T16:58:28+02:00",
142
+ "start_date": null,
143
+ "end_date": null,
144
+ "content": "Shared pool hit ratio = 82.638% (memory used)",
145
+ "contact": null,
146
+ "status": {
147
+ "code": 1,
148
+ "name": "WARNING",
149
+ "severity_code": 2
150
+ },
151
+ "tries": 3
152
+ },
153
+ {
154
+ "id": 78658821,
155
+ "type": "event",
156
+ "date": "2023-06-07T16:57:28+02:00",
157
+ "start_date": null,
158
+ "end_date": null,
159
+ "content": "Shared pool hit ratio = 83.353% (memory used)",
160
+ "contact": null,
161
+ "status": {
162
+ "code": 1,
163
+ "name": "WARNING",
164
+ "severity_code": 2
165
+ },
166
+ "tries": 2
167
+ },
168
+ {
169
+ "id": 78658804,
170
+ "type": "event",
171
+ "date": "2023-06-07T16:56:28+02:00",
172
+ "start_date": null,
173
+ "end_date": null,
174
+ "content": "Shared pool hit ratio = 84.231% (memory used)",
175
+ "contact": null,
176
+ "status": {
177
+ "code": 1,
178
+ "name": "WARNING",
179
+ "severity_code": 2
180
+ },
181
+ "tries": 1
182
+ },
183
+ {
184
+ "id": 78658665,
185
+ "type": "event",
186
+ "date": "2023-06-07T16:51:28+02:00",
187
+ "start_date": null,
188
+ "end_date": null,
189
+ "content": "Shared pool hit ratio = 85.792% (memory used)",
190
+ "contact": null,
191
+ "status": {
192
+ "code": 0,
193
+ "name": "OK",
194
+ "severity_code": 5
195
+ },
196
+ "tries": 1
197
+ },
198
+ {
199
+ "id": 78650736,
200
+ "type": "event",
201
+ "date": "2023-06-07T11:06:28+02:00",
202
+ "start_date": null,
203
+ "end_date": null,
204
+ "content": "Shared pool hit ratio = 81.780% (memory used)",
205
+ "contact": null,
206
+ "status": {
207
+ "code": 1,
208
+ "name": "WARNING",
209
+ "severity_code": 2
210
+ },
211
+ "tries": 3
212
+ },
213
+ {
214
+ "id": 78650731,
215
+ "type": "event",
216
+ "date": "2023-06-07T11:05:28+02:00",
217
+ "start_date": null,
218
+ "end_date": null,
219
+ "content": "Shared pool hit ratio = 82.828% (memory used)",
220
+ "contact": null,
221
+ "status": {
222
+ "code": 1,
223
+ "name": "WARNING",
224
+ "severity_code": 2
225
+ },
226
+ "tries": 2
227
+ },
228
+ {
229
+ "id": 78650689,
230
+ "type": "event",
231
+ "date": "2023-06-07T11:04:28+02:00",
232
+ "start_date": null,
233
+ "end_date": null,
234
+ "content": "Shared pool hit ratio = 84.561% (memory used)",
235
+ "contact": null,
236
+ "status": {
237
+ "code": 1,
238
+ "name": "WARNING",
239
+ "severity_code": 2
240
+ },
241
+ "tries": 1
242
+ },
243
+ {
244
+ "id": 78650260,
245
+ "type": "event",
246
+ "date": "2023-06-07T10:44:28+02:00",
247
+ "start_date": null,
248
+ "end_date": null,
249
+ "content": "Shared pool hit ratio = 85.529% (memory used)",
250
+ "contact": null,
251
+ "status": {
252
+ "code": 0,
253
+ "name": "OK",
254
+ "severity_code": 5
255
+ },
256
+ "tries": 1
257
+ },
258
+ {
259
+ "id": 78650158,
260
+ "type": "event",
261
+ "date": "2023-06-07T10:39:28+02:00",
262
+ "start_date": null,
263
+ "end_date": null,
264
+ "content": "Shared pool hit ratio = 84.905% (memory used)",
265
+ "contact": null,
266
+ "status": {
267
+ "code": 1,
268
+ "name": "WARNING",
269
+ "severity_code": 2
270
+ },
271
+ "tries": 3
272
+ },
273
+ {
274
+ "id": 78650096,
275
+ "type": "event",
276
+ "date": "2023-06-07T10:38:28+02:00",
277
+ "start_date": null,
278
+ "end_date": null,
279
+ "content": "Shared pool hit ratio = 84.210% (memory used)",
280
+ "contact": null,
281
+ "status": {
282
+ "code": 1,
283
+ "name": "WARNING",
284
+ "severity_code": 2
285
+ },
286
+ "tries": 2
287
+ },
288
+ {
289
+ "id": 78650057,
290
+ "type": "event",
291
+ "date": "2023-06-07T10:37:28+02:00",
292
+ "start_date": null,
293
+ "end_date": null,
294
+ "content": "Shared pool hit ratio = 83.771% (memory used)",
295
+ "contact": null,
296
+ "status": {
297
+ "code": 1,
298
+ "name": "WARNING",
299
+ "severity_code": 2
300
+ },
301
+ "tries": 1
302
+ }
303
+ ],
304
+ "meta": {
305
+ "page": 1,
306
+ "limit": 20,
307
+ "search": {
308
+ "$and": [
274
309
  {
275
- "id": 78650096,
276
- "type": "event",
277
- "date": "2023-06-07T10:38:28+02:00",
278
- "start_date": null,
279
- "end_date": null,
280
- "content": "Shared pool hit ratio = 84.210% (memory used)",
281
- "contact": null,
282
- "status": {
283
- "code": 1,
284
- "name": "WARNING",
285
- "severity_code": 2
286
- },
287
- "tries": 2
310
+ "date": {
311
+ "$gt": "2023-06-06T19:27:15.554Z"
312
+ }
288
313
  },
289
314
  {
290
- "id": 78650057,
291
- "type": "event",
292
- "date": "2023-06-07T10:37:28+02:00",
293
- "start_date": null,
294
- "end_date": null,
295
- "content": "Shared pool hit ratio = 83.771% (memory used)",
296
- "contact": null,
297
- "status": {
298
- "code": 1,
299
- "name": "WARNING",
300
- "severity_code": 2
301
- },
302
- "tries": 1
315
+ "date": {
316
+ "$lt": "2023-06-07T19:27:15.554Z"
317
+ }
303
318
  }
304
- ],
305
- "meta": {
306
- "page": 1,
307
- "limit": 20,
308
- "search": {
309
- "$and": [
310
- {
311
- "date": {
312
- "$gt": "2023-06-06T19:27:15.554Z"
313
- }
314
- },
315
- {
316
- "date": {
317
- "$lt": "2023-06-07T19:27:15.554Z"
318
- }
319
- }
320
- ]
321
- },
322
- "sort_by": {},
323
- "total": 44
324
- }
319
+ ]
320
+ },
321
+ "sort_by": {},
322
+ "total": 44
323
+ }
325
324
  }
326
-
@@ -249,4 +249,4 @@
249
249
  "2024-05-10T10:15:00+02:00",
250
250
  "2024-05-10T10:20:00+02:00"
251
251
  ]
252
- }
252
+ }