@salesforcedevs/dx-components 1.3.48 → 1.3.49-alpha1
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 +1 -1
- package/src/assets/icons/terms-privacy/privacyicon.png +0 -0
- package/src/modules/dx/cardContent/cardContent.ts +1 -1
- package/src/modules/dx/cardExpanded/cardExpanded.ts +1 -5
- package/src/modules/dx/featuredContentHeader/featuredContentHeader.ts +1 -1
- package/src/modules/dx/footer/footer.css +5 -0
- package/src/modules/dx/footer/footer.html +6 -0
- package/src/modules/dx/footer/links.ts +5 -0
package/package.json
CHANGED
|
Binary file
|
|
@@ -23,7 +23,7 @@ export default class CardContent extends LightningElement {
|
|
|
23
23
|
if (this._authors && this._authors.length) {
|
|
24
24
|
return this._authors!.map((author, index) => ({
|
|
25
25
|
...author,
|
|
26
|
-
imgSrc: author.
|
|
26
|
+
imgSrc: author.image_src,
|
|
27
27
|
key: index
|
|
28
28
|
}));
|
|
29
29
|
}
|
|
@@ -14,11 +14,7 @@ export default class ExpandedCard extends ArchiveCard {
|
|
|
14
14
|
if (this._authors && this._authors.length) {
|
|
15
15
|
return this._authors!.map((author, index) => ({
|
|
16
16
|
...author,
|
|
17
|
-
imgSrc: !this.mobile
|
|
18
|
-
? author.avatar_urls?.["24"] ||
|
|
19
|
-
author.image_src ||
|
|
20
|
-
author.imgSrc
|
|
21
|
-
: "",
|
|
17
|
+
imgSrc: !this.mobile ? author.image_src : "",
|
|
22
18
|
key: index
|
|
23
19
|
}));
|
|
24
20
|
}
|
|
@@ -39,7 +39,7 @@ export default class FeaturedContentHeader extends LightningElement {
|
|
|
39
39
|
if (this._authors && this._authors.length) {
|
|
40
40
|
return this._authors!.map((author, index) => ({
|
|
41
41
|
...author,
|
|
42
|
-
imgSrc: author.
|
|
42
|
+
imgSrc: author.image_src,
|
|
43
43
|
key: index
|
|
44
44
|
}));
|
|
45
45
|
}
|
|
@@ -139,6 +139,12 @@
|
|
|
139
139
|
</template>
|
|
140
140
|
<template if:false={term.onclick}>
|
|
141
141
|
<a href={term.href} key={term.label} rel={term.rel}>
|
|
142
|
+
<img
|
|
143
|
+
if:true={term.img}
|
|
144
|
+
class="term-icon"
|
|
145
|
+
src={term.img}
|
|
146
|
+
alt="Footer Term Icon"
|
|
147
|
+
/>
|
|
142
148
|
{term.label}
|
|
143
149
|
</a>
|
|
144
150
|
</template>
|
|
@@ -167,6 +167,11 @@ export const termsLinks = [
|
|
|
167
167
|
rel: "nofollow",
|
|
168
168
|
label: "Cookie Preferences",
|
|
169
169
|
onclick: openOneTrustInfoDisplay
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
href: "https://www.salesforce.com/form/other/privacy-request/",
|
|
173
|
+
label: "Your Privacy Choices",
|
|
174
|
+
img: "/assets/icons/terms-privacy/privacyicon.png"
|
|
170
175
|
}
|
|
171
176
|
];
|
|
172
177
|
|