@ui5/webcomponents 2.22.0-rc.1 → 2.22.0-rc.2

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.
Files changed (56) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/AvatarBadge.d.ts +15 -1
  4. package/dist/AvatarBadge.js +40 -3
  5. package/dist/AvatarBadge.js.map +1 -1
  6. package/dist/AvatarBadgeTemplate.js +1 -1
  7. package/dist/AvatarBadgeTemplate.js.map +1 -1
  8. package/dist/ComboBox.js +6 -1
  9. package/dist/ComboBox.js.map +1 -1
  10. package/dist/Input.d.ts +5 -2
  11. package/dist/Input.js +3 -2
  12. package/dist/Input.js.map +1 -1
  13. package/dist/MultiComboBox.js +3 -0
  14. package/dist/MultiComboBox.js.map +1 -1
  15. package/dist/StepInput.d.ts +2 -2
  16. package/dist/StepInput.js +17 -7
  17. package/dist/StepInput.js.map +1 -1
  18. package/dist/Switch.d.ts +2 -0
  19. package/dist/Switch.js +7 -1
  20. package/dist/Switch.js.map +1 -1
  21. package/dist/SwitchTemplate.js +2 -2
  22. package/dist/SwitchTemplate.js.map +1 -1
  23. package/dist/css/themes/StepInput.css +1 -1
  24. package/dist/css/themes/Switch.css +1 -1
  25. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -1
  26. package/dist/css/themes/sap_horizon_auto/parameters-bundle.css +2 -2
  27. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  28. package/dist/custom-elements-internal.json +30 -10
  29. package/dist/custom-elements.json +29 -10
  30. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  31. package/dist/generated/assets/themes/sap_horizon_auto/parameters-bundle.css.json +1 -1
  32. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  33. package/dist/generated/themes/StepInput.css.d.ts +1 -1
  34. package/dist/generated/themes/StepInput.css.js +1 -1
  35. package/dist/generated/themes/StepInput.css.js.map +1 -1
  36. package/dist/generated/themes/Switch.css.d.ts +1 -1
  37. package/dist/generated/themes/Switch.css.js +1 -1
  38. package/dist/generated/themes/Switch.css.js.map +1 -1
  39. package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +1 -1
  40. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  41. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  42. package/dist/generated/themes/sap_horizon_auto/parameters-bundle.css.d.ts +1 -1
  43. package/dist/generated/themes/sap_horizon_auto/parameters-bundle.css.js +2 -2
  44. package/dist/generated/themes/sap_horizon_auto/parameters-bundle.css.js.map +1 -1
  45. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +1 -1
  46. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
  47. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  48. package/dist/vscode.html-custom-data.json +11 -6
  49. package/dist/web-types.json +23 -13
  50. package/package.json +9 -9
  51. package/src/AvatarBadgeTemplate.tsx +3 -1
  52. package/src/SwitchTemplate.tsx +3 -0
  53. package/src/themes/StepInput.css +2 -1
  54. package/src/themes/Switch.css +4 -2
  55. package/src/themes/sap_horizon/Select-parameters.css +2 -0
  56. package/src/themes/sap_horizon_dark/Select-parameters.css +2 -0
@@ -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.22.0-rc.1",
4
+ "version": "2.22.0-rc.2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -173,6 +173,11 @@
173
173
  "description": "### Overview\n\nThe `ui5-avatar-badge` component is used to display a badge on top of `ui5-avatar` component.\nThe badge can display an icon and supports different states for visual affordance.\n\n### Usage\n\nThe badge should be used as a child element of `ui5-avatar` in the `badge` slot.\n\n```html\n<ui5-avatar>\n <ui5-avatar-badge icon=\"edit\" slot=\"badge\"></ui5-avatar-badge>\n</ui5-avatar>\n```\n\n### Keyboard Handling\n\nThe badge does not receive keyboard focus.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents/dist/AvatarBadge.js\";`\n---\n",
174
174
  "doc-url": "",
175
175
  "attributes": [
176
+ {
177
+ "name": "accessible-name",
178
+ "description": "Defines the custom text alternative of the badge icon.\n\n**Note:** If not provided, the badge uses the icon accessible name.\nIf no icon accessible name is available, a generic fallback text is used.",
179
+ "value": { "type": "string | undefined", "default": "undefined" }
180
+ },
176
181
  {
177
182
  "name": "icon",
178
183
  "description": "Defines the icon name to be displayed inside the badge.\n\n**Note:** You should import the desired icon first, then use its name as \"icon\".\n\n`import \"@ui5/webcomponents-icons/dist/{icon_name}.js\"`",
@@ -190,6 +195,11 @@
190
195
  "events": [],
191
196
  "js": {
192
197
  "properties": [
198
+ {
199
+ "name": "accessible-name",
200
+ "description": "Defines the custom text alternative of the badge icon.\n\n**Note:** If not provided, the badge uses the icon accessible name.\nIf no icon accessible name is available, a generic fallback text is used.",
201
+ "value": { "type": "string | undefined" }
202
+ },
193
203
  {
194
204
  "name": "icon",
195
205
  "description": "Defines the icon name to be displayed inside the badge.\n\n**Note:** You should import the desired icon first, then use its name as \"icon\".\n\n`import \"@ui5/webcomponents-icons/dist/{icon_name}.js\"`",
@@ -2928,7 +2938,7 @@
2928
2938
  },
2929
2939
  {
2930
2940
  "name": "ui5-datetime-input",
2931
- "description": "Extention of the UI5 Input, so we do not modify Input's private properties within the datetime components.\nIntended to be used for the DateTime components.\n---\n\n\n### **Events:**\n - **change** - Fired when the input operation has finished by pressing Enter or on focusout.\n- **close** - Fired when the suggestions picker is closed.\n- **input** - Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.\n- **open** - Fired when the suggestions picker is open.\n- **select** - Fired when some text has been selected.\n- **selection-change** - Fired when the user navigates to a suggestion item via the ARROW keys,\nas a preview, before the final selection.\n\n### **Slots:**\n - **default** - Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n- **icon** - Defines the icon to be displayed in the component.\n- **valueStateMessage** - Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\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 component is in `Information`, `Critical` or `Negative` value state.\n\n**Note:** If the component has `suggestionItems`,\nthe `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.\n\n### **CSS Parts:**\n - **clear-icon** - Used to style the clear icon, which can be pressed to clear user input text\n- **input** - Used to style the native input element\n- **root** - Used to style the root DOM element of the Input component",
2941
+ "description": "Extention of the UI5 Input, so we do not modify Input's private properties within the datetime components.\nIntended to be used for the DateTime components.\n---\n\n\n### **Events:**\n - **change** - Fired when the input operation has finished by pressing Enter or on focusout.\n- **close** - Fired when the suggestions picker is closed.\n- **input** - Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.\n- **open** - Fired when the suggestions picker is open.\n- **select** - Fired when some text has been selected.\n- **selection-change** - Fired when the user navigates to a suggestion item via the ARROW keys,\nas a preview, before the final selection.\n\n### **Slots:**\n - **default** - Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n\n**Note:** Input with type `Number` does not support suggestions.\n- **icon** - Defines the icon to be displayed in the component.\n- **valueStateMessage** - Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\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 component is in `Information`, `Critical` or `Negative` value state.\n\n**Note:** If the component has `suggestionItems`,\nthe `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.\n\n### **CSS Parts:**\n - **clear-icon** - Used to style the clear icon, which can be pressed to clear user input text\n- **input** - Used to style the native input element\n- **root** - Used to style the root DOM element of the Input component",
2932
2942
  "doc-url": "",
2933
2943
  "attributes": [
2934
2944
  {
@@ -3011,7 +3021,7 @@
3011
3021
  },
3012
3022
  {
3013
3023
  "name": "type",
3014
- "description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.",
3024
+ "description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.\n- Type `Number` does not support suggestions.",
3015
3025
  "value": {
3016
3026
  "type": "\"Text\" | \"Email\" | \"Number\" | \"Password\" | \"Tel\" | \"URL\" | \"Search\"",
3017
3027
  "default": "\"Text\""
@@ -3034,7 +3044,7 @@
3034
3044
  "slots": [
3035
3045
  {
3036
3046
  "name": "default",
3037
- "description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items."
3047
+ "description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n\n**Note:** Input with type `Number` does not support suggestions."
3038
3048
  },
3039
3049
  {
3040
3050
  "name": "icon",
@@ -3152,7 +3162,7 @@
3152
3162
  },
3153
3163
  {
3154
3164
  "name": "type",
3155
- "description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.",
3165
+ "description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.\n- Type `Number` does not support suggestions.",
3156
3166
  "value": {
3157
3167
  "type": "\"Text\" | \"Email\" | \"Number\" | \"Password\" | \"Tel\" | \"URL\" | \"Search\""
3158
3168
  }
@@ -4509,7 +4519,7 @@
4509
4519
  },
4510
4520
  {
4511
4521
  "name": "ui5-input",
4512
- "description": "### Overview\n\nThe `ui5-input` component allows the user to enter and edit text or numeric values in one line.\n\nAdditionally, you can provide `suggestionItems`,\nthat are displayed in a popover right under the input.\n\nThe text field can be editable or read-only (`readonly` property),\nand it can be enabled or disabled (`disabled` property).\nTo visualize semantic states, such as \"Negative\" or \"Critical\", the `valueState` property is provided.\nWhen the user makes changes to the text, the change event is fired,\nwhich enables you to react on any text change.\n\n### Keyboard Handling\nThe `ui5-input` provides the following keyboard shortcuts:\n\n- [Escape] - Closes the suggestion list, if open. If closed or not enabled, cancels changes and reverts to the value which the Input field had when it got the focus.\n- [Enter] or [Return] - If suggestion list is open takes over the current matching item and closes it. If value state or group header is focused, does nothing.\n- [Down] - Focuses the next matching item in the suggestion list. Selection-change event is fired.\n- [Up] - Focuses the previous matching item in the suggestion list. Selection-change event is fired.\n- [Home] - If focus is in the text input, moves caret before the first character. If focus is in the list, highlights the first item and updates the input accordingly.\n- [End] - If focus is in the text input, moves caret after the last character. If focus is in the list, highlights the last item and updates the input accordingly.\n- [Page Up] - If focus is in the list, moves highlight up by page size (10 items by default). If focus is in the input, does nothing.\n- [Page Down] - If focus is in the list, moves highlight down by page size (10 items by default). If focus is in the input, does nothing.\n- [Ctrl]+[Alt]+[F8] or [Command]+[Option]+[F8] - Focuses the first link in the value state message, if available. Pressing [Tab] moves the focus to the next link in the value state message, or closes the value state message if there are no more links.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/Input.js\";`\n---\n\n\n### **Events:**\n - **change** - Fired when the input operation has finished by pressing Enter or on focusout.\n- **close** - Fired when the suggestions picker is closed.\n- **input** - Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.\n- **open** - Fired when the suggestions picker is open.\n- **select** - Fired when some text has been selected.\n- **selection-change** - Fired when the user navigates to a suggestion item via the ARROW keys,\nas a preview, before the final selection.\n\n### **Slots:**\n - **default** - Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n- **icon** - Defines the icon to be displayed in the component.\n- **valueStateMessage** - Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\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 component is in `Information`, `Critical` or `Negative` value state.\n\n**Note:** If the component has `suggestionItems`,\nthe `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.\n\n### **CSS Parts:**\n - **clear-icon** - Used to style the clear icon, which can be pressed to clear user input text\n- **input** - Used to style the native input element\n- **root** - Used to style the root DOM element of the Input component",
4522
+ "description": "### Overview\n\nThe `ui5-input` component allows the user to enter and edit text or numeric values in one line.\n\nAdditionally, you can provide `suggestionItems`\nthat are displayed in a popover right under the input. Keep in mind that `ui5-input` with type `Number` does not support suggestions.\n\nThe text field can be editable or read-only (`readonly` property),\nand it can be enabled or disabled (`disabled` property).\nTo visualize semantic states, such as \"Negative\" or \"Critical\", the `valueState` property is provided.\nWhen the user makes changes to the text, the change event is fired,\nwhich enables you to react on any text change.\n\n### Keyboard Handling\nThe `ui5-input` provides the following keyboard shortcuts:\n\n- [Escape] - Closes the suggestion list, if open. If closed or not enabled, cancels changes and reverts to the value which the Input field had when it got the focus.\n- [Enter] or [Return] - If suggestion list is open takes over the current matching item and closes it. If value state or group header is focused, does nothing.\n- [Down] - Focuses the next matching item in the suggestion list. Selection-change event is fired.\n- [Up] - Focuses the previous matching item in the suggestion list. Selection-change event is fired.\n- [Home] - If focus is in the text input, moves caret before the first character. If focus is in the list, highlights the first item and updates the input accordingly.\n- [End] - If focus is in the text input, moves caret after the last character. If focus is in the list, highlights the last item and updates the input accordingly.\n- [Page Up] - If focus is in the list, moves highlight up by page size (10 items by default). If focus is in the input, does nothing.\n- [Page Down] - If focus is in the list, moves highlight down by page size (10 items by default). If focus is in the input, does nothing.\n- [Ctrl]+[Alt]+[F8] or [Command]+[Option]+[F8] - Focuses the first link in the value state message, if available. Pressing [Tab] moves the focus to the next link in the value state message, or closes the value state message if there are no more links.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/Input.js\";`\n---\n\n\n### **Events:**\n - **change** - Fired when the input operation has finished by pressing Enter or on focusout.\n- **close** - Fired when the suggestions picker is closed.\n- **input** - Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.\n- **open** - Fired when the suggestions picker is open.\n- **select** - Fired when some text has been selected.\n- **selection-change** - Fired when the user navigates to a suggestion item via the ARROW keys,\nas a preview, before the final selection.\n\n### **Slots:**\n - **default** - Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n\n**Note:** Input with type `Number` does not support suggestions.\n- **icon** - Defines the icon to be displayed in the component.\n- **valueStateMessage** - Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\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 component is in `Information`, `Critical` or `Negative` value state.\n\n**Note:** If the component has `suggestionItems`,\nthe `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.\n\n### **CSS Parts:**\n - **clear-icon** - Used to style the clear icon, which can be pressed to clear user input text\n- **input** - Used to style the native input element\n- **root** - Used to style the root DOM element of the Input component",
4513
4523
  "doc-url": "",
4514
4524
  "attributes": [
4515
4525
  {
@@ -4592,7 +4602,7 @@
4592
4602
  },
4593
4603
  {
4594
4604
  "name": "type",
4595
- "description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.",
4605
+ "description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.\n- Type `Number` does not support suggestions.",
4596
4606
  "value": {
4597
4607
  "type": "\"Text\" | \"Email\" | \"Number\" | \"Password\" | \"Tel\" | \"URL\" | \"Search\"",
4598
4608
  "default": "\"Text\""
@@ -4615,7 +4625,7 @@
4615
4625
  "slots": [
4616
4626
  {
4617
4627
  "name": "default",
4618
- "description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items."
4628
+ "description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n\n**Note:** Input with type `Number` does not support suggestions."
4619
4629
  },
4620
4630
  {
4621
4631
  "name": "icon",
@@ -4733,7 +4743,7 @@
4733
4743
  },
4734
4744
  {
4735
4745
  "name": "type",
4736
- "description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.",
4746
+ "description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.\n- Type `Number` does not support suggestions.",
4737
4747
  "value": {
4738
4748
  "type": "\"Text\" | \"Email\" | \"Number\" | \"Password\" | \"Tel\" | \"URL\" | \"Search\""
4739
4749
  }
@@ -6743,7 +6753,7 @@
6743
6753
  },
6744
6754
  {
6745
6755
  "name": "ui5-multi-input",
6746
- "description": "### Overview\nA `ui5-multi-input` field allows the user to enter multiple values, which are displayed as `ui5-token`.\n\nUser can choose interaction for creating tokens.\nFiori Guidelines say that user should create tokens when:\n\n- Type a value in the input and press enter or focus out the input field (`change` event is fired)\n- Move between suggestion items (`selection-change` event is fired)\n- Clicking on a suggestion item (`selection-change` event is fired if the clicked item is different than the current value. Also `change` event is fired )\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/MultiInput.js\";`\n---\n\n\n### **Events:**\n - **change** - Fired when the input operation has finished by pressing Enter or on focusout.\n- **close** - Fired when the suggestions picker is closed.\n- **input** - Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.\n- **open** - Fired when the suggestions picker is open.\n- **select** - Fired when some text has been selected.\n- **selection-change** - Fired when the user navigates to a suggestion item via the ARROW keys,\nas a preview, before the final selection.\n- **token-delete** - Fired when tokens are being deleted.\n- **value-help-trigger** - Fired when the value help icon is pressed\nand F4 or ALT/OPTION + ARROW_UP/ARROW_DOWN keyboard keys are used.\n\n### **Slots:**\n - **default** - Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n- **icon** - Defines the icon to be displayed in the component.\n- **tokens** - Defines the component tokens.\n- **valueStateMessage** - Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\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 component is in `Information`, `Critical` or `Negative` value state.\n\n**Note:** If the component has `suggestionItems`,\nthe `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.\n\n### **CSS Parts:**\n - **clear-icon** - Used to style the clear icon, which can be pressed to clear user input text\n- **input** - Used to style the native input element\n- **root** - Used to style the root DOM element of the Input component",
6756
+ "description": "### Overview\nA `ui5-multi-input` field allows the user to enter multiple values, which are displayed as `ui5-token`.\n\nUser can choose interaction for creating tokens.\nFiori Guidelines say that user should create tokens when:\n\n- Type a value in the input and press enter or focus out the input field (`change` event is fired)\n- Move between suggestion items (`selection-change` event is fired)\n- Clicking on a suggestion item (`selection-change` event is fired if the clicked item is different than the current value. Also `change` event is fired )\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/MultiInput.js\";`\n---\n\n\n### **Events:**\n - **change** - Fired when the input operation has finished by pressing Enter or on focusout.\n- **close** - Fired when the suggestions picker is closed.\n- **input** - Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.\n- **open** - Fired when the suggestions picker is open.\n- **select** - Fired when some text has been selected.\n- **selection-change** - Fired when the user navigates to a suggestion item via the ARROW keys,\nas a preview, before the final selection.\n- **token-delete** - Fired when tokens are being deleted.\n- **value-help-trigger** - Fired when the value help icon is pressed\nand F4 or ALT/OPTION + ARROW_UP/ARROW_DOWN keyboard keys are used.\n\n### **Slots:**\n - **default** - Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n\n**Note:** Input with type `Number` does not support suggestions.\n- **icon** - Defines the icon to be displayed in the component.\n- **tokens** - Defines the component tokens.\n- **valueStateMessage** - Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\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 component is in `Information`, `Critical` or `Negative` value state.\n\n**Note:** If the component has `suggestionItems`,\nthe `valueStateMessage` would be displayed as part of the same popover, if used on desktop, or dialog - on phone.\n\n### **CSS Parts:**\n - **clear-icon** - Used to style the clear icon, which can be pressed to clear user input text\n- **input** - Used to style the native input element\n- **root** - Used to style the root DOM element of the Input component",
6747
6757
  "doc-url": "",
6748
6758
  "attributes": [
6749
6759
  {
@@ -6831,7 +6841,7 @@
6831
6841
  },
6832
6842
  {
6833
6843
  "name": "type",
6834
- "description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.",
6844
+ "description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.\n- Type `Number` does not support suggestions.",
6835
6845
  "value": {
6836
6846
  "type": "\"Text\" | \"Email\" | \"Number\" | \"Password\" | \"Tel\" | \"URL\" | \"Search\"",
6837
6847
  "default": "\"Text\""
@@ -6854,7 +6864,7 @@
6854
6864
  "slots": [
6855
6865
  {
6856
6866
  "name": "default",
6857
- "description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items."
6867
+ "description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n\n**Note:** Input with type `Number` does not support suggestions."
6858
6868
  },
6859
6869
  {
6860
6870
  "name": "icon",
@@ -6989,7 +6999,7 @@
6989
6999
  },
6990
7000
  {
6991
7001
  "name": "type",
6992
- "description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.",
7002
+ "description": "Defines the HTML type of the component.\n\n**Notes:**\n\n- The particular effect of this property differs depending on the browser\nand the current language settings, especially for type `Number`.\n- The property is mostly intended to be used with touch devices\nthat use different soft keyboard layouts depending on the given input type.\n- Type `Number` does not support suggestions.",
6993
7003
  "value": {
6994
7004
  "type": "\"Text\" | \"Email\" | \"Number\" | \"Password\" | \"Tel\" | \"URL\" | \"Search\""
6995
7005
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents",
3
- "version": "2.22.0-rc.1",
3
+ "version": "2.22.0-rc.2",
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.22.0-rc.1",
58
- "@ui5/webcomponents-icons": "2.22.0-rc.1",
59
- "@ui5/webcomponents-icons-business-suite": "2.22.0-rc.1",
60
- "@ui5/webcomponents-icons-tnt": "2.22.0-rc.1",
61
- "@ui5/webcomponents-localization": "2.22.0-rc.1",
62
- "@ui5/webcomponents-theming": "2.22.0-rc.1"
57
+ "@ui5/webcomponents-base": "2.22.0-rc.2",
58
+ "@ui5/webcomponents-icons": "2.22.0-rc.2",
59
+ "@ui5/webcomponents-icons-business-suite": "2.22.0-rc.2",
60
+ "@ui5/webcomponents-icons-tnt": "2.22.0-rc.2",
61
+ "@ui5/webcomponents-localization": "2.22.0-rc.2",
62
+ "@ui5/webcomponents-theming": "2.22.0-rc.2"
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.22.0-rc.1",
67
+ "@ui5/webcomponents-tools": "2.22.0-rc.2",
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": "00afa74564cad7075396a487d66411ed6564e747"
74
+ "gitHead": "9b3c209d9527a97ea969ed643014fa1616686b21"
75
75
  }
@@ -8,7 +8,9 @@ export default function AvatarBadgeTemplate(this: AvatarBadge) {
8
8
  <Icon
9
9
  name={this.icon}
10
10
  class="ui5-avatar-badge-icon"
11
- mode="Decorative"
11
+ accessibleName={this.effectiveAccessibleName}
12
+ showTooltip={true}
13
+ mode="Image"
12
14
  ></Icon>
13
15
  )}
14
16
  </>
@@ -22,6 +22,7 @@ export default function SwitchTemplate(this: Switch) {
22
22
  aria-disabled={this.effectiveAriaDisabled}
23
23
  aria-readonly={this.effectiveAriaReadonly}
24
24
  aria-required={this.required}
25
+ aria-describedby={this.ariaDescribedBy}
25
26
  onClick={this._onclick}
26
27
  onKeyUp={this._onkeyup}
27
28
  onKeyDown={this._onkeydown}
@@ -61,6 +62,8 @@ export default function SwitchTemplate(this: Switch) {
61
62
  </>
62
63
  }
63
64
 
65
+ {this.readonly && <span class="ui5-switch-text ui5-switch-text--readonly" id={this.ariaDescribedBy} aria-hidden={this._textAriaHidden}>{this.ariaDescribedByText}</span>}
66
+
64
67
  <span class="ui5-switch-handle" part="handle"></span>
65
68
  </div>
66
69
  </div>
@@ -18,6 +18,7 @@
18
18
  box-sizing: border-box;
19
19
  height: var(--_ui5_input_height);
20
20
  position: relative;
21
+ isolation: isolate;
21
22
  margin: var(--_ui5_input_margin_top_bottom) 0;
22
23
  min-width: var(--_ui5_step_input_min_width);
23
24
  text-align: right;
@@ -99,7 +100,7 @@
99
100
  pointer-events: none;
100
101
  border-radius: var(--sapField_BorderCornerRadius);
101
102
  border-style: var(--_ui5_input_error_warning_border_style);
102
- z-index: 1;
103
+ z-index: 0;
103
104
  border-width: 0px;
104
105
  }
105
106
 
@@ -145,10 +145,12 @@
145
145
  cursor: default;
146
146
  }
147
147
 
148
- .ui5-switch-root.ui5-switch--checked .ui5-switch-text--off {
148
+ .ui5-switch-root.ui5-switch--checked .ui5-switch-text--off,
149
+ .ui5-switch-root.ui5-switch--checked .ui5-switch-text--readonly {
149
150
  visibility: var(--_ui5_switch_text_hidden);
150
151
  }
151
- .ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--on {
152
+ .ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--on,
153
+ .ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--readonly {
152
154
  visibility: var(--_ui5_switch_text_hidden);
153
155
  }
154
156
 
@@ -4,4 +4,6 @@
4
4
  --_ui5_select_hover_icon_left_border: none;
5
5
  --_ui5_select_icon_wrapper_height: calc(100% - 0.0625rem);
6
6
  --_ui5_select_icon_wrapper_state_height: calc(100% - 0.125rem);
7
+ --_ui5_input_focus_outline_color: var(--sapContent_FocusColor);
8
+ --_ui5_input_readonly_focus_border_radius: 0;
7
9
  }
@@ -4,4 +4,6 @@
4
4
  --_ui5_select_hover_icon_left_border: none;
5
5
  --_ui5_select_icon_wrapper_height: calc(100% - 0.0625rem);
6
6
  --_ui5_select_icon_wrapper_state_height: calc(100% - 0.125rem);
7
+ --_ui5_input_focus_outline_color: var(--sapContent_FocusColor);
8
+ --_ui5_input_readonly_focus_border_radius: 0;
7
9
  }