@eccenca/gui-elements 6.3.0 → 22.0.0-rc.6
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 +98 -880
- package/LICENSE +202 -0
- package/README.md +56 -1240
- package/blueprint/constants.ts +7 -0
- package/blueprint/toaster/index.tsx +1 -0
- package/dist/cmem/ActivityControl/ActivityControlTypes.d.ts +15 -0
- package/dist/cmem/ActivityControl/ActivityControlTypes.js +1 -0
- package/dist/cmem/ActivityControl/ActivityControlWidget.d.ts +32 -0
- package/dist/cmem/ActivityControl/ActivityControlWidget.js +92 -0
- package/dist/cmem/ActivityControl/ActivityControlWidget.jsx +45 -0
- package/dist/cmem/ActivityControl/ActivityExecutionErrorReportModal.d.ts +12 -0
- package/dist/cmem/ActivityControl/ActivityExecutionErrorReportModal.js +59 -0
- package/dist/cmem/ActivityControl/ActivityExecutionErrorReportModal.jsx +76 -0
- package/dist/cmem/ActivityControl/SilkActivityControl.d.ts +62 -0
- package/dist/cmem/ActivityControl/SilkActivityControl.js +219 -0
- package/dist/cmem/ActivityControl/SilkActivityControl.jsx +217 -0
- package/dist/cmem/ContentBlobToggler/ContentBlobToggler.d.ts +34 -0
- package/dist/cmem/ContentBlobToggler/ContentBlobToggler.js +56 -0
- package/dist/cmem/ContentBlobToggler/ContentBlobToggler.jsx +62 -0
- package/dist/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.d.ts +42 -0
- package/dist/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.js +52 -0
- package/dist/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.jsx +17 -0
- package/dist/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.d.ts +15 -0
- package/dist/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.js +80 -0
- package/dist/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.jsx +77 -0
- package/dist/cmem/index.d.ts +10 -0
- package/dist/cmem/index.js +67 -0
- package/dist/cmem/markdown/Markdown.d.ts +16 -0
- package/dist/cmem/markdown/Markdown.js +75 -0
- package/dist/cmem/markdown/Markdown.jsx +87 -0
- package/dist/cmem/markdown/highlightSearchWords.js +84 -0
- package/dist/common/Intent/index.d.ts +7 -0
- package/dist/common/Intent/index.js +33 -0
- package/dist/common/utils/openInNewTab.d.ts +3 -0
- package/dist/common/utils/openInNewTab.js +22 -0
- package/dist/components/Accordion/Accordion.d.ts +3 -0
- package/dist/components/Accordion/Accordion.js +31 -0
- package/dist/components/Accordion/Accordion.jsx +21 -0
- package/dist/components/Accordion/AccordionItem.d.ts +15 -0
- package/dist/components/Accordion/AccordionItem.js +37 -0
- package/dist/components/Accordion/AccordionItem.jsx +27 -0
- package/dist/components/Application/ApplicationContainer.d.ts +6 -0
- package/dist/components/Application/ApplicationContainer.js +27 -0
- package/dist/components/Application/ApplicationContainer.jsx +20 -0
- package/dist/components/Application/ApplicationContent.d.ts +22 -0
- package/dist/components/Application/ApplicationContent.js +48 -0
- package/dist/components/Application/ApplicationContent.jsx +34 -0
- package/dist/components/Application/ApplicationHeader.d.ts +3 -0
- package/dist/components/Application/ApplicationHeader.js +29 -0
- package/dist/components/Application/ApplicationHeader.jsx +22 -0
- package/dist/components/Application/ApplicationSidebarNavigation.d.ts +12 -0
- package/dist/components/Application/ApplicationSidebarNavigation.js +36 -0
- package/dist/components/Application/ApplicationSidebarNavigation.jsx +22 -0
- package/dist/components/Application/ApplicationSidebarToggler.d.ts +3 -0
- package/dist/components/Application/ApplicationSidebarToggler.js +28 -0
- package/dist/components/Application/ApplicationSidebarToggler.jsx +19 -0
- package/dist/components/Application/ApplicationTitle.d.ts +40 -0
- package/dist/components/Application/ApplicationTitle.js +53 -0
- package/dist/components/Application/ApplicationTitle.jsx +39 -0
- package/dist/components/Application/ApplicationToolbar.d.ts +3 -0
- package/dist/components/Application/ApplicationToolbar.js +30 -0
- package/dist/components/Application/ApplicationToolbar.jsx +22 -0
- package/dist/components/Application/ApplicationToolbarAction.d.ts +3 -0
- package/dist/components/Application/ApplicationToolbarAction.js +30 -0
- package/dist/components/Application/ApplicationToolbarAction.jsx +22 -0
- package/dist/components/Application/ApplicationToolbarPanel.d.ts +3 -0
- package/dist/components/Application/ApplicationToolbarPanel.js +30 -0
- package/dist/components/Application/ApplicationToolbarPanel.jsx +22 -0
- package/dist/components/Application/ApplicationToolbarSection.d.ts +3 -0
- package/dist/components/Application/ApplicationToolbarSection.js +27 -0
- package/dist/components/Application/ApplicationToolbarSection.jsx +20 -0
- package/dist/components/AutocompleteField/AutoCompleteField.d.ts +110 -0
- package/dist/components/AutocompleteField/AutoCompleteField.js +309 -0
- package/dist/components/AutocompleteField/AutoCompleteField.jsx +295 -0
- package/dist/components/AutocompleteField/autoCompleteFieldUtils.js +42 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.d.ts +5 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.js +45 -0
- package/dist/components/Breadcrumb/BreadcrumbItem.jsx +30 -0
- package/dist/components/Breadcrumb/BreadcrumbList.d.ts +24 -0
- package/dist/components/Breadcrumb/BreadcrumbList.js +60 -0
- package/dist/components/Breadcrumb/BreadcrumbList.jsx +35 -0
- package/dist/components/Button/Button.d.ts +58 -0
- package/dist/components/Button/Button.js +84 -0
- package/dist/components/Button/Button.jsx +48 -0
- package/dist/components/Card/Card.d.ts +23 -0
- package/dist/components/Card/Card.js +44 -0
- package/dist/components/Card/Card.jsx +31 -0
- package/dist/components/Card/CardActions.d.ts +14 -0
- package/dist/components/Card/CardActions.js +33 -0
- package/dist/components/Card/CardActions.jsx +27 -0
- package/dist/components/Card/CardActionsAux.d.ts +9 -0
- package/dist/components/Card/CardActionsAux.js +32 -0
- package/dist/components/Card/CardActionsAux.jsx +26 -0
- package/dist/components/Card/CardContent.d.ts +9 -0
- package/dist/components/Card/CardContent.js +32 -0
- package/dist/components/Card/CardContent.jsx +25 -0
- package/dist/components/Card/CardHeader.d.ts +7 -0
- package/dist/components/Card/CardHeader.js +52 -0
- package/dist/components/Card/CardHeader.jsx +41 -0
- package/dist/components/Card/CardOptions.d.ts +11 -0
- package/dist/components/Card/CardOptions.js +35 -0
- package/dist/components/Card/CardOptions.jsx +28 -0
- package/dist/components/Card/CardTitle.d.ts +13 -0
- package/dist/components/Card/CardTitle.js +37 -0
- package/dist/components/Card/CardTitle.jsx +26 -0
- package/dist/components/Card/index.d.ts +8 -0
- package/dist/components/Card/index.js +63 -0
- package/dist/components/Card/index.jsx +8 -0
- package/dist/components/Checkbox/Checkbox.d.ts +3 -0
- package/dist/components/Checkbox/Checkbox.js +30 -0
- package/dist/components/Checkbox/Checkbox.jsx +22 -0
- package/dist/components/ContextOverlay/ContextMenu.d.ts +3 -0
- package/dist/components/ContextOverlay/ContextMenu.js +48 -0
- package/dist/components/ContextOverlay/ContextMenu.jsx +30 -0
- package/dist/components/ContextOverlay/ContextOverlay.d.ts +3 -0
- package/dist/components/ContextOverlay/ContextOverlay.js +37 -0
- package/dist/components/ContextOverlay/ContextOverlay.jsx +27 -0
- package/dist/components/Dialog/AlertDialog.d.ts +22 -0
- package/dist/components/Dialog/AlertDialog.js +56 -0
- package/dist/components/Dialog/AlertDialog.jsx +39 -0
- package/dist/components/Dialog/Modal.d.ts +25 -0
- package/dist/components/Dialog/Modal.js +67 -0
- package/dist/components/Dialog/Modal.jsx +49 -0
- package/dist/components/Dialog/SimpleDialog.d.ts +41 -0
- package/dist/components/Dialog/SimpleDialog.js +62 -0
- package/dist/components/Dialog/SimpleDialog.jsx +50 -0
- package/dist/components/Form/FieldItem.d.ts +16 -0
- package/dist/components/Form/FieldItem.js +82 -0
- package/dist/components/Form/FieldItem.jsx +48 -0
- package/dist/components/Form/FieldItemRow.d.ts +3 -0
- package/dist/components/Form/FieldItemRow.js +30 -0
- package/dist/components/Form/FieldItemRow.jsx +23 -0
- package/dist/components/Form/FieldSet.d.ts +3 -0
- package/dist/components/Form/FieldSet.js +73 -0
- package/dist/components/Form/FieldSet.jsx +49 -0
- package/dist/components/Grid/Grid.d.ts +3 -0
- package/dist/components/Grid/Grid.js +33 -0
- package/dist/components/Grid/Grid.jsx +25 -0
- package/dist/components/Grid/GridColumn.d.ts +3 -0
- package/dist/components/Grid/GridColumn.js +43 -0
- package/dist/components/Grid/GridColumn.jsx +29 -0
- package/dist/components/Grid/GridRow.d.ts +3 -0
- package/dist/components/Grid/GridRow.js +33 -0
- package/dist/components/Grid/GridRow.jsx +26 -0
- package/dist/components/Icon/Icon.d.ts +20 -0
- package/dist/components/Icon/Icon.js +91 -0
- package/dist/components/Icon/Icon.jsx +88 -0
- package/dist/components/Icon/IconButton.d.ts +17 -0
- package/dist/components/Icon/IconButton.js +49 -0
- package/dist/components/Icon/IconButton.jsx +21 -0
- package/dist/components/Icon/canonicalIconNames.d.ts +10 -0
- package/dist/components/Icon/canonicalIconNames.js +547 -0
- package/dist/components/Icon/canonicalIconNames.jsx +534 -0
- package/dist/components/Iframe/Iframe.d.ts +18 -0
- package/dist/components/Iframe/Iframe.js +92 -0
- package/dist/components/Iframe/Iframe.jsx +79 -0
- package/dist/components/Iframe/IframeModal.d.ts +12 -0
- package/dist/components/Iframe/IframeModal.js +66 -0
- package/dist/components/Iframe/IframeModal.jsx +49 -0
- package/dist/components/Label/Label.d.ts +3 -0
- package/dist/components/Label/Label.js +58 -0
- package/dist/components/Label/Label.jsx +32 -0
- package/dist/components/Link/Link.d.ts +3 -0
- package/dist/components/Link/Link.js +36 -0
- package/dist/components/Link/Link.jsx +22 -0
- package/dist/components/List/List.d.ts +17 -0
- package/dist/components/List/List.js +50 -0
- package/dist/components/List/List.jsx +44 -0
- package/dist/components/Menu/Menu.d.ts +3 -0
- package/dist/components/Menu/Menu.js +29 -0
- package/dist/components/Menu/Menu.jsx +19 -0
- package/dist/components/Menu/MenuDivider.d.ts +3 -0
- package/dist/components/Menu/MenuDivider.js +29 -0
- package/dist/components/Menu/MenuDivider.jsx +19 -0
- package/dist/components/Menu/MenuItem.d.ts +13 -0
- package/dist/components/Menu/MenuItem.js +45 -0
- package/dist/components/Menu/MenuItem.jsx +27 -0
- package/dist/components/Notification/Notification.d.ts +3 -0
- package/dist/components/Notification/Notification.js +79 -0
- package/dist/components/Notification/Notification.jsx +48 -0
- package/dist/components/Notification/Toast.d.ts +3 -0
- package/dist/components/Notification/Toast.js +31 -0
- package/dist/components/Notification/Toast.jsx +21 -0
- package/dist/components/NumericInput/NumericInput.d.ts +4 -0
- package/dist/components/NumericInput/NumericInput.js +14 -0
- package/dist/components/NumericInput/NumericInput.jsx +3 -0
- package/dist/components/OverviewItem/OverviewItem.d.ts +17 -0
- package/dist/components/OverviewItem/OverviewItem.js +45 -0
- package/dist/components/OverviewItem/OverviewItem.jsx +37 -0
- package/dist/components/OverviewItem/OverviewItemActions.d.ts +13 -0
- package/dist/components/OverviewItem/OverviewItemActions.js +32 -0
- package/dist/components/OverviewItem/OverviewItemActions.jsx +26 -0
- package/dist/components/OverviewItem/OverviewItemDepiction.d.ts +6 -0
- package/dist/components/OverviewItem/OverviewItemDepiction.js +28 -0
- package/dist/components/OverviewItem/OverviewItemDepiction.jsx +22 -0
- package/dist/components/OverviewItem/OverviewItemDescription.d.ts +3 -0
- package/dist/components/OverviewItem/OverviewItemDescription.js +27 -0
- package/dist/components/OverviewItem/OverviewItemDescription.jsx +20 -0
- package/dist/components/OverviewItem/OverviewItemLine.d.ts +19 -0
- package/dist/components/OverviewItem/OverviewItemLine.js +35 -0
- package/dist/components/OverviewItem/OverviewItemLine.jsx +29 -0
- package/dist/components/OverviewItem/OverviewItemList.d.ts +26 -0
- package/dist/components/OverviewItem/OverviewItemList.js +38 -0
- package/dist/components/OverviewItem/OverviewItemList.jsx +31 -0
- package/dist/components/OverviewItem/index.d.ts +7 -0
- package/dist/components/OverviewItem/index.js +55 -0
- package/dist/components/OverviewItem/index.jsx +7 -0
- package/dist/components/Pagination/Pagination.d.ts +17 -0
- package/dist/components/Pagination/Pagination.js +80 -0
- package/dist/components/Pagination/Pagination.jsx +81 -0
- package/dist/components/ProgressBar/ProgressBar.d.ts +3 -0
- package/dist/components/ProgressBar/ProgressBar.js +12 -0
- package/dist/components/ProgressBar/ProgressBar.jsx +3 -0
- package/dist/components/PropertyValuePair/PropertyName.d.ts +3 -0
- package/dist/components/PropertyValuePair/PropertyName.js +32 -0
- package/dist/components/PropertyValuePair/PropertyName.jsx +21 -0
- package/dist/components/PropertyValuePair/PropertyValue.d.ts +3 -0
- package/dist/components/PropertyValuePair/PropertyValue.js +27 -0
- package/dist/components/PropertyValuePair/PropertyValue.jsx +20 -0
- package/dist/components/PropertyValuePair/PropertyValueList.d.ts +3 -0
- package/dist/components/PropertyValuePair/PropertyValueList.js +27 -0
- package/dist/components/PropertyValuePair/PropertyValueList.jsx +20 -0
- package/dist/components/PropertyValuePair/PropertyValuePair.d.ts +3 -0
- package/dist/components/PropertyValuePair/PropertyValuePair.js +29 -0
- package/dist/components/PropertyValuePair/PropertyValuePair.jsx +23 -0
- package/dist/components/PropertyValuePair/index.d.ts +5 -0
- package/dist/components/PropertyValuePair/index.js +39 -0
- package/dist/components/PropertyValuePair/index.jsx +5 -0
- package/dist/components/RadioButton/RadioButton.d.ts +3 -0
- package/dist/components/RadioButton/RadioButton.js +30 -0
- package/dist/components/RadioButton/RadioButton.jsx +22 -0
- package/dist/components/Separation/Divider.d.ts +3 -0
- package/dist/components/Separation/Divider.js +23 -0
- package/dist/components/Separation/Divider.jsx +7 -0
- package/dist/components/Separation/Spacing.d.ts +9 -0
- package/dist/components/Separation/Spacing.js +27 -0
- package/dist/components/Separation/Spacing.jsx +11 -0
- package/dist/components/SimpleTable/TableContainer.d.ts +3 -0
- package/dist/components/SimpleTable/TableContainer.js +37 -0
- package/dist/components/SimpleTable/TableContainer.jsx +27 -0
- package/dist/components/SimpleTable/index.d.ts +3 -0
- package/dist/components/SimpleTable/index.js +53 -0
- package/dist/components/SimpleTable/index.jsx +3 -0
- package/dist/components/Spinner/Spinner.d.ts +19 -0
- package/dist/components/Spinner/Spinner.js +98 -0
- package/dist/components/Spinner/Spinner.jsx +83 -0
- package/dist/components/Structure/Section.d.ts +3 -0
- package/dist/components/Structure/Section.js +27 -0
- package/dist/components/Structure/Section.jsx +20 -0
- package/dist/components/Structure/SectionHeader.d.ts +3 -0
- package/dist/components/Structure/SectionHeader.js +27 -0
- package/dist/components/Structure/SectionHeader.jsx +20 -0
- package/dist/components/Structure/TitleMainsection.d.ts +3 -0
- package/dist/components/Structure/TitleMainsection.js +35 -0
- package/dist/components/Structure/TitleMainsection.jsx +26 -0
- package/dist/components/Structure/TitlePage.d.ts +3 -0
- package/dist/components/Structure/TitlePage.js +35 -0
- package/dist/components/Structure/TitlePage.jsx +26 -0
- package/dist/components/Structure/TitleSubsection.d.ts +3 -0
- package/dist/components/Structure/TitleSubsection.js +32 -0
- package/dist/components/Structure/TitleSubsection.jsx +23 -0
- package/dist/components/Switch/Switch.d.ts +4 -0
- package/dist/components/Switch/Switch.js +39 -0
- package/dist/components/Switch/Switch.jsx +22 -0
- package/dist/components/Tabs/Tabs.d.ts +24 -0
- package/dist/components/Tabs/Tabs.js +95 -0
- package/dist/components/Tabs/Tabs.jsx +49 -0
- package/dist/components/Tag/Tag.d.ts +27 -0
- package/dist/components/Tag/Tag.js +50 -0
- package/dist/components/Tag/Tag.jsx +46 -0
- package/dist/components/Tag/TagList.d.ts +3 -0
- package/dist/components/Tag/TagList.js +44 -0
- package/dist/components/Tag/TagList.jsx +38 -0
- package/dist/components/TextField/SearchField.d.ts +23 -0
- package/dist/components/TextField/SearchField.js +54 -0
- package/dist/components/TextField/SearchField.jsx +27 -0
- package/dist/components/TextField/TextArea.d.ts +22 -0
- package/dist/components/TextField/TextArea.js +60 -0
- package/dist/components/TextField/TextArea.jsx +36 -0
- package/dist/components/TextField/TextField.d.ts +34 -0
- package/dist/components/TextField/TextField.js +73 -0
- package/dist/components/TextField/TextField.jsx +40 -0
- package/dist/components/Toolbar/Toolbar.d.ts +18 -0
- package/dist/components/Toolbar/Toolbar.js +32 -0
- package/dist/components/Toolbar/Toolbar.jsx +26 -0
- package/dist/components/Toolbar/ToolbarSection.d.ts +22 -0
- package/dist/components/Toolbar/ToolbarSection.js +34 -0
- package/dist/components/Toolbar/ToolbarSection.jsx +28 -0
- package/dist/components/Tooltip/Tooltip.d.ts +17 -0
- package/dist/components/Tooltip/Tooltip.js +40 -0
- package/dist/components/Tooltip/Tooltip.jsx +25 -0
- package/dist/components/Typography/Highlighter.d.ts +18 -0
- package/dist/components/Typography/Highlighter.js +89 -0
- package/dist/components/Typography/Highlighter.jsx +58 -0
- package/dist/components/Typography/HtmlContentBlock.d.ts +6 -0
- package/dist/components/Typography/HtmlContentBlock.js +38 -0
- package/dist/components/Typography/HtmlContentBlock.jsx +31 -0
- package/dist/components/Typography/OverflowText.d.ts +12 -0
- package/dist/components/Typography/OverflowText.js +34 -0
- package/dist/components/Typography/OverflowText.jsx +31 -0
- package/dist/components/Typography/WhiteSpaceContainer.d.ts +5 -0
- package/dist/components/Typography/WhiteSpaceContainer.js +38 -0
- package/dist/components/Typography/WhiteSpaceContainer.jsx +34 -0
- package/dist/components/Typography/classnames.d.ts +7 -0
- package/dist/components/Typography/classnames.js +24 -0
- package/dist/components/Workspace/WorkspaceContent.d.ts +3 -0
- package/dist/components/Workspace/WorkspaceContent.js +34 -0
- package/dist/components/Workspace/WorkspaceContent.jsx +25 -0
- package/dist/components/Workspace/WorkspaceHeader.d.ts +10 -0
- package/dist/components/Workspace/WorkspaceHeader.js +27 -0
- package/dist/components/Workspace/WorkspaceHeader.jsx +20 -0
- package/dist/components/Workspace/WorkspaceMain.d.ts +3 -0
- package/dist/components/Workspace/WorkspaceMain.js +30 -0
- package/dist/components/Workspace/WorkspaceMain.jsx +22 -0
- package/dist/components/Workspace/WorkspaceSide.d.ts +3 -0
- package/dist/components/Workspace/WorkspaceSide.js +34 -0
- package/dist/components/Workspace/WorkspaceSide.jsx +22 -0
- package/dist/components/interfaces.d.ts +3 -0
- package/dist/components/interfaces.js +1 -0
- package/dist/configuration/constants.d.ts +1 -0
- package/dist/configuration/constants.js +9 -0
- package/dist/extensions/react-flow/edges/EdgeDefault.d.ts +10 -0
- package/dist/extensions/react-flow/edges/EdgeDefault.js +62 -0
- package/dist/extensions/react-flow/edges/EdgeDefault.jsx +45 -0
- package/dist/extensions/react-flow/edges/EdgeStep.d.ts +9 -0
- package/dist/extensions/react-flow/edges/EdgeStep.js +27 -0
- package/dist/extensions/react-flow/edges/EdgeStep.jsx +6 -0
- package/dist/extensions/react-flow/edges/EdgeTools.d.ts +12 -0
- package/dist/extensions/react-flow/edges/EdgeTools.js +48 -0
- package/dist/extensions/react-flow/edges/EdgeTools.jsx +32 -0
- package/dist/extensions/react-flow/edges/edgeTypes.d.ts +15 -0
- package/dist/extensions/react-flow/edges/edgeTypes.js +32 -0
- package/dist/extensions/react-flow/edges/utils.d.ts +4 -0
- package/dist/extensions/react-flow/edges/utils.js +41 -0
- package/dist/extensions/react-flow/handles/HandleContent.d.ts +6 -0
- package/dist/extensions/react-flow/handles/HandleContent.js +40 -0
- package/dist/extensions/react-flow/handles/HandleContent.jsx +15 -0
- package/dist/extensions/react-flow/handles/HandleDefault.d.ts +9 -0
- package/dist/extensions/react-flow/handles/HandleDefault.js +33 -0
- package/dist/extensions/react-flow/handles/HandleDefault.jsx +23 -0
- package/dist/extensions/react-flow/index.d.ts +14 -0
- package/dist/extensions/react-flow/index.js +83 -0
- package/dist/extensions/react-flow/minimap/MiniMap.d.ts +8 -0
- package/dist/extensions/react-flow/minimap/MiniMap.js +111 -0
- package/dist/extensions/react-flow/minimap/MiniMap.jsx +83 -0
- package/dist/extensions/react-flow/minimap/utils.d.ts +2 -0
- package/dist/extensions/react-flow/minimap/utils.js +29 -0
- package/dist/extensions/react-flow/nodes/NodeContentExtension.js +56 -0
- package/dist/extensions/react-flow/nodes/NodeDefault.d.ts +133 -0
- package/dist/extensions/react-flow/nodes/NodeDefault.js +223 -0
- package/dist/extensions/react-flow/nodes/NodeDefault.jsx +175 -0
- package/dist/extensions/react-flow/nodes/NodeTools.d.ts +9 -0
- package/dist/extensions/react-flow/nodes/NodeTools.js +58 -0
- package/dist/extensions/react-flow/nodes/NodeTools.jsx +46 -0
- package/dist/extensions/react-flow/nodes/nodeTypes.d.ts +13 -0
- package/dist/extensions/react-flow/nodes/nodeTypes.js +22 -0
- package/dist/index.d.ts +92 -0
- package/dist/index.js +876 -0
- package/dist/legacy-replacements/Button/AffirmativeButton.js +23 -0
- package/dist/legacy-replacements/Button/Button.js +91 -0
- package/dist/legacy-replacements/Button/DismissiveButton.js +23 -0
- package/dist/legacy-replacements/Button/DisruptiveButton.js +23 -0
- package/dist/legacy-replacements/Checkbox/Checkbox.js +66 -0
- package/dist/legacy-replacements/Radio/RadioButton.js +48 -0
- package/dist/legacy-replacements/TextField/TextField.js +96 -0
- package/package.json +151 -70
- package/src/_shame.scss +111 -0
- package/src/cmem/ActivityControl/ActivityControlTypes.ts +28 -0
- package/src/cmem/ActivityControl/ActivityControlWidget.tsx +165 -0
- package/src/cmem/ActivityControl/ActivityExecutionErrorReportModal.tsx +55 -0
- package/src/cmem/ActivityControl/SilkActivityControl.tsx +303 -0
- package/src/cmem/ActivityControl/activitycontrol.scss +27 -0
- package/src/cmem/ContentBlobToggler/ContentBlobToggler.tsx +95 -0
- package/src/cmem/ContentBlobToggler/StringPreviewContentBlobToggler.tsx +76 -0
- package/src/cmem/DateTimeDisplay/ElapsedDateTimeDisplay.tsx +69 -0
- package/src/cmem/DateTimeDisplay/tests/ElapsedDateTimeDisplay.test.tsx +29 -0
- package/src/cmem/_index.scss +2 -0
- package/src/cmem/index.ts +35 -0
- package/src/cmem/markdown/Markdown.tsx +89 -0
- package/src/cmem/markdown/highlightSearchWords.test.ts +36 -0
- package/src/cmem/markdown/highlightSearchWords.ts +67 -0
- package/src/cmem/markdown/markdown.scss +32 -0
- package/src/common/Intent/index.ts +23 -0
- package/src/common/utils/openInNewTab.ts +17 -0
- package/src/components/Accordion/Accordion.tsx +13 -0
- package/src/components/Accordion/AccordionItem.tsx +73 -0
- package/src/components/Accordion/accordion.scss +96 -0
- package/src/components/Application/ApplicationContainer.tsx +21 -0
- package/src/components/Application/ApplicationContent.tsx +57 -0
- package/src/components/Application/ApplicationHeader.tsx +14 -0
- package/src/components/Application/ApplicationSidebarNavigation.tsx +39 -0
- package/src/components/Application/ApplicationSidebarToggler.tsx +15 -0
- package/src/components/Application/ApplicationTitle.tsx +95 -0
- package/src/components/Application/ApplicationToolbar.tsx +17 -0
- package/src/components/Application/ApplicationToolbarAction.tsx +17 -0
- package/src/components/Application/ApplicationToolbarPanel.tsx +17 -0
- package/src/components/Application/ApplicationToolbarSection.tsx +15 -0
- package/src/components/Application/_config.scss +40 -0
- package/src/components/Application/_content.scss +27 -0
- package/src/components/Application/_header.scss +237 -0
- package/src/components/Application/_sidebar.scss +37 -0
- package/src/components/Application/_toolbar.scss +75 -0
- package/src/components/Application/application.scss +9 -0
- package/src/components/AutocompleteField/AutoCompleteField.tsx +399 -0
- package/src/components/AutocompleteField/autoCompleteFieldUtils.tsx +32 -0
- package/src/components/AutocompleteField/autocompletefield.scss +6 -0
- package/src/components/Breadcrumb/BreadcrumbItem.tsx +46 -0
- package/src/components/Breadcrumb/BreadcrumbList.tsx +81 -0
- package/src/components/Breadcrumb/breadcrumb.scss +47 -0
- package/src/components/Button/Button.stories.tsx +199 -0
- package/src/components/Button/Button.test.tsx +37 -0
- package/src/components/Button/Button.tsx +127 -0
- package/src/components/Button/button.scss +55 -0
- package/src/components/Card/Card.tsx +58 -0
- package/src/components/Card/CardActions.tsx +36 -0
- package/src/components/Card/CardActionsAux.tsx +29 -0
- package/src/components/Card/CardContent.tsx +26 -0
- package/src/components/Card/CardHeader.tsx +44 -0
- package/src/components/Card/CardOptions.tsx +32 -0
- package/src/components/Card/CardTitle.tsx +32 -0
- package/src/components/Card/card.scss +138 -0
- package/src/components/Card/index.tsx +17 -0
- package/src/components/Card/stories/Card.stories.tsx +82 -0
- package/src/components/Card/stories/CardActions.stories.tsx +41 -0
- package/src/components/Card/stories/CardContent.stories.tsx +28 -0
- package/src/components/Card/stories/CardHeader.stories.tsx +38 -0
- package/src/components/Card/stories/CardOptions.stories.tsx +27 -0
- package/src/components/Card/stories/CardTitle.stories.tsx +27 -0
- package/src/components/Checkbox/Checkbox.tsx +20 -0
- package/src/components/Checkbox/checkbox.scss +61 -0
- package/src/components/ContextOverlay/ContextMenu.tsx +36 -0
- package/src/components/ContextOverlay/ContextOverlay.tsx +29 -0
- package/src/components/ContextOverlay/contextoverlay.scss +15 -0
- package/src/components/Dialog/AlertDialog.tsx +52 -0
- package/src/components/Dialog/Modal.tsx +86 -0
- package/src/components/Dialog/SimpleDialog.tsx +113 -0
- package/src/components/Dialog/dialog.scss +75 -0
- package/src/components/Dialog/stories/AlertDialog.stories.tsx +42 -0
- package/src/components/Dialog/stories/Modal.stories.tsx +88 -0
- package/src/components/Dialog/stories/SimpleDialog.stories.tsx +39 -0
- package/src/components/Form/FieldItem.tsx +95 -0
- package/src/components/Form/FieldItemRow.tsx +14 -0
- package/src/components/Form/FieldSet.tsx +71 -0
- package/src/components/Form/form.scss +159 -0
- package/src/components/Grid/Grid.tsx +29 -0
- package/src/components/Grid/GridColumn.tsx +33 -0
- package/src/components/Grid/GridRow.tsx +30 -0
- package/src/components/Grid/grid.scss +89 -0
- package/src/components/Icon/Icon.tsx +96 -0
- package/src/components/Icon/IconButton.tsx +59 -0
- package/src/components/Icon/canonicalIconNames.json +120 -0
- package/src/components/Icon/canonicalIconNames.tsx +661 -0
- package/src/components/Icon/icon.scss +40 -0
- package/src/components/Iframe/Iframe.tsx +89 -0
- package/src/components/Iframe/IframeModal.tsx +77 -0
- package/src/components/Iframe/iframe.scss +49 -0
- package/src/components/Label/Label.tsx +43 -0
- package/src/components/Label/label.scss +75 -0
- package/src/components/Link/Link.tsx +19 -0
- package/src/components/Link/link.scss +6 -0
- package/src/components/List/List.tsx +46 -0
- package/src/components/Menu/Menu.tsx +9 -0
- package/src/components/Menu/MenuDivider.tsx +9 -0
- package/src/components/Menu/MenuItem.tsx +46 -0
- package/src/components/Menu/menu.scss +79 -0
- package/src/components/Notification/Notification.tsx +69 -0
- package/src/components/Notification/Toast.tsx +17 -0
- package/src/components/Notification/notification.scss +83 -0
- package/src/components/NumericInput/NumericInput.tsx +4 -0
- package/src/components/OverviewItem/OverviewItem.tsx +61 -0
- package/src/components/OverviewItem/OverviewItemActions.tsx +35 -0
- package/src/components/OverviewItem/OverviewItemDepiction.tsx +29 -0
- package/src/components/OverviewItem/OverviewItemDescription.tsx +16 -0
- package/src/components/OverviewItem/OverviewItemLine.tsx +43 -0
- package/src/components/OverviewItem/OverviewItemList.tsx +58 -0
- package/src/components/OverviewItem/index.tsx +15 -0
- package/src/components/OverviewItem/overviewitem.scss +193 -0
- package/src/components/OverviewItem/stories/OverviewItem.stories.tsx +56 -0
- package/src/components/OverviewItem/stories/OverviewItemActions.stories.tsx +31 -0
- package/src/components/OverviewItem/stories/OverviewItemDepiction.stories.tsx +26 -0
- package/src/components/OverviewItem/stories/OverviewItemDescription.stories.tsx +32 -0
- package/src/components/OverviewItem/stories/OverviewItemLine.stories.tsx +25 -0
- package/src/components/OverviewItem/stories/OverviewItemList.stories.tsx +41 -0
- package/src/components/Pagination/Pagination.tsx +80 -0
- package/src/components/Pagination/pagination.scss +47 -0
- package/src/components/ProgressBar/ProgressBar.tsx +8 -0
- package/src/components/PropertyValuePair/PropertyName.tsx +13 -0
- package/src/components/PropertyValuePair/PropertyValue.tsx +12 -0
- package/src/components/PropertyValuePair/PropertyValueList.tsx +12 -0
- package/src/components/PropertyValuePair/PropertyValuePair.tsx +20 -0
- package/src/components/PropertyValuePair/index.tsx +6 -0
- package/src/components/PropertyValuePair/propertyvalue.scss +56 -0
- package/src/components/RadioButton/RadioButton.tsx +20 -0
- package/src/components/RadioButton/radiobutton.scss +29 -0
- package/src/components/Separation/Divider.tsx +8 -0
- package/src/components/Separation/Spacing.tsx +25 -0
- package/src/components/Separation/separation.scss +77 -0
- package/src/components/SimpleTable/TableContainer.tsx +20 -0
- package/src/components/SimpleTable/index.tsx +4 -0
- package/src/components/SimpleTable/simpletable.scss +121 -0
- package/src/components/Spinner/Spinner.tsx +113 -0
- package/src/components/Spinner/spinner.scss +85 -0
- package/src/components/Structure/Section.tsx +15 -0
- package/src/components/Structure/SectionHeader.tsx +15 -0
- package/src/components/Structure/TitleMainsection.tsx +29 -0
- package/src/components/Structure/TitlePage.tsx +29 -0
- package/src/components/Structure/TitleSubsection.tsx +16 -0
- package/src/components/Structure/_titles.scss +56 -0
- package/src/components/Switch/Switch.tsx +17 -0
- package/src/components/Switch/switch.scss +4 -0
- package/src/components/Tabs/Tabs.tsx +121 -0
- package/src/components/Tabs/tabs.scss +65 -0
- package/src/components/Tag/Tag.stories.tsx +41 -0
- package/src/components/Tag/Tag.tsx +84 -0
- package/src/components/Tag/TagList.tsx +51 -0
- package/src/components/Tag/tag.scss +132 -0
- package/src/components/TagInput/taginput.scss +1 -0
- package/src/components/TextField/SearchField.tsx +71 -0
- package/src/components/TextField/TextArea.tsx +66 -0
- package/src/components/TextField/TextField.tsx +96 -0
- package/src/components/TextField/stories/SearchField.stories.tsx +40 -0
- package/src/components/TextField/stories/TextArea.stories.tsx +39 -0
- package/src/components/TextField/stories/TextField.stories.tsx +99 -0
- package/src/components/TextField/textfield.scss +63 -0
- package/src/components/Toolbar/Toolbar.stories.tsx +41 -0
- package/src/components/Toolbar/Toolbar.tsx +42 -0
- package/src/components/Toolbar/ToolbarSection.tsx +48 -0
- package/src/components/Toolbar/toolbar.scss +52 -0
- package/src/components/Tooltip/Tooltip.tsx +53 -0
- package/src/components/Tooltip/tooltip.scss +37 -0
- package/src/components/Typography/Highlighter.tsx +70 -0
- package/src/components/Typography/HtmlContentBlock.tsx +30 -0
- package/src/components/Typography/OverflowText.tsx +46 -0
- package/src/components/Typography/WhiteSpaceContainer.tsx +41 -0
- package/src/components/Typography/_reset.scss +36 -0
- package/src/components/Typography/classnames.ts +10 -0
- package/src/components/Typography/typography.scss +282 -0
- package/src/components/Workspace/WorkspaceContent.tsx +22 -0
- package/src/components/Workspace/WorkspaceHeader.tsx +20 -0
- package/src/components/Workspace/WorkspaceMain.tsx +14 -0
- package/src/components/Workspace/WorkspaceSide.tsx +18 -0
- package/src/components/Workspace/_header.scss +9 -0
- package/src/components/Workspace/workspace.scss +1 -0
- package/src/components/interfaces.ts +3 -0
- package/src/configuration/_variables.scss +130 -0
- package/src/configuration/constants.ts +2 -0
- package/src/extensions/_index.scss +1 -0
- package/src/extensions/react-flow/_config.scss +16 -0
- package/src/extensions/react-flow/_react-flow.scss +5 -0
- package/src/extensions/react-flow/edges/EdgeDefault.tsx +77 -0
- package/src/extensions/react-flow/edges/EdgeStep.tsx +19 -0
- package/src/extensions/react-flow/edges/EdgeTools.tsx +39 -0
- package/src/extensions/react-flow/edges/_edges.scss +181 -0
- package/src/extensions/react-flow/edges/edgeTypes.ts +24 -0
- package/src/extensions/react-flow/edges/utils.ts +32 -0
- package/src/extensions/react-flow/handles/HandleContent.tsx +39 -0
- package/src/extensions/react-flow/handles/HandleDefault.tsx +29 -0
- package/src/extensions/react-flow/handles/_handles.scss +208 -0
- package/src/extensions/react-flow/index.ts +15 -0
- package/src/extensions/react-flow/minimap/MiniMap.tsx +110 -0
- package/src/extensions/react-flow/minimap/_minimap.scss +79 -0
- package/src/extensions/react-flow/minimap/utils.ts +13 -0
- package/src/extensions/react-flow/nodes/NodeContent.stories.tsx +83 -0
- package/src/extensions/react-flow/nodes/NodeContentExtension.stories.tsx +36 -0
- package/src/extensions/react-flow/nodes/NodeContentExtension.tsx +87 -0
- package/src/extensions/react-flow/nodes/NodeDefault.stories.tsx +138 -0
- package/src/extensions/react-flow/nodes/NodeDefault.tsx +376 -0
- package/src/extensions/react-flow/nodes/NodeTools.tsx +48 -0
- package/src/extensions/react-flow/nodes/_nodes.scss +490 -0
- package/src/extensions/react-flow/nodes/nodeTypes.ts +14 -0
- package/src/includes/blueprintjs/_variables.scss +195 -0
- package/src/includes/carbon-components/_variables.scss +107 -0
- package/src/index.scss +190 -0
- package/src/index.ts +238 -0
- package/src/legacy-replacements/Button/AffirmativeButton.tsx +16 -0
- package/src/legacy-replacements/Button/Button.tsx +73 -0
- package/src/legacy-replacements/Button/DismissiveButton.tsx +16 -0
- package/src/legacy-replacements/Button/DisruptiveButton.tsx +16 -0
- package/src/legacy-replacements/Checkbox/Checkbox.tsx +54 -0
- package/src/legacy-replacements/Radio/RadioButton.tsx +38 -0
- package/src/legacy-replacements/TextField/TextField.tsx +90 -0
- package/src/test/setupTests.js +2 -0
- package/.cached-fonts +0 -1
- package/Ruleset.md +0 -93
- package/additionalLicenses.yml +0 -21
- package/buildConfig.js +0 -25
- package/dist/fonts/iconfont/MaterialIcons-Regular.woff +0 -0
- package/dist/fonts/iconfont/MaterialIcons-Regular.woff2 +0 -0
- package/dist/fonts/iconfont/codepoints +0 -932
- package/dist/fonts/roboto/Black/Roboto-Black.woff +0 -0
- package/dist/fonts/roboto/Black/Roboto-Black.woff2 +0 -0
- package/dist/fonts/roboto/BlackItalic/Roboto-BlackItalic.woff +0 -0
- package/dist/fonts/roboto/BlackItalic/Roboto-BlackItalic.woff2 +0 -0
- package/dist/fonts/roboto/Bold/Roboto-Bold.woff +0 -0
- package/dist/fonts/roboto/Bold/Roboto-Bold.woff2 +0 -0
- package/dist/fonts/roboto/BoldItalic/Roboto-BoldItalic.woff +0 -0
- package/dist/fonts/roboto/BoldItalic/Roboto-BoldItalic.woff2 +0 -0
- package/dist/fonts/roboto/Italic/Roboto-Italic.woff +0 -0
- package/dist/fonts/roboto/Italic/Roboto-Italic.woff2 +0 -0
- package/dist/fonts/roboto/Light/Roboto-Light.woff +0 -0
- package/dist/fonts/roboto/Light/Roboto-Light.woff2 +0 -0
- package/dist/fonts/roboto/LightItalic/Roboto-LightItalic.woff +0 -0
- package/dist/fonts/roboto/LightItalic/Roboto-LightItalic.woff2 +0 -0
- package/dist/fonts/roboto/Medium/Roboto-Medium.woff +0 -0
- package/dist/fonts/roboto/Medium/Roboto-Medium.woff2 +0 -0
- package/dist/fonts/roboto/MediumItalic/Roboto-MediumItalic.woff +0 -0
- package/dist/fonts/roboto/MediumItalic/Roboto-MediumItalic.woff2 +0 -0
- package/dist/fonts/roboto/Regular/Roboto-Regular.woff +0 -0
- package/dist/fonts/roboto/Regular/Roboto-Regular.woff2 +0 -0
- package/dist/fonts/roboto/Thin/Roboto-Thin.woff +0 -0
- package/dist/fonts/roboto/Thin/Roboto-Thin.woff2 +0 -0
- package/dist/fonts/roboto/ThinItalic/Roboto-ThinItalic.woff +0 -0
- package/dist/fonts/roboto/ThinItalic/Roboto-ThinItalic.woff2 +0 -0
- package/docs/README.md +0 -953
- package/docs/docTemplate.md +0 -140
- package/es5/component.js +0 -6686
- package/index.js +0 -136
- package/jest.config.js +0 -42
- package/src/_configuration.default.scss +0 -97
- package/src/_configuration.mdl.scss +0 -518
- package/src/elements/Alert/Alert.jsx +0 -141
- package/src/elements/Alert/Error.jsx +0 -22
- package/src/elements/Alert/Info.jsx +0 -21
- package/src/elements/Alert/Success.jsx +0 -20
- package/src/elements/Alert/Warning.jsx +0 -19
- package/src/elements/Alert/_alert.scss +0 -93
- package/src/elements/Alert/index.js +0 -13
- package/src/elements/AutoCompleteBox/AutoCompleteBox.jsx +0 -149
- package/src/elements/AutoCompleteBox/_autocomplete.scss +0 -33
- package/src/elements/Breadcrumbs/BreadcrumbItem.jsx +0 -34
- package/src/elements/Breadcrumbs/BreadcrumbList.jsx +0 -56
- package/src/elements/Breadcrumbs/_breadcrumbs.scss +0 -47
- package/src/elements/Breadcrumbs/index.js +0 -7
- package/src/elements/Button/AffirmativeButton.jsx +0 -73
- package/src/elements/Button/Button.jsx +0 -216
- package/src/elements/Button/DismissiveButton.jsx +0 -77
- package/src/elements/Button/DisruptiveButton.jsx +0 -74
- package/src/elements/Button/ProgressButton.jsx +0 -95
- package/src/elements/Button/_button.scss +0 -61
- package/src/elements/Button/index.js +0 -13
- package/src/elements/Card/Card.jsx +0 -61
- package/src/elements/Card/CardActions.jsx +0 -37
- package/src/elements/Card/CardTitle.jsx +0 -78
- package/src/elements/Card/FloatingActionList.jsx +0 -260
- package/src/elements/Card/_card.scss +0 -179
- package/src/elements/Card/index.js +0 -18
- package/src/elements/Checkbox/Checkbox.jsx +0 -113
- package/src/elements/Checkbox/_checkbox.scss +0 -14
- package/src/elements/Chip/Chip.jsx +0 -141
- package/src/elements/Chip/ChipVisual.jsx +0 -88
- package/src/elements/Chip/_chip.scss +0 -82
- package/src/elements/Chip/index.js +0 -7
- package/src/elements/ContextMenu/ContextMenu.jsx +0 -101
- package/src/elements/ContextMenu/_contextmenu.scss +0 -23
- package/src/elements/DateField/DateField.jsx +0 -178
- package/src/elements/DateField/DateTimefield.jsx +0 -20
- package/src/elements/DateField/_datefield.scss +0 -116
- package/src/elements/DateField/index.js +0 -7
- package/src/elements/Dialog/BaseDialog.jsx +0 -161
- package/src/elements/Dialog/ConfirmationDialog.jsx +0 -48
- package/src/elements/Dialog/_dialog.scss +0 -58
- package/src/elements/Dialog/index.js +0 -7
- package/src/elements/Footer/Footer.jsx +0 -171
- package/src/elements/Footer/_footer.scss +0 -17
- package/src/elements/Grid/_grid.scss +0 -18
- package/src/elements/Icon/Icon.jsx +0 -97
- package/src/elements/Icon/canonicalicons.json +0 -32
- package/src/elements/Icon/canonicaltooltips.json +0 -32
- package/src/elements/Icon/icontable.json +0 -934
- package/src/elements/Layout/_layout.scss +0 -82
- package/src/elements/NotAvailable/NotAvailable.jsx +0 -87
- package/src/elements/NotAvailable/_notavailable.scss +0 -18
- package/src/elements/Pagination/Pagination.jsx +0 -431
- package/src/elements/Pagination/_pagination.scss +0 -98
- package/src/elements/Progressbar/Progressbar.jsx +0 -34
- package/src/elements/Progressbar/_progressbar.scss +0 -22
- package/src/elements/Radio/RadioButton.jsx +0 -129
- package/src/elements/Radio/RadioGroup.jsx +0 -35
- package/src/elements/Radio/_radio.scss +0 -46
- package/src/elements/Radio/index.js +0 -7
- package/src/elements/SelectBox/SelectBox.jsx +0 -321
- package/src/elements/SelectBox/_selectbox.scss +0 -144
- package/src/elements/Spinner/Spinner.jsx +0 -44
- package/src/elements/Spinner/_spinner.scss +0 -20
- package/src/elements/Switch/Switch.jsx +0 -38
- package/src/elements/Table/Table.jsx +0 -100
- package/src/elements/Table/TableBody.jsx +0 -66
- package/src/elements/Table/TableCell.jsx +0 -94
- package/src/elements/Table/TableHead.jsx +0 -66
- package/src/elements/Table/TableRow.jsx +0 -78
- package/src/elements/Table/_datatable.scss +0 -78
- package/src/elements/Table/_table.scss +0 -143
- package/src/elements/Tabs/Tabs.jsx +0 -116
- package/src/elements/TextField/TextField.jsx +0 -172
- package/src/elements/TextField/_textfield.scss +0 -80
- package/src/elements/Tooltip/Tooltip.jsx +0 -3
- package/src/elements/Tooltip/_tooltip.scss +0 -21
- package/src/elements/Version/Version.jsx +0 -19
- package/src/hocs/ScrollingHOC.js +0 -122
- package/src/main.scss +0 -83
- package/src/scss/_adjustments.scss +0 -16
- package/src/scss/_helpers.scss +0 -29
- package/src/scss/_iconfont.scss +0 -35
- package/src/scss/_patches.scss +0 -19
- package/src/scss/_roboto.scss +0 -30
- package/src/scss/main.build-css.scss +0 -4
- package/src/utils/classnameSeperator.js +0 -10
- package/src/utils/extendedOnChangeBoolean.jsx +0 -14
- package/src/utils/uniqueId.jsx +0 -36
- package/style/test.scss +0 -30
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// Stack of Carbon variables that are necessary to use their framework
|
|
2
|
+
// TODO: calculate them from own configuration variables, all unchanged variables are commented out
|
|
3
|
+
|
|
4
|
+
/// If true, includes font face mixins in `_css--font-face.scss` depending on the `css--plex` feature flag
|
|
5
|
+
$css--font-face: false !default;
|
|
6
|
+
|
|
7
|
+
/// If true, includes the `css-helpers()` mixin
|
|
8
|
+
$css--helpers: false !default;
|
|
9
|
+
|
|
10
|
+
/// If true, includes the `css-body()` mixin
|
|
11
|
+
$css--body: false !default;
|
|
12
|
+
|
|
13
|
+
/// If true, the `layer()` mixin sets `box-shadow` values
|
|
14
|
+
$css--use-layer: true !default;
|
|
15
|
+
|
|
16
|
+
/// If true, include reset CSS
|
|
17
|
+
$css--reset: false !default;
|
|
18
|
+
|
|
19
|
+
/// If true, include default type
|
|
20
|
+
$css--default-type: false !default;
|
|
21
|
+
|
|
22
|
+
/// Used with `css--font-face` feature flag, if true, uses Plex font families instead of Helvetica
|
|
23
|
+
$css--plex: false !default;
|
|
24
|
+
|
|
25
|
+
$feature-flags: (
|
|
26
|
+
ui-shell: true,
|
|
27
|
+
grid-columns-16: true,
|
|
28
|
+
// not necessary, we include 16 columns grid directly
|
|
29
|
+
) !default;
|
|
30
|
+
|
|
31
|
+
// ⚠️ Manage deprecations
|
|
32
|
+
$deprecations--entry: true;
|
|
33
|
+
$deprecations--reasons: ();
|
|
34
|
+
$deprecations--message: "Deprecated code was found, this code will be removed before the next release of Carbon.";
|
|
35
|
+
|
|
36
|
+
$carbon--base-font-size: $eccgui-size-typo-base !default;
|
|
37
|
+
@import "~carbon-components/scss/globals/scss/vendor/@carbon/type/scss/vendor/@carbon/layout/convert";
|
|
38
|
+
|
|
39
|
+
$caption-01: (
|
|
40
|
+
font-size: carbon--rem($eccgui-size-typo-caption),
|
|
41
|
+
line-height: $eccgui-size-typo-text-lineheight / $eccgui-size-type-levelratio,
|
|
42
|
+
) !default;
|
|
43
|
+
$label-01: (
|
|
44
|
+
font-size: carbon--rem($eccgui-size-typo-caption),
|
|
45
|
+
line-height: $eccgui-size-typo-text-lineheight / $eccgui-size-type-levelratio,
|
|
46
|
+
) !default;
|
|
47
|
+
$helper-text-01: (
|
|
48
|
+
font-size: carbon--rem($eccgui-size-typo-caption),
|
|
49
|
+
line-height: $eccgui-size-typo-text-lineheight / $eccgui-size-type-levelratio,
|
|
50
|
+
) !default;
|
|
51
|
+
$body-short-01: (
|
|
52
|
+
font-size: carbon--rem($eccgui-size-typo-text),
|
|
53
|
+
line-height: $eccgui-size-typo-text-lineheight / $eccgui-size-type-levelratio,
|
|
54
|
+
) !default;
|
|
55
|
+
$body-long-01: (
|
|
56
|
+
font-size: carbon--rem($eccgui-size-typo-text),
|
|
57
|
+
line-height: $eccgui-size-typo-text-lineheight,
|
|
58
|
+
) !default;
|
|
59
|
+
$code-01: (
|
|
60
|
+
font-family: $eccgui-font-family-monospace,
|
|
61
|
+
font-size: carbon--rem($eccgui-size-typo-caption),
|
|
62
|
+
line-height: $eccgui-size-typo-text-lineheight / $eccgui-size-type-levelratio,
|
|
63
|
+
) !default;
|
|
64
|
+
$heading-01: (
|
|
65
|
+
font-size: carbon--rem($eccgui-size-typo-text),
|
|
66
|
+
font-weight: 600,
|
|
67
|
+
line-height: $eccgui-size-typo-text-lineheight,
|
|
68
|
+
) !default;
|
|
69
|
+
|
|
70
|
+
$body-short-02: (
|
|
71
|
+
font-size: carbon--rem($eccgui-size-typo-subtitle),
|
|
72
|
+
line-height: $eccgui-size-typo-text-lineheight,
|
|
73
|
+
) !default;
|
|
74
|
+
$body-long-02: (
|
|
75
|
+
font-size: carbon--rem($eccgui-size-typo-subtitle),
|
|
76
|
+
line-height: $eccgui-size-typo-text-lineheight * $eccgui-size-type-levelratio,
|
|
77
|
+
) !default;
|
|
78
|
+
$code-02: (
|
|
79
|
+
font-family: $eccgui-font-family-monospace,
|
|
80
|
+
font-size: carbon--rem($eccgui-size-typo-text),
|
|
81
|
+
line-height: $eccgui-size-typo-text-lineheight,
|
|
82
|
+
) !default;
|
|
83
|
+
$heading-02: (
|
|
84
|
+
font-size: carbon--rem($eccgui-size-typo-subtitle),
|
|
85
|
+
font-weight: 600,
|
|
86
|
+
line-height: $eccgui-size-typo-text-lineheight * $eccgui-size-type-levelratio,
|
|
87
|
+
) !default;
|
|
88
|
+
|
|
89
|
+
$ui-01: transparent !default;
|
|
90
|
+
$ui-02: $eccgui-color-workspace-background !default;
|
|
91
|
+
$ui-03: $pt-divider-black !default;
|
|
92
|
+
$text-01: $eccgui-color-applicationheader-text !default;
|
|
93
|
+
$text-02: $eccgui-color-workspace-text !default;
|
|
94
|
+
$link-01: $eccgui-color-accent !default;
|
|
95
|
+
$hover-primary-text: $eccgui-color-info-text !default;
|
|
96
|
+
$hover-field: $button-background-color-hover !default;
|
|
97
|
+
$hover-ui: $hover-field !default;
|
|
98
|
+
$visited-link: purple !default;
|
|
99
|
+
$disabled-02: rgba($text-01, $eccgui-opacity-disabled) !default;
|
|
100
|
+
|
|
101
|
+
$layout-04: carbon--rem(
|
|
102
|
+
$eccgui-size-block-whitespace * 2 * $eccgui-size-type-levelratio
|
|
103
|
+
) !default; // regular height of text input
|
|
104
|
+
$spacing-05: carbon--rem($eccgui-size-inline-whitespace) !default;
|
|
105
|
+
|
|
106
|
+
// fetch some imports even earlier than normally necessary to have them ready before auto-included by library elements
|
|
107
|
+
@import "./../../components/Button/button";
|
package/src/index.scss
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
// == load default configuration ===============================================
|
|
2
|
+
|
|
3
|
+
@import "./configuration/variables";
|
|
4
|
+
|
|
5
|
+
// == Necessary imports from libraries =========================================
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
Our own imports are at the end to rule higher if necessary.
|
|
9
|
+
|
|
10
|
+
TODO: when finished we only should see includes from own elements here, even
|
|
11
|
+
if we use element includes from libraries there.
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
// -- BlueprintJS --------------------------------------------------------------
|
|
15
|
+
|
|
16
|
+
// calculate blueprintjs configuration
|
|
17
|
+
@import "./includes/blueprintjs/variables";
|
|
18
|
+
// load blueprintjs requsists
|
|
19
|
+
@import "~@blueprintjs/core/src/common/variables";
|
|
20
|
+
// already included via bjs variables @import "~@blueprintjs/colors/src/colors";
|
|
21
|
+
// currently not needed @import "~@blueprintjs/core/src/reset";
|
|
22
|
+
// currently not needed @import "~@blueprintjs/core/src/typography";
|
|
23
|
+
@import "~@blueprintjs/core/src/accessibility/focus-states";
|
|
24
|
+
// load blueprintjs components
|
|
25
|
+
// currently not needed @import "~@blueprintjs/core/src/components/alert/alert";
|
|
26
|
+
// used in own component @import "~@blueprintjs/core/src/components/breadcrumbs/breadcrumbs";
|
|
27
|
+
// used in own component @import "~@blueprintjs/core/src/components/button/button";
|
|
28
|
+
@import "~@blueprintjs/core/src/components/button/button-group";
|
|
29
|
+
// currently not needed @import "~@blueprintjs/core/src/components/callout/callout";
|
|
30
|
+
// used in own component @import "~@blueprintjs/core/src/components/card/card";
|
|
31
|
+
@import "~@blueprintjs/core/src/components/collapse/collapse";
|
|
32
|
+
@import "~@blueprintjs/core/src/components/context-menu/context-menu";
|
|
33
|
+
@import "~@blueprintjs/core/src/components/divider/divider";
|
|
34
|
+
// used in own component @import "~@blueprintjs/core/src/components/dialog/dialog";
|
|
35
|
+
// currently not needed @import "~@blueprintjs/core/src/components/drawer/drawer";
|
|
36
|
+
@import "~@blueprintjs/core/src/components/editable-text/editable-text";
|
|
37
|
+
// used in own component @import "~@blueprintjs/core/src/components/forms/index";
|
|
38
|
+
@import "~@blueprintjs/core/src/components/html-select/html-select";
|
|
39
|
+
// currently not needed @import "~@blueprintjs/core/src/components/html-table/html-table";
|
|
40
|
+
@import "~@blueprintjs/core/src/components/hotkeys/hotkeys";
|
|
41
|
+
// not used @import "~@blueprintjs/core/src/components/icon/icon";
|
|
42
|
+
// used in own component @import "~@blueprintjs/core/src/components/menu/menu";
|
|
43
|
+
@import "~@blueprintjs/core/src/components/navbar/navbar";
|
|
44
|
+
@import "~@blueprintjs/core/src/components/non-ideal-state/non-ideal-state";
|
|
45
|
+
// used in breadcrumbs component @import "~@blueprintjs/core/src/components/overflow-list/overflow-list";
|
|
46
|
+
@import "~@blueprintjs/core/src/components/overlay/overlay";
|
|
47
|
+
@import "~@blueprintjs/core/src/components/panel-stack/panel-stack";
|
|
48
|
+
// used in own component @import "~@blueprintjs/core/src/components/popover/popover";
|
|
49
|
+
@import "~@blueprintjs/core/src/components/portal/portal";
|
|
50
|
+
@import "~@blueprintjs/core/src/components/progress-bar/progress-bar";
|
|
51
|
+
@import "~@blueprintjs/core/src/components/skeleton/skeleton";
|
|
52
|
+
@import "~@blueprintjs/core/src/components/slider/slider";
|
|
53
|
+
// used in own component @import "~@blueprintjs/core/src/components/spinner/spinner";
|
|
54
|
+
// used in own component @import @import "~@blueprintjs/core/src/components/tabs/tabs";
|
|
55
|
+
// used in own component @import "~@blueprintjs/core/src/components/tag/tag";
|
|
56
|
+
// used in own component @import "~@blueprintjs/core/src/components/tag-input/tag-input";
|
|
57
|
+
// used in own component @import "~@blueprintjs/core/src/components/toast/toast";
|
|
58
|
+
// used in own component @import "~@blueprintjs/core/src/components/tooltip/tooltip";
|
|
59
|
+
@import "~@blueprintjs/core/src/components/tree/tree";
|
|
60
|
+
|
|
61
|
+
// -- Carbon Elements ----------------------------------------------------------
|
|
62
|
+
|
|
63
|
+
/*
|
|
64
|
+
ATTENTION: Blueprint and Carbon seem to share some variable names,
|
|
65
|
+
e.g. `$button-padding` and maybe some more ... loading Carbon config here
|
|
66
|
+
leads to some unwanted style results of Blueprint components later, but as
|
|
67
|
+
we want to prevent double usage of same elements we need to figure this out
|
|
68
|
+
later anyway.
|
|
69
|
+
*/
|
|
70
|
+
|
|
71
|
+
// calculate carbon configuration
|
|
72
|
+
@import "./includes/carbon-components/variables";
|
|
73
|
+
// load carbon requsists
|
|
74
|
+
@import "~carbon-components/scss/globals/scss/feature-flags";
|
|
75
|
+
@import "~carbon-components/scss/globals/scss/vars";
|
|
76
|
+
@import "~carbon-components/scss/globals/scss/colors";
|
|
77
|
+
@import "~carbon-components/scss/globals/scss/theme";
|
|
78
|
+
@import "~carbon-components/scss/globals/scss/mixins";
|
|
79
|
+
@import "~carbon-components/scss/globals/scss/layout";
|
|
80
|
+
@import "~carbon-components/scss/globals/scss/spacing";
|
|
81
|
+
// currently not needed @import "~carbon-components/scss/globals/scss/typography";
|
|
82
|
+
@import "~carbon-components/scss/globals/scss/vendor/@carbon/elements/scss/import-once/import-once";
|
|
83
|
+
// currently not needed @import "~carbon-components/scss/globals/scss/css--reset";
|
|
84
|
+
// currently not needed @import "~carbon-components/scss/globals/scss/css--font-face";
|
|
85
|
+
// currently not needed @import "~carbon-components/scss/globals/scss/css--helpers";
|
|
86
|
+
// currently not needed @import "~carbon-components/scss/globals/scss/css--body";
|
|
87
|
+
// used in own component @import '~carbon-components/scss/globals/grid/grid';
|
|
88
|
+
// load carbon components
|
|
89
|
+
// not used @import '~carbon-components/scss/components/button/button';
|
|
90
|
+
@import "~carbon-components/scss/components/copy-button/copy-button";
|
|
91
|
+
@import "~carbon-components/scss/components/file-uploader/file-uploader";
|
|
92
|
+
// not used @import '~carbon-components/scss/components/checkbox/checkbox';
|
|
93
|
+
@import "~carbon-components/scss/components/combo-box/combo-box";
|
|
94
|
+
// not used @import '~carbon-components/scss/components/radio-button/radio-button';
|
|
95
|
+
@import "~carbon-components/scss/components/toggle/toggle";
|
|
96
|
+
@import "~carbon-components/scss/components/search/search";
|
|
97
|
+
@import "~carbon-components/scss/components/select/select";
|
|
98
|
+
@import "~carbon-components/scss/components/text-input/text-input";
|
|
99
|
+
@import "~carbon-components/scss/components/text-area/text-area";
|
|
100
|
+
@import "~carbon-components/scss/components/number-input/number-input";
|
|
101
|
+
@import "~carbon-components/scss/components/form/form";
|
|
102
|
+
// used in own component @import "~carbon-components/scss/components/link/link";
|
|
103
|
+
@import "~carbon-components/scss/components/list-box/list-box";
|
|
104
|
+
@import "~carbon-components/scss/components/list/list";
|
|
105
|
+
// used in own component @import "~carbon-components/scss/components/data-table/data-table";
|
|
106
|
+
// not used @import '~carbon-components/scss/components/structured-list/structured-list';
|
|
107
|
+
@import "~carbon-components/scss/components/code-snippet/code-snippet";
|
|
108
|
+
@import "~carbon-components/scss/components/overflow-menu/overflow-menu";
|
|
109
|
+
@import "~carbon-components/scss/components/content-switcher/content-switcher";
|
|
110
|
+
@import "~carbon-components/scss/components/date-picker/date-picker";
|
|
111
|
+
@import "~carbon-components/scss/components/dropdown/dropdown";
|
|
112
|
+
// currently not needed @import "~carbon-components/scss/components/loading/loading";
|
|
113
|
+
@import "~carbon-components/scss/components/modal/modal";
|
|
114
|
+
@import "~carbon-components/scss/components/multi-select/multi-select";
|
|
115
|
+
// currently not needed @import '~carbon-components/scss/components/notification/inline-notification';
|
|
116
|
+
// currently not needed @import '~carbon-components/scss/components/notification/toast-notification';
|
|
117
|
+
// not used @import '~carbon-components/scss/components/tooltip/tooltip';
|
|
118
|
+
// currently not needed @import "~carbon-components/scss/components/tabs/tabs";
|
|
119
|
+
// not used @import '~carbon-components/scss/components/tag/tag';
|
|
120
|
+
// used in own component @import '~carbon-components/scss/components/pagination/pagination';
|
|
121
|
+
// used in own component @import "~carbon-components/scss/components/accordion/accordion";
|
|
122
|
+
@import "~carbon-components/scss/components/progress-indicator/progress-indicator";
|
|
123
|
+
// not used @import '~carbon-components/scss/components/breadcrumb/breadcrumb';
|
|
124
|
+
@import "~carbon-components/scss/components/toolbar/toolbar";
|
|
125
|
+
@import "~carbon-components/scss/components/time-picker/time-picker";
|
|
126
|
+
@import "~carbon-components/scss/components/slider/slider";
|
|
127
|
+
@import "~carbon-components/scss/components/tile/tile";
|
|
128
|
+
@import "~carbon-components/scss/components/skeleton/skeleton";
|
|
129
|
+
@import "~carbon-components/scss/components/inline-loading/inline-loading";
|
|
130
|
+
// currently not needed @import '~carbon-components/scss/components/pagination-nav/pagination-nav';
|
|
131
|
+
// used in own component @import '~carbon-components/scss/components/ui-shell/ui-shell'; // experimental
|
|
132
|
+
|
|
133
|
+
// other 3rd party libs
|
|
134
|
+
@import "~codemirror/lib/codemirror.css";
|
|
135
|
+
@import "~codemirror/theme/xq-light.css";
|
|
136
|
+
|
|
137
|
+
// == Load element styles ======================================================
|
|
138
|
+
|
|
139
|
+
@import "./components/Typography/typography";
|
|
140
|
+
@import "./components/Application/application";
|
|
141
|
+
@import "./components/Workspace/workspace";
|
|
142
|
+
@import "./components/Grid/grid";
|
|
143
|
+
@import "./components/Icon/icon";
|
|
144
|
+
@import "./components/Menu/menu";
|
|
145
|
+
@import "./components/ContextOverlay/contextoverlay";
|
|
146
|
+
@import "./components/SimpleTable/simpletable";
|
|
147
|
+
@import "./components/Button/button";
|
|
148
|
+
@import "./components/OverviewItem/overviewitem";
|
|
149
|
+
@import "./components/Breadcrumb/breadcrumb";
|
|
150
|
+
@import "./components/Dialog/dialog";
|
|
151
|
+
@import "./components/Card/card";
|
|
152
|
+
@import "./components/Separation/separation";
|
|
153
|
+
@import "./components/Tooltip/tooltip";
|
|
154
|
+
@import "./components/Structure/titles";
|
|
155
|
+
@import "./components/Accordion/accordion";
|
|
156
|
+
@import "./components/Label/label";
|
|
157
|
+
@import "./components/Form/form";
|
|
158
|
+
@import "./components/Checkbox/checkbox";
|
|
159
|
+
@import "./components/RadioButton/radiobutton";
|
|
160
|
+
@import "./components/TextField/textfield";
|
|
161
|
+
@import "./components/AutocompleteField/autocompletefield";
|
|
162
|
+
@import "./components/Pagination/pagination";
|
|
163
|
+
@import "./components/Toolbar/toolbar";
|
|
164
|
+
@import "./components/Tag/tag";
|
|
165
|
+
@import "./components/TagInput/taginput";
|
|
166
|
+
@import "./components/Notification/notification";
|
|
167
|
+
@import "./components/Link/link";
|
|
168
|
+
@import "./components/Spinner/spinner";
|
|
169
|
+
@import "./components/Tabs/tabs";
|
|
170
|
+
@import "./components/PropertyValuePair/propertyvalue";
|
|
171
|
+
@import "./components/Iframe/iframe";
|
|
172
|
+
|
|
173
|
+
// == load tweaks ==============================================================
|
|
174
|
+
|
|
175
|
+
@import "./shame";
|
|
176
|
+
|
|
177
|
+
// == Some aftermath ===========================================================
|
|
178
|
+
|
|
179
|
+
// -- Carbon Elements ----------------------------------------------------------
|
|
180
|
+
|
|
181
|
+
// Cycle through all the deprecation reasons, if any exist, that have been
|
|
182
|
+
// accumulated through the @import process.
|
|
183
|
+
@if (length($deprecations--reasons) > 0) {
|
|
184
|
+
$deprecations--message: "";
|
|
185
|
+
@each $reason in $deprecations--reasons {
|
|
186
|
+
$deprecations--message: "#{$deprecations--message} REASON: #{$reason}";
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@warn $deprecations--message;
|
|
190
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import ApplicationContainer from "./components/Application/ApplicationContainer";
|
|
2
|
+
import ApplicationHeader from "./components/Application/ApplicationHeader";
|
|
3
|
+
import ApplicationContent from "./components/Application/ApplicationContent";
|
|
4
|
+
import ApplicationSidebarNavigation from "./components/Application/ApplicationSidebarNavigation";
|
|
5
|
+
import ApplicationSidebarToggler from "./components/Application/ApplicationSidebarToggler";
|
|
6
|
+
import ApplicationTitle from "./components/Application/ApplicationTitle";
|
|
7
|
+
import ApplicationToolbar from "./components/Application/ApplicationToolbar";
|
|
8
|
+
import ApplicationToolbarSection from "./components/Application/ApplicationToolbarSection";
|
|
9
|
+
import ApplicationToolbarAction from "./components/Application/ApplicationToolbarAction";
|
|
10
|
+
import ApplicationToolbarPanel from "./components/Application/ApplicationToolbarPanel";
|
|
11
|
+
|
|
12
|
+
import HtmlContentBlock from "./components/Typography/HtmlContentBlock";
|
|
13
|
+
import OverflowText from "./components/Typography/OverflowText";
|
|
14
|
+
import WhiteSpaceContainer from "./components/Typography/WhiteSpaceContainer";
|
|
15
|
+
import Highlighter from "./components/Typography/Highlighter";
|
|
16
|
+
|
|
17
|
+
import Grid from "./components/Grid/Grid";
|
|
18
|
+
import GridRow from "./components/Grid/GridRow";
|
|
19
|
+
import GridColumn from "./components/Grid/GridColumn";
|
|
20
|
+
|
|
21
|
+
import WorkspaceContent from "./components/Workspace/WorkspaceContent";
|
|
22
|
+
import WorkspaceMain from "./components/Workspace/WorkspaceMain";
|
|
23
|
+
import WorkspaceSide from "./components/Workspace/WorkspaceSide";
|
|
24
|
+
import WorkspaceHeader from "./components/Workspace/WorkspaceHeader";
|
|
25
|
+
|
|
26
|
+
import Icon from "./components/Icon/Icon";
|
|
27
|
+
import IconButton from "./components/Icon/IconButton";
|
|
28
|
+
|
|
29
|
+
import Label from "./components/Label/Label";
|
|
30
|
+
import Button from "./components/Button/Button";
|
|
31
|
+
import Checkbox from "./components/Checkbox/Checkbox";
|
|
32
|
+
import RadioButton from "./components/RadioButton/RadioButton";
|
|
33
|
+
import Tabs from "./components/Tabs/Tabs";
|
|
34
|
+
import TextField from "./components/TextField/TextField";
|
|
35
|
+
import TextArea from "./components/TextField/TextArea";
|
|
36
|
+
import SearchField from "./components/TextField/SearchField";
|
|
37
|
+
import Switch from "./components/Switch/Switch";
|
|
38
|
+
import NumericInput from "./components/NumericInput/NumericInput";
|
|
39
|
+
import FieldItem from "./components/Form/FieldItem";
|
|
40
|
+
import FieldItemRow from "./components/Form/FieldItemRow";
|
|
41
|
+
import FieldSet from "./components/Form/FieldSet";
|
|
42
|
+
import { AutoCompleteField } from "./components/AutocompleteField/AutoCompleteField";
|
|
43
|
+
|
|
44
|
+
import Menu from "./components/Menu/Menu";
|
|
45
|
+
import MenuItem from "./components/Menu/MenuItem";
|
|
46
|
+
import MenuDivider from "./components/Menu/MenuDivider";
|
|
47
|
+
|
|
48
|
+
import ContextOverlay from "./components/ContextOverlay/ContextOverlay";
|
|
49
|
+
import ContextMenu from "./components/ContextOverlay/ContextMenu";
|
|
50
|
+
|
|
51
|
+
import Pagination from "./components/Pagination/Pagination";
|
|
52
|
+
|
|
53
|
+
import Tag from "./components/Tag/Tag";
|
|
54
|
+
import TagList from "./components/Tag/TagList";
|
|
55
|
+
|
|
56
|
+
import Notification from "./components/Notification/Notification";
|
|
57
|
+
import Toast from "./components/Notification/Toast";
|
|
58
|
+
import { Select } from "@blueprintjs/select";
|
|
59
|
+
|
|
60
|
+
import { Iframe } from "./components/Iframe/Iframe";
|
|
61
|
+
import { IframeModal } from "./components/Iframe/IframeModal";
|
|
62
|
+
|
|
63
|
+
import {
|
|
64
|
+
OverviewItem,
|
|
65
|
+
OverviewItemActions,
|
|
66
|
+
OverviewItemDepiction,
|
|
67
|
+
OverviewItemDescription,
|
|
68
|
+
OverviewItemLine,
|
|
69
|
+
OverviewItemList,
|
|
70
|
+
} from "./components/OverviewItem";
|
|
71
|
+
|
|
72
|
+
import {
|
|
73
|
+
TableContainer,
|
|
74
|
+
Table,
|
|
75
|
+
TableHead,
|
|
76
|
+
TableRow,
|
|
77
|
+
TableBody,
|
|
78
|
+
TableCell,
|
|
79
|
+
TableHeader,
|
|
80
|
+
} from "./components/SimpleTable";
|
|
81
|
+
|
|
82
|
+
import BreadcrumbList from "./components/Breadcrumb/BreadcrumbList";
|
|
83
|
+
import BreadcrumbItem from "./components/Breadcrumb/BreadcrumbItem";
|
|
84
|
+
|
|
85
|
+
import Modal from "./components/Dialog/Modal";
|
|
86
|
+
import SimpleDialog from "./components/Dialog/SimpleDialog";
|
|
87
|
+
import AlertDialog from "./components/Dialog/AlertDialog";
|
|
88
|
+
|
|
89
|
+
import {
|
|
90
|
+
Card,
|
|
91
|
+
CardHeader,
|
|
92
|
+
CardTitle,
|
|
93
|
+
CardOptions,
|
|
94
|
+
CardContent,
|
|
95
|
+
CardActions,
|
|
96
|
+
CardActionsAux,
|
|
97
|
+
} from "./components/Card";
|
|
98
|
+
|
|
99
|
+
import Spacing from "./components/Separation/Spacing";
|
|
100
|
+
import Divider from "./components/Separation/Divider";
|
|
101
|
+
|
|
102
|
+
import Tooltip from "./components/Tooltip/Tooltip";
|
|
103
|
+
|
|
104
|
+
import Toolbar from "./components/Toolbar/Toolbar";
|
|
105
|
+
import ToolbarSection from "./components/Toolbar/ToolbarSection";
|
|
106
|
+
|
|
107
|
+
import Section from "./components/Structure/Section";
|
|
108
|
+
import SectionHeader from "./components/Structure/SectionHeader";
|
|
109
|
+
import TitlePage from "./components/Structure/TitlePage";
|
|
110
|
+
import TitleMainsection from "./components/Structure/TitleMainsection";
|
|
111
|
+
import TitleSubsection from "./components/Structure/TitleSubsection";
|
|
112
|
+
|
|
113
|
+
import Accordion from "./components/Accordion/Accordion";
|
|
114
|
+
import AccordionItem from "./components/Accordion/AccordionItem";
|
|
115
|
+
|
|
116
|
+
import Link from "./components/Link/Link";
|
|
117
|
+
|
|
118
|
+
import Spinner from "./components/Spinner/Spinner";
|
|
119
|
+
|
|
120
|
+
import { PropertyName, PropertyValue, PropertyValuePair, PropertyValueList } from "./components/PropertyValuePair";
|
|
121
|
+
|
|
122
|
+
import * as TypographyClassNames from "./components/Typography/classnames";
|
|
123
|
+
import {ClassNames as IntentClassNames} from "./common/Intent";
|
|
124
|
+
import { openInNewTab } from "./common/utils/openInNewTab";
|
|
125
|
+
import { ProgressBar } from "./components/ProgressBar/ProgressBar";
|
|
126
|
+
import List from "./components/List/List";
|
|
127
|
+
|
|
128
|
+
const HelperClasses = {
|
|
129
|
+
Typography: TypographyClassNames,
|
|
130
|
+
Intent: IntentClassNames,
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
const Utilities = {
|
|
134
|
+
openInNewTab
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export {
|
|
138
|
+
ApplicationContainer,
|
|
139
|
+
ApplicationHeader,
|
|
140
|
+
ApplicationContent,
|
|
141
|
+
ApplicationSidebarNavigation,
|
|
142
|
+
ApplicationSidebarToggler,
|
|
143
|
+
ApplicationTitle,
|
|
144
|
+
ApplicationToolbar,
|
|
145
|
+
ApplicationToolbarSection,
|
|
146
|
+
ApplicationToolbarAction,
|
|
147
|
+
ApplicationToolbarPanel,
|
|
148
|
+
HtmlContentBlock,
|
|
149
|
+
OverflowText,
|
|
150
|
+
WhiteSpaceContainer,
|
|
151
|
+
Highlighter,
|
|
152
|
+
Grid,
|
|
153
|
+
GridRow,
|
|
154
|
+
GridColumn,
|
|
155
|
+
List,
|
|
156
|
+
WorkspaceContent,
|
|
157
|
+
WorkspaceMain,
|
|
158
|
+
WorkspaceSide,
|
|
159
|
+
WorkspaceHeader,
|
|
160
|
+
Menu,
|
|
161
|
+
MenuItem,
|
|
162
|
+
MenuDivider,
|
|
163
|
+
ContextOverlay,
|
|
164
|
+
ContextMenu,
|
|
165
|
+
OverviewItem,
|
|
166
|
+
OverviewItemDepiction,
|
|
167
|
+
OverviewItemDescription,
|
|
168
|
+
OverviewItemLine,
|
|
169
|
+
OverviewItemActions,
|
|
170
|
+
OverviewItemList,
|
|
171
|
+
TableContainer,
|
|
172
|
+
Table,
|
|
173
|
+
TableHead,
|
|
174
|
+
TableRow,
|
|
175
|
+
TableBody,
|
|
176
|
+
TableCell,
|
|
177
|
+
TableHeader,
|
|
178
|
+
Icon,
|
|
179
|
+
IconButton,
|
|
180
|
+
Label,
|
|
181
|
+
Button,
|
|
182
|
+
Checkbox,
|
|
183
|
+
RadioButton,
|
|
184
|
+
Tabs,
|
|
185
|
+
TextField,
|
|
186
|
+
TextArea,
|
|
187
|
+
SearchField,
|
|
188
|
+
Switch, // TODO: scss styles
|
|
189
|
+
NumericInput, // TODO: scss styles
|
|
190
|
+
FieldItem,
|
|
191
|
+
FieldItemRow,
|
|
192
|
+
FieldSet,
|
|
193
|
+
BreadcrumbList,
|
|
194
|
+
BreadcrumbItem,
|
|
195
|
+
Modal,
|
|
196
|
+
SimpleDialog,
|
|
197
|
+
AlertDialog,
|
|
198
|
+
Card,
|
|
199
|
+
CardHeader,
|
|
200
|
+
CardTitle,
|
|
201
|
+
CardOptions,
|
|
202
|
+
CardContent,
|
|
203
|
+
CardActions,
|
|
204
|
+
CardActionsAux,
|
|
205
|
+
Spacing,
|
|
206
|
+
Divider,
|
|
207
|
+
Tooltip,
|
|
208
|
+
Section,
|
|
209
|
+
SectionHeader,
|
|
210
|
+
TitlePage,
|
|
211
|
+
TitleMainsection,
|
|
212
|
+
TitleSubsection,
|
|
213
|
+
Accordion,
|
|
214
|
+
AccordionItem,
|
|
215
|
+
Toolbar,
|
|
216
|
+
ToolbarSection,
|
|
217
|
+
Tag,
|
|
218
|
+
TagList,
|
|
219
|
+
Pagination,
|
|
220
|
+
Notification,
|
|
221
|
+
Link,
|
|
222
|
+
Spinner,
|
|
223
|
+
PropertyName,
|
|
224
|
+
PropertyValue,
|
|
225
|
+
PropertyValuePair,
|
|
226
|
+
PropertyValueList,
|
|
227
|
+
Toast,
|
|
228
|
+
HelperClasses,
|
|
229
|
+
Select, // TODO: include as own element
|
|
230
|
+
AutoCompleteField,
|
|
231
|
+
ProgressBar,
|
|
232
|
+
Iframe,
|
|
233
|
+
IframeModal,
|
|
234
|
+
Utilities
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
export * from "./cmem";
|
|
238
|
+
export * from "./extensions/react-flow";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonReplacement } from "./Button";
|
|
3
|
+
|
|
4
|
+
export function AffirmativeButtonReplacement ({
|
|
5
|
+
children,
|
|
6
|
+
...otherProps
|
|
7
|
+
}: any) {
|
|
8
|
+
return (
|
|
9
|
+
<ButtonReplacement
|
|
10
|
+
{...otherProps}
|
|
11
|
+
affirmative={true}
|
|
12
|
+
>
|
|
13
|
+
{children}
|
|
14
|
+
</ButtonReplacement>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Button from "../../components/Button/Button";
|
|
3
|
+
|
|
4
|
+
export const iconMappings: {[key: string]: any } = {
|
|
5
|
+
"edit": "item-edit",
|
|
6
|
+
"delete": "item-remove",
|
|
7
|
+
"expand_more": "toggler-showmore",
|
|
8
|
+
"expand_less": "toggler-showless",
|
|
9
|
+
"arrow_nextpage": "navigation-forth",
|
|
10
|
+
"arrow_back": "navigation-back"
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export function ButtonReplacement ({
|
|
14
|
+
children,
|
|
15
|
+
className,
|
|
16
|
+
fabSize,
|
|
17
|
+
iconName,
|
|
18
|
+
tooltip,
|
|
19
|
+
progress,
|
|
20
|
+
disabled = false,
|
|
21
|
+
affirmative = false,
|
|
22
|
+
dismissive = true,
|
|
23
|
+
disruptive = false,
|
|
24
|
+
raised = false,
|
|
25
|
+
colored = false,
|
|
26
|
+
...otherProps
|
|
27
|
+
}: any) {
|
|
28
|
+
if (process.env.NODE_ENV === 'development') {
|
|
29
|
+
const debugMsg = ["This button element is a adhoc replacement for a legacy element. Usage is deprecated, please use a standard element (Button)."];
|
|
30
|
+
if (typeof otherProps.accent !== "undefined") {
|
|
31
|
+
debugMsg.push("Button 'accent' property is not supported on legacy replacement element.");
|
|
32
|
+
delete otherProps.accent;
|
|
33
|
+
}
|
|
34
|
+
if (typeof otherProps.badge !== "undefined") {
|
|
35
|
+
debugMsg.push("Button 'badge' property is not supported on legacy replacement element.");
|
|
36
|
+
delete otherProps.badge;
|
|
37
|
+
}
|
|
38
|
+
if (typeof otherProps.ripple !== "undefined") {
|
|
39
|
+
debugMsg.push("Button 'ripple' property is not supported on legacy replacement element.");
|
|
40
|
+
delete otherProps.ripple;
|
|
41
|
+
}
|
|
42
|
+
if (typeof progress !== "undefined") {
|
|
43
|
+
debugMsg.push("Button 'progress' property is not fully supported on legacy replacement element, it only shows a loading spinner in the button.");
|
|
44
|
+
}
|
|
45
|
+
debugMsg.forEach(element => console.debug(element));
|
|
46
|
+
}
|
|
47
|
+
if (typeof otherProps.accent !== "undefined") {
|
|
48
|
+
delete otherProps.accent;
|
|
49
|
+
}
|
|
50
|
+
if (typeof otherProps.badge !== "undefined") {
|
|
51
|
+
delete otherProps.badge;
|
|
52
|
+
}
|
|
53
|
+
if (typeof otherProps.ripple !== "undefined") {
|
|
54
|
+
delete otherProps.ripple;
|
|
55
|
+
}
|
|
56
|
+
return (
|
|
57
|
+
<Button
|
|
58
|
+
{...otherProps}
|
|
59
|
+
className={className}
|
|
60
|
+
minimal={!!iconName && raised === false ? true : false}
|
|
61
|
+
icon={iconName ? (iconName && iconMappings[iconName] ? iconMappings[iconName] : iconName) : undefined}
|
|
62
|
+
tooltip={!!tooltip ? tooltip : false}
|
|
63
|
+
disabled={disabled}
|
|
64
|
+
affirmative={affirmative}
|
|
65
|
+
disruptive={disruptive}
|
|
66
|
+
hasStatePrimary={ !!fabSize || colored || !dismissive}
|
|
67
|
+
large={!!fabSize && fabSize !== "mini"}
|
|
68
|
+
loading={!!progress ? true : false}
|
|
69
|
+
>
|
|
70
|
+
{children}
|
|
71
|
+
</Button>
|
|
72
|
+
);
|
|
73
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonReplacement } from "./Button";
|
|
3
|
+
|
|
4
|
+
export function DismissiveButtonReplacement ({
|
|
5
|
+
children,
|
|
6
|
+
...otherProps
|
|
7
|
+
}: any) {
|
|
8
|
+
return (
|
|
9
|
+
<ButtonReplacement
|
|
10
|
+
{...otherProps}
|
|
11
|
+
dismissive={true}
|
|
12
|
+
>
|
|
13
|
+
{children}
|
|
14
|
+
</ButtonReplacement>
|
|
15
|
+
);
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonReplacement } from "./Button";
|
|
3
|
+
|
|
4
|
+
export function DisruptiveButtonReplacement ({
|
|
5
|
+
children,
|
|
6
|
+
...otherProps
|
|
7
|
+
}: any) {
|
|
8
|
+
return (
|
|
9
|
+
<ButtonReplacement
|
|
10
|
+
{...otherProps}
|
|
11
|
+
disruptive={true}
|
|
12
|
+
>
|
|
13
|
+
{children}
|
|
14
|
+
</ButtonReplacement>
|
|
15
|
+
);
|
|
16
|
+
}
|