@fundamental-ngx/core 0.35.4-rc.6 → 0.35.4-rc.7
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/action-bar/package.json +1 -1
- package/action-sheet/package.json +1 -1
- package/alert/package.json +1 -1
- package/assets/fonts/sap_fiori_3_fonts.css +6 -0
- package/assets/fonts/sap_horizon_fonts.css +6 -0
- package/{schematics/ng-add/styles.js → assets/fundamental-ngx-core-fonts.scss} +10 -20
- package/assets/fundamental-ngx-core.scss +1 -0
- package/avatar/package.json +1 -1
- package/avatar-group/package.json +1 -1
- package/bar/package.json +1 -1
- package/breadcrumb/package.json +1 -1
- package/busy-indicator/package.json +1 -1
- package/button/package.json +1 -1
- package/calendar/package.json +1 -1
- package/card/package.json +1 -1
- package/carousel/package.json +1 -1
- package/checkbox/package.json +1 -1
- package/combobox/package.json +1 -1
- package/content-density/package.json +3 -3
- package/date-picker/package.json +1 -1
- package/datetime/package.json +1 -1
- package/datetime-picker/package.json +1 -1
- package/dialog/package.json +1 -1
- package/dynamic-page/package.json +1 -1
- package/dynamic-side-content/package.json +1 -1
- package/facets/package.json +1 -1
- package/feed-input/package.json +1 -1
- package/feed-list-item/package.json +1 -1
- package/file-uploader/package.json +1 -1
- package/fixed-card-layout/package.json +1 -1
- package/flexible-column-layout/package.json +1 -1
- package/form/package.json +1 -1
- package/formatted-text/package.json +1 -1
- package/grid-list/package.json +1 -1
- package/icon/package.json +1 -1
- package/illustrated-message/package.json +1 -1
- package/infinite-scroll/package.json +1 -1
- package/info-label/package.json +1 -1
- package/inline-help/package.json +1 -1
- package/input-group/package.json +1 -1
- package/layout-grid/package.json +1 -1
- package/layout-panel/package.json +1 -1
- package/link/package.json +1 -1
- package/list/package.json +1 -1
- package/menu/package.json +1 -1
- package/message-box/package.json +1 -1
- package/message-strip/package.json +1 -1
- package/message-toast/package.json +1 -1
- package/micro-process-flow/package.json +1 -1
- package/mobile-mode/package.json +1 -1
- package/multi-input/package.json +1 -1
- package/nested-list/package.json +1 -1
- package/notification/package.json +1 -1
- package/object-identifier/package.json +1 -1
- package/object-marker/package.json +1 -1
- package/object-number/package.json +1 -1
- package/object-status/package.json +1 -1
- package/overflow-layout/package.json +13 -13
- package/package.json +26 -13
- package/pagination/package.json +1 -1
- package/panel/package.json +1 -1
- package/popover/package.json +1 -1
- package/product-switch/package.json +1 -1
- package/progress-indicator/package.json +1 -1
- package/quick-view/package.json +1 -1
- package/radio/package.json +1 -1
- package/rating-indicator/package.json +1 -1
- package/resizable-card-layout/package.json +1 -1
- package/schematics/collection.json +0 -9
- package/schematics/migrations/migration-0.36/index.d.ts +2 -0
- package/schematics/migrations/migration-0.36/index.js +113 -0
- package/schematics/migrations/migration-0.36/index.js.map +1 -0
- package/schematics/migrations.json +9 -0
- package/schematics/ng-add/index.js +198 -168
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-add/schema.d.ts +1 -1
- package/schematics/ng-add/schema.json +6 -6
- package/schematics/utils/file-utils.js +1 -1
- package/schematics/utils/file-utils.js.map +1 -1
- package/scroll-spy/package.json +1 -1
- package/scrollbar/package.json +1 -1
- package/segmented-button/package.json +1 -1
- package/select/package.json +1 -1
- package/shared/package.json +1 -1
- package/shellbar/package.json +1 -1
- package/side-navigation/package.json +1 -1
- package/slider/package.json +1 -1
- package/split-button/package.json +1 -1
- package/splitter/package.json +1 -1
- package/status-indicator/package.json +1 -1
- package/step-input/package.json +1 -1
- package/switch/package.json +1 -1
- package/table/package.json +1 -1
- package/tabs/package.json +1 -1
- package/text/package.json +1 -1
- package/theming/package.json +1 -1
- package/tile/package.json +1 -1
- package/time/package.json +1 -1
- package/time-picker/package.json +1 -1
- package/timeline/package.json +1 -1
- package/title/package.json +1 -1
- package/token/package.json +1 -1
- package/toolbar/package.json +1 -1
- package/tree/package.json +1 -1
- package/upload-collection/package.json +1 -1
- package/utils/package.json +1 -1
- package/vertical-navigation/package.json +1 -1
- package/wizard/package.json +1 -1
- package/schematics/add-animations/index.d.ts +0 -1
- package/schematics/add-animations/index.js +0 -42
- package/schematics/add-animations/index.js.map +0 -1
- package/schematics/migrations/migrate-theme-fonts/index.d.ts +0 -2
- package/schematics/migrations/migrate-theme-fonts/index.js +0 -85
- package/schematics/migrations/migrate-theme-fonts/index.js.map +0 -1
- package/schematics/migrations/migrate-theme-fonts/schema.d.ts +0 -4
- package/schematics/migrations/migrate-theme-fonts/schema.js +0 -3
- package/schematics/migrations/migrate-theme-fonts/schema.js.map +0 -1
- package/schematics/migrations/migrate-theme-fonts/schema.json +0 -21
- package/schematics/migrations/migrate-theme-fonts/styles.d.ts +0 -2
- package/schematics/migrations/migrate-theme-fonts/styles.js +0 -20
- package/schematics/migrations/migrate-theme-fonts/styles.js.map +0 -1
- package/schematics/ng-add/styles.d.ts +0 -4
- package/schematics/ng-add/styles.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/core",
|
|
3
|
-
"version": "0.35.4-rc.
|
|
3
|
+
"version": "0.35.4-rc.7",
|
|
4
4
|
"schematics": "./schematics/collection.json",
|
|
5
|
+
"ng-update": {
|
|
6
|
+
"migrations": "./schematics/migrations.json"
|
|
7
|
+
},
|
|
5
8
|
"description": "Fundamental Library for Angular - core",
|
|
6
9
|
"license": "Apache-2.0",
|
|
7
10
|
"homepage": "https://sap.github.io/fundamental-ngx/home",
|
|
@@ -19,28 +22,20 @@
|
|
|
19
22
|
"@angular/animations": "^13.0.0",
|
|
20
23
|
"@angular/router": "^13.0.0",
|
|
21
24
|
"@angular/cdk": "^13.0.0",
|
|
22
|
-
"rxjs": "7.5.4"
|
|
25
|
+
"rxjs": "7.5.4",
|
|
26
|
+
"fundamental-styles": "0.24.4",
|
|
27
|
+
"@sap-theming/theming-base-content": "11.1.40"
|
|
23
28
|
},
|
|
24
29
|
"dependencies": {
|
|
25
|
-
"@sap-theming/theming-base-content": "11.1.40",
|
|
26
30
|
"focus-trap": "6.7.3",
|
|
27
|
-
"fundamental-styles": "0.24.4",
|
|
28
31
|
"fast-deep-equal": "3.1.3",
|
|
29
32
|
"lodash-es": "4.17.21",
|
|
30
33
|
"tslib": "^2.0.0",
|
|
31
34
|
"compare-versions": "4.1.3"
|
|
32
35
|
},
|
|
33
|
-
"module": "fesm2015/fundamental-ngx-core.mjs",
|
|
34
|
-
"es2020": "fesm2020/fundamental-ngx-core.mjs",
|
|
35
|
-
"esm2020": "esm2020/fundamental-ngx-core.mjs",
|
|
36
|
-
"fesm2020": "fesm2020/fundamental-ngx-core.mjs",
|
|
37
|
-
"fesm2015": "fesm2015/fundamental-ngx-core.mjs",
|
|
38
|
-
"typings": "fundamental-ngx-core.d.ts",
|
|
39
36
|
"exports": {
|
|
40
|
-
"./package.json": {
|
|
41
|
-
"default": "./package.json"
|
|
42
|
-
},
|
|
43
37
|
".": {
|
|
38
|
+
"sass": "./assets/fundamental-ngx-core.scss",
|
|
44
39
|
"types": "./fundamental-ngx-core.d.ts",
|
|
45
40
|
"esm2020": "./esm2020/fundamental-ngx-core.mjs",
|
|
46
41
|
"es2020": "./fesm2020/fundamental-ngx-core.mjs",
|
|
@@ -48,6 +43,18 @@
|
|
|
48
43
|
"node": "./fesm2015/fundamental-ngx-core.mjs",
|
|
49
44
|
"default": "./fesm2020/fundamental-ngx-core.mjs"
|
|
50
45
|
},
|
|
46
|
+
"./assets/fundamental-ngx-core-fonts.scss": {
|
|
47
|
+
"sass": "./assets/fundamental-ngx-core-fonts.scss"
|
|
48
|
+
},
|
|
49
|
+
"./assets/fonts/sap_fiori_3_fonts.css": {
|
|
50
|
+
"style": "./assets/fonts/sap_fiori_3_fonts.css"
|
|
51
|
+
},
|
|
52
|
+
"./assets/fonts/sap_horizon_fonts.css": {
|
|
53
|
+
"style": "./assets/fonts/sap_horizon_fonts.css"
|
|
54
|
+
},
|
|
55
|
+
"./package.json": {
|
|
56
|
+
"default": "./package.json"
|
|
57
|
+
},
|
|
51
58
|
"./action-bar": {
|
|
52
59
|
"types": "./action-bar/fundamental-ngx-core-action-bar.d.ts",
|
|
53
60
|
"esm2020": "./esm2020/action-bar/fundamental-ngx-core-action-bar.mjs",
|
|
@@ -801,5 +808,11 @@
|
|
|
801
808
|
"default": "./fesm2020/fundamental-ngx-core-wizard.mjs"
|
|
802
809
|
}
|
|
803
810
|
},
|
|
811
|
+
"module": "fesm2015/fundamental-ngx-core.mjs",
|
|
812
|
+
"es2020": "fesm2020/fundamental-ngx-core.mjs",
|
|
813
|
+
"esm2020": "esm2020/fundamental-ngx-core.mjs",
|
|
814
|
+
"fesm2020": "fesm2020/fundamental-ngx-core.mjs",
|
|
815
|
+
"fesm2015": "fesm2015/fundamental-ngx-core.mjs",
|
|
816
|
+
"typings": "fundamental-ngx-core.d.ts",
|
|
804
817
|
"sideEffects": false
|
|
805
818
|
}
|
package/pagination/package.json
CHANGED
package/panel/package.json
CHANGED
package/popover/package.json
CHANGED
package/quick-view/package.json
CHANGED
package/radio/package.json
CHANGED
|
@@ -5,15 +5,6 @@
|
|
|
5
5
|
"description": "Adds @fundamental-ngx/core to the project.",
|
|
6
6
|
"factory": "./ng-add/index#ngAdd",
|
|
7
7
|
"schema": "./ng-add/schema.json"
|
|
8
|
-
},
|
|
9
|
-
"add-animations": {
|
|
10
|
-
"description": "Adds animations module imports using @angular/cdk tools.",
|
|
11
|
-
"factory": "./add-animations/index#addAnimations"
|
|
12
|
-
},
|
|
13
|
-
"migrate-theme-fonts": {
|
|
14
|
-
"description": "Updates @fundamental-ngx/core to the latest version changes.",
|
|
15
|
-
"factory": "./migrations/migrate-theme-fonts/index#ngUpdate",
|
|
16
|
-
"schema": "./migrations/migrate-theme-fonts/schema.json"
|
|
17
8
|
}
|
|
18
9
|
}
|
|
19
10
|
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const core_1 = require("@angular-devkit/core");
|
|
13
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
14
|
+
const workspace_1 = require("@schematics/angular/utility/workspace");
|
|
15
|
+
const file_utils_1 = require("../../utils/file-utils");
|
|
16
|
+
function default_1() {
|
|
17
|
+
return (0, schematics_1.chain)([removeStylesFromConfig(), removeIconFonts(), removeFontStyles(), noticeAddSchematics()]);
|
|
18
|
+
}
|
|
19
|
+
exports.default = default_1;
|
|
20
|
+
function removeStylesFromConfig() {
|
|
21
|
+
return (_, context) => __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
return (0, workspace_1.updateWorkspace)((workspace) => {
|
|
23
|
+
workspace.projects.forEach((project) => {
|
|
24
|
+
project.targets.forEach((target) => {
|
|
25
|
+
var _a, _b;
|
|
26
|
+
const styles = (_a = target.options) === null || _a === void 0 ? void 0 : _a.styles;
|
|
27
|
+
if (!((_b = target.options) === null || _b === void 0 ? void 0 : _b.styles) || !styles || !(0, core_1.isJsonArray)(styles)) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
const stylesToRemove = [
|
|
31
|
+
'node_modules/fundamental-styles/dist/icon.css',
|
|
32
|
+
'./node_modules/@sap-theming/theming-base-content/content/Base/baseLib/sap_fiori_3/css_variables.css',
|
|
33
|
+
'./node_modules/fundamental-styles/dist/theming/sap_fiori_3.css'
|
|
34
|
+
];
|
|
35
|
+
stylesToRemove.forEach((styleToRemove) => {
|
|
36
|
+
const indexInStylesArray = styles.findIndex((configStyle) => typeof configStyle === 'string' && configStyle === styleToRemove);
|
|
37
|
+
if (indexInStylesArray > -1) {
|
|
38
|
+
styles.splice(indexInStylesArray, 1);
|
|
39
|
+
context.logger.info(`✅️ Removed '${styleToRemove}' style from angular.json`);
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
target.options.styles = styles;
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
function removeIconFonts() {
|
|
49
|
+
return (tree, context) => (0, workspace_1.updateWorkspace)((workspace) => {
|
|
50
|
+
workspace.projects.forEach((project) => {
|
|
51
|
+
project.targets.forEach((target) => {
|
|
52
|
+
var _a, _b;
|
|
53
|
+
const styles = (_a = target.options) === null || _a === void 0 ? void 0 : _a.styles;
|
|
54
|
+
if (!((_b = target.options) === null || _b === void 0 ? void 0 : _b.styles) || !styles || !(0, core_1.isJsonArray)(styles)) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
const iconFonts = ['sap_fiori_3_fonts', 'sap_horizon_fonts'];
|
|
58
|
+
iconFonts.forEach((fontFile) => {
|
|
59
|
+
// Remove file
|
|
60
|
+
const fontFileWithPath = `${project.sourceRoot}/theming/${fontFile}.css`;
|
|
61
|
+
if (tree.exists(fontFileWithPath)) {
|
|
62
|
+
tree.delete(fontFileWithPath);
|
|
63
|
+
context.logger.info(`✅️ Removed ${fontFile}.css file.`);
|
|
64
|
+
}
|
|
65
|
+
// Remove from config
|
|
66
|
+
const indexInStylesArray = styles.findIndex((style) => (0, core_1.isJsonObject)(style) && (style === null || style === void 0 ? void 0 : style.bundleName) === `${fontFile}`);
|
|
67
|
+
if (indexInStylesArray > -1) {
|
|
68
|
+
styles.splice(indexInStylesArray, 1);
|
|
69
|
+
context.logger.info(`✅️ Removed '${fontFile}' style from angular.json`);
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
target.options.styles = styles;
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
function removeFontStyles() {
|
|
78
|
+
return (tree, context) => {
|
|
79
|
+
const styleSheets = (0, file_utils_1.findStylesheetFiles)(tree);
|
|
80
|
+
if (styleSheets.length > 0) {
|
|
81
|
+
const FONT_FACE_REGEX = /(@font-face)[\w\s]?{[s\S\W\w]+?(?=\s}\s)?\s?}[\n\s]*/gi;
|
|
82
|
+
styleSheets.forEach((styleSheet) => {
|
|
83
|
+
let buffer = tree.read(styleSheet);
|
|
84
|
+
if (!buffer) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
let contents = buffer.toString();
|
|
88
|
+
if (FONT_FACE_REGEX.test(contents)) {
|
|
89
|
+
const matches = contents
|
|
90
|
+
.match(FONT_FACE_REGEX)
|
|
91
|
+
.filter((m) => { var _a; return (_a = m.match(/~@sap-theming.*\.woff/)) === null || _a === void 0 ? void 0 : _a.length; });
|
|
92
|
+
if (matches.length === 0) {
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
matches.forEach((match) => {
|
|
96
|
+
contents = contents.replace(match, '');
|
|
97
|
+
});
|
|
98
|
+
tree.overwrite(styleSheet, contents);
|
|
99
|
+
context.logger.info(`✅️ Removed font styles from stylesheets.`);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
context.logger.info(`⚠️ Notice: If you have imported font styles from @sap-theming, please remove it since now it controlled by fundamental-ngx`);
|
|
104
|
+
return tree;
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
function noticeAddSchematics() {
|
|
108
|
+
return (_, context) => {
|
|
109
|
+
context.logger.info(`ℹ️ Now you have run ng-add schematics once again to setup things in the right way.`);
|
|
110
|
+
// Unfortunately we cannot run it on our own because ng-update doesn't respect schema so there is no way to get options here and pass them further
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/core/schematics/migrations/migration-0.36/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+CAAiE;AACjE,2DAAiF;AACjF,qEAAwE;AAExE,uDAA6D;AAE7D;IACI,OAAO,IAAA,kBAAK,EAAC,CAAC,sBAAsB,EAAE,EAAE,eAAe,EAAE,EAAE,gBAAgB,EAAE,EAAE,mBAAmB,EAAE,CAAC,CAAC,CAAC;AAC3G,CAAC;AAFD,4BAEC;AAED,SAAS,sBAAsB;IAC3B,OAAO,CAAO,CAAO,EAAE,OAAyB,EAAE,EAAE;QAChD,OAAA,IAAA,2BAAe,EAAC,CAAC,SAAS,EAAE,EAAE;YAC1B,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;gBACnC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;;oBAC/B,MAAM,MAAM,GAAG,MAAA,MAAM,CAAC,OAAO,0CAAE,MAAM,CAAC;oBAEtC,IAAI,CAAC,CAAA,MAAA,MAAM,CAAC,OAAO,0CAAE,MAAM,CAAA,IAAI,CAAC,MAAM,IAAI,CAAC,IAAA,kBAAW,EAAC,MAAM,CAAC,EAAE;wBAC5D,OAAO;qBACV;oBAED,MAAM,cAAc,GAAG;wBACnB,+CAA+C;wBAC/C,qGAAqG;wBACrG,gEAAgE;qBACnE,CAAC;oBAEF,cAAc,CAAC,OAAO,CAAC,CAAC,aAAa,EAAE,EAAE;wBACrC,MAAM,kBAAkB,GAAG,MAAM,CAAC,SAAS,CACvC,CAAC,WAAW,EAAE,EAAE,CAAC,OAAO,WAAW,KAAK,QAAQ,IAAI,WAAW,KAAK,aAAa,CACpF,CAAC;wBACF,IAAI,kBAAkB,GAAG,CAAC,CAAC,EAAE;4BACzB,MAAM,CAAC,MAAM,CAAC,kBAAkB,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