@ui5/webcomponents-ngx 0.4.5 → 0.4.6-rc.1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-ngx",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6-rc.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"keywords": [
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@ui5/theming-ngx": "^0.4.
|
|
34
|
+
"@ui5/theming-ngx": "^0.4.6-rc.1",
|
|
35
35
|
"tslib": "^2.4.1"
|
|
36
36
|
},
|
|
37
37
|
"schematics": "./schematics/collection.json",
|
|
@@ -504,6 +504,10 @@
|
|
|
504
504
|
"types": "./main/responsive-popover/index.d.ts",
|
|
505
505
|
"default": "./fesm2022/ui5-webcomponents-ngx-main-responsive-popover.mjs"
|
|
506
506
|
},
|
|
507
|
+
"./main/segmented-button": {
|
|
508
|
+
"types": "./main/segmented-button/index.d.ts",
|
|
509
|
+
"default": "./fesm2022/ui5-webcomponents-ngx-main-segmented-button.mjs"
|
|
510
|
+
},
|
|
507
511
|
"./main/segmented-button-item": {
|
|
508
512
|
"types": "./main/segmented-button-item/index.d.ts",
|
|
509
513
|
"default": "./fesm2022/ui5-webcomponents-ngx-main-segmented-button-item.mjs"
|
|
@@ -516,10 +520,6 @@
|
|
|
516
520
|
"types": "./main/slider/index.d.ts",
|
|
517
521
|
"default": "./fesm2022/ui5-webcomponents-ngx-main-slider.mjs"
|
|
518
522
|
},
|
|
519
|
-
"./main/segmented-button": {
|
|
520
|
-
"types": "./main/segmented-button/index.d.ts",
|
|
521
|
-
"default": "./fesm2022/ui5-webcomponents-ngx-main-segmented-button.mjs"
|
|
522
|
-
},
|
|
523
523
|
"./main/special-calendar-date": {
|
|
524
524
|
"types": "./main/special-calendar-date/index.d.ts",
|
|
525
525
|
"default": "./fesm2022/ui5-webcomponents-ngx-main-special-calendar-date.mjs"
|
|
@@ -19,7 +19,7 @@ const package_config_1 = require("../utils/package-config");
|
|
|
19
19
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
20
20
|
// @ts-ignore is needed because the package.json is not available at build time
|
|
21
21
|
const package_json_1 = __importDefault(require("../../package.json"));
|
|
22
|
-
const commonCssPackageName = '@
|
|
22
|
+
const commonCssPackageName = '@sap-ui/common-css';
|
|
23
23
|
const themingNgxPackageName = '@ui5/theming-ngx';
|
|
24
24
|
function addDependencies(options) {
|
|
25
25
|
return (tree, context) => (0, workspace_1.updateWorkspace)(() => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -24,10 +24,10 @@ function addStyles(options) {
|
|
|
24
24
|
throw new schematics_1.SchematicsException('Could not find build target options for defined project.');
|
|
25
25
|
}
|
|
26
26
|
let styles = (buildTargetOptions['styles'] || []);
|
|
27
|
-
styles = styles.filter(style => (typeof style === 'string' && !style.startsWith('node_modules/@
|
|
28
|
-
typeof style !== 'string' && !style.input.startsWith('node_modules/@
|
|
27
|
+
styles = styles.filter(style => (typeof style === 'string' && !style.startsWith('node_modules/@sap-ui/common-css') ||
|
|
28
|
+
typeof style !== 'string' && !style.input.startsWith('node_modules/@sap-ui/common-css')));
|
|
29
29
|
options.commonCss.forEach((style) => {
|
|
30
|
-
styles.push(`node_modules/@
|
|
30
|
+
styles.push(`node_modules/@sap-ui/common-css/dist/${style}.css`);
|
|
31
31
|
});
|
|
32
32
|
buildTargetOptions['styles'] = styles;
|
|
33
33
|
}));
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"private": true
|
|
20
20
|
},
|
|
21
21
|
"add-styles": {
|
|
22
|
-
"description": "Adds @
|
|
22
|
+
"description": "Adds @sap-ui/common-css packages to the angular application.",
|
|
23
23
|
"factory": "./add-styles/index#addStyles",
|
|
24
24
|
"schema": "./add-styles/schema.json",
|
|
25
25
|
"private": true
|
|
Binary file
|
|
Binary file
|