@eccenca/gui-elements 23.4.2-rc.0 → 23.6.0-rc.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 +40 -0
- package/README.md +23 -24
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js +5 -3
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +6 -4
- package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
- package/dist/cjs/cmem/ConfidenceValue/ConfidenceValue.js +14 -10
- package/dist/cjs/cmem/ConfidenceValue/ConfidenceValue.js.map +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/ContentBlobToggler.js.map +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +3 -3
- package/dist/cjs/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
- package/dist/cjs/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +2 -2
- package/dist/cjs/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +1 -1
- package/dist/cjs/cmem/index.js.map +1 -1
- package/dist/cjs/cmem/markdown/Markdown.js +55 -21
- package/dist/cjs/cmem/markdown/Markdown.js.map +1 -1
- package/dist/cjs/cmem/markdown/highlightSearchWords.js +9 -8
- package/dist/cjs/cmem/markdown/highlightSearchWords.js.map +1 -1
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js +5 -5
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.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/extensions/ReactFlowHotkeyContext.js +1 -1
- package/dist/cjs/cmem/react-flow/extensions/ReactFlowHotkeyContext.js.map +1 -1
- package/dist/cjs/cmem/react-flow/extensions/scrollOnDragHook.js +20 -18
- package/dist/cjs/cmem/react-flow/extensions/scrollOnDragHook.js.map +1 -1
- package/dist/cjs/cmem/react-flow/nodes/StickyNoteNode.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/utils/CssCustomProperties.js +6 -15
- package/dist/cjs/common/utils/CssCustomProperties.js.map +1 -1
- package/dist/cjs/common/utils/characters.js +10 -10
- package/dist/cjs/common/utils/characters.js.map +1 -1
- package/dist/cjs/common/utils/colorDecideContrastvalue.js +4 -2
- package/dist/cjs/common/utils/colorDecideContrastvalue.js.map +1 -1
- package/dist/cjs/common/utils/getColorConfiguration.js +1 -1
- package/dist/cjs/common/utils/getColorConfiguration.js.map +1 -1
- package/dist/cjs/common/utils/openInNewTab.js.map +1 -1
- package/dist/cjs/components/Accordion/Accordion.js +3 -3
- package/dist/cjs/components/Accordion/Accordion.js.map +1 -1
- package/dist/cjs/components/Accordion/AccordionItem.js +1 -2
- package/dist/cjs/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationContainer.js +3 -1
- package/dist/cjs/components/Application/ApplicationContainer.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationContent.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationSidebarNavigation.js +0 -1
- package/dist/cjs/components/Application/ApplicationSidebarNavigation.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationSidebarToggler.js +0 -1
- package/dist/cjs/components/Application/ApplicationSidebarToggler.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationTitle.js +3 -1
- package/dist/cjs/components/Application/ApplicationTitle.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationToolbar.js +0 -1
- package/dist/cjs/components/Application/ApplicationToolbar.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationToolbarAction.js +0 -1
- package/dist/cjs/components/Application/ApplicationToolbarAction.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationToolbarPanel.js +2 -3
- package/dist/cjs/components/Application/ApplicationToolbarPanel.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationToolbarSection.js +0 -1
- package/dist/cjs/components/Application/ApplicationToolbarSection.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js +1 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/ExtendedCodeEditor.js +2 -2
- package/dist/cjs/components/AutoSuggestion/ExtendedCodeEditor.js.map +1 -1
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js.map +1 -1
- package/dist/cjs/components/AutocompleteField/index.js +1 -1
- package/dist/cjs/components/AutocompleteField/index.js.map +1 -1
- package/dist/cjs/components/Badge/Badge.js +6 -7
- package/dist/cjs/components/Badge/Badge.js.map +1 -1
- package/dist/cjs/components/Breadcrumb/BreadcrumbList.js +9 -6
- package/dist/cjs/components/Breadcrumb/BreadcrumbList.js.map +1 -1
- package/dist/cjs/components/Button/Button.js.map +1 -1
- package/dist/cjs/components/Card/Card.js +21 -19
- package/dist/cjs/components/Card/Card.js.map +1 -1
- package/dist/cjs/components/Card/CardActions.js +3 -3
- package/dist/cjs/components/Card/CardActions.js.map +1 -1
- package/dist/cjs/components/Card/CardActionsAux.js +2 -4
- package/dist/cjs/components/Card/CardActionsAux.js.map +1 -1
- package/dist/cjs/components/Card/CardContent.js +2 -2
- package/dist/cjs/components/Card/CardContent.js.map +1 -1
- package/dist/cjs/components/Card/CardOptions.js +3 -5
- package/dist/cjs/components/Card/CardOptions.js.map +1 -1
- package/dist/cjs/components/Card/CardTitle.js +2 -3
- package/dist/cjs/components/Card/CardTitle.js.map +1 -1
- package/dist/cjs/components/Checkbox/Checkbox.js +1 -2
- package/dist/cjs/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/cjs/components/ContextOverlay/ContextMenu.js +2 -2
- package/dist/cjs/components/ContextOverlay/ContextMenu.js.map +1 -1
- package/dist/cjs/components/ContextOverlay/ContextOverlay.js +2 -2
- package/dist/cjs/components/ContextOverlay/ContextOverlay.js.map +1 -1
- package/dist/cjs/components/Dialog/AlertDialog.js.map +1 -1
- package/dist/cjs/components/Dialog/Modal.js +3 -4
- package/dist/cjs/components/Dialog/Modal.js.map +1 -1
- package/dist/cjs/components/Dialog/SimpleDialog.js +1 -1
- package/dist/cjs/components/Dialog/SimpleDialog.js.map +1 -1
- package/dist/cjs/components/Form/FieldItem.js +4 -2
- package/dist/cjs/components/Form/FieldItem.js.map +1 -1
- package/dist/cjs/components/Form/FieldItemRow.js.map +1 -1
- package/dist/cjs/components/Form/FieldSet.js.map +1 -1
- package/dist/cjs/components/Grid/Grid.js +3 -3
- package/dist/cjs/components/Grid/Grid.js.map +1 -1
- package/dist/cjs/components/Grid/GridRow.js.map +1 -1
- package/dist/cjs/components/HoverToggler/HoverToggler.js +2 -4
- package/dist/cjs/components/HoverToggler/HoverToggler.js.map +1 -1
- package/dist/cjs/components/Icon/Icon.js +2 -2
- package/dist/cjs/components/Icon/Icon.js.map +1 -1
- package/dist/cjs/components/Icon/IconButton.js.map +1 -1
- package/dist/cjs/components/Iframe/Iframe.js +16 -9
- package/dist/cjs/components/Iframe/Iframe.js.map +1 -1
- package/dist/cjs/components/Iframe/IframeModal.js +3 -4
- package/dist/cjs/components/Iframe/IframeModal.js.map +1 -1
- package/dist/cjs/components/InteractionGate/InteractionGate.js +3 -3
- package/dist/cjs/components/InteractionGate/InteractionGate.js.map +1 -1
- package/dist/cjs/components/Label/Label.js +4 -2
- package/dist/cjs/components/Label/Label.js.map +1 -1
- package/dist/cjs/components/Link/Link.js +1 -2
- package/dist/cjs/components/Link/Link.js.map +1 -1
- package/dist/cjs/components/List/List.js +5 -6
- package/dist/cjs/components/List/List.js.map +1 -1
- package/dist/cjs/components/Menu/Menu.js.map +1 -1
- package/dist/cjs/components/Menu/MenuDivider.js.map +1 -1
- package/dist/cjs/components/Menu/MenuItem.js +2 -2
- package/dist/cjs/components/Menu/MenuItem.js.map +1 -1
- package/dist/cjs/components/Menu/index.js.map +1 -1
- package/dist/cjs/components/Notification/Notification.js +9 -6
- package/dist/cjs/components/Notification/Notification.js.map +1 -1
- package/dist/cjs/components/Notification/Toast.js +0 -1
- package/dist/cjs/components/Notification/Toast.js.map +1 -1
- package/dist/cjs/components/NumericInput/NumericInput.js +1 -1
- package/dist/cjs/components/NumericInput/NumericInput.js.map +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItemActions.js +3 -3
- package/dist/cjs/components/OverviewItem/OverviewItemActions.js.map +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItemDepiction.js +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItemDepiction.js.map +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItemDescription.js.map +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItemLine.js +3 -3
- package/dist/cjs/components/OverviewItem/OverviewItemLine.js.map +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItemList.js +5 -5
- package/dist/cjs/components/OverviewItem/OverviewItemList.js.map +1 -1
- package/dist/cjs/components/Pagination/Pagination.js.map +1 -1
- package/dist/cjs/components/ProgressBar/ProgressBar.js.map +1 -1
- package/dist/cjs/components/PropertyValuePair/PropertyValueList.js +0 -1
- package/dist/cjs/components/PropertyValuePair/PropertyValueList.js.map +1 -1
- package/dist/cjs/components/RadioButton/RadioButton.js +1 -2
- package/dist/cjs/components/RadioButton/RadioButton.js.map +1 -1
- package/dist/cjs/components/Select/Select.js +8 -3
- package/dist/cjs/components/Select/Select.js.map +1 -1
- package/dist/cjs/components/Separation/Divider.js +1 -1
- package/dist/cjs/components/Separation/Divider.js.map +1 -1
- package/dist/cjs/components/Spinner/Spinner.js +2 -2
- package/dist/cjs/components/Spinner/Spinner.js.map +1 -1
- package/dist/cjs/components/Structure/Section.js +1 -2
- package/dist/cjs/components/Structure/Section.js.map +1 -1
- package/dist/cjs/components/Structure/SectionHeader.js +1 -2
- package/dist/cjs/components/Structure/SectionHeader.js.map +1 -1
- package/dist/cjs/components/Structure/TitleMainsection.js +4 -6
- package/dist/cjs/components/Structure/TitleMainsection.js.map +1 -1
- package/dist/cjs/components/Structure/TitlePage.js +4 -6
- package/dist/cjs/components/Structure/TitlePage.js.map +1 -1
- package/dist/cjs/components/Structure/TitleSubsection.js +0 -1
- package/dist/cjs/components/Structure/TitleSubsection.js.map +1 -1
- package/dist/cjs/components/Switch/Switch.js.map +1 -1
- package/dist/cjs/components/Table/Table.js +6 -6
- 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 +6 -8
- package/dist/cjs/components/Table/TableExpandRow.js.map +1 -1
- package/dist/cjs/components/Table/TableRow.js.map +1 -1
- package/dist/cjs/components/Table/index.js.map +1 -1
- package/dist/cjs/components/Tabs/Tab.js +6 -5
- package/dist/cjs/components/Tabs/Tab.js.map +1 -1
- package/dist/cjs/components/Tabs/TabPanel.js.map +1 -1
- package/dist/cjs/components/Tabs/TabTitle.js +1 -1
- package/dist/cjs/components/Tabs/TabTitle.js.map +1 -1
- package/dist/cjs/components/Tabs/Tabs.js +7 -6
- package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
- package/dist/cjs/components/Tag/Tag.js +11 -12
- package/dist/cjs/components/Tag/Tag.js.map +1 -1
- package/dist/cjs/components/Tag/TagList.js +4 -7
- package/dist/cjs/components/Tag/TagList.js.map +1 -1
- package/dist/cjs/components/TextField/SearchField.js +2 -3
- package/dist/cjs/components/TextField/SearchField.js.map +1 -1
- package/dist/cjs/components/TextField/TextArea.js.map +1 -1
- package/dist/cjs/components/TextField/TextField.js +9 -5
- package/dist/cjs/components/TextField/TextField.js.map +1 -1
- package/dist/cjs/components/Toolbar/Toolbar.js +4 -4
- package/dist/cjs/components/Toolbar/Toolbar.js.map +1 -1
- package/dist/cjs/components/Toolbar/ToolbarSection.js +5 -5
- package/dist/cjs/components/Toolbar/ToolbarSection.js.map +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.js +4 -5
- package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/cjs/components/Tree/Tree.js.map +1 -1
- package/dist/cjs/components/Typography/Highlighter.js +2 -2
- package/dist/cjs/components/Typography/Highlighter.js.map +1 -1
- package/dist/cjs/components/Typography/HtmlContentBlock.js.map +1 -1
- package/dist/cjs/components/Typography/OverflowText.js.map +1 -1
- package/dist/cjs/components/Typography/WhiteSpaceContainer.js +9 -9
- package/dist/cjs/components/Typography/WhiteSpaceContainer.js.map +1 -1
- package/dist/cjs/components/Workspace/WorkspaceContent.js +2 -3
- package/dist/cjs/components/Workspace/WorkspaceContent.js.map +1 -1
- package/dist/cjs/components/Workspace/WorkspaceHeader.js +1 -1
- package/dist/cjs/components/Workspace/WorkspaceHeader.js.map +1 -1
- package/dist/cjs/components/Workspace/WorkspaceMain.js +0 -1
- package/dist/cjs/components/Workspace/WorkspaceMain.js.map +1 -1
- package/dist/cjs/components/Workspace/WorkspaceSide.js +1 -2
- package/dist/cjs/components/Workspace/WorkspaceSide.js.map +1 -1
- package/dist/cjs/configuration/constants.js +1 -1
- package/dist/cjs/extensions/codemirror/CodeMirror.js +9 -2
- package/dist/cjs/extensions/codemirror/CodeMirror.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js +7 -7
- package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeStep.js +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeStep.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/edges/getSmoothStepPath.js +2 -2
- package/dist/cjs/extensions/react-flow/edges/utils.js +20 -9
- package/dist/cjs/extensions/react-flow/edges/utils.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 +10 -6
- package/dist/cjs/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- package/dist/cjs/extensions/react-flow/minimap/utils.js +4 -2
- package/dist/cjs/extensions/react-flow/minimap/utils.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeContentExtension.js +7 -3
- package/dist/cjs/extensions/react-flow/nodes/NodeContentExtension.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js +5 -5
- package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js +8 -7
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js.map +1 -1
- package/dist/cjs/extensions/react-flow/versionsupport.js +2 -2
- package/dist/cjs/extensions/react-flow/versionsupport.js.map +1 -1
- package/dist/cjs/index.js +3 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legacy-replacements/Button/AffirmativeButton.js.map +1 -1
- package/dist/cjs/legacy-replacements/Button/Button.js +12 -10
- package/dist/cjs/legacy-replacements/Button/Button.js.map +1 -1
- package/dist/cjs/legacy-replacements/Button/DismissiveButton.js.map +1 -1
- package/dist/cjs/legacy-replacements/Button/DisruptiveButton.js.map +1 -1
- package/dist/cjs/legacy-replacements/Checkbox/Checkbox.js +5 -3
- package/dist/cjs/legacy-replacements/Checkbox/Checkbox.js.map +1 -1
- package/dist/cjs/legacy-replacements/Radio/RadioButton.js +5 -3
- package/dist/cjs/legacy-replacements/Radio/RadioButton.js.map +1 -1
- package/dist/cjs/legacy-replacements/Tabs/Tabs.js +1 -3
- package/dist/cjs/legacy-replacements/Tabs/Tabs.js.map +1 -1
- package/dist/cjs/legacy-replacements/TextField/TextField.js +10 -8
- package/dist/cjs/legacy-replacements/TextField/TextField.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js +7 -5
- package/dist/esm/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +5 -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 +19 -15
- package/dist/esm/cmem/ConfidenceValue/ConfidenceValue.js.map +1 -1
- package/dist/esm/cmem/ContentBlobToggler/ContentBlobToggler.js.map +1 -1
- package/dist/esm/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +2 -2
- package/dist/esm/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js.map +1 -1
- package/dist/esm/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +3 -3
- package/dist/esm/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +1 -1
- package/dist/esm/cmem/index.js.map +1 -1
- package/dist/esm/cmem/markdown/Markdown.js +56 -22
- package/dist/esm/cmem/markdown/Markdown.js.map +1 -1
- package/dist/esm/cmem/markdown/highlightSearchWords.js +9 -7
- package/dist/esm/cmem/markdown/highlightSearchWords.js.map +1 -1
- package/dist/esm/cmem/react-flow/ReactFlow/ReactFlow.js +5 -5
- package/dist/esm/cmem/react-flow/ReactFlow/ReactFlow.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/extensions/ReactFlowHotkeyContext.js +1 -1
- package/dist/esm/cmem/react-flow/extensions/ReactFlowHotkeyContext.js.map +1 -1
- package/dist/esm/cmem/react-flow/extensions/scrollOnDragHook.js +20 -18
- package/dist/esm/cmem/react-flow/extensions/scrollOnDragHook.js.map +1 -1
- package/dist/esm/cmem/react-flow/nodes/StickyNoteNode.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/utils/CssCustomProperties.js +5 -13
- package/dist/esm/common/utils/CssCustomProperties.js.map +1 -1
- package/dist/esm/common/utils/characters.js +12 -12
- package/dist/esm/common/utils/characters.js.map +1 -1
- package/dist/esm/common/utils/colorDecideContrastvalue.js +3 -1
- package/dist/esm/common/utils/colorDecideContrastvalue.js.map +1 -1
- package/dist/esm/common/utils/getColorConfiguration.js +2 -2
- package/dist/esm/common/utils/getColorConfiguration.js.map +1 -1
- package/dist/esm/common/utils/globalVars.js +1 -1
- package/dist/esm/common/utils/globalVars.js.map +1 -1
- package/dist/esm/common/utils/openInNewTab.js.map +1 -1
- package/dist/esm/components/Accordion/Accordion.js +5 -5
- package/dist/esm/components/Accordion/Accordion.js.map +1 -1
- package/dist/esm/components/Accordion/AccordionItem.js +6 -7
- package/dist/esm/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/esm/components/Application/ApplicationContainer.js +3 -1
- package/dist/esm/components/Application/ApplicationContainer.js.map +1 -1
- package/dist/esm/components/Application/ApplicationContent.js +3 -3
- package/dist/esm/components/Application/ApplicationContent.js.map +1 -1
- package/dist/esm/components/Application/ApplicationHeader.js +1 -1
- package/dist/esm/components/Application/ApplicationHeader.js.map +1 -1
- package/dist/esm/components/Application/ApplicationSidebarNavigation.js +2 -3
- package/dist/esm/components/Application/ApplicationSidebarNavigation.js.map +1 -1
- package/dist/esm/components/Application/ApplicationSidebarToggler.js +1 -2
- package/dist/esm/components/Application/ApplicationSidebarToggler.js.map +1 -1
- package/dist/esm/components/Application/ApplicationTitle.js +9 -7
- package/dist/esm/components/Application/ApplicationTitle.js.map +1 -1
- package/dist/esm/components/Application/ApplicationToolbar.js +1 -2
- package/dist/esm/components/Application/ApplicationToolbar.js.map +1 -1
- package/dist/esm/components/Application/ApplicationToolbarAction.js +1 -2
- package/dist/esm/components/Application/ApplicationToolbarAction.js.map +1 -1
- package/dist/esm/components/Application/ApplicationToolbarPanel.js +6 -7
- package/dist/esm/components/Application/ApplicationToolbarPanel.js.map +1 -1
- package/dist/esm/components/Application/ApplicationToolbarSection.js +1 -2
- package/dist/esm/components/Application/ApplicationToolbarSection.js.map +1 -1
- package/dist/esm/components/AutoSuggestion/AutoSuggestion.js +8 -8
- package/dist/esm/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
- package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js +2 -2
- package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
- package/dist/esm/components/AutoSuggestion/ExtendedCodeEditor.js +3 -3
- package/dist/esm/components/AutoSuggestion/ExtendedCodeEditor.js.map +1 -1
- package/dist/esm/components/AutocompleteField/AutoCompleteField.js +4 -4
- package/dist/esm/components/AutocompleteField/AutoCompleteField.js.map +1 -1
- package/dist/esm/components/AutocompleteField/autoCompleteFieldUtils.js +1 -1
- package/dist/esm/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
- package/dist/esm/components/AutocompleteField/index.js +1 -1
- package/dist/esm/components/AutocompleteField/index.js.map +1 -1
- package/dist/esm/components/Badge/Badge.js +8 -9
- package/dist/esm/components/Badge/Badge.js.map +1 -1
- package/dist/esm/components/Breadcrumb/BreadcrumbItem.js +1 -1
- package/dist/esm/components/Breadcrumb/BreadcrumbItem.js.map +1 -1
- package/dist/esm/components/Breadcrumb/BreadcrumbList.js +13 -8
- package/dist/esm/components/Breadcrumb/BreadcrumbList.js.map +1 -1
- package/dist/esm/components/Button/Button.js +1 -1
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Card/Card.js +23 -21
- package/dist/esm/components/Card/Card.js.map +1 -1
- package/dist/esm/components/Card/CardActions.js +5 -5
- package/dist/esm/components/Card/CardActions.js.map +1 -1
- package/dist/esm/components/Card/CardActionsAux.js +3 -5
- package/dist/esm/components/Card/CardActionsAux.js.map +1 -1
- package/dist/esm/components/Card/CardContent.js +5 -5
- package/dist/esm/components/Card/CardContent.js.map +1 -1
- package/dist/esm/components/Card/CardHeader.js +1 -1
- package/dist/esm/components/Card/CardHeader.js.map +1 -1
- package/dist/esm/components/Card/CardOptions.js +4 -6
- package/dist/esm/components/Card/CardOptions.js.map +1 -1
- package/dist/esm/components/Card/CardTitle.js +4 -5
- package/dist/esm/components/Card/CardTitle.js.map +1 -1
- package/dist/esm/components/Card/index.js +7 -7
- package/dist/esm/components/Checkbox/Checkbox.js +3 -4
- package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/components/CodeAutocompleteField/CodeAutocompleteField.js +1 -1
- package/dist/esm/components/CodeAutocompleteField/CodeAutocompleteField.js.map +1 -1
- package/dist/esm/components/ContextOverlay/ContextMenu.js +3 -3
- package/dist/esm/components/ContextOverlay/ContextMenu.js.map +1 -1
- package/dist/esm/components/ContextOverlay/ContextOverlay.js +4 -4
- package/dist/esm/components/ContextOverlay/ContextOverlay.js.map +1 -1
- package/dist/esm/components/Depiction/Depiction.js +13 -13
- package/dist/esm/components/Depiction/Depiction.js.map +1 -1
- package/dist/esm/components/Dialog/AlertDialog.js +2 -2
- package/dist/esm/components/Dialog/AlertDialog.js.map +1 -1
- package/dist/esm/components/Dialog/Modal.js +8 -9
- package/dist/esm/components/Dialog/Modal.js.map +1 -1
- package/dist/esm/components/Dialog/SimpleDialog.js +3 -3
- package/dist/esm/components/Dialog/SimpleDialog.js.map +1 -1
- package/dist/esm/components/Form/FieldItem.js +7 -5
- package/dist/esm/components/Form/FieldItem.js.map +1 -1
- package/dist/esm/components/Form/FieldItemRow.js +3 -3
- package/dist/esm/components/Form/FieldItemRow.js.map +1 -1
- package/dist/esm/components/Form/FieldSet.js +5 -5
- package/dist/esm/components/Form/FieldSet.js.map +1 -1
- package/dist/esm/components/Grid/Grid.js +4 -4
- package/dist/esm/components/Grid/Grid.js.map +1 -1
- package/dist/esm/components/Grid/GridColumn.js +2 -2
- package/dist/esm/components/Grid/GridColumn.js.map +1 -1
- package/dist/esm/components/Grid/GridRow.js +4 -4
- package/dist/esm/components/Grid/GridRow.js.map +1 -1
- package/dist/esm/components/HoverToggler/HoverToggler.js +6 -8
- package/dist/esm/components/HoverToggler/HoverToggler.js.map +1 -1
- package/dist/esm/components/Icon/BaseIcon.js +1 -1
- package/dist/esm/components/Icon/BaseIcon.js.map +1 -1
- package/dist/esm/components/Icon/Icon.js +1 -1
- package/dist/esm/components/Icon/Icon.js.map +1 -1
- package/dist/esm/components/Icon/IconButton.js +1 -1
- package/dist/esm/components/Icon/IconButton.js.map +1 -1
- package/dist/esm/components/Icon/TestIcon.js +1 -1
- package/dist/esm/components/Icon/TestIcon.js.map +1 -1
- package/dist/esm/components/Iframe/Iframe.js +18 -11
- package/dist/esm/components/Iframe/Iframe.js.map +1 -1
- package/dist/esm/components/Iframe/IframeModal.js +3 -4
- package/dist/esm/components/Iframe/IframeModal.js.map +1 -1
- package/dist/esm/components/InteractionGate/InteractionGate.js +9 -9
- package/dist/esm/components/InteractionGate/InteractionGate.js.map +1 -1
- package/dist/esm/components/Label/Label.js +8 -6
- package/dist/esm/components/Label/Label.js.map +1 -1
- package/dist/esm/components/Link/Link.js +3 -4
- package/dist/esm/components/Link/Link.js.map +1 -1
- package/dist/esm/components/List/List.js +4 -5
- package/dist/esm/components/List/List.js.map +1 -1
- package/dist/esm/components/Menu/Menu.js +3 -3
- package/dist/esm/components/Menu/Menu.js.map +1 -1
- package/dist/esm/components/Menu/MenuDivider.js +3 -3
- package/dist/esm/components/Menu/MenuDivider.js.map +1 -1
- package/dist/esm/components/Menu/MenuItem.js +6 -4
- package/dist/esm/components/Menu/MenuItem.js.map +1 -1
- package/dist/esm/components/Menu/index.js.map +1 -1
- package/dist/esm/components/MultiSelect/MultiSelect.js +3 -3
- package/dist/esm/components/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/esm/components/MultiSuggestField/MultiSuggestField.js +1 -1
- package/dist/esm/components/MultiSuggestField/MultiSuggestField.js.map +1 -1
- package/dist/esm/components/Notification/Notification.js +16 -13
- package/dist/esm/components/Notification/Notification.js.map +1 -1
- package/dist/esm/components/Notification/Toast.js +1 -2
- package/dist/esm/components/Notification/Toast.js.map +1 -1
- package/dist/esm/components/NumericInput/NumericInput.js +1 -1
- package/dist/esm/components/NumericInput/NumericInput.js.map +1 -1
- package/dist/esm/components/OverviewItem/OverviewItem.js +3 -3
- package/dist/esm/components/OverviewItem/OverviewItem.js.map +1 -1
- package/dist/esm/components/OverviewItem/OverviewItemActions.js +4 -4
- package/dist/esm/components/OverviewItem/OverviewItemActions.js.map +1 -1
- package/dist/esm/components/OverviewItem/OverviewItemDepiction.js +3 -3
- package/dist/esm/components/OverviewItem/OverviewItemDepiction.js.map +1 -1
- package/dist/esm/components/OverviewItem/OverviewItemDescription.js +1 -1
- package/dist/esm/components/OverviewItem/OverviewItemDescription.js.map +1 -1
- package/dist/esm/components/OverviewItem/OverviewItemLine.js +4 -4
- package/dist/esm/components/OverviewItem/OverviewItemLine.js.map +1 -1
- package/dist/esm/components/OverviewItem/OverviewItemList.js +6 -6
- package/dist/esm/components/OverviewItem/OverviewItemList.js.map +1 -1
- package/dist/esm/components/Pagination/Pagination.js +7 -7
- package/dist/esm/components/Pagination/Pagination.js.map +1 -1
- package/dist/esm/components/ProgressBar/ProgressBar.js.map +1 -1
- package/dist/esm/components/PropertyValuePair/PropertyName.js +3 -3
- package/dist/esm/components/PropertyValuePair/PropertyName.js.map +1 -1
- package/dist/esm/components/PropertyValuePair/PropertyValue.js +2 -2
- package/dist/esm/components/PropertyValuePair/PropertyValue.js.map +1 -1
- package/dist/esm/components/PropertyValuePair/PropertyValueList.js +1 -2
- package/dist/esm/components/PropertyValuePair/PropertyValueList.js.map +1 -1
- package/dist/esm/components/PropertyValuePair/PropertyValuePair.js +3 -3
- package/dist/esm/components/PropertyValuePair/PropertyValuePair.js.map +1 -1
- package/dist/esm/components/RadioButton/RadioButton.js +4 -5
- package/dist/esm/components/RadioButton/RadioButton.js.map +1 -1
- package/dist/esm/components/Select/Select.js +9 -4
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/esm/components/Separation/Divider.js +5 -5
- package/dist/esm/components/Separation/Divider.js.map +1 -1
- package/dist/esm/components/Separation/Spacing.js +3 -3
- package/dist/esm/components/Separation/Spacing.js.map +1 -1
- package/dist/esm/components/Spinner/Spinner.js +8 -8
- package/dist/esm/components/Spinner/Spinner.js.map +1 -1
- package/dist/esm/components/Structure/Section.js +2 -3
- package/dist/esm/components/Structure/Section.js.map +1 -1
- package/dist/esm/components/Structure/SectionHeader.js +2 -3
- package/dist/esm/components/Structure/SectionHeader.js.map +1 -1
- package/dist/esm/components/Structure/TitleMainsection.js +5 -7
- package/dist/esm/components/Structure/TitleMainsection.js.map +1 -1
- package/dist/esm/components/Structure/TitlePage.js +5 -7
- package/dist/esm/components/Structure/TitlePage.js.map +1 -1
- package/dist/esm/components/Structure/TitleSubsection.js +1 -2
- package/dist/esm/components/Structure/TitleSubsection.js.map +1 -1
- package/dist/esm/components/SuggestField/SuggestField.js +1 -1
- package/dist/esm/components/SuggestField/SuggestField.js.map +1 -1
- package/dist/esm/components/Switch/Switch.js +3 -3
- package/dist/esm/components/Switch/Switch.js.map +1 -1
- package/dist/esm/components/Table/Table.js +11 -11
- package/dist/esm/components/Table/Table.js.map +1 -1
- package/dist/esm/components/Table/TableCell.js +4 -4
- package/dist/esm/components/Table/TableCell.js.map +1 -1
- package/dist/esm/components/Table/TableContainer.js +4 -4
- package/dist/esm/components/Table/TableContainer.js.map +1 -1
- package/dist/esm/components/Table/TableExpandHeader.js +1 -1
- package/dist/esm/components/Table/TableExpandHeader.js.map +1 -1
- package/dist/esm/components/Table/TableExpandRow.js +11 -13
- package/dist/esm/components/Table/TableExpandRow.js.map +1 -1
- package/dist/esm/components/Table/TableRow.js +4 -4
- package/dist/esm/components/Table/TableRow.js.map +1 -1
- package/dist/esm/components/Table/index.js +1 -1
- package/dist/esm/components/Table/index.js.map +1 -1
- package/dist/esm/components/Tabs/Tab.js +8 -7
- package/dist/esm/components/Tabs/Tab.js.map +1 -1
- package/dist/esm/components/Tabs/TabPanel.js +1 -1
- package/dist/esm/components/Tabs/TabPanel.js.map +1 -1
- package/dist/esm/components/Tabs/TabTitle.js +3 -3
- package/dist/esm/components/Tabs/TabTitle.js.map +1 -1
- package/dist/esm/components/Tabs/Tabs.js +9 -8
- package/dist/esm/components/Tabs/Tabs.js.map +1 -1
- package/dist/esm/components/Tag/Tag.js +13 -14
- package/dist/esm/components/Tag/Tag.js.map +1 -1
- package/dist/esm/components/Tag/TagList.js +7 -10
- package/dist/esm/components/Tag/TagList.js.map +1 -1
- package/dist/esm/components/TextField/SearchField.js +4 -5
- package/dist/esm/components/TextField/SearchField.js.map +1 -1
- package/dist/esm/components/TextField/TextArea.js +2 -2
- package/dist/esm/components/TextField/TextArea.js.map +1 -1
- package/dist/esm/components/TextField/TextField.js +11 -7
- package/dist/esm/components/TextField/TextField.js.map +1 -1
- package/dist/esm/components/Toolbar/Toolbar.js +5 -5
- package/dist/esm/components/Toolbar/Toolbar.js.map +1 -1
- package/dist/esm/components/Toolbar/ToolbarSection.js +6 -6
- package/dist/esm/components/Toolbar/ToolbarSection.js.map +1 -1
- package/dist/esm/components/Tooltip/Tooltip.js +6 -7
- package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/components/Tree/Tree.js.map +1 -1
- package/dist/esm/components/Typography/Highlighter.js.map +1 -1
- package/dist/esm/components/Typography/HtmlContentBlock.js +1 -1
- package/dist/esm/components/Typography/HtmlContentBlock.js.map +1 -1
- package/dist/esm/components/Typography/OverflowText.js +4 -4
- package/dist/esm/components/Typography/OverflowText.js.map +1 -1
- package/dist/esm/components/Typography/WhiteSpaceContainer.js +10 -10
- package/dist/esm/components/Typography/WhiteSpaceContainer.js.map +1 -1
- package/dist/esm/components/Typography/index.js +1 -1
- package/dist/esm/components/Typography/index.js.map +1 -1
- package/dist/esm/components/Workspace/WorkspaceContent.js +2 -3
- package/dist/esm/components/Workspace/WorkspaceContent.js.map +1 -1
- package/dist/esm/components/Workspace/WorkspaceHeader.js +2 -2
- package/dist/esm/components/Workspace/WorkspaceHeader.js.map +1 -1
- package/dist/esm/components/Workspace/WorkspaceMain.js +1 -2
- package/dist/esm/components/Workspace/WorkspaceMain.js.map +1 -1
- package/dist/esm/components/Workspace/WorkspaceSide.js +2 -3
- package/dist/esm/components/Workspace/WorkspaceSide.js.map +1 -1
- package/dist/esm/configuration/constants.js +1 -1
- package/dist/esm/extensions/codemirror/CodeMirror.js +11 -4
- package/dist/esm/extensions/codemirror/CodeMirror.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeDefault.js +9 -9
- package/dist/esm/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeLabel.js +10 -10
- package/dist/esm/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeStep.js +2 -2
- package/dist/esm/extensions/react-flow/edges/EdgeStep.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeTools.js +6 -6
- package/dist/esm/extensions/react-flow/edges/EdgeTools.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/getSmoothStepPath.js +11 -11
- package/dist/esm/extensions/react-flow/edges/getSmoothStepPath.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/utils.js +24 -13
- 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 +7 -7
- package/dist/esm/extensions/react-flow/handles/HandleDefault.js.map +1 -1
- package/dist/esm/extensions/react-flow/handles/HandleTools.js +2 -2
- 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 +12 -8
- package/dist/esm/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- package/dist/esm/extensions/react-flow/minimap/utils.js +6 -4
- package/dist/esm/extensions/react-flow/minimap/utils.js.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/NodeContent.js +29 -29
- package/dist/esm/extensions/react-flow/nodes/NodeContent.js.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/NodeContentExtension.js +12 -8
- package/dist/esm/extensions/react-flow/nodes/NodeContentExtension.js.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/NodeDefault.js +4 -4
- package/dist/esm/extensions/react-flow/nodes/NodeDefault.js.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/NodeTools.js +9 -8
- package/dist/esm/extensions/react-flow/nodes/NodeTools.js.map +1 -1
- package/dist/esm/extensions/react-flow/versionsupport.js +2 -2
- package/dist/esm/extensions/react-flow/versionsupport.js.map +1 -1
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/legacy-replacements/Button/AffirmativeButton.js +1 -1
- package/dist/esm/legacy-replacements/Button/AffirmativeButton.js.map +1 -1
- package/dist/esm/legacy-replacements/Button/Button.js +12 -10
- package/dist/esm/legacy-replacements/Button/Button.js.map +1 -1
- package/dist/esm/legacy-replacements/Button/DismissiveButton.js +1 -1
- package/dist/esm/legacy-replacements/Button/DismissiveButton.js.map +1 -1
- package/dist/esm/legacy-replacements/Button/DisruptiveButton.js +1 -1
- package/dist/esm/legacy-replacements/Button/DisruptiveButton.js.map +1 -1
- package/dist/esm/legacy-replacements/Checkbox/Checkbox.js +5 -3
- package/dist/esm/legacy-replacements/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/legacy-replacements/Radio/RadioButton.js +5 -3
- package/dist/esm/legacy-replacements/Radio/RadioButton.js.map +1 -1
- package/dist/esm/legacy-replacements/Tabs/Tabs.js +4 -6
- package/dist/esm/legacy-replacements/Tabs/Tabs.js.map +1 -1
- package/dist/esm/legacy-replacements/TextField/TextField.js +11 -9
- package/dist/esm/legacy-replacements/TextField/TextField.js.map +1 -1
- package/dist/types/cmem/ActivityControl/ActivityControlWidget.d.ts +3 -3
- package/dist/types/cmem/ActivityControl/ActivityExecutionErrorReportModal.d.ts +1 -1
- package/dist/types/cmem/ConfidenceValue/ConfidenceValue.d.ts +1 -1
- package/dist/types/cmem/ContentBlobToggler/ContentBlobToggler.d.ts +14 -14
- package/dist/types/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.d.ts +1 -1
- package/dist/types/cmem/markdown/highlightSearchWords.d.ts +3 -2
- package/dist/types/common/index.d.ts +2 -2
- package/dist/types/common/utils/colorDecideContrastvalue.d.ts +1 -1
- package/dist/types/components/Application/ApplicationContainer.d.ts +1 -2
- package/dist/types/components/Application/ApplicationSidebarToggler.d.ts +1 -2
- package/dist/types/components/Application/ApplicationToolbar.d.ts +1 -2
- package/dist/types/components/Application/ApplicationToolbarAction.d.ts +1 -2
- package/dist/types/components/Application/ApplicationToolbarSection.d.ts +1 -2
- package/dist/types/components/AutoSuggestion/ExtendedCodeEditor.d.ts +2 -2
- package/dist/types/components/Badge/Badge.d.ts +2 -2
- package/dist/types/components/Breadcrumb/BreadcrumbList.d.ts +11 -4
- package/dist/types/components/Button/Button.d.ts +8 -4
- package/dist/types/components/Card/Card.d.ts +1 -1
- package/dist/types/components/Card/CardActions.d.ts +1 -1
- package/dist/types/components/Card/CardActionsAux.d.ts +2 -3
- package/dist/types/components/Card/CardContent.d.ts +1 -1
- package/dist/types/components/Card/CardOptions.d.ts +3 -4
- package/dist/types/components/Card/CardTitle.d.ts +2 -2
- package/dist/types/components/Card/index.d.ts +7 -7
- package/dist/types/components/Checkbox/Checkbox.d.ts +2 -3
- package/dist/types/components/ContextOverlay/ContextMenu.d.ts +1 -1
- package/dist/types/components/ContextOverlay/ContextOverlay.d.ts +1 -1
- package/dist/types/components/Dialog/AlertDialog.d.ts +2 -2
- package/dist/types/components/Dialog/Modal.d.ts +4 -3
- package/dist/types/components/Form/FieldItem.d.ts +1 -1
- package/dist/types/components/Form/FieldSet.d.ts +19 -19
- package/dist/types/components/Icon/IconButton.d.ts +3 -3
- package/dist/types/components/Link/Link.d.ts +1 -2
- package/dist/types/components/Menu/Menu.d.ts +2 -3
- package/dist/types/components/Menu/MenuDivider.d.ts +2 -3
- package/dist/types/components/Menu/MenuItem.d.ts +2 -2
- package/dist/types/components/Notification/Notification.d.ts +9 -3
- package/dist/types/components/Notification/Toast.d.ts +1 -2
- package/dist/types/components/OverviewItem/OverviewItemDescription.d.ts +1 -2
- package/dist/types/components/PropertyValuePair/PropertyValueList.d.ts +1 -2
- package/dist/types/components/RadioButton/RadioButton.d.ts +2 -3
- package/dist/types/components/Select/Select.d.ts +9 -3
- package/dist/types/components/Structure/Section.d.ts +1 -2
- package/dist/types/components/Structure/SectionHeader.d.ts +1 -2
- package/dist/types/components/Structure/TitleMainsection.d.ts +1 -2
- package/dist/types/components/Structure/TitlePage.d.ts +1 -2
- package/dist/types/components/Structure/TitleSubsection.d.ts +48 -48
- package/dist/types/components/Switch/Switch.d.ts +1 -1
- package/dist/types/components/Table/Table.d.ts +1 -1
- package/dist/types/components/Table/index.d.ts +1 -1
- package/dist/types/components/Tabs/Tab.d.ts +109 -103
- package/dist/types/components/Tabs/TabTitle.d.ts +1 -1
- package/dist/types/components/Tabs/Tabs.d.ts +9 -3
- package/dist/types/components/Tag/Tag.d.ts +3 -3
- package/dist/types/components/Tag/TagList.d.ts +1 -1
- package/dist/types/components/TextField/SearchField.d.ts +8 -8
- package/dist/types/components/TextField/TextArea.d.ts +8 -8
- package/dist/types/components/TextField/TextField.d.ts +14 -14
- package/dist/types/components/Toolbar/ToolbarSection.d.ts +7 -7
- package/dist/types/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/types/components/Tree/Tree.d.ts +1 -1
- package/dist/types/components/Typography/index.d.ts +1 -1
- package/dist/types/components/Workspace/WorkspaceContent.d.ts +1 -2
- package/dist/types/components/Workspace/WorkspaceMain.d.ts +1 -2
- package/dist/types/components/Workspace/WorkspaceSide.d.ts +1 -2
- package/dist/types/components/interfaces.d.ts +2 -1
- package/dist/types/extensions/codemirror/CodeMirror.d.ts +14 -1
- package/dist/types/extensions/react-flow/edges/EdgeDefault.d.ts +2 -2
- package/dist/types/extensions/react-flow/edges/EdgeStep.d.ts +2 -2
- package/dist/types/extensions/react-flow/edges/EdgeTools.d.ts +1 -1
- package/dist/types/extensions/react-flow/nodes/NodeDefault.d.ts +1 -1
- package/dist/types/extensions/react-flow/nodes/NodeTools.d.ts +1 -1
- package/dist/types/index.d.ts +7 -4
- package/dist/types/legacy-replacements/Button/AffirmativeButton.d.ts +1 -1
- package/dist/types/legacy-replacements/Button/Button.d.ts +1 -1
- package/dist/types/legacy-replacements/Button/DismissiveButton.d.ts +1 -1
- package/dist/types/legacy-replacements/Button/DisruptiveButton.d.ts +1 -1
- package/dist/types/legacy-replacements/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/legacy-replacements/Radio/RadioButton.d.ts +1 -1
- package/dist/types/legacy-replacements/Tabs/Tabs.d.ts +3 -3
- package/dist/types/legacy-replacements/TextField/TextField.d.ts +1 -1
- package/package.json +57 -55
- package/scripts/compile-sass.ts +2 -1
- package/scripts/sassConfig.js +2 -2
- package/src/_shame.scss +12 -13
- package/src/cmem/ActivityControl/ActivityControlTypes.ts +9 -2
- package/src/cmem/ActivityControl/ActivityControlWidget.stories.tsx +2 -2
- package/src/cmem/ActivityControl/ActivityControlWidget.tsx +19 -14
- package/src/cmem/ActivityControl/ActivityExecutionErrorReportModal.tsx +20 -18
- package/src/cmem/ActivityControl/activitycontrol.scss +3 -3
- package/src/cmem/ConfidenceValue/ConfidenceValue.stories.tsx +5 -7
- package/src/cmem/ConfidenceValue/ConfidenceValue.tsx +24 -23
- package/src/cmem/ConfidenceValue/confidencevalue.scss +4 -4
- package/src/cmem/ContentBlobToggler/ContentBlobToggler.tsx +71 -70
- package/src/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.tsx +29 -19
- package/src/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.tsx +56 -44
- package/src/cmem/DateTimeDisplay/tests/ElapsedDateTimeDisplay.test.tsx +27 -25
- package/src/cmem/_index.scss +1 -1
- package/src/cmem/index.ts +1 -1
- package/src/cmem/markdown/Markdown.stories.tsx +4 -4
- package/src/cmem/markdown/Markdown.tsx +66 -32
- package/src/cmem/markdown/highlightSearchWords.test.ts +20 -19
- package/src/cmem/markdown/highlightSearchWords.ts +38 -34
- package/src/cmem/markdown/markdown.scss +12 -8
- package/src/cmem/react-flow/ReactFlow/ReactFlow.stories.tsx +257 -91
- package/src/cmem/react-flow/ReactFlow/ReactFlow.tsx +43 -47
- package/src/cmem/react-flow/StickyNoteModal/StickyNoteModal.tsx +98 -99
- package/src/cmem/react-flow/_minimap.scss +1 -0
- package/src/cmem/react-flow/configuration/_colors-graph.scss +0 -1
- package/src/cmem/react-flow/configuration/_colors-linking.scss +0 -1
- package/src/cmem/react-flow/extensions/ReactFlowHotkeyContext.ts +4 -4
- package/src/cmem/react-flow/extensions/scrollOnDragHook.ts +185 -144
- package/src/cmem/react-flow/nodes/StickyNoteNode.tsx +3 -5
- package/src/cmem/react-flow/nodes/_colors.scss +3 -3
- package/src/cmem/react-flow/nodes/_stickynote.scss +13 -10
- package/src/common/Intent/index.ts +7 -7
- package/src/common/utils/CssCustomProperties.ts +34 -48
- package/src/common/utils/characters.ts +53 -55
- package/src/common/utils/colorDecideContrastvalue.ts +7 -5
- package/src/common/utils/getColorConfiguration.ts +13 -9
- package/src/common/utils/openInNewTab.ts +9 -9
- package/src/components/Accordion/Accordion.tsx +9 -10
- package/src/components/Accordion/AccordionItem.tsx +6 -4
- package/src/components/Accordion/Stories/Accordion.stories.tsx +8 -10
- package/src/components/Accordion/Stories/AccordionItem.stories.tsx +11 -7
- package/src/components/Accordion/accordion.scss +17 -10
- package/src/components/Application/ApplicationContainer.tsx +11 -12
- package/src/components/Application/ApplicationContent.tsx +10 -6
- package/src/components/Application/ApplicationSidebarNavigation.tsx +7 -10
- package/src/components/Application/ApplicationSidebarToggler.tsx +4 -3
- package/src/components/Application/ApplicationTitle.tsx +19 -18
- package/src/components/Application/ApplicationToolbar.tsx +5 -4
- package/src/components/Application/ApplicationToolbarAction.tsx +5 -4
- package/src/components/Application/ApplicationToolbarPanel.tsx +9 -10
- package/src/components/Application/ApplicationToolbarSection.tsx +6 -8
- package/src/components/Application/_content.scss +4 -4
- package/src/components/Application/_sidebar.scss +2 -2
- package/src/components/AutoSuggestion/AutoSuggestion.scss +28 -26
- package/src/components/AutoSuggestion/AutoSuggestionList.tsx +6 -4
- package/src/components/AutoSuggestion/ExtendedCodeEditor.tsx +4 -2
- package/src/components/AutoSuggestion/tests/AutoSuggestion.test.tsx +4 -2
- package/src/components/AutoSuggestion/tests/AutoSuggestionList.test.tsx +21 -10
- package/src/components/AutoSuggestion/tests/ExtendedCodeEditor.test.tsx +4 -2
- package/src/components/AutocompleteField/AutoCompleteField.tsx +1 -1
- package/src/components/AutocompleteField/index.ts +2 -2
- package/src/components/Badge/Badge.stories.tsx +10 -11
- package/src/components/Badge/Badge.tsx +22 -22
- package/src/components/Badge/badge.scss +4 -4
- package/src/components/Breadcrumb/BreadcrumbList.tsx +71 -36
- package/src/components/Breadcrumb/stories/BreadcrumbItem.stories.tsx +7 -9
- package/src/components/Button/Button.stories.tsx +24 -19
- package/src/components/Button/Button.test.tsx +3 -3
- package/src/components/Button/Button.tsx +12 -4
- package/src/components/Card/Card.tsx +31 -28
- package/src/components/Card/CardActions.tsx +6 -5
- package/src/components/Card/CardActionsAux.tsx +5 -14
- package/src/components/Card/CardContent.tsx +4 -8
- package/src/components/Card/CardOptions.tsx +7 -15
- package/src/components/Card/CardTitle.tsx +7 -14
- package/src/components/Card/card.scss +26 -15
- package/src/components/Card/index.tsx +7 -7
- package/src/components/Card/stories/Card.stories.tsx +16 -22
- package/src/components/Card/stories/CardActions.stories.tsx +20 -24
- package/src/components/Card/stories/CardContent.stories.tsx +19 -19
- package/src/components/Card/stories/CardHeader.stories.tsx +18 -27
- package/src/components/Card/stories/CardOptions.stories.tsx +14 -18
- package/src/components/Card/stories/CardTitle.stories.tsx +12 -16
- package/src/components/Checkbox/Checkbox.tsx +6 -17
- package/src/components/Checkbox/Stories/Checkbox.stories.tsx +16 -13
- package/src/components/Checkbox/checkbox.scss +4 -2
- package/src/components/ContextOverlay/ContextMenu.stories.tsx +19 -19
- package/src/components/ContextOverlay/ContextMenu.tsx +10 -8
- package/src/components/ContextOverlay/ContextOverlay.stories.tsx +32 -122
- package/src/components/ContextOverlay/ContextOverlay.tsx +1 -1
- package/src/components/ContextOverlay/contextoverlay.scss +2 -2
- package/src/components/Depiction/stories/Depiction.stories.tsx +6 -1
- package/src/components/Depiction/stories/test-16to9.tsx +78 -36
- package/src/components/Depiction/stories/test-9to16.tsx +84 -40
- package/src/components/Dialog/AlertDialog.tsx +30 -27
- package/src/components/Dialog/Modal.tsx +7 -5
- package/src/components/Dialog/SimpleDialog.tsx +2 -2
- package/src/components/Dialog/stories/AlertDialog.stories.tsx +21 -18
- package/src/components/Dialog/stories/Modal.stories.tsx +15 -10
- package/src/components/Dialog/stories/SimpleDialog.stories.tsx +13 -9
- package/src/components/Form/FieldItem.tsx +16 -13
- package/src/components/Form/FieldItemRow.tsx +3 -7
- package/src/components/Form/FieldSet.tsx +26 -25
- package/src/components/Form/Stories/FieldItem.stories.tsx +10 -11
- package/src/components/Form/Stories/FieldItemRow.stories.tsx +13 -14
- package/src/components/Form/Stories/FieldSet.stories.tsx +8 -11
- package/src/components/Form/form.scss +12 -11
- package/src/components/Grid/Grid.tsx +11 -10
- package/src/components/Grid/GridRow.tsx +5 -4
- package/src/components/Grid/grid.scss +12 -14
- package/src/components/Grid/stories/Grid.stories.tsx +7 -5
- package/src/components/Grid/stories/GridColumn.stories.tsx +12 -11
- package/src/components/Grid/stories/GridRow.stories.tsx +10 -8
- package/src/components/HoverToggler/HoverToggler.stories.tsx +11 -7
- package/src/components/HoverToggler/HoverToggler.tsx +17 -19
- package/src/components/HoverToggler/hovertoggler.scss +11 -11
- package/src/components/Icon/Icon.tsx +11 -13
- package/src/components/Icon/IconButton.tsx +6 -5
- package/src/components/Icon/icon.scss +7 -4
- package/src/components/Icon/stories/Icon.stories.tsx +12 -7
- package/src/components/Icon/stories/IconButton.stories.tsx +16 -14
- package/src/components/Icon/stories/TestIcon.stories.tsx +7 -2
- package/src/components/Iframe/Iframe.tsx +72 -58
- package/src/components/Iframe/IframeModal.tsx +13 -20
- package/src/components/Iframe/iframe.scss +1 -4
- package/src/components/InteractionGate/InteractionGate.stories.tsx +21 -19
- package/src/components/InteractionGate/InteractionGate.tsx +10 -5
- package/src/components/Label/Label.stories.tsx +7 -12
- package/src/components/Label/Label.tsx +16 -10
- package/src/components/Label/label.scss +10 -8
- package/src/components/Link/Link.tsx +14 -22
- package/src/components/Link/link.scss +1 -0
- package/src/components/List/List.tsx +32 -34
- package/src/components/Menu/Menu.tsx +7 -18
- package/src/components/Menu/MenuDivider.tsx +7 -17
- package/src/components/Menu/MenuItem.tsx +18 -30
- package/src/components/Menu/Stories/Menu.stories.tsx +17 -13
- package/src/components/Menu/Stories/MenuItem.stories.tsx +20 -16
- package/src/components/Menu/index.ts +1 -1
- package/src/components/Menu/menu.scss +9 -2
- package/src/components/Notification/Notification.stories.tsx +7 -8
- package/src/components/Notification/Notification.tsx +38 -13
- package/src/components/Notification/Toast.tsx +3 -1
- package/src/components/NumericInput/NumericInput.tsx +2 -2
- package/src/components/OverviewItem/OverviewItemActions.tsx +6 -5
- package/src/components/OverviewItem/OverviewItemDepiction.tsx +5 -3
- package/src/components/OverviewItem/OverviewItemDescription.tsx +4 -3
- package/src/components/OverviewItem/OverviewItemLine.tsx +8 -7
- package/src/components/OverviewItem/OverviewItemList.tsx +12 -13
- package/src/components/OverviewItem/index.tsx +6 -6
- package/src/components/OverviewItem/stories/OverviewItem.stories.tsx +36 -29
- package/src/components/OverviewItem/stories/OverviewItemActions.stories.tsx +16 -21
- package/src/components/OverviewItem/stories/OverviewItemDepiction.stories.tsx +22 -18
- package/src/components/OverviewItem/stories/OverviewItemDescription.stories.tsx +25 -22
- package/src/components/OverviewItem/stories/OverviewItemLine.stories.tsx +15 -17
- package/src/components/OverviewItem/stories/OverviewItemList.stories.tsx +13 -19
- package/src/components/Pagination/Pagination.tsx +26 -20
- package/src/components/Pagination/Stories/Pagination.stories.tsx +16 -18
- package/src/components/ProgressBar/ProgressBar.tsx +1 -4
- package/src/components/ProgressBar/Stories/ProgressBar.stories.tsx +10 -14
- package/src/components/PropertyValuePair/PropertyValueList.tsx +3 -2
- package/src/components/PropertyValuePair/index.tsx +1 -1
- package/src/components/RadioButton/RadioButton.tsx +6 -17
- package/src/components/RadioButton/Stories/RadioButton.stories.tsx +17 -14
- package/src/components/RadioButton/radiobutton.scss +1 -3
- package/src/components/Select/Select.tsx +51 -12
- package/src/components/Separation/Divider.tsx +3 -1
- package/src/components/Separation/Stories/Divider.stories.tsx +9 -10
- package/src/components/Separation/Stories/Spacing.stories.tsx +11 -10
- package/src/components/Separation/separation.scss +7 -7
- package/src/components/Spinner/Spinner.tsx +22 -22
- package/src/components/Spinner/Stories/spinner.stories.tsx +10 -9
- package/src/components/Spinner/spinner.scss +9 -13
- package/src/components/Structure/Section.tsx +7 -9
- package/src/components/Structure/SectionHeader.tsx +7 -9
- package/src/components/Structure/TitleMainsection.tsx +8 -17
- package/src/components/Structure/TitlePage.tsx +8 -17
- package/src/components/Structure/TitleSubsection.tsx +5 -9
- package/src/components/Structure/_titles.scss +3 -5
- package/src/components/Switch/Stories/Switch.stories.tsx +12 -14
- package/src/components/Switch/Switch.tsx +8 -14
- package/src/components/Table/Table.tsx +16 -15
- package/src/components/Table/TableContainer.tsx +11 -15
- package/src/components/Table/TableExpandRow.tsx +18 -25
- package/src/components/Table/TableRow.tsx +4 -12
- package/src/components/Table/index.tsx +1 -6
- package/src/components/Tabs/Tab.tsx +22 -21
- package/src/components/Tabs/TabPanel.tsx +8 -13
- package/src/components/Tabs/TabTitle.tsx +6 -5
- package/src/components/Tabs/Tabs.tsx +40 -28
- package/src/components/Tabs/stories/Tab.stories.tsx +7 -13
- package/src/components/Tabs/stories/TabPanel.stories.tsx +6 -8
- package/src/components/Tabs/stories/TabTitle.stories.tsx +8 -10
- package/src/components/Tabs/stories/Tabs.stories.tsx +5 -6
- package/src/components/Tabs/tabs.scss +15 -11
- package/src/components/Tag/Tag.tsx +30 -39
- package/src/components/Tag/TagList.tsx +13 -33
- package/src/components/Tag/stories/Tag.stories.tsx +5 -5
- package/src/components/Tag/stories/TagList.stories.tsx +5 -11
- package/src/components/Tag/tag.scss +47 -46
- package/src/components/TextField/SearchField.tsx +48 -49
- package/src/components/TextField/TextArea.tsx +52 -50
- package/src/components/TextField/TextField.tsx +126 -115
- package/src/components/TextField/stories/SearchField.stories.tsx +21 -25
- package/src/components/TextField/stories/TextArea.stories.tsx +5 -7
- package/src/components/TextField/textfield.scss +17 -7
- package/src/components/Toolbar/Toolbar.stories.tsx +13 -12
- package/src/components/Toolbar/Toolbar.tsx +14 -13
- package/src/components/Toolbar/ToolbarSection.tsx +17 -16
- package/src/components/Toolbar/toolbar.scss +4 -6
- package/src/components/Tooltip/Tooltip.stories.tsx +20 -22
- package/src/components/Tooltip/Tooltip.tsx +14 -14
- package/src/components/Tooltip/tooltip.scss +2 -1
- package/src/components/Tree/Tree.stories.tsx +19 -11
- package/src/components/Tree/Tree.tsx +3 -3
- package/src/components/Tree/tree.scss +1 -1
- package/src/components/Typography/Highlighter.tsx +6 -7
- package/src/components/Typography/HtmlContentBlock.tsx +4 -2
- package/src/components/Typography/OverflowText.tsx +8 -7
- package/src/components/Typography/WhiteSpaceContainer.tsx +12 -11
- package/src/components/Typography/_reset.scss +4 -4
- package/src/components/Typography/index.ts +1 -1
- package/src/components/Typography/stories/WhiteSpaceContainer.stories.tsx +26 -23
- package/src/components/Typography/typography.scss +25 -19
- package/src/components/Workspace/WorkspaceContent.tsx +8 -13
- package/src/components/Workspace/WorkspaceHeader.tsx +5 -4
- package/src/components/Workspace/WorkspaceMain.tsx +4 -2
- package/src/components/Workspace/WorkspaceSide.tsx +9 -7
- package/src/components/Workspace/_header.scss +1 -1
- package/src/components/Workspace/workspace.scss +2 -2
- package/src/components/index.scss +1 -1
- package/src/components/interfaces.ts +3 -3
- package/src/configuration/constants.ts +1 -1
- package/src/extensions/_index.scss +1 -0
- package/src/extensions/codemirror/CodeMirror.stories.tsx +4 -6
- package/src/extensions/codemirror/CodeMirror.tsx +27 -1
- package/src/extensions/codemirror/_codemirror.scss +15 -1
- package/src/extensions/react-flow/_config.scss +0 -3
- package/src/extensions/react-flow/edges/EdgeDefault.tsx +73 -91
- package/src/extensions/react-flow/edges/EdgeStep.tsx +7 -10
- package/src/extensions/react-flow/edges/EdgeTools.tsx +21 -28
- package/src/extensions/react-flow/edges/getSmoothStepPath.ts +2 -2
- package/src/extensions/react-flow/edges/stories/EdgeLabel.stories.tsx +19 -13
- package/src/extensions/react-flow/edges/utils.ts +49 -25
- package/src/extensions/react-flow/handles/HandleTools.tsx +1 -1
- package/src/extensions/react-flow/markers/ReactFlowMarkers.tsx +1 -5
- package/src/extensions/react-flow/minimap/MiniMap.tsx +96 -89
- package/src/extensions/react-flow/minimap/_minimap.scss +2 -2
- package/src/extensions/react-flow/minimap/utils.ts +8 -5
- package/src/extensions/react-flow/nodes/NodeContentExtension.tsx +33 -35
- package/src/extensions/react-flow/nodes/NodeDefault.tsx +42 -39
- package/src/extensions/react-flow/nodes/NodeTools.tsx +51 -52
- package/src/extensions/react-flow/nodes/nodeUtils.tsx +1 -1
- package/src/extensions/react-flow/nodes/stories/NodeContentExtension.stories.tsx +13 -8
- package/src/extensions/react-flow/versionsupport.ts +3 -3
- package/src/includes/blueprintjs/_requisits.scss +1 -0
- package/src/includes/blueprintjs/_variables.scss +6 -3
- package/src/includes/carbon-components/_requisits.scss +2 -0
- package/src/includes/carbon-components/_variables.scss +1 -4
- package/src/index.scss +4 -0
- package/src/index.ts +4 -1
- package/src/legacy-replacements/Button/AffirmativeButton.tsx +4 -9
- package/src/legacy-replacements/Button/Button.tsx +21 -16
- package/src/legacy-replacements/Button/DismissiveButton.tsx +4 -9
- package/src/legacy-replacements/Button/DisruptiveButton.tsx +4 -9
- package/src/legacy-replacements/Checkbox/Checkbox.tsx +8 -5
- package/src/legacy-replacements/Radio/RadioButton.tsx +9 -12
- package/src/legacy-replacements/Tabs/Tabs.stories.tsx +5 -7
- package/src/legacy-replacements/Tabs/Tabs.tsx +21 -39
- package/src/legacy-replacements/TextField/TextField.tsx +18 -23
- package/src/test/setupTests.js +11 -12
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
2
3
|
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
3
4
|
|
|
4
5
|
export interface CardContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -14,19 +15,14 @@ export interface CardContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
14
15
|
* Holds the card content.
|
|
15
16
|
* Display scrollbars in case there is not enough space for it.
|
|
16
17
|
*/
|
|
17
|
-
export const CardContent = ({
|
|
18
|
-
children,
|
|
19
|
-
className='',
|
|
20
|
-
noFlexHeight,
|
|
21
|
-
...otherProps
|
|
22
|
-
}: CardContentProps) => {
|
|
18
|
+
export const CardContent = ({ children, className = "", noFlexHeight, ...otherProps }: CardContentProps) => {
|
|
23
19
|
return (
|
|
24
20
|
<div
|
|
25
21
|
{...otherProps}
|
|
26
22
|
className={
|
|
27
23
|
`${eccgui}-card__content` +
|
|
28
24
|
(noFlexHeight ? ` ${eccgui}-card__content--noflexheight` : "") +
|
|
29
|
-
(
|
|
25
|
+
(className ? ` ${className}` : "")
|
|
30
26
|
}
|
|
31
27
|
>
|
|
32
28
|
{children}
|
|
@@ -1,27 +1,19 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
3
|
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
import OverviewItemActions, { OverviewItemActionsProps } from "./../OverviewItem/OverviewItemActions";
|
|
6
|
+
|
|
7
|
+
export type CardOptionsProps = Omit<OverviewItemActionsProps, "hiddenInteractions">;
|
|
6
8
|
|
|
7
9
|
/**
|
|
8
10
|
* Container for elements that allow user-interaction, e.g. buttons or context menus.
|
|
9
11
|
* Can contain multiple of them.
|
|
10
12
|
* Is displayed right-aligned in the `CardHeader`.
|
|
11
13
|
*/
|
|
12
|
-
export const CardOptions = ({
|
|
13
|
-
children,
|
|
14
|
-
className='',
|
|
15
|
-
...otherProps
|
|
16
|
-
}: CardOptionsProps) => {
|
|
14
|
+
export const CardOptions = ({ children, className = "", ...otherProps }: CardOptionsProps) => {
|
|
17
15
|
return (
|
|
18
|
-
<OverviewItemActions
|
|
19
|
-
{...otherProps}
|
|
20
|
-
className={
|
|
21
|
-
`${eccgui}-card__options` +
|
|
22
|
-
(className ? ' ' + className : '')
|
|
23
|
-
}
|
|
24
|
-
>
|
|
16
|
+
<OverviewItemActions {...otherProps} className={`${eccgui}-card__options` + (className ? " " + className : "")}>
|
|
25
17
|
{children}
|
|
26
18
|
</OverviewItemActions>
|
|
27
19
|
);
|
|
@@ -1,29 +1,22 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
3
|
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
4
4
|
|
|
5
|
+
import OverviewItemLine, { OverviewItemLineProps } from "./../OverviewItem/OverviewItemLine";
|
|
6
|
+
|
|
5
7
|
export interface CardTitleProps extends Omit<OverviewItemLineProps, "small" | "large"> {
|
|
6
8
|
/**
|
|
7
9
|
* Use only normal font size instead of a large one.
|
|
8
10
|
*/
|
|
9
11
|
narrowed?: boolean;
|
|
10
|
-
}
|
|
12
|
+
}
|
|
11
13
|
|
|
12
14
|
/**
|
|
13
15
|
* Display a card title, can include other markup like `h2`, `h3` and so on to define document structure.
|
|
14
16
|
*/
|
|
15
|
-
export const CardTitle = ({
|
|
16
|
-
children,
|
|
17
|
-
className='',
|
|
18
|
-
narrowed=false,
|
|
19
|
-
...otherProps
|
|
20
|
-
}: CardTitleProps) => {
|
|
17
|
+
export const CardTitle = ({ children, className = "", narrowed = false, ...otherProps }: CardTitleProps) => {
|
|
21
18
|
return (
|
|
22
|
-
<OverviewItemLine
|
|
23
|
-
{...otherProps}
|
|
24
|
-
className={`${eccgui}-card__title ` + className}
|
|
25
|
-
large={!narrowed}
|
|
26
|
-
>
|
|
19
|
+
<OverviewItemLine {...otherProps} className={`${eccgui}-card__title ` + className} large={!narrowed}>
|
|
27
20
|
{children}
|
|
28
21
|
</OverviewItemLine>
|
|
29
22
|
);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
$card-padding: 0 !default;
|
|
2
2
|
$card-background-color: $white !default;
|
|
3
|
+
|
|
3
4
|
//$dark-card-background-color: $dark-gray4 !default;
|
|
4
5
|
|
|
5
6
|
$eccgui-size-card-spacing: $eccgui-size-typo-base !default;
|
|
@@ -9,8 +10,8 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
|
|
|
9
10
|
.#{$eccgui}-card {
|
|
10
11
|
display: flex;
|
|
11
12
|
flex-flow: column nowrap;
|
|
12
|
-
justify-content: flex-start;
|
|
13
13
|
align-items: stretch;
|
|
14
|
+
justify-content: flex-start;
|
|
14
15
|
|
|
15
16
|
&.#{$eccgui}-intent--primary {
|
|
16
17
|
background-color: mix($eccgui-color-primary, $card-background-color, 5%);
|
|
@@ -49,21 +50,24 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.#{$eccgui}-card__header {
|
|
52
|
-
padding: $eccgui-size-card-spacing * 0.5 $eccgui-size-card-spacing * 0.5 $eccgui-size-card-spacing * 0.5 $eccgui-size-card-spacing;
|
|
53
53
|
box-sizing: content-box;
|
|
54
54
|
flex-grow: 0;
|
|
55
55
|
flex-shrink: 0;
|
|
56
|
+
padding: $eccgui-size-card-spacing * 0.5 $eccgui-size-card-spacing * 0.5 $eccgui-size-card-spacing * 0.5
|
|
57
|
+
$eccgui-size-card-spacing;
|
|
56
58
|
|
|
57
59
|
.#{$eccgui}-card--whitespace-none > header > & {
|
|
58
|
-
padding: 0
|
|
60
|
+
padding: 0;
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
.#{$eccgui}-card--whitespace-small > header > & {
|
|
62
|
-
padding: $eccgui-size-card-spacing * 0.25 $eccgui-size-card-spacing * 0.25 $eccgui-size-card-spacing * 0.25
|
|
64
|
+
padding: $eccgui-size-card-spacing * 0.25 $eccgui-size-card-spacing * 0.25 $eccgui-size-card-spacing * 0.25
|
|
65
|
+
$eccgui-size-card-spacing * 0.5;
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
.#{$eccgui}-card--whitespace-large > header > & {
|
|
66
|
-
padding: $eccgui-size-card-spacing $eccgui-size-card-spacing $eccgui-size-card-spacing $eccgui-size-card-spacing *
|
|
69
|
+
padding: $eccgui-size-card-spacing $eccgui-size-card-spacing $eccgui-size-card-spacing $eccgui-size-card-spacing *
|
|
70
|
+
2;
|
|
67
71
|
}
|
|
68
72
|
}
|
|
69
73
|
|
|
@@ -102,17 +106,18 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
|
|
|
102
106
|
flex-shrink: 1;
|
|
103
107
|
|
|
104
108
|
.#{$ns}-button-text {
|
|
105
|
-
white-space: nowrap;
|
|
106
109
|
overflow: hidden;
|
|
107
110
|
text-overflow: ellipsis;
|
|
111
|
+
white-space: nowrap;
|
|
108
112
|
}
|
|
109
113
|
}
|
|
110
114
|
}
|
|
111
115
|
|
|
112
116
|
.#{$eccgui}-card__content {
|
|
113
|
-
padding: $eccgui-size-card-spacing * 0.5 $eccgui-size-card-spacing $eccgui-size-card-spacing $eccgui-size-card-spacing;
|
|
114
117
|
flex-grow: 1;
|
|
115
118
|
flex-shrink: 1;
|
|
119
|
+
padding: $eccgui-size-card-spacing * 0.5 $eccgui-size-card-spacing $eccgui-size-card-spacing
|
|
120
|
+
$eccgui-size-card-spacing;
|
|
116
121
|
overflow: auto;
|
|
117
122
|
|
|
118
123
|
.#{$eccgui}-card--whitespace-none > & {
|
|
@@ -120,11 +125,13 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
|
|
|
120
125
|
}
|
|
121
126
|
|
|
122
127
|
.#{$eccgui}-card--whitespace-small > & {
|
|
123
|
-
padding: $eccgui-size-card-spacing * 0.25 $eccgui-size-card-spacing * 0.5 $eccgui-size-card-spacing * 0.5
|
|
128
|
+
padding: $eccgui-size-card-spacing * 0.25 $eccgui-size-card-spacing * 0.5 $eccgui-size-card-spacing * 0.5
|
|
129
|
+
$eccgui-size-card-spacing * 0.5;
|
|
124
130
|
}
|
|
125
131
|
|
|
126
132
|
.#{$eccgui}-card--whitespace-large > & {
|
|
127
|
-
padding: $eccgui-size-card-spacing $eccgui-size-card-spacing * 2 $eccgui-size-card-spacing * 2
|
|
133
|
+
padding: $eccgui-size-card-spacing $eccgui-size-card-spacing * 2 $eccgui-size-card-spacing * 2
|
|
134
|
+
$eccgui-size-card-spacing * 2;
|
|
128
135
|
}
|
|
129
136
|
|
|
130
137
|
.#{$eccgui}-separation__divider-horizontal + &,
|
|
@@ -151,12 +158,12 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
|
|
|
151
158
|
}
|
|
152
159
|
|
|
153
160
|
.#{$eccgui}-card__actions {
|
|
154
|
-
padding: $eccgui-size-card-spacing * 0.25 $eccgui-size-card-spacing;
|
|
155
|
-
flex-grow: 0;
|
|
156
|
-
flex-shrink: 0;
|
|
157
161
|
display: flex;
|
|
158
162
|
flex-flow: row wrap;
|
|
163
|
+
flex-grow: 0;
|
|
164
|
+
flex-shrink: 0;
|
|
159
165
|
align-items: center;
|
|
166
|
+
padding: $eccgui-size-card-spacing * 0.25 $eccgui-size-card-spacing;
|
|
160
167
|
|
|
161
168
|
.#{$eccgui}-card--whitespace-none > & {
|
|
162
169
|
padding: 0;
|
|
@@ -178,6 +185,7 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
|
|
|
178
185
|
&:not(:first-child) {
|
|
179
186
|
margin-left: $eccgui-size-card-spacing * 0.25;
|
|
180
187
|
}
|
|
188
|
+
|
|
181
189
|
&:not(:last-child) {
|
|
182
190
|
margin-right: $eccgui-size-card-spacing * 0.25;
|
|
183
191
|
}
|
|
@@ -187,6 +195,7 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
|
|
|
187
195
|
&:not(:first-child) {
|
|
188
196
|
margin-right: $eccgui-size-card-spacing * 0.25;
|
|
189
197
|
}
|
|
198
|
+
|
|
190
199
|
&:not(:last-child) {
|
|
191
200
|
margin-left: $eccgui-size-card-spacing * 0.25;
|
|
192
201
|
}
|
|
@@ -211,12 +220,12 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
|
|
|
211
220
|
}
|
|
212
221
|
|
|
213
222
|
.#{$eccgui}-card__actions__aux {
|
|
214
|
-
order: 1000;
|
|
215
|
-
flex-grow: 1;
|
|
216
223
|
display: flex;
|
|
217
224
|
flex-flow: row wrap;
|
|
218
|
-
|
|
225
|
+
flex-grow: 1;
|
|
219
226
|
align-items: center;
|
|
227
|
+
justify-content: flex-end;
|
|
228
|
+
order: 1000;
|
|
220
229
|
margin: 0;
|
|
221
230
|
|
|
222
231
|
& > * {
|
|
@@ -227,6 +236,7 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
|
|
|
227
236
|
&:not(:first-child) {
|
|
228
237
|
margin-left: $eccgui-size-card-spacing * 0.25;
|
|
229
238
|
}
|
|
239
|
+
|
|
230
240
|
&:not(:last-child) {
|
|
231
241
|
margin-right: $eccgui-size-card-spacing * 0.25;
|
|
232
242
|
}
|
|
@@ -236,6 +246,7 @@ $eccgui-size-card-spacing: $eccgui-size-typo-base !default;
|
|
|
236
246
|
&:not(:first-child) {
|
|
237
247
|
margin-right: $eccgui-size-card-spacing * 0.25;
|
|
238
248
|
}
|
|
249
|
+
|
|
239
250
|
&:not(:last-child) {
|
|
240
251
|
margin-left: $eccgui-size-card-spacing * 0.25;
|
|
241
252
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
1
|
+
export * from "./Card";
|
|
2
|
+
export * from "./CardHeader";
|
|
3
|
+
export * from "./CardTitle";
|
|
4
|
+
export * from "./CardOptions";
|
|
5
|
+
export * from "./CardContent";
|
|
6
|
+
export * from "./CardActions";
|
|
7
|
+
export * from "./CardActionsAux";
|
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
Card,
|
|
7
|
-
CardContent,
|
|
8
|
-
CardTitle,
|
|
9
|
-
CardOptions,
|
|
10
|
-
CardActions,
|
|
11
|
-
Divider,
|
|
12
|
-
} from "../../../../index";
|
|
4
|
+
import { helpersArgTypes } from "../../../../.storybook/helpers";
|
|
5
|
+
import { Card, CardActions, CardContent, CardHeader, CardOptions, CardTitle, Divider } from "../../../../index";
|
|
13
6
|
|
|
14
|
-
import { Default as CardHeaderExample } from "./CardHeader.stories";
|
|
15
|
-
import { Default as CardContentExample } from "./CardContent.stories";
|
|
16
7
|
import { Default as CardActionsExample } from "./CardActions.stories";
|
|
17
|
-
import {
|
|
8
|
+
import { Default as CardContentExample } from "./CardContent.stories";
|
|
9
|
+
import { Default as CardHeaderExample } from "./CardHeader.stories";
|
|
18
10
|
|
|
19
11
|
export default {
|
|
20
12
|
title: "Components/Card",
|
|
@@ -35,8 +27,8 @@ export default {
|
|
|
35
27
|
},
|
|
36
28
|
children: {
|
|
37
29
|
control: "none",
|
|
38
|
-
description: "Elements to include into the card container."
|
|
39
|
-
}
|
|
30
|
+
description: "Elements to include into the card container.",
|
|
31
|
+
},
|
|
40
32
|
},
|
|
41
33
|
} as ComponentMeta<typeof Card>;
|
|
42
34
|
|
|
@@ -51,13 +43,15 @@ const TemplateFull: ComponentStory<typeof Card> = (args) => (
|
|
|
51
43
|
);
|
|
52
44
|
export const FullExample = TemplateFull.bind({});
|
|
53
45
|
|
|
54
|
-
const TemplateSimple: ComponentStory<typeof Card> = (args) =>
|
|
55
|
-
<Card {...args} />
|
|
56
|
-
);
|
|
46
|
+
const TemplateSimple: ComponentStory<typeof Card> = (args) => <Card {...args} />;
|
|
57
47
|
export const SimpleCard = TemplateSimple.bind({});
|
|
58
48
|
SimpleCard.args = {
|
|
59
49
|
children: [
|
|
60
|
-
<CardHeader key="1"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
50
|
+
<CardHeader key="1">
|
|
51
|
+
<CardTitle>Simple card</CardTitle>
|
|
52
|
+
</CardHeader>,
|
|
53
|
+
<CardContent key="2">
|
|
54
|
+
A card do not always need dividers between its components, and also action buttons are not mandatory
|
|
55
|
+
</CardContent>,
|
|
56
|
+
],
|
|
57
|
+
};
|
|
@@ -1,41 +1,37 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import {
|
|
5
|
-
CardActions,
|
|
6
|
-
CardActionsAux,
|
|
7
|
-
} from "../index";
|
|
2
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
8
3
|
|
|
9
4
|
import Button from "../../Button/Button";
|
|
5
|
+
import { CardActions, CardActionsAux } from "../index";
|
|
10
6
|
|
|
11
|
-
import { Default as CardTitleExample } from "./CardTitle.stories";
|
|
12
7
|
import { Default as CardOptionsExample } from "./CardOptions.stories";
|
|
8
|
+
import { Default as CardTitleExample } from "./CardTitle.stories";
|
|
13
9
|
|
|
14
10
|
export default {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
11
|
+
title: "Components/Card/CardActions",
|
|
12
|
+
component: CardActions,
|
|
13
|
+
subcomponents: {
|
|
14
|
+
CardActionsAux,
|
|
15
|
+
},
|
|
16
|
+
argTypes: {
|
|
17
|
+
children: {
|
|
18
|
+
control: "none",
|
|
19
|
+
description: "Elements to include into the actions container.",
|
|
20
|
+
},
|
|
21
|
+
},
|
|
26
22
|
} as ComponentMeta<typeof CardActions>;
|
|
27
23
|
|
|
28
|
-
const Template: ComponentStory<typeof CardActions> = (args) =>
|
|
29
|
-
<CardActions {...args} />
|
|
30
|
-
);
|
|
24
|
+
const Template: ComponentStory<typeof CardActions> = (args) => <CardActions {...args} />;
|
|
31
25
|
|
|
32
26
|
export const Default = Template.bind({});
|
|
33
27
|
Default.args = {
|
|
34
28
|
children: [
|
|
35
|
-
<Button affirmative key={"1"}>
|
|
29
|
+
<Button affirmative key={"1"}>
|
|
30
|
+
Main action
|
|
31
|
+
</Button>,
|
|
36
32
|
<Button key={"2"}>Cancel</Button>,
|
|
37
33
|
<CardActionsAux key={"3"}>
|
|
38
34
|
<Button outlined>Other action</Button>
|
|
39
|
-
</CardActionsAux
|
|
35
|
+
</CardActionsAux>,
|
|
40
36
|
],
|
|
41
|
-
}
|
|
37
|
+
};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import HtmlContentBlock from "../../../components/Typography/HtmlContentBlock";
|
|
2
|
+
import { LoremIpsum } from "react-lorem-ipsum";
|
|
3
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
5
4
|
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
} from "../index";
|
|
5
|
+
import HtmlContentBlock from "../../../components/Typography/HtmlContentBlock";
|
|
6
|
+
import { CardContent } from "../index";
|
|
9
7
|
|
|
10
8
|
export default {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
title: "Components/Card/CardContent",
|
|
10
|
+
component: CardContent,
|
|
11
|
+
argTypes: {
|
|
12
|
+
children: {
|
|
13
|
+
control: "none",
|
|
14
|
+
description: "Elements for card content.",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
19
17
|
} as ComponentMeta<typeof CardContent>;
|
|
20
18
|
|
|
21
|
-
const Template: ComponentStory<typeof CardContent> = (args) =>
|
|
22
|
-
<CardContent {...args} />
|
|
23
|
-
);
|
|
19
|
+
const Template: ComponentStory<typeof CardContent> = (args) => <CardContent {...args} />;
|
|
24
20
|
|
|
25
21
|
export const Default = Template.bind({});
|
|
26
22
|
Default.args = {
|
|
27
|
-
children:
|
|
28
|
-
|
|
23
|
+
children: (
|
|
24
|
+
<HtmlContentBlock>
|
|
25
|
+
<LoremIpsum p={2} avgSentencesPerParagraph={4} random={false} />
|
|
26
|
+
</HtmlContentBlock>
|
|
27
|
+
),
|
|
28
|
+
};
|
|
@@ -1,38 +1,29 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
CardHeader,
|
|
6
|
-
CardTitle,
|
|
7
|
-
CardOptions,
|
|
8
|
-
} from "../index";
|
|
4
|
+
import { CardHeader, CardOptions, CardTitle } from "../index";
|
|
9
5
|
|
|
10
|
-
import { Default as CardTitleExample } from "./CardTitle.stories";
|
|
11
6
|
import { Default as CardOptionsExample } from "./CardOptions.stories";
|
|
7
|
+
import { Default as CardTitleExample } from "./CardTitle.stories";
|
|
12
8
|
|
|
13
9
|
export default {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
title: "Components/Card/CardHeader",
|
|
11
|
+
component: CardHeader,
|
|
12
|
+
subcomponents: {
|
|
13
|
+
CardTitle,
|
|
14
|
+
CardOptions,
|
|
15
|
+
},
|
|
16
|
+
argTypes: {
|
|
17
|
+
children: {
|
|
18
|
+
control: "none",
|
|
19
|
+
description: "Elements to include into the header.",
|
|
20
|
+
},
|
|
21
|
+
},
|
|
26
22
|
} as ComponentMeta<typeof CardHeader>;
|
|
27
23
|
|
|
28
|
-
const Template: ComponentStory<typeof CardHeader> = (args) =>
|
|
29
|
-
<CardHeader {...args} />
|
|
30
|
-
);
|
|
24
|
+
const Template: ComponentStory<typeof CardHeader> = (args) => <CardHeader {...args} />;
|
|
31
25
|
|
|
32
26
|
export const Default = Template.bind({});
|
|
33
27
|
Default.args = {
|
|
34
|
-
children: [
|
|
35
|
-
|
|
36
|
-
<CardOptions {...CardOptionsExample.args} key="2" />
|
|
37
|
-
],
|
|
38
|
-
}
|
|
28
|
+
children: [<CardTitle {...CardTitleExample.args} key="1" />, <CardOptions {...CardOptionsExample.args} key="2" />],
|
|
29
|
+
};
|
|
@@ -1,27 +1,23 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
import IconButton from "../../Icon/IconButton";
|
|
2
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
4
3
|
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
} from "../index";
|
|
4
|
+
import IconButton from "../../Icon/IconButton";
|
|
5
|
+
import { CardOptions } from "../index";
|
|
8
6
|
|
|
9
7
|
export default {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
title: "Components/Card/CardOptions",
|
|
9
|
+
component: CardOptions,
|
|
10
|
+
argTypes: {
|
|
11
|
+
children: {
|
|
12
|
+
control: "none",
|
|
13
|
+
description: "Elements for user-interaction.",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
18
16
|
} as ComponentMeta<typeof CardOptions>;
|
|
19
17
|
|
|
20
|
-
const Template: ComponentStory<typeof CardOptions> = (args) =>
|
|
21
|
-
<CardOptions {...args} />
|
|
22
|
-
);
|
|
18
|
+
const Template: ComponentStory<typeof CardOptions> = (args) => <CardOptions {...args} />;
|
|
23
19
|
|
|
24
20
|
export const Default = Template.bind({});
|
|
25
21
|
Default.args = {
|
|
26
|
-
children: <IconButton name="item-question" onClick={() => alert("Some action is triggered")}
|
|
27
|
-
}
|
|
22
|
+
children: <IconButton name="item-question" onClick={() => alert("Some action is triggered")} />,
|
|
23
|
+
};
|
|
@@ -1,27 +1,23 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
3
3
|
|
|
4
|
-
import {
|
|
5
|
-
CardTitle,
|
|
6
|
-
} from "../index";
|
|
4
|
+
import { CardTitle } from "../index";
|
|
7
5
|
|
|
8
6
|
export default {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
7
|
+
title: "Components/Card/CardTitle",
|
|
8
|
+
component: CardTitle,
|
|
9
|
+
argTypes: {
|
|
10
|
+
children: {
|
|
11
|
+
control: "none",
|
|
12
|
+
description: "Elements for card title.",
|
|
13
|
+
},
|
|
14
|
+
},
|
|
17
15
|
} as ComponentMeta<typeof CardTitle>;
|
|
18
16
|
|
|
19
|
-
const Template: ComponentStory<typeof CardTitle> = (args) =>
|
|
20
|
-
<CardTitle {...args} />
|
|
21
|
-
);
|
|
17
|
+
const Template: ComponentStory<typeof CardTitle> = (args) => <CardTitle {...args} />;
|
|
22
18
|
|
|
23
19
|
export const Default = Template.bind({});
|
|
24
20
|
Default.args = {
|
|
25
21
|
narrowed: false,
|
|
26
22
|
children: <h2>Card title</h2>,
|
|
27
|
-
}
|
|
23
|
+
};
|
|
@@ -1,24 +1,13 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
CheckboxProps as BlueprintCheckboxProps
|
|
5
|
-
} from "@blueprintjs/core";
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Checkbox as BlueprintCheckbox, CheckboxProps as BlueprintCheckboxProps } from "@blueprintjs/core";
|
|
3
|
+
|
|
6
4
|
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
7
5
|
|
|
8
|
-
export
|
|
9
|
-
// currently we do not alter it
|
|
10
|
-
};
|
|
6
|
+
export type CheckboxProps = BlueprintCheckboxProps;
|
|
11
7
|
|
|
12
|
-
export const Checkbox = ({
|
|
13
|
-
children,
|
|
14
|
-
className='',
|
|
15
|
-
...restProps
|
|
16
|
-
}: CheckboxProps) => {
|
|
8
|
+
export const Checkbox = ({ children, className = "", ...restProps }: CheckboxProps) => {
|
|
17
9
|
return (
|
|
18
|
-
<BlueprintCheckbox
|
|
19
|
-
{...restProps}
|
|
20
|
-
className={`${eccgui}-checkbox ` + className}
|
|
21
|
-
>
|
|
10
|
+
<BlueprintCheckbox {...restProps} className={`${eccgui}-checkbox ` + className}>
|
|
22
11
|
{children}
|
|
23
12
|
</BlueprintCheckbox>
|
|
24
13
|
);
|
|
@@ -1,30 +1,33 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { LoremIpsum } from "react-lorem-ipsum";
|
|
3
|
+
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
|
4
|
+
|
|
3
5
|
import { Checkbox, HtmlContentBlock } from "../../../../index";
|
|
4
|
-
import { LoremIpsum } from 'react-lorem-ipsum';
|
|
5
6
|
|
|
6
7
|
export default {
|
|
7
8
|
title: "Forms/Checkbox",
|
|
8
|
-
component:
|
|
9
|
+
component: Checkbox,
|
|
9
10
|
argTypes: {
|
|
10
|
-
onChange
|
|
11
|
+
onChange: { action: "clicked" },
|
|
11
12
|
},
|
|
12
|
-
} as ComponentMeta<typeof Checkbox
|
|
13
|
+
} as ComponentMeta<typeof Checkbox>;
|
|
13
14
|
|
|
14
|
-
const Template:ComponentStory<typeof Checkbox>
|
|
15
|
-
<Checkbox {...args} />
|
|
16
|
-
);
|
|
15
|
+
const Template: ComponentStory<typeof Checkbox> = (args) => <Checkbox {...args} />;
|
|
17
16
|
|
|
18
17
|
export const SimpleTextLabel = Template.bind({});
|
|
19
18
|
SimpleTextLabel.args = {
|
|
20
|
-
label
|
|
21
|
-
inline
|
|
19
|
+
label: "Checkbox label",
|
|
20
|
+
inline: true,
|
|
22
21
|
};
|
|
23
22
|
|
|
24
23
|
export const ElementsAsLabel = Template.bind({});
|
|
25
24
|
ElementsAsLabel.args = {
|
|
26
25
|
...SimpleTextLabel.args,
|
|
27
|
-
label
|
|
28
|
-
inline
|
|
29
|
-
children:
|
|
26
|
+
label: undefined,
|
|
27
|
+
inline: false,
|
|
28
|
+
children: (
|
|
29
|
+
<HtmlContentBlock>
|
|
30
|
+
<LoremIpsum p={3} avgSentencesPerParagraph={3} random={false} />
|
|
31
|
+
</HtmlContentBlock>
|
|
32
|
+
),
|
|
30
33
|
};
|