@ui5/webcomponents 2.24.0 → 2.25.0-rc.3
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 +66 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/Carousel.js +3 -1
- package/dist/Carousel.js.map +1 -1
- package/dist/CarouselTemplate.js +1 -1
- package/dist/CarouselTemplate.js.map +1 -1
- package/dist/ColorPalette.d.ts +1 -0
- package/dist/ColorPalette.js +23 -12
- package/dist/ColorPalette.js.map +1 -1
- package/dist/ColorPalettePopover.js +6 -5
- package/dist/ColorPalettePopover.js.map +1 -1
- package/dist/DayPicker.d.ts +1 -0
- package/dist/DayPicker.js +10 -2
- package/dist/DayPicker.js.map +1 -1
- package/dist/Dialog.d.ts +39 -0
- package/dist/Dialog.js +107 -3
- package/dist/Dialog.js.map +1 -1
- package/dist/DialogTemplate.js +4 -2
- package/dist/DialogTemplate.js.map +1 -1
- package/dist/DynamicDateRange.d.ts +11 -0
- package/dist/DynamicDateRange.js +12 -0
- package/dist/DynamicDateRange.js.map +1 -1
- package/dist/DynamicDateRangeInputTemplate.js +1 -1
- package/dist/DynamicDateRangeInputTemplate.js.map +1 -1
- package/dist/FileUploader.d.ts +5 -2
- package/dist/FileUploader.js +22 -1
- package/dist/FileUploader.js.map +1 -1
- package/dist/FileUploaderTemplate.js +3 -2
- package/dist/FileUploaderTemplate.js.map +1 -1
- package/dist/IToolbarArrowNavProvider.d.ts +32 -0
- package/dist/IToolbarArrowNavProvider.js +4 -0
- package/dist/IToolbarArrowNavProvider.js.map +1 -0
- package/dist/Input.d.ts +3 -1
- package/dist/Input.js +26 -0
- package/dist/Input.js.map +1 -1
- package/dist/InputIcon.d.ts +105 -0
- package/dist/InputIcon.js +189 -0
- package/dist/InputIcon.js.map +1 -0
- package/dist/InputIconTemplate.d.ts +2 -0
- package/dist/InputIconTemplate.js +13 -0
- package/dist/InputIconTemplate.js.map +1 -0
- package/dist/ListItemCustom.js.map +1 -1
- package/dist/MenuItem.js +1 -1
- package/dist/MenuItem.js.map +1 -1
- package/dist/MenuSeparator.d.ts +7 -14
- package/dist/MenuSeparator.js +5 -24
- package/dist/MenuSeparator.js.map +1 -1
- package/dist/MenuSeparatorTemplate.js +1 -2
- package/dist/MenuSeparatorTemplate.js.map +1 -1
- package/dist/MultiComboBoxItem.d.ts +1 -0
- package/dist/MultiComboBoxItem.js +7 -1
- package/dist/MultiComboBoxItem.js.map +1 -1
- package/dist/MultiComboBoxItemTemplate.js +4 -2
- package/dist/MultiComboBoxItemTemplate.js.map +1 -1
- package/dist/Popup.d.ts +2 -0
- package/dist/Popup.js +7 -1
- package/dist/Popup.js.map +1 -1
- package/dist/RatingIndicator.d.ts +2 -0
- package/dist/RatingIndicator.js +2 -0
- package/dist/RatingIndicator.js.map +1 -1
- package/dist/SliderTemplate.js +1 -1
- package/dist/SliderTemplate.js.map +1 -1
- package/dist/Table.js +4 -2
- package/dist/Table.js.map +1 -1
- package/dist/Toolbar.d.ts +40 -3
- package/dist/Toolbar.js +225 -6
- package/dist/Toolbar.js.map +1 -1
- package/dist/ToolbarItem.d.ts +30 -0
- package/dist/ToolbarItem.js +202 -0
- package/dist/ToolbarItem.js.map +1 -1
- package/dist/ToolbarItemBase.d.ts +10 -0
- package/dist/ToolbarItemBase.js +19 -0
- package/dist/ToolbarItemBase.js.map +1 -1
- package/dist/ToolbarSelect.d.ts +4 -2
- package/dist/ToolbarSelect.js +7 -4
- package/dist/ToolbarSelect.js.map +1 -1
- package/dist/ToolbarSelectOption.d.ts +7 -0
- package/dist/ToolbarSelectOption.js +4 -1
- package/dist/ToolbarSelectOption.js.map +1 -1
- package/dist/ToolbarSelectTemplate.js +1 -1
- package/dist/ToolbarSelectTemplate.js.map +1 -1
- package/dist/TreeItemBase.js.map +1 -1
- package/dist/bundle.esm.js +1 -0
- package/dist/bundle.esm.js.map +1 -1
- package/dist/css/themes/ColorPalette.css +1 -1
- package/dist/css/themes/ComboBox.css +1 -1
- package/dist/css/themes/DatePicker.css +1 -1
- package/dist/css/themes/Dialog.css +1 -1
- package/dist/css/themes/DynamicDateRange.css +1 -1
- package/dist/css/themes/FileUploader.css +1 -1
- package/dist/css/themes/Input.css +1 -1
- package/dist/css/themes/InputIcon.css +1 -1
- package/dist/css/themes/MultiComboBox.css +1 -1
- package/dist/css/themes/MultiComboBoxItem.css +1 -1
- package/dist/css/themes/MultiInput.css +1 -1
- package/dist/css/themes/Select.css +1 -1
- package/dist/css/themes/StepInput.css +1 -1
- package/dist/css/themes/TableHeaderCell.css +1 -1
- package/dist/css/themes/TimePicker.css +1 -1
- package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_auto/parameters-bundle.css +1 -1
- package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
- package/dist/custom-elements-internal.json +261 -41
- package/dist/custom-elements.json +243 -26
- package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_auto/parameters-bundle.css.json +1 -1
- package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
- package/dist/generated/i18n/i18n-defaults.d.ts +3 -1
- package/dist/generated/i18n/i18n-defaults.js +3 -1
- package/dist/generated/i18n/i18n-defaults.js.map +1 -1
- package/dist/generated/themes/ColorPalette.css.d.ts +1 -1
- package/dist/generated/themes/ColorPalette.css.js +1 -1
- package/dist/generated/themes/ColorPalette.css.js.map +1 -1
- package/dist/generated/themes/ComboBox.css.d.ts +1 -1
- package/dist/generated/themes/ComboBox.css.js +1 -1
- package/dist/generated/themes/ComboBox.css.js.map +1 -1
- package/dist/generated/themes/DatePicker.css.d.ts +1 -1
- package/dist/generated/themes/DatePicker.css.js +1 -1
- package/dist/generated/themes/DatePicker.css.js.map +1 -1
- package/dist/generated/themes/Dialog.css.d.ts +1 -1
- package/dist/generated/themes/Dialog.css.js +1 -1
- package/dist/generated/themes/Dialog.css.js.map +1 -1
- package/dist/generated/themes/DynamicDateRange.css.d.ts +1 -1
- package/dist/generated/themes/DynamicDateRange.css.js +1 -1
- package/dist/generated/themes/DynamicDateRange.css.js.map +1 -1
- package/dist/generated/themes/FileUploader.css.d.ts +1 -1
- package/dist/generated/themes/FileUploader.css.js +1 -1
- package/dist/generated/themes/FileUploader.css.js.map +1 -1
- package/dist/generated/themes/Input.css.d.ts +1 -1
- package/dist/generated/themes/Input.css.js +1 -1
- package/dist/generated/themes/Input.css.js.map +1 -1
- package/dist/generated/themes/InputIcon.css.d.ts +1 -1
- package/dist/generated/themes/InputIcon.css.js +1 -1
- package/dist/generated/themes/InputIcon.css.js.map +1 -1
- package/dist/generated/themes/MultiComboBox.css.d.ts +1 -1
- package/dist/generated/themes/MultiComboBox.css.js +1 -1
- package/dist/generated/themes/MultiComboBox.css.js.map +1 -1
- package/dist/generated/themes/MultiComboBoxItem.css.d.ts +1 -1
- package/dist/generated/themes/MultiComboBoxItem.css.js +1 -1
- package/dist/generated/themes/MultiComboBoxItem.css.js.map +1 -1
- package/dist/generated/themes/MultiInput.css.d.ts +1 -1
- package/dist/generated/themes/MultiInput.css.js +1 -1
- package/dist/generated/themes/MultiInput.css.js.map +1 -1
- package/dist/generated/themes/Select.css.d.ts +1 -1
- package/dist/generated/themes/Select.css.js +1 -1
- package/dist/generated/themes/Select.css.js.map +1 -1
- package/dist/generated/themes/StepInput.css.d.ts +1 -1
- package/dist/generated/themes/StepInput.css.js +1 -1
- package/dist/generated/themes/StepInput.css.js.map +1 -1
- package/dist/generated/themes/TableHeaderCell.css.d.ts +1 -1
- package/dist/generated/themes/TableHeaderCell.css.js +1 -1
- package/dist/generated/themes/TableHeaderCell.css.js.map +1 -1
- package/dist/generated/themes/TimePicker.css.d.ts +1 -1
- package/dist/generated/themes/TimePicker.css.js +1 -1
- package/dist/generated/themes/TimePicker.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_auto/parameters-bundle.css.d.ts +1 -1
- package/dist/generated/themes/sap_horizon_auto/parameters-bundle.css.js +1 -1
- package/dist/generated/themes/sap_horizon_auto/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/vscode.html-custom-data.json +63 -5
- package/dist/web-types.json +128 -23
- package/package-scripts.cjs +1 -0
- package/package.json +13 -11
- package/src/CarouselTemplate.tsx +0 -1
- package/src/DialogTemplate.tsx +13 -0
- package/src/DynamicDateRangeInputTemplate.tsx +1 -0
- package/src/FileUploaderTemplate.tsx +4 -0
- package/src/InputIconTemplate.tsx +42 -0
- package/src/MenuSeparatorTemplate.tsx +2 -4
- package/src/MultiComboBoxItemTemplate.tsx +4 -1
- package/src/SliderTemplate.tsx +1 -0
- package/src/ToolbarSelectTemplate.tsx +1 -0
- package/src/i18n/messagebundle.properties +8 -1
- package/src/themes/ColorPalette.css +1 -0
- package/src/themes/DatePicker.css +1 -2
- package/src/themes/Dialog.css +22 -1
- package/src/themes/Input.css +4 -0
- package/src/themes/InputIcon.css +104 -3
- package/src/themes/MultiComboBoxItem.css +2 -0
- package/src/themes/TableHeaderCell.css +1 -0
- package/src/themes/sap_horizon/Card-parameters.css +1 -1
- package/src/themes/sap_horizon_dark/Card-parameters.css +1 -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.25.0-rc.3",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -3718,7 +3718,7 @@
|
|
|
3718
3718
|
},
|
|
3719
3719
|
{
|
|
3720
3720
|
"name": "ui5-dialog",
|
|
3721
|
-
"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`, 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`, 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",
|
|
3721
|
+
"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`, 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`, 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#### Fullscreen\nWhen the `ui5-dialog` has the `showFullscreenButton` property set to `true`, the user can toggle fullscreen mode\nwith the following keyboard shortcut:\n\n- [Shift] + [Ctrl] + [F] - Toggle fullscreen mode.\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",
|
|
3722
3722
|
"doc-url": "",
|
|
3723
3723
|
"attributes": [
|
|
3724
3724
|
{
|
|
@@ -3784,6 +3784,11 @@
|
|
|
3784
3784
|
"description": "Configures the component to be resizable.\nIf this property is set to true, the Dialog will have a resize handle in its bottom right corner in LTR languages.\nIn RTL languages, the resize handle will be placed in the bottom left corner.\n\n**Note:** The component can be resizable only in desktop mode.\n\n**Note:** Upon resizing, externally defined height and width styling will be ignored.",
|
|
3785
3785
|
"value": { "type": "boolean", "default": "false" }
|
|
3786
3786
|
},
|
|
3787
|
+
{
|
|
3788
|
+
"name": "show-fullscreen-button",
|
|
3789
|
+
"description": "Defines whether a fullscreen toggle button is shown in the dialog header.\nWhen pressed, it toggles the `stretch` property.\nThe fullscreen button is not available on phone devices.\n\n**Note:** The fullscreen button is not available on phone devices,\nnor when a custom header slot is provided — the application is expected\nto render its own toggle inside the custom header in those cases.",
|
|
3790
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3791
|
+
},
|
|
3787
3792
|
{
|
|
3788
3793
|
"name": "state",
|
|
3789
3794
|
"description": "Defines the state of the `Dialog`.\n\n**Note:** If `\"Negative\"` and `\"Critical\"` states is set, it will change the\naccessibility role to \"alertdialog\", if the accessibleRole property is set to `\"Dialog\"`.",
|
|
@@ -3892,6 +3897,11 @@
|
|
|
3892
3897
|
"description": "Configures the component to be resizable.\nIf this property is set to true, the Dialog will have a resize handle in its bottom right corner in LTR languages.\nIn RTL languages, the resize handle will be placed in the bottom left corner.\n\n**Note:** The component can be resizable only in desktop mode.\n\n**Note:** Upon resizing, externally defined height and width styling will be ignored.",
|
|
3893
3898
|
"value": { "type": "boolean" }
|
|
3894
3899
|
},
|
|
3900
|
+
{
|
|
3901
|
+
"name": "show-fullscreen-button",
|
|
3902
|
+
"description": "Defines whether a fullscreen toggle button is shown in the dialog header.\nWhen pressed, it toggles the `stretch` property.\nThe fullscreen button is not available on phone devices.\n\n**Note:** The fullscreen button is not available on phone devices,\nnor when a custom header slot is provided — the application is expected\nto render its own toggle inside the custom header in those cases.",
|
|
3903
|
+
"value": { "type": "boolean" }
|
|
3904
|
+
},
|
|
3895
3905
|
{
|
|
3896
3906
|
"name": "state",
|
|
3897
3907
|
"description": "Defines the state of the `Dialog`.\n\n**Note:** If `\"Negative\"` and `\"Critical\"` states is set, it will change the\naccessibility role to \"alertdialog\", if the accessibleRole property is set to `\"Dialog\"`.",
|
|
@@ -3989,6 +3999,11 @@
|
|
|
3989
3999
|
"description": "### Overview\n\nThe `ui5-dynamic-date-range` component provides a flexible interface to define date ranges using a combination of absolute dates, relative intervals, and preset ranges (e.g., \"Today\", \"Yesterday\", etc.).\nIt allows users to select a date range from a predefined set of options or enter custom dates.\n\n### Usage\n\nThe component is typically used in scenarios where users need to filter data based on date ranges, such as in reports, dashboards, or data analysis tools.\nIt can be used with the predefined options or extended with custom options to suit specific requirements. You can create your own options by extending the `IDynamicDateRangeOption` interface.\nEvery option should be registered using the `DynamicDateRange.register` method.\n\nIf needed, you can also create a range of dates based on specific option using the `toDates` method.\n\n### Standard Options\n\nThe component comes with a set of standard options, including:\n- \"TODAY\" - Represents the current date. An example value is `{ operator: \"TODAY\"}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/Today.js\";`\n- \"YESTERDAY\" - Represents the previous date. An example value is `{ operator: \"YESTERDAY\"}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/Yesterday.js\";`\n- \"TOMORROW\" - Represents the next date. An example value is `{ operator: \"TOMORROW\"}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/Tomorrow.js\";`\n- \"DATE\" - Represents a single date. An example value is `{ operator: \"DATE\", values: [new Date()]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/SingleDate.js\";`\n- \"DATERANGE\" - Represents a range of dates. An example value is `{ operator: \"DATERANGE\", values: [new Date(), new Date()]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/DateRange.js\";`\n- \"DATETIMERANGE\" - Represents a range of dates with times. An example value is `{ operator: \"DATETIMERANGE\", values: [new Date(), new Date()]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/DateTimeRange.js\";`\n- \"FROMDATETIME\" - Represents a range from date and time. An example value is `{ operator: \"FROMDATETIME\", values: [new Date()]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/FromDateTime.js\";`\n- \"TODATETIME\" - Represents a range to date and time. An example value is `{ operator: \"TODATETIME\", values: [new Date()]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/ToDateTime.js\";`\n- \"LASTDAYS\" - Represents Last X Days from today. An example value is `{ operator: \"LASTDAYS\", values: [2]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/LastOptions.js\";`\n- \"LASTWEEKS\" - Represents Last X Weeks from today. An example value is `{ operator: \"LASTWEEKS\", values: [3]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/LastOptions.js\";`\n- \"LASTMONTHS\" - Represents Last X Months from today. An example value is `{ operator: \"LASTMONTHS\", values: [6]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/LastOptions.js\";`\n- \"LASTQUARTERS\" - Represents Last X Quarters from today. An example value is `{ operator: \"LASTQUARTERS\", values: [2]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/LastOptions.js\";`\n- \"LASTYEARS\" - Represents Last X Years from today. An example value is `{ operator: \"LASTYEARS\", values: [1]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/LastOptions.js\";`\n- \"NEXTDAYS\" - Represents Next X Days from today. An example value is `{ operator: \"NEXTDAYS\", values: [2]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/NextOptions.js\";`\n- \"NEXTWEEKS\" - Represents Next X Weeks from today. An example value is `{ operator: \"NEXTWEEKS\", values: [3]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/NextOptions.js\";`\n- \"NEXTMONTHS\" - Represents Next X Months from today. An example value is `{ operator: \"NEXTMONTHS\", values: [6]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/NextOptions.js\";`\n- \"NEXTQUARTERS\" - Represents Next X Quarters from today. An example value is `{ operator: \"NEXTQUARTERS\", values: [2]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/NextOptions.js\";`\n- \"NEXTYEARS\" - Represents Next X Years from today. An example value is `{ operator: \"NEXTYEARS\", values: [1]}`. Import: `import \"@ui5/webcomponents/dist/dynamic-date-range-options/NextOptions.js\";`\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/DynamicDateRange.js\";`\n---\n\n\n### **Events:**\n - **change** - Fired when the input operation has finished by pressing Enter or on focusout or a value is selected in the popover.\n\n### **Methods:**\n - **toDates(value: _DynamicDateRangeValue_): _Array<Date>_** - Converts a `value` into concrete `startDate` and `endDate` JavaScript `Date` objects.",
|
|
3990
4000
|
"doc-url": "",
|
|
3991
4001
|
"attributes": [
|
|
4002
|
+
{
|
|
4003
|
+
"name": "accessible-name-ref",
|
|
4004
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
4005
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
4006
|
+
},
|
|
3992
4007
|
{
|
|
3993
4008
|
"name": "options",
|
|
3994
4009
|
"description": "Defines the options listed as a string, separated by commas and using capital case.\nExample: \"TODAY, YESTERDAY, DATERANGE\"",
|
|
@@ -4011,6 +4026,11 @@
|
|
|
4011
4026
|
],
|
|
4012
4027
|
"js": {
|
|
4013
4028
|
"properties": [
|
|
4029
|
+
{
|
|
4030
|
+
"name": "accessible-name-ref",
|
|
4031
|
+
"description": "Receives id(or many ids) of the elements that label the component.",
|
|
4032
|
+
"value": { "type": "string | undefined" }
|
|
4033
|
+
},
|
|
4014
4034
|
{
|
|
4015
4035
|
"name": "options",
|
|
4016
4036
|
"description": "Defines the options listed as a string, separated by commas and using capital case.\nExample: \"TODAY, YESTERDAY, DATERANGE\"",
|
|
@@ -4884,6 +4904,94 @@
|
|
|
4884
4904
|
]
|
|
4885
4905
|
}
|
|
4886
4906
|
},
|
|
4907
|
+
{
|
|
4908
|
+
"name": "ui5-input-icon",
|
|
4909
|
+
"description": "### Overview\nThe `ui5-input-icon` component represents an interactive icon that can be placed inside an `ui5-input` component.\nUnlike the standard `ui5-icon`, this component provides button-like behavior with hover, focus, and active states,\nmatching the visual style of the input's built-in clear icon.\n\n### Usage\nUse `ui5-input-icon` for interactive icons that users can click (e.g., search, voice input, camera).\nFor decorative icons, use the standard `ui5-icon` component instead.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/InputIcon.js\";`\n---\n\n\n### **Events:**\n - **click** - Fired when the `ui5-input-icon` is activated either with a click/tap or by using the Enter or Space key.",
|
|
4910
|
+
"doc-url": "",
|
|
4911
|
+
"attributes": [
|
|
4912
|
+
{
|
|
4913
|
+
"name": "accessible-name",
|
|
4914
|
+
"description": "Defines the accessible name of the icon.\n\n**Note:** This property is used for accessibility purposes and will be announced by screen readers.",
|
|
4915
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
4916
|
+
},
|
|
4917
|
+
{
|
|
4918
|
+
"name": "disabled",
|
|
4919
|
+
"description": "Defines whether the icon is disabled.\n\n**Note:** Disabled icons are not interactive and do not fire click events.",
|
|
4920
|
+
"value": { "type": "boolean", "default": "false" }
|
|
4921
|
+
},
|
|
4922
|
+
{
|
|
4923
|
+
"name": "name",
|
|
4924
|
+
"description": "Defines the icon name to be displayed.\n\n**Note:** Make sure you import the desired icon before using it.",
|
|
4925
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
4926
|
+
},
|
|
4927
|
+
{
|
|
4928
|
+
"name": "readonly",
|
|
4929
|
+
"description": "Defines whether the icon is readonly.\n\n**Note:** Readonly icons are not interactive and do not fire click events.",
|
|
4930
|
+
"value": { "type": "boolean", "default": "false" }
|
|
4931
|
+
},
|
|
4932
|
+
{
|
|
4933
|
+
"name": "show-tooltip",
|
|
4934
|
+
"description": "Defines whether the tooltip is shown.\n\n**Note:** The tooltip text should be provided via the `accessible-name` property.",
|
|
4935
|
+
"value": { "type": "boolean", "default": "false" }
|
|
4936
|
+
},
|
|
4937
|
+
{
|
|
4938
|
+
"name": "value-state",
|
|
4939
|
+
"description": "Defines the value state of the icon.\n\n**Note:** This property should match the parent input's value state for consistent styling.",
|
|
4940
|
+
"value": {
|
|
4941
|
+
"type": "\"None\" | \"Positive\" | \"Critical\" | \"Negative\" | \"Information\"",
|
|
4942
|
+
"default": "\"None\""
|
|
4943
|
+
}
|
|
4944
|
+
}
|
|
4945
|
+
],
|
|
4946
|
+
"events": [
|
|
4947
|
+
{
|
|
4948
|
+
"name": "click",
|
|
4949
|
+
"description": "Fired when the `ui5-input-icon` is activated either with a click/tap or by using the Enter or Space key."
|
|
4950
|
+
}
|
|
4951
|
+
],
|
|
4952
|
+
"js": {
|
|
4953
|
+
"properties": [
|
|
4954
|
+
{
|
|
4955
|
+
"name": "accessible-name",
|
|
4956
|
+
"description": "Defines the accessible name of the icon.\n\n**Note:** This property is used for accessibility purposes and will be announced by screen readers.",
|
|
4957
|
+
"value": { "type": "string | undefined" }
|
|
4958
|
+
},
|
|
4959
|
+
{
|
|
4960
|
+
"name": "disabled",
|
|
4961
|
+
"description": "Defines whether the icon is disabled.\n\n**Note:** Disabled icons are not interactive and do not fire click events.",
|
|
4962
|
+
"value": { "type": "boolean" }
|
|
4963
|
+
},
|
|
4964
|
+
{
|
|
4965
|
+
"name": "name",
|
|
4966
|
+
"description": "Defines the icon name to be displayed.\n\n**Note:** Make sure you import the desired icon before using it.",
|
|
4967
|
+
"value": { "type": "string | undefined" }
|
|
4968
|
+
},
|
|
4969
|
+
{
|
|
4970
|
+
"name": "readonly",
|
|
4971
|
+
"description": "Defines whether the icon is readonly.\n\n**Note:** Readonly icons are not interactive and do not fire click events.",
|
|
4972
|
+
"value": { "type": "boolean" }
|
|
4973
|
+
},
|
|
4974
|
+
{
|
|
4975
|
+
"name": "show-tooltip",
|
|
4976
|
+
"description": "Defines whether the tooltip is shown.\n\n**Note:** The tooltip text should be provided via the `accessible-name` property.",
|
|
4977
|
+
"value": { "type": "boolean" }
|
|
4978
|
+
},
|
|
4979
|
+
{
|
|
4980
|
+
"name": "value-state",
|
|
4981
|
+
"description": "Defines the value state of the icon.\n\n**Note:** This property should match the parent input's value state for consistent styling.",
|
|
4982
|
+
"value": {
|
|
4983
|
+
"type": "\"None\" | \"Positive\" | \"Critical\" | \"Negative\" | \"Information\""
|
|
4984
|
+
}
|
|
4985
|
+
}
|
|
4986
|
+
],
|
|
4987
|
+
"events": [
|
|
4988
|
+
{
|
|
4989
|
+
"name": "click",
|
|
4990
|
+
"description": "Fired when the `ui5-input-icon` is activated either with a click/tap or by using the Enter or Space key."
|
|
4991
|
+
}
|
|
4992
|
+
]
|
|
4993
|
+
}
|
|
4994
|
+
},
|
|
4887
4995
|
{
|
|
4888
4996
|
"name": "ui5-label",
|
|
4889
4997
|
"description": "### Overview\n\nThe `ui5-label` is a component used to represent a label for elements like input, textarea, select.\nThe `for` property of the `ui5-label` must be the same as the id attribute of the related input element.\nScreen readers read out the label, when the user focuses the labelled control.\n\nThe `ui5-label` appearance can be influenced by properties,\nsuch as `required` and `wrappingType`.\nThe appearance of the Label can be configured in a limited way by using the design property.\nFor a broader choice of designs, you can use custom styles.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/Label\";`\n---\n\n\n### **Slots:**\n - **default** - Defines the text of the component.\n\n**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use text in order to preserve the intended design.",
|
|
@@ -6349,24 +6457,11 @@
|
|
|
6349
6457
|
},
|
|
6350
6458
|
{
|
|
6351
6459
|
"name": "ui5-menu-separator",
|
|
6352
|
-
"description": "The `ui5-menu-separator` represents a horizontal line to separate menu items inside a `ui5-menu`.\n---\n
|
|
6460
|
+
"description": "The `ui5-menu-separator` represents a horizontal line to separate menu items inside a `ui5-menu`.\n---\n",
|
|
6353
6461
|
"doc-url": "",
|
|
6354
6462
|
"attributes": [],
|
|
6355
|
-
"events": [
|
|
6356
|
-
|
|
6357
|
-
"name": "click",
|
|
6358
|
-
"description": "Fired when the component is activated either with a mouse/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `disabled` property is set to `true`."
|
|
6359
|
-
}
|
|
6360
|
-
],
|
|
6361
|
-
"js": {
|
|
6362
|
-
"properties": [],
|
|
6363
|
-
"events": [
|
|
6364
|
-
{
|
|
6365
|
-
"name": "click",
|
|
6366
|
-
"description": "Fired when the component is activated either with a mouse/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `disabled` property is set to `true`."
|
|
6367
|
-
}
|
|
6368
|
-
]
|
|
6369
|
-
}
|
|
6463
|
+
"events": [],
|
|
6464
|
+
"js": { "properties": [], "events": [] }
|
|
6370
6465
|
},
|
|
6371
6466
|
{
|
|
6372
6467
|
"name": "ui5-message-strip",
|
|
@@ -12467,17 +12562,17 @@
|
|
|
12467
12562
|
},
|
|
12468
12563
|
{
|
|
12469
12564
|
"name": "ui5-toolbar",
|
|
12470
|
-
"description": "### Overview\n\nThe `ui5-toolbar` component is used to create a horizontal layout with items.\nThe items can be overflowing in a popover, when the space is not enough to show all of them.\n\n### Keyboard Handling\nThe `ui5-toolbar` provides advanced keyboard handling.\n\n-
|
|
12565
|
+
"description": "### Overview\n\nThe `ui5-toolbar` component is used to create a horizontal layout with items.\nThe items can be overflowing in a popover, when the space is not enough to show all of them.\n\n### Keyboard Handling\nThe `ui5-toolbar` provides advanced keyboard handling.\n\n- [Left]/[Right] - navigate among toolbar items\n- [Home]/[End] - move to first/last toolbar item\n- [Tab] / [Shift]+[Tab] - exit the toolbar\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/Toolbar.js\";`\n---\n\n\n### **Methods:**\n - **isOverflowOpen(): _boolean_** - Returns if the overflow popup is open.\n\n### **Slots:**\n - **default** - Defines the items of the component.\n\n**Note:** Currently only `ui5-toolbar-button`, `ui5-toolbar-select`, `ui5-toolbar-separator` and `ui5-toolbar-spacer` are allowed here.",
|
|
12471
12566
|
"doc-url": "",
|
|
12472
12567
|
"attributes": [
|
|
12473
12568
|
{
|
|
12474
12569
|
"name": "accessible-name",
|
|
12475
|
-
"description": "Defines the accessible ARIA name of the component.",
|
|
12570
|
+
"description": "Defines the accessible ARIA name of the component.\n\n**Note:** It is strongly recommended to always set this property or `accessibleNameRef`\nwhen the toolbar has `role=\"toolbar\"` (i.e. when it contains more than one interactive item).\nWithout an accessible name, screen readers will announce the toolbar without any context,\nmaking it harder for keyboard-only and AT users to understand its purpose.",
|
|
12476
12571
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
12477
12572
|
},
|
|
12478
12573
|
{
|
|
12479
12574
|
"name": "accessible-name-ref",
|
|
12480
|
-
"description": "Receives id(or many ids) of the elements that label the input.",
|
|
12575
|
+
"description": "Receives id(or many ids) of the elements that label the input.\n\n**Note:** When the toolbar has `role=\"toolbar\"`, at least one of `accessibleName` or\n`accessibleNameRef` should be provided to satisfy WCAG 2.1 success criterion 4.1.2.",
|
|
12481
12576
|
"value": { "type": "string | undefined", "default": "undefined" }
|
|
12482
12577
|
},
|
|
12483
12578
|
{
|
|
@@ -12510,12 +12605,12 @@
|
|
|
12510
12605
|
"properties": [
|
|
12511
12606
|
{
|
|
12512
12607
|
"name": "accessible-name",
|
|
12513
|
-
"description": "Defines the accessible ARIA name of the component.",
|
|
12608
|
+
"description": "Defines the accessible ARIA name of the component.\n\n**Note:** It is strongly recommended to always set this property or `accessibleNameRef`\nwhen the toolbar has `role=\"toolbar\"` (i.e. when it contains more than one interactive item).\nWithout an accessible name, screen readers will announce the toolbar without any context,\nmaking it harder for keyboard-only and AT users to understand its purpose.",
|
|
12514
12609
|
"value": { "type": "string | undefined" }
|
|
12515
12610
|
},
|
|
12516
12611
|
{
|
|
12517
12612
|
"name": "accessible-name-ref",
|
|
12518
|
-
"description": "Receives id(or many ids) of the elements that label the input.",
|
|
12613
|
+
"description": "Receives id(or many ids) of the elements that label the input.\n\n**Note:** When the toolbar has `role=\"toolbar\"`, at least one of `accessibleName` or\n`accessibleNameRef` should be provided to satisfy WCAG 2.1 success criterion 4.1.2.",
|
|
12519
12614
|
"value": { "type": "string | undefined" }
|
|
12520
12615
|
},
|
|
12521
12616
|
{
|
|
@@ -12892,6 +12987,11 @@
|
|
|
12892
12987
|
"name": "selected",
|
|
12893
12988
|
"description": "Defines the selected state of the component.",
|
|
12894
12989
|
"value": { "type": "any", "default": "false" }
|
|
12990
|
+
},
|
|
12991
|
+
{
|
|
12992
|
+
"name": "value",
|
|
12993
|
+
"description": "Defines the value of the component.",
|
|
12994
|
+
"value": { "type": "string | undefined", "default": "undefined" }
|
|
12895
12995
|
}
|
|
12896
12996
|
],
|
|
12897
12997
|
"slots": [
|
|
@@ -12907,6 +13007,11 @@
|
|
|
12907
13007
|
"name": "selected",
|
|
12908
13008
|
"description": "Defines the selected state of the component.",
|
|
12909
13009
|
"value": { "type": "any" }
|
|
13010
|
+
},
|
|
13011
|
+
{
|
|
13012
|
+
"name": "value",
|
|
13013
|
+
"description": "Defines the value of the component.",
|
|
13014
|
+
"value": { "type": "string | undefined" }
|
|
12910
13015
|
}
|
|
12911
13016
|
],
|
|
12912
13017
|
"events": []
|
package/package-scripts.cjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.25.0-rc.3",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.main",
|
|
5
5
|
"ui5": {
|
|
6
6
|
"webComponentsPackage": true
|
|
@@ -33,6 +33,8 @@
|
|
|
33
33
|
"test:cypress:suite-3": "wc-dev test-cy-ci-suite-3",
|
|
34
34
|
"test:cypress:suite-4": "wc-dev test-cy-ci-suite-4",
|
|
35
35
|
"test:cypress:open": "wc-dev test-cy-open",
|
|
36
|
+
"test:cypress:visual": "CYPRESS_VISUAL=true yarn test:cypress",
|
|
37
|
+
"test:cypress:open:visual": "CYPRESS_VISUAL=true yarn test:cypress:open",
|
|
36
38
|
"test:cypress:single": "npx cypress run --component --browser chrome --spec",
|
|
37
39
|
"test:vitest": "yarn vitest run",
|
|
38
40
|
"test:ssr": "node -e \"import('./test/ssr/component-imports.js')\"",
|
|
@@ -54,22 +56,22 @@
|
|
|
54
56
|
"directory": "packages/main"
|
|
55
57
|
},
|
|
56
58
|
"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.
|
|
59
|
+
"@ui5/webcomponents-base": "2.25.0-rc.3",
|
|
60
|
+
"@ui5/webcomponents-icons": "2.25.0-rc.3",
|
|
61
|
+
"@ui5/webcomponents-icons-business-suite": "2.25.0-rc.3",
|
|
62
|
+
"@ui5/webcomponents-icons-tnt": "2.25.0-rc.3",
|
|
63
|
+
"@ui5/webcomponents-localization": "2.25.0-rc.3",
|
|
64
|
+
"@ui5/webcomponents-theming": "2.25.0-rc.3"
|
|
63
65
|
},
|
|
64
66
|
"devDependencies": {
|
|
65
67
|
"@custom-elements-manifest/analyzer": "^0.10.10",
|
|
66
68
|
"@ui5/cypress-internal": "0.1.0",
|
|
67
|
-
"@ui5/webcomponents-tools": "2.
|
|
68
|
-
"cypress": "15.
|
|
69
|
+
"@ui5/webcomponents-tools": "2.25.0-rc.3",
|
|
70
|
+
"cypress": "15.18.1",
|
|
69
71
|
"jsdom": "^26.0.0",
|
|
70
72
|
"lit": "^2.0.0",
|
|
71
73
|
"vite": "5.4.21",
|
|
72
|
-
"vitest": "^3.
|
|
74
|
+
"vitest": "^3.2.7"
|
|
73
75
|
},
|
|
74
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "f3a7ff8716c57d513a3464958de2a01c1eb793fc"
|
|
75
77
|
}
|
package/src/CarouselTemplate.tsx
CHANGED
|
@@ -10,7 +10,6 @@ export default function CarouselTemplate(this: Carousel) {
|
|
|
10
10
|
"ui5-carousel-root": true,
|
|
11
11
|
[`ui5-carousel-background-${this._backgroundDesign}`]: true,
|
|
12
12
|
}}
|
|
13
|
-
role="region"
|
|
14
13
|
aria-label={this.ariaLabelTxt}
|
|
15
14
|
aria-roledescription={this._roleDescription}
|
|
16
15
|
onFocusIn={this._onfocusin}
|
package/src/DialogTemplate.tsx
CHANGED
|
@@ -3,6 +3,7 @@ import type Dialog from "./Dialog.js";
|
|
|
3
3
|
import PopupTemplate from "./PopupTemplate.js";
|
|
4
4
|
import Title from "./Title.js";
|
|
5
5
|
import Icon from "./Icon.js";
|
|
6
|
+
import Button from "./Button.js";
|
|
6
7
|
|
|
7
8
|
export default function DialogTemplate(this: Dialog) {
|
|
8
9
|
return PopupTemplate.call(this, {
|
|
@@ -20,6 +21,7 @@ function beforeContent(this: Dialog) {
|
|
|
20
21
|
role="region"
|
|
21
22
|
aria-label={this._headerAriaLabel}
|
|
22
23
|
onMouseDown={this._onDragMouseDown}
|
|
24
|
+
onDblClick={this._showFullscreenButton ? this._onHeaderDblClick : undefined}
|
|
23
25
|
part="header"
|
|
24
26
|
// state={this.state}
|
|
25
27
|
>
|
|
@@ -31,6 +33,17 @@ function beforeContent(this: Dialog) {
|
|
|
31
33
|
:
|
|
32
34
|
<Title level="H1" id="ui5-popup-header-text" class="ui5-popup-header-text">{this.headerText}</Title>
|
|
33
35
|
}
|
|
36
|
+
{this._showFullscreenButton &&
|
|
37
|
+
<Button
|
|
38
|
+
class="ui5-dialog-fullscreen-btn"
|
|
39
|
+
icon={this._fullscreenButtonIcon}
|
|
40
|
+
design="Transparent"
|
|
41
|
+
tooltip={this._fullscreenButtonTooltip}
|
|
42
|
+
accessibleName={this._fullscreenButtonTooltip}
|
|
43
|
+
accessibilityAttributes={this._fullscreenButtonAccessibilityAttributes}
|
|
44
|
+
onClick={this._toggleFullscreen}
|
|
45
|
+
></Button>
|
|
46
|
+
}
|
|
34
47
|
</div>
|
|
35
48
|
}
|
|
36
49
|
</>);
|
|
@@ -11,6 +11,7 @@ export default function DynamicDateRangeInputTemplate(this: DynamicDateRange) {
|
|
|
11
11
|
id={`${this._id}-inner`}
|
|
12
12
|
class="ui5-dynamic-date-range-input"
|
|
13
13
|
value={this.value && this.getOption(this.value?.operator)?.format(this.value)}
|
|
14
|
+
_inputAccInfo={this._accInfo}
|
|
14
15
|
onChange={this.onInputChange}
|
|
15
16
|
onKeyDown={this.onInputKeyDown}
|
|
16
17
|
>
|
|
@@ -35,10 +35,14 @@ export default function FileUploaderTemplate(this: FileUploader) {
|
|
|
35
35
|
aria-description={this.accInfo.ariaDescription}
|
|
36
36
|
aria-required={this.accInfo.ariaRequired}
|
|
37
37
|
aria-invalid={this.accInfo.ariaInvalid}
|
|
38
|
+
aria-describedby={this.accInfo.ariaDescribedBy}
|
|
38
39
|
onClick={this._onNativeInputClick}
|
|
39
40
|
onChange={this._onChange}
|
|
40
41
|
data-sap-focus-ref
|
|
41
42
|
/>
|
|
43
|
+
{this.hasValueState &&
|
|
44
|
+
<span id="valueStateDesc" class="ui5-hidden-text">{this.ariaValueStateHiddenText}</span>
|
|
45
|
+
}
|
|
42
46
|
</div>
|
|
43
47
|
|
|
44
48
|
{this.hideInput ? (
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type InputIcon from "./InputIcon.js";
|
|
2
|
+
import Icon from "./Icon.js";
|
|
3
|
+
|
|
4
|
+
export default function InputIconTemplate(this: InputIcon) {
|
|
5
|
+
return (
|
|
6
|
+
<>
|
|
7
|
+
{!this.readonly &&
|
|
8
|
+
<div
|
|
9
|
+
class={{
|
|
10
|
+
"ui5-input-icon-root": true,
|
|
11
|
+
"inputIcon": true,
|
|
12
|
+
"inputIcon--pressed": this._pressed,
|
|
13
|
+
"inputIcon--focused": this._focused,
|
|
14
|
+
"inputIcon--disabled": this.disabled,
|
|
15
|
+
}}
|
|
16
|
+
role="button"
|
|
17
|
+
tabindex={this.effectiveTabIndex}
|
|
18
|
+
aria-label={this.effectiveAriaLabel}
|
|
19
|
+
aria-disabled={this.disabled}
|
|
20
|
+
title={this.effectiveTitle}
|
|
21
|
+
onClick={this._onclick}
|
|
22
|
+
onMouseDown={this._onmousedown}
|
|
23
|
+
onMouseUp={this._onmouseup}
|
|
24
|
+
onMouseLeave={this._onmouseleave}
|
|
25
|
+
onFocus={this._onfocus}
|
|
26
|
+
onBlur={this._onblur}
|
|
27
|
+
onKeyDown={this._onkeydown}
|
|
28
|
+
onKeyUp={this._onkeyup}
|
|
29
|
+
part="root"
|
|
30
|
+
>
|
|
31
|
+
{this.name && (
|
|
32
|
+
<Icon
|
|
33
|
+
name={this.name}
|
|
34
|
+
class="ui5-input-icon-inner"
|
|
35
|
+
aria-hidden="true"
|
|
36
|
+
/>
|
|
37
|
+
)}
|
|
38
|
+
</div>
|
|
39
|
+
}
|
|
40
|
+
</>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type MenuSeparator from "./MenuSeparator.js";
|
|
2
|
-
import ListItemCustom from "./ListItemCustom.js";
|
|
3
2
|
|
|
4
3
|
export default function MenuSeparatorTemplate(this: MenuSeparator) {
|
|
5
4
|
return (
|
|
6
|
-
<
|
|
5
|
+
<li
|
|
6
|
+
role="separator"
|
|
7
7
|
class="ui5-menu-separator"
|
|
8
|
-
_forcedAccessibleRole="separator"
|
|
9
|
-
disabled={true}
|
|
10
8
|
/>
|
|
11
9
|
);
|
|
12
10
|
}
|
|
@@ -3,12 +3,15 @@ import ListItemBaseTemplate from "./ListItemBaseTemplate.js";
|
|
|
3
3
|
import type MultiComboBoxItem from "./MultiComboBoxItem.js";
|
|
4
4
|
|
|
5
5
|
export default function MultiComboBoxItemTemplate(this: MultiComboBoxItem) {
|
|
6
|
-
return ListItemBaseTemplate.call(this, { listItemContent }, {
|
|
6
|
+
return ListItemBaseTemplate.call(this, { listItemContent }, {
|
|
7
|
+
role: "option",
|
|
8
|
+
});
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
function listItemContent(this: MultiComboBoxItem) {
|
|
10
12
|
return (
|
|
11
13
|
<>
|
|
14
|
+
<span class="ui5-hidden-text">{this._selectionStateText}</span>
|
|
12
15
|
<CheckBox
|
|
13
16
|
disabled={this._readonly}
|
|
14
17
|
checked={this.selected}
|
package/src/SliderTemplate.tsx
CHANGED
|
@@ -78,6 +78,7 @@ export default function SliderTemplate(this: Slider) {
|
|
|
78
78
|
max={this.max}
|
|
79
79
|
step={this.step}
|
|
80
80
|
startValue={this.min}
|
|
81
|
+
progressAriaValueNow={this.value}
|
|
81
82
|
showTickmarks={this.showTickmarks || this._hasCustomTickmarks}
|
|
82
83
|
labelInterval={this._hasCustomTickmarks ? 1 : this.labelInterval}
|
|
83
84
|
tickmarks={this.tickmarks}
|
|
@@ -430,7 +430,7 @@ MESSAGE_STRIP_WARNING=Warning Message Strip
|
|
|
430
430
|
MESSAGE_STRIP_SUCCESS=Success Message Strip
|
|
431
431
|
|
|
432
432
|
#XACT: ARIA announcement for the MessageStrip's "Information" state
|
|
433
|
-
MESSAGE_STRIP_INFORMATION=Message Strip
|
|
433
|
+
MESSAGE_STRIP_INFORMATION=Information Message Strip
|
|
434
434
|
|
|
435
435
|
#XACT: ARIA announcement for the MessageStrip's "Custom" state
|
|
436
436
|
MESSAGE_STRIP_CUSTOM=Custom Message Strip
|
|
@@ -873,6 +873,13 @@ DIALOG_CONTENT_ARIA_LABEL=Content
|
|
|
873
873
|
|
|
874
874
|
#XACT: ARIA label for the Dialog footer region
|
|
875
875
|
DIALOG_FOOTER_ARIA_LABEL=Footer
|
|
876
|
+
|
|
877
|
+
#XACT: Tooltip for dialog fullscreen button (maximize)
|
|
878
|
+
DIALOG_FULLSCREEN_MAXIMIZE=Maximize (Shift+Ctrl+F)
|
|
879
|
+
|
|
880
|
+
#XACT: Tooltip for dialog fullscreen button (restore)
|
|
881
|
+
DIALOG_FULLSCREEN_RESTORE=Restore (Shift+Ctrl+F)
|
|
882
|
+
|
|
876
883
|
#XFLD: A colon to separate the "label" from an input. In some languages there might be a different symbol used for such a colon
|
|
877
884
|
LABEL_COLON=:
|
|
878
885
|
|
package/src/themes/Dialog.css
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
cursor: move;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
:host([draggable]) .ui5-popup-header-root
|
|
32
|
+
:host([draggable]) .ui5-popup-header-root *:not(.ui5-dialog-fullscreen-btn) {
|
|
33
33
|
cursor: auto;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -125,6 +125,18 @@
|
|
|
125
125
|
height: 100%;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
:host(:not([header-text])[_show-fullscreen-button]) .ui5-popup-header-root {
|
|
129
|
+
justify-content: flex-end;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
:host([header-text][_show-fullscreen-button]) .ui5-popup-header-root {
|
|
133
|
+
justify-content: space-between;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.ui5-popup-header-root {
|
|
137
|
+
gap: 0.5rem;
|
|
138
|
+
}
|
|
139
|
+
|
|
128
140
|
.ui5-popup-content {
|
|
129
141
|
min-height: var(--_ui5_dialog_content_min_height);
|
|
130
142
|
flex: 1 1 auto;
|
|
@@ -144,6 +156,15 @@
|
|
|
144
156
|
color: var(--sapButton_Lite_TextColor);
|
|
145
157
|
}
|
|
146
158
|
|
|
159
|
+
.ui5-popup-header-text {
|
|
160
|
+
min-width: 0;
|
|
161
|
+
justify-content: flex-start;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
:host([on-phone]) .ui5-dialog-fullscreen-btn {
|
|
165
|
+
display: none;
|
|
166
|
+
}
|
|
167
|
+
|
|
147
168
|
:host::backdrop {
|
|
148
169
|
background-color: var(--_ui5_popup_block_layer_background);
|
|
149
170
|
opacity: var(--_ui5_popup_block_layer_opacity);
|