@ui5/create-webcomponents-package 2.10.0 → 2.11.0-rc.0
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,14 @@
|
|
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.0](https://github.com/SAP/ui5-webcomponents/compare/v2.10.0...v2.11.0-rc.0) (2025-05-08)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
6
14
|
# [2.10.0](https://github.com/SAP/ui5-webcomponents/compare/v2.10.0-rc.3...v2.10.0) (2025-05-07)
|
7
15
|
|
8
16
|
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ui5/create-webcomponents-package",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.11.0-rc.0",
|
4
4
|
"description": "UI5 Web Components: create package",
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
6
6
|
"license": "Apache-2.0",
|
@@ -27,5 +27,5 @@
|
|
27
27
|
"prompts": "^2.4.1",
|
28
28
|
"yargs": "^17.5.1"
|
29
29
|
},
|
30
|
-
"gitHead": "
|
30
|
+
"gitHead": "50d09270861a0c765d44d4c4d4a3f25fc8daa768"
|
31
31
|
}
|
@@ -3,6 +3,7 @@ body {
|
|
3
3
|
background-color: var(--sapBackgroundColor);
|
4
4
|
font-size: var(--sapFontSize);
|
5
5
|
font-family: var(--sapFontFamily);
|
6
|
+
padding: 2rem;
|
6
7
|
}
|
7
8
|
|
8
9
|
h1 {
|
@@ -11,31 +12,78 @@ h1 {
|
|
11
12
|
}
|
12
13
|
|
13
14
|
h2 {
|
14
|
-
font-size: var(--
|
15
|
-
|
15
|
+
font-size: var(--sapFontHeader4Size);
|
16
|
+
}
|
17
|
+
|
18
|
+
a {
|
19
|
+
margin: 0.25rem;
|
20
|
+
padding: 0.5rem;
|
21
|
+
}
|
22
|
+
|
23
|
+
a.link {
|
24
|
+
color: var(--sapLinkColor);
|
16
25
|
}
|
17
26
|
|
18
|
-
.
|
27
|
+
a.theme-link {
|
28
|
+
color: var(--sapButton_Emphasized_TextColor);
|
29
|
+
background-color: var(--sapButton_Emphasized_Background);
|
30
|
+
text-decoration: none;
|
31
|
+
border-radius: 0.25rem;
|
32
|
+
}
|
33
|
+
|
34
|
+
a.lang-link {
|
35
|
+
color: var(--sapButton_Attention_TextColor);
|
36
|
+
background-color: var(--sapButton_Attention_Background);
|
37
|
+
text-decoration: none;
|
38
|
+
border-radius: 0.25rem;
|
39
|
+
}
|
40
|
+
|
41
|
+
.app {
|
19
42
|
display: flex;
|
20
|
-
align-items: center;
|
21
|
-
justify-content: center;
|
22
43
|
flex-direction: column;
|
44
|
+
align-items: center;
|
45
|
+
}
|
46
|
+
|
47
|
+
.app-nav {
|
48
|
+
display: flex;
|
49
|
+
width: 100%;
|
50
|
+
flex-direction: row;
|
51
|
+
justify-content: flex-end;
|
23
52
|
}
|
24
53
|
|
25
54
|
.app-logo {
|
26
|
-
height:
|
27
|
-
width:
|
55
|
+
height: 5rem;
|
56
|
+
width: 5rem;
|
28
57
|
}
|
29
58
|
|
30
|
-
.app-
|
31
|
-
|
59
|
+
.app-header {
|
60
|
+
display: flex;
|
61
|
+
flex-direction: row;
|
62
|
+
align-items: center;
|
32
63
|
}
|
33
64
|
|
34
|
-
.app-
|
35
|
-
|
65
|
+
.app-main {
|
66
|
+
display: flex;
|
67
|
+
flex-direction: row;
|
68
|
+
align-items: flex-start;
|
69
|
+
padding-top: 2rem;
|
36
70
|
}
|
37
71
|
|
38
|
-
|
39
|
-
|
40
|
-
|
72
|
+
.app-main-demo {
|
73
|
+
padding: 2rem;
|
74
|
+
border-radius: 0.5rem;
|
75
|
+
box-sizing: border-box;
|
76
|
+
background-color: var(--sapTile_Background);
|
77
|
+
}
|
78
|
+
|
79
|
+
.app-main-settings {
|
80
|
+
display: flex;
|
81
|
+
flex-direction: column;
|
82
|
+
padding: 0 2rem;
|
83
|
+
}
|
84
|
+
|
85
|
+
@media (max-width: 768px) {
|
86
|
+
.app-main {
|
87
|
+
flex-direction: column;
|
88
|
+
}
|
41
89
|
}
|
@@ -1,59 +1,53 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
|
-
<html>
|
2
|
+
<html lang="en">
|
3
3
|
|
4
4
|
<head>
|
5
5
|
<meta charset="utf-8">
|
6
|
-
|
7
|
-
<title>{{INIT_PACKAGE_VAR_TAG}}</title>
|
6
|
+
<title>UI5 Web Components</title>
|
8
7
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
9
8
|
<meta charset="utf-8">
|
10
|
-
|
11
|
-
<script data-ui5-config type="application/json">
|
12
|
-
{
|
13
|
-
"theme": "sap_horizon_dark",
|
14
|
-
"language": "EN"
|
15
|
-
}
|
16
|
-
</script>
|
17
|
-
|
18
9
|
<link rel="stylesheet" type="text/css" href="./css/index.css">
|
19
10
|
<script src="%VITE_BUNDLE_PATH%" type="module"></script>
|
20
11
|
</head>
|
21
12
|
|
22
13
|
<body>
|
23
14
|
<div class="app">
|
24
|
-
<
|
25
|
-
|
26
|
-
|
27
|
-
<
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
<
|
38
|
-
<
|
39
|
-
<
|
15
|
+
<nav class="app-nav">
|
16
|
+
<a class="link" href="https://sap.github.io/ui5-webcomponents/">Website</a>
|
17
|
+
<a class="link" href="https://sap.github.io/ui5-webcomponents/components/">Components</a>
|
18
|
+
<a class="link" href="https://sap.github.io/ui5-webcomponents/docs/development/package/">Development</a>
|
19
|
+
</nav>
|
20
|
+
|
21
|
+
<header class="app-header">
|
22
|
+
<a href="https://sap.github.io/ui5-webcomponents/" target="_blank"><img src="./img/logo.png" class="app-logo" alt="logo"/></a>
|
23
|
+
<h1>UI5 Web Components</h1>
|
24
|
+
</header>
|
25
|
+
|
26
|
+
<main class="app-main">
|
27
|
+
<div class="app-main-demo">
|
28
|
+
<h2>Congrats! It's your First Web Component 🎉</h2>
|
29
|
+
<div> <pre><{{INIT_PACKAGE_VAR_TAG}}></{{INIT_PACKAGE_VAR_TAG}}> </pre></div>
|
30
|
+
<{{INIT_PACKAGE_VAR_TAG}} id="myFirstComponent"></{{INIT_PACKAGE_VAR_TAG}}>
|
40
31
|
</div>
|
41
32
|
|
42
|
-
<
|
43
|
-
|
44
|
-
<
|
45
|
-
|
46
|
-
|
47
|
-
|
33
|
+
<div class="app-main-settings">
|
34
|
+
<h3>Switch theme</h3>
|
35
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr;">
|
36
|
+
<a class="link theme-link" href="?sap-ui-theme=sap_horizon">Horizon Morning</a>
|
37
|
+
<a class="link theme-link" href="?sap-ui-theme=sap_horizon_dark">Horizon Evening</a>
|
38
|
+
<a class="link theme-link" href="?sap-ui-theme=sap_horizon_hcb">High Contrast Black</a>
|
39
|
+
<a class="link theme-link" href="?sap-ui-theme=sap_horizon_hcw">High Contrast White</a>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<h3>Switch language</h3>
|
43
|
+
<div style="display: grid; grid-template-columns: 1fr 1fr;">
|
44
|
+
<a class="link lang-link" href="?sap-ui-language=en">English</a>
|
45
|
+
<a class="link lang-link" href="?sap-ui-language=de">German</a>
|
46
|
+
<a class="link lang-link" href="?sap-ui-language=es">Spanish</a>
|
47
|
+
<a class="link lang-link" href="?sap-ui-language=fr">French</a>
|
48
|
+
</div>
|
48
49
|
</div>
|
49
|
-
</
|
50
|
-
|
51
|
-
<div class="app-docs">
|
52
|
-
<a class="link" href="https://sap.github.io/ui5-webcomponents/">Website</a>
|
53
|
-
<a class="link" href="https://sap.github.io/ui5-webcomponents/components/">Components</a>
|
54
|
-
<a class="link" href="https://sap.github.io/ui5-webcomponents/play/">Playground</a>
|
55
|
-
<a class="link" href="https://sap.github.io/ui5-webcomponents/docs/development/package/">Development Docs</a>
|
56
|
-
</div>
|
50
|
+
</main>
|
57
51
|
</div>
|
58
52
|
</body>
|
59
53
|
</html>
|