v25.1.0
·
133 commits
to develop
since this release
- NPM package: https://www.npmjs.com/package/@eccenca/gui-elements/v/25.1.0
- Storybook: https://62150dbccb2d77003a2a5093-yllzyjdntj.chromatic.com/
Added
<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 to
ContextOverlaycomponent but not directly linked to a React element, it specifies the target in the DOM to get connected lazy
- similar to
<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
<CodeEditor />- toolbar in
markdownmode provides a user config menu for the editor appearance
- toolbar in
<RadioButton />hideIndicatorproperty: hide the radio inout indicator but click on children can be processed viaonChangeevent
<ColorField />- input component for colors
- uses a subset from the configured color palette by default, but it also allows to enter custom colors
<MultiSuggestField />MultiSuggestFieldSelectionPropsprovidesnewlyRemovedfor callbacks set when removing a selected item
<HtmlContentClock />- inline
codeuses same gray background highlighting like code blocks
- inline
- 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-alldata-sourceschemadata-targetschemaoperation-ai-generateoperation-filterresettoggler-pin-emptytoggler-pin-filled
Fixed
<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
<CodeMirror />- use the latest provided
onChangefunction
- use the latest provided
<TextField />,<TextArea />- fix emoji false-positives in invisible character detection
<MultiSuggestField />onSelectionnow setsnewlySelectedonly for add actions and no longer sets it to the last element- border of the BlueprintJS
Tagelements were fixed
<Modal />- fix specificity for pointer-events rules on SVG
<Button />- badge is correctly displayed when
badge={0}
- badge is correctly displayed when
- Focus outlines
- we use again bold focus outlines for input elements
- they are also used for clickable elements that are focused via keyboard (tab navigation)
Changed
<MultiSelect />:- Change default filter predicate to match multi-word queries.
<EdgeDefault />- reduce stroke width to only 1px
<CodeMirror />wrapLinesandpreventLineNumberdo not usefalsedefault value but if not set then it will be interpreted asfalse- in this way it can be overwritten by new user config for the markdown mode
- 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 />
Deprecated
<StringPreviewContentBlobToggler />firstNonEmptyLineOnlywill be removed, is replaced byuseOnly="firstNonEmptyLine"