@ui5/webcomponents-ai 0.0.0-df5b4199a → 0.0.0-e03cd01f3

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 (142) hide show
  1. package/CHANGELOG.md +66 -2
  2. package/dist/.tsbuildinfo +1 -1
  3. package/dist/TextArea.d.ts +5 -0
  4. package/dist/TextArea.js +43 -2
  5. package/dist/TextArea.js.map +1 -1
  6. package/dist/TextAreaTemplate.js +1 -1
  7. package/dist/TextAreaTemplate.js.map +1 -1
  8. package/dist/WritingAssistant.d.ts +1 -0
  9. package/dist/WritingAssistant.js +4 -0
  10. package/dist/WritingAssistant.js.map +1 -1
  11. package/dist/WritingAssistantTemplate.js +1 -1
  12. package/dist/WritingAssistantTemplate.js.map +1 -1
  13. package/dist/css/themes/Button.css +1 -1
  14. package/dist/css/themes/Input.css +1 -1
  15. package/dist/css/themes/TextArea.css +1 -1
  16. package/dist/css/themes/Versioning.css +1 -1
  17. package/dist/css/themes/WritingAssistant.css +1 -1
  18. package/dist/custom-elements-internal.json +258 -3
  19. package/dist/custom-elements.json +235 -3
  20. package/dist/generated/assets/i18n/messagebundle_ar.json +1 -1
  21. package/dist/generated/assets/i18n/messagebundle_bg.json +1 -1
  22. package/dist/generated/assets/i18n/messagebundle_ca.json +1 -1
  23. package/dist/generated/assets/i18n/messagebundle_cnr.json +1 -1
  24. package/dist/generated/assets/i18n/messagebundle_cs.json +1 -1
  25. package/dist/generated/assets/i18n/messagebundle_cy.json +1 -1
  26. package/dist/generated/assets/i18n/messagebundle_da.json +1 -1
  27. package/dist/generated/assets/i18n/messagebundle_de.json +1 -1
  28. package/dist/generated/assets/i18n/messagebundle_el.json +1 -1
  29. package/dist/generated/assets/i18n/messagebundle_en.json +1 -1
  30. package/dist/generated/assets/i18n/messagebundle_en_GB.json +1 -1
  31. package/dist/generated/assets/i18n/messagebundle_en_US_saprigi.json +1 -1
  32. package/dist/generated/assets/i18n/messagebundle_es.json +1 -1
  33. package/dist/generated/assets/i18n/messagebundle_es_MX.json +1 -1
  34. package/dist/generated/assets/i18n/messagebundle_et.json +1 -1
  35. package/dist/generated/assets/i18n/messagebundle_fi.json +1 -1
  36. package/dist/generated/assets/i18n/messagebundle_fr.json +1 -1
  37. package/dist/generated/assets/i18n/messagebundle_fr_CA.json +1 -1
  38. package/dist/generated/assets/i18n/messagebundle_hi.json +1 -1
  39. package/dist/generated/assets/i18n/messagebundle_hr.json +1 -1
  40. package/dist/generated/assets/i18n/messagebundle_hu.json +1 -1
  41. package/dist/generated/assets/i18n/messagebundle_id.json +1 -1
  42. package/dist/generated/assets/i18n/messagebundle_it.json +1 -1
  43. package/dist/generated/assets/i18n/messagebundle_iw.json +1 -1
  44. package/dist/generated/assets/i18n/messagebundle_ja.json +1 -1
  45. package/dist/generated/assets/i18n/messagebundle_kk.json +1 -1
  46. package/dist/generated/assets/i18n/messagebundle_ko.json +1 -1
  47. package/dist/generated/assets/i18n/messagebundle_lt.json +1 -1
  48. package/dist/generated/assets/i18n/messagebundle_lv.json +1 -1
  49. package/dist/generated/assets/i18n/messagebundle_mk.json +1 -1
  50. package/dist/generated/assets/i18n/messagebundle_ms.json +1 -1
  51. package/dist/generated/assets/i18n/messagebundle_nl.json +1 -1
  52. package/dist/generated/assets/i18n/messagebundle_no.json +1 -1
  53. package/dist/generated/assets/i18n/messagebundle_pl.json +1 -1
  54. package/dist/generated/assets/i18n/messagebundle_pt.json +1 -1
  55. package/dist/generated/assets/i18n/messagebundle_pt_PT.json +1 -1
  56. package/dist/generated/assets/i18n/messagebundle_ro.json +1 -1
  57. package/dist/generated/assets/i18n/messagebundle_ru.json +1 -1
  58. package/dist/generated/assets/i18n/messagebundle_sh.json +1 -1
  59. package/dist/generated/assets/i18n/messagebundle_sk.json +1 -1
  60. package/dist/generated/assets/i18n/messagebundle_sl.json +1 -1
  61. package/dist/generated/assets/i18n/messagebundle_sr.json +1 -1
  62. package/dist/generated/assets/i18n/messagebundle_sv.json +1 -1
  63. package/dist/generated/assets/i18n/messagebundle_th.json +1 -1
  64. package/dist/generated/assets/i18n/messagebundle_tr.json +1 -1
  65. package/dist/generated/assets/i18n/messagebundle_uk.json +1 -1
  66. package/dist/generated/assets/i18n/messagebundle_vi.json +1 -1
  67. package/dist/generated/assets/i18n/messagebundle_zh_CN.json +1 -1
  68. package/dist/generated/assets/i18n/messagebundle_zh_TW.json +1 -1
  69. package/dist/generated/i18n/i18n-defaults.js +2 -2
  70. package/dist/generated/i18n/i18n-defaults.js.map +1 -1
  71. package/dist/generated/themes/Button.css.d.ts +1 -1
  72. package/dist/generated/themes/Button.css.js +1 -1
  73. package/dist/generated/themes/Button.css.js.map +1 -1
  74. package/dist/generated/themes/Input.css.d.ts +1 -1
  75. package/dist/generated/themes/Input.css.js +1 -1
  76. package/dist/generated/themes/Input.css.js.map +1 -1
  77. package/dist/generated/themes/TextArea.css.d.ts +1 -1
  78. package/dist/generated/themes/TextArea.css.js +1 -1
  79. package/dist/generated/themes/TextArea.css.js.map +1 -1
  80. package/dist/generated/themes/Versioning.css.d.ts +1 -1
  81. package/dist/generated/themes/Versioning.css.js +1 -1
  82. package/dist/generated/themes/Versioning.css.js.map +1 -1
  83. package/dist/generated/themes/WritingAssistant.css.d.ts +1 -1
  84. package/dist/generated/themes/WritingAssistant.css.js +1 -1
  85. package/dist/generated/themes/WritingAssistant.css.js.map +1 -1
  86. package/dist/vscode.html-custom-data.json +51 -0
  87. package/dist/web-types.json +136 -1
  88. package/package.json +7 -7
  89. package/src/TextArea.css +0 -20
  90. package/src/TextAreaTemplate.tsx +1 -0
  91. package/src/WritingAssistantTemplate.tsx +13 -11
  92. package/src/i18n/messagebundle.properties +4 -4
  93. package/src/i18n/messagebundle_ar.properties +8 -0
  94. package/src/i18n/messagebundle_bg.properties +8 -0
  95. package/src/i18n/messagebundle_ca.properties +8 -0
  96. package/src/i18n/messagebundle_cnr.properties +8 -0
  97. package/src/i18n/messagebundle_cs.properties +8 -0
  98. package/src/i18n/messagebundle_cy.properties +8 -0
  99. package/src/i18n/messagebundle_da.properties +8 -0
  100. package/src/i18n/messagebundle_de.properties +11 -3
  101. package/src/i18n/messagebundle_el.properties +8 -0
  102. package/src/i18n/messagebundle_en.properties +26 -3
  103. package/src/i18n/messagebundle_en_GB.properties +8 -0
  104. package/src/i18n/messagebundle_en_US_saprigi.properties +2 -2
  105. package/src/i18n/messagebundle_es.properties +8 -0
  106. package/src/i18n/messagebundle_es_MX.properties +8 -0
  107. package/src/i18n/messagebundle_et.properties +8 -0
  108. package/src/i18n/messagebundle_fi.properties +8 -0
  109. package/src/i18n/messagebundle_fr.properties +8 -0
  110. package/src/i18n/messagebundle_fr_CA.properties +8 -0
  111. package/src/i18n/messagebundle_hi.properties +8 -0
  112. package/src/i18n/messagebundle_hr.properties +8 -0
  113. package/src/i18n/messagebundle_hu.properties +8 -0
  114. package/src/i18n/messagebundle_id.properties +8 -0
  115. package/src/i18n/messagebundle_it.properties +8 -0
  116. package/src/i18n/messagebundle_iw.properties +10 -2
  117. package/src/i18n/messagebundle_ja.properties +8 -0
  118. package/src/i18n/messagebundle_kk.properties +8 -0
  119. package/src/i18n/messagebundle_ko.properties +8 -0
  120. package/src/i18n/messagebundle_lt.properties +8 -0
  121. package/src/i18n/messagebundle_lv.properties +8 -0
  122. package/src/i18n/messagebundle_mk.properties +8 -0
  123. package/src/i18n/messagebundle_ms.properties +8 -0
  124. package/src/i18n/messagebundle_nl.properties +8 -0
  125. package/src/i18n/messagebundle_no.properties +8 -0
  126. package/src/i18n/messagebundle_pl.properties +8 -0
  127. package/src/i18n/messagebundle_pt.properties +8 -0
  128. package/src/i18n/messagebundle_pt_PT.properties +8 -0
  129. package/src/i18n/messagebundle_ro.properties +8 -0
  130. package/src/i18n/messagebundle_ru.properties +8 -0
  131. package/src/i18n/messagebundle_sh.properties +8 -0
  132. package/src/i18n/messagebundle_sk.properties +8 -0
  133. package/src/i18n/messagebundle_sl.properties +8 -0
  134. package/src/i18n/messagebundle_sr.properties +8 -0
  135. package/src/i18n/messagebundle_sv.properties +9 -1
  136. package/src/i18n/messagebundle_th.properties +8 -0
  137. package/src/i18n/messagebundle_tr.properties +8 -0
  138. package/src/i18n/messagebundle_uk.properties +8 -0
  139. package/src/i18n/messagebundle_vi.properties +8 -0
  140. package/src/i18n/messagebundle_zh_CN.properties +8 -0
  141. package/src/i18n/messagebundle_zh_TW.properties +8 -0
  142. package/src/themes/WritingAssistant.css +0 -22
@@ -3,6 +3,6 @@ import defaultThemeBase from "@ui5/webcomponents-theming/dist/generated/themes/s
3
3
  import defaultTheme from "./sap_horizon/parameters-bundle.css.js";
4
4
  registerThemePropertiesLoader("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => defaultThemeBase);
5
5
  registerThemePropertiesLoader("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s" + "-" + "a" + "i", "sap_horizon", async () => defaultTheme);
6
- export default `.ui5-ai-textarea-root{position:relative;display:flex;flex-direction:column;width:100%;height:100%}.ui5-ai-textarea-root .ui5-textarea-wrapper{display:flex;flex-direction:column;flex:1;position:relative}.ui5-ai-textarea-root [part=footer]{position:relative;width:100%;margin-top:auto;flex-shrink:0}.ui5-ai-writing-assistant-footer-bar{background:var(--_ui5-v2-17-0-rc-3_texteditor_toolbar_background, var(--ui5-sapPageFooter_Background));width:100%;box-sizing:border-box;box-shadow:none;border-bottom:none;border-top:none}.ui5-ai-writing-assistant-footer-bar--with-border{border-top:1px solid var(--ui5-sapPageFooter_BorderColor)}.ui5-ai-writing-assistant-action-label{margin-left:.5rem;color:var(--ui5-sapContent_LabelColor);font-size:var(--ui5-sapFontSmallSize)}#ai-menu-wrapper{position:relative;z-index:1000}
6
+ export default `.ui5-ai-textarea-root{position:relative;display:flex;flex-direction:column;width:100%;height:100%}.ui5-ai-textarea-root .ui5-textarea-wrapper{display:flex;flex-direction:column;flex:1;position:relative}.ui5-ai-textarea-root [part=footer]{position:relative;width:100%;margin-top:auto;flex-shrink:0}.ui5-ai-writing-assistant-footer-bar{background:var(--_ui5-v2-18-0_texteditor_toolbar_background, var(--sapPageFooter_Background));width:100%;box-sizing:border-box;box-shadow:none;border-bottom:none;border-top:none}.ui5-ai-writing-assistant-footer-bar--with-border{border-top:1px solid var(--sapPageFooter_BorderColor)}.ui5-ai-writing-assistant-action-label{margin-left:.5rem;color:var(--sapContent_LabelColor);font-size:var(--sapFontSmallSize)}#ai-menu-wrapper{position:relative;z-index:1000}
7
7
  `;
8
8
  //# sourceMappingURL=TextArea.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.css.js","sourceRoot":"","sources":["../../../src/generated/themes/TextArea.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAExG,OAAO,gBAAgB,MAAM,uFAAuF,CAAC;AACrH,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAElE,6BAA6B,CAAC,GAAG,GAAG,KAAK,GAAG,GAAG,GAAG,uBAAuB,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,gBAAgB,CAAC,CAAC;AACxH,6BAA6B,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,YAAY,CAAC,CAAC;AACpM,eAAe;CACd,CAAA","sourcesContent":["import { registerThemePropertiesLoader } from \"@ui5/webcomponents-base/dist/asset-registries/Themes.js\";\n\nimport defaultThemeBase from \"@ui5/webcomponents-theming/dist/generated/themes/sap_horizon/parameters-bundle.css.js\";\nimport defaultTheme from \"./sap_horizon/parameters-bundle.css.js\";\n\nregisterThemePropertiesLoader(\"@\" + \"ui5\" + \"/\" + \"webcomponents-theming\", \"sap_horizon\", async () => defaultThemeBase);\nregisterThemePropertiesLoader(\"@\" + \"u\" + \"i\" + \"5\" + \"/\" + \"w\" + \"e\" + \"b\" + \"c\" + \"o\" + \"m\" + \"p\" + \"o\" + \"n\" + \"e\" + \"n\" + \"t\" + \"s\" + \"-\" + \"a\" + \"i\", \"sap_horizon\", async () => defaultTheme);\nexport default `.ui5-ai-textarea-root{position:relative;display:flex;flex-direction:column;width:100%;height:100%}.ui5-ai-textarea-root .ui5-textarea-wrapper{display:flex;flex-direction:column;flex:1;position:relative}.ui5-ai-textarea-root [part=footer]{position:relative;width:100%;margin-top:auto;flex-shrink:0}.ui5-ai-writing-assistant-footer-bar{background:var(--_ui5-v2-17-0-rc-3_texteditor_toolbar_background, var(--ui5-sapPageFooter_Background));width:100%;box-sizing:border-box;box-shadow:none;border-bottom:none;border-top:none}.ui5-ai-writing-assistant-footer-bar--with-border{border-top:1px solid var(--ui5-sapPageFooter_BorderColor)}.ui5-ai-writing-assistant-action-label{margin-left:.5rem;color:var(--ui5-sapContent_LabelColor);font-size:var(--ui5-sapFontSmallSize)}#ai-menu-wrapper{position:relative;z-index:1000}\n`"]}
1
+ {"version":3,"file":"TextArea.css.js","sourceRoot":"","sources":["../../../src/generated/themes/TextArea.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAExG,OAAO,gBAAgB,MAAM,uFAAuF,CAAC;AACrH,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAElE,6BAA6B,CAAC,GAAG,GAAG,KAAK,GAAG,GAAG,GAAG,uBAAuB,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,gBAAgB,CAAC,CAAC;AACxH,6BAA6B,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,YAAY,CAAC,CAAC;AACpM,eAAe;CACd,CAAA","sourcesContent":["import { registerThemePropertiesLoader } from \"@ui5/webcomponents-base/dist/asset-registries/Themes.js\";\n\nimport defaultThemeBase from \"@ui5/webcomponents-theming/dist/generated/themes/sap_horizon/parameters-bundle.css.js\";\nimport defaultTheme from \"./sap_horizon/parameters-bundle.css.js\";\n\nregisterThemePropertiesLoader(\"@\" + \"ui5\" + \"/\" + \"webcomponents-theming\", \"sap_horizon\", async () => defaultThemeBase);\nregisterThemePropertiesLoader(\"@\" + \"u\" + \"i\" + \"5\" + \"/\" + \"w\" + \"e\" + \"b\" + \"c\" + \"o\" + \"m\" + \"p\" + \"o\" + \"n\" + \"e\" + \"n\" + \"t\" + \"s\" + \"-\" + \"a\" + \"i\", \"sap_horizon\", async () => defaultTheme);\nexport default `.ui5-ai-textarea-root{position:relative;display:flex;flex-direction:column;width:100%;height:100%}.ui5-ai-textarea-root .ui5-textarea-wrapper{display:flex;flex-direction:column;flex:1;position:relative}.ui5-ai-textarea-root [part=footer]{position:relative;width:100%;margin-top:auto;flex-shrink:0}.ui5-ai-writing-assistant-footer-bar{background:var(--_ui5-v2-18-0_texteditor_toolbar_background, var(--sapPageFooter_Background));width:100%;box-sizing:border-box;box-shadow:none;border-bottom:none;border-top:none}.ui5-ai-writing-assistant-footer-bar--with-border{border-top:1px solid var(--sapPageFooter_BorderColor)}.ui5-ai-writing-assistant-action-label{margin-left:.5rem;color:var(--sapContent_LabelColor);font-size:var(--sapFontSmallSize)}#ai-menu-wrapper{position:relative;z-index:1000}\n`"]}
@@ -1,2 +1,2 @@
1
- declare const _default: ":host{display:inline-flex;align-items:center}#versioning-history{display:flex;align-items:center;gap:0}.version-step-counter{margin:0 .25rem;display:flex;align-items:center;color:var(--ui5-sapContent_LabelColor);font-size:var(--ui5-sapFontSmallSize);line-height:1}\n";
1
+ declare const _default: ":host{display:inline-flex;align-items:center}#versioning-history{display:flex;align-items:center;gap:0}.version-step-counter{margin:0 .25rem;display:flex;align-items:center;color:var(--sapContent_LabelColor);font-size:var(--sapFontSmallSize);line-height:1}\n";
2
2
  export default _default;
@@ -3,6 +3,6 @@ import defaultThemeBase from "@ui5/webcomponents-theming/dist/generated/themes/s
3
3
  import defaultTheme from "./sap_horizon/parameters-bundle.css.js";
4
4
  registerThemePropertiesLoader("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => defaultThemeBase);
5
5
  registerThemePropertiesLoader("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s" + "-" + "a" + "i", "sap_horizon", async () => defaultTheme);
6
- export default `:host{display:inline-flex;align-items:center}#versioning-history{display:flex;align-items:center;gap:0}.version-step-counter{margin:0 .25rem;display:flex;align-items:center;color:var(--ui5-sapContent_LabelColor);font-size:var(--ui5-sapFontSmallSize);line-height:1}
6
+ export default `:host{display:inline-flex;align-items:center}#versioning-history{display:flex;align-items:center;gap:0}.version-step-counter{margin:0 .25rem;display:flex;align-items:center;color:var(--sapContent_LabelColor);font-size:var(--sapFontSmallSize);line-height:1}
7
7
  `;
8
8
  //# sourceMappingURL=Versioning.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Versioning.css.js","sourceRoot":"","sources":["../../../src/generated/themes/Versioning.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAExG,OAAO,gBAAgB,MAAM,uFAAuF,CAAC;AACrH,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAElE,6BAA6B,CAAC,GAAG,GAAG,KAAK,GAAG,GAAG,GAAG,uBAAuB,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,gBAAgB,CAAC,CAAC;AACxH,6BAA6B,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,YAAY,CAAC,CAAC;AACpM,eAAe;CACd,CAAA","sourcesContent":["import { registerThemePropertiesLoader } from \"@ui5/webcomponents-base/dist/asset-registries/Themes.js\";\n\nimport defaultThemeBase from \"@ui5/webcomponents-theming/dist/generated/themes/sap_horizon/parameters-bundle.css.js\";\nimport defaultTheme from \"./sap_horizon/parameters-bundle.css.js\";\n\nregisterThemePropertiesLoader(\"@\" + \"ui5\" + \"/\" + \"webcomponents-theming\", \"sap_horizon\", async () => defaultThemeBase);\nregisterThemePropertiesLoader(\"@\" + \"u\" + \"i\" + \"5\" + \"/\" + \"w\" + \"e\" + \"b\" + \"c\" + \"o\" + \"m\" + \"p\" + \"o\" + \"n\" + \"e\" + \"n\" + \"t\" + \"s\" + \"-\" + \"a\" + \"i\", \"sap_horizon\", async () => defaultTheme);\nexport default `:host{display:inline-flex;align-items:center}#versioning-history{display:flex;align-items:center;gap:0}.version-step-counter{margin:0 .25rem;display:flex;align-items:center;color:var(--ui5-sapContent_LabelColor);font-size:var(--ui5-sapFontSmallSize);line-height:1}\n`"]}
1
+ {"version":3,"file":"Versioning.css.js","sourceRoot":"","sources":["../../../src/generated/themes/Versioning.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAExG,OAAO,gBAAgB,MAAM,uFAAuF,CAAC;AACrH,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAElE,6BAA6B,CAAC,GAAG,GAAG,KAAK,GAAG,GAAG,GAAG,uBAAuB,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,gBAAgB,CAAC,CAAC;AACxH,6BAA6B,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,YAAY,CAAC,CAAC;AACpM,eAAe;CACd,CAAA","sourcesContent":["import { registerThemePropertiesLoader } from \"@ui5/webcomponents-base/dist/asset-registries/Themes.js\";\n\nimport defaultThemeBase from \"@ui5/webcomponents-theming/dist/generated/themes/sap_horizon/parameters-bundle.css.js\";\nimport defaultTheme from \"./sap_horizon/parameters-bundle.css.js\";\n\nregisterThemePropertiesLoader(\"@\" + \"ui5\" + \"/\" + \"webcomponents-theming\", \"sap_horizon\", async () => defaultThemeBase);\nregisterThemePropertiesLoader(\"@\" + \"u\" + \"i\" + \"5\" + \"/\" + \"w\" + \"e\" + \"b\" + \"c\" + \"o\" + \"m\" + \"p\" + \"o\" + \"n\" + \"e\" + \"n\" + \"t\" + \"s\" + \"-\" + \"a\" + \"i\", \"sap_horizon\", async () => defaultTheme);\nexport default `:host{display:inline-flex;align-items:center}#versioning-history{display:flex;align-items:center;gap:0}.version-step-counter{margin:0 .25rem;display:flex;align-items:center;color:var(--sapContent_LabelColor);font-size:var(--sapFontSmallSize);line-height:1}\n`"]}
@@ -1,2 +1,2 @@
1
- declare const _default: ".ui5-ai-textarea-root{position:relative;display:flex;flex-direction:column;width:100%;height:100%}.ui5-ai-textarea-root .ui5-textarea-wrapper{display:flex;flex-direction:column;flex:1;position:relative}.ui5-ai-textarea-root [part=footer]{width:100%;margin-top:auto;flex-shrink:0}.ui5-ai-writing-assistant-footer-bar{background:var(--_ui5-v2-17-0-rc-3_texteditor_toolbar_background, var(--ui5-sapPageFooter_Background));width:100%;box-sizing:border-box;box-shadow:none;border-bottom:none;border-top:none;padding:.5rem;min-height:2.75rem;display:flex;align-items:center;justify-content:flex-start}.ui5-ai-writing-assistant-footer-bar--with-border{border-top:1px solid var(--ui5-sapPageFooter_BorderColor)}.ui5-ai-writing-assistant-action-label{color:var(--ui5-sapContent_LabelColor);font-size:var(--ui5-sapFontSize);font-family:\"72override\",var(--ui5-sapFontFamily);margin-left:.25rem}\n";
1
+ declare const _default: ".ui5-ai-writing-assistant-footer-bar{background:var(--_ui5-v2-18-0_texteditor_toolbar_background, var(--sapPageFooter_Background));width:100%;box-sizing:border-box;box-shadow:none;border-bottom:none;border-top:none;padding:.5rem;display:flex;align-items:center;justify-content:flex-start}.ui5-ai-writing-assistant-footer-bar--with-border{border-top:1px solid var(--sapPageFooter_BorderColor)}.ui5-ai-writing-assistant-action-label{color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);font-family:\"72override\",var(--sapFontFamily);margin-left:.25rem}\n";
2
2
  export default _default;
@@ -3,6 +3,6 @@ import defaultThemeBase from "@ui5/webcomponents-theming/dist/generated/themes/s
3
3
  import defaultTheme from "./sap_horizon/parameters-bundle.css.js";
4
4
  registerThemePropertiesLoader("@" + "ui5" + "/" + "webcomponents-theming", "sap_horizon", async () => defaultThemeBase);
5
5
  registerThemePropertiesLoader("@" + "u" + "i" + "5" + "/" + "w" + "e" + "b" + "c" + "o" + "m" + "p" + "o" + "n" + "e" + "n" + "t" + "s" + "-" + "a" + "i", "sap_horizon", async () => defaultTheme);
6
- export default `.ui5-ai-textarea-root{position:relative;display:flex;flex-direction:column;width:100%;height:100%}.ui5-ai-textarea-root .ui5-textarea-wrapper{display:flex;flex-direction:column;flex:1;position:relative}.ui5-ai-textarea-root [part=footer]{width:100%;margin-top:auto;flex-shrink:0}.ui5-ai-writing-assistant-footer-bar{background:var(--_ui5-v2-17-0-rc-3_texteditor_toolbar_background, var(--ui5-sapPageFooter_Background));width:100%;box-sizing:border-box;box-shadow:none;border-bottom:none;border-top:none;padding:.5rem;min-height:2.75rem;display:flex;align-items:center;justify-content:flex-start}.ui5-ai-writing-assistant-footer-bar--with-border{border-top:1px solid var(--ui5-sapPageFooter_BorderColor)}.ui5-ai-writing-assistant-action-label{color:var(--ui5-sapContent_LabelColor);font-size:var(--ui5-sapFontSize);font-family:"72override",var(--ui5-sapFontFamily);margin-left:.25rem}
6
+ export default `.ui5-ai-writing-assistant-footer-bar{background:var(--_ui5-v2-18-0_texteditor_toolbar_background, var(--sapPageFooter_Background));width:100%;box-sizing:border-box;box-shadow:none;border-bottom:none;border-top:none;padding:.5rem;display:flex;align-items:center;justify-content:flex-start}.ui5-ai-writing-assistant-footer-bar--with-border{border-top:1px solid var(--sapPageFooter_BorderColor)}.ui5-ai-writing-assistant-action-label{color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);margin-left:.25rem}
7
7
  `;
8
8
  //# sourceMappingURL=WritingAssistant.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WritingAssistant.css.js","sourceRoot":"","sources":["../../../src/generated/themes/WritingAssistant.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAExG,OAAO,gBAAgB,MAAM,uFAAuF,CAAC;AACrH,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAElE,6BAA6B,CAAC,GAAG,GAAG,KAAK,GAAG,GAAG,GAAG,uBAAuB,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,gBAAgB,CAAC,CAAC;AACxH,6BAA6B,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,YAAY,CAAC,CAAC;AACpM,eAAe;CACd,CAAA","sourcesContent":["import { registerThemePropertiesLoader } from \"@ui5/webcomponents-base/dist/asset-registries/Themes.js\";\n\nimport defaultThemeBase from \"@ui5/webcomponents-theming/dist/generated/themes/sap_horizon/parameters-bundle.css.js\";\nimport defaultTheme from \"./sap_horizon/parameters-bundle.css.js\";\n\nregisterThemePropertiesLoader(\"@\" + \"ui5\" + \"/\" + \"webcomponents-theming\", \"sap_horizon\", async () => defaultThemeBase);\nregisterThemePropertiesLoader(\"@\" + \"u\" + \"i\" + \"5\" + \"/\" + \"w\" + \"e\" + \"b\" + \"c\" + \"o\" + \"m\" + \"p\" + \"o\" + \"n\" + \"e\" + \"n\" + \"t\" + \"s\" + \"-\" + \"a\" + \"i\", \"sap_horizon\", async () => defaultTheme);\nexport default `.ui5-ai-textarea-root{position:relative;display:flex;flex-direction:column;width:100%;height:100%}.ui5-ai-textarea-root .ui5-textarea-wrapper{display:flex;flex-direction:column;flex:1;position:relative}.ui5-ai-textarea-root [part=footer]{width:100%;margin-top:auto;flex-shrink:0}.ui5-ai-writing-assistant-footer-bar{background:var(--_ui5-v2-17-0-rc-3_texteditor_toolbar_background, var(--ui5-sapPageFooter_Background));width:100%;box-sizing:border-box;box-shadow:none;border-bottom:none;border-top:none;padding:.5rem;min-height:2.75rem;display:flex;align-items:center;justify-content:flex-start}.ui5-ai-writing-assistant-footer-bar--with-border{border-top:1px solid var(--ui5-sapPageFooter_BorderColor)}.ui5-ai-writing-assistant-action-label{color:var(--ui5-sapContent_LabelColor);font-size:var(--ui5-sapFontSize);font-family:\"72override\",var(--ui5-sapFontFamily);margin-left:.25rem}\n`"]}
1
+ {"version":3,"file":"WritingAssistant.css.js","sourceRoot":"","sources":["../../../src/generated/themes/WritingAssistant.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yDAAyD,CAAC;AAExG,OAAO,gBAAgB,MAAM,uFAAuF,CAAC;AACrH,OAAO,YAAY,MAAM,wCAAwC,CAAC;AAElE,6BAA6B,CAAC,GAAG,GAAG,KAAK,GAAG,GAAG,GAAG,uBAAuB,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,gBAAgB,CAAC,CAAC;AACxH,6BAA6B,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,EAAE,aAAa,EAAE,KAAK,IAAI,EAAE,CAAC,YAAY,CAAC,CAAC;AACpM,eAAe;CACd,CAAA","sourcesContent":["import { registerThemePropertiesLoader } from \"@ui5/webcomponents-base/dist/asset-registries/Themes.js\";\n\nimport defaultThemeBase from \"@ui5/webcomponents-theming/dist/generated/themes/sap_horizon/parameters-bundle.css.js\";\nimport defaultTheme from \"./sap_horizon/parameters-bundle.css.js\";\n\nregisterThemePropertiesLoader(\"@\" + \"ui5\" + \"/\" + \"webcomponents-theming\", \"sap_horizon\", async () => defaultThemeBase);\nregisterThemePropertiesLoader(\"@\" + \"u\" + \"i\" + \"5\" + \"/\" + \"w\" + \"e\" + \"b\" + \"c\" + \"o\" + \"m\" + \"p\" + \"o\" + \"n\" + \"e\" + \"n\" + \"t\" + \"s\" + \"-\" + \"a\" + \"i\", \"sap_horizon\", async () => defaultTheme);\nexport default `.ui5-ai-writing-assistant-footer-bar{background:var(--_ui5-v2-18-0_texteditor_toolbar_background, var(--sapPageFooter_Background));width:100%;box-sizing:border-box;box-shadow:none;border-bottom:none;border-top:none;padding:.5rem;display:flex;align-items:center;justify-content:flex-start}.ui5-ai-writing-assistant-footer-bar--with-border{border-top:1px solid var(--sapPageFooter_BorderColor)}.ui5-ai-writing-assistant-action-label{color:var(--sapContent_LabelColor);font-size:var(--sapFontSize);font-family:\"72override\",var(--sapFontFamily);margin-left:.25rem}\n`"]}
@@ -183,6 +183,57 @@
183
183
  }
184
184
  ],
185
185
  "references": []
186
+ },
187
+ {
188
+ "name": "ui5-ai-toolbar-label",
189
+ "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\n---\n\n\n",
190
+ "attributes": [
191
+ {
192
+ "name": "text",
193
+ "description": "Defines the text of the label.",
194
+ "values": []
195
+ }
196
+ ],
197
+ "references": []
198
+ },
199
+ {
200
+ "name": "ui5-ai-versioning",
201
+ "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\n\n\n\n### **Events:**\n - **version-change** - Fired when the user clicks on version navigation buttons.",
202
+ "attributes": [
203
+ {
204
+ "name": "current-step",
205
+ "description": "Indicates the index of the currently displayed result version.\n\nThis property represents the current position in the version history.",
206
+ "values": []
207
+ },
208
+ {
209
+ "name": "total-steps",
210
+ "description": "The total number of available result versions.\n\nNote: Versioning is hidden if the value is `0`.",
211
+ "values": []
212
+ }
213
+ ],
214
+ "references": []
215
+ },
216
+ {
217
+ "name": "ui5-ai-writing-assistant",
218
+ "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\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.",
219
+ "attributes": [
220
+ {
221
+ "name": "prompt-description",
222
+ "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\").",
223
+ "values": []
224
+ },
225
+ {
226
+ "name": "current-version",
227
+ "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.",
228
+ "values": []
229
+ },
230
+ {
231
+ "name": "total-versions",
232
+ "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.",
233
+ "values": []
234
+ }
235
+ ],
236
+ "references": []
186
237
  }
187
238
  ]
188
239
  }
@@ -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-ai",
4
- "version": "2.17.0-rc.3",
4
+ "version": "2.18.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -477,6 +477,141 @@
477
477
  }
478
478
  ]
479
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
+ }
480
615
  }
481
616
  ]
482
617
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-ai",
3
- "version": "0.0.0-df5b4199a",
3
+ "version": "0.0.0-e03cd01f3",
4
4
  "description": "UI5 Web Components: webcomponents.ai",
5
5
  "ui5": {
6
6
  "webComponentsPackage": true
@@ -46,17 +46,17 @@
46
46
  "directory": "packages/ai"
47
47
  },
48
48
  "dependencies": {
49
- "@ui5/webcomponents": "0.0.0-df5b4199a",
50
- "@ui5/webcomponents-base": "0.0.0-df5b4199a",
51
- "@ui5/webcomponents-icons": "0.0.0-df5b4199a",
52
- "@ui5/webcomponents-theming": "0.0.0-df5b4199a"
49
+ "@ui5/webcomponents": "0.0.0-e03cd01f3",
50
+ "@ui5/webcomponents-base": "0.0.0-e03cd01f3",
51
+ "@ui5/webcomponents-icons": "0.0.0-e03cd01f3",
52
+ "@ui5/webcomponents-theming": "0.0.0-e03cd01f3"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@custom-elements-manifest/analyzer": "^0.10.10",
56
56
  "@ui5/cypress-internal": "0.1.0",
57
- "@ui5/webcomponents-tools": "0.0.0-df5b4199a",
57
+ "@ui5/webcomponents-tools": "0.0.0-e03cd01f3",
58
58
  "cypress": "^15.3.0",
59
59
  "vite": "5.4.21"
60
60
  },
61
- "gitHead": "c07b41622cd8f0a2094b38233f6ad89f6cb4ee2b"
61
+ "gitHead": "f28ab61f9c4395563d4664b411455d7c28f47597"
62
62
  }
package/src/TextArea.css CHANGED
@@ -20,26 +20,6 @@
20
20
  flex-shrink: 0;
21
21
  }
22
22
 
23
- .ui5-ai-writing-assistant-footer-bar {
24
- background: var(--_ui5_texteditor_toolbar_background, var(--sapPageFooter_Background));
25
- width: 100%;
26
- box-sizing: border-box;
27
- box-shadow: none;
28
- border-bottom: none;
29
- border-top: none;
30
- }
31
-
32
23
  .ui5-ai-writing-assistant-footer-bar--with-border {
33
24
  border-top: 1px solid var(--sapPageFooter_BorderColor);
34
25
  }
35
-
36
- .ui5-ai-writing-assistant-action-label {
37
- margin-left: 0.5rem;
38
- color: var(--sapContent_LabelColor);
39
- font-size: var(--sapFontSmallSize);
40
- }
41
-
42
- #ai-menu-wrapper {
43
- position: relative;
44
- z-index: 1000;
45
- }
@@ -58,6 +58,7 @@ export default function TextAreaTemplate(this: TextArea) {
58
58
  currentVersion={this.currentVersion}
59
59
  totalVersions={this.totalVersions}
60
60
  promptDescription={this.promptDescription}
61
+ focused={this.focused}
61
62
  onButtonClick={this._handleAIButtonClick}
62
63
  onStopGeneration={this.handleStopGeneration}
63
64
  onVersionChange={this._handleVersionChange}
@@ -33,17 +33,19 @@ export default function WritingAssistantTemplate(this: WritingAssistant) {
33
33
 
34
34
  <ToolbarSpacer />
35
35
 
36
- <ToolbarButton
37
- id="ai-menu-btn"
38
- design="Transparent"
39
- icon={this.loading ? "stop" : "ai"}
40
- data-state={this.loading ? "generating" : "generate"}
41
- onClick={this.handleButtonClick}
42
- tooltip={this.loading ? this._stopTooltip : this._buttonTooltip}
43
- accessibilityAttributes={{ hasPopup: this.loading ? "false" : "menu" }}
44
- accessibleName={this._buttonAccessibleName}
45
- overflowPriority="NeverOverflow"
46
- />
36
+ {this.focused && (
37
+ <ToolbarButton
38
+ id="ai-menu-btn"
39
+ design="Transparent"
40
+ icon={this.loading ? "stop" : "ai"}
41
+ data-state={this.loading ? "generating" : "generate"}
42
+ onClick={this.handleButtonClick}
43
+ tooltip={this.loading ? this._stopTooltip : this._buttonTooltip}
44
+ accessibilityAttributes={{ hasPopup: this.loading ? "false" : "menu" }}
45
+ accessibleName={this._buttonAccessibleName}
46
+ overflowPriority="NeverOverflow"
47
+ />
48
+ )}
47
49
  </Toolbar>
48
50
  );
49
51
  }
@@ -43,8 +43,8 @@ WRITING_ASSISTANT_BUTTON_TOOLTIP=Writing Assistant (Shift + F4)
43
43
  #XTOL: Writing Assistant stop generating button tooltip
44
44
  WRITING_ASSISTANT_STOP_TOOLTIP=Stop Generating (Esc)
45
45
 
46
- #XFLD: Tooltip for the Previous Version button
47
- VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Previous Version
46
+ #XTOL: Tooltip for the Previous Version button
47
+ VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Previous Version (Ctrl + Shift + Z)
48
48
 
49
- #XFLD: Tooltip for the Next Version button
50
- VERSIONING_NEXT_BUTTON_TOOLTIP=Next Version
49
+ #XTOL: Tooltip for the Next Version button
50
+ VERSIONING_NEXT_BUTTON_TOOLTIP=Next Version (Ctrl + Shift + Y)
@@ -7,6 +7,12 @@ BUTTON_TOOLTIP_TEXT={0} مع الذكاء الاصطناعي
7
7
 
8
8
  WRITING_ASSISTANT_LABEL=شريط أدوات مساعد الكتابة Shift + F4
9
9
 
10
+ INPUT_VERSIONING_NEXT_BUTTON_TOOLTIP=الإصدار التالي (Ctrl + Shift + Y)
11
+
12
+ INPUT_VERSIONING_PREVIOUS_BUTTON_TOOLTIP=الإصدار السابق (Ctrl + Shift + Z)
13
+
14
+ INPUT_WRITING_ASSISTANT_BUTTON_TOOLTIP=مساعد الكتابة بالذكاء الاصطناعي (Shift + ‏F4)
15
+
10
16
  VERSIONING_PREVIOUS_BUTTON_TEXT=الإصدار السابق
11
17
 
12
18
  VERSIONING_NEXT_BUTTON_TEXT=الإصدار التالي
@@ -19,6 +25,8 @@ WRITING_ASSISTANT_BUTTON_ACCESSIBLE_NAME=مساعد الكتابة
19
25
 
20
26
  WRITING_ASSISTANT_BUTTON_TOOLTIP=مساعد الكتابة (Shift + F4)
21
27
 
28
+ WRITING_ASSISTANT_STOP_TOOLTIP=إيقاف الإنشاء (ESC)
29
+
22
30
  VERSIONING_PREVIOUS_BUTTON_TOOLTIP=الإصدار السابق
23
31
 
24
32
  VERSIONING_NEXT_BUTTON_TOOLTIP=الإصدار التالي
@@ -7,6 +7,12 @@ BUTTON_TOOLTIP_TEXT={0} с изкуствен интелект
7
7
 
8
8
  WRITING_ASSISTANT_LABEL=Лента с инструменти на асистента за писане Shift + F4
9
9
 
10
+ INPUT_VERSIONING_NEXT_BUTTON_TOOLTIP=Следваща версия (Ctrl + Shift + Y)
11
+
12
+ INPUT_VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Предходна версия (Ctrl + Shift + Z)
13
+
14
+ INPUT_WRITING_ASSISTANT_BUTTON_TOOLTIP=AI асистент за писане (Shift + F4)
15
+
10
16
  VERSIONING_PREVIOUS_BUTTON_TEXT=Предишна версия
11
17
 
12
18
  VERSIONING_NEXT_BUTTON_TEXT=Следваща версия
@@ -19,6 +25,8 @@ WRITING_ASSISTANT_BUTTON_ACCESSIBLE_NAME=Асистент писане
19
25
 
20
26
  WRITING_ASSISTANT_BUTTON_TOOLTIP=Асистент за писане (Shift + F4)
21
27
 
28
+ WRITING_ASSISTANT_STOP_TOOLTIP=Спиране на генерирането (Esc)
29
+
22
30
  VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Предишна версия
23
31
 
24
32
  VERSIONING_NEXT_BUTTON_TOOLTIP=Следваща версия
@@ -7,6 +7,12 @@ BUTTON_TOOLTIP_TEXT={0} amb intel·ligència artificial
7
7
 
8
8
  WRITING_ASSISTANT_LABEL=Barra d''eines de l''assistent de redacció (Majús + F4)
9
9
 
10
+ INPUT_VERSIONING_NEXT_BUTTON_TOOLTIP=Següent versió (Ctrl + Majús + Y)
11
+
12
+ INPUT_VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Versió anterior (Ctrl + Majús + Z)
13
+
14
+ INPUT_WRITING_ASSISTANT_BUTTON_TOOLTIP=Assistent de redacció amb IA (Majús + F4)
15
+
10
16
  VERSIONING_PREVIOUS_BUTTON_TEXT=Versió anterior
11
17
 
12
18
  VERSIONING_NEXT_BUTTON_TEXT=Versió següent
@@ -19,6 +25,8 @@ WRITING_ASSISTANT_BUTTON_ACCESSIBLE_NAME=Assistent de redacció
19
25
 
20
26
  WRITING_ASSISTANT_BUTTON_TOOLTIP=Assistent de redacció (Majús + F4)
21
27
 
28
+ WRITING_ASSISTANT_STOP_TOOLTIP=Aturar la generació (Esc)
29
+
22
30
  VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Versió anterior
23
31
 
24
32
  VERSIONING_NEXT_BUTTON_TOOLTIP=Versió següent
@@ -7,6 +7,12 @@ BUTTON_TOOLTIP_TEXT={0} sa vještačkom inteligencijom
7
7
 
8
8
  WRITING_ASSISTANT_LABEL=Traka sa alatkama pomoćnika pri pisanju Shift + F4
9
9
 
10
+ INPUT_VERSIONING_NEXT_BUTTON_TOOLTIP=Sljedeća verzija (Ctrl + Shift + Y)
11
+
12
+ INPUT_VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Prethodna verzija (Ctrl + Shift + Z)
13
+
14
+ INPUT_WRITING_ASSISTANT_BUTTON_TOOLTIP=Pomoćnik pri pisanju uz upotrebu vještačke inteligencije (Shift + F4)
15
+
10
16
  VERSIONING_PREVIOUS_BUTTON_TEXT=Prethodna verzija
11
17
 
12
18
  VERSIONING_NEXT_BUTTON_TEXT=Sljedeća verzija
@@ -19,6 +25,8 @@ WRITING_ASSISTANT_BUTTON_ACCESSIBLE_NAME=Pomoćnik pri pisanju
19
25
 
20
26
  WRITING_ASSISTANT_BUTTON_TOOLTIP=Pomoćnik pri pisanju (Shift + F4)
21
27
 
28
+ WRITING_ASSISTANT_STOP_TOOLTIP=Zaustavi generisanje (Esc)
29
+
22
30
  VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Prethodna verzija
23
31
 
24
32
  VERSIONING_NEXT_BUTTON_TOOLTIP=Sljedeća verzija
@@ -7,6 +7,12 @@ BUTTON_TOOLTIP_TEXT={0} s umělou inteligencí
7
7
 
8
8
  WRITING_ASSISTANT_LABEL=Nástrojová lišta asistenta psaní Shift + F4
9
9
 
10
+ INPUT_VERSIONING_NEXT_BUTTON_TOOLTIP=Příští verze (Ctrl + Shift + Y)
11
+
12
+ INPUT_VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Předchozí verze (Ctrl + Shift + Z)
13
+
14
+ INPUT_WRITING_ASSISTANT_BUTTON_TOOLTIP=Asistent psaní s umělou inteligencí (Shift + F4)
15
+
10
16
  VERSIONING_PREVIOUS_BUTTON_TEXT=Předchozí verze
11
17
 
12
18
  VERSIONING_NEXT_BUTTON_TEXT=Další verze
@@ -19,6 +25,8 @@ WRITING_ASSISTANT_BUTTON_ACCESSIBLE_NAME=Asistent psaní
19
25
 
20
26
  WRITING_ASSISTANT_BUTTON_TOOLTIP=Asistent psaní (Shift + F4
21
27
 
28
+ WRITING_ASSISTANT_STOP_TOOLTIP=Zastavit generování (Esc)
29
+
22
30
  VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Předchozí verze
23
31
 
24
32
  VERSIONING_NEXT_BUTTON_TOOLTIP=Další verze
@@ -7,6 +7,12 @@ BUTTON_TOOLTIP_TEXT={0} gyda Deallusrwydd Artiffisial
7
7
 
8
8
  WRITING_ASSISTANT_LABEL=Bar Offer Cynorthwyydd Ysgrifennu Shift + F4
9
9
 
10
+ INPUT_VERSIONING_NEXT_BUTTON_TOOLTIP=Fersiwn Nesaf (Ctrl + Shift + Y)
11
+
12
+ INPUT_VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Fersiwn Flaenorol (Ctrl + Shift + Z)
13
+
14
+ INPUT_WRITING_ASSISTANT_BUTTON_TOOLTIP=Cynorthwyydd Ysgrifennu AI (Shift + F4)
15
+
10
16
  VERSIONING_PREVIOUS_BUTTON_TEXT=Fersiwn Flaenorol
11
17
 
12
18
  VERSIONING_NEXT_BUTTON_TEXT=Fersiwn Nesaf
@@ -19,6 +25,8 @@ WRITING_ASSISTANT_BUTTON_ACCESSIBLE_NAME=Cynorthwyydd Ysgrifennu
19
25
 
20
26
  WRITING_ASSISTANT_BUTTON_TOOLTIP=Cynorthwyydd Ysgrifennu (Shift + F4)
21
27
 
28
+ WRITING_ASSISTANT_STOP_TOOLTIP=Stopio Cynhyrchu (Esc)
29
+
22
30
  VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Fersiwn Flaenorol
23
31
 
24
32
  VERSIONING_NEXT_BUTTON_TOOLTIP=Fersiwn Nesaf
@@ -7,6 +7,12 @@ BUTTON_TOOLTIP_TEXT={0} med kunstig intelligens
7
7
 
8
8
  WRITING_ASSISTANT_LABEL=Værktøjslinje for skriveassistent - Skift + F4
9
9
 
10
+ INPUT_VERSIONING_NEXT_BUTTON_TOOLTIP=Næste version (Ctrl + Skift + Y)
11
+
12
+ INPUT_VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Forrige version (Ctrl + Skift + Z)
13
+
14
+ INPUT_WRITING_ASSISTANT_BUTTON_TOOLTIP=AI-skriveassistent (Skift + F4)
15
+
10
16
  VERSIONING_PREVIOUS_BUTTON_TEXT=Forrige version
11
17
 
12
18
  VERSIONING_NEXT_BUTTON_TEXT=Næste version
@@ -19,6 +25,8 @@ WRITING_ASSISTANT_BUTTON_ACCESSIBLE_NAME=Skriveassistent
19
25
 
20
26
  WRITING_ASSISTANT_BUTTON_TOOLTIP=Skriveassistent (Skift + F4)
21
27
 
28
+ WRITING_ASSISTANT_STOP_TOOLTIP=Stop generering (Esc)
29
+
22
30
  VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Forrige version
23
31
 
24
32
  VERSIONING_NEXT_BUTTON_TOOLTIP=Næste version
@@ -7,17 +7,25 @@ BUTTON_TOOLTIP_TEXT={0} mit künstlicher Intelligenz
7
7
 
8
8
  WRITING_ASSISTANT_LABEL=Formulierungsassistenten-Toolbar (Umschalt + F4)
9
9
 
10
+ INPUT_VERSIONING_NEXT_BUTTON_TOOLTIP=Nächste Version (Strg + Umschalt + Y)
11
+
12
+ INPUT_VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Vorherige Version (Strg + Umschalt + Z)
13
+
14
+ INPUT_WRITING_ASSISTANT_BUTTON_TOOLTIP=KI-Formulierungsassistent (Umschalt + F4)
15
+
10
16
  VERSIONING_PREVIOUS_BUTTON_TEXT=Vorherige Version
11
17
 
12
18
  VERSIONING_NEXT_BUTTON_TEXT=Nächste Version
13
19
 
14
20
  WRITING_ASSISTANT_GENERATING_ANNOUNCEMENT=Generierung stoppen (Esc)
15
21
 
16
- WRITING_ASSISTANT_TOOLBAR_ACCESSIBLE_NAME=Writing Assistant Toolbar
22
+ WRITING_ASSISTANT_TOOLBAR_ACCESSIBLE_NAME=Formulierungsassistenten-Toolbar
23
+
24
+ WRITING_ASSISTANT_BUTTON_ACCESSIBLE_NAME=Formulierungsassistent
17
25
 
18
- WRITING_ASSISTANT_BUTTON_ACCESSIBLE_NAME=Writing Assistant
26
+ WRITING_ASSISTANT_BUTTON_TOOLTIP=Formulierungsassistent (Umschalt + F4)
19
27
 
20
- WRITING_ASSISTANT_BUTTON_TOOLTIP=Writing Assistant (Shift + F4)
28
+ WRITING_ASSISTANT_STOP_TOOLTIP=Generierung stoppen (Esc)
21
29
 
22
30
  VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Vorherige Version
23
31
 
@@ -7,6 +7,12 @@ BUTTON_TOOLTIP_TEXT={0} με Τεχνητή Νοημοσύνη
7
7
 
8
8
  WRITING_ASSISTANT_LABEL=Γραμμή Εργαλείων Βοηθούν Εγγραφής Shift + F4
9
9
 
10
+ INPUT_VERSIONING_NEXT_BUTTON_TOOLTIP=Επόμενη Έκδοση (Ctrl + Shift + Y)
11
+
12
+ INPUT_VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Προηγούμενη Έκδοση (Ctrl + Shift + Z)
13
+
14
+ INPUT_WRITING_ASSISTANT_BUTTON_TOOLTIP=Βοηθός Εγγραφής ΑΙ (Shift + F4)
15
+
10
16
  VERSIONING_PREVIOUS_BUTTON_TEXT=Προηγούμενη Έκδοση
11
17
 
12
18
  VERSIONING_NEXT_BUTTON_TEXT=Επόμενη Έκδοση
@@ -19,6 +25,8 @@ WRITING_ASSISTANT_BUTTON_ACCESSIBLE_NAME=Βοηθός Εγγραφής
19
25
 
20
26
  WRITING_ASSISTANT_BUTTON_TOOLTIP=Βοηθός Εγγραφής (Shift + F4)
21
27
 
28
+ WRITING_ASSISTANT_STOP_TOOLTIP=Διακοπή Δημιουργίας (ESC)
29
+
22
30
  VERSIONING_PREVIOUS_BUTTON_TOOLTIP=Προηγούμενη Έκδοση
23
31
 
24
32
  VERSIONING_NEXT_BUTTON_TOOLTIP=Επόμενη Έκδοση