@salesforcedevs/dx-components 0.0.0-alpha.2 → 0.0.0-alpha.3
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 +1 -1
- package/src/modules/dx/cardTrial/cardTrial.css +2 -6
- package/src/modules/dx/cardTrial/cardTrial.html +2 -2
- package/src/modules/dx/cardTrial/cardTrial.ts +1 -4
- package/src/modules/dx/cardTrialExpanded/cardTrialExpanded.css +1 -1
- package/src/modules/dx/cardTrialExpanded/cardTrialExpanded.html +1 -1
package/package.json
CHANGED
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
title={title}
|
|
60
60
|
></dx-card-title>
|
|
61
61
|
<span class="label dx-text-body-3">{label}</span>
|
|
62
|
-
<p class="body dx-text-body-
|
|
62
|
+
<p class="body dx-text-body-2 static-font">{body}</p>
|
|
63
63
|
<span class="terms dx-text-body-3 static-font">{terms}</span>
|
|
64
|
-
<dx-hr if:false={hasButtons} spacing="
|
|
64
|
+
<dx-hr if:false={hasButtons} spacing="lg"></dx-hr>
|
|
65
65
|
<dx-button
|
|
66
66
|
if:true={hasOneButton}
|
|
67
67
|
class="button-one"
|
|
@@ -84,10 +84,7 @@ export default class CardTrial extends LightningElement {
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
private get detailsClassName() {
|
|
87
|
-
return cx(
|
|
88
|
-
"details",
|
|
89
|
-
this.hasButtons ? "details-with-button" : "details-without-button"
|
|
90
|
-
);
|
|
87
|
+
return cx("details", this.hasButtons && "details_top-margin");
|
|
91
88
|
}
|
|
92
89
|
|
|
93
90
|
private toggleModal() {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
title={title}
|
|
26
26
|
></dx-card-title>
|
|
27
27
|
<span class="label dx-text-body-3">{label}</span>
|
|
28
|
-
<p class="body dx-text-body-
|
|
28
|
+
<p class="body dx-text-body-2 static-font">{body}</p>
|
|
29
29
|
<span class="terms dx-text-body-3 static-font">{terms}</span>
|
|
30
30
|
<dx-button
|
|
31
31
|
class="button-cta"
|