@ui5/webcomponents-theming 0.0.0-3236d56be → 0.0.0-453158269
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
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.4.0](https://github.com/SAP/ui5-webcomponents/compare/v1.3.1...v1.4.0) (2022-05-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **framework:** fix fallback to default theme ([#5185](https://github.com/SAP/ui5-webcomponents/issues/5185)) ([0fc2f0d](https://github.com/SAP/ui5-webcomponents/commit/0fc2f0d)), closes [#5136](https://github.com/SAP/ui5-webcomponents/issues/5136) [#5136](https://github.com/SAP/ui5-webcomponents/issues/5136)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [1.3.1](https://github.com/SAP/ui5-webcomponents/compare/v1.3.0...v1.3.1) (2022-04-27)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @ui5/webcomponents-theming
|
package/css-vars-usage.json
CHANGED
|
@@ -270,9 +270,9 @@
|
|
|
270
270
|
"--sapFontSmallSize",
|
|
271
271
|
"--sapGroup_ContentBackground",
|
|
272
272
|
"--sapGroup_ContentBorderColor",
|
|
273
|
+
"--sapGroup_Title_FontSize",
|
|
273
274
|
"--sapGroup_TitleBackground",
|
|
274
275
|
"--sapGroup_TitleBorderColor",
|
|
275
|
-
"--sapGroup_TitleFontSize",
|
|
276
276
|
"--sapGroup_TitleTextColor",
|
|
277
277
|
"--sapHC_ReducedBackground",
|
|
278
278
|
"--sapHC_ReducedForeground",
|
|
@@ -385,6 +385,7 @@
|
|
|
385
385
|
"--sapShell_Active_TextColor",
|
|
386
386
|
"--sapShell_Background",
|
|
387
387
|
"--sapShell_Hover_Background",
|
|
388
|
+
"--sapShell_InteractiveBackground",
|
|
388
389
|
"--sapShell_InteractiveBorderColor",
|
|
389
390
|
"--sapShell_InteractiveTextColor",
|
|
390
391
|
"--sapShell_TextColor",
|
|
@@ -35,7 +35,7 @@ const loadThemeProperties = async (themeName) => {
|
|
|
35
35
|
throw new Error("[themes] Inlined JSON not supported with static imports of assets. Use dynamic imports of assets or configure JSON imports as URLs");
|
|
36
36
|
}
|
|
37
37
|
return (await fetch(themeUrlsByName[themeName])).json();
|
|
38
|
-
}
|
|
38
|
+
};
|
|
39
39
|
|
|
40
40
|
["sap_belize", "sap_belize_hcb", "sap_belize_hcw", "sap_fiori_3", "sap_fiori_3_dark", "sap_fiori_3_hcb", "sap_fiori_3_hcw", "sap_horizon", "sap_horizon_dark", "sap_horizon_exp", "sap_horizon_hcb", "sap_horizon_hcw"]
|
|
41
41
|
.forEach(themeName => registerThemePropertiesLoader("@ui5/webcomponents-theming", themeName, loadThemeProperties));
|
|
@@ -16,7 +16,7 @@ const loadThemeProperties = async (themeName) => {
|
|
|
16
16
|
case "sap_horizon_hcw": return (await import("../assets/themes/sap_horizon_hcw/parameters-bundle.css.json")).default;
|
|
17
17
|
default: throw "unknown theme"
|
|
18
18
|
}
|
|
19
|
-
}
|
|
19
|
+
};
|
|
20
20
|
|
|
21
21
|
const loadAndCheck = async (themeName) => {
|
|
22
22
|
const data = await loadThemeProperties(themeName);
|
|
@@ -24,7 +24,7 @@ const loadAndCheck = async (themeName) => {
|
|
|
24
24
|
throw new Error(`[themes] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use 'import ".../Assets-static.js"'. Check the "Assets" documentation for more information.`);
|
|
25
25
|
}
|
|
26
26
|
return data;
|
|
27
|
-
}
|
|
27
|
+
};
|
|
28
28
|
|
|
29
29
|
["sap_belize", "sap_belize_hcb", "sap_belize_hcw", "sap_fiori_3", "sap_fiori_3_dark", "sap_fiori_3_hcb", "sap_fiori_3_hcw", "sap_horizon", "sap_horizon_dark", "sap_horizon_exp", "sap_horizon_hcb", "sap_horizon_hcw"]
|
|
30
30
|
.forEach(themeName => registerThemePropertiesLoader("@ui5/webcomponents-theming", themeName, loadAndCheck));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-theming",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-453158269",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.theming",
|
|
5
5
|
"author": "SAP SE (https://www.sap.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@sap-theming/theming-base-content": "11.1.38",
|
|
32
|
-
"@ui5/webcomponents-base": "0.0.0-
|
|
32
|
+
"@ui5/webcomponents-base": "0.0.0-453158269"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@ui5/webcomponents-tools": "0.0.0-
|
|
36
|
-
"chromedriver": "
|
|
35
|
+
"@ui5/webcomponents-tools": "0.0.0-453158269",
|
|
36
|
+
"chromedriver": "101.0.0",
|
|
37
37
|
"cssnano": "^4.1.11",
|
|
38
38
|
"globby": "^13.1.1",
|
|
39
39
|
"json-beautify": "^1.1.1",
|