@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
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
&.selected:before {
|
|
3
3
|
content: " ";
|
|
4
4
|
position: absolute;
|
|
5
|
-
top: -
|
|
6
|
-
right: -
|
|
7
|
-
bottom: -
|
|
8
|
-
left: -
|
|
9
|
-
border-width:
|
|
5
|
+
top: -6 * $reactflow-node-border-width;
|
|
6
|
+
right: -6 * $reactflow-node-border-width;
|
|
7
|
+
bottom: -6 * $reactflow-node-border-width;
|
|
8
|
+
left: -6 * $reactflow-node-border-width;
|
|
9
|
+
border-width: 1px;
|
|
10
10
|
border-color: $reactflow-edge-stroke-color-selected;
|
|
11
11
|
border-radius: $reactflow-node-border-radius;
|
|
12
12
|
border-style: dotted;
|
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
width: unset !important;
|
|
24
24
|
text-align: unset !important;
|
|
25
25
|
padding: unset !important;
|
|
26
|
+
|
|
27
|
+
&.selected, &.selected:hover {
|
|
28
|
+
box-shadow: none;
|
|
29
|
+
}
|
|
26
30
|
}
|
|
27
31
|
}
|
|
28
32
|
|
|
@@ -43,7 +47,7 @@
|
|
|
43
47
|
border-style: solid;
|
|
44
48
|
|
|
45
49
|
&:hover {
|
|
46
|
-
box-shadow: 0 0 0
|
|
50
|
+
box-shadow: 0 0 0 6 * $reactflow-node-border-width rgba($reactflow-edge-stroke-color-selected, 0.05);
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
53
|
|
|
@@ -53,13 +57,13 @@
|
|
|
53
57
|
|
|
54
58
|
@keyframes pumpingshadow {
|
|
55
59
|
0% {
|
|
56
|
-
box-shadow: 0 0
|
|
60
|
+
box-shadow: 0 0 2 * $reactflow-node-border-width 0 rgba(#fff, 0.9), 0 0 1 * $reactflow-node-border-width 0 rgba($reactflow-edge-stroke-color-selected, 0);
|
|
57
61
|
}
|
|
58
62
|
50% {
|
|
59
|
-
box-shadow: 0 0
|
|
63
|
+
box-shadow: 0 0 2 * $reactflow-node-border-width 6 * $reactflow-node-border-width rgba(#fff, 0.9), 0 0 1 * $reactflow-node-border-width 6 * $reactflow-node-border-width $reactflow-edge-stroke-color-selected;
|
|
60
64
|
}
|
|
61
65
|
100% {
|
|
62
|
-
box-shadow: 0 0
|
|
66
|
+
box-shadow: 0 0 2 * $reactflow-node-border-width 0 rgba(#fff, 0.9), 0 0 1 * $reactflow-node-border-width 0 rgba($reactflow-edge-stroke-color-selected, 0);
|
|
63
67
|
}
|
|
64
68
|
}
|
|
65
69
|
|
|
@@ -174,15 +178,15 @@
|
|
|
174
178
|
// Node sizes
|
|
175
179
|
|
|
176
180
|
.#{$eccgui}-graphviz__node--tiny {
|
|
177
|
-
width: $reactflow-node-basesize *
|
|
181
|
+
width: $reactflow-node-basesize * 4;
|
|
178
182
|
min-height: $reactflow-node-basesize;
|
|
179
|
-
max-height: $reactflow-node-basesize *
|
|
183
|
+
max-height: $reactflow-node-basesize * 4;
|
|
180
184
|
}
|
|
181
185
|
|
|
182
186
|
.#{$eccgui}-graphviz__node--small {
|
|
183
187
|
width: $reactflow-node-basesize * 5;
|
|
184
188
|
min-height: $reactflow-node-basesize;
|
|
185
|
-
max-height: $reactflow-node-basesize *
|
|
189
|
+
max-height: $reactflow-node-basesize * 8;
|
|
186
190
|
}
|
|
187
191
|
|
|
188
192
|
.#{$eccgui}-graphviz__node--medium {
|
|
@@ -197,113 +201,6 @@
|
|
|
197
201
|
max-height: $reactflow-node-basesize * 13;
|
|
198
202
|
}
|
|
199
203
|
|
|
200
|
-
// Node types
|
|
201
|
-
|
|
202
|
-
.react-flow__node-graphNode {
|
|
203
|
-
.#{$eccgui}-graphviz__node {
|
|
204
|
-
background-color: #fff;
|
|
205
|
-
border-color: #8e24aa;
|
|
206
|
-
border-style: double;
|
|
207
|
-
border-width: 3 * $reactflow-node-border-width;
|
|
208
|
-
}
|
|
209
|
-
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
210
|
-
border-color: #8e24aa;
|
|
211
|
-
border-style: double;
|
|
212
|
-
border-width: 3 * $reactflow-node-border-width;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.react-flow__node-classNode {
|
|
217
|
-
.#{$eccgui}-graphviz__node {
|
|
218
|
-
border-width: 2 * $reactflow-node-border-width;
|
|
219
|
-
border-radius: 0;
|
|
220
|
-
border-color: darken($button-background-color, 60%);
|
|
221
|
-
}
|
|
222
|
-
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
223
|
-
border-color: darken($button-background-color, 60%);
|
|
224
|
-
border-width: 2 * $reactflow-node-border-width;
|
|
225
|
-
border-radius: 0;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.react-flow__node-instanceNode {
|
|
230
|
-
.#{$eccgui}-graphviz__node {
|
|
231
|
-
border-color: darken($button-background-color, 50%);
|
|
232
|
-
}
|
|
233
|
-
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
234
|
-
border-color: darken($button-background-color, 50%);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.react-flow__node-propertyNode {
|
|
239
|
-
.#{$eccgui}-graphviz__node {
|
|
240
|
-
background-color: complement($button-background-color);
|
|
241
|
-
border-color: darken(complement($button-background-color), 40%);
|
|
242
|
-
border-radius: 2 * $reactflow-node-border-radius;
|
|
243
|
-
border-style: dashed;
|
|
244
|
-
}
|
|
245
|
-
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
246
|
-
border-color: darken(complement($button-background-color), 40%);
|
|
247
|
-
border-radius: 2 * $reactflow-node-border-radius;
|
|
248
|
-
border-style: dashed;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.react-flow__node-datasetNode {
|
|
253
|
-
.#{$eccgui}-graphviz__node {
|
|
254
|
-
background-color: #e1f5fe;
|
|
255
|
-
border-color: #039be5;
|
|
256
|
-
}
|
|
257
|
-
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
258
|
-
border-color: #039be5;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.react-flow__node-linkingNode {
|
|
263
|
-
.#{$eccgui}-graphviz__node {
|
|
264
|
-
background-color: #e0f7fa;
|
|
265
|
-
border-color: #00acc1;
|
|
266
|
-
}
|
|
267
|
-
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
268
|
-
border-color: #00acc1;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.react-flow__node-transformNode {
|
|
273
|
-
.#{$eccgui}-graphviz__node {
|
|
274
|
-
border-color: #00897b;
|
|
275
|
-
}
|
|
276
|
-
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
277
|
-
border-color: #00897b;
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
.react-flow__node-taskNode {
|
|
282
|
-
.#{$eccgui}-graphviz__node {
|
|
283
|
-
background-color: #eceff1;
|
|
284
|
-
border-color: #546e7a;
|
|
285
|
-
}
|
|
286
|
-
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
287
|
-
border-color: #546e7a;
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.react-flow__node-workflowNode {
|
|
292
|
-
.#{$eccgui}-graphviz__node {
|
|
293
|
-
background-color: #fff;
|
|
294
|
-
border-color: #4527a0;
|
|
295
|
-
border-width: 3 * $reactflow-node-border-width;
|
|
296
|
-
border-style: double;
|
|
297
|
-
border-radius: 0;
|
|
298
|
-
}
|
|
299
|
-
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
300
|
-
border-color: #4527a0;
|
|
301
|
-
border-width: 3 * $reactflow-node-border-width;
|
|
302
|
-
border-style: double;
|
|
303
|
-
border-radius: 0;
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
|
|
307
204
|
// Node highlights
|
|
308
205
|
|
|
309
206
|
.#{$eccgui}-graphviz__node--highlight-success,
|
|
@@ -313,12 +210,12 @@
|
|
|
313
210
|
content: " ";
|
|
314
211
|
display: block;
|
|
315
212
|
position: absolute;
|
|
316
|
-
top: -
|
|
317
|
-
left: -
|
|
318
|
-
bottom: -
|
|
319
|
-
right: -
|
|
213
|
+
top: -2 * $reactflow-node-border-width;
|
|
214
|
+
left: -2 * $reactflow-node-border-width;
|
|
215
|
+
bottom: -2 * $reactflow-node-border-width;
|
|
216
|
+
right: -2 * $reactflow-node-border-width;
|
|
320
217
|
border-radius: inherit;
|
|
321
|
-
box-shadow: 0 0 0
|
|
218
|
+
box-shadow: 0 0 0 2 * $reactflow-node-border-width $eccgui-color-danger-text;
|
|
322
219
|
z-index: -1;
|
|
323
220
|
}
|
|
324
221
|
}
|
|
@@ -329,12 +226,12 @@
|
|
|
329
226
|
content: " ";
|
|
330
227
|
display: block;
|
|
331
228
|
position: absolute;
|
|
332
|
-
top: -
|
|
333
|
-
left: -
|
|
334
|
-
bottom: -
|
|
335
|
-
right: -
|
|
229
|
+
top: -2 * $reactflow-node-border-width;
|
|
230
|
+
left: -2 * $reactflow-node-border-width;
|
|
231
|
+
bottom: -2 * $reactflow-node-border-width;
|
|
232
|
+
right: -2 * $reactflow-node-border-width;
|
|
336
233
|
border-radius: inherit;
|
|
337
|
-
box-shadow: 0 0 0
|
|
234
|
+
box-shadow: 0 0 0 2 * $reactflow-node-border-width $eccgui-color-accent;
|
|
338
235
|
z-index: -1;
|
|
339
236
|
}
|
|
340
237
|
|
|
@@ -342,41 +239,47 @@
|
|
|
342
239
|
&.#{$eccgui}-graphviz__node--highlight-warning,
|
|
343
240
|
&.#{$eccgui}-graphviz__node--highlight-danger {
|
|
344
241
|
&:after {
|
|
345
|
-
top: -
|
|
346
|
-
left: -
|
|
347
|
-
bottom: -
|
|
348
|
-
right: -
|
|
242
|
+
top: -4 * $reactflow-node-border-width;
|
|
243
|
+
left: -4 * $reactflow-node-border-width;
|
|
244
|
+
bottom: -4 * $reactflow-node-border-width;
|
|
245
|
+
right: -4 * $reactflow-node-border-width;
|
|
349
246
|
}
|
|
350
247
|
}
|
|
351
248
|
}
|
|
352
249
|
|
|
353
250
|
.#{$eccgui}-graphviz__node--highlight-success {
|
|
354
251
|
&:before {
|
|
355
|
-
box-shadow: 0 0 0
|
|
252
|
+
box-shadow: 0 0 0 2 * $reactflow-node-border-width $eccgui-color-success-text;
|
|
356
253
|
}
|
|
357
254
|
}
|
|
358
255
|
|
|
359
256
|
.#{$eccgui}-graphviz__node--highlight-warning {
|
|
360
257
|
&:before {
|
|
361
|
-
box-shadow: 0 0 0
|
|
258
|
+
box-shadow: 0 0 0 2 * $reactflow-node-border-width $eccgui-color-warning-text;
|
|
362
259
|
}
|
|
363
260
|
}
|
|
364
261
|
|
|
365
262
|
.#{$eccgui}-graphviz__node--highlight-altmatch {
|
|
366
263
|
&:after {
|
|
367
|
-
box-shadow: 0 0 0
|
|
264
|
+
box-shadow: 0 0 0 2 * $reactflow-node-border-width complement($eccgui-color-primary);
|
|
368
265
|
}
|
|
369
266
|
}
|
|
370
267
|
|
|
371
268
|
// Node tools
|
|
372
269
|
|
|
373
270
|
.#{$eccgui}-graphviz__nodetools__content {
|
|
271
|
+
flex-grow: 1;
|
|
272
|
+
flex-shrink: 1;
|
|
273
|
+
min-height: 0;
|
|
374
274
|
}
|
|
375
275
|
|
|
376
276
|
// Node content extension
|
|
377
277
|
|
|
378
278
|
.#{$eccgui}-graphviz__node__extension {
|
|
379
279
|
background-color: $reactflow-node-background-color;
|
|
280
|
+
min-height: $eccgui-size-block-whitespace / 2;
|
|
281
|
+
flex-grow: 1;
|
|
282
|
+
flex-shrink: 1;
|
|
380
283
|
|
|
381
284
|
.#{$eccgui}-graphviz__node--tiny & {
|
|
382
285
|
max-height: $reactflow-node-basesize * 3;
|
|
@@ -398,73 +301,23 @@
|
|
|
398
301
|
.#{$eccgui}-graphviz__node__extension--expanded {
|
|
399
302
|
display: flex;
|
|
400
303
|
flex-direction: column;
|
|
401
|
-
border-width: $reactflow-node-border-width;
|
|
402
|
-
border-color: $reactflow-node-border-color;
|
|
403
|
-
border-radius: $reactflow-node-border-radius;
|
|
404
|
-
border-style: solid;
|
|
405
|
-
|
|
406
304
|
// separation between node content and extension
|
|
407
305
|
// do not inherit styles here
|
|
408
306
|
border-top-color: $eccgui-color-separation-divider !important;
|
|
409
|
-
border-top-width:
|
|
307
|
+
border-top-width: 1px !important;
|
|
410
308
|
border-top-style: solid !important;
|
|
411
309
|
border-top-left-radius: 0 !important;
|
|
412
310
|
border-top-right-radius: 0 !important;
|
|
413
311
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
border-color:
|
|
421
|
-
border-
|
|
422
|
-
border-
|
|
423
|
-
left: -3 * $reactflow-node-border-width;
|
|
424
|
-
right: -3 * $reactflow-node-border-width;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
.react-flow__node-classNode & {
|
|
428
|
-
border-color: darken($button-background-color, 60%);
|
|
429
|
-
border-width: 2 * $reactflow-node-border-width;
|
|
430
|
-
border-radius: 0;
|
|
431
|
-
left: -2 * $reactflow-node-border-width;
|
|
432
|
-
right: -2 * $reactflow-node-border-width;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
.react-flow__node-instanceNode & {
|
|
436
|
-
border-color: darken($button-background-color, 50%);
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
.react-flow__node-propertyNode & {
|
|
440
|
-
border-color: darken(complement($button-background-color), 40%);
|
|
441
|
-
border-radius: 2 * $reactflow-node-border-radius;
|
|
442
|
-
border-style: dashed;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
.react-flow__node-datasetNode & {
|
|
446
|
-
border-color: #039be5;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
.react-flow__node-linkingNode & {
|
|
450
|
-
border-color: #00acc1;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
.react-flow__node-transformNode & {
|
|
454
|
-
border-color: #00897b;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
.react-flow__node-taskNode & {
|
|
458
|
-
border-color: #546e7a;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
.react-flow__node-workflowNode & {
|
|
462
|
-
border-color: #4527a0;
|
|
463
|
-
border-width: 3 * $reactflow-node-border-width;
|
|
464
|
-
border-style: double;
|
|
465
|
-
border-radius: 0;
|
|
466
|
-
left: -3 * $reactflow-node-border-width;
|
|
467
|
-
right: -3 * $reactflow-node-border-width;
|
|
312
|
+
&.#{$eccgui}-graphviz__node__extension--slideout {
|
|
313
|
+
position: absolute;
|
|
314
|
+
top: 100%;
|
|
315
|
+
left: -1 * $reactflow-node-border-width;
|
|
316
|
+
right: -1 * $reactflow-node-border-width;
|
|
317
|
+
border-width: $reactflow-node-border-width;
|
|
318
|
+
border-color: $reactflow-node-border-color;
|
|
319
|
+
border-radius: $reactflow-node-border-radius;
|
|
320
|
+
border-style: solid;
|
|
468
321
|
}
|
|
469
322
|
}
|
|
470
323
|
|
|
@@ -481,6 +334,18 @@
|
|
|
481
334
|
flex-shrink: 1;
|
|
482
335
|
overflow: auto;
|
|
483
336
|
overflow: auto;
|
|
337
|
+
|
|
338
|
+
.#{$eccgui}-tag__item {
|
|
339
|
+
max-width: 20%;
|
|
340
|
+
|
|
341
|
+
&:first-child {
|
|
342
|
+
max-width: 75%;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
&:last-child {
|
|
346
|
+
max-width: 100%
|
|
347
|
+
}
|
|
348
|
+
}
|
|
484
349
|
}
|
|
485
350
|
|
|
486
351
|
.#{$eccgui}-graphviz__node__extension-actions {
|
package/src/extensions/react-flow/nodes/{NodeContent.stories.tsx → stories/NodeContent.stories.tsx}
RENAMED
|
@@ -2,12 +2,15 @@ import React, { useState, useEffect, useCallback } from "react";
|
|
|
2
2
|
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
3
3
|
import { LoremIpsum } from 'react-lorem-ipsum';
|
|
4
4
|
import ReactFlow, { Elements } from 'react-flow-renderer';
|
|
5
|
-
import HtmlContentBlock from "
|
|
5
|
+
import HtmlContentBlock from "../../../../components/Typography/HtmlContentBlock";
|
|
6
6
|
|
|
7
|
-
import { NodeContent } from "
|
|
8
|
-
import { nodeTypes } from "
|
|
9
|
-
import { NodeContentExtension } from "
|
|
10
|
-
import {
|
|
7
|
+
import { NodeContent } from "./../NodeContent";
|
|
8
|
+
import { nodeTypes } from "./../nodeTypes";
|
|
9
|
+
import { NodeContentExtension } from "./../NodeContentExtension";
|
|
10
|
+
import {
|
|
11
|
+
Default as ContentExtensionExample,
|
|
12
|
+
SlideOutOfNode as ContentExtensionExampleSlideOut,
|
|
13
|
+
} from "./NodeContentExtension.stories";
|
|
11
14
|
|
|
12
15
|
export default {
|
|
13
16
|
title: "Extensions/React Flow/Node Content",
|
|
@@ -81,3 +84,9 @@ Default.args = {
|
|
|
81
84
|
contentExtension: <ContentExtensionExample />,
|
|
82
85
|
minimalShape: "none",
|
|
83
86
|
};
|
|
87
|
+
|
|
88
|
+
export const SlideOut = Template.bind({});
|
|
89
|
+
SlideOut.args = {
|
|
90
|
+
...Default.args,
|
|
91
|
+
contentExtension: <ContentExtensionExampleSlideOut />
|
|
92
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import React, { useState } from "react";
|
|
2
|
+
import { ComponentMeta } from "@storybook/react";
|
|
3
|
+
import { LoremIpsum } from 'react-lorem-ipsum';
|
|
4
|
+
|
|
5
|
+
import { NodeContentExtension } from "./../NodeContentExtension";
|
|
6
|
+
import IconButton from "../../../../components/Icon/IconButton";
|
|
7
|
+
import HtmlContentBlock from "../../../../components/Typography/HtmlContentBlock";
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
title: "Extensions/React Flow/Node Content Extension",
|
|
11
|
+
component: NodeContentExtension,
|
|
12
|
+
argTypes: {
|
|
13
|
+
},
|
|
14
|
+
} as ComponentMeta<typeof NodeContentExtension>;
|
|
15
|
+
|
|
16
|
+
export const Default = () => {
|
|
17
|
+
const [isExpanded, setExpanded] = useState<boolean>(false);
|
|
18
|
+
|
|
19
|
+
const toggleExpansion = (event: React.MouseEvent<HTMLElement>, expanded: boolean) => {
|
|
20
|
+
setExpanded(!expanded);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<NodeContentExtension
|
|
25
|
+
isExpanded={isExpanded}
|
|
26
|
+
onToggle={toggleExpansion}
|
|
27
|
+
actionButtons={
|
|
28
|
+
<IconButton name="item-question" onClick={(e) => { alert("this is a action button"); }} />
|
|
29
|
+
}
|
|
30
|
+
>
|
|
31
|
+
<HtmlContentBlock>
|
|
32
|
+
<h4>Extension example.</h4>
|
|
33
|
+
<LoremIpsum p={2} avgSentencesPerParagraph={4} random={false} />
|
|
34
|
+
</HtmlContentBlock>
|
|
35
|
+
</NodeContentExtension>);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export const SlideOutOfNode = () => {
|
|
39
|
+
const [isExpanded, setExpanded] = useState<boolean>(false);
|
|
40
|
+
|
|
41
|
+
const toggleExpansion = (event: React.MouseEvent<HTMLElement>, expanded: boolean) => {
|
|
42
|
+
setExpanded(!expanded);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return (
|
|
46
|
+
<NodeContentExtension
|
|
47
|
+
slideOutOfNode
|
|
48
|
+
isExpanded={isExpanded}
|
|
49
|
+
onToggle={toggleExpansion}
|
|
50
|
+
actionButtons={
|
|
51
|
+
<IconButton name="item-question" onClick={(e) => { alert("this is a action button"); }} />
|
|
52
|
+
}
|
|
53
|
+
>
|
|
54
|
+
<HtmlContentBlock>
|
|
55
|
+
<h4>Extension example.</h4>
|
|
56
|
+
<LoremIpsum p={2} avgSentencesPerParagraph={4} random={false} />
|
|
57
|
+
</HtmlContentBlock>
|
|
58
|
+
</NodeContentExtension>);
|
|
59
|
+
}
|
package/src/extensions/react-flow/nodes/{NodeDefault.stories.tsx → stories/NodeDefault.stories.tsx}
RENAMED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React, { useState, useEffect, useCallback } from "react";
|
|
2
2
|
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
3
|
-
import
|
|
3
|
+
import { ReactFlow } from "./../../../../cmem";
|
|
4
|
+
import { Elements } from 'react-flow-renderer';
|
|
4
5
|
|
|
5
|
-
import { NodeDefault } from "
|
|
6
|
-
import { NodeContent } from "
|
|
7
|
-
import { nodeTypes } from "
|
|
6
|
+
import { NodeDefault } from "./../NodeDefault";
|
|
7
|
+
import { NodeContent } from "./../NodeContent";
|
|
8
|
+
import { nodeTypes } from "./../nodeTypes";
|
|
8
9
|
import { Default as NodeContentExample } from "./NodeContent.stories";
|
|
9
10
|
|
|
10
11
|
export default {
|
package/src/index.scss
CHANGED
|
@@ -169,6 +169,7 @@
|
|
|
169
169
|
@import "./components/Tabs/tabs";
|
|
170
170
|
@import "./components/PropertyValuePair/propertyvalue";
|
|
171
171
|
@import "./components/Iframe/iframe";
|
|
172
|
+
@import "./components/AutoSuggestion/AutoSuggestion";
|
|
172
173
|
|
|
173
174
|
// == load tweaks ==============================================================
|
|
174
175
|
|
package/src/index.ts
CHANGED
|
@@ -8,6 +8,9 @@ import ApplicationToolbar from "./components/Application/ApplicationToolbar";
|
|
|
8
8
|
import ApplicationToolbarSection from "./components/Application/ApplicationToolbarSection";
|
|
9
9
|
import ApplicationToolbarAction from "./components/Application/ApplicationToolbarAction";
|
|
10
10
|
import ApplicationToolbarPanel from "./components/Application/ApplicationToolbarPanel";
|
|
11
|
+
import AutoSuggestion from "./components/AutoSuggestion/AutoSuggestion";
|
|
12
|
+
import { AutoSuggestionList } from "./components/AutoSuggestion/AutoSuggestionList";
|
|
13
|
+
import SingleLineCodeEditor from "./components/AutoSuggestion/SingleLineCodeEditor";
|
|
11
14
|
|
|
12
15
|
import HtmlContentBlock from "./components/Typography/HtmlContentBlock";
|
|
13
16
|
import OverflowText from "./components/Typography/OverflowText";
|
|
@@ -31,6 +34,8 @@ import Button from "./components/Button/Button";
|
|
|
31
34
|
import Checkbox from "./components/Checkbox/Checkbox";
|
|
32
35
|
import RadioButton from "./components/RadioButton/RadioButton";
|
|
33
36
|
import Tabs from "./components/Tabs/Tabs";
|
|
37
|
+
import Tab from "./components/Tabs/Tab";
|
|
38
|
+
import TabTitle from "./components/Tabs/TabTitle";
|
|
34
39
|
import TextField from "./components/TextField/TextField";
|
|
35
40
|
import TextArea from "./components/TextField/TextArea";
|
|
36
41
|
import SearchField from "./components/TextField/SearchField";
|
|
@@ -56,6 +61,7 @@ import TagList from "./components/Tag/TagList";
|
|
|
56
61
|
import Notification from "./components/Notification/Notification";
|
|
57
62
|
import Toast from "./components/Notification/Toast";
|
|
58
63
|
import { Select } from "@blueprintjs/select";
|
|
64
|
+
import MultiSelect from "./components/MultiSelect/MultiSelect";
|
|
59
65
|
|
|
60
66
|
import { Iframe } from "./components/Iframe/Iframe";
|
|
61
67
|
import { IframeModal } from "./components/Iframe/IframeModal";
|
|
@@ -125,6 +131,8 @@ import { openInNewTab } from "./common/utils/openInNewTab";
|
|
|
125
131
|
import { ProgressBar } from "./components/ProgressBar/ProgressBar";
|
|
126
132
|
import List from "./components/List/List";
|
|
127
133
|
|
|
134
|
+
import * as LegacyReplacements from "./legacy-replacements";
|
|
135
|
+
|
|
128
136
|
const HelperClasses = {
|
|
129
137
|
Typography: TypographyClassNames,
|
|
130
138
|
Intent: IntentClassNames,
|
|
@@ -145,6 +153,9 @@ export {
|
|
|
145
153
|
ApplicationToolbarSection,
|
|
146
154
|
ApplicationToolbarAction,
|
|
147
155
|
ApplicationToolbarPanel,
|
|
156
|
+
AutoSuggestion,
|
|
157
|
+
AutoSuggestionList,
|
|
158
|
+
SingleLineCodeEditor,
|
|
148
159
|
HtmlContentBlock,
|
|
149
160
|
OverflowText,
|
|
150
161
|
WhiteSpaceContainer,
|
|
@@ -182,11 +193,13 @@ export {
|
|
|
182
193
|
Checkbox,
|
|
183
194
|
RadioButton,
|
|
184
195
|
Tabs,
|
|
196
|
+
Tab,
|
|
197
|
+
TabTitle,
|
|
185
198
|
TextField,
|
|
186
199
|
TextArea,
|
|
187
200
|
SearchField,
|
|
188
|
-
Switch,
|
|
189
|
-
NumericInput,
|
|
201
|
+
Switch,
|
|
202
|
+
NumericInput,
|
|
190
203
|
FieldItem,
|
|
191
204
|
FieldItemRow,
|
|
192
205
|
FieldSet,
|
|
@@ -226,12 +239,14 @@ export {
|
|
|
226
239
|
PropertyValueList,
|
|
227
240
|
Toast,
|
|
228
241
|
HelperClasses,
|
|
229
|
-
Select, //
|
|
242
|
+
Select, // FIXME: CMEM-3742: include as own element
|
|
243
|
+
MultiSelect,
|
|
230
244
|
AutoCompleteField,
|
|
231
245
|
ProgressBar,
|
|
232
246
|
Iframe,
|
|
233
247
|
IframeModal,
|
|
234
|
-
Utilities
|
|
248
|
+
Utilities,
|
|
249
|
+
LegacyReplacements,
|
|
235
250
|
};
|
|
236
251
|
|
|
237
252
|
export * from "./cmem";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ComponentStory, ComponentMeta } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
import { Tabs } from "./../../legacy-replacements";
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: "Legacy/Tabs",
|
|
8
|
+
component: Tabs,
|
|
9
|
+
argTypes: {
|
|
10
|
+
className: {
|
|
11
|
+
description: "A space-delimited list of class names.",
|
|
12
|
+
control: "string",
|
|
13
|
+
table: {
|
|
14
|
+
defaultValue: { summary: undefined },
|
|
15
|
+
type: { summary: "string" },
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
} as ComponentMeta<typeof Tabs>;
|
|
20
|
+
|
|
21
|
+
const TemplateDeprecated: ComponentStory<typeof Tabs> = (args) => (
|
|
22
|
+
<Tabs {...args} />
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
export const DeprecatedUsage = TemplateDeprecated.bind({});
|
|
26
|
+
DeprecatedUsage.args = {
|
|
27
|
+
prefixTabNames: "deprecatedtabs",
|
|
28
|
+
activeTab: "deprecatedtab1",
|
|
29
|
+
tabs: [
|
|
30
|
+
{
|
|
31
|
+
tabId: "deprecatedtab1",
|
|
32
|
+
tabTitle: "Tab title 1",
|
|
33
|
+
tabContent: "Tab content 1",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
tabId: "deprecatedtab2",
|
|
37
|
+
tabTitle: "Tab title 2",
|
|
38
|
+
tabContent: "Tab content 2",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
tabId: "deprecatedtab3",
|
|
42
|
+
tabTitle: "Tab title 3",
|
|
43
|
+
tabContent: "Tab content 3",
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
};
|