@salesforcedevs/mrkt-components 1.3.147 → 1.3.160
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.
|
|
3
|
+
"version": "1.3.160",
|
|
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": "cba7e68142d03e2a299dfb8354a50732b20ad77c"
|
|
19
19
|
}
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
padding: 0 var(--dx-g-page-padding-horizontal);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
dx-button {
|
|
43
|
+
margin-top: var(--dx-g-spacing-lg);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
span {
|
|
47
|
-
padding-
|
|
47
|
+
padding-top: var(--dx-g-spacing-sm);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
h2,
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class={className}>
|
|
2
|
+
<div class={className} part="container">
|
|
3
3
|
<div class="text-container">
|
|
4
4
|
<h2 class="dx-text-display-8">{title}</h2>
|
|
5
5
|
<span if:true={subtitle} class="subtitle dx-text-body-2">
|
|
6
6
|
{subtitle}
|
|
7
7
|
</span>
|
|
8
|
-
<dx-button
|
|
8
|
+
<dx-button
|
|
9
|
+
href={buttonHref}
|
|
10
|
+
onclick={handleCtaClick}
|
|
11
|
+
size={buttonSize}
|
|
12
|
+
>
|
|
9
13
|
{buttonText}
|
|
10
14
|
</dx-button>
|
|
11
15
|
</div>
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { api, LightningElement } from "lwc";
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import { track } from "dxUtils/analytics";
|
|
4
|
+
import { ButtonSize } from "typings/custom";
|
|
4
5
|
|
|
5
6
|
export default class CTASection extends LightningElement {
|
|
6
7
|
@api buttonHref!: string;
|
|
7
8
|
@api buttonText!: string;
|
|
9
|
+
@api buttonSize: ButtonSize = "small";
|
|
8
10
|
@api dark?: boolean;
|
|
9
11
|
@api subtitle?: string;
|
|
10
12
|
@api imgSrcLeft?: string;
|