@eccenca/gui-elements
Advanced tools
Changelog
[24.0.0] - 2024-12-17
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.
<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, use flexWidth
as replacementiconName
: was deprecated and now removed, use icon
property<Table/>
size
: use only "small", "medium" or "large" as value<Tag/>
emphasized
: was deprecated and now removed, use minimal=false
plus emphasis="stronger"
insteadIconSized
type: use CarbonIconType
TimeUnits
type: use ElapsedDateTimeDisplayUnits
MarkdownParserProps
interface: use MarkdownProps
elapsedTimeSegmented
function: use elapsedDateTimeDisplayUtils.elapsedTimeSegmented
simplifiedElapsedTime
function: use elapsedDateTimeDisplayUtils.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 />
limitHeightOpened
to limit the height of the dropdown by automatically calculating the available height in vh.<FlexibleLayoutContainer />
and <FlexibleLayoutItem />
Toolbar*
components to do that (anti pattern)<PropertyValueList />
and <PropertyValuePair />
singleColumn
property to display label and value below each other<Label />
emphasis
property to control visual appearance of the label text<Application* />
components<CodeEditor />
setEditorView
option for compatibility to Codemirror v6supportCodeFolding
optional property to fold code for the supported modes e.g: xml
, json
, etc.shouldHighlightActiveLine
optional property to highlight active line where the cursor is currently in.shouldHaveMinimalSetup
optional property that imports codemirror's base minimal configurations.additionalExtensions
optional property for additional extensions to customize the editor further.<Markdown />
htmlContentBlockProps
can now be used to configure the wrapper around the Markdown content$eccgui-selector-text-spot-highlight
SCSS config variable to specify selector that is used to create shortly highlighted spots
.eccgui-typography--spothighlight
class attached to it<HandleTools/>
was corrected, they kept displayed after re-entering with the cursor<Pagination/>
clip
because Firefox rendered ellipsis
a bit too early<ApplicationContainer />
:
useDropzoneMonitor
helper hook process was improved so that less events are processed and the dropzone monitoring is more stablecrypto
package or using Node with --openssl-legacy-provider
option@carbon/react
package
@carbon/react
@carbon/react
are currently not exported: AccordionItemProps
, ApplicationHeaderProps
, ApplicationToolbarProps
, ApplicationToolbarActionProps
, ApplicationToolbarPanelProps
, CarbonIconType
, TableCellProps
, TableExpandRowProps
, TableProps
next
and legacy
as branch names<CodeEditor />
setInstance
interface changed to setEditorView
for semantic compatibility to Codemirror v6<BreadcrumbItem/>
<Markdown/>
item-clone
and item-copy
to Carbon's <Replicate/>
and <Copy/>
artefact-customtask*
and only keep artefact-task*
names.<OverviewItemDepiction/>
<CodeAutocompleteField />
:
reInitOnInitialValueChange
, to allow the field to re-initialize if the initial value changes.<Icon/>
and <TestIcon/>
description
and iconTitle
: use title
as replacement.TableRowHeightSize
type: use TableProps["size"]
directlyIRenderModifiers
interface: use SuggestFieldItemRendererModifierProps
IElementWidth
type: use SuggestFieldItemRendererModifierProps["styleWidth"]
MultiSelectSelectionProps
interface: use MultiSuggestFieldSelectionProps
MultiSelectProps
interface: use MultiSuggestFieldProps
nodeTypes
and edgeTypes
<ReactFlow/
with configuration
optionAutoCompleteFieldProps
and IAutoCompleteFieldProps
interfaces: use SuggestFieldProps
<CodeAutocompleteField/>
AutoSuggestionProps
: use CodeAutocompleteFieldProps
insteadISuggestionBase
, ISuggestionWithReplacementInfo
, IReplacementResult
, IPartialAutoCompleteResult
, IValidationResult
to CodeAutocompleteFieldSuggestionBase
, CodeAutocompleteFieldSuggestionWithReplacementInfo
, CodeAutocompleteFieldReplacementResult
, CodeAutocompleteFieldPartialAutoCompleteResult
, CodeAutocompleteFieldValidationResult
<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.ofType
method:
MyMultiSuggest = MultiSuggestField.ofType<MyType>()
use directly <MultiSuggestField<MyType> {...props} />
MultiSuggestField.ofType
also returns the original BlueprintJS MultiSelect
element, not our version!Changelog
[23.8.0] - 2024-08-19
<ApplicationContainer />
:
monitorDropzonesFor
property 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 />
dropzoneFor
property can be used to mark react flow canvas as matching area to drop dragged elements.<Accordion />
, <AccordionItem />
whitespaceSize
property to define how much whitespace is used on top and bottom inside the header and content of an accordion item.separationSize
property defines how much space is used for the separation between an accordion item and the next one.$prefix-blueprintjs
(current value is bp5
)$prefix-carbon
(current value is cds
)$prefix-eccgui
(current value is eccgui
)<ElapsedDateTimeDisplay />
<TextArea />
TextField
regarding whitespace and colors<Accordion />
size
property in favour of whitespaceSize
<AccordionItem />
condensed
property in favour of whitespaceSize="none"