@eccenca/gui-elements 25.1.0-rc.4 → 25.2.0-featureupgradeblueprintjsv6cmem7139.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 +1005 -946
- package/README.md +27 -27
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js +21 -23
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +28 -12
- package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js +17 -7
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
- package/dist/cjs/cmem/ConfidenceValue/ConfidenceValue.js +2 -1
- package/dist/cjs/cmem/ConfidenceValue/ConfidenceValue.js.map +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/ContentBlobToggler.js +29 -13
- package/dist/cjs/cmem/ContentBlobToggler/ContentBlobToggler.js.map +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +21 -6
- package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
- package/dist/cjs/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +17 -7
- package/dist/cjs/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +1 -1
- package/dist/cjs/cmem/markdown/Markdown.js +2 -2
- package/dist/cjs/cmem/markdown/Markdown.js.map +1 -1
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js +17 -7
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -1
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlowV9.js.map +1 -1
- package/dist/cjs/cmem/react-flow/StickyNoteModal/StickyNoteModal.js.map +1 -1
- package/dist/cjs/cmem/react-flow/configuration/graph.js +0 -2
- package/dist/cjs/cmem/react-flow/configuration/graph.js.map +1 -1
- package/dist/cjs/cmem/react-flow/configuration/linking.js +0 -2
- package/dist/cjs/cmem/react-flow/configuration/linking.js.map +1 -1
- package/dist/cjs/cmem/react-flow/configuration/workflow.js +0 -2
- package/dist/cjs/cmem/react-flow/configuration/workflow.js.map +1 -1
- package/dist/cjs/cmem/react-flow/extensions/scrollOnDragHook.js +17 -7
- package/dist/cjs/cmem/react-flow/extensions/scrollOnDragHook.js.map +1 -1
- package/dist/cjs/cmem/react-flow/nodes/StickyNoteNode.js +17 -7
- package/dist/cjs/cmem/react-flow/nodes/StickyNoteNode.js.map +1 -1
- package/dist/cjs/common/utils/colorCalculateDistance.js.map +1 -1
- package/dist/cjs/common/utils/colorDecideContrastvalue.js +2 -1
- package/dist/cjs/common/utils/colorDecideContrastvalue.js.map +1 -1
- package/dist/cjs/common/utils/colorHash.js +3 -7
- package/dist/cjs/common/utils/colorHash.js.map +1 -1
- package/dist/cjs/common/utils/reduceToText.js +17 -7
- package/dist/cjs/common/utils/reduceToText.js.map +1 -1
- package/dist/cjs/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationSidebarNavigation.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationTitle.js +1 -1
- package/dist/cjs/components/Application/ApplicationTitle.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationToolbarAction.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js +27 -13
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/ExtendedCodeEditor.js +1 -1
- package/dist/cjs/components/AutoSuggestion/ExtendedCodeEditor.js.map +1 -1
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js +19 -16
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js.map +1 -1
- package/dist/cjs/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
- package/dist/cjs/components/Breadcrumb/BreadcrumbList.js +17 -7
- package/dist/cjs/components/Breadcrumb/BreadcrumbList.js.map +1 -1
- package/dist/cjs/components/Button/Button.js +5 -1
- package/dist/cjs/components/Button/Button.js.map +1 -1
- package/dist/cjs/components/Card/CardContent.js +1 -1
- package/dist/cjs/components/Card/CardContent.js.map +1 -1
- package/dist/cjs/components/Chat/ChatArea.js.map +1 -1
- package/dist/cjs/components/ColorField/ColorField.js +1 -1
- package/dist/cjs/components/ColorField/ColorField.js.map +1 -1
- package/dist/cjs/components/ContentGroup/ContentGroup.js +19 -19
- package/dist/cjs/components/ContentGroup/ContentGroup.js.map +1 -1
- package/dist/cjs/components/ContextOverlay/ContextMenu.js +4 -4
- package/dist/cjs/components/ContextOverlay/ContextMenu.js.map +1 -1
- package/dist/cjs/components/ContextOverlay/ContextOverlay.js +6 -5
- package/dist/cjs/components/ContextOverlay/ContextOverlay.js.map +1 -1
- package/dist/cjs/components/DecoupledOverlay/DecoupledOverlay.js +6 -5
- package/dist/cjs/components/DecoupledOverlay/DecoupledOverlay.js.map +1 -1
- package/dist/cjs/components/Depiction/Depiction.js +18 -8
- package/dist/cjs/components/Depiction/Depiction.js.map +1 -1
- package/dist/cjs/components/Dialog/Modal.js.map +1 -1
- package/dist/cjs/components/Dialog/ModalContext.js +3 -3
- package/dist/cjs/components/Dialog/ModalContext.js.map +1 -1
- package/dist/cjs/components/FlexibleLayout/FlexibleLayoutContainer.js +17 -7
- package/dist/cjs/components/FlexibleLayout/FlexibleLayoutContainer.js.map +1 -1
- package/dist/cjs/components/FlexibleLayout/FlexibleLayoutItem.js +17 -7
- package/dist/cjs/components/FlexibleLayout/FlexibleLayoutItem.js.map +1 -1
- package/dist/cjs/components/Grid/Grid.js.map +1 -1
- package/dist/cjs/components/Icon/IconButton.js +2 -2
- package/dist/cjs/components/Icon/IconButton.js.map +1 -1
- package/dist/cjs/components/Icon/canonicalIconNames.js +25 -8
- package/dist/cjs/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/cjs/components/Icon/transformIcon.js.map +1 -1
- package/dist/cjs/components/Iframe/Iframe.js +17 -7
- package/dist/cjs/components/Iframe/Iframe.js.map +1 -1
- package/dist/cjs/components/InteractionGate/InteractionGate.js +17 -7
- package/dist/cjs/components/InteractionGate/InteractionGate.js.map +1 -1
- package/dist/cjs/components/List/List.js +17 -7
- package/dist/cjs/components/List/List.js.map +1 -1
- package/dist/cjs/components/Menu/MenuItem.js.map +1 -1
- package/dist/cjs/components/MultiSelect/MultiSelect.js +55 -25
- package/dist/cjs/components/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/cjs/components/NotAvailable/NotAvailable.js +42 -0
- package/dist/cjs/components/NotAvailable/NotAvailable.js.map +1 -0
- package/dist/cjs/components/Notification/Notification.js.map +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItemDepiction.js.map +1 -1
- package/dist/cjs/components/Pagination/Pagination.js +17 -7
- package/dist/cjs/components/Pagination/Pagination.js.map +1 -1
- package/dist/cjs/components/Select/Select.js +6 -4
- package/dist/cjs/components/Select/Select.js.map +1 -1
- package/dist/cjs/components/Skeleton/Skeleton.js.map +1 -1
- package/dist/cjs/components/Spinner/Spinner.js +17 -7
- package/dist/cjs/components/Spinner/Spinner.js.map +1 -1
- package/dist/cjs/components/Switch/Switch.js +17 -7
- package/dist/cjs/components/Switch/Switch.js.map +1 -1
- package/dist/cjs/components/Table/Table.js.map +1 -1
- package/dist/cjs/components/Table/TableContainer.js +1 -1
- package/dist/cjs/components/Table/TableContainer.js.map +1 -1
- package/dist/cjs/components/Table/TableExpandHeader.js.map +1 -1
- package/dist/cjs/components/Table/TableExpandRow.js +2 -2
- package/dist/cjs/components/Table/TableExpandRow.js.map +1 -1
- package/dist/cjs/components/Tabs/Tab.js.map +1 -1
- package/dist/cjs/components/Tabs/Tabs.js +17 -7
- package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
- package/dist/cjs/components/Tag/Tag.js +1 -1
- package/dist/cjs/components/Tag/Tag.js.map +1 -1
- package/dist/cjs/components/TextField/TextArea.js.map +1 -1
- package/dist/cjs/components/TextField/TextField.js.map +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/cjs/components/Tree/Tree.js +17 -7
- package/dist/cjs/components/Tree/Tree.js.map +1 -1
- package/dist/cjs/components/Typography/HtmlContentBlock.js +17 -7
- package/dist/cjs/components/Typography/HtmlContentBlock.js.map +1 -1
- package/dist/cjs/components/Typography/WhiteSpaceContainer.js +17 -7
- package/dist/cjs/components/Typography/WhiteSpaceContainer.js.map +1 -1
- package/dist/cjs/components/VisualTour/VisualTour.js +7 -5
- package/dist/cjs/components/VisualTour/VisualTour.js.map +1 -1
- package/dist/cjs/components/index.js +1 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/extensions/codemirror/CodeMirror.js +43 -19
- package/dist/cjs/extensions/codemirror/CodeMirror.js.map +1 -1
- package/dist/cjs/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js +5 -3
- package/dist/cjs/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js.map +1 -1
- package/dist/cjs/extensions/codemirror/tests/codemirrorTestHelper.js +1 -1
- package/dist/cjs/extensions/codemirror/tests/codemirrorTestHelper.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeBezier.js +17 -7
- package/dist/cjs/extensions/react-flow/edges/EdgeBezier.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js +17 -7
- package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeDefaultV12.js +17 -7
- package/dist/cjs/extensions/react-flow/edges/EdgeDefaultV12.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeLabel.js +25 -10
- package/dist/cjs/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeNew.js +14 -8
- package/dist/cjs/extensions/react-flow/edges/EdgeNew.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeStep.js +17 -7
- package/dist/cjs/extensions/react-flow/edges/EdgeStep.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeTools.js +19 -9
- package/dist/cjs/extensions/react-flow/edges/EdgeTools.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/utils.js.map +1 -1
- package/dist/cjs/extensions/react-flow/handles/HandleContent.js +22 -9
- package/dist/cjs/extensions/react-flow/handles/HandleContent.js.map +1 -1
- package/dist/cjs/extensions/react-flow/handles/HandleDefault.js +20 -8
- package/dist/cjs/extensions/react-flow/handles/HandleDefault.js.map +1 -1
- package/dist/cjs/extensions/react-flow/handles/HandleTools.js +2 -2
- package/dist/cjs/extensions/react-flow/handles/HandleTools.js.map +1 -1
- package/dist/cjs/extensions/react-flow/markers/ReactFlowMarkers.js.map +1 -1
- package/dist/cjs/extensions/react-flow/minimap/MiniMap.js +17 -7
- package/dist/cjs/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- package/dist/cjs/extensions/react-flow/minimap/MiniMapV12.js +17 -7
- package/dist/cjs/extensions/react-flow/minimap/MiniMapV12.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js +11 -9
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js +21 -8
- package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js +23 -9
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/nodeUtils.js +6 -1
- package/dist/cjs/extensions/react-flow/nodes/nodeUtils.js.map +1 -1
- package/dist/cjs/index.js +17 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js +7 -9
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +6 -3
- package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/SilkActivityControl.js +2 -2
- package/dist/esm/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
- package/dist/esm/cmem/ConfidenceValue/ConfidenceValue.js +2 -1
- package/dist/esm/cmem/ConfidenceValue/ConfidenceValue.js.map +1 -1
- package/dist/esm/cmem/ContentBlobToggler/ContentBlobToggler.js +8 -5
- package/dist/esm/cmem/ContentBlobToggler/ContentBlobToggler.js.map +1 -1
- package/dist/esm/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +28 -3
- package/dist/esm/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
- package/dist/esm/cmem/markdown/Markdown.js +1 -1
- package/dist/esm/cmem/markdown/Markdown.js.map +1 -1
- package/dist/esm/cmem/react-flow/ReactFlow/ReactFlowV9.js.map +1 -1
- package/dist/esm/cmem/react-flow/StickyNoteModal/StickyNoteModal.js.map +1 -1
- package/dist/esm/cmem/react-flow/configuration/graph.js +0 -2
- package/dist/esm/cmem/react-flow/configuration/graph.js.map +1 -1
- package/dist/esm/cmem/react-flow/configuration/linking.js +0 -2
- package/dist/esm/cmem/react-flow/configuration/linking.js.map +1 -1
- package/dist/esm/cmem/react-flow/configuration/workflow.js +0 -2
- package/dist/esm/cmem/react-flow/configuration/workflow.js.map +1 -1
- package/dist/esm/cmem/react-flow/extensions/scrollOnDragHook.js.map +1 -1
- package/dist/esm/common/utils/colorCalculateDistance.js.map +1 -1
- package/dist/esm/common/utils/colorDecideContrastvalue.js +2 -1
- package/dist/esm/common/utils/colorDecideContrastvalue.js.map +1 -1
- package/dist/esm/common/utils/colorHash.js +3 -7
- package/dist/esm/common/utils/colorHash.js.map +1 -1
- package/dist/esm/common/utils/reduceToText.js +1 -1
- package/dist/esm/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/esm/components/Application/ApplicationSidebarNavigation.js.map +1 -1
- package/dist/esm/components/Application/ApplicationTitle.js +1 -1
- package/dist/esm/components/Application/ApplicationTitle.js.map +1 -1
- package/dist/esm/components/Application/ApplicationToolbarAction.js.map +1 -1
- package/dist/esm/components/AutoSuggestion/AutoSuggestion.js +12 -8
- package/dist/esm/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
- package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
- package/dist/esm/components/AutocompleteField/AutoCompleteField.js +11 -18
- package/dist/esm/components/AutocompleteField/AutoCompleteField.js.map +1 -1
- package/dist/esm/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
- package/dist/esm/components/Breadcrumb/BreadcrumbList.js.map +1 -1
- package/dist/esm/components/Button/Button.js +5 -1
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Card/CardContent.js +1 -1
- package/dist/esm/components/Card/CardContent.js.map +1 -1
- package/dist/esm/components/Chat/ChatArea.js.map +1 -1
- package/dist/esm/components/ColorField/ColorField.js +1 -1
- package/dist/esm/components/ColorField/ColorField.js.map +1 -1
- package/dist/esm/components/ContentGroup/ContentGroup.js +1 -1
- package/dist/esm/components/ContentGroup/ContentGroup.js.map +1 -1
- package/dist/esm/components/ContextOverlay/ContextMenu.js +4 -4
- package/dist/esm/components/ContextOverlay/ContextMenu.js.map +1 -1
- package/dist/esm/components/ContextOverlay/ContextOverlay.js +3 -2
- package/dist/esm/components/ContextOverlay/ContextOverlay.js.map +1 -1
- package/dist/esm/components/DecoupledOverlay/DecoupledOverlay.js +3 -2
- package/dist/esm/components/DecoupledOverlay/DecoupledOverlay.js.map +1 -1
- package/dist/esm/components/Depiction/Depiction.js +1 -1
- package/dist/esm/components/Depiction/Depiction.js.map +1 -1
- package/dist/esm/components/Dialog/Modal.js.map +1 -1
- package/dist/esm/components/Dialog/ModalContext.js +2 -2
- package/dist/esm/components/Dialog/ModalContext.js.map +1 -1
- package/dist/esm/components/Grid/Grid.js.map +1 -1
- package/dist/esm/components/Icon/IconButton.js +2 -2
- package/dist/esm/components/Icon/IconButton.js.map +1 -1
- package/dist/esm/components/Icon/canonicalIconNames.js +8 -1
- package/dist/esm/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/esm/components/Icon/transformIcon.js.map +1 -1
- package/dist/esm/components/Menu/MenuItem.js.map +1 -1
- package/dist/esm/components/MultiSelect/MultiSelect.js +42 -22
- package/dist/esm/components/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/esm/components/NotAvailable/NotAvailable.js +46 -0
- package/dist/esm/components/NotAvailable/NotAvailable.js.map +1 -0
- package/dist/esm/components/Notification/Notification.js.map +1 -1
- package/dist/esm/components/OverviewItem/OverviewItemDepiction.js.map +1 -1
- package/dist/esm/components/Select/Select.js +4 -2
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/esm/components/Skeleton/Skeleton.js.map +1 -1
- package/dist/esm/components/Spinner/Spinner.js.map +1 -1
- package/dist/esm/components/Table/Table.js.map +1 -1
- package/dist/esm/components/Table/TableContainer.js +1 -1
- package/dist/esm/components/Table/TableContainer.js.map +1 -1
- package/dist/esm/components/Table/TableExpandHeader.js.map +1 -1
- package/dist/esm/components/Table/TableExpandRow.js +1 -1
- package/dist/esm/components/Table/TableExpandRow.js.map +1 -1
- package/dist/esm/components/Tabs/Tab.js.map +1 -1
- package/dist/esm/components/Tag/Tag.js +1 -1
- package/dist/esm/components/Tag/Tag.js.map +1 -1
- package/dist/esm/components/TextField/TextArea.js.map +1 -1
- package/dist/esm/components/TextField/TextField.js.map +1 -1
- package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/components/VisualTour/VisualTour.js +7 -5
- package/dist/esm/components/VisualTour/VisualTour.js.map +1 -1
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/extensions/codemirror/CodeMirror.js +26 -12
- package/dist/esm/extensions/codemirror/CodeMirror.js.map +1 -1
- package/dist/esm/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js +5 -3
- package/dist/esm/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js.map +1 -1
- package/dist/esm/extensions/codemirror/tests/codemirrorTestHelper.js +1 -1
- package/dist/esm/extensions/codemirror/tests/codemirrorTestHelper.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeBezier.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeLabel.js +3 -1
- package/dist/esm/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeNew.js +11 -5
- package/dist/esm/extensions/react-flow/edges/EdgeNew.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeTools.js +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeTools.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/utils.js.map +1 -1
- package/dist/esm/extensions/react-flow/handles/HandleContent.js +1 -1
- package/dist/esm/extensions/react-flow/handles/HandleContent.js.map +1 -1
- package/dist/esm/extensions/react-flow/handles/HandleDefault.js +3 -1
- package/dist/esm/extensions/react-flow/handles/HandleDefault.js.map +1 -1
- package/dist/esm/extensions/react-flow/handles/HandleTools.js +1 -1
- package/dist/esm/extensions/react-flow/handles/HandleTools.js.map +1 -1
- package/dist/esm/extensions/react-flow/markers/ReactFlowMarkers.js.map +1 -1
- package/dist/esm/extensions/react-flow/minimap/MiniMap.js +1 -1
- package/dist/esm/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- package/dist/esm/extensions/react-flow/minimap/MiniMapV12.js.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/NodeContent.js +8 -6
- package/dist/esm/extensions/react-flow/nodes/NodeContent.js.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/NodeDefault.js +1 -1
- package/dist/esm/extensions/react-flow/nodes/NodeDefault.js.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/NodeTools.js +2 -1
- package/dist/esm/extensions/react-flow/nodes/NodeTools.js.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/nodeUtils.js +6 -1
- package/dist/esm/extensions/react-flow/nodes/nodeUtils.js.map +1 -1
- package/dist/types/cmem/ActivityControl/ActivityControlWidget.d.ts +5 -5
- package/dist/types/cmem/ActivityControl/ActivityExecutionErrorReportModal.d.ts +1 -1
- package/dist/types/cmem/ActivityControl/SilkActivityControl.d.ts +4 -4
- package/dist/types/cmem/ConfidenceValue/ConfidenceValue.d.ts +2 -2
- package/dist/types/cmem/ContentBlobToggler/ContentBlobToggler.d.ts +5 -1
- package/dist/types/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.d.ts +3 -3
- package/dist/types/cmem/markdown/Markdown.d.ts +2 -1
- package/dist/types/cmem/react-flow/configuration/graph.d.ts +2 -1
- package/dist/types/cmem/react-flow/configuration/linking.d.ts +2 -1
- package/dist/types/cmem/react-flow/configuration/workflow.d.ts +2 -1
- package/dist/types/common/utils/colorCalculateDistance.d.ts +2 -2
- package/dist/types/common/utils/colorDecideContrastvalue.d.ts +2 -2
- package/dist/types/common/utils/colorHash.d.ts +3 -3
- package/dist/types/components/Accordion/AccordionItem.d.ts +1 -1
- package/dist/types/components/Application/ApplicationSidebarNavigation.d.ts +2 -0
- package/dist/types/components/AutoSuggestion/AutoSuggestion.d.ts +6 -3
- package/dist/types/components/AutoSuggestion/ExtendedCodeEditor.d.ts +1 -1
- package/dist/types/components/AutocompleteField/AutoCompleteField.d.ts +2 -12
- package/dist/types/components/AutocompleteField/autoCompleteFieldUtils.d.ts +1 -1
- package/dist/types/components/Button/Button.d.ts +3 -3
- package/dist/types/components/Card/CardHeader.d.ts +1 -1
- package/dist/types/components/ColorField/ColorField.d.ts +2 -5
- package/dist/types/components/ContentGroup/ContentGroup.d.ts +1 -1
- package/dist/types/components/ContextOverlay/ContextMenu.d.ts +9 -3
- package/dist/types/components/ContextOverlay/ContextOverlay.d.ts +2 -2
- package/dist/types/components/DecoupledOverlay/DecoupledOverlay.d.ts +3 -1
- package/dist/types/components/Depiction/Depiction.d.ts +3 -3
- package/dist/types/components/Dialog/SimpleDialog.d.ts +1 -1
- package/dist/types/components/Form/FieldItem.d.ts +1 -1
- package/dist/types/components/Form/FieldSet.d.ts +3 -3
- package/dist/types/components/HoverToggler/HoverToggler.d.ts +2 -2
- package/dist/types/components/Icon/canonicalIconNames.d.ts +8 -1
- package/dist/types/components/Label/Label.d.ts +3 -3
- package/dist/types/components/Menu/MenuItem.d.ts +1 -1
- package/dist/types/components/MultiSelect/MultiSelect.d.ts +15 -4
- package/dist/types/components/NotAvailable/NotAvailable.d.ts +32 -0
- package/dist/types/components/Notification/Notification.d.ts +2 -2
- package/dist/types/components/OverviewItem/OverviewItemActions.d.ts +1 -1
- package/dist/types/components/PropertyValuePair/PropertyValueList.d.ts +1 -1
- package/dist/types/components/Select/Select.d.ts +2 -1
- package/dist/types/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/types/components/Spinner/Spinner.d.ts +2 -2
- package/dist/types/components/Structure/TitleSubsection.d.ts +2 -5
- package/dist/types/components/SuggestField/index.d.ts +2 -2
- package/dist/types/components/Table/TableContainer.d.ts +3 -3
- package/dist/types/components/Table/index.d.ts +1 -1
- package/dist/types/components/Tabs/Tab.d.ts +180 -186
- package/dist/types/components/Tabs/TabTitle.d.ts +1 -1
- package/dist/types/components/Tag/Tag.d.ts +2 -2
- package/dist/types/components/TextField/TextArea.d.ts +6 -1
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/extensions/react-flow/edges/EdgeLabel.d.ts +3 -3
- package/dist/types/extensions/react-flow/edges/EdgeTools.d.ts +1 -1
- package/dist/types/extensions/react-flow/handles/HandleContent.d.ts +2 -2
- package/dist/types/extensions/react-flow/handles/HandleTools.d.ts +2 -2
- package/dist/types/extensions/react-flow/nodes/NodeContent.d.ts +3 -3
- package/dist/types/extensions/react-flow/nodes/NodeTools.d.ts +2 -2
- package/dist/types/extensions/react-flow/nodes/sharedTypes.d.ts +2 -2
- package/package.json +67 -66
- package/scripts/compile-sass.ts +2 -0
- package/scripts/sassConfig.js +1 -1
- package/scripts/sassDeprecationConfig.js +3 -0
- package/src/cmem/ActivityControl/ActivityControlWidget.stories.tsx +4 -9
- package/src/cmem/ActivityControl/ActivityControlWidget.tsx +33 -35
- package/src/cmem/ActivityControl/ActivityExecutionErrorReportModal.tsx +5 -2
- package/src/cmem/ActivityControl/SilkActivityControl.tsx +28 -32
- package/src/cmem/ActivityControl/tests/ActivityControlWidget.test.tsx +1 -1
- package/src/cmem/ConfidenceValue/ConfidenceValue.tsx +6 -5
- package/src/cmem/ContentBlobToggler/ContentBlobToggler.tsx +17 -7
- package/src/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.tsx +12 -4
- package/src/cmem/ContentBlobToggler/tests/StringPreviewContentBlobToggler.test.tsx +10 -10
- package/src/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.tsx +2 -2
- package/src/cmem/DateTimeDisplay/tests/ElapsedDateTimeDisplay.test.tsx +2 -2
- package/src/cmem/markdown/Markdown.tsx +2 -1
- package/src/cmem/markdown/highlightSearchWords.test.ts +1 -1
- package/src/cmem/markdown/markdown.scss +1 -1
- package/src/cmem/markdown/markdownutils.test.ts +2 -2
- package/src/cmem/react-flow/ReactFlow/ReactFlow.stories.tsx +3 -3
- package/src/cmem/react-flow/ReactFlow/ReactFlow.tsx +2 -2
- package/src/cmem/react-flow/ReactFlow/ReactFlowV12.tsx +1 -1
- package/src/cmem/react-flow/ReactFlow/ReactFlowV9.tsx +2 -5
- package/src/cmem/react-flow/StickyNoteModal/StickyNoteModal.tsx +6 -3
- package/src/cmem/react-flow/configuration/graph.ts +3 -3
- package/src/cmem/react-flow/configuration/linking.ts +3 -3
- package/src/cmem/react-flow/configuration/workflow.ts +3 -3
- package/src/cmem/react-flow/extensions/scrollOnDragHook.ts +14 -14
- package/src/common/scss/_color-functions.scss +9 -4
- package/src/common/utils/CssCustomProperties.ts +1 -1
- package/src/common/utils/characters.ts +2 -2
- package/src/common/utils/colorCalculateDistance.ts +2 -2
- package/src/common/utils/colorDecideContrastvalue.ts +4 -3
- package/src/common/utils/colorHash.ts +13 -17
- package/src/common/utils/getColorConfiguration.ts +2 -2
- package/src/common/utils/openInNewTab.ts +1 -1
- package/src/common/utils/reduceToText.tsx +1 -1
- package/src/components/Accordion/AccordionItem.tsx +3 -2
- package/src/components/Accordion/Stories/AccordionItem.stories.tsx +1 -1
- package/src/components/Application/ApplicationSidebarNavigation.tsx +6 -2
- package/src/components/Application/ApplicationTitle.tsx +9 -1
- package/src/components/Application/ApplicationToolbarAction.tsx +2 -1
- package/src/components/Application/_header.scss +13 -10
- package/src/components/Application/stories/ColorPalettes.stories.tsx +23 -19
- package/src/components/Application/tests/ApplicationViewability.test.tsx +1 -7
- package/src/components/AutoSuggestion/AutoSuggestion.tsx +30 -23
- package/src/components/AutoSuggestion/AutoSuggestionList.tsx +5 -3
- package/src/components/AutoSuggestion/ExtendedCodeEditor.tsx +2 -2
- package/src/components/AutoSuggestion/extensions/markText.ts +1 -1
- package/src/components/AutocompleteField/AutoCompleteField.tsx +16 -25
- package/src/components/AutocompleteField/autoCompleteFieldUtils.tsx +7 -3
- package/src/components/Badge/Badge.stories.tsx +1 -1
- package/src/components/Breadcrumb/BreadcrumbList.tsx +4 -3
- package/src/components/Breadcrumb/breadcrumb.scss +2 -2
- package/src/components/Button/Button.test.tsx +2 -2
- package/src/components/Button/Button.tsx +13 -11
- package/src/components/Button/button.scss +4 -3
- package/src/components/Card/CardContent.tsx +17 -20
- package/src/components/Card/CardHeader.tsx +1 -1
- package/src/components/Card/card.scss +8 -4
- package/src/components/Card/stories/Card.stories.tsx +1 -1
- package/src/components/Chat/ChatArea.tsx +1 -2
- package/src/components/Chat/_chat.scss +2 -2
- package/src/components/Checkbox/Stories/Checkbox.stories.tsx +1 -1
- package/src/components/CodeAutocompleteField/CodeAutocompleteField.stories.tsx +9 -3
- package/src/components/ColorField/ColorField.test.tsx +1 -1
- package/src/components/ColorField/ColorField.tsx +6 -6
- package/src/components/ContentGroup/ContentGroup.stories.tsx +1 -1
- package/src/components/ContentGroup/ContentGroup.tsx +6 -6
- package/src/components/ContextOverlay/ContextMenu.tsx +10 -4
- package/src/components/ContextOverlay/ContextOverlay.stories.tsx +1 -1
- package/src/components/ContextOverlay/ContextOverlay.tsx +16 -11
- package/src/components/ContextOverlay/tests/ContextOverlay.test.tsx +2 -2
- package/src/components/DecoupledOverlay/DecoupledOverlay.tsx +11 -4
- package/src/components/Depiction/Depiction.tsx +6 -6
- package/src/components/Dialog/Modal.tsx +9 -7
- package/src/components/Dialog/ModalContext.tsx +6 -6
- package/src/components/Dialog/SimpleDialog.tsx +1 -1
- package/src/components/Dialog/stories/AlertDialog.stories.tsx +1 -1
- package/src/components/Dialog/stories/Modal.stories.tsx +2 -2
- package/src/components/Dialog/stories/SimpleDialog.stories.tsx +1 -1
- package/src/components/FlexibleLayout/FlexibleLayoutContainer.tsx +2 -2
- package/src/components/FlexibleLayout/FlexibleLayoutItem.tsx +2 -2
- package/src/components/Form/FieldItem.tsx +1 -1
- package/src/components/Form/FieldSet.tsx +3 -3
- package/src/components/Form/Stories/FieldItem.stories.tsx +1 -1
- package/src/components/Form/Stories/FieldSet.stories.tsx +1 -1
- package/src/components/Form/form.scss +2 -2
- package/src/components/Grid/Grid.tsx +4 -2
- package/src/components/Grid/stories/GridColumn.stories.tsx +1 -1
- package/src/components/Grid/stories/GridRow.stories.tsx +1 -1
- package/src/components/HoverToggler/HoverToggler.tsx +2 -2
- package/src/components/Icon/Icon.tsx +1 -1
- package/src/components/Icon/IconButton.tsx +3 -3
- package/src/components/Icon/canonicalIconNames.tsx +10 -2
- package/src/components/Icon/icon.scss +4 -4
- package/src/components/Icon/stories/Icon.stories.tsx +1 -1
- package/src/components/Icon/stories/IconButton.stories.tsx +1 -1
- package/src/components/Icon/stories/TestIcon.stories.tsx +1 -1
- package/src/components/Icon/transformIcon.tsx +11 -9
- package/src/components/Iframe/Iframe.tsx +2 -2
- package/src/components/Label/Label.tsx +4 -4
- package/src/components/List/List.tsx +1 -1
- package/src/components/Menu/MenuItem.tsx +3 -2
- package/src/components/Menu/Stories/MenuItem.stories.tsx +1 -1
- package/src/components/Menu/menu.scss +1 -0
- package/src/components/MultiSelect/MultiSelect.tsx +62 -26
- package/src/components/MultiSuggestField/MultiSuggestField.stories.tsx +1 -1
- package/src/components/MultiSuggestField/index.ts +1 -1
- package/src/components/MultiSuggestField/tests/MultiSuggestField.test.tsx +24 -57
- package/src/components/NotAvailable/NotAvailable.stories.tsx +15 -0
- package/src/components/NotAvailable/NotAvailable.tsx +69 -0
- package/src/components/Notification/Notification.stories.tsx +2 -1
- package/src/components/Notification/Notification.tsx +5 -4
- package/src/components/OverviewItem/OverviewItemActions.tsx +1 -1
- package/src/components/OverviewItem/OverviewItemDepiction.tsx +1 -1
- package/src/components/OverviewItem/stories/OverviewItem.stories.tsx +1 -1
- package/src/components/OverviewItem/stories/OverviewItemActions.stories.tsx +1 -1
- package/src/components/OverviewItem/stories/OverviewItemDepiction.stories.tsx +1 -1
- package/src/components/OverviewItem/stories/OverviewItemDescription.stories.tsx +1 -1
- package/src/components/OverviewItem/stories/OverviewItemListPerformance.tsx +2 -2
- package/src/components/Pagination/Pagination.tsx +2 -2
- package/src/components/Pagination/Stories/Pagination.stories.tsx +32 -0
- package/src/components/Pagination/pagination.scss +55 -5
- package/src/components/PropertyValuePair/PropertyValueList.tsx +1 -1
- package/src/components/RadioButton/Stories/RadioButton.stories.tsx +1 -1
- package/src/components/Select/Select.stories.tsx +1 -1
- package/src/components/Select/Select.tsx +7 -4
- package/src/components/Skeleton/Skeleton.tsx +2 -2
- package/src/components/Spinner/Spinner.tsx +2 -2
- package/src/components/Sticky/StickyTarget.tsx +1 -1
- package/src/components/Sticky/stories/StickyTarget.stories.tsx +2 -2
- package/src/components/Structure/TitleSubsection.tsx +2 -2
- package/src/components/SuggestField/SuggestField.stories.tsx +2 -2
- package/src/components/Table/Table.tsx +3 -2
- package/src/components/Table/TableContainer.tsx +11 -6
- package/src/components/Table/TableExpandHeader.tsx +2 -1
- package/src/components/Table/TableExpandRow.tsx +3 -2
- package/src/components/Table/index.tsx +7 -1
- package/src/components/Tabs/Tab.tsx +2 -2
- package/src/components/Tabs/TabTitle.tsx +1 -1
- package/src/components/Tabs/tabs.scss +2 -2
- package/src/components/Tag/Tag.tsx +9 -10
- package/src/components/Tag/stories/Tag.stories.tsx +1 -1
- package/src/components/Tag/stories/TagList.stories.tsx +1 -1
- package/src/components/TextField/TextArea.tsx +12 -7
- package/src/components/TextField/TextField.tsx +4 -3
- package/src/components/TextField/stories/TextArea.stories.tsx +1 -1
- package/src/components/TextField/stories/TextField.stories.tsx +1 -3
- package/src/components/TextField/useTextValidation.ts +4 -4
- package/src/components/TextReducer/TextReducer.stories.tsx +4 -1
- package/src/components/TextReducer/TextReducer.test.tsx +2 -2
- package/src/components/Toolbar/toolbar.scss +1 -2
- package/src/components/Tooltip/Tooltip.stories.tsx +1 -1
- package/src/components/Tooltip/Tooltip.test.tsx +5 -5
- package/src/components/Tooltip/Tooltip.tsx +5 -5
- package/src/components/Typography/_reset.scss +1 -0
- package/src/components/Typography/stories/OverflowText.stories.tsx +1 -1
- package/src/components/Typography/typography.scss +4 -2
- package/src/components/VisualTour/VisualTour.tsx +10 -10
- package/src/components/index.ts +1 -0
- package/src/configuration/_variables.scss +3 -1
- package/src/extensions/codemirror/CodeMirror.tsx +131 -79
- package/src/extensions/codemirror/debouncedLinter.ts +2 -2
- package/src/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.ts +9 -5
- package/src/extensions/codemirror/tests/CodeEditor.test.tsx +4 -4
- package/src/extensions/codemirror/tests/EditorAppearanceConfigMenu.test.tsx +5 -5
- package/src/extensions/codemirror/tests/codemirrorTestHelper.ts +12 -12
- package/src/extensions/codemirror/toolbars/commands/markdown.command.ts +6 -6
- package/src/extensions/react-flow/_react-flow_v12.scss +1 -1
- package/src/extensions/react-flow/edges/EdgeBezier.tsx +1 -2
- package/src/extensions/react-flow/edges/EdgeDefault.tsx +4 -4
- package/src/extensions/react-flow/edges/EdgeDefaultV12.tsx +5 -5
- package/src/extensions/react-flow/edges/EdgeLabel.tsx +10 -8
- package/src/extensions/react-flow/edges/EdgeNew.tsx +29 -31
- package/src/extensions/react-flow/edges/EdgeTools.tsx +2 -3
- package/src/extensions/react-flow/edges/stories/EdgeDefault.stories.tsx +1 -1
- package/src/extensions/react-flow/edges/stories/EdgeDefaultV12.stories.tsx +1 -1
- package/src/extensions/react-flow/edges/stories/EdgeLabel.stories.tsx +2 -1
- package/src/extensions/react-flow/edges/utils.ts +5 -3
- package/src/extensions/react-flow/handles/HandleContent.tsx +3 -3
- package/src/extensions/react-flow/handles/HandleDefault.tsx +56 -46
- package/src/extensions/react-flow/handles/HandleTools.tsx +4 -5
- package/src/extensions/react-flow/handles/_handles.scss +3 -3
- package/src/extensions/react-flow/handles/stories/HandleDefault.stories.tsx +2 -7
- package/src/extensions/react-flow/index.ts +1 -1
- package/src/extensions/react-flow/markers/ReactFlowMarkers.tsx +2 -2
- package/src/extensions/react-flow/minimap/MiniMap.tsx +17 -20
- package/src/extensions/react-flow/minimap/MiniMapV12.tsx +2 -3
- package/src/extensions/react-flow/nodes/NodeContent.tsx +65 -57
- package/src/extensions/react-flow/nodes/NodeDefault.tsx +6 -3
- package/src/extensions/react-flow/nodes/NodeDefaultV12.tsx +1 -1
- package/src/extensions/react-flow/nodes/NodeTools.tsx +5 -5
- package/src/extensions/react-flow/nodes/_nodes.scss +2 -1
- package/src/extensions/react-flow/nodes/nodeUtils.tsx +10 -5
- package/src/extensions/react-flow/nodes/sharedTypes.ts +2 -2
- package/src/extensions/react-flow/nodes/stories/NodeContent.stories.tsx +38 -24
- package/src/extensions/react-flow/nodes/stories/NodeContentV12.stories.tsx +1 -1
- package/src/extensions/react-flow/nodes/stories/NodeDefault.stories.tsx +1 -1
- package/src/includes/blueprintjs/_variables.scss +1 -0
- package/src/includes/carbon-components/_requisits.scss +3 -1
- package/src/includes/carbon-components/_variables.scss +1 -1
- package/src/index.scss +2 -2
- package/src/test/setupTests.js +1 -1
|
@@ -2,13 +2,14 @@ import React from "react";
|
|
|
2
2
|
import { Position, useStoreState as getStoreStateFlowV9 } from "react-flow-renderer";
|
|
3
3
|
import { useStore as getStoreStateFlowV12 } from "@xyflow/react";
|
|
4
4
|
import Color from "color";
|
|
5
|
-
import { Resizable } from "re-resizable";
|
|
5
|
+
import { NumberSize, Resizable, ResizableProps, ResizeCallback } from "re-resizable";
|
|
6
6
|
|
|
7
7
|
import { intentClassName, IntentTypes } from "../../../common/Intent";
|
|
8
|
-
import { DepictionProps } from "../../../components";
|
|
8
|
+
import { Depiction, DepictionProps } from "../../../components";
|
|
9
9
|
import { ValidIconName } from "../../../components/Icon/canonicalIconNames";
|
|
10
|
+
import Icon from "../../../components/Icon/Icon";
|
|
11
|
+
import OverflowText from "../../../components/Typography/OverflowText";
|
|
10
12
|
import { CLASSPREFIX as eccgui } from "../../../configuration/constants";
|
|
11
|
-
import { Depiction, Icon, OverflowText } from "../../../index";
|
|
12
13
|
import { ReacFlowVersionSupportProps, ReactFlowVersions, useReactFlowVersion } from "../versionsupport";
|
|
13
14
|
|
|
14
15
|
import { HandleDefault, HandleDefaultProps } from "./../handles/HandleDefault";
|
|
@@ -62,15 +63,15 @@ interface NodeContentData<CONTENT_PROPS = any> {
|
|
|
62
63
|
/**
|
|
63
64
|
* Any element that should be displayed as depiction before the node label.
|
|
64
65
|
*/
|
|
65
|
-
leftElement?: JSX.Element;
|
|
66
|
+
leftElement?: React.JSX.Element;
|
|
66
67
|
/**
|
|
67
68
|
* Label that is displayed in the node header.
|
|
68
69
|
*/
|
|
69
|
-
label: string | JSX.Element;
|
|
70
|
+
label: string | React.JSX.Element;
|
|
70
71
|
/**
|
|
71
72
|
* Element that is displayed as subline under the label in the header.
|
|
72
73
|
*/
|
|
73
|
-
labelSubline?: JSX.Element;
|
|
74
|
+
labelSubline?: React.JSX.Element;
|
|
74
75
|
/**
|
|
75
76
|
* Content element, displayed in the node body.
|
|
76
77
|
*/
|
|
@@ -86,9 +87,7 @@ interface NodeContentData<CONTENT_PROPS = any> {
|
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
export interface NodeContentProps<CONTENT_PROPS = any>
|
|
89
|
-
extends NodeContentData,
|
|
90
|
-
ReacFlowVersionSupportProps,
|
|
91
|
-
Omit<React.HTMLAttributes<HTMLDivElement>, "content"> {
|
|
90
|
+
extends NodeContentData, ReacFlowVersionSupportProps, Omit<React.HTMLAttributes<HTMLDivElement>, "content"> {
|
|
92
91
|
/**
|
|
93
92
|
* Size of the node.
|
|
94
93
|
* If `minimalShape` is not set to `none`then the configured size definition is only used for the selected node state.
|
|
@@ -138,7 +137,7 @@ export interface NodeContentProps<CONTENT_PROPS = any>
|
|
|
138
137
|
*/
|
|
139
138
|
executionButtons?: (
|
|
140
139
|
adjustedContentProps: Partial<CONTENT_PROPS>,
|
|
141
|
-
setAdjustedContentProps: React.Dispatch<React.SetStateAction<Partial<CONTENT_PROPS
|
|
140
|
+
setAdjustedContentProps: React.Dispatch<React.SetStateAction<Partial<CONTENT_PROPS>>>,
|
|
142
141
|
) => React.ReactElement<React.HTMLAttributes<HTMLElement>>;
|
|
143
142
|
/**
|
|
144
143
|
* Can be used for permanent action button or context menu.
|
|
@@ -255,7 +254,7 @@ const addHandles = (
|
|
|
255
254
|
posDirection: MemoHandlerProps["posdirection"],
|
|
256
255
|
isConnectable: MemoHandlerProps["isConnectable"],
|
|
257
256
|
nodeStyle: MemoHandlerProps["style"],
|
|
258
|
-
flowVersion: ReacFlowVersionSupportProps["flowVersion"] = ReactFlowVersions.V9
|
|
257
|
+
flowVersion: ReacFlowVersionSupportProps["flowVersion"] = ReactFlowVersions.V9,
|
|
259
258
|
) => {
|
|
260
259
|
return handles[position].map((handle: HandleDefaultProps, idx: number) => {
|
|
261
260
|
// FIXME: remove? orig v12 change: return handles[position].map((handle: any, idx: any) => {
|
|
@@ -295,10 +294,10 @@ const MemoHandler = React.memo(
|
|
|
295
294
|
prev.intent === next.intent &&
|
|
296
295
|
prev.category === next.category
|
|
297
296
|
);
|
|
298
|
-
}
|
|
297
|
+
},
|
|
299
298
|
);
|
|
300
299
|
|
|
301
|
-
const DEFAULT_RESIZE_DIRECTIONS: ResizeDirections = { bottom: true, right: true }
|
|
300
|
+
const DEFAULT_RESIZE_DIRECTIONS: ResizeDirections = { bottom: true, right: true };
|
|
302
301
|
/**
|
|
303
302
|
* The `NodeContent` element manages the main view of how a node is displaying which content.
|
|
304
303
|
* This element cannot be used directly, all properties must be routed through the `data` property of an `elements` property item inside the `ReactFlow` container.
|
|
@@ -386,7 +385,7 @@ export function NodeContent<CONTENT_PROPS = React.HTMLAttributes<HTMLElement>>({
|
|
|
386
385
|
console.error(error);
|
|
387
386
|
}
|
|
388
387
|
const [adjustedContentProps, setAdjustedContentProps] = React.useState<Partial<CONTENT_PROPS>>({});
|
|
389
|
-
const nodeContentRef = React.useRef<any>();
|
|
388
|
+
const nodeContentRef = React.useRef<any>(undefined);
|
|
390
389
|
|
|
391
390
|
const handleStack: Record<string, HandleDefaultProps[]> = {
|
|
392
391
|
[Position.Top]: [],
|
|
@@ -476,18 +475,18 @@ export function NodeContent<CONTENT_PROPS = React.HTMLAttributes<HTMLElement>>({
|
|
|
476
475
|
// remove introduction class
|
|
477
476
|
React.useEffect(() => {
|
|
478
477
|
if (nodeContentRef && introductionTime) {
|
|
479
|
-
const timeDelay = typeof introductionTime === "object" ? introductionTime.delay ?? 0 : 0;
|
|
478
|
+
const timeDelay = typeof introductionTime === "object" ? (introductionTime.delay ?? 0) : 0;
|
|
480
479
|
const timeRun = typeof introductionTime === "object" ? introductionTime.run : introductionTime;
|
|
481
480
|
setTimeout(() => {
|
|
482
481
|
nodeContentRef.current.className = nodeContentRef.current.className.replace(
|
|
483
482
|
`${eccgui}-graphviz__node--introduction`,
|
|
484
|
-
`${eccgui}-graphviz__node--introduction-runs
|
|
483
|
+
`${eccgui}-graphviz__node--introduction-runs`,
|
|
485
484
|
);
|
|
486
485
|
}, timeDelay);
|
|
487
486
|
setTimeout(() => {
|
|
488
487
|
nodeContentRef.current.className = nodeContentRef.current.className.replace(
|
|
489
488
|
`${eccgui}-graphviz__node--introduction-runs`,
|
|
490
|
-
`${eccgui}-graphviz__node--introduction-done
|
|
489
|
+
`${eccgui}-graphviz__node--introduction-done`,
|
|
491
490
|
);
|
|
492
491
|
setIntroductionDone(true);
|
|
493
492
|
}, timeDelay + timeRun);
|
|
@@ -540,7 +539,7 @@ export function NodeContent<CONTENT_PROPS = React.HTMLAttributes<HTMLElement>>({
|
|
|
540
539
|
|
|
541
540
|
const { highlightClassNameSuffix, highlightCustomPropertySettings } = evaluateHighlightColors(
|
|
542
541
|
"--node-highlight",
|
|
543
|
-
highlightColor
|
|
542
|
+
highlightColor,
|
|
544
543
|
);
|
|
545
544
|
|
|
546
545
|
const resizableStyles =
|
|
@@ -548,8 +547,8 @@ export function NodeContent<CONTENT_PROPS = React.HTMLAttributes<HTMLElement>>({
|
|
|
548
547
|
? {
|
|
549
548
|
width,
|
|
550
549
|
height,
|
|
551
|
-
maxWidth: resizeDirections.right ? resizeMaxDimensions?.width ?? undefined : undefined,
|
|
552
|
-
maxHeight: resizeDirections.bottom ? resizeMaxDimensions?.height ?? undefined : undefined,
|
|
550
|
+
maxWidth: resizeDirections.right ? (resizeMaxDimensions?.width ?? undefined) : undefined,
|
|
551
|
+
maxHeight: resizeDirections.bottom ? (resizeMaxDimensions?.height ?? undefined) : undefined,
|
|
553
552
|
}
|
|
554
553
|
: {};
|
|
555
554
|
|
|
@@ -680,7 +679,7 @@ export function NodeContent<CONTENT_PROPS = React.HTMLAttributes<HTMLElement>>({
|
|
|
680
679
|
"left",
|
|
681
680
|
isConnectable,
|
|
682
681
|
style as MemoHandlerProps["style"],
|
|
683
|
-
flowVersionCheck
|
|
682
|
+
flowVersionCheck,
|
|
684
683
|
)}
|
|
685
684
|
{addHandles(
|
|
686
685
|
handleStack,
|
|
@@ -688,7 +687,7 @@ export function NodeContent<CONTENT_PROPS = React.HTMLAttributes<HTMLElement>>({
|
|
|
688
687
|
"top",
|
|
689
688
|
isConnectable,
|
|
690
689
|
style as MemoHandlerProps["style"],
|
|
691
|
-
flowVersionCheck
|
|
690
|
+
flowVersionCheck,
|
|
692
691
|
)}
|
|
693
692
|
{addHandles(
|
|
694
693
|
handleStack,
|
|
@@ -696,7 +695,7 @@ export function NodeContent<CONTENT_PROPS = React.HTMLAttributes<HTMLElement>>({
|
|
|
696
695
|
"left",
|
|
697
696
|
isConnectable,
|
|
698
697
|
style as MemoHandlerProps["style"],
|
|
699
|
-
flowVersionCheck
|
|
698
|
+
flowVersionCheck,
|
|
700
699
|
)}
|
|
701
700
|
{addHandles(
|
|
702
701
|
handleStack,
|
|
@@ -704,7 +703,7 @@ export function NodeContent<CONTENT_PROPS = React.HTMLAttributes<HTMLElement>>({
|
|
|
704
703
|
"top",
|
|
705
704
|
isConnectable,
|
|
706
705
|
style as MemoHandlerProps["style"],
|
|
707
|
-
flowVersionCheck
|
|
706
|
+
flowVersionCheck,
|
|
708
707
|
)}
|
|
709
708
|
</>
|
|
710
709
|
)}
|
|
@@ -735,42 +734,51 @@ export function NodeContent<CONTENT_PROPS = React.HTMLAttributes<HTMLElement>>({
|
|
|
735
734
|
return validatedHeight;
|
|
736
735
|
};
|
|
737
736
|
|
|
738
|
-
const onResize = React.useCallback(
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
737
|
+
const onResize: ResizableProps["onResize"] = React.useCallback(
|
|
738
|
+
(_0: any, _1: any, _2: any, d: NumberSize) => {
|
|
739
|
+
if (nodeContentRef.current) {
|
|
740
|
+
const nextWidth = resizeDirections.right
|
|
741
|
+
? (width ?? originalSize.current.width ?? 0) + d.width
|
|
742
|
+
: undefined;
|
|
743
|
+
const nextHeight = resizeDirections.bottom
|
|
744
|
+
? (height ?? originalSize.current.height ?? 0) + d.height
|
|
745
|
+
: undefined;
|
|
746
|
+
if (nextWidth || nextHeight) {
|
|
747
|
+
const currentClassNames = nodeContentRef.current.classList;
|
|
748
|
+
currentClassNames.add("was-resized");
|
|
749
|
+
}
|
|
750
|
+
if (nextWidth) {
|
|
751
|
+
nodeContentRef.current.style.width = `${nextWidth}px`;
|
|
752
|
+
}
|
|
753
|
+
if (nextHeight) {
|
|
754
|
+
nodeContentRef.current.style.height = `${nextHeight}px`;
|
|
755
|
+
}
|
|
752
756
|
}
|
|
753
|
-
|
|
754
|
-
|
|
757
|
+
},
|
|
758
|
+
[resizeDirections, originalSize, width, height],
|
|
759
|
+
);
|
|
760
|
+
|
|
761
|
+
const onResizeStop: ResizeCallback = React.useCallback(
|
|
762
|
+
(_0, _1, _2, d: NumberSize) => {
|
|
763
|
+
const nextWidth = validateWidth((width ?? originalSize.current.width ?? 0) + d.width);
|
|
764
|
+
const nextHeight = validateHeight((height ?? originalSize.current.height ?? 0) + d.height);
|
|
765
|
+
setWidth(nextWidth);
|
|
766
|
+
setHeight(nextHeight);
|
|
767
|
+
if (onNodeResize) {
|
|
768
|
+
onNodeResize({
|
|
769
|
+
height: nextHeight,
|
|
770
|
+
width: nextWidth,
|
|
771
|
+
});
|
|
755
772
|
}
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
const onResizeStop = React.useCallback((_0, _1, _2, d) => {
|
|
760
|
-
const nextWidth = validateWidth((width ?? originalSize.current.width ?? 0) + d.width);
|
|
761
|
-
const nextHeight = validateHeight((height ?? originalSize.current.height ?? 0) + d.height);
|
|
762
|
-
setWidth(nextWidth);
|
|
763
|
-
setHeight(nextHeight);
|
|
764
|
-
if (onNodeResize) {
|
|
765
|
-
onNodeResize({
|
|
766
|
-
height: nextHeight,
|
|
767
|
-
width: nextWidth,
|
|
768
|
-
});
|
|
769
|
-
}
|
|
770
|
-
}, [onNodeResize, width, height, originalSize]);
|
|
773
|
+
},
|
|
774
|
+
[onNodeResize, width, height, originalSize],
|
|
775
|
+
);
|
|
771
776
|
|
|
772
777
|
const resizableSize = React.useMemo(() => ({ height: height ?? "auto", width: width ?? "auto" }), [height, width]);
|
|
773
|
-
const enableResize = React.useMemo(
|
|
778
|
+
const enableResize = React.useMemo(
|
|
779
|
+
() => (resizeDirections!.bottom && resizeDirections!.right ? { bottomRight: true } : resizeDirections),
|
|
780
|
+
[resizeDirections],
|
|
781
|
+
);
|
|
774
782
|
|
|
775
783
|
const resizableNode = () => {
|
|
776
784
|
return (
|
|
@@ -799,7 +807,7 @@ export function NodeContent<CONTENT_PROPS = React.HTMLAttributes<HTMLElement>>({
|
|
|
799
807
|
|
|
800
808
|
const evaluateHighlightColors = (
|
|
801
809
|
baseCustomProperty: string,
|
|
802
|
-
highlightColor?: NodeHighlightColor | NodeHighlightColor[]
|
|
810
|
+
highlightColor?: NodeHighlightColor | NodeHighlightColor[],
|
|
803
811
|
) => {
|
|
804
812
|
let styleHighlightColors = {
|
|
805
813
|
[`${baseCustomProperty}-default-color`]: undefined,
|
|
@@ -2,7 +2,7 @@ import React, { memo } from "react";
|
|
|
2
2
|
import { NodeProps as ReactFlowNodeV9Props } from "react-flow-renderer";
|
|
3
3
|
import { NodeProps as ReactFlowNodeV12Props, Position } from "@xyflow/react";
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import Tooltip from "../../../components/Tooltip/Tooltip";
|
|
6
6
|
import { ReacFlowVersionSupportProps, useReactFlowVersion } from "../versionsupport";
|
|
7
7
|
|
|
8
8
|
import { NodeContent, NodeContentProps } from "./NodeContent";
|
|
@@ -16,9 +16,12 @@ interface NodeDefaultExtendedProps<CONTENT_PROPS = any> extends ReacFlowVersionS
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
type NodeDefaultV9Props<CONTENT_PROPS = any> = NodeDefaultExtendedProps<CONTENT_PROPS> & ReactFlowNodeV9Props;
|
|
19
|
-
type NodeDefaultV12Props<CONTENT_PROPS = any> = NodeDefaultExtendedProps<CONTENT_PROPS> &
|
|
19
|
+
type NodeDefaultV12Props<CONTENT_PROPS = any> = NodeDefaultExtendedProps<CONTENT_PROPS> &
|
|
20
|
+
Omit<ReactFlowNodeV12Props, "data">;
|
|
20
21
|
|
|
21
|
-
export type NodeDefaultProps<CONTENT_PROPS = any> =
|
|
22
|
+
export type NodeDefaultProps<CONTENT_PROPS = any> =
|
|
23
|
+
| NodeDefaultV9Props<CONTENT_PROPS>
|
|
24
|
+
| NodeDefaultV12Props<CONTENT_PROPS>;
|
|
22
25
|
|
|
23
26
|
/**
|
|
24
27
|
* The `NodeDefault` element manages the display of React-Flow nodes.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { memo } from "react";
|
|
2
2
|
import { NodeProps as ReactFlowNodeProps, Position } from "react-flow-renderer";
|
|
3
3
|
|
|
4
|
-
import
|
|
4
|
+
import Tooltip from "../../../components/Tooltip/Tooltip";
|
|
5
5
|
|
|
6
6
|
import { NodeContent, NodeContentProps } from "./NodeContent";
|
|
7
7
|
|
|
@@ -2,10 +2,10 @@ import React, { memo, useEffect, useState } from "react";
|
|
|
2
2
|
import { PopoverInteractionKind as BlueprintPopoverInteractionKind } from "@blueprintjs/core";
|
|
3
3
|
|
|
4
4
|
import { ValidIconName } from "../../../components/Icon/canonicalIconNames";
|
|
5
|
+
import IconButton from "../../../components/Icon/IconButton";
|
|
5
6
|
import { CLASSPREFIX as eccgui } from "../../../configuration/constants";
|
|
6
|
-
import { ContextOverlay, IconButton } from "../../../index";
|
|
7
7
|
|
|
8
|
-
import { ContextOverlayProps } from "./../../../components/ContextOverlay/ContextOverlay";
|
|
8
|
+
import ContextOverlay, { ContextOverlayProps } from "./../../../components/ContextOverlay/ContextOverlay";
|
|
9
9
|
|
|
10
10
|
// Functions regarding the menu that can be called from the outside
|
|
11
11
|
export interface NodeToolsMenuFunctions {
|
|
@@ -14,8 +14,8 @@ export interface NodeToolsMenuFunctions {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export interface NodeToolsProps extends Omit<ContextOverlayProps, "children"> {
|
|
17
|
-
children: string | JSX.Element;
|
|
18
|
-
togglerElement?: ValidIconName | JSX.Element;
|
|
17
|
+
children: string | React.JSX.Element;
|
|
18
|
+
togglerElement?: ValidIconName | React.JSX.Element;
|
|
19
19
|
togglerText?: string;
|
|
20
20
|
menuButtonDataTestId?: string;
|
|
21
21
|
/** If defined this function will be called with the menu API object to be used externally. */
|
|
@@ -63,5 +63,5 @@ export const NodeTools = memo(
|
|
|
63
63
|
)}
|
|
64
64
|
</ContextOverlay>
|
|
65
65
|
);
|
|
66
|
-
}
|
|
66
|
+
},
|
|
67
67
|
);
|
|
@@ -376,7 +376,8 @@
|
|
|
376
376
|
display: block;
|
|
377
377
|
content: " ";
|
|
378
378
|
border: 0.1px solid transparent; // workaround for Firefox, otherwise shadows are overlayed
|
|
379
|
-
box-shadow:
|
|
379
|
+
box-shadow:
|
|
380
|
+
0 0 0 2 * $reactflow-node-border-width var(--node-highlight-default-color),
|
|
380
381
|
0 0 0 3.5 * $reactflow-node-border-width
|
|
381
382
|
var(--node-highlight-alternate-color, var(--node-highlight-default-color));
|
|
382
383
|
opacity: $eccgui-opacity-disabled;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CSSProperties } from "react";
|
|
2
|
-
import {Node as NodeV9, XYPosition as XYPositionV9} from "react-flow-renderer";
|
|
3
|
-
import {Node as NodeV12, XYPosition as XYPositionV12} from "@xyflow/react";
|
|
2
|
+
import { Node as NodeV9, XYPosition as XYPositionV9 } from "react-flow-renderer";
|
|
3
|
+
import { Node as NodeV12, XYPosition as XYPositionV12 } from "@xyflow/react";
|
|
4
4
|
import Color from "color";
|
|
5
5
|
|
|
6
|
-
import {NodeDimensions} from "./NodeContent";
|
|
6
|
+
import { NodeDimensions } from "./NodeContent";
|
|
7
7
|
|
|
8
8
|
interface StickyNoteBase {
|
|
9
9
|
id: string;
|
|
@@ -30,9 +30,14 @@ const transformNodeToStickyNode = (node: NodeV9<any> | NodeV12<any>): StickyNote
|
|
|
30
30
|
return {
|
|
31
31
|
id: node.id,
|
|
32
32
|
content: node.data.businessData.stickyNote!,
|
|
33
|
-
position: {
|
|
33
|
+
position: {
|
|
34
|
+
x: node.position.x,
|
|
35
|
+
y: node.position.y,
|
|
36
|
+
width: node.data.nodeDimensions?.width,
|
|
37
|
+
height: node.data.nodeDimensions?.height,
|
|
38
|
+
},
|
|
34
39
|
color: node.data.style?.borderColor!,
|
|
35
|
-
}
|
|
40
|
+
};
|
|
36
41
|
};
|
|
37
42
|
|
|
38
43
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export type NodeHighlightColor = "default" | "alternate" |
|
|
1
|
+
import { ColorLike } from "color";
|
|
2
|
+
export type NodeHighlightColor = "default" | "alternate" | ColorLike;
|
|
@@ -5,19 +5,18 @@ import { Meta, StoryFn } from "@storybook/react";
|
|
|
5
5
|
|
|
6
6
|
import { Definitions } from "../../../../common/Intent";
|
|
7
7
|
|
|
8
|
-
import canonicalIcons from "./../../../../components/Icon/canonicalIconNames";
|
|
9
8
|
import {
|
|
10
9
|
Badge,
|
|
11
10
|
ContextMenu,
|
|
12
11
|
HtmlContentBlock,
|
|
13
12
|
IconButton,
|
|
14
13
|
MenuItem,
|
|
15
|
-
NodeContent,
|
|
16
|
-
NodeContentExtension,
|
|
17
14
|
OverflowText,
|
|
18
15
|
Tag,
|
|
19
16
|
TagList,
|
|
20
|
-
} from "./../../../../
|
|
17
|
+
} from "./../../../../components";
|
|
18
|
+
import canonicalIcons from "./../../../../components/Icon/canonicalIconNames";
|
|
19
|
+
import { NodeContent, NodeContentExtension } from "./../../../../extensions";
|
|
21
20
|
import {
|
|
22
21
|
Default as ContentExtensionExample,
|
|
23
22
|
SlideOutOfNode as ContentExtensionExampleSlideOut,
|
|
@@ -103,11 +102,20 @@ export default {
|
|
|
103
102
|
},
|
|
104
103
|
intent: {
|
|
105
104
|
control: "select",
|
|
106
|
-
options: [
|
|
105
|
+
options: [undefined, ...Object.values(Definitions)],
|
|
107
106
|
},
|
|
108
107
|
highlightColor: {
|
|
109
108
|
control: "select",
|
|
110
|
-
options: [
|
|
109
|
+
options: [
|
|
110
|
+
"Not set",
|
|
111
|
+
"Default",
|
|
112
|
+
"Alternate",
|
|
113
|
+
"Default + alternate",
|
|
114
|
+
"Custom (red)",
|
|
115
|
+
"Default + Custom (red)",
|
|
116
|
+
"Custom (green) + alternate",
|
|
117
|
+
"Custom (purple) + custom (yellow)",
|
|
118
|
+
],
|
|
111
119
|
mapping: {
|
|
112
120
|
"Not set": undefined,
|
|
113
121
|
Default: "default",
|
|
@@ -142,39 +150,43 @@ const NodeContentExample = (args: any) => {
|
|
|
142
150
|
};
|
|
143
151
|
|
|
144
152
|
useEffect(() => {
|
|
145
|
-
const sizeReset = {}
|
|
153
|
+
const sizeReset = {};
|
|
146
154
|
if (args.resizeMaxDimensions && args.resizeDirections) {
|
|
147
155
|
sizeReset["onNodeResize"] = (dimensions) => {
|
|
148
156
|
// eslint-disable-next-line no-console
|
|
149
|
-
console.log("call onNodeResize method")
|
|
157
|
+
console.log("call onNodeResize method");
|
|
150
158
|
if (args.onNodeResize) {
|
|
151
159
|
args.onNodeResize(dimensions);
|
|
152
160
|
}
|
|
153
161
|
if (dimensions?.width || dimensions?.height) {
|
|
154
|
-
sizeReset["menuButtons"] =
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
sizeReset["menuButtons"] = (
|
|
163
|
+
<IconButton
|
|
164
|
+
name="item-reset"
|
|
165
|
+
onClick={() => {
|
|
166
|
+
// eslint-disable-next-line no-console
|
|
167
|
+
console.log("reset size");
|
|
168
|
+
setElements([
|
|
169
|
+
{
|
|
170
|
+
...defaultElement,
|
|
171
|
+
data: { ...defaultElement.data, ...sizeReset, ...{ nodeDimensions: {} } },
|
|
172
|
+
},
|
|
173
|
+
] as Elements);
|
|
174
|
+
}}
|
|
175
|
+
/>
|
|
176
|
+
);
|
|
165
177
|
}
|
|
166
178
|
setElements([
|
|
167
179
|
{
|
|
168
180
|
...defaultElement,
|
|
169
|
-
data: {...defaultElement.data, ...sizeReset, ...{ nodeDimensions: dimensions }},
|
|
181
|
+
data: { ...defaultElement.data, ...sizeReset, ...{ nodeDimensions: dimensions } },
|
|
170
182
|
},
|
|
171
183
|
] as Elements);
|
|
172
|
-
}
|
|
184
|
+
};
|
|
173
185
|
}
|
|
174
186
|
setElements([
|
|
175
187
|
{
|
|
176
188
|
...defaultElement,
|
|
177
|
-
data: {...defaultElement.data, ...sizeReset},
|
|
189
|
+
data: { ...defaultElement.data, ...sizeReset },
|
|
178
190
|
},
|
|
179
191
|
] as Elements);
|
|
180
192
|
}, [args]);
|
|
@@ -185,7 +197,7 @@ const NodeContentExample = (args: any) => {
|
|
|
185
197
|
setReactflowInstance(rfi);
|
|
186
198
|
}
|
|
187
199
|
},
|
|
188
|
-
[reactflowInstance]
|
|
200
|
+
[reactflowInstance],
|
|
189
201
|
);
|
|
190
202
|
|
|
191
203
|
return (
|
|
@@ -201,7 +213,9 @@ const NodeContentExample = (args: any) => {
|
|
|
201
213
|
);
|
|
202
214
|
};
|
|
203
215
|
|
|
204
|
-
const Template: StoryFn<typeof NodeContent> = (args) =>
|
|
216
|
+
const Template: StoryFn<typeof NodeContent> = (args) => (
|
|
217
|
+
<NodeContentExample {...args} /*some comment*/ key={++forcedUpdateKey} />
|
|
218
|
+
);
|
|
205
219
|
|
|
206
220
|
export const Default = Template.bind({});
|
|
207
221
|
Default.args = {
|
|
@@ -8,11 +8,13 @@
|
|
|
8
8
|
$use-flexbox-grid: $use-flexbox-grid
|
|
9
9
|
);
|
|
10
10
|
@use "~@carbon/react/scss/utilities/_visually-hidden";
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
// we replicate the function here because the distinct import is not possible via @carbon/react
|
|
12
13
|
// @import "~@carbon/styles/scss/components/ui-shell/functions";
|
|
13
14
|
@function mini-units($count) {
|
|
14
15
|
@return 0.5rem * $count;
|
|
15
16
|
}
|
|
17
|
+
|
|
16
18
|
@import "~@carbon/react/scss/feature-flags";
|
|
17
19
|
@import "~@carbon/react/scss/colors";
|
|
18
20
|
@import "~@carbon/react/scss/theme";
|
package/src/index.scss
CHANGED
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
// calculate blueprintjs configuration
|
|
26
26
|
@import "./includes/blueprintjs/variables";
|
|
27
27
|
|
|
28
|
-
// map our palette to
|
|
28
|
+
// map our palette to BlueprintJS colors
|
|
29
29
|
@import "./includes/blueprintjs/colormap";
|
|
30
30
|
|
|
31
|
-
// load blueprintjs
|
|
31
|
+
// load blueprintjs requisites
|
|
32
32
|
@import "./includes/blueprintjs/requisits";
|
|
33
33
|
|
|
34
34
|
// load blueprintjs components
|