@eccenca/gui-elements 25.0.0 → 25.1.0-changeupgradedtoreact18cmem6639.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 +124 -0
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js +30 -26
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +11 -5
- package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js +1 -3
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/ContentBlobToggler.js +13 -6
- package/dist/cjs/cmem/ContentBlobToggler/ContentBlobToggler.js.map +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +49 -11
- package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.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/ReactFlowV12.js.map +1 -1
- package/dist/cjs/cmem/react-flow/StickyNoteModal/StickyNoteModal.js +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/common/Intent/index.js +1 -1
- package/dist/cjs/common/Intent/index.js.map +1 -1
- package/dist/cjs/common/index.js +1 -0
- package/dist/cjs/common/index.js.map +1 -1
- package/dist/cjs/common/utils/CssCustomProperties.js.map +1 -1
- package/dist/cjs/common/utils/colorHash.js +26 -12
- package/dist/cjs/common/utils/colorHash.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationSidebarNavigation.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationTitle.js +5 -1
- package/dist/cjs/components/Application/ApplicationTitle.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationViewability.js +33 -0
- package/dist/cjs/components/Application/ApplicationViewability.js.map +1 -0
- package/dist/cjs/components/Application/index.js +1 -0
- package/dist/cjs/components/Application/index.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js +1 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js +2 -9
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js.map +1 -1
- package/dist/cjs/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
- package/dist/cjs/components/Button/Button.js +6 -2
- package/dist/cjs/components/Button/Button.js.map +1 -1
- package/dist/cjs/components/ColorField/ColorField.js +114 -0
- package/dist/cjs/components/ColorField/ColorField.js.map +1 -0
- 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 +3 -2
- package/dist/cjs/components/ContextOverlay/ContextOverlay.js.map +1 -1
- package/dist/cjs/components/DecoupledOverlay/DecoupledOverlay.js +48 -0
- package/dist/cjs/components/DecoupledOverlay/DecoupledOverlay.js.map +1 -0
- 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 +10 -1
- package/dist/cjs/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/cjs/components/Icon/transformIcon.js +14 -0
- package/dist/cjs/components/Icon/transformIcon.js.map +1 -0
- package/dist/cjs/components/MultiSelect/MultiSelect.js +63 -24
- 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/RadioButton/RadioButton.js +5 -2
- package/dist/cjs/components/RadioButton/RadioButton.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/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/TableExpandRow.js +2 -2
- package/dist/cjs/components/Table/TableExpandRow.js.map +1 -1
- package/dist/cjs/components/TextField/useTextValidation.js +17 -8
- package/dist/cjs/components/TextField/useTextValidation.js.map +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.js +11 -7
- package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/cjs/components/Typography/InlineText.js +29 -0
- package/dist/cjs/components/Typography/InlineText.js.map +1 -0
- package/dist/cjs/components/Typography/index.js +1 -0
- package/dist/cjs/components/Typography/index.js.map +1 -1
- package/dist/cjs/components/VisualTour/VisualTour.js +30 -36
- package/dist/cjs/components/VisualTour/VisualTour.js.map +1 -1
- package/dist/cjs/components/index.js +3 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/extensions/codemirror/CodeMirror.js +59 -21
- package/dist/cjs/extensions/codemirror/CodeMirror.js.map +1 -1
- package/dist/cjs/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js +1 -1
- package/dist/cjs/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js.map +1 -1
- package/dist/cjs/extensions/codemirror/tests/codemirrorTestHelper.js +2 -2
- package/dist/cjs/extensions/codemirror/tests/codemirrorTestHelper.js.map +1 -1
- package/dist/cjs/extensions/codemirror/toolbars/EditorAppearanceConfigMenu.js +23 -0
- package/dist/cjs/extensions/codemirror/toolbars/EditorAppearanceConfigMenu.js.map +1 -0
- package/dist/cjs/extensions/codemirror/toolbars/markdown.toolbar.js +5 -2
- package/dist/cjs/extensions/codemirror/toolbars/markdown.toolbar.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeLabel.js +8 -3
- package/dist/cjs/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeNew.js +6 -4
- package/dist/cjs/extensions/react-flow/edges/EdgeNew.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeTools.js +2 -2
- package/dist/cjs/extensions/react-flow/edges/EdgeTools.js.map +1 -1
- package/dist/cjs/extensions/react-flow/handles/HandleContent.js +5 -2
- package/dist/cjs/extensions/react-flow/handles/HandleContent.js.map +1 -1
- package/dist/cjs/extensions/react-flow/handles/HandleDefault.js +1 -1
- 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 +1 -1
- package/dist/cjs/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- package/dist/cjs/extensions/react-flow/minimap/MiniMapV12.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js +7 -5
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js +5 -2
- package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js +6 -2
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/nodeUtils.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js +19 -14
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +4 -1
- package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/SilkActivityControl.js +1 -3
- package/dist/esm/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
- package/dist/esm/cmem/ContentBlobToggler/ContentBlobToggler.js +9 -5
- package/dist/esm/cmem/ContentBlobToggler/ContentBlobToggler.js.map +1 -1
- package/dist/esm/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +57 -9
- 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/ReactFlowV12.js.map +1 -1
- package/dist/esm/cmem/react-flow/StickyNoteModal/StickyNoteModal.js +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/common/Intent/index.js +1 -1
- package/dist/esm/common/Intent/index.js.map +1 -1
- package/dist/esm/common/index.js +2 -1
- package/dist/esm/common/index.js.map +1 -1
- package/dist/esm/common/utils/CssCustomProperties.js.map +1 -1
- package/dist/esm/common/utils/colorHash.js +26 -13
- package/dist/esm/common/utils/colorHash.js.map +1 -1
- package/dist/esm/common/utils/reduceToText.js +1 -1
- package/dist/esm/components/Application/ApplicationSidebarNavigation.js.map +1 -1
- package/dist/esm/components/Application/ApplicationTitle.js +5 -1
- package/dist/esm/components/Application/ApplicationTitle.js.map +1 -1
- package/dist/esm/components/Application/ApplicationViewability.js +28 -0
- package/dist/esm/components/Application/ApplicationViewability.js.map +1 -0
- package/dist/esm/components/Application/index.js +1 -0
- package/dist/esm/components/Application/index.js.map +1 -1
- package/dist/esm/components/AutoSuggestion/AutoSuggestion.js +1 -1
- 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 +9 -16
- package/dist/esm/components/AutocompleteField/AutoCompleteField.js.map +1 -1
- package/dist/esm/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
- package/dist/esm/components/Button/Button.js +6 -2
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/ColorField/ColorField.js +140 -0
- package/dist/esm/components/ColorField/ColorField.js.map +1 -0
- 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 +42 -0
- package/dist/esm/components/DecoupledOverlay/DecoupledOverlay.js.map +1 -0
- 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 +10 -1
- package/dist/esm/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/esm/components/Icon/transformIcon.js +21 -0
- package/dist/esm/components/Icon/transformIcon.js.map +1 -0
- package/dist/esm/components/MultiSelect/MultiSelect.js +66 -27
- 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/RadioButton/RadioButton.js +6 -2
- package/dist/esm/components/RadioButton/RadioButton.js.map +1 -1
- package/dist/esm/components/Select/Select.js +3 -1
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/esm/components/Skeleton/Skeleton.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/TableExpandRow.js +1 -1
- package/dist/esm/components/Table/TableExpandRow.js.map +1 -1
- package/dist/esm/components/TextField/useTextValidation.js +39 -8
- package/dist/esm/components/TextField/useTextValidation.js.map +1 -1
- package/dist/esm/components/Tooltip/Tooltip.js +11 -7
- package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/components/Typography/InlineText.js +33 -0
- package/dist/esm/components/Typography/InlineText.js.map +1 -0
- package/dist/esm/components/Typography/index.js +1 -0
- package/dist/esm/components/Typography/index.js.map +1 -1
- package/dist/esm/components/VisualTour/VisualTour.js +31 -37
- package/dist/esm/components/VisualTour/VisualTour.js.map +1 -1
- package/dist/esm/components/index.js +3 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/extensions/codemirror/CodeMirror.js +62 -24
- package/dist/esm/extensions/codemirror/CodeMirror.js.map +1 -1
- package/dist/esm/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js +1 -1
- package/dist/esm/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.js.map +1 -1
- package/dist/esm/extensions/codemirror/tests/codemirrorTestHelper.js +3 -3
- package/dist/esm/extensions/codemirror/tests/codemirrorTestHelper.js.map +1 -1
- package/dist/esm/extensions/codemirror/toolbars/EditorAppearanceConfigMenu.js +47 -0
- package/dist/esm/extensions/codemirror/toolbars/EditorAppearanceConfigMenu.js.map +1 -0
- package/dist/esm/extensions/codemirror/toolbars/markdown.toolbar.js +16 -2
- package/dist/esm/extensions/codemirror/toolbars/markdown.toolbar.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeLabel.js +4 -2
- package/dist/esm/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeNew.js +3 -1
- 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/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 +1 -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 +4 -2
- 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.map +1 -1
- package/dist/types/cmem/ActivityControl/ActivityControlWidget.d.ts +13 -4
- package/dist/types/cmem/ActivityControl/ActivityExecutionErrorReportModal.d.ts +1 -1
- package/dist/types/cmem/ActivityControl/SilkActivityControl.d.ts +4 -4
- package/dist/types/cmem/ContentBlobToggler/ContentBlobToggler.d.ts +5 -1
- package/dist/types/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.d.ts +27 -11
- 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/index.d.ts +2 -1
- package/dist/types/common/utils/CssCustomProperties.d.ts +2 -2
- package/dist/types/common/utils/colorHash.d.ts +5 -4
- package/dist/types/components/Accordion/AccordionItem.d.ts +1 -1
- package/dist/types/components/Application/ApplicationSidebarNavigation.d.ts +2 -0
- package/dist/types/components/Application/ApplicationViewability.d.ts +36 -0
- package/dist/types/components/Application/index.d.ts +1 -0
- package/dist/types/components/AutoSuggestion/AutoSuggestion.d.ts +2 -2
- 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 +30 -0
- 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 +8 -2
- package/dist/types/components/DecoupledOverlay/DecoupledOverlay.d.ts +22 -0
- package/dist/types/components/Depiction/Depiction.d.ts +1 -1
- 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/IconButton.d.ts +1 -1
- package/dist/types/components/Icon/canonicalIconNames.d.ts +9 -1
- package/dist/types/components/Icon/transformIcon.d.ts +2 -0
- 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 +17 -5
- 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/RadioButton/RadioButton.d.ts +8 -2
- package/dist/types/components/Select/Select.d.ts +2 -1
- package/dist/types/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/types/components/Structure/TitleSubsection.d.ts +3 -6
- package/dist/types/components/SuggestField/index.d.ts +2 -2
- package/dist/types/components/Table/TableContainer.d.ts +3 -3
- package/dist/types/components/Tabs/Tab.d.ts +4 -10
- package/dist/types/components/Tabs/TabTitle.d.ts +1 -1
- package/dist/types/components/TextField/TextArea.d.ts +1 -1
- package/dist/types/components/Typography/InlineText.d.ts +13 -0
- package/dist/types/components/Typography/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/extensions/codemirror/CodeMirror.d.ts +12 -9
- package/dist/types/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.d.ts +1 -1
- package/dist/types/extensions/codemirror/tests/codemirrorTestHelper.d.ts +1 -1
- package/dist/types/extensions/codemirror/toolbars/EditorAppearanceConfigMenu.d.ts +24 -0
- package/dist/types/extensions/codemirror/toolbars/markdown.toolbar.d.ts +2 -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/package.json +65 -61
- package/src/_shame.scss +1 -35
- package/src/cmem/ActivityControl/ActivityControlWidget.stories.tsx +3 -8
- package/src/cmem/ActivityControl/ActivityControlWidget.tsx +74 -41
- package/src/cmem/ActivityControl/ActivityExecutionErrorReportModal.tsx +6 -4
- package/src/cmem/ActivityControl/SilkActivityControl.tsx +5 -5
- package/src/cmem/ContentBlobToggler/ContentBlobToggler.tsx +16 -6
- package/src/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.tsx +72 -19
- package/src/cmem/ContentBlobToggler/stories/StringPreviewContentBlobToggler.stories.tsx +27 -0
- package/src/cmem/ContentBlobToggler/tests/StringPreviewContentBlobToggler.test.tsx +98 -0
- package/src/cmem/markdown/Markdown.stories.tsx +2 -2
- package/src/cmem/markdown/Markdown.tsx +2 -1
- package/src/cmem/markdown/markdown.scss +1 -1
- package/src/cmem/react-flow/ReactFlow/ReactFlowV12.tsx +1 -0
- package/src/cmem/react-flow/StickyNoteModal/StickyNoteModal.tsx +1 -1
- package/src/cmem/react-flow/configuration/graph.ts +2 -3
- package/src/cmem/react-flow/configuration/linking.ts +2 -3
- package/src/cmem/react-flow/configuration/workflow.ts +2 -3
- package/src/common/Intent/index.ts +2 -1
- package/src/common/index.ts +2 -1
- package/src/common/scss/_accessibility-defaults.scss +101 -0
- package/src/common/utils/CssCustomProperties.ts +5 -3
- package/src/common/utils/colorHash.ts +38 -20
- package/src/components/Accordion/AccordionItem.tsx +1 -1
- package/src/components/Accordion/Stories/AccordionItem.stories.tsx +1 -1
- package/src/components/Application/ApplicationSidebarNavigation.tsx +5 -2
- package/src/components/Application/ApplicationTitle.tsx +7 -1
- package/src/components/Application/ApplicationViewability.tsx +61 -0
- package/src/components/Application/_colors.scss +15 -0
- package/src/components/Application/_content.scss +7 -0
- package/src/components/Application/_header.scss +45 -21
- package/src/components/Application/_sidebar.scss +6 -0
- package/src/components/Application/_toolbar.scss +3 -3
- package/src/components/Application/_viewability.scss +13 -0
- package/src/components/Application/application.scss +1 -0
- package/src/components/Application/index.ts +1 -0
- package/src/components/Application/stories/ApplicationViewability.stories.tsx +37 -0
- package/src/components/Application/stories/ColorPalettes.stories.tsx +4 -3
- package/src/components/Application/tests/ApplicationViewability.test.tsx +43 -0
- package/src/components/AutoSuggestion/AutoSuggestion.scss +3 -1
- package/src/components/AutoSuggestion/AutoSuggestion.tsx +4 -4
- package/src/components/AutoSuggestion/AutoSuggestionList.tsx +1 -1
- package/src/components/AutoSuggestion/tests/ExtendedCodeEditor.test.tsx +1 -1
- package/src/components/AutocompleteField/AutoCompleteField.tsx +9 -18
- package/src/components/AutocompleteField/autoCompleteFieldUtils.tsx +1 -1
- package/src/components/Badge/Badge.stories.tsx +1 -1
- package/src/components/Badge/Badge.test.tsx +22 -0
- package/src/components/Breadcrumb/breadcrumb.scss +2 -2
- package/src/components/Button/Button.test.tsx +16 -2
- package/src/components/Button/Button.tsx +11 -6
- package/src/components/Button/button.scss +2 -0
- package/src/components/Card/CardHeader.tsx +1 -1
- package/src/components/Card/card.scss +6 -0
- package/src/components/Card/stories/Card.stories.tsx +1 -1
- package/src/components/Checkbox/Stories/Checkbox.stories.tsx +1 -1
- package/src/components/Checkbox/checkbox.scss +23 -3
- package/src/components/ColorField/ColorField.stories.tsx +72 -0
- package/src/components/ColorField/ColorField.test.tsx +101 -0
- package/src/components/ColorField/ColorField.tsx +200 -0
- package/src/components/ColorField/_colorfield.scss +67 -0
- package/src/components/ContentGroup/ContentGroup.stories.tsx +1 -1
- package/src/components/ContentGroup/ContentGroup.tsx +3 -3
- package/src/components/ContentGroup/_contentgroup.scss +9 -0
- package/src/components/ContextOverlay/ContextMenu.tsx +10 -4
- package/src/components/ContextOverlay/ContextOverlay.tsx +23 -4
- package/src/components/DecoupledOverlay/DecoupledOverlay.stories.tsx +30 -0
- package/src/components/DecoupledOverlay/DecoupledOverlay.tsx +100 -0
- package/src/components/DecoupledOverlay/_decoupledoverlay.scss +46 -0
- package/src/components/Depiction/Depiction.tsx +1 -1
- package/src/components/Depiction/depiction.scss +6 -0
- package/src/components/Dialog/SimpleDialog.tsx +1 -1
- package/src/components/Dialog/dialog.scss +10 -2
- package/src/components/Dialog/stories/Modal.stories.tsx +1 -1
- package/src/components/FlexibleLayout/flexiblelayout.scss +16 -0
- 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.scss +17 -0
- package/src/components/Grid/stories/Grid.stories.tsx +10 -7
- package/src/components/Grid/stories/GridColumn.stories.tsx +1 -1
- package/src/components/Grid/stories/GridRow.stories.tsx +14 -8
- package/src/components/HoverToggler/HoverToggler.tsx +2 -2
- package/src/components/Icon/IconButton.tsx +3 -3
- package/src/components/Icon/canonicalIconNames.tsx +11 -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 +17 -0
- package/src/components/Label/Label.tsx +3 -3
- package/src/components/Link/Link.stories.tsx +30 -0
- package/src/components/Link/link.scss +33 -8
- package/src/components/Menu/MenuItem.tsx +1 -1
- package/src/components/Menu/Stories/MenuItem.stories.tsx +1 -1
- package/src/components/MultiSelect/MultiSelect.tsx +104 -32
- package/src/components/MultiSuggestField/MultiSuggestField.stories.tsx +40 -1
- package/src/components/MultiSuggestField/_multisuggestfield.scss +18 -0
- package/src/components/MultiSuggestField/tests/MultiSuggestField.test.tsx +89 -37
- package/src/components/NotAvailable/NotAvailable.stories.tsx +15 -0
- package/src/components/NotAvailable/NotAvailable.tsx +71 -0
- package/src/components/Notification/Notification.stories.tsx +2 -1
- package/src/components/Notification/Notification.tsx +3 -3
- package/src/components/Notification/notification.scss +6 -0
- package/src/components/OverviewItem/OverviewItemActions.tsx +1 -1
- package/src/components/OverviewItem/OverviewItemDepiction.tsx +1 -1
- package/src/components/OverviewItem/overviewitem.scss +9 -0
- package/src/components/OverviewItem/stories/OverviewItem.stories.tsx +29 -1
- package/src/components/OverviewItem/stories/OverviewItemActions.stories.tsx +3 -3
- package/src/components/OverviewItem/stories/OverviewItemDepiction.stories.tsx +1 -1
- package/src/components/OverviewItem/stories/OverviewItemDescription.stories.tsx +2 -2
- package/src/components/OverviewItem/stories/OverviewItemLine.stories.tsx +1 -1
- 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/PropertyValuePair/propertyvalue.scss +23 -1
- package/src/components/RadioButton/RadioButton.tsx +15 -3
- package/src/components/RadioButton/Stories/RadioButton.stories.tsx +1 -1
- package/src/components/RadioButton/radiobutton.scss +18 -1
- package/src/components/Select/Select.tsx +8 -6
- package/src/components/Separation/separation.scss +6 -0
- package/src/components/Skeleton/Skeleton.tsx +2 -2
- package/src/components/Structure/TitleSubsection.tsx +1 -1
- package/src/components/Table/Table.tsx +1 -1
- package/src/components/Table/TableContainer.tsx +4 -4
- package/src/components/Table/TableExpandRow.tsx +1 -1
- package/src/components/Table/table.scss +22 -0
- package/src/components/Tabs/TabTitle.tsx +1 -1
- package/src/components/Tabs/stories/TabTitle.stories.tsx +7 -2
- package/src/components/Tabs/tabs.scss +2 -2
- package/src/components/Tag/stories/Tag.stories.tsx +1 -1
- package/src/components/Tag/stories/TagList.stories.tsx +3 -3
- package/src/components/Tag/tag.scss +19 -9
- package/src/components/TextField/TextArea.tsx +1 -1
- package/src/components/TextField/stories/TextArea.stories.tsx +1 -1
- package/src/components/TextField/stories/TextField.stories.tsx +24 -3
- package/src/components/TextField/tests/useTextValidation.test.tsx +83 -0
- package/src/components/TextField/textfield.scss +20 -0
- package/src/components/TextField/useTextValidation.ts +17 -8
- package/src/components/TextReducer/TextReducer.stories.tsx +4 -1
- package/src/components/TextReducer/TextReducer.test.tsx +3 -3
- package/src/components/Toolbar/toolbar.scss +1 -2
- package/src/components/Tooltip/Tooltip.test.tsx +40 -5
- package/src/components/Tooltip/Tooltip.tsx +15 -11
- package/src/components/Typography/InlineText.tsx +24 -0
- package/src/components/Typography/_reset.scss +2 -0
- package/src/components/Typography/index.ts +1 -0
- package/src/components/Typography/stories/InlineText.stories.tsx +27 -0
- package/src/components/Typography/typography.scss +37 -3
- package/src/components/VisualTour/VisualTour.tsx +35 -55
- package/src/components/VisualTour/visualTour.scss +0 -34
- package/src/components/index.scss +2 -0
- package/src/components/index.ts +3 -0
- package/src/configuration/_customproperties.scss +32 -0
- package/src/configuration/stories/customproperties.stories.tsx +122 -0
- package/src/extensions/codemirror/CodeMirror.stories.tsx +9 -4
- package/src/extensions/codemirror/CodeMirror.tsx +93 -37
- package/src/extensions/codemirror/_codemirror.scss +18 -28
- package/src/extensions/codemirror/hooks/useCodemirrorModeExtension.hooks.ts +1 -2
- package/src/extensions/codemirror/tests/CodeEditor.test.tsx +138 -0
- package/src/extensions/codemirror/tests/EditorAppearanceConfigMenu.test.tsx +131 -0
- package/src/extensions/codemirror/tests/codemirrorTestHelper.ts +3 -3
- package/src/extensions/codemirror/toolbars/EditorAppearanceConfigMenu.tsx +59 -0
- package/src/extensions/codemirror/toolbars/markdown.toolbar.tsx +17 -3
- package/src/extensions/react-flow/_config.scss +3 -3
- package/src/extensions/react-flow/_react-flow_v12.scss +1 -1
- package/src/extensions/react-flow/edges/EdgeLabel.tsx +15 -11
- package/src/extensions/react-flow/edges/EdgeNew.tsx +6 -6
- package/src/extensions/react-flow/edges/EdgeTools.tsx +5 -6
- package/src/extensions/react-flow/edges/_edges.scss +3 -2
- package/src/extensions/react-flow/edges/stories/EdgeLabel.stories.tsx +2 -1
- package/src/extensions/react-flow/handles/HandleContent.tsx +4 -4
- package/src/extensions/react-flow/handles/HandleDefault.tsx +3 -3
- package/src/extensions/react-flow/handles/HandleTools.tsx +3 -3
- package/src/extensions/react-flow/handles/_handles.scss +3 -3
- package/src/extensions/react-flow/markers/ReactFlowMarkers.tsx +1 -1
- package/src/extensions/react-flow/minimap/MiniMap.tsx +2 -1
- package/src/extensions/react-flow/minimap/MiniMapV12.tsx +1 -1
- package/src/extensions/react-flow/nodes/NodeContent.tsx +20 -19
- package/src/extensions/react-flow/nodes/NodeDefault.tsx +1 -1
- package/src/extensions/react-flow/nodes/NodeDefaultV12.tsx +1 -2
- package/src/extensions/react-flow/nodes/NodeTools.tsx +8 -8
- package/src/extensions/react-flow/nodes/_nodes.scss +4 -3
- package/src/extensions/react-flow/nodes/nodeUtils.tsx +1 -0
- package/src/extensions/react-flow/nodes/stories/NodeContent.stories.tsx +3 -1
- package/src/includes/carbon-components/_requisits.scss +3 -1
- package/src/index.scss +2 -0
- package/src/test/setupTests.js +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
|
+
import { NodeProps } from "react-flow-renderer";
|
|
1
2
|
import { EdgeBezier } from "./../../../extensions/react-flow/edges/EdgeBezier";
|
|
2
3
|
import { NodeDefault } from "./../../../extensions/react-flow/nodes/NodeDefault";
|
|
3
4
|
import { GRAPH_NODE_TYPES } from "./typing";
|
|
4
|
-
//import {ComponentType} from "react";
|
|
5
|
-
//import {NodeProps} from "react-flow-renderer-lts";
|
|
6
5
|
|
|
7
6
|
const edgeTypes = {
|
|
8
7
|
default: EdgeBezier,
|
|
@@ -16,7 +15,7 @@ const edgeTypes = {
|
|
|
16
15
|
danger: EdgeBezier,
|
|
17
16
|
};
|
|
18
17
|
|
|
19
|
-
const nodeTypes: Record<GRAPH_NODE_TYPES, React.
|
|
18
|
+
const nodeTypes: Record<GRAPH_NODE_TYPES, React.ComponentType<NodeProps>> = {
|
|
20
19
|
default: NodeDefault,
|
|
21
20
|
graph: NodeDefault,
|
|
22
21
|
class: NodeDefault,
|
|
@@ -2,8 +2,7 @@ import { EdgeStep } from "./../../../extensions/react-flow/edges/EdgeStep";
|
|
|
2
2
|
import { NodeDefault } from "./../../../extensions/react-flow/nodes/NodeDefault";
|
|
3
3
|
import { StickyNoteNode } from "./../nodes/StickyNoteNode";
|
|
4
4
|
import { LINKING_NODE_TYPES } from "./typing";
|
|
5
|
-
|
|
6
|
-
//import {NodeProps} from "react-flow-renderer-lts";
|
|
5
|
+
import {NodeProps} from "react-flow-renderer";
|
|
7
6
|
|
|
8
7
|
const edgeTypes = {
|
|
9
8
|
default: EdgeStep,
|
|
@@ -14,7 +13,7 @@ const edgeTypes = {
|
|
|
14
13
|
danger: EdgeStep,
|
|
15
14
|
};
|
|
16
15
|
|
|
17
|
-
const nodeTypes: Record<LINKING_NODE_TYPES, React.
|
|
16
|
+
const nodeTypes: Record<LINKING_NODE_TYPES, React.ComponentType<NodeProps>> = {
|
|
18
17
|
default: NodeDefault,
|
|
19
18
|
sourcepath: NodeDefault,
|
|
20
19
|
targetpath: NodeDefault,
|
|
@@ -2,8 +2,7 @@ import { EdgeStep } from "./../../../extensions/react-flow/edges/EdgeStep";
|
|
|
2
2
|
import { NodeDefault } from "./../../../extensions/react-flow/nodes/NodeDefault";
|
|
3
3
|
import { StickyNoteNode } from "./../nodes/StickyNoteNode";
|
|
4
4
|
import { WORKFLOW_NODE_TYPES } from "./typing";
|
|
5
|
-
|
|
6
|
-
//import {NodeProps} from "react-flow-renderer-lts";
|
|
5
|
+
import {NodeProps} from "react-flow-renderer";
|
|
7
6
|
|
|
8
7
|
const edgeTypes = {
|
|
9
8
|
default: EdgeStep,
|
|
@@ -12,7 +11,7 @@ const edgeTypes = {
|
|
|
12
11
|
danger: EdgeStep,
|
|
13
12
|
};
|
|
14
13
|
|
|
15
|
-
const nodeTypes: Record<WORKFLOW_NODE_TYPES, React.
|
|
14
|
+
const nodeTypes: Record<WORKFLOW_NODE_TYPES, React.ComponentType<NodeProps>> = {
|
|
16
15
|
default: NodeDefault,
|
|
17
16
|
dataset: NodeDefault,
|
|
18
17
|
linking: NodeDefault,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
2
1
|
import { Intent as BlueprintIntent } from "@blueprintjs/core";
|
|
3
2
|
|
|
3
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
4
|
+
|
|
4
5
|
export type IntentBlueprint = BlueprintIntent;
|
|
5
6
|
export const DefinitionsBlueprint = BlueprintIntent;
|
|
6
7
|
|
package/src/common/index.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { decode } from "he";
|
|
|
3
3
|
import { invisibleZeroWidthCharacters } from "./utils/characters";
|
|
4
4
|
import { colorCalculateDistance } from "./utils/colorCalculateDistance";
|
|
5
5
|
import decideContrastColorValue from "./utils/colorDecideContrastvalue";
|
|
6
|
-
import { getEnabledColorsFromPalette, textToColorHash } from "./utils/colorHash";
|
|
6
|
+
import { getEnabledColorPropertiesFromPalette, getEnabledColorsFromPalette, textToColorHash } from "./utils/colorHash";
|
|
7
7
|
import getColorConfiguration from "./utils/getColorConfiguration";
|
|
8
8
|
import { getScrollParent } from "./utils/getScrollParent";
|
|
9
9
|
import { getGlobalVar, setGlobalVar } from "./utils/globalVars";
|
|
@@ -22,6 +22,7 @@ export const utils = {
|
|
|
22
22
|
setGlobalVar,
|
|
23
23
|
getScrollParent,
|
|
24
24
|
getEnabledColorsFromPalette,
|
|
25
|
+
getEnabledColorPropertiesFromPalette,
|
|
25
26
|
textToColorHash,
|
|
26
27
|
reduceToText,
|
|
27
28
|
decodeHtmlEntities: decode,
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
.#{$prefix}--assistive-text,
|
|
2
|
+
.#{$prefix}--visually-hidden {
|
|
3
|
+
/*
|
|
4
|
+
originally from ~@carbon/styles/scss/css--helpers
|
|
5
|
+
but we cannot use it directly because of other included rules there.
|
|
6
|
+
*/
|
|
7
|
+
position: absolute;
|
|
8
|
+
visibility: inherit;
|
|
9
|
+
width: 1px;
|
|
10
|
+
height: 1px;
|
|
11
|
+
padding: 0;
|
|
12
|
+
margin: -1px;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
white-space: nowrap;
|
|
15
|
+
border: 0;
|
|
16
|
+
clip-path: rect(0, 0, 0, 0);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/*
|
|
20
|
+
default focus indicator
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
:root {
|
|
24
|
+
--#{$eccgui}-a11y-outline-color: #{eccgui-color-var("layout", "magenta", "900")};
|
|
25
|
+
--#{$eccgui}-a11y-outline-style: solid;
|
|
26
|
+
--#{$eccgui}-a11y-outline-width: #{0.25 * $eccgui-size-block-whitespace};
|
|
27
|
+
|
|
28
|
+
// shift outline min 2px inside element to have a minimum 2px outline even with hidden overflow
|
|
29
|
+
--#{$eccgui}-a11y-outline-offset: min(calc(var(--#{$eccgui}-a11y-outline-width) * -0.5), -2px);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@keyframes outline-bounce {
|
|
33
|
+
0% {
|
|
34
|
+
outline-width: calc(var(--#{$eccgui}-a11y-outline-width) * 0.5);
|
|
35
|
+
outline-color: var(--#{$eccgui}-a11y-outline-color);
|
|
36
|
+
outline-offset: var(--#{$eccgui}-a11y-outline-offset);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
33.3% {
|
|
40
|
+
outline-color: var(--#{$eccgui}-a11y-outline-color);
|
|
41
|
+
outline-offset: calc(var(--#{$eccgui}-a11y-outline-width));
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
66.6% {
|
|
45
|
+
outline-color: currentcolor;
|
|
46
|
+
outline-offset: calc(var(--#{$eccgui}-a11y-outline-width) * -2);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
100% {
|
|
50
|
+
outline-width: var(--#{$eccgui}-a11y-outline-width);
|
|
51
|
+
outline-color: var(--#{$eccgui}-a11y-outline-color);
|
|
52
|
+
outline-offset: var(--#{$eccgui}-a11y-outline-offset);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@mixin focus-by-keyboard-static {
|
|
57
|
+
// strong visual focus indication for keyboard devices
|
|
58
|
+
|
|
59
|
+
outline: var(--#{$eccgui}-a11y-outline-color) var(--#{$eccgui}-a11y-outline-style)
|
|
60
|
+
var(--#{$eccgui}-a11y-outline-width);
|
|
61
|
+
outline-offset: var(--#{$eccgui}-a11y-outline-offset);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@mixin focus-by-keyboard-animation {
|
|
65
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
66
|
+
animation: outline-bounce 0.5s;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.#{$eccgui}-a11y-focus-by-keyboard-animated {
|
|
71
|
+
@include focus-by-keyboard-static;
|
|
72
|
+
@include focus-by-keyboard-animation;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.#{$eccgui}-a11y-focus-by-keyboard-static {
|
|
76
|
+
@include focus-by-keyboard-static;
|
|
77
|
+
|
|
78
|
+
animation: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@mixin focus-by-pointer {
|
|
82
|
+
// limited visual focus indication for pointer devices
|
|
83
|
+
|
|
84
|
+
outline: transparent none 0;
|
|
85
|
+
outline-offset: 0;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.#{$eccgui}-a11y-focus-by-pointer {
|
|
89
|
+
@include focus-by-pointer;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
*[tabindex]:not([tabindex^="-"]):focus-visible,
|
|
93
|
+
:focus-visible {
|
|
94
|
+
@extend .#{$eccgui}-a11y-focus-by-keyboard-animated;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
input:focus:not(:focus-visible),
|
|
98
|
+
textarea:focus:not(:focus-visible),
|
|
99
|
+
:focus:not(:focus-visible) {
|
|
100
|
+
@extend .#{$eccgui}-a11y-focus-by-pointer;
|
|
101
|
+
}
|
|
@@ -28,7 +28,7 @@ export default class CssCustomProperties {
|
|
|
28
28
|
|
|
29
29
|
// Methods
|
|
30
30
|
|
|
31
|
-
customProperties = (props: getCustomPropertiesProps = {}): string
|
|
31
|
+
customProperties = (props: getCustomPropertiesProps = {}): [string, string][] | Record<string, string> => {
|
|
32
32
|
// FIXME:
|
|
33
33
|
// in case of performance issues results should get saved at least into intern variables
|
|
34
34
|
// other cache strategies could be also tested
|
|
@@ -104,7 +104,9 @@ export default class CssCustomProperties {
|
|
|
104
104
|
});
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
-
static listCustomProperties = (
|
|
107
|
+
static listCustomProperties = (
|
|
108
|
+
props: getCustomPropertiesProps = {}
|
|
109
|
+
): [string, string][] | Record<string, string> => {
|
|
108
110
|
const { removeDashPrefix = true, returnObject = true, filterName = () => true, ...filterProps } = props;
|
|
109
111
|
|
|
110
112
|
const customProperties = CssCustomProperties.listLocalCssStyleRuleProperties({
|
|
@@ -123,6 +125,6 @@ export default class CssCustomProperties {
|
|
|
123
125
|
|
|
124
126
|
return returnObject
|
|
125
127
|
? (Object.fromEntries(customProperties) as Record<string, string>)
|
|
126
|
-
: (customProperties as string
|
|
128
|
+
: (customProperties as [string, string][]);
|
|
127
129
|
};
|
|
128
130
|
}
|
|
@@ -6,10 +6,10 @@ import { colorCalculateDistance } from "./colorCalculateDistance";
|
|
|
6
6
|
import CssCustomProperties from "./CssCustomProperties";
|
|
7
7
|
|
|
8
8
|
type ColorOrFalse = Color | false;
|
|
9
|
-
type ColorWeight = 100 | 300 | 500 | 700 | 900;
|
|
10
|
-
type PaletteGroup = "identity" | "semantic" | "layout" | "extra";
|
|
9
|
+
export type ColorWeight = 100 | 300 | 500 | 700 | 900;
|
|
10
|
+
export type PaletteGroup = "identity" | "semantic" | "layout" | "extra";
|
|
11
11
|
|
|
12
|
-
interface getEnabledColorsProps {
|
|
12
|
+
export interface getEnabledColorsProps {
|
|
13
13
|
/** Specify the palette groups used to define the set of colors. */
|
|
14
14
|
includePaletteGroup?: PaletteGroup[];
|
|
15
15
|
/** Use only some weights of a color tint. */
|
|
@@ -21,20 +21,43 @@ interface getEnabledColorsProps {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const getEnabledColorsFromPaletteCache = new Map<string, Color[]>();
|
|
24
|
+
const getEnabledColorPropertiesFromPaletteCache = new Map<string, [string, string][]>();
|
|
24
25
|
|
|
25
|
-
export function getEnabledColorsFromPalette({
|
|
26
|
+
export function getEnabledColorsFromPalette(props: getEnabledColorsProps): Color[] {
|
|
27
|
+
const configId = JSON.stringify({
|
|
28
|
+
includePaletteGroup: props.includePaletteGroup,
|
|
29
|
+
includeColorWeight: props.includeColorWeight,
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
if (getEnabledColorsFromPaletteCache.has(configId)) {
|
|
33
|
+
return getEnabledColorsFromPaletteCache.get(configId)!;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
const colorPropertiesFromPalette = Object.values(getEnabledColorPropertiesFromPalette(props));
|
|
37
|
+
|
|
38
|
+
getEnabledColorsFromPaletteCache.set(
|
|
39
|
+
configId,
|
|
40
|
+
colorPropertiesFromPalette.map((color) => {
|
|
41
|
+
return Color(color[1]);
|
|
42
|
+
})
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
return getEnabledColorsFromPaletteCache.get(configId)!;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function getEnabledColorPropertiesFromPalette({
|
|
26
49
|
includePaletteGroup = ["layout"],
|
|
27
50
|
includeColorWeight = [100, 300, 500, 700, 900],
|
|
28
|
-
//
|
|
51
|
+
// (planned for later): includeMixedColors = false,
|
|
29
52
|
minimalColorDistance = COLORMINDISTANCE,
|
|
30
|
-
}: getEnabledColorsProps):
|
|
53
|
+
}: getEnabledColorsProps): [string, string][] {
|
|
31
54
|
const configId = JSON.stringify({
|
|
32
55
|
includePaletteGroup,
|
|
33
56
|
includeColorWeight,
|
|
34
57
|
});
|
|
35
58
|
|
|
36
|
-
if (
|
|
37
|
-
return
|
|
59
|
+
if (getEnabledColorPropertiesFromPaletteCache.has(configId)) {
|
|
60
|
+
return getEnabledColorPropertiesFromPaletteCache.get(configId)!;
|
|
38
61
|
}
|
|
39
62
|
|
|
40
63
|
const colorsFromPalette = new CssCustomProperties({
|
|
@@ -50,18 +73,18 @@ export function getEnabledColorsFromPalette({
|
|
|
50
73
|
const weight = parseInt(tint[2], 10) as ColorWeight;
|
|
51
74
|
return includePaletteGroup.includes(group) && includeColorWeight.includes(weight);
|
|
52
75
|
},
|
|
53
|
-
removeDashPrefix:
|
|
76
|
+
removeDashPrefix: true,
|
|
54
77
|
returnObject: true,
|
|
55
78
|
}).customProperties();
|
|
56
79
|
|
|
57
|
-
const colorsFromPaletteValues = Object.
|
|
80
|
+
const colorsFromPaletteValues = Object.entries(colorsFromPalette) as [string, string][];
|
|
58
81
|
|
|
59
82
|
const colorsFromPaletteWithEnoughDistance =
|
|
60
83
|
minimalColorDistance > 0
|
|
61
|
-
? colorsFromPaletteValues.reduce((enoughDistance: string[], color: string) => {
|
|
84
|
+
? colorsFromPaletteValues.reduce((enoughDistance: [string, string][], color: [string, string]) => {
|
|
62
85
|
if (enoughDistance.includes(color)) {
|
|
63
86
|
return enoughDistance.filter((checkColor) => {
|
|
64
|
-
const distance = colorCalculateDistance({ color1: color, color2: checkColor });
|
|
87
|
+
const distance = colorCalculateDistance({ color1: color[1], color2: checkColor[1] });
|
|
65
88
|
return checkColor === color || (distance && minimalColorDistance <= distance);
|
|
66
89
|
});
|
|
67
90
|
} else {
|
|
@@ -70,14 +93,9 @@ export function getEnabledColorsFromPalette({
|
|
|
70
93
|
}, colorsFromPaletteValues)
|
|
71
94
|
: colorsFromPaletteValues;
|
|
72
95
|
|
|
73
|
-
|
|
74
|
-
configId,
|
|
75
|
-
colorsFromPaletteWithEnoughDistance.map((color: string) => {
|
|
76
|
-
return Color(color);
|
|
77
|
-
})
|
|
78
|
-
);
|
|
96
|
+
getEnabledColorPropertiesFromPaletteCache.set(configId, colorsFromPaletteWithEnoughDistance);
|
|
79
97
|
|
|
80
|
-
return
|
|
98
|
+
return getEnabledColorPropertiesFromPaletteCache.get(configId)!;
|
|
81
99
|
}
|
|
82
100
|
|
|
83
101
|
function getColorcode(text: string): ColorOrFalse {
|
|
@@ -148,7 +166,7 @@ export function textToColorHash({
|
|
|
148
166
|
}
|
|
149
167
|
|
|
150
168
|
function stringToIntegerHash(inputString: string): number {
|
|
151
|
-
/* this function is
|
|
169
|
+
/* this function is idempotent, meaning it retrieves the same result for the same input
|
|
152
170
|
no matter how many times it's called */
|
|
153
171
|
// Convert the string to a hash code
|
|
154
172
|
let hashCode = 0;
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
import { LoremIpsum } from "react-lorem-ipsum";
|
|
3
3
|
import { Meta, StoryFn } from "@storybook/react";
|
|
4
4
|
|
|
5
|
-
import { Accordion, AccordionItem, HtmlContentBlock } from "
|
|
5
|
+
import { Accordion, AccordionItem, HtmlContentBlock } from "../../../components";
|
|
6
6
|
|
|
7
7
|
export default {
|
|
8
8
|
title: "Components/Accordion/AccordionItem",
|
|
@@ -4,14 +4,17 @@ import { SideNav as CarbonSideNav, SideNavProps as CarbonSideNavProps } from "@c
|
|
|
4
4
|
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
5
5
|
|
|
6
6
|
export interface ApplicationSidebarNavigationProps
|
|
7
|
-
extends Omit<CarbonSideNavProps, "ref" | "defaultExpanded" | "isPersistent" | "isFixedNav" | "isChildOfHeader">,
|
|
8
|
-
|
|
7
|
+
extends Omit<CarbonSideNavProps, "ref" | "defaultExpanded" | "isPersistent" | "isFixedNav" | "isChildOfHeader">, React.HTMLAttributes<HTMLElement> {
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
9
11
|
|
|
10
12
|
export const ApplicationSidebarNavigation = ({
|
|
11
13
|
children,
|
|
12
14
|
className = "",
|
|
13
15
|
...otherCarbonSideNavProps
|
|
14
16
|
}: ApplicationSidebarNavigationProps) => {
|
|
17
|
+
|
|
15
18
|
return (
|
|
16
19
|
<CarbonSideNav
|
|
17
20
|
className={`${eccgui}-application__menu__sidebar ${className}`}
|
|
@@ -60,7 +60,13 @@ export const ApplicationTitle = ({
|
|
|
60
60
|
<span className={`${eccgui}-application__title--content`}>
|
|
61
61
|
{!!depiction && (
|
|
62
62
|
<>
|
|
63
|
-
<span className={`${eccgui}-application__title--depiction`}>
|
|
63
|
+
<span className={`${eccgui}-application__title--depiction`}>
|
|
64
|
+
{React.isValidElement(depiction)
|
|
65
|
+
? depiction
|
|
66
|
+
: depiction instanceof HTMLElement
|
|
67
|
+
? <>{depiction.outerHTML}</>
|
|
68
|
+
: depiction}
|
|
69
|
+
</span>
|
|
64
70
|
</>
|
|
65
71
|
)}
|
|
66
72
|
{!!prefix && (
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import classNames from "classnames";
|
|
3
|
+
|
|
4
|
+
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
5
|
+
|
|
6
|
+
type media = "print" | "screen";
|
|
7
|
+
|
|
8
|
+
interface ApplicationViewabilityShow {
|
|
9
|
+
/**
|
|
10
|
+
* Show on media type.
|
|
11
|
+
* If used, `hide` cannot be set.
|
|
12
|
+
*/
|
|
13
|
+
show: media;
|
|
14
|
+
hide?: never;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
interface ApplicationViewabilityHide {
|
|
18
|
+
/**
|
|
19
|
+
* Hide on media type.
|
|
20
|
+
* If used, `show` cannot be set.
|
|
21
|
+
*/
|
|
22
|
+
hide: media;
|
|
23
|
+
show?: never;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
interface ApplicationViewabilityUndecided {
|
|
27
|
+
/**
|
|
28
|
+
* Only one child allowed.
|
|
29
|
+
* Need to process the `className` property.
|
|
30
|
+
*/
|
|
31
|
+
children: React.ReactElement<{ className?: string }>;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type ApplicationViewabilityProps = ApplicationViewabilityUndecided &
|
|
35
|
+
(ApplicationViewabilityShow | ApplicationViewabilityHide);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Sets the viewability of the the contained element regarding media.
|
|
39
|
+
* Can be used to hide elements, e.g. when the page is printed.
|
|
40
|
+
*/
|
|
41
|
+
export const ApplicationViewability = ({ children, show, hide }: ApplicationViewabilityProps) => {
|
|
42
|
+
if (!show && !hide) {
|
|
43
|
+
return children;
|
|
44
|
+
}
|
|
45
|
+
if (show === hide) {
|
|
46
|
+
// eslint-disable-next-line no-console
|
|
47
|
+
console.warn("`<ApplicationViewability/>` used with same media type for `hide` and `show`.");
|
|
48
|
+
return children;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const enhancedClone = React.cloneElement(children, {
|
|
52
|
+
className: classNames(children.props.className, {
|
|
53
|
+
[`${eccgui}-application__hide--${hide}`]: hide,
|
|
54
|
+
[`${eccgui}-application__show--${show}`]: show,
|
|
55
|
+
}),
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
return enhancedClone;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export default ApplicationViewability;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use "sass:list";
|
|
3
3
|
|
|
4
4
|
:root {
|
|
5
|
+
// creating css custom properties from palette colors
|
|
5
6
|
@each $palette-group-name, $palette-group-tints in $eccgui-color-palette-light {
|
|
6
7
|
@each $palette-tint-name, $palette-tint-colors in $palette-group-tints {
|
|
7
8
|
@for $i from 1 through list.length($palette-tint-colors) {
|
|
@@ -12,4 +13,18 @@
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
}
|
|
16
|
+
|
|
17
|
+
// set aliases for base colors
|
|
18
|
+
--#{$eccgui}-color-primary: #{$eccgui-color-primary};
|
|
19
|
+
--#{$eccgui}-color-primary-contrast: #{$eccgui-color-primary-contrast};
|
|
20
|
+
--#{$eccgui}-color-accent: #{$eccgui-color-accent};
|
|
21
|
+
--#{$eccgui}-color-accent-contrast: #{$eccgui-color-accent-contrast};
|
|
22
|
+
--#{$eccgui}-color-success-foreground: #{$eccgui-color-success-text};
|
|
23
|
+
--#{$eccgui}-color-success-background: #{$eccgui-color-success-background};
|
|
24
|
+
--#{$eccgui}-color-info-foreground: #{$eccgui-color-info-text};
|
|
25
|
+
--#{$eccgui}-color-info-background: #{$eccgui-color-info-background};
|
|
26
|
+
--#{$eccgui}-color-warning-foreground: #{$eccgui-color-warning-text};
|
|
27
|
+
--#{$eccgui}-color-warning-background: #{$eccgui-color-warning-background};
|
|
28
|
+
--#{$eccgui}-color-danger-foreground: #{$eccgui-color-danger-text};
|
|
29
|
+
--#{$eccgui}-color-danger-background: #{$eccgui-color-danger-background};
|
|
15
30
|
}
|
|
@@ -25,3 +25,10 @@ $ui-02: $eccgui-color-workspace-background !default;
|
|
|
25
25
|
.#{$eccgui}-application__content--railsidebar {
|
|
26
26
|
margin-left: mini-units(8);
|
|
27
27
|
}
|
|
28
|
+
|
|
29
|
+
@media print {
|
|
30
|
+
.#{$eccgui}-application__content {
|
|
31
|
+
padding: $eccgui-size-block-whitespace 0 0 0 !important;
|
|
32
|
+
margin: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -52,19 +52,22 @@ $shell-header-icon-03: $eccgui-color-applicationheader-text !default;
|
|
|
52
52
|
/// Item link
|
|
53
53
|
$shell-header-link: $blue-60 !default;
|
|
54
54
|
|
|
55
|
+
/// Height
|
|
56
|
+
$shell-header-height: mini-units(8) !default;
|
|
57
|
+
|
|
55
58
|
// load library sub component
|
|
56
59
|
@import "~@carbon/react/scss/components/ui-shell/header/index";
|
|
57
60
|
|
|
58
61
|
// tweak original layout
|
|
59
62
|
|
|
60
63
|
.#{$prefix}--header {
|
|
61
|
-
height:
|
|
64
|
+
height: $shell-header-height;
|
|
62
65
|
}
|
|
63
66
|
|
|
64
67
|
.#{$prefix}--header__action,
|
|
65
68
|
.#{$prefix}--header__action.#{$prefix}--btn--icon-only {
|
|
66
|
-
width:
|
|
67
|
-
height:
|
|
69
|
+
width: $shell-header-height;
|
|
70
|
+
height: $shell-header-height;
|
|
68
71
|
padding-block-start: 0;
|
|
69
72
|
background-color: transparent;
|
|
70
73
|
|
|
@@ -98,10 +101,10 @@ span.#{$prefix}--header__name {
|
|
|
98
101
|
.#{$eccgui}-application__title--content {
|
|
99
102
|
display: inline-block;
|
|
100
103
|
overflow: hidden;
|
|
104
|
+
text-overflow: ellipsis;
|
|
101
105
|
font-size: $eccgui-size-typo-caption;
|
|
102
106
|
font-weight: $eccgui-font-weight-bold;
|
|
103
107
|
line-height: $eccgui-size-typo-caption-lineheight;
|
|
104
|
-
text-overflow: ellipsis;
|
|
105
108
|
letter-spacing: $eccgui-font-spacing-wide;
|
|
106
109
|
white-space: nowrap;
|
|
107
110
|
}
|
|
@@ -122,13 +125,13 @@ span.#{$prefix}--header__name {
|
|
|
122
125
|
height: auto;
|
|
123
126
|
max-height: mini-units(5);
|
|
124
127
|
padding: 0;
|
|
125
|
-
margin: mini-units(1.4) 0 mini-units(1.6)
|
|
128
|
+
margin: mini-units(1.4) 0 mini-units(1.6);
|
|
126
129
|
vertical-align: middle;
|
|
127
130
|
}
|
|
128
131
|
}
|
|
129
132
|
|
|
130
133
|
.#{$prefix}--header__menu .#{$prefix}--header__menu-item {
|
|
131
|
-
height:
|
|
134
|
+
height: $shell-header-height;
|
|
132
135
|
}
|
|
133
136
|
|
|
134
137
|
// tweak original colors (as long as config does not work properly)
|
|
@@ -190,15 +193,27 @@ a.#{$prefix}--header__menu-item:active {
|
|
|
190
193
|
}
|
|
191
194
|
|
|
192
195
|
// $shell-header-focus
|
|
193
|
-
.#{$prefix}--header__action
|
|
194
|
-
.#{$prefix}--header__action.#{$prefix}--btn--icon-only
|
|
195
|
-
.#{$prefix}--header__action.#{$prefix}--btn--primary
|
|
196
|
-
a.#{$prefix}--header__name
|
|
197
|
-
a.#{$prefix}--header__menu-item
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
196
|
+
.#{$prefix}--header__action,
|
|
197
|
+
.#{$prefix}--header__action.#{$prefix}--btn--icon-only,
|
|
198
|
+
.#{$prefix}--header__action.#{$prefix}--btn--primary,
|
|
199
|
+
a.#{$prefix}--header__name,
|
|
200
|
+
a.#{$prefix}--header__menu-item {
|
|
201
|
+
&:focus {
|
|
202
|
+
@extend .#{$eccgui}-a11y-focus-by-pointer;
|
|
203
|
+
|
|
204
|
+
border: none;
|
|
205
|
+
box-shadow: none;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&,
|
|
209
|
+
.#{$prefix}--popover--open & {
|
|
210
|
+
&:focus-visible {
|
|
211
|
+
@extend .#{$eccgui}-a11y-focus-by-keyboard-animated;
|
|
212
|
+
|
|
213
|
+
border: none;
|
|
214
|
+
box-shadow: none;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
202
217
|
}
|
|
203
218
|
.#{$prefix}--header__menu-title[aria-expanded="true"] {
|
|
204
219
|
color: $shell-header-focus;
|
|
@@ -255,15 +270,24 @@ a.#{$prefix}--header__menu-item:focus > svg {
|
|
|
255
270
|
// adjust position of all other modal dialogs
|
|
256
271
|
|
|
257
272
|
.#{$ns}-dialog-container {
|
|
258
|
-
top:
|
|
259
|
-
left:
|
|
260
|
-
width: calc(100% - #{
|
|
261
|
-
min-height: calc(100% - #{
|
|
273
|
+
top: $shell-header-height;
|
|
274
|
+
left: $shell-header-height;
|
|
275
|
+
width: calc(100% - #{$shell-header-height});
|
|
276
|
+
min-height: calc(100% - #{$shell-header-height});
|
|
262
277
|
}
|
|
263
278
|
|
|
264
279
|
.#{$eccgui}-dialog__wrapper {
|
|
265
|
-
max-width: calc(100vw - #{
|
|
266
|
-
max-height: calc(100vh - #{
|
|
280
|
+
max-width: calc(100vw - #{$shell-header-height} - #{2 * $eccgui-size-block-whitespace});
|
|
281
|
+
max-height: calc(100vh - #{$shell-header-height} - #{2 * $eccgui-size-block-whitespace});
|
|
267
282
|
margin: 0;
|
|
268
283
|
}
|
|
269
284
|
}
|
|
285
|
+
|
|
286
|
+
@media print {
|
|
287
|
+
.#{$eccgui}-application__header {
|
|
288
|
+
position: relative;
|
|
289
|
+
& > :not(.#{$eccgui}-workspace__header) {
|
|
290
|
+
display: none;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
@@ -28,3 +28,9 @@ $ui-02: $eccgui-color-workspace-background !default;
|
|
|
28
28
|
padding: $eccgui-size-block-whitespace calc(0.5 * (#{mini-units(8)} - 30px));
|
|
29
29
|
transition: none;
|
|
30
30
|
}
|
|
31
|
+
|
|
32
|
+
.#{$eccgui}-application__menu__toggler.cds--header__action {
|
|
33
|
+
&:focus-visible {
|
|
34
|
+
@extend .#{$eccgui}-a11y-focus-by-keyboard-animated;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -51,18 +51,18 @@ $shell-panel-focus: $shell-header-focus !default;
|
|
|
51
51
|
.#{$eccgui}-application__toolbar__panel-backdrop--onleave,
|
|
52
52
|
.#{$eccgui}-application__toolbar__panel-backdrop--onoutsideclick {
|
|
53
53
|
position: fixed;
|
|
54
|
-
inset: mini-units(8) 0 0
|
|
54
|
+
inset: mini-units(8) 0 0;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.#{$eccgui}-application__toolbar__panel-backdrop--onoutsideclick {
|
|
58
58
|
top: 0;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
// add rules for own class
|
|
61
|
+
// add rules for own class identifiers
|
|
62
62
|
|
|
63
63
|
.#{$eccgui}-application__toolbar {
|
|
64
|
-
flex-basis: auto;
|
|
65
64
|
flex-grow: 0;
|
|
65
|
+
flex-basis: auto;
|
|
66
66
|
|
|
67
67
|
.#{$prefix}--popover--bottom-right .#{$prefix}--popover-content {
|
|
68
68
|
// for some reason the original calculation still moves out the tooltip
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@media print {
|
|
2
|
+
.#{eccgui}-application__hide--print,
|
|
3
|
+
.#{eccgui}-application__show--screen {
|
|
4
|
+
display: none !important;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@media screen {
|
|
9
|
+
.#{eccgui}-application__hide--screen,
|
|
10
|
+
.#{eccgui}-application__show--print {
|
|
11
|
+
display: none !important;
|
|
12
|
+
}
|
|
13
|
+
}
|