@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,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { OverviewItemProps } from "./../OverviewItem/OverviewItem";
|
|
3
3
|
export interface CardHeaderProps extends Omit<OverviewItemProps, "densityHigh" | "hasSpacing"> {
|
|
4
|
-
children: JSX.Element | (JSX.Element | undefined | null)[] | null | undefined;
|
|
4
|
+
children: React.JSX.Element | (React.JSX.Element | undefined | null)[] | null | undefined;
|
|
5
5
|
}
|
|
6
6
|
export declare const CardHeader: ({ children, className, ...otherProps }: CardHeaderProps) => React.JSX.Element;
|
|
7
7
|
export default CardHeader;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import Color from "color";
|
|
3
|
+
import { getEnabledColorsProps } from "../../common/utils/colorHash";
|
|
4
|
+
import { TextFieldProps } from "../TextField";
|
|
5
|
+
type ColorPresets = [string, string][] | [string, Color][];
|
|
6
|
+
type ColorPresetConfiguration = Pick<getEnabledColorsProps, "includeColorWeight" | "includePaletteGroup">;
|
|
7
|
+
export interface ColorFieldProps extends Omit<TextFieldProps, "invisibleCharacterWarning"> {
|
|
8
|
+
/**
|
|
9
|
+
* Any color can be selected, not only from the color presets.
|
|
10
|
+
*/
|
|
11
|
+
allowCustomColor?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* List of named colors that are used a selectable color options.
|
|
14
|
+
*/
|
|
15
|
+
colorPresets?: ColorPresets;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Color input field that provides resets from the configured color palette.
|
|
19
|
+
* Use `includeColorWeight` and `includePaletteGroup` to filter them.
|
|
20
|
+
*/
|
|
21
|
+
export declare const ColorField: {
|
|
22
|
+
({ className, allowCustomColor, colorPresets, defaultValue, value, onChange, fullWidth, ...otherTextFieldProps }: ColorFieldProps): React.JSX.Element;
|
|
23
|
+
listColorPalettePresets: (colorPaletteSet?: ColorPresetConfiguration) => ColorPresets;
|
|
24
|
+
/**
|
|
25
|
+
* Simple helper function that provide simple access to color hash calculation.
|
|
26
|
+
*/
|
|
27
|
+
calculateColorHashValue(text: string, options?: calculateColorHashValueProps): string | undefined;
|
|
28
|
+
};
|
|
29
|
+
type calculateColorHashValueProps = Pick<ColorFieldProps, "allowCustomColor"> & ColorPresetConfiguration;
|
|
30
|
+
export default ColorField;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { StickyTargetProps } from "../../components";
|
|
2
3
|
import { TestableComponent } from "../../components/interfaces";
|
|
3
|
-
import { StickyTargetProps } from "../index";
|
|
4
4
|
export interface ContentGroupProps extends Omit<React.HTMLAttributes<HTMLElement>, "title">, TestableComponent {
|
|
5
5
|
/**
|
|
6
6
|
* Title of the content group.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ValidIconName } from "../Icon/canonicalIconNames";
|
|
3
|
+
import { IconButtonProps } from "../Icon/IconButton";
|
|
3
4
|
import { TestableComponent } from "../interfaces";
|
|
4
5
|
import { ContextOverlayProps } from "./ContextOverlay";
|
|
5
6
|
export interface ContextMenuProps extends TestableComponent {
|
|
@@ -11,19 +12,24 @@ export interface ContextMenuProps extends TestableComponent {
|
|
|
11
12
|
* The elements of the context menu.
|
|
12
13
|
* They will be wrapped in a `Menu` element automatically.
|
|
13
14
|
*/
|
|
14
|
-
children?: JSX.Element | JSX.Element[];
|
|
15
|
+
children?: React.JSX.Element | React.JSX.Element[];
|
|
15
16
|
/**
|
|
16
17
|
* Toggler that need to be used to display menu.
|
|
17
18
|
* If a valid icon name is used then the icon element is displayed.
|
|
18
19
|
* In this case `togglerText`, `togglerLarge` and `tooltipAsTitle` are used, too.
|
|
19
20
|
*/
|
|
20
|
-
togglerElement?: ValidIconName | JSX.Element;
|
|
21
|
+
togglerElement?: ValidIconName | React.JSX.Element;
|
|
21
22
|
/**
|
|
22
23
|
* Text displayed as title or tooltip on toggler element.
|
|
23
24
|
*/
|
|
24
25
|
togglerText?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Allow to de- and increase the size of the default toggler button.
|
|
28
|
+
*/
|
|
29
|
+
togglerSize?: IconButtonProps["size"];
|
|
25
30
|
/**
|
|
26
31
|
* Toggler element is displayed larger than normal.
|
|
32
|
+
* @deprecated (v26) use `togglerSize="large" instead
|
|
27
33
|
*/
|
|
28
34
|
togglerLarge?: boolean;
|
|
29
35
|
/**
|
|
@@ -47,5 +53,5 @@ export interface ContextMenuProps extends TestableComponent {
|
|
|
47
53
|
/**
|
|
48
54
|
* Element displays menu items after toggler is clicked.
|
|
49
55
|
*/
|
|
50
|
-
export declare const ContextMenu: ({ children, className, togglerElement, togglerText, contextOverlayProps, disabled, togglerLarge, tooltipAsTitle, preventPlaceholder, "data-test-id": dataTestId, "data-testid": dataTestid, ...restProps }: ContextMenuProps) => React.JSX.Element;
|
|
56
|
+
export declare const ContextMenu: ({ children, className, togglerElement, togglerText, contextOverlayProps, disabled, togglerLarge, togglerSize, tooltipAsTitle, preventPlaceholder, "data-test-id": dataTestId, "data-testid": dataTestid, ...restProps }: ContextMenuProps) => React.JSX.Element;
|
|
51
57
|
export default ContextMenu;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { PopoverProps as BlueprintPopoverProps } from "@blueprintjs/core";
|
|
3
|
+
import { WhiteSpaceContainerProps } from "../Typography";
|
|
3
4
|
export interface ContextOverlayProps extends Omit<BlueprintPopoverProps, "position"> {
|
|
4
5
|
/**
|
|
5
6
|
* `target` element to use as toggler for the overlay display.
|
|
6
7
|
*/
|
|
7
|
-
children?: JSX.Element;
|
|
8
|
+
children?: React.JSX.Element;
|
|
8
9
|
/**
|
|
9
10
|
* Type of counter property to `Modal.forceTopPosition`.
|
|
10
11
|
* Use it when you need to display modal dialogs out of the context overlay.
|
|
@@ -15,10 +16,15 @@ export interface ContextOverlayProps extends Omit<BlueprintPopoverProps, "positi
|
|
|
15
16
|
* Currently experimental.
|
|
16
17
|
*/
|
|
17
18
|
usePlaceholder?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Adds white space to each side of the overlay content.
|
|
21
|
+
* For more control use `WhiteSpaceContainer` directly as wrapper for the content children.
|
|
22
|
+
*/
|
|
23
|
+
paddingSize?: WhiteSpaceContainerProps["paddingTop"];
|
|
18
24
|
}
|
|
19
25
|
/**
|
|
20
26
|
* Element displays connected content by interacting with a target element.
|
|
21
27
|
* Full list of available option can be seen at https://blueprintjs.com/docs/#popover2-package/popover2
|
|
22
28
|
*/
|
|
23
|
-
export declare const ContextOverlay: ({ children, portalClassName, preventTopPosition, className, usePlaceholder, ...otherPopoverProps }: ContextOverlayProps) => React.JSX.Element | null;
|
|
29
|
+
export declare const ContextOverlay: ({ children, portalClassName, preventTopPosition, className, usePlaceholder, paddingSize, content, ...otherPopoverProps }: ContextOverlayProps) => React.JSX.Element | null;
|
|
24
30
|
export default ContextOverlay;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TooltipSize } from "../Tooltip/Tooltip";
|
|
3
|
+
import { TestableComponent } from "../interfaces";
|
|
4
|
+
import { ContextOverlayProps } from "../ContextOverlay";
|
|
5
|
+
export interface DecoupledOverlayProps extends React.HTMLAttributes<HTMLDivElement>, TestableComponent, Pick<ContextOverlayProps, "usePortal" | "portalContainer" | "placement" | "minimal" | "paddingSize"> {
|
|
6
|
+
/**
|
|
7
|
+
* Element that should be used. The step content is displayed as a tooltip instead of a modal.
|
|
8
|
+
* In case of an array, the first match is highlighted. */
|
|
9
|
+
targetSelectorOrElement: string | Element;
|
|
10
|
+
/**
|
|
11
|
+
* The size of the overlay.
|
|
12
|
+
* */
|
|
13
|
+
size?: TooltipSize;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Use an overlay popover without the necessity to use a target that need to be rendered in place.
|
|
17
|
+
* The target is referenced by a selector string or element object.
|
|
18
|
+
* It can exist somewhere in the DOM, but it must exist when the overlay is rendered.
|
|
19
|
+
* It is always displayed, close it by removement.
|
|
20
|
+
*/
|
|
21
|
+
export declare const DecoupledOverlay: ({ targetSelectorOrElement, usePortal, portalContainer, minimal, placement, size, paddingSize, children, }: DecoupledOverlayProps) => React.JSX.Element;
|
|
22
|
+
export default DecoupledOverlay;
|
|
@@ -24,7 +24,7 @@ export interface SimpleDialogProps extends ModalProps, TestableComponent {
|
|
|
24
24
|
/**
|
|
25
25
|
* Can contain elements actionable/non-actionable elements display right-aligned to the dialog title.
|
|
26
26
|
*/
|
|
27
|
-
headerOptions?: null | JSX.Element | JSX.Element[];
|
|
27
|
+
headerOptions?: null | React.JSX.Element | React.JSX.Element[];
|
|
28
28
|
/**
|
|
29
29
|
* If enabled neither closing via `esc` key or clicking outside of the component will work, except explicitly specified.
|
|
30
30
|
*/
|
|
@@ -21,7 +21,7 @@ export interface FieldItemProps extends React.HTMLAttributes<HTMLDivElement>, Te
|
|
|
21
21
|
* Text for user help.
|
|
22
22
|
* Is displayed between label and input element.
|
|
23
23
|
*/
|
|
24
|
-
helperText?: string | JSX.Element;
|
|
24
|
+
helperText?: string | React.JSX.Element;
|
|
25
25
|
/**
|
|
26
26
|
* Feedback notification.
|
|
27
27
|
* Is displayed below the included input element.
|
|
@@ -13,17 +13,17 @@ export interface FieldSetProps extends Omit<React.FieldsetHTMLAttributes<HTMLFie
|
|
|
13
13
|
/**
|
|
14
14
|
* Optional helper text. If given then it is displayed after the title.
|
|
15
15
|
*/
|
|
16
|
-
helperText?: string | JSX.Element;
|
|
16
|
+
helperText?: string | React.JSX.Element;
|
|
17
17
|
/**
|
|
18
18
|
* Optional notification text.
|
|
19
19
|
* If given then it is displayed before the fieldset content and is colored reagarding the set intent state.
|
|
20
20
|
*/
|
|
21
|
-
messageText?: string | JSX.Element;
|
|
21
|
+
messageText?: string | React.JSX.Element;
|
|
22
22
|
/**
|
|
23
23
|
* Optional title, set the fieldset legend and if given it is display on top, colored reagarding the set intent state.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
|
-
title?: string | JSX.Element;
|
|
26
|
+
title?: string | React.JSX.Element;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Displays a group of input elements.
|
|
@@ -7,12 +7,12 @@ export interface HoverTogglerProps extends Omit<React.HTMLAttributes<HTMLDivElem
|
|
|
7
7
|
/**
|
|
8
8
|
* The content that is shown when not hovered.
|
|
9
9
|
*/
|
|
10
|
-
baseContent: JSX.Element;
|
|
10
|
+
baseContent: React.JSX.Element;
|
|
11
11
|
baseContentProps?: Omit<React.HTMLAttributes<HTMLDivElement>, "children">;
|
|
12
12
|
/**
|
|
13
13
|
* The content that is shown when hovered.
|
|
14
14
|
*/
|
|
15
|
-
hoverContent: JSX.Element;
|
|
15
|
+
hoverContent: React.JSX.Element;
|
|
16
16
|
hoverContentProps?: Omit<React.HTMLAttributes<HTMLDivElement>, "children">;
|
|
17
17
|
/**
|
|
18
18
|
* Display as inline element.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ButtonProps } from "../Button/Button";
|
|
3
|
+
import { TestableComponent } from "../interfaces";
|
|
3
4
|
import { ValidIconName } from "./canonicalIconNames";
|
|
4
5
|
import { TestIconProps } from "./TestIcon";
|
|
5
|
-
import { TestableComponent } from "../interfaces";
|
|
6
6
|
interface ExtendedButtonProps extends Omit<ButtonProps, "name" | "icon" | "rightIcon" | "text" | "minimal" | "tooltip">, TestableComponent {
|
|
7
7
|
/**
|
|
8
8
|
* Canonical icon name, or an array of strings.
|
|
@@ -69,6 +69,8 @@ declare const canonicalIcons: {
|
|
|
69
69
|
"data-time": icons.CarbonIconType;
|
|
70
70
|
"data-datetime": icons.CarbonIconType;
|
|
71
71
|
"data-number": icons.CarbonIconType;
|
|
72
|
+
"data-sourceschema": icons.CarbonIconType;
|
|
73
|
+
"data-targetschema": icons.CarbonIconType;
|
|
72
74
|
"entity-human": icons.CarbonIconType;
|
|
73
75
|
"entity-robot": icons.CarbonIconType;
|
|
74
76
|
"item-add-artefact": icons.CarbonIconType;
|
|
@@ -128,14 +130,16 @@ declare const canonicalIcons: {
|
|
|
128
130
|
"navigation-right": icons.CarbonIconType;
|
|
129
131
|
"navigation-up": icons.CarbonIconType;
|
|
130
132
|
"operation-aggregation": icons.CarbonIconType;
|
|
133
|
+
"operation-ai-generate": icons.CarbonIconType;
|
|
131
134
|
"operation-autolayout": icons.CarbonIconType;
|
|
132
135
|
"operation-clear": icons.CarbonIconType;
|
|
133
136
|
"operation-commit": icons.CarbonIconType;
|
|
134
137
|
"operation-comparison": icons.CarbonIconType;
|
|
135
138
|
"operation-erase": icons.CarbonIconType;
|
|
139
|
+
"operation-filter": icons.CarbonIconType;
|
|
136
140
|
"operation-filteredit": icons.CarbonIconType;
|
|
137
141
|
"operation-filterremove": icons.CarbonIconType;
|
|
138
|
-
"operation-
|
|
142
|
+
"operation-filterreset": icons.CarbonIconType;
|
|
139
143
|
"operation-focus": icons.CarbonIconType;
|
|
140
144
|
"operation-format-codeblock": icons.CarbonIconType;
|
|
141
145
|
"operation-format-text-code": icons.CarbonIconType;
|
|
@@ -162,8 +166,10 @@ declare const canonicalIcons: {
|
|
|
162
166
|
"state-checked": icons.CarbonIconType;
|
|
163
167
|
"state-checkedsimple": icons.CarbonIconType;
|
|
164
168
|
"state-confirmed": icons.CarbonIconType;
|
|
169
|
+
"state-confirmed-all": icons.CarbonIconType;
|
|
165
170
|
"state-danger": icons.CarbonIconType;
|
|
166
171
|
"state-declined": icons.CarbonIconType;
|
|
172
|
+
"state-declined-all": icons.CarbonIconType;
|
|
167
173
|
"state-flagged": icons.CarbonIconType;
|
|
168
174
|
"state-info": icons.CarbonIconType;
|
|
169
175
|
"state-locked": icons.CarbonIconType;
|
|
@@ -198,6 +204,8 @@ declare const canonicalIcons: {
|
|
|
198
204
|
"toggler-star-filled": icons.CarbonIconType;
|
|
199
205
|
"toggler-table": icons.CarbonIconType;
|
|
200
206
|
"toggler-tree": icons.CarbonIconType;
|
|
207
|
+
"toggler-pin-empty": icons.CarbonIconType;
|
|
208
|
+
"toggler-pin-filled": icons.CarbonIconType;
|
|
201
209
|
"form-template": icons.CarbonIconType;
|
|
202
210
|
undefined: icons.CarbonIconType;
|
|
203
211
|
};
|
|
@@ -4,15 +4,15 @@ export interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement>
|
|
|
4
4
|
/**
|
|
5
5
|
* Label text.
|
|
6
6
|
*/
|
|
7
|
-
text?: string | JSX.Element;
|
|
7
|
+
text?: string | React.JSX.Element;
|
|
8
8
|
/**
|
|
9
9
|
* Short info about label semantic, it is displayed in parentesis after the label text.
|
|
10
10
|
*/
|
|
11
|
-
info?: string | JSX.Element;
|
|
11
|
+
info?: string | React.JSX.Element;
|
|
12
12
|
/**
|
|
13
13
|
* Additional tooltip, attached to an info icon that is displayed after the info.
|
|
14
14
|
*/
|
|
15
|
-
tooltip?: string | JSX.Element;
|
|
15
|
+
tooltip?: string | React.JSX.Element;
|
|
16
16
|
/**
|
|
17
17
|
* Additonal tooltip properties, e.g. `hoverOpenDelay`.
|
|
18
18
|
*/
|
|
@@ -11,7 +11,7 @@ export interface MenuItemProps extends Omit<BlueprintMenuItemProps, "icon" | "ch
|
|
|
11
11
|
/**
|
|
12
12
|
* Tooltip, but only added to the label, not to the full menu item.
|
|
13
13
|
*/
|
|
14
|
-
tooltip?: string | JSX.Element;
|
|
14
|
+
tooltip?: string | React.JSX.Element;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Single item, used as child inside `Menu`.
|
|
@@ -5,10 +5,11 @@ import { TestableComponent } from "../interfaces";
|
|
|
5
5
|
import { ContextOverlayProps } from "./../../index";
|
|
6
6
|
export interface MultiSuggestFieldSelectionProps<T> {
|
|
7
7
|
newlySelected?: T;
|
|
8
|
+
newlyRemoved?: T;
|
|
8
9
|
selectedItems: T[];
|
|
9
10
|
createdItems: Partial<T>[];
|
|
10
11
|
}
|
|
11
|
-
interface MultiSuggestFieldCommonProps<T> extends TestableComponent, Pick<BlueprintMultiSelectProps<T>, "items" | "placeholder" | "openOnKeyDown"
|
|
12
|
+
export interface MultiSuggestFieldCommonProps<T> extends TestableComponent, Pick<BlueprintMultiSelectProps<T>, "items" | "placeholder" | "openOnKeyDown" | "noResults" | "createNewItemRenderer">, Partial<Pick<BlueprintMultiSelectProps<T>, "itemRenderer">> {
|
|
12
13
|
/**
|
|
13
14
|
* Additional class name, space separated.
|
|
14
15
|
*/
|
|
@@ -39,7 +40,7 @@ interface MultiSuggestFieldCommonProps<T> extends TestableComponent, Pick<Bluepr
|
|
|
39
40
|
/**
|
|
40
41
|
* prop to listen for query changes, when text is entered in the multi-select input
|
|
41
42
|
*/
|
|
42
|
-
runOnQueryChange?: (query: string) => Promise<T[] | undefined
|
|
43
|
+
runOnQueryChange?: (query: string) => Promise<T[] | undefined> | (T[] | undefined);
|
|
43
44
|
/**
|
|
44
45
|
* Whether the component should take up the full width of its container.
|
|
45
46
|
* This overrides `tagInputProps.fill`.
|
|
@@ -56,9 +57,11 @@ interface MultiSuggestFieldCommonProps<T> extends TestableComponent, Pick<Bluepr
|
|
|
56
57
|
*/
|
|
57
58
|
newItemCreationText?: string;
|
|
58
59
|
/**
|
|
59
|
-
* Allows to
|
|
60
|
+
* Allows to create new item from a given query. If this is not provided then no new items can be created.
|
|
60
61
|
*/
|
|
61
62
|
createNewItemFromQuery?: (query: string) => T;
|
|
63
|
+
/** Validates if a new item can be created from the current query string. */
|
|
64
|
+
isValidNewOption?: (query: string) => boolean;
|
|
62
65
|
/**
|
|
63
66
|
* Items that were newly created and not taken from the list will be post-fixed with this string.
|
|
64
67
|
*/
|
|
@@ -87,9 +90,18 @@ interface MultiSuggestFieldCommonProps<T> extends TestableComponent, Pick<Bluepr
|
|
|
87
90
|
wrapperProps?: React.HTMLAttributes<HTMLDivElement>;
|
|
88
91
|
/**
|
|
89
92
|
* Function that allows us to filter values from the option list.
|
|
90
|
-
*
|
|
93
|
+
*
|
|
94
|
+
* @deprecated (v26) use `searchListPredicate` instead.
|
|
91
95
|
*/
|
|
92
96
|
searchPredicate?: (item: T, query: string) => boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Returns the filtered the search option list.
|
|
99
|
+
* By default, a case-insensitive multi-word filtering is applied.
|
|
100
|
+
*
|
|
101
|
+
* @param items The options.
|
|
102
|
+
* @param query The search query.
|
|
103
|
+
*/
|
|
104
|
+
searchListPredicate?: (items: T[], query: string) => T[];
|
|
93
105
|
/**
|
|
94
106
|
* Limits the height of the input target plus its dropdown menu when it is opened.
|
|
95
107
|
* Need to be a `number not greater than 100` (as `vh`, a unit describing a length relative to the viewport height) or `true` (equals 100).
|
|
@@ -120,7 +132,7 @@ export type MultiSuggestFieldProps<T> = MultiSuggestFieldCommonProps<T> & ({
|
|
|
120
132
|
*
|
|
121
133
|
* Attention: there may be another `MultiSelect` component in future but this will be a re-implemented `Select` like element allowing multiple selections.
|
|
122
134
|
*/
|
|
123
|
-
export declare function MultiSuggestField<T>({ items, selectedItems: externalSelectedItems, prePopulateWithItems, itemId, itemLabel, onSelection, contextOverlayProps, tagInputProps, inputProps, runOnQueryChange, fullWidth, noResultText, newItemCreationText, newItemPostfix, disabled, createNewItemFromQuery, requestDelay, clearQueryOnSelection, className, "data-test-id": dataTestId, "data-testid": dataTestid, wrapperProps, searchPredicate, limitHeightOpened, intent, ...otherMultiSelectProps }: MultiSuggestFieldProps<T>): React.JSX.Element;
|
|
135
|
+
export declare function MultiSuggestField<T>({ items, selectedItems: externalSelectedItems, prePopulateWithItems, itemId, itemLabel, onSelection, contextOverlayProps, tagInputProps, inputProps, runOnQueryChange, fullWidth, noResultText, newItemCreationText, newItemPostfix, disabled, createNewItemFromQuery, isValidNewOption, requestDelay, clearQueryOnSelection, className, "data-test-id": dataTestId, "data-testid": dataTestid, wrapperProps, searchPredicate, searchListPredicate, limitHeightOpened, intent, ...otherMultiSelectProps }: MultiSuggestFieldProps<T>): React.JSX.Element;
|
|
124
136
|
export declare namespace MultiSuggestField {
|
|
125
137
|
var ofType: typeof BlueprintMultiSelect.ofType;
|
|
126
138
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TagProps, TooltipProps } from "../../index";
|
|
3
|
+
import { TestableComponent } from "../interfaces";
|
|
4
|
+
export interface NotAvailableProps extends TestableComponent, Pick<TagProps, "icon" | "className">, Pick<TooltipProps, "intent"> {
|
|
5
|
+
/**
|
|
6
|
+
* Text displayed by the element.
|
|
7
|
+
*/
|
|
8
|
+
label?: TagProps["children"];
|
|
9
|
+
/**
|
|
10
|
+
* Add a tooltip to the element.
|
|
11
|
+
* You need to set an empty string `""` to remove it.
|
|
12
|
+
*/
|
|
13
|
+
tooltip?: TooltipProps["content"];
|
|
14
|
+
/**
|
|
15
|
+
* Specify the display of the used `Tag` component.
|
|
16
|
+
*/
|
|
17
|
+
tagProps?: Omit<TagProps, "icon" | "intent" | "children">;
|
|
18
|
+
/**
|
|
19
|
+
* Specify the display of the used `Tooltip` component.
|
|
20
|
+
*/
|
|
21
|
+
tooltipProps?: Omit<TooltipProps, "content" | "intent" | "children">;
|
|
22
|
+
/**
|
|
23
|
+
* Do not use the `Tag` component for the display.
|
|
24
|
+
* The `intent` state can be displayed only on the tooltip then.
|
|
25
|
+
*/
|
|
26
|
+
noTag?: boolean;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Simple placeholder element that can be used to display info about missing data.
|
|
30
|
+
*/
|
|
31
|
+
export declare const NotAvailable: ({ label, tooltip, icon, intent, tagProps, tooltipProps, className, noTag, ...otherProps }: NotAvailableProps) => React.JSX.Element;
|
|
32
|
+
export default NotAvailable;
|
|
@@ -8,11 +8,11 @@ export interface NotificationProps extends TestableComponent, Omit<BlueprintToas
|
|
|
8
8
|
/**
|
|
9
9
|
* Extra user action elements
|
|
10
10
|
*/
|
|
11
|
-
actions?: JSX.Element | JSX.Element[];
|
|
11
|
+
actions?: React.JSX.Element | React.JSX.Element[];
|
|
12
12
|
/**
|
|
13
13
|
* Notification message that can be used as alternative to children elements.
|
|
14
14
|
*/
|
|
15
|
-
message?: JSX.Element | string;
|
|
15
|
+
message?: React.JSX.Element | string;
|
|
16
16
|
/**
|
|
17
17
|
* Intent state of the notification.
|
|
18
18
|
*/
|
|
@@ -15,7 +15,7 @@ export interface OverviewItemActionsProps extends React.HTMLAttributes<HTMLDivEl
|
|
|
15
15
|
/**
|
|
16
16
|
* Display element while the rendering of the actual children is delayed.
|
|
17
17
|
*/
|
|
18
|
-
delaySkeleton?: JSX.Element;
|
|
18
|
+
delaySkeleton?: React.JSX.Element;
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* Contains an arbitrary number of elements for user-interactions.
|
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
|
2
2
|
export interface PropertyValueListProps extends React.HTMLAttributes<HTMLDListElement> {
|
|
3
3
|
/**
|
|
4
4
|
* Only use one single column and put property label and value below each other.
|
|
5
|
-
* This property is
|
|
5
|
+
* This property is forward to direct `PropertyValuePair` children.
|
|
6
6
|
*/
|
|
7
7
|
singleColumn?: boolean;
|
|
8
8
|
}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { RadioProps as BlueprintRadioProps } from "@blueprintjs/core";
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface RadioButtonProps extends BlueprintRadioProps {
|
|
4
|
+
/**
|
|
5
|
+
* Hide the indicator.
|
|
6
|
+
* The element cannot be identified as radio input then but a click on the children can be easily processed via `onChange` event.
|
|
7
|
+
*/
|
|
8
|
+
hideIndicator?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const RadioButton: ({ children, className, hideIndicator, ...restProps }: RadioButtonProps) => React.JSX.Element;
|
|
5
11
|
export default RadioButton;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { SelectProps as BlueprintSelectProps } from "@blueprintjs/select";
|
|
3
3
|
import { TestableComponent } from "../interfaces";
|
|
4
|
-
import { ButtonProps
|
|
4
|
+
import { ButtonProps } from "../Button/Button";
|
|
5
|
+
import { ContextOverlayProps } from "../ContextOverlay";
|
|
5
6
|
export interface SelectProps<T> extends TestableComponent, Omit<BlueprintSelectProps<T>, "popoverTargetProps" | "popoverContentProps" | "popoverProps" | "popoverRef">, Pick<ButtonProps, "icon" | "rightIcon"> {
|
|
6
7
|
/**
|
|
7
8
|
* Textual representation of the the selected value.
|
|
@@ -3,7 +3,7 @@ export interface SkeletonProps {
|
|
|
3
3
|
/**
|
|
4
4
|
* Element that need to displayed using the skeleton styles.
|
|
5
5
|
*/
|
|
6
|
-
children: JSX.Element | JSX.Element[];
|
|
6
|
+
children: React.JSX.Element | React.JSX.Element[];
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* `<Skeleton />` provides a loading state display of its children elements.
|
|
@@ -3,7 +3,7 @@ export interface TitleSubsectionProps extends React.HTMLAttributes<HTMLElement>
|
|
|
3
3
|
/**
|
|
4
4
|
* HTML tag to use for element. As default element `h3` is used for a string as children, otherwise `div`.
|
|
5
5
|
*/
|
|
6
|
-
useHtmlElement?: keyof JSX.IntrinsicElements;
|
|
6
|
+
useHtmlElement?: keyof React.JSX.IntrinsicElements;
|
|
7
7
|
}
|
|
8
8
|
export declare const TitleSubsection: ({ children, className, useHtmlElement, ...restProps }: TitleSubsectionProps) => React.DOMElement<{
|
|
9
9
|
className: string;
|
|
@@ -14,7 +14,7 @@ export declare const TitleSubsection: ({ children, className, useHtmlElement, ..
|
|
|
14
14
|
accessKey?: string | undefined;
|
|
15
15
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
16
16
|
autoFocus?: boolean | undefined;
|
|
17
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
17
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
18
18
|
contextMenu?: string | undefined;
|
|
19
19
|
dir?: string | undefined;
|
|
20
20
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -23,7 +23,6 @@ export declare const TitleSubsection: ({ children, className, useHtmlElement, ..
|
|
|
23
23
|
id?: string | undefined;
|
|
24
24
|
lang?: string | undefined;
|
|
25
25
|
nonce?: string | undefined;
|
|
26
|
-
placeholder?: string | undefined;
|
|
27
26
|
slot?: string | undefined;
|
|
28
27
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
29
28
|
style?: React.CSSProperties | undefined;
|
|
@@ -132,7 +131,7 @@ export declare const TitleSubsection: ({ children, className, useHtmlElement, ..
|
|
|
132
131
|
onBlurCapture?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
133
132
|
onChange?: React.FormEventHandler<HTMLElement> | undefined;
|
|
134
133
|
onChangeCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
135
|
-
onBeforeInput?: React.
|
|
134
|
+
onBeforeInput?: React.InputEventHandler<HTMLElement> | undefined;
|
|
136
135
|
onBeforeInputCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
137
136
|
onInput?: React.FormEventHandler<HTMLElement> | undefined;
|
|
138
137
|
onInputCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
@@ -251,9 +250,7 @@ export declare const TitleSubsection: ({ children, className, useHtmlElement, ..
|
|
|
251
250
|
onPointerCancel?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
252
251
|
onPointerCancelCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
253
252
|
onPointerEnter?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
254
|
-
onPointerEnterCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
255
253
|
onPointerLeave?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
256
|
-
onPointerLeaveCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
257
254
|
onPointerOver?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
258
255
|
onPointerOverCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
259
256
|
onPointerOut?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from "./../AutocompleteField/AutoCompleteField";
|
|
2
2
|
export * from "./../AutocompleteField/interfaces";
|
|
3
3
|
export declare const suggestFieldUtils: {
|
|
4
|
-
createNewItemRendererFactory: (itemTextRenderer: (query: string) => string | JSX.Element, iconName?: import("../Icon/canonicalIconNames").ValidIconName | import("react").ReactElement<import("..").TestIconProps>) => (query: string, modifiers: import("./../AutocompleteField/interfaces").SuggestFieldItemRendererModifierProps, handleClick: import("react").MouseEventHandler<HTMLElement>) => import("react").JSX.Element;
|
|
4
|
+
createNewItemRendererFactory: (itemTextRenderer: (query: string) => string | import("react").JSX.Element, iconName?: import("../Icon/canonicalIconNames").ValidIconName | import("react").ReactElement<import("..").TestIconProps>) => (query: string, modifiers: import("./../AutocompleteField/interfaces").SuggestFieldItemRendererModifierProps, handleClick: import("react").MouseEventHandler<HTMLElement>) => import("react").JSX.Element;
|
|
5
5
|
};
|
|
6
6
|
export declare const autoCompleteFieldUtils: {
|
|
7
|
-
createNewItemRendererFactory: (itemTextRenderer: (query: string) => string | JSX.Element, iconName?: import("../Icon/canonicalIconNames").ValidIconName | import("react").ReactElement<import("..").TestIconProps>) => (query: string, modifiers: import("./../AutocompleteField/interfaces").SuggestFieldItemRendererModifierProps, handleClick: import("react").MouseEventHandler<HTMLElement>) => import("react").JSX.Element;
|
|
7
|
+
createNewItemRendererFactory: (itemTextRenderer: (query: string) => string | import("react").JSX.Element, iconName?: import("../Icon/canonicalIconNames").ValidIconName | import("react").ReactElement<import("..").TestIconProps>) => (query: string, modifiers: import("./../AutocompleteField/interfaces").SuggestFieldItemRendererModifierProps, handleClick: import("react").MouseEventHandler<HTMLElement>) => import("react").JSX.Element;
|
|
8
8
|
};
|
|
@@ -2,12 +2,12 @@ import React from "react";
|
|
|
2
2
|
import { DataTableHeader as CarbonDataTableHeader, DataTableProps as CarbonDataTableProps, DataTableRow as CarbonDataTableRow } from "@carbon/react";
|
|
3
3
|
import { TableContainerProps as CarbonTableContainerProps } from "@carbon/react/es/components/DataTable/TableContainer";
|
|
4
4
|
import { TableProps } from "./Table";
|
|
5
|
-
export interface TableDataContainerProps extends Omit<CarbonDataTableProps<Array<Omit<CarbonDataTableRow<Array<CarbonDataTableHeader>>, "cells">>, Array<CarbonDataTableHeader>>, "size" | "overflowMenuOnHover" | "stickyHeader" | "useStaticWidth">, React.TableHTMLAttributes<HTMLTableElement> {
|
|
6
|
-
children(signature: any): JSX.Element;
|
|
5
|
+
export interface TableDataContainerProps extends Omit<CarbonDataTableProps<Array<Omit<CarbonDataTableRow<Array<CarbonDataTableHeader>>, "cells">>, Array<CarbonDataTableHeader>>, "size" | "overflowMenuOnHover" | "stickyHeader" | "useStaticWidth">, Omit<React.TableHTMLAttributes<HTMLTableElement>, "children"> {
|
|
6
|
+
children(signature: any): React.JSX.Element;
|
|
7
7
|
size?: TableProps["size"];
|
|
8
8
|
}
|
|
9
9
|
export interface TableSimpleContainerProps extends Omit<CarbonTableContainerProps, "description" | "stickyHeader" | "title" | "useStaticWidth">, React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
-
children?: JSX.Element;
|
|
10
|
+
children?: React.JSX.Element;
|
|
11
11
|
}
|
|
12
12
|
export type TableContainerProps = TableDataContainerProps | TableSimpleContainerProps;
|
|
13
13
|
export declare function TableContainer({ className, ...otherProps }: TableContainerProps): React.JSX.Element;
|
|
@@ -40,7 +40,7 @@ export declare const transformTabProperties: ({ title, dontShrink, className, ba
|
|
|
40
40
|
accessKey?: string | undefined;
|
|
41
41
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
42
42
|
autoFocus?: boolean | undefined;
|
|
43
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
43
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
44
44
|
contextMenu?: string | undefined;
|
|
45
45
|
dir?: string | undefined;
|
|
46
46
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -49,7 +49,6 @@ export declare const transformTabProperties: ({ title, dontShrink, className, ba
|
|
|
49
49
|
id: import("@blueprintjs/core").TabId;
|
|
50
50
|
lang?: string | undefined;
|
|
51
51
|
nonce?: string | undefined;
|
|
52
|
-
placeholder?: string | undefined;
|
|
53
52
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
54
53
|
tabIndex?: number | undefined;
|
|
55
54
|
translate?: "yes" | "no" | undefined;
|
|
@@ -154,7 +153,7 @@ export declare const transformTabProperties: ({ title, dontShrink, className, ba
|
|
|
154
153
|
onBlurCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
155
154
|
onChange?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
156
155
|
onChangeCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
157
|
-
onBeforeInput?: React.
|
|
156
|
+
onBeforeInput?: React.InputEventHandler<HTMLDivElement> | undefined;
|
|
158
157
|
onBeforeInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
159
158
|
onInput?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
160
159
|
onInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
@@ -272,9 +271,7 @@ export declare const transformTabProperties: ({ title, dontShrink, className, ba
|
|
|
272
271
|
onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
273
272
|
onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
274
273
|
onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
275
|
-
onPointerEnterCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
276
274
|
onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
277
|
-
onPointerLeaveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
278
275
|
onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
279
276
|
onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
280
277
|
onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
@@ -318,7 +315,7 @@ export declare const transformTabProperties: ({ title, dontShrink, className, ba
|
|
|
318
315
|
accessKey?: string | undefined;
|
|
319
316
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
320
317
|
autoFocus?: boolean | undefined;
|
|
321
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
318
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
322
319
|
contextMenu?: string | undefined;
|
|
323
320
|
dir?: string | undefined;
|
|
324
321
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -327,7 +324,6 @@ export declare const transformTabProperties: ({ title, dontShrink, className, ba
|
|
|
327
324
|
id: import("@blueprintjs/core").TabId;
|
|
328
325
|
lang?: string | undefined;
|
|
329
326
|
nonce?: string | undefined;
|
|
330
|
-
placeholder?: string | undefined;
|
|
331
327
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
332
328
|
tabIndex?: number | undefined;
|
|
333
329
|
translate?: "yes" | "no" | undefined;
|
|
@@ -432,7 +428,7 @@ export declare const transformTabProperties: ({ title, dontShrink, className, ba
|
|
|
432
428
|
onBlurCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
433
429
|
onChange?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
434
430
|
onChangeCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
435
|
-
onBeforeInput?: React.
|
|
431
|
+
onBeforeInput?: React.InputEventHandler<HTMLDivElement> | undefined;
|
|
436
432
|
onBeforeInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
437
433
|
onInput?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
438
434
|
onInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
@@ -550,9 +546,7 @@ export declare const transformTabProperties: ({ title, dontShrink, className, ba
|
|
|
550
546
|
onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
551
547
|
onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
552
548
|
onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
553
|
-
onPointerEnterCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
554
549
|
onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
555
|
-
onPointerLeaveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
556
550
|
onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
557
551
|
onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
558
552
|
onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
|