@ui5/webcomponents-icons-business-suite
Advanced tools
Changelog
2.1.0-rc.0 (2024-07-11)
Changelog
2.0.0 (2024-07-03)
end-icon
and text in long links (#9325) (b559431)ListSeparators
enum to ListSeparator
(#9308) (26bb513)image
property of the ui5-li
is removed and the imageContent
slot is renamed to image
.
If you have previously used the image
property:<ui5-li image="./img/HT-1022.jpg">Standard List Item</ui5-li>
or the imageContent
slot:
<ui5-li> Avatar inside imageContent slot
<ui5-avatar slot="imageContent" shape="Square" initials="ABC" color-scheme="Accent2"></ui5-avatar>
</ui5-li>
Now use image
slot instead:
<ui5-li> Avatar inside image slot
<ui5-avatar slot="image" shape="Square" initials="ABC" color-scheme="Accent2"></ui5-avatar>
</ui5-li>
Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887, https://github.com/SAP/ui5-webcomponents/issues/9200
Now, you must import the ListSeparator
enumeration as follows:
import ListSeparator from "@ui5/webcomponents/dist/types/ListSeparator.js";
import type ListSeparator from "@ui5/webcomponents/dist/types/ListSeparator.js";
Related to: https://github.com/SAP/ui5-webcomponents/issues/8461
import IllustrationMessageSize from "@ui5/webcomponents-base/dist/types/IllustrationMessageSize.js"; Now import IllustrationMessageDesign instead:
import IllustrationMessageDesign from "@ui5/webcomponents-base/dist/types/IllustrationMessageDesign.js";
type
, description
, icon
, iconEnd
, image
from ui5-suggestion-item
and introduce ui5-suggestion-item-custom
ui5-suggestion-item
:
type
property is removed, use ui5-suggestion-item-custom
instead.description
property is removed, use ui5-suggestion-item-custom
instead.icon
property is removed, use ui5-suggestion-item-custom
instead.iconEnd
property is removed, use ui5-suggestion-item-custom
instead.image
property is removed, use ui5-suggestion-item-custom
instead.ui5-suggestion-group-item
:
ui5-suggestion-item-group
text
is removed, use headerText
insteadui5-suggestion-item-custom
:
ui5-li-custom
@ui5/webcomponents-base/dist/util/generateHighlightedMarkup.js
All suggestion items are now physical items and can be overstyled. Grouping now works with via nesting: e.g.
<ui5-input show-suggestions>
<ui5-suggestion-item-group header-text="Group 1">
<ui5-suggestion-item text="Group Item 1"></ui5-suggestion-item>
</ui5-suggestion-item-group>
</ui5-input>
show
and close
methods.Before, the ui5-view-settings-dialog could be opened and closed by calling show()
and close()
:
const viewSettingsDialog = document.getElementById("exampleID");
viewSettingsDialog.show();
viewSettingsDialog.close();
Now, the dialog is opened and closed by setting the open property to true or false:
const viewSettingsDialog = document.getElementById("exampleID");
viewSettingsDialog.open = true;
viewSettingsDialog.open = false;
fixes: https://github.com/SAP/ui5-webcomponents/issues/9240
startsSection
property removed from MenuItemsBefore:
<ui5-menu> <ui5-menu-item text="Item A"></ui5-menu-item> <ui5-menu-item text="Item B" starts-section></ui5-menu-item> </ui5-menu>Now:
<ui5-menu> <ui5-menu-item text="Item A"></ui5-menu-item> <ui5-menu-separator></ui5-menu-separator> <ui5-menu-item text="Item B"></ui5-menu-item> </ui5-menu>Changelog
2.0.0-rc.6 (2024-06-17)
icon
and endIcon
properties (#9036) (06318cb)wrapping-type
property default value has changed from None
to Normal
.
Before:<ui5-checkbox text=Some very very very very long text"></ui5-checkbox><!-- would truncate the text if there is not enough space -->
Now:
<ui5-checkbox text=Some very very very very long text"></ui5-checkbox> <!-- would let the text wrap if there is not enough space -->
Related to https://github.com/SAP/ui5-webcomponents/issues/8461, https://github.com/SAP/ui5-webcomponents/issues/7887
wholeItemToggleAble
poperty of ui5-side-navigation-item
is now remomoved.
The functionality of clicking the whole item to show/hide the sub items (if present) will
be introduced soon with new property name and enhanced accessibility and keyboard handling.wrapping-type
property default value has changed from None
to Normal
. Before:<ui5-tag>In Process</ui5-tag><!-- would truncate the text if there is not enough space -->
Now:
<ui5-tag>In Process</ui5-tag><!-- would let the text wrap if there is not enough space -->
Related to https://github.com/SAP/ui5-webcomponents/issues/8461
refactor(ui5-tag): fix test texsts
refactor(ui5-tag): fix height of the tags to be the same
No matter if the tag is with wrapping-type="None" or wrapping-type="Normal" the height when there is only one line of text should be the same.
refactor(ui5-tag): merge adjustments and code review comments
refactor(ui5-tag): fix height
ui5-li, ui5-li-custom: StandardListItem
has been renamed to ListItemStandard
, and CustomListItem
has been renamed to ListItemCustom
.
If you previously imported the classes as follows:
import StandardListItem from "@ui5/webcomponents/StandardListItem.js";
import CustomListItem from "@ui5/webcomponents/CustomListItem.js";
now you must change imports to:
import ListItemStandard from "@ui5/webcomponents/ListItemStandard.js";
import ListItemCustom from "@ui5/webcomponents/ListItemCustom.js";
Related to: https://github.com/SAP/ui5-webcomponents/issues/8461
Changelog
2.0.0-rc.5 (2024-06-06)
open
and close
events (#9093) (bf2d0aa)wrapping-type
property default value has changed from None
to Normal
.
Before:<ui5-radio-button text="Option A with long long text"></ui5-radio-button>
<!-- would truncate the text if there is not enough space -->
Now:
<ui5-radio-button text="Option A with long long text"></ui5-radio-button>
<!-- would let the text wrap if there is not enough space -->
Related to https://github.com/SAP/ui5-webcomponents/issues/8461
wrapping-type
property default value has changed from None
to Normal
.
Before:<ui5-link>some very very very long link</ui5-link> <!-- would truncate the text if there is not enough space -->
Now:
<ui5-link>some very very very long link</ui5-link> <!-- would let the text wrap if there is not enough space -->