Releases: eccenca/gui-elements
v24.0.0-rc.2
NPM package: https://www.npmjs.com/package/@eccenca/gui-elements/v/24.0.0-rc.2
Storybook:
Added
<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.
<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 $eccgui-selector-text-spot-highlightconfig 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
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
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 - switch icons for
item-cloneanditem-copyto Carbon's<Replicate/>and<Copy/>
v24.0.0-rc.1
NPM package: https://www.npmjs.com/package/@eccenca/gui-elements/v/24.0.0-rc.1
Storybook:
Added
<MultiSuggestField />- An optional custom search function property has been added, it defines how to filter elements.
- basic Storybook example for
<Application* />components
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
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
v24.0.0-rc.0
NPM package: https://www.npmjs.com/package/@eccenca/gui-elements/v/24.0.0-rc.0
Storybook:
Added
<MultiSuggestField />- An optional custom search function property has been added, it defines how to filter elements.
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
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
v23.8.0
NPM package: https://www.npmjs.com/package/@eccenca/gui-elements/v/23.8.0
Storybook: https://62150dbccb2d77003a2a5093-dmwubdagxv.chromatic.com/
Added
<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:
Fixed
<ElapsedDateTimeDisplay />- negative values are not shown (e.g. in case server and browser clocks are apart)
Changed
<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
Deprecated
<Accordion />sizeproperty in favour ofwhitespaceSize
<AccordionItem />condensedproperty in favour ofwhitespaceSize="none"
v23.8.0-rc.1
NPM package: https://www.npmjs.com/package/@eccenca/gui-elements/v/23.8.0-rc.1
Storybook:
Added
<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:
Fixed
<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
Changed
- basic styles for Uppy widget were improved and moved to its own component folder
Deprecated
<Accordion />sizeproperty in favour ofwhitespaceSize
<AccordionItem />condensedproperty in favour ofwhitespaceSize="none"
v23.8.0-rc.0
NPM package: https://www.npmjs.com/package/@eccenca/gui-elements/v/23.8.0-rc.0
Storybook:
Fixed
<TextArea />- improve visual alignment to
TextFieldregarding whitespace and colors
- improve visual alignment to
v23.7.0
NPM package: https://www.npmjs.com/package/@eccenca/gui-elements/v/23.7.0
Storybook: https://62150dbccb2d77003a2a5093-mfxsgwculc.chromatic.com/
Added
<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
<AutoCompleteField />- 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
Fixed
<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
<StickyNoteModal/>- static test id
data-test-id="sticky-note-modal"will be removed with next major version
- static test id
<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
Changed
<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
Deprecated
<TextArea />hasStatePrimary,hasStateSuccess,hasStateWarningandhasStateDangerproperties: use theintentproperty instead.
v23.7.0-rc.4
NPM package: https://www.npmjs.com/package/@eccenca/gui-elements/v/23.7.0-rc.4
Storybook:
Added
<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
<AutoCompleteField />- 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
Fixed
<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
<StickyNoteModal/>- static test id
data-test-id="sticky-note-modal"will be removed with next major version
- static test id
<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
Changed
<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
Deprecated
<TextArea />hasStatePrimary,hasStateSuccess,hasStateWarningandhasStateDangerproperties: use theintentproperty instead.
v23.7.0-rc.2
NPM package: https://www.npmjs.com/package/@eccenca/gui-elements/v/23.7.0-rc.2
Storybook:
Added
<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
<AutoCompleteField />- 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
Fixed
<MultiSuggestField />- Added logic for contolled state for the component if
selectedItemsandonSelectionpassed. - Fixed deferred
selectedItemssetting.
- Added logic for contolled state for the component if
<StickyNoteModal/>- static test id
data-test-id="sticky-note-modal"will be removed with next major version
- static test id
<BreadcrumbsList />onItemClickhandler is only executed if breadcrumb hashrefset because this is one callback parameter and the handler would not have any information otherwise
Changed
<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
Deprecated
<TextArea />hasStatePrimary,hasStateSuccess,hasStateWarningandhasStateDangerproperties: use theintentproperty instead.
v23.7.0-rc.1
NPM package: https://www.npmjs.com/package/@eccenca/gui-elements/v/23.7.0-rc.1
Storybook:
Added
<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
<AutoCompleteField />- Support loading more results when scrolling to the end of the result list.
Fixed
<MultiSuggestField />- Added logic for contolled state for the component if
selectedItemsandonSelectionpassed. - Fixed deferred
selectedItemssetting.
- Added logic for contolled state for the component if
<StickyNoteModal/>- static test id
data-test-id="sticky-note-modal"will be removed with next major version
- static test id