@salesforcedevs/dx-components 1.35.1 → 1.35.2-lwr
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": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "1.35.
|
|
3
|
+
"version": "1.35.2-lwr",
|
|
4
4
|
"description": "DX Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"luxon": "3.4.4",
|
|
45
45
|
"msw": "^2.12.4"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "956930d90ebb6b2cc4fcc2c33b11199a28f1407a"
|
|
48
48
|
}
|
|
@@ -5,10 +5,6 @@ const defaultDomain = ""; // empty domain means the header settings will be load
|
|
|
5
5
|
const defaultLocale = "en-us";
|
|
6
6
|
const defaultHeaderSettingsBasePath = "/c/public/header-settings";
|
|
7
7
|
const defaultPropertyTitle = "Developers";
|
|
8
|
-
const headerSettingsJsonKeys = [
|
|
9
|
-
"regionSelectorOverride",
|
|
10
|
-
"contactLinksOverride"
|
|
11
|
-
];
|
|
12
8
|
|
|
13
9
|
export default class DevExNavigation extends LightningElement {
|
|
14
10
|
static renderMode = "light"; // Light DOM currently required due to other elements reading from this element's DOM; we should fix that and use existing nav CSS variables in those other elements (TODO)
|
|
@@ -61,7 +57,7 @@ export default class DevExNavigation extends LightningElement {
|
|
|
61
57
|
const hgfNav = document.createElement("hgf-c360nav");
|
|
62
58
|
|
|
63
59
|
Object.entries(globalNavSettings).forEach(([key, value]) => {
|
|
64
|
-
if (
|
|
60
|
+
if (value && typeof value === "object") {
|
|
65
61
|
value = JSON.stringify(value);
|
|
66
62
|
}
|
|
67
63
|
hgfNav.setAttribute(kebabCase(key), value as string);
|