@ui5/webcomponents-ai 0.0.0-9261ac932 → 0.0.0-95afb1087

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 (249) hide show
  1. package/.ui5-cem-aliases.json +4 -0
  2. package/CHANGELOG.md +724 -0
  3. package/LICENSE.txt +201 -0
  4. package/README.md +15 -11
  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 +83 -32
  14. package/dist/Button.js +173 -82
  15. package/dist/Button.js.map +1 -1
  16. package/dist/ButtonState.d.ts +10 -3
  17. package/dist/ButtonState.js +16 -3
  18. package/dist/ButtonState.js.map +1 -1
  19. package/dist/ButtonTemplate.d.ts +2 -0
  20. package/dist/ButtonTemplate.js +6 -0
  21. package/dist/ButtonTemplate.js.map +1 -0
  22. package/dist/Input.d.ts +143 -0
  23. package/dist/Input.js +288 -0
  24. package/dist/Input.js.map +1 -0
  25. package/dist/InputTemplate.d.ts +10 -0
  26. package/dist/InputTemplate.js +28 -0
  27. package/dist/InputTemplate.js.map +1 -0
  28. package/dist/PromptInput.d.ts +11 -12
  29. package/dist/PromptInput.js +7 -18
  30. package/dist/PromptInput.js.map +1 -1
  31. package/dist/PromptInputTemplate.d.ts +2 -0
  32. package/dist/PromptInputTemplate.js +12 -0
  33. package/dist/PromptInputTemplate.js.map +1 -0
  34. package/dist/TextArea.d.ts +118 -0
  35. package/dist/TextArea.js +230 -0
  36. package/dist/TextArea.js.map +1 -0
  37. package/dist/TextAreaTemplate.d.ts +2 -0
  38. package/dist/TextAreaTemplate.js +13 -0
  39. package/dist/TextAreaTemplate.js.map +1 -0
  40. package/dist/ToolbarLabel.d.ts +39 -0
  41. package/dist/ToolbarLabel.js +67 -0
  42. package/dist/ToolbarLabel.js.map +1 -0
  43. package/dist/ToolbarLabelTemplate.d.ts +2 -0
  44. package/dist/ToolbarLabelTemplate.js +5 -0
  45. package/dist/ToolbarLabelTemplate.js.map +1 -0
  46. package/dist/Versioning.d.ts +95 -0
  47. package/dist/Versioning.js +187 -0
  48. package/dist/Versioning.js.map +1 -0
  49. package/dist/VersioningTemplate.d.ts +4 -0
  50. package/dist/VersioningTemplate.js +9 -0
  51. package/dist/VersioningTemplate.js.map +1 -0
  52. package/dist/WritingAssistant.d.ts +100 -0
  53. package/dist/WritingAssistant.js +197 -0
  54. package/dist/WritingAssistant.js.map +1 -0
  55. package/dist/WritingAssistantTemplate.d.ts +2 -0
  56. package/dist/WritingAssistantTemplate.js +12 -0
  57. package/dist/WritingAssistantTemplate.js.map +1 -0
  58. package/dist/bundle.esm.js +2 -0
  59. package/dist/bundle.esm.js.map +1 -1
  60. package/dist/css/themes/Button.css +1 -1
  61. package/dist/css/themes/Input.css +1 -0
  62. package/dist/css/themes/PromptInput.css +1 -1
  63. package/dist/css/themes/TextArea.css +1 -0
  64. package/dist/css/themes/Versioning.css +1 -0
  65. package/dist/css/themes/WritingAssistant.css +1 -0
  66. package/dist/custom-elements-internal.json +487 -8
  67. package/dist/custom-elements.json +420 -7
  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 +2 -3
  141. package/dist/generated/themes/Button.css.js +4 -5
  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 +2 -3
  147. package/dist/generated/themes/PromptInput.css.js +4 -5
  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 +2 -3
  159. package/dist/generated/themes/sap_horizon/parameters-bundle.css.js +1 -2
  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 +2 -3
  162. package/dist/generated/themes/sap_horizon_dark/parameters-bundle.css.js +1 -2
  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 +2 -3
  165. package/dist/generated/themes/sap_horizon_hcb/parameters-bundle.css.js +1 -2
  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 +2 -3
  168. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js +1 -2
  169. package/dist/generated/themes/sap_horizon_hcw/parameters-bundle.css.js.map +1 -1
  170. package/dist/vscode.html-custom-data.json +68 -4
  171. package/dist/web-types.json +209 -8
  172. package/package-scripts.cjs +3 -0
  173. package/package.json +23 -18
  174. package/src/ButtonTemplate.tsx +27 -0
  175. package/src/InputTemplate.tsx +197 -0
  176. package/src/PromptInputTemplate.tsx +49 -0
  177. package/src/TextArea.css +45 -0
  178. package/src/TextAreaTemplate.tsx +90 -0
  179. package/src/ToolbarLabelTemplate.tsx +9 -0
  180. package/src/VersioningTemplate.tsx +34 -0
  181. package/src/WritingAssistantTemplate.tsx +49 -0
  182. package/src/i18n/messagebundle.properties +43 -1
  183. package/src/i18n/messagebundle_ar.properties +20 -0
  184. package/src/i18n/messagebundle_bg.properties +20 -0
  185. package/src/i18n/messagebundle_ca.properties +20 -0
  186. package/src/i18n/messagebundle_cnr.properties +20 -0
  187. package/src/i18n/messagebundle_cs.properties +20 -0
  188. package/src/i18n/messagebundle_cy.properties +20 -0
  189. package/src/i18n/messagebundle_da.properties +20 -0
  190. package/src/i18n/messagebundle_de.properties +20 -0
  191. package/src/i18n/messagebundle_el.properties +20 -0
  192. package/src/i18n/messagebundle_en.properties +20 -0
  193. package/src/i18n/messagebundle_en_GB.properties +20 -0
  194. package/src/i18n/messagebundle_en_US_sappsd.properties +28 -0
  195. package/src/i18n/messagebundle_en_US_saprigi.properties +28 -0
  196. package/src/i18n/messagebundle_en_US_saptrc.properties +30 -2
  197. package/src/i18n/messagebundle_es.properties +20 -0
  198. package/src/i18n/messagebundle_es_MX.properties +21 -1
  199. package/src/i18n/messagebundle_et.properties +20 -0
  200. package/src/i18n/messagebundle_fi.properties +20 -0
  201. package/src/i18n/messagebundle_fr.properties +20 -0
  202. package/src/i18n/messagebundle_fr_CA.properties +20 -0
  203. package/src/i18n/messagebundle_hi.properties +20 -0
  204. package/src/i18n/messagebundle_hr.properties +22 -2
  205. package/src/i18n/messagebundle_hu.properties +20 -0
  206. package/src/i18n/messagebundle_id.properties +20 -0
  207. package/src/i18n/messagebundle_it.properties +20 -0
  208. package/src/i18n/messagebundle_iw.properties +20 -0
  209. package/src/i18n/messagebundle_ja.properties +20 -0
  210. package/src/i18n/messagebundle_kk.properties +20 -0
  211. package/src/i18n/messagebundle_ko.properties +20 -0
  212. package/src/i18n/messagebundle_lt.properties +20 -0
  213. package/src/i18n/messagebundle_lv.properties +20 -0
  214. package/src/i18n/messagebundle_mk.properties +20 -0
  215. package/src/i18n/messagebundle_ms.properties +20 -0
  216. package/src/i18n/messagebundle_nl.properties +20 -0
  217. package/src/i18n/messagebundle_no.properties +20 -0
  218. package/src/i18n/messagebundle_pl.properties +20 -0
  219. package/src/i18n/messagebundle_pt.properties +20 -0
  220. package/src/i18n/messagebundle_pt_PT.properties +20 -0
  221. package/src/i18n/messagebundle_ro.properties +20 -0
  222. package/src/i18n/messagebundle_ru.properties +20 -0
  223. package/src/i18n/messagebundle_sh.properties +20 -0
  224. package/src/i18n/messagebundle_sk.properties +20 -0
  225. package/src/i18n/messagebundle_sl.properties +20 -0
  226. package/src/i18n/messagebundle_sr.properties +20 -0
  227. package/src/i18n/messagebundle_sv.properties +20 -0
  228. package/src/i18n/messagebundle_th.properties +22 -2
  229. package/src/i18n/messagebundle_tr.properties +20 -0
  230. package/src/i18n/messagebundle_uk.properties +20 -0
  231. package/src/i18n/messagebundle_vi.properties +20 -0
  232. package/src/i18n/messagebundle_zh_CN.properties +20 -0
  233. package/src/i18n/messagebundle_zh_TW.properties +20 -0
  234. package/src/themes/Button.css +75 -21
  235. package/src/themes/Input.css +83 -0
  236. package/src/themes/PromptInput.css +5 -1
  237. package/src/themes/TextArea.css +45 -0
  238. package/src/themes/Versioning.css +20 -0
  239. package/src/themes/WritingAssistant.css +45 -0
  240. package/tsconfig.json +28 -1
  241. package/dist/generated/templates/ButtonTemplate.lit.d.ts +0 -4
  242. package/dist/generated/templates/ButtonTemplate.lit.js +0 -6
  243. package/dist/generated/templates/ButtonTemplate.lit.js.map +0 -1
  244. package/dist/generated/templates/PromptInputTemplate.lit.d.ts +0 -4
  245. package/dist/generated/templates/PromptInputTemplate.lit.js +0 -8
  246. package/dist/generated/templates/PromptInputTemplate.lit.js.map +0 -1
  247. package/dist/tsconfig.tsbuildinfo +0 -1
  248. package/src/Button.hbs +0 -17
  249. package/src/PromptInput.hbs +0 -36
@@ -2,6 +2,18 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "dist/Assets-fetch.js",
8
+ "declarations": [],
9
+ "exports": []
10
+ },
11
+ {
12
+ "kind": "javascript-module",
13
+ "path": "dist/Assets-node.js",
14
+ "declarations": [],
15
+ "exports": []
16
+ },
5
17
  {
6
18
  "kind": "javascript-module",
7
19
  "path": "dist/Assets.js",
@@ -14,12 +26,12 @@
14
26
  "declarations": [
15
27
  {
16
28
  "kind": "class",
17
- "description": "### Overview\n\nThe `ui5-ai-button` component represents a button used in AI-related scenarios.\nIt enables users to trigger actions by clicking or tapping the `ui5-ai-button`, or by pressing\ncertain keyboard keys, such as Enter.\n\n### Usage\n\nFor the `ui5-ai-button` UI, you can define one or more states of the button by placing `ai-button-state` components in its default slot.\nEach state have a name that identifies it and can have text, icon and end icon defined (in any combination) depending on the state purpose.\n\nYou can choose from a set of predefined designs (the same as for regular `ui5-button` component) that allow different styling to correspond to the triggered action.\n\n`ui5-ai-button` can be activated by clicking or tapping it. The state can be changed in `click` event handler.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Button.js\";`",
29
+ "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\";`",
18
30
  "name": "Button",
19
31
  "slots": [
20
32
  {
21
33
  "name": "default",
22
- "description": "Defines the available states of the component.\n**Note:** Although this slot accepts HTML Elements, it is strongly recommended that you only use `ui5-ai-button-state` components in order to preserve the intended design.",
34
+ "description": "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.",
23
35
  "_ui5propertyName": "states",
24
36
  "_ui5type": {
25
37
  "text": "Array<ButtonState>",
@@ -71,6 +83,36 @@
71
83
  "description": "Defines the current state of the component.",
72
84
  "default": "undefined",
73
85
  "privacy": "public"
86
+ },
87
+ {
88
+ "kind": "field",
89
+ "name": "arrowButtonPressed",
90
+ "type": {
91
+ "text": "boolean"
92
+ },
93
+ "default": "false",
94
+ "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.",
95
+ "privacy": "public",
96
+ "_ui5since": "2.6.0",
97
+ "_ui5noAttribute": true
98
+ },
99
+ {
100
+ "kind": "field",
101
+ "name": "accessibilityAttributes",
102
+ "type": {
103
+ "text": "AIButtonAccessibilityAttributes",
104
+ "references": [
105
+ {
106
+ "name": "AIButtonAccessibilityAttributes",
107
+ "package": "@ui5/webcomponents-ai",
108
+ "module": "dist/Button.js"
109
+ }
110
+ ]
111
+ },
112
+ "default": "{}",
113
+ "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`.",
114
+ "privacy": "public",
115
+ "_ui5since": "2.6.0"
74
116
  }
75
117
  ],
76
118
  "events": [
@@ -84,6 +126,17 @@
84
126
  "_ui5Cancelable": false,
85
127
  "_ui5allowPreventDefault": false,
86
128
  "_ui5Bubbles": true
129
+ },
130
+ {
131
+ "name": "arrow-button-click",
132
+ "_ui5privacy": "public",
133
+ "type": {
134
+ "text": "CustomEvent"
135
+ },
136
+ "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.",
137
+ "_ui5Cancelable": false,
138
+ "_ui5allowPreventDefault": false,
139
+ "_ui5Bubbles": true
87
140
  }
88
141
  ],
89
142
  "attributes": [
@@ -113,6 +166,24 @@
113
166
  "type": {
114
167
  "text": "string | undefined"
115
168
  }
169
+ },
170
+ {
171
+ "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.",
172
+ "name": "arrow-button-pressed",
173
+ "default": "false",
174
+ "fieldName": "arrowButtonPressed",
175
+ "type": {
176
+ "text": "boolean"
177
+ }
178
+ },
179
+ {
180
+ "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`.",
181
+ "name": "accessibility-attributes",
182
+ "default": "{}",
183
+ "fieldName": "accessibilityAttributes",
184
+ "type": {
185
+ "text": "AIButtonAccessibilityAttributes"
186
+ }
116
187
  }
117
188
  ],
118
189
  "superclass": {
@@ -152,7 +223,7 @@
152
223
  "declarations": [
153
224
  {
154
225
  "kind": "class",
155
- "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\";`",
226
+ "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\";`",
156
227
  "name": "ButtonState",
157
228
  "members": [
158
229
  {
@@ -194,6 +265,17 @@
194
265
  "description": "Defines the icon to be displayed as graphical element within the component after the text.\nThe SAP-icons font provides numerous options.\n\n**Example:**\n\nSee all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).",
195
266
  "default": "undefined",
196
267
  "privacy": "public"
268
+ },
269
+ {
270
+ "kind": "field",
271
+ "name": "showArrowButton",
272
+ "type": {
273
+ "text": "boolean"
274
+ },
275
+ "default": "false",
276
+ "description": "Defines if the component is in split button mode.",
277
+ "privacy": "public",
278
+ "_ui5since": "2.6.0"
197
279
  }
198
280
  ],
199
281
  "attributes": [
@@ -232,6 +314,15 @@
232
314
  "type": {
233
315
  "text": "string | undefined"
234
316
  }
317
+ },
318
+ {
319
+ "description": "Defines if the component is in split button mode.",
320
+ "name": "show-arrow-button",
321
+ "default": "false",
322
+ "fieldName": "showArrowButton",
323
+ "type": {
324
+ "text": "boolean"
325
+ }
235
326
  }
236
327
  ],
237
328
  "superclass": {
@@ -241,7 +332,7 @@
241
332
  },
242
333
  "tagName": "ui5-ai-button-state",
243
334
  "customElement": true,
244
- "_ui5experimental": "The Button and ButtonState web components are availabe since 2.0 under an experimental flag and their API and behaviour are subject to change.",
335
+ "_ui5experimental": "The Button and ButtonState web components are available since 2.0 under an experimental flag and their API and behaviour are subject to change.",
245
336
  "_ui5since": "2.0.0",
246
337
  "_ui5privacy": "public",
247
338
  "_ui5abstract": true
@@ -266,18 +357,191 @@
266
357
  }
267
358
  ]
268
359
  },
360
+ {
361
+ "kind": "javascript-module",
362
+ "path": "dist/Input.js",
363
+ "declarations": [
364
+ {
365
+ "kind": "class",
366
+ "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\";`",
367
+ "name": "Input",
368
+ "slots": [
369
+ {
370
+ "name": "actions",
371
+ "description": "Defines the items of the menu for the component.",
372
+ "_ui5type": {
373
+ "text": "Array<HTMLElement>"
374
+ },
375
+ "_ui5privacy": "public"
376
+ }
377
+ ],
378
+ "members": [
379
+ {
380
+ "kind": "field",
381
+ "name": "currentVersion",
382
+ "type": {
383
+ "text": "number"
384
+ },
385
+ "default": "0",
386
+ "description": "Indicates the index of the currently displayed version.",
387
+ "privacy": "public"
388
+ },
389
+ {
390
+ "kind": "field",
391
+ "name": "totalVersions",
392
+ "type": {
393
+ "text": "number"
394
+ },
395
+ "default": "0",
396
+ "description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
397
+ "privacy": "public"
398
+ },
399
+ {
400
+ "kind": "field",
401
+ "name": "loading",
402
+ "type": {
403
+ "text": "boolean"
404
+ },
405
+ "default": "false",
406
+ "description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
407
+ "privacy": "public"
408
+ }
409
+ ],
410
+ "events": [
411
+ {
412
+ "name": "button-click",
413
+ "_ui5privacy": "public",
414
+ "type": {
415
+ "text": "CustomEvent"
416
+ },
417
+ "description": "Fired when the user selects the AI button.",
418
+ "_ui5Cancelable": true,
419
+ "_ui5allowPreventDefault": true,
420
+ "_ui5Bubbles": false
421
+ },
422
+ {
423
+ "name": "item-click",
424
+ "_ui5privacy": "public",
425
+ "type": {
426
+ "text": "CustomEvent"
427
+ },
428
+ "description": "Fired when an item from the AI actions menu is clicked.",
429
+ "_ui5Cancelable": false,
430
+ "_ui5allowPreventDefault": false,
431
+ "_ui5Bubbles": false
432
+ },
433
+ {
434
+ "name": "stop-generation",
435
+ "_ui5privacy": "public",
436
+ "type": {
437
+ "text": "CustomEvent"
438
+ },
439
+ "description": "Fired when the user selects the \"Stop\" button to stop ongoing AI text generation.",
440
+ "_ui5Cancelable": false,
441
+ "_ui5allowPreventDefault": false,
442
+ "_ui5Bubbles": false
443
+ },
444
+ {
445
+ "name": "version-change",
446
+ "_ui5privacy": "public",
447
+ "type": {
448
+ "text": "CustomEvent<InputVersionChangeEventDetail>",
449
+ "references": [
450
+ {
451
+ "name": "InputVersionChangeEventDetail",
452
+ "package": "@ui5/webcomponents-ai",
453
+ "module": "dist/Input.js"
454
+ }
455
+ ]
456
+ },
457
+ "description": "Fired when the user selects the version navigation buttons.",
458
+ "_ui5Cancelable": false,
459
+ "_ui5allowPreventDefault": false,
460
+ "_ui5Bubbles": false,
461
+ "_ui5parameters": [
462
+ {
463
+ "type": {
464
+ "text": "boolean"
465
+ },
466
+ "name": "backwards",
467
+ "_ui5privacy": "public",
468
+ "description": "Indicates if navigation is backwards (true) or forwards (false, default)"
469
+ }
470
+ ]
471
+ }
472
+ ],
473
+ "attributes": [
474
+ {
475
+ "description": "Indicates the index of the currently displayed version.",
476
+ "name": "current-version",
477
+ "default": "0",
478
+ "fieldName": "currentVersion",
479
+ "type": {
480
+ "text": "number"
481
+ }
482
+ },
483
+ {
484
+ "description": "Indicates the total number of result versions available.\n\nWhen not set or set to 0, the versioning will be hidden.",
485
+ "name": "total-versions",
486
+ "default": "0",
487
+ "fieldName": "totalVersions",
488
+ "type": {
489
+ "text": "number"
490
+ }
491
+ },
492
+ {
493
+ "description": "Defines whether the AI Writing Assistant is currently loading.\n\nWhen `true`, indicates that an AI action is in progress.",
494
+ "name": "loading",
495
+ "default": "false",
496
+ "fieldName": "loading",
497
+ "type": {
498
+ "text": "boolean"
499
+ }
500
+ }
501
+ ],
502
+ "superclass": {
503
+ "name": "Input",
504
+ "package": "@ui5/webcomponents",
505
+ "module": "dist/Input.js"
506
+ },
507
+ "tagName": "ui5-ai-input",
508
+ "customElement": true,
509
+ "_ui5experimental": "The **@ui5/webcomponents-ai** package is under active development and considered experimental. Component APIs are subject to change.",
510
+ "_ui5since": "2.16.0",
511
+ "_ui5privacy": "public"
512
+ }
513
+ ],
514
+ "exports": [
515
+ {
516
+ "kind": "js",
517
+ "name": "default",
518
+ "declaration": {
519
+ "name": "Input",
520
+ "module": "dist/Input.js"
521
+ }
522
+ },
523
+ {
524
+ "kind": "custom-element-definition",
525
+ "name": "ui5-ai-input",
526
+ "declaration": {
527
+ "name": "Input",
528
+ "module": "dist/Input.js"
529
+ }
530
+ }
531
+ ]
532
+ },
269
533
  {
270
534
  "kind": "javascript-module",
271
535
  "path": "dist/PromptInput.js",
272
536
  "declarations": [
273
537
  {
274
538
  "kind": "class",
275
- "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",
539
+ "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\"`",
276
540
  "name": "PromptInput",
277
541
  "slots": [
278
542
  {
279
543
  "name": "default",
280
- "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.",
544
+ "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.",
281
545
  "_ui5propertyName": "suggestionItems",
282
546
  "_ui5type": {
283
547
  "text": "Array<IInputSuggestionItem>",
@@ -415,7 +679,7 @@
415
679
  "text": "boolean"
416
680
  },
417
681
  "default": "false",
418
- "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.",
682
+ "description": "Defines whether the component should show suggestions, if such are present.",
419
683
  "privacy": "public"
420
684
  }
421
685
  ],
@@ -540,7 +804,7 @@
540
804
  }
541
805
  },
542
806
  {
543
- "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.",
807
+ "description": "Defines whether the component should show suggestions, if such are present.",
544
808
  "name": "show-suggestions",
545
809
  "default": "false",
546
810
  "fieldName": "showSuggestions",
@@ -578,6 +842,221 @@
578
842
  }
579
843
  }
580
844
  ]
845
+ },
846
+ {
847
+ "kind": "javascript-module",
848
+ "path": "dist/TextArea.js",
849
+ "declarations": [
850
+ {
851
+ "kind": "class",
852
+ "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\";`",
853
+ "name": "TextArea",
854
+ "slots": [
855
+ {
856
+ "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.",
857
+ "name": "menu",
858
+ "_ui5privacy": "public",
859
+ "_ui5type": {
860
+ "text": "HTMLElement"
861
+ }
862
+ }
863
+ ],
864
+ "members": [
865
+ {
866
+ "kind": "field",
867
+ "name": "loading",
868
+ "type": {
869
+ "text": "boolean"
870
+ },
871
+ "default": "false",
872
+ "description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
873
+ "privacy": "public"
874
+ },
875
+ {
876
+ "kind": "field",
877
+ "name": "promptDescription",
878
+ "type": {
879
+ "text": "string"
880
+ },
881
+ "default": "\"\"",
882
+ "description": "Defines the prompt description of the current action.",
883
+ "privacy": "public"
884
+ },
885
+ {
886
+ "kind": "field",
887
+ "name": "currentVersion",
888
+ "type": {
889
+ "text": "number"
890
+ },
891
+ "default": "0",
892
+ "description": "Indicates the index of the currently displayed version.",
893
+ "privacy": "public"
894
+ },
895
+ {
896
+ "kind": "field",
897
+ "name": "totalVersions",
898
+ "type": {
899
+ "text": "number"
900
+ },
901
+ "default": "0",
902
+ "description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
903
+ "privacy": "public"
904
+ }
905
+ ],
906
+ "events": [
907
+ {
908
+ "name": "version-change",
909
+ "_ui5privacy": "public",
910
+ "type": {
911
+ "text": "CustomEvent<TextAreaVersionChangeEventDetail>",
912
+ "references": [
913
+ {
914
+ "name": "TextAreaVersionChangeEventDetail",
915
+ "package": "@ui5/webcomponents-ai",
916
+ "module": "dist/TextArea.js"
917
+ }
918
+ ]
919
+ },
920
+ "description": "Fired when the user clicks on version navigation buttons.",
921
+ "_ui5Cancelable": false,
922
+ "_ui5allowPreventDefault": false,
923
+ "_ui5Bubbles": false,
924
+ "_ui5parameters": [
925
+ {
926
+ "type": {
927
+ "text": "boolean"
928
+ },
929
+ "name": "backwards",
930
+ "_ui5privacy": "public",
931
+ "description": "Indicates if navigation is backwards (true) or forwards (false, default)."
932
+ }
933
+ ]
934
+ },
935
+ {
936
+ "name": "stop-generation",
937
+ "_ui5privacy": "public",
938
+ "type": {
939
+ "text": "CustomEvent"
940
+ },
941
+ "description": "Fired when the user requests to stop AI text generation.",
942
+ "_ui5Cancelable": false,
943
+ "_ui5allowPreventDefault": false,
944
+ "_ui5Bubbles": false
945
+ }
946
+ ],
947
+ "attributes": [
948
+ {
949
+ "description": "Defines whether the `ui5-ai-textarea` is currently in a loading(processing) state.",
950
+ "name": "loading",
951
+ "default": "false",
952
+ "fieldName": "loading",
953
+ "type": {
954
+ "text": "boolean"
955
+ }
956
+ },
957
+ {
958
+ "description": "Defines the prompt description of the current action.",
959
+ "name": "prompt-description",
960
+ "default": "\"\"",
961
+ "fieldName": "promptDescription",
962
+ "type": {
963
+ "text": "string"
964
+ }
965
+ },
966
+ {
967
+ "description": "Indicates the index of the currently displayed version.",
968
+ "name": "current-version",
969
+ "default": "0",
970
+ "fieldName": "currentVersion",
971
+ "type": {
972
+ "text": "number"
973
+ }
974
+ },
975
+ {
976
+ "description": "Indicates the total number of result versions available.\n\nNotes:\nVersioning is hidden if the value is `0`",
977
+ "name": "total-versions",
978
+ "default": "0",
979
+ "fieldName": "totalVersions",
980
+ "type": {
981
+ "text": "number"
982
+ }
983
+ }
984
+ ],
985
+ "superclass": {
986
+ "name": "TextArea",
987
+ "package": "@ui5/webcomponents",
988
+ "module": "dist/TextArea.js"
989
+ },
990
+ "tagName": "ui5-ai-textarea",
991
+ "customElement": true,
992
+ "_ui5experimental": "The **@ui5/webcomponents-ai** package is under development and considered experimental - components' APIs are subject to change.",
993
+ "_ui5since": "2.16.0",
994
+ "_ui5privacy": "public"
995
+ }
996
+ ],
997
+ "exports": [
998
+ {
999
+ "kind": "js",
1000
+ "name": "default",
1001
+ "declaration": {
1002
+ "name": "TextArea",
1003
+ "module": "dist/TextArea.js"
1004
+ }
1005
+ },
1006
+ {
1007
+ "kind": "custom-element-definition",
1008
+ "name": "ui5-ai-textarea",
1009
+ "declaration": {
1010
+ "name": "TextArea",
1011
+ "module": "dist/TextArea.js"
1012
+ }
1013
+ }
1014
+ ]
1015
+ },
1016
+ {
1017
+ "kind": "javascript-module",
1018
+ "path": "dist/ToolbarLabel.js",
1019
+ "declarations": [],
1020
+ "exports": [
1021
+ {
1022
+ "kind": "js",
1023
+ "name": "default",
1024
+ "declaration": {
1025
+ "name": "ToolbarLabel",
1026
+ "module": "dist/ToolbarLabel.js"
1027
+ }
1028
+ }
1029
+ ]
1030
+ },
1031
+ {
1032
+ "kind": "javascript-module",
1033
+ "path": "dist/Versioning.js",
1034
+ "declarations": [],
1035
+ "exports": [
1036
+ {
1037
+ "kind": "js",
1038
+ "name": "default",
1039
+ "declaration": {
1040
+ "name": "Versioning",
1041
+ "module": "dist/Versioning.js"
1042
+ }
1043
+ }
1044
+ ]
1045
+ },
1046
+ {
1047
+ "kind": "javascript-module",
1048
+ "path": "dist/WritingAssistant.js",
1049
+ "declarations": [],
1050
+ "exports": [
1051
+ {
1052
+ "kind": "js",
1053
+ "name": "default",
1054
+ "declaration": {
1055
+ "name": "WritingAssistant",
1056
+ "module": "dist/WritingAssistant.js"
1057
+ }
1058
+ }
1059
+ ]
581
1060
  }
582
1061
  ]
583
1062
  }