@eccenca/gui-elements 23.8.0 → 24.0.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 +20 -0
- package/README.md +18 -0
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js +1 -2
- package/dist/cjs/cmem/ActivityControl/ActivityControlWidget.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +5 -1
- package/dist/cjs/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js +8 -4
- package/dist/cjs/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
- package/dist/cjs/cmem/ActivityControl/index.js +5 -1
- package/dist/cjs/cmem/ActivityControl/index.js.map +1 -1
- package/dist/cjs/cmem/ConfidenceValue/ConfidenceValue.js +1 -2
- package/dist/cjs/cmem/ConfidenceValue/ConfidenceValue.js.map +1 -1
- package/dist/cjs/cmem/ConfidenceValue/index.js +5 -1
- package/dist/cjs/cmem/ConfidenceValue/index.js.map +1 -1
- package/dist/cjs/cmem/ContentBlobToggler/ContentBlobToggler.js +6 -3
- 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/ContentBlobToggler/index.js +5 -1
- package/dist/cjs/cmem/ContentBlobToggler/index.js.map +1 -1
- package/dist/cjs/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +5 -1
- package/dist/cjs/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +1 -1
- package/dist/cjs/cmem/index.js +5 -1
- package/dist/cjs/cmem/index.js.map +1 -1
- package/dist/cjs/cmem/markdown/highlightSearchWords.js.map +1 -1
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js +5 -1
- package/dist/cjs/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -1
- package/dist/cjs/cmem/react-flow/StickyNoteModal/StickyNoteModal.js.map +1 -1
- package/dist/cjs/cmem/react-flow/configuration/typing.js +3 -3
- package/dist/cjs/cmem/react-flow/configuration/typing.js.map +1 -1
- package/dist/cjs/cmem/react-flow/extensions/scrollOnDragHook.js +5 -1
- package/dist/cjs/cmem/react-flow/extensions/scrollOnDragHook.js.map +1 -1
- package/dist/cjs/cmem/react-flow/index.js +5 -1
- package/dist/cjs/cmem/react-flow/index.js.map +1 -1
- package/dist/cjs/cmem/react-flow/nodes/StickyNoteNode.js +5 -1
- package/dist/cjs/cmem/react-flow/nodes/StickyNoteNode.js.map +1 -1
- package/dist/cjs/common/Intent/index.js.map +1 -1
- package/dist/cjs/common/utils/CssCustomProperties.js +1 -1
- package/dist/cjs/common/utils/CssCustomProperties.js.map +1 -1
- package/dist/cjs/common/utils/characters.js.map +1 -1
- package/dist/cjs/common/utils/colorDecideContrastvalue.js.map +1 -1
- package/dist/cjs/common/utils/getColorConfiguration.js.map +1 -1
- package/dist/cjs/common/utils/getScrollParent.js.map +1 -1
- package/dist/cjs/common/utils/openInNewTab.js.map +1 -1
- package/dist/cjs/components/Accordion/Accordion.js +2 -2
- package/dist/cjs/components/Accordion/Accordion.js.map +1 -1
- package/dist/cjs/components/Accordion/AccordionItem.js +3 -2
- package/dist/cjs/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/cjs/components/Accordion/index.js +5 -1
- package/dist/cjs/components/Accordion/index.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationContent.js +2 -2
- package/dist/cjs/components/Application/ApplicationContent.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationHeader.js +3 -2
- package/dist/cjs/components/Application/ApplicationHeader.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationSidebarNavigation.js +2 -2
- package/dist/cjs/components/Application/ApplicationSidebarNavigation.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationSidebarToggler.js +2 -2
- package/dist/cjs/components/Application/ApplicationSidebarToggler.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationTitle.js +2 -2
- package/dist/cjs/components/Application/ApplicationTitle.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationToolbar.js +3 -2
- package/dist/cjs/components/Application/ApplicationToolbar.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationToolbarAction.js +3 -2
- package/dist/cjs/components/Application/ApplicationToolbarAction.js.map +1 -1
- package/dist/cjs/components/Application/ApplicationToolbarPanel.js +3 -2
- package/dist/cjs/components/Application/ApplicationToolbarPanel.js.map +1 -1
- package/dist/cjs/components/Application/helper.js.map +1 -1
- package/dist/cjs/components/Application/index.js +5 -1
- package/dist/cjs/components/Application/index.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js +8 -4
- package/dist/cjs/components/AutoSuggestion/AutoSuggestion.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js +2 -2
- package/dist/cjs/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
- package/dist/cjs/components/AutoSuggestion/ExtendedCodeEditor.js.map +1 -1
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js +9 -6
- package/dist/cjs/components/AutocompleteField/AutoCompleteField.js.map +1 -1
- package/dist/cjs/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
- package/dist/cjs/components/AutocompleteField/index.js +5 -1
- package/dist/cjs/components/AutocompleteField/index.js.map +1 -1
- package/dist/cjs/components/Badge/Badge.js +1 -2
- package/dist/cjs/components/Badge/Badge.js.map +1 -1
- package/dist/cjs/components/Breadcrumb/BreadcrumbList.js +5 -1
- package/dist/cjs/components/Breadcrumb/BreadcrumbList.js.map +1 -1
- package/dist/cjs/components/Breadcrumb/index.js +5 -1
- package/dist/cjs/components/Breadcrumb/index.js.map +1 -1
- package/dist/cjs/components/Button/Button.js.map +1 -1
- package/dist/cjs/components/Card/CardHeader.js.map +1 -1
- package/dist/cjs/components/Card/index.js +5 -1
- package/dist/cjs/components/Card/index.js.map +1 -1
- package/dist/cjs/components/CodeAutocompleteField/CodeAutocompleteField.js +1 -2
- package/dist/cjs/components/CodeAutocompleteField/CodeAutocompleteField.js.map +1 -1
- package/dist/cjs/components/CodeAutocompleteField/index.js +5 -1
- package/dist/cjs/components/CodeAutocompleteField/index.js.map +1 -1
- package/dist/cjs/components/ContextOverlay/index.js +5 -1
- package/dist/cjs/components/ContextOverlay/index.js.map +1 -1
- package/dist/cjs/components/Depiction/Depiction.js +6 -3
- package/dist/cjs/components/Depiction/Depiction.js.map +1 -1
- package/dist/cjs/components/Dialog/AlertDialog.js.map +1 -1
- package/dist/cjs/components/Dialog/Modal.js +1 -1
- package/dist/cjs/components/Dialog/Modal.js.map +1 -1
- package/dist/cjs/components/Dialog/index.js +5 -1
- package/dist/cjs/components/Dialog/index.js.map +1 -1
- package/dist/cjs/components/Form/FieldItem.js.map +1 -1
- package/dist/cjs/components/Form/FieldSet.js.map +1 -1
- package/dist/cjs/components/Form/index.js +5 -1
- package/dist/cjs/components/Form/index.js.map +1 -1
- package/dist/cjs/components/Grid/Grid.js +2 -3
- package/dist/cjs/components/Grid/Grid.js.map +1 -1
- package/dist/cjs/components/Grid/GridColumn.js +2 -3
- package/dist/cjs/components/Grid/GridColumn.js.map +1 -1
- package/dist/cjs/components/Grid/GridRow.js +2 -2
- package/dist/cjs/components/Grid/GridRow.js.map +1 -1
- package/dist/cjs/components/Grid/index.js +5 -1
- package/dist/cjs/components/Grid/index.js.map +1 -1
- package/dist/cjs/components/Icon/BaseIcon.js +2 -3
- package/dist/cjs/components/Icon/BaseIcon.js.map +1 -1
- package/dist/cjs/components/Icon/Icon.js.map +1 -1
- package/dist/cjs/components/Icon/canonicalIconNames.js +9 -4
- package/dist/cjs/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/cjs/components/Icon/index.js +5 -1
- package/dist/cjs/components/Icon/index.js.map +1 -1
- package/dist/cjs/components/Iframe/Iframe.js +5 -1
- package/dist/cjs/components/Iframe/Iframe.js.map +1 -1
- package/dist/cjs/components/Iframe/index.js +5 -1
- package/dist/cjs/components/Iframe/index.js.map +1 -1
- package/dist/cjs/components/InteractionGate/InteractionGate.js +5 -1
- package/dist/cjs/components/InteractionGate/InteractionGate.js.map +1 -1
- package/dist/cjs/components/Link/Link.js +2 -2
- package/dist/cjs/components/Link/Link.js.map +1 -1
- package/dist/cjs/components/List/List.js +6 -3
- package/dist/cjs/components/List/List.js.map +1 -1
- package/dist/cjs/components/Menu/index.js +5 -1
- package/dist/cjs/components/Menu/index.js.map +1 -1
- package/dist/cjs/components/MultiSelect/MultiSelect.js +12 -5
- package/dist/cjs/components/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/cjs/components/MultiSuggestField/MultiSuggestField.js +1 -2
- package/dist/cjs/components/MultiSuggestField/MultiSuggestField.js.map +1 -1
- package/dist/cjs/components/Notification/Notification.js.map +1 -1
- package/dist/cjs/components/Notification/index.js +5 -1
- package/dist/cjs/components/Notification/index.js.map +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItem.js.map +1 -1
- package/dist/cjs/components/OverviewItem/OverviewItemDepiction.js.map +1 -1
- package/dist/cjs/components/OverviewItem/index.js +5 -1
- package/dist/cjs/components/OverviewItem/index.js.map +1 -1
- package/dist/cjs/components/Pagination/Pagination.js +7 -3
- package/dist/cjs/components/Pagination/Pagination.js.map +1 -1
- package/dist/cjs/components/ProgressBar/index.js +5 -1
- package/dist/cjs/components/ProgressBar/index.js.map +1 -1
- package/dist/cjs/components/PropertyValuePair/PropertyValuePair.js.map +1 -1
- package/dist/cjs/components/PropertyValuePair/index.js +5 -1
- package/dist/cjs/components/PropertyValuePair/index.js.map +1 -1
- package/dist/cjs/components/Select/Select.js +1 -2
- package/dist/cjs/components/Select/Select.js.map +1 -1
- package/dist/cjs/components/Separation/Divider.js +1 -2
- package/dist/cjs/components/Separation/Divider.js.map +1 -1
- package/dist/cjs/components/Skeleton/Skeleton.js +1 -2
- package/dist/cjs/components/Skeleton/Skeleton.js.map +1 -1
- package/dist/cjs/components/Spinner/Spinner.js +5 -1
- package/dist/cjs/components/Spinner/Spinner.js.map +1 -1
- package/dist/cjs/components/Sticky/StickyTarget.js.map +1 -1
- package/dist/cjs/components/Sticky/index.js +5 -1
- package/dist/cjs/components/Sticky/index.js.map +1 -1
- package/dist/cjs/components/Structure/TitleMainsection.js.map +1 -1
- package/dist/cjs/components/Structure/TitlePage.js.map +1 -1
- package/dist/cjs/components/Structure/index.js +5 -1
- package/dist/cjs/components/Structure/index.js.map +1 -1
- package/dist/cjs/components/SuggestField/SuggestField.js +1 -2
- package/dist/cjs/components/SuggestField/SuggestField.js.map +1 -1
- package/dist/cjs/components/SuggestField/index.js +5 -1
- package/dist/cjs/components/SuggestField/index.js.map +1 -1
- package/dist/cjs/components/Switch/Switch.js +5 -1
- package/dist/cjs/components/Switch/Switch.js.map +1 -1
- package/dist/cjs/components/Table/Table.js +5 -4
- package/dist/cjs/components/Table/Table.js.map +1 -1
- package/dist/cjs/components/Table/TableCell.js +4 -4
- package/dist/cjs/components/Table/TableCell.js.map +1 -1
- package/dist/cjs/components/Table/TableContainer.js +5 -6
- package/dist/cjs/components/Table/TableContainer.js.map +1 -1
- package/dist/cjs/components/Table/TableExpandHeader.js +4 -4
- package/dist/cjs/components/Table/TableExpandHeader.js.map +1 -1
- package/dist/cjs/components/Table/TableExpandRow.js +6 -6
- package/dist/cjs/components/Table/TableExpandRow.js.map +1 -1
- package/dist/cjs/components/Table/TableRow.js +3 -4
- package/dist/cjs/components/Table/TableRow.js.map +1 -1
- package/dist/cjs/components/Table/index.js +10 -6
- package/dist/cjs/components/Table/index.js.map +1 -1
- package/dist/cjs/components/Tabs/Tab.js.map +1 -1
- package/dist/cjs/components/Tabs/Tabs.js +5 -1
- package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
- package/dist/cjs/components/Tabs/index.js +5 -1
- package/dist/cjs/components/Tabs/index.js.map +1 -1
- package/dist/cjs/components/Tag/Tag.js.map +1 -1
- package/dist/cjs/components/Tag/TagList.js.map +1 -1
- package/dist/cjs/components/TextField/TextArea.js.map +1 -1
- package/dist/cjs/components/TextField/TextField.js.map +1 -1
- package/dist/cjs/components/TextField/index.js +5 -1
- package/dist/cjs/components/TextField/index.js.map +1 -1
- package/dist/cjs/components/TextField/useTextValidation.js.map +1 -1
- package/dist/cjs/components/Toolbar/index.js +5 -1
- package/dist/cjs/components/Toolbar/index.js.map +1 -1
- package/dist/cjs/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/cjs/components/Tree/Tree.js +5 -1
- package/dist/cjs/components/Tree/Tree.js.map +1 -1
- package/dist/cjs/components/Typography/Highlighter.js +5 -5
- package/dist/cjs/components/Typography/Highlighter.js.map +1 -1
- package/dist/cjs/components/Typography/HtmlContentBlock.js +5 -1
- package/dist/cjs/components/Typography/HtmlContentBlock.js.map +1 -1
- package/dist/cjs/components/Typography/WhiteSpaceContainer.js +5 -1
- package/dist/cjs/components/Typography/WhiteSpaceContainer.js.map +1 -1
- package/dist/cjs/components/Typography/index.js +5 -1
- package/dist/cjs/components/Typography/index.js.map +1 -1
- package/dist/cjs/components/Workspace/index.js +5 -1
- package/dist/cjs/components/Workspace/index.js.map +1 -1
- package/dist/cjs/components/index.js +5 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/extensions/codemirror/CodeMirror.js +5 -1
- package/dist/cjs/extensions/codemirror/CodeMirror.js.map +1 -1
- package/dist/cjs/extensions/index.js +5 -1
- package/dist/cjs/extensions/index.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js +5 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeLabel.js +5 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeStep.js +5 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeStep.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeTools.js +5 -1
- package/dist/cjs/extensions/react-flow/edges/EdgeTools.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/getSmoothStepPath.js +1 -2
- package/dist/cjs/extensions/react-flow/edges/getSmoothStepPath.js.map +1 -1
- package/dist/cjs/extensions/react-flow/edges/utils.js.map +1 -1
- package/dist/cjs/extensions/react-flow/handles/HandleContent.js +5 -1
- package/dist/cjs/extensions/react-flow/handles/HandleContent.js.map +1 -1
- package/dist/cjs/extensions/react-flow/handles/HandleDefault.js +5 -1
- package/dist/cjs/extensions/react-flow/handles/HandleDefault.js.map +1 -1
- package/dist/cjs/extensions/react-flow/index.js +5 -1
- package/dist/cjs/extensions/react-flow/index.js.map +1 -1
- package/dist/cjs/extensions/react-flow/minimap/MiniMap.js +5 -1
- package/dist/cjs/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js +2 -2
- package/dist/cjs/extensions/react-flow/nodes/NodeContent.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js +6 -2
- package/dist/cjs/extensions/react-flow/nodes/NodeDefault.js.map +1 -1
- package/dist/cjs/extensions/react-flow/nodes/NodeTools.js +5 -1
- 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/cjs/extensions/react-flow/versionsupport.js.map +1 -1
- package/dist/cjs/index.js +5 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legacy-replacements/Button/AffirmativeButton.js +1 -2
- package/dist/cjs/legacy-replacements/Button/AffirmativeButton.js.map +1 -1
- package/dist/cjs/legacy-replacements/Button/Button.js +2 -2
- package/dist/cjs/legacy-replacements/Button/Button.js.map +1 -1
- package/dist/cjs/legacy-replacements/Button/DismissiveButton.js +1 -2
- package/dist/cjs/legacy-replacements/Button/DismissiveButton.js.map +1 -1
- package/dist/cjs/legacy-replacements/Button/DisruptiveButton.js +1 -2
- package/dist/cjs/legacy-replacements/Button/DisruptiveButton.js.map +1 -1
- package/dist/cjs/legacy-replacements/Checkbox/Checkbox.js +1 -2
- package/dist/cjs/legacy-replacements/Checkbox/Checkbox.js.map +1 -1
- package/dist/cjs/legacy-replacements/Radio/RadioButton.js +1 -2
- package/dist/cjs/legacy-replacements/Radio/RadioButton.js.map +1 -1
- package/dist/cjs/legacy-replacements/Tabs/Tabs.js +1 -2
- package/dist/cjs/legacy-replacements/Tabs/Tabs.js.map +1 -1
- package/dist/cjs/legacy-replacements/TextField/TextField.js +1 -2
- package/dist/cjs/legacy-replacements/TextField/TextField.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +1 -1
- package/dist/esm/cmem/ActivityControl/ActivityExecutionErrorReportModal.js.map +1 -1
- package/dist/esm/cmem/ActivityControl/SilkActivityControl.js +1 -1
- package/dist/esm/cmem/ActivityControl/SilkActivityControl.js.map +1 -1
- package/dist/esm/cmem/ConfidenceValue/ConfidenceValue.js.map +1 -1
- package/dist/esm/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js.map +1 -1
- package/dist/esm/cmem/markdown/Markdown.js.map +1 -1
- package/dist/esm/cmem/markdown/highlightSearchWords.js.map +1 -1
- package/dist/esm/cmem/react-flow/ReactFlow/ReactFlow.js.map +1 -1
- package/dist/esm/cmem/react-flow/StickyNoteModal/StickyNoteModal.js.map +1 -1
- package/dist/esm/cmem/react-flow/extensions/scrollOnDragHook.js.map +1 -1
- package/dist/esm/common/Intent/index.js.map +1 -1
- package/dist/esm/common/utils/CssCustomProperties.js +1 -1
- package/dist/esm/common/utils/CssCustomProperties.js.map +1 -1
- package/dist/esm/common/utils/characters.js.map +1 -1
- package/dist/esm/common/utils/colorDecideContrastvalue.js.map +1 -1
- package/dist/esm/common/utils/getColorConfiguration.js.map +1 -1
- package/dist/esm/common/utils/getScrollParent.js.map +1 -1
- package/dist/esm/common/utils/openInNewTab.js.map +1 -1
- package/dist/esm/components/Accordion/Accordion.js +1 -1
- package/dist/esm/components/Accordion/Accordion.js.map +1 -1
- package/dist/esm/components/Accordion/AccordionItem.js +2 -1
- package/dist/esm/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/esm/components/Application/ApplicationContent.js +1 -1
- package/dist/esm/components/Application/ApplicationContent.js.map +1 -1
- package/dist/esm/components/Application/ApplicationHeader.js +2 -1
- package/dist/esm/components/Application/ApplicationHeader.js.map +1 -1
- package/dist/esm/components/Application/ApplicationSidebarNavigation.js +1 -1
- package/dist/esm/components/Application/ApplicationSidebarNavigation.js.map +1 -1
- package/dist/esm/components/Application/ApplicationSidebarToggler.js +1 -1
- package/dist/esm/components/Application/ApplicationSidebarToggler.js.map +1 -1
- package/dist/esm/components/Application/ApplicationTitle.js +1 -1
- package/dist/esm/components/Application/ApplicationTitle.js.map +1 -1
- package/dist/esm/components/Application/ApplicationToolbar.js +2 -1
- package/dist/esm/components/Application/ApplicationToolbar.js.map +1 -1
- package/dist/esm/components/Application/ApplicationToolbarAction.js +2 -1
- package/dist/esm/components/Application/ApplicationToolbarAction.js.map +1 -1
- package/dist/esm/components/Application/ApplicationToolbarPanel.js +2 -1
- package/dist/esm/components/Application/ApplicationToolbarPanel.js.map +1 -1
- package/dist/esm/components/Application/helper.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 +2 -2
- package/dist/esm/components/AutoSuggestion/AutoSuggestionList.js.map +1 -1
- package/dist/esm/components/AutoSuggestion/ExtendedCodeEditor.js.map +1 -1
- package/dist/esm/components/AutocompleteField/AutoCompleteField.js +2 -2
- package/dist/esm/components/AutocompleteField/AutoCompleteField.js.map +1 -1
- package/dist/esm/components/AutocompleteField/autoCompleteFieldUtils.js.map +1 -1
- package/dist/esm/components/Badge/Badge.js.map +1 -1
- package/dist/esm/components/Breadcrumb/BreadcrumbList.js.map +1 -1
- package/dist/esm/components/Button/Button.js.map +1 -1
- package/dist/esm/components/Card/CardHeader.js.map +1 -1
- package/dist/esm/components/Depiction/Depiction.js.map +1 -1
- package/dist/esm/components/Dialog/AlertDialog.js.map +1 -1
- package/dist/esm/components/Dialog/Modal.js +1 -1
- package/dist/esm/components/Dialog/Modal.js.map +1 -1
- package/dist/esm/components/Form/FieldItem.js.map +1 -1
- package/dist/esm/components/Form/FieldSet.js.map +1 -1
- package/dist/esm/components/Grid/Grid.js +1 -2
- package/dist/esm/components/Grid/Grid.js.map +1 -1
- package/dist/esm/components/Grid/GridColumn.js +1 -2
- package/dist/esm/components/Grid/GridColumn.js.map +1 -1
- package/dist/esm/components/Grid/GridRow.js +1 -1
- package/dist/esm/components/Grid/GridRow.js.map +1 -1
- package/dist/esm/components/Icon/BaseIcon.js +2 -3
- package/dist/esm/components/Icon/BaseIcon.js.map +1 -1
- package/dist/esm/components/Icon/Icon.js.map +1 -1
- package/dist/esm/components/Icon/canonicalIconNames.js +4 -3
- package/dist/esm/components/Icon/canonicalIconNames.js.map +1 -1
- package/dist/esm/components/Iframe/Iframe.js.map +1 -1
- package/dist/esm/components/InteractionGate/InteractionGate.js.map +1 -1
- package/dist/esm/components/Link/Link.js +1 -1
- package/dist/esm/components/Link/Link.js.map +1 -1
- package/dist/esm/components/List/List.js.map +1 -1
- package/dist/esm/components/MultiSelect/MultiSelect.js +8 -6
- package/dist/esm/components/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/esm/components/Notification/Notification.js.map +1 -1
- package/dist/esm/components/OverviewItem/OverviewItem.js.map +1 -1
- package/dist/esm/components/OverviewItem/OverviewItemDepiction.js.map +1 -1
- package/dist/esm/components/Pagination/Pagination.js +1 -1
- package/dist/esm/components/Pagination/Pagination.js.map +1 -1
- package/dist/esm/components/PropertyValuePair/PropertyValuePair.js.map +1 -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/Spinner/Spinner.js.map +1 -1
- package/dist/esm/components/Sticky/StickyTarget.js.map +1 -1
- package/dist/esm/components/Structure/TitleMainsection.js.map +1 -1
- package/dist/esm/components/Structure/TitlePage.js.map +1 -1
- package/dist/esm/components/Table/Table.js +2 -1
- package/dist/esm/components/Table/Table.js.map +1 -1
- package/dist/esm/components/Table/TableCell.js +2 -1
- package/dist/esm/components/Table/TableCell.js.map +1 -1
- package/dist/esm/components/Table/TableContainer.js +1 -1
- package/dist/esm/components/Table/TableContainer.js.map +1 -1
- package/dist/esm/components/Table/TableExpandHeader.js +3 -2
- package/dist/esm/components/Table/TableExpandHeader.js.map +1 -1
- package/dist/esm/components/Table/TableExpandRow.js +2 -1
- package/dist/esm/components/Table/TableExpandRow.js.map +1 -1
- package/dist/esm/components/Table/TableRow.js +1 -1
- 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.map +1 -1
- package/dist/esm/components/Tabs/Tabs.js.map +1 -1
- package/dist/esm/components/Tag/Tag.js.map +1 -1
- package/dist/esm/components/Tag/TagList.js.map +1 -1
- package/dist/esm/components/TextField/TextArea.js.map +1 -1
- package/dist/esm/components/TextField/TextField.js.map +1 -1
- package/dist/esm/components/TextField/useTextValidation.js.map +1 -1
- package/dist/esm/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/components/Typography/Highlighter.js.map +1 -1
- package/dist/esm/extensions/codemirror/CodeMirror.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeDefault.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/EdgeLabel.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/getSmoothStepPath.js.map +1 -1
- package/dist/esm/extensions/react-flow/edges/utils.js.map +1 -1
- package/dist/esm/extensions/react-flow/handles/HandleContent.js.map +1 -1
- package/dist/esm/extensions/react-flow/handles/HandleDefault.js.map +1 -1
- package/dist/esm/extensions/react-flow/minimap/MiniMap.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/extensions/react-flow/nodes/nodeUtils.js.map +1 -1
- package/dist/esm/extensions/react-flow/versionsupport.js.map +1 -1
- package/dist/esm/legacy-replacements/Button/Button.js.map +1 -1
- package/dist/esm/legacy-replacements/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/legacy-replacements/Radio/RadioButton.js.map +1 -1
- package/dist/esm/legacy-replacements/TextField/TextField.js.map +1 -1
- package/dist/types/cmem/ActivityControl/ActivityControlTypes.d.ts +3 -3
- package/dist/types/cmem/ActivityControl/ActivityControlWidget.d.ts +2 -2
- package/dist/types/cmem/ActivityControl/SilkActivityControl.d.ts +6 -6
- package/dist/types/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.d.ts +2 -2
- package/dist/types/cmem/markdown/Markdown.d.ts +1 -1
- package/dist/types/cmem/react-flow/StickyNoteModal/StickyNoteModal.d.ts +2 -2
- package/dist/types/cmem/react-flow/configuration/graph.d.ts +0 -1
- package/dist/types/cmem/react-flow/configuration/linking.d.ts +0 -1
- package/dist/types/cmem/react-flow/configuration/unspecified.d.ts +1 -2
- package/dist/types/cmem/react-flow/configuration/workflow.d.ts +0 -1
- package/dist/types/cmem/react-flow/extensions/scrollOnDragHook.d.ts +1 -1
- package/dist/types/common/Intent/index.d.ts +1 -1
- package/dist/types/common/index.d.ts +4 -5
- package/dist/types/common/utils/CssCustomProperties.d.ts +1 -1
- package/dist/types/common/utils/characters.d.ts +1 -1
- package/dist/types/common/utils/colorDecideContrastvalue.d.ts +1 -1
- package/dist/types/common/utils/getColorConfiguration.d.ts +1 -1
- package/dist/types/common/utils/openInNewTab.d.ts +1 -1
- package/dist/types/components/Accordion/Accordion.d.ts +4 -3
- package/dist/types/components/Accordion/AccordionItem.d.ts +4 -3
- package/dist/types/components/Application/ApplicationHeader.d.ts +4 -2
- package/dist/types/components/Application/ApplicationSidebarNavigation.d.ts +2 -2
- package/dist/types/components/Application/ApplicationSidebarToggler.d.ts +2 -2
- package/dist/types/components/Application/ApplicationTitle.d.ts +5 -17
- package/dist/types/components/Application/ApplicationToolbar.d.ts +3 -2
- package/dist/types/components/Application/ApplicationToolbarAction.d.ts +4 -2
- package/dist/types/components/Application/ApplicationToolbarPanel.d.ts +3 -2
- package/dist/types/components/Application/ApplicationToolbarSection.d.ts +1 -1
- package/dist/types/components/AutoSuggestion/AutoSuggestion.d.ts +2 -2
- package/dist/types/components/AutoSuggestion/AutoSuggestionList.d.ts +1 -1
- package/dist/types/components/AutoSuggestion/ExtendedCodeEditor.d.ts +1 -1
- package/dist/types/components/AutocompleteField/AutoCompleteField.d.ts +5 -5
- package/dist/types/components/AutocompleteField/autoCompleteFieldUtils.d.ts +1 -1
- package/dist/types/components/AutocompleteField/index.d.ts +1 -2
- package/dist/types/components/Breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/dist/types/components/Button/Button.d.ts +2 -2
- package/dist/types/components/Card/CardActionsAux.d.ts +1 -1
- package/dist/types/components/Card/CardOptions.d.ts +1 -1
- package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/CodeAutocompleteField/CodeAutocompleteField.d.ts +1 -1
- package/dist/types/components/Dialog/AlertDialog.d.ts +1 -1
- package/dist/types/components/Grid/Grid.d.ts +2 -2
- package/dist/types/components/Grid/GridColumn.d.ts +3 -3
- package/dist/types/components/Grid/GridRow.d.ts +2 -2
- package/dist/types/components/Icon/BaseIcon.d.ts +7 -3
- package/dist/types/components/Icon/IconButton.d.ts +1 -1
- package/dist/types/components/Icon/canonicalIconNames.d.ts +163 -6
- package/dist/types/components/Link/Link.d.ts +3 -3
- package/dist/types/components/Menu/Menu.d.ts +1 -1
- package/dist/types/components/Menu/MenuDivider.d.ts +1 -1
- package/dist/types/components/MultiSelect/MultiSelect.d.ts +8 -3
- package/dist/types/components/MultiSuggestField/MultiSuggestField.d.ts +1 -1
- package/dist/types/components/Notification/Toast.d.ts +1 -1
- package/dist/types/components/NumericInput/NumericInput.d.ts +0 -1
- package/dist/types/components/OverviewItem/OverviewItemDescription.d.ts +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +1 -1
- package/dist/types/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/types/components/PropertyValuePair/PropertyValueList.d.ts +1 -1
- package/dist/types/components/RadioButton/RadioButton.d.ts +1 -1
- package/dist/types/components/Spinner/Spinner.d.ts +4 -4
- package/dist/types/components/Structure/Section.d.ts +1 -1
- package/dist/types/components/Structure/SectionHeader.d.ts +1 -1
- package/dist/types/components/Structure/TitleMainsection.d.ts +1 -1
- package/dist/types/components/Structure/TitlePage.d.ts +1 -1
- package/dist/types/components/Structure/TitleSubsection.d.ts +9 -9
- package/dist/types/components/SuggestField/SuggestField.d.ts +1 -1
- package/dist/types/components/SuggestField/index.d.ts +1 -2
- package/dist/types/components/Table/Table.d.ts +4 -3
- package/dist/types/components/Table/TableCell.d.ts +2 -1
- package/dist/types/components/Table/TableContainer.d.ts +4 -3
- package/dist/types/components/Table/TableExpandHeader.d.ts +2 -2
- package/dist/types/components/Table/TableExpandRow.d.ts +3 -2
- package/dist/types/components/Table/TableRow.d.ts +1 -1
- package/dist/types/components/Table/index.d.ts +1 -1
- package/dist/types/components/Tabs/Tab.d.ts +32 -38
- package/dist/types/components/Typography/WhiteSpaceContainer.d.ts +1 -1
- package/dist/types/components/Workspace/WorkspaceContent.d.ts +1 -1
- package/dist/types/components/Workspace/WorkspaceHeader.d.ts +1 -1
- package/dist/types/components/Workspace/WorkspaceMain.d.ts +1 -1
- package/dist/types/components/Workspace/WorkspaceSide.d.ts +1 -1
- package/dist/types/extensions/codemirror/CodeMirror.d.ts +2 -2
- package/dist/types/extensions/react-flow/edges/edgeTypes.d.ts +0 -1
- package/dist/types/extensions/react-flow/handles/HandleDefault.d.ts +2 -2
- package/dist/types/extensions/react-flow/index.d.ts +0 -1
- package/dist/types/extensions/react-flow/nodes/NodeContent.d.ts +7 -7
- package/dist/types/extensions/react-flow/nodes/NodeDefault.d.ts +1 -1
- package/dist/types/extensions/react-flow/nodes/nodeTypes.d.ts +10 -11
- package/dist/types/extensions/react-flow/nodes/nodeUtils.d.ts +1 -1
- package/dist/types/extensions/react-flow/nodes/sharedTypes.d.ts +2 -2
- package/package.json +40 -51
- package/src/cmem/ActivityControl/ActivityControlWidget.stories.tsx +4 -22
- package/src/cmem/ConfidenceValue/ConfidenceValue.stories.tsx +3 -3
- package/src/cmem/markdown/Markdown.stories.tsx +3 -3
- package/src/components/Accordion/Accordion.tsx +4 -3
- package/src/components/Accordion/AccordionItem.tsx +6 -5
- package/src/components/Accordion/accordion.scss +12 -1
- package/src/components/Application/ApplicationContent.tsx +1 -1
- package/src/components/Application/ApplicationHeader.tsx +5 -2
- package/src/components/Application/ApplicationSidebarNavigation.tsx +2 -2
- package/src/components/Application/ApplicationSidebarToggler.tsx +1 -1
- package/src/components/Application/ApplicationTitle.tsx +3 -18
- package/src/components/Application/ApplicationToolbar.tsx +4 -4
- package/src/components/Application/ApplicationToolbarAction.tsx +7 -5
- package/src/components/Application/ApplicationToolbarPanel.tsx +5 -2
- package/src/components/Application/_config.scss +1 -1
- package/src/components/Application/_content.scss +1 -1
- package/src/components/Application/_header.scss +1 -1
- package/src/components/Application/_sidebar.scss +1 -1
- package/src/components/Application/_toolbar.scss +1 -1
- package/src/components/Application/application.scss +3 -3
- package/src/components/AutoSuggestion/AutoSuggestionList.tsx +2 -2
- package/src/components/Badge/Badge.stories.tsx +3 -3
- package/src/components/Breadcrumb/stories/BreadcrumbItem.stories.tsx +3 -3
- package/src/components/Card/stories/Card.stories.tsx +4 -4
- package/src/components/Card/stories/CardActions.stories.tsx +3 -3
- package/src/components/Card/stories/CardContent.stories.tsx +3 -3
- package/src/components/Card/stories/CardHeader.stories.tsx +3 -3
- package/src/components/Card/stories/CardOptions.stories.tsx +3 -3
- package/src/components/Card/stories/CardTitle.stories.tsx +3 -3
- package/src/components/Checkbox/Stories/Checkbox.stories.tsx +3 -3
- package/src/components/CodeAutocompleteField/CodeAutocompleteField.stories.tsx +4 -0
- package/src/components/Form/Stories/FieldItem.stories.tsx +3 -3
- package/src/components/Form/Stories/FieldItemRow.stories.tsx +3 -3
- package/src/components/Grid/Grid.tsx +4 -3
- package/src/components/Grid/GridColumn.tsx +4 -4
- package/src/components/Grid/GridRow.tsx +3 -2
- package/src/components/Grid/grid.scss +1 -1
- package/src/components/Grid/stories/Grid.stories.tsx +3 -3
- package/src/components/Grid/stories/GridColumn.stories.tsx +4 -4
- package/src/components/Grid/stories/GridRow.stories.tsx +4 -4
- package/src/components/HoverToggler/HoverToggler.stories.tsx +3 -3
- package/src/components/Icon/BaseIcon.tsx +10 -3
- package/src/components/Icon/canonicalIconNames.tsx +6 -163
- package/src/components/Icon/stories/Icon.stories.tsx +3 -0
- package/src/components/InteractionGate/InteractionGate.stories.tsx +3 -3
- package/src/components/Label/Label.stories.tsx +3 -3
- package/src/components/Link/Link.tsx +3 -3
- package/src/components/Link/link.scss +1 -1
- package/src/components/MultiSelect/MultiSelect.tsx +13 -3
- package/src/components/MultiSuggestField/MultiSuggestField.stories.tsx +16 -0
- package/src/components/MultiSuggestField/tests/MultiSuggestField.test.tsx +63 -1
- package/src/components/Notification/Notification.stories.tsx +3 -3
- package/src/components/Pagination/Pagination.tsx +2 -1
- package/src/components/Pagination/Stories/Pagination.stories.tsx +4 -4
- package/src/components/Pagination/pagination.scss +70 -1
- package/src/components/ProgressBar/Stories/ProgressBar.stories.tsx +3 -3
- package/src/components/RadioButton/Stories/RadioButton.stories.tsx +3 -3
- package/src/components/Separation/Stories/Divider.stories.tsx +3 -3
- package/src/components/Separation/Stories/Spacing.stories.tsx +3 -3
- package/src/components/Spinner/Stories/spinner.stories.tsx +3 -3
- package/src/components/Switch/Stories/Switch.stories.tsx +3 -3
- package/src/components/Table/Table.tsx +4 -5
- package/src/components/Table/TableCell.tsx +4 -1
- package/src/components/Table/TableContainer.tsx +11 -3
- package/src/components/Table/TableExpandHeader.tsx +7 -5
- package/src/components/Table/TableExpandRow.tsx +6 -3
- package/src/components/Table/TableRow.tsx +2 -1
- package/src/components/Table/index.tsx +1 -1
- package/src/components/Table/table.scss +5 -5
- package/src/components/Tabs/stories/Tab.stories.tsx +3 -3
- package/src/components/Tabs/stories/TabPanel.stories.tsx +3 -3
- package/src/components/Tabs/stories/TabTitle.stories.tsx +3 -3
- package/src/components/Tabs/stories/Tabs.stories.tsx +3 -3
- package/src/components/Tag/stories/Tag.stories.tsx +3 -3
- package/src/components/Tag/stories/TagList.stories.tsx +3 -3
- package/src/components/TextField/stories/SearchField.stories.tsx +4 -4
- package/src/components/TextField/stories/TextField.stories.tsx +3 -3
- package/src/components/Toolbar/Toolbar.stories.tsx +3 -3
- package/src/components/Tree/Tree.stories.tsx +3 -3
- package/src/components/Typography/stories/WhiteSpaceContainer.stories.tsx +3 -3
- package/src/extensions/codemirror/CodeMirror.stories.tsx +3 -3
- package/src/extensions/react-flow/edges/stories/EdgeLabel.stories.tsx +3 -3
- package/src/extensions/react-flow/nodes/stories/NodeContentExtension.stories.tsx +3 -3
- package/src/includes/carbon-components/_components.scss +4 -4
- package/src/includes/carbon-components/_requisits.scss +12 -8
- package/src/includes/carbon-components/_variables.scss +1 -1
- package/src/legacy-replacements/Tabs/Tabs.stories.tsx +3 -11
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
@use "~@carbon/
|
|
1
|
+
@use "~@carbon/react/scss/components/pagination/pagination";
|
|
2
2
|
@include pagination.pagination;
|
|
3
3
|
|
|
4
4
|
$eccgui-color-pagination-background: transparent !default;
|
|
5
5
|
$eccgui-color-pagination-text: $eccgui-color-workspace-text !default;
|
|
6
6
|
$eccgui-size-typo-pagination: $eccgui-size-typo-caption !default;
|
|
7
|
+
$eccgui-size-pagination-height-medium: $pt-button-height !default;
|
|
8
|
+
$eccgui-size-pagination-height-small: $pt-button-height-small !default;
|
|
9
|
+
$eccgui-size-pagination-height-large: $pt-button-height-large !default;
|
|
7
10
|
|
|
8
11
|
.#{$prefix}--pagination {
|
|
12
|
+
min-block-size: $eccgui-size-pagination-height-medium;
|
|
9
13
|
font-size: $eccgui-size-typo-pagination;
|
|
10
14
|
background-color: $eccgui-color-pagination-background;
|
|
11
15
|
|
|
@@ -15,8 +19,17 @@ $eccgui-size-typo-pagination: $eccgui-size-typo-caption !default;
|
|
|
15
19
|
}
|
|
16
20
|
}
|
|
17
21
|
|
|
22
|
+
.#{$prefix}--pagination__left {
|
|
23
|
+
padding: 0 $eccgui-size-block-whitespace * 0.5;
|
|
24
|
+
}
|
|
25
|
+
|
|
18
26
|
span.#{$prefix}--pagination__text {
|
|
27
|
+
margin-inline-start: $eccgui-size-block-whitespace * 0.5;
|
|
19
28
|
color: $eccgui-color-pagination-text;
|
|
29
|
+
|
|
30
|
+
.#{$prefix}--pagination__right & {
|
|
31
|
+
margin-inline-end: $eccgui-size-block-whitespace * 0.5;
|
|
32
|
+
}
|
|
20
33
|
}
|
|
21
34
|
|
|
22
35
|
.#{$eccgui}-pagination--hidepagesize {
|
|
@@ -29,6 +42,12 @@ span.#{$prefix}--pagination__text {
|
|
|
29
42
|
}
|
|
30
43
|
}
|
|
31
44
|
|
|
45
|
+
.#{$prefix}--pagination__button--backward {
|
|
46
|
+
.#{$prefix}--pagination:not(.#{$eccgui}-pagination--hidepageselect) & {
|
|
47
|
+
border-left: 1px solid $border-subtle;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
32
51
|
.#{$prefix}--pagination__button--no-index {
|
|
33
52
|
// TODO: revalidate if this is still necessary using the latest version of carbon lib
|
|
34
53
|
color: rgba($eccgui-color-workspace-text, $eccgui-opacity-disabled);
|
|
@@ -38,6 +57,10 @@ span.#{$prefix}--pagination__text {
|
|
|
38
57
|
.#{$prefix}--pagination__left > .#{$prefix}--pagination__text:last-child {
|
|
39
58
|
display: none;
|
|
40
59
|
}
|
|
60
|
+
|
|
61
|
+
& .#{$prefix}--select__item-count .#{$prefix}--select-input {
|
|
62
|
+
border-inline-end: none;
|
|
63
|
+
}
|
|
41
64
|
}
|
|
42
65
|
|
|
43
66
|
.#{$eccgui}-pagination--hidepageselect {
|
|
@@ -66,4 +89,50 @@ span.#{$prefix}--pagination__text {
|
|
|
66
89
|
.#{$prefix}--pagination__button {
|
|
67
90
|
border-left: none;
|
|
68
91
|
}
|
|
92
|
+
|
|
93
|
+
.#{$prefix}--pagination__right {
|
|
94
|
+
border-inline-start: none;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// Fix pagination height, align it with button height
|
|
99
|
+
.#{$prefix}--pagination--sm {
|
|
100
|
+
min-block-size: $eccgui-size-pagination-height-small;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.#{$prefix}--pagination--lg {
|
|
104
|
+
min-block-size: $eccgui-size-pagination-height-large;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.#{$prefix}--pagination__button,
|
|
108
|
+
.#{$prefix}--btn--ghost.#{$prefix}--pagination__button {
|
|
109
|
+
inline-size: $eccgui-size-pagination-height-medium;
|
|
110
|
+
block-size: $eccgui-size-pagination-height-medium;
|
|
111
|
+
min-block-size: $eccgui-size-pagination-height-medium;
|
|
112
|
+
|
|
113
|
+
.#{$prefix}--pagination--sm & {
|
|
114
|
+
inline-size: $eccgui-size-pagination-height-small;
|
|
115
|
+
block-size: $eccgui-size-pagination-height-small;
|
|
116
|
+
min-block-size: $eccgui-size-pagination-height-small;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.#{$prefix}--pagination--lg & {
|
|
120
|
+
inline-size: $eccgui-size-pagination-height-large;
|
|
121
|
+
block-size: $eccgui-size-pagination-height-large;
|
|
122
|
+
min-block-size: $eccgui-size-pagination-height-large;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.#{$prefix}--select-input {
|
|
127
|
+
.#{$prefix}--pagination & {
|
|
128
|
+
line-height: $eccgui-size-pagination-height-medium;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.#{$prefix}--pagination--sm & {
|
|
132
|
+
line-height: $eccgui-size-pagination-height-small;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.#{$prefix}--pagination--lg & {
|
|
136
|
+
line-height: $eccgui-size-pagination-height-large;
|
|
137
|
+
}
|
|
69
138
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import { ProgressBar } from "../../../../index";
|
|
5
5
|
export default {
|
|
6
6
|
title: "Components/ProgressBar",
|
|
7
7
|
component: ProgressBar,
|
|
8
8
|
argTypes: {},
|
|
9
|
-
} as
|
|
9
|
+
} as Meta<typeof ProgressBar>;
|
|
10
10
|
|
|
11
|
-
const ProgressBarExample:
|
|
11
|
+
const ProgressBarExample: StoryFn<typeof ProgressBar> = (args) => <ProgressBar {...args}></ProgressBar>;
|
|
12
12
|
|
|
13
13
|
export const Default = ProgressBarExample.bind({});
|
|
14
14
|
Default.args = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { LoremIpsum } from "react-lorem-ipsum";
|
|
3
|
-
import {
|
|
3
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
4
4
|
|
|
5
5
|
import { HtmlContentBlock, RadioButton } from "../../../../index";
|
|
6
6
|
|
|
@@ -10,9 +10,9 @@ export default {
|
|
|
10
10
|
argTypes: {
|
|
11
11
|
onChange: { action: "clicked" },
|
|
12
12
|
},
|
|
13
|
-
} as
|
|
13
|
+
} as Meta<typeof RadioButton>;
|
|
14
14
|
|
|
15
|
-
const Template:
|
|
15
|
+
const Template: StoryFn<typeof RadioButton> = (args) => <RadioButton {...args} />;
|
|
16
16
|
|
|
17
17
|
export const SimpleTextLabel = Template.bind({});
|
|
18
18
|
SimpleTextLabel.args = {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import { Button, Divider } from "./../../../../index";
|
|
5
5
|
export default {
|
|
6
6
|
title: "Components/Separation/Divider",
|
|
7
7
|
component: Divider,
|
|
8
8
|
argTypes: {},
|
|
9
|
-
} as
|
|
9
|
+
} as Meta<typeof Divider>;
|
|
10
10
|
|
|
11
11
|
// buttons used for only showing space with elements
|
|
12
|
-
const DividerExample:
|
|
12
|
+
const DividerExample: StoryFn<typeof Divider> = (args) => (
|
|
13
13
|
<>
|
|
14
14
|
<Button children="Example element" />
|
|
15
15
|
<Divider {...args} />
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import Button from "../../Button/Button";
|
|
5
5
|
import Spacing from "../Spacing";
|
|
@@ -9,10 +9,10 @@ export default {
|
|
|
9
9
|
argTypes: {
|
|
10
10
|
size: { control: "radio" },
|
|
11
11
|
},
|
|
12
|
-
} as
|
|
12
|
+
} as Meta<typeof Spacing>;
|
|
13
13
|
|
|
14
14
|
// buttons used for only showing space with elements
|
|
15
|
-
const SpacingExample:
|
|
15
|
+
const SpacingExample: StoryFn<typeof Spacing> = (args) => (
|
|
16
16
|
<>
|
|
17
17
|
<Button children="Example element" />
|
|
18
18
|
<Spacing {...args} />
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import Spinner from "../Spinner";
|
|
5
5
|
export default {
|
|
@@ -11,9 +11,9 @@ export default {
|
|
|
11
11
|
size: { control: "radio", options: ["tiny", "small", "medium", "large", "xlarge", "inherit"] },
|
|
12
12
|
stroke: { control: "radio", options: ["thin", "medium", "bold"] },
|
|
13
13
|
},
|
|
14
|
-
} as
|
|
14
|
+
} as Meta<typeof Spinner>;
|
|
15
15
|
|
|
16
|
-
const SpinnerExample:
|
|
16
|
+
const SpinnerExample: StoryFn<typeof Spinner> = (args) => (
|
|
17
17
|
<div style={{ height: "300px", minHeight: "20vw", position: "relative" }}>
|
|
18
18
|
<Spinner {...args} />
|
|
19
19
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import Switch from "../Switch";
|
|
5
5
|
|
|
@@ -7,9 +7,9 @@ export default {
|
|
|
7
7
|
title: "Forms/Switch",
|
|
8
8
|
component: Switch,
|
|
9
9
|
argTypes: {},
|
|
10
|
-
} as
|
|
10
|
+
} as Meta<typeof Switch>;
|
|
11
11
|
|
|
12
|
-
const Template:
|
|
12
|
+
const Template: StoryFn<typeof Switch> = (args) => <Switch {...args} />;
|
|
13
13
|
|
|
14
14
|
export const Default = Template.bind({});
|
|
15
15
|
Default.args = {
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
DataTableSize as CarbonDataTableSize,
|
|
4
|
-
Table as CarbonTable,
|
|
5
|
-
TableProps as CarbonTableProps,
|
|
6
|
-
} from "carbon-components-react";
|
|
2
|
+
import { DataTableSize as CarbonDataTableSize, Table as CarbonTable } from "@carbon/react";
|
|
7
3
|
|
|
4
|
+
// import { TableProps as CarbonTableProps } from "@carbon/react/es/components/DataTable/Table"; // TODO: check later again, currently interface is not exported
|
|
8
5
|
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
9
6
|
|
|
10
7
|
type TableRowHeightSizeDepracted = "compact" | "tall"; // @deprecated
|
|
11
8
|
export type TableRowHeightSize = "small" | "medium" | "large" | TableRowHeightSizeDepracted;
|
|
12
9
|
|
|
10
|
+
// workaround to get type/interface
|
|
11
|
+
type CarbonTableProps = React.ComponentProps<typeof CarbonTable>;
|
|
13
12
|
export interface TableProps
|
|
14
13
|
extends Omit<CarbonTableProps, "size" | "overflowMenuOnHover" | "stickyHeader" | "useStaticWidth">,
|
|
15
14
|
React.TableHTMLAttributes<HTMLTableElement> {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { TableCell as CarbonTableCell
|
|
2
|
+
import { TableCell as CarbonTableCell } from "@carbon/react";
|
|
3
3
|
|
|
4
|
+
// import { TableCellProps as CarbonTableCellProps } from "@carbon/react/es/components/DataTable/TableCell"; // TODO: check later again, currently interface is not exported
|
|
4
5
|
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
5
6
|
|
|
7
|
+
// workaround to get type/interface
|
|
8
|
+
type CarbonTableCellProps = React.ComponentProps<typeof CarbonTableCell>;
|
|
6
9
|
export interface TableCellProps extends CarbonTableCellProps, React.TdHTMLAttributes<HTMLTableCellElement> {
|
|
7
10
|
/**
|
|
8
11
|
* By default all table cell content is aligned to the left of the cell.
|
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import {
|
|
3
3
|
DataTable as CarbonDataTable,
|
|
4
|
+
DataTableHeader as CarbonDataTableHeader,
|
|
4
5
|
DataTableProps as CarbonDataTableProps,
|
|
5
|
-
|
|
6
|
-
} from "carbon
|
|
6
|
+
DataTableRow as CarbonDataTableRow,
|
|
7
|
+
} from "@carbon/react";
|
|
8
|
+
import { TableContainerProps as CarbonTableContainerProps } from "@carbon/react/es/components/DataTable/TableContainer";
|
|
7
9
|
|
|
8
10
|
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
9
11
|
|
|
10
12
|
import { TableRowHeightSize, tableRowHeightSizes } from "./Table";
|
|
11
13
|
|
|
12
14
|
interface TableDataContainerProps
|
|
13
|
-
extends Omit<
|
|
15
|
+
extends Omit<
|
|
16
|
+
CarbonDataTableProps<
|
|
17
|
+
Array<Omit<CarbonDataTableRow<Array<CarbonDataTableHeader>>, "cells">>,
|
|
18
|
+
Array<CarbonDataTableHeader>
|
|
19
|
+
>,
|
|
20
|
+
"size" | "overflowMenuOnHover" | "stickyHeader" | "useStaticWidth"
|
|
21
|
+
>,
|
|
14
22
|
React.TableHTMLAttributes<HTMLTableElement> {
|
|
15
23
|
children(signature: any): JSX.Element;
|
|
16
24
|
size?: TableRowHeightSize;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
TableExpandHeaderProps as CarbonTableExpandHeaderProps,
|
|
5
|
-
} from "carbon-components-react";
|
|
2
|
+
import { TableExpandHeader as CarbonTableExpandHeader } from "@carbon/react";
|
|
3
|
+
import { TableExpandHeaderProps as CarbonTableExpandHeaderProps } from "@carbon/react/es/components/DataTable/TableExpandHeader";
|
|
6
4
|
|
|
7
5
|
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
8
6
|
import { TestIconProps } from "../Icon";
|
|
@@ -11,7 +9,10 @@ import { ValidIconName } from "../Icon/canonicalIconNames";
|
|
|
11
9
|
import IconButton from "./../Icon/IconButton";
|
|
12
10
|
|
|
13
11
|
export interface TableExpandHeaderProps
|
|
14
|
-
extends Omit<
|
|
12
|
+
extends Omit<
|
|
13
|
+
CarbonTableExpandHeaderProps,
|
|
14
|
+
"children" | "ariaLabel" | "enableExpando" | "expandIconDescription" | "aria-label"
|
|
15
|
+
>,
|
|
15
16
|
React.ThHTMLAttributes<HTMLTableCellElement> {
|
|
16
17
|
/**
|
|
17
18
|
* This text is displayed as tooltip for the button that toggles the expanded/collapsed state.
|
|
@@ -44,6 +45,7 @@ export function TableExpandHeader({
|
|
|
44
45
|
isExpanded={isExpanded}
|
|
45
46
|
onExpand={onExpand}
|
|
46
47
|
enableToggle={false}
|
|
48
|
+
aria-label="" // workaround to fix difference between types on this properties
|
|
47
49
|
{...otherCarbonTableExpandHeaderProps}
|
|
48
50
|
>
|
|
49
51
|
{enableToggle && toggleButton}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { TableExpandRow as CarbonTableExpandRow } from "@carbon/react";
|
|
3
|
+
// import { TableExpandRowProps as CarbonTableExpandRowProps } from "@carbon/react/es/components/DataTable/TableExpandRow"; // TODO: check later again, currently interface is not exported
|
|
4
|
+
import { usePrefix as carbonPrefix } from "@carbon/react";
|
|
4
5
|
|
|
5
6
|
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
6
7
|
|
|
7
8
|
import IconButton from "./../Icon/IconButton";
|
|
8
9
|
import { TableCell } from "./index";
|
|
9
10
|
|
|
11
|
+
// workaround to get type/interface
|
|
12
|
+
type CarbonTableExpandRowProps = React.ComponentProps<typeof CarbonTableExpandRow>;
|
|
10
13
|
export interface TableExpandRowProps
|
|
11
|
-
extends Omit<CarbonTableExpandRowProps, "ariaLabel" | "expandIconDescription">,
|
|
14
|
+
extends Omit<CarbonTableExpandRowProps, "ref" | "ariaLabel" | "expandIconDescription" | "aria-label">,
|
|
12
15
|
React.HTMLAttributes<HTMLTableRowElement> {
|
|
13
16
|
/**
|
|
14
17
|
* This text is displayed as tooltip for the button that toggles the expanded/collapsed state.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { TableRow as CarbonTableRow
|
|
2
|
+
import { TableRow as CarbonTableRow } from "@carbon/react";
|
|
3
|
+
import { TableRowProps as CarbonTableRowProps } from "@carbon/react/es/components/DataTable/TableRow";
|
|
3
4
|
|
|
4
5
|
import { CLASSPREFIX as eccgui } from "../../configuration/constants";
|
|
5
6
|
|
|
@@ -6,4 +6,4 @@ export * from "./TableExpandHeader";
|
|
|
6
6
|
export * from "./TableCell";
|
|
7
7
|
|
|
8
8
|
// TODO, we may wrap to add own classes (currently not necessary)
|
|
9
|
-
export { TableHead, TableBody, TableExpandedRow, TableHeader } from "carbon
|
|
9
|
+
export { TableHead, TableBody, TableExpandedRow, TableHeader } from "@carbon/react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@use "sass:color";
|
|
2
2
|
|
|
3
3
|
// import libs
|
|
4
|
-
@use "~@carbon/
|
|
4
|
+
@use "~@carbon/react/scss/components/data-table/data-table";
|
|
5
5
|
|
|
6
|
-
// currently not needed @import "~@carbon/
|
|
7
|
-
@use "~@carbon/
|
|
6
|
+
// currently not needed @import "~@carbon/react/scss/components/data-table/action";
|
|
7
|
+
@use "~@carbon/react/scss/components/data-table/expandable/index" as table-expandable;
|
|
8
8
|
|
|
9
|
-
// currently not needed @import ~@carbon/
|
|
10
|
-
@use "~@carbon/
|
|
9
|
+
// currently not needed @import ~@carbon/react/scss/components/data-table/skeleton;
|
|
10
|
+
@use "~@carbon/react/scss/components/data-table/sort/index" as table-sort;
|
|
11
11
|
@include data-table.data-table;
|
|
12
12
|
|
|
13
13
|
// own vars
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import { Tab as TabDummyForStorybook, Tabs } from "./../../../../";
|
|
5
5
|
|
|
@@ -11,13 +11,13 @@ export default {
|
|
|
11
11
|
control: "color",
|
|
12
12
|
},
|
|
13
13
|
},
|
|
14
|
-
} as
|
|
14
|
+
} as Meta<typeof TabDummyForStorybook>;
|
|
15
15
|
|
|
16
16
|
const Tab = (args) => {
|
|
17
17
|
return <Tabs id="titledemo" tabs={[args]} />;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const TemplateFull:
|
|
20
|
+
const TemplateFull: StoryFn<typeof TabDummyForStorybook> = (args) => <Tab {...args} />;
|
|
21
21
|
|
|
22
22
|
export const TabElement = TemplateFull.bind({});
|
|
23
23
|
TabElement.args = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { LoremIpsum } from "react-lorem-ipsum";
|
|
3
|
-
import {
|
|
3
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
4
4
|
|
|
5
5
|
import { TabPanel } from "./../../../";
|
|
6
6
|
|
|
@@ -8,9 +8,9 @@ export default {
|
|
|
8
8
|
title: "Components/Tabs",
|
|
9
9
|
component: TabPanel,
|
|
10
10
|
argTypes: {},
|
|
11
|
-
} as
|
|
11
|
+
} as Meta<typeof TabPanel>;
|
|
12
12
|
|
|
13
|
-
const TemplateFull:
|
|
13
|
+
const TemplateFull: StoryFn<typeof TabPanel> = (args) => <TabPanel {...args} />;
|
|
14
14
|
|
|
15
15
|
export const TabPanelElement = TemplateFull.bind({});
|
|
16
16
|
TabPanelElement.args = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import { Tabs, TabTitle as TabTitleOrg } from "./../../../";
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
title: "Components/Tabs",
|
|
8
8
|
component: TabTitleOrg,
|
|
9
9
|
argTypes: {},
|
|
10
|
-
} as
|
|
10
|
+
} as Meta<typeof TabTitleOrg>;
|
|
11
11
|
|
|
12
12
|
const TabTitle = (args) => {
|
|
13
13
|
return (
|
|
@@ -23,7 +23,7 @@ const TabTitle = (args) => {
|
|
|
23
23
|
);
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
const TemplateFull:
|
|
26
|
+
const TemplateFull: StoryFn<typeof TabTitleOrg> = (args) => <TabTitle {...args} />;
|
|
27
27
|
|
|
28
28
|
export const TabTitleElement = TemplateFull.bind({});
|
|
29
29
|
TabTitleElement.args = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import { Tabs, TabTitle } from "./../../../";
|
|
5
5
|
|
|
@@ -21,9 +21,9 @@ export default {
|
|
|
21
21
|
},
|
|
22
22
|
*/
|
|
23
23
|
},
|
|
24
|
-
} as
|
|
24
|
+
} as Meta<typeof Tabs>;
|
|
25
25
|
|
|
26
|
-
const TemplateFull:
|
|
26
|
+
const TemplateFull: StoryFn<typeof Tabs> = (args) => <Tabs {...args} />;
|
|
27
27
|
|
|
28
28
|
export const TabsContainerUncontrolled = TemplateFull.bind({});
|
|
29
29
|
TabsContainerUncontrolled.args = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import { helpersArgTypes } from "../../../../.storybook/helpers";
|
|
5
5
|
|
|
@@ -26,9 +26,9 @@ export default {
|
|
|
26
26
|
},
|
|
27
27
|
emphasized: { control: "none" },
|
|
28
28
|
},
|
|
29
|
-
} as
|
|
29
|
+
} as Meta<typeof Tag>;
|
|
30
30
|
|
|
31
|
-
const Template:
|
|
31
|
+
const Template: StoryFn<typeof Tag> = (args) => <Tag {...args} />;
|
|
32
32
|
|
|
33
33
|
export const Default = Template.bind({});
|
|
34
34
|
Default.args = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import { Tag, TagList } from "./../../../../index";
|
|
5
5
|
|
|
@@ -11,9 +11,9 @@ export default {
|
|
|
11
11
|
control: "none",
|
|
12
12
|
},
|
|
13
13
|
},
|
|
14
|
-
} as
|
|
14
|
+
} as Meta<typeof TagList>;
|
|
15
15
|
|
|
16
|
-
const Template:
|
|
16
|
+
const Template: StoryFn<typeof TagList> = (args) => <TagList {...args} />;
|
|
17
17
|
|
|
18
18
|
export const List = Template.bind({});
|
|
19
19
|
List.args = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import SearchField from "./../SearchField";
|
|
5
5
|
|
|
@@ -13,9 +13,9 @@ export default {
|
|
|
13
13
|
hasStateDanger: { table: { disable: true } },
|
|
14
14
|
fullWidth: { table: { disable: true } },
|
|
15
15
|
},
|
|
16
|
-
} as
|
|
16
|
+
} as Meta<typeof SearchField>;
|
|
17
17
|
|
|
18
|
-
const Template:
|
|
18
|
+
const Template: StoryFn<typeof SearchField> = (args) => <SearchField {...args}></SearchField>;
|
|
19
19
|
|
|
20
20
|
export const Default = Template.bind({});
|
|
21
21
|
Default.args = {
|
|
@@ -23,7 +23,7 @@ Default.args = {
|
|
|
23
23
|
onClearanceText: "",
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
export const SearchFieldWithClearanceIcon:
|
|
26
|
+
export const SearchFieldWithClearanceIcon: StoryFn<typeof SearchField> = (args) => {
|
|
27
27
|
const [query, setQuery] = React.useState<string>("");
|
|
28
28
|
return (
|
|
29
29
|
<SearchField
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import { helpersArgTypes } from "../../../../.storybook/helpers";
|
|
5
5
|
import characters from "../../../common/utils/characters";
|
|
@@ -21,9 +21,9 @@ export default {
|
|
|
21
21
|
...helpersArgTypes.exampleIntent,
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
|
-
} as
|
|
24
|
+
} as Meta<typeof TextField>;
|
|
25
25
|
|
|
26
|
-
const Template:
|
|
26
|
+
const Template: StoryFn<typeof TextField> = (args) => <TextField {...args}></TextField>;
|
|
27
27
|
|
|
28
28
|
export const Default = Template.bind({});
|
|
29
29
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import Button from "../Button/Button";
|
|
5
5
|
import IconButton from "../Icon/IconButton";
|
|
@@ -15,9 +15,9 @@ export default {
|
|
|
15
15
|
ToolbarSection,
|
|
16
16
|
},
|
|
17
17
|
argTypes: {},
|
|
18
|
-
} as
|
|
18
|
+
} as Meta<typeof Toolbar>;
|
|
19
19
|
|
|
20
|
-
const Template:
|
|
20
|
+
const Template: StoryFn<typeof Toolbar> = (args) => (
|
|
21
21
|
<Toolbar {...args}>
|
|
22
22
|
<ToolbarSection>
|
|
23
23
|
<IconButton name="operation-undo" />
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { LogoReact } from "@carbon/icons-react";
|
|
3
|
-
import {
|
|
3
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
4
4
|
|
|
5
5
|
import { Icon, OverflowText, Tag, TestIcon, Tree, TreeNodeInfo } from "./../../index";
|
|
6
6
|
import { TreeNodeShadow as TreeNode } from "./Tree";
|
|
@@ -10,9 +10,9 @@ export default {
|
|
|
10
10
|
component: Tree,
|
|
11
11
|
subcomponents: { TreeNode },
|
|
12
12
|
argTypes: {},
|
|
13
|
-
} as
|
|
13
|
+
} as Meta<typeof Tree>;
|
|
14
14
|
|
|
15
|
-
const Template:
|
|
15
|
+
const Template: StoryFn<typeof Tree> = (args) => {
|
|
16
16
|
const [treeContents, setTreeContents] = React.useState(args.contents);
|
|
17
17
|
|
|
18
18
|
return (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { loremIpsum } from "react-lorem-ipsum";
|
|
3
|
-
import {
|
|
3
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
4
4
|
|
|
5
5
|
import { WhiteSpaceContainer as WhiteSpaceContainerElement } from "../../../index";
|
|
6
6
|
|
|
@@ -30,9 +30,9 @@ export default {
|
|
|
30
30
|
paddingBottom: { ...whiteSpaceSizeOptions },
|
|
31
31
|
paddingLeft: { ...whiteSpaceSizeOptions },
|
|
32
32
|
},
|
|
33
|
-
} as
|
|
33
|
+
} as Meta<typeof WhiteSpaceContainerElement>;
|
|
34
34
|
|
|
35
|
-
const Template:
|
|
35
|
+
const Template: StoryFn<typeof WhiteSpaceContainerElement> = (args) => (
|
|
36
36
|
<WhiteSpaceContainerElement {...args} style={{ background: "#eee" }} />
|
|
37
37
|
);
|
|
38
38
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Meta, StoryFn } from "@storybook/react";
|
|
3
3
|
|
|
4
4
|
import { CodeEditor } from "./CodeMirror";
|
|
5
5
|
|
|
@@ -12,9 +12,9 @@ export default {
|
|
|
12
12
|
action: "value changed",
|
|
13
13
|
},
|
|
14
14
|
},
|
|
15
|
-
} as
|
|
15
|
+
} as Meta<typeof CodeEditor>;
|
|
16
16
|
|
|
17
|
-
const TemplateFull:
|
|
17
|
+
const TemplateFull: StoryFn<typeof CodeEditor> = (args) => <CodeEditor {...args} />;
|
|
18
18
|
|
|
19
19
|
export const BasicExample = TemplateFull.bind({});
|
|
20
20
|
BasicExample.args = {
|