@eccenca/gui-elements 23.8.0 → 24.0.0-rc.1

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 (571) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +18 -0
  3. package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js +1 -2
  4. package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
  5. package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +5 -1
  6. package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
  7. package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js +8 -4
  8. package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
  9. package/dist/cjs/cmem/ActivityControl/index.js +5 -1
  10. package/dist/cjs/cmem/ActivityControl/index.js.map +1 -1
  11. package/dist/cjs/cmem/ConfidenceValue/ConfidenceValue.js +1 -2
  12. package/dist/cjs/cmem/ConfidenceValue/ConfidenceValue.js.map +1 -1
  13. package/dist/cjs/cmem/ConfidenceValue/index.js +5 -1
  14. package/dist/cjs/cmem/ConfidenceValue/index.js.map +1 -1
  15. package/dist/cjs/cmem/ContentBlobToggler/ContentBlobToggler.js +6 -3
  16. package/dist/cjs/cmem/ContentBlobToggler/ContentBlobToggler.js.map +1 -1
  17. package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +3 -3
  18. package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
  19. package/dist/cjs/cmem/ContentBlobToggler/index.js +5 -1
  20. package/dist/cjs/cmem/ContentBlobToggler/index.js.map +1 -1
  21. package/dist/cjs/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +5 -1
  22. package/dist/cjs/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +1 -1
  23. package/dist/cjs/cmem/index.js +5 -1
  24. package/dist/cjs/cmem/index.js.map +1 -1
  25. package/dist/cjs/cmem/markdown/highlightSearchWords.js.map +1 -1
  26. package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js +5 -1
  27. package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -1
  28. package/dist/cjs/cmem/react-flow/StickyNoteModal/StickyNoteModal.js.map +1 -1
  29. package/dist/cjs/cmem/react-flow/configuration/typing.js +3 -3
  30. package/dist/cjs/cmem/react-flow/configuration/typing.js.map +1 -1
  31. package/dist/cjs/cmem/react-flow/extensions/scrollOnDragHook.js +5 -1
  32. package/dist/cjs/cmem/react-flow/extensions/scrollOnDragHook.js.map +1 -1
  33. package/dist/cjs/cmem/react-flow/index.js +5 -1
  34. package/dist/cjs/cmem/react-flow/index.js.map +1 -1
  35. package/dist/cjs/cmem/react-flow/nodes/StickyNoteNode.js +5 -1
  36. package/dist/cjs/cmem/react-flow/nodes/StickyNoteNode.js.map +1 -1
  37. package/dist/cjs/common/Intent/index.js.map +1 -1
  38. package/dist/cjs/common/utils/CssCustomProperties.js +1 -1
  39. package/dist/cjs/common/utils/CssCustomProperties.js.map +1 -1
  40. package/dist/cjs/common/utils/characters.js.map +1 -1
  41. package/dist/cjs/common/utils/colorDecideContrastvalue.js.map +1 -1
  42. package/dist/cjs/common/utils/getColorConfiguration.js.map +1 -1
  43. package/dist/cjs/common/utils/getScrollParent.js.map +1 -1
  44. package/dist/cjs/common/utils/openInNewTab.js.map +1 -1
  45. package/dist/cjs/components/Accordion/Accordion.js +2 -2
  46. package/dist/cjs/components/Accordion/Accordion.js.map +1 -1
  47. package/dist/cjs/components/Accordion/AccordionItem.js +3 -2
  48. package/dist/cjs/components/Accordion/AccordionItem.js.map +1 -1
  49. package/dist/cjs/components/Accordion/index.js +5 -1
  50. package/dist/cjs/components/Accordion/index.js.map +1 -1
  51. package/dist/cjs/components/Application/ApplicationContent.js +2 -2
  52. package/dist/cjs/components/Application/ApplicationContent.js.map +1 -1
  53. package/dist/cjs/components/Application/ApplicationHeader.js +3 -2
  54. package/dist/cjs/components/Application/ApplicationHeader.js.map +1 -1
  55. package/dist/cjs/components/Application/ApplicationSidebarNavigation.js +2 -2
  56. package/dist/cjs/components/Application/ApplicationSidebarNavigation.js.map +1 -1
  57. package/dist/cjs/components/Application/ApplicationSidebarToggler.js +2 -2
  58. package/dist/cjs/components/Application/ApplicationSidebarToggler.js.map +1 -1
  59. package/dist/cjs/components/Application/ApplicationTitle.js +2 -2
  60. package/dist/cjs/components/Application/ApplicationTitle.js.map +1 -1
  61. package/dist/cjs/components/Application/ApplicationToolbar.js +3 -2
  62. package/dist/cjs/components/Application/ApplicationToolbar.js.map +1 -1
  63. package/dist/cjs/components/Application/ApplicationToolbarAction.js +3 -2
  64. package/dist/cjs/components/Application/ApplicationToolbarAction.js.map +1 -1
  65. package/dist/cjs/components/Application/ApplicationToolbarPanel.js +3 -2
  66. package/dist/cjs/components/Application/ApplicationToolbarPanel.js.map +1 -1
  67. package/dist/cjs/components/Application/helper.js.map +1 -1
  68. package/dist/cjs/components/Application/index.js +5 -1
  69. package/dist/cjs/components/Application/index.js.map +1 -1
  70. package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js +8 -4
  71. package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
  72. package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js +2 -2
  73. package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
  74. package/dist/cjs/components/AutoSuggestion/ExtendedCodeEditor.js.map +1 -1
  75. package/dist/cjs/components/AutocompleteField/AutoCompleteField.js +9 -6
  76. package/dist/cjs/components/AutocompleteField/AutoCompleteField.js.map +1 -1
  77. package/dist/cjs/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
  78. package/dist/cjs/components/AutocompleteField/index.js +5 -1
  79. package/dist/cjs/components/AutocompleteField/index.js.map +1 -1
  80. package/dist/cjs/components/Badge/Badge.js +1 -2
  81. package/dist/cjs/components/Badge/Badge.js.map +1 -1
  82. package/dist/cjs/components/Breadcrumb/BreadcrumbList.js +5 -1
  83. package/dist/cjs/components/Breadcrumb/BreadcrumbList.js.map +1 -1
  84. package/dist/cjs/components/Breadcrumb/index.js +5 -1
  85. package/dist/cjs/components/Breadcrumb/index.js.map +1 -1
  86. package/dist/cjs/components/Button/Button.js.map +1 -1
  87. package/dist/cjs/components/Card/CardHeader.js.map +1 -1
  88. package/dist/cjs/components/Card/index.js +5 -1
  89. package/dist/cjs/components/Card/index.js.map +1 -1
  90. package/dist/cjs/components/CodeAutocompleteField/CodeAutocompleteField.js +1 -2
  91. package/dist/cjs/components/CodeAutocompleteField/CodeAutocompleteField.js.map +1 -1
  92. package/dist/cjs/components/CodeAutocompleteField/index.js +5 -1
  93. package/dist/cjs/components/CodeAutocompleteField/index.js.map +1 -1
  94. package/dist/cjs/components/ContextOverlay/index.js +5 -1
  95. package/dist/cjs/components/ContextOverlay/index.js.map +1 -1
  96. package/dist/cjs/components/Depiction/Depiction.js +6 -3
  97. package/dist/cjs/components/Depiction/Depiction.js.map +1 -1
  98. package/dist/cjs/components/Dialog/AlertDialog.js.map +1 -1
  99. package/dist/cjs/components/Dialog/Modal.js +1 -1
  100. package/dist/cjs/components/Dialog/Modal.js.map +1 -1
  101. package/dist/cjs/components/Dialog/index.js +5 -1
  102. package/dist/cjs/components/Dialog/index.js.map +1 -1
  103. package/dist/cjs/components/Form/FieldItem.js.map +1 -1
  104. package/dist/cjs/components/Form/FieldSet.js.map +1 -1
  105. package/dist/cjs/components/Form/index.js +5 -1
  106. package/dist/cjs/components/Form/index.js.map +1 -1
  107. package/dist/cjs/components/Grid/Grid.js +2 -3
  108. package/dist/cjs/components/Grid/Grid.js.map +1 -1
  109. package/dist/cjs/components/Grid/GridColumn.js +2 -3
  110. package/dist/cjs/components/Grid/GridColumn.js.map +1 -1
  111. package/dist/cjs/components/Grid/GridRow.js +2 -2
  112. package/dist/cjs/components/Grid/GridRow.js.map +1 -1
  113. package/dist/cjs/components/Grid/index.js +5 -1
  114. package/dist/cjs/components/Grid/index.js.map +1 -1
  115. package/dist/cjs/components/Icon/BaseIcon.js +2 -3
  116. package/dist/cjs/components/Icon/BaseIcon.js.map +1 -1
  117. package/dist/cjs/components/Icon/Icon.js.map +1 -1
  118. package/dist/cjs/components/Icon/canonicalIconNames.js +9 -4
  119. package/dist/cjs/components/Icon/canonicalIconNames.js.map +1 -1
  120. package/dist/cjs/components/Icon/index.js +5 -1
  121. package/dist/cjs/components/Icon/index.js.map +1 -1
  122. package/dist/cjs/components/Iframe/Iframe.js +5 -1
  123. package/dist/cjs/components/Iframe/Iframe.js.map +1 -1
  124. package/dist/cjs/components/Iframe/index.js +5 -1
  125. package/dist/cjs/components/Iframe/index.js.map +1 -1
  126. package/dist/cjs/components/InteractionGate/InteractionGate.js +5 -1
  127. package/dist/cjs/components/InteractionGate/InteractionGate.js.map +1 -1
  128. package/dist/cjs/components/Link/Link.js +2 -2
  129. package/dist/cjs/components/Link/Link.js.map +1 -1
  130. package/dist/cjs/components/List/List.js +6 -3
  131. package/dist/cjs/components/List/List.js.map +1 -1
  132. package/dist/cjs/components/Menu/index.js +5 -1
  133. package/dist/cjs/components/Menu/index.js.map +1 -1
  134. package/dist/cjs/components/MultiSelect/MultiSelect.js +12 -5
  135. package/dist/cjs/components/MultiSelect/MultiSelect.js.map +1 -1
  136. package/dist/cjs/components/MultiSuggestField/MultiSuggestField.js +1 -2
  137. package/dist/cjs/components/MultiSuggestField/MultiSuggestField.js.map +1 -1
  138. package/dist/cjs/components/Notification/Notification.js.map +1 -1
  139. package/dist/cjs/components/Notification/index.js +5 -1
  140. package/dist/cjs/components/Notification/index.js.map +1 -1
  141. package/dist/cjs/components/OverviewItem/OverviewItem.js.map +1 -1
  142. package/dist/cjs/components/OverviewItem/OverviewItemDepiction.js.map +1 -1
  143. package/dist/cjs/components/OverviewItem/index.js +5 -1
  144. package/dist/cjs/components/OverviewItem/index.js.map +1 -1
  145. package/dist/cjs/components/Pagination/Pagination.js +7 -3
  146. package/dist/cjs/components/Pagination/Pagination.js.map +1 -1
  147. package/dist/cjs/components/ProgressBar/index.js +5 -1
  148. package/dist/cjs/components/ProgressBar/index.js.map +1 -1
  149. package/dist/cjs/components/PropertyValuePair/PropertyValuePair.js.map +1 -1
  150. package/dist/cjs/components/PropertyValuePair/index.js +5 -1
  151. package/dist/cjs/components/PropertyValuePair/index.js.map +1 -1
  152. package/dist/cjs/components/Select/Select.js +1 -2
  153. package/dist/cjs/components/Select/Select.js.map +1 -1
  154. package/dist/cjs/components/Separation/Divider.js +1 -2
  155. package/dist/cjs/components/Separation/Divider.js.map +1 -1
  156. package/dist/cjs/components/Skeleton/Skeleton.js +1 -2
  157. package/dist/cjs/components/Skeleton/Skeleton.js.map +1 -1
  158. package/dist/cjs/components/Spinner/Spinner.js +5 -1
  159. package/dist/cjs/components/Spinner/Spinner.js.map +1 -1
  160. package/dist/cjs/components/Sticky/StickyTarget.js.map +1 -1
  161. package/dist/cjs/components/Sticky/index.js +5 -1
  162. package/dist/cjs/components/Sticky/index.js.map +1 -1
  163. package/dist/cjs/components/Structure/TitleMainsection.js.map +1 -1
  164. package/dist/cjs/components/Structure/TitlePage.js.map +1 -1
  165. package/dist/cjs/components/Structure/index.js +5 -1
  166. package/dist/cjs/components/Structure/index.js.map +1 -1
  167. package/dist/cjs/components/SuggestField/SuggestField.js +1 -2
  168. package/dist/cjs/components/SuggestField/SuggestField.js.map +1 -1
  169. package/dist/cjs/components/SuggestField/index.js +5 -1
  170. package/dist/cjs/components/SuggestField/index.js.map +1 -1
  171. package/dist/cjs/components/Switch/Switch.js +5 -1
  172. package/dist/cjs/components/Switch/Switch.js.map +1 -1
  173. package/dist/cjs/components/Table/Table.js +5 -4
  174. package/dist/cjs/components/Table/Table.js.map +1 -1
  175. package/dist/cjs/components/Table/TableCell.js +4 -4
  176. package/dist/cjs/components/Table/TableCell.js.map +1 -1
  177. package/dist/cjs/components/Table/TableContainer.js +5 -6
  178. package/dist/cjs/components/Table/TableContainer.js.map +1 -1
  179. package/dist/cjs/components/Table/TableExpandHeader.js +4 -4
  180. package/dist/cjs/components/Table/TableExpandHeader.js.map +1 -1
  181. package/dist/cjs/components/Table/TableExpandRow.js +6 -6
  182. package/dist/cjs/components/Table/TableExpandRow.js.map +1 -1
  183. package/dist/cjs/components/Table/TableRow.js +3 -4
  184. package/dist/cjs/components/Table/TableRow.js.map +1 -1
  185. package/dist/cjs/components/Table/index.js +10 -6
  186. package/dist/cjs/components/Table/index.js.map +1 -1
  187. package/dist/cjs/components/Tabs/Tab.js.map +1 -1
  188. package/dist/cjs/components/Tabs/Tabs.js +5 -1
  189. package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
  190. package/dist/cjs/components/Tabs/index.js +5 -1
  191. package/dist/cjs/components/Tabs/index.js.map +1 -1
  192. package/dist/cjs/components/Tag/Tag.js.map +1 -1
  193. package/dist/cjs/components/Tag/TagList.js.map +1 -1
  194. package/dist/cjs/components/TextField/TextArea.js.map +1 -1
  195. package/dist/cjs/components/TextField/TextField.js.map +1 -1
  196. package/dist/cjs/components/TextField/index.js +5 -1
  197. package/dist/cjs/components/TextField/index.js.map +1 -1
  198. package/dist/cjs/components/TextField/useTextValidation.js.map +1 -1
  199. package/dist/cjs/components/Toolbar/index.js +5 -1
  200. package/dist/cjs/components/Toolbar/index.js.map +1 -1
  201. package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
  202. package/dist/cjs/components/Tree/Tree.js +5 -1
  203. package/dist/cjs/components/Tree/Tree.js.map +1 -1
  204. package/dist/cjs/components/Typography/Highlighter.js +5 -5
  205. package/dist/cjs/components/Typography/Highlighter.js.map +1 -1
  206. package/dist/cjs/components/Typography/HtmlContentBlock.js +5 -1
  207. package/dist/cjs/components/Typography/HtmlContentBlock.js.map +1 -1
  208. package/dist/cjs/components/Typography/WhiteSpaceContainer.js +5 -1
  209. package/dist/cjs/components/Typography/WhiteSpaceContainer.js.map +1 -1
  210. package/dist/cjs/components/Typography/index.js +5 -1
  211. package/dist/cjs/components/Typography/index.js.map +1 -1
  212. package/dist/cjs/components/Workspace/index.js +5 -1
  213. package/dist/cjs/components/Workspace/index.js.map +1 -1
  214. package/dist/cjs/components/index.js +5 -1
  215. package/dist/cjs/components/index.js.map +1 -1
  216. package/dist/cjs/extensions/codemirror/CodeMirror.js +5 -1
  217. package/dist/cjs/extensions/codemirror/CodeMirror.js.map +1 -1
  218. package/dist/cjs/extensions/index.js +5 -1
  219. package/dist/cjs/extensions/index.js.map +1 -1
  220. package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js +5 -1
  221. package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
  222. package/dist/cjs/extensions/react-flow/edges/EdgeLabel.js +5 -1
  223. package/dist/cjs/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
  224. package/dist/cjs/extensions/react-flow/edges/EdgeStep.js +5 -1
  225. package/dist/cjs/extensions/react-flow/edges/EdgeStep.js.map +1 -1
  226. package/dist/cjs/extensions/react-flow/edges/EdgeTools.js +5 -1
  227. package/dist/cjs/extensions/react-flow/edges/EdgeTools.js.map +1 -1
  228. package/dist/cjs/extensions/react-flow/edges/getSmoothStepPath.js +1 -2
  229. package/dist/cjs/extensions/react-flow/edges/getSmoothStepPath.js.map +1 -1
  230. package/dist/cjs/extensions/react-flow/edges/utils.js.map +1 -1
  231. package/dist/cjs/extensions/react-flow/handles/HandleContent.js +5 -1
  232. package/dist/cjs/extensions/react-flow/handles/HandleContent.js.map +1 -1
  233. package/dist/cjs/extensions/react-flow/handles/HandleDefault.js +5 -1
  234. package/dist/cjs/extensions/react-flow/handles/HandleDefault.js.map +1 -1
  235. package/dist/cjs/extensions/react-flow/index.js +5 -1
  236. package/dist/cjs/extensions/react-flow/index.js.map +1 -1
  237. package/dist/cjs/extensions/react-flow/minimap/MiniMap.js +5 -1
  238. package/dist/cjs/extensions/react-flow/minimap/MiniMap.js.map +1 -1
  239. package/dist/cjs/extensions/react-flow/nodes/NodeContent.js +2 -2
  240. package/dist/cjs/extensions/react-flow/nodes/NodeContent.js.map +1 -1
  241. package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js +6 -2
  242. package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js.map +1 -1
  243. package/dist/cjs/extensions/react-flow/nodes/NodeTools.js +5 -1
  244. package/dist/cjs/extensions/react-flow/nodes/NodeTools.js.map +1 -1
  245. package/dist/cjs/extensions/react-flow/nodes/nodeUtils.js.map +1 -1
  246. package/dist/cjs/extensions/react-flow/versionsupport.js.map +1 -1
  247. package/dist/cjs/index.js +5 -1
  248. package/dist/cjs/index.js.map +1 -1
  249. package/dist/cjs/legacy-replacements/Button/AffirmativeButton.js +1 -2
  250. package/dist/cjs/legacy-replacements/Button/AffirmativeButton.js.map +1 -1
  251. package/dist/cjs/legacy-replacements/Button/Button.js +2 -2
  252. package/dist/cjs/legacy-replacements/Button/Button.js.map +1 -1
  253. package/dist/cjs/legacy-replacements/Button/DismissiveButton.js +1 -2
  254. package/dist/cjs/legacy-replacements/Button/DismissiveButton.js.map +1 -1
  255. package/dist/cjs/legacy-replacements/Button/DisruptiveButton.js +1 -2
  256. package/dist/cjs/legacy-replacements/Button/DisruptiveButton.js.map +1 -1
  257. package/dist/cjs/legacy-replacements/Checkbox/Checkbox.js +1 -2
  258. package/dist/cjs/legacy-replacements/Checkbox/Checkbox.js.map +1 -1
  259. package/dist/cjs/legacy-replacements/Radio/RadioButton.js +1 -2
  260. package/dist/cjs/legacy-replacements/Radio/RadioButton.js.map +1 -1
  261. package/dist/cjs/legacy-replacements/Tabs/Tabs.js +1 -2
  262. package/dist/cjs/legacy-replacements/Tabs/Tabs.js.map +1 -1
  263. package/dist/cjs/legacy-replacements/TextField/TextField.js +1 -2
  264. package/dist/cjs/legacy-replacements/TextField/TextField.js.map +1 -1
  265. package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +1 -1
  266. package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
  267. package/dist/esm/cmem/ActivityControl/SilkActivityControl.js +1 -1
  268. package/dist/esm/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
  269. package/dist/esm/cmem/ConfidenceValue/ConfidenceValue.js.map +1 -1
  270. package/dist/esm/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +1 -1
  271. package/dist/esm/cmem/markdown/Markdown.js.map +1 -1
  272. package/dist/esm/cmem/markdown/highlightSearchWords.js.map +1 -1
  273. package/dist/esm/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -1
  274. package/dist/esm/cmem/react-flow/StickyNoteModal/StickyNoteModal.js.map +1 -1
  275. package/dist/esm/cmem/react-flow/extensions/scrollOnDragHook.js.map +1 -1
  276. package/dist/esm/common/Intent/index.js.map +1 -1
  277. package/dist/esm/common/utils/CssCustomProperties.js +1 -1
  278. package/dist/esm/common/utils/CssCustomProperties.js.map +1 -1
  279. package/dist/esm/common/utils/characters.js.map +1 -1
  280. package/dist/esm/common/utils/colorDecideContrastvalue.js.map +1 -1
  281. package/dist/esm/common/utils/getColorConfiguration.js.map +1 -1
  282. package/dist/esm/common/utils/getScrollParent.js.map +1 -1
  283. package/dist/esm/common/utils/openInNewTab.js.map +1 -1
  284. package/dist/esm/components/Accordion/Accordion.js +1 -1
  285. package/dist/esm/components/Accordion/Accordion.js.map +1 -1
  286. package/dist/esm/components/Accordion/AccordionItem.js +2 -1
  287. package/dist/esm/components/Accordion/AccordionItem.js.map +1 -1
  288. package/dist/esm/components/Application/ApplicationContent.js +1 -1
  289. package/dist/esm/components/Application/ApplicationContent.js.map +1 -1
  290. package/dist/esm/components/Application/ApplicationHeader.js +2 -1
  291. package/dist/esm/components/Application/ApplicationHeader.js.map +1 -1
  292. package/dist/esm/components/Application/ApplicationSidebarNavigation.js +1 -1
  293. package/dist/esm/components/Application/ApplicationSidebarNavigation.js.map +1 -1
  294. package/dist/esm/components/Application/ApplicationSidebarToggler.js +1 -1
  295. package/dist/esm/components/Application/ApplicationSidebarToggler.js.map +1 -1
  296. package/dist/esm/components/Application/ApplicationTitle.js +1 -1
  297. package/dist/esm/components/Application/ApplicationTitle.js.map +1 -1
  298. package/dist/esm/components/Application/ApplicationToolbar.js +2 -1
  299. package/dist/esm/components/Application/ApplicationToolbar.js.map +1 -1
  300. package/dist/esm/components/Application/ApplicationToolbarAction.js +2 -1
  301. package/dist/esm/components/Application/ApplicationToolbarAction.js.map +1 -1
  302. package/dist/esm/components/Application/ApplicationToolbarPanel.js +2 -1
  303. package/dist/esm/components/Application/ApplicationToolbarPanel.js.map +1 -1
  304. package/dist/esm/components/Application/helper.js.map +1 -1
  305. package/dist/esm/components/AutoSuggestion/AutoSuggestion.js +1 -1
  306. package/dist/esm/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
  307. package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js +2 -2
  308. package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
  309. package/dist/esm/components/AutoSuggestion/ExtendedCodeEditor.js.map +1 -1
  310. package/dist/esm/components/AutocompleteField/AutoCompleteField.js +2 -2
  311. package/dist/esm/components/AutocompleteField/AutoCompleteField.js.map +1 -1
  312. package/dist/esm/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
  313. package/dist/esm/components/Badge/Badge.js.map +1 -1
  314. package/dist/esm/components/Breadcrumb/BreadcrumbList.js.map +1 -1
  315. package/dist/esm/components/Button/Button.js.map +1 -1
  316. package/dist/esm/components/Card/CardHeader.js.map +1 -1
  317. package/dist/esm/components/Depiction/Depiction.js.map +1 -1
  318. package/dist/esm/components/Dialog/AlertDialog.js.map +1 -1
  319. package/dist/esm/components/Dialog/Modal.js +1 -1
  320. package/dist/esm/components/Dialog/Modal.js.map +1 -1
  321. package/dist/esm/components/Form/FieldItem.js.map +1 -1
  322. package/dist/esm/components/Form/FieldSet.js.map +1 -1
  323. package/dist/esm/components/Grid/Grid.js +1 -2
  324. package/dist/esm/components/Grid/Grid.js.map +1 -1
  325. package/dist/esm/components/Grid/GridColumn.js +1 -2
  326. package/dist/esm/components/Grid/GridColumn.js.map +1 -1
  327. package/dist/esm/components/Grid/GridRow.js +1 -1
  328. package/dist/esm/components/Grid/GridRow.js.map +1 -1
  329. package/dist/esm/components/Icon/BaseIcon.js +2 -3
  330. package/dist/esm/components/Icon/BaseIcon.js.map +1 -1
  331. package/dist/esm/components/Icon/Icon.js.map +1 -1
  332. package/dist/esm/components/Icon/canonicalIconNames.js +4 -3
  333. package/dist/esm/components/Icon/canonicalIconNames.js.map +1 -1
  334. package/dist/esm/components/Iframe/Iframe.js.map +1 -1
  335. package/dist/esm/components/InteractionGate/InteractionGate.js.map +1 -1
  336. package/dist/esm/components/Link/Link.js +1 -1
  337. package/dist/esm/components/Link/Link.js.map +1 -1
  338. package/dist/esm/components/List/List.js.map +1 -1
  339. package/dist/esm/components/MultiSelect/MultiSelect.js +8 -6
  340. package/dist/esm/components/MultiSelect/MultiSelect.js.map +1 -1
  341. package/dist/esm/components/Notification/Notification.js.map +1 -1
  342. package/dist/esm/components/OverviewItem/OverviewItem.js.map +1 -1
  343. package/dist/esm/components/OverviewItem/OverviewItemDepiction.js.map +1 -1
  344. package/dist/esm/components/Pagination/Pagination.js +1 -1
  345. package/dist/esm/components/Pagination/Pagination.js.map +1 -1
  346. package/dist/esm/components/PropertyValuePair/PropertyValuePair.js.map +1 -1
  347. package/dist/esm/components/Select/Select.js.map +1 -1
  348. package/dist/esm/components/Skeleton/Skeleton.js.map +1 -1
  349. package/dist/esm/components/Spinner/Spinner.js.map +1 -1
  350. package/dist/esm/components/Sticky/StickyTarget.js.map +1 -1
  351. package/dist/esm/components/Structure/TitleMainsection.js.map +1 -1
  352. package/dist/esm/components/Structure/TitlePage.js.map +1 -1
  353. package/dist/esm/components/Table/Table.js +2 -1
  354. package/dist/esm/components/Table/Table.js.map +1 -1
  355. package/dist/esm/components/Table/TableCell.js +2 -1
  356. package/dist/esm/components/Table/TableCell.js.map +1 -1
  357. package/dist/esm/components/Table/TableContainer.js +1 -1
  358. package/dist/esm/components/Table/TableContainer.js.map +1 -1
  359. package/dist/esm/components/Table/TableExpandHeader.js +3 -2
  360. package/dist/esm/components/Table/TableExpandHeader.js.map +1 -1
  361. package/dist/esm/components/Table/TableExpandRow.js +2 -1
  362. package/dist/esm/components/Table/TableExpandRow.js.map +1 -1
  363. package/dist/esm/components/Table/TableRow.js +1 -1
  364. package/dist/esm/components/Table/TableRow.js.map +1 -1
  365. package/dist/esm/components/Table/index.js +1 -1
  366. package/dist/esm/components/Table/index.js.map +1 -1
  367. package/dist/esm/components/Tabs/Tab.js.map +1 -1
  368. package/dist/esm/components/Tabs/Tabs.js.map +1 -1
  369. package/dist/esm/components/Tag/Tag.js.map +1 -1
  370. package/dist/esm/components/Tag/TagList.js.map +1 -1
  371. package/dist/esm/components/TextField/TextArea.js.map +1 -1
  372. package/dist/esm/components/TextField/TextField.js.map +1 -1
  373. package/dist/esm/components/TextField/useTextValidation.js.map +1 -1
  374. package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
  375. package/dist/esm/components/Typography/Highlighter.js.map +1 -1
  376. package/dist/esm/extensions/codemirror/CodeMirror.js.map +1 -1
  377. package/dist/esm/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
  378. package/dist/esm/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
  379. package/dist/esm/extensions/react-flow/edges/getSmoothStepPath.js.map +1 -1
  380. package/dist/esm/extensions/react-flow/edges/utils.js.map +1 -1
  381. package/dist/esm/extensions/react-flow/handles/HandleContent.js.map +1 -1
  382. package/dist/esm/extensions/react-flow/handles/HandleDefault.js.map +1 -1
  383. package/dist/esm/extensions/react-flow/minimap/MiniMap.js.map +1 -1
  384. package/dist/esm/extensions/react-flow/nodes/NodeContent.js.map +1 -1
  385. package/dist/esm/extensions/react-flow/nodes/NodeDefault.js +1 -1
  386. package/dist/esm/extensions/react-flow/nodes/NodeDefault.js.map +1 -1
  387. package/dist/esm/extensions/react-flow/nodes/NodeTools.js.map +1 -1
  388. package/dist/esm/extensions/react-flow/nodes/nodeUtils.js.map +1 -1
  389. package/dist/esm/extensions/react-flow/versionsupport.js.map +1 -1
  390. package/dist/esm/legacy-replacements/Button/Button.js.map +1 -1
  391. package/dist/esm/legacy-replacements/Checkbox/Checkbox.js.map +1 -1
  392. package/dist/esm/legacy-replacements/Radio/RadioButton.js.map +1 -1
  393. package/dist/esm/legacy-replacements/TextField/TextField.js.map +1 -1
  394. package/dist/types/cmem/ActivityControl/ActivityControlTypes.d.ts +3 -3
  395. package/dist/types/cmem/ActivityControl/ActivityControlWidget.d.ts +2 -2
  396. package/dist/types/cmem/ActivityControl/SilkActivityControl.d.ts +6 -6
  397. package/dist/types/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.d.ts +2 -2
  398. package/dist/types/cmem/markdown/Markdown.d.ts +1 -1
  399. package/dist/types/cmem/react-flow/StickyNoteModal/StickyNoteModal.d.ts +2 -2
  400. package/dist/types/cmem/react-flow/configuration/graph.d.ts +0 -1
  401. package/dist/types/cmem/react-flow/configuration/linking.d.ts +0 -1
  402. package/dist/types/cmem/react-flow/configuration/unspecified.d.ts +1 -2
  403. package/dist/types/cmem/react-flow/configuration/workflow.d.ts +0 -1
  404. package/dist/types/cmem/react-flow/extensions/scrollOnDragHook.d.ts +1 -1
  405. package/dist/types/common/Intent/index.d.ts +1 -1
  406. package/dist/types/common/index.d.ts +4 -5
  407. package/dist/types/common/utils/CssCustomProperties.d.ts +1 -1
  408. package/dist/types/common/utils/characters.d.ts +1 -1
  409. package/dist/types/common/utils/colorDecideContrastvalue.d.ts +1 -1
  410. package/dist/types/common/utils/getColorConfiguration.d.ts +1 -1
  411. package/dist/types/common/utils/openInNewTab.d.ts +1 -1
  412. package/dist/types/components/Accordion/Accordion.d.ts +4 -3
  413. package/dist/types/components/Accordion/AccordionItem.d.ts +4 -3
  414. package/dist/types/components/Application/ApplicationHeader.d.ts +4 -2
  415. package/dist/types/components/Application/ApplicationSidebarNavigation.d.ts +2 -2
  416. package/dist/types/components/Application/ApplicationSidebarToggler.d.ts +2 -2
  417. package/dist/types/components/Application/ApplicationTitle.d.ts +5 -17
  418. package/dist/types/components/Application/ApplicationToolbar.d.ts +3 -2
  419. package/dist/types/components/Application/ApplicationToolbarAction.d.ts +4 -2
  420. package/dist/types/components/Application/ApplicationToolbarPanel.d.ts +3 -2
  421. package/dist/types/components/Application/ApplicationToolbarSection.d.ts +1 -1
  422. package/dist/types/components/AutoSuggestion/AutoSuggestion.d.ts +2 -2
  423. package/dist/types/components/AutoSuggestion/AutoSuggestionList.d.ts +1 -1
  424. package/dist/types/components/AutoSuggestion/ExtendedCodeEditor.d.ts +1 -1
  425. package/dist/types/components/AutocompleteField/AutoCompleteField.d.ts +5 -5
  426. package/dist/types/components/AutocompleteField/autoCompleteFieldUtils.d.ts +1 -1
  427. package/dist/types/components/AutocompleteField/index.d.ts +1 -2
  428. package/dist/types/components/Breadcrumb/BreadcrumbItem.d.ts +1 -1
  429. package/dist/types/components/Button/Button.d.ts +2 -2
  430. package/dist/types/components/Card/CardActionsAux.d.ts +1 -1
  431. package/dist/types/components/Card/CardOptions.d.ts +1 -1
  432. package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
  433. package/dist/types/components/CodeAutocompleteField/CodeAutocompleteField.d.ts +1 -1
  434. package/dist/types/components/Dialog/AlertDialog.d.ts +1 -1
  435. package/dist/types/components/Grid/Grid.d.ts +2 -2
  436. package/dist/types/components/Grid/GridColumn.d.ts +3 -3
  437. package/dist/types/components/Grid/GridRow.d.ts +2 -2
  438. package/dist/types/components/Icon/BaseIcon.d.ts +7 -3
  439. package/dist/types/components/Icon/IconButton.d.ts +1 -1
  440. package/dist/types/components/Icon/canonicalIconNames.d.ts +163 -6
  441. package/dist/types/components/Link/Link.d.ts +3 -3
  442. package/dist/types/components/Menu/Menu.d.ts +1 -1
  443. package/dist/types/components/Menu/MenuDivider.d.ts +1 -1
  444. package/dist/types/components/MultiSelect/MultiSelect.d.ts +8 -3
  445. package/dist/types/components/MultiSuggestField/MultiSuggestField.d.ts +1 -1
  446. package/dist/types/components/Notification/Toast.d.ts +1 -1
  447. package/dist/types/components/NumericInput/NumericInput.d.ts +0 -1
  448. package/dist/types/components/OverviewItem/OverviewItemDescription.d.ts +1 -1
  449. package/dist/types/components/Pagination/Pagination.d.ts +1 -1
  450. package/dist/types/components/ProgressBar/ProgressBar.d.ts +1 -1
  451. package/dist/types/components/PropertyValuePair/PropertyValueList.d.ts +1 -1
  452. package/dist/types/components/RadioButton/RadioButton.d.ts +1 -1
  453. package/dist/types/components/Spinner/Spinner.d.ts +4 -4
  454. package/dist/types/components/Structure/Section.d.ts +1 -1
  455. package/dist/types/components/Structure/SectionHeader.d.ts +1 -1
  456. package/dist/types/components/Structure/TitleMainsection.d.ts +1 -1
  457. package/dist/types/components/Structure/TitlePage.d.ts +1 -1
  458. package/dist/types/components/Structure/TitleSubsection.d.ts +9 -9
  459. package/dist/types/components/SuggestField/SuggestField.d.ts +1 -1
  460. package/dist/types/components/SuggestField/index.d.ts +1 -2
  461. package/dist/types/components/Table/Table.d.ts +4 -3
  462. package/dist/types/components/Table/TableCell.d.ts +2 -1
  463. package/dist/types/components/Table/TableContainer.d.ts +4 -3
  464. package/dist/types/components/Table/TableExpandHeader.d.ts +2 -2
  465. package/dist/types/components/Table/TableExpandRow.d.ts +3 -2
  466. package/dist/types/components/Table/TableRow.d.ts +1 -1
  467. package/dist/types/components/Table/index.d.ts +1 -1
  468. package/dist/types/components/Tabs/Tab.d.ts +32 -38
  469. package/dist/types/components/Typography/WhiteSpaceContainer.d.ts +1 -1
  470. package/dist/types/components/Workspace/WorkspaceContent.d.ts +1 -1
  471. package/dist/types/components/Workspace/WorkspaceHeader.d.ts +1 -1
  472. package/dist/types/components/Workspace/WorkspaceMain.d.ts +1 -1
  473. package/dist/types/components/Workspace/WorkspaceSide.d.ts +1 -1
  474. package/dist/types/extensions/codemirror/CodeMirror.d.ts +2 -2
  475. package/dist/types/extensions/react-flow/edges/edgeTypes.d.ts +0 -1
  476. package/dist/types/extensions/react-flow/handles/HandleDefault.d.ts +2 -2
  477. package/dist/types/extensions/react-flow/index.d.ts +0 -1
  478. package/dist/types/extensions/react-flow/nodes/NodeContent.d.ts +7 -7
  479. package/dist/types/extensions/react-flow/nodes/NodeDefault.d.ts +1 -1
  480. package/dist/types/extensions/react-flow/nodes/nodeTypes.d.ts +10 -11
  481. package/dist/types/extensions/react-flow/nodes/nodeUtils.d.ts +1 -1
  482. package/dist/types/extensions/react-flow/nodes/sharedTypes.d.ts +2 -2
  483. package/package.json +40 -51
  484. package/src/cmem/ActivityControl/ActivityControlWidget.stories.tsx +4 -22
  485. package/src/cmem/ConfidenceValue/ConfidenceValue.stories.tsx +3 -3
  486. package/src/cmem/markdown/Markdown.stories.tsx +3 -3
  487. package/src/components/Accordion/Accordion.tsx +4 -3
  488. package/src/components/Accordion/AccordionItem.tsx +6 -5
  489. package/src/components/Accordion/accordion.scss +12 -1
  490. package/src/components/Application/ApplicationContent.tsx +1 -1
  491. package/src/components/Application/ApplicationHeader.tsx +5 -2
  492. package/src/components/Application/ApplicationSidebarNavigation.tsx +2 -2
  493. package/src/components/Application/ApplicationSidebarToggler.tsx +1 -1
  494. package/src/components/Application/ApplicationTitle.tsx +3 -18
  495. package/src/components/Application/ApplicationToolbar.tsx +4 -4
  496. package/src/components/Application/ApplicationToolbarAction.tsx +7 -5
  497. package/src/components/Application/ApplicationToolbarPanel.tsx +5 -2
  498. package/src/components/Application/_config.scss +1 -1
  499. package/src/components/Application/_content.scss +1 -1
  500. package/src/components/Application/_header.scss +28 -11
  501. package/src/components/Application/_sidebar.scss +1 -1
  502. package/src/components/Application/_toolbar.scss +1 -1
  503. package/src/components/Application/application.scss +3 -3
  504. package/src/components/Application/stories/Application.stories.tsx +139 -0
  505. package/src/components/AutoSuggestion/AutoSuggestionList.tsx +2 -2
  506. package/src/components/Badge/Badge.stories.tsx +3 -3
  507. package/src/components/Breadcrumb/stories/BreadcrumbItem.stories.tsx +3 -3
  508. package/src/components/Card/stories/Card.stories.tsx +4 -4
  509. package/src/components/Card/stories/CardActions.stories.tsx +3 -3
  510. package/src/components/Card/stories/CardContent.stories.tsx +3 -3
  511. package/src/components/Card/stories/CardHeader.stories.tsx +3 -3
  512. package/src/components/Card/stories/CardOptions.stories.tsx +3 -3
  513. package/src/components/Card/stories/CardTitle.stories.tsx +3 -3
  514. package/src/components/Checkbox/Stories/Checkbox.stories.tsx +3 -3
  515. package/src/components/CodeAutocompleteField/CodeAutocompleteField.stories.tsx +4 -0
  516. package/src/components/Form/Stories/FieldItem.stories.tsx +3 -3
  517. package/src/components/Form/Stories/FieldItemRow.stories.tsx +3 -3
  518. package/src/components/Grid/Grid.tsx +4 -3
  519. package/src/components/Grid/GridColumn.tsx +4 -4
  520. package/src/components/Grid/GridRow.tsx +3 -2
  521. package/src/components/Grid/grid.scss +1 -1
  522. package/src/components/Grid/stories/Grid.stories.tsx +3 -3
  523. package/src/components/Grid/stories/GridColumn.stories.tsx +4 -4
  524. package/src/components/Grid/stories/GridRow.stories.tsx +4 -4
  525. package/src/components/HoverToggler/HoverToggler.stories.tsx +3 -3
  526. package/src/components/Icon/BaseIcon.tsx +10 -3
  527. package/src/components/Icon/canonicalIconNames.tsx +6 -163
  528. package/src/components/Icon/stories/Icon.stories.tsx +3 -0
  529. package/src/components/InteractionGate/InteractionGate.stories.tsx +3 -3
  530. package/src/components/Label/Label.stories.tsx +3 -3
  531. package/src/components/Link/Link.tsx +3 -3
  532. package/src/components/Link/link.scss +1 -1
  533. package/src/components/MultiSelect/MultiSelect.tsx +13 -3
  534. package/src/components/MultiSuggestField/MultiSuggestField.stories.tsx +16 -0
  535. package/src/components/MultiSuggestField/tests/MultiSuggestField.test.tsx +63 -1
  536. package/src/components/Notification/Notification.stories.tsx +3 -3
  537. package/src/components/Pagination/Pagination.tsx +2 -1
  538. package/src/components/Pagination/Stories/Pagination.stories.tsx +4 -4
  539. package/src/components/Pagination/pagination.scss +70 -1
  540. package/src/components/ProgressBar/Stories/ProgressBar.stories.tsx +3 -3
  541. package/src/components/RadioButton/Stories/RadioButton.stories.tsx +3 -3
  542. package/src/components/Separation/Stories/Divider.stories.tsx +3 -3
  543. package/src/components/Separation/Stories/Spacing.stories.tsx +3 -3
  544. package/src/components/Spinner/Stories/spinner.stories.tsx +3 -3
  545. package/src/components/Switch/Stories/Switch.stories.tsx +3 -3
  546. package/src/components/Table/Table.tsx +4 -5
  547. package/src/components/Table/TableCell.tsx +4 -1
  548. package/src/components/Table/TableContainer.tsx +11 -3
  549. package/src/components/Table/TableExpandHeader.tsx +7 -5
  550. package/src/components/Table/TableExpandRow.tsx +6 -3
  551. package/src/components/Table/TableRow.tsx +2 -1
  552. package/src/components/Table/index.tsx +1 -1
  553. package/src/components/Table/table.scss +5 -5
  554. package/src/components/Tabs/stories/Tab.stories.tsx +3 -3
  555. package/src/components/Tabs/stories/TabPanel.stories.tsx +3 -3
  556. package/src/components/Tabs/stories/TabTitle.stories.tsx +3 -3
  557. package/src/components/Tabs/stories/Tabs.stories.tsx +3 -3
  558. package/src/components/Tag/stories/Tag.stories.tsx +3 -3
  559. package/src/components/Tag/stories/TagList.stories.tsx +3 -3
  560. package/src/components/TextField/stories/SearchField.stories.tsx +4 -4
  561. package/src/components/TextField/stories/TextField.stories.tsx +3 -3
  562. package/src/components/Toolbar/Toolbar.stories.tsx +3 -3
  563. package/src/components/Tree/Tree.stories.tsx +3 -3
  564. package/src/components/Typography/stories/WhiteSpaceContainer.stories.tsx +3 -3
  565. package/src/extensions/codemirror/CodeMirror.stories.tsx +3 -3
  566. package/src/extensions/react-flow/edges/stories/EdgeLabel.stories.tsx +3 -3
  567. package/src/extensions/react-flow/nodes/stories/NodeContentExtension.stories.tsx +3 -3
  568. package/src/includes/carbon-components/_components.scss +4 -4
  569. package/src/includes/carbon-components/_requisits.scss +12 -8
  570. package/src/includes/carbon-components/_variables.scss +1 -1
  571. package/src/legacy-replacements/Tabs/Tabs.stories.tsx +3 -11
@@ -1,15 +1,16 @@
1
1
  import React from "react";
2
- import {
3
- AccordionItem as CarbonAccordionItem,
4
- AccordionItemProps as CarbonAccordionItemProps,
5
- } from "carbon-components-react";
2
+ import { AccordionItem as CarbonAccordionItem } from "@carbon/react";
6
3
 
4
+ // import { AccordionItemProps as CarbonAccordionItemProps } from "@carbon/react/es/components/Accordion/AccordionItem"; // TODO: check later again, currently interface is not exported
7
5
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
8
6
 
9
7
  type sizeOptions = "none" | "small" | "medium" | "large";
10
8
 
9
+ // workaround to get type/interface
10
+ type CarbonAccordionItemProps = React.ComponentProps<typeof CarbonAccordionItem>;
11
11
  export interface AccordionItemProps
12
- extends Omit<CarbonAccordionItemProps, "title" | "iconDescription" | "renderExpando"> {
12
+ extends Omit<CarbonAccordionItemProps, "title" | "iconDescription" | "renderExpando">,
13
+ Omit<React.LiHTMLAttributes<HTMLLIElement>, "title"> {
13
14
  /**
14
15
  * additional user class name
15
16
  */
@@ -1,6 +1,6 @@
1
1
  // lib import
2
2
  @use "sass:color";
3
- @use "~@carbon/styles/scss/components/accordion/accordion";
3
+ @use "~@carbon/react/scss/components/accordion/accordion";
4
4
  @include accordion.accordion;
5
5
 
6
6
  // own vars
@@ -77,11 +77,21 @@ $eccgui-size-accordion-separation: $eccgui-size-block-whitespace * 0.5 !default;
77
77
  }
78
78
  }
79
79
 
80
+ .#{$prefix}--accordion__wrapper {
81
+ .#{$prefix}--accordion__item--active > & {
82
+ padding-block: 0;
83
+ }
84
+ }
85
+
80
86
  .#{$prefix}--accordion__heading {
81
87
  align-items: center;
82
88
  min-height: var(--#{$eccgui}-accordion-header-height, mini-units(5));
83
89
  color: inherit;
84
90
 
91
+ .#{$prefix}--accordion--end & {
92
+ padding-right: 0;
93
+ }
94
+
85
95
  .#{$prefix}--accordion__arrow {
86
96
  margin: 0 $eccgui-size-block-whitespace * 0.5 0 0;
87
97
 
@@ -110,6 +120,7 @@ $eccgui-size-accordion-separation: $eccgui-size-block-whitespace * 0.5 !default;
110
120
 
111
121
  .#{$prefix}--accordion__title {
112
122
  min-width: 0; // flex layout fix
123
+ padding-left: 0;
113
124
  margin: 0 0 0 $eccgui-size-block-whitespace;
114
125
  font-size: inherit;
115
126
  line-height: inherit;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Content as CarbonContent } from "carbon-components-react";
2
+ import { Content as CarbonContent } from "@carbon/react";
3
3
 
4
4
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
5
5
 
@@ -1,9 +1,12 @@
1
1
  import React from "react";
2
- import { Header as CarbonHeader, HeaderProps as CarbonHeaderProps } from "carbon-components-react";
2
+ import { Header as CarbonHeader } from "@carbon/react";
3
3
 
4
+ // import { HeaderProps as CarbonHeaderProps } from "@carbon/react/es/components/UIShell/Header"; // TODO: check later again, currently interface is not exported
4
5
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
5
6
 
6
- export type ApplicationHeaderProps = CarbonHeaderProps;
7
+ // workaround to get type/interface
8
+ type CarbonHeaderProps = React.ComponentProps<typeof CarbonHeader>;
9
+ export interface ApplicationHeaderProps extends CarbonHeaderProps, React.HTMLAttributes<HTMLElement> {}
7
10
 
8
11
  export const ApplicationHeader = ({
9
12
  children = "",
@@ -1,10 +1,10 @@
1
1
  import React from "react";
2
- import { SideNav as CarbonSideNav, SideNavProps as CarbonSideNavProps } from "carbon-components-react";
2
+ import { SideNav as CarbonSideNav, SideNavProps as CarbonSideNavProps } from "@carbon/react";
3
3
 
4
4
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
5
5
 
6
6
  export interface ApplicationSidebarNavigationProps
7
- extends Omit<CarbonSideNavProps, "defaultExpanded" | "isPersistent" | "isFixedNav" | "isChildOfHeader">,
7
+ extends Omit<CarbonSideNavProps, "ref" | "defaultExpanded" | "isPersistent" | "isFixedNav" | "isChildOfHeader">,
8
8
  React.HTMLAttributes<HTMLElement> {}
9
9
 
10
10
  export const ApplicationSidebarNavigation = ({
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import {
3
3
  HeaderMenuButton as CarbonHeaderMenuButton,
4
4
  HeaderMenuButtonProps as CarbonHeaderMenuButtonProps,
5
- } from "carbon-components-react";
5
+ } from "@carbon/react";
6
6
 
7
7
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
8
8
 
@@ -1,27 +1,12 @@
1
1
  import React from "react";
2
- import { HeaderName as CarbonHeaderName, HeaderNameProps as CarbonHeaderNameProps } from "carbon-components-react";
2
+ import { HeaderName as CarbonHeaderName, HeaderNameProps as CarbonHeaderNameProps } from "@carbon/react";
3
3
 
4
4
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
5
5
 
6
6
  type SvgDepiction = HTMLElement & SVGElement;
7
7
  type ImgDepiction = HTMLElement & HTMLImageElement;
8
8
 
9
- export interface ApplicationTitleProps extends CarbonHeaderNameProps {
10
- // from CarbonHeaderNameProps
11
- /**
12
- addional class name
13
- */
14
- className?: string;
15
- /**
16
- prefix the application name by extra string, e.g. company name
17
- */
18
- prefix?: string;
19
- /**
20
- home link
21
- */
22
- href?: string;
23
-
24
- // our extensions
9
+ export type ApplicationTitleProps = CarbonHeaderNameProps<"a"> & {
25
10
  /**
26
11
  application logo, <img>, <svg> or react element
27
12
  */
@@ -42,7 +27,7 @@ export interface ApplicationTitleProps extends CarbonHeaderNameProps {
42
27
  native attributes for the anchor HTML element (<a>)
43
28
  */
44
29
  htmlAProps?: React.AnchorHTMLAttributes<HTMLAnchorElement>;
45
- }
30
+ };
46
31
 
47
32
  export const ApplicationTitle = ({
48
33
  children,
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
- import {
3
- HeaderGlobalBar as CarbonHeaderGlobalBar,
4
- HeaderGlobalBarProps as CarbonHeaderGlobalBarProps,
5
- } from "carbon-components-react";
2
+ import { HeaderGlobalBar as CarbonHeaderGlobalBar } from "@carbon/react";
6
3
 
4
+ // import { HeaderGlobalBarProps as CarbonHeaderGlobalBarProps } from "@carbon/react/es/components/UIShell/HeaderGlobalBar"; // TODO: check later again, currently interface is not exported
7
5
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
8
6
 
7
+ // workaround to get type/inteface
8
+ type CarbonHeaderGlobalBarProps = React.ComponentProps<typeof CarbonHeaderGlobalBar>;
9
9
  export type ApplicationToolbarProps = CarbonHeaderGlobalBarProps;
10
10
 
11
11
  export const ApplicationToolbar = ({
@@ -1,12 +1,14 @@
1
1
  import React from "react";
2
- import {
3
- HeaderGlobalAction as CarbonHeaderGlobalAction,
4
- HeaderGlobalActionProps as CarbonHeaderGlobalActionProps,
5
- } from "carbon-components-react";
2
+ import { HeaderGlobalAction as CarbonHeaderGlobalAction } from "@carbon/react";
6
3
 
4
+ // import { HeaderGlobalActionProps as CarbonHeaderGlobalActionProps } from "@carbon/react/es/components/UIShell/HeaderGlobalAction"; // TODO: check later again, currently interface is not exported
7
5
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
8
6
 
9
- export type ApplicationToolbarActionProps = CarbonHeaderGlobalActionProps;
7
+ // workaround to get type/interface
8
+ type CarbonHeaderGlobalActionProps = React.ComponentProps<typeof CarbonHeaderGlobalAction>;
9
+ export interface ApplicationToolbarActionProps
10
+ extends CarbonHeaderGlobalActionProps,
11
+ Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children" | "onClick"> {}
10
12
 
11
13
  export const ApplicationToolbarAction = ({
12
14
  children,
@@ -1,9 +1,12 @@
1
1
  import React from "react";
2
- import { HeaderPanel as CarbonHeaderPanel, HeaderPanelProps as CarbonHeaderPanelProps } from "carbon-components-react";
2
+ import { HeaderPanel as CarbonHeaderPanel } from "@carbon/react";
3
3
 
4
+ // import { HeaderPanelProps as CarbonHeaderPanelProps } from "@carbon/react/es/components/UIShell/HeaderPanel"; // TODO: check later again, currently interface is not exported
4
5
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
5
6
 
6
- export interface ApplicationToolbarPanelProps extends CarbonHeaderPanelProps {
7
+ // workaround to get type/inteface
8
+ type CarbonHeaderPanelProps = React.ComponentProps<typeof CarbonHeaderPanel>;
9
+ export interface ApplicationToolbarPanelProps extends CarbonHeaderPanelProps, React.HTMLAttributes<HTMLDivElement> {
7
10
  /**
8
11
  * Event handler getting called when the pointer device leaves the area of the panel menu.
9
12
  * Could be used to close it automatically.
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  /// should be already imported
8
- //@import '~@carbon/styles/scss/colors';
8
+ //@import '~@carbon/react/scss/colors';
9
9
 
10
10
  /*
11
11
  //----------------------------------------------------------------------------
@@ -1,6 +1,6 @@
1
1
  $ui-02: $eccgui-color-workspace-background !default;
2
2
 
3
- @import "~@carbon/styles/scss/components/ui-shell/content/index";
3
+ @import "~@carbon/react/scss/components/ui-shell/content/index";
4
4
 
5
5
  // tweack original layout
6
6
 
@@ -53,17 +53,25 @@ $shell-header-icon-03: $eccgui-color-applicationheader-text !default;
53
53
  $shell-header-link: $blue-60 !default;
54
54
 
55
55
  // load library sub component
56
- @import "~@carbon/styles/scss/components/ui-shell/header/index";
56
+ @import "~@carbon/react/scss/components/ui-shell/header/index";
57
57
 
58
- // tweack original layout
58
+ // tweak original layout
59
59
 
60
60
  .#{$prefix}--header {
61
61
  height: mini-units(8);
62
62
  }
63
63
 
64
- .#{$prefix}--header__action {
64
+ .#{$prefix}--header__action,
65
+ .#{$prefix}--header__action.#{$prefix}--btn--icon-only {
65
66
  width: mini-units(8);
66
67
  height: mini-units(8);
68
+ padding-block-start: 0;
69
+ background-color: transparent;
70
+
71
+ // $shell-header-icon-02
72
+ & > svg {
73
+ fill: $eccgui-color-applicationheader-text;
74
+ }
67
75
  }
68
76
 
69
77
  .#{$prefix}--header__menu-trigger {
@@ -141,6 +149,7 @@ a.#{$prefix}--header__menu-item:hover {
141
149
 
142
150
  // $shell-header-bg-03
143
151
  .#{$prefix}--header__action:active,
152
+ .#{$prefix}--header__action.#{$prefix}--btn--icon-only:active,
144
153
  .#{$prefix}--header__menu-title[aria-expanded="true"] + .#{$prefix}--header__menu .#{$prefix}--header__menu-item:active,
145
154
  a.#{$prefix}--header__menu-item:active {
146
155
  background-color: $shell-header-bg-03;
@@ -148,12 +157,14 @@ a.#{$prefix}--header__menu-item:active {
148
157
 
149
158
  // $shell-header-bg-04
150
159
  .#{$prefix}--header__action:hover,
160
+ .#{$prefix}--header__action.#{$prefix}--btn--icon-only:hover,
151
161
  .#{$prefix}--header__menu-title[aria-expanded="true"] + .#{$prefix}--header__menu .#{$prefix}--header__menu-item:hover {
152
162
  background-color: $shell-header-bg-04;
153
163
  }
154
164
 
155
165
  // $shell-header-bg-05
156
- .#{$prefix}--header__action--active {
166
+ .#{$prefix}--header__action--active,
167
+ .#{$prefix}--header__action--active.#{$prefix}--btn--icon-only {
157
168
  background-color: $shell-header-bg-05;
158
169
  border-right-color: transparent;
159
170
  border-bottom-color: $shell-header-bg-05;
@@ -168,7 +179,8 @@ a.#{$prefix}--header__menu-item:active {
168
179
 
169
180
  // $shell-header-border-01
170
181
  .#{$prefix}--header,
171
- .#{$prefix}--header__action {
182
+ .#{$prefix}--header__action,
183
+ .#{$prefix}--header__action.#{$prefix}--btn--icon-only {
172
184
  border-bottom: none;
173
185
  }
174
186
  .#{$prefix}--header__nav {
@@ -179,9 +191,14 @@ a.#{$prefix}--header__menu-item:active {
179
191
 
180
192
  // $shell-header-focus
181
193
  .#{$prefix}--header__action:focus,
194
+ .#{$prefix}--header__action.#{$prefix}--btn--icon-only:focus,
195
+ .#{$prefix}--header__action.#{$prefix}--btn--primary:focus,
182
196
  a.#{$prefix}--header__name:focus,
183
197
  a.#{$prefix}--header__menu-item:focus {
184
- border-color: color.adjust($eccgui-color-applicationheader-text, $lightness: 39%);
198
+ border: none;
199
+ outline: 1px dotted color.adjust($eccgui-color-applicationheader-text, $lightness: 39%);
200
+ outline-offset: -1px;
201
+ box-shadow: none;
185
202
  }
186
203
  .#{$prefix}--header__menu-title[aria-expanded="true"] {
187
204
  color: color.adjust($eccgui-color-applicationheader-text, $lightness: 39%);
@@ -192,6 +209,7 @@ a.#{$prefix}--header__name,
192
209
  a.#{$prefix}--header__name:hover,
193
210
  a.#{$prefix}--header__menu-item:hover,
194
211
  .#{$prefix}--header__action:active,
212
+ .#{$prefix}--header__action.#{$prefix}--btn--icon-only:active,
195
213
  a.#{$prefix}--header__menu-item:active,
196
214
  a.#{$prefix}--header__menu-item:focus,
197
215
  .#{$prefix}--header__menu .#{$prefix}--header__menu-item:hover,
@@ -210,6 +228,10 @@ a.#{$prefix}--header__menu-item {
210
228
  .#{$prefix}--header__action:active,
211
229
  .#{$prefix}--header__action:focus {
212
230
  color: $eccgui-color-applicationheader-text;
231
+
232
+ &.#{$prefix}--btn--icon-only {
233
+ color: $eccgui-color-applicationheader-text;
234
+ }
213
235
  }
214
236
  .#{$prefix}--header__menu-trigger > svg,
215
237
  a.#{$prefix}--header__menu-item:hover > svg,
@@ -218,11 +240,6 @@ a.#{$prefix}--header__menu-item:focus > svg {
218
240
  fill: $eccgui-color-applicationheader-text;
219
241
  }
220
242
 
221
- // $shell-header-icon-02
222
- .#{$prefix}--header__action > svg {
223
- fill: $eccgui-color-applicationheader-text;
224
- }
225
-
226
243
  // $shell-header-icon-03
227
244
  .#{$prefix}--header__menu-arrow {
228
245
  fill: $eccgui-color-applicationheader-text;
@@ -1,6 +1,6 @@
1
1
  $ui-02: $eccgui-color-workspace-background !default;
2
2
 
3
- @import "~@carbon/styles/scss/components/ui-shell/side-nav/index";
3
+ @import "~@carbon/react/scss/components/ui-shell/side-nav/index";
4
4
 
5
5
  // tweak original layout
6
6
 
@@ -32,7 +32,7 @@ $shell-panel-text-02: $eccgui-color-applicationheader-text !default;
32
32
  /// Header panel focus border
33
33
  $shell-panel-focus: color.adjust($eccgui-color-applicationheader-text, $lightness: 39%) !default;
34
34
 
35
- @import "~@carbon/styles/scss/components/ui-shell/header-panel/index";
35
+ @import "~@carbon/react/scss/components/ui-shell/header-panel/index";
36
36
 
37
37
  // tweack original layout
38
38
 
@@ -2,10 +2,10 @@
2
2
  @import "header";
3
3
  @import "toolbar";
4
4
 
5
- // @import '~@carbon/styles/scss/components/ui-shell/product-switcher';
6
- // @import '~@carbon/styles/scss/components/ui-shell/switcher';
5
+ // @import '~@carbon/react/scss/components/ui-shell/product-switcher';
6
+ // @import '~@carbon/react/scss/components/ui-shell/switcher';
7
7
  @import "sidebar";
8
8
 
9
- // @import '~@carbon/styles/scss/components/ui-shell/navigation-menu';
9
+ // @import '~@carbon/react/scss/components/ui-shell/navigation-menu';
10
10
  @import "content";
11
11
  @import "dropzone";
@@ -0,0 +1,139 @@
1
+ import React, { CSSProperties } from "react";
2
+ import { LoremIpsum } from "react-lorem-ipsum";
3
+ import { Meta, StoryFn } from "@storybook/react";
4
+
5
+ import {
6
+ ApplicationContainer,
7
+ ApplicationContent,
8
+ ApplicationHeader,
9
+ ApplicationSidebarNavigation,
10
+ ApplicationSidebarToggler,
11
+ ApplicationTitle,
12
+ ApplicationToolbar,
13
+ ApplicationToolbarAction,
14
+ ApplicationToolbarPanel,
15
+ ApplicationToolbarSection,
16
+ Badge,
17
+ Button,
18
+ Depiction,
19
+ Icon,
20
+ WorkspaceHeader,
21
+ } from "../../../index";
22
+
23
+ interface ApplicationBasicExampleProps {
24
+ openMainNavigation: boolean;
25
+ openUserMenu: boolean;
26
+ countNotifications: number;
27
+ colorBackgroundHeader?: string;
28
+ }
29
+
30
+ function ApplicationBasicExample(args: ApplicationBasicExampleProps) {
31
+ return <></>;
32
+ }
33
+
34
+ export default {
35
+ title: "Components/Application",
36
+ component: ApplicationBasicExample,
37
+ subcomponents: {
38
+ ApplicationContainer,
39
+ ApplicationContent,
40
+ ApplicationHeader,
41
+ ApplicationTitle,
42
+ ApplicationSidebarToggler,
43
+ ApplicationSidebarNavigation,
44
+ ApplicationToolbar,
45
+ ApplicationToolbarSection,
46
+ ApplicationToolbarAction,
47
+ },
48
+ argTypes: {
49
+ colorBackgroundHeader: {
50
+ control: { type: "color" },
51
+ },
52
+ },
53
+ } as Meta<typeof ApplicationBasicExample>;
54
+
55
+ const TemplateBasicExample: StoryFn<typeof ApplicationBasicExample> = (args) => (
56
+ <ApplicationContainer>
57
+ <ApplicationHeader
58
+ aria-label={"Application"}
59
+ style={
60
+ args.colorBackgroundHeader
61
+ ? ({ "--eccgui-appheader-color-background": args.colorBackgroundHeader } as CSSProperties)
62
+ : undefined
63
+ }
64
+ >
65
+ <ApplicationTitle
66
+ isNotDisplayed={!args.openMainNavigation}
67
+ isApplicationSidebarExpanded={args.openMainNavigation}
68
+ >
69
+ ApplicationName
70
+ </ApplicationTitle>
71
+ <ApplicationSidebarToggler
72
+ aria-label={args.openMainNavigation ? "Close navigation" : "Open navigation"}
73
+ isActive={args.openMainNavigation}
74
+ />
75
+ <ApplicationSidebarNavigation isRail={!args.openMainNavigation} expanded={args.openMainNavigation}>
76
+ <code>Menu</code> with <code>MenuItem</code>s.
77
+ </ApplicationSidebarNavigation>
78
+
79
+ <WorkspaceHeader id={"ApplicationBasicExample"} />
80
+
81
+ <ApplicationToolbar>
82
+ <ApplicationToolbarSection>
83
+ <Button>Action</Button>
84
+ </ApplicationToolbarSection>
85
+ {args.countNotifications && (
86
+ <ApplicationToolbarAction aria-label="Open notifications menu" isActive={false}>
87
+ <Depiction
88
+ padding="medium"
89
+ size="small"
90
+ ratio="1:1"
91
+ resizing="contain"
92
+ image={<Icon name="application-notification" title="Notification menu icon" large />}
93
+ badge={
94
+ <Badge
95
+ position={"top-right"}
96
+ intent="warning"
97
+ maxLength={2}
98
+ children={args.countNotifications}
99
+ />
100
+ }
101
+ />
102
+ </ApplicationToolbarAction>
103
+ )}
104
+ {args.openUserMenu ? (
105
+ <>
106
+ <ApplicationToolbarAction aria-label={"Close user menu"} tooltipAlignment="end" isActive={true}>
107
+ <Icon name="navigation-close" title="Close icon" large />
108
+ </ApplicationToolbarAction>
109
+ <ApplicationToolbarPanel aria-label="User menu" expanded={true}>
110
+ <code>Menu</code> with <code>MenuItem</code>s.
111
+ </ApplicationToolbarPanel>
112
+ </>
113
+ ) : (
114
+ <ApplicationToolbarAction
115
+ id={"headerUserMenu"}
116
+ aria-label={"Open user menu"}
117
+ tooltipAlignment="end"
118
+ isActive={false}
119
+ >
120
+ <Icon name="application-useraccount" title="User menu icon" large />
121
+ </ApplicationToolbarAction>
122
+ )}
123
+ </ApplicationToolbar>
124
+ </ApplicationHeader>
125
+ <ApplicationContent
126
+ isApplicationSidebarExpanded={args.openMainNavigation}
127
+ isApplicationSidebarRail={!args.openMainNavigation}
128
+ >
129
+ <LoremIpsum p={2} avgSentencesPerParagraph={4} random={false} />
130
+ </ApplicationContent>
131
+ </ApplicationContainer>
132
+ );
133
+
134
+ export const BasicExample = TemplateBasicExample.bind({});
135
+ BasicExample.args = {
136
+ openMainNavigation: false,
137
+ openUserMenu: false,
138
+ countNotifications: 234,
139
+ };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import computeScrollIntoView from "compute-scroll-into-view";
2
+ import { compute } from "compute-scroll-into-view";
3
3
 
4
4
  import { CLASSPREFIX as eccgui } from "../../configuration/constants";
5
5
 
@@ -96,7 +96,7 @@ export const AutoSuggestionList = ({
96
96
  React.useEffect(() => {
97
97
  const listIndexNode = refs[currentlyFocusedIndex];
98
98
  if (dropdownRef?.current && listIndexNode?.current) {
99
- const actions = computeScrollIntoView(listIndexNode.current, {
99
+ const actions = compute(listIndexNode.current, {
100
100
  boundary: dropdownRef.current,
101
101
  block: "nearest",
102
102
  scrollMode: "if-needed",
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { LogoReact } from "@carbon/icons-react";
3
- import { ComponentMeta, ComponentStory } from "@storybook/react";
3
+ import { Meta, StoryFn } from "@storybook/react";
4
4
 
5
5
  import { helpersArgTypes } from "../../../.storybook/helpers";
6
6
  import { Badge, Icon, TestIcon } from "../../../index";
@@ -23,9 +23,9 @@ export default {
23
23
  ...helpersArgTypes.exampleIntent,
24
24
  },
25
25
  },
26
- } as ComponentMeta<typeof Badge>;
26
+ } as Meta<typeof Badge>;
27
27
 
28
- const TemplateFull: ComponentStory<typeof Badge> = (args) => (
28
+ const TemplateFull: StoryFn<typeof Badge> = (args) => (
29
29
  <div style={{ position: "relative", border: "solid 1px", width: "10rem" }}>
30
30
  Element area <Badge {...args} />
31
31
  </div>
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { ComponentMeta, ComponentStory } from "@storybook/react";
2
+ import { Meta, StoryFn } from "@storybook/react";
3
3
 
4
4
  import { BreadcrumbItem } from "./../../../index";
5
5
 
@@ -7,9 +7,9 @@ export default {
7
7
  title: "Components/Breadcrumbs/Item",
8
8
  component: BreadcrumbItem,
9
9
  argTypes: {},
10
- } as ComponentMeta<typeof BreadcrumbItem>;
10
+ } as Meta<typeof BreadcrumbItem>;
11
11
 
12
- const Template: ComponentStory<typeof BreadcrumbItem> = (args) => <BreadcrumbItem {...args} />;
12
+ const Template: StoryFn<typeof BreadcrumbItem> = (args) => <BreadcrumbItem {...args} />;
13
13
 
14
14
  export const Default = Template.bind({});
15
15
  Default.args = {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { ComponentMeta, ComponentStory } from "@storybook/react";
2
+ import { Meta, StoryFn } from "@storybook/react";
3
3
 
4
4
  import { helpersArgTypes } from "../../../../.storybook/helpers";
5
5
  import { Card, CardActions, CardContent, CardHeader, CardOptions, CardTitle, Divider } from "../../../../index";
@@ -30,9 +30,9 @@ export default {
30
30
  description: "Elements to include into the card container.",
31
31
  },
32
32
  },
33
- } as ComponentMeta<typeof Card>;
33
+ } as Meta<typeof Card>;
34
34
 
35
- const TemplateFull: ComponentStory<typeof Card> = (args) => (
35
+ const TemplateFull: StoryFn<typeof Card> = (args) => (
36
36
  <Card {...args}>
37
37
  <CardHeader {...CardHeaderExample.args} />
38
38
  <Divider />
@@ -43,7 +43,7 @@ const TemplateFull: ComponentStory<typeof Card> = (args) => (
43
43
  );
44
44
  export const FullExample = TemplateFull.bind({});
45
45
 
46
- const TemplateSimple: ComponentStory<typeof Card> = (args) => <Card {...args} />;
46
+ const TemplateSimple: StoryFn<typeof Card> = (args) => <Card {...args} />;
47
47
  export const SimpleCard = TemplateSimple.bind({});
48
48
  SimpleCard.args = {
49
49
  children: [
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { ComponentMeta, ComponentStory } from "@storybook/react";
2
+ import { Meta, StoryFn } from "@storybook/react";
3
3
 
4
4
  import Button from "../../Button/Button";
5
5
  import { CardActions, CardActionsAux } from "../index";
@@ -19,9 +19,9 @@ export default {
19
19
  description: "Elements to include into the actions container.",
20
20
  },
21
21
  },
22
- } as ComponentMeta<typeof CardActions>;
22
+ } as Meta<typeof CardActions>;
23
23
 
24
- const Template: ComponentStory<typeof CardActions> = (args) => <CardActions {...args} />;
24
+ const Template: StoryFn<typeof CardActions> = (args) => <CardActions {...args} />;
25
25
 
26
26
  export const Default = Template.bind({});
27
27
  Default.args = {
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { LoremIpsum } from "react-lorem-ipsum";
3
- import { ComponentMeta, ComponentStory } from "@storybook/react";
3
+ import { Meta, StoryFn } from "@storybook/react";
4
4
 
5
5
  import HtmlContentBlock from "../../../components/Typography/HtmlContentBlock";
6
6
  import { CardContent } from "../index";
@@ -14,9 +14,9 @@ export default {
14
14
  description: "Elements for card content.",
15
15
  },
16
16
  },
17
- } as ComponentMeta<typeof CardContent>;
17
+ } as Meta<typeof CardContent>;
18
18
 
19
- const Template: ComponentStory<typeof CardContent> = (args) => <CardContent {...args} />;
19
+ const Template: StoryFn<typeof CardContent> = (args) => <CardContent {...args} />;
20
20
 
21
21
  export const Default = Template.bind({});
22
22
  Default.args = {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { ComponentMeta, ComponentStory } from "@storybook/react";
2
+ import { Meta, StoryFn } from "@storybook/react";
3
3
 
4
4
  import { CardHeader, CardOptions, CardTitle } from "../index";
5
5
 
@@ -19,9 +19,9 @@ export default {
19
19
  description: "Elements to include into the header.",
20
20
  },
21
21
  },
22
- } as ComponentMeta<typeof CardHeader>;
22
+ } as Meta<typeof CardHeader>;
23
23
 
24
- const Template: ComponentStory<typeof CardHeader> = (args) => <CardHeader {...args} />;
24
+ const Template: StoryFn<typeof CardHeader> = (args) => <CardHeader {...args} />;
25
25
 
26
26
  export const Default = Template.bind({});
27
27
  Default.args = {