@ui5/webcomponents-ai 0.0.0-51cc8ba74 → 0.0.0-6827fdc09
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 +32 -0
- package/coverage/lcov-report/src/generated/themes/Button.css.ts.html +109 -0
- package/coverage/lcov-report/src/generated/themes/index.html +116 -0
- package/cypress/support/component.ts +0 -19
- package/cypress/tsconfig.json +7 -3
- package/dist/.tsbuildinfo +1 -1
- package/dist/css/themes/Button.css +1 -1
- package/dist/generated/assets/i18n/messagebundle_id.json +1 -0
- package/dist/generated/json-imports/i18n-fetch.js +2 -0
- package/dist/generated/json-imports/i18n-fetch.js.map +1 -1
- package/dist/generated/json-imports/i18n.js +2 -0
- package/dist/generated/json-imports/i18n.js.map +1 -1
- package/dist/generated/themes/Button.css.d.ts +1 -1
- package/dist/generated/themes/Button.css.js +1 -1
- package/dist/generated/themes/Button.css.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package-scripts.cjs +4 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,38 @@
|
|
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.9.1-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.9.0...v2.9.1-rc.0) (2025-04-10)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @ui5/webcomponents-ai
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
# [2.9.0](https://github.com/SAP/ui5-webcomponents/compare/v2.9.0-rc.3...v2.9.0) (2025-04-04)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package @ui5/webcomponents-ai
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
# [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)
|
23
|
+
|
24
|
+
**Note:** Version bump only for package @ui5/webcomponents-ai
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
# [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)
|
31
|
+
|
32
|
+
**Note:** Version bump only for package @ui5/webcomponents-ai
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
6
38
|
# [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)
|
7
39
|
|
8
40
|
**Note:** Version bump only for package @ui5/webcomponents-ai
|
@@ -0,0 +1,109 @@
|
|
1
|
+
|
2
|
+
<!doctype html>
|
3
|
+
<html lang="en">
|
4
|
+
|
5
|
+
<head>
|
6
|
+
<title>Code coverage report for src/generated/themes/Button.css.ts</title>
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../../../prettify.css" />
|
9
|
+
<link rel="stylesheet" href="../../../base.css" />
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.png" />
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
12
|
+
<style type='text/css'>
|
13
|
+
.coverage-summary .sorter {
|
14
|
+
background-image: url(../../../sort-arrow-sprite.png);
|
15
|
+
}
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<div class='wrapper'>
|
21
|
+
<div class='pad1'>
|
22
|
+
<h1><a href="../../../index.html">All files</a> / <a href="index.html">src/generated/themes</a> Button.css.ts</h1>
|
23
|
+
<div class='clearfix'>
|
24
|
+
|
25
|
+
<div class='fl pad1y space-right2'>
|
26
|
+
<span class="strong">100% </span>
|
27
|
+
<span class="quiet">Statements</span>
|
28
|
+
<span class='fraction'>4/4</span>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
|
32
|
+
<div class='fl pad1y space-right2'>
|
33
|
+
<span class="strong">100% </span>
|
34
|
+
<span class="quiet">Branches</span>
|
35
|
+
<span class='fraction'>0/0</span>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
|
39
|
+
<div class='fl pad1y space-right2'>
|
40
|
+
<span class="strong">100% </span>
|
41
|
+
<span class="quiet">Functions</span>
|
42
|
+
<span class='fraction'>2/2</span>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
|
46
|
+
<div class='fl pad1y space-right2'>
|
47
|
+
<span class="strong">100% </span>
|
48
|
+
<span class="quiet">Lines</span>
|
49
|
+
<span class='fraction'>2/2</span>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
|
53
|
+
</div>
|
54
|
+
<p class="quiet">
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
56
|
+
</p>
|
57
|
+
<template id="filterTemplate">
|
58
|
+
<div class="quiet">
|
59
|
+
Filter:
|
60
|
+
<input oninput="onInput()" type="search" id="fileSearch">
|
61
|
+
</div>
|
62
|
+
</template>
|
63
|
+
</div>
|
64
|
+
<div class='status-line high'></div>
|
65
|
+
<pre><table class="coverage">
|
66
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
67
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
68
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
69
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
70
|
+
<a name='L5'></a><a href='#L5'>5</a>
|
71
|
+
<a name='L6'></a><a href='#L6'>6</a>
|
72
|
+
<a name='L7'></a><a href='#L7'>7</a>
|
73
|
+
<a name='L8'></a><a href='#L8'>8</a>
|
74
|
+
<a name='L9'></a><a href='#L9'>9</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
75
|
+
<span class="cline-any cline-neutral"> </span>
|
76
|
+
<span class="cline-any cline-neutral"> </span>
|
77
|
+
<span class="cline-any cline-neutral"> </span>
|
78
|
+
<span class="cline-any cline-neutral"> </span>
|
79
|
+
<span class="cline-any cline-yes">2x</span>
|
80
|
+
<span class="cline-any cline-yes">2x</span>
|
81
|
+
<span class="cline-any cline-neutral"> </span>
|
82
|
+
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { registerThemePropertiesLoader } from "@ui5/webcomponents-base/dist/asset-registries/Themes.js";
|
83
|
+
|
84
|
+
import defaultThemeBase from "@ui5/webcomponents-theming/dist/generated/themes/sap_horizon/parameters-bundle.css.js";
|
85
|
+
import defaultTheme from "./sap_horizon/parameters-bundle.css.js";
|
86
|
+
|
87
|
+
registerThemePropertiesLoader("@ui5/webcomponents-theming", "sap_horizon", async () => defaultThemeBase);
|
88
|
+
registerThemePropertiesLoader("@ui5/webcomponents-ai", "sap_horizon", async () => defaultTheme);
|
89
|
+
export default `:host{display:inline-block}:host([disabled]){pointer-events:none}.ui5-ai-button-text{display:inline-block}:host([icon-only]) .ui5-ai-button-text{min-width:0;margin-inline-start:0}.ui5-ai-button-hidden{position:absolute;top:-10000px;left:-10000px;visibility:hidden;display:block;width:fit-content}:host .ui5-ai-button-inner{width:100%}:host{width:auto;position:relative;transition:width .18s cubic-bezier(.67,1,.95,1.3) .12s}:host([icon-only]) .ui5-ai-button-inner[_end-icon=""]::part(textButton),:host(.ui5-ai-button-menu-to-button[icon-only]) .ui5-ai-button-inner::part(textButton){min-width:var(--_ui5-v2-7-0-rc-1_button_base_min_width)!important;max-width:var(--_ui5-v2-7-0-rc-1_button_base_min_width)!important}:host(.ui5-ai-button-menu-to-button) .ui5-ai-button-inner::part(button),:host(.ui5-ai-button-fade-out:not([icon-only])) .ui5-ai-button-inner::part(button){justify-content:flex-start}:host([icon-only]) .ui5-ai-button-inner[_end-icon]:not([_end-icon=""])::part(button),:host([icon-only]) .ui5-ai-button-inner[_hide-arrow-button]::part(button){justify-content:flex-start;padding-inline-start:var(--_ui5-v2-7-0-rc-1_button_base_padding)}:host(.ui5-ai-button-fade-in[icon-only]) .ui5-ai-button-inner[_end-icon=""]::part(button){max-width:var(--_ui5-v2-7-0-rc-1_button_base_min_width)}:host([icon-only]) .ui5-ai-button-inner[_end-icon=""]::part(textButton),:host(.ui5-ai-button-menu-to-button[icon-only]) .ui5-ai-button-inner::part(textButton){min-width:var(--_ui5-v2-7-0-rc-1_button_base_min_width);max-width:var(--_ui5-v2-7-0-rc-1_button_base_min_width)}:host(:not(.ui5-ai-button-fade-out):not(.ui5-ai-button-fade-mid):not(.ui5-ai-button-fade-in)) .ui5-ai-button-text,:host(:not(.ui5-ai-button-fade-out):not(.ui5-ai-button-fade-mid):not(.ui5-ai-button-fade-in)) ::part(endIcon),:host(:not(.ui5-ai-button-fade-out):not(.ui5-ai-button-fade-mid):not(.ui5-ai-button-fade-in)) ::part(arrowButton){opacity:1;transform:translateY(0)}:host(.ui5-ai-button-button-to-menu) .ui5-ai-button-inner::part(endIcon),:host(.ui5-ai-button-button-to-menu) .ui5-ai-button-inner::part(arrowButton){display:none;transform:translateY(0);opacity:0}:host(.ui5-ai-button-fade-out) .ui5-ai-button-text{opacity:0;transform:translateY(-1rem);transition:opacity .06s ease-in-out .12s,transform .08s ease-in-out .12s}:host(.ui5-ai-button-fade-out) ::part(icon){opacity:0;transform:translateY(-1rem);transition:opacity .05s ease-in-out 25ms,transform .1s ease-in-out 0s}:host(.ui5-ai-button-fade-out) ::part(endIcon){opacity:0;transform:translateY(-1rem);transition:opacity .06s ease-in-out .12s,transform .08s ease-in-out .12s}:host(.ui5-ai-button-fade-mid) .ui5-ai-button-text,:host(.ui5-ai-button-fade-mid) ::part(icon),:host(.ui5-ai-button-fade-mid) ::part(endIcon),:host(.ui5-ai-button-fade-mid) ::part(arrowButton){opacity:0;transform:translateY(1rem);transition:none}:host(.ui5-ai-button-fade-in) .ui5-ai-button-text{opacity:1;transform:translateY(0);transition:opacity .06s ease-in-out .12s,transform .08s ease-in-out .12s}:host(.ui5-ai-button-fade-in) ::part(icon){opacity:1;transform:translateY(0);transition:opacity .05s ease-in-out 25ms,transform .1s ease-in-out 0s}:host(.ui5-ai-button-fade-in) ::part(endIcon){opacity:1;transform:translateY(0);transition:opacity .06s ease-in-out .12s,transform .08s ease-in-out .12s}
|
90
|
+
`</pre></td></tr></table></pre>
|
91
|
+
|
92
|
+
<div class='push'></div><!-- for sticky footer -->
|
93
|
+
</div><!-- /wrapper -->
|
94
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
95
|
+
Code coverage generated by
|
96
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
97
|
+
at 2025-01-25T14:47:45.733Z
|
98
|
+
</div>
|
99
|
+
<script src="../../../prettify.js"></script>
|
100
|
+
<script>
|
101
|
+
window.onload = function () {
|
102
|
+
prettyPrint();
|
103
|
+
};
|
104
|
+
</script>
|
105
|
+
<script src="../../../sorter.js"></script>
|
106
|
+
<script src="../../../block-navigation.js"></script>
|
107
|
+
</body>
|
108
|
+
</html>
|
109
|
+
|
@@ -0,0 +1,116 @@
|
|
1
|
+
|
2
|
+
<!doctype html>
|
3
|
+
<html lang="en">
|
4
|
+
|
5
|
+
<head>
|
6
|
+
<title>Code coverage report for src/generated/themes</title>
|
7
|
+
<meta charset="utf-8" />
|
8
|
+
<link rel="stylesheet" href="../../../prettify.css" />
|
9
|
+
<link rel="stylesheet" href="../../../base.css" />
|
10
|
+
<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.png" />
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
12
|
+
<style type='text/css'>
|
13
|
+
.coverage-summary .sorter {
|
14
|
+
background-image: url(../../../sort-arrow-sprite.png);
|
15
|
+
}
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<div class='wrapper'>
|
21
|
+
<div class='pad1'>
|
22
|
+
<h1><a href="../../../index.html">All files</a> src/generated/themes</h1>
|
23
|
+
<div class='clearfix'>
|
24
|
+
|
25
|
+
<div class='fl pad1y space-right2'>
|
26
|
+
<span class="strong">100% </span>
|
27
|
+
<span class="quiet">Statements</span>
|
28
|
+
<span class='fraction'>4/4</span>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
|
32
|
+
<div class='fl pad1y space-right2'>
|
33
|
+
<span class="strong">100% </span>
|
34
|
+
<span class="quiet">Branches</span>
|
35
|
+
<span class='fraction'>0/0</span>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
|
39
|
+
<div class='fl pad1y space-right2'>
|
40
|
+
<span class="strong">100% </span>
|
41
|
+
<span class="quiet">Functions</span>
|
42
|
+
<span class='fraction'>2/2</span>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
|
46
|
+
<div class='fl pad1y space-right2'>
|
47
|
+
<span class="strong">100% </span>
|
48
|
+
<span class="quiet">Lines</span>
|
49
|
+
<span class='fraction'>2/2</span>
|
50
|
+
</div>
|
51
|
+
|
52
|
+
|
53
|
+
</div>
|
54
|
+
<p class="quiet">
|
55
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
56
|
+
</p>
|
57
|
+
<template id="filterTemplate">
|
58
|
+
<div class="quiet">
|
59
|
+
Filter:
|
60
|
+
<input oninput="onInput()" type="search" id="fileSearch">
|
61
|
+
</div>
|
62
|
+
</template>
|
63
|
+
</div>
|
64
|
+
<div class='status-line high'></div>
|
65
|
+
<div class="pad1">
|
66
|
+
<table class="coverage-summary">
|
67
|
+
<thead>
|
68
|
+
<tr>
|
69
|
+
<th data-col="file" data-fmt="html" data-html="true" class="file">File</th>
|
70
|
+
<th data-col="pic" data-type="number" data-fmt="html" data-html="true" class="pic"></th>
|
71
|
+
<th data-col="statements" data-type="number" data-fmt="pct" class="pct">Statements</th>
|
72
|
+
<th data-col="statements_raw" data-type="number" data-fmt="html" class="abs"></th>
|
73
|
+
<th data-col="branches" data-type="number" data-fmt="pct" class="pct">Branches</th>
|
74
|
+
<th data-col="branches_raw" data-type="number" data-fmt="html" class="abs"></th>
|
75
|
+
<th data-col="functions" data-type="number" data-fmt="pct" class="pct">Functions</th>
|
76
|
+
<th data-col="functions_raw" data-type="number" data-fmt="html" class="abs"></th>
|
77
|
+
<th data-col="lines" data-type="number" data-fmt="pct" class="pct">Lines</th>
|
78
|
+
<th data-col="lines_raw" data-type="number" data-fmt="html" class="abs"></th>
|
79
|
+
</tr>
|
80
|
+
</thead>
|
81
|
+
<tbody><tr>
|
82
|
+
<td class="file high" data-value="Button.css.ts"><a href="Button.css.ts.html">Button.css.ts</a></td>
|
83
|
+
<td data-value="100" class="pic high">
|
84
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
85
|
+
</td>
|
86
|
+
<td data-value="100" class="pct high">100%</td>
|
87
|
+
<td data-value="4" class="abs high">4/4</td>
|
88
|
+
<td data-value="100" class="pct high">100%</td>
|
89
|
+
<td data-value="0" class="abs high">0/0</td>
|
90
|
+
<td data-value="100" class="pct high">100%</td>
|
91
|
+
<td data-value="2" class="abs high">2/2</td>
|
92
|
+
<td data-value="100" class="pct high">100%</td>
|
93
|
+
<td data-value="2" class="abs high">2/2</td>
|
94
|
+
</tr>
|
95
|
+
|
96
|
+
</tbody>
|
97
|
+
</table>
|
98
|
+
</div>
|
99
|
+
<div class='push'></div><!-- for sticky footer -->
|
100
|
+
</div><!-- /wrapper -->
|
101
|
+
<div class='footer quiet pad2 space-top1 center small'>
|
102
|
+
Code coverage generated by
|
103
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
104
|
+
at 2025-01-25T14:47:45.733Z
|
105
|
+
</div>
|
106
|
+
<script src="../../../prettify.js"></script>
|
107
|
+
<script>
|
108
|
+
window.onload = function () {
|
109
|
+
prettyPrint();
|
110
|
+
};
|
111
|
+
</script>
|
112
|
+
<script src="../../../sorter.js"></script>
|
113
|
+
<script src="../../../block-navigation.js"></script>
|
114
|
+
</body>
|
115
|
+
</html>
|
116
|
+
|
@@ -15,22 +15,3 @@
|
|
15
15
|
|
16
16
|
// Import commands.js using ES2015 syntax:
|
17
17
|
import './commands'
|
18
|
-
|
19
|
-
import { mount } from '@ui5/cypress-ct-ui5-webc'
|
20
|
-
|
21
|
-
// Augment the Cypress namespace to include type definitions for
|
22
|
-
// your custom command.
|
23
|
-
// Alternatively, can be defined in cypress/support/component.d.ts
|
24
|
-
// with a <reference path="./component" /> at the top of your spec.
|
25
|
-
declare global {
|
26
|
-
namespace Cypress {
|
27
|
-
interface Chainable {
|
28
|
-
mount: typeof mount
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
Cypress.Commands.add('mount', mount)
|
34
|
-
|
35
|
-
// Example use:
|
36
|
-
// cy.mount(MyComponent)
|
package/cypress/tsconfig.json
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
{
|
2
|
-
"extends": "@ui5/webcomponents-tools/tsconfig.json",
|
3
2
|
"include": [
|
4
3
|
"./**/*"
|
5
4
|
],
|
6
5
|
"compilerOptions": {
|
7
|
-
"
|
8
|
-
"
|
6
|
+
"jsx": "react-jsx",
|
7
|
+
"jsxImportSource": "@ui5/webcomponents-base",
|
9
8
|
"module": "NodeNext",
|
10
9
|
"moduleResolution": "nodenext",
|
10
|
+
"types": [
|
11
|
+
"cypress",
|
12
|
+
"cypress-real-events",
|
13
|
+
"cypress-axe",
|
14
|
+
],
|
11
15
|
"paths": {
|
12
16
|
"@ui5/webcomponents-base/dist/*": [
|
13
17
|
"../../base/src/*"
|