`, `` block and inline, `` bold, ``, italic, `` strike through, ``, `` and checkbox lists, `` links and `
` images
- - editor is focused on load if `autoFocus` prop is set to `true`
- - implemented support for `disabled` state in code editor
- - implemented support for `intent` states in code editor
-- ``
- - `additionalElements` property to display elements at the end of the label
- - `inline` property to display the label component as inline block
-- ` `
- - `tooltip` property to dislay tooltip on menu item label
-- ` `
- - `resizeDirections` to specifiy the axis that can be used to resize the node
- - `resizeMaxDimensions` to add maximum values for resizing height/width
-- ` `
- - `hasCardWrapper` property to use a `Card` component as wrapper around it, simplifies the process to put it in a box, use `cardProps` to forward basic properties to that `Card` wrapper
-- ` `
- - `actionsProps` property to forward `CardActions` properties, e.g. `noWrap`
-- New icons:
- - `artefact-task-concatenatetofile`
- - `artefact-task-pivot`
- - `artefact-task-unpivot`
- - `item-magic-edit`
- - `operation-format-text-code`
- - `operation-format-text-bold`
- - `operation-format-text-italic`
- - `operation-format-text-strikethrough`
- - `operation-format-list-bullet`
- - `operation-format-list-checked`
- - `operation-format-list-numbered`
+- ` `
+ - `noWrap` property to display them without wrapping its children on multiple lines
+- ` ` component
+ - Manage display of a grouped content section.
+ - Add info, actions and context annotations by using its properties.
+ - Can be nested into each other.
+- ` `
+ - implemented support for linting which is enabled via `useLinting` prop
+ - `turtle` and `javascript` are currently supported languages for linting
+ - `useToolbar` property to display toolbar if the `mode` is supported
+ - currently `markdown` mode is integrated, including support for headlines ``, ``, `` block and inline, `` bold, ``, italic, `` strike through, ``, `` and checkbox lists, `` links and `
` images
+ - editor is focused on load if `autoFocus` prop is set to `true`
+ - implemented support for `disabled` state in code editor
+ - implemented support for `intent` states in code editor
+- ``
+ - `additionalElements` property to display elements at the end of the label
+ - `inline` property to display the label component as inline block
+- ` `
+ - `tooltip` property to dislay tooltip on menu item label
+- ` `
+ - `resizeDirections` to specifiy the axis that can be used to resize the node
+ - `resizeMaxDimensions` to add maximum values for resizing height/width
+- ` `
+ - `hasCardWrapper` property to use a `Card` component as wrapper around it, simplifies the process to put it in a box, use `cardProps` to forward basic properties to that `Card` wrapper
+- ` `
+ - `actionsProps` property to forward `CardActions` properties, e.g. `noWrap`
+- New icons:
+ - `artefact-task-concatenatetofile`
+ - `artefact-task-pivot`
+ - `artefact-task-unpivot`
+ - `item-magic-edit`
+ - `operation-format-text-code`
+ - `operation-format-text-bold`
+ - `operation-format-text-italic`
+ - `operation-format-text-strikethrough`
+ - `operation-format-list-bullet`
+ - `operation-format-list-checked`
+ - `operation-format-list-numbered`
### Fixed
-- ` `:
- - Code editor resets to initial value on every code editor instance re-init
-- ` `
- - re-render the component if the `wrapLines` property is changed after the component's render
- - only fire `onChange` event when the document has actually changed
-- ` `
- - whitespace after `Depiction` element when the `OverviewItem` ist used with `densityHigh` and `hasSpacing`
-- ` `
- - `hiddenInteractions` stay visible if they contain focused elements or opened overlays (e.g. context menus)
-- ` `
- - do not create empty list items
-- ` `
- - allow to use `onClearanceHandler` and `rightElement` together
- - fix display of `Icon` with `tooltipText` as direct child in `rightElement`
+- ` `:
+ - Code editor resets to initial value on every code editor instance re-init
+- ` `
+ - re-render the component if the `wrapLines` property is changed after the component's render
+ - only fire `onChange` event when the document has actually changed
+- ` `
+ - whitespace after `Depiction` element when the `OverviewItem` ist used with `densityHigh` and `hasSpacing`
+- ` `
+ - `hiddenInteractions` stay visible if they contain focused elements or opened overlays (e.g. context menus)
+- ` `
+ - do not create empty list items
+- ` `
+ - allow to use `onClearanceHandler` and `rightElement` together
+ - fix display of `Icon` with `tooltipText` as direct child in `rightElement`
### Changed
-- ` `
- - display running time after label if there is an status info to prevent a third line
-- ` `
- - property color for `graph` configuration was adjusted
-- ` `
- - internally forced to be managed controlled to keep `onClearanceHandler` independent from outer `value` property
-- ` `
- - use always `` component for `label` value
-- ` `
- - Refactored data structure position and dimension (breaking change)
-- ` `
- - component supports now React Flow v9 and v12
+- ` `
+ - display running time after label if there is an status info to prevent a third line
+- ` `
+ - property color for `graph` configuration was adjusted
+- ` `
+ - internally forced to be managed controlled to keep `onClearanceHandler` independent from outer `value` property
+- ` `
+ - use always `` component for `label` value
+- ` `
+ - Refactored data structure position and dimension (breaking change)
+- ` `
+ - component supports now React Flow v9 and v12
### Deprecated
-- ` `
- - fallback of static test id is removed, need then always to be set if necessary
-- ` `
- - component won't accept properties of any name in future, only data attributes for test IDs and basic HTML element properties
-- ` `
- - `densityHigh` property will be removed, use it directly on `OverviewItem` children
+- ` `
+ - fallback of static test id is removed, need then always to be set if necessary
+- ` `
+ - component won't accept properties of any name in future, only data attributes for test IDs and basic HTML element properties
+- ` `
+ - `densityHigh` property will be removed, use it directly on `OverviewItem` children
## [24.0.1] - 2025-02-06
### Changed
-- `eslint` libraries were upgraded to v9, so `node` v18.18 or higher is required
+- `eslint` libraries were upgraded to v9, so `node` v18.18 or higher is required
### Fixed
-- `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.
+- `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.
## [24.0.0] - 2024-12-17
@@ -502,650 +567,650 @@ This is a major release, and it might be not compatible with your current usage
### Migration from v23 to v24
-- 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
- - ` `
- - `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
- - ` `
- - `fullWidth`: was deprecated and now removed, use `flexWidth` as replacement
- - `iconName`: was deprecated and now removed, use `icon` property
- - `
`
- - `size`: use only "small", "medium" or "large" as value
- - ` `
- - `emphasized`: was deprecated and now removed, use `minimal=false` plus `emphasis="stronger"` instead
- - `IconSized` type: use `CarbonIconType`
- - `TimeUnits` type: use `ElapsedDateTimeDisplayUnits`
- - `MarkdownParserProps` interface: use `MarkdownProps`
- - `elapsedTimeSegmented` function: use `elapsedDateTimeDisplayUtils.elapsedTimeSegmented`
- - `simplifiedElapsedTime` function: use `elapsedDateTimeDisplayUtils.simplifiedElapsedTime`
+- 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
+ - ` `
+ - `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
+ - ` `
+ - `fullWidth`: was deprecated and now removed, use `flexWidth` as replacement
+ - `iconName`: was deprecated and now removed, use `icon` property
+ - `
`
+ - `size`: use only "small", "medium" or "large" as value
+ - ` `
+ - `emphasized`: was deprecated and now removed, use `minimal=false` plus `emphasis="stronger"` instead
+ - `IconSized` type: use `CarbonIconType`
+ - `TimeUnits` type: use `ElapsedDateTimeDisplayUnits`
+ - `MarkdownParserProps` interface: use `MarkdownProps`
+ - `elapsedTimeSegmented` function: use `elapsedDateTimeDisplayUtils.elapsedTimeSegmented`
+ - `simplifiedElapsedTime` function: use `elapsedDateTimeDisplayUtils.simplifiedElapsedTime`
### Added
-- ` `:
- - `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.
-- ` `
- - An optional custom search function property has been added, it defines how to filter elements.
- - Added a prop `limitHeightOpened` to limit the height of the dropdown by automatically calculating the available height in vh.
-- ` ` and ` `
- - helper components to create flex layouts for positioning sub elements
- - stop misusing `Toolbar*` components to do that (anti pattern)
-- ` ` and ` `
- - `singleColumn` property to display label and value below each other
-- ``
- - `emphasis` property to control visual appearance of the label text
-- basic Storybook example for ` ` components
-- ` `
- - `setEditorView` option for compatibility to Codemirror v6
- - `supportCodeFolding` 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.
-- ` `
- - `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
- - it is highlighted when the selector is also active local anchor target or if it has the `.eccgui-typography--spothighlight` class attached to it
+- ` `:
+ - `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.
+- ` `
+ - An optional custom search function property has been added, it defines how to filter elements.
+ - Added a prop `limitHeightOpened` to limit the height of the dropdown by automatically calculating the available height in vh.
+- ` ` and ` `
+ - helper components to create flex layouts for positioning sub elements
+ - stop misusing `Toolbar*` components to do that (anti pattern)
+- ` ` and ` `
+ - `singleColumn` property to display label and value below each other
+- ``
+ - `emphasis` property to control visual appearance of the label text
+- basic Storybook example for ` ` components
+- ` `
+ - `setEditorView` option for compatibility to Codemirror v6
+ - `supportCodeFolding` 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.
+- ` `
+ - `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
+ - it is highlighted when the selector is also active local anchor target or if it has the `.eccgui-typography--spothighlight` class attached to it
### Fixed
-- toggling on/off the ` ` was corrected, they kept displayed after re-entering with the cursor
-- ` `
- - change text overflow for selectors to `clip` because Firefox rendered `ellipsis` a bit too early
-- ` `:
- - `useDropzoneMonitor` helper hook process was improved so that less events are processed and the dropzone monitoring is more stable
+- toggling on/off the ` ` was corrected, they kept displayed after re-entering with the cursor
+- ` `
+ - change text overflow for selectors to `clip` because Firefox rendered `ellipsis` a bit too early
+- ` `:
+ - `useDropzoneMonitor` helper hook process was improved so that less events are processed and the dropzone monitoring is more stable
### Changed
-- 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 `crypto` package or using Node with `--openssl-legacy-provider` option
- - see https://github.com/webpack/webpack/issues/14532 and https://stackoverflow.com/questions/69692842/ for more info and possible solutions
-- upgrade to `@carbon/react` package
- - 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/react` are currently not exported: `AccordionItemProps`, `ApplicationHeaderProps`, `ApplicationToolbarProps`, `ApplicationToolbarActionProps`, `ApplicationToolbarPanelProps`, `CarbonIconType`, `TableCellProps`, `TableExpandRowProps`, `TableProps`
-- 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 `next` and `legacy` as branch names
-- ` `
- - `setInstance` interface changed to `setEditorView` for semantic compatibility to Codemirror v6
-- ` `
- - link color and separation char were adjusted
-- ` `
- - align blocks for language specific code to default code blocks
-- switch icons for `item-clone` and `item-copy` to Carbon's ` ` and ` `
-- Remove duplicated icon names `artefact-customtask*` and only keep `artefact-task*` names.
-- ` `
- - improve examples in storybook
- - improve display for images that are to large for the available space (fully show them)
-- ` `:
- - Add parameter `reInitOnInitialValueChange`, to allow the field to re-initialize if the initial value changes.
+- 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 `crypto` package or using Node with `--openssl-legacy-provider` option
+ - see https://github.com/webpack/webpack/issues/14532 and https://stackoverflow.com/questions/69692842/ for more info and possible solutions
+- upgrade to `@carbon/react` package
+ - 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/react` are currently not exported: `AccordionItemProps`, `ApplicationHeaderProps`, `ApplicationToolbarProps`, `ApplicationToolbarActionProps`, `ApplicationToolbarPanelProps`, `CarbonIconType`, `TableCellProps`, `TableExpandRowProps`, `TableProps`
+- 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 `next` and `legacy` as branch names
+- ` `
+ - `setInstance` interface changed to `setEditorView` for semantic compatibility to Codemirror v6
+- ` `
+ - link color and separation char were adjusted
+- ` `
+ - align blocks for language specific code to default code blocks
+- switch icons for `item-clone` and `item-copy` to Carbon's ` ` and ` `
+- Remove duplicated icon names `artefact-customtask*` and only keep `artefact-task*` names.
+- ` `
+ - improve examples in storybook
+ - improve display for images that are to large for the available space (fully show them)
+- ` `:
+ - Add parameter `reInitOnInitialValueChange`, to allow the field to re-initialize if the initial value changes.
### Deprecated
-- ` ` and ` `
- - `description` and `iconTitle`: use `title` as replacement.
-- `TableRowHeightSize` type: use `TableProps["size"]` directly
-- `IRenderModifiers` interface: use `SuggestFieldItemRendererModifierProps`
-- `IElementWidth` type: use `SuggestFieldItemRendererModifierProps["styleWidth"]`
-- `MultiSelectSelectionProps` interface: use `MultiSuggestFieldSelectionProps`
-- `MultiSelectProps` interface: use `MultiSuggestFieldProps`
-- `nodeTypes` and `edgeTypes`
- - will be removed without replacement, define it yourself or use ` `
- - `AutoSuggestionProps`: use `CodeAutocompleteFieldProps` instead
- - we renamed `ISuggestionBase`, `ISuggestionWithReplacementInfo`, `IReplacementResult`, `IPartialAutoCompleteResult`, `IValidationResult` to `CodeAutocompleteFieldSuggestionBase`, `CodeAutocompleteFieldSuggestionWithReplacementInfo`, `CodeAutocompleteFieldReplacementResult`, `CodeAutocompleteFieldPartialAutoCompleteResult`, `CodeAutocompleteFieldValidationResult`
-- all legacy support components are going to be removed, you need to replace them by activily maintained components
- - ` `: switch to ``
- - ` `: switch to ``
- - ` `: switch to ``
- - ` `: switch to ``
- - ` `: switch to ` `
- - ` `: switch to ` `
- - ` `: switch to ` `
- - ` `: switch to ` `, ``, ` `
-- `MultiSuggestField.ofType` method:
- - instead of `MyMultiSuggest = MultiSuggestField.ofType()` use directly ` {...props} />`
- - `MultiSuggestField.ofType` also returns the original BlueprintJS `MultiSelect` element, not our version!
+- ` ` and ` `
+ - `description` and `iconTitle`: use `title` as replacement.
+- `TableRowHeightSize` type: use `TableProps["size"]` directly
+- `IRenderModifiers` interface: use `SuggestFieldItemRendererModifierProps`
+- `IElementWidth` type: use `SuggestFieldItemRendererModifierProps["styleWidth"]`
+- `MultiSelectSelectionProps` interface: use `MultiSuggestFieldSelectionProps`
+- `MultiSelectProps` interface: use `MultiSuggestFieldProps`
+- `nodeTypes` and `edgeTypes`
+ - will be removed without replacement, define it yourself or use ` `
+ - `AutoSuggestionProps`: use `CodeAutocompleteFieldProps` instead
+ - we renamed `ISuggestionBase`, `ISuggestionWithReplacementInfo`, `IReplacementResult`, `IPartialAutoCompleteResult`, `IValidationResult` to `CodeAutocompleteFieldSuggestionBase`, `CodeAutocompleteFieldSuggestionWithReplacementInfo`, `CodeAutocompleteFieldReplacementResult`, `CodeAutocompleteFieldPartialAutoCompleteResult`, `CodeAutocompleteFieldValidationResult`
+- all legacy support components are going to be removed, you need to replace them by activily maintained components
+ - ` `: switch to ``
+ - ` `: switch to ``
+ - ` `: switch to ``
+ - ` `: switch to ``
+ - ` `: switch to ` `
+ - ` `: switch to ` `
+ - ` `: switch to ` `
+ - ` `: switch to ` `, ``, ` `
+- `MultiSuggestField.ofType` method:
+ - instead of `MyMultiSuggest = MultiSuggestField.ofType()` use directly ` {...props} />`
+ - `MultiSuggestField.ofType` also returns the original BlueprintJS `MultiSelect` element, not our version!
## [23.8.0] - 2024-08-19
### Added
-- ` `:
- - `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.
-- ` `
- - `dropzoneFor` property can be used to mark react flow canvas as matching area to drop dragged elements.
-- ` `, ` `
- - `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.
-- class name prefixes are now available by variables with more readable names:
- - BlueprintJS: `$prefix-blueprintjs` (current value is `bp5`)
- - Carbon Design System: `$prefix-carbon` (current value is `cds`)
- - eccenca GUI elements: `$prefix-eccgui` (current value is `eccgui`)
+- ` `:
+ - `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.
+- ` `
+ - `dropzoneFor` property can be used to mark react flow canvas as matching area to drop dragged elements.
+- ` `, ` `
+ - `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.
+- class name prefixes are now available by variables with more readable names:
+ - BlueprintJS: `$prefix-blueprintjs` (current value is `bp5`)
+ - Carbon Design System: `$prefix-carbon` (current value is `cds`)
+ - eccenca GUI elements: `$prefix-eccgui` (current value is `eccgui`)
### Fixed
-- ` `
- - negative values are not shown (e.g. in case server and browser clocks are apart)
+- ` `
+ - negative values are not shown (e.g. in case server and browser clocks are apart)
### Changed
-- ``
- - improve visual alignment to `TextField` regarding whitespace and colors
-- basic styles for Uppy widget were improved and moved to its own component folder
+- ``
+ - improve visual alignment to `TextField` regarding whitespace and colors
+- basic styles for Uppy widget were improved and moved to its own component folder
### Deprecated
-- ` `
- - `size` property in favour of `whitespaceSize`
-- ` `
- - `condensed` property in favour of `whitespaceSize="none"`
+- ` `
+ - `size` property in favour of `whitespaceSize`
+- ` `
+ - `condensed` property in favour of `whitespaceSize="none"`
## [23.7.0] - 2024-06-26
### Added
-- ` `, ` `, ` `, ` `, ` `, ` `, ` `
- - all react flow components are now be able to process test ids as data attributes, e.g. `data-test-id` and `data-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
-- ` `
- - Do syntax highlighting when a class name is set in the form `language-`.
-- ` `
- - Element wraps the content that need to be displayed sticky.
-- `utils`
- - `getScrollParent`: method to find the scroll parent of an element
-- ` `
- - Support loading more results when scrolling to the end of the result list.
-- ``
- - `intent` property to set the state, formerly used `hasStatePrimary`, `hasStateSuccess`, `hasStateWarning` and `hasStateDanger` properties are now deprecated
- - `leftIcon`: set the left aligned icon
- - `rightElement`: renders on right side
-- ` `
- - `disabled` property 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`
+- ` `, ` `, ` `, ` `, ` `, ` `, ` `
+ - all react flow components are now be able to process test ids as data attributes, e.g. `data-test-id` and `data-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
+- ` `
+ - Do syntax highlighting when a class name is set in the form `language-`.
+- ` `
+ - Element wraps the content that need to be displayed sticky.
+- `utils`
+ - `getScrollParent`: method to find the scroll parent of an element
+- ` `
+ - Support loading more results when scrolling to the end of the result list.
+- ``
+ - `intent` property to set the state, formerly used `hasStatePrimary`, `hasStateSuccess`, `hasStateWarning` and `hasStateDanger` properties are now deprecated
+ - `leftIcon`: set the left aligned icon
+ - `rightElement`: renders on right side
+- ` `
+ - `disabled` property 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`
### Fixed
-- ` `
- - Updated the interface with the ability to use either `selectedItems` or `prePopulateWithItems` properties, which is more logical.
- - Fixed deferred `selectedItems` setting.
-- ` `
- - `onItemClick` handler is only executed if breadcrumb has `href` set because this is one callback parameter and the handler would not have any information otherwise
-- ` `
- - position fixed when element is used as icon in ``
-- ` `
- - fix font sizes and background colors
-- ` `
- - node introduction is only processed one time even if a node update still provides a `introductionTime` property
+- ` `
+ - Updated the interface with the ability to use either `selectedItems` or `prePopulateWithItems` properties, which is more logical.
+ - Fixed deferred `selectedItems` setting.
+- ` `
+ - `onItemClick` handler is only executed if breadcrumb has `href` set because this is one callback parameter and the handler would not have any information otherwise
+- ` `
+ - position fixed when element is used as icon in ``
+- ` `
+ - fix font sizes and background colors
+- ` `
+ - node introduction is only processed one time even if a node update still provides a `introductionTime` property
### Changed
-- ` `
- - `onItemClick` handler is only executed when the breadcrumb has no own `onClick` handler defined
-- ` `
- - `elevation` allows now `-1` as value, the card is borderless then
-- ` `
- - use "Search for item, or enter term to create new one..." as default `placeholder` if `createNewItemFromQuery` is given
-- ` `
- - interface of `initialStatus` property has been updated with the so far missing `lastUpdateTime` property. If you run in problems because of that you could use `Date.now()` as fix. Or consider to use ` ` directly, what is probably even better.
-- ` `
- - opcaity is reduced automatically when element is used as icon in a disabled ``
+- ` `
+ - `onItemClick` handler is only executed when the breadcrumb has no own `onClick` handler defined
+- ` `
+ - `elevation` allows now `-1` as value, the card is borderless then
+- ` `
+ - use "Search for item, or enter term to create new one..." as default `placeholder` if `createNewItemFromQuery` is given
+- ` `
+ - interface of `initialStatus` property has been updated with the so far missing `lastUpdateTime` property. If you run in problems because of that you could use `Date.now()` as fix. Or consider to use ` ` directly, what is probably even better.
+- ` `
+ - opcaity is reduced automatically when element is used as icon in a disabled ``
### Deprecated
-- ``
- - `hasStatePrimary`, `hasStateSuccess`, `hasStateWarning` and `hasStateDanger` properties: use the `intent` property instead.
-- ` `
- - static test id `data-test-id="sticky-note-modal"` will be removed with next major version
+- ``
+ - `hasStatePrimary`, `hasStateSuccess`, `hasStateWarning` and `hasStateDanger` properties: use the `intent` property instead.
+- ` `
+ - static test id `data-test-id="sticky-note-modal"` will be removed with next major version
## [23.6.0] - 2024-04-17
### Added
-- ` `, ` `, ` `, ``, ` `
- - `data-test-id` (and `data-testid` as alias of it): can be defined to add test ids to the DOM elements
- - `wrapperProps`: can be defined by using `div` attributes, and if given a `div` element 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 `` or ` ` then the toggle button, the dropdown and the search filter get automatically their own test id, suffixed by `_togger`, `_drowpdown` and `_searchinput`.
-- ` `:
- - 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.
-- ` `, ` `, ` `
- - `data-test-id` (and `data-testid` as alias of it): can be defined to add test ids to the DOM elements
-- ` `
- - `selectedItems` can be used to set default selected items
-- new use hook
- - `useApplicationHeaderOverModals`: forces the application header to be displayed over modal backgrounds
-- `ClassNames` now 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`
+- ` `, ` `, ` `, ``, ` `
+ - `data-test-id` (and `data-testid` as alias of it): can be defined to add test ids to the DOM elements
+ - `wrapperProps`: can be defined by using `div` attributes, and if given a `div` element 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 `` or ` ` then the toggle button, the dropdown and the search filter get automatically their own test id, suffixed by `_togger`, `_drowpdown` and `_searchinput`.
+- ` `:
+ - 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.
+- ` `, ` `, ` `
+ - `data-test-id` (and `data-testid` as alias of it): can be defined to add test ids to the DOM elements
+- ` `
+ - `selectedItems` can be used to set default selected items
+- new use hook
+ - `useApplicationHeaderOverModals`: forces the application header to be displayed over modal backgrounds
+- `ClassNames` now 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`
### Fixed
-- ` `
- - fix styles for `selected=true`, allow it without interactive functionality on card element
- - align colors with active menu items
-- ` `
- - 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 `disabled` property is set
-- ` `
- - vertical alignment fixed in nowrap containers and for tags with icons
+- ` `
+ - fix styles for `selected=true`, allow it without interactive functionality on card element
+ - align colors with active menu items
+- ` `
+ - 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 `disabled` property is set
+- ` `
+ - vertical alignment fixed in nowrap containers and for tags with icons
### Changed
-- BlueprintJS libraries was updated to v5
- - Popover2 lib was removed because we can now again use the internal component from core lib again
-- ` `
- - ` ` from BlueprintJS is now used
- - @see https://github.com/palantir/blueprint/wiki/Overlay2-migration
-- ` `
- - included icons are always limited to the height of the text label
+- BlueprintJS libraries was updated to v5
+ - Popover2 lib was removed because we can now again use the internal component from core lib again
+- ` `
+ - ` ` from BlueprintJS is now used
+ - @see https://github.com/palantir/blueprint/wiki/Overlay2-migration
+- ` `
+ - included icons are always limited to the height of the text label
### Deprecated
-- ``
- - interface `AnchorOrButtonProps` is 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 `ButtonProps` should be enough
-- ` `
- - property `htmlUlProps`: this is going to be removed because the BlueprintJS `Breadcrumbs` component does not support native `ul` attributes. The element provides a new `wrapperProps` property.
-- ` `
- - 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 `_clearance` suffix
+- ``
+ - interface `AnchorOrButtonProps` is 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 `ButtonProps` should be enough
+- ` `
+ - property `htmlUlProps`: this is going to be removed because the BlueprintJS `Breadcrumbs` component does not support native `ul` attributes. The element provides a new `wrapperProps` property.
+- ` `
+ - 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 `_clearance` suffix
## [23.5.0] - 2024-02-15
### Added
-- ` `
- - visualize the usage of tabulator chars by background color and arrow symbol
- - new `tabIntentSize`, `tabIntentStyle`, `tabForceSpaceForModes` properties to give better control over tabulator usage
+- ` `
+ - visualize the usage of tabulator chars by background color and arrow symbol
+ - new `tabIntentSize`, `tabIntentStyle`, `tabForceSpaceForModes` properties to give better control over tabulator usage
### Fixed
-- ` `
- - images representing SVG without `width` property on their root element are displayed with a minimal forced dimension to prevent that they are hidden in some browsers
+- ` `
+ - images representing SVG without `width` property on their root element are displayed with a minimal forced dimension to prevent that they are hidden in some browsers
## [23.4.1] - 2024-02-08
### Fixed
-- icons
- - use older version of icon library to prevent typescript issues after changes in recent versions
+- icons
+ - use older version of icon library to prevent typescript issues after changes in recent versions
## [23.4.0] - 2024-02-07
### Added
-- ` `, ` `, ` `
- - `nowrap`: force display on one line without breaks
-- ` `
- - provides a loading state display of its children elements
-- ` `
- - `alignHorizontal`: allow to center cell contents
-- ` `
- - added extra line to show timer for execution period
-- ` `
- - replaces ` ` to get used for the ` ` component
-- new icons
- - `data-string`, `data-url`, `data-date`, `data-time`, `data-datetime`, `data-number`
+- ` `, ` `, ` `
+ - `nowrap`: force display on one line without breaks
+- ` `
+ - provides a loading state display of its children elements
+- ` `
+ - `alignHorizontal`: allow to center cell contents
+- ` `
+ - added extra line to show timer for execution period
+- ` `
+ - replaces ` ` to get used for the ` ` component
+- new icons
+ - `data-string`, `data-url`, `data-date`, `data-time`, `data-datetime`, `data-number`
### Fixed
-- ` `
- - adjust color of arrow in disabled navigation button
+- ` `
+ - adjust color of arrow in disabled navigation button
## [23.3.1] - 2023-11-15
### Fixed
-- ` `
- - remove always white space at start of `portalClassName` to prevent runtime error in BlueprintJS
+- ` `
+ - remove always white space at start of `portalClassName` to prevent runtime error in BlueprintJS
## [23.3.0] - 2023-11-09
### Added
-- ` `
- - `labelProps`: configure the automatically injected `Label` element when `PropertyName` is only a string
-- ` `
- - `escapeToBlur`: if set to true the input field blurs/de-focuces when the `Escape` key is pressed.
-- ` `
- - support for additional modes: `jinja2`, `yaml` and `json`
- - add read-only mode
- - `height`: set a fixed height of the editor
- - `wrapLines`: control auto-wrapping long lines (the default for wrap long lines is set to false now)
-- ` `
- - `modalFocusable`: when `true` the outer `div` element 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`: when `true` then the `z-index` of 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.
-- ` `
- - `preventTopPosition`: when true then the `z-index` is decreased to the value for modals. Use it when you need to display modal dialogs out of the context overlay. Type of counter property to `Modal.forceTopPosition`.
-- ` `
- - support disabling the react-flow hot keys via a React context, e.g. `Delete` etc.
-- ` `
- - new `category` options that lead to different handle layouts: `dependency`, `fixed`, `flexible` and `unknown`
- - `intent` option with defined colors for: primary, accent, info, success, warning, danger
-- ` `
- - can be used as single handle content to add an context menu to handles
-- ` `
- - `introductionTime`: can be used to visualize the node was added or updated
-- ` `
- - `loose`: can be set to `true` to prevent the box with border on the label component
-- ` `
- - `toggleIcon`: optional icon that should be displayed instead of the default ones.
-- `utils`
- - `getGlobalVar` and `setGlobalVar`: can be used to manage global variables indepentently from component states. They are stored to the `window` object under a `eccgui` "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-robot` and `operation-magic`
+- ` `
+ - `labelProps`: configure the automatically injected `Label` element when `PropertyName` is only a string
+- ` `
+ - `escapeToBlur`: if set to true the input field blurs/de-focuces when the `Escape` key is pressed.
+- ` `
+ - support for additional modes: `jinja2`, `yaml` and `json`
+ - add read-only mode
+ - `height`: set a fixed height of the editor
+ - `wrapLines`: control auto-wrapping long lines (the default for wrap long lines is set to false now)
+- ` `
+ - `modalFocusable`: when `true` the outer `div` element 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`: when `true` then the `z-index` of 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.
+- ` `
+ - `preventTopPosition`: when true then the `z-index` is decreased to the value for modals. Use it when you need to display modal dialogs out of the context overlay. Type of counter property to `Modal.forceTopPosition`.
+- ` `
+ - support disabling the react-flow hot keys via a React context, e.g. `Delete` etc.
+- ` `
+ - new `category` options that lead to different handle layouts: `dependency`, `fixed`, `flexible` and `unknown`
+ - `intent` option with defined colors for: primary, accent, info, success, warning, danger
+- ` `
+ - can be used as single handle content to add an context menu to handles
+- ` `
+ - `introductionTime`: can be used to visualize the node was added or updated
+- ` `
+ - `loose`: can be set to `true` to prevent the box with border on the label component
+- ` `
+ - `toggleIcon`: optional icon that should be displayed instead of the default ones.
+- `utils`
+ - `getGlobalVar` and `setGlobalVar`: can be used to manage global variables indepentently from component states. They are stored to the `window` object under a `eccgui` "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-robot` and `operation-magic`
### Changed
-- ` `
- - 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`
-- ` `
- - it is now possible to overwrite the background color by setting `--eccgui-appheader-color-background` in its `style` attribute
-- ` `
- - new `xlarge` size option
- - re-configure appearance of the sizes, `small` is displayed a bit smaller, `large` a bit larger than before
+- ` `
+ - 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`
+- ` `
+ - it is now possible to overwrite the background color by setting `--eccgui-appheader-color-background` in its `style` attribute
+- ` `
+ - new `xlarge` size option
+ - re-configure appearance of the sizes, `small` is displayed a bit smaller, `large` a bit larger than before
### Fixed
-- ` `
- - `Escape` key to close does not work anymore after clicking on the backdrop for `canOutsideClickClose=false` and `canEscapeKeyClose=true`.
-- ` `
- - allow other `div` attributes, e.g. `style`
-- tooltips of Carbon based elements are displayed correctly in position and layout
-- ` `
- - 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
+- ` `
+ - `Escape` key to close does not work anymore after clicking on the backdrop for `canOutsideClickClose=false` and `canEscapeKeyClose=true`.
+- ` `
+ - allow other `div` attributes, e.g. `style`
+- tooltips of Carbon based elements are displayed correctly in position and layout
+- ` `
+ - 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
## [23.2.0] - 2023-07-14
### Added
-- linting the code automatically via git hook on commit action
-- ` `
- - will replace ` `
- - match dropdown to element width when `fill=true`
- - display dropdown toggler when `onlyDropdownWithQuery=false`
-- ` `: will replace ` `
- - `clearQueryOnSelection` option to set an empty query after selections
- - match dropdown to element width when `fullWidth=true`
-- ` `: will replace ` `
-- ``:
- - has now a default target when it is not controlled directly by its children
- - `onClearanceHandler` and `onClearanceText` as options to include automatically a dedicated clearance button to the element
-- ` `
- - `size` option to increase/decrease width consumed by its display
-- ` `: use `title` property on its text sub element
-- ` ` elements now have defined and exposed interfaces
-- `` element now have a defined and exposed interface
-- ` ` elements now have defined and exposed interfaces
-- ` `
- - `carbonSizeConfig` property to overwrite automatically set column sizes by using the original size config from the Carbon component
-- ` ` element now have a defined and exposed interface
-- all inferfaces of the main elements in `src/components` are now exposed via `@eccenca/gui-elements`
-- all inferfaces of the main elements in `src/extensions` are now exposed via `@eccenca/gui-elements`
-- all inferfaces of the main elements in `src/cmem` are now exposed via `@eccenca/gui-elements`
-- ` `
- - event handler `onLeave` and `onOutsideClick`, could be used to close the menu panel automatically
+- linting the code automatically via git hook on commit action
+- ` `
+ - will replace ` `
+ - match dropdown to element width when `fill=true`
+ - display dropdown toggler when `onlyDropdownWithQuery=false`
+- ` `: will replace ` `
+ - `clearQueryOnSelection` option to set an empty query after selections
+ - match dropdown to element width when `fullWidth=true`
+- ` `: will replace ` `
+- ``:
+ - has now a default target when it is not controlled directly by its children
+ - `onClearanceHandler` and `onClearanceText` as options to include automatically a dedicated clearance button to the element
+- ` `
+ - `size` option to increase/decrease width consumed by its display
+- ` `: use `title` property on its text sub element
+- ` ` elements now have defined and exposed interfaces
+- `` element now have a defined and exposed interface
+- ` ` elements now have defined and exposed interfaces
+- ` `
+ - `carbonSizeConfig` property to overwrite automatically set column sizes by using the original size config from the Carbon component
+- ` ` element now have a defined and exposed interface
+- all inferfaces of the main elements in `src/components` are now exposed via `@eccenca/gui-elements`
+- all inferfaces of the main elements in `src/extensions` are now exposed via `@eccenca/gui-elements`
+- all inferfaces of the main elements in `src/cmem` are now exposed via `@eccenca/gui-elements`
+- ` `
+ - event handler `onLeave` and `onOutsideClick`, could be used to close the menu panel automatically
### Changed
-- ``:
- - match dropdown to element width when `fill=true`
- - use rounded input for query input to align it with ` `
-- 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 the `package.json` file
- - `eslint`, `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 `postcss` to 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
-- ` `
- - `IActivityAction` interface was renamed to `ActivityControlWidgetAction`
-- ` `
- - `IProps` interface was renamed to `AutoSuggestionProps`
-- ` `
- - `IDropdownProps` interface was renamed to `AutoSuggestionListProps`
-- ` `
- - `SelectedParamsType` interface was renamed to `MultiSelectSelectionProps`
-- ` `
- - `IEditorProps` interface was renamed to `SingleLineCodeEditorProps`
-- ` `
- - `IAlertDialogProps` interface was renamed to `AlertDialogProps`
-- ` `
- - `IWorkspaceHeaderProps` interface was renamed to `WorkspaceHeaderProps`
-- ` `
- - `NodeProps` interface was renamed to `NodeDefaultProps` to justify naming convention
-- ` `
- - `IHandleProps` interface was renamed to `NodeContentHandleProps` to justify naming convention
-- `Utilities` obejct was renamed to `utils` and enhanced with new functions: `getColorConfiguration`, `invisibleZeroWidthCharacters`
-- improve style imports, now it is a bit easier to inlcude all parts separately
-- ` `
- - 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
-- ` `
- - `enforceFocus: false` is set by default, so that searchable selects keep focus on their search input field
+- ``:
+ - match dropdown to element width when `fill=true`
+ - use rounded input for query input to align it with ` `
+- 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 the `package.json` file
+ - `eslint`, `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 `postcss` to 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
+- ` `
+ - `IActivityAction` interface was renamed to `ActivityControlWidgetAction`
+- ` `
+ - `IProps` interface was renamed to `AutoSuggestionProps`
+- ` `
+ - `IDropdownProps` interface was renamed to `AutoSuggestionListProps`
+- ` `
+ - `SelectedParamsType` interface was renamed to `MultiSelectSelectionProps`
+- ` `
+ - `IEditorProps` interface was renamed to `SingleLineCodeEditorProps`
+- ` `
+ - `IAlertDialogProps` interface was renamed to `AlertDialogProps`
+- ` `
+ - `IWorkspaceHeaderProps` interface was renamed to `WorkspaceHeaderProps`
+- ` `
+ - `NodeProps` interface was renamed to `NodeDefaultProps` to justify naming convention
+- ` `
+ - `IHandleProps` interface was renamed to `NodeContentHandleProps` to justify naming convention
+- `Utilities` obejct was renamed to `utils` and enhanced with new functions: `getColorConfiguration`, `invisibleZeroWidthCharacters`
+- improve style imports, now it is a bit easier to inlcude all parts separately
+- ` `
+ - 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
+- ` `
+ - `enforceFocus: false` is set by default, so that searchable selects keep focus on their search input field
### Fixed
-- use correct import for codemirror stylesheetss
-- ` ` is not displayed clickable when it has no `href` or `onClick` property set
+- use correct import for codemirror stylesheetss
+- ` ` is not displayed clickable when it has no `href` or `onClick` property set
### Deprecated
-- `Select.ofType` method:
- - instead of `MyTypeSelect = Select.ofType()` use directly `