@ui5/webcomponents-ai 0.0.0-4e88b8243 → 0.0.0-50f1454ef

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,220 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.11.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v2.11.0-rc.0...v2.11.0-rc.1) (2025-05-15)
7
+
8
+ **Note:** Version bump only for package @ui5/webcomponents-ai
9
+
10
+
11
+
12
+
13
+
14
+ # [2.11.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.10.0...v2.11.0-rc.0) (2025-05-08)
15
+
16
+ **Note:** Version bump only for package @ui5/webcomponents-ai
17
+
18
+
19
+
20
+
21
+
22
+ # [2.10.0](https://github.com/SAP/ui5-webcomponents/compare/v2.10.0-rc.3...v2.10.0) (2025-05-07)
23
+
24
+ **Note:** Version bump only for package @ui5/webcomponents-ai
25
+
26
+
27
+
28
+
29
+
30
+ # [2.10.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v2.10.0-rc.2...v2.10.0-rc.3) (2025-05-01)
31
+
32
+ **Note:** Version bump only for package @ui5/webcomponents-ai
33
+
34
+
35
+
36
+
37
+
38
+ # [2.10.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v2.10.0-rc.1...v2.10.0-rc.2) (2025-04-24)
39
+
40
+ **Note:** Version bump only for package @ui5/webcomponents-ai
41
+
42
+
43
+
44
+
45
+
46
+ # [2.10.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v2.10.0-rc.0...v2.10.0-rc.1) (2025-04-17)
47
+
48
+ **Note:** Version bump only for package @ui5/webcomponents-ai
49
+
50
+
51
+
52
+
53
+
54
+ # [2.10.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.9.1-rc.0...v2.10.0-rc.0) (2025-04-14)
55
+
56
+ **Note:** Version bump only for package @ui5/webcomponents-ai
57
+
58
+
59
+
60
+
61
+
62
+ ## [2.9.1-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.9.0...v2.9.1-rc.0) (2025-04-10)
63
+
64
+ **Note:** Version bump only for package @ui5/webcomponents-ai
65
+
66
+
67
+
68
+
69
+
70
+ # [2.9.0](https://github.com/SAP/ui5-webcomponents/compare/v2.9.0-rc.3...v2.9.0) (2025-04-04)
71
+
72
+ **Note:** Version bump only for package @ui5/webcomponents-ai
73
+
74
+
75
+
76
+
77
+
78
+ # [2.9.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v2.9.0-rc.2...v2.9.0-rc.3) (2025-04-03)
79
+
80
+ **Note:** Version bump only for package @ui5/webcomponents-ai
81
+
82
+
83
+
84
+
85
+
86
+ # [2.9.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v2.9.0-rc.1...v2.9.0-rc.2) (2025-03-27)
87
+
88
+ **Note:** Version bump only for package @ui5/webcomponents-ai
89
+
90
+
91
+
92
+
93
+
94
+ # [2.9.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v2.9.0-rc.0...v2.9.0-rc.1) (2025-03-20)
95
+
96
+ **Note:** Version bump only for package @ui5/webcomponents-ai
97
+
98
+
99
+
100
+
101
+
102
+ # [2.9.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.8.1-rc.0...v2.9.0-rc.0) (2025-03-13)
103
+
104
+ **Note:** Version bump only for package @ui5/webcomponents-ai
105
+
106
+
107
+
108
+
109
+
110
+ ## [2.8.1-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.8.0...v2.8.1-rc.0) (2025-03-06)
111
+
112
+ **Note:** Version bump only for package @ui5/webcomponents-ai
113
+
114
+
115
+
116
+
117
+
118
+ # [2.8.0](https://github.com/SAP/ui5-webcomponents/compare/v2.8.0-rc.3...v2.8.0) (2025-03-04)
119
+
120
+
121
+ ### Features
122
+
123
+ * **framework:** add `.currentTarget` to the type of event handler in TSX and UI5CustomEvent ([#10957](https://github.com/SAP/ui5-webcomponents/issues/10957)) ([f56753c](https://github.com/SAP/ui5-webcomponents/commit/f56753c5142d6e817b05d7e33bd160f09c2d5205))
124
+
125
+
126
+
127
+
128
+
129
+ # [2.8.0-rc.3](https://github.com/SAP/ui5-webcomponents/compare/v2.8.0-rc.2...v2.8.0-rc.3) (2025-02-27)
130
+
131
+ **Note:** Version bump only for package @ui5/webcomponents-ai
132
+
133
+
134
+
135
+
136
+
137
+ # [2.8.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v2.8.0-rc.1...v2.8.0-rc.2) (2025-02-20)
138
+
139
+ **Note:** Version bump only for package @ui5/webcomponents-ai
140
+
141
+
142
+
143
+
144
+
145
+ # [2.8.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v2.8.0-rc.0...v2.8.0-rc.1) (2025-02-13)
146
+
147
+ **Note:** Version bump only for package @ui5/webcomponents-ai
148
+
149
+
150
+
151
+
152
+
153
+ # [2.8.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.7.0...v2.8.0-rc.0) (2025-02-06)
154
+
155
+ **Note:** Version bump only for package @ui5/webcomponents-ai
156
+
157
+
158
+
159
+
160
+
161
+ # [2.7.0](https://github.com/SAP/ui5-webcomponents/compare/v2.7.0-rc.2...v2.7.0) (2025-02-03)
162
+
163
+ **Note:** Version bump only for package @ui5/webcomponents-ai
164
+
165
+
166
+
167
+
168
+
169
+ # [2.7.0-rc.2](https://github.com/SAP/ui5-webcomponents/compare/v2.7.0-rc.1...v2.7.0-rc.2) (2025-01-30)
170
+
171
+ **Note:** Version bump only for package @ui5/webcomponents-ai
172
+
173
+
174
+
175
+
176
+
177
+ # [2.7.0-rc.1](https://github.com/SAP/ui5-webcomponents/compare/v2.7.0-rc.0...v2.7.0-rc.1) (2025-01-23)
178
+
179
+ **Note:** Version bump only for package @ui5/webcomponents-ai
180
+
181
+
182
+
183
+
184
+
185
+ # [2.7.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.6.2...v2.7.0-rc.0) (2025-01-16)
186
+
187
+
188
+ ### Bug Fixes
189
+
190
+ * ai button and color palette bring their own items ([#10517](https://github.com/SAP/ui5-webcomponents/issues/10517)) ([11b9356](https://github.com/SAP/ui5-webcomponents/commit/11b9356a13d01ece1ebcf4185b61259b9ad6d364))
191
+
192
+
193
+
194
+
195
+
196
+ ## [2.6.2](https://github.com/SAP/ui5-webcomponents/compare/v2.6.2-rc.0...v2.6.2) (2025-01-09)
197
+
198
+ **Note:** Version bump only for package @ui5/webcomponents-ai
199
+
200
+
201
+
202
+
203
+
204
+ ## [2.6.2-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.6.1...v2.6.2-rc.0) (2025-01-09)
205
+
206
+ **Note:** Version bump only for package @ui5/webcomponents-ai
207
+
208
+
209
+
210
+
211
+
212
+ ## [2.6.1](https://github.com/SAP/ui5-webcomponents/compare/v2.6.0...v2.6.1) (2025-01-08)
213
+
214
+ **Note:** Version bump only for package @ui5/webcomponents-ai
215
+
216
+
217
+
218
+
219
+
6
220
  # [2.6.0](https://github.com/SAP/ui5-webcomponents/compare/v2.6.0-rc.5...v2.6.0) (2025-01-07)
7
221
 
8
222
  **Note:** Version bump only for package @ui5/webcomponents-ai
package/README.md CHANGED
@@ -13,6 +13,7 @@ Provides web components implementing AI-related visual and interaction.
13
13
  | Web Component | Tag name | Module import |
14
14
  |--------------------------|--------------------------------|---------------------------------------------------------|
15
15
  | Button | `ui5-ai-button` | `import "@ui5/webcomponents-ai/dist/Button.js";` |
16
+ | Button State | `ui5-ai-button-state` | comes with `ui5-ai-button` |
16
17
  | PromptInput | `ui5-ai-prompt-input` | `import "@ui5/webcomponents-ai/dist/PromptInput.js";` |
17
18
 
18
19
  ## Provided assets
@@ -20,7 +21,7 @@ Provides web components implementing AI-related visual and interaction.
20
21
 
21
22
  | Assets | Module | Notes
22
23
  |------------|-----------|-----------
23
- | `i18n`, `themes` | `@ui5/webcomponents-compat/dist/Assets.js` | Theming parameters and translations for the components
24
+ | `i18n`, `themes` | `@ui5/webcomponents-ai/dist/Assets.js` | Theming parameters and translations for the components
24
25
 
25
26
 
26
27
  ## Resources
@@ -0,0 +1,14 @@
1
+ import Button from "../../src/Button.js";
2
+ import ButtonState from "../../src/ButtonState.js";
3
+
4
+ describe("Initial rendering", () => {
5
+ it("tests no config provided", () => {
6
+ cy.mount(
7
+ <Button>
8
+ <ButtonState name="generate" text="Generate" icon="ai">Click me</ButtonState>
9
+ <ButtonState name="generating" text="Stop Generating" icon="stop">Click me</ButtonState>
10
+ <ButtonState name="revise" text="Revise" icon="ai">Click me</ButtonState>
11
+ </Button>
12
+ );
13
+ });
14
+ });
@@ -0,0 +1,40 @@
1
+ /// <reference types="cypress" />
2
+ // ***********************************************
3
+ // This example commands.ts shows you how to
4
+ // create various custom commands and overwrite
5
+ // existing commands.
6
+ //
7
+ // For more comprehensive examples of custom
8
+ // commands please read more here:
9
+ // https://on.cypress.io/custom-commands
10
+ // ***********************************************
11
+ //
12
+ //
13
+ // -- This is a parent command --
14
+ // Cypress.Commands.add('login', (email, password) => { ... })
15
+ //
16
+ //
17
+ // -- This is a child command --
18
+ // Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
19
+ //
20
+ //
21
+ // -- This is a dual command --
22
+ // Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
23
+ //
24
+ //
25
+ // -- This will overwrite an existing command --
26
+ // Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
27
+ //
28
+ // declare global {
29
+ // namespace Cypress {
30
+ // interface Chainable {
31
+ // login(email: string, password: string): Chainable<void>
32
+ // drag(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
33
+ // dismiss(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
34
+ // visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
35
+ // }
36
+ // }
37
+ // }
38
+
39
+ import "@ui5/cypress-internal/commands.js";
40
+ import "../../../main/cypress/support/commands.js";
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
+ <title>Components App</title>
8
+ </head>
9
+ <body>
10
+ <div data-cy-root></div>
11
+ </body>
12
+ </html>
@@ -0,0 +1,17 @@
1
+ // ***********************************************************
2
+ // This example support/component.ts is processed and
3
+ // loaded automatically before your test files.
4
+ //
5
+ // This is a great place to put global configuration and
6
+ // behavior that modifies Cypress.
7
+ //
8
+ // You can change the location of this file or turn off
9
+ // automatically serving support files with the
10
+ // 'supportFile' configuration option.
11
+ //
12
+ // You can read more here:
13
+ // https://on.cypress.io/configuration
14
+ // ***********************************************************
15
+
16
+ // Import commands.js using ES2015 syntax:
17
+ import './commands'
@@ -0,0 +1,47 @@
1
+ {
2
+ "include": [
3
+ "./**/*"
4
+ ],
5
+ "compilerOptions": {
6
+ "jsx": "react-jsx",
7
+ "jsxImportSource": "@ui5/webcomponents-base",
8
+ "module": "NodeNext",
9
+ "moduleResolution": "nodenext",
10
+ "types": [
11
+ "cypress",
12
+ "cypress-real-events",
13
+ "cypress-axe",
14
+ ],
15
+ "paths": {
16
+ "@ui5/webcomponents-base/dist/*": [
17
+ "../../base/src/*"
18
+ ],
19
+ "@ui5/webcomponents/dist/*": [
20
+ "../../main/src/*"
21
+ ],
22
+ "@ui5/webcomponents-localization/dist/*": [
23
+ "../../localization/src/*"
24
+ ],
25
+ "@ui5/webcomponents-theming/dist/*": [
26
+ "../../theming/src/*"
27
+ ],
28
+ "@ui5/webcomponents-icons/dist/*": [
29
+ "../../icons/src/*"
30
+ ],
31
+ "@ui5/webcomponents-icons-business-suite/dist/*": [
32
+ "../../icons-business-suite/src/*"
33
+ ],
34
+ "@ui5/webcomponents-icons-tnt/dist/*": [
35
+ "../../icons-tnt/src/*"
36
+ ]
37
+ },
38
+ },
39
+ "references": [
40
+ {
41
+ "path": "../"
42
+ },
43
+ {
44
+ "path": "../../main/cypress"
45
+ }
46
+ ]
47
+ }
@@ -0,0 +1,3 @@
1
+ import cypressConfig from "@ui5/cypress-internal/cypress.config.js";
2
+
3
+ export default cypressConfig;