Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@ui5/webcomponents-icons
Advanced tools
Provides assets for the rich SAP-icons
icon collection.
Icon asset | Module import |
---|---|
All icons (~115KB zipped) | import "@ui5/webcomponents-icons/dist/AllIcons.js"; |
Accelerated icon | import "@ui5/webcomponents-icons/dist/accelerated.js"; |
Accept icon | import "@ui5/webcomponents-icons/dist/accept.js"; |
... | ... |
Zoom out icon | import "@ui5/webcomponents-icons/dist/zoom-out.js"; |
Note: The @ui5/webcomponents-icons
package does not provide any web components per se, but rather icon assets,
usable by other web components such as ui5-icon
. You could import all icons, but it's recommended to import
just the ones that your app will actually use.
Note: For a full list of the icons in the SAP-icons
collection, click here.
import "@ui5/webcomponents-fiori/dist/Assets.js";
Assets | Module | Notes |
---|---|---|
i18n | @ui5/webcomponents-icons/dist/Assets.js | Translations for the tooltips / "aria labels" of several icons |
As SAP Icons is the default icon collection, you can skip the collection name and just set the name of the icon:
<ui5-icon name="accept"></ui5-icon>
The package provides two versions of each icon (SAP Icons v4 and SAP Icons v5). If you don't specify a collection name like in the example above,
the framework will detect the current theme and render the corresponding icon - SAP Icons v5
for SAP Horizon theme family (sap_horizon, sap_horizon_dark, etc.), and SAP Icons v4
for all the rest (sap_fiori_3, sap_fiori_3_dark, etc.).
SAP-icon-v4
and SAP-icon-v5
In case you want to always display the SAP Icons v5
icons in all themes, you can set it explicitly via the SAP-icon-v5
collection name:
<ui5-icon name="SAP-icon-v5/accept"></ui5-icon>
The same applies if you want to always display the SAP Icons v4
icons. You can set it explicitly via the SAP-icon-v4
collection name:
<ui5-icon name="SAP-icon-v4/accept"></ui5-icon>
We welcome all comments, suggestions, questions, and bug reports. Please follow our Support Guidelines on how to report an issue, or chat with us in the #webcomponents
channel of the OpenUI5 Community Slack.
Please check our Contribution Guidelines.
Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the LICENSE file.
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
FAQs
UI5 Web Components: webcomponents.SAP-icons
The npm package @ui5/webcomponents-icons receives a total of 40,240 weekly downloads. As such, @ui5/webcomponents-icons popularity was classified as popular.
We found that @ui5/webcomponents-icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.