@ui5/create-webcomponents-package
Advanced tools
Comparing version 2.6.2 to 2.7.0-rc.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [2.7.0-rc.0](https://github.com/SAP/ui5-webcomponents/compare/v2.6.2...v2.7.0-rc.0) (2025-01-16) | ||
### Features | ||
* **create-package:** generate jsx component template ([#10531](https://github.com/SAP/ui5-webcomponents/issues/10531)) ([dd2d45d](https://github.com/SAP/ui5-webcomponents/commit/dd2d45d4c3947f52773272f6a77be294f240d28f)) | ||
## [2.6.2](https://github.com/SAP/ui5-webcomponents/compare/v2.6.2-rc.0...v2.6.2) (2025-01-09) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@ui5/create-webcomponents-package", | ||
"version": "2.6.2", | ||
"version": "2.7.0-rc.0", | ||
"description": "UI5 Web Components: create package", | ||
@@ -27,3 +27,3 @@ "author": "SAP SE (https://www.sap.com)", | ||
}, | ||
"gitHead": "f086b23889862b0ff9f9375364a6826e80eeb7ed" | ||
"gitHead": "bae15996685c58d21d6bf20ce7fa8ed10e4728c7" | ||
} |
import UI5Element from "@ui5/webcomponents-base/dist/UI5Element.js"; | ||
import customElement from "@ui5/webcomponents-base/dist/decorators/customElement.js"; | ||
import property from "@ui5/webcomponents-base/dist/decorators/property.js"; | ||
import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js"; | ||
import { getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js"; | ||
import i18n from "@ui5/webcomponents-base/dist/decorators/i18n.js"; | ||
import jsxRenderer from "@ui5/webcomponents-base/dist/renderer/JsxRenderer.js"; | ||
import type I18nBundle from "@ui5/webcomponents-base/dist/i18nBundle.js"; | ||
// Template | ||
import INIT_PACKAGE_VAR_CLASS_NAMETemplate from "./generated/templates/INIT_PACKAGE_VAR_CLASS_NAMETemplate.lit.js"; | ||
import INIT_PACKAGE_VAR_CLASS_NAMETemplate from "./INIT_PACKAGE_VAR_CLASS_NAMETemplate.js"; | ||
@@ -29,3 +29,3 @@ // Styles | ||
tag: "INIT_PACKAGE_VAR_TAG", | ||
renderer: litRender, | ||
renderer: jsxRenderer, | ||
styles: INIT_PACKAGE_VAR_CLASS_NAMECss, | ||
@@ -35,8 +35,5 @@ template: INIT_PACKAGE_VAR_CLASS_NAMETemplate, | ||
class INIT_PACKAGE_VAR_CLASS_NAME extends UI5Element { | ||
@i18n("INIT_PACKAGE_VAR_NAME") | ||
static i18nBundle: I18nBundle; | ||
static async onDefine() { | ||
INIT_PACKAGE_VAR_CLASS_NAME.i18nBundle = await getI18nBundle("INIT_PACKAGE_VAR_NAME"); | ||
} | ||
/** | ||
@@ -43,0 +40,0 @@ * Defines the component count. |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
96540
368
2