All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
<ActivityControlWidget />- Add parameter
activeto activity control action to set theactivestate of its button. - action now can have a
activeandnotificationproperty
- Add parameter
<ApplicationViewability />- component for hiding elements in specific media
<InlineText />- force children to get displayed as inline content
<DecoupledOverlay />- similar toContextOverlaycomponent but not directly linked to a React element, it specifies the target in the DOM to get connected lazy<StringPreviewContentBlobToggler />useOnlyproperty: specify if only parts of the content should be used for the shortened preview, this property replacesfirstNonEmptyLineOnly
<ContextOverlay />paddingSizeproperty to add easily some white space
- CSS custom properties
- beside the color palette we now mirror the most important layout configuration variables as CSS custom properties
- new icons:
state-confirmed-allstate-declined-all
<Tag />- create more whitespace inside
smalltag - reduce visual impact of border
- create more whitespace inside
<StringPreviewContentBlobToggler />- take Markdown rendering into account before testing the maximum preview length
<CodeEditor />- fix
disabledproperty update
- fix
<VisualTour />- fix color of buttons to move to previous/next step
- take Markdown rendering into account before testing the maximum preview length
<NodeContent />- header-menu items are vertically centered now
<Link />- stabilize font size for on hover state
- use correct font sizes when
sizeproperty is set
Typography- adjust displaying fallback symbols in different browsers
<MultiSelect />:- Change default filter predicate to match multi-word queries.
<EdgeDefault />- reduce stroke width to only 1px
- automatically hide user interaction elements in print view
- all application header components except
<WorkspaceHeader /> <CardActions />and<CardOptions />actionOptionsof<ContentGroup />actionsof<Notification /><OverviewItemActions />
- all application header components except
- automatically serialize display of layout elements in print view
<FlexibleLayoutItem /><GridColumn /><PropertyName />and<PropertyValue />
<StringPreviewContentBlobToggler />firstNonEmptyLineOnlywill be removed, is replaced byuseOnly="firstNonEmptyLine"
This is a major release, and it might be not compatible with your current usage of our library. Please read about the necessary changes in the section about how to migrate.
- remove deprecated components, properties and imports from your project, if the info cannot be found here then it was already mentioned in Deprecated sections of the past changelogs
- in case you set your own colors before importing GUI elements you need to update your configuration to the new color palette structure, see
README.md - change
intent="primary"tointent="accent"for<Button />,<IconButton />and<Spinner />, if supported you may check if it is better to useaffirmative={true}orelevated={true}instead ofintent
<ChatContent />- displays single chat contents in a bubble, including options to add status line and avatar
<ChatContentCollapsed />- can collapse (and expand)
<ChatContent />automatically for convenience
- can collapse (and expand)
<ChatField />- let the user input texts, calls
onSubmithandler on enter key and submit button
- let the user input texts, calls
<ChatArea />- combine a list of chat contents and user input box
<TextReducer />- reduces HTML to simple text and can display it as one ellipsed line
<Tooltip />- prove useage of
usePlaceholderby jest test coverage
- prove useage of
<EdgeStraight />- it's basically
<EdgeDefault />without any special configs
- it's basically
<EdgeBezier />- only supported for v12, in v9 as straight edge is used
- use
curvatureproperty in the edgedataobject to define the bezier layout (0..1, default: 0.25)
<EdgeDefaultV12 />- the
dataobject providesmarkerAppearanceto set and remove the edge arrows
- the
<EdgeDefault />- introduced the new
arrowDirectionproperty, including support for bidirectional edges - supported only for<EdgeDefaultV12 />
- introduced the new
<EdgeNew />- component for React Flow v12, displaying new connection lines
<VisualTour />- component to display a visual tour multi-step tour of the current view
<Button />accentvalue forintentwas added to align property with other components
<Spinner />accentvalue forintentwas added to align property with other componentselevatedproperty can be used to highlight the spinner, currently theintent="accent"display is used
<Modal />:- Add
ModalContextto track open/close state of all used application modals. - Add
modalIdproperty to give a modal a unique ID for tracking purposes. preventReactFlowEvents: adds 'nopan', 'nowheel' and 'nodrag' classes to overlay classes in order to prevent react-flow to react to drag and pan actions in modals.- new
utilsmethods colorCalculateDistance(): calculates the difference between 2 colors using the simple CIE76 formulatextToColorHash(): calculates a color from a text stringreduceToText: shrinks HTML content and React elements to plain text, used for<TextReducer />decodeHtmlEntities: decode a string of HTML text, map HTML entities back to UTF-8 chars
- Add
- SCSS color functions
eccgui-color-var: returns a var of a custom property used for palette coloreccgui-color-mix: mix 2 colors insrgb, works with all types of color values and CSS custom propertieseccgui-color-rgba: likergba()but it works also for CSS custom properties
- Color palette: includes 4 sections with 20+ color tints in 5 weights each
- indentity, semantic, layout, extra
- managed via CSS custom properties
- see
README.mdfor more information about usage
- New icons
artefact-task-sqlupdatequeryoperatorartefact-task-customsqlexecutionitem-legendoperation-tourtoggler-carettoptoggler-caretlefttoggler-micontoggler-micofftoggler-radiotoggler-radio-checkedstate-flaggedstate-progressstate-progress-errorstate-progress-warning- more icons for build tasks
- support for React Flow v10 was completely removed
- removed direct replacements for legacy components (imported via
@eccenca/gui-elements/src/legacy-replacementsorLegacyReplacements)<AffirmativeButton />,<Button />,<DismissiveButton />,<DisruptiveButton />,<Checkbox />,<RadioButton />,<Tabs />,<TextField />
<Button />,<FieldItem />,<FieldSet />,<MultiSuggestField />- removed support for old state properties
hasStatePrimary,hasStateSuccess,hasStateWarningandhasStateDanger
- removed support for old state properties
<Notification />- removed support for old state properties
neutral,success,warninganddanger
- removed support for old state properties
<Icon />- removed
descriptionandiconTitleproperties
- removed
<OverviewItemList />densityHighproperty was removed
<CodeEditor />- static fallback for test id
codemirror-wrapperwas removed, adddata-test-id(or your test id data attribute) always directly toCodeEditor.
- static fallback for test id
<EdgeDefault />- removed
inversePathproperty, can be replaced witharrowDirection: "inversed"property
- removed
<Spinner />descriptionproperty was removed because it was defined but not implemented for a very long time, but we plan to add that type of caption later
nodeTypesandedgeTypesexports were removed- use
<ReactFlow />withconfiguration, or define it yourself
- use
- SCSS variables
$eccgui-color-application-textand$eccgui-color-application-backgroundwere removed- use
$eccgui-color-workspace-textand$eccgui-color-workspace-background
- use
- Removed
remark-typografplugin from<Markdown />rendering to maintain display expectation
<CodeAutocompleteField />:- In multiline mode, validation errors might be highlighted incorrectly (relative line offset added).
<EdgeDefault />and<EdgeStep />- support now v9 and v12 of react flow
<ReactFlowExtended />- use
<EdgeNew />by default for new connection lines, you can overwrite it by settingconnectionLineComponenttoundefined
- use
<Spinner />colorproperty does not acceptintentvalues anymore
<OverflowText />- beside explicitly specified properties it allows only basic HTML element properties and testing IDs
- overrite the native SCSS
rgba()function, so it now works for SCSS color values and CSS custom properties <SuggestField />- Always add class 'nodrag' to popover content element to always prevent dragging of react-flow and dnd-kit elements when interacting with the component.
utils.getColorConfiguration()works with CSS custom properties- property names returned by
getColorConfigurationwere changed to kebab case because they are originally defined via CSS custom properties- e.g.
graphNodeis noweccgui-graph-nodeandgraphNodeBrightiseccgui-graph-node-bright
- e.g.
<Button />and<IconButton />intentdisplay was aligned with other components,intent="primary"is nowintent="accent", in most cases it may be better to useaffirmative={true}orelevated={true}instead of primary/accent intent
<Spinner />intentdisplay was aligned with other components,intent="primary"is nowintent="accent", in most cases it may be better to useelevated={true}instead of using intent
- icons: arrow directions for
list-sortascandlist-sortdescwere switched, up arrow is now used for ascending sort
- support for React Flow v9 will be removed in v26
<EdgeDefs />- use
<ReactFlowMarkers />or build it on single<ReactFlowMarker />
- use
- React flow v12:
- add missing styles from react flow library to ensure proper functionality of new connection lines
<Tooltip />- re-check hover state after swapping the placeholder before triggering the event bubbling
<IconButton/>- increase the default delay before swapping the tooltip placeholder of the icon, reducing unwanted swaps because of mouseovers that were not intended
IntentBaseTypesnow available via root export- some
intentproperties support less or more intent types, in case you need to test supported types before, then you can use it directly from the component interface, e.g.TextFieldProps["intent"]
- some
application-colorsanddata-coloricons, both represented by the CarbonColorPaletteicon
- React flow v12:
- add missing styles from react flow library to ensure proper functionality of new connection lines
<ExtendedCodeEditor />heightandreadOnlyproperties to forward them to<CodeEditor/>
<CodeAutocompleteField />:outerDivAttributesproperty: allows to set parameter of the container elementheightandreadOnlyproperties to forward them to<ExtendedCodeEditor/>
<ActivityControlWidget />additionalActionsproperty to include other more complex components between the action buttons and the context menu of the widget
<Tooltip />swapPlaceholderDelayproperty to allow configuration of the delay time before the placeholder element is replaced by the actual tooltip component
<CodeEditor />- Editor is re-created after certain property changes and is reset, i.e. loses it current state.
- Enter key handling (adding new line) was broken when
onKeyDownis defined.
<CodeAutocompleteField />- First auto-completion item not marked as active when drop down first shown.
- Read-only mode does not work correctly. It is still possible to change the value via pressing Enter (in multiline mode) or clicking the clear button.
<NodeContent />- prevent start of a react flow drag action of a node when user clicks in the node menu section
<CodeEditor />onChangeproperty: support for(v: any) => voidtype will be exchanged to more specific(v: string) => void
- added support for React Flow v12
<NodeContent />can used withflowVersion="v12"- more v12-only components:
EdgeDefaultV12,NodeDefaultV12,EdgeDefs- they may be removed in future version when v12 elements are available direcly via
<EdgeDefault />and<NodeDefault />
- they may be removed in future version when v12 elements are available direcly via
<EdgeDefaultV12 />and<NodeDefaultV12 />will be removed when React Flow v12 is supported directly by<EdgeDefault />and<NodeDefault />flowVersionproperty:legacyandnextwill be removed/replaced byv##values
<ContextOverlay />usePlaceholderproperty: can be used to display the target but include the component later when the first interaction happens, this can improve performance
<ContextMenu />preventPlaceholderproperty to prevent the default usage of placeholders waiting for the first user interaction before inserting the full context menu
<Tooltip />usePlaceholderproperty: can be used to display the target but include the full component later when the first interaction happens, this can improve performance. It is turned on for text tooltips by default.
<OverviewItemActions />delayDisplayChildrenproperty: set a time (in ms) to delay the actual rendering of elements inside the actions container. When enabled the containingOverviewItemcan be displayed faster. Can be used e.g. to boost performance when renderingOverviewItemActionswithhiddenInteractionsset totrue.delaySkeletonproperty to set the placeholder/skeleton as long as the delayed display is waiting to get processed
<Button />,<FieldItem />,<FieldSet />,<Notification />,<Spinner />intentproperty: align intent state usage with other components
<Markdown />reHypePluginsproperty now usePluggableListfrom the unified package. This may require changes if you previously used plugins not conforming to the stricter unified typings. Backward compatibility with the old plugin list type will be removed in the next major version.
<FieldSet />,<FieldItem />,<MultiSelect />,<Button />hasStatePrimary,hasStateSuccess,hasStateWarningandhasStateDangerproperties will be removed, useintentproperty instead
<Notification />neutral,success,warninganddangerproperties will be removed, useintentproperty instead
<MultiSelect />data-test-idfor clearance button won't be set automatically, only if a test id forMultiSelectis given
<CodeAutocompleteField />and<AutoSuggestion />:- Error highlighting is always visible by underlining the respective text
eslintlibraries were upgraded to v9, sonodev18.18 or higher is required- react flow integration by renaming their resources from
legacyandnextto more precisev9andv10:HandleProps: renamed toHandleV9PropsHandleNextProps: renamed toHandleV10Props- if provided then the
flowVersionproperty do not acceptlegacyandnextas values anymore, usev9andv10
- some more interfaces are exposed:
IntentBlueprint: BlueprintJS intent types, also available byDefinitionsBlueprintTableDataContainerProps,TableSimpleContainerProps,TableHeadProps,TableBodyProps,TableExpandedRowProps,TableHeaderPropsandDataTableRenderPropsas interfaces for diverse table components
<CodeAutocompleteField />- memorize
handleChangehandler to prevent unwanted re-renders
- memorize
Old bundlers like webpack4 do not support the exports field from package.json, so it cannot resolve the correct files that need to be imported from the packages if they do not come with alternate configs like modules or main. Our latest markdown update introduced a few of those packages. So you need to extend your aliases (in webpack4 it is managed in config.resolve.alias) like:
{
"devlop": "devlop/lib/default.js",
"unist-util-visit-parents/do-not-use-color": "unist-util-visit-parents/lib/color.js",
"vfile/do-not-use-conditional-minpath": "vfile/lib/minpath.browser.js",
"vfile/do-not-use-conditional-minproc": "vfile/lib/minproc.browser.js",
"vfile/do-not-use-conditional-minurl": "vfile/lib/minurl.browser.js",
}
If you use Jest then you can use the same aliases for the moduleNameMapper config, if necessary.
HandleV9PropsandHandleV10Propsexport will be removed, use onlyHandleDefaultProps<NodeContent />businessDate: will be removed because it is already not used
<ReactFlow />: use<ReactFlowExtended />
- remove deprecated components, properties and imports from your project, if the info cannot be found here then it was already mentioned in Deprecated sections of the v24.* changelogs.
- we changed the integration of the supported react flow versions, formerly names
legacyandnextresources were renamed to more precisev9andv10, please see all info in the section about changes
- we changed the integration of the supported react flow versions, formerly names
<CardActions />noWrapproperty to display them without wrapping its children on multiple lines
<ContentGroup />component- Manage display of a grouped content section.
- Add info, actions and context annotations by using its properties.
- Can be nested into each other.
<CodeEditor />- implemented support for linting which is enabled via
useLintingpropturtleandjavascriptare currently supported languages for linting
useToolbarproperty to display toolbar if themodeis supported- currently
markdownmode is integrated, including support for headlines<h1-6>,<blockquote>,<code>block and inline,<b>bold,<i>, italic,<del>strike through,<ul>,<ol>and checkbox lists,<a>links and<img>images
- currently
- editor is focused on load if
autoFocusprop is set totrue - implemented support for
disabledstate in code editor - implemented support for
intentstates in code editor
- implemented support for linting which is enabled via
<Label />additionalElementsproperty to display elements at the end of the labelinlineproperty to display the label component as inline block
<MenutItem />tooltipproperty to dislay tooltip on menu item label
<NodeContent />resizeDirectionsto specifiy the axis that can be used to resize the noderesizeMaxDimensionsto add maximum values for resizing height/width
<OverviewItem />hasCardWrapperproperty to use aCardcomponent as wrapper around it, simplifies the process to put it in a box, usecardPropsto forward basic properties to thatCardwrapper
<SimpleDialog />actionsPropsproperty to forwardCardActionsproperties, e.g.noWrap
- New icons:
artefact-task-concatenatetofileartefact-task-pivotartefact-task-unpivotitem-magic-editoperation-format-text-codeoperation-format-text-boldoperation-format-text-italicoperation-format-text-strikethroughoperation-format-list-bulletoperation-format-list-checkedoperation-format-list-numbered
<CodeAutocompleteField />:- Code editor resets to initial value on every code editor instance re-init
<CodeEditor />- re-render the component if the
wrapLinesproperty is changed after the component's render - only fire
onChangeevent when the document has actually changed
- re-render the component if the
<OverviewItem />- whitespace after
Depictionelement when theOverviewItemist used withdensityHighandhasSpacing
- whitespace after
<OverviewItemActions />hiddenInteractionsstay visible if they contain focused elements or opened overlays (e.g. context menus)
<TagList />- do not create empty list items
<SearchField />- allow to use
onClearanceHandlerandrightElementtogether - fix display of
IconwithtooltipTextas direct child inrightElement
- allow to use
<ActivityControlWidget />- display running time after label if there is an status info to prevent a third line
<ReactFlow />- property color for
graphconfiguration was adjusted
- property color for
<SearchField />- internally forced to be managed controlled to keep
onClearanceHandlerindependent from outervalueproperty
- internally forced to be managed controlled to keep
<Switch />- use always
<Label/>component forlabelvalue
- use always
<StickyNoteNode />- Refactored data structure position and dimension (breaking change)
<MiniMap />- component supports now React Flow v9 and v12
<CodeEditor />- fallback of static test id is removed, need then always to be set if necessary
<OverflowText />- component won't accept properties of any name in future, only data attributes for test IDs and basic HTML element properties
<OverviewItemList />densityHighproperty will be removed, use it directly onOverviewItemchildren
eslintlibraries were upgraded to v9, sonodev18.18 or higher is required
MultiSelect:- Old suggestions might be shown for a very short time when typing in a new search query.
CodeEditor:- Broken highlighting for editor modes that leveraged adapted legacy modes.
This is a major release, and it might be not compatible with your current usage of our library. Please read about the necessary changes in the section about how to migrate.
- upgrade Typescript to v5
- upgrade Node to at least v18, see Changed section for more info about it
- remove deprecated components, properties and imports from your project, if the info cannot be found here then it was already mentioned in Deprecated sections of the past changelogs
<GridColumn/>full: was deprecated and now removed because it always uses full width if it is the only column and does not have any othe size config
<Notification/>fullWidth: was deprecated and now removed, useflexWidthas replacementiconName: was deprecated and now removed, useiconproperty
<Table/>size: use only "small", "medium" or "large" as value
<Tag/>emphasized: was deprecated and now removed, useminimal=falseplusemphasis="stronger"instead
IconSizedtype: useCarbonIconTypeTimeUnitstype: useElapsedDateTimeDisplayUnitsMarkdownParserPropsinterface: useMarkdownPropselapsedTimeSegmentedfunction: useelapsedDateTimeDisplayUtils.elapsedTimeSegmentedsimplifiedElapsedTimefunction: useelapsedDateTimeDisplayUtils.simplifiedElapsedTime
<StringPreviewContentBlobToggler />:noTogglerContentSuffix: Allows to add non-string elements at the end of the content if the full description is shown, i.e. no toggler is necessary. This allows to add non-string elements to both the full-view content and the pure string content.
<MultiSuggestField />- An optional custom search function property has been added, it defines how to filter elements.
- Added a prop
limitHeightOpenedto limit the height of the dropdown by automatically calculating the available height in vh.
<FlexibleLayoutContainer />and<FlexibleLayoutItem />- helper components to create flex layouts for positioning sub elements
- stop misusing
Toolbar*components to do that (anti pattern)
<PropertyValueList />and<PropertyValuePair />singleColumnproperty to display label and value below each other
<Label />emphasisproperty to control visual appearance of the label text
- basic Storybook example for
<Application* />components <CodeEditor />setEditorViewoption for compatibility to Codemirror v6supportCodeFoldingoptional property to fold code for the supported modes e.g:xml,json, etc.shouldHighlightActiveLineoptional property to highlight active line where the cursor is currently in.shouldHaveMinimalSetupoptional property that imports codemirror's base minimal configurations.additionalExtensionsoptional property for additional extensions to customize the editor further.
<Markdown />htmlContentBlockPropscan now be used to configure the wrapper around the Markdown content
$eccgui-selector-text-spot-highlightSCSS config variable to specify selector that is used to create shortly highlighted spots- it is highlighted when the selector is also active local anchor target or if it has the
.eccgui-typography--spothighlightclass attached to it
- it is highlighted when the selector is also active local anchor target or if it has the
- toggling on/off the
<HandleTools/>was corrected, they kept displayed after re-entering with the cursor <Pagination/>- change text overflow for selectors to
clipbecause Firefox renderedellipsisa bit too early
- change text overflow for selectors to
<ApplicationContainer />:useDropzoneMonitorhelper hook process was improved so that less events are processed and the dropzone monitoring is more stable
- GUI elements library needs node 18 or an higher version because dependencies were upgraded
- you may run into problems if you try it with Node v16 or v17, or Webpack v4, mainly because of a Node bugfix regarding the OpenSSL provider
- if you cannot upgrade your dependencies then you could workaround that by patching the
cryptopackage or using Node with--openssl-legacy-provideroption - see webpack/webpack#14532 and https://stackoverflow.com/questions/69692842/ for more info and possible solutions
- upgrade to
@carbon/reactpackage- almost all Carbon related packages were replaced by using only
@carbon/react - some component interfaces partly lack documentation in our Storybook because their base interfaces from
@carbon/reactare currently not exported:AccordionItemProps,ApplicationHeaderProps,ApplicationToolbarProps,ApplicationToolbarActionProps,ApplicationToolbarPanelProps,CarbonIconType,TableCellProps,TableExpandRowProps,TableProps
- almost all Carbon related packages were replaced by using only
- upgrade to Typescript v5
- your package should be compatible to Typescript 5 patterns
- upgrade to Storybook v8
- include a few patches for actions, see https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#implicit-actions-can-not-be-used-during-rendering-for-example-in-the-play-function
- allow
nextandlegacyas branch names <CodeEditor />setInstanceinterface changed tosetEditorViewfor semantic compatibility to Codemirror v6
<BreadcrumbItem/>- link color and separation char were adjusted
<Markdown/>- align blocks for language specific code to default code blocks
- switch icons for
item-cloneanditem-copyto Carbon's<Replicate/>and<Copy/> - Remove duplicated icon names
artefact-customtask*and only keepartefact-task*names. <OverviewItemDepiction/>- improve examples in storybook
- improve display for images that are to large for the available space (fully show them)
<CodeAutocompleteField />:- Add parameter
reInitOnInitialValueChange, to allow the field to re-initialize if the initial value changes.
- Add parameter
<Icon/>and<TestIcon/>descriptionandiconTitle: usetitleas replacement.
TableRowHeightSizetype: useTableProps["size"]directlyIRenderModifiersinterface: useSuggestFieldItemRendererModifierPropsIElementWidthtype: useSuggestFieldItemRendererModifierProps["styleWidth"]MultiSelectSelectionPropsinterface: useMultiSuggestFieldSelectionPropsMultiSelectPropsinterface: useMultiSuggestFieldPropsnodeTypesandedgeTypes- will be removed without replacement, define it yourself or use
<ReactFlow/withconfigurationoption
- will be removed without replacement, define it yourself or use
AutoCompleteFieldPropsandIAutoCompleteFieldPropsinterfaces: useSuggestFieldProps<CodeAutocompleteField/>AutoSuggestionProps: useCodeAutocompleteFieldPropsinstead- we renamed
ISuggestionBase,ISuggestionWithReplacementInfo,IReplacementResult,IPartialAutoCompleteResult,IValidationResulttoCodeAutocompleteFieldSuggestionBase,CodeAutocompleteFieldSuggestionWithReplacementInfo,CodeAutocompleteFieldReplacementResult,CodeAutocompleteFieldPartialAutoCompleteResult,CodeAutocompleteFieldValidationResult
- all legacy support components are going to be removed, you need to replace them by activily maintained components
<ButtonReplacement/>: switch to<Button /><AffirmativeButtonReplacement/>: switch to<Button affirmative /><DismissiveButtonReplacement/>: switch to<Button dismissive /><DisruptiveButtonReplacement/>: switch to<Button disruptive /><CheckboxReplacement/>: switch to<Checkbox /><RadioButtonReplacement/>: switch to<RadioButton /><TabsReplacement/>: switch to<Tabs /><TextFieldReplacement/>: switch to<TextField />,<TextArea />,<FieldItem />
MultiSuggestField.ofTypemethod:- instead of
MyMultiSuggest = MultiSuggestField.ofType<MyType>()use directly<MultiSuggestField<MyType> {...props} /> MultiSuggestField.ofTypealso returns the original BlueprintJSMultiSelectelement, not our version!
- instead of
<ApplicationContainer />:monitorDropzonesForproperty can be used to monitor application wide dropzones for dragged elements via data attributes attached to body element containing the data transfer type of drag over events.
<ReactFlow />dropzoneForproperty can be used to mark react flow canvas as matching area to drop dragged elements.
<Accordion />,<AccordionItem />whitespaceSizeproperty to define how much whitespace is used on top and bottom inside the header and content of an accordion item.separationSizeproperty defines how much space is used for the separation between an accordion item and the next one.
- class name prefixes are now available by variables with more readable names:
- BlueprintJS:
$prefix-blueprintjs(current value isbp5) - Carbon Design System:
$prefix-carbon(current value iscds) - eccenca GUI elements:
$prefix-eccgui(current value iseccgui)
- BlueprintJS:
<ElapsedDateTimeDisplay />- negative values are not shown (e.g. in case server and browser clocks are apart)
<TextArea />- improve visual alignment to
TextFieldregarding whitespace and colors
- improve visual alignment to
- basic styles for Uppy widget were improved and moved to its own component folder
<Accordion />sizeproperty in favour ofwhitespaceSize
<AccordionItem />condensedproperty in favour ofwhitespaceSize="none"
<ReactFlow/>,<StickyNoteModal/>,<EdgeDefault/>,<EdgeLabel/>,<HandleContent/>,<HandleTools/>,<MiniMap/>- all react flow components are now be able to process test ids as data attributes, e.g.
data-test-idanddata-testid, sometimes as direct property, in other cases as part of properties routed to the wrapper elements - storybook documentation was enhanced by demonstration the usage of test ids
- all react flow components are now be able to process test ids as data attributes, e.g.
<Markdown />- Do syntax highlighting when a class name is set in the form
language-<LANGUAGE_NAME>.
- Do syntax highlighting when a class name is set in the form
<StickyTarget/>- Element wraps the content that need to be displayed sticky.
utilsgetScrollParent: method to find the scroll parent of an element
<SuggestField />- Support loading more results when scrolling to the end of the result list.
<TextArea />intentproperty to set the state, formerly usedhasStatePrimary,hasStateSuccess,hasStateWarningandhasStateDangerproperties are now deprecatedleftIcon: set the left aligned iconrightElement: renders on right side
<Depiction />disabledproperty could be used if the element is used inside a disabled interactive element or form control but the state is not adapted automatically to the depiction
- new icons:
navigation-extern,toggler-list,toggler-table,data-boolean
<MultiSuggestField />- Updated the interface with the ability to use either
selectedItemsorprePopulateWithItemsproperties, which is more logical. - Fixed deferred
selectedItemssetting.
- Updated the interface with the ability to use either
<BreadcrumbsList />onItemClickhandler is only executed if breadcrumb hashrefset because this is one callback parameter and the handler would not have any information otherwise
<Depiction />- position fixed when element is used as icon in
<Button />
- position fixed when element is used as icon in
<Tooltip />- fix font sizes and background colors
<NodeContent />- node introduction is only processed one time even if a node update still provides a
introductionTimeproperty
- node introduction is only processed one time even if a node update still provides a
<BreadcrumbsList />onItemClickhandler is only executed when the breadcrumb has no ownonClickhandler defined
<Card />elevationallows now-1as value, the card is borderless then
<MultiSuggestField />- use "Search for item, or enter term to create new one..." as default
placeholderifcreateNewItemFromQueryis given
- use "Search for item, or enter term to create new one..." as default
<SilkActivityControl />- interface of
initialStatusproperty has been updated with the so far missinglastUpdateTimeproperty. If you run in problems because of that you could useDate.now()as fix. Or consider to use<ActivityControlWidget />directly, what is probably even better.
- interface of
<Depiction />- opcaity is reduced automatically when element is used as icon in a disabled
<Button />
- opcaity is reduced automatically when element is used as icon in a disabled
<TextArea />hasStatePrimary,hasStateSuccess,hasStateWarningandhasStateDangerproperties: use theintentproperty instead.
<StickyNoteModal/>- static test id
data-test-id="sticky-note-modal"will be removed with next major version
- static test id
<BreadcrumbList/>,<MultiSuggestField/>,<Notification/>,<Select/>,<Tabs/>data-test-id(anddata-testidas alias of it): can be defined to add test ids to the DOM elementswrapperProps: can be defined by usingdivattributes, and if given adivelement with wrap the component. This wrapper is also used for test ids because the underlaying BlueprintJS components do not forward data attributes to the DOM.- if a test id is used on
<Select/>or<MultiSuggestField/>then the toggle button, the dropdown and the search filter get automatically their own test id, suffixed by_togger,_drowpdownand_searchinput.
<CodeMirror />:- Added support for N-triples and Mathematica modes.
- Allow direct access to the underlying code mirror instance.
- Allow to register a scroll handler.
- Support code folding for some modes, e.g. xml, json.
<Modal/>,<SimpleDialog/>,<AlertDialog/>data-test-id(anddata-testidas alias of it): can be defined to add test ids to the DOM elements
<MultiSuggestField />selectedItemscan be used to set default selected items
- new use hook
useApplicationHeaderOverModals: forces the application header to be displayed over modal backgrounds
ClassNamesnow forwards all BlueprintJS CSS class names-
import { ClassNames } from "@eccenca/gui-elements"; export const bpButtonClass = ClassNames.Blueprint.BUTTON;
-
- new icons:
state-locked,state-unlocked,application-notification
<Card />- fix styles for
selected=true, allow it without interactive functionality on card element - align colors with active menu items
- fix styles for
<MultiSuggestField />- reset the list of options when the query is cleared but nothing from the list is selected
- add the created element to the list of filtered elements immediately after its creation
- block input if
disabledproperty is set
<TagList />- vertical alignment fixed in nowrap containers and for tags with icons
- BlueprintJS libraries was updated to v5
- Popover2 lib was removed because we can now again use the internal component from core lib again
<ApplicationContainer /><OverlaysProvider />from BlueprintJS is now used- @see https://github.com/palantir/blueprint/wiki/Overlay2-migration
<Tag />- included icons are always limited to the height of the text label
<Button />- interface
AnchorOrButtonPropsis currently exported together with the component but it will be removed with the next major version - there won't be a replacement or alternate interface because
ButtonPropsshould be enough
- interface
<BreadcrumbList/>- property
htmlUlProps: this is going to be removed because the BlueprintJSBreadcrumbscomponent does not support nativeulattributes. The element provides a newwrapperPropsproperty.
- property
<MultiSuggestField />- static usage of
data-test-id="clear-all-items"for the clearance button is deprecated, will be replaced by a test id later that is created from the given test id for the component plus a_clearancesuffix
- static usage of
<CodeEditor />- visualize the usage of tabulator chars by background color and arrow symbol
- new
tabIntentSize,tabIntentStyle,tabForceSpaceForModesproperties to give better control over tabulator usage
<Depiction />- images representing SVG without
widthproperty on their root element are displayed with a minimal forced dimension to prevent that they are hidden in some browsers
- images representing SVG without
- icons
- use older version of icon library to prevent typescript issues after changes in recent versions
<PropertyValuePair />,<PropertyName />,<PropertyValue />nowrap: force display on one line without breaks
<Skeleton />- provides a loading state display of its children elements
<TableCell />alignHorizontal: allow to center cell contents
<ActivityControlWidget />- added extra line to show timer for execution period
<ExtendedCodeEditor />- replaces
<SingleLineCodeEditor />to get used for the<CodeAutocompleteField />component
- replaces
- new icons
data-string,data-url,data-date,data-time,data-datetime,data-number
<Pagination />- adjust color of arrow in disabled navigation button
<ContextOverlay />- remove always white space at start of
portalClassNameto prevent runtime error in BlueprintJS
- remove always white space at start of
<PropertyName />labelProps: configure the automatically injectedLabelelement whenPropertyNameis only a string
<TextField />escapeToBlur: if set to true the input field blurs/de-focuces when theEscapekey is pressed.
<CodeEditor />- support for additional modes:
jinja2,yamlandjson - add read-only mode
height: set a fixed height of the editorwrapLines: control auto-wrapping long lines (the default for wrap long lines is set to false now)
- support for additional modes:
<Modal />modalFocusable: whentruethe outerdivelement of the modal can be focused by clicking on it. This is needed e.g. when key (down, up) events should trigger on the modal in order to bubble up to its parent elements.forceTopPosition: whentruethen thez-indexof the modal's portal element is recalculated, so that the modal is always displayed on top of all other visible elements. Use with care, see documentation.
<ContextOverlay />preventTopPosition: when true then thez-indexis decreased to the value for modals. Use it when you need to display modal dialogs out of the context overlay. Type of counter property toModal.forceTopPosition.
<ReactFlow />- support disabling the react-flow hot keys via a React context, e.g.
Deleteetc.
- support disabling the react-flow hot keys via a React context, e.g.
<HandleDefault />- new
categoryoptions that lead to different handle layouts:dependency,fixed,flexibleandunknown intentoption with defined colors for: primary, accent, info, success, warning, danger
- new
<HandleTools />- can be used as single handle content to add an context menu to handles
<NodeContent />introductionTime: can be used to visualize the node was added or updated
<EdgeLabel />loose: can be set totrueto prevent the box with border on the label component
<TableExpandHeader />toggleIcon: optional icon that should be displayed instead of the default ones.
utilsgetGlobalVarandsetGlobalVar: can be used to manage global variables indepentently from component states. They are stored to thewindowobject under aeccgui"namespace". Can be used for example to manage globally increased counters. Do not use them if you need to store user session properties or confidential data!
- canonical icons for
artefact-chatlog,entity-human,entity-robotandoperation-magic
<SimpleDialog />- by default, prevent certain (React) events from bubbling up through the dialog (backdrop is not affected):
- event handler:
onContextMenu,onDrag,onDragStart,onDragEnd,onMouseDown,onMouseUp,onClick - handlers can be overwritten via
wrapperDivProps
- event handler:
- by default, prevent certain (React) events from bubbling up through the dialog (backdrop is not affected):
<ApplicationHeader />- it is now possible to overwrite the background color by setting
--eccgui-appheader-color-backgroundin itsstyleattribute
- it is now possible to overwrite the background color by setting
<Modal />- new
xlargesize option - re-configure appearance of the sizes,
smallis displayed a bit smaller,largea bit larger than before
- new
<Modal />Escapekey to close does not work anymore after clicking on the backdrop forcanOutsideClickClose=falseandcanEscapeKeyClose=true.
<Spacing />- allow other
divattributes, e.g.style
- allow other
- tooltips of Carbon based elements are displayed correctly in position and layout
<PropertyValuePair />- force maximum width for situation when the block could be wider, e.g. inside a flex layout, otherwise name and value could be wrongly aligned in a list with other property value pairs
- linting the code automatically via git hook on commit action
<SuggestField />- will replace
<AutoCompleteField /> - match dropdown to element width when
fill=true - display dropdown toggler when
onlyDropdownWithQuery=false
- will replace
<MultiSuggestField />: will replace<MultiSelect />clearQueryOnSelectionoption to set an empty query after selections- match dropdown to element width when
fullWidth=true
<CodeAutocompleteField />: will replace<AutoSuggestion /><Select />:- has now a default target when it is not controlled directly by its children
onClearanceHandlerandonClearanceTextas options to include automatically a dedicated clearance button to the element
<PropertyName />sizeoption to increase/decrease width consumed by its display
<EdgeLabel />: usetitleproperty on its text sub element<Application* />elements now have defined and exposed interfaces<FieldSet />element now have a defined and exposed interface<PropertyValue* />elements now have defined and exposed interfaces<GridColumn />carbonSizeConfigproperty to overwrite automatically set column sizes by using the original size config from the Carbon component
<TitleSubsection />element now have a defined and exposed interface- all inferfaces of the main elements in
src/componentsare now exposed via@eccenca/gui-elements - all inferfaces of the main elements in
src/extensionsare now exposed via@eccenca/gui-elements - all inferfaces of the main elements in
src/cmemare now exposed via@eccenca/gui-elements <ApplicationToolbarPanel />- event handler
onLeaveandonOutsideClick, could be used to close the menu panel automatically
- event handler
<Select />:- match dropdown to element width when
fill=true - use rounded input for query input to align it with
<SearchField />
- match dropdown to element width when
- Upgraded dependencies
- BlueprintJS was upgraded to the recent version (and a few method calls fixed after)
- Carbon was upgraded to the recent version
- almost all other dependencies were upgraded to their recent minor and major versions
- Removed dependencies
package-json-validator(not maintained anymore and disfunctional) - so currently there is not automatic check and validation of thepackage.jsonfileeslint,eslint-config-react-app,@typescript-eslint/eslint-plugin,@typescript-eslint/parser- not directly necessary, they may be still installed by other sub packages
- Changed version resolutions
- set
postcssto at recent version to fix a moderate security vulnerability - remove resolutions for
node-gyp,glob-parent,trim,trim-newlines,minimist- packages are not use, or resolution is not necessary anymore
- set
<ActivityControlWidget />IActivityActioninterface was renamed toActivityControlWidgetAction
<AutoSuggestion />IPropsinterface was renamed toAutoSuggestionProps
<AutoSuggestionList />IDropdownPropsinterface was renamed toAutoSuggestionListProps
<MultiSelect />SelectedParamsTypeinterface was renamed toMultiSelectSelectionProps
<SingleLineCodeEditor />IEditorPropsinterface was renamed toSingleLineCodeEditorProps
<AlertDialog />IAlertDialogPropsinterface was renamed toAlertDialogProps
<WorkspaceHeader />IWorkspaceHeaderPropsinterface was renamed toWorkspaceHeaderProps
<NodeDefault />NodePropsinterface was renamed toNodeDefaultPropsto justify naming convention
<NodeContent />IHandlePropsinterface was renamed toNodeContentHandlePropsto justify naming convention
Utilitiesobejct was renamed toutilsand enhanced with new functions:getColorConfiguration,invisibleZeroWidthCharacters- improve style imports, now it is a bit easier to inlcude all parts separately
<IconButton />- prevent double tab index when it comes with an extra tooltip element attached to it
- prevent tooltip tab selection when button is disabled or has set inactive tabindex itself
<SimpleDialog />enforceFocus: falseis set by default, so that searchable selects keep focus on their search input field
- use correct import for codemirror stylesheetss
<BreadcrumbItem />is not displayed clickable when it has nohreforonClickproperty set
Select.ofTypemethod:- instead of
MyTypeSelect = Select.ofType<MyType>()use directly<Select<MyType> {...props} />
- instead of
<AutoCompleteField />: use<SuggestField /><MultiSelect />SelectedParamsType: renamed toMultiSelectSelectionProps- element will be re-implemented, use
<MultiSuggestField />instead
Utilitiesobject is now deprecated, useutilsinsteadHelperClassesobject is now deprecated, useClassNamesinstead<ActivityControlWidget />IActivityAction: renamed toActivityControlWidgetAction
<AutoCompleteField />IRenderModifiers: import fromsrc/components/AutocompleteField/interfacesIElementWidth: import fromsrc/components/AutocompleteField/interfaces
<AutoSuggestion />- elemenat was renamed, use
<CodeAutocompleteField />instead IPropsinterface is now deprecated, useCodeAutocompleteFieldPropsinstead
- elemenat was renamed, use
<AutoSuggestionList />IDropdownPropsinterface is now deprecated, useAutoSuggestionListPropsinstead
<SingleLineCodeEditor />IEditorPropsinterface is now deprecated, useSingleLineCodeEditorPropsinstead
<AlertDialog />IAlertDialogPropsinterface is now deprecated, useAlertDialogPropsinstead
<WorkspaceHeader />IWorkspaceHeaderPropsinterface is now deprecated, useWorkspaceHeaderPropsinstead
<NumericInput />- It will be removed because beside the special arrow buttons it does not add any special. Could be done also with
<TextField />combined with correcttype.
- It will be removed because beside the special arrow buttons it does not add any special. Could be done also with
<Highlighter />HighlighterFunctionsrenamed tohighlighterUtilsextractSearchWordsmoved tohighlighterUtils.extractSearchWordsmatchesAllWordsmoved tohighlighterUtils.matchesAllWordscreateMultiWordRegexmoved tohighlighterUtils.createMultiWordRegex
<Icon />findExistingIconName: useiconUtils.findExistingIconName
<Spinner />SpinnerPosition: useSpinnerProps['position']SpinnerSize: useSpinnerProps['size']SpinnerStroke: useSpinnerProps['stroke']
ReactFlowextensionsNodeProps: renamed toNodeDefaultPropsminimapNodeClassName: moved tominiMapUtils.nodeClassNameminimapNodeColor: moved tominiMapUtils.nodeColornodeUtils: renamed tonodeDefaultUtilsIHandleProps: renamed toNodeContentHandlePropsNodeDimensions: useNodeContentProps<any>['nodeDimensions']HighlightingState: useNodeContentProps<any>['highlightedState'](or import fromsrc/extensions/react-flow/nodes/sharedTypes)
ActivityControlcomponents:IActivityControlLayoutProps: renamed toSilkActivityControlLayoutPropsIActivityExecutionReport: renamed toSilkActivityExecutionReportPropsActivityControlTranslationKeys: renamed toSilkActivityControlTranslationKeysActivityAction: renamed toSilkActivityControlActionIActivityControlProps: renamed toActivityControlWidgetPropsIActivityStatus: renamed toSilkActivityStatusPropsConcreteActivityStatus: renamed toSilkActivityStatusConcrete
ContentBlobTogglercomponents:firstNonEmptyLine: moved tostringPreviewContentBlobTogglerUtils.firstNonEmptyLine
Markdowncomponents:highlightSearchWordsPluginFactorymoved tomarkdownUtils.highlightSearchWordsPluginFactory
<Badge />element- add more context like icons, text or numbers to another element
<Button />and<IconButton />now have abadgeproperty for simple attachment
<ConfidenceValue/>element- combines a value and a bar
<Depiction />element- include different types of images controlling of resizing, ratio, shape
<EdgeLabel />(react flow) element- can be used for custom edge labels, provides support for depiction, text, actions and intent states
<Table />,<TableExpandHeader />,<TableRow />,<TableExpandRow />and<TableCell />elements- Carbon based elements
- other table elements are still used directly from the Carbon library
<TestIcon />: test icons without the need to define them via a canonical name before.<Card />propertywhitespaceAmount: controls how much whitespace is displayed within the card subelements
<CardContent />(react flow) propertynoFlexHeight: changes the behaviour how the component uses the remaining space inside the Card element
<Divider />propertieswidth: width of the horizontal rulealignment: horizontal alignment of the horizontal rule
<EdgeDefault />(react flow) propertiesstrokeType: overwrites the default style how the edge stroke is displayedintent: visual feedback about the current state of the edgehighlightColor: color(s) of used highlights to mark the edge
<Markdown />propertylinkTargetName: browser target name to open links from the Markdown content
<MultiSelect />propertyrequestDelay: To delay requests on query changes and only fire the most recent request.
<NodeContent />(react flow) propertiesleftElement: any element that should be displayed before the node labellabelSubline: displayed under the label in the headerfullWidth: stretches the node to the full available width, e.g. when used outside React Flow contextenlargeHeader: increase hight of headerborder: property to overwrite default stylesintent: visual feedback about the current state of the nodehighlightColor: color(s) of used highlights to mark the node, together withintentit replaceshighlightedState
<Pagination />propertyhideBorders: element is displayed without dividing borders
<Tag />property- add support for
intentproperty
- add support for
<TextField />and<TextArea />propertyinvisibleCharacterWarning: callback to warn of invisible, hard to spot characters in the input text.intent: state of the text field
<ReactFlow />propertyscrollOnDrag: Support to scroll the pane when going beyond the pane borders on all drag and connection operations.
<SilkActivityControl />propertyexecutePrioritizedthat is executed when the 'start prioritized' button is clicked while an activity is waiting for execution.
<WhiteSpaceContainer />propertylinebreakForced: insert line breaks within an otherwise unbreakable string to prevent text from overflowing the container
- use option
--outputCssforyarn compile-scssto get the transpiled CSS echoed out - upgrade to Carbon icons v11
- switch from
carbon-componentsto@carbon/styles <GridRow />propertydontWrapColumns=trueonly works for grids on medium sized and larger viewports<NodeContent />animation is now displayed on the border, not by a pulsing shadow anymore<NodeDefault />,<NodeContent />and<HandleDefault />support now React Flow 9 and 10
<WorkspaceContent />: do not prevent wrapping the columns of the included grid<SingleLineCodeEditor />: Convert multi-line initial value to a single line value.<MenuItem />: do not display empty icon wrapper.<MultiSelect />: Requests e.g. on slow networks could get mixed up, resulting in not showing the most recent results.
<Grid />propertyfullWidthis now deprecated as grids are always used for the full viewport width<NodeContent />propertyhighlightedStateis replaced byintentandhighlightColorand should not be used anymore<CardHeader />propertiesdensityHighandhasSpacingare now deprecated, useCard.whitespaceAmountnow<TextField />propertieshasStatePrimary,hasStateSuccess,hasStateWarningandhasStateDangerare now deprecated, useintentnow
<CodeEditor />element based onCodeMirrorlibrary, supporting Markdown, Python, Sparql, SQL, Turtle and XML syntax<HoverToggler />element that allows to switch elements when hovered over.<InteractionGate />element that can wrap content that need to be blocked from user interactions, it also has options to display a spinner as overlay<Tree />component<TabPanel />component that can be used if<Tabs />is used in uncontrolled mode.<ReactFlowMarkers />custom markers for ReactFlow edges, currently one new markerarrowClosed-inverseavailable<StickyNoteNode />, usable bystickynotetype in react flow editors for workflows and linking rulesCssCustomPropertiesandgetColorConfigurationutilities can be used to exchange color configurations between SCSS and JSdecideContrastColorValuemethod to get a second color related to the lightness of the testes input color<SimpleDialog />: propertiesshowFullScreenTogglerandstartInFullScreenMode<EdgeDefault />: new properties for the edge datamarkerStartallows to add a marker to the edge starting pointinversePathallows to inverse the edge directionrenderLabelfunction to render fully custom edge label including any ReactNode
<NodeContent />: propertyfooterContentto add footer content to a react flow node<AutoSuggestion>: propertiesautoCompletionRequestDelayandvalidationRequestDelay, to configure the delay when a request is sent after nothing is typed in anymore.<FieldItemRow: propertyjustifyItemWidthsto display all children using equal width inside the row<BreadcrumbList />: propertiesignoreOverflowandlatenOverflow, that can be used to implement a second overflow strategy beside BlueprintJS overflow list, for example in case the overflow list leads to re-rendering loops<Spinner />:showLocalBackdropproperty to include backdrop behind spinner making the background less visible<ContextMenu />:disabledproperty that disables the button to open the menu.<Tooltip />: propertiesmarkdownEnablerandmarkdownPropsto enable better formatted tooltips with options for line breaks, etc.<AutoCompleteField />:onlyDropdownWithQueryproperty to prevent dropdown as long as the input field is empty- large addition to the Storybook, we almost doubled available components and stories
- allow children of
<Accordion />item to get calculated based on their DOM sizes - add borders to CodeMirror editor area and include display of focused state
- GUI elements library can be now used easier in applications because it does not force usage of SCSS modules via JS/Webpack4
- fixed ReactFlow stories re-rerender on configuration change
- fix used font family and layout of
<AutoSuggestion />element, and justify it with the other single line text inputs - fix condition to include the class name of a
<TagList />and set maximum width for the items - fixed
<MultiSelect />to correctly update created items that are selected while still maintaining a cache of all newly created items - do not change cursor to pointer by default on tooltip targets
- move style imports of CodeMirror layout to
extensions - color configurations for react flow editor are not exported as modules anymore, they need to be fetched by
getColorConfigurationmethod in JS directly - BlueprintJS was upgraded to a recent v4
- elements were also upgraded to usage of
Popover2,Tooltip2,Select2,MultiSelect2andBreadcrumbs2 - this comes also with a necessary switch from
node-sasstosasspackage, a javascript port from the original dart sass library, see migration notes to update your build process
- elements were also upgraded to usage of
<TextField />and<AutoCompleteField />now include atitleattribute on the natively usedinputelement to show the value if it isdisabledorreadOnly- flashing color regarding the intent state of a
<TextField /> <AutoCompleteField />: Add 'hasBackDrop' parameter to use a backdrop for its popover in order for outside clicks to always close the popover. Default: false
- old
{ colors }imports forcmem/react-flow/configurations/*do not keep working anymore, usegetColorConfigurationmethod now <IconButton>:tooltipOpenDelaywas removed, usetooltipProps.hoverOpenDelaydirectly<FieldItem>:labelAttributeswas renamed tolabelProps<MenuItem>: this element now extends directly the Blueprint element, sointernalPropswas removed, use properties directly onMenuItem<AutoCompleteField>:popoverPropswas renamed tocontextOverlayProps<Button>:tooltipPropertieswas renamed totooltipProps<ContextMenu>: usecontextOverlayPropsto route properties to the overlay element<Icon>:tooltipPropertieswas renamed totooltipProps,tooltipOpenDelaywas removed, usetooltipProps.hoverOpenDelaydirectly<Label>:tooltipPropertieswas renamed totooltipProps<MultiSelect>:popoverPropswas renamed tocontextOverlayProps<Select>:popoverPropswas renamed tocontextOverlayProps<Tooltip>: this element now extends directly the Blueprint element, sotolltipPropswas removed, use properties directly onTooltip<BreadcrumbItem>:IBreadcrumbItemPropsinterface was renamed toBreadcrumbItemPropsBreadcrumbList:IBreadcrumbListPropsinterface was renamed toBreadcrumbListProps
- Remove
node-sassand addsasspackage via npm or yarn:$ yarn remove node-sass && yarn add --dev sass - Include
sassand our configurationconst sass = require('sass'); const sassRenderSyncOptions = require("@eccenca/gui-elements/config/sassOptions"); - Configure the webpack
sass-loader, you can extend this by options regarding the provided loader interface{ loader: "sass-loader", options: { implementation: sass, sassOptions: sassRenderSyncOptions, }, }
MultiSelectelement that let select multiple options and adding new elements.ReactFlowelement withconfigurationproperty to load it with pre-set configurations for node and edge typesTabelement got new property forbackgroundColor- Support highlighting of div elements via
eccgui-container--highlightedclass - Allow DefaultNode's execution buttons to read and adjust state of the node content in order for them to have effects on the node content
letPassWheelEventsproperty for<NodeContent />elements to enable/disable mouse wheel event propagation to the react flow zoom panescrollinOnFocusproperty for<Card />element, enables card to scroll controlled into the viewportslideOutOfNodeproperty for<NodeContentExtension />element, by default it is disabledlabelWrapperandhasSpacingproperties for<ActivityControlWidget />to enable more control over its display from outsidenoScrollbarsOnChildrenproperty for<HtmlContentBlock />to allow merging scroll bars of both axes
- text color of button inside
<Notification />element is not changed when it has an explicit intent state - use correct import paths in ESM distribution exports
- correct alignment of children in vertical toolbar
- Allow
roundattribute inTagcomponent - Allow tooltips on buttons only if they do not set on
loadingstate - Improve routing calculations of
<ReactFlow />edges reagrding our current use cases - Expose
<NodeTools />menu API to ouside elements <ActivityExecutionErrorReportModal />now offers always the option to display it in fullscreen size
- deprecated
<Tabs/>interface for tab items was removed, if necessary it can be used now fromlegacy-repelacementsimports
- make used package version more stable, re-allowing also a yarn lock file
- correct documentation about package registry
Tagelement got new property forbackgroundColor- Styles for footnotes and task lists, rendered by Markdown GFM parser.
- React-Flow
NodeContentelement can now be extented bycontentExtensionproperty containing aNodeContentExtensionelement.
- Add missing import to
components/Spinner/Spinner.tsx. - Add bottom white space in tables in content block elements.
fullWidthon/off display ofTextFieldis now working like expected
TextFieldelements are usingfullWidth=trueby defaultSearchFielduses now by default"operation-search"asleftIcon
SimpleDialogelement now usesintentproperty instead ofintentClassName
- Changelog documentation
- Readme project overview
- Iframe and IframeModal basic elements
- Support for special components shared between applications of the eccenca Corporate Memory GUI
- ActivityControl widget
- ContentBlobToggler component
- Markdown parser widget
- Support animated NodeDefault shadows to visualize activities
- Height of NodeDefault can be aligned to number of handles
- React-Flow Minipmap can be used for navigation on canvas
- Support more icons
- Support intent states for Icon
- ApplicationContainer is not based on Carbon anymore
- sidenav expansion state must be managed outside of that element now
- OverviewItemActions can be shown only when OverviewItem is hovered
- Rail naviagtion is openen just after a short delay to prevent openeing on wrong hover actions
- Use own property to hide overflow content in ToolbarSection
- Stabilize icon dimensions
- Small font size amrkup now works inside HTML content block
- Stabilize tabs
- Do not ignore size and stroke properties for Spinner
- First release, it provides:
- Basic GUI elements based on BlueprintJS and IBM Carbon Design System
- Accordion
- Application layout
- AutocompleteField
- Breadcrumb
- Button
- Card
- Checkbox
- ContextOverlay
- Dialog
- Form
- Grid
- Icon
- Intent
- Label
- Link
- Menu
- Notification
- NumericInput
- OverviewItem
- Pagination
- PropertyValuePair
- RadioButton
- Separation
- SimpleTable
- Spinner
- Structure
- Switch
- Tabs
- Tag
- TagInput
- TextField
- Toolbar
- Tooltip
- Typography
- Workspace view parts
- Extensions for React-Flow
- EdgeDefault
- EdgeStep
- EdgeTools
- HandleContent
- HandleDefault
- NodeDefault
- NodeTools
- Basic GUI elements based on BlueprintJS and IBM Carbon Design System