@salesforcedevs/mrkt-components 1.2.18 → 1.3.46
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/mrkt-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.46",
|
|
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": "decc9a3791a30eb8d16fb7cffb3adf7092ab863b"
|
|
19
19
|
}
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
width: 100%;
|
|
62
62
|
max-width: 400px;
|
|
63
63
|
margin: 0 auto;
|
|
64
|
+
z-index: 12;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
.subtitle {
|
|
@@ -138,13 +139,7 @@ img {
|
|
|
138
139
|
}
|
|
139
140
|
}
|
|
140
141
|
|
|
141
|
-
@media (max-width:
|
|
142
|
-
.main-cta {
|
|
143
|
-
--dx-c-button-horizontal-spacing: var(--dx-g-spacing-md);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
@media (max-width: 768px) {
|
|
142
|
+
@media (max-width: 800px) {
|
|
148
143
|
.main-cta {
|
|
149
144
|
--dx-c-button-display: inline;
|
|
150
145
|
--dx-c-button-vertical-spacing: var(--dx-g-spacing-xs);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { api, LightningElement } from "lwc";
|
|
2
2
|
import cx from "classnames";
|
|
3
|
+
import { track } from "dxUtils/analytics";
|
|
3
4
|
|
|
4
5
|
export default class TwoColPanelSection extends LightningElement {
|
|
5
6
|
@api body!: string;
|
|
@@ -35,4 +36,16 @@ export default class TwoColPanelSection extends LightningElement {
|
|
|
35
36
|
private toggleModal(): void {
|
|
36
37
|
this.modalOpen = !this.modalOpen;
|
|
37
38
|
}
|
|
39
|
+
|
|
40
|
+
private handleSignUpClick(e: PointerEvent) {
|
|
41
|
+
if (this.buttonHref.includes("signup")) {
|
|
42
|
+
track(e.currentTarget!, "custEv_signupStart", {
|
|
43
|
+
click_text: this.buttonText,
|
|
44
|
+
element_title: this.title,
|
|
45
|
+
element_type: "card",
|
|
46
|
+
click_url: this.buttonHref,
|
|
47
|
+
content_category: "cta"
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
}
|
|
38
51
|
}
|