Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions types/openui5/openui5-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,3 +284,5 @@ const p13nEngine = new Engine();
// version 1.141.0 added - tests are not required as the type definitions are generated and the generator is sufficiently tested

// version 1.142.0 added - tests are not required as the type definitions are generated and the generator is sufficiently tested

// version 1.143.0 added - tests are not required as the type definitions are generated and the generator is sufficiently tested
2 changes: 1 addition & 1 deletion types/openui5/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@types/openui5",
"version": "1.142.9999",
"version": "1.143.9999",
"nonNpm": true,
"nonNpmDescription": "openui5",
"projects": [
Expand Down
9 changes: 8 additions & 1 deletion types/openui5/sap.f.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// For Library Version: 1.142.0
// For Library Version: 1.143.0

declare module "sap/tnt/library" {
export interface IToolHeader {
Expand Down Expand Up @@ -21074,6 +21074,13 @@ declare module "sap/f/ShellBar" {
import Button from "sap/m/Button";

/**
* **Note:** `sap.f.ShellBar` is not UXC-compliant and will no longer be aligned with future UXC design
* updates. For UXC-compliant applications, use the ui5-shellbar web component instead. It can be integrated
* seamlessly using ui5-tooling-modules. See {@link https://ui5.sap.com/#/topic/1c80793df5bb424091954697fc0b2828 Using Web Components}.
*
*
*
*
* A horizontal bar control holding multiple child controls used as application shell header.
*
* Overview:
Expand Down
178 changes: 167 additions & 11 deletions types/openui5/sap.m.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// For Library Version: 1.142.0
// For Library Version: 1.143.0

declare module "sap/f/library" {
export interface IShellBar {
Expand Down Expand Up @@ -2224,6 +2224,8 @@ declare module "sap/m/library" {
None = "None",
/**
* Right-positioned single selection mode (only one list item can be selected).
*
* @deprecated As of version 1.143. replaced by {@link sap.m.ListMode.SingleSelectLeft}.
*/
SingleSelect = "SingleSelect",
/**
Expand Down Expand Up @@ -2325,6 +2327,34 @@ declare module "sap/m/library" {
*/
Split = "Split",
}
/**
* Available color set variants for the {@link sap.m.MessageStrip} control.
*
* **Notes:**
* - The Default color set uses standard semantic colors based on the message type (Information, Success,
* Warning, Error).
* - ColorSet1 and ColorSet2 provide custom color palettes with 10 predefined color schemes each.
* - When using ColorSet1 or ColorSet2, the `colorScheme` property determines which color variation is
* applied.
*
* This enum is part of the 'sap/m/library' module export and must be accessed by the property 'MessageStripColorSet'.
*
* @since 1.143.0
*/
export enum MessageStripColorSet {
/**
* Uses a custom color palette with predefined color schemes
*/
ColorSet1 = "ColorSet1",
/**
* Uses an alternative custom color palette with predefined color schemes
*/
ColorSet2 = "ColorSet2",
/**
* Uses standard semantic colors based on the type property (Information, Success, Warning, Error)
*/
Default = "Default",
}
/**
* Enumeration of the `multiSelectMode>/code> in ListBase`.
*
Expand Down Expand Up @@ -3148,13 +3178,13 @@ declare module "sap/m/library" {
/**
* Each item fits its content and extra space is placed after the last item.
*
* @since 1.42
* @since 1.142.0
*/
ContentFit = "ContentFit",
/**
* All items are sized equally to fill the available space.
*
* @since 1.42
* @since 1.142.0
*/
EqualSized = "EqualSized",
}
Expand Down Expand Up @@ -61844,6 +61874,8 @@ declare module "sap/m/MessageStrip" {

import Event from "sap/ui/base/Event";

import { MessageStripColorSet } from "sap/m/library";

import { URI } from "sap/ui/core/library";

import ElementMetadata from "sap/ui/core/ElementMetadata";
Expand All @@ -61858,7 +61890,8 @@ declare module "sap/m/MessageStrip" {
/**
* MessageStrip is a control that enables the embedding of application-related messages in the application.
* Overview: The message strip displays 4 types of messages, each with a corresponding semantic color and
* icon: Information, Success, Warning and Error.
* icon: Information, Success, Warning and Error. Additionally, it supports custom color schemes through
* ColorSet1 and ColorSet2 design types, each providing 10 predefined color variations.
*
* Each message can have a close button, so that it can be removed from the UI if needed.
*
Expand All @@ -61870,10 +61903,14 @@ declare module "sap/m/MessageStrip" {
* - <u> With version 1.85
* - <br>
*
* Color Schemes: When using ColorSet1 or ColorSet2 as the design type, you can specify a `colorScheme`
* from "1" to "10" to apply different color variations. This allows for better visual categorization and
* theming flexibility while maintaining accessibility standards.
*
* Dynamically generated Message Strip: To meet the accessibility requirements when using dynamically generated
* Message Strip you must implement it alongside `sap.ui.core.InvisibleMessage`. This will allow screen
* readers to announce it in real time. We suggest such dynamically generated message strips to be announced
* as Information Bar, as shown in our Dynamic Message Strip Generator sample.
* as Information Bar, as shown in our "Dynamic Message Strip Generator sample."
*
* Usage: When to use:
* - You want to provide information or status update within the detail area of an object When not
Expand Down Expand Up @@ -62061,6 +62098,41 @@ declare module "sap/m/MessageStrip" {
*/
mParameters?: object
): this;
/**
* Gets current value of property {@link #getColorScheme colorScheme}.
*
* Determines the color scheme when using ColorSet1 or ColorSet2 colorSet variants. Available values are
* 1 through 10, each providing a different color variation. This property is only effective when `colorSet`
* is set to "ColorSet1" or "ColorSet2".
*
* Default value is `1`.
*
* @since 1.143.0
*
* @returns Value of property `colorScheme`
*/
getColorScheme(): int;
/**
* Gets current value of property {@link #getColorSet colorSet}.
*
* Determines the color set variant of the MessageStrip. Available options:
* - **Default** - Uses standard semantic colors based on the type property (Information, Success, Warning,
* Error)
* - **ColorSet1** - Uses a custom color palette with 10 predefined color schemes
* - **ColorSet2** - Uses an alternative custom color palette with 10 predefined color schemes When
* ColorSet1 or ColorSet2 is selected, the `colorScheme` property determines which of the 10 color variations
* is applied.
*
* **Note:** When using ColorSet1 or ColorSet2 designs, the type property is still used for semantic purposes
* but will be ignored for visual styling.
*
* Default value is `Default`.
*
* @since 1.143.0
*
* @returns Value of property `colorSet`
*/
getColorSet(): MessageStripColorSet;
/**
* Gets content of aggregation {@link #getControls controls}.
*
Expand All @@ -62075,7 +62147,7 @@ declare module "sap/m/MessageStrip" {
* Gets current value of property {@link #getCustomIcon customIcon}.
*
* Determines a custom icon which is displayed. If none is set, the default icon for this message type is
* used.
* used. **Note**: For ColorSet1 and ColorSet2 designs, no default icon is displayed unless explicitly provided.
*
* Default value is `empty string`.
*
Expand Down Expand Up @@ -62213,11 +62285,60 @@ declare module "sap/m/MessageStrip" {
*/
vControl: int | string | Link
): Link | null;
/**
* Sets a new value for property {@link #getColorScheme colorScheme}.
*
* Determines the color scheme when using ColorSet1 or ColorSet2 colorSet variants. Available values are
* 1 through 10, each providing a different color variation. This property is only effective when `colorSet`
* is set to "ColorSet1" or "ColorSet2".
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
* Default value is `1`.
*
* @since 1.143.0
*
* @returns Reference to `this` in order to allow method chaining
*/
setColorScheme(
/**
* New value for property `colorScheme`
*/
iColorScheme?: int
): this;
/**
* Sets a new value for property {@link #getColorSet colorSet}.
*
* Determines the color set variant of the MessageStrip. Available options:
* - **Default** - Uses standard semantic colors based on the type property (Information, Success, Warning,
* Error)
* - **ColorSet1** - Uses a custom color palette with 10 predefined color schemes
* - **ColorSet2** - Uses an alternative custom color palette with 10 predefined color schemes When
* ColorSet1 or ColorSet2 is selected, the `colorScheme` property determines which of the 10 color variations
* is applied.
*
* **Note:** When using ColorSet1 or ColorSet2 designs, the type property is still used for semantic purposes
* but will be ignored for visual styling.
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
* Default value is `Default`.
*
* @since 1.143.0
*
* @returns Reference to `this` in order to allow method chaining
*/
setColorSet(
/**
* New value for property `colorSet`
*/
sColorSet?: MessageStripColorSet | keyof typeof MessageStripColorSet
): this;
/**
* Sets a new value for property {@link #getCustomIcon customIcon}.
*
* Determines a custom icon which is displayed. If none is set, the default icon for this message type is
* used.
* used. **Note**: For ColorSet1 and ColorSet2 designs, no default icon is displayed unless explicitly provided.
*
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
*
Expand Down Expand Up @@ -62361,9 +62482,37 @@ declare module "sap/m/MessageStrip" {
| PropertyBindingInfo
| `{${string}}`;

/**
* Determines the color set variant of the MessageStrip. Available options:
* - **Default** - Uses standard semantic colors based on the type property (Information, Success, Warning,
* Error)
* - **ColorSet1** - Uses a custom color palette with 10 predefined color schemes
* - **ColorSet2** - Uses an alternative custom color palette with 10 predefined color schemes When
* ColorSet1 or ColorSet2 is selected, the `colorScheme` property determines which of the 10 color variations
* is applied.
*
* **Note:** When using ColorSet1 or ColorSet2 designs, the type property is still used for semantic purposes
* but will be ignored for visual styling.
*
* @since 1.143.0
*/
colorSet?:
| (MessageStripColorSet | keyof typeof MessageStripColorSet)
| PropertyBindingInfo
| `{${string}}`;

/**
* Determines the color scheme when using ColorSet1 or ColorSet2 colorSet variants. Available values are
* 1 through 10, each providing a different color variation. This property is only effective when `colorSet`
* is set to "ColorSet1" or "ColorSet2".
*
* @since 1.143.0
*/
colorScheme?: int | PropertyBindingInfo | `{${string}}`;

/**
* Determines a custom icon which is displayed. If none is set, the default icon for this message type is
* used.
* used. **Note**: For ColorSet1 and ColorSet2 designs, no default icon is displayed unless explicitly provided.
*/
customIcon?: URI | PropertyBindingInfo | `{${string}}`;

Expand Down Expand Up @@ -111819,7 +111968,7 @@ declare module "sap/m/SegmentedButton" {
*
* Default value is `EqualSized`.
*
* @since 1.42.0
* @since 1.142.0
*
* @returns Value of property `contentMode`
*/
Expand Down Expand Up @@ -112043,7 +112192,7 @@ declare module "sap/m/SegmentedButton" {
*
* Default value is `EqualSized`.
*
* @since 1.42.0
* @since 1.142.0
*
* @returns Reference to `this` in order to allow method chaining
*/
Expand Down Expand Up @@ -112181,7 +112330,7 @@ declare module "sap/m/SegmentedButton" {
* - **ContentFit**: Each button is sized according to its content.
* - **EqualSized**: All buttons have equal width, regardless of their content.
*
* @since 1.42.0
* @since 1.142.0
*/
contentMode?:
| (SegmentedButtonContentMode | keyof typeof SegmentedButtonContentMode)
Expand Down Expand Up @@ -130370,6 +130519,11 @@ declare module "sap/m/SinglePlanningCalendar" {
* The end date as a UI5Date or JavaScript Date object of the focused grid cell.
*/
endDate?: object;

/**
* The original browser event.
*/
originalEvent?: object;
}

/**
Expand Down Expand Up @@ -174270,6 +174424,8 @@ declare namespace sap {

"sap/m/p13n/modules/AdaptationProvider": undefined;

"sap/m/p13n/PersistenceProvider": undefined;

"sap/m/p13n/Popup": undefined;

"sap/m/p13n/QueryPanel": undefined;
Expand Down
2 changes: 1 addition & 1 deletion types/openui5/sap.tnt.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// For Library Version: 1.142.0
// For Library Version: 1.143.0

declare module "sap/tnt/library" {
/**
Expand Down
2 changes: 1 addition & 1 deletion types/openui5/sap.ui.codeeditor.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// For Library Version: 1.142.0
// For Library Version: 1.143.0

declare module "sap/ui/codeeditor/library" {}

Expand Down
2 changes: 1 addition & 1 deletion types/openui5/sap.ui.commons.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// For Library Version: 1.142.0
// For Library Version: 1.143.0

declare module "sap/ui/commons/library" {
import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";
Expand Down
Loading