@eccenca/gui-elements 25.1.0 → 25.2.0-featuredarkthemesupportcmem7503.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 (573) 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/ApplicationContainer.js +3 -2
  42. package/dist/cjs/components/Application/ApplicationContainer.js.map +1 -1
  43. package/dist/cjs/components/Application/ApplicationSidebarNavigation.js.map +1 -1
  44. package/dist/cjs/components/Application/ApplicationTitle.js +1 -1
  45. package/dist/cjs/components/Application/ApplicationTitle.js.map +1 -1
  46. package/dist/cjs/components/Application/ApplicationToolbarAction.js.map +1 -1
  47. package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js +27 -13
  48. package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
  49. package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
  50. package/dist/cjs/components/AutoSuggestion/ExtendedCodeEditor.js +1 -1
  51. package/dist/cjs/components/AutoSuggestion/ExtendedCodeEditor.js.map +1 -1
  52. package/dist/cjs/components/AutocompleteField/AutoCompleteField.js +19 -16
  53. package/dist/cjs/components/AutocompleteField/AutoCompleteField.js.map +1 -1
  54. package/dist/cjs/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
  55. package/dist/cjs/components/Breadcrumb/BreadcrumbList.js +17 -7
  56. package/dist/cjs/components/Breadcrumb/BreadcrumbList.js.map +1 -1
  57. package/dist/cjs/components/Button/Button.js +5 -1
  58. package/dist/cjs/components/Button/Button.js.map +1 -1
  59. package/dist/cjs/components/Card/CardContent.js +1 -1
  60. package/dist/cjs/components/Card/CardContent.js.map +1 -1
  61. package/dist/cjs/components/Chat/ChatArea.js.map +1 -1
  62. package/dist/cjs/components/ColorField/ColorField.js +1 -1
  63. package/dist/cjs/components/ColorField/ColorField.js.map +1 -1
  64. package/dist/cjs/components/ContentGroup/ContentGroup.js +19 -19
  65. package/dist/cjs/components/ContentGroup/ContentGroup.js.map +1 -1
  66. package/dist/cjs/components/ContextOverlay/ContextMenu.js +4 -4
  67. package/dist/cjs/components/ContextOverlay/ContextMenu.js.map +1 -1
  68. package/dist/cjs/components/ContextOverlay/ContextOverlay.js +6 -5
  69. package/dist/cjs/components/ContextOverlay/ContextOverlay.js.map +1 -1
  70. package/dist/cjs/components/DecoupledOverlay/DecoupledOverlay.js +6 -5
  71. package/dist/cjs/components/DecoupledOverlay/DecoupledOverlay.js.map +1 -1
  72. package/dist/cjs/components/Depiction/Depiction.js +18 -8
  73. package/dist/cjs/components/Depiction/Depiction.js.map +1 -1
  74. package/dist/cjs/components/Dialog/Modal.js.map +1 -1
  75. package/dist/cjs/components/Dialog/ModalContext.js +3 -3
  76. package/dist/cjs/components/Dialog/ModalContext.js.map +1 -1
  77. package/dist/cjs/components/FlexibleLayout/FlexibleLayoutContainer.js +17 -7
  78. package/dist/cjs/components/FlexibleLayout/FlexibleLayoutContainer.js.map +1 -1
  79. package/dist/cjs/components/FlexibleLayout/FlexibleLayoutItem.js +17 -7
  80. package/dist/cjs/components/FlexibleLayout/FlexibleLayoutItem.js.map +1 -1
  81. package/dist/cjs/components/Grid/Grid.js.map +1 -1
  82. package/dist/cjs/components/Icon/IconButton.js +2 -2
  83. package/dist/cjs/components/Icon/IconButton.js.map +1 -1
  84. package/dist/cjs/components/Icon/canonicalIconNames.js +18 -7
  85. package/dist/cjs/components/Icon/canonicalIconNames.js.map +1 -1
  86. package/dist/cjs/components/Icon/transformIcon.js.map +1 -1
  87. package/dist/cjs/components/Iframe/Iframe.js +17 -7
  88. package/dist/cjs/components/Iframe/Iframe.js.map +1 -1
  89. package/dist/cjs/components/InteractionGate/InteractionGate.js +17 -7
  90. package/dist/cjs/components/InteractionGate/InteractionGate.js.map +1 -1
  91. package/dist/cjs/components/List/List.js +17 -7
  92. package/dist/cjs/components/List/List.js.map +1 -1
  93. package/dist/cjs/components/Menu/MenuItem.js.map +1 -1
  94. package/dist/cjs/components/MultiSelect/MultiSelect.js +55 -25
  95. package/dist/cjs/components/MultiSelect/MultiSelect.js.map +1 -1
  96. package/dist/cjs/components/NotAvailable/NotAvailable.js +42 -0
  97. package/dist/cjs/components/NotAvailable/NotAvailable.js.map +1 -0
  98. package/dist/cjs/components/Notification/Notification.js.map +1 -1
  99. package/dist/cjs/components/OverviewItem/OverviewItemDepiction.js.map +1 -1
  100. package/dist/cjs/components/Pagination/Pagination.js +17 -7
  101. package/dist/cjs/components/Pagination/Pagination.js.map +1 -1
  102. package/dist/cjs/components/Select/Select.js +6 -4
  103. package/dist/cjs/components/Select/Select.js.map +1 -1
  104. package/dist/cjs/components/Skeleton/Skeleton.js.map +1 -1
  105. package/dist/cjs/components/Spinner/Spinner.js +17 -7
  106. package/dist/cjs/components/Spinner/Spinner.js.map +1 -1
  107. package/dist/cjs/components/Switch/Switch.js +17 -7
  108. package/dist/cjs/components/Switch/Switch.js.map +1 -1
  109. package/dist/cjs/components/Table/Table.js.map +1 -1
  110. package/dist/cjs/components/Table/TableContainer.js +1 -1
  111. package/dist/cjs/components/Table/TableContainer.js.map +1 -1
  112. package/dist/cjs/components/Table/TableExpandHeader.js.map +1 -1
  113. package/dist/cjs/components/Table/TableExpandRow.js +2 -2
  114. package/dist/cjs/components/Table/TableExpandRow.js.map +1 -1
  115. package/dist/cjs/components/Tabs/Tab.js.map +1 -1
  116. package/dist/cjs/components/Tabs/Tabs.js +17 -7
  117. package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
  118. package/dist/cjs/components/Tag/Tag.js +1 -1
  119. package/dist/cjs/components/Tag/Tag.js.map +1 -1
  120. package/dist/cjs/components/TextField/TextArea.js.map +1 -1
  121. package/dist/cjs/components/TextField/TextField.js.map +1 -1
  122. package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
  123. package/dist/cjs/components/Tree/Tree.js +17 -7
  124. package/dist/cjs/components/Tree/Tree.js.map +1 -1
  125. package/dist/cjs/components/Typography/HtmlContentBlock.js +17 -7
  126. package/dist/cjs/components/Typography/HtmlContentBlock.js.map +1 -1
  127. package/dist/cjs/components/Typography/WhiteSpaceContainer.js +17 -7
  128. package/dist/cjs/components/Typography/WhiteSpaceContainer.js.map +1 -1
  129. package/dist/cjs/components/VisualTour/VisualTour.js +7 -5
  130. package/dist/cjs/components/VisualTour/VisualTour.js.map +1 -1
  131. package/dist/cjs/components/index.js +1 -0
  132. package/dist/cjs/components/index.js.map +1 -1
  133. package/dist/cjs/extensions/codemirror/CodeMirror.js +43 -19
  134. package/dist/cjs/extensions/codemirror/CodeMirror.js.map +1 -1
  135. package/dist/cjs/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js +5 -3
  136. package/dist/cjs/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js.map +1 -1
  137. package/dist/cjs/extensions/codemirror/tests/codemirrorTestHelper.js +1 -1
  138. package/dist/cjs/extensions/codemirror/tests/codemirrorTestHelper.js.map +1 -1
  139. package/dist/cjs/extensions/react-flow/edges/EdgeBezier.js +17 -7
  140. package/dist/cjs/extensions/react-flow/edges/EdgeBezier.js.map +1 -1
  141. package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js +17 -7
  142. package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
  143. package/dist/cjs/extensions/react-flow/edges/EdgeDefaultV12.js +17 -7
  144. package/dist/cjs/extensions/react-flow/edges/EdgeDefaultV12.js.map +1 -1
  145. package/dist/cjs/extensions/react-flow/edges/EdgeLabel.js +25 -10
  146. package/dist/cjs/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
  147. package/dist/cjs/extensions/react-flow/edges/EdgeNew.js +14 -8
  148. package/dist/cjs/extensions/react-flow/edges/EdgeNew.js.map +1 -1
  149. package/dist/cjs/extensions/react-flow/edges/EdgeStep.js +17 -7
  150. package/dist/cjs/extensions/react-flow/edges/EdgeStep.js.map +1 -1
  151. package/dist/cjs/extensions/react-flow/edges/EdgeTools.js +19 -9
  152. package/dist/cjs/extensions/react-flow/edges/EdgeTools.js.map +1 -1
  153. package/dist/cjs/extensions/react-flow/edges/utils.js.map +1 -1
  154. package/dist/cjs/extensions/react-flow/handles/HandleContent.js +22 -9
  155. package/dist/cjs/extensions/react-flow/handles/HandleContent.js.map +1 -1
  156. package/dist/cjs/extensions/react-flow/handles/HandleDefault.js +20 -8
  157. package/dist/cjs/extensions/react-flow/handles/HandleDefault.js.map +1 -1
  158. package/dist/cjs/extensions/react-flow/handles/HandleTools.js +2 -2
  159. package/dist/cjs/extensions/react-flow/handles/HandleTools.js.map +1 -1
  160. package/dist/cjs/extensions/react-flow/markers/ReactFlowMarkers.js.map +1 -1
  161. package/dist/cjs/extensions/react-flow/minimap/MiniMap.js +17 -7
  162. package/dist/cjs/extensions/react-flow/minimap/MiniMap.js.map +1 -1
  163. package/dist/cjs/extensions/react-flow/minimap/MiniMapV12.js +17 -7
  164. package/dist/cjs/extensions/react-flow/minimap/MiniMapV12.js.map +1 -1
  165. package/dist/cjs/extensions/react-flow/nodes/NodeContent.js +11 -9
  166. package/dist/cjs/extensions/react-flow/nodes/NodeContent.js.map +1 -1
  167. package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js +21 -8
  168. package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js.map +1 -1
  169. package/dist/cjs/extensions/react-flow/nodes/NodeTools.js +23 -9
  170. package/dist/cjs/extensions/react-flow/nodes/NodeTools.js.map +1 -1
  171. package/dist/cjs/extensions/react-flow/nodes/nodeUtils.js +6 -1
  172. package/dist/cjs/extensions/react-flow/nodes/nodeUtils.js.map +1 -1
  173. package/dist/cjs/index.js +17 -7
  174. package/dist/cjs/index.js.map +1 -1
  175. package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js +7 -9
  176. package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
  177. package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +6 -3
  178. package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
  179. package/dist/esm/cmem/ActivityControl/SilkActivityControl.js +2 -2
  180. package/dist/esm/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
  181. package/dist/esm/cmem/ConfidenceValue/ConfidenceValue.js +2 -1
  182. package/dist/esm/cmem/ConfidenceValue/ConfidenceValue.js.map +1 -1
  183. package/dist/esm/cmem/ContentBlobToggler/ContentBlobToggler.js +8 -5
  184. package/dist/esm/cmem/ContentBlobToggler/ContentBlobToggler.js.map +1 -1
  185. package/dist/esm/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +28 -3
  186. package/dist/esm/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
  187. package/dist/esm/cmem/markdown/Markdown.js +1 -1
  188. package/dist/esm/cmem/markdown/Markdown.js.map +1 -1
  189. package/dist/esm/cmem/react-flow/ReactFlow/ReactFlowV9.js.map +1 -1
  190. package/dist/esm/cmem/react-flow/StickyNoteModal/StickyNoteModal.js.map +1 -1
  191. package/dist/esm/cmem/react-flow/configuration/graph.js +0 -2
  192. package/dist/esm/cmem/react-flow/configuration/graph.js.map +1 -1
  193. package/dist/esm/cmem/react-flow/configuration/linking.js +0 -2
  194. package/dist/esm/cmem/react-flow/configuration/linking.js.map +1 -1
  195. package/dist/esm/cmem/react-flow/configuration/workflow.js +0 -2
  196. package/dist/esm/cmem/react-flow/configuration/workflow.js.map +1 -1
  197. package/dist/esm/cmem/react-flow/extensions/scrollOnDragHook.js.map +1 -1
  198. package/dist/esm/common/utils/colorCalculateDistance.js.map +1 -1
  199. package/dist/esm/common/utils/colorDecideContrastvalue.js +2 -1
  200. package/dist/esm/common/utils/colorDecideContrastvalue.js.map +1 -1
  201. package/dist/esm/common/utils/colorHash.js +3 -7
  202. package/dist/esm/common/utils/colorHash.js.map +1 -1
  203. package/dist/esm/common/utils/reduceToText.js +1 -1
  204. package/dist/esm/components/Accordion/AccordionItem.js.map +1 -1
  205. package/dist/esm/components/Application/ApplicationContainer.js +3 -2
  206. package/dist/esm/components/Application/ApplicationContainer.js.map +1 -1
  207. package/dist/esm/components/Application/ApplicationSidebarNavigation.js.map +1 -1
  208. package/dist/esm/components/Application/ApplicationTitle.js +1 -1
  209. package/dist/esm/components/Application/ApplicationTitle.js.map +1 -1
  210. package/dist/esm/components/Application/ApplicationToolbarAction.js.map +1 -1
  211. package/dist/esm/components/AutoSuggestion/AutoSuggestion.js +12 -8
  212. package/dist/esm/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
  213. package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
  214. package/dist/esm/components/AutocompleteField/AutoCompleteField.js +11 -18
  215. package/dist/esm/components/AutocompleteField/AutoCompleteField.js.map +1 -1
  216. package/dist/esm/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
  217. package/dist/esm/components/Breadcrumb/BreadcrumbList.js.map +1 -1
  218. package/dist/esm/components/Button/Button.js +5 -1
  219. package/dist/esm/components/Button/Button.js.map +1 -1
  220. package/dist/esm/components/Card/CardContent.js +1 -1
  221. package/dist/esm/components/Card/CardContent.js.map +1 -1
  222. package/dist/esm/components/Chat/ChatArea.js.map +1 -1
  223. package/dist/esm/components/ColorField/ColorField.js +1 -1
  224. package/dist/esm/components/ColorField/ColorField.js.map +1 -1
  225. package/dist/esm/components/ContentGroup/ContentGroup.js +1 -1
  226. package/dist/esm/components/ContentGroup/ContentGroup.js.map +1 -1
  227. package/dist/esm/components/ContextOverlay/ContextMenu.js +4 -4
  228. package/dist/esm/components/ContextOverlay/ContextMenu.js.map +1 -1
  229. package/dist/esm/components/ContextOverlay/ContextOverlay.js +3 -2
  230. package/dist/esm/components/ContextOverlay/ContextOverlay.js.map +1 -1
  231. package/dist/esm/components/DecoupledOverlay/DecoupledOverlay.js +3 -2
  232. package/dist/esm/components/DecoupledOverlay/DecoupledOverlay.js.map +1 -1
  233. package/dist/esm/components/Depiction/Depiction.js +1 -1
  234. package/dist/esm/components/Depiction/Depiction.js.map +1 -1
  235. package/dist/esm/components/Dialog/Modal.js.map +1 -1
  236. package/dist/esm/components/Dialog/ModalContext.js +2 -2
  237. package/dist/esm/components/Dialog/ModalContext.js.map +1 -1
  238. package/dist/esm/components/Grid/Grid.js.map +1 -1
  239. package/dist/esm/components/Icon/IconButton.js +2 -2
  240. package/dist/esm/components/Icon/IconButton.js.map +1 -1
  241. package/dist/esm/components/Icon/canonicalIconNames.js +1 -0
  242. package/dist/esm/components/Icon/canonicalIconNames.js.map +1 -1
  243. package/dist/esm/components/Icon/transformIcon.js.map +1 -1
  244. package/dist/esm/components/Menu/MenuItem.js.map +1 -1
  245. package/dist/esm/components/MultiSelect/MultiSelect.js +42 -22
  246. package/dist/esm/components/MultiSelect/MultiSelect.js.map +1 -1
  247. package/dist/esm/components/NotAvailable/NotAvailable.js +46 -0
  248. package/dist/esm/components/NotAvailable/NotAvailable.js.map +1 -0
  249. package/dist/esm/components/Notification/Notification.js.map +1 -1
  250. package/dist/esm/components/OverviewItem/OverviewItemDepiction.js.map +1 -1
  251. package/dist/esm/components/Select/Select.js +4 -2
  252. package/dist/esm/components/Select/Select.js.map +1 -1
  253. package/dist/esm/components/Skeleton/Skeleton.js.map +1 -1
  254. package/dist/esm/components/Spinner/Spinner.js.map +1 -1
  255. package/dist/esm/components/Table/Table.js.map +1 -1
  256. package/dist/esm/components/Table/TableContainer.js +1 -1
  257. package/dist/esm/components/Table/TableContainer.js.map +1 -1
  258. package/dist/esm/components/Table/TableExpandHeader.js.map +1 -1
  259. package/dist/esm/components/Table/TableExpandRow.js +1 -1
  260. package/dist/esm/components/Table/TableExpandRow.js.map +1 -1
  261. package/dist/esm/components/Tabs/Tab.js.map +1 -1
  262. package/dist/esm/components/Tag/Tag.js +1 -1
  263. package/dist/esm/components/Tag/Tag.js.map +1 -1
  264. package/dist/esm/components/TextField/TextArea.js.map +1 -1
  265. package/dist/esm/components/TextField/TextField.js.map +1 -1
  266. package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
  267. package/dist/esm/components/VisualTour/VisualTour.js +7 -5
  268. package/dist/esm/components/VisualTour/VisualTour.js.map +1 -1
  269. package/dist/esm/components/index.js +1 -0
  270. package/dist/esm/components/index.js.map +1 -1
  271. package/dist/esm/extensions/codemirror/CodeMirror.js +26 -12
  272. package/dist/esm/extensions/codemirror/CodeMirror.js.map +1 -1
  273. package/dist/esm/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js +5 -3
  274. package/dist/esm/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js.map +1 -1
  275. package/dist/esm/extensions/codemirror/tests/codemirrorTestHelper.js +1 -1
  276. package/dist/esm/extensions/codemirror/tests/codemirrorTestHelper.js.map +1 -1
  277. package/dist/esm/extensions/react-flow/edges/EdgeBezier.js.map +1 -1
  278. package/dist/esm/extensions/react-flow/edges/EdgeLabel.js +3 -1
  279. package/dist/esm/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
  280. package/dist/esm/extensions/react-flow/edges/EdgeNew.js +11 -5
  281. package/dist/esm/extensions/react-flow/edges/EdgeNew.js.map +1 -1
  282. package/dist/esm/extensions/react-flow/edges/EdgeTools.js +1 -1
  283. package/dist/esm/extensions/react-flow/edges/EdgeTools.js.map +1 -1
  284. package/dist/esm/extensions/react-flow/edges/utils.js.map +1 -1
  285. package/dist/esm/extensions/react-flow/handles/HandleContent.js +1 -1
  286. package/dist/esm/extensions/react-flow/handles/HandleContent.js.map +1 -1
  287. package/dist/esm/extensions/react-flow/handles/HandleDefault.js +3 -1
  288. package/dist/esm/extensions/react-flow/handles/HandleDefault.js.map +1 -1
  289. package/dist/esm/extensions/react-flow/handles/HandleTools.js +1 -1
  290. package/dist/esm/extensions/react-flow/handles/HandleTools.js.map +1 -1
  291. package/dist/esm/extensions/react-flow/markers/ReactFlowMarkers.js.map +1 -1
  292. package/dist/esm/extensions/react-flow/minimap/MiniMap.js +1 -1
  293. package/dist/esm/extensions/react-flow/minimap/MiniMap.js.map +1 -1
  294. package/dist/esm/extensions/react-flow/minimap/MiniMapV12.js.map +1 -1
  295. package/dist/esm/extensions/react-flow/nodes/NodeContent.js +8 -6
  296. package/dist/esm/extensions/react-flow/nodes/NodeContent.js.map +1 -1
  297. package/dist/esm/extensions/react-flow/nodes/NodeDefault.js +1 -1
  298. package/dist/esm/extensions/react-flow/nodes/NodeDefault.js.map +1 -1
  299. package/dist/esm/extensions/react-flow/nodes/NodeTools.js +2 -1
  300. package/dist/esm/extensions/react-flow/nodes/NodeTools.js.map +1 -1
  301. package/dist/esm/extensions/react-flow/nodes/nodeUtils.js +6 -1
  302. package/dist/esm/extensions/react-flow/nodes/nodeUtils.js.map +1 -1
  303. package/dist/types/cmem/ActivityControl/ActivityControlWidget.d.ts +5 -5
  304. package/dist/types/cmem/ActivityControl/ActivityExecutionErrorReportModal.d.ts +1 -1
  305. package/dist/types/cmem/ActivityControl/SilkActivityControl.d.ts +4 -4
  306. package/dist/types/cmem/ConfidenceValue/ConfidenceValue.d.ts +2 -2
  307. package/dist/types/cmem/ContentBlobToggler/ContentBlobToggler.d.ts +5 -1
  308. package/dist/types/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.d.ts +3 -3
  309. package/dist/types/cmem/markdown/Markdown.d.ts +2 -1
  310. package/dist/types/cmem/react-flow/configuration/graph.d.ts +2 -1
  311. package/dist/types/cmem/react-flow/configuration/linking.d.ts +2 -1
  312. package/dist/types/cmem/react-flow/configuration/workflow.d.ts +2 -1
  313. package/dist/types/common/utils/colorCalculateDistance.d.ts +2 -2
  314. package/dist/types/common/utils/colorDecideContrastvalue.d.ts +2 -2
  315. package/dist/types/common/utils/colorHash.d.ts +3 -3
  316. package/dist/types/components/Accordion/AccordionItem.d.ts +1 -1
  317. package/dist/types/components/Application/ApplicationContainer.d.ts +6 -1
  318. package/dist/types/components/Application/ApplicationSidebarNavigation.d.ts +2 -0
  319. package/dist/types/components/AutoSuggestion/AutoSuggestion.d.ts +6 -3
  320. package/dist/types/components/AutoSuggestion/ExtendedCodeEditor.d.ts +1 -1
  321. package/dist/types/components/AutocompleteField/AutoCompleteField.d.ts +2 -12
  322. package/dist/types/components/AutocompleteField/autoCompleteFieldUtils.d.ts +1 -1
  323. package/dist/types/components/Button/Button.d.ts +3 -3
  324. package/dist/types/components/Card/CardHeader.d.ts +1 -1
  325. package/dist/types/components/ColorField/ColorField.d.ts +2 -5
  326. package/dist/types/components/ContentGroup/ContentGroup.d.ts +1 -1
  327. package/dist/types/components/ContextOverlay/ContextMenu.d.ts +9 -3
  328. package/dist/types/components/ContextOverlay/ContextOverlay.d.ts +2 -2
  329. package/dist/types/components/DecoupledOverlay/DecoupledOverlay.d.ts +3 -1
  330. package/dist/types/components/Depiction/Depiction.d.ts +3 -3
  331. package/dist/types/components/Dialog/SimpleDialog.d.ts +1 -1
  332. package/dist/types/components/Form/FieldItem.d.ts +1 -1
  333. package/dist/types/components/Form/FieldSet.d.ts +3 -3
  334. package/dist/types/components/HoverToggler/HoverToggler.d.ts +2 -2
  335. package/dist/types/components/Icon/canonicalIconNames.d.ts +1 -0
  336. package/dist/types/components/Label/Label.d.ts +3 -3
  337. package/dist/types/components/Menu/MenuItem.d.ts +1 -1
  338. package/dist/types/components/MultiSelect/MultiSelect.d.ts +15 -4
  339. package/dist/types/components/NotAvailable/NotAvailable.d.ts +32 -0
  340. package/dist/types/components/Notification/Notification.d.ts +2 -2
  341. package/dist/types/components/OverviewItem/OverviewItemActions.d.ts +1 -1
  342. package/dist/types/components/PropertyValuePair/PropertyValueList.d.ts +1 -1
  343. package/dist/types/components/Select/Select.d.ts +2 -1
  344. package/dist/types/components/Skeleton/Skeleton.d.ts +1 -1
  345. package/dist/types/components/Spinner/Spinner.d.ts +2 -2
  346. package/dist/types/components/Structure/TitleSubsection.d.ts +2 -5
  347. package/dist/types/components/SuggestField/index.d.ts +2 -2
  348. package/dist/types/components/Table/TableContainer.d.ts +3 -3
  349. package/dist/types/components/Table/index.d.ts +1 -1
  350. package/dist/types/components/Tabs/Tab.d.ts +180 -186
  351. package/dist/types/components/Tabs/TabTitle.d.ts +1 -1
  352. package/dist/types/components/Tag/Tag.d.ts +2 -2
  353. package/dist/types/components/TextField/TextArea.d.ts +6 -1
  354. package/dist/types/components/index.d.ts +1 -0
  355. package/dist/types/extensions/react-flow/edges/EdgeLabel.d.ts +3 -3
  356. package/dist/types/extensions/react-flow/edges/EdgeTools.d.ts +1 -1
  357. package/dist/types/extensions/react-flow/handles/HandleContent.d.ts +2 -2
  358. package/dist/types/extensions/react-flow/handles/HandleTools.d.ts +2 -2
  359. package/dist/types/extensions/react-flow/nodes/NodeContent.d.ts +3 -3
  360. package/dist/types/extensions/react-flow/nodes/NodeTools.d.ts +2 -2
  361. package/dist/types/extensions/react-flow/nodes/sharedTypes.d.ts +2 -2
  362. package/package.json +60 -63
  363. package/scripts/compile-sass.ts +2 -0
  364. package/scripts/sassConfig.js +1 -1
  365. package/scripts/sassDeprecationConfig.js +3 -0
  366. package/src/cmem/ActivityControl/ActivityControlWidget.stories.tsx +4 -9
  367. package/src/cmem/ActivityControl/ActivityControlWidget.tsx +33 -35
  368. package/src/cmem/ActivityControl/ActivityExecutionErrorReportModal.tsx +5 -2
  369. package/src/cmem/ActivityControl/SilkActivityControl.tsx +28 -32
  370. package/src/cmem/ActivityControl/tests/ActivityControlWidget.test.tsx +1 -1
  371. package/src/cmem/ConfidenceValue/ConfidenceValue.tsx +6 -5
  372. package/src/cmem/ContentBlobToggler/ContentBlobToggler.tsx +17 -7
  373. package/src/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.tsx +12 -4
  374. package/src/cmem/ContentBlobToggler/tests/StringPreviewContentBlobToggler.test.tsx +10 -10
  375. package/src/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.tsx +2 -2
  376. package/src/cmem/DateTimeDisplay/tests/ElapsedDateTimeDisplay.test.tsx +2 -2
  377. package/src/cmem/markdown/Markdown.stories.tsx +11 -0
  378. package/src/cmem/markdown/Markdown.tsx +2 -1
  379. package/src/cmem/markdown/highlightSearchWords.test.ts +1 -1
  380. package/src/cmem/markdown/markdownutils.test.ts +2 -2
  381. package/src/cmem/react-flow/ReactFlow/ReactFlow.stories.tsx +3 -3
  382. package/src/cmem/react-flow/ReactFlow/ReactFlow.tsx +2 -2
  383. package/src/cmem/react-flow/ReactFlow/ReactFlowV12.tsx +1 -1
  384. package/src/cmem/react-flow/ReactFlow/ReactFlowV9.tsx +2 -5
  385. package/src/cmem/react-flow/StickyNoteModal/StickyNoteModal.tsx +6 -3
  386. package/src/cmem/react-flow/configuration/graph.ts +3 -3
  387. package/src/cmem/react-flow/configuration/linking.ts +3 -3
  388. package/src/cmem/react-flow/configuration/workflow.ts +3 -3
  389. package/src/cmem/react-flow/extensions/scrollOnDragHook.ts +14 -14
  390. package/src/common/scss/_color-functions.scss +151 -5
  391. package/src/common/utils/CssCustomProperties.ts +1 -1
  392. package/src/common/utils/characters.ts +2 -2
  393. package/src/common/utils/colorCalculateDistance.ts +2 -2
  394. package/src/common/utils/colorDecideContrastvalue.ts +4 -3
  395. package/src/common/utils/colorHash.ts +13 -17
  396. package/src/common/utils/getColorConfiguration.ts +2 -2
  397. package/src/common/utils/openInNewTab.ts +1 -1
  398. package/src/common/utils/reduceToText.tsx +1 -1
  399. package/src/components/Accordion/AccordionItem.tsx +3 -2
  400. package/src/components/Accordion/Stories/AccordionItem.stories.tsx +1 -1
  401. package/src/components/Application/ApplicationContainer.tsx +15 -2
  402. package/src/components/Application/ApplicationSidebarNavigation.tsx +6 -2
  403. package/src/components/Application/ApplicationTitle.tsx +9 -1
  404. package/src/components/Application/ApplicationToolbarAction.tsx +2 -1
  405. package/src/components/Application/_colors.scss +27 -3
  406. package/src/components/Application/_container.scss +5 -0
  407. package/src/components/Application/_header.scss +13 -10
  408. package/src/components/Application/_sidebar.scss +2 -0
  409. package/src/components/Application/application.scss +1 -0
  410. package/src/components/Application/stories/Application.stories.tsx +13 -1
  411. package/src/components/Application/stories/ColorPalettes.stories.tsx +23 -19
  412. package/src/components/Application/tests/ApplicationViewability.test.tsx +1 -7
  413. package/src/components/AutoSuggestion/AutoSuggestion.tsx +30 -23
  414. package/src/components/AutoSuggestion/AutoSuggestionList.tsx +5 -3
  415. package/src/components/AutoSuggestion/ExtendedCodeEditor.tsx +2 -2
  416. package/src/components/AutoSuggestion/extensions/markText.ts +1 -1
  417. package/src/components/AutocompleteField/AutoCompleteField.tsx +16 -25
  418. package/src/components/AutocompleteField/autoCompleteFieldUtils.tsx +7 -3
  419. package/src/components/Badge/Badge.stories.tsx +1 -1
  420. package/src/components/Breadcrumb/BreadcrumbList.tsx +4 -3
  421. package/src/components/Button/Button.test.tsx +2 -2
  422. package/src/components/Button/Button.tsx +13 -11
  423. package/src/components/Button/button.scss +2 -3
  424. package/src/components/Card/CardContent.tsx +17 -20
  425. package/src/components/Card/CardHeader.tsx +1 -1
  426. package/src/components/Card/card.scss +8 -4
  427. package/src/components/Card/stories/Card.stories.tsx +1 -1
  428. package/src/components/Chat/ChatArea.tsx +1 -2
  429. package/src/components/Chat/_chat.scss +2 -2
  430. package/src/components/Checkbox/Stories/Checkbox.stories.tsx +1 -1
  431. package/src/components/Checkbox/checkbox.scss +9 -0
  432. package/src/components/CodeAutocompleteField/CodeAutocompleteField.stories.tsx +9 -3
  433. package/src/components/ColorField/ColorField.test.tsx +1 -1
  434. package/src/components/ColorField/ColorField.tsx +6 -6
  435. package/src/components/ContentGroup/ContentGroup.stories.tsx +1 -1
  436. package/src/components/ContentGroup/ContentGroup.tsx +6 -6
  437. package/src/components/ContextOverlay/ContextMenu.tsx +10 -4
  438. package/src/components/ContextOverlay/ContextOverlay.stories.tsx +1 -1
  439. package/src/components/ContextOverlay/ContextOverlay.tsx +16 -11
  440. package/src/components/ContextOverlay/tests/ContextOverlay.test.tsx +2 -2
  441. package/src/components/DecoupledOverlay/DecoupledOverlay.tsx +11 -4
  442. package/src/components/Depiction/Depiction.tsx +6 -6
  443. package/src/components/Dialog/Modal.tsx +9 -7
  444. package/src/components/Dialog/ModalContext.tsx +6 -6
  445. package/src/components/Dialog/SimpleDialog.tsx +1 -1
  446. package/src/components/Dialog/stories/AlertDialog.stories.tsx +1 -1
  447. package/src/components/Dialog/stories/Modal.stories.tsx +2 -2
  448. package/src/components/Dialog/stories/SimpleDialog.stories.tsx +1 -1
  449. package/src/components/FlexibleLayout/FlexibleLayoutContainer.tsx +2 -2
  450. package/src/components/FlexibleLayout/FlexibleLayoutItem.tsx +2 -2
  451. package/src/components/Form/FieldItem.tsx +1 -1
  452. package/src/components/Form/FieldSet.tsx +3 -3
  453. package/src/components/Form/Stories/FieldItem.stories.tsx +1 -1
  454. package/src/components/Form/Stories/FieldSet.stories.tsx +1 -1
  455. package/src/components/Grid/Grid.tsx +4 -2
  456. package/src/components/Grid/stories/GridColumn.stories.tsx +1 -1
  457. package/src/components/Grid/stories/GridRow.stories.tsx +1 -1
  458. package/src/components/HoverToggler/HoverToggler.tsx +2 -2
  459. package/src/components/Icon/Icon.tsx +1 -1
  460. package/src/components/Icon/IconButton.tsx +3 -3
  461. package/src/components/Icon/canonicalIconNames.tsx +1 -0
  462. package/src/components/Icon/icon.scss +4 -4
  463. package/src/components/Icon/stories/Icon.stories.tsx +1 -1
  464. package/src/components/Icon/stories/IconButton.stories.tsx +1 -1
  465. package/src/components/Icon/stories/TestIcon.stories.tsx +1 -1
  466. package/src/components/Icon/transformIcon.tsx +11 -9
  467. package/src/components/Iframe/Iframe.tsx +2 -2
  468. package/src/components/Iframe/iframe.scss +8 -0
  469. package/src/components/Label/Label.tsx +4 -4
  470. package/src/components/List/List.tsx +1 -1
  471. package/src/components/Menu/MenuItem.tsx +3 -2
  472. package/src/components/Menu/Stories/MenuItem.stories.tsx +1 -1
  473. package/src/components/Menu/menu.scss +1 -0
  474. package/src/components/MultiSelect/MultiSelect.tsx +62 -26
  475. package/src/components/MultiSuggestField/MultiSuggestField.stories.tsx +1 -1
  476. package/src/components/MultiSuggestField/index.ts +1 -1
  477. package/src/components/MultiSuggestField/tests/MultiSuggestField.test.tsx +24 -57
  478. package/src/components/NotAvailable/NotAvailable.stories.tsx +15 -0
  479. package/src/components/NotAvailable/NotAvailable.tsx +69 -0
  480. package/src/components/Notification/Notification.stories.tsx +2 -1
  481. package/src/components/Notification/Notification.tsx +5 -4
  482. package/src/components/OverviewItem/OverviewItemActions.tsx +1 -1
  483. package/src/components/OverviewItem/OverviewItemDepiction.tsx +1 -1
  484. package/src/components/OverviewItem/stories/OverviewItem.stories.tsx +1 -1
  485. package/src/components/OverviewItem/stories/OverviewItemActions.stories.tsx +1 -1
  486. package/src/components/OverviewItem/stories/OverviewItemDepiction.stories.tsx +1 -1
  487. package/src/components/OverviewItem/stories/OverviewItemDescription.stories.tsx +1 -1
  488. package/src/components/OverviewItem/stories/OverviewItemListPerformance.tsx +2 -2
  489. package/src/components/Pagination/Pagination.tsx +2 -2
  490. package/src/components/Pagination/Stories/Pagination.stories.tsx +32 -0
  491. package/src/components/Pagination/pagination.scss +54 -4
  492. package/src/components/PropertyValuePair/PropertyValueList.tsx +1 -1
  493. package/src/components/RadioButton/Stories/RadioButton.stories.tsx +1 -1
  494. package/src/components/RadioButton/radiobutton.scss +9 -0
  495. package/src/components/Select/Select.stories.tsx +1 -1
  496. package/src/components/Select/Select.tsx +7 -4
  497. package/src/components/Skeleton/Skeleton.tsx +2 -2
  498. package/src/components/Spinner/Spinner.tsx +2 -2
  499. package/src/components/Sticky/StickyTarget.tsx +1 -1
  500. package/src/components/Sticky/stories/StickyTarget.stories.tsx +2 -2
  501. package/src/components/Structure/TitleSubsection.tsx +2 -2
  502. package/src/components/SuggestField/SuggestField.stories.tsx +2 -2
  503. package/src/components/Table/Table.tsx +3 -2
  504. package/src/components/Table/TableContainer.tsx +11 -6
  505. package/src/components/Table/TableExpandHeader.tsx +2 -1
  506. package/src/components/Table/TableExpandRow.tsx +3 -2
  507. package/src/components/Table/index.tsx +7 -1
  508. package/src/components/Tabs/Tab.tsx +2 -2
  509. package/src/components/Tabs/TabTitle.tsx +1 -1
  510. package/src/components/Tag/Tag.tsx +9 -10
  511. package/src/components/Tag/stories/Tag.stories.tsx +1 -1
  512. package/src/components/Tag/stories/TagList.stories.tsx +1 -1
  513. package/src/components/TextField/TextArea.tsx +12 -7
  514. package/src/components/TextField/TextField.tsx +4 -3
  515. package/src/components/TextField/stories/TextArea.stories.tsx +1 -1
  516. package/src/components/TextField/stories/TextField.stories.tsx +1 -3
  517. package/src/components/TextField/useTextValidation.ts +4 -4
  518. package/src/components/TextReducer/TextReducer.stories.tsx +4 -1
  519. package/src/components/TextReducer/TextReducer.test.tsx +2 -2
  520. package/src/components/Tooltip/Tooltip.stories.tsx +1 -1
  521. package/src/components/Tooltip/Tooltip.test.tsx +5 -5
  522. package/src/components/Tooltip/Tooltip.tsx +5 -5
  523. package/src/components/Typography/stories/OverflowText.stories.tsx +1 -1
  524. package/src/components/Typography/typography.scss +25 -3
  525. package/src/components/VisualTour/VisualTour.tsx +10 -10
  526. package/src/components/Workspace/workspace.scss +0 -5
  527. package/src/components/index.ts +1 -0
  528. package/src/configuration/_palettes.scss +66 -2
  529. package/src/configuration/_variables.scss +3 -1
  530. package/src/configuration/stories/customproperties.stories.tsx +45 -7
  531. package/src/extensions/codemirror/CodeMirror.tsx +131 -79
  532. package/src/extensions/codemirror/_codemirror.scss +59 -0
  533. package/src/extensions/codemirror/debouncedLinter.ts +2 -2
  534. package/src/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.ts +9 -5
  535. package/src/extensions/codemirror/tests/CodeEditor.test.tsx +4 -4
  536. package/src/extensions/codemirror/tests/EditorAppearanceConfigMenu.test.tsx +5 -5
  537. package/src/extensions/codemirror/tests/codemirrorTestHelper.ts +12 -12
  538. package/src/extensions/codemirror/toolbars/commands/markdown.command.ts +6 -6
  539. package/src/extensions/react-flow/_react-flow_v12.scss +37 -18
  540. package/src/extensions/react-flow/edges/EdgeBezier.tsx +1 -2
  541. package/src/extensions/react-flow/edges/EdgeDefault.tsx +4 -4
  542. package/src/extensions/react-flow/edges/EdgeDefaultV12.tsx +5 -5
  543. package/src/extensions/react-flow/edges/EdgeLabel.tsx +10 -8
  544. package/src/extensions/react-flow/edges/EdgeNew.tsx +29 -31
  545. package/src/extensions/react-flow/edges/EdgeTools.tsx +2 -3
  546. package/src/extensions/react-flow/edges/_edges.scss +1 -0
  547. package/src/extensions/react-flow/edges/stories/EdgeDefault.stories.tsx +1 -1
  548. package/src/extensions/react-flow/edges/stories/EdgeDefaultV12.stories.tsx +1 -1
  549. package/src/extensions/react-flow/edges/stories/EdgeLabel.stories.tsx +2 -1
  550. package/src/extensions/react-flow/edges/utils.ts +5 -3
  551. package/src/extensions/react-flow/handles/HandleContent.tsx +3 -3
  552. package/src/extensions/react-flow/handles/HandleDefault.tsx +56 -46
  553. package/src/extensions/react-flow/handles/HandleTools.tsx +4 -5
  554. package/src/extensions/react-flow/handles/stories/HandleDefault.stories.tsx +2 -7
  555. package/src/extensions/react-flow/index.ts +1 -1
  556. package/src/extensions/react-flow/markers/ReactFlowMarkers.tsx +2 -2
  557. package/src/extensions/react-flow/minimap/MiniMap.tsx +17 -20
  558. package/src/extensions/react-flow/minimap/MiniMapV12.tsx +2 -3
  559. package/src/extensions/react-flow/nodes/NodeContent.tsx +65 -57
  560. package/src/extensions/react-flow/nodes/NodeDefault.tsx +6 -3
  561. package/src/extensions/react-flow/nodes/NodeDefaultV12.tsx +1 -1
  562. package/src/extensions/react-flow/nodes/NodeTools.tsx +5 -5
  563. package/src/extensions/react-flow/nodes/_nodes.scss +2 -1
  564. package/src/extensions/react-flow/nodes/nodeUtils.tsx +10 -5
  565. package/src/extensions/react-flow/nodes/sharedTypes.ts +2 -2
  566. package/src/extensions/react-flow/nodes/stories/NodeContent.stories.tsx +38 -24
  567. package/src/extensions/react-flow/nodes/stories/NodeContentV12.stories.tsx +1 -1
  568. package/src/extensions/react-flow/nodes/stories/NodeDefault.stories.tsx +1 -1
  569. package/src/includes/blueprintjs/_variables.scss +1 -0
  570. package/src/includes/carbon-components/_requisits.scss +10 -0
  571. package/src/includes/carbon-components/_variables.scss +2 -1
  572. package/src/index.scss +2 -2
  573. package/src/test/setupTests.js +1 -1
@@ -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;
@@ -1,5 +1,13 @@
1
1
  .#{eccgui}-iframe iframe {
2
2
  width: 100%;
3
+ color-scheme: light dark;
4
+
5
+ .#{eccgui}-palette--light & {
6
+ color-scheme: light;
7
+ }
8
+ .#{eccgui}-palette--dark & {
9
+ color-scheme: dark;
10
+ }
3
11
  }
4
12
 
5
13
  // provide calc value to remove header + card title + white space from viewport height
@@ -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(() => {
@@ -10,7 +10,8 @@ import Tooltip from "../Tooltip/Tooltip";
10
10
  import { TestIconProps } from "./../Icon/TestIcon";
11
11
 
12
12
  export interface MenuItemProps
13
- extends Omit<BlueprintMenuItemProps, "icon" | "children">,
13
+ extends
14
+ Omit<BlueprintMenuItemProps, "icon" | "children">,
14
15
  Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "onClick" | "onFocus" | "target" | "children"> {
15
16
  /*
16
17
  * If set the icon is diplayed on the left side of the menu item.
@@ -23,7 +24,7 @@ export interface MenuItemProps
23
24
  /**
24
25
  * Tooltip, but only added to the label, not to the full menu item.
25
26
  */
26
- tooltip?: string | JSX.Element;
27
+ tooltip?: string | React.JSX.Element;
27
28
  }
28
29
 
29
30
  /**
@@ -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 { Menu, MenuItem, TestIcon } from "../../../../index";
6
+ import { Menu, MenuItem, TestIcon } from "../../../components";
7
7
 
8
8
  import canonicalIcons from "./../../Icon/canonicalIconNames";
9
9
 
@@ -36,6 +36,7 @@ $menu-background-color: transparent !default;
36
36
  }
37
37
 
38
38
  .#{$ns}-menu-header {
39
+ padding-left: unset;
39
40
  margin-right: unset;
40
41
  margin-left: unset;
41
42
  }