@ui5/create-webcomponents-package 0.0.0-d010d8832 → 0.0.0-d160e83dd

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.
Files changed (37) hide show
  1. package/CHANGELOG.md +1305 -0
  2. package/README.md +6 -8
  3. package/create-package.js +50 -66
  4. package/package.json +1 -1
  5. package/template/.eslintignore +1 -1
  6. package/template/.eslintrc.cjs +5 -0
  7. package/template/.npsrc.json +3 -0
  8. package/template/bundle.esm.js +0 -2
  9. package/template/gitignore +0 -1
  10. package/template/{package-scripts.js → package-scripts.cjs} +0 -1
  11. package/template/src/MyFirstComponent.ts +20 -12
  12. package/template/src/MyFirstComponentTemplate.tsx +9 -0
  13. package/template/src/i18n/messagebundle.properties +3 -2
  14. package/template/src/i18n/messagebundle_de.properties +1 -1
  15. package/template/src/i18n/messagebundle_en.properties +1 -1
  16. package/template/src/i18n/messagebundle_es.properties +1 -1
  17. package/template/src/i18n/messagebundle_fr.properties +1 -1
  18. package/template/src/themes/MyFirstComponent.css +16 -10
  19. package/template/src/themes/sap_fiori_3/parameters-bundle.css +1 -1
  20. package/template/src/themes/sap_horizon_dark/parameters-bundle.css +1 -1
  21. package/template/src/themes/sap_horizon_hcw/parameters-bundle.css +1 -1
  22. package/template/test/pages/css/index.css +41 -0
  23. package/template/test/pages/img/logo.png +0 -0
  24. package/template/test/pages/index.html +35 -31
  25. package/template/test/specs/Demo.spec.js +1 -2
  26. package/template/tsconfig.json +12 -14
  27. package/template/vite.config.js +14 -0
  28. package/template/config/postcss.components/postcss.config.js +0 -1
  29. package/template/config/postcss.themes/postcss.config.js +0 -1
  30. package/template/global.d.ts +0 -12
  31. package/template/src/Assets.js +0 -5
  32. package/template/src/MyFirstComponent.hbs +0 -1
  33. package/template/src/MyFirstComponent.js +0 -67
  34. package/template/src/themes/sap_fiori_3_dark/parameters-bundle.css +0 -3
  35. package/template/src/themes/sap_fiori_3_hcb/parameters-bundle.css +0 -3
  36. package/template/src/themes/sap_fiori_3_hcw/parameters-bundle.css +0 -3
  37. /package/template/config/{wdio.conf.js → wdio.conf.cjs} +0 -0
@@ -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
- }
@@ -1,5 +0,0 @@
1
- import "@ui5/webcomponents-theming/dist/Assets.js"; // Theming
2
-
3
- // own INIT_PACKAGE_VAR_NAME package assets
4
- import "./generated/json-imports/Themes.js";
5
- import "./generated/json-imports/i18n.js";
@@ -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;
@@ -1,3 +0,0 @@
1
- :root {
2
- --my-component-border-color: blue;
3
- }
@@ -1,3 +0,0 @@
1
- :root {
2
- --my-component-border-color: lightblue;
3
- }
@@ -1,3 +0,0 @@
1
- :root {
2
- --my-component-border-color: gray;
3
- }
File without changes