@ui5/create-webcomponents-package 0.0.0-fb61e9889 → 0.0.0-fd6264051
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 +16 -0
- package/README.md +1 -1
- package/index.js +3 -3
- package/package.json +1 -1
- package/template/src/Assets.js +1 -1
- package/template/src/MyFirstComponent.js +6 -11
package/CHANGELOG.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
All notable changes to this project will be documented in this file.
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
|
+
|
6
|
+
# [1.2.0](https://github.com/SAP/ui5-webcomponents/compare/v1.1.2...v1.2.0) (2022-02-28)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
## [1.1.2](https://github.com/SAP/ui5-webcomponents/compare/v1.1.1...v1.1.2) (2022-01-26)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package @ui5/create-webcomponents-package
|
package/README.md
CHANGED
@@ -31,7 +31,7 @@ components package.
|
|
31
31
|
We welcome all comments, suggestions, questions, and bug reports. Please follow our [Support Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/SUPPORT.md#-content) on how to report an issue, or chat with us in the `#webcomponents` channel of the [OpenUI5 Community Slack](https://join-ui5-slack.herokuapp.com/).
|
32
32
|
|
33
33
|
## Contribute
|
34
|
-
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/
|
34
|
+
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents/blob/master/docs/6-contributing/02-conventions-and-guidelines.md).
|
35
35
|
|
36
36
|
## License
|
37
37
|
Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
|
package/index.js
CHANGED
@@ -130,11 +130,11 @@ const createWebcomponentsPackage = async () => {
|
|
130
130
|
"./*": "./dist/*",
|
131
131
|
},
|
132
132
|
"dependencies": {
|
133
|
-
"@ui5/webcomponents-base": "1.
|
134
|
-
"@ui5/webcomponents-
|
133
|
+
"@ui5/webcomponents-base": "1.1.1",
|
134
|
+
"@ui5/webcomponents-theming": "1.1.1",
|
135
135
|
},
|
136
136
|
"devDependencies": {
|
137
|
-
"@ui5/webcomponents-tools": "1.
|
137
|
+
"@ui5/webcomponents-tools": "1.1.1",
|
138
138
|
"chromedriver": "*",
|
139
139
|
},
|
140
140
|
};
|
package/package.json
CHANGED
package/template/src/Assets.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
2
2
|
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
3
|
-
import {
|
3
|
+
import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
4
4
|
|
5
5
|
// Template
|
6
6
|
import INIT_PACKAGE_VAR_CLASS_NAMETemplate from "./generated/templates/INIT_PACKAGE_VAR_CLASS_NAMETemplate.lit.js";
|
@@ -21,15 +21,6 @@ const metadata = {
|
|
21
21
|
};
|
22
22
|
|
23
23
|
class INIT_PACKAGE_VAR_CLASS_NAME extends UI5Element {
|
24
|
-
constructor() {
|
25
|
-
super();
|
26
|
-
this.i18nBundle = getI18nBundle("INIT_PACKAGE_VAR_NAME");
|
27
|
-
}
|
28
|
-
|
29
|
-
get pleaseWaitText() {
|
30
|
-
return this.i18nBundle.getText(PLEASE_WAIT);
|
31
|
-
}
|
32
|
-
|
33
24
|
static get metadata() {
|
34
25
|
return metadata;
|
35
26
|
}
|
@@ -47,7 +38,11 @@ class INIT_PACKAGE_VAR_CLASS_NAME extends UI5Element {
|
|
47
38
|
}
|
48
39
|
|
49
40
|
static async onDefine() {
|
50
|
-
await
|
41
|
+
INIT_PACKAGE_VAR_CLASS_NAME.i18nBundle = await getI18nBundle("INIT_PACKAGE_VAR_NAME");
|
42
|
+
}
|
43
|
+
|
44
|
+
get pleaseWaitText() {
|
45
|
+
return INIT_PACKAGE_VAR_CLASS_NAME.i18nBundle.getText(PLEASE_WAIT);
|
51
46
|
}
|
52
47
|
}
|
53
48
|
|