@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.3.48",
3
+ "version": "1.3.49-alpha1",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -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.avatar_urls?.["24"] || author.image_src,
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.avatar_urls?.["24"] || author.imgSrc,
42
+ imgSrc: author.image_src,
43
43
  key: index
44
44
  }));
45
45
  }
@@ -44,6 +44,11 @@ footer.signup-variant-no-signup {
44
44
  color: var(--dx-g-blue-vibrant-20);
45
45
  }
46
46
 
47
+ .term-icon {
48
+ width: 35px;
49
+ margin: 0 var(--dx-g-spacing-xs);
50
+ }
51
+
47
52
  /* TOP */
48
53
 
49
54
  .content-container_top {
@@ -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