@ui5/webcomponents-ai 0.0.0-acc6fea96 → 0.0.0-b3a4f8020

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 (240) hide show
  1. package/.ui5-cem-aliases.json +4 -0
  2. package/CHANGELOG.md +695 -0
  3. package/LICENSE.txt +201 -0
  4. package/README.md +12 -10
  5. package/cypress.config.js +3 -0
  6. package/dist/.tsbuildinfo +1 -0
  7. package/dist/Assets-fetch.d.ts +3 -0
  8. package/dist/Assets-fetch.js +6 -0
  9. package/dist/Assets-fetch.js.map +1 -0
  10. package/dist/Assets-node.d.ts +14 -0
  11. package/dist/Assets-node.js +17 -0
  12. package/dist/Assets-node.js.map +1 -0
  13. package/dist/Button.d.ts +45 -5
  14. package/dist/Button.js +70 -14
  15. package/dist/Button.js.map +1 -1
  16. package/dist/ButtonState.d.ts +5 -4
  17. package/dist/ButtonState.js +6 -5
  18. package/dist/ButtonState.js.map +1 -1
  19. package/dist/ButtonTemplate.js +1 -1
  20. package/dist/ButtonTemplate.js.map +1 -1
  21. package/dist/Input.d.ts +144 -0
  22. package/dist/Input.js +291 -0
  23. package/dist/Input.js.map +1 -0
  24. package/dist/InputTemplate.d.ts +10 -0
  25. package/dist/InputTemplate.js +28 -0
  26. package/dist/InputTemplate.js.map +1 -0
  27. package/dist/PromptInput.d.ts +10 -13
  28. package/dist/PromptInput.js +5 -6
  29. package/dist/PromptInput.js.map +1 -1
  30. package/dist/TextArea.d.ts +125 -0
  31. package/dist/TextArea.js +272 -0
  32. package/dist/TextArea.js.map +1 -0
  33. package/dist/TextAreaTemplate.d.ts +2 -0
  34. package/dist/TextAreaTemplate.js +13 -0
  35. package/dist/TextAreaTemplate.js.map +1 -0
  36. package/dist/ToolbarLabel.d.ts +39 -0
  37. package/dist/ToolbarLabel.js +67 -0
  38. package/dist/ToolbarLabel.js.map +1 -0
  39. package/dist/ToolbarLabelTemplate.d.ts +2 -0
  40. package/dist/ToolbarLabelTemplate.js +5 -0
  41. package/dist/ToolbarLabelTemplate.js.map +1 -0
  42. package/dist/Versioning.d.ts +95 -0
  43. package/dist/Versioning.js +187 -0
  44. package/dist/Versioning.js.map +1 -0
  45. package/dist/VersioningTemplate.d.ts +4 -0
  46. package/dist/VersioningTemplate.js +9 -0
  47. package/dist/VersioningTemplate.js.map +1 -0
  48. package/dist/WritingAssistant.d.ts +101 -0
  49. package/dist/WritingAssistant.js +201 -0
  50. package/dist/WritingAssistant.js.map +1 -0
  51. package/dist/WritingAssistantTemplate.d.ts +2 -0
  52. package/dist/WritingAssistantTemplate.js +12 -0
  53. package/dist/WritingAssistantTemplate.js.map +1 -0
  54. package/dist/bundle.esm.js +2 -0
  55. package/dist/bundle.esm.js.map +1 -1
  56. package/dist/css/themes/Button.css +1 -1
  57. package/dist/css/themes/Input.css +1 -0
  58. package/dist/css/themes/PromptInput.css +1 -1
  59. package/dist/css/themes/TextArea.css +1 -0
  60. package/dist/css/themes/Versioning.css +1 -0
  61. package/dist/css/themes/WritingAssistant.css +1 -0
  62. package/dist/css/themes/sap_horizon/parameters-bundle.css +1 -0
  63. package/dist/css/themes/sap_horizon_dark/parameters-bundle.css +1 -0
  64. package/dist/css/themes/sap_horizon_hcb/parameters-bundle.css +1 -0
  65. package/dist/css/themes/sap_horizon_hcw/parameters-bundle.css +1 -0
  66. package/dist/custom-elements-internal.json +1932 -145
  67. package/dist/custom-elements.json +1618 -87
  68. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
  69. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
  70. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
  71. package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -1
  72. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
  73. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
  74. package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
  75. package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
  76. package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
  77. package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
  78. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
  79. package/dist/generated/assets/i18n/messagebundle_en_US_sappsd.json +1 -1
  80. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
  81. package/dist/generated/assets/i18n/messagebundle_en_US_saptrc.json +1 -1
  82. package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
  83. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
  84. package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
  85. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
  86. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
  87. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
  88. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
  89. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
  90. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
  91. package/dist/generated/assets/i18n/messagebundle_id.json +1 -0
  92. package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
  93. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
  94. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
  95. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
  96. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
  97. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
  98. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
  99. package/dist/generated/assets/i18n/messagebundle_mk.json +1 -1
  100. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
  101. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
  102. package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
  103. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
  104. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
  105. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
  106. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
  107. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
  108. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
  109. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
  110. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
  111. package/dist/generated/assets/i18n/messagebundle_sr.json +1 -1
  112. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
  113. package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
  114. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
  115. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
  116. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
  117. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
  118. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
  119. package/dist/generated/assets/themes/sap_horizon/parameters-bundle.css.json +1 -1
  120. package/dist/generated/assets/themes/sap_horizon_dark/parameters-bundle.css.json +1 -1
  121. package/dist/generated/assets/themes/sap_horizon_hcb/parameters-bundle.css.json +1 -1
  122. package/dist/generated/assets/themes/sap_horizon_hcw/parameters-bundle.css.json +1 -1
  123. package/dist/generated/i18n/i18n-defaults.d.ts +15 -1
  124. package/dist/generated/i18n/i18n-defaults.js +15 -1
  125. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  126. package/dist/generated/json-imports/Themes-fetch.js +1 -1
  127. package/dist/generated/json-imports/Themes-fetch.js.map +1 -1
  128. package/dist/generated/json-imports/Themes-node.d.ts +1 -0
  129. package/dist/generated/json-imports/Themes-node.js +21 -0
  130. package/dist/generated/json-imports/Themes-node.js.map +1 -0
  131. package/dist/generated/json-imports/Themes.js +1 -1
  132. package/dist/generated/json-imports/Themes.js.map +1 -1
  133. package/dist/generated/json-imports/i18n-fetch.js +3 -1
  134. package/dist/generated/json-imports/i18n-fetch.js.map +1 -1
  135. package/dist/generated/json-imports/i18n-node.d.ts +1 -0
  136. package/dist/generated/json-imports/i18n-node.js +120 -0
  137. package/dist/generated/json-imports/i18n-node.js.map +1 -0
  138. package/dist/generated/json-imports/i18n.js +3 -1
  139. package/dist/generated/json-imports/i18n.js.map +1 -1
  140. package/dist/generated/themes/Button.css.d.ts +1 -1
  141. package/dist/generated/themes/Button.css.js +3 -3
  142. package/dist/generated/themes/Button.css.js.map +1 -1
  143. package/dist/generated/themes/Input.css.d.ts +2 -0
  144. package/dist/generated/themes/Input.css.js +8 -0
  145. package/dist/generated/themes/Input.css.js.map +1 -0
  146. package/dist/generated/themes/PromptInput.css.d.ts +1 -1
  147. package/dist/generated/themes/PromptInput.css.js +3 -3
  148. package/dist/generated/themes/PromptInput.css.js.map +1 -1
  149. package/dist/generated/themes/TextArea.css.d.ts +2 -0
  150. package/dist/generated/themes/TextArea.css.js +8 -0
  151. package/dist/generated/themes/TextArea.css.js.map +1 -0
  152. package/dist/generated/themes/Versioning.css.d.ts +2 -0
  153. package/dist/generated/themes/Versioning.css.js +8 -0
  154. package/dist/generated/themes/Versioning.css.js.map +1 -0
  155. package/dist/generated/themes/WritingAssistant.css.d.ts +2 -0
  156. package/dist/generated/themes/WritingAssistant.css.js +8 -0
  157. package/dist/generated/themes/WritingAssistant.css.js.map +1 -0
  158. package/dist/generated/themes/sap_horizon/parameters-bundle.css.d.ts +1 -1
  159. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -1
  160. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js.map +1 -1
  161. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.d.ts +1 -1
  162. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -1
  163. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js.map +1 -1
  164. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.d.ts +1 -1
  165. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -1
  166. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js.map +1 -1
  167. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.d.ts +1 -1
  168. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -1
  169. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  170. package/dist/vscode.html-custom-data.json +111 -6
  171. package/dist/web-types.json +321 -13
  172. package/package-scripts.cjs +4 -0
  173. package/package.json +25 -18
  174. package/src/ButtonTemplate.tsx +1 -0
  175. package/src/InputTemplate.tsx +197 -0
  176. package/src/TextArea.css +25 -0
  177. package/src/TextAreaTemplate.tsx +91 -0
  178. package/src/ToolbarLabelTemplate.tsx +9 -0
  179. package/src/VersioningTemplate.tsx +34 -0
  180. package/src/WritingAssistantTemplate.tsx +51 -0
  181. package/src/i18n/messagebundle.properties +43 -1
  182. package/src/i18n/messagebundle_ar.properties +28 -0
  183. package/src/i18n/messagebundle_bg.properties +28 -0
  184. package/src/i18n/messagebundle_ca.properties +28 -0
  185. package/src/i18n/messagebundle_cnr.properties +28 -0
  186. package/src/i18n/messagebundle_cs.properties +28 -0
  187. package/src/i18n/messagebundle_cy.properties +28 -0
  188. package/src/i18n/messagebundle_da.properties +28 -0
  189. package/src/i18n/messagebundle_de.properties +28 -0
  190. package/src/i18n/messagebundle_el.properties +28 -0
  191. package/src/i18n/messagebundle_en.properties +28 -0
  192. package/src/i18n/messagebundle_en_GB.properties +28 -0
  193. package/src/i18n/messagebundle_en_US_sappsd.properties +28 -0
  194. package/src/i18n/messagebundle_en_US_saprigi.properties +28 -0
  195. package/src/i18n/messagebundle_en_US_saptrc.properties +28 -0
  196. package/src/i18n/messagebundle_es.properties +28 -0
  197. package/src/i18n/messagebundle_es_MX.properties +29 -1
  198. package/src/i18n/messagebundle_et.properties +28 -0
  199. package/src/i18n/messagebundle_fi.properties +28 -0
  200. package/src/i18n/messagebundle_fr.properties +28 -0
  201. package/src/i18n/messagebundle_fr_CA.properties +28 -0
  202. package/src/i18n/messagebundle_hi.properties +28 -0
  203. package/src/i18n/messagebundle_hr.properties +30 -2
  204. package/src/i18n/messagebundle_hu.properties +28 -0
  205. package/src/i18n/messagebundle_id.properties +28 -0
  206. package/src/i18n/messagebundle_it.properties +28 -0
  207. package/src/i18n/messagebundle_iw.properties +28 -0
  208. package/src/i18n/messagebundle_ja.properties +28 -0
  209. package/src/i18n/messagebundle_kk.properties +28 -0
  210. package/src/i18n/messagebundle_ko.properties +28 -0
  211. package/src/i18n/messagebundle_lt.properties +28 -0
  212. package/src/i18n/messagebundle_lv.properties +28 -0
  213. package/src/i18n/messagebundle_mk.properties +28 -0
  214. package/src/i18n/messagebundle_ms.properties +28 -0
  215. package/src/i18n/messagebundle_nl.properties +28 -0
  216. package/src/i18n/messagebundle_no.properties +28 -0
  217. package/src/i18n/messagebundle_pl.properties +28 -0
  218. package/src/i18n/messagebundle_pt.properties +28 -0
  219. package/src/i18n/messagebundle_pt_PT.properties +28 -0
  220. package/src/i18n/messagebundle_ro.properties +28 -0
  221. package/src/i18n/messagebundle_ru.properties +28 -0
  222. package/src/i18n/messagebundle_sh.properties +28 -0
  223. package/src/i18n/messagebundle_sk.properties +28 -0
  224. package/src/i18n/messagebundle_sl.properties +28 -0
  225. package/src/i18n/messagebundle_sr.properties +28 -0
  226. package/src/i18n/messagebundle_sv.properties +28 -0
  227. package/src/i18n/messagebundle_th.properties +30 -2
  228. package/src/i18n/messagebundle_tr.properties +28 -0
  229. package/src/i18n/messagebundle_uk.properties +28 -0
  230. package/src/i18n/messagebundle_vi.properties +28 -0
  231. package/src/i18n/messagebundle_zh_CN.properties +28 -0
  232. package/src/i18n/messagebundle_zh_TW.properties +28 -0
  233. package/src/themes/Input.css +83 -0
  234. package/src/themes/PromptInput.css +5 -1
  235. package/src/themes/TextArea.css +45 -0
  236. package/src/themes/Versioning.css +20 -0
  237. package/src/themes/WritingAssistant.css +23 -0
  238. package/src/themes/base/Button-parameters.css +1 -1
  239. package/tsconfig.json +28 -1
  240. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@ui5/webcomponents-ai",
4
- "version": "2.6.0",
4
+ "version": "0.0.0-b3a4f8020",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "ui5-ai-button",
11
- "description": "### Overview\n\nThe `ui5-ai-button` component serves as a button for AI-related scenarios. Users can trigger actions by clicking or tapping the `ui5-ai-button`\nor by pressing keyboard keys like [Enter] or [Space].\n\n### Usage\n\nFor the `ui5-ai-button` user interface, you can define one or more button states by placing `ui5-ai-button-state` components in their default slot.\nEach state has a name for identification and can include text, an icon, and an end icon, as needed for its purpose.\nYou can define a split mode for the `ui5-ai-button`, which will results in displaying an arrow button for additional actions.\n\nYou can choose from a set of predefined designs for `ui5-ai-button` (as in `ui5-button`) to match the desired styling.\n\nThe `ui5-ai-button` can be activated by clicking or tapping it. You can change the button state in the click event handler. When the button is\nin split mode, you can activate the default button action by clicking or tapping it, or by pressing keyboard keys like [Enter] or [Space].\nYou can activate the arrow button by clicking or tapping it, or by pressing keyboard keys like [Arrow Up], [Arrow Down], or [F4].\nTo display additional actions, you can attach a menu to the arrow button.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Button.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- **arrow-click** - Fired when the component is in split mode and after the arrow button\nis activated either by clicking or tapping it or by using the [Arrow Up] / [Arrow Down],\n[Alt] + [Arrow Up]/ [Arrow Down], or [F4] keyboard keys.\n\n### **Slots:**\n - **default** - Defines the available states of the component.\n**Note:** Although this slot accepts HTML Elements, it is strongly recommended that\nyou only use `ui5-ai-button-state` components in order to preserve the intended design.",
11
+ "description": "### Overview\n\nThe `ui5-ai-button` component serves as a button for AI-related scenarios. Users can trigger actions by clicking or tapping the `ui5-ai-button`\nor by pressing keyboard keys like [Enter] or [Space].\n\n### Usage\n\nFor the `ui5-ai-button` user interface, you can define one or more button states by placing `ui5-ai-button-state` components in their default slot.\nEach state has a name for identification and can include text, an icon, and an end icon, as needed for its purpose.\nYou can define a split mode for the `ui5-ai-button`, which will results in displaying an arrow button for additional actions.\n\nYou can choose from a set of predefined designs for `ui5-ai-button` (as in `ui5-button`) to match the desired styling.\n\nThe `ui5-ai-button` can be activated by clicking or tapping it. You can change the button state in the click event handler. When the button is\nin split mode, you can activate the default button action by clicking or tapping it, or by pressing keyboard keys like [Enter] or [Space].\nYou can activate the arrow button by clicking or tapping it, or by pressing keyboard keys like [Arrow Up], [Arrow Down], or [F4].\nTo display additional actions, you can attach a menu to the arrow button.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Button.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- **arrow-button-click** - Fired when the component is in split mode and after the arrow button\nis activated either by clicking or tapping it or by using the [Arrow Up] / [Arrow Down],\n[Alt] + [Arrow Up]/ [Arrow Down], or [F4] keyboard keys.\n\n### **Slots:**\n - **default** - Defines the available states of the component.\n**Note:** Although this slot accepts HTML Elements, it is strongly recommended that\nyou only use `ui5-ai-button-state` components in order to preserve the intended design.",
12
12
  "doc-url": "",
13
13
  "attributes": [
14
14
  {
@@ -30,9 +30,17 @@
30
30
  "value": { "type": "string | undefined", "default": "undefined" }
31
31
  },
32
32
  {
33
- "name": "active-arrow-button",
33
+ "name": "arrow-button-pressed",
34
34
  "description": "Defines the active state of the arrow button in split mode.\nSet to true when the button is in split mode and a menu with additional options\nis opened by the arrow button. Set back to false when the menu is closed.",
35
35
  "value": { "type": "boolean", "default": "false" }
36
+ },
37
+ {
38
+ "name": "accessibility-attributes",
39
+ "description": "Defines the additional accessibility attributes that will be applied to the component.\n\nThis property allows for fine-tuned control of ARIA attributes for screen reader support.\nIt accepts an object with the following optional fields:\n\n- **root**: Accessibility attributes that will be applied to the root element.\n - **hasPopup**: Indicates the availability and type of interactive popup element (such as a menu or dialog).\n Accepts string values: `\"dialog\"`, `\"grid\"`, `\"listbox\"`, `\"menu\"`, or `\"tree\"`.\n - **roleDescription**: Defines a human-readable description for the button's role.\n Accepts any string value.\n - **title**: Specifies a tooltip or description for screen readers.\n Accepts any string value.\n- **ariaKeyShortcuts**: Defines keyboard shortcuts that activate or focus the button.\n\n- **arrowButton**: Accessibility attributes that will be applied to the arrow (split) button element.\n - **hasPopup**: Indicates the type of popup triggered by the arrow button.\n Accepts string values: `\"dialog\"`, `\"grid\"`, `\"listbox\"`, `\"menu\"`, or `\"tree\"`.\n - **expanded**: Indicates whether the popup controlled by the arrow button is currently expanded.\n Accepts boolean values: `true` or `false`.",
40
+ "value": {
41
+ "type": "AIButtonAccessibilityAttributes",
42
+ "default": "{}"
43
+ }
36
44
  }
37
45
  ],
38
46
  "slots": [
@@ -47,7 +55,7 @@
47
55
  "description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key."
48
56
  },
49
57
  {
50
- "name": "arrow-click",
58
+ "name": "arrow-button-click",
51
59
  "description": "Fired when the component is in split mode and after the arrow button\nis activated either by clicking or tapping it or by using the [Arrow Up] / [Arrow Down],\n[Alt] + [Arrow Up]/ [Arrow Down], or [F4] keyboard keys."
52
60
  }
53
61
  ],
@@ -71,9 +79,14 @@
71
79
  "value": { "type": "string | undefined" }
72
80
  },
73
81
  {
74
- "name": "active-arrow-button",
82
+ "name": "arrow-button-pressed",
75
83
  "description": "Defines the active state of the arrow button in split mode.\nSet to true when the button is in split mode and a menu with additional options\nis opened by the arrow button. Set back to false when the menu is closed.",
76
84
  "value": { "type": "boolean" }
85
+ },
86
+ {
87
+ "name": "accessibility-attributes",
88
+ "description": "Defines the additional accessibility attributes that will be applied to the component.\n\nThis property allows for fine-tuned control of ARIA attributes for screen reader support.\nIt accepts an object with the following optional fields:\n\n- **root**: Accessibility attributes that will be applied to the root element.\n - **hasPopup**: Indicates the availability and type of interactive popup element (such as a menu or dialog).\n Accepts string values: `\"dialog\"`, `\"grid\"`, `\"listbox\"`, `\"menu\"`, or `\"tree\"`.\n - **roleDescription**: Defines a human-readable description for the button's role.\n Accepts any string value.\n - **title**: Specifies a tooltip or description for screen readers.\n Accepts any string value.\n- **ariaKeyShortcuts**: Defines keyboard shortcuts that activate or focus the button.\n\n- **arrowButton**: Accessibility attributes that will be applied to the arrow (split) button element.\n - **hasPopup**: Indicates the type of popup triggered by the arrow button.\n Accepts string values: `\"dialog\"`, `\"grid\"`, `\"listbox\"`, `\"menu\"`, or `\"tree\"`.\n - **expanded**: Indicates whether the popup controlled by the arrow button is currently expanded.\n Accepts boolean values: `true` or `false`.",
89
+ "value": { "type": "AIButtonAccessibilityAttributes" }
77
90
  }
78
91
  ],
79
92
  "events": [
@@ -82,7 +95,7 @@
82
95
  "description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key."
83
96
  },
84
97
  {
85
- "name": "arrow-click",
98
+ "name": "arrow-button-click",
86
99
  "description": "Fired when the component is in split mode and after the arrow button\nis activated either by clicking or tapping it or by using the [Arrow Up] / [Arrow Down],\n[Alt] + [Arrow Up]/ [Arrow Down], or [F4] keyboard keys."
87
100
  }
88
101
  ]
@@ -90,7 +103,7 @@
90
103
  },
91
104
  {
92
105
  "name": "ui5-ai-button-state",
93
- "description": "### Overview\n\n`ui5-ai-button-state` is the item to use for defining states of `ui5-ai-button` components.\n\n### Usage\n\n`ui5-si-button-state` is an abstract element, representing a state of `ui5-ai-button`. It is meant to be used in the `states` slot\nof `ui5-ai-button` and should be used as standalone component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/AiButtonState.js\";`\n---\n",
106
+ "description": "### Overview\n\n`ui5-ai-button-state` is the item to use for defining states of `ui5-ai-button` components.\n\n### Usage\n\n`ui5-ai-button-state` is an abstract element, representing a state of `ui5-ai-button`. It is meant to be used in the `default` slot\nof `ui5-ai-button` and should not be used as standalone component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/AiButtonState.js\";`\n---\n",
94
107
  "doc-url": "",
95
108
  "attributes": [
96
109
  {
@@ -114,7 +127,7 @@
114
127
  "value": { "type": "string | undefined", "default": "undefined" }
115
128
  },
116
129
  {
117
- "name": "split-mode",
130
+ "name": "show-arrow-button",
118
131
  "description": "Defines if the component is in split button mode.",
119
132
  "value": { "type": "boolean", "default": "false" }
120
133
  }
@@ -143,7 +156,7 @@
143
156
  "value": { "type": "string | undefined" }
144
157
  },
145
158
  {
146
- "name": "split-mode",
159
+ "name": "show-arrow-button",
147
160
  "description": "Defines if the component is in split button mode.",
148
161
  "value": { "type": "boolean" }
149
162
  }
@@ -151,9 +164,92 @@
151
164
  "events": []
152
165
  }
153
166
  },
167
+ {
168
+ "name": "ui5-ai-input",
169
+ "description": "### Overview\n\nThe `ui5-ai-input` component extends the standard `ui5-input` with **AI Writing Assistant** capabilities.\n\n### Structure\n\nThe `ui5-ai-input` consists of the following main parts:\n\n- **Input Field** – Inherits all standard Input behaviors.\n- **AI Action Button** – Appears when focused or loading, providing access to AI-related actions or stopping generation.\n\nThe component automatically determines which elements to render based on its internal state:\n- The AI Button is only shown when there are available `actions`.\n- The version navigation appears only when `totalVersions > 1`.\n\n### Keyboard Support\n\n- **Shift + F4** — Opens the AI menu.\n- **Ctrl + Shift + Z / Y** — Navigates backward/forward between AI-generated versions.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Input.js\";`\n---\n\n\n### **Events:**\n - **button-click** - Fired when the user selects the AI button.\n- **item-click** - Fired when an item from the AI actions menu is clicked.\n- **stop-generation** - Fired when the user selects the \"Stop\" button to stop ongoing AI text generation.\n- **version-change** - Fired when the user selects the version navigation buttons.\n\n### **Slots:**\n - **actions** - Defines the items of the menu for the component.",
170
+ "doc-url": "",
171
+ "attributes": [
172
+ {
173
+ "name": "current-version",
174
+ "description": "Indicates the index of the currently displayed version.",
175
+ "value": { "type": "number", "default": "0" }
176
+ },
177
+ {
178
+ "name": "total-versions",
179
+ "description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
180
+ "value": { "type": "number", "default": "0" }
181
+ },
182
+ {
183
+ "name": "loading",
184
+ "description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
185
+ "value": { "type": "boolean", "default": "false" }
186
+ }
187
+ ],
188
+ "slots": [
189
+ {
190
+ "name": "actions",
191
+ "description": "Defines the items of the menu for the component."
192
+ }
193
+ ],
194
+ "events": [
195
+ {
196
+ "name": "button-click",
197
+ "description": "Fired when the user selects the AI button."
198
+ },
199
+ {
200
+ "name": "item-click",
201
+ "description": "Fired when an item from the AI actions menu is clicked."
202
+ },
203
+ {
204
+ "name": "stop-generation",
205
+ "description": "Fired when the user selects the \"Stop\" button to stop ongoing AI text generation."
206
+ },
207
+ {
208
+ "name": "version-change",
209
+ "description": "Fired when the user selects the version navigation buttons."
210
+ }
211
+ ],
212
+ "js": {
213
+ "properties": [
214
+ {
215
+ "name": "current-version",
216
+ "description": "Indicates the index of the currently displayed version.",
217
+ "value": { "type": "number" }
218
+ },
219
+ {
220
+ "name": "total-versions",
221
+ "description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
222
+ "value": { "type": "number" }
223
+ },
224
+ {
225
+ "name": "loading",
226
+ "description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
227
+ "value": { "type": "boolean" }
228
+ }
229
+ ],
230
+ "events": [
231
+ {
232
+ "name": "button-click",
233
+ "description": "Fired when the user selects the AI button."
234
+ },
235
+ {
236
+ "name": "item-click",
237
+ "description": "Fired when an item from the AI actions menu is clicked."
238
+ },
239
+ {
240
+ "name": "stop-generation",
241
+ "description": "Fired when the user selects the \"Stop\" button to stop ongoing AI text generation."
242
+ },
243
+ {
244
+ "name": "version-change",
245
+ "description": "Fired when the user selects the version navigation buttons."
246
+ }
247
+ ]
248
+ }
249
+ },
154
250
  {
155
251
  "name": "ui5-ai-prompt-input",
156
- "description": "### Overview\n\nThe `ui5-ai-prompt-input` component allows the user to write custom instructions in natural language, so that AI is guided to generate content tailored to user needs.\n\n**Note:** The web component is in an experimental state\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/PromptInput.js\n---\n\n\n### **Events:**\n - **submit** - Fired when the input operation has finished by pressing Enter\nor AI button is clicked.\n- **input** - Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.\n- **change** - Fired when the input operation has finished by pressing Enter\nor on focusout.\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:** Importing the Input Suggestions Support feature:\n\n`import \"@ui5/webcomponents/dist/features/InputSuggestions.js\";`\n\nautomatically imports the `<ui5-suggestion-item>` and `<ui5-suggestion-item-group>` for your convenience.\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.",
252
+ "description": "### Overview\n\nThe `ui5-ai-prompt-input` component allows the user to write custom instructions in natural language, so that AI is guided to generate content tailored to user needs.\n\n**Note:** The web component is in an experimental state\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/PromptInput.js\"`\n---\n\n\n### **Events:**\n - **submit** - Fired when the input operation has finished by pressing Enter\nor AI button is clicked.\n- **input** - Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.\n- **change** - Fired when the input operation has finished by pressing Enter\nor on focusout.\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- **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.",
157
253
  "doc-url": "",
158
254
  "attributes": [
159
255
  {
@@ -206,14 +302,14 @@
206
302
  },
207
303
  {
208
304
  "name": "show-suggestions",
209
- "description": "Defines whether the component should show suggestions, if such are present.\n\n**Note:** You need to import the `InputSuggestions` module\nfrom `\"@ui5/webcomponents/dist/features/InputSuggestions.js\"` to enable this functionality.",
305
+ "description": "Defines whether the component should show suggestions, if such are present.",
210
306
  "value": { "type": "boolean", "default": "false" }
211
307
  }
212
308
  ],
213
309
  "slots": [
214
310
  {
215
311
  "name": "default",
216
- "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:** Importing the Input Suggestions Support feature:\n\n`import \"@ui5/webcomponents/dist/features/InputSuggestions.js\";`\n\nautomatically imports the `<ui5-suggestion-item>` and `<ui5-suggestion-item-group>` for your convenience."
312
+ "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."
217
313
  },
218
314
  {
219
315
  "name": "valueStateMessage",
@@ -285,7 +381,7 @@
285
381
  },
286
382
  {
287
383
  "name": "show-suggestions",
288
- "description": "Defines whether the component should show suggestions, if such are present.\n\n**Note:** You need to import the `InputSuggestions` module\nfrom `\"@ui5/webcomponents/dist/features/InputSuggestions.js\"` to enable this functionality.",
384
+ "description": "Defines whether the component should show suggestions, if such are present.",
289
385
  "value": { "type": "boolean" }
290
386
  }
291
387
  ],
@@ -304,6 +400,218 @@
304
400
  }
305
401
  ]
306
402
  }
403
+ },
404
+ {
405
+ "name": "ui5-ai-textarea",
406
+ "description": "### Overview\n\nThe `ui5-ai-textarea` component extends the standard TextArea with Writing Assistant capabilities.\nIt provides AI-powered text generation, editing suggestions, and version management functionality.\n\n### Structure\nThe `ui5-ai-textarea` consists of the following elements:\n- TextArea: The main text input area with all standard textarea functionality\n- WritingAssistant: Dedicated toolbar containing:\n - Versioning: A component with left/right navigation buttons and a label for browsing AI-generated versions\n - AI Button: Opens a menu that can be extended with custom AI generation options through slotting\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/TextArea.js\";`\n---\n\n\n### **Events:**\n - **version-change** - Fired when the user clicks on version navigation buttons.\n- **stop-generation** - Fired when the user requests to stop AI text generation.\n\n### **Slots:**\n - **menu** - Defines a slot for `ui5-menu` integration. This slot allows you to pass a `ui5-menu` instance that will be associated with the assistant.",
407
+ "doc-url": "",
408
+ "attributes": [
409
+ {
410
+ "name": "loading",
411
+ "description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
412
+ "value": { "type": "boolean", "default": "false" }
413
+ },
414
+ {
415
+ "name": "prompt-description",
416
+ "description": "Defines the prompt description of the current action.",
417
+ "value": { "type": "string", "default": "\"\"" }
418
+ },
419
+ {
420
+ "name": "current-version",
421
+ "description": "Indicates the index of the currently displayed version.",
422
+ "value": { "type": "number", "default": "0" }
423
+ },
424
+ {
425
+ "name": "total-versions",
426
+ "description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
427
+ "value": { "type": "number", "default": "0" }
428
+ }
429
+ ],
430
+ "slots": [
431
+ {
432
+ "name": "menu",
433
+ "description": "Defines a slot for `ui5-menu` integration. This slot allows you to pass a `ui5-menu` instance that will be associated with the assistant."
434
+ }
435
+ ],
436
+ "events": [
437
+ {
438
+ "name": "version-change",
439
+ "description": "Fired when the user clicks on version navigation buttons."
440
+ },
441
+ {
442
+ "name": "stop-generation",
443
+ "description": "Fired when the user requests to stop AI text generation."
444
+ }
445
+ ],
446
+ "js": {
447
+ "properties": [
448
+ {
449
+ "name": "loading",
450
+ "description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
451
+ "value": { "type": "boolean" }
452
+ },
453
+ {
454
+ "name": "prompt-description",
455
+ "description": "Defines the prompt description of the current action.",
456
+ "value": { "type": "string" }
457
+ },
458
+ {
459
+ "name": "current-version",
460
+ "description": "Indicates the index of the currently displayed version.",
461
+ "value": { "type": "number" }
462
+ },
463
+ {
464
+ "name": "total-versions",
465
+ "description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
466
+ "value": { "type": "number" }
467
+ }
468
+ ],
469
+ "events": [
470
+ {
471
+ "name": "version-change",
472
+ "description": "Fired when the user clicks on version navigation buttons."
473
+ },
474
+ {
475
+ "name": "stop-generation",
476
+ "description": "Fired when the user requests to stop AI text generation."
477
+ }
478
+ ]
479
+ }
480
+ },
481
+ {
482
+ "name": "ui5-ai-toolbar-label",
483
+ "description": "### Overview\nThe `ui5-ai-toolbar-label` represents a text label,\nused in the `ui5-toolbar`.\n\n### ES6 Module Import\n`import \"@ui5/webcomponents-ai/dist/ToolbarLabel.js\";`\n---\n",
484
+ "doc-url": "",
485
+ "attributes": [
486
+ {
487
+ "name": "text",
488
+ "description": "Defines the text of the label.",
489
+ "value": { "type": "string", "default": "\"\"" }
490
+ }
491
+ ],
492
+ "events": [],
493
+ "js": {
494
+ "properties": [
495
+ {
496
+ "name": "text",
497
+ "description": "Defines the text of the label.",
498
+ "value": { "type": "string" }
499
+ }
500
+ ],
501
+ "events": []
502
+ }
503
+ },
504
+ {
505
+ "name": "ui5-ai-versioning",
506
+ "description": "### Overview\n\nThe `ui5-ai-versioning` component provides navigation controls for AI-generated content versions.\nIt displays the current version index and total versions, with previous/next navigation buttons.\nThis component extends ToolbarItem to participate in toolbar overflow behavior as a single unit.\n\n### Structure\nThe `ui5-ai-versioning` consists of the following elements:\n- Previous Button: Navigates to the previous version (disabled when at first version)\n- Version Counter: Shows current version / total versions (e.g., \"2 / 5\")\n- Next Button: Navigates to the nex\nt version (disabled when at last version)\n\n### Focus Management\nThe component automatically manages focus when users reach version boundaries,\nmoving focus to the available navigation button when one becomes disabled.\n\n### Responsive Behavior\nWhen used in a toolbar, the entire versioning component (buttons + label) will overflow\ntogether as a single unit when there is insufficient space.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Versioning.js\";`\n---\n\n\n### **Events:**\n - **version-change** - Fired when the user clicks on version navigation buttons.",
507
+ "doc-url": "",
508
+ "attributes": [
509
+ {
510
+ "name": "current-step",
511
+ "description": "Indicates the index of the currently displayed result version.\n\nThis property represents the current position in the version history.",
512
+ "value": { "type": "number", "default": "0" }
513
+ },
514
+ {
515
+ "name": "total-steps",
516
+ "description": "The total number of available result versions.\n\nNote: Versioning is hidden if the value is `0`.",
517
+ "value": { "type": "number", "default": "0" }
518
+ }
519
+ ],
520
+ "events": [
521
+ {
522
+ "name": "version-change",
523
+ "description": "Fired when the user clicks on version navigation buttons."
524
+ }
525
+ ],
526
+ "js": {
527
+ "properties": [
528
+ {
529
+ "name": "current-step",
530
+ "description": "Indicates the index of the currently displayed result version.\n\nThis property represents the current position in the version history.",
531
+ "value": { "type": "number" }
532
+ },
533
+ {
534
+ "name": "total-steps",
535
+ "description": "The total number of available result versions.\n\nNote: Versioning is hidden if the value is `0`.",
536
+ "value": { "type": "number" }
537
+ }
538
+ ],
539
+ "events": [
540
+ {
541
+ "name": "version-change",
542
+ "description": "Fired when the user clicks on version navigation buttons."
543
+ }
544
+ ]
545
+ }
546
+ },
547
+ {
548
+ "name": "ui5-ai-writing-assistant",
549
+ "description": "### Overview\n\nThe `ui5-ai-textarea-toolbar` component provides a specialized toolbar for AI TextArea functionality.\nIt manages different states of the AI assistant and provides version navigation capabilities.\n\n### Structure\nThe `ui5-ai-textarea-toolbar` consists of the following elements:\n- AI Generate Button: Triggers AI text generation or stops ongoing generation\n- Version Navigation: Allows navigation between multiple AI-generated results\n- Action Label: Displays the current AI action being performed\n\n### ES6 Module Import\n\n`import \"@sap-webcomponents/ai/dist/WritingAssistant.js\";`\n---\n\n\n### **Events:**\n - **version-change** - Fired when the user clicks on version navigation buttons.\n- **button-click** - Fired when the user clicks on the AI button.\n- **stop-generation** - Fired when the user clicks on the \"Stop\" button to stop ongoing AI text generation.\n\n### **Methods:**\n - **handleButtonClick(): _void_** - Handles the click event for the AI generate button.\nToggles between generate and stop states based on current button state.",
550
+ "doc-url": "",
551
+ "attributes": [
552
+ {
553
+ "name": "prompt-description",
554
+ "description": "Defines the prompt description of the Writing Assistant.\n\nThis text is displayed in the toolbar to indicate the current or last\nperformed AI action (e.g., \"Generated text\", \"Simplified text\").",
555
+ "value": { "type": "string", "default": "\"\"" }
556
+ },
557
+ {
558
+ "name": "current-version",
559
+ "description": "Indicates the index of the currently displayed result version.\n\nThe index is **0-based** (i.e. `0` represents the first result).\nThis property is synchronized with the parent AI TextArea component.",
560
+ "value": { "type": "number", "default": "0" }
561
+ },
562
+ {
563
+ "name": "total-versions",
564
+ "description": "Indicates the total number of result versions available.\n\nThis property determines whether version navigation controls are displayed.\nWhen totalVersions > 0, previous/next buttons become available.",
565
+ "value": { "type": "number", "default": "0" }
566
+ }
567
+ ],
568
+ "events": [
569
+ {
570
+ "name": "version-change",
571
+ "description": "Fired when the user clicks on version navigation buttons."
572
+ },
573
+ {
574
+ "name": "button-click",
575
+ "description": "Fired when the user clicks on the AI button."
576
+ },
577
+ {
578
+ "name": "stop-generation",
579
+ "description": "Fired when the user clicks on the \"Stop\" button to stop ongoing AI text generation."
580
+ }
581
+ ],
582
+ "js": {
583
+ "properties": [
584
+ {
585
+ "name": "prompt-description",
586
+ "description": "Defines the prompt description of the Writing Assistant.\n\nThis text is displayed in the toolbar to indicate the current or last\nperformed AI action (e.g., \"Generated text\", \"Simplified text\").",
587
+ "value": { "type": "string" }
588
+ },
589
+ {
590
+ "name": "current-version",
591
+ "description": "Indicates the index of the currently displayed result version.\n\nThe index is **0-based** (i.e. `0` represents the first result).\nThis property is synchronized with the parent AI TextArea component.",
592
+ "value": { "type": "number" }
593
+ },
594
+ {
595
+ "name": "total-versions",
596
+ "description": "Indicates the total number of result versions available.\n\nThis property determines whether version navigation controls are displayed.\nWhen totalVersions > 0, previous/next buttons become available.",
597
+ "value": { "type": "number" }
598
+ }
599
+ ],
600
+ "events": [
601
+ {
602
+ "name": "version-change",
603
+ "description": "Fired when the user clicks on version navigation buttons."
604
+ },
605
+ {
606
+ "name": "button-click",
607
+ "description": "Fired when the user clicks on the AI button."
608
+ },
609
+ {
610
+ "name": "stop-generation",
611
+ "description": "Fired when the user clicks on the \"Stop\" button to stop ongoing AI text generation."
612
+ }
613
+ ]
614
+ }
307
615
  }
308
616
  ]
309
617
  },
@@ -5,7 +5,11 @@ const options = {
5
5
  portStep: 2,
6
6
  aiPackage: true,
7
7
  noWatchTS: true,
8
+ cssVariablesTarget: "host",
8
9
  dev: true,
10
+ internal: {
11
+ cypress_code_coverage: false,
12
+ },
9
13
  };
10
14
 
11
15
  const scripts = getScripts(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-ai",
3
- "version": "0.0.0-acc6fea96",
3
+ "version": "0.0.0-b3a4f8020",
4
4
  "description": "UI5 Web Components: webcomponents.ai",
5
5
  "ui5": {
6
6
  "webComponentsPackage": true
@@ -8,8 +8,7 @@
8
8
  "type": "module",
9
9
  "author": "SAP SE (https://www.sap.com)",
10
10
  "license": "Apache-2.0",
11
- "private": false,
12
- "customElements": "./dist/custom-elements.json",
11
+ "customElements": "dist/custom-elements.json",
13
12
  "keywords": [
14
13
  "openui5",
15
14
  "sapui5",
@@ -18,20 +17,24 @@
18
17
  "scripts": {
19
18
  "clean": "wc-dev clean",
20
19
  "lint": "wc-dev lint",
21
- "lint:scope": "nps scope.lint",
20
+ "lint:scope": "wc-dev scope.lint",
22
21
  "start": "wc-dev start",
23
22
  "build": "wc-dev build",
24
23
  "watch": "wc-dev watch",
25
- "generate": "nps generate",
26
- "generateAPI": "nps generateAPI",
27
- "bundle": "nps build.bundle",
28
- "test": "wc-dev test",
24
+ "generate": "wc-dev generate",
25
+ "generateCEM": "wc-dev generateAPI.generateCEM",
26
+ "mergeCEM": "wc-dev generateAPI.mergeCEM",
27
+ "validateCEM": "wc-dev generateAPI.validateCEM",
28
+ "bundle": "wc-dev build.bundle",
29
+ "test": "yarn test:cypress",
30
+ "test:cypress": "wc-dev test-cy-ci",
31
+ "test:cypress:single": "npx cypress run --component --browser chrome --spec",
32
+ "test:cypress:open": "wc-dev test-cy-open",
29
33
  "test:ssr": "node -e \"import('./test/ssr/component-imports.js')\"",
30
34
  "create-ui5-element": "wc-create-ui5-element",
31
35
  "prepublishOnly": "tsc -b"
32
36
  },
33
37
  "exports": {
34
- "./.port": "./.port",
35
38
  "./src/*": "./src/*",
36
39
  "./dist/*": "./dist/*",
37
40
  "./package.json": "./package.json",
@@ -41,17 +44,21 @@
41
44
  },
42
45
  "repository": {
43
46
  "type": "git",
44
- "url": "https://github.com/SAP/ui5-webcomponents.git",
47
+ "url": "https://github.com/UI5/webcomponents.git",
45
48
  "directory": "packages/ai"
46
49
  },
47
50
  "dependencies": {
48
- "@ui5/webcomponents": "0.0.0-acc6fea96",
49
- "@ui5/webcomponents-base": "0.0.0-acc6fea96",
50
- "@ui5/webcomponents-icons": "0.0.0-acc6fea96",
51
- "@ui5/webcomponents-theming": "0.0.0-acc6fea96"
51
+ "@ui5/webcomponents": "0.0.0-b3a4f8020",
52
+ "@ui5/webcomponents-base": "0.0.0-b3a4f8020",
53
+ "@ui5/webcomponents-icons": "0.0.0-b3a4f8020",
54
+ "@ui5/webcomponents-theming": "0.0.0-b3a4f8020"
52
55
  },
53
56
  "devDependencies": {
54
- "@ui5/webcomponents-tools": "0.0.0-acc6fea96",
55
- "chromedriver": "^131.0.0"
56
- }
57
- }
57
+ "@custom-elements-manifest/analyzer": "^0.10.10",
58
+ "@ui5/cypress-internal": "0.1.0",
59
+ "@ui5/webcomponents-tools": "0.0.0-b3a4f8020",
60
+ "cypress": "15.9.0",
61
+ "vite": "5.4.21"
62
+ },
63
+ "gitHead": "0a174f7ce9239f60c2840e8920fd70e3cf935a61"
64
+ }
@@ -12,6 +12,7 @@ export default function ButtonTemplate(this: Button) {
12
12
  _hideArrowButton={this._hideArrowButton}
13
13
  onClick={this._onClick}
14
14
  onArrowClick={this._onArrowClick}
15
+ accessibilityAttributes={this._computedAccessibilityAttributes}
15
16
  >
16
17
  {this._hasText && (
17
18
  <div class="ui5-ai-button-text">{this._stateText}</div>