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

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.
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@ui5/webcomponents-ai",
4
- "version": "2.6.0",
4
+ "version": "2.9.0-rc.1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "ui5-ai-button",
11
- "description": "### Overview\n\nThe `ui5-ai-button` component serves as a button for AI-related scenarios. Users can trigger actions by clicking or tapping the `ui5-ai-button`\nor by pressing keyboard keys like [Enter] or [Space].\n\n### Usage\n\nFor the `ui5-ai-button` user interface, you can define one or more button states by placing `ui5-ai-button-state` components in their default slot.\nEach state has a name for identification and can include text, an icon, and an end icon, as needed for its purpose.\nYou can define a split mode for the `ui5-ai-button`, which will results in displaying an arrow button for additional actions.\n\nYou can choose from a set of predefined designs for `ui5-ai-button` (as in `ui5-button`) to match the desired styling.\n\nThe `ui5-ai-button` can be activated by clicking or tapping it. You can change the button state in the click event handler. When the button is\nin split mode, you can activate the default button action by clicking or tapping it, or by pressing keyboard keys like [Enter] or [Space].\nYou can activate the arrow button by clicking or tapping it, or by pressing keyboard keys like [Arrow Up], [Arrow Down], or [F4].\nTo display additional actions, you can attach a menu to the arrow button.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Button.js\";`\n---\n\n\n### **Events:**\n - **click** - Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.\n- **arrow-click** - Fired when the component is in split mode and after the arrow button\nis activated either by clicking or tapping it or by using the [Arrow Up] / [Arrow Down],\n[Alt] + [Arrow Up]/ [Arrow Down], or [F4] keyboard keys.\n\n### **Slots:**\n - **default** - Defines the available states of the component.\n**Note:** Although this slot accepts HTML Elements, it is strongly recommended that\nyou only use `ui5-ai-button-state` components in order to preserve the intended design.",
11
+ "description": "### Overview\n\nThe `ui5-ai-button` component serves as a button for AI-related scenarios. Users can trigger actions by clicking or tapping the `ui5-ai-button`\nor by pressing keyboard keys like [Enter] or [Space].\n\n### Usage\n\nFor the `ui5-ai-button` user interface, you can define one or more button states by placing `ui5-ai-button-state` components in their default slot.\nEach state has a name for identification and can include text, an icon, and an end icon, as needed for its purpose.\nYou can define a split mode for the `ui5-ai-button`, which will results in displaying an arrow button for additional actions.\n\nYou can choose from a set of predefined designs for `ui5-ai-button` (as in `ui5-button`) to match the desired styling.\n\nThe `ui5-ai-button` can be activated by clicking or tapping it. You can change the button state in the click event handler. When the button is\nin split mode, you can activate the default button action by clicking or tapping it, or by pressing keyboard keys like [Enter] or [Space].\nYou can activate the arrow button by clicking or tapping it, or by pressing keyboard keys like [Arrow Up], [Arrow Down], or [F4].\nTo display additional actions, you can attach a menu to the arrow button.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/Button.js\";`\n---\n\n\n### **Events:**\n - **click** - Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key.\n- **arrow-button-click** - Fired when the component is in split mode and after the arrow button\nis activated either by clicking or tapping it or by using the [Arrow Up] / [Arrow Down],\n[Alt] + [Arrow Up]/ [Arrow Down], or [F4] keyboard keys.\n\n### **Slots:**\n - **default** - Defines the available states of the component.\n**Note:** Although this slot accepts HTML Elements, it is strongly recommended that\nyou only use `ui5-ai-button-state` components in order to preserve the intended design.",
12
12
  "doc-url": "",
13
13
  "attributes": [
14
14
  {
@@ -30,7 +30,7 @@
30
30
  "value": { "type": "string | undefined", "default": "undefined" }
31
31
  },
32
32
  {
33
- "name": "active-arrow-button",
33
+ "name": "arrow-button-pressed",
34
34
  "description": "Defines the active state of the arrow button in split mode.\nSet to true when the button is in split mode and a menu with additional options\nis opened by the arrow button. Set back to false when the menu is closed.",
35
35
  "value": { "type": "boolean", "default": "false" }
36
36
  }
@@ -47,7 +47,7 @@
47
47
  "description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key."
48
48
  },
49
49
  {
50
- "name": "arrow-click",
50
+ "name": "arrow-button-click",
51
51
  "description": "Fired when the component is in split mode and after the arrow button\nis activated either by clicking or tapping it or by using the [Arrow Up] / [Arrow Down],\n[Alt] + [Arrow Up]/ [Arrow Down], or [F4] keyboard keys."
52
52
  }
53
53
  ],
@@ -71,7 +71,7 @@
71
71
  "value": { "type": "string | undefined" }
72
72
  },
73
73
  {
74
- "name": "active-arrow-button",
74
+ "name": "arrow-button-pressed",
75
75
  "description": "Defines the active state of the arrow button in split mode.\nSet to true when the button is in split mode and a menu with additional options\nis opened by the arrow button. Set back to false when the menu is closed.",
76
76
  "value": { "type": "boolean" }
77
77
  }
@@ -82,7 +82,7 @@
82
82
  "description": "Fired when the component is activated either with a\nmouse/tap or by using the Enter or Space key."
83
83
  },
84
84
  {
85
- "name": "arrow-click",
85
+ "name": "arrow-button-click",
86
86
  "description": "Fired when the component is in split mode and after the arrow button\nis activated either by clicking or tapping it or by using the [Arrow Up] / [Arrow Down],\n[Alt] + [Arrow Up]/ [Arrow Down], or [F4] keyboard keys."
87
87
  }
88
88
  ]
@@ -90,7 +90,7 @@
90
90
  },
91
91
  {
92
92
  "name": "ui5-ai-button-state",
93
- "description": "### Overview\n\n`ui5-ai-button-state` is the item to use for defining states of `ui5-ai-button` components.\n\n### Usage\n\n`ui5-si-button-state` is an abstract element, representing a state of `ui5-ai-button`. It is meant to be used in the `states` slot\nof `ui5-ai-button` and should be used as standalone component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/AiButtonState.js\";`\n---\n",
93
+ "description": "### Overview\n\n`ui5-ai-button-state` is the item to use for defining states of `ui5-ai-button` components.\n\n### Usage\n\n`ui5-ai-button-state` is an abstract element, representing a state of `ui5-ai-button`. It is meant to be used in the `default` slot\nof `ui5-ai-button` and should not be used as standalone component.\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents/dist/AiButtonState.js\";`\n---\n",
94
94
  "doc-url": "",
95
95
  "attributes": [
96
96
  {
@@ -114,7 +114,7 @@
114
114
  "value": { "type": "string | undefined", "default": "undefined" }
115
115
  },
116
116
  {
117
- "name": "split-mode",
117
+ "name": "show-arrow-button",
118
118
  "description": "Defines if the component is in split button mode.",
119
119
  "value": { "type": "boolean", "default": "false" }
120
120
  }
@@ -143,7 +143,7 @@
143
143
  "value": { "type": "string | undefined" }
144
144
  },
145
145
  {
146
- "name": "split-mode",
146
+ "name": "show-arrow-button",
147
147
  "description": "Defines if the component is in split button mode.",
148
148
  "value": { "type": "boolean" }
149
149
  }
@@ -153,7 +153,7 @@
153
153
  },
154
154
  {
155
155
  "name": "ui5-ai-prompt-input",
156
- "description": "### Overview\n\nThe `ui5-ai-prompt-input` component allows the user to write custom instructions in natural language, so that AI is guided to generate content tailored to user needs.\n\n**Note:** The web component is in an experimental state\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/PromptInput.js\n---\n\n\n### **Events:**\n - **submit** - Fired when the input operation has finished by pressing Enter\nor AI button is clicked.\n- **input** - Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.\n- **change** - Fired when the input operation has finished by pressing Enter\nor on focusout.\n\n### **Slots:**\n - **default** - Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n\n**Note:** Importing the Input Suggestions Support feature:\n\n`import \"@ui5/webcomponents/dist/features/InputSuggestions.js\";`\n\nautomatically imports the `<ui5-suggestion-item>` and `<ui5-suggestion-item-group>` for your convenience.\n- **valueStateMessage** - Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\n\n**Note:** If not specified, a default text (in the respective language) will be displayed.\n\n**Note:** The `valueStateMessage` would be displayed,\nwhen the component is in `Information`, `Critical` or `Negative` value state.",
156
+ "description": "### Overview\n\nThe `ui5-ai-prompt-input` component allows the user to write custom instructions in natural language, so that AI is guided to generate content tailored to user needs.\n\n**Note:** The web component is in an experimental state\n\n### ES6 Module Import\n\n`import \"@ui5/webcomponents-ai/dist/PromptInput.js\"`\n---\n\n\n### **Events:**\n - **submit** - Fired when the input operation has finished by pressing Enter\nor AI button is clicked.\n- **input** - Fired when the value of the component changes at each keystroke,\nand when a suggestion item has been selected.\n- **change** - Fired when the input operation has finished by pressing Enter\nor on focusout.\n\n### **Slots:**\n - **default** - Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n- **valueStateMessage** - Defines the value state message that will be displayed as pop up under the component.\nThe value state message slot should contain only one root element.\n\n**Note:** If not specified, a default text (in the respective language) will be displayed.\n\n**Note:** The `valueStateMessage` would be displayed,\nwhen the component is in `Information`, `Critical` or `Negative` value state.",
157
157
  "doc-url": "",
158
158
  "attributes": [
159
159
  {
@@ -206,14 +206,14 @@
206
206
  },
207
207
  {
208
208
  "name": "show-suggestions",
209
- "description": "Defines whether the component should show suggestions, if such are present.\n\n**Note:** You need to import the `InputSuggestions` module\nfrom `\"@ui5/webcomponents/dist/features/InputSuggestions.js\"` to enable this functionality.",
209
+ "description": "Defines whether the component should show suggestions, if such are present.",
210
210
  "value": { "type": "boolean", "default": "false" }
211
211
  }
212
212
  ],
213
213
  "slots": [
214
214
  {
215
215
  "name": "default",
216
- "description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items.\n\n**Note:** Importing the Input Suggestions Support feature:\n\n`import \"@ui5/webcomponents/dist/features/InputSuggestions.js\";`\n\nautomatically imports the `<ui5-suggestion-item>` and `<ui5-suggestion-item-group>` for your convenience."
216
+ "description": "Defines the suggestion items.\n\n**Note:** The suggestions would be displayed only if the `showSuggestions`\nproperty is set to `true`.\n\n**Note:** The `<ui5-suggestion-item>`, `<ui5-suggestion-item-group>` and `ui5-suggestion-item-custom` are recommended to be used as suggestion items."
217
217
  },
218
218
  {
219
219
  "name": "valueStateMessage",
@@ -285,7 +285,7 @@
285
285
  },
286
286
  {
287
287
  "name": "show-suggestions",
288
- "description": "Defines whether the component should show suggestions, if such are present.\n\n**Note:** You need to import the `InputSuggestions` module\nfrom `\"@ui5/webcomponents/dist/features/InputSuggestions.js\"` to enable this functionality.",
288
+ "description": "Defines whether the component should show suggestions, if such are present.",
289
289
  "value": { "type": "boolean" }
290
290
  }
291
291
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui5/webcomponents-ai",
3
- "version": "0.0.0-acc6fea96",
3
+ "version": "0.0.0-b804b8982",
4
4
  "description": "UI5 Web Components: webcomponents.ai",
5
5
  "ui5": {
6
6
  "webComponentsPackage": true
@@ -25,7 +25,10 @@
25
25
  "generate": "nps generate",
26
26
  "generateAPI": "nps generateAPI",
27
27
  "bundle": "nps build.bundle",
28
- "test": "wc-dev test",
28
+ "test": "nps test-cy-ci",
29
+ "test:cypress": "nps test-cy-ci",
30
+ "test:cypress:single": "npx cypress run --component --browser chrome --spec",
31
+ "test:cypress:open": "nps test-cy-open",
29
32
  "test:ssr": "node -e \"import('./test/ssr/component-imports.js')\"",
30
33
  "create-ui5-element": "wc-create-ui5-element",
31
34
  "prepublishOnly": "tsc -b"
@@ -45,13 +48,14 @@
45
48
  "directory": "packages/ai"
46
49
  },
47
50
  "dependencies": {
48
- "@ui5/webcomponents": "0.0.0-acc6fea96",
49
- "@ui5/webcomponents-base": "0.0.0-acc6fea96",
50
- "@ui5/webcomponents-icons": "0.0.0-acc6fea96",
51
- "@ui5/webcomponents-theming": "0.0.0-acc6fea96"
51
+ "@ui5/webcomponents": "0.0.0-b804b8982",
52
+ "@ui5/webcomponents-base": "0.0.0-b804b8982",
53
+ "@ui5/webcomponents-icons": "0.0.0-b804b8982",
54
+ "@ui5/webcomponents-theming": "0.0.0-b804b8982"
52
55
  },
53
56
  "devDependencies": {
54
- "@ui5/webcomponents-tools": "0.0.0-acc6fea96",
55
- "chromedriver": "^131.0.0"
57
+ "@ui5/cypress-internal": "0.0.0",
58
+ "@ui5/webcomponents-tools": "0.0.0-b804b8982",
59
+ "chromedriver": "^133.0.0"
56
60
  }
57
61
  }
package/tsconfig.json CHANGED
@@ -7,19 +7,31 @@
7
7
  "compilerOptions": {
8
8
  "outDir": "dist",
9
9
  "experimentalDecorators": true,
10
- "verbatimModuleSyntax": true,
10
+ "composite": true,
11
+ "rootDir": "src",
12
+ "tsBuildInfoFile": "dist/.tsbuildinfo",
11
13
  "module": "NodeNext",
12
14
  "moduleResolution": "NodeNext",
15
+ "verbatimModuleSyntax": true,
13
16
  "paths": {
14
17
  "@ui5/webcomponents-base/dist/*": [
15
18
  "../base/src/*"
16
19
  ],
17
- "@ui5/webcomponents/dist/*": [
18
- "../main/src/*"
20
+ "@ui5/webcomponents-localization/dist/*": [
21
+ "../localization/src/*"
19
22
  ],
20
23
  "@ui5/webcomponents-theming/dist/*": [
21
24
  "../theming/src/*"
22
25
  ],
26
+ "@ui5/webcomponents-icons/dist/*": [
27
+ "../icons/src/*"
28
+ ],
29
+ "@ui5/webcomponents-icons-business-suite/dist/*": [
30
+ "../icons-business-suite/src/*"
31
+ ],
32
+ "@ui5/webcomponents-icons-tnt/dist/*": [
33
+ "../icons-tnt/src/*"
34
+ ]
23
35
  },
24
36
  },
25
37
  "references": [
@@ -27,10 +39,19 @@
27
39
  "path": "../base"
28
40
  },
29
41
  {
30
- "path": "../main"
42
+ "path": "../localization"
31
43
  },
32
44
  {
33
45
  "path": "../theming"
34
46
  },
47
+ {
48
+ "path": "../icons"
49
+ },
50
+ {
51
+ "path": "../icons-business-suite"
52
+ },
53
+ {
54
+ "path": "../icons-tnt"
55
+ },
35
56
  ]
36
57
  }
@@ -1 +0,0 @@
1
- {"root":["../src/assets.ts","../src/button.ts","../src/buttonstate.ts","../src/buttontemplate.tsx","../src/promptinput.ts","../src/promptinputtemplate.tsx","../src/bundle.esm.ts","../src/bundle.scoped.config.ts","../src/bundle.scoped.esm.ts","../src/generated/i18n/i18n-defaults.ts","../src/generated/json-imports/themes-fetch.ts","../src/generated/json-imports/themes.ts","../src/generated/json-imports/i18n-fetch.ts","../src/generated/json-imports/i18n.ts","../src/generated/themes/button.css.ts","../src/generated/themes/promptinput.css.ts","../src/generated/themes/sap_horizon/parameters-bundle.css.ts","../src/generated/themes/sap_horizon_dark/parameters-bundle.css.ts","../src/generated/themes/sap_horizon_hcb/parameters-bundle.css.ts","../src/generated/themes/sap_horizon_hcw/parameters-bundle.css.ts"],"version":"5.6.2"}