@salesforcedevs/arch-components 1.27.17 → 1.27.19
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/lwc.config.json +0 -1
- package/package.json +2 -2
- package/src/modules/arch/card/card.html +1 -1
- package/src/modules/arch/cardNew/cardNew.html +1 -1
- package/src/modules/arch/content/content.ts +1 -1
- package/src/modules/arch/explorer/explorer.ts +2 -2
- package/src/modules/arch/pageHeaderA/pageHeaderA.html +1 -1
- package/src/modules/arch/searchList/searchList.html +1 -1
- package/src/modules/arch/footerMfe/footerMfe.html +0 -3
- package/src/modules/arch/footerMfe/footerMfe.ts +0 -19
package/lwc.config.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/arch-components",
|
|
3
|
-
"version": "1.27.
|
|
3
|
+
"version": "1.27.19",
|
|
4
4
|
"description": "Architect Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"eventsourcemock": "2.0.0",
|
|
45
45
|
"luxon": "3.4.4"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "5720fe7f7a9f1361f96d992861b4f114e10561f5"
|
|
48
48
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
{ctaTitle}
|
|
35
35
|
<img
|
|
36
36
|
if:true={isExternalHref}
|
|
37
|
-
src="https://
|
|
37
|
+
src="https://developer.salesforce.com/ns-assets/new_window.svg"
|
|
38
38
|
style="display: inline; height: 1rem; margin: 0 0 0 5px"
|
|
39
39
|
alt="Open link in new window"
|
|
40
40
|
aria-label="Open link in new window"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
{ctaTitle}
|
|
31
31
|
<img
|
|
32
32
|
if:true={isExternalHref}
|
|
33
|
-
src="https://
|
|
33
|
+
src="https://developer.salesforce.com/ns-assets/new_window.svg"
|
|
34
34
|
style="display: inline; height: 1rem; margin: 0 0 0 5px"
|
|
35
35
|
alt="Open link in new window"
|
|
36
36
|
aria-label="Open link in new window"
|
|
@@ -140,7 +140,7 @@ export default class extends LightningElement {
|
|
|
140
140
|
) {
|
|
141
141
|
const doc = el.ownerDocument;
|
|
142
142
|
const img = doc.createElement('img');
|
|
143
|
-
img.src = 'https://
|
|
143
|
+
img.src = 'https://developer.salesforce.com/ns-assets/new_window.svg';
|
|
144
144
|
img.style =
|
|
145
145
|
'display: inline;height: 1.2rem;margin:0 0 0 5px;';
|
|
146
146
|
img.alt = 'Open link in new window';
|
|
@@ -36,7 +36,7 @@ export default class Explorer extends LightningElement {
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
// vars for pdf export
|
|
39
|
-
private logoURL = 'https://
|
|
39
|
+
private logoURL = 'https://developer.salesforce.com/ns-assets/architects_logo_horizontal_bg.png';
|
|
40
40
|
private logoImageData: string | undefined;
|
|
41
41
|
|
|
42
42
|
|
|
@@ -545,7 +545,7 @@ export default class Explorer extends LightningElement {
|
|
|
545
545
|
});
|
|
546
546
|
|
|
547
547
|
// set up vars for the header once
|
|
548
|
-
this.loadImage('https://
|
|
548
|
+
this.loadImage('https://developer.salesforce.com/ns-assets/architects_logo_horizontal.png');
|
|
549
549
|
const expLink = fileMeta.keywords.replaceAll(' ', ' | ');
|
|
550
550
|
const expLinkWidth = doc.getTextWidth(expLink);
|
|
551
551
|
const pageWidth = doc.internal.pageSize.width;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
rel="noopener noreferrer"
|
|
15
15
|
aria-label="日本語版はここからダウンロード"
|
|
16
16
|
>
|
|
17
|
-
<img src="https://
|
|
17
|
+
<img src="https://developer.salesforce.com/ns-assets/icons/globe.png" />
|
|
18
18
|
日本語版はここからダウンロード</a>
|
|
19
19
|
</template>
|
|
20
20
|
-->
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<div style="display: block">
|
|
24
24
|
<center>
|
|
25
25
|
<img
|
|
26
|
-
src="https://
|
|
26
|
+
src="https://developer.salesforce.com/ns-assets/ruth_search.png"
|
|
27
27
|
alt="Search tips illustration"
|
|
28
28
|
/>
|
|
29
29
|
<h4 style="padding-top: 8px">Here are some search tips</h4>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { LightningElement } from 'lwc';
|
|
2
|
-
|
|
3
|
-
export default class FooterMfe extends LightningElement {
|
|
4
|
-
private didRender = false;
|
|
5
|
-
|
|
6
|
-
renderedCallback() {
|
|
7
|
-
if (this.didRender) {
|
|
8
|
-
return;
|
|
9
|
-
}
|
|
10
|
-
this.didRender = true;
|
|
11
|
-
|
|
12
|
-
// Since the footer is a third-party component, we need to create it dynamically (LWC won't recognize it as a valid component).
|
|
13
|
-
const footerElement = document.createElement('hgf-footer');
|
|
14
|
-
footerElement.setAttribute('origin', window.location.origin); // will call the route handler for `/c360/experience/v1/navigation`
|
|
15
|
-
footerElement.setAttribute('hide-language-selector', 'true');
|
|
16
|
-
footerElement.setAttribute('home-href', `/${window.location.host}`); // ugly hack: ideally this wouldn't be necessary, but the only way to remove the "See all ways to contact us" link from the footer is to set this to a non-empty value other than "us"; and given the way that the footer works, the non-empty value needs to be something that can be appended to `/` and work correctly
|
|
17
|
-
this.template.querySelector('div')!.appendChild(footerElement);
|
|
18
|
-
}
|
|
19
|
-
}
|