Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@ui5/webcomponents-theming
Advanced tools
Provides common theming assets, used by other UI5 Web Components packages, such as main
and fiori
.
This package is intended for UI5 Web Component development and currently provides no app development related public APIs.
The assets, provided by this package, are additional themes:
import "@ui5/webcomponents-theming/dist/Assets.js";
Note: These assets are already imported by the UI5 Web Components packages that need them.
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 (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>FAQs
UI5 Web Components: webcomponents.theming
The npm package @ui5/webcomponents-theming receives a total of 31,390 weekly downloads. As such, @ui5/webcomponents-theming popularity was classified as popular.
We found that @ui5/webcomponents-theming 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.