@ui5/webcomponents 2.20.0-rc.3 → 2.21.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/Breadcrumbs.d.ts +3 -3
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Breadcrumbs.js.map +1 -1
- package/dist/Button.d.ts +6 -0
- package/dist/Button.js +11 -2
- package/dist/Button.js.map +1 -1
- package/dist/Carousel.d.ts +14 -13
- package/dist/Carousel.js +93 -177
- package/dist/Carousel.js.map +1 -1
- package/dist/CarouselTemplate.js +2 -2
- package/dist/CarouselTemplate.js.map +1 -1
- package/dist/ColorPaletteTemplate.js +1 -1
- package/dist/ColorPaletteTemplate.js.map +1 -1
- package/dist/DatePicker.js +2 -2
- package/dist/DatePicker.js.map +1 -1
- package/dist/DayPickerTemplate.js +1 -1
- package/dist/DayPickerTemplate.js.map +1 -1
- package/dist/Dialog.d.ts +0 -3
- package/dist/Dialog.js +3 -1
- package/dist/Dialog.js.map +1 -1
- package/dist/Icon.d.ts +1 -1
- package/dist/Icon.js +12 -4
- package/dist/Icon.js.map +1 -1
- package/dist/IconTemplate.js +1 -1
- package/dist/IconTemplate.js.map +1 -1
- package/dist/Input.d.ts +2 -1
- package/dist/Input.js +38 -16
- package/dist/Input.js.map +1 -1
- package/dist/Menu.js +6 -1
- package/dist/Menu.js.map +1 -1
- package/dist/MenuItem.d.ts +8 -0
- package/dist/MenuItem.js +29 -1
- package/dist/MenuItem.js.map +1 -1
- package/dist/MenuItemTemplate.js +2 -2
- package/dist/MenuItemTemplate.js.map +1 -1
- package/dist/MultiComboBox.js +5 -0
- package/dist/MultiComboBox.js.map +1 -1
- package/dist/MultiInput.js +4 -5
- package/dist/MultiInput.js.map +1 -1
- package/dist/StepInput.d.ts +5 -0
- package/dist/StepInput.js +26 -5
- package/dist/StepInput.js.map +1 -1
- package/dist/Switch.d.ts +8 -4
- package/dist/Switch.js +15 -11
- package/dist/Switch.js.map +1 -1
- package/dist/SwitchTemplate.js +1 -1
- package/dist/SwitchTemplate.js.map +1 -1
- package/dist/TimePicker.d.ts +55 -3
- package/dist/TimePicker.js +160 -26
- package/dist/TimePicker.js.map +1 -1
- package/dist/TimePickerTemplate.js +1 -1
- package/dist/TimePickerTemplate.js.map +1 -1
- package/dist/TimeSelectionClocks.js +8 -0
- package/dist/TimeSelectionClocks.js.map +1 -1
- package/dist/Token.js +2 -2
- package/dist/Token.js.map +1 -1
- package/dist/Tokenizer.js +2 -1
- package/dist/Tokenizer.js.map +1 -1
- package/dist/Toolbar.d.ts +11 -11
- package/dist/Toolbar.js +3 -3
- package/dist/Toolbar.js.map +1 -1
- package/dist/ToolbarButton.d.ts +22 -3
- package/dist/ToolbarButton.js +23 -3
- package/dist/ToolbarButton.js.map +1 -1
- package/dist/ToolbarItem.d.ts +18 -77
- package/dist/ToolbarItem.js +9 -110
- package/dist/ToolbarItem.js.map +1 -1
- package/dist/ToolbarItemBase.d.ts +69 -0
- package/dist/ToolbarItemBase.js +142 -0
- package/dist/ToolbarItemBase.js.map +1 -0
- package/dist/ToolbarSelect.d.ts +6 -5
- package/dist/ToolbarSelect.js +3 -3
- package/dist/ToolbarSelect.js.map +1 -1
- package/dist/ToolbarSeparator.d.ts +3 -3
- package/dist/ToolbarSeparator.js +3 -3
- package/dist/ToolbarSeparator.js.map +1 -1
- package/dist/ToolbarSpacer.d.ts +3 -3
- package/dist/ToolbarSpacer.js +3 -3
- package/dist/ToolbarSpacer.js.map +1 -1
- package/dist/css/themes/Breadcrumbs.css +1 -1
- package/dist/css/themes/ColorPaletteItem.css +1 -1
- package/dist/css/themes/DatePickerPopover.css +1 -1
- package/dist/css/themes/MenuItem.css +1 -1
- package/dist/css/themes/PopupsCommon.css +1 -1
- package/dist/css/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_fiori_3_hcw/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
- package/dist/custom-elements-internal.json +179 -183
- package/dist/custom-elements.json +159 -112
- package/dist/features/InputSuggestions.js +2 -1
- package/dist/features/InputSuggestions.js.map +1 -1
- package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_fiori_3_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +7 -2
- package/dist/generated/i18n/i18n-defaults.js +7 -2
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/themes/Breadcrumbs.css.d.ts +1 -1
- package/dist/generated/themes/Breadcrumbs.css.js +1 -1
- package/dist/generated/themes/Breadcrumbs.css.js.map +1 -1
- package/dist/generated/themes/ColorPaletteItem.css.d.ts +1 -1
- package/dist/generated/themes/ColorPaletteItem.css.js +1 -1
- package/dist/generated/themes/ColorPaletteItem.css.js.map +1 -1
- package/dist/generated/themes/DatePickerPopover.css.d.ts +1 -1
- package/dist/generated/themes/DatePickerPopover.css.js +1 -1
- package/dist/generated/themes/DatePickerPopover.css.js.map +1 -1
- package/dist/generated/themes/MenuItem.css.d.ts +1 -1
- package/dist/generated/themes/MenuItem.css.js +1 -1
- package/dist/generated/themes/MenuItem.css.js.map +1 -1
- package/dist/generated/themes/PopupsCommon.css.d.ts +1 -1
- package/dist/generated/themes/PopupsCommon.css.js +1 -1
- package/dist/generated/themes/PopupsCommon.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_fiori_3_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
- package/dist/vscode.html-custom-data.json +39 -8
- package/dist/web-types.json +39 -74
- package/package.json +9 -9
- package/src/CarouselTemplate.tsx +3 -3
- package/src/ColorPaletteTemplate.tsx +2 -2
- package/src/DayPickerTemplate.tsx +1 -1
- package/src/IconTemplate.tsx +1 -0
- package/src/MenuItemTemplate.tsx +11 -1
- package/src/SwitchTemplate.tsx +2 -2
- package/src/TimePickerTemplate.tsx +1 -1
- package/src/i18n/messagebundle.properties +17 -2
- package/src/i18n/messagebundle_en_US_saprigi.properties +2 -0
- package/src/themes/Breadcrumbs.css +6 -2
- package/src/themes/ColorPaletteItem.css +14 -0
- package/src/themes/DatePickerPopover.css +5 -0
- package/src/themes/MenuItem.css +5 -0
- package/src/themes/PopupsCommon.css +7 -0
- package/src/themes/base/Bar-parameters.css +1 -0
- package/src/themes/base/Breadcrumbs-parameters.css +4 -0
- package/src/themes/sap_fiori_3/parameters-bundle.css +2 -1
- package/src/themes/sap_fiori_3_dark/parameters-bundle.css +2 -1
- package/src/themes/sap_fiori_3_hcb/parameters-bundle.css +2 -1
- package/src/themes/sap_fiori_3_hcw/parameters-bundle.css +2 -1
- package/src/themes/sap_horizon/Breadcrumbs-parameters.css +5 -1
- package/src/themes/sap_horizon/CalendarHeader-parameters.css +3 -3
- package/src/themes/sap_horizon/DayPicker-parameters.css +3 -3
- package/src/themes/sap_horizon_dark/Breadcrumbs-parameters.css +5 -1
- package/src/themes/sap_horizon_dark/CalendarHeader-parameters.css +2 -2
- package/src/themes/sap_horizon_hcb/Breadcrumbs-parameters.css +6 -0
- package/src/themes/sap_horizon_hcb/parameters-bundle.css +2 -1
- package/src/themes/sap_horizon_hcw/Breadcrumbs-parameters.css +6 -0
- package/src/themes/sap_horizon_hcw/parameters-bundle.css +2 -1
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@ui5/webcomponents",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.21.0-rc.0",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -3589,7 +3589,7 @@
|
|
|
3589
3589
|
},
|
|
3590
3590
|
{
|
|
3591
3591
|
"name": "ui5-dialog",
|
|
3592
|
-
"description": "### Overview\nThe `ui5-dialog` component is used to temporarily display some information in a\nsize-limited window in front of the regular app screen.\nIt is used to prompt the user for an action or a confirmation.\nThe `ui5-dialog` interrupts the current app processing as it is the only focused UI element and\nthe main screen is dimmed/blocked.\nThe dialog combines concepts known from other technologies where the windows have\nnames such as dialog box, dialog window, pop-up, pop-up window, alert box, or message box.\n\nThe `ui5-dialog` is modal, which means that a user action is required before it is possible to return to the parent window.\nTo open multiple dialogs, each dialog element should be separate in the markup. This will ensure the correct modal behavior. Avoid nesting dialogs within each other.\nThe content of the `ui5-dialog` is fully customizable.\n\n### Structure\nA `ui5-dialog` consists of a header, content, and a footer for action buttons.\nThe `ui5-dialog` is usually displayed at the center of the screen.\nIts position can be changed by the user. To enable this, you need to set the property `draggable` accordingly.\n\n\n### Responsive Behavior\nThe `stretch` property can be used to stretch the `ui5-dialog` to full screen. For better usability, it's recommended to stretch the dialog to full screen on phone devices.\n\n**Note:** When a `ui5-bar` is used in the header or in the footer, you should remove the default dialog's paddings.\n\nFor more information see the sample \"Bar in Header/Footer\".\n\n### Keyboard Handling\n\n#### Basic Navigation\nWhen the `ui5-dialog` has the `draggable` property set to `true` and the header is focused, the user can move the dialog\nwith the following keyboard shortcuts:\n\n- [Up] or [Down] arrow keys - Move the dialog up/down.\n- [Left] or [Right] arrow keys - Move the dialog left/right.\n\n#### Resizing\nWhen the `ui5-dialog` has the `resizable` property set to `true` and the header is focused, the user can change the size of the dialog\nwith the following keyboard shortcuts:\n\n- [Shift] + [Up] or [Down] - Decrease/Increase the height of the dialog.\n- [Shift] + [Left] or [Right] - Decrease/Increase the width of the dialog.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/Dialog\";`\n---\n\n\n### **Events:**\n - **before-close** - Fired before the component is closed. This event can be cancelled, which will prevent the popup from closing.\n- **before-open** - Fired before the component is opened. This event can be cancelled, which will prevent the popup from opening.\n- **close** - Fired after the component is closed.\n- **open** - Fired after the component is opened.\n\n### **Methods:**\n - **applyFocus(): _Promise<void>_** - Focuses the element denoted by `initialFocus`, if provided,\nor the first focusable element otherwise.\n\n### **Slots:**\n - **default** - Defines the content of the Popup.\n- **footer** - Defines the footer HTML Element.\n
|
|
3592
|
+
"description": "### Overview\nThe `ui5-dialog` component is used to temporarily display some information in a\nsize-limited window in front of the regular app screen.\nIt is used to prompt the user for an action or a confirmation.\nThe `ui5-dialog` interrupts the current app processing as it is the only focused UI element and\nthe main screen is dimmed/blocked.\nThe dialog combines concepts known from other technologies where the windows have\nnames such as dialog box, dialog window, pop-up, pop-up window, alert box, or message box.\n\nThe `ui5-dialog` is modal, which means that a user action is required before it is possible to return to the parent window.\nTo open multiple dialogs, each dialog element should be separate in the markup. This will ensure the correct modal behavior. Avoid nesting dialogs within each other.\nThe content of the `ui5-dialog` is fully customizable.\n\n### Structure\nA `ui5-dialog` consists of a header, content, and a footer for action buttons.\nThe `ui5-dialog` is usually displayed at the center of the screen.\nIts position can be changed by the user. To enable this, you need to set the property `draggable` accordingly.\n\n\n### Responsive Behavior\nThe `stretch` property can be used to stretch the `ui5-dialog` to full screen. For better usability, it's recommended to stretch the dialog to full screen on phone devices.\n\n**Note:** When a `ui5-bar` is used in the header or in the footer, you should remove the default dialog's paddings.\n\nFor more information see the sample \"Bar in Header/Footer\".\n\n### Keyboard Handling\n\n#### Basic Navigation\nWhen the `ui5-dialog` has the `draggable` property set to `true` and the header is focused, the user can move the dialog\nwith the following keyboard shortcuts:\n\n- [Up] or [Down] arrow keys - Move the dialog up/down.\n- [Left] or [Right] arrow keys - Move the dialog left/right.\n\n#### Resizing\nWhen the `ui5-dialog` has the `resizable` property set to `true` and the header is focused, the user can change the size of the dialog\nwith the following keyboard shortcuts:\n\n- [Shift] + [Up] or [Down] - Decrease/Increase the height of the dialog.\n- [Shift] + [Left] or [Right] - Decrease/Increase the width of the dialog.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/Dialog\";`\n---\n\n\n### **Events:**\n - **before-close** - Fired before the component is closed. This event can be cancelled, which will prevent the popup from closing.\n- **before-open** - Fired before the component is opened. This event can be cancelled, which will prevent the popup from opening.\n- **close** - Fired after the component is closed.\n- **open** - Fired after the component is opened.\n\n### **Methods:**\n - **applyFocus(): _Promise<void>_** - Focuses the element denoted by `initialFocus`, if provided,\nor the first focusable element otherwise.\n\n### **Slots:**\n - **default** - Defines the content of the Popup.\n- **footer** - Defines the footer HTML Element.\n- **header** - Defines the header HTML Element.\n\n**Note:** If `header` slot is provided, the labelling of the dialog is a responsibility of the application developer.\n`accessibleName` should be used.\n\n### **CSS Parts:**\n - **content** - Used to style the content of the component\n- **footer** - Used to style the footer of the component\n- **header** - Used to style the header of the component",
|
|
3593
3593
|
"doc-url": "",
|
|
3594
3594
|
"attributes": [
|
|
3595
3595
|
{
|
|
@@ -3676,11 +3676,11 @@
|
|
|
3676
3676
|
},
|
|
3677
3677
|
{
|
|
3678
3678
|
"name": "footer",
|
|
3679
|
-
"description": "Defines the footer HTML Element
|
|
3679
|
+
"description": "Defines the footer HTML Element."
|
|
3680
3680
|
},
|
|
3681
3681
|
{
|
|
3682
3682
|
"name": "header",
|
|
3683
|
-
"description": "Defines the header HTML Element.\n\n**Note:**
|
|
3683
|
+
"description": "Defines the header HTML Element.\n\n**Note:** If `header` slot is provided, the labelling of the dialog is a responsibility of the application developer.\n`accessibleName` should be used."
|
|
3684
3684
|
}
|
|
3685
3685
|
],
|
|
3686
3686
|
"events": [
|
|
@@ -4386,7 +4386,7 @@
|
|
|
4386
4386
|
},
|
|
4387
4387
|
{
|
|
4388
4388
|
"name": "ui5-icon",
|
|
4389
|
-
"description": "### Overview\n\nThe `ui5-icon` component represents an SVG icon.\nThere are two main scenarios how the `ui5-icon` component is used:\nas a purely decorative element,\nor as an interactive element that can be focused and clicked.\n\n### Usage\n\n1. **Get familiar with the icons collections.**\n\nBefore displaying an icon, you need to explore the icons collections to find and import the desired icon.\n\nCurrently there are 3 icons collection, available as 3 npm packages:\n\n- [@ui5/webcomponents-icons](https://www.npmjs.com/package/@ui5/webcomponents-icons) represents the \"SAP-icons\" collection and includes the following\n[icons](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons).\n- [@ui5/webcomponents-icons-tnt](https://www.npmjs.com/package/@ui5/webcomponents-icons-tnt) represents the \"tnt\" collection and includes the following\n[icons](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons-TNT).\n- [@ui5/webcomponents-icons-business-suite](https://www.npmjs.com/package/@ui5/webcomponents-icons-business-suite) represents the \"business-suite\" collection and includes the following\n[icons](https://ui5.sap.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/BusinessSuiteInAppSymbols).\n\n2. **After exploring the icons collections, add one or more of the packages as dependencies to your project.**\n\n`npm i @ui5/webcomponents-icons`\n`npm i @ui5/webcomponents-icons-tnt`\n`npm i @ui5/webcomponents-icons-business-suite`\n\n3. **Then, import the desired icon**.\n\n`import \"@ui5/\\{package_name\\}/dist/\\{icon_name\\}.js\";`\n\n**For Example**:\n\nFor the standard \"SAP-icons\" icon collection, import an icon from the `@ui5/webcomponents-icons` package:\n\n`import \"@ui5/webcomponents-icons/dist/employee.js\";`\n\nFor the \"tnt\" (SAP Fiori Tools) icon collection, import an icon from the `@ui5/webcomponents-icons-tnt` package:\n\n`import \"@ui5/webcomponents-icons-tnt/dist/antenna.js\";`\n\nFor the \"business-suite\" (SAP Business Suite) icon collection, import an icon from the `@ui5/webcomponents-icons-business-suite` package:\n\n`import \"@ui5/webcomponents-icons-business-suite/dist/ab-testing.js\";`\n\n4. **Display the icon using the `ui5-icon` web component.**\nSet the icon collection (\"SAP-icons\", \"tnt\" or \"business-suite\" - \"SAP-icons\" is the default icon collection and can be skipped)\nand the icon name to the `name` property.\n\n`<ui5-icon name=\"employee\"></ui5-icon>`\n`<ui5-icon name=\"tnt/antenna\"></ui5-icon>`\n`<ui5-icon name=\"business-suite/ab-testing\"></ui5-icon>`\n\n### Keyboard Handling\n\n- [Space] / [Enter] or [Return] - Fires the `click` event if the `mode` property is set to `Interactive`.\n
|
|
4389
|
+
"description": "### Overview\n\nThe `ui5-icon` component represents an SVG icon.\nThere are two main scenarios how the `ui5-icon` component is used:\nas a purely decorative element,\nor as an interactive element that can be focused and clicked.\n\n### Usage\n\n1. **Get familiar with the icons collections.**\n\nBefore displaying an icon, you need to explore the icons collections to find and import the desired icon.\n\nCurrently there are 3 icons collection, available as 3 npm packages:\n\n- [@ui5/webcomponents-icons](https://www.npmjs.com/package/@ui5/webcomponents-icons) represents the \"SAP-icons\" collection and includes the following\n[icons](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons).\n- [@ui5/webcomponents-icons-tnt](https://www.npmjs.com/package/@ui5/webcomponents-icons-tnt) represents the \"tnt\" collection and includes the following\n[icons](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons-TNT).\n- [@ui5/webcomponents-icons-business-suite](https://www.npmjs.com/package/@ui5/webcomponents-icons-business-suite) represents the \"business-suite\" collection and includes the following\n[icons](https://ui5.sap.com/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/BusinessSuiteInAppSymbols).\n\n2. **After exploring the icons collections, add one or more of the packages as dependencies to your project.**\n\n`npm i @ui5/webcomponents-icons`\n`npm i @ui5/webcomponents-icons-tnt`\n`npm i @ui5/webcomponents-icons-business-suite`\n\n3. **Then, import the desired icon**.\n\n`import \"@ui5/\\{package_name\\}/dist/\\{icon_name\\}.js\";`\n\n**For Example**:\n\nFor the standard \"SAP-icons\" icon collection, import an icon from the `@ui5/webcomponents-icons` package:\n\n`import \"@ui5/webcomponents-icons/dist/employee.js\";`\n\nFor the \"tnt\" (SAP Fiori Tools) icon collection, import an icon from the `@ui5/webcomponents-icons-tnt` package:\n\n`import \"@ui5/webcomponents-icons-tnt/dist/antenna.js\";`\n\nFor the \"business-suite\" (SAP Business Suite) icon collection, import an icon from the `@ui5/webcomponents-icons-business-suite` package:\n\n`import \"@ui5/webcomponents-icons-business-suite/dist/ab-testing.js\";`\n\n4. **Display the icon using the `ui5-icon` web component.**\nSet the icon collection (\"SAP-icons\", \"tnt\" or \"business-suite\" - \"SAP-icons\" is the default icon collection and can be skipped)\nand the icon name to the `name` property.\n\n`<ui5-icon name=\"employee\"></ui5-icon>`\n`<ui5-icon name=\"tnt/antenna\"></ui5-icon>`\n`<ui5-icon name=\"business-suite/ab-testing\"></ui5-icon>`\n\n### Keyboard Handling\n\n- [Space] / [Enter] or [Return] - Fires the `click` event if the `mode` property is set to `Interactive`.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/Icon.js\";`\n---\n\n\n### **Events:**\n - **click** - Fired when the component is activated by mouse/touch, keyboard (Enter or Space),\nor screen reader virtual cursor activation.\n\n**Note:** The event will not be fired if the `mode` property is set to `Decorative` or `Image`.\n\n### **CSS Parts:**\n - **root** - Used to style the outermost wrapper of the `ui5-icon`.",
|
|
4390
4390
|
"doc-url": "",
|
|
4391
4391
|
"attributes": [
|
|
4392
4392
|
{
|
|
@@ -4424,7 +4424,7 @@
|
|
|
4424
4424
|
"events": [
|
|
4425
4425
|
{
|
|
4426
4426
|
"name": "click",
|
|
4427
|
-
"description": "Fired
|
|
4427
|
+
"description": "Fired when the component is activated by mouse/touch, keyboard (Enter or Space),\nor screen reader virtual cursor activation.\n\n**Note:** The event will not be fired if the `mode` property is set to `Decorative` or `Image`."
|
|
4428
4428
|
}
|
|
4429
4429
|
],
|
|
4430
4430
|
"js": {
|
|
@@ -4462,7 +4462,7 @@
|
|
|
4462
4462
|
"events": [
|
|
4463
4463
|
{
|
|
4464
4464
|
"name": "click",
|
|
4465
|
-
"description": "Fired
|
|
4465
|
+
"description": "Fired when the component is activated by mouse/touch, keyboard (Enter or Space),\nor screen reader virtual cursor activation.\n\n**Note:** The event will not be fired if the `mode` property is set to `Decorative` or `Image`."
|
|
4466
4466
|
}
|
|
4467
4467
|
]
|
|
4468
4468
|
}
|
|
@@ -11058,7 +11058,7 @@
|
|
|
11058
11058
|
},
|
|
11059
11059
|
{
|
|
11060
11060
|
"name": "ui5-time-picker",
|
|
11061
|
-
"description": "### Overview\nThe `ui5-time-picker` component provides an input field with assigned clocks which are opened on user action.\nThe `ui5-time-picker` allows users to select a localized time using touch, mouse, or keyboard input.\nIt consists of two parts: the time input field and the clocks.\n\n### Usage\nThe user can enter a time by:\n\n- Using the clocks that are displayed in a popup\n- Typing it in directly in the input field\n\nWhen the user makes an entry and chooses the enter key, the clocks show the corresponding time (hours, minutes and seconds separately).\nWhen the user directly triggers the clocks display, the actual time is displayed.\nFor the `ui5-time-picker`\n\n### Formatting\n\nIf a time is entered by typing it into\nthe input field, it must fit to the used time format.\n\nSupported format options are pattern-based on Unicode LDML Date Format notation.\nFor more information, see [UTS #35: Unicode Locale Data Markup Language](https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).\n\nFor example, if the
|
|
11061
|
+
"description": "### Overview\nThe `ui5-time-picker` component provides an input field with assigned clocks which are opened on user action.\nThe `ui5-time-picker` allows users to select a localized time using touch, mouse, or keyboard input.\nIt consists of two parts: the time input field and the clocks.\n\n### Usage\nThe user can enter a time by:\n\n- Using the clocks that are displayed in a popup\n- Typing it in directly in the input field\n\nWhen the user makes an entry and chooses the enter key, the clocks show the corresponding time (hours, minutes and seconds separately).\nWhen the user directly triggers the clocks display, the actual time is displayed.\nFor the `ui5-time-picker`\n\n### Formatting\n\nIf a time is entered by typing it into\nthe input field, it must fit to the used time format.\n\nSupported format options are pattern-based on Unicode LDML Date Format notation.\nFor more information, see [UTS #35: Unicode Locale Data Markup Language](https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).\n\nFor example, if the valueFormat is \"HH:mm:ss\", the displayFormat is \"hh:mm: ss a\", and the used locale is English, a valid value string is \"11:42:35\", which leads to an output of \"11:42:35 AM\".\nIf no placeholder is set to the TimePicker, the used displayFormat is displayed as a placeholder. If another placeholder is needed, it must be set.\n\n### Keyboard handling\n[F4], [Alt]+[Up], [Alt]+[Down] Open/Close picker dialog and move focus to it.\n\nWhen closed:\n\n- [Page Up] - Increments hours by 1. If 12 am is reached, increment hours to 1 pm and vice versa.\n- [Page Down] - Decrements the corresponding field by 1. If 1 pm is reached, decrement hours to 12 am and vice versa.\n- [Shift]+[Page Up] - Increments minutes by 1.\n- [Shift]+[Page Down] - Decrements minutes by 1.\n- [Shift]+[Ctrl]+[Page Up] - Increments seconds by 1.\n- [Shift]+[Ctrl]+[Page Down] - Decrements seconds by 1.\n-\n\nWhen opened:\n\n- [Page Up] - Increments hours by 1. If 12 am is reached, increment hours to 1 pm and vice versa.\n- [Page Down] - Decrements the corresponding field by 1. If 1 pm is reached, decrement hours to 12 am and vice versa.\n- [Shift]+[Page Up] - Increments minutes by 1.\n- [Shift]+[Page Down] - Decrements minutes by 1.\n- [Shift]+[Ctrl]+[Page Up] - Increments seconds by 1.\n- [Shift]+[Ctrl]+[Page Down] - Decrements seconds by 1.\n- [A] or [P] - Selects AM or PM respectively.\n- [0]-[9] - Allows direct time selecting (hours/minutes/seconds).\n- [:] - Allows switching between hours/minutes/seconds clocks. If the last clock is displayed and [:] is pressed, the first clock is beind displayed.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/TimePicker.js\";`\n---\n\n\n### **Events:**\n - **change** - Fired when the input operation has finished by clicking the \"OK\" button or\nwhen the text in the input field has changed and the focus leaves the input field.\n- **close** - Fired after the value-help dialog of the component is closed.\n- **input** - Fired when the value of the `ui5-time-picker` is changed at each key stroke.\n- **open** - Fired after the value-help dialog of the component is opened.\n\n### **Methods:**\n - **formatValue(date: _Date_): _string_** - Formats a Java Script date object into a string representing a locale date and time\naccording to the `formatPattern` property of the TimePicker instance\n- **isValid(value: _string | undefined_): _boolean_** - Checks if a value is valid against the current `formatPattern` value.\n\n**Note:** an empty string is considered as valid value.\n- **isValidValue(value: _string | undefined_): _boolean_** - Checks if a value is valid against the current `valueFormat` value.\n\n**Note:** an empty string is considered as valid value.\n\n### **Slots:**\n - **valueStateMessage** - Defines the value state message that will be displayed as pop up under the `ui5-time-picker`.\n\n**Note:** If not specified, a default text (in the respective language) will be displayed.\n\n**Note:** The `valueStateMessage` would be displayed,\nwhen the `ui5-time-picker` is in `Information`, `Critical` or `Negative` value state.\n\n### **CSS Parts:**\n - **input** - Used to style the input element. This part is forwarded to the underlying ui5-input element.",
|
|
11062
11062
|
"doc-url": "",
|
|
11063
11063
|
"attributes": [
|
|
11064
11064
|
{
|
|
@@ -11091,6 +11091,11 @@
|
|
|
11091
11091
|
"description": "Defines the disabled state of the comonent.",
|
|
11092
11092
|
"value": { "type": "boolean", "default": "false" }
|
|
11093
11093
|
},
|
|
11094
|
+
{
|
|
11095
|
+
"name": "display-format",
|
|
11096
|
+
"description": "Determines the format, displayed in the input field.",
|
|
11097
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
11098
|
+
},
|
|
11094
11099
|
{
|
|
11095
11100
|
"name": "format-pattern",
|
|
11096
11101
|
"description": "Determines the format, displayed in the input field.\n\nExample:\nHH:mm:ss -> 11:42:35\nhh:mm:ss a -> 2:23:15 PM\nmm:ss -> 12:04 (only minutes and seconds)",
|
|
@@ -11126,6 +11131,11 @@
|
|
|
11126
11131
|
"description": "Defines a formatted time value.",
|
|
11127
11132
|
"value": { "type": "string", "default": "\"\"" }
|
|
11128
11133
|
},
|
|
11134
|
+
{
|
|
11135
|
+
"name": "value-format",
|
|
11136
|
+
"description": "Determines the format, used for the value attribute.",
|
|
11137
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
11138
|
+
},
|
|
11129
11139
|
{
|
|
11130
11140
|
"name": "value-state",
|
|
11131
11141
|
"description": "Defines the value state of the component.",
|
|
@@ -11191,6 +11201,11 @@
|
|
|
11191
11201
|
"description": "Defines the disabled state of the comonent.",
|
|
11192
11202
|
"value": { "type": "boolean" }
|
|
11193
11203
|
},
|
|
11204
|
+
{
|
|
11205
|
+
"name": "display-format",
|
|
11206
|
+
"description": "Determines the format, displayed in the input field.",
|
|
11207
|
+
"value": { "type": "string | undefined" }
|
|
11208
|
+
},
|
|
11194
11209
|
{
|
|
11195
11210
|
"name": "format-pattern",
|
|
11196
11211
|
"description": "Determines the format, displayed in the input field.\n\nExample:\nHH:mm:ss -> 11:42:35\nhh:mm:ss a -> 2:23:15 PM\nmm:ss -> 12:04 (only minutes and seconds)",
|
|
@@ -11226,6 +11241,11 @@
|
|
|
11226
11241
|
"description": "Defines a formatted time value.",
|
|
11227
11242
|
"value": { "type": "string" }
|
|
11228
11243
|
},
|
|
11244
|
+
{
|
|
11245
|
+
"name": "value-format",
|
|
11246
|
+
"description": "Determines the format, used for the value attribute.",
|
|
11247
|
+
"value": { "type": "string | undefined" }
|
|
11248
|
+
},
|
|
11229
11249
|
{
|
|
11230
11250
|
"name": "value-state",
|
|
11231
11251
|
"description": "Defines the value state of the component.",
|
|
@@ -12052,7 +12072,7 @@
|
|
|
12052
12072
|
},
|
|
12053
12073
|
{
|
|
12054
12074
|
"name": "ui5-toolbar-button",
|
|
12055
|
-
"description": "### Overview\nThe `ui5-toolbar-button` represents an abstract action,\nused in the `ui5-toolbar`.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/ToolbarButton.js\";`\n---\n\n\n### **Events:**\n - **click** - Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `disabled`\nproperty is set to `true
|
|
12075
|
+
"description": "### Overview\nThe `ui5-toolbar-button` represents an abstract action,\nused in the `ui5-toolbar`.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/ToolbarButton.js\";`\n---\n\n\n### **Events:**\n - **click** - Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `disabled`\nproperty is set to `true`.",
|
|
12056
12076
|
"doc-url": "",
|
|
12057
12077
|
"attributes": [
|
|
12058
12078
|
{
|
|
@@ -12130,17 +12150,10 @@
|
|
|
12130
12150
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
12131
12151
|
}
|
|
12132
12152
|
],
|
|
12133
|
-
"slots": [
|
|
12134
|
-
{ "name": "default", "description": "Wrapped component slot." }
|
|
12135
|
-
],
|
|
12136
12153
|
"events": [
|
|
12137
12154
|
{
|
|
12138
12155
|
"name": "click",
|
|
12139
12156
|
"description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `disabled`\nproperty is set to `true`."
|
|
12140
|
-
},
|
|
12141
|
-
{
|
|
12142
|
-
"name": "close-overflow",
|
|
12143
|
-
"description": "Fired when the overflow popover is closed."
|
|
12144
12157
|
}
|
|
12145
12158
|
],
|
|
12146
12159
|
"js": {
|
|
@@ -12219,17 +12232,13 @@
|
|
|
12219
12232
|
{
|
|
12220
12233
|
"name": "click",
|
|
12221
12234
|
"description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `disabled`\nproperty is set to `true`."
|
|
12222
|
-
},
|
|
12223
|
-
{
|
|
12224
|
-
"name": "close-overflow",
|
|
12225
|
-
"description": "Fired when the overflow popover is closed."
|
|
12226
12235
|
}
|
|
12227
12236
|
]
|
|
12228
12237
|
}
|
|
12229
12238
|
},
|
|
12230
12239
|
{
|
|
12231
12240
|
"name": "ui5-toolbar-item",
|
|
12232
|
-
"description": "### Overview\nThe `ui5-toolbar-item` is a wrapper component used to integrate UI5 Web Components into the `ui5-toolbar`.\nIt renders within the toolbar's shadow DOM and manages the lifecycle\nand overflow behavior of its child component.\n\n### Structure\nThe toolbar item wraps a single UI5 Web Component (such as CheckBox, Title, etc.) and handles:\n- Overflow management (determining if the item should be displayed in the main toolbar or overflow popover)\n- Automatic popover closing on interaction\n- CSS custom state exposure for styling based on overflow state\n\n### Usage\nThe `ui5-toolbar-item` is typically used implicitly when adding components to a toolbar,\nbut specialized wrappers like `ui5-toolbar-button` provide\ncomponent-specific functionality and should be preferred when available.\n---\n\n\n### **
|
|
12241
|
+
"description": "### Overview\nThe `ui5-toolbar-item` is a wrapper component used to integrate UI5 Web Components into the `ui5-toolbar`.\nIt renders within the toolbar's shadow DOM and manages the lifecycle\nand overflow behavior of its child component.\n\n### Structure\nThe toolbar item wraps a single UI5 Web Component (such as CheckBox, Title, etc.) and handles:\n- Overflow management (determining if the item should be displayed in the main toolbar or overflow popover)\n- Automatic popover closing on interaction\n- CSS custom state exposure for styling based on overflow state\n\n### Usage\nThe `ui5-toolbar-item` is typically used implicitly when adding components to a toolbar,\nbut specialized wrappers like `ui5-toolbar-button` provide\ncomponent-specific functionality and should be preferred when available.\n---\n\n\n### **Slots:**\n - **default** - Wrapped component slot.",
|
|
12233
12242
|
"doc-url": "",
|
|
12234
12243
|
"attributes": [
|
|
12235
12244
|
{
|
|
@@ -12249,12 +12258,7 @@
|
|
|
12249
12258
|
"slots": [
|
|
12250
12259
|
{ "name": "default", "description": "Wrapped component slot." }
|
|
12251
12260
|
],
|
|
12252
|
-
"events": [
|
|
12253
|
-
{
|
|
12254
|
-
"name": "close-overflow",
|
|
12255
|
-
"description": "Fired when the overflow popover is closed."
|
|
12256
|
-
}
|
|
12257
|
-
],
|
|
12261
|
+
"events": [],
|
|
12258
12262
|
"js": {
|
|
12259
12263
|
"properties": [
|
|
12260
12264
|
{
|
|
@@ -12270,17 +12274,12 @@
|
|
|
12270
12274
|
"value": { "type": "boolean" }
|
|
12271
12275
|
}
|
|
12272
12276
|
],
|
|
12273
|
-
"events": [
|
|
12274
|
-
{
|
|
12275
|
-
"name": "close-overflow",
|
|
12276
|
-
"description": "Fired when the overflow popover is closed."
|
|
12277
|
-
}
|
|
12278
|
-
]
|
|
12277
|
+
"events": []
|
|
12279
12278
|
}
|
|
12280
12279
|
},
|
|
12281
12280
|
{
|
|
12282
12281
|
"name": "ui5-toolbar-select",
|
|
12283
|
-
"description": "### Overview\nThe `ui5-toolbar-select` component is used to create a toolbar drop-down list.\nThe items inside the `ui5-toolbar-select` define the available options by using the `ui5-toolbar-select-option` component.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/ToolbarSelect.js\";`\n\n`import \"@ui5/webcomponents/dist/ToolbarSelectOption.js\";` (comes with `ui5-toolbar-select`)\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option changes.\n- **close** - Fired after the component's dropdown menu closes.\n- **
|
|
12282
|
+
"description": "### Overview\nThe `ui5-toolbar-select` component is used to create a toolbar drop-down list.\nThe items inside the `ui5-toolbar-select` define the available options by using the `ui5-toolbar-select-option` component.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/ToolbarSelect.js\";`\n\n`import \"@ui5/webcomponents/dist/ToolbarSelectOption.js\";` (comes with `ui5-toolbar-select`)\n---\n\n\n### **Events:**\n - **change** - Fired when the selected option changes.\n- **close** - Fired after the component's dropdown menu closes.\n- **open** - Fired after the component's dropdown menu opens.\n\n### **Slots:**\n - **default** - Defines the component options.\n\n**Note:** Only one selected option is allowed.\nIf more than one option is defined as selected, the last one would be considered as the selected one.\n\n**Note:** Use the `ui5-toolbar-select-option` component to define the desired options.\n- **label** - Defines the HTML element that will be displayed in the component input part,\nrepresenting the selected option.",
|
|
12284
12283
|
"doc-url": "",
|
|
12285
12284
|
"attributes": [
|
|
12286
12285
|
{
|
|
@@ -12349,10 +12348,6 @@
|
|
|
12349
12348
|
"name": "close",
|
|
12350
12349
|
"description": "Fired after the component's dropdown menu closes."
|
|
12351
12350
|
},
|
|
12352
|
-
{
|
|
12353
|
-
"name": "close-overflow",
|
|
12354
|
-
"description": "Fired when the overflow popover is closed."
|
|
12355
|
-
},
|
|
12356
12351
|
{
|
|
12357
12352
|
"name": "open",
|
|
12358
12353
|
"description": "Fired after the component's dropdown menu opens."
|
|
@@ -12414,10 +12409,6 @@
|
|
|
12414
12409
|
"name": "close",
|
|
12415
12410
|
"description": "Fired after the component's dropdown menu closes."
|
|
12416
12411
|
},
|
|
12417
|
-
{
|
|
12418
|
-
"name": "close-overflow",
|
|
12419
|
-
"description": "Fired when the overflow popover is closed."
|
|
12420
|
-
},
|
|
12421
12412
|
{
|
|
12422
12413
|
"name": "open",
|
|
12423
12414
|
"description": "Fired after the component's dropdown menu opens."
|
|
@@ -12456,7 +12447,7 @@
|
|
|
12456
12447
|
},
|
|
12457
12448
|
{
|
|
12458
12449
|
"name": "ui5-toolbar-separator",
|
|
12459
|
-
"description": "### Overview\nThe `ui5-toolbar-separator` is an element, used for visual separation between two elements.\nIt takes no space in calculating toolbar items width.\n---\n
|
|
12450
|
+
"description": "### Overview\nThe `ui5-toolbar-separator` is an element, used for visual separation between two elements.\nIt takes no space in calculating toolbar items width.\n---\n",
|
|
12460
12451
|
"doc-url": "",
|
|
12461
12452
|
"attributes": [
|
|
12462
12453
|
{
|
|
@@ -12473,15 +12464,7 @@
|
|
|
12473
12464
|
"value": { "type": "boolean", "default": "false" }
|
|
12474
12465
|
}
|
|
12475
12466
|
],
|
|
12476
|
-
"
|
|
12477
|
-
{ "name": "default", "description": "Wrapped component slot." }
|
|
12478
|
-
],
|
|
12479
|
-
"events": [
|
|
12480
|
-
{
|
|
12481
|
-
"name": "close-overflow",
|
|
12482
|
-
"description": "Fired when the overflow popover is closed."
|
|
12483
|
-
}
|
|
12484
|
-
],
|
|
12467
|
+
"events": [],
|
|
12485
12468
|
"js": {
|
|
12486
12469
|
"properties": [
|
|
12487
12470
|
{
|
|
@@ -12497,17 +12480,12 @@
|
|
|
12497
12480
|
"value": { "type": "boolean" }
|
|
12498
12481
|
}
|
|
12499
12482
|
],
|
|
12500
|
-
"events": [
|
|
12501
|
-
{
|
|
12502
|
-
"name": "close-overflow",
|
|
12503
|
-
"description": "Fired when the overflow popover is closed."
|
|
12504
|
-
}
|
|
12505
|
-
]
|
|
12483
|
+
"events": []
|
|
12506
12484
|
}
|
|
12507
12485
|
},
|
|
12508
12486
|
{
|
|
12509
12487
|
"name": "ui5-toolbar-spacer",
|
|
12510
|
-
"description": "### Overview\nThe `ui5-toolbar-spacer` is an element, used for taking needed space for toolbar items to take 100% width.\nIt takes no space in calculating toolbar items width.\n---\n
|
|
12488
|
+
"description": "### Overview\nThe `ui5-toolbar-spacer` is an element, used for taking needed space for toolbar items to take 100% width.\nIt takes no space in calculating toolbar items width.\n---\n",
|
|
12511
12489
|
"doc-url": "",
|
|
12512
12490
|
"attributes": [
|
|
12513
12491
|
{
|
|
@@ -12529,15 +12507,7 @@
|
|
|
12529
12507
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
12530
12508
|
}
|
|
12531
12509
|
],
|
|
12532
|
-
"
|
|
12533
|
-
{ "name": "default", "description": "Wrapped component slot." }
|
|
12534
|
-
],
|
|
12535
|
-
"events": [
|
|
12536
|
-
{
|
|
12537
|
-
"name": "close-overflow",
|
|
12538
|
-
"description": "Fired when the overflow popover is closed."
|
|
12539
|
-
}
|
|
12540
|
-
],
|
|
12510
|
+
"events": [],
|
|
12541
12511
|
"js": {
|
|
12542
12512
|
"properties": [
|
|
12543
12513
|
{
|
|
@@ -12558,12 +12528,7 @@
|
|
|
12558
12528
|
"value": { "type": "string | undefined" }
|
|
12559
12529
|
}
|
|
12560
12530
|
],
|
|
12561
|
-
"events": [
|
|
12562
|
-
{
|
|
12563
|
-
"name": "close-overflow",
|
|
12564
|
-
"description": "Fired when the overflow popover is closed."
|
|
12565
|
-
}
|
|
12566
|
-
]
|
|
12531
|
+
"events": []
|
|
12567
12532
|
}
|
|
12568
12533
|
},
|
|
12569
12534
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.21.0-rc.0",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.main",
|
|
5
5
|
"ui5": {
|
|
6
6
|
"webComponentsPackage": true
|
|
@@ -54,22 +54,22 @@
|
|
|
54
54
|
"directory": "packages/main"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@ui5/webcomponents-base": "2.
|
|
58
|
-
"@ui5/webcomponents-icons": "2.
|
|
59
|
-
"@ui5/webcomponents-icons-business-suite": "2.
|
|
60
|
-
"@ui5/webcomponents-icons-tnt": "2.
|
|
61
|
-
"@ui5/webcomponents-localization": "2.
|
|
62
|
-
"@ui5/webcomponents-theming": "2.
|
|
57
|
+
"@ui5/webcomponents-base": "2.21.0-rc.0",
|
|
58
|
+
"@ui5/webcomponents-icons": "2.21.0-rc.0",
|
|
59
|
+
"@ui5/webcomponents-icons-business-suite": "2.21.0-rc.0",
|
|
60
|
+
"@ui5/webcomponents-icons-tnt": "2.21.0-rc.0",
|
|
61
|
+
"@ui5/webcomponents-localization": "2.21.0-rc.0",
|
|
62
|
+
"@ui5/webcomponents-theming": "2.21.0-rc.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@custom-elements-manifest/analyzer": "^0.10.10",
|
|
66
66
|
"@ui5/cypress-internal": "0.1.0",
|
|
67
|
-
"@ui5/webcomponents-tools": "2.
|
|
67
|
+
"@ui5/webcomponents-tools": "2.21.0-rc.0",
|
|
68
68
|
"cypress": "15.9.0",
|
|
69
69
|
"jsdom": "^26.0.0",
|
|
70
70
|
"lit": "^2.0.0",
|
|
71
71
|
"vite": "5.4.21",
|
|
72
72
|
"vitest": "^3.0.2"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "a8d2c7b4e5b3f1c64a6ff6119fe6f949df2436b0"
|
|
75
75
|
}
|
package/src/CarouselTemplate.tsx
CHANGED
|
@@ -21,7 +21,7 @@ export default function CarouselTemplate(this: Carousel) {
|
|
|
21
21
|
onMouseDown={this._onmousedown}
|
|
22
22
|
>
|
|
23
23
|
<div class={this.classes.viewport} part="content">
|
|
24
|
-
<div role="list" aria-label={this._ariaListLabel} class={this.classes.content} style={{ transform: `translate3d(${this._isRTL ? "" : "-"}${this.
|
|
24
|
+
<div role="list" aria-label={this._ariaListLabel} class={this.classes.content} style={{ transform: `translate3d(${this._isRTL ? "" : "-"}${this._currentPageIndex * (this._itemWidth || 0)}px, 0, 0` }}>
|
|
25
25
|
{this.items.map((itemInfo, i) =>
|
|
26
26
|
<div
|
|
27
27
|
data-sap-focus-ref={this._focusedItemIndex === i ? true : undefined}
|
|
@@ -67,7 +67,7 @@ function arrowBack(this: Carousel) {
|
|
|
67
67
|
return <Icon name={slimArrowLeft}
|
|
68
68
|
tabindex={-1}
|
|
69
69
|
data-ui5-arrow-back
|
|
70
|
-
title={this.previousPageText
|
|
70
|
+
title={this.previousPageText}
|
|
71
71
|
mode="Decorative"
|
|
72
72
|
class={{
|
|
73
73
|
"ui5-carousel-navigation-button": true,
|
|
@@ -106,5 +106,5 @@ function navIndicator(this: Carousel) {
|
|
|
106
106
|
<div
|
|
107
107
|
dir="auto"
|
|
108
108
|
class="ui5-carousel-navigation-text"
|
|
109
|
-
>{this.
|
|
109
|
+
>{this._currentPageIndex + 1} {this.ofText} {this.pagesCount}</div>;
|
|
110
110
|
}
|
|
@@ -59,8 +59,8 @@ export default function ColorPaletteTemplate(this: ColorPalette) {
|
|
|
59
59
|
<div class="ui5-cp-recent-colors-wrapper">
|
|
60
60
|
<div class="ui5-cp-separator"></div>
|
|
61
61
|
<div class="ui5-cp-recent-colors-container" onKeyDown={this._onRecentColorsContainerKeyDown}>
|
|
62
|
-
{this.recentColors.map(color =>
|
|
63
|
-
<ColorPaletteItem value={color}/>
|
|
62
|
+
{this.recentColors.map((color, index) =>
|
|
63
|
+
<ColorPaletteItem value={color} index={index + 1}/>
|
|
64
64
|
)}
|
|
65
65
|
</div>
|
|
66
66
|
</div>
|
|
@@ -24,7 +24,7 @@ export default function DayPickerTemplate(this: DayPicker) {
|
|
|
24
24
|
aria-label={day.ultraShortName ? day.name : undefined}
|
|
25
25
|
class={day.classes}
|
|
26
26
|
>
|
|
27
|
-
{day.ultraShortName ? day.ultraShortName : <span
|
|
27
|
+
{day.ultraShortName ? day.ultraShortName : <span class="ui5-hidden-text">{day.name}</span>}
|
|
28
28
|
</div>
|
|
29
29
|
)}
|
|
30
30
|
</div>
|
package/src/IconTemplate.tsx
CHANGED
|
@@ -16,6 +16,7 @@ export default function IconTemplate(this: Icon) {
|
|
|
16
16
|
xmlns="http://www.w3.org/2000/svg"
|
|
17
17
|
onKeyDown={this._onkeydown}
|
|
18
18
|
onKeyUp={this._onkeyup}
|
|
19
|
+
onClick={this._onclick}
|
|
19
20
|
>
|
|
20
21
|
{ this.hasIconTooltip &&
|
|
21
22
|
<title id={`${this._id}-tooltip`} > {this.effectiveAccessibleName} </title>
|
package/src/MenuItemTemplate.tsx
CHANGED
|
@@ -59,7 +59,15 @@ function rightContent(this: MenuItem) {
|
|
|
59
59
|
</div>
|
|
60
60
|
);
|
|
61
61
|
case this.hasEndContent:
|
|
62
|
-
return
|
|
62
|
+
return (
|
|
63
|
+
<div
|
|
64
|
+
class="ui5-menu-item-end-content"
|
|
65
|
+
role="group"
|
|
66
|
+
aria-label={this.endContentAccessibleName}
|
|
67
|
+
>
|
|
68
|
+
<slot name="endContent" onKeyDown={this._endContentKeyDown}></slot>
|
|
69
|
+
</div>
|
|
70
|
+
);
|
|
63
71
|
case !!this.additionalText:
|
|
64
72
|
return (
|
|
65
73
|
<span
|
|
@@ -123,6 +131,7 @@ function listItemPostContent(this: MenuItem) {
|
|
|
123
131
|
<div
|
|
124
132
|
id={`${this._id}-menu-main`}
|
|
125
133
|
class={this.loading ? "menu-busy-indicator-main" : ""}
|
|
134
|
+
aria-busy={this.loading}
|
|
126
135
|
>
|
|
127
136
|
{
|
|
128
137
|
this.items.length ? (
|
|
@@ -150,6 +159,7 @@ function listItemPostContent(this: MenuItem) {
|
|
|
150
159
|
/>
|
|
151
160
|
}
|
|
152
161
|
</div >
|
|
162
|
+
|
|
153
163
|
{
|
|
154
164
|
this.isPhone && (
|
|
155
165
|
<div slot="footer" class="ui5-menu-dialog-footer">
|
package/src/SwitchTemplate.tsx
CHANGED
|
@@ -52,8 +52,8 @@ export default function SwitchTemplate(this: Switch) {
|
|
|
52
52
|
</>
|
|
53
53
|
:
|
|
54
54
|
<>
|
|
55
|
-
<span class="ui5-switch-text ui5-switch-text--on" part="text-on">{this._textOn}</span>
|
|
56
|
-
<span class="ui5-switch-text ui5-switch-text--off" part="text-off">{this._textOff}</span>
|
|
55
|
+
<span class="ui5-switch-text ui5-switch-text--on" part="text-on" aria-hidden={this._textAriaHidden}>{this._textOn}</span>
|
|
56
|
+
<span class="ui5-switch-text ui5-switch-text--off" part="text-off" aria-hidden={this._textAriaHidden}>{this._textOff}</span>
|
|
57
57
|
</>
|
|
58
58
|
}
|
|
59
59
|
</>
|
|
@@ -13,7 +13,7 @@ export default function TimePickerTemplate(this: TimePicker) {
|
|
|
13
13
|
id={`${this._id}-inner`}
|
|
14
14
|
class="ui5-time-picker-input"
|
|
15
15
|
part="input"
|
|
16
|
-
value={this.
|
|
16
|
+
value={this.displayValue}
|
|
17
17
|
placeholder={this._placeholder}
|
|
18
18
|
disabled={this.disabled}
|
|
19
19
|
readonly={this.readonly}
|
|
@@ -226,6 +226,9 @@ DATEPICKER_OPEN_ICON_TITLE_OPENED=Close Picker
|
|
|
226
226
|
#XACT: Aria information for the Date Picker
|
|
227
227
|
DATEPICKER_DATE_DESCRIPTION=Date Input
|
|
228
228
|
|
|
229
|
+
#XFLD: DatePicker dialog header title on mobile
|
|
230
|
+
DATEPICKER_MOBILE_HEADER_TITLE=Enter date
|
|
231
|
+
|
|
229
232
|
DATEPICKER_VALUE_MISSING=Fill in the date value in the format: {0}.
|
|
230
233
|
|
|
231
234
|
DATEPICKER_PATTERN_MISSMATCH=This format is not supported. Fill in the date and time range values in the format: {0}.
|
|
@@ -257,7 +260,7 @@ DATERANGE_OVERFLOW=Fill in a value that is lower than the set max. value of {0}.
|
|
|
257
260
|
DATERANGE_UNDERFLOW=Fill in a value that is higher than the set min. value of {0}.
|
|
258
261
|
|
|
259
262
|
#XACT: Aria information for the Date Picker popover
|
|
260
|
-
DATEPICKER_POPOVER_ACCESSIBLE_NAME=
|
|
263
|
+
DATEPICKER_POPOVER_ACCESSIBLE_NAME=Enter date for {0}
|
|
261
264
|
|
|
262
265
|
#XTXT: Date Picker placeholder prefix
|
|
263
266
|
DATETIME_COMPONENTS_PLACEHOLDER_PREFIX=e.g.
|
|
@@ -617,7 +620,7 @@ DATETIME_PICKER_TIME_BUTTON=Time
|
|
|
617
620
|
TOKEN_ARIA_DELETABLE=Deletable
|
|
618
621
|
|
|
619
622
|
#XACT: ARIA announcement for token removal
|
|
620
|
-
|
|
623
|
+
TOKEN_ARIA_DELETE=Delete
|
|
621
624
|
|
|
622
625
|
#XACT: ARIA announcement for token label
|
|
623
626
|
TOKEN_ARIA_LABEL=Token
|
|
@@ -808,6 +811,12 @@ MENU_ITEM_GROUP_SINGLE_ACCESSIBLE_NAME=Contains Selectable Items
|
|
|
808
811
|
#XACT: ARIA information for the Menu Item Group with itemSelectionMode "MultiSelect"
|
|
809
812
|
MENU_ITEM_GROUP_MULTI_ACCESSIBLE_NAME=Contains Multi-Selectable Items
|
|
810
813
|
|
|
814
|
+
#XACT: ARIA information for the Menu Item end content slot
|
|
815
|
+
MENU_ITEM_END_CONTENT_ACCESSIBLE_NAME=Additional Actions
|
|
816
|
+
|
|
817
|
+
#XACT: ARIA information for the Menu Item loading state
|
|
818
|
+
MENU_ITEM_LOADING=Loading
|
|
819
|
+
|
|
811
820
|
#XACT: ARIA announcement for roldesecription attribute of Dialog header
|
|
812
821
|
DIALOG_HEADER_ARIA_ROLE_DESCRIPTION=Interactive Header
|
|
813
822
|
|
|
@@ -1008,6 +1017,12 @@ DYNAMIC_DATE_RANGE_NEXT_COMBINED_TEXT=Next X {0} (included)
|
|
|
1008
1017
|
#XFLD: Suffix text for included date range options.
|
|
1009
1018
|
DYNAMIC_DATE_RANGE_INCLUDED_TEXT=(included)
|
|
1010
1019
|
|
|
1020
|
+
#XACT: Default text for switch "on" state, used to detect duplicate screen reader announcements
|
|
1021
|
+
SWITCH_ON=On
|
|
1022
|
+
|
|
1023
|
+
#XACT: Default text for switch "off" state, used to detect duplicate screen reader announcements
|
|
1024
|
+
SWITCH_OFF=Off
|
|
1025
|
+
|
|
1011
1026
|
#XACT: ARIA announcement for icon type image
|
|
1012
1027
|
ICON_ARIA_TYPE_IMAGE=Image
|
|
1013
1028
|
|
|
@@ -244,6 +244,8 @@ LINK_SUBTLE=
|
|
|
244
244
|
|
|
245
245
|
LINK_EMPHASIZED=Emphasized
|
|
246
246
|
|
|
247
|
+
LIST_ROLE_DESCRIPTION=List with interactive items. To move to the content, press F2.
|
|
248
|
+
|
|
247
249
|
LIST_ITEM_ACTIVE=Is Active
|
|
248
250
|
|
|
249
251
|
LIST_ITEM_POSITION=List item {0} of {1}
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
align-self: center;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
+
.ui5-breadcrumbs-current-location [ui5-label] {
|
|
33
|
+
color: var(--_ui5_breadcrumbs_current_location_color);
|
|
34
|
+
}
|
|
35
|
+
|
|
32
36
|
.ui5-breadcrumbs-current-location,
|
|
33
37
|
.ui5-breadcrumbs-link-wrapper:last-child {
|
|
34
38
|
min-width: 1%;
|
|
@@ -96,7 +100,7 @@
|
|
|
96
100
|
content: "/"; /* default separator is "Slash" */
|
|
97
101
|
padding: 0 .25rem;
|
|
98
102
|
cursor: auto;
|
|
99
|
-
color: var(--
|
|
103
|
+
color: var(--_ui5_breadcrumbs_separator_color);
|
|
100
104
|
display: inline-block;
|
|
101
105
|
font-family: var(--sapFontFamily);
|
|
102
106
|
font-size: var(--sapFontSize);
|
|
@@ -121,4 +125,4 @@
|
|
|
121
125
|
|
|
122
126
|
:host([separators="DoubleGreaterThan"]) .ui5-breadcrumbs-separator::after {
|
|
123
127
|
content: ">>";
|
|
124
|
-
}
|
|
128
|
+
}
|
|
@@ -123,6 +123,20 @@
|
|
|
123
123
|
pointer-events: none;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
/* White outline for selected state on mobile */
|
|
127
|
+
:host([selected]:not([_disabled])[on-phone]) .ui5-cp-item::after {
|
|
128
|
+
content: "";
|
|
129
|
+
box-sizing: border-box;
|
|
130
|
+
position: absolute;
|
|
131
|
+
top: calc(-1 * var(--_ui5_color_palette_item_height) + 0.375rem);
|
|
132
|
+
left: 0;
|
|
133
|
+
right: 0;
|
|
134
|
+
bottom: calc(-100%);
|
|
135
|
+
border: var(--_ui5_color-palette-item-after-not-focus-color);
|
|
136
|
+
border-radius: 0.1875rem;
|
|
137
|
+
pointer-events: none;
|
|
138
|
+
}
|
|
139
|
+
|
|
126
140
|
:host(:not([_disabled]):not([on-phone]):not([selected]):not(:hover)) .ui5-cp-item:focus:not(:hover)::after {
|
|
127
141
|
border: var(--_ui5_color-palette-item-after-focus-not-selected-border);
|
|
128
142
|
}
|
package/src/themes/MenuItem.css
CHANGED
|
@@ -142,4 +142,11 @@
|
|
|
142
142
|
|
|
143
143
|
::slotted([slot="footer"][ui5-toolbar]) {
|
|
144
144
|
border: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
::slotted([slot="footer"][ui5-bar][design="Footer"]),
|
|
148
|
+
::slotted([slot="header"][ui5-bar][design="Header"]) {
|
|
149
|
+
--_ui5_bar-start-container-padding-start: 0;
|
|
150
|
+
--_ui5_bar-mid-container-padding-start-end: 0;
|
|
151
|
+
--_ui5_bar-end-container-padding-end: 0;
|
|
145
152
|
}
|