@eccenca/gui-elements 22.0.1 → 22.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -4
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js +23 -15
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +23 -6
- package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js +59 -31
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/index.js +11 -0
- package/dist/cjs/cmem/ActivityControl/index.js.map +1 -0
- package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/index.js +8 -0
- package/dist/cjs/cmem/ContentBlobToggler/index.js.map +1 -0
- package/dist/cjs/cmem/index.js +14 -13
- package/dist/cjs/cmem/index.js.map +1 -1
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js +57 -0
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -0
- package/dist/cjs/cmem/react-flow/configuration/_colors-graph.module.scss +35 -0
- package/dist/cjs/cmem/react-flow/configuration/_colors-linking.module.scss +29 -0
- package/dist/cjs/cmem/react-flow/configuration/_colors-workflow.module.scss +22 -0
- package/dist/cjs/cmem/react-flow/configuration/graph.js +31 -0
- package/dist/cjs/cmem/react-flow/configuration/graph.js.map +1 -0
- package/dist/cjs/cmem/react-flow/configuration/linking.js +29 -0
- package/dist/cjs/cmem/react-flow/configuration/linking.js.map +1 -0
- package/dist/cjs/cmem/react-flow/configuration/unspecified.js +15 -0
- package/dist/cjs/cmem/react-flow/configuration/unspecified.js.map +1 -0
- package/dist/cjs/cmem/react-flow/configuration/workflow.js +27 -0
- package/dist/cjs/cmem/react-flow/configuration/workflow.js.map +1 -0
- package/dist/cjs/common/utils/stringUtils.js +7 -0
- package/dist/cjs/common/utils/stringUtils.js.map +1 -0
- package/dist/cjs/components/Application/ApplicationContent.js +1 -7
- package/dist/cjs/components/Application/ApplicationContent.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationTitle.js +1 -7
- package/dist/cjs/components/Application/ApplicationTitle.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js +286 -0
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js.map +1 -0
- package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js +81 -0
- package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js.map +1 -0
- package/dist/cjs/components/AutoSuggestion/SingleLineCodeEditor.js +46 -0
- package/dist/cjs/components/AutoSuggestion/SingleLineCodeEditor.js.map +1 -0
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js +13 -15
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js.map +1 -1
- package/dist/cjs/components/Breadcrumb/BreadcrumbItem.js +1 -1
- package/dist/cjs/components/Button/Button.js +1 -1
- package/dist/cjs/components/Button/Button.js.map +1 -1
- package/dist/cjs/components/Card/Card.js +18 -3
- package/dist/cjs/components/Card/Card.js.map +1 -1
- package/dist/cjs/components/ContextOverlay/ContextMenu.js +1 -1
- package/dist/cjs/components/ContextOverlay/ContextMenu.js.map +1 -1
- package/dist/cjs/components/Dialog/Modal.js +3 -3
- package/dist/cjs/components/Dialog/Modal.js.map +1 -1
- package/dist/cjs/components/Dialog/SimpleDialog.js.map +1 -1
- package/dist/cjs/components/Form/FieldItemRow.js +3 -4
- package/dist/cjs/components/Form/FieldItemRow.js.map +1 -1
- package/dist/cjs/components/Form/FieldSet.js +2 -2
- package/dist/cjs/components/Form/FieldSet.js.map +1 -1
- package/dist/cjs/components/Icon/Icon.js.map +1 -1
- package/dist/cjs/components/Icon/canonicalIconNames.js +30 -0
- package/dist/cjs/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/cjs/components/Iframe/Iframe.js +1 -1
- package/dist/cjs/components/Iframe/Iframe.js.map +1 -1
- package/dist/cjs/components/MultiSelect/MultiSelect.js +212 -0
- package/dist/cjs/components/MultiSelect/MultiSelect.js.map +1 -0
- package/dist/cjs/components/Notification/Notification.js +8 -2
- package/dist/cjs/components/Notification/Notification.js.map +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItemList.js +2 -2
- package/dist/cjs/components/OverviewItem/OverviewItemList.js.map +1 -1
- package/dist/cjs/components/Spinner/Spinner.js +2 -1
- package/dist/cjs/components/Spinner/Spinner.js.map +1 -1
- package/dist/cjs/components/Tabs/Tab.js +94 -0
- package/dist/cjs/components/Tabs/Tab.js.map +1 -0
- package/dist/cjs/components/Tabs/TabTitle.js +20 -0
- package/dist/cjs/components/Tabs/TabTitle.js.map +1 -0
- package/dist/cjs/components/Tabs/Tabs.js +26 -19
- package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
- package/dist/cjs/components/Tag/Tag.js +7 -1
- package/dist/cjs/components/Tag/Tag.js.map +1 -1
- package/dist/cjs/components/Tag/TagList.js +2 -2
- package/dist/cjs/components/Tag/TagList.js.map +1 -1
- package/dist/cjs/components/Typography/HtmlContentBlock.js +6 -6
- package/dist/cjs/components/Typography/HtmlContentBlock.js.map +1 -1
- package/dist/cjs/components/Typography/classnames.js +2 -1
- package/dist/cjs/components/Typography/classnames.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/getSmoothStepPath.js +98 -0
- package/dist/cjs/extensions/react-flow/edges/getSmoothStepPath.js.map +1 -0
- package/dist/cjs/extensions/react-flow/edges/utils.js +97 -4
- package/dist/cjs/extensions/react-flow/edges/utils.js.map +1 -1
- package/dist/cjs/extensions/react-flow/minimap/MiniMap.js +1 -1
- package/dist/cjs/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js +11 -8
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeContentExtension.js +5 -4
- package/dist/cjs/extensions/react-flow/nodes/NodeContentExtension.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js +11 -9
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js.map +1 -1
- package/dist/cjs/index.js +17 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legacy-replacements/Button/AffirmativeButton.js +25 -0
- package/dist/cjs/legacy-replacements/Button/AffirmativeButton.js.map +1 -0
- package/dist/cjs/legacy-replacements/Button/Button.js +61 -0
- package/dist/cjs/legacy-replacements/Button/Button.js.map +1 -0
- package/dist/cjs/legacy-replacements/Button/DismissiveButton.js +25 -0
- package/dist/cjs/legacy-replacements/Button/DismissiveButton.js.map +1 -0
- package/dist/cjs/legacy-replacements/Button/DisruptiveButton.js +25 -0
- package/dist/cjs/legacy-replacements/Button/DisruptiveButton.js.map +1 -0
- package/dist/cjs/legacy-replacements/Checkbox/Checkbox.js +55 -0
- package/dist/cjs/legacy-replacements/Checkbox/Checkbox.js.map +1 -0
- package/dist/cjs/legacy-replacements/Radio/RadioButton.js +48 -0
- package/dist/cjs/legacy-replacements/Radio/RadioButton.js.map +1 -0
- package/dist/cjs/legacy-replacements/Tabs/Tabs.js +36 -0
- package/dist/cjs/legacy-replacements/Tabs/Tabs.js.map +1 -0
- package/dist/cjs/legacy-replacements/TextField/TextField.js +75 -0
- package/dist/cjs/legacy-replacements/TextField/TextField.js.map +1 -0
- package/dist/cjs/legacy-replacements/index.js +22 -0
- package/dist/cjs/legacy-replacements/index.js.map +1 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/ActivityControlTypes.js +0 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/ActivityControlTypes.js.map +0 -0
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js +47 -0
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js.map +1 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +21 -4
- package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -0
- package/dist/{es5 → esm}/cmem/ActivityControl/SilkActivityControl.js +60 -34
- package/dist/esm/cmem/ActivityControl/SilkActivityControl.js.map +1 -0
- package/dist/esm/cmem/ActivityControl/index.js +4 -0
- package/dist/esm/cmem/ActivityControl/index.js.map +1 -0
- package/dist/{es5 → esm}/cmem/ContentBlobToggler/ContentBlobToggler.js +1 -1
- package/dist/{es5 → esm}/cmem/ContentBlobToggler/ContentBlobToggler.js.map +0 -0
- package/dist/{es5 → esm}/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +1 -1
- package/dist/{es5 → esm}/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
- package/dist/esm/cmem/ContentBlobToggler/index.js +3 -0
- package/dist/esm/cmem/ContentBlobToggler/index.js.map +1 -0
- package/dist/{es5 → esm}/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +0 -0
- package/dist/{es5 → esm}/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +0 -0
- package/dist/esm/cmem/index.js +7 -0
- package/dist/esm/cmem/index.js.map +1 -0
- package/dist/{es5 → esm}/cmem/markdown/Markdown.js +2 -2
- package/dist/{es5 → esm}/cmem/markdown/Markdown.js.map +0 -0
- package/dist/esm/cmem/react-flow/ReactFlow/ReactFlow.js +43 -0
- package/dist/esm/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -0
- package/dist/esm/cmem/react-flow/configuration/_colors-graph.module.scss +35 -0
- package/dist/esm/cmem/react-flow/configuration/_colors-linking.module.scss +29 -0
- package/dist/esm/cmem/react-flow/configuration/_colors-workflow.module.scss +22 -0
- package/dist/esm/cmem/react-flow/configuration/graph.js +23 -0
- package/dist/esm/cmem/react-flow/configuration/graph.js.map +1 -0
- package/dist/esm/cmem/react-flow/configuration/linking.js +21 -0
- package/dist/esm/cmem/react-flow/configuration/linking.js.map +1 -0
- package/dist/esm/cmem/react-flow/configuration/unspecified.js +12 -0
- package/dist/esm/cmem/react-flow/configuration/unspecified.js.map +1 -0
- package/dist/esm/cmem/react-flow/configuration/workflow.js +19 -0
- package/dist/esm/cmem/react-flow/configuration/workflow.js.map +1 -0
- package/dist/{es5 → esm}/common/Intent/index.js +1 -1
- package/dist/{es5 → esm}/common/Intent/index.js.map +0 -0
- package/dist/{es5 → esm}/common/utils/openInNewTab.js +0 -0
- package/dist/{es5 → esm}/common/utils/openInNewTab.js.map +0 -0
- package/dist/esm/common/utils/stringUtils.js +3 -0
- package/dist/esm/common/utils/stringUtils.js.map +1 -0
- package/dist/{es5 → esm}/components/Accordion/Accordion.js +1 -1
- package/dist/{es5 → esm}/components/Accordion/Accordion.js.map +0 -0
- package/dist/{es5 → esm}/components/Accordion/AccordionItem.js +1 -1
- package/dist/{es5 → esm}/components/Accordion/AccordionItem.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationContainer.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationContainer.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationContent.js +2 -8
- package/dist/esm/components/Application/ApplicationContent.js.map +1 -0
- package/dist/{es5 → esm}/components/Application/ApplicationHeader.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationHeader.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationSidebarNavigation.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationSidebarNavigation.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationSidebarToggler.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationSidebarToggler.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationTitle.js +2 -8
- package/dist/esm/components/Application/ApplicationTitle.js.map +1 -0
- package/dist/{es5 → esm}/components/Application/ApplicationToolbar.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationToolbar.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationToolbarAction.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationToolbarAction.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationToolbarPanel.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationToolbarPanel.js.map +0 -0
- package/dist/{es5 → esm}/components/Application/ApplicationToolbarSection.js +1 -1
- package/dist/{es5 → esm}/components/Application/ApplicationToolbarSection.js.map +0 -0
- package/dist/esm/components/AutoSuggestion/AutoSuggestion.js +348 -0
- package/dist/esm/components/AutoSuggestion/AutoSuggestion.js.map +1 -0
- package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js +93 -0
- package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js.map +1 -0
- package/dist/esm/components/AutoSuggestion/SingleLineCodeEditor.js +42 -0
- package/dist/esm/components/AutoSuggestion/SingleLineCodeEditor.js.map +1 -0
- package/dist/{es5 → esm}/components/AutocompleteField/AutoCompleteField.js +15 -17
- package/dist/esm/components/AutocompleteField/AutoCompleteField.js.map +1 -0
- package/dist/{es5 → esm}/components/Breadcrumb/BreadcrumbItem.js +3 -3
- package/dist/{es5 → esm}/components/Breadcrumb/BreadcrumbItem.js.map +0 -0
- package/dist/{es5 → esm}/components/Breadcrumb/BreadcrumbList.js +2 -2
- package/dist/{es5 → esm}/components/Breadcrumb/BreadcrumbList.js.map +0 -0
- package/dist/{es5 → esm}/components/Button/Button.js +4 -4
- package/dist/{es5 → esm}/components/Button/Button.js.map +1 -1
- package/dist/{es5 → esm}/components/Card/Card.js +19 -4
- package/dist/esm/components/Card/Card.js.map +1 -0
- package/dist/{es5 → esm}/components/Card/CardActions.js +1 -1
- package/dist/{es5 → esm}/components/Card/CardActions.js.map +0 -0
- package/dist/{es5 → esm}/components/Card/CardActionsAux.js +1 -1
- package/dist/{es5 → esm}/components/Card/CardActionsAux.js.map +0 -0
- package/dist/{es5 → esm}/components/Card/CardContent.js +1 -1
- package/dist/{es5 → esm}/components/Card/CardContent.js.map +0 -0
- package/dist/{es5 → esm}/components/Card/CardHeader.js +5 -5
- package/dist/{es5 → esm}/components/Card/CardHeader.js.map +0 -0
- package/dist/{es5 → esm}/components/Card/CardOptions.js +2 -2
- package/dist/{es5 → esm}/components/Card/CardOptions.js.map +0 -0
- package/dist/{es5 → esm}/components/Card/CardTitle.js +2 -2
- package/dist/{es5 → esm}/components/Card/CardTitle.js.map +0 -0
- package/dist/esm/components/Card/index.js +9 -0
- package/dist/{es5 → esm}/components/Card/index.js.map +0 -0
- package/dist/{es5 → esm}/components/Checkbox/Checkbox.js +1 -1
- package/dist/{es5 → esm}/components/Checkbox/Checkbox.js.map +0 -0
- package/dist/{es5 → esm}/components/ContextOverlay/ContextMenu.js +5 -5
- package/dist/{es5 → esm}/components/ContextOverlay/ContextMenu.js.map +1 -1
- package/dist/{es5 → esm}/components/ContextOverlay/ContextOverlay.js +1 -1
- package/dist/{es5 → esm}/components/ContextOverlay/ContextOverlay.js.map +0 -0
- package/dist/{es5 → esm}/components/Dialog/AlertDialog.js +2 -2
- package/dist/{es5 → esm}/components/Dialog/AlertDialog.js.map +0 -0
- package/dist/{es5 → esm}/components/Dialog/Modal.js +5 -5
- package/dist/esm/components/Dialog/Modal.js.map +1 -0
- package/dist/{es5 → esm}/components/Dialog/SimpleDialog.js +4 -4
- package/dist/{es5 → esm}/components/Dialog/SimpleDialog.js.map +1 -1
- package/dist/{es5 → esm}/components/Form/FieldItem.js +3 -3
- package/dist/{es5 → esm}/components/Form/FieldItem.js.map +0 -0
- package/dist/esm/components/Form/FieldItemRow.js +34 -0
- package/dist/esm/components/Form/FieldItemRow.js.map +1 -0
- package/dist/{es5 → esm}/components/Form/FieldSet.js +15 -4
- package/dist/esm/components/Form/FieldSet.js.map +1 -0
- package/dist/{es5 → esm}/components/Grid/Grid.js +1 -1
- package/dist/{es5 → esm}/components/Grid/Grid.js.map +0 -0
- package/dist/{es5 → esm}/components/Grid/GridColumn.js +1 -1
- package/dist/{es5 → esm}/components/Grid/GridColumn.js.map +0 -0
- package/dist/{es5 → esm}/components/Grid/GridRow.js +1 -1
- package/dist/{es5 → esm}/components/Grid/GridRow.js.map +0 -0
- package/dist/{es5 → esm}/components/Icon/Icon.js +3 -3
- package/dist/esm/components/Icon/Icon.js.map +1 -0
- package/dist/{es5 → esm}/components/Icon/IconButton.js +3 -3
- package/dist/{es5 → esm}/components/Icon/IconButton.js.map +0 -0
- package/dist/{es5 → esm}/components/Icon/canonicalIconNames.js +30 -0
- package/dist/{es5 → esm}/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/{es5 → esm}/components/Iframe/Iframe.js +3 -3
- package/dist/{es5 → esm}/components/Iframe/Iframe.js.map +1 -1
- package/dist/{es5 → esm}/components/Iframe/IframeModal.js +4 -4
- package/dist/{es5 → esm}/components/Iframe/IframeModal.js.map +0 -0
- package/dist/{es5 → esm}/components/Label/Label.js +3 -3
- package/dist/{es5 → esm}/components/Label/Label.js.map +0 -0
- package/dist/{es5 → esm}/components/Link/Link.js +2 -2
- package/dist/{es5 → esm}/components/Link/Link.js.map +0 -0
- package/dist/{es5 → esm}/components/List/List.js +1 -1
- package/dist/{es5 → esm}/components/List/List.js.map +0 -0
- package/dist/{es5 → esm}/components/Menu/Menu.js +1 -1
- package/dist/{es5 → esm}/components/Menu/Menu.js.map +0 -0
- package/dist/{es5 → esm}/components/Menu/MenuDivider.js +1 -1
- package/dist/{es5 → esm}/components/Menu/MenuDivider.js.map +0 -0
- package/dist/{es5 → esm}/components/Menu/MenuItem.js +3 -3
- package/dist/{es5 → esm}/components/Menu/MenuItem.js.map +0 -0
- package/dist/esm/components/MultiSelect/MultiSelect.js +290 -0
- package/dist/esm/components/MultiSelect/MultiSelect.js.map +1 -0
- package/dist/{es5 → esm}/components/Notification/Notification.js +13 -6
- package/dist/esm/components/Notification/Notification.js.map +1 -0
- package/dist/{es5 → esm}/components/Notification/Toast.js +2 -2
- package/dist/{es5 → esm}/components/Notification/Toast.js.map +0 -0
- package/dist/{es5 → esm}/components/NumericInput/NumericInput.js +0 -0
- package/dist/{es5 → esm}/components/NumericInput/NumericInput.js.map +0 -0
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItem.js +1 -1
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItem.js.map +0 -0
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemActions.js +1 -1
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemActions.js.map +0 -0
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemDepiction.js +1 -1
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemDepiction.js.map +0 -0
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemDescription.js +1 -1
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemDescription.js.map +0 -0
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemLine.js +1 -1
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemLine.js.map +0 -0
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemList.js +3 -3
- package/dist/{es5 → esm}/components/OverviewItem/OverviewItemList.js.map +1 -1
- package/dist/esm/components/OverviewItem/index.js +8 -0
- package/dist/{es5 → esm}/components/OverviewItem/index.js.map +0 -0
- package/dist/{es5 → esm}/components/Pagination/Pagination.js +1 -1
- package/dist/{es5 → esm}/components/Pagination/Pagination.js.map +0 -0
- package/dist/{es5 → esm}/components/ProgressBar/ProgressBar.js +0 -0
- package/dist/{es5 → esm}/components/ProgressBar/ProgressBar.js.map +0 -0
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyName.js +2 -2
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyName.js.map +0 -0
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyValue.js +1 -1
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyValue.js.map +0 -0
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyValueList.js +1 -1
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyValueList.js.map +0 -0
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyValuePair.js +1 -1
- package/dist/{es5 → esm}/components/PropertyValuePair/PropertyValuePair.js.map +0 -0
- package/dist/esm/components/PropertyValuePair/index.js +6 -0
- package/dist/{es5 → esm}/components/PropertyValuePair/index.js.map +0 -0
- package/dist/{es5 → esm}/components/RadioButton/RadioButton.js +1 -1
- package/dist/{es5 → esm}/components/RadioButton/RadioButton.js.map +0 -0
- package/dist/{es5 → esm}/components/Separation/Divider.js +1 -1
- package/dist/{es5 → esm}/components/Separation/Divider.js.map +0 -0
- package/dist/{es5 → esm}/components/Separation/Spacing.js +1 -1
- package/dist/{es5 → esm}/components/Separation/Spacing.js.map +0 -0
- package/dist/{es5 → esm}/components/SimpleTable/TableContainer.js +1 -1
- package/dist/{es5 → esm}/components/SimpleTable/TableContainer.js.map +0 -0
- package/dist/{es5 → esm}/components/SimpleTable/index.js +1 -1
- package/dist/{es5 → esm}/components/SimpleTable/index.js.map +0 -0
- package/dist/{es5 → esm}/components/Spinner/Spinner.js +4 -3
- package/dist/esm/components/Spinner/Spinner.js.map +1 -0
- package/dist/{es5 → esm}/components/Structure/Section.js +1 -1
- package/dist/{es5 → esm}/components/Structure/Section.js.map +0 -0
- package/dist/{es5 → esm}/components/Structure/SectionHeader.js +1 -1
- package/dist/{es5 → esm}/components/Structure/SectionHeader.js.map +0 -0
- package/dist/{es5 → esm}/components/Structure/TitleMainsection.js +1 -1
- package/dist/{es5 → esm}/components/Structure/TitleMainsection.js.map +0 -0
- package/dist/{es5 → esm}/components/Structure/TitlePage.js +1 -1
- package/dist/{es5 → esm}/components/Structure/TitlePage.js.map +0 -0
- package/dist/{es5 → esm}/components/Structure/TitleSubsection.js +1 -1
- package/dist/{es5 → esm}/components/Structure/TitleSubsection.js.map +0 -0
- package/dist/{es5 → esm}/components/Switch/Switch.js +1 -1
- package/dist/{es5 → esm}/components/Switch/Switch.js.map +0 -0
- package/dist/esm/components/Tabs/Tab.js +97 -0
- package/dist/esm/components/Tabs/Tab.js.map +1 -0
- package/dist/esm/components/Tabs/TabTitle.js +16 -0
- package/dist/esm/components/Tabs/TabTitle.js.map +1 -0
- package/dist/esm/components/Tabs/Tabs.js +37 -0
- package/dist/esm/components/Tabs/Tabs.js.map +1 -0
- package/dist/{es5 → esm}/components/Tag/Tag.js +8 -2
- package/dist/esm/components/Tag/Tag.js.map +1 -0
- package/dist/{es5 → esm}/components/Tag/TagList.js +14 -3
- package/dist/esm/components/Tag/TagList.js.map +1 -0
- package/dist/{es5 → esm}/components/TextField/SearchField.js +4 -4
- package/dist/{es5 → esm}/components/TextField/SearchField.js.map +0 -0
- package/dist/{es5 → esm}/components/TextField/TextArea.js +1 -1
- package/dist/{es5 → esm}/components/TextField/TextArea.js.map +0 -0
- package/dist/{es5 → esm}/components/TextField/TextField.js +2 -2
- package/dist/{es5 → esm}/components/TextField/TextField.js.map +0 -0
- package/dist/{es5 → esm}/components/Toolbar/Toolbar.js +1 -1
- package/dist/{es5 → esm}/components/Toolbar/Toolbar.js.map +0 -0
- package/dist/{es5 → esm}/components/Toolbar/ToolbarSection.js +1 -1
- package/dist/{es5 → esm}/components/Toolbar/ToolbarSection.js.map +0 -0
- package/dist/{es5 → esm}/components/Tooltip/Tooltip.js +1 -1
- package/dist/{es5 → esm}/components/Tooltip/Tooltip.js.map +0 -0
- package/dist/{es5 → esm}/components/Typography/Highlighter.js +0 -0
- package/dist/{es5 → esm}/components/Typography/Highlighter.js.map +0 -0
- package/dist/esm/components/Typography/HtmlContentBlock.js +39 -0
- package/dist/esm/components/Typography/HtmlContentBlock.js.map +1 -0
- package/dist/{es5 → esm}/components/Typography/OverflowText.js +1 -1
- package/dist/{es5 → esm}/components/Typography/OverflowText.js.map +0 -0
- package/dist/{es5 → esm}/components/Typography/WhiteSpaceContainer.js +1 -1
- package/dist/{es5 → esm}/components/Typography/WhiteSpaceContainer.js.map +0 -0
- package/dist/{es5 → esm}/components/Typography/classnames.js +2 -1
- package/dist/{es5 → esm}/components/Typography/classnames.js.map +1 -1
- package/dist/{es5 → esm}/components/Workspace/WorkspaceContent.js +3 -3
- package/dist/{es5 → esm}/components/Workspace/WorkspaceContent.js.map +0 -0
- package/dist/{es5 → esm}/components/Workspace/WorkspaceHeader.js +1 -1
- package/dist/{es5 → esm}/components/Workspace/WorkspaceHeader.js.map +0 -0
- package/dist/{es5 → esm}/components/Workspace/WorkspaceMain.js +2 -2
- package/dist/{es5 → esm}/components/Workspace/WorkspaceMain.js.map +0 -0
- package/dist/{es5 → esm}/components/Workspace/WorkspaceSide.js +2 -2
- package/dist/{es5 → esm}/components/Workspace/WorkspaceSide.js.map +0 -0
- package/dist/{es5 → esm}/components/interfaces.js +0 -0
- package/dist/{es5 → esm}/components/interfaces.js.map +0 -0
- package/dist/{es5 → esm}/configuration/constants.js +0 -0
- package/dist/{es5 → esm}/configuration/constants.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/edges/EdgeDefault.js +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/edges/EdgeStep.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/edges/EdgeStep.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/edges/EdgeTools.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/edges/EdgeTools.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/edges/edgeTypes.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/edges/edgeTypes.js.map +0 -0
- package/dist/esm/extensions/react-flow/edges/getSmoothStepPath.js +119 -0
- package/dist/esm/extensions/react-flow/edges/getSmoothStepPath.js.map +1 -0
- package/dist/esm/extensions/react-flow/edges/utils.js +113 -0
- package/dist/esm/extensions/react-flow/edges/utils.js.map +1 -0
- package/dist/{es5 → esm}/extensions/react-flow/handles/HandleContent.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/handles/HandleContent.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/handles/HandleDefault.js +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/handles/HandleDefault.js.map +0 -0
- package/dist/esm/extensions/react-flow/index.js +12 -0
- package/dist/{es5 → esm}/extensions/react-flow/index.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/minimap/MiniMap.js +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/minimap/utils.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/minimap/utils.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeContent.js +30 -11
- package/dist/esm/extensions/react-flow/nodes/NodeContent.js.map +1 -0
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeContentExtension.js +7 -6
- package/dist/esm/extensions/react-flow/nodes/NodeContentExtension.js.map +1 -0
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeDefault.js +2 -2
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeDefault.js.map +0 -0
- package/dist/{es5 → esm}/extensions/react-flow/nodes/NodeTools.js +14 -12
- package/dist/esm/extensions/react-flow/nodes/NodeTools.js.map +1 -0
- package/dist/{es5 → esm}/extensions/react-flow/nodes/nodeTypes.js +1 -1
- package/dist/{es5 → esm}/extensions/react-flow/nodes/nodeTypes.js.map +0 -0
- package/dist/esm/index.js +97 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/legacy-replacements/Button/AffirmativeButton.js +29 -0
- package/dist/esm/legacy-replacements/Button/AffirmativeButton.js.map +1 -0
- package/dist/esm/legacy-replacements/Button/Button.js +65 -0
- package/dist/esm/legacy-replacements/Button/Button.js.map +1 -0
- package/dist/esm/legacy-replacements/Button/DismissiveButton.js +29 -0
- package/dist/esm/legacy-replacements/Button/DismissiveButton.js.map +1 -0
- package/dist/esm/legacy-replacements/Button/DisruptiveButton.js +29 -0
- package/dist/esm/legacy-replacements/Button/DisruptiveButton.js.map +1 -0
- package/dist/esm/legacy-replacements/Checkbox/Checkbox.js +59 -0
- package/dist/esm/legacy-replacements/Checkbox/Checkbox.js.map +1 -0
- package/dist/esm/legacy-replacements/Radio/RadioButton.js +52 -0
- package/dist/esm/legacy-replacements/Radio/RadioButton.js.map +1 -0
- package/dist/esm/legacy-replacements/Tabs/Tabs.js +40 -0
- package/dist/esm/legacy-replacements/Tabs/Tabs.js.map +1 -0
- package/dist/esm/legacy-replacements/TextField/TextField.js +81 -0
- package/dist/esm/legacy-replacements/TextField/TextField.js.map +1 -0
- package/dist/esm/legacy-replacements/index.js +10 -0
- package/dist/esm/legacy-replacements/index.js.map +1 -0
- package/dist/{es5 → esm}/package.json +0 -0
- package/dist/types/cmem/ActivityControl/ActivityControlTypes.d.ts +2 -1
- package/dist/types/cmem/ActivityControl/ActivityControlWidget.d.ts +48 -2
- package/dist/types/cmem/ActivityControl/SilkActivityControl.d.ts +18 -3
- package/dist/types/cmem/ActivityControl/index.d.ts +3 -0
- package/dist/types/cmem/ContentBlobToggler/index.d.ts +2 -0
- package/dist/types/cmem/index.d.ts +8 -8
- package/dist/types/cmem/react-flow/ReactFlow/ReactFlow.d.ts +14 -0
- package/dist/types/cmem/react-flow/configuration/graph.d.ts +21 -0
- package/dist/types/cmem/react-flow/configuration/linking.d.ts +19 -0
- package/dist/types/cmem/react-flow/configuration/unspecified.d.ts +9 -0
- package/dist/types/cmem/react-flow/configuration/workflow.d.ts +17 -0
- package/dist/types/common/utils/stringUtils.d.ts +2 -0
- package/dist/types/components/AutoSuggestion/AutoSuggestion.d.ts +67 -0
- package/dist/types/components/AutoSuggestion/AutoSuggestionList.d.ts +13 -0
- package/dist/types/components/AutoSuggestion/SingleLineCodeEditor.d.ts +25 -0
- package/dist/types/components/AutocompleteField/AutoCompleteField.d.ts +8 -7
- package/dist/types/components/Button/Button.d.ts +3 -2
- package/dist/types/components/Card/Card.d.ts +9 -4
- package/dist/types/components/ContextOverlay/ContextMenu.d.ts +6 -1
- package/dist/types/components/Dialog/Modal.d.ts +4 -3
- package/dist/types/components/Dialog/SimpleDialog.d.ts +2 -0
- package/dist/types/components/Form/FieldItemRow.d.ts +1 -0
- package/dist/types/components/Icon/Icon.d.ts +2 -2
- package/dist/types/components/Icon/IconButton.d.ts +1 -1
- package/dist/types/components/Icon/canonicalIconNames.d.ts +1 -1
- package/dist/types/components/MultiSelect/MultiSelect.d.ts +86 -0
- package/dist/types/components/Notification/Notification.d.ts +55 -2
- package/dist/types/components/OverviewItem/OverviewItemList.d.ts +1 -1
- package/dist/types/components/Spinner/Spinner.d.ts +1 -1
- package/dist/types/components/Tabs/Tab.d.ts +549 -0
- package/dist/types/components/Tabs/TabTitle.d.ts +38 -0
- package/dist/types/components/Tabs/Tabs.d.ts +14 -20
- package/dist/types/components/Tag/Tag.d.ts +1 -1
- package/dist/types/components/Typography/HtmlContentBlock.d.ts +15 -5
- package/dist/types/components/Typography/classnames.d.ts +1 -0
- package/dist/types/extensions/react-flow/edges/getSmoothStepPath.d.ts +18 -0
- package/dist/types/extensions/react-flow/edges/utils.d.ts +1 -1
- package/dist/types/extensions/react-flow/nodes/NodeContent.d.ts +15 -9
- package/dist/types/extensions/react-flow/nodes/NodeContentExtension.d.ts +5 -1
- package/dist/types/extensions/react-flow/nodes/NodeDefault.d.ts +2 -2
- package/dist/types/extensions/react-flow/nodes/NodeTools.d.ts +9 -2
- package/dist/types/extensions/react-flow/nodes/nodeTypes.d.ts +10 -10
- package/dist/types/index.d.ts +9 -4
- package/dist/types/legacy-replacements/Button/AffirmativeButton.d.ts +2 -0
- package/dist/types/legacy-replacements/Button/Button.d.ts +5 -0
- package/dist/types/legacy-replacements/Button/DismissiveButton.d.ts +2 -0
- package/dist/types/legacy-replacements/Button/DisruptiveButton.d.ts +2 -0
- package/dist/types/legacy-replacements/Checkbox/Checkbox.d.ts +2 -0
- package/dist/types/legacy-replacements/Radio/RadioButton.d.ts +2 -0
- package/dist/types/legacy-replacements/Tabs/Tabs.d.ts +22 -0
- package/dist/types/legacy-replacements/TextField/TextField.d.ts +2 -0
- package/dist/types/legacy-replacements/index.d.ts +10 -0
- package/package.json +43 -24
- package/src/cmem/ActivityControl/ActivityControlTypes.ts +3 -1
- package/src/cmem/ActivityControl/ActivityControlWidget.stories.tsx +98 -0
- package/src/cmem/ActivityControl/ActivityControlWidget.tsx +144 -89
- package/src/cmem/ActivityControl/ActivityExecutionErrorReportModal.tsx +11 -3
- package/src/cmem/ActivityControl/SilkActivityControl.tsx +182 -120
- package/src/cmem/ActivityControl/index.ts +3 -0
- package/src/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.tsx +1 -1
- package/src/cmem/ContentBlobToggler/index.ts +2 -0
- package/src/cmem/_index.scss +6 -0
- package/src/cmem/index.ts +10 -23
- package/src/cmem/react-flow/ReactFlow/ReactFlow.stories.tsx +222 -0
- package/src/cmem/react-flow/ReactFlow/ReactFlow.tsx +40 -0
- package/src/cmem/react-flow/_edges.scss +23 -0
- package/src/cmem/react-flow/_handles.scss +34 -0
- package/src/cmem/react-flow/_index.scss +5 -0
- package/src/cmem/react-flow/_minimap.scss +33 -0
- package/src/cmem/react-flow/_nodes.scss +66 -0
- package/src/cmem/react-flow/configuration/_colors-graph.module.scss +35 -0
- package/src/cmem/react-flow/configuration/_colors-linking.module.scss +29 -0
- package/src/cmem/react-flow/configuration/_colors-workflow.module.scss +22 -0
- package/src/cmem/react-flow/configuration/_colors.scss +3 -0
- package/src/cmem/react-flow/configuration/graph.ts +29 -0
- package/src/cmem/react-flow/configuration/linking.ts +28 -0
- package/src/cmem/react-flow/configuration/unspecified.ts +13 -0
- package/src/cmem/react-flow/configuration/workflow.ts +25 -0
- package/src/common/utils/stringUtils.ts +2 -0
- package/src/components/Accordion/accordion.scss +1 -2
- package/src/components/Application/ApplicationContent.tsx +0 -5
- package/src/components/Application/ApplicationTitle.tsx +0 -5
- package/src/components/AutoSuggestion/AutoSuggestion.scss +100 -0
- package/src/components/AutoSuggestion/AutoSuggestion.tsx +448 -0
- package/src/components/AutoSuggestion/AutoSuggestionList.tsx +170 -0
- package/src/components/AutoSuggestion/SingleLineCodeEditor.tsx +97 -0
- package/src/components/AutoSuggestion/tests/AutoSuggestion.test.tsx +37 -0
- package/src/components/AutoSuggestion/tests/AutoSuggestionList.test.tsx +124 -0
- package/src/components/AutoSuggestion/tests/SingleLineCodeEditor.test.tsx +55 -0
- package/src/components/AutocompleteField/AutoCompleteField.tsx +25 -23
- package/src/components/AutocompleteField/autoCompleteFieldUtils.tsx +2 -1
- package/src/components/Breadcrumb/BreadcrumbItem.tsx +5 -5
- package/src/components/Breadcrumb/BreadcrumbList.tsx +1 -1
- package/src/components/Button/Button.stories.tsx +1 -1
- package/src/components/Button/Button.tsx +4 -3
- package/src/components/Card/Card.tsx +23 -4
- package/src/components/Card/card.scss +4 -0
- package/src/components/Checkbox/checkbox.scss +4 -0
- package/src/components/ContextOverlay/ContextMenu.tsx +8 -2
- package/src/components/Dialog/Modal.tsx +10 -3
- package/src/components/Dialog/SimpleDialog.tsx +2 -0
- package/src/components/Form/FieldItem.tsx +3 -3
- package/src/components/Form/FieldItemRow.tsx +3 -5
- package/src/components/Form/FieldSet.tsx +1 -0
- package/src/components/Icon/Icon.tsx +4 -4
- package/src/components/Icon/IconButton.tsx +3 -3
- package/src/components/Icon/canonicalIconNames.tsx +39 -2
- package/src/components/Iframe/Iframe.tsx +1 -1
- package/src/components/Menu/MenuItem.tsx +1 -1
- package/src/components/MultiSelect/MultiSelect.stories.tsx +71 -0
- package/src/components/MultiSelect/MultiSelect.tsx +373 -0
- package/src/components/Notification/Notification.stories.tsx +82 -0
- package/src/components/Notification/Notification.tsx +62 -4
- package/src/components/Notification/notification.scss +2 -1
- package/src/components/OverviewItem/OverviewItemList.tsx +3 -3
- package/src/components/RadioButton/radiobutton.scss +4 -0
- package/src/components/Spinner/Spinner.tsx +2 -1
- package/src/components/Switch/switch.scss +1 -0
- package/src/components/Tabs/Tab.tsx +111 -0
- package/src/components/Tabs/TabTitle.tsx +71 -0
- package/src/components/Tabs/Tabs.tsx +22 -90
- package/src/components/Tabs/stories/Tab.stories.tsx +65 -0
- package/src/components/Tabs/stories/TabTitle.stories.tsx +35 -0
- package/src/components/Tabs/stories/Tabs.stories.tsx +98 -0
- package/src/components/Tabs/tabs.scss +11 -4
- package/src/components/Tag/Tag.tsx +10 -3
- package/src/components/Tag/TagList.tsx +1 -0
- package/src/components/Tag/tag.scss +2 -2
- package/src/components/TextField/TextField.tsx +1 -1
- package/src/components/Toolbar/toolbar.scss +1 -1
- package/src/components/Typography/HtmlContentBlock.tsx +27 -4
- package/src/components/Typography/classnames.ts +1 -0
- package/src/components/Typography/typography.scss +8 -0
- package/src/configuration/_variables.scss +3 -3
- package/src/extensions/react-flow/_config.scss +2 -2
- package/src/extensions/react-flow/_react-flow.scss +4 -0
- package/src/extensions/react-flow/edges/EdgeDefault.tsx +0 -1
- package/src/extensions/react-flow/edges/_edges.scss +3 -28
- package/src/extensions/react-flow/edges/getSmoothStepPath.ts +118 -0
- package/src/extensions/react-flow/edges/utils.ts +131 -4
- package/src/extensions/react-flow/handles/_handles.scss +4 -58
- package/src/extensions/react-flow/minimap/MiniMap.tsx +1 -1
- package/src/extensions/react-flow/minimap/_minimap.scss +0 -45
- package/src/extensions/react-flow/nodes/NodeContent.tsx +141 -134
- package/src/extensions/react-flow/nodes/NodeContentExtension.tsx +17 -10
- package/src/extensions/react-flow/nodes/NodeDefault.tsx +2 -2
- package/src/extensions/react-flow/nodes/NodeTools.tsx +27 -10
- package/src/extensions/react-flow/nodes/_nodes.scss +61 -196
- package/src/extensions/react-flow/nodes/{NodeContent.stories.tsx → stories/NodeContent.stories.tsx} +14 -5
- package/src/extensions/react-flow/nodes/stories/NodeContentExtension.stories.tsx +59 -0
- package/src/extensions/react-flow/nodes/{NodeDefault.stories.tsx → stories/NodeDefault.stories.tsx} +5 -4
- package/src/index.scss +1 -0
- package/src/index.ts +19 -4
- package/src/legacy-replacements/Tabs/Tabs.stories.tsx +46 -0
- package/src/legacy-replacements/Tabs/Tabs.tsx +84 -0
- package/src/legacy-replacements/index.ts +11 -0
- package/src/test/setupTests.js +19 -0
- package/dist/es5/cmem/ActivityControl/ActivityControlWidget.js +0 -39
- package/dist/es5/cmem/ActivityControl/ActivityControlWidget.js.map +0 -1
- package/dist/es5/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +0 -1
- package/dist/es5/cmem/ActivityControl/SilkActivityControl.js.map +0 -1
- package/dist/es5/cmem/index.js +0 -9
- package/dist/es5/cmem/index.js.map +0 -1
- package/dist/es5/components/Application/ApplicationContent.js.map +0 -1
- package/dist/es5/components/Application/ApplicationTitle.js.map +0 -1
- package/dist/es5/components/AutocompleteField/AutoCompleteField.js.map +0 -1
- package/dist/es5/components/Card/Card.js.map +0 -1
- package/dist/es5/components/Card/index.js +0 -9
- package/dist/es5/components/Dialog/Modal.js.map +0 -1
- package/dist/es5/components/Form/FieldItemRow.js +0 -24
- package/dist/es5/components/Form/FieldItemRow.js.map +0 -1
- package/dist/es5/components/Form/FieldSet.js.map +0 -1
- package/dist/es5/components/Icon/Icon.js.map +0 -1
- package/dist/es5/components/Notification/Notification.js.map +0 -1
- package/dist/es5/components/OverviewItem/index.js +0 -8
- package/dist/es5/components/PropertyValuePair/index.js +0 -6
- package/dist/es5/components/Spinner/Spinner.js.map +0 -1
- package/dist/es5/components/Tabs/Tabs.js +0 -50
- package/dist/es5/components/Tabs/Tabs.js.map +0 -1
- package/dist/es5/components/Tag/Tag.js.map +0 -1
- package/dist/es5/components/Tag/TagList.js.map +0 -1
- package/dist/es5/components/Typography/HtmlContentBlock.js +0 -30
- package/dist/es5/components/Typography/HtmlContentBlock.js.map +0 -1
- package/dist/es5/extensions/react-flow/edges/utils.js +0 -18
- package/dist/es5/extensions/react-flow/edges/utils.js.map +0 -1
- package/dist/es5/extensions/react-flow/index.js +0 -12
- package/dist/es5/extensions/react-flow/nodes/NodeContent.js.map +0 -1
- package/dist/es5/extensions/react-flow/nodes/NodeContentExtension.js.map +0 -1
- package/dist/es5/extensions/react-flow/nodes/NodeTools.js.map +0 -1
- package/dist/es5/index.js +0 -92
- package/dist/es5/index.js.map +0 -1
- package/src/extensions/react-flow/nodes/NodeContentExtension.stories.tsx +0 -36
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface HtmlContentBlockProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
className?: string;
|
|
4
|
+
small?: boolean;
|
|
5
|
+
/** currently not supported */
|
|
6
|
+
large?: boolean;
|
|
7
|
+
/** currently not supported */
|
|
8
|
+
muted?: boolean;
|
|
9
|
+
/** currently not supported */
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
linebreakForced?: boolean;
|
|
12
|
+
linebreakPrevented?: boolean;
|
|
13
|
+
noScrollbarsOnChildren?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare function HtmlContentBlock({ className, children, small, large, muted, disabled, linebreakForced, linebreakPrevented, noScrollbarsOnChildren, ...otherProps }: HtmlContentBlockProps): JSX.Element;
|
|
6
16
|
export default HtmlContentBlock;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const NOOVERFLOW: string;
|
|
2
2
|
export declare const FORCELINEBREAK: string;
|
|
3
3
|
export declare const PREVENTLINEBREAK: string;
|
|
4
|
+
export declare const NOSCROLLBARSONCHILDREN: string;
|
|
4
5
|
export declare const LARGE: string;
|
|
5
6
|
export declare const SMALL: string;
|
|
6
7
|
export declare const MUTED: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copied from `react-flow` because we need to change there routing.
|
|
3
|
+
* We use the 10.2.0cversion minus commit 87d518f8b5540a91a3f9c163a2315c2de47abc31
|
|
4
|
+
* @see https://github.com/wbkd/react-flow/commit/87d518f8b5540a91a3f9c163a2315c2de47abc31
|
|
5
|
+
*/
|
|
6
|
+
import { Position } from "react-flow-renderer";
|
|
7
|
+
export interface GetSmoothStepPathParams {
|
|
8
|
+
sourceX: number;
|
|
9
|
+
sourceY: number;
|
|
10
|
+
sourcePosition?: Position;
|
|
11
|
+
targetX: number;
|
|
12
|
+
targetY: number;
|
|
13
|
+
targetPosition?: Position;
|
|
14
|
+
borderRadius?: number;
|
|
15
|
+
centerX?: number;
|
|
16
|
+
centerY?: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function getSmoothStepPath({ sourceX, sourceY, sourcePosition, targetX, targetY, targetPosition, borderRadius, centerX, centerY, }: GetSmoothStepPathParams): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { EdgeDefaultProps } from "./EdgeDefault";
|
|
2
2
|
import { EdgeStepProps } from "./EdgeStep";
|
|
3
|
-
export declare const drawEdgeStraight: ({ sourceX, sourceY, targetX, targetY, }: EdgeDefaultProps) => string;
|
|
3
|
+
export declare const drawEdgeStraight: ({ sourceX, sourceY, sourcePosition, targetX, targetY, targetPosition, }: EdgeDefaultProps) => string;
|
|
4
4
|
export declare const drawEdgeStep: ({ sourceX, sourceY, sourcePosition, targetX, targetY, targetPosition, data, }: EdgeStepProps) => string;
|
|
@@ -3,11 +3,12 @@ import { Position } from "react-flow-renderer";
|
|
|
3
3
|
import { ValidIconName } from "../../../components/Icon/canonicalIconNames";
|
|
4
4
|
import { HandleProps } from "./../handles/HandleDefault";
|
|
5
5
|
import { NodeProps } from "./NodeDefault";
|
|
6
|
-
|
|
6
|
+
import { NodeContentExtensionProps } from "./NodeContentExtension";
|
|
7
|
+
export declare type HighlightingState = "success" | "warning" | "danger" | "match" | "altmatch";
|
|
7
8
|
export interface IHandleProps extends HandleProps {
|
|
8
9
|
category?: "configuration";
|
|
9
10
|
}
|
|
10
|
-
interface NodeContentData {
|
|
11
|
+
interface NodeContentData<CONTENT_PROPS = any> {
|
|
11
12
|
/**
|
|
12
13
|
* Name of icon that should be displayed before the node label.
|
|
13
14
|
* Must be a name from our list of canonical icon names.
|
|
@@ -24,13 +25,13 @@ interface NodeContentData {
|
|
|
24
25
|
/**
|
|
25
26
|
* Content element, displayed in the node body.
|
|
26
27
|
*/
|
|
27
|
-
content?: React.ReactNode;
|
|
28
|
+
content?: React.ReactNode | ((adjustedContentProps: Partial<CONTENT_PROPS>) => React.ReactNode);
|
|
28
29
|
/**
|
|
29
30
|
* Content extension, displayed at the bottom side of a node.
|
|
30
31
|
*/
|
|
31
|
-
contentExtension?: React.
|
|
32
|
+
contentExtension?: React.ReactElement<NodeContentExtensionProps>;
|
|
32
33
|
}
|
|
33
|
-
export interface NodeContentProps<
|
|
34
|
+
export interface NodeContentProps<NODE_DATA, NODE_CONTENT_PROPS = any> extends NodeContentData, React.HTMLAttributes<HTMLDivElement> {
|
|
34
35
|
/**
|
|
35
36
|
* Size of the node.
|
|
36
37
|
* If `minimalShape` is not set to `none`then the configured size definition is only used for the selected node state.
|
|
@@ -57,7 +58,7 @@ export interface NodeContentProps<T> extends NodeContentData, React.HTMLAttribut
|
|
|
57
58
|
/**
|
|
58
59
|
* Set of defined buttons and icons that can be displayed.
|
|
59
60
|
*/
|
|
60
|
-
executionButtons?: () => React.
|
|
61
|
+
executionButtons?: (adjustedContentProps: Partial<NODE_CONTENT_PROPS>, setAdjustedContentProps: React.Dispatch<React.SetStateAction<Partial<NODE_CONTENT_PROPS>>>) => React.ReactElement<NODE_CONTENT_PROPS>;
|
|
61
62
|
/**
|
|
62
63
|
* Can be used for permanent action button or context menu.
|
|
63
64
|
* It is displayed at the node header right to the label.
|
|
@@ -80,7 +81,7 @@ export interface NodeContentProps<T> extends NodeContentData, React.HTMLAttribut
|
|
|
80
81
|
* Callback function to provide content for the tooltip on a node with a defined `minimalShape`.
|
|
81
82
|
* If you do not want a tooltip in this state you need to provide a callback that returns an empty value.
|
|
82
83
|
*/
|
|
83
|
-
getMinimalTooltipData?: (node: NodeProps<
|
|
84
|
+
getMinimalTooltipData?: (node: NodeProps<NODE_DATA>) => NodeContentData;
|
|
84
85
|
/**
|
|
85
86
|
* Set if a handle is displayed even if it does not allow a connection to an edge.
|
|
86
87
|
*/
|
|
@@ -90,7 +91,7 @@ export interface NodeContentProps<T> extends NodeContentData, React.HTMLAttribut
|
|
|
90
91
|
*/
|
|
91
92
|
animated?: boolean;
|
|
92
93
|
/** Additional data stored in the node. */
|
|
93
|
-
businessData?:
|
|
94
|
+
businessData?: NODE_DATA;
|
|
94
95
|
/**
|
|
95
96
|
* This property is only forwarded from the `NodeDefault` element.
|
|
96
97
|
* If set then it will be always overwritten internally.
|
|
@@ -111,11 +112,16 @@ export interface NodeContentProps<T> extends NodeContentData, React.HTMLAttribut
|
|
|
111
112
|
* If set then it will be always overwritten internally.
|
|
112
113
|
*/
|
|
113
114
|
selected?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Allow react flow wheel events, e.g. for zooming using the mouse wheel over a node.
|
|
117
|
+
* If this is allowed scrolling inside a node is not possible.
|
|
118
|
+
*/
|
|
119
|
+
letPassWheelEvents?: boolean;
|
|
114
120
|
}
|
|
115
121
|
export declare const gethighlightedStateClasses: (state: any, baseClassName: any) => any;
|
|
116
122
|
/**
|
|
117
123
|
* The `NodeContent` element manages the main view of how a node is displaying which content.
|
|
118
124
|
* This element cannot be used directly, all properties must be routed through the `data` property of an `elements` property item inside the `ReactFlow` container.
|
|
119
125
|
*/
|
|
120
|
-
export declare
|
|
126
|
+
export declare function NodeContent<CONTENT_PROPS = any>({ iconName, depiction, typeLabel, label, showExecutionButtons, executionButtons, menuButtons, content, contentExtension, size, minimalShape, highlightedState, handles, adaptHeightForHandleMinCount, adaptSizeIncrement, getMinimalTooltipData, style, showUnconnectableHandles, animated, targetPosition, sourcePosition, isConnectable, selected, letPassWheelEvents, businessData, ...otherProps }: NodeContentProps<any>): JSX.Element;
|
|
121
127
|
export {};
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export interface NodeContentExtensionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* When enabled the element is displayed in a way that it does not count into the node size calculation.
|
|
5
|
+
*/
|
|
6
|
+
slideOutOfNode?: boolean;
|
|
3
7
|
/**
|
|
4
8
|
* Element is displayed in expanded state.
|
|
5
9
|
* If it has no `onToggle` handler property set then it is always expanded.
|
|
@@ -27,4 +31,4 @@ export interface NodeContentExtensionProps extends React.HTMLAttributes<HTMLDivE
|
|
|
27
31
|
/**
|
|
28
32
|
* Displays an content area that can be attached to `NodeContent` elements.
|
|
29
33
|
*/
|
|
30
|
-
export declare const NodeContentExtension: ({ children, isExpanded, onToggle, actionButtons, tooltipExpand, tooltipReduce, ...otherProps }: NodeContentExtensionProps) => JSX.Element;
|
|
34
|
+
export declare const NodeContentExtension: ({ children, slideOutOfNode, isExpanded, onToggle, actionButtons, tooltipExpand, tooltipReduce, ...otherProps }: NodeContentExtensionProps) => JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { NodeProps as ReactFlowNodeProps } from "react-flow-renderer";
|
|
3
3
|
import { NodeContentProps } from "./NodeContent";
|
|
4
|
-
export interface NodeProps<
|
|
4
|
+
export interface NodeProps<NODE_DATA, NODE_CONTENT_PROPS = any> extends ReactFlowNodeProps {
|
|
5
5
|
/**
|
|
6
6
|
* Contains all properties for our implementation of the React-Flow node.
|
|
7
7
|
* For details pls see the `NodeContent` element documentation.
|
|
8
8
|
*/
|
|
9
|
-
data: NodeContentProps<
|
|
9
|
+
data: NodeContentProps<NODE_DATA, NODE_CONTENT_PROPS>;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* The `NodeDefault` element manages the display of React-Flow nodes.
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { IPopoverProps as IBlueprintPopoverProps } from "@blueprintjs/core";
|
|
3
|
+
import { ValidIconName } from "../../../components/Icon/canonicalIconNames";
|
|
3
4
|
export interface NodeToolsProps extends IBlueprintPopoverProps {
|
|
4
5
|
children: string | JSX.Element;
|
|
5
|
-
togglerElement?:
|
|
6
|
+
togglerElement?: ValidIconName | JSX.Element;
|
|
6
7
|
togglerText?: string;
|
|
7
8
|
menuButtonDataTestId?: string;
|
|
9
|
+
/** If defined this function will be called with the menu API object to be used externally. */
|
|
10
|
+
menuFunctionsCallback?: (menuFunctions: NodeToolsMenuFunctions) => any;
|
|
8
11
|
}
|
|
9
|
-
export
|
|
12
|
+
export interface NodeToolsMenuFunctions {
|
|
13
|
+
/** Closes the menu if its open. */
|
|
14
|
+
closeMenu: () => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const NodeTools: React.MemoExoticComponent<({ children, togglerElement, togglerText, menuButtonDataTestId, menuFunctionsCallback, ...otherOverlayProps }: NodeToolsProps) => JSX.Element>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const nodeTypes: {
|
|
3
|
-
default: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any>) => JSX.Element>;
|
|
4
|
-
graphNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any>) => JSX.Element>;
|
|
5
|
-
classNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any>) => JSX.Element>;
|
|
6
|
-
instanceNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any>) => JSX.Element>;
|
|
7
|
-
propertyNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any>) => JSX.Element>;
|
|
8
|
-
datasetNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any>) => JSX.Element>;
|
|
9
|
-
linkingNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any>) => JSX.Element>;
|
|
10
|
-
transformNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any>) => JSX.Element>;
|
|
11
|
-
taskNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any>) => JSX.Element>;
|
|
12
|
-
workflowNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any>) => JSX.Element>;
|
|
3
|
+
default: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
4
|
+
graphNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
5
|
+
classNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
6
|
+
instanceNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
7
|
+
propertyNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
8
|
+
datasetNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
9
|
+
linkingNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
10
|
+
transformNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
11
|
+
taskNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
12
|
+
workflowNode: import("react").MemoExoticComponent<(node: import("./NodeDefault").NodeProps<any, any>) => JSX.Element>;
|
|
13
13
|
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ import ApplicationToolbar from "./components/Application/ApplicationToolbar";
|
|
|
9
9
|
import ApplicationToolbarSection from "./components/Application/ApplicationToolbarSection";
|
|
10
10
|
import ApplicationToolbarAction from "./components/Application/ApplicationToolbarAction";
|
|
11
11
|
import ApplicationToolbarPanel from "./components/Application/ApplicationToolbarPanel";
|
|
12
|
+
import AutoSuggestion from "./components/AutoSuggestion/AutoSuggestion";
|
|
13
|
+
import { AutoSuggestionList } from "./components/AutoSuggestion/AutoSuggestionList";
|
|
14
|
+
import SingleLineCodeEditor from "./components/AutoSuggestion/SingleLineCodeEditor";
|
|
12
15
|
import HtmlContentBlock from "./components/Typography/HtmlContentBlock";
|
|
13
16
|
import OverflowText from "./components/Typography/OverflowText";
|
|
14
17
|
import WhiteSpaceContainer from "./components/Typography/WhiteSpaceContainer";
|
|
@@ -27,6 +30,8 @@ import Button from "./components/Button/Button";
|
|
|
27
30
|
import Checkbox from "./components/Checkbox/Checkbox";
|
|
28
31
|
import RadioButton from "./components/RadioButton/RadioButton";
|
|
29
32
|
import Tabs from "./components/Tabs/Tabs";
|
|
33
|
+
import Tab from "./components/Tabs/Tab";
|
|
34
|
+
import TabTitle from "./components/Tabs/TabTitle";
|
|
30
35
|
import TextField from "./components/TextField/TextField";
|
|
31
36
|
import TextArea from "./components/TextField/TextArea";
|
|
32
37
|
import SearchField from "./components/TextField/SearchField";
|
|
@@ -47,6 +52,7 @@ import TagList from "./components/Tag/TagList";
|
|
|
47
52
|
import Notification from "./components/Notification/Notification";
|
|
48
53
|
import Toast from "./components/Notification/Toast";
|
|
49
54
|
import { Select } from "@blueprintjs/select";
|
|
55
|
+
import MultiSelect from "./components/MultiSelect/MultiSelect";
|
|
50
56
|
import { Iframe } from "./components/Iframe/Iframe";
|
|
51
57
|
import { IframeModal } from "./components/Iframe/IframeModal";
|
|
52
58
|
import { OverviewItem, OverviewItemActions, OverviewItemDepiction, OverviewItemDescription, OverviewItemLine, OverviewItemList } from "./components/OverviewItem";
|
|
@@ -75,6 +81,7 @@ import { PropertyName, PropertyValue, PropertyValuePair, PropertyValueList } fro
|
|
|
75
81
|
import * as TypographyClassNames from "./components/Typography/classnames";
|
|
76
82
|
import { ProgressBar } from "./components/ProgressBar/ProgressBar";
|
|
77
83
|
import List from "./components/List/List";
|
|
84
|
+
import * as LegacyReplacements from "./legacy-replacements";
|
|
78
85
|
declare const HelperClasses: {
|
|
79
86
|
Typography: typeof TypographyClassNames;
|
|
80
87
|
Intent: {
|
|
@@ -84,9 +91,7 @@ declare const HelperClasses: {
|
|
|
84
91
|
declare const Utilities: {
|
|
85
92
|
openInNewTab: (event: import("react").MouseEvent<HTMLElement, MouseEvent>, handler?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined, url?: string | undefined) => void;
|
|
86
93
|
};
|
|
87
|
-
export { ApplicationContainer, ApplicationHeader, ApplicationContent, ApplicationSidebarNavigation, ApplicationSidebarToggler, ApplicationTitle, ApplicationToolbar, ApplicationToolbarSection, ApplicationToolbarAction, ApplicationToolbarPanel, HtmlContentBlock, OverflowText, WhiteSpaceContainer, Highlighter, Grid, GridRow, GridColumn, List, WorkspaceContent, WorkspaceMain, WorkspaceSide, WorkspaceHeader, Menu, MenuItem, MenuDivider, ContextOverlay, ContextMenu, OverviewItem, OverviewItemDepiction, OverviewItemDescription, OverviewItemLine, OverviewItemActions, OverviewItemList, TableContainer, Table, TableHead, TableRow, TableBody, TableCell, TableHeader, Icon, IconButton, Label, Button, Checkbox, RadioButton, Tabs, TextField, TextArea, SearchField, Switch, //
|
|
88
|
-
|
|
89
|
-
FieldItem, FieldItemRow, FieldSet, BreadcrumbList, BreadcrumbItem, Modal, SimpleDialog, AlertDialog, Card, CardHeader, CardTitle, CardOptions, CardContent, CardActions, CardActionsAux, Spacing, Divider, Tooltip, Section, SectionHeader, TitlePage, TitleMainsection, TitleSubsection, Accordion, AccordionItem, Toolbar, ToolbarSection, Tag, TagList, Pagination, Notification, Link, Spinner, PropertyName, PropertyValue, PropertyValuePair, PropertyValueList, Toast, HelperClasses, Select, // TODO: include as own element
|
|
90
|
-
AutoCompleteField, ProgressBar, Iframe, IframeModal, Utilities };
|
|
94
|
+
export { ApplicationContainer, ApplicationHeader, ApplicationContent, ApplicationSidebarNavigation, ApplicationSidebarToggler, ApplicationTitle, ApplicationToolbar, ApplicationToolbarSection, ApplicationToolbarAction, ApplicationToolbarPanel, AutoSuggestion, AutoSuggestionList, SingleLineCodeEditor, HtmlContentBlock, OverflowText, WhiteSpaceContainer, Highlighter, Grid, GridRow, GridColumn, List, WorkspaceContent, WorkspaceMain, WorkspaceSide, WorkspaceHeader, Menu, MenuItem, MenuDivider, ContextOverlay, ContextMenu, OverviewItem, OverviewItemDepiction, OverviewItemDescription, OverviewItemLine, OverviewItemActions, OverviewItemList, TableContainer, Table, TableHead, TableRow, TableBody, TableCell, TableHeader, Icon, IconButton, Label, Button, Checkbox, RadioButton, Tabs, Tab, TabTitle, TextField, TextArea, SearchField, Switch, NumericInput, FieldItem, FieldItemRow, FieldSet, BreadcrumbList, BreadcrumbItem, Modal, SimpleDialog, AlertDialog, Card, CardHeader, CardTitle, CardOptions, CardContent, CardActions, CardActionsAux, Spacing, Divider, Tooltip, Section, SectionHeader, TitlePage, TitleMainsection, TitleSubsection, Accordion, AccordionItem, Toolbar, ToolbarSection, Tag, TagList, Pagination, Notification, Link, Spinner, PropertyName, PropertyValue, PropertyValuePair, PropertyValueList, Toast, HelperClasses, Select, // FIXME: CMEM-3742: include as own element
|
|
95
|
+
MultiSelect, AutoCompleteField, ProgressBar, Iframe, IframeModal, Utilities, LegacyReplacements, };
|
|
91
96
|
export * from "./cmem";
|
|
92
97
|
export * from "./extensions/react-flow";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const iconMappings: {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
};
|
|
5
|
+
export declare function ButtonReplacement({ children, className, fabSize, iconName, tooltip, progress, disabled, affirmative, dismissive, disruptive, raised, colored, ...otherProps }: any): JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TabsProps as BlueprintTabsProps } from "@blueprintjs/core";
|
|
3
|
+
interface TabsProps extends Omit<BlueprintTabsProps, "vertical" | "onChange" | "large" | "id" | "renderActiveTabPanelOnly"> {
|
|
4
|
+
activeTab: string;
|
|
5
|
+
tabs: DeprecatedTabProps[];
|
|
6
|
+
onTabClick?: ({ props }: any) => void;
|
|
7
|
+
prefixTabNames: string;
|
|
8
|
+
allowScrollbars?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* If controlled usage is enable then a `onTabClick` handler is ncessary to control tab panel content and `activeTab` updates.
|
|
11
|
+
*/
|
|
12
|
+
controlled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface DeprecatedTabProps {
|
|
15
|
+
tabId: string;
|
|
16
|
+
tabTitle: React.ReactNode;
|
|
17
|
+
tabContent?: JSX.Element;
|
|
18
|
+
dontShrink?: boolean;
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function TabsReplacement({ activeTab, tabs, onTabClick, controlled, prefixTabNames, className, allowScrollbars, ...restProps }: TabsProps): JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { ButtonReplacement as Button } from "./Button/Button";
|
|
2
|
+
export { AffirmativeButtonReplacement as AffirmativeButton } from "./Button/AffirmativeButton";
|
|
3
|
+
export { DismissiveButtonReplacement as DismissiveButton } from "./Button/DismissiveButton";
|
|
4
|
+
export { DisruptiveButtonReplacement as DisruptiveButton } from "./Button/DisruptiveButton";
|
|
5
|
+
export { ButtonReplacement as ProgressButton } from "./Button/Button";
|
|
6
|
+
export { CheckboxReplacement as Checkbox } from "./Checkbox/Checkbox";
|
|
7
|
+
export { RadioButtonReplacement as Radio } from "./Radio/RadioButton";
|
|
8
|
+
export { TabsReplacement as Tabs } from "./Tabs/Tabs";
|
|
9
|
+
export { TextFieldReplacement as TextField } from "./TextField/TextField";
|
|
10
|
+
export type { DeprecatedTabProps } from "./Tabs/Tabs";
|
package/package.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eccenca/gui-elements",
|
|
3
3
|
"description": "GUI elements based on other libraries, usable in React application, written in Typescript.",
|
|
4
|
-
"version": "22.0
|
|
4
|
+
"version": "22.1.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/eccenca/gui-elements",
|
|
7
|
+
"bugs": "https://github.com/eccenca/gui-elements/issues",
|
|
7
8
|
"keywords": [
|
|
8
9
|
"GUI",
|
|
9
10
|
"React",
|
|
10
|
-
"Blueprint
|
|
11
|
-
"Carbon
|
|
12
|
-
"Typescript"
|
|
11
|
+
"Blueprint",
|
|
12
|
+
"Carbon Design System",
|
|
13
|
+
"Typescript",
|
|
14
|
+
"SCSS"
|
|
13
15
|
],
|
|
14
16
|
"maintainers": [
|
|
15
17
|
{
|
|
@@ -18,22 +20,23 @@
|
|
|
18
20
|
"web": "https://eccence.com/"
|
|
19
21
|
}
|
|
20
22
|
],
|
|
21
|
-
"repository":
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
],
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "git",
|
|
25
|
+
"url": "git://github.com/eccenca/gui-elements.git"
|
|
26
|
+
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"registry": "https://registry.npmjs.org"
|
|
29
29
|
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=14.x"
|
|
32
|
+
},
|
|
30
33
|
"style": "src/index.scss",
|
|
31
34
|
"main": "dist/cjs/index.js",
|
|
32
|
-
"module": "dist/
|
|
35
|
+
"module": "dist/esm/index.js",
|
|
33
36
|
"types": "dist/types/index.d.ts",
|
|
34
37
|
"exports": {
|
|
35
38
|
".": {
|
|
36
|
-
"import": "./dist/
|
|
39
|
+
"import": "./dist/esm/index.js",
|
|
37
40
|
"require": "./dist/cjs/index.js"
|
|
38
41
|
}
|
|
39
42
|
},
|
|
@@ -42,10 +45,10 @@
|
|
|
42
45
|
"src"
|
|
43
46
|
],
|
|
44
47
|
"scripts": {
|
|
45
|
-
"build:clean": "
|
|
46
|
-
"build:
|
|
47
|
-
"build:cjs": "tsc --
|
|
48
|
-
"build:all": "yarn build:clean && yarn build:
|
|
48
|
+
"build:clean": "rimraf dist/",
|
|
49
|
+
"build:esm": "tsc --project .typescript/tsbuild-esm.json && ./scripts/fix-esm-dist",
|
|
50
|
+
"build:cjs": "tsc --project .typescript/tsbuild-cjs.json && ./scripts/fix-cjs-dist",
|
|
51
|
+
"build:all": "yarn build:clean && yarn build:esm && yarn build:cjs",
|
|
49
52
|
"compile": "tsc --build tsconfig.json",
|
|
50
53
|
"compile-scss": "node-sass src/index.scss --importer=node_modules/node-sass-tilde-importer",
|
|
51
54
|
"storybook": "start-storybook -p 6006",
|
|
@@ -53,7 +56,8 @@
|
|
|
53
56
|
"test": "jest",
|
|
54
57
|
"test:ci": "jest --ci --reporters='default'",
|
|
55
58
|
"test:coverage": "jest --collectCoverage",
|
|
56
|
-
"test:generate-output": "jest --json --outputFile=.jest-test-results.json"
|
|
59
|
+
"test:generate-output": "jest --json --outputFile=.jest-test-results.json",
|
|
60
|
+
"check:package": "pjv --warnings --recommendations"
|
|
57
61
|
},
|
|
58
62
|
"dependencies": {
|
|
59
63
|
"@blueprintjs/core": "3.49.1",
|
|
@@ -64,12 +68,14 @@
|
|
|
64
68
|
"carbon-components": "10.44.0",
|
|
65
69
|
"carbon-components-react": "7.44.1",
|
|
66
70
|
"carbon-icons": "7.0.7",
|
|
67
|
-
"codemirror": "^5.
|
|
71
|
+
"codemirror": "^5.61.0",
|
|
68
72
|
"color": "3.2.1",
|
|
73
|
+
"lodash": "^4.17.21",
|
|
69
74
|
"micromark": "^3.0.10",
|
|
70
75
|
"react": "^16.13.1",
|
|
76
|
+
"react-codemirror2": "^7.2.1",
|
|
71
77
|
"react-dom": "^16.13.1",
|
|
72
|
-
"react-flow-renderer": "
|
|
78
|
+
"react-flow-renderer": "9.7.4",
|
|
73
79
|
"react-markdown": "^7.0.1",
|
|
74
80
|
"rehype-raw": "^6.1.0",
|
|
75
81
|
"remark-definition-list": "^1.1.0",
|
|
@@ -95,27 +101,33 @@
|
|
|
95
101
|
"@storybook/react": "^6.4.9",
|
|
96
102
|
"@testing-library/jest-dom": "^5.16.1",
|
|
97
103
|
"@testing-library/react": "^12.1.2",
|
|
98
|
-
"@types/carbon-components-react": "
|
|
99
|
-
"@types/
|
|
104
|
+
"@types/carbon-components-react": "7.49.0",
|
|
105
|
+
"@types/codemirror": "^5.60.5",
|
|
100
106
|
"@types/color": "^3.0.2",
|
|
101
107
|
"@types/jest": "^24.9.1",
|
|
108
|
+
"@types/lodash": "^4.14.182",
|
|
102
109
|
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
|
103
110
|
"@typescript-eslint/parser": "^4.33.0",
|
|
104
111
|
"babel-jest": "^27.5.1",
|
|
105
112
|
"chromatic": "^6.5.1",
|
|
113
|
+
"copyfiles": "^2.4.1",
|
|
106
114
|
"css-loader": "3.4.2",
|
|
107
115
|
"eslint": "^7.32.0",
|
|
108
116
|
"eslint-config-react-app": "^6.0.0",
|
|
117
|
+
"identity-obj-proxy": "^3.0.0",
|
|
109
118
|
"jest": "^26.6.3",
|
|
110
119
|
"jest-environment-jsdom-fourteen": "1.0.1",
|
|
111
120
|
"jest-pnp-resolver": "^1.2.1",
|
|
112
|
-
"node-sass": "4.
|
|
121
|
+
"node-sass": "4.14.1",
|
|
113
122
|
"node-sass-tilde-importer": "^1.0.2",
|
|
123
|
+
"package-json-validator": "^0.6.3",
|
|
114
124
|
"react-app-polyfill": "^1.0.6",
|
|
115
125
|
"react-lorem-ipsum": "^1.4.9",
|
|
116
126
|
"regenerator-runtime": "^0.13.9",
|
|
127
|
+
"rimraf": "^3.0.2",
|
|
117
128
|
"sass-loader": "8.0.2",
|
|
118
129
|
"style-loader": "0.23.1",
|
|
130
|
+
"tsc-esm-fix": "^2.13.0",
|
|
119
131
|
"typescript": "4.4.4",
|
|
120
132
|
"webpack": "^4.46.0"
|
|
121
133
|
},
|
|
@@ -127,7 +139,11 @@
|
|
|
127
139
|
"**/carbon-components": "10.44.0",
|
|
128
140
|
"**/carbon-components-react": "7.44.1",
|
|
129
141
|
"**/carbon-icons": "7.0.7",
|
|
130
|
-
"**/@types/react": "^17.0.0"
|
|
142
|
+
"**/@types/react": "^17.0.0",
|
|
143
|
+
"**/node-gyp": "^7.0.0",
|
|
144
|
+
"**/glob-parent": "^5.1.2",
|
|
145
|
+
"**/trim": "^0.0.3",
|
|
146
|
+
"**/trim-newlines": "^3.0.1"
|
|
131
147
|
},
|
|
132
148
|
"eslintConfig": {
|
|
133
149
|
"extends": [
|
|
@@ -171,6 +187,9 @@
|
|
|
171
187
|
"web.jsx",
|
|
172
188
|
"jsx",
|
|
173
189
|
"node"
|
|
174
|
-
]
|
|
190
|
+
],
|
|
191
|
+
"moduleNameMapper": {
|
|
192
|
+
"\\.(css|scss)$": "identity-obj-proxy"
|
|
193
|
+
}
|
|
175
194
|
}
|
|
176
195
|
}
|
|
@@ -18,7 +18,7 @@ export interface IActivityStatus {
|
|
|
18
18
|
// If the activity has been cancelled
|
|
19
19
|
cancelled: boolean;
|
|
20
20
|
// The concrete status ID
|
|
21
|
-
concreteStatus:
|
|
21
|
+
concreteStatus: ConcreteActivityStatus;
|
|
22
22
|
// If there was an error, this contains the exception message
|
|
23
23
|
exceptionMessage?: string | null;
|
|
24
24
|
// The runtime in ms
|
|
@@ -26,3 +26,5 @@ export interface IActivityStatus {
|
|
|
26
26
|
// The start time as date time, e.g. "2021-09-07T09:34:53.153Z"
|
|
27
27
|
startTime?: string;
|
|
28
28
|
}
|
|
29
|
+
|
|
30
|
+
export type ConcreteActivityStatus = "Cancelled" | "Failed" | "Successful" | "Not executed" | "Running" | "Waiting" | "Canceling"
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
import { ActivityControlWidget } from "./ActivityControlWidget";
|
|
5
|
+
import { loremIpsum } from "react-lorem-ipsum";
|
|
6
|
+
import Tag from "../../components/Tag/Tag";
|
|
7
|
+
import TagList from "../../components/Tag/TagList";
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
title: "Cmem/ActivityControlWidget",
|
|
11
|
+
component: ActivityControlWidget,
|
|
12
|
+
argTypes: {
|
|
13
|
+
border: {
|
|
14
|
+
table: {
|
|
15
|
+
defaultValue: { summary: false },
|
|
16
|
+
type: { summary: "boolean" },
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
small: {
|
|
20
|
+
table: {
|
|
21
|
+
defaultValue: { summary: false },
|
|
22
|
+
type: { summary: "boolean" },
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
canShrink: {
|
|
26
|
+
table: {
|
|
27
|
+
defaultValue: { summary: false },
|
|
28
|
+
type: { summary: "boolean" },
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
} as ComponentMeta<typeof ActivityControlWidget>;
|
|
33
|
+
|
|
34
|
+
const Template: ComponentStory<typeof ActivityControlWidget> = (args) => <ActivityControlWidget {...args} />;
|
|
35
|
+
|
|
36
|
+
export const FullExample = Template.bind({});
|
|
37
|
+
|
|
38
|
+
const actions = [
|
|
39
|
+
{
|
|
40
|
+
"data-test-id": "activity-reload-activity",
|
|
41
|
+
icon: "item-reload",
|
|
42
|
+
action: () => {},
|
|
43
|
+
tooltip: "Reload Activity",
|
|
44
|
+
disabled: false,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"data-test-id": "activity-start-activity",
|
|
48
|
+
icon: "item-start",
|
|
49
|
+
action: () => console.log("start"),
|
|
50
|
+
tooltip: "Start Activity",
|
|
51
|
+
disabled: false,
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"data-test-id": "activity-stop-activity",
|
|
55
|
+
icon: "item-stop",
|
|
56
|
+
action: () => console.log("cancel"),
|
|
57
|
+
tooltip: "Stop Activity",
|
|
58
|
+
disabled: false,
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"data-test-id": "activity-view-data",
|
|
62
|
+
icon: "artefact-rawdata",
|
|
63
|
+
action: () => {},
|
|
64
|
+
tooltip: "preview report",
|
|
65
|
+
},
|
|
66
|
+
];
|
|
67
|
+
|
|
68
|
+
const commonWidgetArgs = {
|
|
69
|
+
label: loremIpsum({ p: 1, avgSentencesPerParagraph: 1, avgWordsPerSentence: 4, random: false }),
|
|
70
|
+
border: true,
|
|
71
|
+
activityActions: actions,
|
|
72
|
+
statusMessage: loremIpsum({ p: 1, startWithLoremIpsum: false, random: false }),
|
|
73
|
+
progressSpinner: {
|
|
74
|
+
intent: "none",
|
|
75
|
+
value: 0.5,
|
|
76
|
+
},
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
FullExample.args = {
|
|
80
|
+
...commonWidgetArgs,
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
const TemplateWithTags: ComponentStory<typeof ActivityControlWidget> = (args) => <ActivityControlWidget {...args} />;
|
|
84
|
+
|
|
85
|
+
export const WidgetWithTags = TemplateWithTags.bind({});
|
|
86
|
+
|
|
87
|
+
const widgetTags = (
|
|
88
|
+
<TagList>
|
|
89
|
+
<Tag small>Tag one</Tag>
|
|
90
|
+
<Tag small>Other tag</Tag>
|
|
91
|
+
<Tag small>Third keyword</Tag>
|
|
92
|
+
</TagList>
|
|
93
|
+
);
|
|
94
|
+
|
|
95
|
+
WidgetWithTags.args = {
|
|
96
|
+
...commonWidgetArgs,
|
|
97
|
+
tags: widgetTags,
|
|
98
|
+
};
|