v24.1.0-rc.6
Pre-release
Pre-release
·
656 commits
to develop
since this release
NPM package: https://www.npmjs.com/package/@eccenca/gui-elements/v/24.1.0-rc.6
Storybook:
Added
<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
useLintingprop turtleandjavascriptare currently supported languages for linting- 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
<NodeContent />resizeDirectionsto specifiy the axis that can be used to resize the noderesizeMaxDimensionsto add maximum values for resizing height/width
<CardActions />noWrapproperty to display them without wrapping its children on multiple lines
<SimpleDialog />actionsPropsproperty to forwardCardActionsproperties, e.g.noWrap
<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
<CodeEditor />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
<OverviewItem />hasCardWrapperproperty to use aCardcomponent as wrapper around it, simplifies the process to put it in a box, usecardPropsto forward basic properties to thatCardwrapper
- 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
Fixed
<CodeAutocompleteField />:- Code editor resets to initial value on every code editor instance re-init
<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
<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
<SearchField />- allow to use
onClearanceHandlerandrightElementtogether - fix display of
IconwithtooltipTextas direct child inrightElement
- allow to use
Changed
<ReactFlow />- property color for
graphconfiguration was adjusted
- property color for
<Switch />- use always
<Label/>component forlabelvalue
- use always
<StickyNoteNode />- Refactored data structure position and dimension (breaking change)
<ActivityControlWidget />- display running time after label if there is an status info to prevent a third line
<SearchField />- internally forced to be managed controlled to keep
onClearanceHandlerindependent from outervalueproperty
- internally forced to be managed controlled to keep
Deprecated
<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