v23.7.0-rc.2
Pre-release
Pre-release
·
11 commits
to develop
since this release
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-id
anddata-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.
utils
getScrollParent
: method to find the scroll parent of an element
<AutoCompleteField />
- Support loading more results when scrolling to the end of the result list.
<TextArea />
intent
property to set the state, formerly usedhasStatePrimary
,hasStateSuccess
,hasStateWarning
andhasStateDanger
properties are now deprecatedleftIcon
: set the left aligned iconrightElement
: renders on right side
Fixed
<MultiSuggestField />
- Added logic for contolled state for the component if
selectedItems
andonSelection
passed. - Fixed deferred
selectedItems
setting.
- 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 />
onItemClick
handler is only executed if breadcrumb hashref
set because this is one callback parameter and the handler would not have any information otherwise
Changed
<BreadcrumbsList />
onItemClick
handler is only executed when the breadcrumb has no ownonClick
handler defined
<Card />
elevation
allows now-1
as value, the card is borderless then
<MultiSuggestField />
- use "Search for item, or enter term to create new one..." as default
placeholder
ifcreateNewItemFromQuery
is given
- use "Search for item, or enter term to create new one..." as default
Deprecated
<TextArea />
hasStatePrimary
,hasStateSuccess
,hasStateWarning
andhasStateDanger
properties: use theintent
property instead.