@salesforcedevs/mrkt-components 1.3.252 → 1.3.324
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 +2 -2
- package/src/modules/mrkt/ctaSection/ctaSection.html +1 -1
- package/src/modules/mrkt/ctaSection/ctaSection.ts +2 -2
- package/src/modules/mrkt/sectionHeader/sectionHeader.html +1 -1
- package/src/modules/mrkt/sectionHeader/sectionHeader.ts +2 -2
- package/src/modules/mrkt/socials/socials.html +1 -1
- package/src/modules/mrkt/socials/socials.ts +1 -1
- package/src/modules/mrkt/tdxSection/tdxSection.html +1 -1
- package/src/modules/mrkt/tdxSection/tdxSection.ts +1 -1
- package/src/modules/mrkt/twoColPanelSection/twoColPanelSection.html +2 -2
- package/src/modules/mrkt/twoColPanelSection/twoColPanelSection.ts +2 -2
- package/src/modules/mrkt/twoColSection/twoColSection.html +1 -1
- package/src/modules/mrkt/twoColSection/twoColSection.ts +1 -1
- package/src/modules/mrkt/videoPlayerSection/videoPlayerSection.html +1 -1
- package/src/modules/mrkt/videoPlayerSection/videoPlayerSection.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/mrkt-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.324",
|
|
4
4
|
"description": "Marketing Lightning web components for DSC",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/classnames": "^2.2.10"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "f005d7f0cbb1ce8f67f11d7267cfeb893d2c031a"
|
|
19
19
|
}
|
|
@@ -12,7 +12,7 @@ export default class CTASection extends LightningElement {
|
|
|
12
12
|
@api subtitle?: string;
|
|
13
13
|
@api imgSrcLeft?: string;
|
|
14
14
|
@api imgSrcRight?: string;
|
|
15
|
-
@api
|
|
15
|
+
@api header!: string;
|
|
16
16
|
|
|
17
17
|
private get hasImages(): boolean {
|
|
18
18
|
return !!this.imgSrcLeft && !!this.imgSrcRight;
|
|
@@ -31,7 +31,7 @@ export default class CTASection extends LightningElement {
|
|
|
31
31
|
click_text: this.buttonText,
|
|
32
32
|
click_url: this.buttonHref,
|
|
33
33
|
element_type: "button",
|
|
34
|
-
element_title: this.
|
|
34
|
+
element_title: this.header,
|
|
35
35
|
content_category: "cta"
|
|
36
36
|
});
|
|
37
37
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
sprite={iconSprite}
|
|
16
16
|
background-size="large"
|
|
17
17
|
></dx-icon-badge>
|
|
18
|
-
<h2 if:true={
|
|
18
|
+
<h2 if:true={header} class="title dx-text-display-3">{header}</h2>
|
|
19
19
|
<span if:true={subtitle} class="subtitle dx-text-body-1">
|
|
20
20
|
{subtitle}
|
|
21
21
|
</span>
|
|
@@ -12,14 +12,14 @@ export default class SectionHeader extends LightningElement {
|
|
|
12
12
|
@api overlapImages?: boolean = false;
|
|
13
13
|
@api lightGradient?: boolean;
|
|
14
14
|
@api subtitle?: string;
|
|
15
|
-
@api
|
|
15
|
+
@api header!: string;
|
|
16
16
|
|
|
17
17
|
private get hasPageMarginGraphics(): boolean {
|
|
18
18
|
return !!this.imgSrcLeft && !!this.imgSrcRight;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
private get hasIcon(): boolean {
|
|
22
|
-
return !!this.
|
|
22
|
+
return !!this.header && !!this.iconSymbol;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
private get className(): string {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="container">
|
|
3
3
|
<div class="content">
|
|
4
|
-
<h3 class="content-title dx-text-display-3">{
|
|
4
|
+
<h3 class="content-title dx-text-display-3">{header}</h3>
|
|
5
5
|
<h4 class="dx-text-display-6">{subtitle}</h4>
|
|
6
6
|
<p class="content-body">{body}</p>
|
|
7
7
|
<p class="content-info dx-text-display-8">{info}</p>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
href={modalHref}
|
|
15
15
|
label={modalLabel}
|
|
16
16
|
terms={modalTerms}
|
|
17
|
-
|
|
17
|
+
header={modalTitle}
|
|
18
18
|
col-two-title={modalTwoColTitle}
|
|
19
19
|
col-two-details={modalTwoColDetails}
|
|
20
20
|
button-cta={modalButtonCta}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
</dx-modal>
|
|
27
27
|
<div class="text-container">
|
|
28
28
|
<span class="subtitle dx-text-label-4">{subtitle}</span>
|
|
29
|
-
<h2 class="title dx-text-display-4">{
|
|
29
|
+
<h2 class="title dx-text-display-4">{header}</h2>
|
|
30
30
|
<p class="body dx-text-body-2">{body}</p>
|
|
31
31
|
<div class="cta-group">
|
|
32
32
|
<dx-button
|
|
@@ -8,7 +8,7 @@ export default class TwoColPanelSection extends LightningElement {
|
|
|
8
8
|
@api buttonText!: string;
|
|
9
9
|
@api modalButtonText?: string;
|
|
10
10
|
@api subtitle!: string;
|
|
11
|
-
@api
|
|
11
|
+
@api header!: string;
|
|
12
12
|
@api light?: boolean = false;
|
|
13
13
|
|
|
14
14
|
@api modalBadgeBackgroundColor?: string;
|
|
@@ -45,7 +45,7 @@ export default class TwoColPanelSection extends LightningElement {
|
|
|
45
45
|
if (this.buttonHref.includes("signup")) {
|
|
46
46
|
const payload = {
|
|
47
47
|
click_text: this.buttonText,
|
|
48
|
-
element_title: this.
|
|
48
|
+
element_title: this.header,
|
|
49
49
|
element_type: "card",
|
|
50
50
|
click_url: `${window.location.origin}${this.buttonHref}`,
|
|
51
51
|
content_category: "cta"
|
|
@@ -6,7 +6,7 @@ export default class TwoColSection extends LightningElement {
|
|
|
6
6
|
@api subtitle!: string;
|
|
7
7
|
@api imgAlt!: string;
|
|
8
8
|
@api imgSrc!: string;
|
|
9
|
-
@api
|
|
9
|
+
@api header!: string;
|
|
10
10
|
|
|
11
11
|
private get className(): string {
|
|
12
12
|
return cx("two-col-section", this.dark && "dark");
|