@eccenca/gui-elements 6.3.0 → 22.0.0-rc.6

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 (710) hide show
  1. package/CHANGELOG.md +98 -880
  2. package/LICENSE +202 -0
  3. package/README.md +56 -1240
  4. package/blueprint/constants.ts +7 -0
  5. package/blueprint/toaster/index.tsx +1 -0
  6. package/dist/cmem/ActivityControl/ActivityControlTypes.d.ts +15 -0
  7. package/dist/cmem/ActivityControl/ActivityControlTypes.js +1 -0
  8. package/dist/cmem/ActivityControl/ActivityControlWidget.d.ts +32 -0
  9. package/dist/cmem/ActivityControl/ActivityControlWidget.js +92 -0
  10. package/dist/cmem/ActivityControl/ActivityControlWidget.jsx +45 -0
  11. package/dist/cmem/ActivityControl/ActivityExecutionErrorReportModal.d.ts +12 -0
  12. package/dist/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +59 -0
  13. package/dist/cmem/ActivityControl/ActivityExecutionErrorReportModal.jsx +76 -0
  14. package/dist/cmem/ActivityControl/SilkActivityControl.d.ts +62 -0
  15. package/dist/cmem/ActivityControl/SilkActivityControl.js +219 -0
  16. package/dist/cmem/ActivityControl/SilkActivityControl.jsx +217 -0
  17. package/dist/cmem/ContentBlobToggler/ContentBlobToggler.d.ts +34 -0
  18. package/dist/cmem/ContentBlobToggler/ContentBlobToggler.js +56 -0
  19. package/dist/cmem/ContentBlobToggler/ContentBlobToggler.jsx +62 -0
  20. package/dist/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.d.ts +42 -0
  21. package/dist/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +52 -0
  22. package/dist/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.jsx +17 -0
  23. package/dist/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.d.ts +15 -0
  24. package/dist/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +80 -0
  25. package/dist/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.jsx +77 -0
  26. package/dist/cmem/index.d.ts +10 -0
  27. package/dist/cmem/index.js +67 -0
  28. package/dist/cmem/markdown/Markdown.d.ts +16 -0
  29. package/dist/cmem/markdown/Markdown.js +75 -0
  30. package/dist/cmem/markdown/Markdown.jsx +87 -0
  31. package/dist/cmem/markdown/highlightSearchWords.js +84 -0
  32. package/dist/common/Intent/index.d.ts +7 -0
  33. package/dist/common/Intent/index.js +33 -0
  34. package/dist/common/utils/openInNewTab.d.ts +3 -0
  35. package/dist/common/utils/openInNewTab.js +22 -0
  36. package/dist/components/Accordion/Accordion.d.ts +3 -0
  37. package/dist/components/Accordion/Accordion.js +31 -0
  38. package/dist/components/Accordion/Accordion.jsx +21 -0
  39. package/dist/components/Accordion/AccordionItem.d.ts +15 -0
  40. package/dist/components/Accordion/AccordionItem.js +37 -0
  41. package/dist/components/Accordion/AccordionItem.jsx +27 -0
  42. package/dist/components/Application/ApplicationContainer.d.ts +6 -0
  43. package/dist/components/Application/ApplicationContainer.js +27 -0
  44. package/dist/components/Application/ApplicationContainer.jsx +20 -0
  45. package/dist/components/Application/ApplicationContent.d.ts +22 -0
  46. package/dist/components/Application/ApplicationContent.js +48 -0
  47. package/dist/components/Application/ApplicationContent.jsx +34 -0
  48. package/dist/components/Application/ApplicationHeader.d.ts +3 -0
  49. package/dist/components/Application/ApplicationHeader.js +29 -0
  50. package/dist/components/Application/ApplicationHeader.jsx +22 -0
  51. package/dist/components/Application/ApplicationSidebarNavigation.d.ts +12 -0
  52. package/dist/components/Application/ApplicationSidebarNavigation.js +36 -0
  53. package/dist/components/Application/ApplicationSidebarNavigation.jsx +22 -0
  54. package/dist/components/Application/ApplicationSidebarToggler.d.ts +3 -0
  55. package/dist/components/Application/ApplicationSidebarToggler.js +28 -0
  56. package/dist/components/Application/ApplicationSidebarToggler.jsx +19 -0
  57. package/dist/components/Application/ApplicationTitle.d.ts +40 -0
  58. package/dist/components/Application/ApplicationTitle.js +53 -0
  59. package/dist/components/Application/ApplicationTitle.jsx +39 -0
  60. package/dist/components/Application/ApplicationToolbar.d.ts +3 -0
  61. package/dist/components/Application/ApplicationToolbar.js +30 -0
  62. package/dist/components/Application/ApplicationToolbar.jsx +22 -0
  63. package/dist/components/Application/ApplicationToolbarAction.d.ts +3 -0
  64. package/dist/components/Application/ApplicationToolbarAction.js +30 -0
  65. package/dist/components/Application/ApplicationToolbarAction.jsx +22 -0
  66. package/dist/components/Application/ApplicationToolbarPanel.d.ts +3 -0
  67. package/dist/components/Application/ApplicationToolbarPanel.js +30 -0
  68. package/dist/components/Application/ApplicationToolbarPanel.jsx +22 -0
  69. package/dist/components/Application/ApplicationToolbarSection.d.ts +3 -0
  70. package/dist/components/Application/ApplicationToolbarSection.js +27 -0
  71. package/dist/components/Application/ApplicationToolbarSection.jsx +20 -0
  72. package/dist/components/AutocompleteField/AutoCompleteField.d.ts +110 -0
  73. package/dist/components/AutocompleteField/AutoCompleteField.js +309 -0
  74. package/dist/components/AutocompleteField/AutoCompleteField.jsx +295 -0
  75. package/dist/components/AutocompleteField/autoCompleteFieldUtils.js +42 -0
  76. package/dist/components/Breadcrumb/BreadcrumbItem.d.ts +5 -0
  77. package/dist/components/Breadcrumb/BreadcrumbItem.js +45 -0
  78. package/dist/components/Breadcrumb/BreadcrumbItem.jsx +30 -0
  79. package/dist/components/Breadcrumb/BreadcrumbList.d.ts +24 -0
  80. package/dist/components/Breadcrumb/BreadcrumbList.js +60 -0
  81. package/dist/components/Breadcrumb/BreadcrumbList.jsx +35 -0
  82. package/dist/components/Button/Button.d.ts +58 -0
  83. package/dist/components/Button/Button.js +84 -0
  84. package/dist/components/Button/Button.jsx +48 -0
  85. package/dist/components/Card/Card.d.ts +23 -0
  86. package/dist/components/Card/Card.js +44 -0
  87. package/dist/components/Card/Card.jsx +31 -0
  88. package/dist/components/Card/CardActions.d.ts +14 -0
  89. package/dist/components/Card/CardActions.js +33 -0
  90. package/dist/components/Card/CardActions.jsx +27 -0
  91. package/dist/components/Card/CardActionsAux.d.ts +9 -0
  92. package/dist/components/Card/CardActionsAux.js +32 -0
  93. package/dist/components/Card/CardActionsAux.jsx +26 -0
  94. package/dist/components/Card/CardContent.d.ts +9 -0
  95. package/dist/components/Card/CardContent.js +32 -0
  96. package/dist/components/Card/CardContent.jsx +25 -0
  97. package/dist/components/Card/CardHeader.d.ts +7 -0
  98. package/dist/components/Card/CardHeader.js +52 -0
  99. package/dist/components/Card/CardHeader.jsx +41 -0
  100. package/dist/components/Card/CardOptions.d.ts +11 -0
  101. package/dist/components/Card/CardOptions.js +35 -0
  102. package/dist/components/Card/CardOptions.jsx +28 -0
  103. package/dist/components/Card/CardTitle.d.ts +13 -0
  104. package/dist/components/Card/CardTitle.js +37 -0
  105. package/dist/components/Card/CardTitle.jsx +26 -0
  106. package/dist/components/Card/index.d.ts +8 -0
  107. package/dist/components/Card/index.js +63 -0
  108. package/dist/components/Card/index.jsx +8 -0
  109. package/dist/components/Checkbox/Checkbox.d.ts +3 -0
  110. package/dist/components/Checkbox/Checkbox.js +30 -0
  111. package/dist/components/Checkbox/Checkbox.jsx +22 -0
  112. package/dist/components/ContextOverlay/ContextMenu.d.ts +3 -0
  113. package/dist/components/ContextOverlay/ContextMenu.js +48 -0
  114. package/dist/components/ContextOverlay/ContextMenu.jsx +30 -0
  115. package/dist/components/ContextOverlay/ContextOverlay.d.ts +3 -0
  116. package/dist/components/ContextOverlay/ContextOverlay.js +37 -0
  117. package/dist/components/ContextOverlay/ContextOverlay.jsx +27 -0
  118. package/dist/components/Dialog/AlertDialog.d.ts +22 -0
  119. package/dist/components/Dialog/AlertDialog.js +56 -0
  120. package/dist/components/Dialog/AlertDialog.jsx +39 -0
  121. package/dist/components/Dialog/Modal.d.ts +25 -0
  122. package/dist/components/Dialog/Modal.js +67 -0
  123. package/dist/components/Dialog/Modal.jsx +49 -0
  124. package/dist/components/Dialog/SimpleDialog.d.ts +41 -0
  125. package/dist/components/Dialog/SimpleDialog.js +62 -0
  126. package/dist/components/Dialog/SimpleDialog.jsx +50 -0
  127. package/dist/components/Form/FieldItem.d.ts +16 -0
  128. package/dist/components/Form/FieldItem.js +82 -0
  129. package/dist/components/Form/FieldItem.jsx +48 -0
  130. package/dist/components/Form/FieldItemRow.d.ts +3 -0
  131. package/dist/components/Form/FieldItemRow.js +30 -0
  132. package/dist/components/Form/FieldItemRow.jsx +23 -0
  133. package/dist/components/Form/FieldSet.d.ts +3 -0
  134. package/dist/components/Form/FieldSet.js +73 -0
  135. package/dist/components/Form/FieldSet.jsx +49 -0
  136. package/dist/components/Grid/Grid.d.ts +3 -0
  137. package/dist/components/Grid/Grid.js +33 -0
  138. package/dist/components/Grid/Grid.jsx +25 -0
  139. package/dist/components/Grid/GridColumn.d.ts +3 -0
  140. package/dist/components/Grid/GridColumn.js +43 -0
  141. package/dist/components/Grid/GridColumn.jsx +29 -0
  142. package/dist/components/Grid/GridRow.d.ts +3 -0
  143. package/dist/components/Grid/GridRow.js +33 -0
  144. package/dist/components/Grid/GridRow.jsx +26 -0
  145. package/dist/components/Icon/Icon.d.ts +20 -0
  146. package/dist/components/Icon/Icon.js +91 -0
  147. package/dist/components/Icon/Icon.jsx +88 -0
  148. package/dist/components/Icon/IconButton.d.ts +17 -0
  149. package/dist/components/Icon/IconButton.js +49 -0
  150. package/dist/components/Icon/IconButton.jsx +21 -0
  151. package/dist/components/Icon/canonicalIconNames.d.ts +10 -0
  152. package/dist/components/Icon/canonicalIconNames.js +547 -0
  153. package/dist/components/Icon/canonicalIconNames.jsx +534 -0
  154. package/dist/components/Iframe/Iframe.d.ts +18 -0
  155. package/dist/components/Iframe/Iframe.js +92 -0
  156. package/dist/components/Iframe/Iframe.jsx +79 -0
  157. package/dist/components/Iframe/IframeModal.d.ts +12 -0
  158. package/dist/components/Iframe/IframeModal.js +66 -0
  159. package/dist/components/Iframe/IframeModal.jsx +49 -0
  160. package/dist/components/Label/Label.d.ts +3 -0
  161. package/dist/components/Label/Label.js +58 -0
  162. package/dist/components/Label/Label.jsx +32 -0
  163. package/dist/components/Link/Link.d.ts +3 -0
  164. package/dist/components/Link/Link.js +36 -0
  165. package/dist/components/Link/Link.jsx +22 -0
  166. package/dist/components/List/List.d.ts +17 -0
  167. package/dist/components/List/List.js +50 -0
  168. package/dist/components/List/List.jsx +44 -0
  169. package/dist/components/Menu/Menu.d.ts +3 -0
  170. package/dist/components/Menu/Menu.js +29 -0
  171. package/dist/components/Menu/Menu.jsx +19 -0
  172. package/dist/components/Menu/MenuDivider.d.ts +3 -0
  173. package/dist/components/Menu/MenuDivider.js +29 -0
  174. package/dist/components/Menu/MenuDivider.jsx +19 -0
  175. package/dist/components/Menu/MenuItem.d.ts +13 -0
  176. package/dist/components/Menu/MenuItem.js +45 -0
  177. package/dist/components/Menu/MenuItem.jsx +27 -0
  178. package/dist/components/Notification/Notification.d.ts +3 -0
  179. package/dist/components/Notification/Notification.js +79 -0
  180. package/dist/components/Notification/Notification.jsx +48 -0
  181. package/dist/components/Notification/Toast.d.ts +3 -0
  182. package/dist/components/Notification/Toast.js +31 -0
  183. package/dist/components/Notification/Toast.jsx +21 -0
  184. package/dist/components/NumericInput/NumericInput.d.ts +4 -0
  185. package/dist/components/NumericInput/NumericInput.js +14 -0
  186. package/dist/components/NumericInput/NumericInput.jsx +3 -0
  187. package/dist/components/OverviewItem/OverviewItem.d.ts +17 -0
  188. package/dist/components/OverviewItem/OverviewItem.js +45 -0
  189. package/dist/components/OverviewItem/OverviewItem.jsx +37 -0
  190. package/dist/components/OverviewItem/OverviewItemActions.d.ts +13 -0
  191. package/dist/components/OverviewItem/OverviewItemActions.js +32 -0
  192. package/dist/components/OverviewItem/OverviewItemActions.jsx +26 -0
  193. package/dist/components/OverviewItem/OverviewItemDepiction.d.ts +6 -0
  194. package/dist/components/OverviewItem/OverviewItemDepiction.js +28 -0
  195. package/dist/components/OverviewItem/OverviewItemDepiction.jsx +22 -0
  196. package/dist/components/OverviewItem/OverviewItemDescription.d.ts +3 -0
  197. package/dist/components/OverviewItem/OverviewItemDescription.js +27 -0
  198. package/dist/components/OverviewItem/OverviewItemDescription.jsx +20 -0
  199. package/dist/components/OverviewItem/OverviewItemLine.d.ts +19 -0
  200. package/dist/components/OverviewItem/OverviewItemLine.js +35 -0
  201. package/dist/components/OverviewItem/OverviewItemLine.jsx +29 -0
  202. package/dist/components/OverviewItem/OverviewItemList.d.ts +26 -0
  203. package/dist/components/OverviewItem/OverviewItemList.js +38 -0
  204. package/dist/components/OverviewItem/OverviewItemList.jsx +31 -0
  205. package/dist/components/OverviewItem/index.d.ts +7 -0
  206. package/dist/components/OverviewItem/index.js +55 -0
  207. package/dist/components/OverviewItem/index.jsx +7 -0
  208. package/dist/components/Pagination/Pagination.d.ts +17 -0
  209. package/dist/components/Pagination/Pagination.js +80 -0
  210. package/dist/components/Pagination/Pagination.jsx +81 -0
  211. package/dist/components/ProgressBar/ProgressBar.d.ts +3 -0
  212. package/dist/components/ProgressBar/ProgressBar.js +12 -0
  213. package/dist/components/ProgressBar/ProgressBar.jsx +3 -0
  214. package/dist/components/PropertyValuePair/PropertyName.d.ts +3 -0
  215. package/dist/components/PropertyValuePair/PropertyName.js +32 -0
  216. package/dist/components/PropertyValuePair/PropertyName.jsx +21 -0
  217. package/dist/components/PropertyValuePair/PropertyValue.d.ts +3 -0
  218. package/dist/components/PropertyValuePair/PropertyValue.js +27 -0
  219. package/dist/components/PropertyValuePair/PropertyValue.jsx +20 -0
  220. package/dist/components/PropertyValuePair/PropertyValueList.d.ts +3 -0
  221. package/dist/components/PropertyValuePair/PropertyValueList.js +27 -0
  222. package/dist/components/PropertyValuePair/PropertyValueList.jsx +20 -0
  223. package/dist/components/PropertyValuePair/PropertyValuePair.d.ts +3 -0
  224. package/dist/components/PropertyValuePair/PropertyValuePair.js +29 -0
  225. package/dist/components/PropertyValuePair/PropertyValuePair.jsx +23 -0
  226. package/dist/components/PropertyValuePair/index.d.ts +5 -0
  227. package/dist/components/PropertyValuePair/index.js +39 -0
  228. package/dist/components/PropertyValuePair/index.jsx +5 -0
  229. package/dist/components/RadioButton/RadioButton.d.ts +3 -0
  230. package/dist/components/RadioButton/RadioButton.js +30 -0
  231. package/dist/components/RadioButton/RadioButton.jsx +22 -0
  232. package/dist/components/Separation/Divider.d.ts +3 -0
  233. package/dist/components/Separation/Divider.js +23 -0
  234. package/dist/components/Separation/Divider.jsx +7 -0
  235. package/dist/components/Separation/Spacing.d.ts +9 -0
  236. package/dist/components/Separation/Spacing.js +27 -0
  237. package/dist/components/Separation/Spacing.jsx +11 -0
  238. package/dist/components/SimpleTable/TableContainer.d.ts +3 -0
  239. package/dist/components/SimpleTable/TableContainer.js +37 -0
  240. package/dist/components/SimpleTable/TableContainer.jsx +27 -0
  241. package/dist/components/SimpleTable/index.d.ts +3 -0
  242. package/dist/components/SimpleTable/index.js +53 -0
  243. package/dist/components/SimpleTable/index.jsx +3 -0
  244. package/dist/components/Spinner/Spinner.d.ts +19 -0
  245. package/dist/components/Spinner/Spinner.js +98 -0
  246. package/dist/components/Spinner/Spinner.jsx +83 -0
  247. package/dist/components/Structure/Section.d.ts +3 -0
  248. package/dist/components/Structure/Section.js +27 -0
  249. package/dist/components/Structure/Section.jsx +20 -0
  250. package/dist/components/Structure/SectionHeader.d.ts +3 -0
  251. package/dist/components/Structure/SectionHeader.js +27 -0
  252. package/dist/components/Structure/SectionHeader.jsx +20 -0
  253. package/dist/components/Structure/TitleMainsection.d.ts +3 -0
  254. package/dist/components/Structure/TitleMainsection.js +35 -0
  255. package/dist/components/Structure/TitleMainsection.jsx +26 -0
  256. package/dist/components/Structure/TitlePage.d.ts +3 -0
  257. package/dist/components/Structure/TitlePage.js +35 -0
  258. package/dist/components/Structure/TitlePage.jsx +26 -0
  259. package/dist/components/Structure/TitleSubsection.d.ts +3 -0
  260. package/dist/components/Structure/TitleSubsection.js +32 -0
  261. package/dist/components/Structure/TitleSubsection.jsx +23 -0
  262. package/dist/components/Switch/Switch.d.ts +4 -0
  263. package/dist/components/Switch/Switch.js +39 -0
  264. package/dist/components/Switch/Switch.jsx +22 -0
  265. package/dist/components/Tabs/Tabs.d.ts +24 -0
  266. package/dist/components/Tabs/Tabs.js +95 -0
  267. package/dist/components/Tabs/Tabs.jsx +49 -0
  268. package/dist/components/Tag/Tag.d.ts +27 -0
  269. package/dist/components/Tag/Tag.js +50 -0
  270. package/dist/components/Tag/Tag.jsx +46 -0
  271. package/dist/components/Tag/TagList.d.ts +3 -0
  272. package/dist/components/Tag/TagList.js +44 -0
  273. package/dist/components/Tag/TagList.jsx +38 -0
  274. package/dist/components/TextField/SearchField.d.ts +23 -0
  275. package/dist/components/TextField/SearchField.js +54 -0
  276. package/dist/components/TextField/SearchField.jsx +27 -0
  277. package/dist/components/TextField/TextArea.d.ts +22 -0
  278. package/dist/components/TextField/TextArea.js +60 -0
  279. package/dist/components/TextField/TextArea.jsx +36 -0
  280. package/dist/components/TextField/TextField.d.ts +34 -0
  281. package/dist/components/TextField/TextField.js +73 -0
  282. package/dist/components/TextField/TextField.jsx +40 -0
  283. package/dist/components/Toolbar/Toolbar.d.ts +18 -0
  284. package/dist/components/Toolbar/Toolbar.js +32 -0
  285. package/dist/components/Toolbar/Toolbar.jsx +26 -0
  286. package/dist/components/Toolbar/ToolbarSection.d.ts +22 -0
  287. package/dist/components/Toolbar/ToolbarSection.js +34 -0
  288. package/dist/components/Toolbar/ToolbarSection.jsx +28 -0
  289. package/dist/components/Tooltip/Tooltip.d.ts +17 -0
  290. package/dist/components/Tooltip/Tooltip.js +40 -0
  291. package/dist/components/Tooltip/Tooltip.jsx +25 -0
  292. package/dist/components/Typography/Highlighter.d.ts +18 -0
  293. package/dist/components/Typography/Highlighter.js +89 -0
  294. package/dist/components/Typography/Highlighter.jsx +58 -0
  295. package/dist/components/Typography/HtmlContentBlock.d.ts +6 -0
  296. package/dist/components/Typography/HtmlContentBlock.js +38 -0
  297. package/dist/components/Typography/HtmlContentBlock.jsx +31 -0
  298. package/dist/components/Typography/OverflowText.d.ts +12 -0
  299. package/dist/components/Typography/OverflowText.js +34 -0
  300. package/dist/components/Typography/OverflowText.jsx +31 -0
  301. package/dist/components/Typography/WhiteSpaceContainer.d.ts +5 -0
  302. package/dist/components/Typography/WhiteSpaceContainer.js +38 -0
  303. package/dist/components/Typography/WhiteSpaceContainer.jsx +34 -0
  304. package/dist/components/Typography/classnames.d.ts +7 -0
  305. package/dist/components/Typography/classnames.js +24 -0
  306. package/dist/components/Workspace/WorkspaceContent.d.ts +3 -0
  307. package/dist/components/Workspace/WorkspaceContent.js +34 -0
  308. package/dist/components/Workspace/WorkspaceContent.jsx +25 -0
  309. package/dist/components/Workspace/WorkspaceHeader.d.ts +10 -0
  310. package/dist/components/Workspace/WorkspaceHeader.js +27 -0
  311. package/dist/components/Workspace/WorkspaceHeader.jsx +20 -0
  312. package/dist/components/Workspace/WorkspaceMain.d.ts +3 -0
  313. package/dist/components/Workspace/WorkspaceMain.js +30 -0
  314. package/dist/components/Workspace/WorkspaceMain.jsx +22 -0
  315. package/dist/components/Workspace/WorkspaceSide.d.ts +3 -0
  316. package/dist/components/Workspace/WorkspaceSide.js +34 -0
  317. package/dist/components/Workspace/WorkspaceSide.jsx +22 -0
  318. package/dist/components/interfaces.d.ts +3 -0
  319. package/dist/components/interfaces.js +1 -0
  320. package/dist/configuration/constants.d.ts +1 -0
  321. package/dist/configuration/constants.js +9 -0
  322. package/dist/extensions/react-flow/edges/EdgeDefault.d.ts +10 -0
  323. package/dist/extensions/react-flow/edges/EdgeDefault.js +62 -0
  324. package/dist/extensions/react-flow/edges/EdgeDefault.jsx +45 -0
  325. package/dist/extensions/react-flow/edges/EdgeStep.d.ts +9 -0
  326. package/dist/extensions/react-flow/edges/EdgeStep.js +27 -0
  327. package/dist/extensions/react-flow/edges/EdgeStep.jsx +6 -0
  328. package/dist/extensions/react-flow/edges/EdgeTools.d.ts +12 -0
  329. package/dist/extensions/react-flow/edges/EdgeTools.js +48 -0
  330. package/dist/extensions/react-flow/edges/EdgeTools.jsx +32 -0
  331. package/dist/extensions/react-flow/edges/edgeTypes.d.ts +15 -0
  332. package/dist/extensions/react-flow/edges/edgeTypes.js +32 -0
  333. package/dist/extensions/react-flow/edges/utils.d.ts +4 -0
  334. package/dist/extensions/react-flow/edges/utils.js +41 -0
  335. package/dist/extensions/react-flow/handles/HandleContent.d.ts +6 -0
  336. package/dist/extensions/react-flow/handles/HandleContent.js +40 -0
  337. package/dist/extensions/react-flow/handles/HandleContent.jsx +15 -0
  338. package/dist/extensions/react-flow/handles/HandleDefault.d.ts +9 -0
  339. package/dist/extensions/react-flow/handles/HandleDefault.js +33 -0
  340. package/dist/extensions/react-flow/handles/HandleDefault.jsx +23 -0
  341. package/dist/extensions/react-flow/index.d.ts +14 -0
  342. package/dist/extensions/react-flow/index.js +83 -0
  343. package/dist/extensions/react-flow/minimap/MiniMap.d.ts +8 -0
  344. package/dist/extensions/react-flow/minimap/MiniMap.js +111 -0
  345. package/dist/extensions/react-flow/minimap/MiniMap.jsx +83 -0
  346. package/dist/extensions/react-flow/minimap/utils.d.ts +2 -0
  347. package/dist/extensions/react-flow/minimap/utils.js +29 -0
  348. package/dist/extensions/react-flow/nodes/NodeContentExtension.js +56 -0
  349. package/dist/extensions/react-flow/nodes/NodeDefault.d.ts +133 -0
  350. package/dist/extensions/react-flow/nodes/NodeDefault.js +223 -0
  351. package/dist/extensions/react-flow/nodes/NodeDefault.jsx +175 -0
  352. package/dist/extensions/react-flow/nodes/NodeTools.d.ts +9 -0
  353. package/dist/extensions/react-flow/nodes/NodeTools.js +58 -0
  354. package/dist/extensions/react-flow/nodes/NodeTools.jsx +46 -0
  355. package/dist/extensions/react-flow/nodes/nodeTypes.d.ts +13 -0
  356. package/dist/extensions/react-flow/nodes/nodeTypes.js +22 -0
  357. package/dist/index.d.ts +92 -0
  358. package/dist/index.js +876 -0
  359. package/dist/legacy-replacements/Button/AffirmativeButton.js +23 -0
  360. package/dist/legacy-replacements/Button/Button.js +91 -0
  361. package/dist/legacy-replacements/Button/DismissiveButton.js +23 -0
  362. package/dist/legacy-replacements/Button/DisruptiveButton.js +23 -0
  363. package/dist/legacy-replacements/Checkbox/Checkbox.js +66 -0
  364. package/dist/legacy-replacements/Radio/RadioButton.js +48 -0
  365. package/dist/legacy-replacements/TextField/TextField.js +96 -0
  366. package/package.json +151 -70
  367. package/src/_shame.scss +111 -0
  368. package/src/cmem/ActivityControl/ActivityControlTypes.ts +28 -0
  369. package/src/cmem/ActivityControl/ActivityControlWidget.tsx +165 -0
  370. package/src/cmem/ActivityControl/ActivityExecutionErrorReportModal.tsx +55 -0
  371. package/src/cmem/ActivityControl/SilkActivityControl.tsx +303 -0
  372. package/src/cmem/ActivityControl/activitycontrol.scss +27 -0
  373. package/src/cmem/ContentBlobToggler/ContentBlobToggler.tsx +95 -0
  374. package/src/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.tsx +76 -0
  375. package/src/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.tsx +69 -0
  376. package/src/cmem/DateTimeDisplay/tests/ElapsedDateTimeDisplay.test.tsx +29 -0
  377. package/src/cmem/_index.scss +2 -0
  378. package/src/cmem/index.ts +35 -0
  379. package/src/cmem/markdown/Markdown.tsx +89 -0
  380. package/src/cmem/markdown/highlightSearchWords.test.ts +36 -0
  381. package/src/cmem/markdown/highlightSearchWords.ts +67 -0
  382. package/src/cmem/markdown/markdown.scss +32 -0
  383. package/src/common/Intent/index.ts +23 -0
  384. package/src/common/utils/openInNewTab.ts +17 -0
  385. package/src/components/Accordion/Accordion.tsx +13 -0
  386. package/src/components/Accordion/AccordionItem.tsx +73 -0
  387. package/src/components/Accordion/accordion.scss +96 -0
  388. package/src/components/Application/ApplicationContainer.tsx +21 -0
  389. package/src/components/Application/ApplicationContent.tsx +57 -0
  390. package/src/components/Application/ApplicationHeader.tsx +14 -0
  391. package/src/components/Application/ApplicationSidebarNavigation.tsx +39 -0
  392. package/src/components/Application/ApplicationSidebarToggler.tsx +15 -0
  393. package/src/components/Application/ApplicationTitle.tsx +95 -0
  394. package/src/components/Application/ApplicationToolbar.tsx +17 -0
  395. package/src/components/Application/ApplicationToolbarAction.tsx +17 -0
  396. package/src/components/Application/ApplicationToolbarPanel.tsx +17 -0
  397. package/src/components/Application/ApplicationToolbarSection.tsx +15 -0
  398. package/src/components/Application/_config.scss +40 -0
  399. package/src/components/Application/_content.scss +27 -0
  400. package/src/components/Application/_header.scss +237 -0
  401. package/src/components/Application/_sidebar.scss +37 -0
  402. package/src/components/Application/_toolbar.scss +75 -0
  403. package/src/components/Application/application.scss +9 -0
  404. package/src/components/AutocompleteField/AutoCompleteField.tsx +399 -0
  405. package/src/components/AutocompleteField/autoCompleteFieldUtils.tsx +32 -0
  406. package/src/components/AutocompleteField/autocompletefield.scss +6 -0
  407. package/src/components/Breadcrumb/BreadcrumbItem.tsx +46 -0
  408. package/src/components/Breadcrumb/BreadcrumbList.tsx +81 -0
  409. package/src/components/Breadcrumb/breadcrumb.scss +47 -0
  410. package/src/components/Button/Button.stories.tsx +199 -0
  411. package/src/components/Button/Button.test.tsx +37 -0
  412. package/src/components/Button/Button.tsx +127 -0
  413. package/src/components/Button/button.scss +55 -0
  414. package/src/components/Card/Card.tsx +58 -0
  415. package/src/components/Card/CardActions.tsx +36 -0
  416. package/src/components/Card/CardActionsAux.tsx +29 -0
  417. package/src/components/Card/CardContent.tsx +26 -0
  418. package/src/components/Card/CardHeader.tsx +44 -0
  419. package/src/components/Card/CardOptions.tsx +32 -0
  420. package/src/components/Card/CardTitle.tsx +32 -0
  421. package/src/components/Card/card.scss +138 -0
  422. package/src/components/Card/index.tsx +17 -0
  423. package/src/components/Card/stories/Card.stories.tsx +82 -0
  424. package/src/components/Card/stories/CardActions.stories.tsx +41 -0
  425. package/src/components/Card/stories/CardContent.stories.tsx +28 -0
  426. package/src/components/Card/stories/CardHeader.stories.tsx +38 -0
  427. package/src/components/Card/stories/CardOptions.stories.tsx +27 -0
  428. package/src/components/Card/stories/CardTitle.stories.tsx +27 -0
  429. package/src/components/Checkbox/Checkbox.tsx +20 -0
  430. package/src/components/Checkbox/checkbox.scss +61 -0
  431. package/src/components/ContextOverlay/ContextMenu.tsx +36 -0
  432. package/src/components/ContextOverlay/ContextOverlay.tsx +29 -0
  433. package/src/components/ContextOverlay/contextoverlay.scss +15 -0
  434. package/src/components/Dialog/AlertDialog.tsx +52 -0
  435. package/src/components/Dialog/Modal.tsx +86 -0
  436. package/src/components/Dialog/SimpleDialog.tsx +113 -0
  437. package/src/components/Dialog/dialog.scss +75 -0
  438. package/src/components/Dialog/stories/AlertDialog.stories.tsx +42 -0
  439. package/src/components/Dialog/stories/Modal.stories.tsx +88 -0
  440. package/src/components/Dialog/stories/SimpleDialog.stories.tsx +39 -0
  441. package/src/components/Form/FieldItem.tsx +95 -0
  442. package/src/components/Form/FieldItemRow.tsx +14 -0
  443. package/src/components/Form/FieldSet.tsx +71 -0
  444. package/src/components/Form/form.scss +159 -0
  445. package/src/components/Grid/Grid.tsx +29 -0
  446. package/src/components/Grid/GridColumn.tsx +33 -0
  447. package/src/components/Grid/GridRow.tsx +30 -0
  448. package/src/components/Grid/grid.scss +89 -0
  449. package/src/components/Icon/Icon.tsx +96 -0
  450. package/src/components/Icon/IconButton.tsx +59 -0
  451. package/src/components/Icon/canonicalIconNames.json +120 -0
  452. package/src/components/Icon/canonicalIconNames.tsx +661 -0
  453. package/src/components/Icon/icon.scss +40 -0
  454. package/src/components/Iframe/Iframe.tsx +89 -0
  455. package/src/components/Iframe/IframeModal.tsx +77 -0
  456. package/src/components/Iframe/iframe.scss +49 -0
  457. package/src/components/Label/Label.tsx +43 -0
  458. package/src/components/Label/label.scss +75 -0
  459. package/src/components/Link/Link.tsx +19 -0
  460. package/src/components/Link/link.scss +6 -0
  461. package/src/components/List/List.tsx +46 -0
  462. package/src/components/Menu/Menu.tsx +9 -0
  463. package/src/components/Menu/MenuDivider.tsx +9 -0
  464. package/src/components/Menu/MenuItem.tsx +46 -0
  465. package/src/components/Menu/menu.scss +79 -0
  466. package/src/components/Notification/Notification.tsx +69 -0
  467. package/src/components/Notification/Toast.tsx +17 -0
  468. package/src/components/Notification/notification.scss +83 -0
  469. package/src/components/NumericInput/NumericInput.tsx +4 -0
  470. package/src/components/OverviewItem/OverviewItem.tsx +61 -0
  471. package/src/components/OverviewItem/OverviewItemActions.tsx +35 -0
  472. package/src/components/OverviewItem/OverviewItemDepiction.tsx +29 -0
  473. package/src/components/OverviewItem/OverviewItemDescription.tsx +16 -0
  474. package/src/components/OverviewItem/OverviewItemLine.tsx +43 -0
  475. package/src/components/OverviewItem/OverviewItemList.tsx +58 -0
  476. package/src/components/OverviewItem/index.tsx +15 -0
  477. package/src/components/OverviewItem/overviewitem.scss +193 -0
  478. package/src/components/OverviewItem/stories/OverviewItem.stories.tsx +56 -0
  479. package/src/components/OverviewItem/stories/OverviewItemActions.stories.tsx +31 -0
  480. package/src/components/OverviewItem/stories/OverviewItemDepiction.stories.tsx +26 -0
  481. package/src/components/OverviewItem/stories/OverviewItemDescription.stories.tsx +32 -0
  482. package/src/components/OverviewItem/stories/OverviewItemLine.stories.tsx +25 -0
  483. package/src/components/OverviewItem/stories/OverviewItemList.stories.tsx +41 -0
  484. package/src/components/Pagination/Pagination.tsx +80 -0
  485. package/src/components/Pagination/pagination.scss +47 -0
  486. package/src/components/ProgressBar/ProgressBar.tsx +8 -0
  487. package/src/components/PropertyValuePair/PropertyName.tsx +13 -0
  488. package/src/components/PropertyValuePair/PropertyValue.tsx +12 -0
  489. package/src/components/PropertyValuePair/PropertyValueList.tsx +12 -0
  490. package/src/components/PropertyValuePair/PropertyValuePair.tsx +20 -0
  491. package/src/components/PropertyValuePair/index.tsx +6 -0
  492. package/src/components/PropertyValuePair/propertyvalue.scss +56 -0
  493. package/src/components/RadioButton/RadioButton.tsx +20 -0
  494. package/src/components/RadioButton/radiobutton.scss +29 -0
  495. package/src/components/Separation/Divider.tsx +8 -0
  496. package/src/components/Separation/Spacing.tsx +25 -0
  497. package/src/components/Separation/separation.scss +77 -0
  498. package/src/components/SimpleTable/TableContainer.tsx +20 -0
  499. package/src/components/SimpleTable/index.tsx +4 -0
  500. package/src/components/SimpleTable/simpletable.scss +121 -0
  501. package/src/components/Spinner/Spinner.tsx +113 -0
  502. package/src/components/Spinner/spinner.scss +85 -0
  503. package/src/components/Structure/Section.tsx +15 -0
  504. package/src/components/Structure/SectionHeader.tsx +15 -0
  505. package/src/components/Structure/TitleMainsection.tsx +29 -0
  506. package/src/components/Structure/TitlePage.tsx +29 -0
  507. package/src/components/Structure/TitleSubsection.tsx +16 -0
  508. package/src/components/Structure/_titles.scss +56 -0
  509. package/src/components/Switch/Switch.tsx +17 -0
  510. package/src/components/Switch/switch.scss +4 -0
  511. package/src/components/Tabs/Tabs.tsx +121 -0
  512. package/src/components/Tabs/tabs.scss +65 -0
  513. package/src/components/Tag/Tag.stories.tsx +41 -0
  514. package/src/components/Tag/Tag.tsx +84 -0
  515. package/src/components/Tag/TagList.tsx +51 -0
  516. package/src/components/Tag/tag.scss +132 -0
  517. package/src/components/TagInput/taginput.scss +1 -0
  518. package/src/components/TextField/SearchField.tsx +71 -0
  519. package/src/components/TextField/TextArea.tsx +66 -0
  520. package/src/components/TextField/TextField.tsx +96 -0
  521. package/src/components/TextField/stories/SearchField.stories.tsx +40 -0
  522. package/src/components/TextField/stories/TextArea.stories.tsx +39 -0
  523. package/src/components/TextField/stories/TextField.stories.tsx +99 -0
  524. package/src/components/TextField/textfield.scss +63 -0
  525. package/src/components/Toolbar/Toolbar.stories.tsx +41 -0
  526. package/src/components/Toolbar/Toolbar.tsx +42 -0
  527. package/src/components/Toolbar/ToolbarSection.tsx +48 -0
  528. package/src/components/Toolbar/toolbar.scss +52 -0
  529. package/src/components/Tooltip/Tooltip.tsx +53 -0
  530. package/src/components/Tooltip/tooltip.scss +37 -0
  531. package/src/components/Typography/Highlighter.tsx +70 -0
  532. package/src/components/Typography/HtmlContentBlock.tsx +30 -0
  533. package/src/components/Typography/OverflowText.tsx +46 -0
  534. package/src/components/Typography/WhiteSpaceContainer.tsx +41 -0
  535. package/src/components/Typography/_reset.scss +36 -0
  536. package/src/components/Typography/classnames.ts +10 -0
  537. package/src/components/Typography/typography.scss +282 -0
  538. package/src/components/Workspace/WorkspaceContent.tsx +22 -0
  539. package/src/components/Workspace/WorkspaceHeader.tsx +20 -0
  540. package/src/components/Workspace/WorkspaceMain.tsx +14 -0
  541. package/src/components/Workspace/WorkspaceSide.tsx +18 -0
  542. package/src/components/Workspace/_header.scss +9 -0
  543. package/src/components/Workspace/workspace.scss +1 -0
  544. package/src/components/interfaces.ts +3 -0
  545. package/src/configuration/_variables.scss +130 -0
  546. package/src/configuration/constants.ts +2 -0
  547. package/src/extensions/_index.scss +1 -0
  548. package/src/extensions/react-flow/_config.scss +16 -0
  549. package/src/extensions/react-flow/_react-flow.scss +5 -0
  550. package/src/extensions/react-flow/edges/EdgeDefault.tsx +77 -0
  551. package/src/extensions/react-flow/edges/EdgeStep.tsx +19 -0
  552. package/src/extensions/react-flow/edges/EdgeTools.tsx +39 -0
  553. package/src/extensions/react-flow/edges/_edges.scss +181 -0
  554. package/src/extensions/react-flow/edges/edgeTypes.ts +24 -0
  555. package/src/extensions/react-flow/edges/utils.ts +32 -0
  556. package/src/extensions/react-flow/handles/HandleContent.tsx +39 -0
  557. package/src/extensions/react-flow/handles/HandleDefault.tsx +29 -0
  558. package/src/extensions/react-flow/handles/_handles.scss +208 -0
  559. package/src/extensions/react-flow/index.ts +15 -0
  560. package/src/extensions/react-flow/minimap/MiniMap.tsx +110 -0
  561. package/src/extensions/react-flow/minimap/_minimap.scss +79 -0
  562. package/src/extensions/react-flow/minimap/utils.ts +13 -0
  563. package/src/extensions/react-flow/nodes/NodeContent.stories.tsx +83 -0
  564. package/src/extensions/react-flow/nodes/NodeContentExtension.stories.tsx +36 -0
  565. package/src/extensions/react-flow/nodes/NodeContentExtension.tsx +87 -0
  566. package/src/extensions/react-flow/nodes/NodeDefault.stories.tsx +138 -0
  567. package/src/extensions/react-flow/nodes/NodeDefault.tsx +376 -0
  568. package/src/extensions/react-flow/nodes/NodeTools.tsx +48 -0
  569. package/src/extensions/react-flow/nodes/_nodes.scss +490 -0
  570. package/src/extensions/react-flow/nodes/nodeTypes.ts +14 -0
  571. package/src/includes/blueprintjs/_variables.scss +195 -0
  572. package/src/includes/carbon-components/_variables.scss +107 -0
  573. package/src/index.scss +190 -0
  574. package/src/index.ts +238 -0
  575. package/src/legacy-replacements/Button/AffirmativeButton.tsx +16 -0
  576. package/src/legacy-replacements/Button/Button.tsx +73 -0
  577. package/src/legacy-replacements/Button/DismissiveButton.tsx +16 -0
  578. package/src/legacy-replacements/Button/DisruptiveButton.tsx +16 -0
  579. package/src/legacy-replacements/Checkbox/Checkbox.tsx +54 -0
  580. package/src/legacy-replacements/Radio/RadioButton.tsx +38 -0
  581. package/src/legacy-replacements/TextField/TextField.tsx +90 -0
  582. package/src/test/setupTests.js +2 -0
  583. package/.cached-fonts +0 -1
  584. package/Ruleset.md +0 -93
  585. package/additionalLicenses.yml +0 -21
  586. package/buildConfig.js +0 -25
  587. package/dist/fonts/iconfont/MaterialIcons-Regular.woff +0 -0
  588. package/dist/fonts/iconfont/MaterialIcons-Regular.woff2 +0 -0
  589. package/dist/fonts/iconfont/codepoints +0 -932
  590. package/dist/fonts/roboto/Black/Roboto-Black.woff +0 -0
  591. package/dist/fonts/roboto/Black/Roboto-Black.woff2 +0 -0
  592. package/dist/fonts/roboto/BlackItalic/Roboto-BlackItalic.woff +0 -0
  593. package/dist/fonts/roboto/BlackItalic/Roboto-BlackItalic.woff2 +0 -0
  594. package/dist/fonts/roboto/Bold/Roboto-Bold.woff +0 -0
  595. package/dist/fonts/roboto/Bold/Roboto-Bold.woff2 +0 -0
  596. package/dist/fonts/roboto/BoldItalic/Roboto-BoldItalic.woff +0 -0
  597. package/dist/fonts/roboto/BoldItalic/Roboto-BoldItalic.woff2 +0 -0
  598. package/dist/fonts/roboto/Italic/Roboto-Italic.woff +0 -0
  599. package/dist/fonts/roboto/Italic/Roboto-Italic.woff2 +0 -0
  600. package/dist/fonts/roboto/Light/Roboto-Light.woff +0 -0
  601. package/dist/fonts/roboto/Light/Roboto-Light.woff2 +0 -0
  602. package/dist/fonts/roboto/LightItalic/Roboto-LightItalic.woff +0 -0
  603. package/dist/fonts/roboto/LightItalic/Roboto-LightItalic.woff2 +0 -0
  604. package/dist/fonts/roboto/Medium/Roboto-Medium.woff +0 -0
  605. package/dist/fonts/roboto/Medium/Roboto-Medium.woff2 +0 -0
  606. package/dist/fonts/roboto/MediumItalic/Roboto-MediumItalic.woff +0 -0
  607. package/dist/fonts/roboto/MediumItalic/Roboto-MediumItalic.woff2 +0 -0
  608. package/dist/fonts/roboto/Regular/Roboto-Regular.woff +0 -0
  609. package/dist/fonts/roboto/Regular/Roboto-Regular.woff2 +0 -0
  610. package/dist/fonts/roboto/Thin/Roboto-Thin.woff +0 -0
  611. package/dist/fonts/roboto/Thin/Roboto-Thin.woff2 +0 -0
  612. package/dist/fonts/roboto/ThinItalic/Roboto-ThinItalic.woff +0 -0
  613. package/dist/fonts/roboto/ThinItalic/Roboto-ThinItalic.woff2 +0 -0
  614. package/docs/README.md +0 -953
  615. package/docs/docTemplate.md +0 -140
  616. package/es5/component.js +0 -6686
  617. package/index.js +0 -136
  618. package/jest.config.js +0 -42
  619. package/src/_configuration.default.scss +0 -97
  620. package/src/_configuration.mdl.scss +0 -518
  621. package/src/elements/Alert/Alert.jsx +0 -141
  622. package/src/elements/Alert/Error.jsx +0 -22
  623. package/src/elements/Alert/Info.jsx +0 -21
  624. package/src/elements/Alert/Success.jsx +0 -20
  625. package/src/elements/Alert/Warning.jsx +0 -19
  626. package/src/elements/Alert/_alert.scss +0 -93
  627. package/src/elements/Alert/index.js +0 -13
  628. package/src/elements/AutoCompleteBox/AutoCompleteBox.jsx +0 -149
  629. package/src/elements/AutoCompleteBox/_autocomplete.scss +0 -33
  630. package/src/elements/Breadcrumbs/BreadcrumbItem.jsx +0 -34
  631. package/src/elements/Breadcrumbs/BreadcrumbList.jsx +0 -56
  632. package/src/elements/Breadcrumbs/_breadcrumbs.scss +0 -47
  633. package/src/elements/Breadcrumbs/index.js +0 -7
  634. package/src/elements/Button/AffirmativeButton.jsx +0 -73
  635. package/src/elements/Button/Button.jsx +0 -216
  636. package/src/elements/Button/DismissiveButton.jsx +0 -77
  637. package/src/elements/Button/DisruptiveButton.jsx +0 -74
  638. package/src/elements/Button/ProgressButton.jsx +0 -95
  639. package/src/elements/Button/_button.scss +0 -61
  640. package/src/elements/Button/index.js +0 -13
  641. package/src/elements/Card/Card.jsx +0 -61
  642. package/src/elements/Card/CardActions.jsx +0 -37
  643. package/src/elements/Card/CardTitle.jsx +0 -78
  644. package/src/elements/Card/FloatingActionList.jsx +0 -260
  645. package/src/elements/Card/_card.scss +0 -179
  646. package/src/elements/Card/index.js +0 -18
  647. package/src/elements/Checkbox/Checkbox.jsx +0 -113
  648. package/src/elements/Checkbox/_checkbox.scss +0 -14
  649. package/src/elements/Chip/Chip.jsx +0 -141
  650. package/src/elements/Chip/ChipVisual.jsx +0 -88
  651. package/src/elements/Chip/_chip.scss +0 -82
  652. package/src/elements/Chip/index.js +0 -7
  653. package/src/elements/ContextMenu/ContextMenu.jsx +0 -101
  654. package/src/elements/ContextMenu/_contextmenu.scss +0 -23
  655. package/src/elements/DateField/DateField.jsx +0 -178
  656. package/src/elements/DateField/DateTimefield.jsx +0 -20
  657. package/src/elements/DateField/_datefield.scss +0 -116
  658. package/src/elements/DateField/index.js +0 -7
  659. package/src/elements/Dialog/BaseDialog.jsx +0 -161
  660. package/src/elements/Dialog/ConfirmationDialog.jsx +0 -48
  661. package/src/elements/Dialog/_dialog.scss +0 -58
  662. package/src/elements/Dialog/index.js +0 -7
  663. package/src/elements/Footer/Footer.jsx +0 -171
  664. package/src/elements/Footer/_footer.scss +0 -17
  665. package/src/elements/Grid/_grid.scss +0 -18
  666. package/src/elements/Icon/Icon.jsx +0 -97
  667. package/src/elements/Icon/canonicalicons.json +0 -32
  668. package/src/elements/Icon/canonicaltooltips.json +0 -32
  669. package/src/elements/Icon/icontable.json +0 -934
  670. package/src/elements/Layout/_layout.scss +0 -82
  671. package/src/elements/NotAvailable/NotAvailable.jsx +0 -87
  672. package/src/elements/NotAvailable/_notavailable.scss +0 -18
  673. package/src/elements/Pagination/Pagination.jsx +0 -431
  674. package/src/elements/Pagination/_pagination.scss +0 -98
  675. package/src/elements/Progressbar/Progressbar.jsx +0 -34
  676. package/src/elements/Progressbar/_progressbar.scss +0 -22
  677. package/src/elements/Radio/RadioButton.jsx +0 -129
  678. package/src/elements/Radio/RadioGroup.jsx +0 -35
  679. package/src/elements/Radio/_radio.scss +0 -46
  680. package/src/elements/Radio/index.js +0 -7
  681. package/src/elements/SelectBox/SelectBox.jsx +0 -321
  682. package/src/elements/SelectBox/_selectbox.scss +0 -144
  683. package/src/elements/Spinner/Spinner.jsx +0 -44
  684. package/src/elements/Spinner/_spinner.scss +0 -20
  685. package/src/elements/Switch/Switch.jsx +0 -38
  686. package/src/elements/Table/Table.jsx +0 -100
  687. package/src/elements/Table/TableBody.jsx +0 -66
  688. package/src/elements/Table/TableCell.jsx +0 -94
  689. package/src/elements/Table/TableHead.jsx +0 -66
  690. package/src/elements/Table/TableRow.jsx +0 -78
  691. package/src/elements/Table/_datatable.scss +0 -78
  692. package/src/elements/Table/_table.scss +0 -143
  693. package/src/elements/Tabs/Tabs.jsx +0 -116
  694. package/src/elements/TextField/TextField.jsx +0 -172
  695. package/src/elements/TextField/_textfield.scss +0 -80
  696. package/src/elements/Tooltip/Tooltip.jsx +0 -3
  697. package/src/elements/Tooltip/_tooltip.scss +0 -21
  698. package/src/elements/Version/Version.jsx +0 -19
  699. package/src/hocs/ScrollingHOC.js +0 -122
  700. package/src/main.scss +0 -83
  701. package/src/scss/_adjustments.scss +0 -16
  702. package/src/scss/_helpers.scss +0 -29
  703. package/src/scss/_iconfont.scss +0 -35
  704. package/src/scss/_patches.scss +0 -19
  705. package/src/scss/_roboto.scss +0 -30
  706. package/src/scss/main.build-css.scss +0 -4
  707. package/src/utils/classnameSeperator.js +0 -10
  708. package/src/utils/extendedOnChangeBoolean.jsx +0 -14
  709. package/src/utils/uniqueId.jsx +0 -36
  710. package/style/test.scss +0 -30
@@ -0,0 +1,534 @@
1
+ import * as icons from "@carbon/icons-react";
2
+ var canonicalIconNames = {
3
+ "application-dataintegration": {
4
+ small: icons.DataUnstructured16,
5
+ normal: icons.DataUnstructured20,
6
+ large: icons.DataUnstructured32
7
+ },
8
+ "application-homepage": {
9
+ small: icons.Workspace16,
10
+ normal: icons.Workspace20,
11
+ large: icons.Workspace32
12
+ },
13
+ "application-useraccount": {
14
+ small: icons.UserAvatar16,
15
+ normal: icons.UserAvatar20,
16
+ large: icons.UserAvatar32
17
+ },
18
+ "application-warning": {
19
+ small: icons.WarningAlt16,
20
+ normal: icons.WarningAlt20,
21
+ large: icons.WarningAlt32
22
+ },
23
+ "application-mapping": {
24
+ small: icons.ModelBuilder16,
25
+ normal: icons.ModelBuilder20,
26
+ large: icons.ModelBuilder32
27
+ },
28
+ "application-explore": {
29
+ small: icons.Explore16,
30
+ normal: icons.Explore20,
31
+ large: icons.Explore32
32
+ },
33
+ "application-vocabularies": {
34
+ small: icons.Catalog16,
35
+ normal: icons.Catalog20,
36
+ large: icons.Catalog32
37
+ },
38
+ "application-queries": {
39
+ small: icons.DataView16,
40
+ normal: icons.DataView20,
41
+ large: icons.DataView32
42
+ },
43
+ "application-legacygui": {
44
+ small: icons.ResetAlt16,
45
+ normal: icons.ResetAlt20,
46
+ large: icons.ResetAlt32
47
+ },
48
+ "application-activities": {
49
+ small: icons.Activity16,
50
+ normal: icons.Activity20,
51
+ large: icons.Activity32
52
+ },
53
+ "module-timetracker": {
54
+ small: icons.Timer16,
55
+ normal: icons.Timer20,
56
+ large: icons.Timer32
57
+ },
58
+ "module-accesscontrol": {
59
+ small: icons.UserAdmin16,
60
+ normal: icons.UserAdmin20,
61
+ large: icons.UserAdmin32
62
+ },
63
+ "module-annotation": {
64
+ small: icons.WatsonHealthTextAnnotationToggle16,
65
+ normal: icons.WatsonHealthTextAnnotationToggle20,
66
+ large: icons.WatsonHealthTextAnnotationToggle32
67
+ },
68
+ "module-dashboard": {
69
+ small: icons.Dashboard16,
70
+ normal: icons.Dashboard20,
71
+ large: icons.Dashboard32
72
+ },
73
+ "module-search": {
74
+ small: icons.Search16,
75
+ normal: icons.Search20,
76
+ large: icons.Search32
77
+ },
78
+ "module-visualization": {
79
+ small: icons.DataVis_116,
80
+ normal: icons.DataVis_120,
81
+ large: icons.DataVis_132
82
+ },
83
+ "module-reports": {
84
+ small: icons.ReportData16,
85
+ normal: icons.ReportData20,
86
+ large: icons.ReportData32
87
+ },
88
+ "module-thesauri": {
89
+ small: icons.Book16,
90
+ normal: icons.Book20,
91
+ large: icons.Book32
92
+ },
93
+ "module-linkedrules": {
94
+ small: icons.Connect16,
95
+ normal: icons.Connect20,
96
+ large: icons.Connect32
97
+ },
98
+ "module-integrations": {
99
+ small: icons.AppConnectivity16,
100
+ normal: icons.AppConnectivity20,
101
+ large: icons.AppConnectivity32
102
+ },
103
+ "module-gdprsearch": {
104
+ small: icons.UserProfile16,
105
+ normal: icons.UserProfile20,
106
+ large: icons.UserProfile32
107
+ },
108
+ "toggler-showmore": {
109
+ small: icons.ChevronDown16,
110
+ normal: icons.ChevronDown20,
111
+ large: icons.ChevronDown32
112
+ },
113
+ "toggler-showless": {
114
+ small: icons.ChevronUp16,
115
+ normal: icons.ChevronUp20,
116
+ large: icons.ChevronUp32
117
+ },
118
+ "toggler-moveright": {
119
+ small: icons.ChevronRight16,
120
+ normal: icons.ChevronRight20,
121
+ large: icons.ChevronRight32
122
+ },
123
+ "toggler-moveleft": {
124
+ small: icons.ChevronLeft16,
125
+ normal: icons.ChevronLeft20,
126
+ large: icons.ChevronLeft32
127
+ },
128
+ "toggler-maximize": {
129
+ small: icons.Maximize16,
130
+ normal: icons.Maximize20,
131
+ large: icons.Maximize32
132
+ },
133
+ "toggler-minimize": {
134
+ small: icons.Minimize16,
135
+ normal: icons.Minimize20,
136
+ large: icons.Minimize32
137
+ },
138
+ "toggler-tree": {
139
+ small: icons.TreeViewAlt16,
140
+ normal: icons.TreeViewAlt20,
141
+ large: icons.TreeViewAlt32
142
+ },
143
+ "navigation-back": {
144
+ small: icons.ArrowLeft16,
145
+ normal: icons.ArrowLeft20,
146
+ large: icons.ArrowLeft32
147
+ },
148
+ "navigation-forth": {
149
+ small: icons.ArrowRight16,
150
+ normal: icons.ArrowRight20,
151
+ large: icons.ArrowRight32
152
+ },
153
+ "navigation-close": {
154
+ small: icons.Close16,
155
+ normal: icons.Close20,
156
+ large: icons.Close32
157
+ },
158
+ "navigation-jump": {
159
+ small: icons.JumpLink16,
160
+ normal: icons.JumpLink20,
161
+ large: icons.JumpLink32
162
+ },
163
+ "navigation-last": {
164
+ small: icons.PageLast16,
165
+ normal: icons.PageLast20,
166
+ large: icons.PageLast32
167
+ },
168
+ "navigation-previous": {
169
+ small: icons.ChevronLeft16,
170
+ normal: icons.ChevronLeft20,
171
+ large: icons.ChevronLeft32
172
+ },
173
+ "navigation-next": {
174
+ small: icons.ChevronRight16,
175
+ normal: icons.ChevronRight20,
176
+ large: icons.ChevronRight32
177
+ },
178
+ "navigation-first": {
179
+ small: icons.PageFirst16,
180
+ normal: icons.PageFirst20,
181
+ large: icons.PageFirst32
182
+ },
183
+ "item-moremenu": {
184
+ small: icons.OverflowMenuVertical16,
185
+ normal: icons.OverflowMenuVertical20,
186
+ large: icons.OverflowMenuVertical32
187
+ },
188
+ "item-vertmenu": {
189
+ small: icons.OverflowMenuHorizontal16,
190
+ normal: icons.OverflowMenuHorizontal20,
191
+ large: icons.OverflowMenuHorizontal32
192
+ },
193
+ "item-viewdetails": {
194
+ small: icons.View16,
195
+ normal: icons.View20,
196
+ large: icons.View32
197
+ },
198
+ "item-clone": {
199
+ small: icons.Copy16,
200
+ normal: icons.Copy20,
201
+ large: icons.Copy32
202
+ },
203
+ "item-edit": {
204
+ small: icons.Edit16,
205
+ normal: icons.Edit20,
206
+ large: icons.Edit32
207
+ },
208
+ "item-evaluation": {
209
+ small: icons.Analytics16,
210
+ normal: icons.Analytics20,
211
+ large: icons.Analytics32
212
+ },
213
+ "item-execution": {
214
+ small: icons.Run16,
215
+ normal: icons.Run20,
216
+ large: icons.Run32
217
+ },
218
+ "item-info": {
219
+ small: icons.Information16,
220
+ normal: icons.Information20,
221
+ large: icons.Information32
222
+ },
223
+ "item-remove": {
224
+ small: icons.TrashCan16,
225
+ normal: icons.TrashCan20,
226
+ large: icons.TrashCan32
227
+ },
228
+ "item-add-artefact": {
229
+ small: icons.AddAlt16,
230
+ normal: icons.AddAlt20,
231
+ large: icons.AddAlt32
232
+ },
233
+ "item-launch": {
234
+ small: icons.Launch16,
235
+ normal: icons.Launch20,
236
+ large: icons.Launch32
237
+ },
238
+ "item-download": {
239
+ small: icons.Download16,
240
+ normal: icons.Download20,
241
+ large: icons.Download32
242
+ },
243
+ "item-question": {
244
+ small: icons.Help16,
245
+ normal: icons.Help20,
246
+ large: icons.Help32
247
+ },
248
+ "item-copy": {
249
+ small: icons.CopyFile16,
250
+ normal: icons.CopyFile20,
251
+ large: icons.CopyFile32
252
+ },
253
+ "item-save": {
254
+ small: icons.Save16,
255
+ normal: icons.Save20,
256
+ large: icons.Save32
257
+ },
258
+ "item-start": {
259
+ small: icons.PlayFilledAlt16,
260
+ normal: icons.PlayFilledAlt20,
261
+ large: icons.PlayFilledAlt32
262
+ },
263
+ "item-stop": {
264
+ small: icons.StopFilledAlt16,
265
+ normal: icons.StopFilledAlt20,
266
+ large: icons.StopFilledAlt32
267
+ },
268
+ "item-reload": {
269
+ small: icons.Renew16,
270
+ normal: icons.Renew20,
271
+ large: icons.Renew32
272
+ },
273
+ "item-shuffle": {
274
+ small: icons.Shuffle16,
275
+ normal: icons.Shuffle20,
276
+ large: icons.Shuffle32
277
+ },
278
+ "item-draggable": {
279
+ small: icons.Draggable16,
280
+ normal: icons.Draggable20,
281
+ large: icons.Draggable32
282
+ },
283
+ "operation-search": {
284
+ small: icons.Search16,
285
+ normal: icons.Search20,
286
+ large: icons.Search32
287
+ },
288
+ "operation-clear": {
289
+ small: icons.Close16,
290
+ normal: icons.Close20,
291
+ large: icons.Close32
292
+ },
293
+ "operation-undo": {
294
+ small: icons.Undo16,
295
+ normal: icons.Undo20,
296
+ large: icons.Undo32
297
+ },
298
+ "operation-redo": {
299
+ small: icons.Redo16,
300
+ normal: icons.Redo20,
301
+ large: icons.Redo32
302
+ },
303
+ "operation-logout": {
304
+ small: icons.Logout16,
305
+ normal: icons.Logout20,
306
+ large: icons.Logout32
307
+ },
308
+ "operation-filter": {
309
+ small: icons.Filter16,
310
+ normal: icons.Filter20,
311
+ large: icons.Filter32
312
+ },
313
+ "operation-filteredit": {
314
+ small: icons.FilterEdit16,
315
+ normal: icons.FilterEdit20,
316
+ large: icons.FilterEdit32
317
+ },
318
+ "list-sort": {
319
+ small: icons.ArrowsVertical16,
320
+ normal: icons.ArrowsVertical20,
321
+ large: icons.ArrowsVertical32
322
+ },
323
+ "list-sortasc": {
324
+ small: icons.ArrowDown16,
325
+ normal: icons.ArrowDown20,
326
+ large: icons.ArrowDown32
327
+ },
328
+ "list-sortdesc": {
329
+ small: icons.ArrowUp16,
330
+ normal: icons.ArrowUp20,
331
+ large: icons.ArrowUp32
332
+ },
333
+ "state-info": {
334
+ small: icons.InformationFilled16,
335
+ normal: icons.InformationFilled20,
336
+ large: icons.InformationFilled32
337
+ },
338
+ "state-success": {
339
+ small: icons.CheckmarkFilled16,
340
+ normal: icons.CheckmarkFilled20,
341
+ large: icons.CheckmarkFilled32
342
+ },
343
+ "state-warning": {
344
+ small: icons.WarningAltFilled16,
345
+ normal: icons.WarningAltFilled20,
346
+ large: icons.WarningAltFilled32
347
+ },
348
+ "state-danger": {
349
+ small: icons.ErrorFilled16,
350
+ normal: icons.ErrorFilled20,
351
+ large: icons.ErrorFilled32
352
+ },
353
+ "state-unchecked": {
354
+ small: icons.Checkbox16,
355
+ normal: icons.Checkbox20,
356
+ large: icons.Checkbox32
357
+ },
358
+ "state-checked": {
359
+ small: icons.CheckboxChecked16,
360
+ normal: icons.CheckboxChecked20,
361
+ large: icons.CheckboxChecked32
362
+ },
363
+ "state-partlychecked": {
364
+ small: icons.CheckboxIndeterminate16,
365
+ normal: icons.CheckboxIndeterminate20,
366
+ large: icons.CheckboxIndeterminate32
367
+ },
368
+ "artefact-project": {
369
+ small: icons.Folder16,
370
+ normal: icons.Folder20,
371
+ large: icons.Folder32
372
+ },
373
+ "artefact-workflow": {
374
+ small: icons.ModelBuilder16,
375
+ normal: icons.ModelBuilder20,
376
+ large: icons.ModelBuilder32
377
+ },
378
+ "artefact-dataset": {
379
+ small: icons.Data_216,
380
+ normal: icons.Data_220,
381
+ large: icons.Data_232
382
+ },
383
+ "artefact-dataset-csv": {
384
+ small: icons.Csv16,
385
+ normal: icons.Csv20,
386
+ large: icons.Csv32
387
+ },
388
+ "artefact-dataset-multicsv": {
389
+ small: icons.Csv16,
390
+ normal: icons.Csv20,
391
+ large: icons.Csv32
392
+ },
393
+ "artefact-dataset-sparkview": {
394
+ small: icons.Sql16,
395
+ normal: icons.Sql20,
396
+ large: icons.Sql32
397
+ },
398
+ "artefact-dataset-sqlendpoint": {
399
+ small: icons.Sql16,
400
+ normal: icons.Sql20,
401
+ large: icons.Sql32
402
+ },
403
+ "artefact-dataset-jdbc": {
404
+ small: icons.Sql16,
405
+ normal: icons.Sql20,
406
+ large: icons.Sql32
407
+ },
408
+ "artefact-dataset-xml": {
409
+ small: icons.Xml16,
410
+ normal: icons.Xml20,
411
+ large: icons.Xml32
412
+ },
413
+ "artefact-dataset-json": {
414
+ small: icons.Json16,
415
+ normal: icons.Json20,
416
+ large: icons.Json32
417
+ },
418
+ "artefact-dataset-excel": {
419
+ small: icons.Xls16,
420
+ normal: icons.Xls20,
421
+ large: icons.Xls32
422
+ },
423
+ "artefact-dataset-file": {
424
+ small: icons.DataVis_116,
425
+ normal: icons.DataVis_120,
426
+ large: icons.DataVis_132
427
+ },
428
+ "artefact-dataset-eccencadataplatform": {
429
+ small: icons.DataVis_116,
430
+ normal: icons.DataVis_120,
431
+ large: icons.DataVis_132
432
+ },
433
+ "artefact-dataset-sparqlendpoint": {
434
+ small: icons.DataVis_116,
435
+ normal: icons.DataVis_120,
436
+ large: icons.DataVis_132
437
+ },
438
+ "artefact-dataset-neo4j": {
439
+ small: icons.DataVis_116,
440
+ normal: icons.DataVis_120,
441
+ large: icons.DataVis_132
442
+ },
443
+ "artefact-transform": {
444
+ small: icons.DataRefinery16,
445
+ normal: icons.DataRefinery20,
446
+ large: icons.DataRefinery32
447
+ },
448
+ "artefact-linking": {
449
+ small: icons.Connect16,
450
+ normal: icons.Connect20,
451
+ large: icons.Connect32
452
+ },
453
+ "artefact-task": {
454
+ small: icons.Script16,
455
+ normal: icons.Script20,
456
+ large: icons.Script32
457
+ },
458
+ "artefact-customtask": {
459
+ small: icons.Script16,
460
+ normal: icons.Script20,
461
+ large: icons.Script32
462
+ },
463
+ "artefact-file": {
464
+ small: icons.Document16,
465
+ normal: icons.Document20,
466
+ large: icons.Document32
467
+ },
468
+ "artefact-embedded": {
469
+ small: icons.DataBase16,
470
+ normal: icons.DataBase20,
471
+ large: icons.DataBase32
472
+ },
473
+ "artefact-remote": {
474
+ small: icons.VirtualMachine16,
475
+ normal: icons.VirtualMachine20,
476
+ large: icons.VirtualMachine32
477
+ },
478
+ "artefact-deprecated": {
479
+ small: icons.WarningSquare16,
480
+ normal: icons.WarningSquare20,
481
+ large: icons.WarningSquare32
482
+ },
483
+ "artefact-uncategorized": {
484
+ small: icons.Unknown16,
485
+ normal: icons.Unknown20,
486
+ large: icons.Unknown32
487
+ },
488
+ "artefact-rawdata": {
489
+ small: icons.ScriptReference16,
490
+ normal: icons.ScriptReference20,
491
+ large: icons.ScriptReference32
492
+ },
493
+ "artefact-report": {
494
+ small: icons.Report16,
495
+ normal: icons.Report20,
496
+ large: icons.Report32
497
+ },
498
+ "activity-error-report": {
499
+ small: icons.Error16,
500
+ normal: icons.Error20,
501
+ large: icons.Error32
502
+ },
503
+ "select-caret": {
504
+ small: icons.CaretSort16,
505
+ normal: icons.CaretSort20,
506
+ large: icons.CaretSort32
507
+ },
508
+ "linked-item": {
509
+ small: icons.Link16,
510
+ normal: icons.Link20,
511
+ large: icons.Link32
512
+ },
513
+ "unlinked-item": {
514
+ small: icons.Unlink16,
515
+ normal: icons.Unlink20,
516
+ large: icons.Unlink32
517
+ },
518
+ "operation-auto-graph-layout": {
519
+ small: icons.ChartNetwork16,
520
+ normal: icons.ChartNetwork20,
521
+ large: icons.ChartNetwork32
522
+ },
523
+ "undefined": {
524
+ small: icons.Undefined16,
525
+ normal: icons.Undefined20,
526
+ large: icons.Undefined32
527
+ },
528
+ "Undefined": {
529
+ small: icons.Undefined16,
530
+ normal: icons.Undefined20,
531
+ large: icons.Undefined32
532
+ },
533
+ };
534
+ export default canonicalIconNames;
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ import { TestableComponent } from "../interfaces";
3
+ export interface IframeProps extends TestableComponent {
4
+ className?: string;
5
+ title: string;
6
+ src: string;
7
+ useViewportHeight?: "quarter" | "third" | "half" | "full";
8
+ useAvailableSpace?: boolean;
9
+ /**
10
+ * Use height calculated from iframe content.
11
+ * Currently this only works when the iframe content is not changed after the onLoad event by lazy loading, etc.
12
+ * It also takes not height changes into account that are based on resized viewport
13
+ */
14
+ useContentHeight?: boolean;
15
+ backgroundColor?: string;
16
+ htmlIframeProps?: Omit<React.IframeHTMLAttributes<HTMLIFrameElement>, "title" | "className" | "src">;
17
+ }
18
+ export declare const Iframe: React.ForwardRefExoticComponent<IframeProps & React.RefAttributes<HTMLIFrameElement>>;
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.Iframe = void 0;
9
+
10
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
11
+
12
+ var _react = _interopRequireWildcard(require("react"));
13
+
14
+ var _constants = require("../../configuration/constants");
15
+
16
+ var _Spinner = _interopRequireDefault(require("../Spinner/Spinner"));
17
+
18
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
+
20
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
21
+
22
+ /*
23
+ shows iframe and spinner as long as it is not loaded
24
+ */
25
+ const Iframe = /*#__PURE__*/_react.default.forwardRef(({
26
+ title,
27
+ className = "",
28
+ useViewportHeight,
29
+ useAvailableSpace = false,
30
+ useContentHeight = false,
31
+ backgroundColor = "",
32
+ htmlIframeProps = {},
33
+ ...otherReactProps
34
+ }, ref) => {
35
+ const [isLoaded, setIsLoaded] = (0, _react.useState)(false);
36
+ const [contentHeight, setContentHeight] = (0, _react.useState)(undefined);
37
+
38
+ const newRef = _react.default.useRef(null);
39
+
40
+ (0, _react.useEffect)(() => {
41
+ const iframeRef = ref ?? newRef;
42
+
43
+ if (iframeRef && "current" in iframeRef && iframeRef.current) {
44
+ var _iframeRef$current$co3, _iframeRef$current$co4, _iframeRef$current$co5;
45
+
46
+ if (!!backgroundColor && isLoaded) {
47
+ var _iframeRef$current, _iframeRef$current$co, _iframeRef$current$co2, _iframeRef$current2, _iframeRef$current2$c, _iframeRef$current2$c2;
48
+
49
+ const iframeDocStyle = iframeRef === null || iframeRef === void 0 ? void 0 : (_iframeRef$current = iframeRef.current) === null || _iframeRef$current === void 0 ? void 0 : (_iframeRef$current$co = _iframeRef$current.contentDocument) === null || _iframeRef$current$co === void 0 ? void 0 : (_iframeRef$current$co2 = _iframeRef$current$co.documentElement) === null || _iframeRef$current$co2 === void 0 ? void 0 : _iframeRef$current$co2.style;
50
+ const iframeBodyStyle = iframeRef === null || iframeRef === void 0 ? void 0 : (_iframeRef$current2 = iframeRef.current) === null || _iframeRef$current2 === void 0 ? void 0 : (_iframeRef$current2$c = _iframeRef$current2.contentDocument) === null || _iframeRef$current2$c === void 0 ? void 0 : (_iframeRef$current2$c2 = _iframeRef$current2$c.body) === null || _iframeRef$current2$c2 === void 0 ? void 0 : _iframeRef$current2$c2.style;
51
+
52
+ if (iframeDocStyle && iframeBodyStyle) {
53
+ iframeDocStyle.backgroundColor = backgroundColor;
54
+ iframeBodyStyle.backgroundColor = backgroundColor;
55
+ }
56
+ }
57
+
58
+ setContentHeight((_iframeRef$current$co3 = iframeRef.current.contentWindow) === null || _iframeRef$current$co3 === void 0 ? void 0 : (_iframeRef$current$co4 = _iframeRef$current$co3.document) === null || _iframeRef$current$co4 === void 0 ? void 0 : (_iframeRef$current$co5 = _iframeRef$current$co4.body) === null || _iframeRef$current$co5 === void 0 ? void 0 : _iframeRef$current$co5.scrollHeight);
59
+ }
60
+ }, [ref, isLoaded, backgroundColor]);
61
+ const classNames = `${_constants.CLASSPREFIX}-iframe` + (!!useViewportHeight ? ` ${_constants.CLASSPREFIX}-iframe--${useViewportHeight}height` : "") + (!!useAvailableSpace ? ` ${_constants.CLASSPREFIX}-iframe--useavailablespace` : "");
62
+ const {
63
+ onLoad = e => {},
64
+ style,
65
+ ...otherOriginalIframeProps
66
+ } = htmlIframeProps;
67
+ return /*#__PURE__*/_react.default.createElement("div", {
68
+ className: classNames
69
+ }, !isLoaded && /*#__PURE__*/_react.default.createElement(_Spinner.default, null), /*#__PURE__*/_react.default.createElement("iframe", (0, _extends2.default)({
70
+ className: className ?? undefined,
71
+ ref: ref ?? newRef,
72
+ title: title
73
+ }, otherOriginalIframeProps, otherReactProps, {
74
+ onLoad: e => {
75
+ setIsLoaded(true);
76
+ onLoad(e);
77
+ },
78
+ style: { ...(style ?? {}),
79
+ ...(!isLoaded ? {
80
+ visibility: "hidden",
81
+ position: "absolute",
82
+ left: "-10000em"
83
+ } : {}),
84
+ ...(useContentHeight && !!contentHeight ? {
85
+ height: `${contentHeight}px`
86
+ } : {})
87
+ },
88
+ scrolling: useContentHeight && !!contentHeight ? "no" : "yes"
89
+ })));
90
+ });
91
+
92
+ exports.Iframe = Iframe;