@salesforcedevs/dx-components 1.3.251-alpha.2 → 1.3.251-alpha.4
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
CHANGED
package/package.json
CHANGED
|
@@ -16,7 +16,8 @@ h2 {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.profile-container {
|
|
19
|
-
display:
|
|
19
|
+
display: grid;
|
|
20
|
+
grid-template-columns: 48px 1fr 100px;
|
|
20
21
|
align-items: center;
|
|
21
22
|
}
|
|
22
23
|
|
|
@@ -28,6 +29,7 @@ h2 {
|
|
|
28
29
|
color: var(--dx-g-blue-vibrant-20);
|
|
29
30
|
}
|
|
30
31
|
|
|
31
|
-
dx-icon
|
|
32
|
-
|
|
32
|
+
dx-icon {
|
|
33
|
+
display: inline;
|
|
34
|
+
margin: 0 6px;
|
|
33
35
|
}
|
|
@@ -36,13 +36,20 @@
|
|
|
36
36
|
<p class="dx-text-display-8">{socialName}</p>
|
|
37
37
|
<p class="dx-text-body-3">{socialJobTitle}</p>
|
|
38
38
|
</div>
|
|
39
|
-
<dx-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
<dx-button
|
|
40
|
+
variant="inline"
|
|
41
|
+
icon-symbol="new_window"
|
|
42
|
+
target="_blank"
|
|
43
|
+
href={href}
|
|
44
|
+
>
|
|
45
|
+
View on
|
|
46
|
+
<dx-icon
|
|
47
|
+
sprite="brand"
|
|
48
|
+
symbol={type}
|
|
49
|
+
color={socialIconColor}
|
|
50
|
+
size="large"
|
|
51
|
+
></dx-icon>
|
|
52
|
+
</dx-button>
|
|
46
53
|
</div>
|
|
47
54
|
</div>
|
|
48
55
|
</div>
|
|
@@ -9,10 +9,10 @@ export default class EmbeddedVideo extends LightningElement {
|
|
|
9
9
|
@api body = "";
|
|
10
10
|
|
|
11
11
|
@api hasSocial? = false;
|
|
12
|
-
@api socialPlatform?: string;
|
|
13
12
|
@api socialName?: string;
|
|
14
13
|
@api socialJobTitle?: string;
|
|
15
14
|
@api socialProfileImgSrc?: string;
|
|
15
|
+
@api href?: string;
|
|
16
16
|
|
|
17
17
|
get isTwitter() {
|
|
18
18
|
return this.type === "twitter";
|
|
@@ -33,4 +33,8 @@ export default class EmbeddedVideo extends LightningElement {
|
|
|
33
33
|
get socialProfileImgAlt() {
|
|
34
34
|
return `headshot of ${this.socialName}`;
|
|
35
35
|
}
|
|
36
|
+
|
|
37
|
+
get socialIconColor() {
|
|
38
|
+
return this.type === "twitter" ? "black" : "blue-vibrant-50";
|
|
39
|
+
}
|
|
36
40
|
}
|