@eccenca/gui-elements 25.1.0 → 25.2.0-featureupgradeblueprintjsv6cmem7139.0

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 (551) hide show
  1. package/CHANGELOG.md +1003 -952
  2. package/README.md +27 -27
  3. package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js +21 -23
  4. package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
  5. package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +28 -12
  6. package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
  7. package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js +17 -7
  8. package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
  9. package/dist/cjs/cmem/ConfidenceValue/ConfidenceValue.js +2 -1
  10. package/dist/cjs/cmem/ConfidenceValue/ConfidenceValue.js.map +1 -1
  11. package/dist/cjs/cmem/ContentBlobToggler/ContentBlobToggler.js +29 -13
  12. package/dist/cjs/cmem/ContentBlobToggler/ContentBlobToggler.js.map +1 -1
  13. package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +21 -6
  14. package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
  15. package/dist/cjs/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +17 -7
  16. package/dist/cjs/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +1 -1
  17. package/dist/cjs/cmem/markdown/Markdown.js +2 -2
  18. package/dist/cjs/cmem/markdown/Markdown.js.map +1 -1
  19. package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js +17 -7
  20. package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -1
  21. package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlowV9.js.map +1 -1
  22. package/dist/cjs/cmem/react-flow/StickyNoteModal/StickyNoteModal.js.map +1 -1
  23. package/dist/cjs/cmem/react-flow/configuration/graph.js +0 -2
  24. package/dist/cjs/cmem/react-flow/configuration/graph.js.map +1 -1
  25. package/dist/cjs/cmem/react-flow/configuration/linking.js +0 -2
  26. package/dist/cjs/cmem/react-flow/configuration/linking.js.map +1 -1
  27. package/dist/cjs/cmem/react-flow/configuration/workflow.js +0 -2
  28. package/dist/cjs/cmem/react-flow/configuration/workflow.js.map +1 -1
  29. package/dist/cjs/cmem/react-flow/extensions/scrollOnDragHook.js +17 -7
  30. package/dist/cjs/cmem/react-flow/extensions/scrollOnDragHook.js.map +1 -1
  31. package/dist/cjs/cmem/react-flow/nodes/StickyNoteNode.js +17 -7
  32. package/dist/cjs/cmem/react-flow/nodes/StickyNoteNode.js.map +1 -1
  33. package/dist/cjs/common/utils/colorCalculateDistance.js.map +1 -1
  34. package/dist/cjs/common/utils/colorDecideContrastvalue.js +2 -1
  35. package/dist/cjs/common/utils/colorDecideContrastvalue.js.map +1 -1
  36. package/dist/cjs/common/utils/colorHash.js +3 -7
  37. package/dist/cjs/common/utils/colorHash.js.map +1 -1
  38. package/dist/cjs/common/utils/reduceToText.js +17 -7
  39. package/dist/cjs/common/utils/reduceToText.js.map +1 -1
  40. package/dist/cjs/components/Accordion/AccordionItem.js.map +1 -1
  41. package/dist/cjs/components/Application/ApplicationSidebarNavigation.js.map +1 -1
  42. package/dist/cjs/components/Application/ApplicationTitle.js +1 -1
  43. package/dist/cjs/components/Application/ApplicationTitle.js.map +1 -1
  44. package/dist/cjs/components/Application/ApplicationToolbarAction.js.map +1 -1
  45. package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js +27 -13
  46. package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
  47. package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
  48. package/dist/cjs/components/AutoSuggestion/ExtendedCodeEditor.js +1 -1
  49. package/dist/cjs/components/AutoSuggestion/ExtendedCodeEditor.js.map +1 -1
  50. package/dist/cjs/components/AutocompleteField/AutoCompleteField.js +19 -16
  51. package/dist/cjs/components/AutocompleteField/AutoCompleteField.js.map +1 -1
  52. package/dist/cjs/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
  53. package/dist/cjs/components/Breadcrumb/BreadcrumbList.js +17 -7
  54. package/dist/cjs/components/Breadcrumb/BreadcrumbList.js.map +1 -1
  55. package/dist/cjs/components/Button/Button.js +5 -1
  56. package/dist/cjs/components/Button/Button.js.map +1 -1
  57. package/dist/cjs/components/Card/CardContent.js +1 -1
  58. package/dist/cjs/components/Card/CardContent.js.map +1 -1
  59. package/dist/cjs/components/Chat/ChatArea.js.map +1 -1
  60. package/dist/cjs/components/ColorField/ColorField.js +1 -1
  61. package/dist/cjs/components/ColorField/ColorField.js.map +1 -1
  62. package/dist/cjs/components/ContentGroup/ContentGroup.js +19 -19
  63. package/dist/cjs/components/ContentGroup/ContentGroup.js.map +1 -1
  64. package/dist/cjs/components/ContextOverlay/ContextMenu.js +4 -4
  65. package/dist/cjs/components/ContextOverlay/ContextMenu.js.map +1 -1
  66. package/dist/cjs/components/ContextOverlay/ContextOverlay.js +6 -5
  67. package/dist/cjs/components/ContextOverlay/ContextOverlay.js.map +1 -1
  68. package/dist/cjs/components/DecoupledOverlay/DecoupledOverlay.js +6 -5
  69. package/dist/cjs/components/DecoupledOverlay/DecoupledOverlay.js.map +1 -1
  70. package/dist/cjs/components/Depiction/Depiction.js +18 -8
  71. package/dist/cjs/components/Depiction/Depiction.js.map +1 -1
  72. package/dist/cjs/components/Dialog/Modal.js.map +1 -1
  73. package/dist/cjs/components/Dialog/ModalContext.js +3 -3
  74. package/dist/cjs/components/Dialog/ModalContext.js.map +1 -1
  75. package/dist/cjs/components/FlexibleLayout/FlexibleLayoutContainer.js +17 -7
  76. package/dist/cjs/components/FlexibleLayout/FlexibleLayoutContainer.js.map +1 -1
  77. package/dist/cjs/components/FlexibleLayout/FlexibleLayoutItem.js +17 -7
  78. package/dist/cjs/components/FlexibleLayout/FlexibleLayoutItem.js.map +1 -1
  79. package/dist/cjs/components/Grid/Grid.js.map +1 -1
  80. package/dist/cjs/components/Icon/IconButton.js +2 -2
  81. package/dist/cjs/components/Icon/IconButton.js.map +1 -1
  82. package/dist/cjs/components/Icon/canonicalIconNames.js +18 -7
  83. package/dist/cjs/components/Icon/canonicalIconNames.js.map +1 -1
  84. package/dist/cjs/components/Icon/transformIcon.js.map +1 -1
  85. package/dist/cjs/components/Iframe/Iframe.js +17 -7
  86. package/dist/cjs/components/Iframe/Iframe.js.map +1 -1
  87. package/dist/cjs/components/InteractionGate/InteractionGate.js +17 -7
  88. package/dist/cjs/components/InteractionGate/InteractionGate.js.map +1 -1
  89. package/dist/cjs/components/List/List.js +17 -7
  90. package/dist/cjs/components/List/List.js.map +1 -1
  91. package/dist/cjs/components/Menu/MenuItem.js.map +1 -1
  92. package/dist/cjs/components/MultiSelect/MultiSelect.js +55 -25
  93. package/dist/cjs/components/MultiSelect/MultiSelect.js.map +1 -1
  94. package/dist/cjs/components/NotAvailable/NotAvailable.js +42 -0
  95. package/dist/cjs/components/NotAvailable/NotAvailable.js.map +1 -0
  96. package/dist/cjs/components/Notification/Notification.js.map +1 -1
  97. package/dist/cjs/components/OverviewItem/OverviewItemDepiction.js.map +1 -1
  98. package/dist/cjs/components/Pagination/Pagination.js +17 -7
  99. package/dist/cjs/components/Pagination/Pagination.js.map +1 -1
  100. package/dist/cjs/components/Select/Select.js +6 -4
  101. package/dist/cjs/components/Select/Select.js.map +1 -1
  102. package/dist/cjs/components/Skeleton/Skeleton.js.map +1 -1
  103. package/dist/cjs/components/Spinner/Spinner.js +17 -7
  104. package/dist/cjs/components/Spinner/Spinner.js.map +1 -1
  105. package/dist/cjs/components/Switch/Switch.js +17 -7
  106. package/dist/cjs/components/Switch/Switch.js.map +1 -1
  107. package/dist/cjs/components/Table/Table.js.map +1 -1
  108. package/dist/cjs/components/Table/TableContainer.js +1 -1
  109. package/dist/cjs/components/Table/TableContainer.js.map +1 -1
  110. package/dist/cjs/components/Table/TableExpandHeader.js.map +1 -1
  111. package/dist/cjs/components/Table/TableExpandRow.js +2 -2
  112. package/dist/cjs/components/Table/TableExpandRow.js.map +1 -1
  113. package/dist/cjs/components/Tabs/Tab.js.map +1 -1
  114. package/dist/cjs/components/Tabs/Tabs.js +17 -7
  115. package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
  116. package/dist/cjs/components/Tag/Tag.js +1 -1
  117. package/dist/cjs/components/Tag/Tag.js.map +1 -1
  118. package/dist/cjs/components/TextField/TextArea.js.map +1 -1
  119. package/dist/cjs/components/TextField/TextField.js.map +1 -1
  120. package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
  121. package/dist/cjs/components/Tree/Tree.js +17 -7
  122. package/dist/cjs/components/Tree/Tree.js.map +1 -1
  123. package/dist/cjs/components/Typography/HtmlContentBlock.js +17 -7
  124. package/dist/cjs/components/Typography/HtmlContentBlock.js.map +1 -1
  125. package/dist/cjs/components/Typography/WhiteSpaceContainer.js +17 -7
  126. package/dist/cjs/components/Typography/WhiteSpaceContainer.js.map +1 -1
  127. package/dist/cjs/components/VisualTour/VisualTour.js +7 -5
  128. package/dist/cjs/components/VisualTour/VisualTour.js.map +1 -1
  129. package/dist/cjs/components/index.js +1 -0
  130. package/dist/cjs/components/index.js.map +1 -1
  131. package/dist/cjs/extensions/codemirror/CodeMirror.js +43 -19
  132. package/dist/cjs/extensions/codemirror/CodeMirror.js.map +1 -1
  133. package/dist/cjs/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js +5 -3
  134. package/dist/cjs/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js.map +1 -1
  135. package/dist/cjs/extensions/codemirror/tests/codemirrorTestHelper.js +1 -1
  136. package/dist/cjs/extensions/codemirror/tests/codemirrorTestHelper.js.map +1 -1
  137. package/dist/cjs/extensions/react-flow/edges/EdgeBezier.js +17 -7
  138. package/dist/cjs/extensions/react-flow/edges/EdgeBezier.js.map +1 -1
  139. package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js +17 -7
  140. package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
  141. package/dist/cjs/extensions/react-flow/edges/EdgeDefaultV12.js +17 -7
  142. package/dist/cjs/extensions/react-flow/edges/EdgeDefaultV12.js.map +1 -1
  143. package/dist/cjs/extensions/react-flow/edges/EdgeLabel.js +25 -10
  144. package/dist/cjs/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
  145. package/dist/cjs/extensions/react-flow/edges/EdgeNew.js +14 -8
  146. package/dist/cjs/extensions/react-flow/edges/EdgeNew.js.map +1 -1
  147. package/dist/cjs/extensions/react-flow/edges/EdgeStep.js +17 -7
  148. package/dist/cjs/extensions/react-flow/edges/EdgeStep.js.map +1 -1
  149. package/dist/cjs/extensions/react-flow/edges/EdgeTools.js +19 -9
  150. package/dist/cjs/extensions/react-flow/edges/EdgeTools.js.map +1 -1
  151. package/dist/cjs/extensions/react-flow/edges/utils.js.map +1 -1
  152. package/dist/cjs/extensions/react-flow/handles/HandleContent.js +22 -9
  153. package/dist/cjs/extensions/react-flow/handles/HandleContent.js.map +1 -1
  154. package/dist/cjs/extensions/react-flow/handles/HandleDefault.js +20 -8
  155. package/dist/cjs/extensions/react-flow/handles/HandleDefault.js.map +1 -1
  156. package/dist/cjs/extensions/react-flow/handles/HandleTools.js +2 -2
  157. package/dist/cjs/extensions/react-flow/handles/HandleTools.js.map +1 -1
  158. package/dist/cjs/extensions/react-flow/markers/ReactFlowMarkers.js.map +1 -1
  159. package/dist/cjs/extensions/react-flow/minimap/MiniMap.js +17 -7
  160. package/dist/cjs/extensions/react-flow/minimap/MiniMap.js.map +1 -1
  161. package/dist/cjs/extensions/react-flow/minimap/MiniMapV12.js +17 -7
  162. package/dist/cjs/extensions/react-flow/minimap/MiniMapV12.js.map +1 -1
  163. package/dist/cjs/extensions/react-flow/nodes/NodeContent.js +11 -9
  164. package/dist/cjs/extensions/react-flow/nodes/NodeContent.js.map +1 -1
  165. package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js +21 -8
  166. package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js.map +1 -1
  167. package/dist/cjs/extensions/react-flow/nodes/NodeTools.js +23 -9
  168. package/dist/cjs/extensions/react-flow/nodes/NodeTools.js.map +1 -1
  169. package/dist/cjs/extensions/react-flow/nodes/nodeUtils.js +6 -1
  170. package/dist/cjs/extensions/react-flow/nodes/nodeUtils.js.map +1 -1
  171. package/dist/cjs/index.js +17 -7
  172. package/dist/cjs/index.js.map +1 -1
  173. package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js +7 -9
  174. package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
  175. package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +6 -3
  176. package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
  177. package/dist/esm/cmem/ActivityControl/SilkActivityControl.js +2 -2
  178. package/dist/esm/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
  179. package/dist/esm/cmem/ConfidenceValue/ConfidenceValue.js +2 -1
  180. package/dist/esm/cmem/ConfidenceValue/ConfidenceValue.js.map +1 -1
  181. package/dist/esm/cmem/ContentBlobToggler/ContentBlobToggler.js +8 -5
  182. package/dist/esm/cmem/ContentBlobToggler/ContentBlobToggler.js.map +1 -1
  183. package/dist/esm/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +28 -3
  184. package/dist/esm/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
  185. package/dist/esm/cmem/markdown/Markdown.js +1 -1
  186. package/dist/esm/cmem/markdown/Markdown.js.map +1 -1
  187. package/dist/esm/cmem/react-flow/ReactFlow/ReactFlowV9.js.map +1 -1
  188. package/dist/esm/cmem/react-flow/StickyNoteModal/StickyNoteModal.js.map +1 -1
  189. package/dist/esm/cmem/react-flow/configuration/graph.js +0 -2
  190. package/dist/esm/cmem/react-flow/configuration/graph.js.map +1 -1
  191. package/dist/esm/cmem/react-flow/configuration/linking.js +0 -2
  192. package/dist/esm/cmem/react-flow/configuration/linking.js.map +1 -1
  193. package/dist/esm/cmem/react-flow/configuration/workflow.js +0 -2
  194. package/dist/esm/cmem/react-flow/configuration/workflow.js.map +1 -1
  195. package/dist/esm/cmem/react-flow/extensions/scrollOnDragHook.js.map +1 -1
  196. package/dist/esm/common/utils/colorCalculateDistance.js.map +1 -1
  197. package/dist/esm/common/utils/colorDecideContrastvalue.js +2 -1
  198. package/dist/esm/common/utils/colorDecideContrastvalue.js.map +1 -1
  199. package/dist/esm/common/utils/colorHash.js +3 -7
  200. package/dist/esm/common/utils/colorHash.js.map +1 -1
  201. package/dist/esm/common/utils/reduceToText.js +1 -1
  202. package/dist/esm/components/Accordion/AccordionItem.js.map +1 -1
  203. package/dist/esm/components/Application/ApplicationSidebarNavigation.js.map +1 -1
  204. package/dist/esm/components/Application/ApplicationTitle.js +1 -1
  205. package/dist/esm/components/Application/ApplicationTitle.js.map +1 -1
  206. package/dist/esm/components/Application/ApplicationToolbarAction.js.map +1 -1
  207. package/dist/esm/components/AutoSuggestion/AutoSuggestion.js +12 -8
  208. package/dist/esm/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
  209. package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
  210. package/dist/esm/components/AutocompleteField/AutoCompleteField.js +11 -18
  211. package/dist/esm/components/AutocompleteField/AutoCompleteField.js.map +1 -1
  212. package/dist/esm/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
  213. package/dist/esm/components/Breadcrumb/BreadcrumbList.js.map +1 -1
  214. package/dist/esm/components/Button/Button.js +5 -1
  215. package/dist/esm/components/Button/Button.js.map +1 -1
  216. package/dist/esm/components/Card/CardContent.js +1 -1
  217. package/dist/esm/components/Card/CardContent.js.map +1 -1
  218. package/dist/esm/components/Chat/ChatArea.js.map +1 -1
  219. package/dist/esm/components/ColorField/ColorField.js +1 -1
  220. package/dist/esm/components/ColorField/ColorField.js.map +1 -1
  221. package/dist/esm/components/ContentGroup/ContentGroup.js +1 -1
  222. package/dist/esm/components/ContentGroup/ContentGroup.js.map +1 -1
  223. package/dist/esm/components/ContextOverlay/ContextMenu.js +4 -4
  224. package/dist/esm/components/ContextOverlay/ContextMenu.js.map +1 -1
  225. package/dist/esm/components/ContextOverlay/ContextOverlay.js +3 -2
  226. package/dist/esm/components/ContextOverlay/ContextOverlay.js.map +1 -1
  227. package/dist/esm/components/DecoupledOverlay/DecoupledOverlay.js +3 -2
  228. package/dist/esm/components/DecoupledOverlay/DecoupledOverlay.js.map +1 -1
  229. package/dist/esm/components/Depiction/Depiction.js +1 -1
  230. package/dist/esm/components/Depiction/Depiction.js.map +1 -1
  231. package/dist/esm/components/Dialog/Modal.js.map +1 -1
  232. package/dist/esm/components/Dialog/ModalContext.js +2 -2
  233. package/dist/esm/components/Dialog/ModalContext.js.map +1 -1
  234. package/dist/esm/components/Grid/Grid.js.map +1 -1
  235. package/dist/esm/components/Icon/IconButton.js +2 -2
  236. package/dist/esm/components/Icon/IconButton.js.map +1 -1
  237. package/dist/esm/components/Icon/canonicalIconNames.js +1 -0
  238. package/dist/esm/components/Icon/canonicalIconNames.js.map +1 -1
  239. package/dist/esm/components/Icon/transformIcon.js.map +1 -1
  240. package/dist/esm/components/Menu/MenuItem.js.map +1 -1
  241. package/dist/esm/components/MultiSelect/MultiSelect.js +42 -22
  242. package/dist/esm/components/MultiSelect/MultiSelect.js.map +1 -1
  243. package/dist/esm/components/NotAvailable/NotAvailable.js +46 -0
  244. package/dist/esm/components/NotAvailable/NotAvailable.js.map +1 -0
  245. package/dist/esm/components/Notification/Notification.js.map +1 -1
  246. package/dist/esm/components/OverviewItem/OverviewItemDepiction.js.map +1 -1
  247. package/dist/esm/components/Select/Select.js +4 -2
  248. package/dist/esm/components/Select/Select.js.map +1 -1
  249. package/dist/esm/components/Skeleton/Skeleton.js.map +1 -1
  250. package/dist/esm/components/Spinner/Spinner.js.map +1 -1
  251. package/dist/esm/components/Table/Table.js.map +1 -1
  252. package/dist/esm/components/Table/TableContainer.js +1 -1
  253. package/dist/esm/components/Table/TableContainer.js.map +1 -1
  254. package/dist/esm/components/Table/TableExpandHeader.js.map +1 -1
  255. package/dist/esm/components/Table/TableExpandRow.js +1 -1
  256. package/dist/esm/components/Table/TableExpandRow.js.map +1 -1
  257. package/dist/esm/components/Tabs/Tab.js.map +1 -1
  258. package/dist/esm/components/Tag/Tag.js +1 -1
  259. package/dist/esm/components/Tag/Tag.js.map +1 -1
  260. package/dist/esm/components/TextField/TextArea.js.map +1 -1
  261. package/dist/esm/components/TextField/TextField.js.map +1 -1
  262. package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
  263. package/dist/esm/components/VisualTour/VisualTour.js +7 -5
  264. package/dist/esm/components/VisualTour/VisualTour.js.map +1 -1
  265. package/dist/esm/components/index.js +1 -0
  266. package/dist/esm/components/index.js.map +1 -1
  267. package/dist/esm/extensions/codemirror/CodeMirror.js +26 -12
  268. package/dist/esm/extensions/codemirror/CodeMirror.js.map +1 -1
  269. package/dist/esm/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js +5 -3
  270. package/dist/esm/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js.map +1 -1
  271. package/dist/esm/extensions/codemirror/tests/codemirrorTestHelper.js +1 -1
  272. package/dist/esm/extensions/codemirror/tests/codemirrorTestHelper.js.map +1 -1
  273. package/dist/esm/extensions/react-flow/edges/EdgeBezier.js.map +1 -1
  274. package/dist/esm/extensions/react-flow/edges/EdgeLabel.js +3 -1
  275. package/dist/esm/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
  276. package/dist/esm/extensions/react-flow/edges/EdgeNew.js +11 -5
  277. package/dist/esm/extensions/react-flow/edges/EdgeNew.js.map +1 -1
  278. package/dist/esm/extensions/react-flow/edges/EdgeTools.js +1 -1
  279. package/dist/esm/extensions/react-flow/edges/EdgeTools.js.map +1 -1
  280. package/dist/esm/extensions/react-flow/edges/utils.js.map +1 -1
  281. package/dist/esm/extensions/react-flow/handles/HandleContent.js +1 -1
  282. package/dist/esm/extensions/react-flow/handles/HandleContent.js.map +1 -1
  283. package/dist/esm/extensions/react-flow/handles/HandleDefault.js +3 -1
  284. package/dist/esm/extensions/react-flow/handles/HandleDefault.js.map +1 -1
  285. package/dist/esm/extensions/react-flow/handles/HandleTools.js +1 -1
  286. package/dist/esm/extensions/react-flow/handles/HandleTools.js.map +1 -1
  287. package/dist/esm/extensions/react-flow/markers/ReactFlowMarkers.js.map +1 -1
  288. package/dist/esm/extensions/react-flow/minimap/MiniMap.js +1 -1
  289. package/dist/esm/extensions/react-flow/minimap/MiniMap.js.map +1 -1
  290. package/dist/esm/extensions/react-flow/minimap/MiniMapV12.js.map +1 -1
  291. package/dist/esm/extensions/react-flow/nodes/NodeContent.js +8 -6
  292. package/dist/esm/extensions/react-flow/nodes/NodeContent.js.map +1 -1
  293. package/dist/esm/extensions/react-flow/nodes/NodeDefault.js +1 -1
  294. package/dist/esm/extensions/react-flow/nodes/NodeDefault.js.map +1 -1
  295. package/dist/esm/extensions/react-flow/nodes/NodeTools.js +2 -1
  296. package/dist/esm/extensions/react-flow/nodes/NodeTools.js.map +1 -1
  297. package/dist/esm/extensions/react-flow/nodes/nodeUtils.js +6 -1
  298. package/dist/esm/extensions/react-flow/nodes/nodeUtils.js.map +1 -1
  299. package/dist/types/cmem/ActivityControl/ActivityControlWidget.d.ts +5 -5
  300. package/dist/types/cmem/ActivityControl/ActivityExecutionErrorReportModal.d.ts +1 -1
  301. package/dist/types/cmem/ActivityControl/SilkActivityControl.d.ts +4 -4
  302. package/dist/types/cmem/ConfidenceValue/ConfidenceValue.d.ts +2 -2
  303. package/dist/types/cmem/ContentBlobToggler/ContentBlobToggler.d.ts +5 -1
  304. package/dist/types/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.d.ts +3 -3
  305. package/dist/types/cmem/markdown/Markdown.d.ts +2 -1
  306. package/dist/types/cmem/react-flow/configuration/graph.d.ts +2 -1
  307. package/dist/types/cmem/react-flow/configuration/linking.d.ts +2 -1
  308. package/dist/types/cmem/react-flow/configuration/workflow.d.ts +2 -1
  309. package/dist/types/common/utils/colorCalculateDistance.d.ts +2 -2
  310. package/dist/types/common/utils/colorDecideContrastvalue.d.ts +2 -2
  311. package/dist/types/common/utils/colorHash.d.ts +3 -3
  312. package/dist/types/components/Accordion/AccordionItem.d.ts +1 -1
  313. package/dist/types/components/Application/ApplicationSidebarNavigation.d.ts +2 -0
  314. package/dist/types/components/AutoSuggestion/AutoSuggestion.d.ts +6 -3
  315. package/dist/types/components/AutoSuggestion/ExtendedCodeEditor.d.ts +1 -1
  316. package/dist/types/components/AutocompleteField/AutoCompleteField.d.ts +2 -12
  317. package/dist/types/components/AutocompleteField/autoCompleteFieldUtils.d.ts +1 -1
  318. package/dist/types/components/Button/Button.d.ts +3 -3
  319. package/dist/types/components/Card/CardHeader.d.ts +1 -1
  320. package/dist/types/components/ColorField/ColorField.d.ts +2 -5
  321. package/dist/types/components/ContentGroup/ContentGroup.d.ts +1 -1
  322. package/dist/types/components/ContextOverlay/ContextMenu.d.ts +9 -3
  323. package/dist/types/components/ContextOverlay/ContextOverlay.d.ts +2 -2
  324. package/dist/types/components/DecoupledOverlay/DecoupledOverlay.d.ts +3 -1
  325. package/dist/types/components/Depiction/Depiction.d.ts +3 -3
  326. package/dist/types/components/Dialog/SimpleDialog.d.ts +1 -1
  327. package/dist/types/components/Form/FieldItem.d.ts +1 -1
  328. package/dist/types/components/Form/FieldSet.d.ts +3 -3
  329. package/dist/types/components/HoverToggler/HoverToggler.d.ts +2 -2
  330. package/dist/types/components/Icon/canonicalIconNames.d.ts +1 -0
  331. package/dist/types/components/Label/Label.d.ts +3 -3
  332. package/dist/types/components/Menu/MenuItem.d.ts +1 -1
  333. package/dist/types/components/MultiSelect/MultiSelect.d.ts +15 -4
  334. package/dist/types/components/NotAvailable/NotAvailable.d.ts +32 -0
  335. package/dist/types/components/Notification/Notification.d.ts +2 -2
  336. package/dist/types/components/OverviewItem/OverviewItemActions.d.ts +1 -1
  337. package/dist/types/components/PropertyValuePair/PropertyValueList.d.ts +1 -1
  338. package/dist/types/components/Select/Select.d.ts +2 -1
  339. package/dist/types/components/Skeleton/Skeleton.d.ts +1 -1
  340. package/dist/types/components/Spinner/Spinner.d.ts +2 -2
  341. package/dist/types/components/Structure/TitleSubsection.d.ts +2 -5
  342. package/dist/types/components/SuggestField/index.d.ts +2 -2
  343. package/dist/types/components/Table/TableContainer.d.ts +3 -3
  344. package/dist/types/components/Table/index.d.ts +1 -1
  345. package/dist/types/components/Tabs/Tab.d.ts +180 -186
  346. package/dist/types/components/Tabs/TabTitle.d.ts +1 -1
  347. package/dist/types/components/Tag/Tag.d.ts +2 -2
  348. package/dist/types/components/TextField/TextArea.d.ts +6 -1
  349. package/dist/types/components/index.d.ts +1 -0
  350. package/dist/types/extensions/react-flow/edges/EdgeLabel.d.ts +3 -3
  351. package/dist/types/extensions/react-flow/edges/EdgeTools.d.ts +1 -1
  352. package/dist/types/extensions/react-flow/handles/HandleContent.d.ts +2 -2
  353. package/dist/types/extensions/react-flow/handles/HandleTools.d.ts +2 -2
  354. package/dist/types/extensions/react-flow/nodes/NodeContent.d.ts +3 -3
  355. package/dist/types/extensions/react-flow/nodes/NodeTools.d.ts +2 -2
  356. package/dist/types/extensions/react-flow/nodes/sharedTypes.d.ts +2 -2
  357. package/package.json +60 -63
  358. package/scripts/compile-sass.ts +2 -0
  359. package/scripts/sassConfig.js +1 -1
  360. package/scripts/sassDeprecationConfig.js +3 -0
  361. package/src/cmem/ActivityControl/ActivityControlWidget.stories.tsx +4 -9
  362. package/src/cmem/ActivityControl/ActivityControlWidget.tsx +33 -35
  363. package/src/cmem/ActivityControl/ActivityExecutionErrorReportModal.tsx +5 -2
  364. package/src/cmem/ActivityControl/SilkActivityControl.tsx +28 -32
  365. package/src/cmem/ActivityControl/tests/ActivityControlWidget.test.tsx +1 -1
  366. package/src/cmem/ConfidenceValue/ConfidenceValue.tsx +6 -5
  367. package/src/cmem/ContentBlobToggler/ContentBlobToggler.tsx +17 -7
  368. package/src/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.tsx +12 -4
  369. package/src/cmem/ContentBlobToggler/tests/StringPreviewContentBlobToggler.test.tsx +10 -10
  370. package/src/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.tsx +2 -2
  371. package/src/cmem/DateTimeDisplay/tests/ElapsedDateTimeDisplay.test.tsx +2 -2
  372. package/src/cmem/markdown/Markdown.tsx +2 -1
  373. package/src/cmem/markdown/highlightSearchWords.test.ts +1 -1
  374. package/src/cmem/markdown/markdownutils.test.ts +2 -2
  375. package/src/cmem/react-flow/ReactFlow/ReactFlow.stories.tsx +3 -3
  376. package/src/cmem/react-flow/ReactFlow/ReactFlow.tsx +2 -2
  377. package/src/cmem/react-flow/ReactFlow/ReactFlowV12.tsx +1 -1
  378. package/src/cmem/react-flow/ReactFlow/ReactFlowV9.tsx +2 -5
  379. package/src/cmem/react-flow/StickyNoteModal/StickyNoteModal.tsx +6 -3
  380. package/src/cmem/react-flow/configuration/graph.ts +3 -3
  381. package/src/cmem/react-flow/configuration/linking.ts +3 -3
  382. package/src/cmem/react-flow/configuration/workflow.ts +3 -3
  383. package/src/cmem/react-flow/extensions/scrollOnDragHook.ts +14 -14
  384. package/src/common/scss/_color-functions.scss +9 -4
  385. package/src/common/utils/CssCustomProperties.ts +1 -1
  386. package/src/common/utils/characters.ts +2 -2
  387. package/src/common/utils/colorCalculateDistance.ts +2 -2
  388. package/src/common/utils/colorDecideContrastvalue.ts +4 -3
  389. package/src/common/utils/colorHash.ts +13 -17
  390. package/src/common/utils/getColorConfiguration.ts +2 -2
  391. package/src/common/utils/openInNewTab.ts +1 -1
  392. package/src/common/utils/reduceToText.tsx +1 -1
  393. package/src/components/Accordion/AccordionItem.tsx +3 -2
  394. package/src/components/Accordion/Stories/AccordionItem.stories.tsx +1 -1
  395. package/src/components/Application/ApplicationSidebarNavigation.tsx +6 -2
  396. package/src/components/Application/ApplicationTitle.tsx +9 -1
  397. package/src/components/Application/ApplicationToolbarAction.tsx +2 -1
  398. package/src/components/Application/_header.scss +13 -10
  399. package/src/components/Application/stories/ColorPalettes.stories.tsx +23 -19
  400. package/src/components/Application/tests/ApplicationViewability.test.tsx +1 -7
  401. package/src/components/AutoSuggestion/AutoSuggestion.tsx +30 -23
  402. package/src/components/AutoSuggestion/AutoSuggestionList.tsx +5 -3
  403. package/src/components/AutoSuggestion/ExtendedCodeEditor.tsx +2 -2
  404. package/src/components/AutoSuggestion/extensions/markText.ts +1 -1
  405. package/src/components/AutocompleteField/AutoCompleteField.tsx +16 -25
  406. package/src/components/AutocompleteField/autoCompleteFieldUtils.tsx +7 -3
  407. package/src/components/Badge/Badge.stories.tsx +1 -1
  408. package/src/components/Breadcrumb/BreadcrumbList.tsx +4 -3
  409. package/src/components/Button/Button.test.tsx +2 -2
  410. package/src/components/Button/Button.tsx +13 -11
  411. package/src/components/Button/button.scss +2 -3
  412. package/src/components/Card/CardContent.tsx +17 -20
  413. package/src/components/Card/CardHeader.tsx +1 -1
  414. package/src/components/Card/card.scss +8 -4
  415. package/src/components/Card/stories/Card.stories.tsx +1 -1
  416. package/src/components/Chat/ChatArea.tsx +1 -2
  417. package/src/components/Chat/_chat.scss +2 -2
  418. package/src/components/Checkbox/Stories/Checkbox.stories.tsx +1 -1
  419. package/src/components/CodeAutocompleteField/CodeAutocompleteField.stories.tsx +9 -3
  420. package/src/components/ColorField/ColorField.test.tsx +1 -1
  421. package/src/components/ColorField/ColorField.tsx +6 -6
  422. package/src/components/ContentGroup/ContentGroup.stories.tsx +1 -1
  423. package/src/components/ContentGroup/ContentGroup.tsx +6 -6
  424. package/src/components/ContextOverlay/ContextMenu.tsx +10 -4
  425. package/src/components/ContextOverlay/ContextOverlay.stories.tsx +1 -1
  426. package/src/components/ContextOverlay/ContextOverlay.tsx +16 -11
  427. package/src/components/ContextOverlay/tests/ContextOverlay.test.tsx +2 -2
  428. package/src/components/DecoupledOverlay/DecoupledOverlay.tsx +11 -4
  429. package/src/components/Depiction/Depiction.tsx +6 -6
  430. package/src/components/Dialog/Modal.tsx +9 -7
  431. package/src/components/Dialog/ModalContext.tsx +6 -6
  432. package/src/components/Dialog/SimpleDialog.tsx +1 -1
  433. package/src/components/Dialog/stories/AlertDialog.stories.tsx +1 -1
  434. package/src/components/Dialog/stories/Modal.stories.tsx +2 -2
  435. package/src/components/Dialog/stories/SimpleDialog.stories.tsx +1 -1
  436. package/src/components/FlexibleLayout/FlexibleLayoutContainer.tsx +2 -2
  437. package/src/components/FlexibleLayout/FlexibleLayoutItem.tsx +2 -2
  438. package/src/components/Form/FieldItem.tsx +1 -1
  439. package/src/components/Form/FieldSet.tsx +3 -3
  440. package/src/components/Form/Stories/FieldItem.stories.tsx +1 -1
  441. package/src/components/Form/Stories/FieldSet.stories.tsx +1 -1
  442. package/src/components/Grid/Grid.tsx +4 -2
  443. package/src/components/Grid/stories/GridColumn.stories.tsx +1 -1
  444. package/src/components/Grid/stories/GridRow.stories.tsx +1 -1
  445. package/src/components/HoverToggler/HoverToggler.tsx +2 -2
  446. package/src/components/Icon/Icon.tsx +1 -1
  447. package/src/components/Icon/IconButton.tsx +3 -3
  448. package/src/components/Icon/canonicalIconNames.tsx +1 -0
  449. package/src/components/Icon/icon.scss +4 -4
  450. package/src/components/Icon/stories/Icon.stories.tsx +1 -1
  451. package/src/components/Icon/stories/IconButton.stories.tsx +1 -1
  452. package/src/components/Icon/stories/TestIcon.stories.tsx +1 -1
  453. package/src/components/Icon/transformIcon.tsx +11 -9
  454. package/src/components/Iframe/Iframe.tsx +2 -2
  455. package/src/components/Label/Label.tsx +4 -4
  456. package/src/components/List/List.tsx +1 -1
  457. package/src/components/Menu/MenuItem.tsx +3 -2
  458. package/src/components/Menu/Stories/MenuItem.stories.tsx +1 -1
  459. package/src/components/Menu/menu.scss +1 -0
  460. package/src/components/MultiSelect/MultiSelect.tsx +62 -26
  461. package/src/components/MultiSuggestField/MultiSuggestField.stories.tsx +1 -1
  462. package/src/components/MultiSuggestField/index.ts +1 -1
  463. package/src/components/MultiSuggestField/tests/MultiSuggestField.test.tsx +24 -57
  464. package/src/components/NotAvailable/NotAvailable.stories.tsx +15 -0
  465. package/src/components/NotAvailable/NotAvailable.tsx +69 -0
  466. package/src/components/Notification/Notification.stories.tsx +2 -1
  467. package/src/components/Notification/Notification.tsx +5 -4
  468. package/src/components/OverviewItem/OverviewItemActions.tsx +1 -1
  469. package/src/components/OverviewItem/OverviewItemDepiction.tsx +1 -1
  470. package/src/components/OverviewItem/stories/OverviewItem.stories.tsx +1 -1
  471. package/src/components/OverviewItem/stories/OverviewItemActions.stories.tsx +1 -1
  472. package/src/components/OverviewItem/stories/OverviewItemDepiction.stories.tsx +1 -1
  473. package/src/components/OverviewItem/stories/OverviewItemDescription.stories.tsx +1 -1
  474. package/src/components/OverviewItem/stories/OverviewItemListPerformance.tsx +2 -2
  475. package/src/components/Pagination/Pagination.tsx +2 -2
  476. package/src/components/Pagination/Stories/Pagination.stories.tsx +32 -0
  477. package/src/components/Pagination/pagination.scss +54 -4
  478. package/src/components/PropertyValuePair/PropertyValueList.tsx +1 -1
  479. package/src/components/RadioButton/Stories/RadioButton.stories.tsx +1 -1
  480. package/src/components/Select/Select.stories.tsx +1 -1
  481. package/src/components/Select/Select.tsx +7 -4
  482. package/src/components/Skeleton/Skeleton.tsx +2 -2
  483. package/src/components/Spinner/Spinner.tsx +2 -2
  484. package/src/components/Sticky/StickyTarget.tsx +1 -1
  485. package/src/components/Sticky/stories/StickyTarget.stories.tsx +2 -2
  486. package/src/components/Structure/TitleSubsection.tsx +2 -2
  487. package/src/components/SuggestField/SuggestField.stories.tsx +2 -2
  488. package/src/components/Table/Table.tsx +3 -2
  489. package/src/components/Table/TableContainer.tsx +11 -6
  490. package/src/components/Table/TableExpandHeader.tsx +2 -1
  491. package/src/components/Table/TableExpandRow.tsx +3 -2
  492. package/src/components/Table/index.tsx +7 -1
  493. package/src/components/Tabs/Tab.tsx +2 -2
  494. package/src/components/Tabs/TabTitle.tsx +1 -1
  495. package/src/components/Tag/Tag.tsx +9 -10
  496. package/src/components/Tag/stories/Tag.stories.tsx +1 -1
  497. package/src/components/Tag/stories/TagList.stories.tsx +1 -1
  498. package/src/components/TextField/TextArea.tsx +12 -7
  499. package/src/components/TextField/TextField.tsx +4 -3
  500. package/src/components/TextField/stories/TextArea.stories.tsx +1 -1
  501. package/src/components/TextField/stories/TextField.stories.tsx +1 -3
  502. package/src/components/TextField/useTextValidation.ts +4 -4
  503. package/src/components/TextReducer/TextReducer.stories.tsx +4 -1
  504. package/src/components/TextReducer/TextReducer.test.tsx +2 -2
  505. package/src/components/Tooltip/Tooltip.stories.tsx +1 -1
  506. package/src/components/Tooltip/Tooltip.test.tsx +5 -5
  507. package/src/components/Tooltip/Tooltip.tsx +5 -5
  508. package/src/components/Typography/stories/OverflowText.stories.tsx +1 -1
  509. package/src/components/Typography/typography.scss +4 -2
  510. package/src/components/VisualTour/VisualTour.tsx +10 -10
  511. package/src/components/index.ts +1 -0
  512. package/src/configuration/_variables.scss +3 -1
  513. package/src/extensions/codemirror/CodeMirror.tsx +131 -79
  514. package/src/extensions/codemirror/debouncedLinter.ts +2 -2
  515. package/src/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.ts +9 -5
  516. package/src/extensions/codemirror/tests/CodeEditor.test.tsx +4 -4
  517. package/src/extensions/codemirror/tests/EditorAppearanceConfigMenu.test.tsx +5 -5
  518. package/src/extensions/codemirror/tests/codemirrorTestHelper.ts +12 -12
  519. package/src/extensions/codemirror/toolbars/commands/markdown.command.ts +6 -6
  520. package/src/extensions/react-flow/edges/EdgeBezier.tsx +1 -2
  521. package/src/extensions/react-flow/edges/EdgeDefault.tsx +4 -4
  522. package/src/extensions/react-flow/edges/EdgeDefaultV12.tsx +5 -5
  523. package/src/extensions/react-flow/edges/EdgeLabel.tsx +10 -8
  524. package/src/extensions/react-flow/edges/EdgeNew.tsx +29 -31
  525. package/src/extensions/react-flow/edges/EdgeTools.tsx +2 -3
  526. package/src/extensions/react-flow/edges/stories/EdgeDefault.stories.tsx +1 -1
  527. package/src/extensions/react-flow/edges/stories/EdgeDefaultV12.stories.tsx +1 -1
  528. package/src/extensions/react-flow/edges/stories/EdgeLabel.stories.tsx +2 -1
  529. package/src/extensions/react-flow/edges/utils.ts +5 -3
  530. package/src/extensions/react-flow/handles/HandleContent.tsx +3 -3
  531. package/src/extensions/react-flow/handles/HandleDefault.tsx +56 -46
  532. package/src/extensions/react-flow/handles/HandleTools.tsx +4 -5
  533. package/src/extensions/react-flow/handles/stories/HandleDefault.stories.tsx +2 -7
  534. package/src/extensions/react-flow/index.ts +1 -1
  535. package/src/extensions/react-flow/markers/ReactFlowMarkers.tsx +2 -2
  536. package/src/extensions/react-flow/minimap/MiniMap.tsx +17 -20
  537. package/src/extensions/react-flow/minimap/MiniMapV12.tsx +2 -3
  538. package/src/extensions/react-flow/nodes/NodeContent.tsx +65 -57
  539. package/src/extensions/react-flow/nodes/NodeDefault.tsx +6 -3
  540. package/src/extensions/react-flow/nodes/NodeDefaultV12.tsx +1 -1
  541. package/src/extensions/react-flow/nodes/NodeTools.tsx +5 -5
  542. package/src/extensions/react-flow/nodes/_nodes.scss +2 -1
  543. package/src/extensions/react-flow/nodes/nodeUtils.tsx +10 -5
  544. package/src/extensions/react-flow/nodes/sharedTypes.ts +2 -2
  545. package/src/extensions/react-flow/nodes/stories/NodeContent.stories.tsx +38 -24
  546. package/src/extensions/react-flow/nodes/stories/NodeContentV12.stories.tsx +1 -1
  547. package/src/extensions/react-flow/nodes/stories/NodeDefault.stories.tsx +1 -1
  548. package/src/includes/blueprintjs/_variables.scss +1 -0
  549. package/src/includes/carbon-components/_variables.scss +1 -1
  550. package/src/index.scss +2 -2
  551. package/src/test/setupTests.js +1 -1
@@ -4,7 +4,7 @@ import { PopoverInteractionKind, PopperModifierOverrides } from "@blueprintjs/co
4
4
  import { PopperPlacements } from "@blueprintjs/core";
5
5
  import { OverlaysProvider } from "@blueprintjs/core";
6
6
  import { Meta, StoryFn } from "@storybook/react";
7
- import { fn } from "@storybook/test";
7
+ import { fn } from "storybook/test";
8
8
 
9
9
  import { Button, ContextOverlay, HtmlContentBlock } from "../../index";
10
10
 
@@ -7,13 +7,14 @@ import {
7
7
  Utils as BlueprintUtils,
8
8
  } from "@blueprintjs/core";
9
9
 
10
- import { CLASSPREFIX as eccgui, WhiteSpaceContainer, WhiteSpaceContainerProps } from "../../index";
10
+ import { CLASSPREFIX as eccgui } from "../../configuration/constants";
11
+ import { WhiteSpaceContainer, WhiteSpaceContainerProps } from "../Typography";
11
12
 
12
13
  export interface ContextOverlayProps extends Omit<BlueprintPopoverProps, "position"> {
13
14
  /**
14
15
  * `target` element to use as toggler for the overlay display.
15
16
  */
16
- children?: JSX.Element;
17
+ children?: React.JSX.Element;
17
18
  /**
18
19
  * Type of counter property to `Modal.forceTopPosition`.
19
20
  * Use it when you need to display modal dialogs out of the context overlay.
@@ -56,7 +57,7 @@ export const ContextOverlay = ({
56
57
  !otherPopoverProps.defaultIsOpen &&
57
58
  !otherPopoverProps.isOpen &&
58
59
  otherPopoverProps.renderTarget === undefined &&
59
- usePlaceholder
60
+ usePlaceholder,
60
61
  );
61
62
 
62
63
  const swap = (ev: MouseEvent | globalThis.FocusEvent) => {
@@ -83,7 +84,7 @@ export const ContextOverlay = ({
83
84
  replacePlaceholder,
84
85
  // we delay the swap for hover/focus to prevent unwanted effects
85
86
  // (e.g. event hickup after replacing elements when it is not really necessary)
86
- swapDelayTime
87
+ swapDelayTime,
87
88
  );
88
89
  };
89
90
 
@@ -115,7 +116,7 @@ export const ContextOverlay = ({
115
116
  return () => {};
116
117
  }, [!!placeholderRef.current, otherPopoverProps.interactionKind]);
117
118
 
118
- const refocus = React.useCallback((node) => {
119
+ const refocus = React.useCallback((node: any) => {
119
120
  const target = node?.targetRef.current.children[0];
120
121
  if (!eventMemory.current || !target) {
121
122
  return;
@@ -135,7 +136,7 @@ export const ContextOverlay = ({
135
136
  {
136
137
  capture: true,
137
138
  once: true,
138
- }
139
+ },
139
140
  );
140
141
  break;
141
142
  }
@@ -163,7 +164,7 @@ export const ContextOverlay = ({
163
164
  tabIndex:
164
165
  childTarget.props.tabIndex ??
165
166
  (!otherPopoverProps?.disabled && otherPopoverProps?.openOnTargetFocus ? 0 : undefined),
166
- })
167
+ }),
167
168
  );
168
169
  };
169
170
 
@@ -176,8 +177,9 @@ export const ContextOverlay = ({
176
177
  ) : (
177
178
  <BlueprintPopover
178
179
  placement="bottom"
179
- content={content ? (
180
- paddingSize ? (
180
+ content={
181
+ content ? (
182
+ paddingSize ? (
181
183
  <WhiteSpaceContainer
182
184
  paddingTop={paddingSize}
183
185
  paddingRight={paddingSize}
@@ -186,8 +188,11 @@ export const ContextOverlay = ({
186
188
  >
187
189
  {content}
188
190
  </WhiteSpaceContainer>
189
- ) : content
190
- ) : undefined}
191
+ ) : (
192
+ content
193
+ )
194
+ ) : undefined
195
+ }
191
196
  {...otherPopoverProps}
192
197
  className={targetClassName}
193
198
  portalClassName={portalClassNameFinal.trim() ?? undefined}
@@ -40,7 +40,7 @@ describe("ContextOverlay", () => {
40
40
  {...ContextOverlayStory.args}
41
41
  usePlaceholder={false}
42
42
  interactionKind={PopoverInteractionKind.HOVER}
43
- />
43
+ />,
44
44
  );
45
45
  fireEvent.mouseEnter(container.getElementsByClassName(overlayWrapper)[0]);
46
46
  expect(await screen.findByText("Overlay:")).toBeVisible();
@@ -56,7 +56,7 @@ describe("ContextOverlay", () => {
56
56
  {...ContextOverlayStory.args}
57
57
  usePlaceholder={true}
58
58
  interactionKind={PopoverInteractionKind.HOVER}
59
- />
59
+ />,
60
60
  );
61
61
  checkForPlaceholderClass(container, 1);
62
62
  fireEvent.mouseEnter(container.getElementsByClassName(overlayWrapper)[0]);
@@ -3,10 +3,15 @@ import { createPortal } from "react-dom";
3
3
  import { Classes as BlueprintClasses } from "@blueprintjs/core";
4
4
  import { createPopper } from "@popperjs/core";
5
5
 
6
- import { CLASSPREFIX as eccgui, ContextOverlayProps, TestableComponent, TooltipSize, WhiteSpaceContainer } from "../../index";
6
+ import { CLASSPREFIX as eccgui } from "../../configuration/constants";
7
+ import { ContextOverlayProps } from "../ContextOverlay";
8
+ import { TestableComponent } from "../interfaces";
9
+ import { TooltipSize } from "../Tooltip/Tooltip";
10
+ import WhiteSpaceContainer from "../Typography/WhiteSpaceContainer";
7
11
 
8
12
  export interface DecoupledOverlayProps
9
- extends React.HTMLAttributes<HTMLDivElement>,
13
+ extends
14
+ React.HTMLAttributes<HTMLDivElement>,
10
15
  TestableComponent,
11
16
  Pick<ContextOverlayProps, "usePortal" | "portalContainer" | "placement" | "minimal" | "paddingSize"> {
12
17
  /**
@@ -55,7 +60,7 @@ export const DecoupledOverlay = ({
55
60
  });
56
61
  }
57
62
  },
58
- [targetSelectorOrElement]
63
+ [targetSelectorOrElement],
59
64
  );
60
65
 
61
66
  const overlay = (
@@ -86,7 +91,9 @@ export const DecoupledOverlay = ({
86
91
  >
87
92
  {children}
88
93
  </WhiteSpaceContainer>
89
- ) : children}
94
+ ) : (
95
+ children
96
+ )}
90
97
  </div>
91
98
  </div>
92
99
  );
@@ -1,6 +1,6 @@
1
1
  import React, { useCallback, useEffect, useRef } from "react";
2
2
  import SVG from "react-inlinesvg";
3
- import Color from "color";
3
+ import Color, { ColorLike } from "color";
4
4
 
5
5
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
6
6
  import { BadgeProps } from "../Badge/Badge";
@@ -46,7 +46,7 @@ export interface DepictionProps extends React.HTMLAttributes<HTMLElement> {
46
46
  * Color that is used for the depiction background.
47
47
  * This may be important if you use PNG, SVG or other image types that can have transparent background areas.
48
48
  */
49
- backgroundColor?: Color | string | "light" | "dark";
49
+ backgroundColor?: ColorLike | "light" | "dark";
50
50
  /**
51
51
  * The depiction is displayed with a border around it.
52
52
  */
@@ -65,7 +65,7 @@ export interface DepictionProps extends React.HTMLAttributes<HTMLElement> {
65
65
  /**
66
66
  * Description of the depiction.
67
67
  */
68
- caption?: string | JSX.Element;
68
+ caption?: string | React.JSX.Element;
69
69
  /**
70
70
  * How is the caption displayed.
71
71
  */
@@ -111,7 +111,7 @@ export function Depiction({
111
111
  [`--${eccgui}-depiction-background`]: color.rgb().toString(),
112
112
  [`--${eccgui}-depiction-color`]: decideContrastColorValue({ testColor: color }),
113
113
  };
114
- } catch (ex) {
114
+ } catch {
115
115
  // eslint-disable-next-line no-console
116
116
  console.warn("Received invalid background color for depiction: " + backgroundColor);
117
117
  }
@@ -130,7 +130,7 @@ export function Depiction({
130
130
  }
131
131
  el.setAttribute("preserveAspectRatio", preserveAspectRatio);
132
132
  },
133
- [resizing]
133
+ [resizing],
134
134
  );
135
135
 
136
136
  const inlineSvgCall = useCallback(
@@ -139,7 +139,7 @@ export function Depiction({
139
139
  updateSvgResizing(svgElement);
140
140
  }
141
141
  },
142
- [updateSvgResizing]
142
+ [updateSvgResizing],
143
143
  );
144
144
 
145
145
  useEffect(() => {
@@ -81,19 +81,21 @@ export const Modal = ({
81
81
  preventReactFlowEvents = true,
82
82
  ...otherProps
83
83
  }: ModalProps) => {
84
- const modalContext = React.useContext(ModalContext)
85
- const uniqueModalId = React.useRef<string>(modalId ?? Date.now().toString(36) + Math.random().toString(36).substring(2))
84
+ const modalContext = React.useContext(ModalContext);
85
+ const uniqueModalId = React.useRef<string>(
86
+ modalId ?? Date.now().toString(36) + Math.random().toString(36).substring(2),
87
+ );
86
88
 
87
89
  React.useEffect(() => {
88
90
  return () => {
89
91
  // Make sure to always remove flag when modal is removed
90
- modalContext.setModalOpen(uniqueModalId.current, false)
91
- }
92
- }, [])
92
+ modalContext.setModalOpen(uniqueModalId.current, false);
93
+ };
94
+ }, []);
93
95
 
94
96
  React.useEffect(() => {
95
- modalContext.setModalOpen(uniqueModalId.current, otherProps.isOpen)
96
- }, [otherProps.isOpen])
97
+ modalContext.setModalOpen(uniqueModalId.current, otherProps.isOpen);
98
+ }, [otherProps.isOpen]);
97
99
 
98
100
  const backdropProps: React.HTMLProps<HTMLDivElement> | undefined =
99
101
  !canOutsideClickClose && canEscapeKeyClose
@@ -21,12 +21,12 @@ export const useModalContext = (): ModalContextProps => {
21
21
  // A stack of modal IDs. These should reflect a stacked opening of modals on top of each other.
22
22
  const currentOpenModalStack = React.useRef<string[]>([]);
23
23
 
24
- const setOpenModalStack = ((stackUpdateFunction: (old: string[]) => string[]) => {
25
- currentOpenModalStack.current = stackUpdateFunction([...currentOpenModalStack.current])
26
- })
24
+ const setOpenModalStack = (stackUpdateFunction: (old: string[]) => string[]) => {
25
+ currentOpenModalStack.current = stackUpdateFunction([...currentOpenModalStack.current]);
26
+ };
27
27
 
28
28
  const setModalOpen = React.useCallback((modalId: string, isOpen: boolean) => {
29
- setOpenModalStack(old => {
29
+ setOpenModalStack((old) => {
30
30
  if (isOpen) {
31
31
  return [...old, modalId];
32
32
  } else {
@@ -46,8 +46,8 @@ export const useModalContext = (): ModalContextProps => {
46
46
  }, []);
47
47
 
48
48
  const openModalStack = React.useCallback(() => {
49
- return currentOpenModalStack.current.length ? [...currentOpenModalStack.current] : undefined
50
- }, [])
49
+ return currentOpenModalStack.current.length ? [...currentOpenModalStack.current] : undefined;
50
+ }, []);
51
51
 
52
52
  return {
53
53
  openModalStack,
@@ -30,7 +30,7 @@ export interface SimpleDialogProps extends ModalProps, TestableComponent {
30
30
  /**
31
31
  * Can contain elements actionable/non-actionable elements display right-aligned to the dialog title.
32
32
  */
33
- headerOptions?: null | JSX.Element | JSX.Element[];
33
+ headerOptions?: null | React.JSX.Element | React.JSX.Element[];
34
34
  /**
35
35
  * If enabled neither closing via `esc` key or clicking outside of the component will work, except explicitly specified.
36
36
  */
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { OverlaysProvider } from "@blueprintjs/core";
3
3
  import { Meta, StoryFn } from "@storybook/react";
4
- import { fn } from "@storybook/test";
4
+ import { fn } from "storybook/test";
5
5
 
6
6
  import { AlertDialog } from "./../../../../index";
7
7
  import simpleDialogStory, { Default as SimpleDialogExample } from "./SimpleDialog.stories";
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
2
  import { OverlaysProvider } from "@blueprintjs/core";
3
3
  import { Meta, StoryFn } from "@storybook/react";
4
- import { fn } from "@storybook/test";
4
+ import { fn } from "storybook/test";
5
5
 
6
6
  import { SimpleCard } from "../../Card/stories/Card.stories";
7
7
 
8
- import { Card, Modal } from "./../../../../index";
8
+ import { Card, Modal } from "./../../../components";
9
9
 
10
10
  export default {
11
11
  title: "Components/Dialog/Modal",
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { OverlaysProvider } from "@blueprintjs/core";
3
3
  import { Meta, StoryFn } from "@storybook/react";
4
- import { fn } from "@storybook/test";
4
+ import { fn } from "storybook/test";
5
5
 
6
6
  import { SimpleDialog } from "./../../../../index";
7
7
  import { Default as CardActionsExample } from "./../../Card/stories/CardActions.stories";
@@ -43,7 +43,7 @@ export const FlexibleLayoutContainer = forwardRef<HTMLDivElement, FlexibleLayout
43
43
  gapSize = "none",
44
44
  ...otherDivProps
45
45
  }: FlexibleLayoutContainerProps,
46
- ref
46
+ ref,
47
47
  ) => {
48
48
  return (
49
49
  <div
@@ -61,7 +61,7 @@ export const FlexibleLayoutContainer = forwardRef<HTMLDivElement, FlexibleLayout
61
61
  {children}
62
62
  </div>
63
63
  );
64
- }
64
+ },
65
65
  );
66
66
 
67
67
  export default FlexibleLayoutContainer;
@@ -34,7 +34,7 @@ export const FlexibleLayoutItem = forwardRef<HTMLDivElement, FlexibleLayoutItemP
34
34
  style,
35
35
  ...otherDivProps
36
36
  }: FlexibleLayoutItemProps,
37
- ref
37
+ ref,
38
38
  ) => {
39
39
  const sizing = {} as any;
40
40
  if (typeof growFactor !== "undefined" && growFactor >= 0 && growFactor !== 1) {
@@ -53,7 +53,7 @@ export const FlexibleLayoutItem = forwardRef<HTMLDivElement, FlexibleLayoutItemP
53
53
  {children}
54
54
  </div>
55
55
  );
56
- }
56
+ },
57
57
  );
58
58
 
59
59
  export default FlexibleLayoutItem;
@@ -24,7 +24,7 @@ export interface FieldItemProps extends React.HTMLAttributes<HTMLDivElement>, Te
24
24
  * Text for user help.
25
25
  * Is displayed between label and input element.
26
26
  */
27
- helperText?: string | JSX.Element;
27
+ helperText?: string | React.JSX.Element;
28
28
  /**
29
29
  * Feedback notification.
30
30
  * Is displayed below the included input element.
@@ -16,17 +16,17 @@ export interface FieldSetProps extends Omit<React.FieldsetHTMLAttributes<HTMLFie
16
16
  /**
17
17
  * Optional helper text. If given then it is displayed after the title.
18
18
  */
19
- helperText?: string | JSX.Element;
19
+ helperText?: string | React.JSX.Element;
20
20
  /**
21
21
  * Optional notification text.
22
22
  * If given then it is displayed before the fieldset content and is colored reagarding the set intent state.
23
23
  */
24
- messageText?: string | JSX.Element;
24
+ messageText?: string | React.JSX.Element;
25
25
  /**
26
26
  * Optional title, set the fieldset legend and if given it is display on top, colored reagarding the set intent state.
27
27
  *
28
28
  */
29
- title?: string | JSX.Element;
29
+ title?: string | React.JSX.Element;
30
30
  }
31
31
 
32
32
  /**
@@ -3,7 +3,7 @@ import { LoremIpsum } from "react-lorem-ipsum";
3
3
  import { Meta, StoryFn } from "@storybook/react";
4
4
 
5
5
  import { helpersArgTypes } from "../../../../.storybook/helpers";
6
- import { FieldItem, TextField } from "../../../../index";
6
+ import { FieldItem, TextField } from "../../../components";
7
7
 
8
8
  export default {
9
9
  title: "Forms/FieldItem",
@@ -3,7 +3,7 @@ import { LoremIpsum } from "react-lorem-ipsum";
3
3
  import { Meta, StoryFn } from "@storybook/react";
4
4
 
5
5
  import { helpersArgTypes } from "../../../../.storybook/helpers";
6
- import { FieldItem, FieldItemRow, FieldSet, TitleSubsection } from "../../../../index";
6
+ import { FieldItem, FieldItemRow, FieldSet, TitleSubsection } from "../../../components";
7
7
 
8
8
  import { Default as SimpleFieldItemExample } from "./FieldItem.stories";
9
9
  import { Default as SimpleFieldItemRowExample } from "./FieldItemRow.stories";
@@ -4,8 +4,10 @@ import { GridProps as CarbonGridProps } from "@carbon/react/es/components/Grid";
4
4
 
5
5
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
6
6
 
7
- export interface GridProps
8
- extends Omit<CarbonGridProps<"article" | "section" | "div">, "fullWidth" | "columns" | "narrow" | "as"> {
7
+ export interface GridProps extends Omit<
8
+ CarbonGridProps<"article" | "section" | "div">,
9
+ "fullWidth" | "columns" | "narrow" | "as"
10
+ > {
9
11
  /**
10
12
  * The available grid height can be distributed between multiple rows.
11
13
  * To do so the `verticalStretched` property must be set for the `<GridRow />` element that need to be stretched.
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { LoremIpsum } from "react-lorem-ipsum";
3
3
  import { Meta, StoryFn } from "@storybook/react";
4
4
 
5
- import { Grid, GridColumn, GridRow, HtmlContentBlock } from "../../../../index";
5
+ import { Grid, GridColumn, GridRow, HtmlContentBlock } from "../../../components";
6
6
 
7
7
  export default {
8
8
  title: "Components/Grid/Column",
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { Meta, StoryFn } from "@storybook/react";
3
3
 
4
- import { Grid, GridColumn, GridRow } from "../../../../index";
4
+ import { Grid, GridColumn, GridRow } from "../../../components";
5
5
 
6
6
  import { Default as ColumnExample } from "./GridColumn.stories";
7
7
 
@@ -10,12 +10,12 @@ export interface HoverTogglerProps extends Omit<React.HTMLAttributes<HTMLDivElem
10
10
  /**
11
11
  * The content that is shown when not hovered.
12
12
  */
13
- baseContent: JSX.Element;
13
+ baseContent: React.JSX.Element;
14
14
  baseContentProps?: Omit<React.HTMLAttributes<HTMLDivElement>, "children">;
15
15
  /**
16
16
  * The content that is shown when hovered.
17
17
  */
18
- hoverContent: JSX.Element;
18
+ hoverContent: React.JSX.Element;
19
19
  hoverContentProps?: Omit<React.HTMLAttributes<HTMLDivElement>, "children">;
20
20
  /**
21
21
  * Display as inline element.
@@ -14,7 +14,7 @@ export interface IconProps extends Omit<BaseIconProps, "iconComponent"> {
14
14
  /** Returns the first icon that exists or the fallback icon. */
15
15
  const findExistingIcon = (
16
16
  iconName: ValidIconName | string[],
17
- fallbackItem: CarbonIconType = canonicalIcons["undefined"]
17
+ fallbackItem: CarbonIconType = canonicalIcons["undefined"],
18
18
  ): CarbonIconType => {
19
19
  if (typeof iconName === "string") {
20
20
  return canonicalIcons[iconName] ?? fallbackItem;
@@ -2,7 +2,7 @@ import React from "react";
2
2
 
3
3
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
4
4
  import Button, { ButtonProps } from "../Button/Button";
5
- import {TestableComponent} from "../interfaces";
5
+ import { TestableComponent } from "../interfaces";
6
6
 
7
7
  import { ValidIconName } from "./canonicalIconNames";
8
8
  import Icon, { IconProps } from "./Icon";
@@ -54,8 +54,8 @@ export const IconButton = ({
54
54
  swapPlaceholderDelay: 10,
55
55
  };
56
56
  const iconProps = {
57
- small: restProps.small,
58
- large: restProps.large,
57
+ small: restProps.small || restProps["size"] === "small",
58
+ large: restProps.large || restProps["size"] === "large",
59
59
  tooltipText: tooltipAsTitle ? undefined : text,
60
60
  tooltipProps: tooltipProps
61
61
  ? {
@@ -40,6 +40,7 @@ const canonicalIcons = {
40
40
  "artefact-task-sendemail": icons.Email,
41
41
  "artefact-dataset-csv": icons.Csv,
42
42
  "artefact-dataset-eccencadataplatform": icons.DataVis_1,
43
+ "artefact-dataset-inmemory": icons.DataVis_1,
43
44
  "artefact-dataset-excel": icons.Xls,
44
45
  "artefact-dataset-file": icons.DataVis_1,
45
46
  "artefact-dataset": icons.Data_2,
@@ -32,15 +32,15 @@ svg.#{$eccgui}-icon {
32
32
  }
33
33
 
34
34
  .#{$ns}-button .#{$eccgui}-icon:first-child {
35
- margin-left: -($pt-button-height - $pt-icon-size-standard) * 0.5;
35
+ margin-left: -($button-icon-spacing);
36
36
  }
37
37
  .#{$ns}-button .#{$eccgui}-icon:last-child {
38
- margin-right: -($pt-button-height - $pt-icon-size-standard) * 0.5;
38
+ margin-right: -($button-icon-spacing);
39
39
  }
40
40
 
41
41
  .#{$ns}-button .#{$eccgui}-icon:first-child:last-child,
42
42
  .#{$ns}-button .#{$ns}-spinner + .#{$eccgui}-icon:last-child {
43
- margin: 0 (-($pt-button-height - $pt-icon-size-standard) * 0.5);
43
+ margin: 0 (-($button-icon-spacing));
44
44
  }
45
45
 
46
46
  .#{$eccgui}-button--icon {
@@ -49,7 +49,7 @@ svg.#{$eccgui}-icon {
49
49
  }
50
50
 
51
51
  & > .#{$ns}-button-text {
52
- margin-left: -5px;
52
+ margin-left: -($pt-grid-size) * 0.5;
53
53
  }
54
54
 
55
55
  & > .#{$eccgui}-tooltip__wrapper + .#{$ns}-button-text {
@@ -84,7 +84,7 @@ export const IconsOverview = () => {
84
84
  ) {
85
85
  section = iconName.substring(
86
86
  0,
87
- iconName.indexOf("-") > 0 ? iconName.indexOf("-") : iconName.length
87
+ iconName.indexOf("-") > 0 ? iconName.indexOf("-") : iconName.length,
88
88
  );
89
89
  separation = (
90
90
  <FlexibleLayoutItem style={{ width: "100%", padding: "1rem 0 0.5rem 0" }}>
@@ -3,7 +3,7 @@ import { OverlaysProvider } from "@blueprintjs/core";
3
3
  import { LogoReact } from "@carbon/icons-react";
4
4
  import { Meta, StoryFn } from "@storybook/react";
5
5
 
6
- import { IconButton, TestIcon } from "../../../../index";
6
+ import { IconButton, TestIcon } from "../../../components";
7
7
 
8
8
  import buttonStory from "./../../Button/Button.stories";
9
9
  import canonicalIcons from "./../canonicalIconNames";
@@ -3,8 +3,8 @@ import { OverlaysProvider } from "@blueprintjs/core";
3
3
  import { LogoReact } from "@carbon/icons-react";
4
4
  import { Meta, StoryFn } from "@storybook/react";
5
5
 
6
- import { TestIcon } from "../../../../index";
7
6
  import { Definitions } from "../../../common/Intent";
7
+ import { TestIcon } from "../TestIcon";
8
8
 
9
9
  export default {
10
10
  title: "Components/Icon/TestIcon",
@@ -1,17 +1,19 @@
1
1
  import React from "react";
2
- import { CarbonIconType, CarbonIconProps } from "@carbon/react/icons";
2
+ import { CarbonIconProps, CarbonIconType } from "@carbon/react/icons";
3
3
 
4
- export const transform = (IconSymbol: CarbonIconType, rotate: number = 0, flipH: boolean = false, flipV: boolean = false) : CarbonIconType => {
5
- return React.forwardRef((props: CarbonIconProps, ref: React.ForwardedRef<React.ReactSVGElement>) => {
4
+ export const transform = (
5
+ IconSymbol: CarbonIconType,
6
+ rotate: number = 0,
7
+ flipH: boolean = false,
8
+ flipV: boolean = false,
9
+ ): CarbonIconType => {
10
+ return React.forwardRef((props: CarbonIconProps, ref: React.LegacyRef<SVGSVGElement>) => {
6
11
  return (
7
12
  <IconSymbol
8
13
  {...props}
9
14
  ref={ref}
10
- transform={
11
- `scale(${flipH ? "-1" : "1"}, ${flipV ? "-1" : "1"}) rotate(${rotate})`
12
- }
15
+ transform={`scale(${flipH ? "-1" : "1"}, ${flipV ? "-1" : "1"}) rotate(${rotate})`}
13
16
  />
14
17
  );
15
- })
16
- }
17
-
18
+ });
19
+ };
@@ -42,7 +42,7 @@ export const Iframe = React.forwardRef<HTMLIFrameElement, IframeProps>(
42
42
  htmlIframeProps = {},
43
43
  ...otherReactProps
44
44
  }: IframeProps,
45
- ref
45
+ ref,
46
46
  ) => {
47
47
  const [isLoaded, setIsLoaded] = useState<boolean>(false);
48
48
  const [contentHeight, setContentHeight] = useState<number | undefined>(undefined);
@@ -98,7 +98,7 @@ export const Iframe = React.forwardRef<HTMLIFrameElement, IframeProps>(
98
98
  />
99
99
  </div>
100
100
  );
101
- }
101
+ },
102
102
  );
103
103
 
104
104
  export default Iframe;
@@ -9,15 +9,15 @@ export interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>
9
9
  /**
10
10
  * Label text.
11
11
  */
12
- text?: string | JSX.Element;
12
+ text?: string | React.JSX.Element;
13
13
  /**
14
14
  * Short info about label semantic, it is displayed in parentesis after the label text.
15
15
  */
16
- info?: string | JSX.Element;
16
+ info?: string | React.JSX.Element;
17
17
  /**
18
18
  * Additional tooltip, attached to an info icon that is displayed after the info.
19
19
  */
20
- tooltip?: string | JSX.Element;
20
+ tooltip?: string | React.JSX.Element;
21
21
  /**
22
22
  * Additonal tooltip properties, e.g. `hoverOpenDelay`.
23
23
  */
@@ -92,7 +92,7 @@ export const Label = ({
92
92
  (disabled ? ` ${eccgui}-label--disabled` : ""),
93
93
  ...otherLabelProps,
94
94
  },
95
- labelContent
95
+ labelContent,
96
96
  )
97
97
  ) : (
98
98
  <></>
@@ -20,7 +20,7 @@ export interface ListProps<T> {
20
20
  export function List<T>({ items, itemRenderer, itemId, limitOptions, moreLabel = "Show more..." }: ListProps<T>) {
21
21
  // The number of items to show in the list, undefined means unlimited
22
22
  const [nrOfItemsToShow, setNrOfItemsToShow] = React.useState<number | undefined>(
23
- limitOptions?.initialMax ?? undefined
23
+ limitOptions?.initialMax ?? undefined,
24
24
  );
25
25
 
26
26
  useEffect(() => {