@ui5/create-webcomponents-package 0.0.0-f651a470c → 0.0.0-f6676abdd
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 +1249 -0
- package/README.md +6 -8
- package/create-package.js +50 -67
- package/package.json +1 -1
- package/template/.eslintignore +1 -1
- package/template/.eslintrc.cjs +5 -0
- package/template/.npsrc.json +3 -0
- package/template/bundle.esm.js +0 -2
- package/template/gitignore +0 -1
- package/template/{package-scripts.js → package-scripts.cjs} +0 -1
- package/template/src/MyFirstComponent.ts +20 -12
- package/template/src/MyFirstComponentTemplate.tsx +9 -0
- package/template/src/i18n/messagebundle.properties +3 -2
- package/template/src/i18n/messagebundle_de.properties +1 -1
- package/template/src/i18n/messagebundle_en.properties +1 -1
- package/template/src/i18n/messagebundle_es.properties +1 -1
- package/template/src/i18n/messagebundle_fr.properties +1 -1
- package/template/src/themes/MyFirstComponent.css +16 -10
- package/template/src/themes/sap_fiori_3/parameters-bundle.css +1 -1
- package/template/src/themes/sap_horizon_dark/parameters-bundle.css +3 -0
- package/template/src/themes/sap_horizon_hcb/parameters-bundle.css +3 -0
- package/template/test/pages/css/index.css +41 -0
- package/template/test/pages/img/logo.png +0 -0
- package/template/test/pages/index.html +35 -30
- package/template/test/specs/Demo.spec.js +1 -2
- package/template/tsconfig.json +12 -14
- package/template/vite.config.js +14 -0
- package/template/config/postcss.components/postcss.config.js +0 -1
- package/template/config/postcss.themes/postcss.config.js +0 -1
- package/template/global.d.ts +0 -12
- package/template/src/Assets.js +0 -5
- package/template/src/MyFirstComponent.hbs +0 -1
- package/template/src/MyFirstComponent.js +0 -67
- package/template/src/themes/sap_belize_hcw/parameters-bundle.css +0 -3
- package/template/src/themes/sap_fiori_3_dark/parameters-bundle.css +0 -3
- package/template/src/themes/sap_fiori_3_hcb/parameters-bundle.css +0 -3
- package/template/src/themes/sap_fiori_3_hcw/parameters-bundle.css +0 -3
- /package/template/config/{wdio.conf.js → wdio.conf.cjs} +0 -0
- /package/template/src/themes/{sap_belize → sap_horizon}/parameters-bundle.css +0 -0
- /package/template/src/themes/{sap_belize_hcb → sap_horizon_hcw}/parameters-bundle.css +0 -0
package/template/global.d.ts
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
// eslint-disable-next-line
|
2
|
-
import "@ui5/webcomponents-base/dist/global";
|
3
|
-
import { TemplateFunction } from "@ui5/webcomponents-base/dist/renderer/executeTemplate.js";
|
4
|
-
|
5
|
-
export {};
|
6
|
-
|
7
|
-
declare global {
|
8
|
-
module "*.lit.js" {
|
9
|
-
const content: TemplateFunction;
|
10
|
-
export default content;
|
11
|
-
}
|
12
|
-
}
|
package/template/src/Assets.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
<div>This is: INIT_PACKAGE_VAR_TAG. {{pleaseWaitText}}</div>
|
@@ -1,67 +0,0 @@
|
|
1
|
-
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js";
|
2
|
-
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
|
3
|
-
import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js";
|
4
|
-
|
5
|
-
// Template
|
6
|
-
import INIT_PACKAGE_VAR_CLASS_NAMETemplate from "./generated/templates/INIT_PACKAGE_VAR_CLASS_NAMETemplate.lit.js";
|
7
|
-
|
8
|
-
// Styles
|
9
|
-
import INIT_PACKAGE_VAR_CLASS_NAMECss from "./generated/themes/INIT_PACKAGE_VAR_CLASS_NAME.css.js";
|
10
|
-
|
11
|
-
import { PLEASE_WAIT } from "./generated/i18n/i18n-defaults.js";
|
12
|
-
|
13
|
-
/**
|
14
|
-
* @public
|
15
|
-
*/
|
16
|
-
const metadata = {
|
17
|
-
tag: "INIT_PACKAGE_VAR_TAG",
|
18
|
-
properties: {
|
19
|
-
},
|
20
|
-
slots: {
|
21
|
-
},
|
22
|
-
events: {
|
23
|
-
},
|
24
|
-
};
|
25
|
-
|
26
|
-
/**
|
27
|
-
* @class
|
28
|
-
*
|
29
|
-
* <h3 class="comment-api-title">Overview</h3>
|
30
|
-
*
|
31
|
-
* The <code>INIT_PACKAGE_VAR_TAG</code> component is a demo component that displays some text.
|
32
|
-
*
|
33
|
-
* @constructor
|
34
|
-
* @alias demo.components.INIT_PACKAGE_VAR_CLASS_NAME
|
35
|
-
* @extends sap.ui.webc.base.UI5Element
|
36
|
-
* @tagname INIT_PACKAGE_VAR_TAG
|
37
|
-
* @public
|
38
|
-
*/
|
39
|
-
class INIT_PACKAGE_VAR_CLASS_NAME extends UI5Element {
|
40
|
-
static get metadata() {
|
41
|
-
return metadata;
|
42
|
-
}
|
43
|
-
|
44
|
-
static get render() {
|
45
|
-
return litRender;
|
46
|
-
}
|
47
|
-
|
48
|
-
static get template() {
|
49
|
-
return INIT_PACKAGE_VAR_CLASS_NAMETemplate;
|
50
|
-
}
|
51
|
-
|
52
|
-
static get styles() {
|
53
|
-
return INIT_PACKAGE_VAR_CLASS_NAMECss;
|
54
|
-
}
|
55
|
-
|
56
|
-
static async onDefine() {
|
57
|
-
INIT_PACKAGE_VAR_CLASS_NAME.i18nBundle = await getI18nBundle("INIT_PACKAGE_VAR_NAME");
|
58
|
-
}
|
59
|
-
|
60
|
-
get pleaseWaitText() {
|
61
|
-
return INIT_PACKAGE_VAR_CLASS_NAME.i18nBundle.getText(PLEASE_WAIT);
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
INIT_PACKAGE_VAR_CLASS_NAME.define();
|
66
|
-
|
67
|
-
export default INIT_PACKAGE_VAR_CLASS_NAME;
|
File without changes
|
File without changes
|
File without changes
|