@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "0.0.0-alpha.2",
3
+ "version": "0.0.0-alpha.3",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -44,12 +44,8 @@ dx-hr {
44
44
  flex-direction: column;
45
45
  }
46
46
 
47
- .details-with-button {
48
- margin-top: 25px;
49
- }
50
-
51
- .details-without-button {
52
- margin-top: 9px;
47
+ .details_top-margin {
48
+ margin-top: var(--dx-g-spacing-lg);
53
49
  }
54
50
 
55
51
  .detail {
@@ -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-3 static-font">{body}</p>
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="md"></dx-hr>
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() {
@@ -76,7 +76,7 @@ dx-button {
76
76
  .details {
77
77
  display: flex;
78
78
  flex-direction: column;
79
- margin-top: 25px;
79
+ margin-top: var(--dx-g-spacing-lg);
80
80
  }
81
81
 
82
82
  .detail {
@@ -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-3 static-font">{body}</p>
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"